Better HN
topnewbestaskshowjobs
Log inSign up

codemusings

457 karma · joined Jan 22, 2016 (10y ago) · 184 submissions

Submissions

comment 1y ago · link · parent

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.

comment 1y ago · link · parent

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

comment 1y ago · link · parent

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.

comment 1y ago · link · parent

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.

comment 1y ago · link · parent

> 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.

comment 1y ago · link · parent

> [...] 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.

comment 1y ago · link · parent

The AI slop images on this website are honestly such a turn off. Especially considering that BBSs are all about text.

comment 1y ago · link · parent

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.

comment 1y ago · link · parent

> [...] 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.

comment 1y ago · link · parent

I think this is in reference to OpenOffice but the wording is rather confusing.

comment 1y ago · link · parent

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.

comment 1y ago · link · parent

> 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.

comment 2y ago · link · parent

Ever heard of SETI@home?

https://setiathome.berkeley.edu

comment 2y ago · link · parent

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.

comment 2y ago · link · parent

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

comment 2y ago · link · parent

Yes that’s why track redundancies are important. And not just for construction. Local and Intercity connections would benefit as well.

comment 2y ago · link · parent

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.

comment 2y ago · link · parent

Now could Deutsche Bahn please also invest in some actual infrastructure, trains and make them go on time?

That‘d be great! Thanks.

comment 2y ago · link · parent

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.

comment 2y ago · link · parent

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.

comment 2y ago · link · parent

> 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?

comment 2y ago · link · parent

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.

comment 2y ago · link · parent

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.

comment 2y ago · link · parent

Building on that you could even trigger a MouseEvent for `mailto:` and obfuscate the address enough in JavaScript code.

comment 2y ago · link · parent

  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.

comment 2y ago · link · parent

> Should I think about building one??

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

comment 2y ago · link · parent

There's an xkcd comic for that: https://xkcd.com/378/

comment 2y ago · link · parent

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-...

comment 2y ago · link · parent

  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.

comment 2y ago · link · parent

I mean it's Oracle we're talking about here.
1234567