skysight-inc/HackerNews huggingface dataset:
I have seen a lot of C++ code that has a lot of "this is clearly just C" in it. None of it is because of "greybeards and lone warriors". All of it was because it started as a C codebase, and sometime in the mid to late 90s when object-oriented fever swept the world they started just adding C++ on top of the existing C codebase.

Given that the general industry approach to technical debt is "yes, more please", it is unsurprising to me that any sufficiently old C++ project still has lots and lots of plain C inside it.
> the amount of people who would like a desktop computer with no customisability whatsoever

You’re massively overestimating both general computer literacy and shits given. Not having to customise anything is a sales pitch for many consumers.

> pluging a laptop to a monitor

You’re selling me on this iMac. “My computer is broken.” No, the monitor cable popped out when you moved the screen.
Automated-AI-Web-Researcher-Ollama: Automated Research Assistant, with Ollama
I got

> The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later.

Anyway, how do you prevent fake trees and people planting trees in a fast, cheap and sloppy way were they die in a short time?
The first case should reduce to a Record for Java.

They give no examples of where Kotlin's extra type inference is of benefit.

They don't compare virtual threads to coroutines.

I stopped reading after that.
In short, timing-attack computed?
See https://en.wikipedia.org/wiki/Electrospinning
Warnings – Communications of the ACM
'We lost': How COP29 ended with a deal that made the whole world unhappy
Why Durable Execution Should Be Lightweight
I don't think it's that hard to determine. He has big companies involved in significant regulatory actions and oversight, he would stand to gain a lot by influencing things slightly in his favor. Sure, taken to absurdity everybody in government has a conflict of interest because they are alive on the same planet and have heir own views on things, but for the case of someone like Musk it's pretty clear.

Politicians and bureaucrats can and should consult with the people they govern of course. The "proper" way to do that would be via reasonably open and transparent process that is open to interested parties so competitors, customers, unions, scientists could have their say.

Again I'm fully aware this isn't how things actually work, so I'm not saying Musk is really doing anything outside the norm in American politics by buying a seat at the table. He's just being slightly more open about it than most of them.
"Yellowstone" Is America's Most-Watched TV Show, and for Good Reason (2022)
So they will have to bribe officials in Vietnam or Mexico and bribe officials in the US.
Yes. I would have preferred that they had used Canadian flags for both.
I remember reading that camera phones sold in Japan are required by law to make shutter sound while taking photos. There was another report from South Korea on hidden cameras in women’s restrooms. This whole thing is beyond disgusting, I say this as a male. This seems like a problem in many countries.

I don’t think this problem can be fixed with stricter laws. Not that we shouldn’t try, but I wonder how effective it would be.

We should raise boys to be better men. Across the world, right wingers are coming to power, this is not good for women. Then there are shitheads like Andrew Tate who have a big following among boys and young men. This whole thing is just depressing.
Not a SQL replacement, but if you're looking for an open source semantic layer, Cube is the way to go [0]

0 - https://github.com/cube-js/cube
I shared this link earlier in one thread, and someone suggested that it deserves its own post. So, let's discuss these strong opinions — agree, or
disagree. Share your strong opinions.
There is nothing wrong with an argument, but as the other person said this is not really being posted just for the sake of having an argument. On topics like this neither side cares what the other has to say because they have made up their mind.

This isn't like saying "Mexican is the best food". Which sure may get a bit heated but at the end of the day is a personal opinion argument.

Attempting to "argue" about someone else's life, who's existence doesn't impact you in the slightest, isn't an argument that deserves to happen. At the very least not in a public space and not without expecting the repercussions of it happening.
Sam's Koenigsegg [video]
Maybe you could just wave it through the steam.
Competition _is_ a system that works toward consumer needs and betterments. In advertising though, you are not the consumer.
C++ is on the trajectory to create a future with more safety. Should we do profiles or static lifetime checking (or something else??) is still an open question (and both may be valid). However I'm glad c++ is thinking about that. We have real problems around safety in the real world and people are writing unsafe code even when modern safe code would be easier to write.

Of course it remains to be seen how this all plays out. Static lifetimes can be done good or bad. Profiles can be good or bad. Even if whatever we come up with is done well that doesn't mean people will (I know rust programmers who just put unsafe everywhere).
Can you write it in Blogpost with a automatic publication date in 200 years and hope you don't live so much? Do you trust Google to keep Blogpost alive for 200 years? (Is YouTube an option? It's more profitable, so I expect it to survive for a longer time.)
> The default cargo crate (template?) encourages people to use permissive licensing for their code. So that is an example where you are already making implicit political decisions on behalf of the ecosystem and developers. That is alarming and should not be for the language maintainers to decide at all.

You and I must be using two very different versions of Cargo, because on mine the default template doesn't specify a license.
It doesn't say that, you misquoted your own words, of things you took out of context.

The two things are separate issues with clear distinction.

No implication between the two can be made. The response urging them to seek professional help was sent because it is the right thing to do.

Many criteria in DSM were met by OP, hence the link so they can educate themselves and hopefully get the help they need.

Schizophrenia since C-19 has increased dramatically (>10x), and its a disease that is difficult to diagnose, and is severe mental illness.

If people aren't happy with this, they should urge HN to create a page or notification similar to what reddit has so these things can be sent privately as that is more appropriate in these type of cases.

Until such a feature exists, any downvoting is just another form of misguided trolling on good people who seek to improve the lives of others, especially when its done in good faith (as it was here).

Actions such as down-voting would be in support of detrimental outcomes towards the mentally ill not getting or receiving any help they need and would be done purposefully. It goes fundamentally to character, if only downvotes had public names visible.

These are serious matters, and your attempts to sidetrack and inflame the conversation are not helpful.
Ask HN: What are your most regretted tech purchases?
Curious what people think is their biggest tech buying regret they wished never happened.
> the winter was mild.

Sure about that? I remember a cold winter.

> Blizzards, record winds, red weather warnings and biting cold. The long winter of 2023/2024 has featured heavy precipitation and a number of extreme weather events.

https://www.uu.se/en/news/2024/2024-03-04-a-researcher-expla...

And

> Large parts of Europe are starting the 2023-2024 winter season with an abundance of snow and cold, a stark contrast from last year, which was abnormally warm and snowless.

https://www.washingtonpost.com/weather/2023/12/04/europe-sno...
> It's highly unlikely Putin would have attacked [, raped, tortured, and genocided Ukrainians] had there not been preparative talks for Ukraine to join the EU

It's even less likely that putin would have done all that if he weren't alive, or had he simply minded his own business, yet I don't see you advocating for either of those paths to resolution.

Instead, you advocate for an independent country of tens of millions of people to lose their independence, to lose their agency, to lose their sovereignty, to lose their identity, to lose their lives, simply because russia wants them to.

Curious.
So first of all: looks neat, and a very nice us of VR! Even to someone like me who doesn't own a VR headset.

Anyway, my attempt at constructive feedback.

I just read article that pointed out that CPR manikins are pretty much exclusively male, and that this probably contributes to women being less likely to receive effective CPR[0]. A quick look only shows male models in your screenshots and videos too. That may be an editing coincidence, but if not: something to consider adding? That would immediately set you apart from the "competition", considering that lack of female CPR manikins.

Another thing that came to mind was that I happen to have done a remote "first aid for babies and toddlers" course offered by the Red Cross. Baby and child CPR training were part of it, and explained to be quite different (you need to use two fingers, be more careful with the amount of force, etc). So similarly to female patients: maybe consider adding younger patients?

Then again, perhaps the choice to not include either was conscious, to avoid the possibility of toxic players streaming themselves abusing women and children in your VR app. Or it could be a money/time budget thing.

Either way, good luck with the app!

[0] https://www.theguardian.com/australia-news/2024/nov/21/learn...
Come on. It is not Germany's fault that Putin is a madman. Choosing cheap gas over more expensive gas, oil and dirty coal was a win-win. Until Putin was too irrational.

Btw.: more than 50.000 Ukrainian soldiers are dead by the latest estimates I have read.
I too would like to liquidate 2,926% of my assets into cash. Where can I get in on this?
You can use `unique_ptr` with a custom deleter for wrapping C libraries.

using snd_pcm_T = std::unique_ptr<
snd_pcm_t,
decltype([](void* ptr){snd_pcm_close(ptr);})
>;
auto pcm_handle = snd_pcm_T(snd_pcm_open(...));

The lambda in decltype is C++20, otherwise the deleter type could be declared out-of-line.
IMHO Google Photos was also just brand/infra-churn because it replaced Picasa Web Albums.
Have you seen some of his recent talks? Lots of underpinnings of cppfront have been added or are in committy.

He compares it to the JS/TS relationship.
If you want to travel occasionally what benefit would this proposed setup have, over a MacBook Pro? Even if you add in a dock/hub to get more ports (e.g. the mini has wired ethernet), it's still less faffing around, likely less cost, and gives you a bigger screen than the iPad, without the issues inherent to using an iPad as a computer screen.

It isn't 2002. Laptops with features comparable to desktops do not require a three point lifting harness and a recurring appointment with a chiropractor.

For reference, I've used a desktop as my primary workstation since late 2018. For the ~decade before that I used a laptop as my primary workstation.
I think Ubiquiti have that built into their AP/network management software. You can define a floorplan and drop your APs into it to understand dead zones etc, and you have granular data on which clients are connected to which APs
It's the other way around for Racket, where R5RS and R6RS are subsets :-)

IIUC Racket's new name came about from, basically, brand confusion: to avoid being (mis)understood as "yet another implementation of Scheme" rather than as the thing-in-itself it had become.
Yes, but it is likely to be a bit better with women in charge than men.

But yeah, there isn’t any easy solution to this
Jesus, what war are you talking about?
In the remote first aid course I attended we were told to wrap two empty plastic bottles with a closed cap (so with "air pressure") tightly inside a T-shirt.
It's just using the python match statement.

https://docs.python.org/3/tutorial/controlflow.html#match-st...

It's like switch in C / C++.
And then it's just looking for the strings "while" or "end".

It's the same as if he had written:

keyword = line.split(maxsplit=1)[0]
if keyword == "while":
...
elif keyword == "end":
...

Then depending on the statement, in the while, if it evaluates to true, it scans forward to find end and continues the program from there.
If the statement is true it evaluates the lines one by one, until hitting end and then scans back to the start of the while to evaluate it again.

The `pc` variable is the line number that is currently being evaluated.
Toggle the layer to "Map" and you can find the railway lines easily, although train in the depot looks like a high speed train (huge, long windscreen).
I agree with the article that it's a difficult problem to solve and there's potentially a number of solutions that need to be invented to help solve this problem but the one thing that I didn't see in here is increasing the penalties for perjury. Because when you're submitting evidence to a court you were a testing to the fact that you believe this to be an accurate representation of whatever it's supposed to be and a deep fake is not that.

How do you stop someone testifying from tricking juries? That is done by the threat of perjury. So while we may need some tools for deep fakes the threat of perjury should also be quite severe for submitting evidence you know his false or should reasonably know is false.
Ask HN: Playground like mdn with multiple device views
Is there a playground like mdn that supports multiple device views for quick testing html snippets?
it's by design to make it look like Bhutan sold almost all of their holdings
Sorry I should have added that bit was my own deduction..

Since the explosion you see did not seem to be due to impact with treeline (seems to me plane stayed on the landing path until point of explosion )

https://youtu.be/uaDYV9IxJLo
> Apple's fault

Apple showed how this can be done without compromise.

A combination of on-device-only FaceID and app-by-app opt-in to even trigger a validation, with on-device federal ID validation of some kind, putting you in control of presenting a cryptographically signed ID, would, in fact, be ideal for both convenience and privacy.

IF you're going to require ID, that would be a fine way.

The REAL issue is whether ID should be allowed to be required at all to move around, or if you have the right to anonymously assemble (and travel for assembly) within your own national boundary. That's the goalpost to debate.
Physics moves from wild ideas to actual experiments
Our Universe is not fine-tuned for life, but it's still kind of OK
The problem is actually not ABI, it's ODR violation. You can make it work, just make your own wrapper in C ABI, link it with whatever dependency (and version) that your vendor insists on, then `-fvisibility=hidden` and partial link the entire shit to avoid ODR violation.

People reverse these SDK partly because it makes the codebase saner, and partly because, well, this is trading, a saner implementation is almost guaranteed to be faster than vendor's bullshit one, and guess who cares about being a little bit faster than everyone else?
Yeah it is. It literally is.

The laws themselves were written to tell people what to do. That's why they come with actual punishments if you break them, not merely arguements like on the internet. And some of those laws do actually ban various acts associated with prostitution, though the stated reasons for such laws are also often out of sync with the consequences given what is easiest to prosecute.
I suspect the real failure mode was around the price cap. Utilities should have been hedging against wholesale prices raising above the cap for a sustained period of time as occured. Net-net the result is the same and the cents in the dollar saved when prices were normal / stable were long gone when prices went much higher. (Note in the UK at least we have been in payback for a long time now with customer pricing at the cap and wholesale typically much much lower)
> The accent grave (backtick) you're using in a Markdown-inspired way is utterly annoying to type on keyboards where accents are implemented as dead keys, to be combined with vowels, common on european keyboard layouts. … Also I find it somewhat illogical: The usage of an accent as a character in itself in programming languages is one of my pet peeves. Just being an ASCII character is not reason good enough to keep using it.

I understand that keyboards behave as they behave, and saying that "well they shouldn't" isn't a real answer. But I also think that it's not true that the backtick character is an accent grave, even if it is treated like one, any more than any other pair of Unicode homoglyphs are the same.
Profiles are vaporware. The C++ folks are pushing a fantasy of "full memory safety with no changes to existing code, not even annotations to enable sound static analysis." That's just a non-starter, there is no way to get to full memory safety from there unless you count very silly things like making "delete" and "free()" a no-op - and also running everything in a single thread for "concurrency safety".
Laken Riley trial: How Jose Ibarra's early morning selfie put him behind bars
>The scientists monitored the brains of fruit flies as they walked on tiny rotating foam balls in the dark, and recorded the activity of a network of cells responsible for keeping track of head direction.

Meanwhile I chimp out when I have to plug 4 wires in a relay module.
Germany's dependence on Russian gas was (failed) 4D geopolitical chess in itself. I'm mad at that.
Google's Quiet Nuclear Quest for a Decade
You're conflating sex workers with sex slaves. Nobody's forcing you to be a sex worker for them if the job is done within the confines of the law between consenting adults.

Unemployment is low in the developed west, there are tens of thousands of other legal careers you can choose if you want to support yourself.

There's no manufactured imbalance of power here since nobody's forcing you into sex work. You choosing to strip to gooners online for money is your voluntary choice as an adult so take responsibility for it and don't outsource it by blaming those paying for your life choices.
No, blocking refers to calling a function that blocks. Core.async can't handle that because macros are actually not capable of handling that, you need support from the runtime.

Call a function that blocks in go, the routine will park. Do that in Clojure and the whole thing stalls.
I was more referring to people commenting saying how much memory you need
>AI isn't going away, so pretending students won't be using it at all times, both now and in their lives, is pretty naive and hopeless. Better to embrace it and teach them what it can and can't do.

I agree with that but school should focus on fundamentals. The temptation and the ability of AI to do the school work for students so they don't need to put into any effort is a real problem; learning should require some effort and AI could solve that part for students. On the other hand AI could be used for some type of education, but then people tend to throw the baby with the bathwater and declare AI as the principal tool for learning, further diminishing the role of professors and mentors.
but see, we got our own celebrities and a way to talk about them. doesn't that kind of confirm the idea? the problem is just that the content of the test is to limited.

every group has their own language and people not in that group have a different one.
AFAIK I know it is a "core activity" in one Abrahamic religion (Islam)—more so than in any other major religion.

A lot of Christians I know have done some sort of pilgrimage. Quite a few Buddhists too (most of those I know if you count short and easy trips).

I agree it is very common, but I cannot see a correlation between how ancient a religion is and how important pilgrimage is within in it.
Sorry, I was thirsty.

There were no "big" rivers, ever. More like springs. We have lots of subterranean water, so out of the 18 rivers we have in the city, 16 have their sources here [0]. They were used to power mills in the 19-20th century during the industrialization. Many of the rivers that used to go through the city center flow underground.

I live close to the river Olechówka [1], which flows into a regulated reservoir that used to feed a mill - so the area is called Młynek, "Little Mill" :)

[0] https://podwodnalodz.blogspot.com/2013/09/o-wodzie-po-ktorej...
[1] https://i.imgur.com/SIp8CxN.jpeg
Big USB hubs. I have like a few ports and swap things when I need to charge them.
My first reaction was like -- wow, a site that runs on a reverb pedal.
Did your parents sue over it? It's not like the school went running to the media.
> I think putting C++ in maintenance mode and keep it as a "legacy" language is the way to go

That is not possible. The the following function in C++ std::vector<something> doSomething(std::string); Simple enough, memory safe (at least the interface, who knows what happens inside), performant, but how do you call that function from anything else? If you want to use anything else with C++ it needs to speak C++ and the means vector and string needs to interoperate.
Ouch, sorry you are in distress but let me repeat and help flesh it out for you. You would be surprised that when given the context at hand, the level of confusion would be a lot less than your constrained world model envisions. I have been pleasantly surprised with LLMs ability to translate, including legal documents. Should it be the only step in the process? No. Like I originally pointed out, I think a LLM can serve quite well in initial first passes. Its quite naive to hand wave it away with some what-if scenarios and then just become a dismissive immature kid when someone disagrees with you. I can only imagine when you have a corpus to work from of existing legal documents especially for translations, that you get quite close to the spirit of whats written.

"Come delete my account dang". So weird....
Cassava shares sink on plans to stop Alzheimer's drug studies
https://en.m.wikipedia.org/wiki/AMSAT-OSCAR_7
Isn’t io_uring eating away at these bypasses like spdk and dpdk ?
Definitely not in the major cities, like Beijing, Tianjin, Shanghai, and Guangzhou.
Denmark is also THE world leader in pork consumption.
Elons success is in very large part due to challenging the status quo
I think circular logic is fairly well defined (from Wikipedia, “Circular reasoning is a logical fallacy in which the reasoner begins with what they are trying to end with. Circular reasoning is not a formal logical fallacy, but a pragmatic defect in an argument whereby the premises are just as much in need of proof or evidence as the conclusion.”)

That said, yes it’s not grounds for a ban. I wouldn’t block over it either unless the person in question is being obnoxious and e.g. following me around between threads and trying to stir up argument about the subject of contention or resorts to personal insults or something like that.
Big fan of Digital Ocean App Platform here.
Deploying, running and scaling containers is so easy and their very good abstractions and tooling are worth the money.
The age of houses in America is actually covered by census data [0]! Which means we can actually discover a bit more, here. It does vary greatly, state to state. The median house age in Nevada is just 26. Whereas the oldest median (New York) is closer to 63.

That's still rather shy of 132. I'd say from the data, living in a 100yo house is a huge outlier.

[0] https://todayshomeowner.com/home-finances/guides/median-home...
So it’s basically like one of those Arduino boards that you can get clones from China for a few cents?
live bluesky user counter: https://bcounter.nat.vg/
Why the lower bound on 0? Places with overproduction sometimes pay to curtail