MurphyA/hacker-news huggingface dataset:
by dfxm12 | 2025-05-19 17:28:10+00:00
This is called "lurking". You can only do it on older versions of the game, because arcade operators complained that people were playing too much on one credit, which forced Atari to make an update. Eventually, it became best practice from arcade game designers to ensure turnover.

Interestingly though, years later they had to similarly release an update to Gauntlet Legends for just about the same reason.

https://en.wikipedia.org/wiki/Asteroids_(video_game)#Lurking...

Arcade operators began to complain about losing revenue due to this exploit. In response, Atari issued a patched EPROM and, due to the impact of this exploit, Atari (and other companies) changed their development and testing policies to try to prevent future games from having such exploits.
by globie | 2025-05-19 17:29:09+00:00
>You understand the problem here may repeat itself elsewhere as well, right?

I do, and how is this to cap off our discussion:

>You move your money to another bank, because the increased security annoys you.

On my way out, I would quote Benjamin Franklin: "Those who would give up essential Liberty, to purchase a little temporary Safety, deserve neither Liberty nor Safety."

I go out of my way to help my community, and I expect those I support to do the same. That bank could put more resources into investigating/catching the robbers who are attacking not just the bank but the security and liberty of their community, or it could treat every customer with more suspicion than they did yesterday. I know where the latter option leads, and I won't stand for it.

You're right that it repeats itself elsewhere. Often, I find.
by TiredOfLife | 2025-05-19 17:29:11+00:00
https://www.jetbrains.com/help/resharper-vscode/Get_started....

"Although the extension is intended and developed primary for Visual Studio Code, you can install ReSharper in other compatible IDEs, such as Cursor or Windsurf. It should work, and there are no restrictions on such usage."

you can download the .vsx.
by 8note | 2025-05-19 17:29:14+00:00
cooked and warm are of course, indistinguishable.

in a mechanical sense, a compressed object goes back to normal when the stress is removed, unless you break it. if the work piece did not go back to its original shape, you arent just conpressing anymore. eg. you are likely "cold working" it instead.

if youre applying heat, you might be "forging" or "casting" while applying that compressive force.

theyre all quite distinct
by jchw | 2025-05-19 17:29:14+00:00
The BodyBytes hypothetical isn't particularly convincing because you usually don't actually have the bytes before reading them, they're queued up on a socket.

In most cases I'd argue it really is idiomatic Go to offer a []byte API if that can be done more efficiently. The Go stdlib does sometimes offer both a []byte and Reader API for input to encoding/json, for example. Internally, I don't think it actually streams incrementally.

That said I do see why this doesn't actually apply here. IMO the big problem here is that you can't just rip out the Bytes() method with an upcast and use that due to the wrapper in the way. If Go had a way to do somehow transparent wrapper types this would possilby not be an issue. Maybe it should have some way to do that.
by StopDisinfo910 | 2025-05-19 17:29:17+00:00
Your point:

> Governments are only good at funding infrastructure, education, healthcare and defense projects

My point: well, the US government literally funded what became the VC landscape you seem to imply can’t be spurred by a government and still routinely fund very generously companies which then become industry behemoths.

Every new promising fields in the US is flushed with government handouts through DARPA grants, federal research grants or supplying contracts. This money then irrigates the whole fields as companies do business with each other.

It goes all the way to the VCs. Take a look at the list of the US biggest investors and see how many of them got rich through companies having the state as their biggest customer.

Heck, Siemens and Thales which you seem to despise are basically acting like dozens of American companies which are entirely funded by the DoD but on a smaller scale.
by teruakohatu | 2025-05-19 17:29:25+00:00
I use it, I am required to use Windows, and it’s a huge improvement over doing Data Science on native Windows, but the terrible filesystem access ruins what otherwise would be a seamless experience.

It’s fine for running small models but when you get to large training sets that don’t fit in RAM it becomes miserable.

There is a line where the convenience of training or developing locally gives way to a larger on demand cloud VM, but on WSL the line is much closer.
by hello_computer | 2025-05-19 17:29:40+00:00
It is the same struggle you can find in any language with private/public props. The stream he wants to read from is actually just a buffer that has been wrapped as a stream, and he’s having a hard time directly accessing the buffer through its wrapper. He could stream it into a new temporary buffer, but he’s trying to avoid that since it’s wasteful. I’ve had the same problem in C++.
by jerf | 2025-05-19 17:30:06+00:00
Java, Go, and C++ all have enough differences here that at this level of detail you shouldn't assume any other conversion will have exactly the same result that msteffen lays out. Java generally has more sophisticated compilation and a lot more engineering effort poured into it, but Go often ends up with less indirection in the first place and started life with what Java calls records [1] so they are more pervasive throughout the ecosystem. Which effect "wins" can be difficult to guess in advance without either a deep analysis of the code, or just trying it.

What msteffen talks about is a general principle that you can expect even small differences between languages to sometimes have significant impact on code.

I think this is also one of the reasons Rust libraries tend to come out so fast. They're very good at not copying things, but doing it safely without having to make "just in case" copies. It's hard to ever see a benchmark in which this particular effect makes Rust come out faster than any other language, because in the natural process of optimizing any particular benchmark for a non-Rust language, the benchmark will naturally not involve taking random copies "just in case", but this can have a significant impact on all that real code out in the real world not written for benchmarking. Casually written Rust can safely not make lots of copies, casually written code in almost anything else will probably have a lot more copying than the programmer realizes.

[1]: https://blogs.oracle.com/javamagazine/post/records-come-to-j...
by bluGill | 2025-05-19 17:30:08+00:00
I'm just glad there is a standard. It doesn't matter much what size it is. What matters is that I can go to any lumber yard/mill when I need more and get it. What matters is that I and my inspector can look at (or more likely memorize!) some charts and be sure that everything is strong enough. Is actually 2"x4" lumber stronger than the standard sizes - yes, but most of the time it doesn't matter, and if it does I really want to step up to 2x6 (or something) because margin of safety is important when you get that close)
by chubot | 2025-05-19 17:30:31+00:00
Yeah exactly ... I want Windows running in Linux, not the other way around, so I actually control the software and the updates!

I actually just tried WINE for the FIRST time (surprisingly, I have been out of the Windows world for so long)

https://www.winehq.org/

And as long as I installed the binaries from their repo, not Debian 12, it worked very well

Wine is an impressive project too. It's not a VM, which has upsides and downsides, but I was able to run GCC-TDM, Python 3, and git bash in it!
by imtringued | 2025-05-19 17:31:12+00:00
IOPS is the most meaningless metric there is. It's just a crappy way of saying bandwidth with an implied sector size. 99% of software developers do not use any form of async file IO and therefore couldn't care less. The async file IO support in postgres has been released a month ago. It's that niche of a thing that even extremely mature software that could heavily benefit from it hasn't bothered implementing it until last month.
by sowhat25 | 2025-05-19 17:31:27+00:00
I share your sentiment, I'm also very skeptical that this money will be wisely used, a good chunk of it probably sinks into the Treibsand of European bureaucracy. And significant amounts will go to shallow ideas of startups. Europe just doesn't have the right startup spirit. It's over regulated and risk averse. Both fatal for a fruitful development.
by masklinn | 2025-05-19 17:31:35+00:00
They mean const in the sense of readonly guarantees.

In java types are generally shared and mutable so let's say you want a list input, you generally don't store it as is because the caller could modify it at any point, so if you accept a `List`, you defensively copy it into an inner type for safety, which has a cost (even more so if you also need to defensively copy the list contents).

And likewise on output otherwise the caller could downcast and modify (in that specific case you could wrap it in an unmodifiableList, but not all types have an unmodifiable view available).
by godelski | 2025-05-19 17:31:36+00:00
Sierra Nevada Club and Green Peace.

The former famously has taken significant funds from natural gas companies with the explicit shared anti nuclear interests.

Green Peace may not (always) tell you gas is better, but they do not operate in a way where they don't effectively believe that. They focus on shutting down first and dealing with ramifications later. Historically, those ramifications are installing more NG or coal, not solar. Clearly the NG companies understand this, with their findings of SN (and many believe funding of GP too but I'm not aware of any confirmations)
by FirmwareBurner | 2025-05-19 17:31:42+00:00
>How many of the top level comments are just blanket assumptions that this is going to be corrupt without any pointing at specifics of this proposal?

How many points do you need on the graph till you're convinced they form a line?

If some person or some org, has a history of spending money and not delivering anything, what are the odds "this time will be different"?

To me, this initiative is just another point on that line.
by SV_BubbleTime | 2025-05-19 17:32:09+00:00
You get all of Windows telemetry, vulnerabilities and backdoors, the always fun game of spot the new Advertising opportunity, AI “copilot” spyware I mean feature, updates that reset your machine at will, a terrible UAC model that encourages “just click OK already!”, and dependence on a company that has gone out of their way to prove how much of an unstoppable behemoth they are; and best of all you get to pay for the privileges above.

I know… every year is the year of the Linux desktop… but seriously the AI spyware included was enough to get me gone for good.
by mncharity | 2025-05-19 17:32:14+00:00
Northern winter and summer look very different[1] (and those don't even capture sea ice).

I've puzzled over how to represent such variation. Especially with deeper time paleogeography, where those 100 kyr of ice ages and sea level changes can be the variation which needs to be aggregated.

One approach is sampling biased by similarity. So you snag points in time, from similar times of year and climate states. If the interactive allows twiddling those, it might not be too misleading.

One approach is open-shutter motion blur. The sometimes-there sometimes-not semi-transparent ice sheets.

One approach is, maybe call it flickered multiples. If one was showing a year, the visual could rapidly cycle through the months.

Any others?

Clouds raise similar issues. It's interesting how time-blurred cloud cover changes with seasons and decades and climate.

[1] Jan 2004: https://eoimages.gsfc.nasa.gov/images/imagerecords/74000/742... (2 MB) June: https://eoimages.gsfc.nasa.gov/images/imagerecords/74000/743... from Blue Marble Next Generation https://visibleearth.nasa.gov/collection/1484/blue-marble Much higher resolutions are available there.
by jleyank | 2025-05-19 17:32:23+00:00
IANAL, but how is this license different from, say, the older BSD license - thought that was "have fun, do what you want, post a notice"? It doesn't say anything regarding ownership of changes, nor how to add copyright for such changes... Does this mean that MS is looking to own changes, or will there be a string of extra copyright notices for each (significant?) change?
by johnisgood | 2025-05-19 17:32:24+00:00
Why the down-vote? I do have a >40 years old spring bed, and these "modern" beds I can get from Jysk or Ikea (or wherever it was gotten from) are awful in comparison, in fact, one of them broke after a month of use (with my ex) (it cost ~222 USD) and most modern beds I have laid on, they were all too hard for me, unlike the spring bed. The mattresses might be good, however. I have not tried the memory foam ones, for one.

sighs.
by FirmwareBurner | 2025-05-19 17:32:27+00:00
>well, the US government literally funded what became the VC landscape

I've already addressed this point here in the comment you're replying to, but it seems people like to argue in abd faith, or jump to comment without fully reading everything. Let me copy it again here: "The US government didn't give Jobs taxpayer money to design the iPod, he had to scrape it himself wherever he could and convince people that licensing music will be the future, and it paid off big time. That's the beauty of the free market that decides which products live or die, not the government."

>Every new promising fields in the US is flushed with government handouts through DARPA grants

What did DARPA have to do with Apple's success in the music and phones business? What DARPA money went into the iPod or the iPhone? They were made with commercial off the shelf chips that the likes of Nokia and Ericsson also had access to, not some super secret US DoD tech.

Just like many SV companies, Philipps, Ericsson and Nokia also were government founded from selling radars and radios to the military initially before the tech trickled to consumer. Yet Apple is now a multi trillion company(that was nearly bankrupt in the 90s) and the EU phone companies have withered away. Why is that? Is it because of "DARPA and the government"? Come one mate.
by permo-w | 2025-05-19 17:32:28+00:00
honestly though, on second thoughts, a subscription model would just completely hollow out the BBC. if they're struggling for funding now, god knows what it'll be like if 80% of homes didn't have a license. they'd have to either massively expand BBC Worldwide, or take tax money. I honestly think it sounds like a good idea, but I just don't think it's viable.
by bongodongobob | 2025-05-19 17:32:40+00:00
I feel like you're coming from a place where GPTs value lies only in coding. I use it for planning all the time, saving me hours per week.

For example, the security team gave me a list of 100s of policies that need to be implemented. I was able to dump that list in and get a rollout plan over the next two months in a matter of minutes. This would easily have taken me half a day before GPT.
by DaSHacka | 2025-05-19 17:33:04+00:00
Why was this flagged? This isn't even a secret, a lot of SaaS companies will open source parts of their offerings to increase adoption, making the money back when larger orgs now want to use it, and are willing to pay for enterprise support plans to get the service straight from the horse's mouth.

I think it's a fair exchange too, even as an individual I pay for plenty of smaller open-source SaaS services—even if they're more expensive than proprietary competitors—for the very reason that I could always selfhost it without interruption if SHTF and the provider goes under.
by Night_Thastus | 2025-05-19 17:33:06+00:00
I've been using WSL on and off for Linux development for the last few years.

When it works, it's great! When it doesn't....oh man it sucks. It has been non-stop networking and VPN problems, XServer issues, window scaling issues, hardware accelerated graphics not working, etc. this whole time. I've spent more time trying to fix WSL issues then actually developing software. It's never gotten better.

It's fast. It's powerful. But using it as a daily driver is very painful in my experience. I avoid it as much as possible and do most of my work in MSYS2 instead. Sure, it's much slower. But at least it works consistently and has for years.
by ksec | 2025-05-19 17:33:15+00:00
Now if they could only do Windows 12 by taking baby steps in yearly release of Windows 11.1, 11.2 etc.

Iterating on improvements and polishing on Screens and Design that they haven't touched in the past 30 years. Improving on ARM support etc. And STOP adding Ads on the OS.

And the Surface Laptop continues to push Hardware quality forward. From Speaker, Touchpad, Screen, Motherboard etc.
by OJFord | 2025-05-19 17:33:25+00:00
Seems strange it talks about 'university doctorate: an MD' when in the UK the vast majority of physicians do not hold doctorates, the qualification is variously MBBS or BMBS - bachelor of medicine and also of surgery - undergraduate degrees.

I'd be surprised if that's a more recent change (but I don't know it's not) but even so you'd think it would warrant clarifying when you're discussing the history of doctor/surgeon titles and qualifications.

Also apparently published with the typo 'Universy [sic] of Aberdeen'.
by QuiCasseRien | 2025-05-19 17:34:26+00:00
> A relation should be identified by a natural key that reflects the entity’s essential, domain-defined identity — not by arbitrary or surrogate values.

That's a very nice example of Theory VS Practice !

I agree, in Theory, PK should be identified by the natural unique key identifier of the domain. Your example with national_id is proper.

In practice :

- due to their varying underlying type, manipulating natural key identifier throught an application (passing values) is not always easy. UUID or INT are reliable and always works.

- sometimes, we want a "poor" anonymization when passing and calculting data. As the PK is the identifier of the tuple, having a personal data for PK can be problematic.

- last but not least : using PK that is subject to change is a terrible idea. An address mail, for example, anybody can be subject to change. When it's the PK, you are fuck to do or propagate the change.

And in this age of gods war, Practice always win.
by fear91 | 2025-05-19 17:34:32+00:00
Why not finance a more wide tax break for tech companies, including small companies?

I have seen first hand, one of my classmates from high-school, whom I didn't consider to be too bright, receive a 100k EUR grant to build an esports platform that ended up being a styled-up wordpress blog. He had zero interest in tech, never programmed, the works...

He had no interest nor knowledge relating to tech, but managed to somehow get that grant. Meanwhile, I was paying taxes on hard earned freelancing dev money. We were both 23 years old at the time and it was really jarring.

I'd rather they cut taxes for already profitable small companies. The taxes in EU are astronomic.
by sshine | 2025-05-19 17:34:58+00:00
After writing a lot of Nix in the last year, it has opened me to possibly switch to Scheme.

I’ve always been a strong static type guy since 1st year of university, and yes, it ties to perfectionism and even a sense of OCD: if I model the world around me, I can relax.

But here’s a take that I’ve been trying to articulate about Nix: it’s not about the static types. Nix is loosely typed, and if there is a functional language that doubles as coping strategy for recreating a quasi-perfect model of the world, it’s Nix.

So I believe any strong modelling combined with declarative syntax can be argued is a coping strategy for autism. It’s not strictly the types.

It also happens that software made this way is more reliable, breaks less.

Maybe the opposition to its use in businesses is that business needs often change rapidly, and tying yourself to any correct understanding of the world means you’re late to the party.

(I’ll then argue: there are companies that succeed at strong modelling, and companies that succeed at pivoting, and all companies need a bit of both at different times. That’s why huge companies with scaling problems and infinite runway pick Rust, and startups pick JavaScript.)
by arghwhat | 2025-05-19 17:35:27+00:00
NTFS is not the problem.

The problem is Windows IO filters and whatnot, Microsoft Defender trying to lazily intercept every file operation, and if you're crossing between windows and Linux land, possibly 9pfs network shares.

WSL2's own disk is just a VM image and fairly fast - you're just accessing a single file with some special optimizations. Usually far, far more responsive than anything done by windows itself. Don't do your work in your network-shared windows home folder.
by TheDong | 2025-05-19 17:35:39+00:00
> The BodyBytes hypothetical isn't particularly convincing because you usually don't actually have the bytes before reading them, they're queued up on a socket.

Ah, sorry, we were talking about two different 'http.Request.Body's. For some weird reason both the `http.Client.Do`'s request and `http.Server`'s request are the same type.

You're right that you usually don't have the bytes for the server, but for the client, like a huge fraction of client requests are `http.NewRequestWithContext(context.TODO(), "POST", "api.foo.com", bytes.NewReader(jsonBytesForAPI))`. You clearly have the bytes in that case.

Anyway, another example of the wisdom of the stdlib, you can save on structs by re-using one struct, and then having a bunch of comments like "For server requests, this field means X, for client requests, this is ignored or means Y".
by thewebguyd | 2025-05-19 17:36:04+00:00
You can accomplish the same with Distrobox on Linux, but there's definitely something to be said about having the best of both worlds by running Windows + WSL.

I honestly think Microsoft could win back some mind share from Apple if they:

* Put out a version of windows without all the crap. Call it Dev edition or something and turn off or down the telemetry, preinstalled stuff, ads, and Copilot. * Put some effort into silicon to get us hardware with no compromises like the Macbooks

I'm on Mac now, and I jump back and forth between Mac laptop and a Linux desktop. I actually prefer Windows + WSL, but ideologically I can't use it. It has potential - PowerToys is fantastic, WSL is great, I actually like PowerShell as a scripting language and the entire new PC set up can now be done with PowerShell + Winget DSC. But, I just can't tolerate the user hostile behavior from Microsoft, nor the stop the world updates that take entirely too long. They should probably do what macOS and Silverblue, etc. do and move to an immutable/read-only base and deploy image based updates instead of whatever janky patching they do now.

Plus, I can't get a laptop that's on par with my M4 Pro. The Surface Laptop 7 (the arm one) comes close, but still not good enough.
by liendolucas | 2025-05-19 17:36:09+00:00
I would do it the other way round: use Windows in a virtual machine from Linux. If you are in Windows and have the urge to use Linux, do the proper switch once and for all. You will never look back. I haven't in almost 15 years.

Given what Windows has become and already discussed here on HN I would even hesitate to run it in a virtual machine.

Edit: more than 15 years.
by danenania | 2025-05-19 17:36:14+00:00
My tool Plandex[1] allows you to switch between automatic and manual context management. It can be useful to begin a task with automatic context while scoping it out and making the high level plan, then switch to the more 'aider-style' manual context management once the relevant files are clearly established.

1 - https://github.com/plandex-ai/plandex

Also, a bit more on auto vs. manual context management in the docs: https://docs.plandex.ai/core-concepts/context-management