skysight-inc/HackerNews huggingface dataset:
That's probably true, but also a poor measure of success. I bet there are more companies using Ruby than there are companies using C++, too. They fill different niches, and different types of companies deliver very different products using those languages.

The ratio of people who can code in Python or Ruby to people who can code in Rust or C++ is very high.
Not seriously, no. But I was completely amazed by the UX: get the app, create an account by clicking a button: no email/phone nor any other "verification". Back up the seed phrase so as not to lose your account. It just works!
Vastly more efficient at storing electricity. Vastly more expensive to construct, using rare materials. Have a Vastly shorter lifespan than a hydrogen tank and much lower energy density. Everything is a compromise
Yes! To use pylan:

- Click on the Clip name (the default one is 'Use Python Libraries')
- Click 'Manage packages'
- Enter 'pylan-lib' and Click 'Add'
- Click 'Run'

The package will be installed, and the code will run!

The list of libraries is only a small subset of the compatible libraries - I should make that way clearer.
"The money brought in would be used to pay an open source developer to work strictly on things intended to be sent upstream to the Mozilla Firefox."

For years I've advocated a system that's a halfway measure between normal commercial for-profit software and free open-source. The organizational structure would be a nonprofit revenue-neutral company or cooperative society (depending on company law in the domiciled country) where either full or part-time programmers would be compensated for their work.

As I see it, this would have a number of advantages over both traditional for-profit software and open-source. For instance, (a) a revenue-neutral structure would mean a program's purchase price would be much cheaper (and there'd be less pirating given the perception the user wasn't getting ripped off), (b) new features and updates would be more timely than is the case with much open-source software, (c) hard jobs such as overhauling outdated software (and restructuring or modernizing large spaghetti code developed over years by many developers who've only worked on small sections of the code, etc.) would more likely to be tackled than with free open-source projects (LibreOffice, GIMP for instance), (d) bugs and user queries/requests would be tackled in a more timely manner.

Programs would come as either compiled binaries for a minimal cost or as free open-source code. The license could be structured so that only the user who compiles the code would be licensed to used it (general distribution would be prohibited). This would provide an incentive to buy the binary but still keep code open for general inspection/security etc.

Likely there are variations on this model that could also work.
Neither do I. Right after I read your reply I knew I had made a mistake engaging with you.
True story. When I was a kid I worked in an auction house that sold many paintings. Painting of ships flying the American flag were very highly sought after. It was an open secret that paintings flying any other flag would be bought and the flag replaced by an American one by an ‘art restorer’. These were then sold at great profit.
Apologies, I should have added the marker.
Do you have a source for the screenshot thing?
They don't have to land safely, not cause liabilities or make return trips in war.
World Vision was secretly diverting aid for civilians back in 2016. They could be clean today, but I wouldn’t depend on Charity Navigator to spot that kind of financial crime. https://www.news.com.au/world/middle-east/dfat-suspends-worl...

The inherent fraud of not using funds for what donors intend and diverting money from a charitable organization to line private individual pockets can be surprisingly difficult to spot.
Why would they need to do that when they already have the formula down? How much have you been hearing about all the protests?
You better read news from media carefully, especially U.S. news on China:
1. "China's defense budget stays under 1.5% of GDP for years".True.
2. "China will increase its defense budget 7.2% this year".True.
I am serious. C is a simple language but rather complicated to wrap your head around it since it requires the familiarity with low-level machine concepts. C++ ditto but with a difference that it is a rather complicated language with rather advanced programming language concepts - something that did not really exist at that time. So the net result was a very high entry barrier and this was the main reason, and not "safety" as you say, why many people were running away from C and C++ to Java/C# because those were the only alternatives we had at that time. I don't remember "safety" being mentioned at all during the past 20 years or so up until Rust came out. "Segfaults" were the 90s and 00s "safety" vocabulary but, as I said, it was a skill issue.

Frenzy around the "safety" IMO is way too overhyped and when you and OP say that "safety" plays a huge role in data processing and database kernel source development, no - it is literally not even a 1% of time that a developer in that domain spends his time on. C and C++ are still used in those domains full on.

> that's the kind of software (alongside a lot of general enterprise code) that got rewritten from C++ to Java, not the other way around

Which C or C++ engines exactly got rewritten to Java? We can start from this list: https://db-engines.com/en/ranking
Alright hear me out, a drone "cannon" that shoots the food onto the balcony. It's perfect for covering that last distance. Works best for food packaged in discrete boxes. ;)
First pay for the service (on non-tor system if the payments provider doesnt like Tor), then on Tor you can input your username and password like you would as normal.

Tor doesn't stop people users voluntarily de-anonymising themselves for specific sites. It does stop curious entities on the network from seeing what people do.
A few years ago, some Samsung TVs such as TU8000, had basically a factory defect. Randomly, after a few months, a "line" appears on the TV.

They knew they should have announced a recall, but they didn't. What they did was... They simply replace the TV panel, even outside the warranty, just to avoid lawsuits (After the person first try to contact them).

Yes, outside the warranty.

But one with one detail: They replace it with the same defective panel.

Unfortunately, I was the lucky one who ended up buying this TV, and I've already replaced the panel about three times in less than five years.

Even the Samsung repair technicians that came to my house to fix the TV already told "The model just have this issue, nothing we can do about it. If it happens again, report it again to fix"
Shocked Pikachu anyone?
> An analog to this would be if you'd judge Red Hat's dominance in the commercial Linux space the same way and forced them to divest from the operating system market.

But it's not at all how the linux ecosystem looks. Redhat doesn't dominate linux distributions and they can't corral everyone into using their money-making services by making them default into their distribution.
Note, mainstream programming already has widespread use of a bunch of recursion schemes, like map, filter, and fold (also called reduce). It's generally accepted that using map and filter leads to code much easier to understand and modify. Fold is a tiny bit more complicated but generally speaking it is worth it, but there is still some room for specialized folds like a "sum" operation to make code simpler. (map and filter are also special cases of folds, but that's not an interesting observation)

What's missing from this picture is that recursion schemes are not only useful for lists and other sequential things like arrays, vecs, iterators etc, but also for trees and other data types with richer structure. There's some types implementing map here and there (like Rust's Option, which implements map and filter as if it were a list containing 0 or 1 element), but the generic abstraction of "types that have a map operation" for example (the thing Haskell calls Functor) would be really useful to enter mainstream programming some day.

Now, about the more complex recursion schemes: many have too much cognitive weight to be useful. So often a direct recursion will be simpler and easier to understand. But sure, it would be cool if people were more familiar with things like hylomorphisms and such (even if by other name - folds may also be called catamorphisms but nobody calls them that)

I think that the "overton window" of programming constructs is slowly but surely moving towards the more theoretical aspects of functional programming though. So maybe in some decades this stuff will be so familiar that using them won't make code hard to follow.
How can Waterfox substitute for Firefox when 99% of the work that goes into Waterfox is actually done by Firefox developers?

Almost the same argument applies to Edge and Chrome.
For a nylon string classical, the sound must come from the wood and the construction--there is nothing else to generate the sound. There is a balance between tone, volume, and tension that different guitar makers choose (for example, flamenco guitar builders generally choose to make the attack and decay quick relative to a "standard" classical guitar--you can see this in the waveforms on an oscilloscope if you so choose) .

And, sure, a master player can make any guitar sound good, but it's a lot easier for an amateur to make a nice guitar sound good.

Electrics are a totally different story. It's pretty much all about pickups, strings, and the distance between the two. Wood is almost completely irrelevant.
I hope you're aware how loose of an argument this is.

> Plan 9 is a research operating system, and exists to answer questions about ideas in OS design. As such, the Plan 9 experience is in essence an exploration of the interesting ideas it puts forth. Most of the ideas are small.

> ...

> Plan 9 failed, in a sense, because Unix was simply too big and too entrenched by the time Plan 9 came around. It was doomed by its predecessor. Nevertheless, its design ideas and implementation resonate deeply with me, and have provided an endless supply of inspiration for my own work. I think that everyone owes it to themselves to spend a few weeks messing around with and learning about Plan 9. The dream is kept alive by 9front, which is the most actively maintained fork of Plan 9 available today. Install it on your ThinkPad and mess around.

[0] https://drewdevault.com/2022/11/12/In-praise-of-Plan-9.html
In case you didn't know, Arc isn't being developed since 5 months now. The company has moved on to another project called Dia.
> if hydrogen is feasible in mass scale, trust me someone in Asia would already make it

That is a ridiculous proposition. Electric vehicles themselves were being pushed hard around the world before China saw the way the wind was blowing and overtook it.
> It allows better monetization of the web which is good for everyone.

It’s not true but let me explain :

« Free » (like in free beer) web is :

- Good when it’s really free (like, people sharing things because they are nice, free software…)

- Not good when there is a business behind.

I have nothing against businesses. I love throwing my money at a lot of them. But I hate when I’m their product.

The master stroke of Google, Facebook and others have been to let the entire world think we are entitled to free things. It’s not true, you always somehow pay, if not with your money, then it means you are the money.
Maker here! Runs in an isolated Web Worker using Web Assembly, via Pyodide. Everything runs locally in your browser - no file system or other access. Scheduled run (paid plan) run on AWS lambda.

So, yes, sadly, network requests only work with domains with Access-Control-Allow-Origin: *. I'm looking at adding a backend CORS proxy to fix this.

We also have a Chrome extension with no CORS limitation. The extension lets you right-click Python code snippets on basically any site (Claude, ChatGPT, Deepseek etc.) to run it instantly.

https://chromewebstore.google.com/detail/python-code-runner/...
What is the current state? Tags reverted or still poisoned?
Bit of a fantasy, but I'm looking forward to a time when the broader range of cougars/mountain lions/pumas re-connects with the Florida rump that was cut off some time ago.

<edit> I realize I should explain for those unfamiliar: the big cats I mention are all the same - there's a variety of names for the species within the Americas.
The robots are operated by the building, for what it's worth. The delivery drivers drop the deliveries off to the robots in the lobby, and the robots take it from there to the individual rooms.
I get your point but it's a case of right tool for the job. Every copy of Ruby now includes YJIT written in Rust because Rust is the right tool for that task.

It's easy to forget though that number of lines of code required to do something is also a valid metric and Ruby beats Rust on that.

So if you're shipping CRUD web apps that might be a more important metric than say memory usage or CPU time.

Different job, different tool. More people want to ship web apps than write their own JITs.

Engineering is the art of trade offs.
It's easy for Americans to think they're poor when half the country buys into a false version of reality where crime is rampant, the economy is constantly failing and welfare queens are eating your dogs.
> hydrogen buses must be more expensive than electric

Fuel cells are presumably more expensive than battery packs. The former are barely produced, while the latter are made in gigafactories. You can't just fill up the gas tank with hydrogen, it will leak out and/or cause a violent reaction with oxygen.

> somehow the hydrogen fuel must be a long way from the bus depot

You can't just store hydrogen in a tank and call it a day. Again, it leaks through everything and is rather reactive. Maybe it could be stored on site, but even then it'll still need to get there.

> it is much quicker to refuell a hydrogen vehicle than a battery vehicle

Not intrinsically. Buses could be built with swappable battery packs.

> allow a major user like a bus company to make their own hydrogen on site.

How many solar panels and how much water you need to power those 100 buses you mention? Hydrolysis isn't very efficient.

> hydrogen can be produced using surplus electricity, making good use of renewables by storing the energy

In theory, maybe. In practice, it is difficult to store at scale.
ah ok. Thanks!
There's an interesting (read: hypocritical) contrast here when you consider how the same administration is busy illegally attacking "sanctuary cities" and states, in revenge for them simply minding their own business--instead of doing freebie immigration work that is literally not their responsibility.
Yes it is. You've accounted the price of the heat in efficiency/fuel cost already, the heating is free, and not "exceptionally expensive heat".

I wish there were a common framework for this lose and hand-wavy accounting. For some people this is painfully wrong, while the rest are not even convincible about it.

Anyway winter or cold temperature is an advantage for hydrogen in hydrogen vs electric, precisely because heating is free. They get the reasoning wrong. I think "exceptionally expensive heat" is just made up to illustrate their point. Trash "article" either way.
The most difficult fakes are those illicitly made by the same factory that makes the genuine product (under license). In that sense, they are not even fakes but the license holder doesn’t see any of the profit.
Ruby will always have a special place in my heart. I cut my teeth as a young programmer on that language, and I learnt its value (as well as the value of using something else) along the way.

Ruby code can be downright poetic, for better or worse. There's a certain kind of magic to the kind of code it enables. That's not always good, but it _is_ beautiful.

I encourage everybody to read the venerable "Why's Poignant Guide to Ruby" [1] to see what I'm talking about.

I wish Ruby was cross-platform. It still only works on Windows using the MSYS2 emulation layer, and the only reason as far as I can tell is that it committed hard and early to `fork()` as the main way to use multiple cores.

[1]: https://poignant.guide/
> I don't think this is an accurate anaology. It's more like, you own the vast majority of grocery stores, and you make lemonade, and you force all the other grocery stores to only sell your lemonade.

Yep. The rest of the article is equally disingenuous, desperately making up arguments and bad analogies.
Well, "Trump is awful" is not the same as "Conservative party is awful" or even "pre-Trump Republican party is awful". Trump is unique. There are no equivalents for Trump (yet) in UK and Australia. It explains the difference in reactions.
Advertising is a monetization modal. That's like saying that resteraunts are just credit card swiping businesses.

Chrome is similar to other apps like X, Instagram, or YouTube. You click on the app. You are given a way to discover content and ads are shown along side that content. When you click on a site / post there can also be ads. Maximizing engagement on the web, means people will discover more content, which means more ads can be displayed.

>AMP

Unlike the other platforms I mentioned the web hosts content using 3rd party tech stacks and server which means that the user experience can be variable. AMP allows Google to provide a more consistent experience. It was optional and served to provide a better user experience for the users of the web.

>Ad-blocking prohibition

Google Search and Chrome have not prohibited ad blockers.
at least 2 ways.

1. Moderators can re-submit interesting stories from a second chance pool
https://news.ycombinator.com/pool (This might happen automatically from time to time?) When this happens some of the timestamps get updated but others dont.

2. Moderators can invite users via email to re-submit stories. https://news.ycombinator.com/invited
Many batteries actually last significantly longer than common hydrogen storage tanks, hydrogen embrittlement is a major issue. Type III and IV tanks have a life cycle of 10 years. https://www.awoe.net/Hydrogen-Storage-LCA.html

Hydrogen has also terrible volumetric energy density. It’s also really heavy until you scale to huge tanks.
Maker here. Thank you!

I looked briefly at Marimo when building - awesome project. I wasn't sure about building on Pydodide as it's obviously not full Python compatibility. But seeing someone else building a popular project on it helped me make that decision!
Second-Chance Pool
iMessage's killer feature is that you can send a group message to more than a total of ten people. SMS does not officially support this.

I do not recall this being a problem in the pre-iMessage days, even with flip phones. I was on prepaid T-Mobile and had to pay for every message I received, which is the one place where I thought the US billing system had gone nuts - you could always decline to receive a phone call, knowing the number, but you can't refuse a text. I was surprised that nobody ever abused that, but they never did so on a large scale. At ten cents per text, sent or received, you communicated when you needed to, or when you had something to contribute, but one minute of voice was the same cost. One sent and one received text cost as much as two minutes of talk, which can convey a lot more information.
The actual solution is the Swish journalist, who you yourself pay directly for his stories.
Ask HN: Elegant three-state 'Dark mode' toggle, how best to implement?
Anyone implemented a nice three-state dark mode toggle?
Love to hear your tips, ideas and even links to examples/code are welcome.

This feature is more involved that first look as this HN post unpacks..
https://news.ycombinator.com/item?id=23197966

My current wishlist:

- Three states (system/light/dark)
- Preference stored for next time
- Two icons light/dark
(click selected icon a second time to 'turn it off' and return to system)
- Vanilla JS/CSS/HTML
- Leans into CSS

This implementation comes pretty close.
https://www.bram.us/2020/04/26/the-quest-for-the-perfect-dark-mode-using-vanilla-javascript

This post points to a bunch of great three-state dark mode articles in its references.
https://www.brycewray.com/posts/2024/01/its-tri-state-switch-time

Sidenote: I found some discussion towards a w3c web preferences API to make this easier but this is far from ready or resolved.

https://github.com/WICG/web-preferences-api
https://front-end.social/@kizu/113160248251763608
Lowest short term maintenence cost. Until the battery is destroyed in a couple of years.

Charging a fleet of 100 buses overnight looks like a huge infrastructure issue to me. 100 charging ports, huge grid connection, substation etc. That is if the local grid even has capacity. Anyone who has tried to open a factory will know that is not always the case.
> As a beginner, I’m too much of a cheapskate to drop $9,000 on a musical instrument.

There is a wide range of choices before you reach $9K. If I'm being honest, $9K for an electric is absurd.

For beginners at guitar, this is a great time. Thanks to CNC machines, guitars at low price points are ridiculously consistent. Yes, they're cheap, but they are precisely cheap. You pretty much get exactly the same level of guitar at the price point no matter whether it was manufactured 6 months ago, today, or 6 months from now.

The downside is that you don't find the bargain "stage queen" where all the stars lined up that day to make a much better guitar than it should have been. The upside is that you get way, way, way fewer absolute dogs that are unsalvageable.
Low pay. High stress. High responsibility. You can't report a lot of health problems(anything mental health will get your license taken away).

Aviation is expensive and shitty. The FAA is a garbage organization that covers it's own ass first.
"HN's second-chance pool is a way to give links a second chance at the front page." dang describes it more here: https://news.ycombinator.com/item?id=26998308

There are a bunch more lists on this site, there's a link to see them all on the footer.
Briar already has this built in via the "Share this app offline" feature. It starts a wifi hotspot from which people can download the apk.
Silly, it’s already started. An obstacle would give impetus to new solutions,
Maker here.

You're right, it's an interpreter and that would be the 100% accurate term.

For online coding environments, the two are often used interchangeably. More people search for 'compiler', so I'm using that widely on my site.
What do you use for sandboxing?
Same, but residence probably always require a time period. I think it highly depends on your actual citizenship and what tax agreements they have with Thailand etc.
The neat thing with JCB is the hydrogen engines are very similar to the diesel engines, and everything else (transmission etc) is the same. In fact, the engines use the exact same block but with a slightly different head. That means all the expertise and parts required to service these machines in the field is already there. If a battery bus breaks down it'll be on the back of a diesel lorry and back to the depot.