skysight-inc/HackerNews huggingface dataset:
But why remove them? What's wrong with declaring int i at the top of your function (like old-style C) and then using it throughout all loops in the function?

You can't just cull old variadic functions because some old stuff won't work. It's easy to say "just get rid of it!" but that's never going to happen because it's backwards compatible. People really should be using parameter packs now instead of old variadics but I have worked with "developers" who hadn't a clue about them. The senior developers dismissed the new features as syntactic sugar and insisted on writing old-style code. They detested std::pair. They were unaware of move semantics. An rvalue reference was unknown. Lambdas were pointless to them.

It also isn't in Bjarne's hands - it's the committee. He fought against various things (as I recall from his talks at cppcon) but they ended up in the language anyway.
Over the last 50 years or so, the west has become much more individualistic and less social. This has lead to all sorts of problems (good things too, I am sure). And it just so happens that medicine is where people turn to fix many of those issues. We don't properly regulate food, and people are free to get obese and malnourished, then after a few decades of that their body starts to fail and they need complex, expensive, flawed medical intervention for instance. The same applies to exercise and stress. We've also become hyper-competitive, busy and isolated, and that's leading to an epidemic of mental health issues. No one wants to make the decision to let people with serious neurological conditions like dementure die. So again, we spend enormous sums and cause great suffering because no one wants to make a hard decision.

So spending has ballooned and it's done it in the most inefficient and ineffective areas.

This is the price of "freedom".
Some major airports already have Follow the Greens.

Traditionally every taxiway and every possible path on each intersection will be painted with a yellow line and illuminated with yellow lights.

Follow the Greens replaces that with green lights which are controllable at a very high resolution. The result is that every plane will have a path of green lights to follow, greatly reducing everyone's workload.
We've just had a thing with Sherlock Holmes.

2 films, the Sherlock and elementary series and now enola Holmes, despite Sherlock Holmes being near (in copyright terms) the end of copyright.

So that would tend to disprove the thesis. Plus it suggests that having the author on board is valueless. Would you want to pay the author a fee and get them on board, or do you want them bad mouthing your new film?

Further, any author that writes a book with any legitimate expectation that it's going to be made in to a film is probably successful enough already.

JK Rowling probably wasn't expecting a film deal. She wrote the books without that expectation. I'm interested in a copyright that encourages and allows her to write books, not make her into a multimillionaire. If anything her success means she can write less books. Is that a good thing? I'm not in favour of keeping her in penury, but copyright should be about allowing them to work, not make it so they can stop.
There is a good chance you can just find similar size enough battery to fit, althought might require soldering
That's 2000 tonnes of spent fuel. Of which 3% is high level waste (which will increase with modular reactors, granted).

That's ~30m3. That doesn't sound like a big garage box actually. If you have 1m free space around a car in your garage box that would fit all the high level waste.

The low level waste would still easily fit in 1 floor of a parking garage. And we only ever need 100 such floors, plus 1 parking garage floor that needs to be safe for 100k years.

For powering the entire US, that doesn't sound like much space. Especially since hopefully we'll only need 99% it for 100 years when we get better options like fusion.
Knives are dangerous. We shouldn't use them in houses...
Ask HN: Edge-Cases in Software Demos
I'm working on tooling to automatically edit software demo-meetings into video recaps. (E.g. an automatic 90 second "highlight reel" video from each 40 min software demo).

What are some edge-cases in your software demos (or things you can think of) which could cause this system to struggle?

Here's some we've already worked around:

- What if the content is obscured e.g. by the webcams in Zoom?

- What if the user tabs quickly between different things and back?

- What if a modal covers what the presenter is showing?

Some edge-cases we know of but have yet to solve:

- What if the presenter hands control to the user and they do the demo as the presenter explains it

Interested in any difficult edge-cases (real or imagined) which would cause our automatic highlight-reel creation to fail.
Regenerative braking, I think you mean?

It's definitely preferable to grinding brakes to slow the vehicle both because of the reduced wear/pollution and extended range gained from the small bit of charging that occurs.
Obviously not good, but it's not apocalyptic either.

That's the death count with the measures put in place. If C-19 hadn't been taken as seriously as it was then you might be adding a zero to that death count. Maybe two.
Any good introductory guide for learning the very basics of music theory? I have no real practical need for it but have always been really curious about it. This cheatsheet is very cool but a lot of the terminology is beyond me.
Yes it works well for that! I used ChatGPT recently to write a quick code snippet that turned out better than what I found on SO or could have written myself 50X slower.

https://www.robnugen.com/journal/2023/01/14/chatgpt-helped-m...
Why Congo’s most famous national park is betting big on Bitcoin
And also here's the distinction between man labor and machine calculations come into play.
You could just... I don't know... not leave the Walkman app and turn off the wi-fi.
Awful lot of people focused on moralizing about diet when the thing you're most likely to pick up at the store that has an adverse health outcome is the airborne pathogen.
The project is DemoTime if anyone's interested in how it works so far
> Every week, you are matched with another dev using an ML algorithm for a 1 on 1 call.

I must admit I rolled my eyes when I read "ML algorithm" since it's usually marketing bullshit. Seemingly it's unsupervised knn w/ Scikit Learn, mixing variables like "open to video calls", "location", "openness to ideas" and "timezone".

Fairly neat.
>In some exams I've sat for, they used IDs to avoid people cheating or playing favorites.

Yep, that is standard practice for many exams, but here we are talking of "common assignments" in a school.

My note was about the fact that writing the name on the document (be it electronic or paper) but at the end of it, is very simple but not a solution to anything, if you prefer is a simple non-solution.
All you need to know about JAX from JAX main github page : "This is a research project, not an official Google product. Expect bugs and sharp edges. Please help by trying it out, reporting bugs, and letting us know what you think!"
2020 was different, we didn't have all the information that we've now at our finger tips.

I agree with you that diet, exercise and lifestyle choices are all part of caring for your health

Here in Germany there is a general focus on avoiding medical intervention as much as possible unless required. So much so that "Camille tea and hot pack" is a meme for healthcare here.
I am a Millennial and I don't give a crap about fashion and trends. I want something that I like and is good to use. I found some old UI's ugly and clunky. I find the trend of material design just that: a trend. Just like Baroque, Rococo and Renaissance were trends. Which eventually faded, like all trends. Just like Material Design will fade. Some young people are rebels just for the sake of rebelling, and therefore it has to change regardless of whether the change is good or not. Cool, though sad. Those are the ones that most likely will become conservatives later on, as they're just following emotions. Some older people are conservative because "the good ole times when everything was better." I fit in neither, which is kind of lonely but it is what it is.

I love the W11 design, best looking one so far. Usability is not bad. W7's was better in some regards, worse in others.
I hated W10 design. Usability was poor.
W7 design was nice. Usability was good.
Windows XP design was ugly. Usability was nice.
Windows 98 was ugly. Usability was ok for the time.

The others in between are not worth mentioning.
Note that number 6 is a special case that clarifies based on a technology. What’s stopping the creation of another clarification based on this technology like “The right to control the use of the work for generating artificial generators.”
This article is about Carbon Engineering: https://carbonengineering.com/

There's also Prometheus Fuels which is a YC company doing the same thing: https://www.prometheusfuels.com/

The science is sound, but whether the process is economically viable remains to be seen.
They basically gave them away for free to get people to try Stadia.
Thanks for this Fish note. Well spotted.
By saying what you just said. It's already better than saying "No u".
$300 for 32 GB storage with no option to expand sounds kinda awful for dedicated music player
It's not quite as bad in Sweden, look at the graph at the bottom of this article by John Burn-Murdoch[0] for a glimpse into we're faring compared to other European countries, and also how other European countries don't necessarily have it as bad as the UK or even Sweden.

[0] https://archive.is/t6tSb
When someone repays their loan, the money does not go into the bank's accounts, it is destroyed. Only interest are effectively added to the bank credit.
The bank does not get infinitely rich, because interests are used to pay bank employees, taxes, shareholders. It can get infinitely rich the same way any other company that makes profits can.

What's stopping anyone from opening a bank is laws and regulations, you have to get a banking license from the government.
I'm not sure why, but "show it to your AI in private" made me laugh uncontrollably. (proves I'm a human btw :D)
If you listen to music all day, saving phone battery life is a pretty good reason. Plus a non-Android MP3 player can get 40-100 hours on a charge.

> all the mp3 players I've seen are made to be as cheap as possible.

There are plenty of high-end players which prioritise sound quality and provide a better output than phones. The NW-ZX700 in the featured article looks to be one of these. FiiO is another well-known higher-end brand: https://www.fiio.com/m17
Their compiler doesn't support sizeof. Maybe it's like that to ease bootstrapping?
TrueNAS Scale is Linux based
Show HN: I launched a web service that draws Geohash and Quadkey on the map
https://tools.9revolution9.com/geo/geocode/
9/11 killed fewer than 1 in one million of the world population and look at the response to that. Including impacts to freedom.

Maybe that was the event that completely broke everybody's sense of proportion. 100ml liquid bottle? Can't take it on a plane. Airborne pathogen? Sure, why not, bring it aboard.
I think it's because their subset of C [1], which they call C Star (C*), doesn't support the `sizeof` operator. Since Selfie is supposed to be able to compile itself, it seems they've restricted the used grammar to the subset supported by C*.

[1]: https://github.com/cksystemsteaching/selfie/blob/50b5fec8378...
Why can’t they just emulate the abi on Linux
Rishi Sunak’s maths bias is so Indian – and Chinese
A few valleys eaat of the west coast are below sealevel.

They don't have to be, but piping seawater there would save cost as the water level tries to reach equilibrium.

Then they just need to let the hot sun do its' work, and occasionally open the valve.

The Salton Sea, CA, e.g. is 38m below sealevel.

Another reason to use below sealevel may be safety: Not all cracks and ground fissures are known, and pumping in large quantitues of saltwater may have an undesired effect on groundwater.

https://en.m.wikipedia.org/wiki/List_of_places_on_land_with_...
Oh, How I wish this for pesky Windows 11!
A fun article.

> If you develop an early system of savings and living well below your means – congratulations, you’ve won. But if you can never break away from that system, and insist on a heavy savings regimen well into your retirement years … what is that? Is it still winning?

Those two things aren't quite connected though.

If you build a good life living below your means, you can absolutely carry that on into retirement (which you get to do sooner) and that's still winning.

The disconnect is in having two distinct phases - one where you are saving and one where you finally get to be free and spend. If you have this I wouldn't count it as winning, for precisely the reasons the article explains.

I think this is often reflected in peoples unhappiness either within the FIRE community or those looking at it from outside.

> 5. The joy of spending can diminish as income rises because there’s less struggle, sacrifice, and sweat represented in purchases.

This, imo, makes it all the more important to avoid equating being paid with having value and try and make the money side blander. Find this type of joy in other pursuits, the fact you can't just buy being good at the guitar makes your progress more valuable. You can also think about how transactions in a pay-to-win game reduce the value of your effort (is beating this really only worth 50 cents?).

A relevant quote from Arnie:

> A well-built physique is a status symbol. It reflects you worked hard for it; no money can buy it. You cannot borrow it, you cannot inherit it, you cannot steal it. You cannot hold onto it without constant work. It shows discipline, it shows self-respect, it shows patience, work ethic, and passion. That is why I do what I do.
These DAPs aren't about 'sufficing' though.

That old smartphone is not going to have as good of a DAC and certainly no physical media buttons.
I presume you're using an operating system and browser written in Rust? If not, it would seem that the C/C++ based operating systems and browsers that you are use are perfectly safe to use, no??
Comparing anti vaxxers to vaccine sceptics is ridiculous.
But that's conflating property and intellectual property.

If you steal my car, I don't have use of it. If I copy your book, we both have copies.

Further western law for the past 800 years looked dimly on the rights of women. Should we deny women the vote, just because that's how it's alway been done? Is an argument not required to explain why women shouldn't have the vote?
Damn, what mental gymnastics you need to do to justify America's actions. True american logic.
If I understand correctly, there's also a lot more people who rush to the ER for everything instead of seeing their regular local doctor, especially for children. It's understandable individually, they're afraid, even more so when it's about their children, but it's also putting additional strain on the system.
There's definitely a certain element of nostalgia when consuming "old" (say, pre-millenium) art, e.g. tv shows, posters, poems, ... yet once you become aware of dark patterns it's hard to unsee them in said art.
This is quite a fascinating suggestion.

* Water has ~1000x as much drag as air, so you want your weights to be shaped like low-drag bodies.

* Buoyancy will somewhat counteract the weight of your ballast, so there's an incentive to use high-density material (this also reduces hydrodynamic drag). High-density concrete, with a density of 6.0-6.4 g/ml, is an obvious choice.

* The specific material will, of course, need to be tested to withstand pressure cycling at operational depths.

* The natural project locations fall along the continental shelf, as close as possible to the shore. This allows cheap power connections in shallow water, while still enjoying maximum operational depth.

* Since you'll be operating well within the SOFAR channel, you'll probably want to implement acoustic mitigations (eg slower speeds when passing through those depths, sound-dampening tether connections, low-noise shape, low-vibration equipment, project siting away from critical marine ecosystems, etc).

* Semi-submersible vessels are likely worth considering, since that means one end of the cable won't be trying to bob up and down in the waves.

* If you really can covert an existing vessel, I expect the weights will need to be hung in a way that approximates the distribution of the original payload. This would be necessary to avoid invalidating the vessel's original structural and stability calculations.

Thank you. Overall, a very intriguing proposal!

Do you know anyone working on this?
Very interesting. I will read more. Thanks!
FYI: Kamille = chamomile
> I feel the covid fearmongering by governments, medical companies, medical authorities, and the media has made public discourse in general (let alone specifically medical) even more prohibitive.

The fact that you still call it "fearmongering" with nearly 7 million people dead and how many others with negative long term health conditions from the virus tells you why there is a backlash against anti-intellectualism.

You are certainly not prohibited from challenging the status quo. You know that because there are thousands and thousands of anti-mainstream videos and blogs that tell us viruses aren't real, or covid is just the flu, or vaccinations cause more issues than covid itself, and, and, and....

Engaging in rich discourse happens while scientists are trying to form a consensus. But eventually a consensus is formed and then the outliers who mostly only generate noise tend to get ignored. 1 in 1000000 times then may be correct and successfully challenge the status quo, but mostly they're wrong but convinced beyond any reasonableness that they are not wrong. You cannot argue against all of these people, it is just too tedious, so in the end they just get ignored or stopped from spreading nonsense on certain forums.
It indeed is. I'll try to find someone better at ML than me over time but I think this approach should serve well at least for the first 1k users or so if I'm not wrong.
Tesla just launched a long haul truck with 500 mile range. They are not the only ones targeting long haul. The perpetuating myth here is that this is somehow hard or impossible. The reality is that this is just a matter of including a few extra tonnes of battery and multiple companies have trucks on the road that can do this. Which is what Tesla did. They also have a fairly efficient drive train. And a charging system to top this thing up. Early days but it seems like it's starting to become worth the trouble.

Nikola advertises a battery electric heavy truck with 330 miles of range. Nikola and Volvo seems to still be pretending that they are going to use hydrogen but at the same time they are selling a lot of battery electric at this point and not a whole lot of hydrogen trucks. Mostly ranges are creeping up to the point where drivers must stop to take a break anyway that is long enough to top the battery up. So, the range anxiety argument is simply not there. It's a pure cost driven thing. And it's not like hydrogen fueling is particularly fast or cheap.

Of course, a lot of companies are opting for shorter range trucks because they are much cheaper and because that suits their needs. Long haul electric trucks are more expensive. Because of the extra batteries. So, yes, the sweet spot of the market is short haul, for now. But there's nothing inherently hard about longer range trucks. It's just a cost and supply chain issue. As battery production scales and prices come down further, we'll see more companies dip their toes into long haul.

Self driving is a thing that multiple electric truck and van companies are talking about at this point as something that they want to do. It's still pretty far out but it's not that much harder than self driving cars. But as I said, the bigger challenge here is simply replacing fleets which is an inherently slow process. But of course that's exactly where the money is going to be for manufacturers.
One oft-overlooked factor is that when you look at the people Musk surrounds himself with deliberately (so not the cult, which is mostly just generic personality cult nonsense, TSLA owners desperately trying to deny that their stock is collapsing and people who deluded themselves into thinking their Tesla car is better than it actually is) are all people who fundamentally do not care if Twitter goes down.

They're the right-wing commentators and conspiracy theorists who see Twitter as everything wrong with modern society[0]. To them, no matter what Musk does, it'll be beneficial for them. Either Musk reworks the platform to be amenable to them or he drives the company in the ground. Right now he's doing both, so for them it's an absolute win.

That's the flavor of kool-aid Musk is deliberately drinking from and once you realize that, most of his actions make some amount of sense (whilst also having a distressingly low concern about his personal fortune, something which makes it clear that when it comes to right-wing radicalization, he's firmly within the "sucker" group, rather than the "grifter" group; the latter is flexible with their beliefs if it risks losing personal profits, Musk isn't), like the utter nothingburger that is the "Twitter files"[1].

[0]: Point of clarity - this is the people who Musk surrounds himself with, I am not saying anyone who thinks twitter is negative on society is a right wing commentator or conspiracy theorist. Musk specifically is talking and listening to policy advice from these two groups and this is what those groups generally believe.

[1]: Which so far have been extremely boring and generic content moderation requests rather than proof of any "inside jobs" and restatements of old news.
Out of curiosity how does noise canceling works when on the device?

I assumed it was only possible when on the headset as it needed to be measured and cancelled based on the direction of the sound.

I'm failing how a device in your pocket can cancel any ambiant noise
That and the Bluecurve theme. Perfection.
Two money aspects that I find useful, which weren't mentioned in the article:

Price per use: if I buy X, how much/often will I use it vs. it's price

Time sacrifice: considering my current hourly wage, how many hours of my life do I need to spend in exchange for this item?
Given that you absolutely never swear (or even waste words) on the radio, I wonder if beginning the transmission with an expletive is actually optimal: it is short, sharp, and immediately conveys the urgency of the command.
Don't suppose you have a link for that, and maybe a date?
What are you talking about?

This is in a JS engine, where by design all code is untrusted.

If you are a JS engine, then arbitrary code execution, failure to terminate, or crashing is never an acceptable outcome, regardless of how bad the code is, because again, you're dealing with untrusted input. The assumption for a JS engine is necessarily that all code is malicious.
Meanwhile Google ones get worse and worse. I don't think old MS ones look nice but they are instantly recognizable (and really, most stuff from those times.

Nowadays we're getting weird trend to either monochromatize or outright abstract icons that can't be easily associated with a thing. When we had 256 colors and tiny amount of pixels developers used every single one of them, now we have millions and get colorful squares