skysight-inc/HackerNews huggingface dataset:
Not OP, but I've often seen cases where the same set of strings or enum values are used in switch statements in disparate parts of the code base. While each switch is supposed to be checking the same set of values, they invariably end up getting out of sync and checking different subsets of the actual possible set of values, leading to bugs.

Some languages support exhaustive switches (typescript has a way to do this), but oftentimes the better solution is to consolidate all of these switches into an object, or a set of objects that share an interface. That way all of the switch statements become function calls or property accesses, and the type checker can warn you at time of creation of the new object if you're not providing all of the functionality the rest of the code will require.
FTX CEO Denies Rumors of Insolvency
Youtube is the wrong place for this sort of thing, unfortunately.

Archive.org is the right place for it.
Holding a large amount of cryptocurrency without multiple backups spread around various geographical locations is foolish. So ultimately to store cryptocurrency securely, its never actually easy when you get down to the nuts and bolts of it.
I briefly looked at your specifications. They seem to provide some very useful features laking in other formats, but I think you have still a long way to go to polish the specifications. The main issue I have with them is the lack of formal definitions for individual entities. I would recommend treating data normalization very precisly and defining every syntactical element in Backus–Naur form.[1] The specification of Unicode characters should be made independent of a specific serialization (such as UTF-8).[2] Formal definitions are extremly helpful to clearify edge cases and to implement a processor one piece after the other.

For example, instead of specifying uppercase/lowercase sensitivity in an extra section on "Letter Case", I would recommend defining the allowed character range for every item individually. In addition, it should be specified in detail how characters need to be handled by a conforming processor. Just for example: What Unicode version must be supported? The whole code range or only a part of this version? Is a processor required to check for violations of certain rules, such as illegal case? Should or can a processor normalize case or must it not? If it should or can, must it implement the "default algorithms for case conversion, case detection, and case-less matching" from the Uncode spec,[3] or may it, for example, deviate and support only a subset of Unicode characters?

To take up your own example, here is an edge case that is only very difficult to specify verbally, but can be made very clear in Backus–Naur form: Do you want to allow leading zeros for numbers? If so, infinitly many? A leading '+'? ...

It might be helpful to dinstinquish two phases for a conforming processor, namely checking syntactic conformity of an entity to its Backus–Naur form (eg. Is this entity a number?) and validating a syntactically correct entity in its context accoring to some validation rules (eg. is the number out of range?).

[1] See https://en.wikipedia.org/wiki/Backus%E2%80%93Naur_form

[2] For example, you are defining: "A string-like array MUST contain only valid UTF-8 characters.", but when I look at "Escape Sequences", you are using Unicode code points, and not UTF-8 byte sequences. -- Your sepcifications may, of course, require that data exchange must happen in UTF-8 (and should say something about byte order marks). Besides, they should not be conserned with any particular serialisation, but should only work with deserialised Unicode code points.

[3] See sect. 3.13 of https://www.unicode.org/versions/Unicode15.0.0/ch03.pdf
That's a great analogy. I like C, and when people resist it I worry about their programming skills. That may not be fair, but sometimes the complexity of C / C++ is a version of complexity you will see in a big application.Sometimes the complexity is needless, confusing, dangerous-- insert what you hate here.

But really Rust seems to have the qualities I like about C and less problems. Also, all the reasons I used to have for wanting to be "close to the metal" are getting abstracted away in hardware. I think the only remaining reasons to use C is the huge existing code base.
No. I'm thinking that a BitTorrent client, in my naive understanding, should share the file while it downloads it. Otherwise it's just a client/server system, isn't it?

That code is only downloading, as far as I can tell. Never sharing the file. I was just asking if that's tolerated in BitTorrent. My guess was that it is not.
Propel | Brooklyn, NY or Remote (US) | Onsite, Remote, or Hybrid - You decide!| https://www.joinpropel.com

Propel builds modern, respectful, and effective technology that helps low-income Americans improve their financial health. Over 5 million people use our app, Providers, to check their benefits balances, stay up to date on critical government programs, save money, and earn income. In addition, we’re expanding further into the financial services space by building a new debit card, specifically designed to help low-income Americans.

To learn more about who we are, our engineering culture, and whether this is the right place for you, read our Key Values profile: https://www.keyvalues.com/propel

See all of our open roles here: https://boards.greenhouse.io/propel?gh_src=1d7cfa302us

Some key roles we're hiring for:

* DevOps Engineer: https://boards.greenhouse.io/propel/jobs/6471509002?t=1d7cfa...

* Senior Product Designer, Growth: https://boards.greenhouse.io/propel/jobs/6461246002?t=1d7cfa...

* Product Operations Associate: https://boards.greenhouse.io/propel/jobs/6468658002?t=1d7cfa...

Tech Stack: Infrastructure:
AWS, Cloudwatch, Kubernetes, Ingress, Helm, Route53, Nginx, Jenkins, Sentry, RDS / PostgreSQL, Redis, Istio.

Backend: Python 3, Flask, Redis, RDS / PostgreSQL, Peewee, Nginx, Kubernetes, Docker.

Frontend: TypeScript, Vue.js, Capacitor, SASS,
Vuetify.
One thing that is suspiciously absent from the abstract is the stability of this material to O2.
Obtaining user data should be a horrifying prospect for companies. They should obsessively work for alternative ways to not need it for their goals. And when they need it, to be ridiculously careful about it. (you could substitute "user data" for "application state" here)

But it's not because there aren't sufficient consequences. Memory leaks don't properly crash the company as they should.
For anyone trying to get a better idea of what parent means, the PHP Generators RFC[1] shows the equivalence between generators and iterators. Iterators are what OP means by "struct including all the local variables used in the function".

[1] https://wiki.php.net/rfc/generators
Sounds like they’re saying search tools available to employees at the uspto are not magnitudes better. From the other comment they’re using decades old tools.
Wouldn't you run into the same problems as with IRC too then? ie. you receive no messages while offline.
I think the people at Microsoft have concluded that only suckers and dups are still using Windows. Young folks use their phones, neohipsters use Macs, and techbros use Linux. For the leftovers still on Windows, Microsoft is serving up Edge browser toolbar scams, taskbar "news" ads, lock screen ads for whatever it is that Bing is doing. Elon Musk should buy Microsoft so it can die too.
I wonder what the NSA or any other of these three-letter agencies think about that, I can remember much of the leaked information consisting of Powerpoint slides.
Not really. Many programming languages compile themselves nowadays (it's called bootstrapping) so there's no direct C lineage in them.
In my opinion, the problem is that we failed to create some additional layers on top of C. an extended std lib with data structs and algorithms as well as a style/practices for everyday use (ie non compiler writers).

i adore C, it was my first language and i still like its simplicity very much. Still, I have come to believe that only strictly vetted licensed people should be allowed to use it :)
Note that OpenBSD now uses the much smaller doas instead.
Cool, crazy this wasn't done sooner
GTA had their iFruit, or whatever it was, that was clearly a parody of Apple.

Trademark protections only come into play when there's risk of customer confusion. So even without the parity claim GTA and the game in the OP are almost certainly fine. No one is going to be confused and think that Ikea has put out an Indie computer game.
> El Salvador has adopted the US dollar voluntarily

well, from political/populist standpoint he can always blame this decision on his (corrupt) predecessors, so that's pretty easy to explain in this discourse.

Why is he so bent on Bitcoin, and the rest of it, i don't know.
Back when everything was a new idea such things would have been obvious. Now we act more like everything is set in stone.

I don't like markdown or wikicode but browsers accepting a document format (any format) that is just a static document would be great.
yes. if the compiler was written in c and there is a bug in the compiler that language could be tainted.
Interestingly, in this case Silk Road is the Victim, not the accused.
You could just go watch the 15-year-old movie An Inconvenient Truth. It's not perfect, but it gives a pretty good overall view of the consequences of climate change.

https://en.wikipedia.org/wiki/An_Inconvenient_Truth

We won't "all" have to do anything -- much of humanity will merely find it awkward. It's the poorest people who will suffer most: they can't afford to relocate, or rebuild infrastructure, or switch to cheaper foods when crops fail because they're already buying the cheapest things.

Western nations will likely buy their way out of it, outside of the occasional hundred-year-flood becoming decadal. The real pain will just be hundreds of millions of deaths and many hundreds of millions more people displaced. It's not an apocalypse. It's merely intense misery on a vast scale.

Nobody is expecting us to cut off fossil fuels entirely, or immediately. Any decent plan will require decades. We could have been well on our way, if we'd started decades ago when this became obvious. The basic physics of climate change are really very, very straightforward: carbon dioxide is opaque to infrared, and if you double the concentration you will increase the temperature. The economics of it are less straightforward, but it's clear that it's a vast amount of energy being pumped into a system, which will cause damage somewhere.
> Also, the current silk road is a honeypot set up by the Feds. That's why 1) they screwed up on validating transactions (it's not their money) and 2) they want after the stolen funds.

The DOJ release says these transactions were from 2012
I was expecting this to be a rust article lol.

Ada is more memory safe than rust technically, although with less devs using it.
> seems like nothing more than a nerd's dream

Interesting description as that's similar to the perception of Facebook when it was first widely launched. It was even popularized in films like The Social Network with the insinuation it was designed by nerds make their lives less isolated.

Look at where we are 10 years later...
I agree, we should let crypto scams of all kinds proliferate and flourish.

Just kidding, haha. I agree that many more recent events have been more impactful, and hopefully they’re pursuing those too.

I mean the sheer numbers of ICOs with somewhat notable people involved purely to make a quick buck would be a good place to start
For making coffee or tea, soft water is preferable.

For drinking straight up, hard water tastes better. At least to me. Perhaps because that's what I grew up with in central Europe.

Btw, the Romans also built their towns preferably in places with hard water.
> Now, every network is becoming indistinguishable. Most Youtube Shorts I see are ripped straight from Tiktok. It has all the irritating telltale signs; wooden AI voiceover, stupid sound effects overlaid on top on the original audio, and of course a 5-second looping clip of some monstrously bad music.

You forgot the fourth element: Some mid teen/woman preening in front of a mirror (because in 2022 people still can't figure out how to use the front-facing camera).
Linux is insecure OOB and generally misconfigured by it's users. Windows remains the defacto choice for bros who want security.
However, the continuing situation of one group choosing to cause mass suffering for others out of an economic choice and no one can or will do anything about it feels a lot like one example of a global condition that doesn't bode well for the species/planet.
Reminds of my older brothers friend who in second grade got back in line to get his yearbook picture taken and showed up twice in the yearbook with slightly different pics.
As was noted at the beginning of the referenced explanation:

"I would offer a bit [of a] non-trivial example"

Which is to say, this comment is deliberately trying to go above and beyond the ELI5 request from the OP. You may find the answer below that one a bit easier to understand: https://old.reddit.com/r/rust/comments/ynvm8a/could_someone_...
Integrating Living Organisms in Devices [pdf]
My wife does this too and I've noticed that a large percentage of the Instagram videos she shows me have the TikTok logo on them. People are just copying them and reposting from one platform to the other.
In games, you can use a generator function for stuff that's supposed to take multiple frames. Saves you from either having to write a whole state machine system, or extracting all the state for every multi-frame action out into the object.
This is a dumb take. NYC for example is 68th on the list. Mecxico City is in a depression in a mountain plateau, and car exhaust and other stuff gets trapped there. Dehli has the problem of agricultural burning in a neighboring state. Bejing among other things is still surrounded by industry and gets a lot of its power from coal, both of which are resolvable issues and they've made progress.

Everything in the top 25 of the list but Seoul is in a developing country and most of them use coal power or are in unfavorable geographies for clearing smog/air pollution.
> but the currently available test dummies don’t reflect the average female body

Do they reflect average american body though, male or female.

> Their dummy is 5-foot-3 and weighs about 137 pounds, per the publication.

"The average American woman weighs 170.6 pounds and stands at 63.7 inches (almost 5 feet, 4 inches) tall. And the average waist circumference? It's 38.6 inches." Per google.

Looks like the male dummy actually reflects average American woman in weight at 171.
Note that this was fixed on the X side around that time (it mentioned in this article too) but the kernel hack remained in order to avoid breaking any existing X installations.

AFAIK the issue with the X server is that its maintainers at the time (basically Red Hat) didn't want to continue the maintenance, however since then it has been passed to an independent maintainer, Povilas Kanapickas who -if you want to financially support- has a Patreon[0] (also he has posted here on HN occasionally). He is the one who has made the most recent releases.

[0] https://www.patreon.com/p12tic
I went the other way. I tried laptops and raspis wirelessly, and then with audio over ethernet but the difference in timing caused by differences in signal decoding meant that you can couldn't sit in one room with the door open with the speakers in the next room also going because of microshift flanging (although I say micro, some rooms were over 100ms out of sync, which is unbearable).

What I ended up doing instead of just running TRS cables along the ethernet cables that were already going to the various rooms I care to spend most of my time in, with some 4x4 audio interfaces that take care of sending the audio to the various speaker sets in those rooms (for rooms with more than one set). Any interface's output can route to any other interface, so if there's more than one thing playing you just press enable that input in the room you're in, and done.

And of course, you can get the same done with some second hand professional audio routing rack units, but (a) those are rather inconveniently sized, and (b) you kinda need to have a hookup for those, or get lucky, whereas audio interfaces are a few clicks away and designed to at least look reasonably decent sat on a bookshelf =)

More expensive? Probably. "Perfectly" synced audio across rooms? Very much so.
this bitcoin theft happened in September 2012, before Ross Ulbricht got arrested (in 2013) so when Silk Road was active and not a Feds' honeypot like you describe.
> If to use the feature you are explicitly asked to turn it on, with an option to view a privacy policy, that is “blatantly obvious”.

I disagree.

> How, exactly, would you want it to be more obvious? A big red box every time the feature is mentioned in the help site?

Yes, more or less. I would be perfectly happy with a single red box at the top that says this feature sends the contents of your slide to Microsoft. I am not okay with linking to a privacy policy that nobody's going to read and pretending that that's informed consent.
A switch statement allows you to have different behavior for different inputs, but often all that's needed is different output data.

If you have to map, say, country codes to country names, writing a long switch statement of
case "US":
name = "United States of America"
break

Is going to suck. An object (in js, an associative array more generally) will be simpler.

It's not always quite so obvious as that example.
They’re still relevant in that there’s always a chance someone may ask you to “do a Die Hard.”
You're failing to put things in perspective. There are 500 trees on earth for each human being. That would mean they can absorb 12500 kg per year.

Also, tree are NOT the largest natural CO2 sink, oceans absorb more.

Overall, the biosphere absorbs about 50% of total human emissions (25% by land plants and 25% by oceans). I think that once we drop the CO2 emissions enough, the nature will quickly scrub it out of the air, we don't need to get negative ourselves, just drop close to zero and nature should balance itself pretty quick.
And the Italian Mafia until at least 2009!

https://en.wikipedia.org/wiki/Chiasso_financial_smuggling_ca...

> The total value of the counterfeit bonds was estimated at approximately one percent of total U.S. GDP in 2008
It's too easy to lose a domain, though. I had a decent one with email forwarding set up just in case something happens to my gmail, gave that email address to everyone...and lost it when i neglected to pay stuff for months cause of health problems. Now I have to beg some squatter to get it back.
Yup. I don't think HN can avoid this at scale, though. It's been a problem on sites like this since early in the days of Slashdot.

The fundamental problem is that the voting and karma system actively incentivizes this kind of behavior. No amount of "did you read the article?" comments can counteract that force. All they do is increase the noise level even further.
It’s probably because he accumulated billions of dollars of property that weren’t taxed, and illegally on top of that (although they were worth much less at the time).

It kind of sucks for him that he had to forfeit the Bitcoin and not just the dollar amount he stole at the time. I am sure if it was the other way around, and Bitcoin went to $0, they would take the historical dollar amount he stole instead.
By "participants who cannot legally enrol," do you mean minors? I'm not tracking what the Venn diagram between those people and those who "may not have the capacity to consent" is.
https://www.wolframalpha.com/input?i=1.7terawatt+years tells me " ≈ 4.7 × yearly electric energy production of all nuclear power plants ( ≈ 3.2×10^15 h W )"

Or 14.9 trillion kilowatt hours, which at plausible retail prices of £0.10/kWh is approximately one and a half trillion pounds. Now, who's going to pay for that?
Statistical Process Control: A Practitioners Guide
Anything where a human is writing C is probably unsafe. Machine generated C can also be unsafe, but I'm unaware of an epidemic of systematic issues resulting from it the way we get with human C.
Ok, I agree with that.
Maybe because the example they gave on the article they were going after one person crime (rape), and the case that caused outrage is where the guilty bosses are already the guilty bosses and they still got deals.

Would you not see any problem if (still using the article example) Weinstein was given immunity to report on his own rapes?

Also it compounds the rage as it was what happened to all the banks in 2008, all the air cias after 1st covid, etc.
If that is the feature in question, neither the app itself, nor the online help shown when clicking "About PowerPoint Designer" give any indication that your slide contents data will be sent to MS.
Tomorrow is Aaron Swartz' birthday. rgb(11,8,86)
It's because there was a huge drop in quality between the seasons. I believe I made it to Season 3 (spoiler: the one with the supercomputer) and the story just got too ridiculous to me. Didn't even watch Season 4 which was disappointing because Season 1 was some amazing TV.
Languages like Python/C# have fundamentally broken threading models. And yet people like to use these for cluster work. Kind of like eating steak with a spoon, as you never knew about forks.

There are often language specific features that are not isomorphic, and are the primary reason a language was developed in the first place. =)
You know what? I finally bit the bullet thanks to your comment: https://news.ycombinator.com/item?id=33507217
India has a pretty easy fix here, pass air quality laws with an enforcement mechanism at the federal level. It's internal to their borders, pretty different from a global issue that requires many types of governments and non-governmental entities to coordinate and make tradeoffs.
"Judge Connolly made very clear that, in cases before him, it is not truthful to represent that a post office box is a "principle place of business" of an entity. "

"Uh Oh!" - Every Remote business owner.
Although the article is about Ada, which is technically more memory safe than rust.
Well, the database is there to manage and defend the data if only properly instructed to do so (CHECK constraints, locking, serialization.)
Meanwhile teenage-me (~13) had a ton of absurd questions and a habit of starting and 'announcing' projects I could obviously never finish (I was just teaching myself BASIC at the time and asking about making things like antiviruses). I didn't even really have an understanding of licenses etc so I eventually pissed off a bunch of people on the forum for the specific dialect I was learning. I imagine dealing with enough people like young me (curious but too much effort to babysit) might cause people to have negative associations of young teens in programming.

My parents didn't really care for my interest in computers, thinking that I was wasting time and sacrificing school on 'games'. Although they at least humored me on getting books on more modern languages like C# so I managed to improve. For a bit I even held an immature grudge on the guy who got mad at me which motivated me to get better. Nowadays it's all just a funny memory though.
This is called a beneficial ownership registry and Biden signed the most recent NDAA which actually included a rule to create this. FinCen is developing the framework now and we should have much more transparency pretty soon;

https://www.fincen.gov/news/news-releases/fact-sheet-benefic...
If a stock was worth 0 because of never paying any dividend, anyone could buy it all, liquidate the company and profit.