HNHacker News
TopNewBestAskShowJobs

codemusings

457 karma · joined January 22, 2016

submissionscomments
codemusings··on I just trained a physics-based earthquake forecasting model on a $1000 GPU
Right. Because compute power and/or a physics based model is the limiting factor for accurately predicting when a seismic event happens. Training on historic data is hardly the problem that need's solving.

It's the leading indicators that are actually measurable that are missing. You know the ones that allow for evacuations and other protective measures.

codemusings··on Tell HN: macOS 26 is making me have regrets for the first time in 12yrs
I saw beta screenshots of what used to be the toolbar (e.g. in Finder) and immediately disabled auto-update on my Mac. Seeing how many bugs have also been introduced (not just visual glitches) pretty much reaffirmed me in my decision.

However the downside is I can't try some new app releases like Daft Music[1] because it has become to burdensome to maintain two different designs. Especially in SwiftUI.

[1] https://daftmusic.app

codemusings··on Tell HN: Google Maps reviews in Germany are basically dead
Trust me 1-Star-Drive-By Reviews by "customers" without any merit are just as bad for businesses.

So, congrats. You've basically discovered that online review systems suck. Look at app stores. Look at Amazon product reviews. It's all being gamed and manipulated and abused. Google obviously won't moderate any of this because there's no substantial business value.

codemusings··on Ask HN: Qt style "Signals and Slots" based JavaScript UI library?
I'm of the opinion that this is bad design because it makes it very hard to reason about the consequences when refactoring a large codebase. It's kind of like reactive global variables. There are legitimate reasons when to use them. But not as a general design principle.

That being said: If you're dead set on this paradigm you can implement this easily yourself. Create a bootstrapping function that modifies a prototype or class in order to provide functions to register signals and slots and use them wherever you need them.

If you use TypeScript you could even use Decorators (e.g. "@Signal" or "@Slot") which are just higher order functions to have some syntactic sugar like the QT macros.

codemusings··on Multi-threading is always the wrong design (2023)
> The irony is that, since you are splitting the problem in a way that requires synchronization between cores, you are actually introducing more work to be executed in the same CPU-time budget. So you are spending more time on overhead due to synchronization, which does the opposite of what you probably hoped for — it makes your code even slower, not faster.

That is certainly not universally true for every scenario and if you need to sync state between cpu cores very often then your tasks simply don't lend themselves to parallelization. That doesn't mean that multi-threading is inheritely the wrong design choice. Of course it will always be a trade-off between performance gains and the code complexity of your job control.

codemusings··on Block YouTube ads on AppleTV by decrypting and stripping ads from Profobuf (2022)
> [...] when I learned later down that you can add CAs to the certificate store of an Apple TV.

Same. I would not have guessed that that's possible but I guess I never tried to access a resource without a valid certificate chain on Apple TV.

codemusings··on BBS from Scratch
The AI slop images on this website are honestly such a turn off. Especially considering that BBSs are all about text.
codemusings··on Hyperspace
John has reiterated multiple times on his podcast that he doesn't want to deal with thousands of support requests when making his apps open source and free. All his apps are personal itches he scratched and he sells them not to make a profit but to make the barrier of entry high enough to make user feedback manageable.
codemusings··on The U.S. needs a shipbuilding revolution
> [...] if the nation is destined for maritime irrelevance and the laying of its prosperity at the whims of autocrats a world away.

Considering what happened in the last two weeks alone this lack of self-awareness is simply brilliant.

codemusings··on LibreOffice 400M Downloads, and Counting
I think this is in reference to OpenOffice but the wording is rather confusing.
codemusings··on OpenAI crawler burning money for nothing
For what it's worth: they do honor the robots.txt file. I had the same problem with a client's CMS and denying all AI crawler user agents did the trick.

It's clear they've all gone mad. The traffic spiked 400% overnight and made the CMS unresponsive a few times a day.

codemusings··on Redesigning UI/UX so AI can use software
> AI Agent RequirementsDescriptionSemantic MarkupUse of HTML5 semantic elements to define web page structureConsistent CodingConsistent use of coding practices throughout the web pageWeb StandardsAdherence to established web standards and best practices

Right. Let’s ask AI how to make websites easier to navigate. Because that’s the top priority on the internet.

codemusings··on Open source AI is the path forward
Ever heard of SETI@home?

https://setiathome.berkeley.edu

codemusings··on PgManage: Modern, cross platform graphical database client
That's an interesting stack choice. A desktop client that uses Django as a backend. I kept wondering how this is rendered client side. TIL about NW.js.
codemusings··on Ask HN: Performance of Apple Sillicon vs. ThinkPads (Or Other Linux Laptops)
Right?! What a Fad! Arm SOCs only run billions of devices today. What do they know.

Old trusty hasn’t failed me yet! slaps the enormous heat pipe leading to the dust-filled fan

codemusings··on Deutsche Bahn introduces "MetaWindow"
Yes that’s why track redundancies are important. And not just for construction. Local and Intercity connections would benefit as well.
codemusings··on Deutsche Bahn introduces "MetaWindow"
What are you talking about? DB Infrago is a subsidiary of DB and is as such governed by the board. The fact that they are separate entities has purely corporate legal reasons.
codemusings··on Deutsche Bahn introduces "MetaWindow"
Now could Deutsche Bahn please also invest in some actual infrastructure, trains and make them go on time?

That‘d be great! Thanks.

codemusings··on I realized I am a bad programmer
Being able to apply algorightms and implemnent data structures isn't what makes you a good programmer. Writing maintainable code for yourself and your team members, documenting important bits and helping out others is what produces actual value.
codemusings··on Book people think they know why 9-year-olds stop reading for fun
Well my school did trips to the local library so that everyone could acquire their paper card for borrowing books. The process of borrowing and the different sections in the library were explained by the librarian and at least in my mind that helped a great deal to seek out books on my own.
codemusings··on Do you feel stuck in your personal growth as a small startup CTO?
> because maps weren't very accurate in browsers

Could you expand on that? That sounds like an odd reason to pivot to native. Isn't accuracy determined by the data and or the projection system you're using?

codemusings··on David Frankel is a man on a mission against robocalls
Consider yourself lucky. I too am in Germany and and I get calls on almost a daily basis. Robo and otherwise. Same with WhatsApp messages. I have my number for close to 20 years now though.

Unless this gets regulated Telcos will continue to enjoy their profits.

codemusings··on Ask HN: How to obfuscate an email on a website in 2024?
If it's a managed hosting situation: some providers allow you to create email aliases that redirect to other addresses. That way you could have something like `foo42@acme.com` forward all email to the actual business address and easily replace it later on if the spam gets overwhelming.
codemusings··on Ask HN: How to obfuscate an email on a website in 2024?
Building on that you could even trigger a MouseEvent for `mailto:` and obfuscate the address enough in JavaScript code.
codemusings··on Abuse and Estrangement by Adult Children: A Sad Secret

  The content of the post is underwhelming; the more interesting part is the comments.
Probably just an ad for the books. But some of the comments really are heartbreaking.

Tangentially, I've really come to appreciate that Hacker News sometimes provides a glimpse into non-tech topics I've otherwise wouldn't have come across.

codemusings··on Why it is so hard to build a AI Video Editor?
> Should I think about building one??

Definitely. Seems like you have a good grasp on the problem space.

codemusings··on Sent – Simple plaintext presentation tool
There's an xkcd comic for that: https://xkcd.com/378/
codemusings··on Apple Watch Ultra 2 Hacked
It wasn't obvious at all to me that that's even possible. But as it turns out: it's an accessibility feature (1) to mirror the watch screen on iPhone in order to voice control it or use assistive touch.

1: https://support.apple.com/guide/watch/apple-watch-mirroring-...

codemusings··on Caching with Redis

  How actually do Redis work and various Redis deployments and their trade-offs.
  
  [...]
  
  But you might think how Redis is so fast ryt ?
  
  [...]
  
  let's discuss the various Redis deployments and their trade-offs.
  Keep reading with a 7-day free trial.
Thanks, I'm good.
codemusings··on VirtualBox KVM Public Release
I mean it's Oracle we're talking about here.
Page 1 of 6Next →