HNHacker News
TopNewBestAskShowJobs

sly010

2,303 karma · joined April 8, 2012

slymsg (at) gmail (dot) com
submissionscomments
sly010··on Ask HN: Programmers who don't use autocomplete/LSP, how do you do it?
> The goal of programming is not to write code (however much I enjoy that part), it is to solve problems.

Right, which is exactly why autocomplete is not a huge help.

sly010··on Why is printer ink so expensive?
FWIW ink is not expensive, but traditionally the nozzles and electronics and the printhead are all bundled with the cartridge, making it expensive. The big companies now offer inkjet printers with ink and print head separate (eg Canon pixma) and for those printers the ink (in a literal bottle) is priced much more reasonably.

There are other issues of course, I am not trying to give them slack here. If you don't use self cleaning once a week, the printer head clogs and you have to replace it anyway. If you use self cleaning too much, the waste ink reservoir fills up and your whole printer is toast unless you reset the firmware somehow. But there is a whole community for those kind of things.

sly010··on UnitedHealthcare CEO Brian Thompson fatally shot in Manhattan
Or you could say let's not normalize broken AI in health care related systems, but potato potato I guess.
sly010··on Trump wins presidency for second time
> I'm sure somebody has written a book already about how ostensibly wealthy societies can fail at basic infrastructure that they previously mastered, driven by greed and complacency and other socioeconomic factors.

How about Foundation by Isaac Asimov.

sly010··on WebSockets cost us $1M on our AWS bill
Hah. At a previous place I found that our cloud cost consisted of 90% storage costs. The data? Tens of thousands of incomplete backups of the in-office file server. 3 years of the NAS continuously trying to back itself up to S3 and failing every time.
sly010··on A Theory of Composing Protocols (2023)
I feel you. Protobuf is the organizational equivalent of adding more lanes to congested roads or mandating more parking spaces. It leads to more cars.
sly010··on Ask HN: Who's getting their job applications rejected?
Sounds about right. Hiring pipeline is probably too long to guarantee anything, but most people don't work out, so recruiters want to keep good leads in the pipeline as long as possible, just in case something comes up. Never attribute to malice that you can attribute to (in this case organizational) incompetence.
sly010··on Backpressure explained – the resisted flow of data through software (2019)
Note that I meant "handling (forward) pressure (or preventing back-pressure) can be done by simply having your system be performant enough. Of course this is not a dynamic property you can adjust at runtime, just wanted to add for the sake of completeness, because it should be part of the mindset. Sometimes a database falling over simply needs a few queries optimized.

> You could have back-pressure in the most optimized system.

Most batch processing systems. But you don't want back pressure in interactive or real-time systems, like graphics, gaming, audio, cars, planes, or even just real time collaboration systems (e.g. Figma). In all these cases back pressure is to be avoided.

sly010··on Backpressure explained – the resisted flow of data through software (2019)
Edit: I think the article also misses one of the most important ways to release pressure. And that is scaling throughput either horizontally (e.g. by adding more servers) or vertically (e.g. by optimization of software)
sly010··on Backpressure explained – the resisted flow of data through software (2019)
I like the article, but I am not sure that I agree with the terminology: I would not call "buffering" a form of back pressure. Imho there is really only one type of back pressure: the one the author calls "control". The other 2 are just ways to "release" pressure.
sly010··on Cap'n Proto 1.0
Not being able to do N+1 queries would be a feature in my book.
sly010··on Developers should be force-fed state machines (2011)
Just take the product of the two independent states. If you had 5 + 5 states, now you have 25 superstates each representing a potentially unique situation. As long as the sub-states are enumerable, the superstates will be enumerable too. One could argue this is exactly where state machines shine, because they allow you to methodically consider every condition.
sly010··on I fixed a parasitic drain on my car in 408 days
> I surmise the reason we see it moreso on minivans is because 1) it is particularly difficult to work up enough energy to properly latch a sliding door, due to losses from the 90-degree change in direction at the end, and 2) violently slamming the sliding doors on a minivan is very dangerous to children's fingers.

There is also a third, dumber reason, at least for cargo van slide-doors. The surface area of sliding doors are large. When the door takes that 90 degree turn and moves very fast towards the vehicle, it is pushing a lot of air into the vehicle. The air in the vehicle has nowhere to go, so it acts as an air-spring, slowing down the door. To properly latch the door, you have to really slam it hard. If the windows are down or an other door is open, the sliding doors latches very easily. I thought I was going crazy when my door was closing easily ... sometimes. Some cargo vans even have vents that allow air to escape, but people tend to cover them because they don't know what it's for. But electric sliding doors also solve this problem, by moving slowly and letting the air escape.

TLDR: if you car door doesn't close, open the window :)

sly010··on Bog – small, strongly typed, embeddable language
You mean the colon?
sly010··on Unredacter: Never use pixelation as a redaction technique
Is it just me or this should have been called "enhance"?
sly010··on Improving code review time
nitpicking but "changelist" sounds like what meta would call a diff-stack (aka multiple diffs).

don't forget Incident = SEV = DEFCON = 911 ...

sly010··on Imperative configs are out; Declarative configs are in
Indeed. Reading SICP should be a requirement for starting a YAML company.
sly010··on Imperative configs are out; Declarative configs are in
This just looks like a frontend over kubernetes.
sly010··on A global house-price slump is coming?
Code.
sly010··on Show HN: We built a tool that automatically generates API tests
or python https://www.python.org/
sly010··on Red Dead Redemption 2 fan with 6k hours on Stadia begs for character transfer
Assuming no technical obstacle, this would be a very cheap PR move. They should definitely wait until last minute though :)
sly010··on Why modern software is slow
""premature optimization is the root of all evil" is the root of all evil."
sly010··on Factorio Is the Best Technical Interview We Have (2021)
Software often has built in back pressure. Most IO syscalls block, TCP surely does, so everything built on TCP does. Belt is memory. The full belt equivalent of software is OOM. If memory allocation can't be done everything comes to a halt. We could write software that instead of crashing just sits there until memory becomes available... It's the human scale circuit breakers (request timeouts) that cause issues. I guess one has to differentiate between batch processing software and interactive request/response style software. Factorio approximates the former, not the latter, but some of the underlying concepts are still the same.
sly010··on Don’t Use Electron Terminals
I don't believe the article says it's electron. Just that gimmicks are a trap an that _other_ terminals are even worse (because they use electron).
sly010··on When are rivet nuts an ideal choice for an application? (2020)
One issue with them, (specifically the crossnut variety) is if you don't use the correct tool a crossnut might start spinning in the metal. If that ever happens when your final bolt is already in, it's like having a nut on the blind side. You can't unscrew the bolt. Otherwise they are great, just but the right settings tool and drill the right size hole.
sly010··on Apple Could Kill CAPTCHAs with Private Access Tokens
Is it just me, or is this a move towards pay per visit in the future?
sly010··on The true cost of linked lists
And similarly, very few algorithms are better than O(n), because something as simple as adding 2 numbers can be O(n) where n is the size of the number in bits :)
sly010··on Terraform should have remained stateless
Presumably because it would already have all the necessary code to find/enumerate existing resources.
sly010··on Terraform should have remained stateless
Re: handling unmanaged resources, you have 2 options:

1. Everything not declared is unmanaged. Deleting is done by a "deleted" attribute of some sort. The resource is declared as deleted.

2. Everything unmanaged is declared as unmanaged. The resource is declared as unmanaged and TF would ignore it.

Either of those would work without extra state.

sly010··on Organice: An implementation of Org mode without the dependency of Emacs
As a vim user I don't use org-mode, but I take notes in way too many places: google keep, docs and random text-files. Then I always forget about where they are and trying to find them in the wrong place.

So I spend a lot of time daydreaming about something like org-mode that is available across all my devices, perhaps something I can share with my family so we can coordinate.

What I am slowly realizing is it's not the features that I am missing from existing productivity/note/todo mobile interfaces ... it's the keyboard.

I am a keyboard oriented person, so no matter how snappy or feature rich a mobile interface is it will always feel sluggish to me. Maybe it's just a matter of getting used to, but for now I am stuck being un-organized. And tbh, I don't know if there is a solution other than having an open laptop with me at all times. Anyone else feels this way?

← PreviousPage 2 of 21Next →