MurphyA/hacker-news huggingface dataset:
by piltdownman | 2025-04-23 12:56:02+00:00
Look at 47's truth social some time. In between the posts 'destroying' liberals and lionising the worst actors in his party, he posts up a disturbing amount of 'settlements' with Law Firms that previously displeased him.

They were basically forced at gunpoint to make deals to provide pro bono services to the Trump administration, in return for regulators dropping investigations into their diversity practices.

The firms - including Kirkland & Ellis, Latham & Watkins, Allen Overy Shearman Sterling, Simpson Thacher & Bartlett, and Cadwalader, Wickersham & Taft – are among the most prestigious and recognized firms in the US.

Cadwalader is the former firm of Todd Blanche, who resigned his partnership there to represent Trump in criminal cases when the firm would not take on Trump as a client. Blanche is now the deputy attorney general – the number two official at the Department of Justice.

Overall the MAGA cabinet has now secured more than $900m in pro bono pledges from law firms threatened with either executive orders or investigations from the equal opportunity commission. How this isn't seen as a straight up RICO case or old-fashioned criminal shakedown is beyond me.
by maleldil | 2025-04-23 12:56:04+00:00
I disagree.

First of all, it takes a minute to search "python :=", and the construct itself is pretty simple. It's been part of the language since 2018[0]. I don't think "not knowing the language" is a good reason to avoid it.

Second, the walrus operator limits the variable's scope to the conditional, which can reduce certain bugs. It also makes some scenarios (like if/elif chains) clearer.

I recommend checking out the PEP for some real-world examples.

[0] https://peps.python.org/pep-0572/

Edit: my point about walrus scoping is incorrect. The new variable is function-scoped.
by freyfogle | 2025-04-23 12:56:07+00:00
Hi, Ed here, one of the founders of OpenCage. This comparison is a bit shallow to be honest, as it basically just looks at price. Of course price is important, but as someone who has worked on geocoding for 10+ years and helped literally thousands of customers there are many more factors to consider depending on your needs.

For example: quality (not generally, but versus your actual input data), terms & conditions of what you can do with the data, support, data enhancements (things like timezones, etc, etc), ease of use, documentation, terms of payment, and more.

The only real answer to "which geocoding service is best" is "it depends".

We have a comprehensive geocoding buyer's guide on our site: https://opencagedata.com/guides/how-to-compare-and-test-geoc...

Please get in touch if you need geocoding, hapyp to tell you if your needs are a good match for our service. Happy also to tell you if not.
by thecupisblue | 2025-04-23 12:56:22+00:00
Unless you're working for a high frequency trading company, you will probably not receive over 10K USD of value from the this.

First off, visiting companies and universities - building LLM's and using them are quite different beasts. If your management team is not highly educated in the area of ML, this will mostly be useless to them, besides any "business development" discussions one might have with people who do that at OpenAI or Google.

What you are looking for is an "Applied AI" course. And still here, you'll get sold a lot of cheap bullshit for a high price. The amount of people actually good and capable of using LLM's at a high level is still quite low, but the amount of hustlers and influencers selling basic prompts and cheap ideas is large. I've seen people do this training and it basically turns out "heres this 5 popular tools, here's how to ask ChatGPT, heres a few good prompts" and thanks for the money. Beware of that, as you'll probably get peddled that by software agencies as one step in their funnel.

What you'd need, and what you can definitely get for that price tag, is a week long curated education program based on both the tech skill level of your management group and your industry. IMO, this would look quite a bit different and here's how it would ideally look:

1. Having an interview with the people included to estimate the skill level

2. Be given an insight into your workflow and a chance to observe it

3. Prepare a program dedicated to your team/industry

4. Get everyone out to a large bnb somewhere for a week

5. Have a combination of talks, QA's & "hackatons", where you will learn, build, learn again, build again, while having a chance to ask somebody real questions.

You'll get out of this with more insights and experience than a few random visits to companies, and with the building, develop an intuition for how actually it works and what you can do with it.
by frde_me | 2025-04-23 12:56:59+00:00
Couldn't you extend this line of thinking to any language-specific syntax on any programming language?

Don't use `match`, macros, lifetimes, ... in rust, someone coming from another language without them might not get what it means. Instead write the equivalent C-looking code and don't take advantage of any rust specific things.

Don't use lisp, someone coming from another language might not be able to read it.

Etc..

At one point if you write code and want to be productive, you need to accept that maybe someone that is not familiar with the language you're using _might_ have to look up syntax to understand what's going on.
by inhumantsar | 2025-04-23 12:57:02+00:00
> The chain reaction begins when detonation shock waves fracture magnesium hydride into micron-scale particles, exposing fresh surfaces, according to the study. > > Thermal decomposition rapidly releases hydrogen gas, which mixes with ambient air. Upon reaching the lower explosive limit, the mixture ignites, triggering exothermic combustion.

so it's a thermobaric device. wonder how this compares to the types used by the US.
by mcdeltat | 2025-04-23 12:57:52+00:00
Good article! I found the typing bits particularly interesting. This part of the language has been evolving rapidly recently, which is cool if you like static typing.

Although I think the example of type alises in section 4 is not quite right. NewType creates a new "subtype" which is not equivalent to the original type. That's different to TypeAlias, which simply assigns a name to an existing type. Hence NewType is still useful in Python 3.12+.
by fidotron | 2025-04-23 12:58:29+00:00
> This seems to be a common issue for all countries, the US included.

The US is much more resistant to it, which is a major factor in iOS share being higher and WhatsApp being an almost complete non event.

Similarly those same users bought into the iOS option entirely because of the better privacy enabled by not being "free" in the price sense. In a very real sense Apple are the regulators of their platform in that they define and execute the policies. People buy into it because they like that aspect of things, and prefer the Apple regulations to those created by their governments. The EU want to override the regulations of the platform, except being short sighted they don't appreciate the effects of their suggestions, and so they're being played particularly by Meta.

> This is not the case and we're going to slowly move to a place where the hardware is independent of the software and vice-versa for smartphones.

People have been saying this from the start, but if anything it's now diverging faster than before. If you launch a service today and have no native app presence you will not be regarded as credible in the marketplace.
by kamikazeturtles | 2025-04-23 12:58:29+00:00
Scrimba is really cool. When I first got into programming, a few years ago, I tried to build something similar using rrweb but with server side code execution in docker containers so that it could support all the programming languages like replit.

When I first heard about Scrimba, I abandoned my project because I thought you guys would already go down that path. Why didn't you guys go down that route?
by maccard | 2025-04-23 12:58:35+00:00
But this is exactly the argument against forcing Apple to change. The reason I use iOS is because of the App Store. If meta create a meta store for Facebook and Instagram, and pull it from the App Store, then the platform that I use for that feature is no longer viable for me, and neither is the competing platform. Right now you have a choice, as do I - an open ecosystem on android or a closed ecosystem on iOS. By forcing iOS to open up, people who actively choose the closed ecosystem for guaranteed compatibility, tighter integrations and a less customisable ux are removed of their option.

To use the sandbox analogy, there are two sandboxes. A lets you bring your own toys, B only lets you choose from the toys they provide. I choose to go to B because of the toys they provide and because I don’t want to deal with the toys other people bring. People from A like the look of my sandbox so the rules get changed, and now there’s two sandboxes with the same rules, you have two choices and my preference is gone.
by LordHeini | 2025-04-23 12:58:53+00:00
There is another option.

- Get a (cheap) docker capable server.

- Install the OSM/Nominatim stack using docker.

Setting this up used to be a pita, but due to docker its super easy.

This has a couple of benefits.

Like fixed, predicable costs. You can whatever you want without thinking about weird API points which costs a random amount of money. You can serve whatever traffic you want and a cheap v-server gets you an astonishingly long way. There are no 3rd-party privacy issues you can just embed your maps without annoying cookie banners.
by Ukv | 2025-04-23 12:59:30+00:00
> It is not merely latency that gets in your way, but that is a large part of it. It is also the nature of the codecs, and the nature of the processing. These videoconferencing apps are designed to spotlight one speaker with many spectators. They were never designed to accommodate everyone having a go all at once!

From the paper:

> > During the rehearsal, individual voice parts were rehearsed; the other 3 voice parts would wait and listen while fellow choir mates worked on their parts, as had been the practice during in-person rehearsals prior to the pandemic. Since all singers were asked to be muted, they were able to sing or hum along, when different voice parts rehearsed, without being a distraction.

So, for rehearsals, one person at a time is unmuted and receiving feedback, allegedly similar to how they did it in-person, and others can sing along muted if they wish.

I'd agree that in-person is better in this aspect, to have everyone sing together at the same time without having to sync it up through editing, but it does seem they've mostly avoided the latency and codec issue while still maintaining some social aspect.

> "Virtual choirs" are divisive and ableist. Only those who have the "proper technology" can even consider admission to these groups. I have been a member of various choirs in my life. Sometimes this was even possible when I was living on the streets. I did not require a car, nor an iPad, nor an Internet connection to be a choir member. I only needed to bring myself and a positive attitude.

I don't think most people have a choir within walking distance, especially when the focus of this is a demographic whose mobility and transport options may be limited, and especially given this took place during the pandemic.

Not to say that access to technology can't also be a barrier, but on average it seems less of one - particularly when support was provided as it was here. Or at the very least, the existence of virtual choirs providing an option for people with limited mobility does not take away options for people who have the means to go to physical choir practices.
by spamizbad | 2025-04-23 12:59:44+00:00
It doesn't. It's a side-effect of the populist right's "human capital" problem. Lots of nefarious theories abound about how this will be used to clamp down on our rights, and that may ultimately happen, but that will merely be a reaction to the consequences of their blundering actions. Today, the conventional wisdom among the Trump administration is these cybersecurity programs are a waste of money and that magically the private sector will swoop in and save us.

We're now all going to experience the high cost of low human capital.
by maleldil | 2025-04-23 13:00:11+00:00
> Does modern, production-level python code use types everywhere?

I don't know about code inside companies, but most new open source projects I encounter use typing. Many old ones have been converted too.

> Is duck typing frowned upon?

No. You can use Protocols to define what shape you expect your duck to be. There's some discussion about whether you should use abstract classes or protocols, though.
by ivan_gammel | 2025-04-23 13:00:12+00:00
>Russia's chances against the Baltics are pretty good, I would say 1 in 3. And for Putin it's a proposition with no downside: at worst he loses another few hundred thousand subjects.

Article 5 is still in effect, even if America won’t take its part. Attack of Baltics will trigger response from all neighbors including Finland, Sweden and Poland. Kaliningrad won’t last long, St.Petersburg will be within reach of artillery etc. It will be suicidal to do that.

One thing that Westerners do not understand is that people in small towns or rural areas of Russia may be expendable, but population of St.Petersburg and Moscow is a protected class. If they suffer, the regime may actually collapse before reaching military goals. For this reason Russian mobilization barely touched both capitals.
by game_the0ry | 2025-04-23 13:01:25+00:00
> "Use Paying Up / Subsidies strategically and temporarily, primarily to bootstrap the hard side or overcome initial friction. Focus on building inherent, long-term network value. You should generally avoid deploying significant spending on subsidies until you have validated that the core product provides enough fundamental value to retain users."

Yes, you're right, I totally did not put 2 and 2 together here.

You brought up solid points I did not really consider.
by onli | 2025-04-23 13:01:32+00:00
Exactly. While DMA does not apply, GDPR does. But it gets ignored and weakened by decision against the letter and the spirit of the law - which does not surprise if you realize how much power those legacy publishers hold. Not so FB, not here at least.

So it's not exactly the same regulation but pretty much the same situation. I'd also be pissed.
by bambax | 2025-04-23 13:02:40+00:00
Yes.

> Prime Minister John Diefenbaker [ordered] all the completed planes (five plus a nearly finished sixth) to be chopped up and destroyed, along with all plans and blueprints so that the plane could never fly again.

Stopping the program was understandable, but the destruction is mysterious and the article doesn't say a word about why. Strange.
by mfer | 2025-04-23 13:03:08+00:00
To play devils advocate here, a thought comes to mind...

Should the US be the one to handle the CVE database globally? The current administration wants to see other parts of the world help carry the load. A little scare could be the push needed to make this either distributed or handled by a coalition. This could be a positive for the US (who doesn't want to be the sole funder) and for those who don't want the US to have sole control.
by nmcfarl | 2025-04-23 13:03:17+00:00
I lost a Mac laptop in the pre-MagSafe days, to a bullpen environment –a sysadmin was rushing to a meeting, snagged his foot, and took the cable and the laptop off the desk at high speeds.

After that, I was a big fan of MagSafe, but today’s USB-C and better batteries situation solves a lot of problems that MagSafe did in a different way. It allows for you to have multiple reasonably priced chargers, so the one on your desk can be safely placed, with a short unsnaggable cable. And you can still go to meetings and take your laptop home – because you have another cable in your bag and another at home.

So these days, I barely use the MagSafe cable on my MacBook Pro.
by jasonlotito | 2025-04-23 13:03:24+00:00
> [the App Stores does not] any control over what you do outside of them

Well, we are talking about Apple's App Store, not just an App Store, and in that case, it's Apple. So, Apple wants to exert control over what you as an app developer do outside of the App Store. That's the problem. The fact that you think that's not happening means you know it's wrong.
by freyfogle | 2025-04-23 13:03:47+00:00
I'm sorry but not surprised to read that you had a bad experience with positionstack. They have been unreliable for years, and worse yet unresponsive about it.

If you still need geocoding very happy to have a conversation, or you can just check out our site: https://opencagedata.com

We use only open data, you can store it forever (even if no longer a customer) and use it for whatever you like.
by palata | 2025-04-23 13:03:54+00:00
> Apple was penalized for restricting app developers from informing users about alternative payment options outside the App Store.

Sounds reasonable.

> Meta's fine stems from its "consent or pay" model implemented in November 2023, which forced European users to either consent to personal data combination for targeted advertising or pay a monthly subscription for an ad-free experience on Facebook and Instagram.

Not sure I understand this one. Is "data combination" the link between services, e.g. that Meta can combine data between WhatsApp, Instagram and Facebook?

I was asked in 2023 by e.g. Google if I wanted to keep the services linked or unlink them, which sounds reasonable. I understand how it doesn't make Google/Meta happy, but as a user I think it should be my choice to do that. Probably those services (Instagram, Facebook, WhatsApp for Meta or Gmail, Chrome, Android, Google for Alphabet) should just not all belong to the same company anyway.
by dfxm12 | 2025-04-23 13:04:09+00:00
will change their phone regularly

Yeah, I need my phone to just last until the end of the day. The charger is on the night stand. To Android's credit, if I have an alarm set, it'll time the charge to reach 100% as the alarm goes off.

With these habits, I've never had to replace my phone due to the battery, so going the extra mile to preserve the battery seems like an exercise in futility...
by joenot443 | 2025-04-23 13:04:25+00:00
For anyone who's never considered doing so, I highly recommend remapping the Caps-Lock key to Esc.

Fast access for the left pinky and makes for some nice mental symmetry in having the right pinky bound to Enter (Yes) and the left bound to Esc (No).

The only downside is when you're on someone else's machine and suddenly start typing in caps :)
by tzury | 2025-04-23 13:04:28+00:00
My own opinion is that Python shall remain Python, and golang, Rust and Typescript each should be whichever they are with their unique philosophy and design.

I am coding in all 4, with some roughly 28 years now, and I don't like what is becoming of Python

There is a reason why python become that popular and widely adapted and used, and it is not the extra layers of type checking, annotations and the likes.

this looks familiar to me, but from other languages.

response := get_user_input()

I am aware of the factI am in minority, and not trying to change anyone's mind, simply what this voice to be heard from time to time.

All in all, a very comprehensive list of some of the recent introduced features.

There is an older list on SO which readers might also find useful:

https://stackoverflow.com/questions/101268/hidden-features-o...
by PaulKeeble | 2025-04-23 13:04:47+00:00
Aliexpress is just as bad as well, they have taken the Amazon model and ramped it to 11. Yet they don't seem to be intentionally mixing in bad results like Amazon is, instead because its all external sellers they are all embedding searched keywords to push their product in front of you. There are loads of shopNNNNNNNN based sellers doing this with various products that clearly don't last long. Both store designs only seem to exist due to having almost anything on them but the cost is long, complex and detail checking searches, they are minefields of wrong products.

Is Google.com even any better these days? It brings back a lot of results where the page appears to not even include the words I searched for far. I see the same thing on duckduckgo/microsoft now too.

When did searches that bring back results that don't match become the right answer? Its one thing when that happens with ads but they are doing it for pages that don't even pay them now (or at least don't declare they pay them, but it seems unlikely given the page contents).
by mst | 2025-04-23 13:05:58+00:00
I absolutely agree with your analysis wrt current tech - however, I suspect the person you're replying to is talking about "what would be really cool" in terms of it happening in a future where the relevant underpinnings had advanced to the point where it could actually manage the situational/nuance stuff properly.

I almost certainly wouldn't want to use something that tried to implement it now but it's a lovely dream and the state of the art keeps advancing at quite the speed (i.e. faster than I would have predicted, even when I do my best to take into account that it keeps advancing faster than I would have predicted ;).
by tatjam | 2025-04-23 13:06:15+00:00
This seems to be a variation of Mach's principle, which is one of the closest things to philosophy in physics!

To say that the universe rotates usually implies that it rotates with respect to something external. If we limit ourselves to the visible universe, this would mean that mass outside our light cones can actually influence us, by means of building the frame of reference that allows us to say that the universe rotates!
Show HN: Hybrid Language Translator
by Alex-Programs | 2025-04-23 13:06:41+00:00
I've built a tool that combines the best models at a given language into a single, highly idiomatic translation.

I've tested it on my (almost-saturated) translation benchmark and it performs better than any other translator: https://nuenki.app/blog/the_best_translator_is_a_hybrid_tran...
by iagooar | 2025-04-23 13:07:01+00:00
> The opinion is so detached from reality that it’s not going to result in a useful discussion.

Maybe you should try.

> There’s nothing about America in the consumer protection laws. It doesn’t matter if the service provider is a corporation or a non profit.

Thierry Breton and his "the sheriff is in town". Jean-Noël Barrot: "Apply with the Greatest Firmness"

Axel Voss, German MEP, called for the EU to use the DSA against (what he calls) fake news and platform owners like Elon Musk interfering in elections. This explicitly links the DSA to regulating US tech companies (particularly X).

Pedro Sánchez (Spanish Prime Minister) proposed using the DSA to regulate social media, fight bots, fake profiles, and go after tech barons undermining democracy - US platforms, of course.

You may agree or disagree with my views being right or wrong, but it is clear that the leitmotif seems to be EU politics vs US big tech here.
by fidotron | 2025-04-23 13:07:33+00:00
The EU would have a lot more sympathy for this if there were any non trivial digital markets that originated in the EU, with the closest being Spotify, which they somehow claim is not a gatekeeper in the music industry.

They aren't being a decent regulatory body on this one, given they have not reflected on why they are in this position, nor are they being fair with applying their rules. (The same comment can be made about the ludicrous variation in applying the GDPR).