skysight-inc/HackerNews huggingface dataset:
> variable length arrays

It was such a terrible feature it was made optional in the C11 standard (you can be a conforming C11 compiler and not allow this feature) and will never, ever be implemented in a Microsoft compiler (while C is not a priority for MS, do note that they updated to C11 and C17).

You can hear their reasoning there :

https://devblogs.microsoft.com/cppblog/c11-and-c17-standard-...

The linux kernel used to make use of the feature and removed every instance of it from the code base :

https://www.phoronix.com/news/Linux-Kills-The-VLA

> Particularly over the past several cycles there has been code eliminating the kernel's usage of VLAs and that has continued so far for this Linux 4.20~5.0 cycle. There had been more than 200 spots in the kernel relying upon VLAs but now as of the latest Linux Git code it should be basically over.

While I do agree that it is wrong to consider C++ a superset of C, it is time to forget about C99's biggest mistake and treat it as if it didn't happen.
Saying that entire populations would move move is course a huge exaggeration. Especially because after 30-40% leave the people remaining would have access to more resources, land etc. which would make emigration less appealing.

However 214 million people live in Nigeria alone. If all of them had the right to move to Europe it would not at all be unreasonable that say 30-50 million would do that (just look at what happened in the Eastern European countries which joined the EU in 2004 and the disparity between those countries and WE wasn't even close to being as big as between Nigeria and the richer EU countries today).

That's just one country. I would say that 100-200 million Africans moving into the EU over say 10 years if they could would be a pretty conservative estimate. Only around 450 million people live in the European Union and relatively few immigrants would probably move to Eastern Poland or Bulgaria so the immigrants would be concentrated in a few areas where they would quickly outnumber the local population.

> because humans are not primarily focusing on economic opportunities

I don't think this is true at all in general, especially longterm.

> but I can't imagine Quebec being much fun to move to if you're used to the sub-Saharan climate.

Have you heard about a country called Sweden? It's cold, dark and damp..
> The opposition to HSR or mass transit in the US is no different than the opposition to single payer and/or universal healthcare, which somehow all other developed countries have managed to implement with far superior outcomes.

The US is not Northern Europe, and it may surprise you to learn that there are severe externalities to account for as soon as you actually have to deal with significant, highly dispersed, poor rural populations.

I can’t speak to them with regards to high speed rail, but the vast majority of single-payer advocates don’t understand our healthcare system, it’s issues, or, frankly, the simple fact that some Americans don’t actually live in major cities. I can only imagine HSR advocates share similar issues.
> they appear to require me to manually list all target architectures in the Flakes file, which is ridiculous

Well, we're talking about evaluating a pure function (literally the entire philosophy of Nix is treating a build like a pure function). Those things are variable state as an input which affects the output, and therefore must be specified as inputs. I don't see the problem here (if you have already accepted that you want to treat builds as pure functions with total encapsulation of the state required to run them, and thus having deterministic outcomes).
Good argument: Screensharing with zoom, pointer, and “take control” (available in zoom) is the killer feature of videocalls. We use it for both demos and support, and screensharing isn’t emphasized enough.
I don’t buy it.

I like the camera feed because I can see the person and their emotions, inflections and other mannerisms.

Some AI Borg mashup that averages every face is not going to get that for me.
Is WebAssembly less trustworthy than minified/obfuscated JavaScript?

WebAssembly has no implicit access to browser APIs so I wouldn't think so.
I've had things go to collections twice in my life, both times were some bill I forgot about and moved away and the first time I heard about being delinquent was the collections call. One time I asked for the evidence and they actually did mail me all the documentation and proof of the debt. The other time I asked for documentation and ended up never hearing from them again. I still don't really know what that debt was, it never appeared on my credit history or anything else.
> they expose the data model and copy it as-is in GraphQL.

This isn't inherently an anti-pattern.

> GraphQL server is a special case of the BFF pattern, and the whole purpose here is to decouple FE from the underlying data model on the BE, and let both to iterate faster without blocking each other.

A) Says who?
B) Why do we have to follow that specific dogma?
That is the point. It's meant to diminish, discredit, and discriminate. It's a conspiracy theory until it's not. People used to wonder why Iphones got slow overtime and then Apple admits to slowing their phones down albeit for other eXcuses.
Indeed, Knuth writes in TAOCP Vol 4A (in section "7.1.3. Bitwise Tricks and Techniques", previously pre-fascicle 1a: https://cs.stanford.edu/~knuth/fasc1a.ps.gz):

> Early machine designers provided fullword bitwise operations in their computers primarily because such instructions could be included in a machine’s repertoire almost for free. Binary logic seemed to be potentially useful, although only a few applications were originally foreseen. […] The Manchester Mark I computer, built at about the same time, included not only bitwise AND, but also OR and XOR. When Alan Turing wrote the first programming manual for the Mark I in 1950, he remarked that bitwise NOT can be obtained by using XOR (denoted ‘≢’) in combination with a row of 1s. R. A. Brooker, who extended Turing’s manual in 1952 when the Mark II computer was being designed, remarked further that OR could be used “to round off a number by forcing 1 into its least significant digit position.” By this time the Mark II, which was to become the prototype of the Ferranti Mercury, had also acquired new instructions for sideways addition and for the position of the most significant 1.

The "sideways add" operation (aka population count, sum of binary digits, number of 1s, …) finds mention in all five (so far) volumes of TAOCP, and he even uses a special notation νx for the sum of the bits of x. It has always been of interest (from later in the same volume):

> The first textbook on programming, The Preparation of Programs for an Electronic Digital Computer by Wilkes, Wheeler, and Gill, second edition (Reading, Mass.: Addison–Wesley, 1957), 155, 191–193, presented an interesting subroutine for sideways addition due to D. B. Gillies and J. C. P. Miller.
Call me crazy, but I think it's a good law, and I don't think that being vague in law helps anyone other than people who want to selectively prosecute their enemies.
They're just not digitizing hit songs, they're digitizing forgotten artists and rare recordings. The Internet Archive is extremely valuable to music historians like myself in finding and understanding artists who have never been reissued and whose recordings are difficult to find. If they're forced to pull down these recordings from public access, it will be a huge loss to cultural history.
NYC is one of the epicenters of the housing crisis. Rent control doesn't make new housing, builders do, and zoning keeps them from doing it. You can advocate for rent control once the housing gets built.
Our bodies are pretty good at telling us what it needs. Drink when you're thirsty and nap when you're drowsy. The problem we find, which elicits articles like this, is that our 'work environment' is not conducive to adhoc relaxation.
You can check the network tab. WebAssembly doesn't have magic powers like ActiveX or something like that.
If I buy a hammer and smack myself in the face with it, no one blames the hammer.

Engage this friendly neighbor chatbot about euthanasia, the holocaust, polarized politics and you discover it talks in a friendly way about those subjects. It’s not broken. You did that to yourself.

You can make an innocent typewriter output hate speech if you press its buttons purposefully.
I don’t know why some people are hating in the comments, I’m assuming most are React devs and this is similar of C++ devs hating on Rust as they would like to be in business and not feeling left behind after all years spent learning the old tool (React/C++ in this situation)?

I’ve used Astro years ago, Astro+Solid is one of the best combo for building fast sites, I would choose that (or Sveltekit) over the trashy React any day if I would have to choose, or better, no javascript at all.
I've been using discord for a decade or so and think I've only used video once or twice in that whole time. I'm also close to 30 though. I guess it's generational.

Edit: Oops, you added your age! Apparently it's not generational hah!
New Intel/AMD CPU's do a register based popcount in a single clock.
I can't tell from far article and comments if this is a case of the company lying or the executive taking aspirational statements too literally. Though I'd expect if he's at that level he would understand the difference, ie only make a big deal out of it if it really was lying.

The lawsuit also claimed that the CDP team "wanted to redefine the meaning of 'real-time,' so that it could falsely claim that the CDP operated in real-time."

This sounds credible though. Not anything Salesforce specific, just seems to be the new industry playbook, redefine already popular terms to suit what you want *cough* open source *cough*
MTOR Signaling and Neurodegenerative Disorders
No a process running in docker or on your host is going to use the same amount of RAM. There is no RAM dedicated to a running container on Linux--it's just a process that's flagged with some metadata to tell the kernel that it should be isolated in certain ways, like with a unique root filesystem.
>with strong opposition to rust

This isn't evident. There's some discussion that Rust isn't ready for certain applications yet for one reason or another, e.g. compiler certification, but I have not seen "strong opposition" to the idea of using Rust once the the necessary preconditions are in place. On the contrary, my understanding is that there are some automotive partners working with Ferrocene on a certified Rust compiler, to open up those possibilities.

All of the industries you mention are notoriously slow-moving, so much so that they're often stuck on C89 and C++03. That they're not jumping to adopt Rust ASAP is not evidence that they hate Rust. Obviously, if they take a decade to upgrade to newer versions of the same language, they're not going to be quick to adopt a language that's not even a decade old.

> they’re developing an entirely new language to replace c++ themselves rather than use rust.

The literal announcement FAQ of Carbon said, quote, "if you can use Rust, ignore Carbon". They're making Carbon because they have massive amounts of C++ code that they want to seamlessly interoperate with. If you don't have that constraint, the Carbon developers recommend using Rust instead. They're not adopting Carbon "instead" of using Rust, they're adopting it alongside using Rust. They announced they're going to start using Rust in Chromium FFS!

I don't feel that you're being very honest in your arguments.
Isn't She Lovely? (2000)
And you sir, are fucking toxic, just looking at your comment history I can tell that. So you calling me "fragile" carries about as much weight as the next idiot with an opinion.
Thanks.

There are many static site generators around. Is there something that makes Astro special or different? What is its unique selling point?
I think the more pressing concern is the systemic nature of this issue. We’ve eliminated lead and MTBE from auto fuel, and no longer use asbestos, but have replaced them with plastic (leading to micro plastics everywhere, including being found in heart tissue), PFAS, BPA, etc. The EPA approved a plastic waste fuel proposed by Chevron that is highly likely to cause cancer with almost no pushback. Almost 100% of the US population has DuPont C8 (used to make Teflon) in their bloodstream.

It’s a call for government regulators who aren’t industry pushovers and conservative evaluation and approval approaches to novel materials. We need a system that won’t enable us to continually find new ways to poison ourselves, but still allows for material innovation. Activists and journalism professionals are key stakeholders in this effort, holding (or at least trying to) government and industry accountable. We continue to need people like Paul who talk about this. Same story, different materials.

(walkable communities are of importance and significance as well of course)
Awesome discourse and discussion. My main takeaway here is that my example could be greatly improved aha.
If they’re cold they’ll learn and not do it in the future.

Honestly the consequences of some actions are so basic, just let them see how it goes imo
this is the reason I pick a language OTHER than js for the backend. Why oh why did the whole world decide nodejs sever side js was a good direction? For the frontend I get it. Unless you are going to mess with WASM files you need js.
Hating on her political affiliations, which many consider outright dangerous, yes.
That doesn't give you a useful perspective on the logistics of poverty in the US. This isn't some kind of qualification based on a misery meter.
I'm not quite sure I understand the benefit of AI talking heads compared to the people you are wanting to talk to? Novelty, streamers, etc. it might make sense, but a business meeting or chat with family and friends? If someone is replacing themselves with their AI avatar then why have any sort of meeting?

It feels like the least simple solution to video calling.
Research associates chronic constipation with cognitive decline
I don't know how amazing your friends house is, but while a 371 square meters house IS large, it's not absurdly large. And of course you find houses like that, whatever it is, in Europe.

But North America is fricking huge, and if you are willing to move out of the city it's hard to not grant you that at least: you have a loot of room.
VP: Let's stop committing fraud.

Salesforce: It's not fraud if we redefine 'real-time'. Also, you're fired.
> particularly in Go where everyone crams everything into single-func interfaces which are almost exclusively far worse

Depending on scope, I've grown to prefer the single func interface.

For a smaller scope use, say filepath.Walk, absolutely, pass in a closure, good stuff.

For larger stuff, like say a chain of http middleware and handlers, I think it can be very limiting.

you get a big benefit from using the interface over a function: the underlying type _can_ have more methods and implement.

this gives room to implement a parallel interface, for example, to collect all possible routes, or to trace what handlers a request would pass through.

I don't think there's a one-size-fits all approach, use whatever gives the effort:utility tradeoff you're looking for.
compelling read. bravo Alin!
Someone is pointing out that drag-queen shows directed at young children are weird and that enacting Portlands policies may not make for a safe city! Can't have that!
I was speaking to some PhD students this summer, and the thought that popped in my head was “grad school is child abuse.” It preys on your self-conception as a bright person, a good student, etc. and takes your twenties away with nothing to show for it. It’s abusive to take in more grad students than you place in jobs the year before.
So... about Switzerland.
What I want:

1. ML algorithm to make me look like I'm looking straight at the camera/you. Solutions are coming, but I bet there's an uncanny valley aspect. It shouldn't look like I'm staring at you constantly.

2. Better document/whiteboard collaboration. It should function the way it does when in a room together: everyone sees the document easily and clearly; gesture at a part of the document; highlight/focus the part you're editing, etc. Actually, a lot of that could be better than in-person.

I don't need reaction animations and other features-in-searh-of-a-use-case.
When you die, your debts don't die with you - they are still part of your estate.

The major function of the executor of an estate is to settle the debts of said estate. If the estate runs out of money (even after selling property, for example) before paying all the debtors, according to order of seniority, then everyone else in line is out of luck.

However there are quite a few states with "filial responsibility" laws (Tennessee is one of them) that oblige children to take care of their parents in usually vague and under-specified ways ... those have been used to chase children for unpaid nursing home debts etc.
Tuple.app and Slack’s “huddle” are the two best screen share quality I’ve seen. I pair with both. Zoom is better than google hangout which seems to compress in a way that messes with fine lines and text.
I’m not sure what any of that has to do with the topic at hand? My parents also fled communism.

It’s not that poor people don’t want to save and invest; it’s that because cost of living in most places has far outpaced salaries, there literally is no money to save.

Most Americans live under mountains of debt. My mother had thousands and thousands of dollars in credit card bills because she had to, in order to survive and support a family of four. And we lived in the projects in Brooklyn.

She never told me about it until I was in my twenties, because she never wanted to worry me with it, and moreover, she never wanted me to know we were poor. Pride is a real thing.
Sam Bankman-Fried jailed as judge revokes bail
I guess the posted HN title should include (2010), but the conclusions are timeless.
Here’s [1] one of dozens of houses of that size currently listed in Bath.

As a European who also lives in a 4000 sqft brand new house in the south of the US, I wouldn’t wish that on anyone though. I’d happily take a 2000sqft house that was built at least to the standard of the second of the three little pigs, something which seems to elude construction crews south of the Mason-Dixon Line.

Regardless though, the size of your house says very little about the quality of your life.

[1]: https://www.winkworth.co.uk/properties/sales/lansdown-road-b...
> That’s a bit of a non sequitur, isn’t it?

That was kind of my point. The burgeoning middle class had nothing to do with rent control laws.

Anyways, most of the research I'm finding contradicts your assertions.

For example, a recent paper [0] about on the housing market in Helsinki found that "new market-rate construction loosens the housing market in middle- and low-income areas even in the short run".

About restrictive zoning _not_ being an issue, a graph from a paper [1] illustrates that Los Angeles is at 92% of its zoned capacity when it had a planned capacity in the 1960s that was more than double what its current actual capacity is. From the paper: "Areas with well-organized homeowner groups dramatically decreased density as a means of controlling population growth, thus directing the future growth of L.A. to predominately low-income, minority communities - communities least able to accommodate that growth due to overcrowded housing, under-performing schools, limited park space and, in many cases, poor transit access. In short, density was directed to the path of least political resistance, a social injustice that exacerbated spatial disparities between communities." The paper asserts that, beyond the racial disparities caused, restrictive zoning has caused rent to become unaffordable and has had a negative environmental impact.

On the topic of rent control generally, one paper [2] estimates that NYC rent controls caused a 20% misallocation of rental units. Another [3] about rent controls in SF found "that landlords whose properties were exogenously covered by rent control reduced their supply of available rental housing by 15%, by either converting to condos/TICs, selling to owner occupied, or redeveloping buildings. This led to a city-wide rent increase of 5.1% and caused $2.9 billion of total loss to renters."

And this general survey [4] found "that economic research quite consistently and predominantly frowns on rent control. [The] findings cover both theoretical and empirical research on many dimensions of the issue, including housing availability, maintenance and housing quality, rental rates, political and administrative costs, and redistribution." In short, “the economics profession has reached a rare consensus: Rent control creates many more problems than it solves.”

[0] https://ideas.repec.org/p/fer/wpaper/146.html

[1] https://i.imgur.com/EIyespr.png from https://escholarship.org/uc/item/6k64g20f#page-1

[2] https://users.nber.org/~luttmer/rentcontrol.pdf

[3] https://econpapers.repec.org/paper/redsed018/918.htm

[4] https://econjwatch.org/File+download/238/2009-01-jenkins-rea...
Thanks, whenever Wolframs stuff comes up that bactra piece and this one:

singlelunch.com/2020/04/23/why-stephen-wolframs-research-program-is-a-dead-end

Should be mentioned since people should have the context that he's considered a crank byoat everyone in the communities he's doing research in
Actually, this should be expected: an inability to see beyond populist promises and to reason about the world and its immutable laws should often be correlated with staying poor.

The same mentality is pushing people to play the lottery, join pyramidal schemes and vote representatives pretending to solve their problems for them.
Programming can be a tough career with the interviewing style, latest hot frameworks and trends, etc, etc., and startups even harder.

Why don't you just get a basic and stable job like a trade, electrician, train driver, fireman, etc... and do you programming / startup stuff as a side hustle?
> You do not believe us?
We know that websites on the internet promise a lot of stuff. You can try our promise by yourself. Load the webpage, disable your internet connection and start editing PDFs. You are gonna be surprised.
Performance of Terry Towel: A Critical Review
I don't think they are a hint that spacetime is not fundamental. But I do think spacetime has to be some kind of real physical reality.

The modifications of spacetime that we see as effects of gravity are relative changes to our immediate surroundings or reference frame.

Similarly how you can't tell who is actually stationary and who is moving when two objects are in freefall and all you can note is the relative speed between the two, it would be equally valid to say the objects inside spacetime are getting distorted relative to spacetime.
This is an idiotic propaganda piece, not anything to do with science.
How do you prove a negative?

My own heuristic works pretty good, if the artifacts for the paper are available and they’re either gonna get repo or Dr. image I’m gonna say that the paper is pretty reproducible. Or, if the paper instead of being exactly 10 pages is 20 or more it has an extensive appendix on the methods used. It also has a high likelihood of being reproducible, or if it includes links to data sets.
Northeast Blackout of 2003
> Awarding tenure at random might even produce better outcomes.

Sortition was practiced in Ancient Athens [1]. Perhaps in cases where the stakes are not particularly high, it could be a great thing.

[1] https://en.m.wikipedia.org/wiki/Sortition
Can't find a way to connect. Ping at hn@wondercraft.ai - would be keen to get your thing going.