skysight-inc/HackerNews huggingface dataset:
Some Ruby implementations are "riding on C". Others are not, e.g. Truffle Ruby.

While beating C overall would be very hard because of the dynamism of Ruby, most Ruby code is not very dynamic after a short warmup (loading for most code; connecting a database etc. for code using a dynamic ORM), and at least on specific code it's at least theoretically possible for a Ruby JIT to beat C by optimising to the actual runtime configuration and evaluate out all the dynamism that costs Ruby performance.

TruffleRuby goes part-way there, in terms of guarded section that makes assumptions about types but where the guards shunts code that breaks those assumptions onto a slow path, but a Ruby JIT or a combination of a bytecode compiler and JIT, can at least in theory go much further. E.g. a whole lot of the Ruby code library contains type checks that a compiler could hoist and/or elide.

Yjit is a baby step, but a good start.
https://chromium.googlesource.com/chromium/src.git/+/master/...

Do you think it would be allowed for someone to compile the iOS Chromium source and release on the app store as "Ungoogled Chromium for iOS"?

Edit: Turns out it's an open issue on the ungoogled-chromium repo, waiting for someone to volunteer to do it:

https://github.com/ungoogled-software/ungoogled-chromium/iss...
Ham Imports
So it wasn't the language, it was you? But it was the language?
Lots more discussion days ago over here:

https://news.ycombinator.com/item?id=37404413

https://news.ycombinator.com/item?id=37401563
> make non-strict comparisons more useful and less error prone, by using a number comparison only if the string is actually numeric. Otherwise the number is converted into a string, and a string comparison is performed.

That… makes it even worse.
I think rather than saying a company can only do one thing, one could argue a product should only do one thing to extract value from it:

1. One time payment

2. Subscription payments

3. Usage-based payments

4. Selling personal data (to other _products_)

5. Showing ads (based on data collected by the product itself or bought)

If Google makes a car in this world, they'd have the option of making the thing free and in turn it sells data they can use for their ad business, basically how I'd say they monetise Chrome (beyond that sweet web monopoly they get out of it).

I think that could potentially be a lot more honest, consumers would know exactly what price they pay. And it'd make it a bit harder to build and maintain a monopoly through strategic product portfolios.

Seems like there's an argument there that complex/hidden pricing schemes and the illusion of free are too much to ask the typical consumer to untangle, it'd therefore classify as consumer protection in my book.

I noticed that companies that run most of their business units as profit centers (where units also generate revenue from other units) seem to do better than those that have mostly revenue and cost centers and lots of politics in-between. So maybe we'd even get better products this way.

Edit: Upon reflection, what's difficult is defining what a product is in this model. My spontaneous approach is that a product is anything than you can choose or decline to use. If my smart TV maker says "well the home menu is a different product from the TV" - totally fine. Give consumers the choice of using a different home menu and you got a deal. If those two things are inseparably (by practical means) intertwined, it's one product.
Isn't it only for the "beta" offerings?
My “Life in the UK” Test and a Great British Travel Guide
Nowadays it silences -Wunused-perameter. I'm not a fan as it just adds nonfunctional clutter only needed to appease a tool. The tools are supposed to work on our behalf, not against.
>This is not insulting in the least, merely factual.

it's certainly tonedeaf when you consider properly funding your kids as "desperate", yes. I don't know if this is a cultural divide or if English isn't your native language, but "desperate" carries a connotation of being shackled to an unusually low point. Not something that 90+% of the country relies on because the US lacks universal healthcare.

>the company is indeed being “ hollowed out” of talent regardless of the talent remaining.

that wasn't your original argument.

I wish we could simply respect the choices of an individual and not assume their aptitude because of their views on work from home.
Please, don't be a smart-ass. It's pretty clear that parent is talking about "free lunch" to mean "risk-free".
Yes exactly. Podman is not 1:1 compatible with Docker. Occasionally you will run into issues e.g. due to the rootless nature. I actually recently had to uninstall Podman and replace it with Docker due to an incompatibility!

But it works enough of the time without any changes that it's reasonable to call it a drop-in replacement.
but your car is
Into it, reinforces the notion that you should be thankful for your government because it's the best that money can buy.
Action item for me - push people to do a phone call rather than a zoom, then I do it while walking.
Ask HN: An affordable newsletter and mailing SaaS, worth it?
Hey HN,

I'm looking for candid feedback. I'm toying with the idea of a newsletter and mass mailing SaaS tool.

The main value prop is that it'd be way more affordable than the incumbents, but less feature rich (or simpler to use, depnding on the framing).

I'm thinking of exploring potentially a different sort of market (like MEA which is starved in these kind of tools) if the 'mainstream' markets are too crowded.

Worth a shot?
Unfriendly states use social media to destabilise the US. It should be the role of the state to defend against that, not private companies.
Org mode was the biggest draw. Magit is amazing, lisp is much better than vimscript, and everything is easy to inspect and modify.

At the time I much preferred vim’s approach of being an excellent IDE. I didn’t like Emacs’ approach of being… everything. However, being able to browse the web, check email, read ebooks, use the terminal, interact with JIRA or GitHub or Notion etc etc, all within my IDE really does have its appeal.

But I’ll always love vim and nvim, I think every software developer should learn it
Can you run janet in iOS?
‘Stop Making Sense’ Is Back, and Talking Heads Have More to Say
Barrel rotators will just take the lower n-bits they need to perform a full word rotation. Extras are ignored as it's a modular operation.
For me, my brain kind of locks in to the key signature eventually. It might be worth practicing scales and simple chord progressions in each key to try to imprint it in your brain. I found keys with lots of sharps and flats intimidating for a long time, too.
> Shock is a very nasty mind over matter condition.

"Shock" as you're using it is extremely ambiguous. Perhaps you should define your terms.

You are clearly not referring to the class of medical emergencies known as circulatory shock.

Perhaps your comments refer to https://en.wikipedia.org/wiki/Acute_stress_disorder which is psychological, but no medical doctor will refer to this as "shock" without qualifying it.
How? in what way? A car neither has cellular data nor has a fiber ethernet running through it. Does it collect data and relay it to a server whenever like a mobile phone is connected or a wifi network is connected or goes to a service center?
The parent comment is using the word legitimate in terms of how the Constitution limits government power, not in the sense of the political beliefs of whoever won the last election.
> For node, Python, etc, you actually need to keep the application servers running

Not with CGI.
The government paid them to provide this service.
From your link.

> The smallpox vaccine protects people from smallpox by helping their bodies develop immunity to smallpox.

Do you see the term “immunity” anywhere on the CDCs sight today with regards to the Covid vaccine?

Are you disagreeing that the Covid vaccine looses almost all effectiveness after 6 to 9 months?

Again from the CDC.

https://www.cdc.gov/media/releases/2022/s0901-covid-19-boost...

> They can help restore protection that has waned since previous vaccination
It is still fascinating that lisp languages lost to python for AI and data processing

To a first approximation, the only people that love lisps are people with a solid computer science background, and most people working with AI and data processing day to day do not have a computer science background. They're scientists, engineers and mathematicians who see programming and programming languages as a tool needed to do their 'real' job and not as an end in itself. Python is the perfect language for people who want to learn as little programming as possible so that they can get on with what actually interests them.
It’s becoming increasingly more difficult to find cars without tracking technology which also meet environment requirements……..
even the constitution can be amended - or can have widely differing interpretations as the surpreme court is now helpfully demonstating.
GPS for "meeting young boys" just points to church, unfortunately. One's much easier to track with tech.
Presumably they have their own mobile modem with a plan used only for that kind of telemetry. If purchased in big volumes that would cost to car manufacturers a lot less than the money they can make either by offering services or simply by selling users data.
> 2 days a week

If you would be forced to relocate to meet this mandate, I completely understand resigning, and I would likely do the same.

But I feel a bit out of place among my peers because assuming I lived within reasonable commuting distance from the office ... I personally wouldn't mind this. Not the commuting/scheduling inconvenience it would mean for me or others, but working in person a couple days a week, for me, makes my personal experience of work more enjoyable overall. I prefer that it be voluntary/opt-in though, obviously.

Hopefully the equilibrium we'll eventually reach is some set of companies for those that prefer full remote, and another set for those that prefer hybrid. The real pain is caused by companies switching modalities with mandates.
And that's why I disable IPv6 in my home network. Don't need it's benefits, and don't need the surprises it might bring
Look how entire effin' world treated them up to this point - exactly as ultra low wage servants and slaves.

Read a bit about british opium wars if you actually care about the topic. We got so used to cheap chinese goods, yet nobody gave a nano fraction of a fuck that fellow human beings destroyed their lives in horrible conditions absolutely unacceptable anywhete in the west, including children just that you could have (massively overpriced) iphone or some fashion sneakers. I am still waiting on a single social justice warrior here to abandon say Apple brand because of frequent suicides at their Foxconn plants.

How long did you expect them to bow and work for nothing? What goes around, comes around eventually. West really doesnt have any moral upper hand here, I wish people had a bit more humility.
It’s $60 billion over several years and most of it goes towards enforcement so that the wealthiest Americans won’t be allowed to cheat on their taxes anymore.
Yeah. I’m using Fedora 38 / GNOME 44, with two 1440p 170 Hz monitors and one 4K 120 Hz TV. For me it works out of the box, and I have not made any configurations myself to make it work.
What about 1Blocker?
Yes, but it's not a distinction without a difference.
I assume the manufacturer's OS would be what's running the car side of CarPlay, so it might even be able to get information from CarPlay.
At a cost that is not born by the gatekeepers.

(Deadweight losses accrue to society. It's the standard privatised profits, socialised losses dynamic. Which market-based economies absolutely love. And yes, that means society-as-a-whole loses.)
'Lost in Translation' at 20: A Tokyo perspective
Show HN: Which is faster? Puppeteer, Playwright or Selenium
Hey Everyone, I just ran a [rather silly] race between Puppeteer (JS), Playwright (Python) and Selenium (Python) to see which one would be fastest on a simple scrape (using Google Colab so you can also run it)

Far from a comprehensive benchmark, this race is 100% free from advanced configurations, multi-threading or anything complicated. It just opens Wallapop (a second hand marketplace in Spain) and times how long it takes to extract the first 2000 results of a search.

If you like this simple format, have any ideas on how to improve a race like this or have a strong urge to prove Ward Cunningham wright, let me know in the comments!
They often do, and if they’re not connected, the data is stored until it’s serviced, at which point the dealership downloads all of it.
yeah pretty much any strongly performance oriented modern language should be able to be massaged into emitting whatever instructions should give close to optimal performance here.

It's always fun though when one language does better naïvely in a benchmark to delve in and see how to match or surpass them, and see if it was worth the trouble.

Microbenchmark performance for languages in this class definitely shouldn't be seen as a strongly deciding factor though.
No, but since there's water on that comet, Nestle will attempt to get the water rights to bottle and sell it under the "Cosmic Springs" brand.
I guess there's precedent in that they did the same thing with the butterfly keyboard
Have you tried Ghost Blitz [1]?

[1] https://boardgamegeek.com/boardgame/83195/ghost-blitz
> On the 8086, the shift amount is given by the 8-bit cl register. The running time of the instruction is proportional to the number of bits shifted, and the processor does not optimize shifts that are larger than the register size, so if you ask to shift by 255 places, it will run a loop 255 times.

Wasn't this also the case on Pentium 4 (with different max value than 255), when they removed the barrel shifter?
Pregnancies should be fairly straightforward to detect and are hugely valuable info for marketing.
Its just as silly there's no nutrition info on most off-the-shelf alcoholic beverage containers.
Still, filters are pretty basic. No filter on x-height, character and stroke width and so on. https://fontshare.com/ has all of these (not on mobile, though.)
Other engineering professions have standards and licenses to streamline a lot of the technical ins and outs. Even within the same domain of software, the tech stacks and methodologies can different very radically. And you're often not just hiring mid+ level folk just to code.
Good points. This means you can use LLMs to create an 80% accurate dataset, then manually correct the last 20% to get all the way.
I don't think a portable (or luggable) POWER10 machine is in the cards.

OTOH, a single SMT8 core (or two SMT4, firmware-defined) consumes about 20W, so it could be possible to manufacture a few-core module that could fit inside a sensible laptop.

My Dells with Linux are quite reliable though, even if not as fast or good looking as the Apples...
[dupe]

Discussion over here: https://news.ycombinator.com/item?id=37427227
He could have asked for an Itanium laptop with HP-UX in that case.
Show HN: CSS Minifier
This rang a bell, so I went for searching. Said company is Meticulous [0]. Their most recent job post was on 2023-08-27. Their oldest job post that I could find was on 2022-06-07 [2].

[0] https://www.meticulous.ai

[1] Meticulous (YC S21) is hiring #3 engineer. https://news.ycombinator.com/item?id=37286598

[2] Meticulous (YC S21) Is Hiring #3 Founding Engineer in London. https://news.ycombinator.com/item?id=31657187
Privacy Sandbox for the Web reaches general availability
One thing to think about, if you're in common practice music, most of the accidentals will be there for a specific reason (e.g. chromatic grace notes, applied dominants, harmonic or melodic minor, parallel key borrowing, augmented sixth chord). Music theory classes can help understand these if you're not familiar. But the thing to know is whether the particular reason involves raising or lowering the natural note in the scale.

One thing that frustrates me about music notation is that when you have a key signature with lots of flats or sharps, it's hard for me to tell at a glance what the accidental is doing relative to the key signature. I've gotta look back and remember what was the unmodified note.
Discussion over here:

https://news.ycombinator.com/item?id=37427227
I’m quoted a bunch in this, which I appreciate, but there’s one mistake here — Slack no longer uses PHP, having migrated its codebase to Hack.

Also listing language usage by what’s returned in server headers undercounts languages used on some of the biggest, most popular internet properties.

Sites like Amazon, TikTok and YouTube/Google consume a lot of our total attention, but they tend not to report their backend server languages in response headers.

If you shift from raw numbers to where people actually spend their time, I doubt PHP would be at the top.
Oh please, I professionally use both daily (enjoy them both), but even I can see JSX is just PHP with extra steps.
I think a parser is perhaps the example of where resorting to a compiled extension can be beaten by something more JIT-favourable.

In a language like Ruby it tends to be heavily dominated by scanning text, and creation of objects, and 1) you can often speed it up drastically by reducing object creation. E.g. here is Aaron writing about speeding up the GraphQL parser partly by doing that[1], 2) creating Ruby objects and building up complex structures in the C extension is going to be almost exactly as slow in the C extension as in the Ruby, 3) the scanning of the text mostly hits the regexp engine which is already written in C.

(That said, I heavily favour not resorting to C-extensions unless you really have to; even without going as far as some of Aaron's more esoteric tricks for that parser you can often get a whole lot closer that you think, and the portion you need to rewrite if you still have to might well turn out to be much smaller than you'd expect)

[1] https://tenderlovemaking.com/2023/09/02/fast-tokenizers-with...
"Manually" anything just depends on the size of your dataset.
I have a delicate—err—question: isn't that level of spice consumption unpleasant on the way out? Maybe I've just heard too many Taco Bell jokes but there it is.
I might be missing a point of this site, but don't we have man (or info) pages for each of these?
Even the stuff that used to be entirely consumer-oriented are now data harvesters. Want to protect your car from being stolen? Put in several GPS chips that will help us locate it - but until you need it, those chips are basically geolocation beacon for context ads. Convenience is being used to track everyone and everything.
It's really like that nowadays. As I become more and more aware and learnt, I started reading privacy policies of products. All of them have blanket statements. They claim ownership of any and all data they'll access for functionality. So I stopped reading them. I implicitly agree that any product I use can and will use all the data I hand over to them. I only think if it's a beneficial trade for me.

This has gotten to a point that we cannot let free markets resolve this, it requires government regulation and laws. I'm fortunate enough to live in EU.
“Bring Back [obscure feature]!”
They offer some interesting products that are completely unique to them. If you need to run on IBMi, z/OS and AIX, they are your only option that doesn't require you to upfront buy hardware.

Their offerings could be a little bit better and more orthogonal though - they could offer Linux on POWER as VMs the same way they do with Linux on Z, as well as AIX and IBMi.
Solid list of ways to shoot yourself in the foot with it, even if "use savepoints in moderation" is, for a suitable value of "moderation", sufficient to largely avoid them. (though if you're going to use them, read the article and maybe some of the things it links anyway to calibrate your sense of suitable)

And that article also lists a bunch of ORMs that handle subtransactions out of the box, for anybody curious.
Modern cars have their own esim that don’t depend on anything external such as your phone or connecting to your network of choice. E.g., Cubic Telecom
> "Nobody, not one Australian I know has ever said eucalyptus was a sensible export as live wood, or was suitable for planting like this in these countries. I can't work out who did think this was a good idea."

Obviously it's less likely to be thought a good idea now that we better understand the downsides, but the article this thread links to mentions ten times a pretty notable example of somebody who thought it was a good idea: Ferdinand Jacob Heinrich von Mueller, the first director of the Melbourne Botanic Gardens. FTA:

> "Von Mueller would send visiting botanists home with seeds and mail them to other correspondents in his network, always championing the benefits of the tree as he saw them."

and

> "Von Mueller had hoped the eucalyptus would reforest areas of Europe where native vegetation had been stripped away"
So like PHP?

This thread is so cope.
Disappearing Car Doors by Jatech [video]
The usage accounting side, perhaps, but, apart from that, it's all completely different.
This is the first time in this space that a compiler is conducting a competitive audit contest! I strongly recommend reading my article as a preparation for the upcoming Vyper compiler audit contest: https://hackmd.io/@pcaversaccio/how-vyper-compiles-into-byte.... It will give you insights deep down the rabbit hole.
This has to be sarcasm, right? It is a direct allegory for the climate crisis that is currently, actively unfolding.
Nasdaq receives SEC approval for AI-based trade orders
Are you seriously considering that your phone tracks you less than your car?
Ask HN: Looking for a resource on Linux kernel module development
I'd like to break into this area in my next role and I'm looking for resources to learn about this over the next few weeks so I can try to get a role in the area. My context is embedded linux.

EDIT: I don’t know what I don’t know so I’m looking for a “point in the right direction” and anything the fine people of HN think is a good resource
yes, objective C is a superset of C, so you can include janet's amalgamation follow the regular embedding steps. i'm sure you can get it running from swift as well.
It was, and great colleagues too! Although this wasn't "assigned" work. Just me being curious/bored.
There was a short window in the late 90s where Cisco (and maybe one or two others) were the only companies providing something that was suddenly in high demand.

Most networking people know you can get the performance of Cisco gear for a fraction of the price - but the rest of that price is basically insurance that it won’t fail.

I’d never pay full price for it for myself, but every time I’ve worked with Cisco gear it’s been quite nice.
Don't forget "Rewriting the technical interview":

https://aphyr.com/posts/353-rewriting-the-technical-intervie...
- "Not sure if this is an actual legal argument, but I don't see at all how the latter follows from the former - I think it would in fact be really bad if it did."

There's balancing tests like the one in strict scrutiny [0] (IANAL/not actually sure if strict scrutiny applies here: it's just one example of a constitutional test relevant to the First Amendment). This weighs if a law that's potentially unconstitutional serves some important, real purpose that outweighs the tension it imposes on constitutional rights—a "compelling state interest" in the strict scrutiny test.

And there is tension with the First Amendment here. A law that merely "monitors" speech has a tangible chilling effect on the speech that's singled out for surveillance.

[0] https://en.wikipedia.org/wiki/Strict_scrutiny
Here is the article from Nature: https://www.nature.com/articles/s41586-023-06604-5.epdf?shar...
Bunch of related discussions and posts last while:

https://news.ycombinator.com/item?id=37410287

https://news.ycombinator.com/item?id=37413126

https://news.ycombinator.com/item?id=37413999

https://news.ycombinator.com/item?id=37437000