HNHacker News
TopNewBestAskShowJobs

AndrewStephens

3,603 karma · joined April 23, 2015

Blog: https://sheep.horse/

Mastodon: @sheephorse@mastodon.online

submissionscomments
AndrewStephens··on Apple Introduces AirPods 5
I knew this was going to happen when I purchased my AirPod3s a couple of weeks ago. The only feature I really miss is the touch volume control.
AndrewStephens··on My Images Are Dithered
Very nice results, I really like the way it looks like a printed page. Image processing is addictive - once you start playing around it is hard to stop.
AndrewStephens··on Why malloc always does more than I asked for?
Alternative allocators could make a huge difference to the runtime performance. When multithreading on real multiprocessor systems started to become a thing it was common that all your carefully written threads ended up waiting on the allocator mutex. The win32 heap was particularly prone to this.

Third party allocators improved on this as well as usually avoiding the heap fragmentation problems that system heaps often suffered from back then.

These days the system heaps have improved to a point where you really only need to think about a third party heap for very specialized circumstances. They do usually come with nifty debugging tools though.

AndrewStephens··on Blogging can just be stating the obvious
When I look back on the really helpful blog posts I have read, they have all been really basic. Whether they described a programming technique or a recipe for a new meal, it was a clear description that was important - not how esoteric the knowledge was.

There is a place for complex blog posts on arcane subjects but posts on "common knowledge" are even more important. There is a 15 year old out there somewhere that needs to know how to use the different smart pointers in C++ or how to properly care for a cast iron pan.

AndrewStephens··on Who Owns Your ATProto Identity? Hint: It's Probably Not You
I think what you are looking for is something like Mastodon or related activity-pub service. You can run your own instance and nobody can take that away from you. No need to drag a blockchain into it - just host whatever services you need.
AndrewStephens··on Who Owns Your ATProto Identity? Hint: It's Probably Not You
What is the incentive for an individual to participate in a non-financial blockchain?

Bitcoin-style blockchains “work” because everyone gets the possibility of a little reward for all the hassle and non-negligible CPU time of being a node.

AndrewStephens··on Image Compression
> I'd probably skip WebP, and go straight to AVIF now.

That is my assessment as well. The compression ratios with AVIF are ridiculous compared to older formats.

AndrewStephens··on TIL: You can make HTTP requests without curl using Bash /dev/TCP
This is pretty neat if all you need is to ping a local server but please use curl (or something equivalent) for contacting remote services. HTTP1.1 seems like such a simple protocol but in the real world you need to deal with proxies, different encodings, and redirects. Curl takes care of that (and a host of other annoying stuff) for you.
AndrewStephens··on Appreciating Exif
Exif is great but here is your obligatory reminder that if you are publishing images you should strip out some of the identifying information that cameras and image editing software likes to embed.

In particular, you probably don’t want the GPS coordinates of your house publicly available on your blog for everyone to see.

AndrewStephens··on Exif Smuggling (2025)
My static site generator strips out exif data from images and I would expect all sensible sites would do the same. There is a lot of personal information jammed in there - if you post a picture of your dog making a funny face to social media you don’t want the exact GPS coordinates of your house plastered over the internet.

You have to be selective though, some of the EXIF data specifies things like color spaces and orientation that is used by browsers for displaying the image properly.

AndrewStephens··on Usborne 1980s Computer Books
These were some of the most influential books of my youth, teaching a generation of young kids quite advanced topics. I still picture cartoon robots putting numbers in boxes whenever I write code involving pointers.

But my favourite[0] was Write Your Own Adventure Programs, which taught data driven programming and text parsing.

[0] https://sheep.horse/2017/2/usborne_computer_books.html

AndrewStephens··on Project Gutenberg – keeps getting better
PG remains one of the best things on the internet. The amount of fascinating material almost beggers belief.
AndrewStephens··on IBM didn't want Microsoft to use the Tab key to move between dialog fields
IBM was legendarily over-managed. This is second-hand but a guy I used to work with told a story of when he interned for a summer at IBM in London during the mid-90s doing what would now be called a QA engineering. At that time everyone wore suits to work but the culture was changing so the interns put in a request to be allowed casual Fridays. Bear in mind that they were locked in a back room somewhere without any customer interaction so they didn't think it was a big deal.

Months later, just before the end of the internship, they received a reply. Their manager had forwarded their request up the chain of command and the email had the full quoted history. Their request had been bumped up 4 successive layers in the London office, then across to the US headquarters where it continued its upwards trajectory, finally alighting on the desk of a VP who, after thanking them for bring the issue to his attention, rendered an carefully considered opinion.

The whole process had taken weeks, presumably as each person in the hierarchy debated whether they had the authority to tackle such a weighty issue.

The email had then been inexplicably bounced back DOWN the chain one link at a time, back across the Atlantic Ocean, and through the local office, down to the suit-bound interns, again weeks later, who by this stage only had days left at the internship.

The answer was no.

AndrewStephens··on Will you heed my warnings now?
> gate fidelity and other parameters are above certain threshold

A threshold that might be beyond what the physical properties of our universe allow. It is still unclear.

AndrewStephens··on Will you heed my warnings now?
Aaronson know his stuff but I am not sure he hasn’t considered the fact that, in this current hype cycle, the quantum researchers breathlessly reporting to him on a breakthrough just around the corner are just lying to him and themselves.

I have been hearing about one more technical hurdle to solve before quantum algorithms become feasible since before I graduated. That was in 1996.

AndrewStephens··on Trying for 1 month but can't learn pixel art still
A lot of the original 8bit games that pixel art tries to invoke have quite terrible art, even by the standards of the day.
AndrewStephens··on Show HN: I built a frontpage for personal blogs
Well, probably. And if not there is always good old fashioned email.

Almost nobody actually contacts me but it is technically possible.

AndrewStephens··on Trying for 1 month but can't learn pixel art still
I have been trying for years to get good at 3D modeling with Blender and have also failed. But I didn’t let that stop me using Blender to produce illustrations for my sci-if epic interactive fiction game that ended up being nominated for a minor award for graphics (it didn’t win).

Let me introduce you to the last resort of the struggling artist - extreme stylization. Really good pixel art is a very difficult discipline but terrible pixel art can be just as appealing if you push a style you can call your own.

Be bold.

AndrewStephens··on Show HN: I built a frontpage for personal blogs
I haven’t had comments on my blog for over a decade now and I don’t miss them. For every useful and informative comment I got several spammy or rude reply. Anyone who wants to let me know something about my blog can message me on social media.

I’ve seen blogs that do not host comments themselves but instead automatically surface social media (usually mastodon) comments which I think is a useful technique.

AndrewStephens··on Show HN: I built a frontpage for personal blogs
I love this (and submitted my blog) - people bemoan the death of the Old Web™ but in reality there is still heaps of great content being created.
AndrewStephens··on Some Words on WigglyPaint
A well written piece on a sad state of affairs.
AndrewStephens··on Stop using grey text (2025)
You are not alone.

I got criticism on my blog for using a serif font but those people are just … wrong. Serif fonts are just better for reading at all font sizes.

AndrewStephens··on Personal Statement of a CIA Analyst
> I was put through the mill of getting higher level security clearances so I could be assigned to classified projects. Fortunately, I never was.

Sure was lucky you didn’t work on any of those classified projects - <wink>

AndrewStephens··on Micropayments as a reality check for news sites
> As I have described earlier, the race to the bottom is a feature, not a bug. It encourages other sites to mirror your content.

The problem is that bottom in this case is “free, with ads.” As soon as you post your well researched expensive to produce content, I will summarise it and offer 90% of the experience for free. That’s if Google doesn’t do it first with AI summaries.

There are plenty of crypto projects that tried to do micropayments. They failed mainly due to technical reasons but if they had worked they still would not have gained traction - nobody wants micropayments.

AndrewStephens··on Micropayments as a reality check for news sites
I get the sentiment but micropayments just don’t work - the main problems are not technical but social. Even in the gaming sector, nobody really charges less than about a dollar for items - that is the smallest unit of money where putting up with fraud, complaints, and chargebacks becomes worthwhile.

Add to this the huge race to the bottom (they are charging 3 cents for their article, read my summary for 2 cents) and you quickly begin to see why micropayments have never taken off.

Finally, I wrote a blog post along these lines with more detail[0]. For those who disagree, ask yourselves; would you pay me 2 cents before you click that link.

[0] https://sheep.horse/2024/11/on_micropayments.html

AndrewStephens··on Show HN: Knock-Knock.net – Visualizing the bots knocking on my server's door
I just disable SSH passwords and force using a certificate, which should be immune to bots barring some horrible unknown flaw in the ssh daemon.

Running over a VPN service would have the much the same effect.

AndrewStephens··on Show HN: Knock-Knock.net – Visualizing the bots knocking on my server's door
This is great. I run a server for my blog and can confirm idiotic bots continually hammer port 22. Sometimes I check my SSH logs just to see what is going on but I’ve never detected anything cleverer than trying common username/pw combinations.

It seems a little pointless, surely every server actually accepting SSH passwords has been 0wned year ago.

AndrewStephens··on iOS 26.3 and macOS 26.3 Fix Dozens of Vulnerabilities, Including Zero-Day
I find some parts of Liquid Glass to be an improvement over the previous flat style that lasted far too long. A lot of it seems really well thought out.

On mobile that is.

On larger screens with desktops and overlapping windows it looks kind of bad. Not unusable, just annoying. I am hoping this will change as more apps update their design.

AndrewStephens··on Dithering – Part 2: The Ordered Dithering
Normally I am not a fan of gimmicky page formats but this series really hits it out of the park with well-considered presentation.

I can't wait until the next installment on error diffusion. I still think Atkinson dithering looks great, so much so that I made a web component to dither images.

AndrewStephens··on Ask HN: When has a "dumb" solution beaten a sophisticated one for you?
Game design is filled with simple ideas that interact in fun ways. Every time I have tried to come up with complex AIs I ended up scrapping them in favor of "stupid" solutions that turned out to be more enjoyable and easier to tune.
Page 1 of 22Next →