HNHacker News
TopNewBestAskShowJobs

wesammikhail

681 karma · joined November 1, 2018

submissionscomments
wesammikhail··on Show HN: A list of websites and directories where you can promote your projects
put in a shot of tequila in it. that ought to get you to perk up real nice.
wesammikhail··on Show HN: I made a tool for converting text snippets to shareable image
I post some stuff on social media like code snippets and some markdown instructions. Most platforms have terrible support for rich formatting. So I decided to do it this way instead. I can now just post screenshots.

Also, when creating technical docs and presentations, this turned out to be super helpful.

Just a fun side project I figured others might find useful!

wesammikhail··on Treasure hunter freed from jail after refusing to turn over shipwreck gold
The is the most totalitarian bullshit I've ever heard on HN. The fact that you're okay with another human, just because they have a robe, to compel you to do as they ask OR rot away without a conviction is utter madness.

Imagine if this was the 1500s and the man in the robe was a priest. Would you be okay with that? and if your answer is some form of distinction without a difference argument, I'd urge you to not even reply.

wesammikhail··on Ireland shuts last coal plant, becomes 15th coal-free country in Europe (2025)
> This attitude is ill informed.

> Renewables are cheaper now than most forms of energy production. Grids need investment.

> Now we are rich it’s only fair we lead in transitioning to renewables.

> I despair at these short sighted and fairly wrong on the facts views.

The level of arrogance is unmatched while being both factually wrong AND self-contradictory.

Absolute cinema!

wesammikhail··on Building a new Flash
God I love the look of those old school sites. Takes me back to a happier time. Whatever happened? :(
wesammikhail··on Iran's Ayatollah Ali Khamenei is killed in Israeli strike, ending 36-year rule
Honeeeeeeeeey get in here, the board of peace officially declared its first war!

Bring the popcorn with you. No need for salt cause everyone got that in spades on both sides.

wesammikhail··on How will OpenAI compete?
> But is "only" 5% of users paying of a 8-900M user base really so inconsequential? What percentage of Meta's users are paying? Google's? I would be curious to see the author dig deeper here, because I am skeptical that this is really as bad as the author suggests.

The difference is in the unit economics. OpenAI has to spend massively per free user it serves. The others you mentioned have SaaS economics where the marginal cost of onboarding and serving each non-paying user is essentially zero while also gaining money from these free users via advertising. Hence, the free users are actually a net positive rather than an endless money sink.

Keep also in mind that AI has always been, and will always be, a commodity. The moment you start forcing people to convert into paying customers is the moment they jump ship at scale.

Just something to keep in mind.

wesammikhail··on CERN rebuilt the original browser from 1989 (2019)
I had no idea. You just blew my mind
wesammikhail··on Microsoft account bugs locked me out of Notepad – Are thin clients ruining PCs?
I deploy all my code on linux and have been thinking about switching from windows to linux for my daily driver. But even I dread that. It´s as if linux has tried as hard as possible to make every single little thing as complicated as possible.

imho, user experience is nowhere to be found in the linux landscape. There is very little focus on that. People will tell you try this or that distro. But once you run into a simple problem, it´s often a rabbit hole of a gazilling cli commands to fix it. In the mean time you´re praying to god to not brick something that used to work before.

wesammikhail··on We mourn our craft
Speak for yourself. If you find the agentic workflow to be more fun, more power to you.

I for one think writing code is the rewarding part. You get to think through a problem and figure out why decision A is better than B. Learning about various domains and solving difficult problems is in itself a reward.

wesammikhail··on OpenClaw is what Apple intelligence should have been
The author is full of shit is what it is. They see a few posts online and extrapolate from that to fit whatever narrative they believe in.
wesammikhail··on Surely the crash of the US economy has to be soon
You can be directionally right but still lose a whole lot of money as an investor for decades on end even when you're right about the eventual outcome. Predicting future outcomes is orders of magnitude easier than predicting the exact moment/timing. After all, "markets can stay irrational for far longer than you can stay solvent".

This is why Burry, schiff, and a bunch of others keep predicting a collapse for decades on end. They're directionally right, they see a pattern but cant seem to time it right.

My prediction: I think this clusterfuck will keep going until

1. Unbearable irrationality: The US owes more money than there is money in the whole world. Measured using something like global M1 or M2 or something of that nature. Basically the system will need to reach a level of irrationality that even its biggest defenders can't cope with. OR,

2. Demographics: Most boomers die of old age after raiding whatever remains of the treasury.

Coincidentally, if my quick math is right, both of these scenarios are very likely to coincide within the next ~10 years or so. So make of that what you want...

wesammikhail··on Show HN: ChartGPU – WebGPU-powered charting library (1M points at 60fps)
my 2 cents: I'm one of these people that could possibly use your tool. However, the website doesnt give me much info. I'd urge you to add some more pages that showcase the product and what it can do with more detail. Would help capture more people imo.
wesammikhail··on AI Destroys Institutions
The institutions have been doing a fine job of destroying all their credibility and utility all on their own for far longer than this new AI hype cycle.

ZIRP, Covid, Anti-nuclear power, immigration crisis across the west, debt enslavement of future generations to buy votes, socializing losses and privatizing gains... Nancy is a better investor than Warren.

I am not defending billionaires, the vast majority of them are grifting scum. But to put this at their feet is not the right level of analysis when the institutions themselves are actively working to undermine the populace for the benefit of those that are supposed to be stewards of said institutions.

wesammikhail··on Web development is fun again
I still write vanilla PHP with SQL queries. And with all the modern PHP features, things have never been faster or more joyful to work with.

I honestly feel bad for people who fall victims to complexity. It burns you out when all you need is to keep things simple and fun. Life is too short for anything else.

wesammikhail··on Web development is fun again
> I have to assume you have never written a large scale project for the web?

Can I ask, what classifies as large scale project for the web?

I previously created and exited a trading platform that did billions in transactions via our servers with thousands of users streaming real time data. It's certainly more complicated and "larger" than 99.9% of things you'll ever do. So does that qualify?

If so, I can tell you that I did it with PHP and no JS frameworks. Hosted on a couple of VPS servers from digital ocean. From idea to execution to exit in ~9 months.

You know what the weird part is? I see your take repeated over and over by "shovel peddlers" and grifters. And every single time it comes with 0 substance or merit.

wesammikhail··on Total monthly number of StackOverflow questions over time
Models are NOT search engines.

Even if LLMs were trained on the answer, that doesn't mean they'll ever recommend it. Regardless of how accurate it may be. LLMs are black box next token predictors and that's part of the issue.

wesammikhail··on Torch.ts – building PyTorch in TypeScript from scratch to learn
The entire repo is 2-3 array access functions. Why is it even posted here? No harm in trying to learn but there is nothing in here that is even close to PyTorch.
wesammikhail··on Logging sucks
I used to do it like that and it worked really well but I changed the flow to where exceptions are actually part of the control flow of the app using PHP's set_exception_handler(), set_error_handler() and register_shutdown_function().

Example, lets say a user forgot to provide a password when authenticating, then I will throw a ClientSideException(400, "need password yada yada");

That exception will bubble up to the exception_handler that logs and outputs the proper message to the screen. Similarly if ANY exception is thrown, regardless of where it originated, the same will happen.

When you embrace exceptions as control flow rather than try to avoid them, suddenly everything gets 10x easier and I end up writing much less code overall.

wesammikhail··on Logging sucks
The way I have solved for this in my own framework in PHP is by having a Logging class with the following interface

  interface LoggerInterface {

    // calls $this->system(LEVEL_ERROR, ...);

    public function exception(Throwable $e): void;

    // Typical system logs

    public function system(string $level, string $message, ?string $category = null, mixed ...$extra): void;

    // User specific logs that can be seen in the user's "my history" 

    public function log(string $event, int|string|null $user_id = null, ?string $category = null, ?string $message = null, mixed ...$extra): void;
  }
I also have a global exception handler that is registered at application bootstrap time that takes any exception that happens at runtime and runs $logger->exception($e);

There is obviously a tiny bit more of boilerplating to this to ensure reliability, but it works so well that I can't live without it anymore. The logs are then inserted into a wide DB table with all the field one could ever want to examine thanks to the variadic parameter.

wesammikhail··on Prompt caching for cheaper LLM tokens
Looking forward to it!
wesammikhail··on Prompt caching for cheaper LLM tokens
Because in my mind, as a person not working directly on this kind of stuff, I figured that caching was done similar to any resource caching in a webserver environment.

It´s a semantics issue where the word caching is overloaded depending on context. For people that are not familiar with the inner workings of llm models, this can cause understandable confusion.

wesammikhail··on Prompt caching for cheaper LLM tokens
Amazing article. I was under the misapprehension that temp and other output parameters actually do affect caching. Turns out I was wrong and this explains why beautifully.

Great work. Learned a lot!

wesammikhail··on AI and the ironies of automation – Part 2
Our of curiosity, does anyone know of a good writeup / blog post made by someone in the industry that revolves around reducing orchestration error rates? Would love to read some more about the topic and I'm looking for a few good resources.
wesammikhail··on Unreal Tournament 2004 is back
Instagib Face Classic Quad Jumps in 2026?

Sign me the f up!

wesammikhail··on 100k TPS over a billion rows: the unreasonable effectiveness of SQLite
I was asked for a passport photo when I tried to open an account. They literally asked for a passport photo immediately after the signup form. Like WHAT? I couldn't believe my eyes. The most insane shit I've ever seen.
wesammikhail··on It’s been a very hard year
I work as a consultant and tend to focus on helping startups grow their revenue. And what you're saying here is almost word for word what I often recommend as the *first thing* they should do.

In many cases I've seen projects increase their revenue substantially by making simple messaging pivots. Ex. Instead of having your website say "save X dollars on Y" try "earn X more dollars using Y". It's incredible how much impact simple messaging can have on your conversion rates.

This extends beyond just revenue. Focusing on revenue centers instead of cost centers is a great career advice as well.

wesammikhail··on Trillions spent and big software projects are still failing
Agree 100%.

I know a lot of people on here will disagree with me saying this but this is exactly how you get an ecosystem like javascript being as fragmented, insecure, and "trend prone" as the old school Wordpress days. It's the same problems over and over and every new "generation" of programmers has to relearn the lessons of old.

wesammikhail··on Multiple Digital Ocean services down
slight off topic: I used DO LBs for a little while but found myself moving away from that toward a small droplet with haproxy or nginx setup. Worked much better for me personally!
wesammikhail··on Digital ID – The New Chains of Capitalist Surveillance
> An open standard for the world to use for this seems like the ideal way you would want it to happen.

I get the convenience part. I am from Sweden. We have BankID. I really get it.

But in reality, when centralized systems go to shit, they go to shit REAL BAD. So I personally oppose any such measures on both principles but also... it's okay if life is a little bit less convenient. Not everything needs to be ultra optimized for efficiency. Privacy and systemic integrity is worth at least that much imo.

← PreviousPage 2 of 9Next →