HNHacker News
TopNewBestAskShowJobs

kh_hk

1,163 karma · joined December 2, 2012

"Not craftsmen, my lord," he said. "I have no use for people who have learned the limits of the possible."

    ― Terry Pratchett, The Last Hero
submissionscomments
kh_hk··on 4o Image Generation
It's a nitpick about the repetitive phrasing for announcements

<Product name>: Our most <superlative> <thing> yet|ever.

kh_hk··on 4o Image Generation
> Introducing 4o Image Generation: [...] our most advanced image generator yet

Then google:

> Gemini 2.5: Our most intelligent AI model

> Introducing Gemini 2.0 | Our most capable AI model yet

I could go on forever. I hope this trend dies and apple starts using something effective so all the other companies can start copying a new lexicon.

kh_hk··on Gemini 2.5: Our most intelligent AI model
Was going to comment the same thing, which has been bugging me off lately on all announcements that start with "our" followed by empty superlatives. Happy to not be alone on this!
kh_hk··on Lua, a Misunderstood Language (2021)
The best thing is you can use index 0 for storing metadata about the list :)))
kh_hk··on Legged Locomotion Meets Skateboarding
And lower center of gravity
kh_hk··on Oxidizing Ubuntu: adopting Rust utilities by default
It's funny git structure support is often cited as a good feature to have, baked in a tool that should outlive git itself.
kh_hk··on I fear for the unauthenticated web
For targeted scrapes, isn't proof of work trivial to bypass?

1. headless browser 2. get cookie 3. use cookie on subsequent plain requests

kh_hk··on For Delivery Workers in Latin America, Affordable E-Bikes Are a Superpower
When I was doing it, for rush, fun and sport. I guess it's a privileged take on it though.
kh_hk··on The Death of the Web (2024)
We did this.
kh_hk··on Dragonsweeper — A minesweeper game that requires observation
At the end credits it says inspired by https://hojamaka.com/games/mamono_sweeper which is also a fun game on its own :)
kh_hk··on Programming in Lua (first edition) (2003)
Sometimes I look back with nostalgia to a past role I had and then realize the only thing I miss is Lua, and the salary.
kh_hk··on Books I Loved Reading in 2024
Harry Potter and the Methods of Rationality
kh_hk··on ‘With brain preservation, nobody has to die’
In terms of computing (one that we do not understand), it would be like cloning a live machine by taking the CPU dye only, or maybe the hard drive. How many parts you need to take away from a computer for it to be the same machine? It's easy though with a VM, or a kernel that supports many hardware. Kind of a digress, but I liked this idea.
kh_hk··on PEP 760: No more bare excepts
Seems like a troll PEP and still would not surprise me. Explicit is better than implicit, except if it makes you look like a fool.
kh_hk··on Rails 8: It's more fun to be competent [video]
As someone that used to be a full stack developer and quietly moved to backend after being overflowed by the complexities of the modern web, I fully appreciate this path that rails is taking.
kh_hk··on Kamal Proxy – A minimal HTTP proxy for zero-downtime deployments
I don't understand how to use this, maybe I am missing something.

Following the example, it starts 4 replicas of a 'web' service. You can create a service by running a deploy to one of the replicas, let's say example-web-1. What does the other 3 replicas do?

Now, let's say I update 'web'. Let's assume I want to do a zero-downtime deployment. That means I should be able to run a build command on the 'web' service, start this service somehow (maybe by adding an extra replica), and then run a deploy against the new target?

If I run a `docker compose up --build --force-recreate web` this will bring down the old replica, turning everything moot.

Instructions unclear, can anyone chime in and help me understand?

kh_hk··on Reclaim the Stack
> We spent 7 months building a Kubernetes based platform to replace Heroku for our SaaS product at mynewsdesk.com.

I thought this was either a joke I was missing, or a rant about Kubernetes. It turned out it was neither, and now I am confused.

kh_hk··on Mapping 20k ships that sank during WW II
data > maps
kh_hk··on Show HN: Simple Mbtiles Server – Self-host the entire planet of OpenStreetMaps
Will keep that in mind if I go that route.

GBFS is just one format of the many supported. This is where we keep all instance data https://github.com/eskerda/pybikes/tree/master/pybikes/data . This is the list of GBFS systems we have https://github.com/eskerda/pybikes/blob/master/pybikes/data/...

kh_hk··on Show HN: Simple Mbtiles Server – Self-host the entire planet of OpenStreetMaps
I assumed you would keep it updated the same way you do with mbtiles, but I see that mbtiles are an sqlite so I guess you can do atomic updates with mbtiles.

Note though that there are many cases on which served tile information rarely changes. A lot of us are serving a once-downloaded mbtile file and are using this just to _not_ use a provider (mapbox, ...)

kh_hk··on Show HN: Simple Mbtiles Server – Self-host the entire planet of OpenStreetMaps
While useful, this still uses a server to process tile requests. Why not https://github.com/protomaps/PMTiles ?

For the record, I am currently using maptiler over at https://citybik.es to serve tiles, and I am evaluating moving to serving static pmtiles on range requests to cut the middle man

kh_hk··on Python Practical Package Packing 2024
I will change my projects to use pyproject.toml and remove all the requirements.txt. Looking forward to changing it again for py_requirements.yatxml in 5 years
kh_hk··on The Twelve Foundations for a Good Life
Sprinkle some ADHD on top of that and poof! Get a giant bull of mud of regrets, anxiety and shame for not being a functioning element of society.
kh_hk··on I keep a WTF notebook (2021)
I will quote specifically some examples of what jumps out to me as manipulative behavior:

> I'll ask why things on the list are that way, and how they got to be that way. I'm trying to establish credibility as someone who's genuinely curious and empathetic, who's patient, and who respects the expertise of my coworkers. That's the reputation that's going to let me make changes later.

I would not try to establish credibility, but earn it. I will not try to be genuinely curious or empathetic. I either am, or am not.

> At this point I'm looking for one or two problems that have been bugging one of my new teammates for a while, and that have relatively simple solutions. I'm looking for something I can put on the retro board and know I won't be the only person who's bothered by that problem.

This screams to me as playing the work game. If someone can spend time looking for problems over their coworker shoulders or "something to put on the retro board" it just means they are out of meaningful tasks to do.

> Then, during the team conversation about the problem, I'll identify something that teammate suggests as an action item that we could try immediately. That way the team starts to see me as someone who helps them solve their problems.

Change the context and this sounds like a pickup artist explaining dating tricks, or a con man telling you how to infiltrate or someone on the secret service trying to enter a gang.

> The feeling that I want to create, the association I want people to have with me, is, "Oh, Nat joine [...]

Feelings are not something one goes around creating unless they are actively manipulating people around.

> There's a very specific reputation I want to have on a team: "Nat helps me solve my problems. Nat get things I care about done." That's the reputation that's going to get me the results I want in next year's performance review.

I could keep going on, but I think these are enough examples

kh_hk··on Halo 2 in HD: Pushing the Original Xbox to the Limit
To me it's crazy to think how far ahead of its time in terms of emergent behavior was Battlefield compared to other games, besides battle arenas. Probably it wasn't the first one either, but it's the one that comes to mind.

Picking up a tank or a jeep is one thing, but going for controlling an aircraft carrier or a submarine? Even if the controls were really primitive, it felt amazing!

kh_hk··on I keep a WTF notebook (2021)
Always a good idea to keep a work journal, but there's something on the tone of this article that bothers me. I would like working with someone that is not a borg and is not following a script that seems taken from How to win friends and influence people. In general I will mistrust anyone that tries to manipulate me, that is, if I catch them doing it.
kh_hk··on Halo 2 in HD: Pushing the Original Xbox to the Limit
Battlefield 1942 comes to mind as some predecessor close to what you describe
kh_hk··on New Beeper Android app – Open beta test
Have you looked into the Jelly Phone? I used mine for over a year until I destroyed the battery. Was definitely small and got used to it pretty quick
kh_hk··on Barcelona Supercomputing Center presents Sargantana: new open-source RISC-V chip
Must be poor phrasing and choice of words I guess. I concur it's free to visit.
kh_hk··on What's New in Python 3.12

    >>> foo = {"foo": None}
    >>> print(foo.get('foo', {}).get('bar'))
    Traceback (most recent call last):
      File "<stdin>", line 1, in <module>
    AttributeError: 'NoneType' object has no attribute 'get'
    >>> print((foo.get('foo') or {}).get('bar'))
    None
← PreviousPage 4 of 14Next →