HNHacker News
TopNewBestAskShowJobs

stephen82

1 karma · joined March 12, 2026

submissionscomments
stephen82··on Nelua Programming Language
About package manager, I don't think it has one yet (at least officially that I know of), but feel free to join discord [1] and ask the core developers about it.

[1] https://discord.gg/7aaGeG7

stephen82··on Nelua Programming Language
> PS: If I would implemented it, I would deviate a bit from Lua and replace local with let. It's highly subjective but I think it would make code "prettier"(whatever that means)

The idea behind it is to have the lowest syntax barrier possible for Lua developers so they can migrate from Lua to Nelua without a sweat.

stephen82··on Nelua Programming Language
Well, Eduardo has also created this https://github.com/edubart/nelua-decl

Plus, whatever C library you may have used thus far, you can use it with Nelua as well without a fuss [1].

https://nelua.io/overview/#c-interoperability

stephen82··on Nelua Programming Language
A discussion about GC and memory management can be found here https://github.com/edubart/nelua-lang/discussions/70

Maybe it can answer to some parts of your reasoning? :/

stephen82··on Nelua Programming Language
You are free to manage memory yourself, if that is what you mean [1].

[1] https://nelua.io/overview/#memory-management

stephen82··on Not-a-Linux distro review: SerenityOS is a Unix-y love letter to the ‘90s
There you go https://github.com/AnthonyCalandra/modern-cpp-features
stephen82··on SerenityOS: Graphical Unix-like operating system with classic 90s UI
Can LibGUI be used independently from SerenityOS, much like we do with wxWidgets and Qt?
stephen82··on Reddit subreddit /r/wallstreetbets/ set to private by moderators
Seems like you fell for it https://www.reddit.com/r/wallstreetbets/comments/oci3qd/week...
stephen82··on Is the C++ && constructor downside temporary?
The problem with move semantics is that people don't understand its fallback mechanism, - (that is if it can't move an object and there is not restriction mechanism in a constructor) - it will be used as a copy constructor which is expensive.

I will advice you to read Nicolai Josuttis' " C++ Move Semantics - The Complete Guide" [1] which describes in great detail all the tips and tricks around move semantics.

P.S.: For any C++ developer out there, in my humble opinion anything written by Nicolai Josuttis is a must-read!

[1] http://www.cppmove.com/

stephen82··on GitHub Copilot
> We expect that IP and AI will be an interesting policy discussion around the world in the coming years, and we're eager to participate!

Another question is this: let's hypothesize I work solo on a project; I have decided to enable Copilot and have reached a 50%-50% development with it after a period of time. One day the "hit by a bus" factor takes place; who owns the project after this incident?

stephen82··on Ask HN: What would you do if you could choose a new career path and why?
I honestly don't know what I would have chosen for a different career path, but what I do know is that I would not choose technology or anything that deals with internet connection.
stephen82··on Mitigating Memory Safety Issues in Open Source Software
Your wish might become reality soon https://gustedt.wordpress.com/2021/01/12/improve-type-generi...
stephen82··on Mitigating Memory Safety Issues in Open Source Software
I based my comment on Jens Gustedt's article [1] about adding a "defer" mechanism in standard C.

Clearly, the C committee works hard on improving the language and they are in the process to standardize important features, such as lambda functions, auto, typeof (like C++'s decltype more or less), and so forth.

In my humble opinion, "defer" can mild the buffer / memory overflow, but of course not permanently remedied it 100%; to me though it's better to have such mechanism than have nothing at all to protect you.

https://gustedt.wordpress.com/2020/12/14/a-defer-mechanism-f...

stephen82··on Mitigating Memory Safety Issues in Open Source Software
Would not be cheaper to fix those unsafe languages, such as C, and offer safe mechanisms that could be used upon need?

Why spend thousands, if not millions of dollars, on rewriting existing codebases when they could help fixing the existing toolset and make it safer?

I don't get it.

stephen82··on Command Line Shell for SQLite
Personally I prefer SQLiteStudio [1] as it is closer to SQLite Expert Professional [2] that I used to use at work.

    [1] https://github.com/pawelsalawa/sqlitestudio
    [2] http://www.sqliteexpert.com/
stephen82··on Obfuscated Tiny C Compiler
*to ME...ugh, all these typos lately /facepalm...
stephen82··on Obfuscated Tiny C Compiler
To be personally Fabrice Bellard is the Leonardo da Vinci of technology with specialization in C.

This guy knows how to push the language's limits and he is the main reason I switched back to C for good.

stephen82··on I am releasing all my recent eBooks for FREE
Very nice!

I would suggest to add them to https://github.com/EbookFoundation/free-programming-books as well.

You will drive an incredible amount of traffic to your website this way.

stephen82··on Ask HN: What extension would you like to see in the next C standard?
I think "defer" is coming [1], along with other goodies that simplified the life of C++ developers, but time will tell.

I really hope they approve the following:

    * auto
    * constexpr
    * lambda function
    * __typeof__ used as typeof; it behaves like decltype
It would lead to cleaner code without excessive macro magic; only where would be needed.

[1] https://gustedt.wordpress.com/2020/12/14/a-defer-mechanism-f...

stephen82··on I don't want to do front-end anymore
Even though I'm not a front-end developer, I dealt with WordPress advanced custom development for a certain amount of time to realize web development - as we currently know it - is not worth it...like *at all*!

As an OCD person I cannot count the number of times I got panic attacks for realizing how many tests I needed to go through to test:

    * have I checked my PHP code, packages, and settings? Are they all good?
    * is Composer and my various packages updated?
    * what about npm and yarn packages? are they updated?
    * wait...do I need worry about CSS as well now, to look for extra security measurements? WHY?! Oh yeah, CSS injection [1] /facepalm
You cannot imagine how many times I jumped out of bed to run to my computer to double-check a security measurement on an infrastructure I thought I did not secure only to find out I already did an extra step that double-secured it...

It's not worth it anymore.

It's SO FREAKING STRESSFUL!

I decided to stop dealing with web development as a whole and I'm playing with C and C++ now, like the good ol' days.

I can't do multiple things at once.

I live and breathe the UNIX philosophy: Do one thing and do it well.

[1] https://www.netsparker.com/blog/web-security/private-data-st...

stephen82··on Resignation
Those who downvoted me think I support such behavior; I don't!

You know what they say: what goes around, comes around.

Those who go after anyone who has a different opinion than theirs, will face their own actions eventually, one way or another.

What I have stated is a realization: you are not allowed to make mistakes anymore, because you are immediately condemned; period!

This downvoting here proves my point 100%.

Welcome to the era of "Cancel everything because we say so".

stephen82··on Resignation
...so let me get this straight: you are not allowed to make mistakes in your life, because everything is digitally archived nowadays that can backfire at any time?!

What happened to

   * learn from your mistakes
   * trial and error
   * getting wiser as you grow up
   * growing up means talk less and think and act more
and all these kinds of questions?

Where are we going people?

I cannot imagine what young kids go through in this time and day when they do a mistake.

Are we forbidden from making something stupid and silly?

This is not normal everyone, not normal at all :/

stephen82··on Robinhood Raises Another $2.4B from shareholders
You mean ancient Greek, right?

"ιχθύς εκ της κεφαλής όζειν άρχεται".

stephen82··on The MIT License, Line by Line
There you go http://richardbestlaw.com/download/734/

It's called "A Practical Guide to WordPress and the GPL" and I must admit, it's easy to understand.

stephen82··on I am dropping WordPress support
It's not worth the effort anymore.

I've got exhausted trying to explain others that *I'm not the ordinary WP user* that goes to Envato and buys a premium theme with its plugin dependencies.

I can implement everything from scratch depending on my needs...but what do I know, right?

How dare I compete with them, let alone criticize their awful coding skills?

Countless uses of obsolete jQuery code in various themes and plugins that are used on the fly without getting enqeueued or used securely...no wonder why everyone complains their website got hacked!

How about hiring real professional agencies then that know how to do their work?

It's as simple as that!

That's why I stopped dealing with web development as a whole.

It's not worth the effort, the amount of things you have to know, the fast-pace non-stop changes of web standards, the countless front-end changes in CSS and JavaScript and their myriads of frameworks!

Enough is enough you know!

I'm back in good ol' traditional programming in C and C++ applying the UNIX philosophy: do one thing and do it well!

stephen82··on Highest resolution photos ever taken of snowflakes
They must be kidding us...Alexey did it years ago

https://alexey-kljatov.pixels.com/

stephen82··on Software engineering topics I changed my mind on
> Monoliths are pretty good in most circumstances

This 1M %!

I have seen a company being approached by an agency to design and implement them an e-commerce website that consisted of multiple web services and when I was asked for feedback, I said "start small; go with WooCommerce and when you hit it big, give me a call."

They are making 500K euros selling goods while being hosted on a shared hosting with a WordPress / WooCommerce website and the server spikes at 25% the most when traffic hit the website lol!

I will paraphrase the well-known "optimization / evil" and say:

    Over-engineer your infrastructure before go live will definitely lead you to failure, let alone bankruptcy.
stephen82··on Anthony Levandowski Pardoned

     Trump: Hey Tony, you know...they are kicking me out and I'm going broke; I need a favor from you.
   Anthony: what can I do for you mr. President?
     Trump: I will pardon you in one condition.
    Antony: what that would be?
     Trump: I will need some "financial assistance" from you.
    Antony: ...say no more!
stephen82··on SQLite replication tool hit over 1K write tx/SEC on a $15/mo box
What's a tx? the '/sec' part I understand, but 'tx'?

Is it 'ticks per second'?

stephen82··on Ask HN: How to Find a Mentor
I was looking for a mentor for years and eventually I settle down by mentoring my own self if that making any sense lol.

How I did it? Well, I built this mental model that goes like this:

    1. If a task is difficult, simplify it by splitting it to smaller tasks. Sort them in ascending order of ease.
    2. Start questioning the "how"s on your smaller tasks and do your research to find multiple solutions, suggestions for improvement, optimizations, potential rewrites before becoming a bottleneck that would demand a major refactoring.
    3. See whether you have answered your "how"s from #2 or not. If not, go to #1.
    4. Based on #2, find the best material possible other experts in that field suggest or highly recommend; try not to fall in commercial traps or biased reviews. There are lots of valuable resource on such topic, and trust me GitHub has incredible content in markdown format with ultra-advanced levels of explanations.
    5. Narrow down your expertise in a specific tool set, be it languages or IDEs / editors of your choice and learn them inside out as much as you can. E.g.: you want to master your craft around web development; fair enough. Learn JavaScript in depth and use the framework your current job demands you to know. Go to #1, then to #4, and then #3.
    6. Start writing a blog or an ebook. Guess what; after a certain amount of time, you have just become yourself the mentor you have always wanted.
At least that was my own experience so far ¯\_ (ツ)_/¯

It does not mean I'm a success though :D I'm a living failure, that's why I always push myself to become better at what I do.

I'm an eternal student!

Page 1 of 7Next →