HNHacker News
TopNewBestAskShowJobs

joaomacp

405 karma · joined July 24, 2016

http://joaomacp.github.io/ 95joaopereira at gmail dot com
submissionscomments
joaomacp··on Chat GPT 5.2 cannot explain the German word "geschniegelt"
Maybe it's getting confused by the expression "geschniegelt und gestriegelt", seeing both as geschniegelt and getting confused
joaomacp··on Show HN: A simulator for engineers transitioning from IC to management
It felt nice finding the optimal path. I found it nice as a hook to pay for the whole course, I think I'd enjoy this hands-on approach to learning, congrats for making it feel appealing!

However, I won't pay for the course as I'm only an IC with no realistic path to management. But maybe "transitioning from IC to management" is too small of a niche for this product: sounds like it would be good for managers that want to improve: "strategies for management from an ex-developer" or something like that

joaomacp··on Gemini 3 Pro: the frontier of vision AI
And just like that, you no longer have a good benchmark. Scrapers / AI developers will read this comment, and add 5-legged dogs to LLM's training data.
joaomacp··on Jolla Phone Pre-Order
Reminder that the greenest smartphone is one you already have.

If my phone died today, I still have a company-given one that I never use. I'd just ask my org to give or sell it to me for personal use.

joaomacp··on Ex-WhatsApp cybersecurity head says Meta endangered billions of users
Sure:

  plain_msg = decrypt(encrypted_msg)
  send_to_nsa(plain_msg)
joaomacp··on For all that's holy, can you just leverage the web, please?
The actual reason they tell you to register for warranty via a phone number is for a salesperson to pick up, and upsell you on "enhanced warranty" or "insurance". It's proven that people feel awkward saying no to a salesperson, and agree to pay extra much more often than they would do online (they'd just tick "no" on the enhanced warranty paid product).

That's also why the author went on a queue: the call-center is not for the washing-machine company, it's an insurance-selling center that works with multiple companies.

joaomacp··on Materialized views are obviously useful
[After just using `count()`]

> Uh oh, someone is tapping you on the shoulder and saying this is too slow because it has to do a complete index scan of the tasks for the project, every time you load the page

Just ask them if that's actually the bottleneck and go for a walk outside, before sweating over anything else discussed in this post.

joaomacp··on UK unis to cough up to £10M on Java to keep Oracle off their backs
Universities should also have adjusted: Java has been commercial for long now, and there are many other popular, less commercially-aggressive programming languages that would fit curriculum nicely: Python, Golang, etc.
joaomacp··on OpenAI's o1 Playing Codenames
I tried whatever the multi-modal paid ChatGPT model is on the Codenames Pictures version, and it didn't fare that well. Since they will probably scrape this comment and add it to next model's training data, I look forward to it getting good!
joaomacp··on GIMP 3.0 is on the way
I use Gimp from time to time, and often get frustrated with its... unique UI. It's nice to see they're hearing feedback and working on it :D

A tip for others that feel the same: if you've used Photoshop before and are used to its UI, try the free Photopea website. It's a Photoshop "clone" that works really well in web (I believe it's a solo dev doing it too). It's replaced Gimp for me lately.

joaomacp··on How a flawed idea is teaching kids to be poor readers (2019)
If you want to know about this in podcast form: https://features.apmreports.org/sold-a-story/

Takes more time than reading the article, but the podcast has IMO a nice pace of leaving you curious and giving you info. It includes opinions from teachers, parents, etc.

joaomacp··on Limits to running speed in dogs, horses and human
Obligatory related paper:

"in the future, the fastest humans on the planet might be a quadrupedal runner at the 2048 Olympics, which may be achieved by shifting up to the rotary gallop and taking longer strides with wide sagittal trunk motion."

https://www.ncbi.nlm.nih.gov/pmc/articles/PMC4928019/

joaomacp··on Technical Details on Today's Outage
> They protect these many companies, industries and even countries at such a global scale and you haven't even heard of them in the last 15 years of their operation

I certainly don't want to know (through disaster news) about the construction company that built the bridge I drive through everyday, not for another 15 years, not ever!

This kind of software simply should not fail, with such a massive install base on so many sensitive industries. We're better than that, the software industry is starting to mature and there are simple and widely-known procedures that could have been used to prevent it.

I have no idea how CrowdStrike stock has only dropped 10% to the values of 2 months ago. Actually, if the financial troubles you get into are only these, take back what I said, software should be failing a lot (why spend money on robustness when you don't lose money on bugs?)

joaomacp··on Essays on programming I think about a lot
Moseley and Marks "Out of the tar pit" is a nice essay / paper.

Ousterhout's "A Philosophy of Software Design" goes along the same vein, not an essay but a short book.

Both of these agree on something that I really relate with: the main thing to keep in mind in a software project is complexity.

Managing complexity to reduce cognitive load on programmers is something I always have in mind, it works not only within a codebase, but also across codebases that talk to each other through APIs, and even across software teams when considering their boundaries and modes of communication.

joaomacp··on Sieve is simpler than LRU
I watched it again and read the algorithm description part, and I think you're right - D should have been switched to false, as the hand was pointing to it when a cache miss happened.
joaomacp··on static-server: an HTTP server in Go for static content
or the node one:

$ npm install http-server

$ http-server .

joaomacp··on Linux 6.2: The first mainstream Linux kernel for Apple M1 chips arrives
I'm not that knowledgeable in this department, but: if the BDFL is really hurting the usability of their library / service, can't it just be forked by more benevolent actors?
joaomacp··on GraphGPT: Extrapolating knowledge graphs from unstructured text
"Newman is Jerry's enemy. He lives in the same building as Jerry and Kramer"

I was expecting this would make Newman, Jerry and Kramer all neighbours of each other, but it only did it for Newman and Kramer.

joaomacp··on Ask HN: What sub $200 product improved your 2022
During the day desktop PC is off and I work on my laptop, then I turn it off and switch to the desktop PC. With synergy one would always have to be on.
joaomacp··on Ask HN: What sub $200 product improved your 2022
A basic KVM switch [0]. Got tired of switching my mouse, keyboard and monitor cables between my work laptop and my desktop PC. This makes it a 1 button press.

0: https://www.amazon.co.uk/gp/product/B08NVKHRRT/

joaomacp··on A mysterious new Babylon 5 project is coming sooner than you think
Babylon 5 is a well made SciFi show and I'd recommend it!

I'm currently on season 3, started watching it because of Casey Muratori's (video game programmer, author of "Handmade Hero" educational streams) series of interviews with Jonas Kyratzes (video game designer, writer of "Talos Principle"), where they discuss the show: [0]

The distinguishing point about the show is that it features a coherent world, where some small detail happening in one episode can come back 6 episodes later. It's also coherent in between seasons, since it was pre-planned as a 5-season show spanning exactly 5 years on the Babylon 5 station.

Also, it features early computer animated 3D art made on Amiga computers. It hasn't aged that well but gets the job done.

[0]: https://youtu.be/iASsvQ8sX9w

joaomacp··on Why do you waste so much time on the internet?
It may be a common trait in programmers, since we're rewarded by getting to the bottom of things: "why is this function failing? who calls it? in which possible states?"

Most programmers have experienced being so immersed in code that we don't notice time is passing, forgetting to eat or sleep.

It's similar with immersion in social media / food / whatever. We become lost in the activity and lose our sense of self.

I've recently heard of the concept of conscientiousness as a personality trait. People with low conscientiousness tend to procrastinate more, and it's tied to ADHD. Apparently it can be trained. I'm trying (though not really succeeding) to make pauses, take a deep breath and think about "what am I doing right now? What should I be doing instead?". Seems so basic, like I've regressed to being a child who has no self control...

joaomacp··on Gmail password first character is case insensitive on mobile device
It can all be done client-side: the client can try (un)capitalizing the letters after the original password fails
joaomacp··on A fungus that infects cicadas and pushes their mating into hyperdrive
I've also read that the cold or flu virus makes us seek more human contact and feel more affectionate, supposedly overriding our mind in order to propagate the virus.
joaomacp··on Israel may have achieved herd immunity against Covid-19
https://outline.com/xsne6f
joaomacp··on New genetic testing system for couples
I posted this because it genuinely scared me, in a way technology hadn't scared me yet.

They specifically say 'with Orchid, couples today have a new ability to stack the odds in their children’s favor'. But how? By sequencing DNA of prospective partners to find the perfect one?

This can create a future where people screen each other's DNA, and look for only the top-of-the-line genetic specimens. I guess it was going to happen anyway, but this scares me a lot, and at first glance I would support regulations opposing the sequencing of DNA for the purpose of improving your children.

We could be altering the natural selection process that, with its randomness and variation, led to our own evolution.

joaomacp··on GitHub investigating crypto-mining campaign abusing its server infrastructure
> It could be possible to regulate exchanges dealing with fiat, but I feel like the regulable surface area is thin.

It may be thin, but it covers most people. Most crypto buyers use fiat exchanges. If those were ruled out, the monetary value of tokens would go down, and with it the mining incentives would lower. It wouldn't be the end of crypto, but it would alleviate many issues (energy, hardware shortage, etc).

PS: I don't think crypto is the only reason for GPU shortage (others being more demand from stay-at-home people, and general semiconductor shortages), but I believe it plays a part.

joaomacp··on Gen X emerging from pandemic with firmer grip on America's wallet
And then pass it over to Gen Z, Gen α, and Gen XMen
joaomacp··on AstraZeneca vaccine doesn't prevent B1351 Covid in early trial
Don't know why you were downvoted on this. I agree - if there's a certain small risk of a blood clot complication, keep giving the vaccine to older people, that have a higher risk of serious COVID complications, and suspend it for younger people, whose benefit doesn't outweigh the risk.
joaomacp··on Lisbon’s startup scene rises as Portugal gears up
LinkedIn should work. There's also LandingJobs, a Portuguese hiring website specifically for devs.
Page 1 of 7Next →