HNHacker News
TopNewBestAskShowJobs

sureglymop

2,750 karma · joined October 30, 2020

submissionscomments
sureglymop··on California minimum wage set to rise in 2026
I don't think they pay any taxes if they make $5 per hour.
sureglymop··on Show HN: LinkedQL – Live Queries over Postgres, MySQL, MariaDB
Database transactions. Sometimes, when you require exceptionally high throughout and performance, it can be a viable strategy to batch multiple operations into the same transactions in order to reduce roundtrips, io and network latency.

Of course, it comes at the cost of some stability. However I was just curious if such an abstraction could support such use cases. Thank you for the link to the paper!

sureglymop··on JSDoc is TypeScript
I mean what makes it more acceptable is that you have HMR and instant preview during development. So, all the transformations and bundling aside, you do see how it runs during development.

However I have been in a few situations at work where all of a sudden we did have issues that required us to dig deeper. There were also some bundling related issues that caused problems in production deployments. At that point many co workers had no idea how to even approach it to be honest.

sureglymop··on Kids Rarely Read Whole Books Anymore. Even in English Class
I graduated high school less than a decade ago and I had to read about 90% of those books. And those are just the German ones, there were at least half as many English and French ones too. I have younger cousins who are in the school system now and I am fairly certain that it is still the same. Actually I think it is probably mandated by the curriculum.
sureglymop··on JSDoc is TypeScript
Let's not act like it's the same thing. I'm not strictly talking about just Typescript, I'm saying that if you work with these technologies every day it would be wise to go look at their Vite plugins to see how they transform your code and be sure to understand it. It's nice to have magic but it's nicer to use the magic if we have demystified it first.

And I don't know about you, but I occasionally do open compiled ELF files in a hex editor and I certainly did at first when I was learning more. That's a good practice also.

sureglymop··on JSDoc is TypeScript
That's correct, however I would say there is a small difference in that most of this code still seems just like JavaScript, sometimes it even feels as though it is JavaScript running in the same context when it then gets compiled to run on server/client.

I think the point I'm trying to make is that this can be confusing or even dangerous especially for new developers. It just doesn't hurt to actually look at the Vite plugins transforming it all to understand it instead of making assumptions if we work with it on the daily.

sureglymop··on JSDoc is TypeScript
Somewhat. I could still use framework agnostic state management libraries/patterns and most are (e.g. svelte signals, jotai, zustand, etc.).

I've even used Proxies directly to implement some reactivity before. However as for the "declarative" parts, I think it's just a little bit of a different way to work but you get used to it and imo it pays off. Knowing the web APIs should be a requirement anyway and it doesn't hurt to work with them directly as much as possible.

sureglymop··on Linux Sandboxes and Fil-C
WASM is just a bytecode format for a stack based vm. Granted it is weirdly named, the actual "Assembly" equivalent is WAT.

But the point is, it is a format specification, which has nothing to do with safety. You can implement a totally unsafe WASM runtime if you so choose. Personally I think it's not a bad thing, at least we have something like it that can run in a browser environment. But I am curious to know why you dislike it so much.

sureglymop··on JSDoc is TypeScript
A somewhat related thing programmers must understand is that whether you write typescript, JSX, .astro or .svelte files, you are technically not writing JavaScript.

You should occasionally look at the build artifacts of your framework but also ask yourself whether it is worth it to write code that may not represent what actually ends up being executed.

Lately I just use vite with no starter template but with web components and css modules. It at least feels more convenient than using any framework or library.

sureglymop··on JSDoc is TypeScript
I really like it for web components. Lately I have many "my-component.js" files and it's quite nice to just be able to copy them to new projects and have it all work without a build step. But I'm not sure I would use JSDoc over typescript syntax in a large project.
sureglymop··on AI and the ironies of automation – Part 2
Yeah but if they, for example use AI to do their design or marketing materials then the public seems to dislike that. But again, no numbers that's just how it feels to me.
sureglymop··on Ask HN: What Are You Working On? (December 2025)
As we pile more and more abstractions on top with AI, I have been on a really fulfilling quest fueled by curiosity to go more low level.

I've been doing a lot of assembly, C, WASM and plan to top it off with a look at GPU instructions and PTX. I haven't learned as much as in the last two months in years, it's been great. And surprisingly everything has turned out to be much simpler and easier to implement than expected once demystified.

Now to be fair, AI has sometimes given me pointers when I didn't fully understand something. Using Gemini 3 for free has been nice in that regard. However I consciously try to only implement code myself and to actually make sure I learned something that sticks.

sureglymop··on Sacrificing accessibility for not getting web scraped
You do still help human readers. I've been absolutely having the joy of my life for example reading the advent of compiler optimization posts that surface here everyday.

Granted there is a lot of AI slop here also now but I'm still glad humans write so that I can read and we can discuss here!

sureglymop··on Show HN: LinkedQL – Live Queries over Postgres, MySQL, MariaDB
Does it have an "optimization step" where it e.g. groups multiple queries into the same transactions and things of that nature?
sureglymop··on Google removes Sci-Hub domains from U.S. search results due to dated court order
Original LibGen was still the best browsing experience and it's been down for months. If we lose this resource it would be truly a setback and grave loss.
sureglymop··on My productivity app is a never-ending .txt file (2020)
I do the same as the author and sync the file with nextcloud. Rarely open it on my phone but if I must, I can.
sureglymop··on Using extended attributes to tag files
So you're telling me my size 0 file may unknowingly be a large key/value db? Neat.

The system call to read these attributes is getxattr(), for anyone curious.

sureglymop··on GitHub Actions has a package manager, and it might be the worst
CI is interesting because what really happens is you run a script on someone elses computer but with fairly weird constraints.

I get it's use, especially in large companies and I also get the culture leading up to it being widely used but I can't help but chuckle a bit about the problems we cause for ourselves in this industry.

sureglymop··on GPT-5.2
How can I hide the big "Ask ChatGPT" button I accidentally clicked like 3 times while actually trying to read this on my phone?

I guess I must "listen" to the article...

sureglymop··on Patterns.dev
Don't kill yourself. Stop and leave. Every day you will build up a tiny bit more resentment and then first you will become more cynical but eventually you will burn out. Be proactive and leave this behind, move on with life.
sureglymop··on If you're going to vibe code, why not do it in C?
Yeah I suppose one would need not only the source and binaries but also the IR in AI training data which may be rare but could probably be easily generated for a lot of software.
sureglymop··on Stop Breaking TLS
If only http_proxy/https_proxy/no_proxy at startup time were more widely supported then. In my case I had to deploy software into a kubernetes cluster managed by a different company that required these configurations.
sureglymop··on When would you ever want bubblesort? (2023)
Reminds me of an interview I had a while ago. The interviewer in all seriousness asked me to code up a sorting algorithm on the whiteboard. He was more of a business person than technical so was probably thinking of insertion, selection and bubblesort.

I said sure, quicksort, mergesort or radixsort?

He just said "okay, let's skip to the next question". :)

sureglymop··on Stop Breaking TLS
I have this similar gripe when it comes to http proxy configuration. It's invisible to you until you are in an execution environment where you are mandated to use the providers proxy configuration.

Some software reads "expected" env variables for it, some has its own config or cli flags, most just doesn't even bother/care about supporting it.

sureglymop··on Epsilon: A WASM virtual machine written in Go
Okay wow. I could not have gotten a better reply. This one feels like an early Christmas gift, my sincere thanks!
sureglymop··on If you're going to vibe code, why not do it in C?
Lately I have learned assembly more deeply and I sometimes let an AI code up the same thing I did just to compare.

Not that my own code is good but every single time assembly output from an optimizing compiler beats the AI as it "forgets" about all the little tricks involved. However it may still be about how I prompt it. If I tell it to solve the actual challenge in assembly it does do that, it's just not good or efficient code.

On the other hand because I take the time to proof read it I learn from it's mistakes just as I would from my own.

sureglymop··on Epsilon: A WASM virtual machine written in Go
Only tangentially related, asking out of curiosity.

If one wanted to have a JIT compiler from what I understand it would essentially need to be able to get a chunk of memory, generate instructions into it and then jmp there.

Is creating such a thing possible in just Go?

sureglymop··on If you're going to vibe code, why not do it in C?
Also that requirements engineering in general isn't being done correctly.

I'm the last guy to be enthused about any "ritualistic" seeming businessy processes. Just let me code...

However, some things do need actually well defined adhered to processes where all parties are aware of and agreeing with the protocol.

sureglymop··on Show HN: Lockenv – Simple encrypted secrets storage for Git
Consider even just the chance that at some later point you want to remove the secrets. Now you have to rewrite history and also force that on all contributors.
sureglymop··on Show HN: Lockenv – Simple encrypted secrets storage for Git
I understand the thought but my honest advice is: do not commit secrets to git, even if they are encrypted.

Secrets are not configuration, they are state (and I would say, an even stricter form of state that should ideally only exist at runtime in memory).

← PreviousPage 8 of 34Next →