skysight-inc/HackerNews huggingface dataset:
> we spend less than a dollar per month for the whole bunch

This does not change the point, I'm just being pedantic, but:

4GB of gp3 EBS takes $0.32 per month, assuming a 50% discount (not unusual), less than a dollar gives only... 6 instances.
Im interested if anyone has experience using node's native test runner in a non-trivial project?

We are not using the module mocks from Jest in our project and a quick PoC showed significant (3x) speed improvement, but i am worried about the battle-tested:ness.
Great way to eliminate fixes for minor issues.
micropose and their floppy disk protection argh!!!, couldnt even backup a purchased game, and you know how long those disks lasted...
Nah, I have several friends who work in the middle of the night after the kids have gone to sleep. That seems to be the the optimal solution for evening persons with kids.
We slow our build down by having a dozen 'tools'-projects with a handful of classes each in a straight dependency-line above our main project that contains 99% of the code. This easily increases our compile time from a few seconds to several minutes. With a bonus chance to cause an infinite IDE workspace build loop.
The technology does not gift you associated culture, and it's worth knowing that even far outside this business because it applies everywhere.

Yes a technology can be enabling, but, it isn't enough to inculcate the desired culture, that has to come from somewhere else. You can't "sustain" something which does not exist.

Actually WG21 ("The C++ Language Committee") illustrates this well in another way. When WG21 was created it was after the Mother Of All Demos, and so after video conferencing exists as an idea, but to be fair to them it was not really practical at the scale needed for WG21 processes at that time. When C++ 98 shipped it was just about practical, although most ordinary people would have needed to travel to some place with appropriate equipment. By this point the IETF is routinely but not yet universally using such technology.

By the time C++ 11 shipped, I have an ordinary job where I worked full time from home, travelling to a physical location only once or twice per month because video conferencing is now such a mudane and ordinary capability as to go unremarked.

Only since the COVID-19 pandemic has WG21 finally adopted the option for attendance without flying around the world several times per year. The technology to do this had existed for decades, but the culture did not exist.
The conflict of interest is simply dead and forgotten in an era where the president-elect has his own cryptocoin, his own social media company, and appoints his billionaire supporters to improve efficiency in the parts of government that directly oversee those billionaires’ own businesses.
Ha, a friend of mine in Austria did the same thing to avoid the draft. They check on you regularly though if you're fit for service, so it takes a man of focus, commitment and sheer fucking will to being morbidly obese till 35 to avoid the draft. No jail time for him though.
Subconscious desire in a data-driven world
well, most of the job hops were from jobs I didn't want to do in the first place, but I needed to do. Two of those jobs were about 4 months, so that brings it down to 7 jobs in 9 years and 2 months. Two more were 1 year each, so now were looking at 5 jobs in 7 years give or take. As for my software dev jobs I had 1 for 20 months, 1 for 25 months, 1 for 12 months exactly and I recently started a new one. The other roles were non-software related and I was going to get a software dev role.

As for ramp up, I always jump in with both feet and ask for tasks and its really domain that you need to figure out. I've worked in a lot of different fields (I think no 2 jobs were in the same field) so I've gotten accustomed to quickly figure out those few processes that keep the lights on in most roles.

Writing software is the easy part. Figuring out the domain is the longer task.

On red flags or that this is a red flag - I don't really care. I've had it mentioned maybe in... 3 jobs and got offers from 2 and rejected both. I'm not here to be questioned around that aspect as I make the decisions that make the most sense for me. Companies do the same for themselves. I'll reconsider once I see C-level pay not be 50 times minimum wage in a company and when executive members give up their salaries/bonuses during downturn to keep people on-board or retrain/redirect the company. In the meantime, I probably care about your company as much as you do about me.

Hope this helps!
Is this the correct use of "opt-in?"

To me, having things "opt-in" means they're off and you can turn them on if you want.

If it's "opt-out" it's automatically on, and you can turn it off.
Arthur C Clarke was a huge oceanography fan. Several of his novels are set in the sea.
> It forces you to think about all of the possibilities your code might generate

I’ve seen way too much Go code which never even tested the err value to believe that until something like errcheck is built in to the compiler.

I do agree that this is a plus for the explicit model but that’s been a better argument for Rust in my experience since there’s better culture and tooling around actually checking errors. I’m sure there are plenty of teams doing a good job here, but it always felt like the one lesson from C they didn’t learn well enough, probably because a language created by experts working at a place with a strong culture of review doesn’t really account for the other 99% of developers.
Maybe Musk saturated the eco crowd with his cars and now going after the alt right to keep expanding into the market.
The drawback, on the other hand, is that all the Go code I've read (including the stdlib and all the dependencies of my current project) is using `fmt.Errorf` or `errors.New`, which means that you can't use `errors.As`, which means that you generally cannot handle errors at all.
>Do people not know arithmetic anymore?

They never knew it.
This take is in the "Why did they put politics into my Metal Gear?!" category. Japanese fiction continues to win over people precisely because it's more than just pure entertainment. Japanese creators still manage to challenge audiences intellectually, politically, even aesthetically. Metaphor: ReFantazio, probably one of the best Japanese game releases this year is very political, not shying away at all from tackling class, race and even the literal point of this post, media dumbed down to escapism.
Show HN: Svelte Keyboard Shortcuts
Add keyboard shortcuts to buttons, anchors, inputs ...
There is also this Czech failed battery startup "HE3DA". It went from revolutionary to evolutionary to "well, there is at least one parameter (robustness) that's better than lithium batteries" to "hmm the measurements don't quite match the specs". There were individual investors, big show for opening a factory (with capacity of 1.4GWH we were told; actual batteries sold in 2024: single digit MWhs). Now they fired almost everyone and can't pay their bills

https://www.e15.cz/byznys/prumysl-a-energetika/pravda-o-bate...
>… intellectual property license to use Your Content

Seems clear to me. Use any way Microsoft wants. The “for example” list is not exhaustive nor limiting.
Driving and Dragging Loops
Are more being manufactured?
Author here, hope people find this article interesting!
It is compiled to Java byte code. The JVM runs the byte code.

Tokenization [1] is the process of splitting text into components called tokens. It's usually the first stage of parsing.

[1]: https://en.wikipedia.org/wiki/Lexical_analysis#Tokenization
Huh, so for anyone interested but did not have the time to do the comparison of the two links of OP and parent post:

* java (on a cold jvm): 18.000-32.000 line per second on a single core

* java (on a hot jvm): 102.000-115.000 line per second on a single core

* golang: 28.000 line per second on 12 core
Java is compiled down to bytecode and there is a bunch that happens in the compiler to make things fast ahead of the JIT.
IANAL, but I think the "to improve Microsoft products and services" bit does mean that they do legally get to train their AI (which is a Microsoft service) on your data. Still a bastard move though.
That's pretty common though? I mean isn't that part of the idea of open source? Forking is a pretty central part.

I don't see a problem here. Why should google have to deal with the opinions of a maintainer if they can just maintain their own version. Yeah obviously it would be nice if they'd contribute their changes back to the upstream repo but from a business perspective it's often not worth it.

At my company the inverse of this problem happened way more often: We find a problem but the maintainer just doesn't care. For example the backward-cpp library is a good example where the maintainer just isn't that active in the issues. Why wait for him to respond if you can just fork it and keep on moving.
Literary fiction is a genre with tropes of its own. It's just one that its fans get extremely snobby about. But doesn't Murakami count as literary fiction?
I think it means "compile it into bytecode", which can then be run by the Runtime.
Unless you fix bugs in the payment systems, then you'll probably earn more than anyone.
You are correct. The headline author likely meant "opted in by default" or "enabled by default."
because of the train wreck which is the new gui?
No, I don't think somebody getting into Re-Zero is going to start reading VNs like Umineko someday, let alone progress to literature, in the same way as how somebody watching the MCU is unlikely to progress to Infinite Jest.

Geographical distinctions don't really make sense in deciding preference, you start with genre elements and pick from there, regardless if it's Western or Japanese. Ignoring a work because it comes from X country would just be bizarre. As a sci-fi or fantasy fan I don't make distinctions between Japanese or Korean or Western works, nor do I see other fans doing so. For example, I wouldn't be comparing Satoshi Hase's Beatless in the context of "Japanese" works, I'd be comparing it to other AI works. The only limiting factor is translation.

But cross-genre pollination doesn't really happen nowadays, most shounen readers will never go or even avoid mecha, and so forth. Otaku culture especially is much more fragmented today than in the early 2010s.
Human beings are the only creatures capable of self-evolution, using our minds to analyse the world around us and the world we have nurtured within us. Over time, we can stagnate into ossified animalistic patterns of selfishness, or we can expand our curiosity, consciousness, and, hopefully, our realization that compassion for others is the source of our own happiness. We can either find ways to better integrate ourselves into a better future for those around us, or wall ourselves off from the world around us. We would do well to remember that carpenters don't make hammers, nor computer scientists their own food, soil, packaging, tractors, or trains.

The use of the vast sums available to successful tech investors gives them a greater point of leverage than the rest of us not so endowed. And the more power is given, the responsibility is required, though few acknowledge or heed such wisdom.

At the end of the day, no matter how confident many folks are, who really has the humility and intelligence to know if a person is a genius? Very few, I guess. Very, very few, indeed.
Its not just these three goals. Like the Patriot Act names rarely tell the full story.

>not simply a difference in ethical values between the average writer and you?

Because they only done this since its socially and commercially profitable?
> Okay, my hero lived long enough to become a villain. That's sad, but this happens.

Every hero ultimately becomes a villain in the current society, because current society cannot withstand people having different opinions from us.

If we cannot accept different opinions, what's even the point of having heroes ?
Memento Movi
Basic Rust doesn’t take months to learn, especially when you’re not trying to do things like distributing crates to other people. I found the compiler to be enough more helpful than Go’s to make them roughly time-equivalent for the subset of common features, especially for a simple CLI tool.
It's a cultural thing. Traditionally, in Mediterranean societies, "drinking socially" means you are sitting at a long table with your family having a big meal and drinking wine from a small glass.

Granted, today the families are smaller, the tables are shorter, the meals are faster, the wine glasses are larger, "social drinking" spills out to drinking with friends and colleagues, and getting at least pleasantly sloshed of a night out is increasingly common, as is bingeing and getting totally smashed with your friends. At which point, yeah, the purpose of "social drinking" is getting off your tits.

We are all slowly turning into Western Europeans I guess :/
9.5% of software engineers do virtually nothing: Ghost Engineers (0.1x-ers)
I don't think this comment reflects reality. A few issues:

* Complaints about tooling and ecosystem were valid maybe 10 years ago, but not now.

* You don't say what your point of comparison is. (weaker than what?)

* Performance has never been an issue for general programming tasks

* You disregard the value that language brings

* Running functional programs on a CPU has not been an issue since, roughly, the 1970s when the basics of compiling FP languages were worked out.
LinkedIn: We're too boring for kids for social media ban
I don't think the Lidar in apple's stuff is actually a lidar, I think its a structured light sensor.[1]

What do I mean by that? lidar sends pulses of light and works out the difference between emission time and arrival time to work out how far the pulse has travelled.

The structured light sensor emits a pattern or dots, and any distortion of that can be used to compute the shape of an object.

[1] https://image-ppubs.uspto.gov/dirsearch-public/print/downloa...
Sorry, I don’t believe the FDA is doing anything more than stamping a Class 1 or class 2 sticker on component parts. They are not testing LIDAR arrays in situ under simulated driving conditions

I would like to see crash test dummy style research around vehicular LIDAR
Likewise, I think the title is literally of opposite what is actually happening.
This seems like a security shit show.

Can we disable it by group policy across entire domains?

Surely no business would ever allow Microsoft to 'reformat, display, and distribute' confidential company documents?

Or am I missing something.
Microsoft = Spyware
They are totally going to defend themselves, mainly through boycotts, barricades and varying degrees of riots.
That can totally cause a vote issue, but it's because the rest of the population is pissed off by the road blocks etc
ESG is for corporates. Authors are individuals. This is just "anti-woke" whinging by another (dimly related) name.
I think they mean 'Enabled by default'
> "Precise code navigation" also already exists for TypeScript

We had conflated JS and TS support into a single release issue. JS support never landed, but TS did: https://github.blog/changelog/2024-03-14-precise-code-naviga...

When we first created the release issue, the thinking was that we wanted to launch support for those two languages at the same time, and for that support to be compatible with each other. (So we could correctly follow e.g. a TS library referencing a definition in an upstream JS library.)

Unfortunately we never got JS support to the point where we could GA it. Largely for scaling reasons — there is a HUGE amount of JS on GitHub, and JS is a dynamic enough language that we have to do more per-file processing on it than for TS or Python. We decided not to wait for JS to be GA-ready before releasing TS, but then never corrected the release issue to account for that.
Microsoft's Outage Response Is the 1 Thing No Company Should Ever Do
Vitest does not support CommonJS mocking as of today.

I switched to Vitest because Jest was giving me flaky coverage results: https://github.com/nodejs/node/issues/51251

And while Vitest' coverage is stable, I had to add an indirection layer to change how I mock out calls to GitHub's API (@github/octokit).

Oh, side note: vite-node's --watch functionality does not restart the process. It does hot reloading which is different enough that it requires some rework at how you set up your app structure and callbacks.
Henry James and H.G. Wells (1958)
I have asked this multiple times but is anyone really using edge compute and getting value out of it? I am certain there are cases but I have not seen any of them written up before.
"Just like how most people, regardless of their income at age 20 will be earning top 35% income by age 35"

Could you say more about this, or perhaps provide a link where we can read more?
Is ratadj a misspelling of something? I've spent some time in EA circles and I don't know what it is, wondering if I'm missing something.
Note that many recalls have nothing to do with legality to drive or immediate action.

Last time I took my car in they handled two recalls: the bracket for the spare tire could crack (mine wasn’t) and a floor drain plug was the wrong size.

Very few recalls are urgent or prohibit the car from being g driven.
Huh? What does this have to do with inflation at all?
'Wiring' The Wire: Transtextual layers and tragic realism in The Wire
Recalls don’t seem to be a reliable way to tell much of anything since there is no severity score on them.
It can be a different thing for each person. For example, you might have some evening ritual that allows you to refresh your mind. Like an easy nice run. And then, with disabled notifications and clear mind, you can tackle your creative endeavors:).
This would seem to be a sign that some changes are needed to make it into a career people actually want to do. Perhaps it's at simple as paying more, though probably other changes in workflow/working conditions/status (all correlated with pay) are what would really help the most.
Monktoberfest Recap [video]
Show HN: Steel.dev – An open-source browser API for AI agents and apps
The Crime Messenger
Authors especially comic ones are usually part of big publisher like Marvel or DC that own the IP and call the shots. They also have ESG scores and they decide which activism to include that increases the score and raises more investor or government funding.
This. And the world isn't ready for that, including copyright laws that must be radically changed in a way that doesn't harm innovation. Suno v4 has become a complete disaster for some genres, and that could be due to the lawsuit that is forcing them to retrain the model using non copyrighted works, which in my opinion is pure bollocks. Imagine forcing an artist to unlearn what they listened to in their young years and contributed to forge their personal style.
Sorry, but I'm pessimistic. If we don't change how copyright works, pretty much every development in the field will be ruined by greedy copyright holders and their lawyers as soon as it shows any capability to produce decent music that barely resembles something else.
Can't they simply refuse on moral/ethical grounds? Like, we had "Service Civique" in France till the 2000-something for those who refused the draft. I spent one year washing the floors of a penitentiary instead and honestly I don't regret it at all.
I had no idea people rely on S3 beyond dumb storage. It almost feels like people are trying to build out a distributed OLAP database in the reverse direction.
IANAL again, but I don't think they get to do literally anything with your data. The phrase used is "to the extent necessary". For instance, I don't think they could scrape their user data for trade secrets and then sell those to the highest bidder.
> Can't they simply refuse on moral/ethical grounds

Nope. That's a Western thing.

Conscientious objectors are allowed, but then you must work in a jail.
And the word "Email" has strong implications to actually putting a piece of paper in an envelope with stamp, and physically delivering it to their mailbox. But the world adapted and survived the change in the strong implications of the word "mail", somehow, and continues to turn on its axis.
It depends on who you are. Peasent? nothing different until 1750, Aristocrat? unique pretty much any time humanity invented something.
"From this study we can see the paradox: the Java compiler is blazing fast, while Java build tools are dreadfully slow."

Hi, nice article! I wholeheartedly agree with the conclusion after 10 years of fighting with maven for performance gains (that I always measured in minutes not seconds).

Slow feedback cycle is the root of all evil.
What’s “a Long time”? Does it cover a 2 hour commute in traffic with 20+ cars around you blasting it continuously any direction you look, invisibly?
I don't know anything about this comic, but word balloons going over part of a face is not a good sign for a quality book.
Let's Not Pretend: Pokémon TCG Pocket Is Promoting Gambling to Children
(I'm on the Next team) Here's how you can self-host Next on a $4 VPS: https://x.com/leeerob/status/1843796169173995544
I think most attempts to rationalize why media from an entire culture is popular are going to fall short, and while this is better reasoning that usual it's still overthinking the problem. At the end of the day, every culture produces media, some percentage of that is going to be really good, and sometimes other groups end up really enjoying it because of quality and novelty.
I just recently did a website conversion that used vite and took a look at both vitest and playwright.

Ended up going with playwright for the “batteries included” browser support and because we use .Net Core for the backend.

dotnet doesn’t always get the best support from pure JS/TS projects, so it seemed like a reasonable hedge.
Pretty impressive numbers, although it’s fair to say here that while Go comes with its own build toolset, pretty much no one uses plain javac to compile stuff. It’s almost always either Gradle or Maven and as the article hints they slow down builds a lot.

> From this study we can see the paradox: the Java compiler is blazing fast, while Java build tools are dreadfully slow. Something that should compile in a fraction of a second using a warm javac takes several seconds (15-16x longer) to compile using Maven or Gradle.

edit: typos
It seems clear to me. The student is claiming that he wrote something that he didn't write.
Reminds me of some German guys who specialise in copying successful companies and have made billions in the process .

https://en.m.wikipedia.org/wiki/Rocket_Internet
A possible cheap win for servers would be to support the systemd "here's an fd number you get exec'ed with" model - that way server code that's only written to do read/write on a normal fd should be trivial to wire up to unix sockets, TCP sockets, etc.

(and then having a smol node/bun/go/whatever app that can sit in front of any server that handles stdio - or a listening socket for a server that can handle multiple clients - and translates the protocol over to SSE or websockets or [pick thing you want here] lets you support all such servers with a single binary to install)

Not that there aren't advantages to having such things baked into the server proper, but making 'writing a new connector that works at all' as simple as possible while still having access to multiple approaches to talk to it seems like something worthy of consideration.

[possibly I should've put this into the discussion, but I have to head out in a minute or two; anybody who's reading this and engaging over there should feel free to copy+paste anything I've said they think is relevant]
Of course YC backs multiple companies in the same spaces, they have for quite some time if not from the start.

The controversy with pearai was not because it competed the market space of another YC company, but that it had the appearance of being a direct clone of the exact product of another YC company.
Why not? Isn’t that the essential ethos Microsoft was founded on?