skysight-inc/HackerNews huggingface dataset:
As someone who looks at Rust and other alternative languages every now and then. I think many C/C++ programmers are looking for an alternative. C/C++ accumulated a lot of legacy stuff over the years, and things like #includes, .h vs .cpp, non-trivial metaprogramming, limited IDE capabilities, no standarized package manager show how old these languages are.

Compare it to Rust, which has one build tool/package manager. No more hunting down dependencies, arguing make vs cmake vs 20 other tools. 99% of projects just use cargo and building a project on every platform is just one cargo build run away. Compiler is smart and can show you many errors in your code that C++ never could. Old mechanisms like header files are replaced with a modern module mechanism. Also some interesting features like the traits system.

All that with performance close to C/C++ and with increased safety. Also, there is a lot of hype behind the language making it reach critical mass. It's not surprising to see many people flock to it. Some people dumped C/C++ in the past for Java/C#, but these languages don't support the same usecases as C/C++ do. Rust does.

Personally I dumped C/C++ for D years ago and don't regret it. It's not as popular as Rust is, and doesn't have the same ecosystem or big companies behind it, but it works for my needs. If Rust existed at the time I was looking for an alternative, I'd probably be using Rust now.
It is tests and verifications all the way down!

No matter how careful you are adding automated tests and test to verify those tests have run OK, and making them fail safe (fail with a warning in this case) where possible, it will always soon get to a point that there needs to be a manual “have we seen the everything is OK message recently?” or similar is by far more efficient than adding another tests to send a warning when the last layer of tests has failed.
Sounds like the IP-over-pigeon protocol https://datatracker.ietf.org/doc/html/rfc2549
I actually looked it up. 35 MPG is perhaps generous when their 2021 cars are averaging 30.9MPG, but it’s a low sample size.

https://www.fuelly.com/car/hyundai/grand_i10

Finland imports a lot of used cars but: “An average car in the fleet 12.6 years of age” that suggest the car actually lasts to ~25.2 years. It’s not that simple because again they are importing and exporting used cars.

https://www.aut.fi/files/2524/Annual_statistics_of_car_marke...
Well, their customers do agree and that's what actually matters, regardless of what you and I think.
> Implementing the weapon.

Implementing an in game item? That's already part of your game, right?

> Paying for that implementation.

You can buy an NFT entirely on chain, that's surely not in doubt.

> Plus, implementing a "yes, person with email address N owns sword X" rest API is pretty straightforward. You could even implement public/private key signatures for authentication of the receipt. It just would be stored in someone's email inbox instead of the chain.

Yes, I totally could re-implement all of these things. I could handle payment info, get people to manage their own public/private keys using my own implementations and have them copy & paste it from an email (?). I'm not sure I follow the flow there where people copy keys from emails into my game and how duplication is stopped but it sounds like an awful flow.

My point, as I tried to emphasise, is that I can get those things without building them. They already exist if I manage that part with an NFT.

So the question has increasingly become (as the field matures) - why build it myself? Why not use existing, working infrastructure?

> Concrete example: I buy an NFT for a sword in World of Warcraft. I want to take it with me to FFXIV. Now FFXIV has to implement the sword. Its looks, its behaviors, its power, in a completely separate engine and world.

I've not said anything about sharing between games, and the complex part of that is identical whether it's with crypto or not. What the global shared database part solves is that either game can easily check, if this was something they wanted to do.
That's the whole point of code review! If you find a logic bug in a test, your review is adding actual concrete value to the PR
Call for Proposals – EuroBSDCon
And I also haven't read the article so maybe the benefits I mentioned are washed away somehow

The financial benefits are rarely worth the initial expense for professional sports stadiums.

Th article didn't claim governments shouldn't kick in any money, only that funding it wholly (or nearly so) via public funds is a bad use of tax revenue.

DC has two recent examples. Nationals Stadium (baseball) and Audi Field (soccer). Both in the same neighborhood downtown (southwest waterfront).

The baseballs stadium cost ~$1 billion. It was financed with bonds sold by the city and remains owned by the city. Rent to the baseball team and a portion of ticket/concession/etc are being used to pay back the bonds. As of a few years ago, it looked like the cost was basically a wash. But, that ignores opportunity costs of doing other things with that money (assuming it could be borrowed for other projects), so it's hard to say for sure if the stadium was better than other options.[1]

Audi Field's financing was quite a bit more complicated, with multiple land trades with 3rd parties, and mixed financing (the team paid a significant amount of construction costs). The team leases thee stadium for a nominal $1/year, so I have no idea how the city recoups it's investment. Part of that deal also pulled $30 million from public school funding, which seems like a big miss to me.[2]

All that said, the neighborhood where the stadiums are located was a derelict slum and industrial site before. It's massively revitalized. Does that development offset the costs of buildings/maintaining the stadiums? That's not clear. And both stadiums seem to have had a better mix of public/private financing than some of the NFL stadium deals of past decades (which are usually more expensive to start as well).

1 - https://www.wusa9.com/article/news/local/dc/nats-park-billio...

2 - https://en.wikipedia.org/wiki/Audi_Field
Wordle Has Only One Real Competitor for the Year’s Best Game
You could be really good at solving one single exam while not very good at solving all the exams.
Blockchain and the Future of Work
Towards the flagged sibling comment about the tor network providing a hiding place for illegal activities and terrorism:

While it's non-trivial to inspect many aspects of tor traffic, an often used study metric has been the (determinable) percentage of connections to hidden services, which are usually assumed to be disproportionately malicious.

This ranges around ~5% across most studies, the most recent one I can find shows similar results[0].

Results are limited by the inability to account for lawful use of hidden services, but also the percentage of malicious use outside of them.

[0] https://www.pnas.org/doi/full/10.1073/pnas.2011893117
The problem with YouTube and food videos
From the bottom-up, the core problem Nix solves is that of programmatically expressing package composition, in terms of reproducible builds [0]. For instance, it does away with the common notion of ambient "system libraries", and instead makes it so every single dependency is specified by the build file. If you've ever compiled a compiler and followed the folk advice to do three stages, or did cross compilation and had to juggle build/host/target triplets, Nix takes those patterns and expresses them executably.

Nixos extends this reproducibility up to the level of the OS. Rather than a machine being a giant ball of mutable state, some of it pushed around by configuration management, Nix pulls the entire system state up to a single top value which is set by the bootloader (or similar high-level mutable cell). Like switching to functional programming, at first it just appears different, difficult, and not compelling. But after you start to understand the paradigm, a lot of nice capabilities just fall out, that would otherwise be effectively out of reach.

[0] Not deterministic builds per se, which is an ongoing effort.
I have a second SIM card that T-Mobile gave me for free (no idea why). I have it installed in an Android phone running Tasker with a bunch of jobs I created to do various things. Android phone stays at home while my primary (flip phone) comes with me. I get specific Matrix (https://matrix.org) messages forwarded to my flip phone, I can query the weather, I have a couple RSS feeds forwarding, and I can enable/disable any of these tasker profiles by sending custom commands from the flip phone back to the android. Obviously this requires having a second SIM card, but you could probably find a super cheap talk/text (or text-only?) prepaid plan temporarily and set up something similar. Tasker is extremely powerful and could conceivably do most if not all of what you're asking.
Yea...

DO has some really great documentation for their services so I am hopeful they will only enhance/make-better css-tricks.
So you want a federal ban on all tax breaks? Government will always subsidize jobs and housing plus they will also prioritize external revenue sources like travel and tourism. Stadiums and convention centers and the like bring money into the city. Instead of taxing only city residents, you get to tax people who don't live there. Sure the owners are rich and don't need the kickbacks however part of politics is giving the public what they want. This is no different than Amazon looking for a handout for HQ2. This is no different than the (now cancelled) Foxconn nonsense in Wisconsin. Lots of existing factories have asked for massive tax breaks or they will outsource to Mexico, etc. This is all the same game.

I think we are looking at this the wrong way. I think cities should build and pay for these stadiums. However, it should come with express community benefit. During the off-season, it is a great place to do blood drives, have social service fairs, have people register to vote, have people vote (at a place that is built for high volume), run job training programs, run food drives/pantries, etc. Both the city and the players should be demanding this as part of the deal.
Lasers do this. The essential idea is that an incoming photon (of some specified energy E) knocks a bit of energy (specifically also E) out of an excited particle which leaves as another photon. To make this happen, you need more particles in an excited state than in the ground state[1] which is exactly the same condition necessary for negative temperature.

[1]: https://en.wikipedia.org/wiki/Population_inversion
I know that Rust seems quite powerful, but after years spent invested into learning C-family languages (C, C++, Java, Javascript, etc) it's just a pain to learn.

I've not personally spent much time in it, but I hear the biggest complaint is still the compiler support/performance being somewhat random. Can anybody here speak to that?
More sources/reports:

https://play.google.com/store/apps/details?id=com.Slack&hl=e...

https://t.me/loordofwar/1969

Similarly done to Iran in 2018: https://techcrunch.com/2018/12/20/slack-iran/

I'm sure there will be an official announcement soon.
Everything platforms know about the war but won't tell us
> These two articles will be more insightful than (sorry) any made up theories from Finnish intelligence colonel.

Or, as people used to languages with articles would be more likely to say, from a Finnish intelligence colonel.

(You know, Slavic languages' lack of the articles make really easy spot native speakers write English.)
At least with adblock it actually loads pretty fast, the issues are the annoyances, and man I didn't know how bad it was.

It dimmed the entire page to try to ask me for notification access: https://i.judge.sh/EUnAO/2_koa6cB9q.png

Then it wants to ask me about topics i'm interested in: https://i.judge.sh/RF58W/N_17B22eMD.png

Then, without ublock, below the fold, almost all of the content on the page is an advertisement https://i.judge.sh/bfACD/6_Kl9IneDr.png
The point is your da isn't being blown up. Clearly ukraine need their internet your dad doesn't need to talk to you he needs to go outside and talk to putin.
Yes, you can build all these things yourself. That's not the question (and it's what I was expanding on in the comment). The question is should you, given that there is an existing layer you can build on top of that already handles that?
> strcpy in C is Turing complete

Maybe GP meant printf [0]?

[0] https://www.ioccc.org/2020/carlini/index.html
> There are more racquet sports players in the world than soccer players.

Are there? I (or at least I think that’s being played) only know it from US American TV shows, where business people or mobsters usually play it. But I’m in Germany, maybe it’s very regional, but massive in regions it’s big in? Does anyone have some information for me?
Fair enough. These are good points. A solid analysis! I think we could try some other vector, but they probably suffer from similar issues.

Ultimately, maybe the best one is some sophisticated EMF-activated "latent agent" that you've somehow managed to "infect" the population with, ahead of time, in some arbitrarily long "preparation" step. And then, "zap", when you roll into town with your army of hippy-love-trip-party parade (actually invading force), you can broadcast the frequency that "activates" the latent agent, and induces the desired compliance. But that sounds like some high tech that I haven't seen any papers published about...
Exactly - the "blackout" sales level - if not enough tickets were sold, the game wouldn't be available locally.

Sometimes a local entity (city, owner of the team, local businessman) would buy blocks of 10k+ tickets to ensure it could be shown locally.
While that is true and for some extreme cases might stay true for a long time (> 100 years) most software has a lifetime, even if it's damn long and as long as we start writing new software in better languages we will see progress over time, simply by old software dying or no one being able to deal with the legacy codebase anymore
Doesn't everyone need geo-locate and map coordinates while simultaneously editing a config file? You're on hackernews, people will come out of the woodwork to defend this stuff.
Well, every six months for a core DB engine seems OK. I don't know if I'd describe that as glacial, but the problem is, how would anyone know that without serious investigation? There's a 7.0 release that isn't marked as beta or anything, yet, the release notes can only be found in git under a directory named "sphinx". It's very ambiguous whether this is released or not, which is weird, and doesn't send positive signals about the overall organization and focus of the project. The message it sends is that Apple have no interest in increasing FDB usage outside of Apple, basically, which from an end user's perspective increases risk. What if Apple decide it's time to move on, or close development again? A community of users and devs helps, but that's not going to emerge unless the community is a priority. Maintaining the website/blog would be step one in that process, I'd think.
Markov chains (cryptographic signatures on a linked list of transactions) have been around for much longer than 14 years. There's your "decentralized invariants on state transitions".

The "magic" provided by bitcoins was the "proof of work" part - basically trying to create only one "real" trusted branch of the markov chain at any point in time. But that "reality" has been broken multiple times by both the miners and the programers with voluntary and involuntary splits, double spends, etc.
> But I'm not particularly sold on that laziness being useful since it leads to awkward hacks like the two arguments to an overlay function. It has the one benefit of allowing you to not care about the order that overlays get called in. However it does that by giving your code magical come from semantics that make debugging a problem harder than it needs to be.

I don't consider it an awkward hack; it's a very standard least-fixed-point calculation. Developers these days seem comfortable-enough with 'self' and 'super' in OOP; that fixed-point pattern is essentially the same, but without shoe-horning magic keywords into the language.
I'll stop repeating myself when the world gets the damned hint!

(or stops complaining when something is lost because they didn't)
Congrats! I've referenced the site for my entire programing life and really like it a lot, but other than that I don't have much background on how it came to be. Does anyone know if Chris ever wrote about his motivations for or history of the site?
Well… it’s not necessarily a good idea to do 2FA with SMS. Additionally, the codes sent by SMS are usually very time-sensitive, like 5 minutes.

And it means someone has to have compromised both your computer and your SMS in order to defeat the 2FA. Which doesn’t make it impossible. But it’s not trivial to coordinate those things.
Firefox bins Russian search engines over misinformation fears
In Portugal they will do that for even 5€ of tax bills...
> [It] involve companies being efficient and/or products being basically as good as possible because, if it were possible for them to be better, someone would've outcompeted them and done it already.

Must be a generational thing but I don't think anyone i know (ie under 30) genuinely believes this anymore.
Your whataboutism is missing the core point.

These privacy tokens enable ransomware, full stop. Taking money from them enables them to exist and to allow criminals to continue using Zcash, Monero, etc and effects are huge. They are not even regulated and this needs to stop.

Even if I were to use these crypto tokens, the price would fall over drastically upon receiving them. No notable improvement or use at all than receiving a donation or grant via card payment straight into my bank account. No scams or price drops at all there.

> Others of us have the opinion that despite bad people existing, supporting the freedom and anonymity of people, good or bad, is an improvement to the world.

There is nothing wrong with having privacy enabling technology, I didn't argue this at all so I am calling strawman on this.

What I do not want is for the Tor foundation endorse or accept money from a project that environmentally destructive and only benefits speculation, scams and doesn't work as a currency at all.
> strcpy in C is Turing complete

I was curious too, but my google-fu did not succeed. The closest I found is about printf being Turing-complete [1], which is also new to me.

[1] https://www.ioccc.org/2020/carlini/index.html
Come to India, you can live in luxury with the same amount.
A bookmarklet shall be good enough for most people, since you are only passing the URL.
Https://textit.com
I think we're talking past each other. You're talking about individual cyclones; I'm talking about the overall effects for cyclones in general.
You could sell to private capital, or a company not currently in the semi industry that wanted to enter.

[edit] Oh it says it right in the article: "SoftBank, Arm's owner, responded to that setback with a plan to float the chip design firm by March 2023."
> Global mean sea level, or the average height of the ocean surface, has risen 6 - 8 inches (15 - 20 centimeters) since 1920. In the continental U.S., relative sea level has risen about 10 - 12 inches (25 - 30 centimeters) over the same period. Observational data from tide gauges and satellites also show that sea level rise, both globally and along the continental U.S., is accelerating, with more than a third of that rise having occurred in the past two and a half decades (see NOAA and NASA portals for altimeter-based global rates and NOAA for local tide gauge rates).

So, 30% of the normal one foot per century (somewhat less worldwide) happened in the last 25% of the time. That’s not a big acceleration, that’s measurement error.

And yet this report says the rate of rise will nearly triple over the next thirty years. This is simply not plausible.

Generally, the report reduced the predictions. Also, they eliminated the 2.5 meter (!) scenario.
Personally I'd take a job based on the pay & how much you like the company vs what specific tech stack they're currently looking for. When I'm getting paid to do it, I like just about any language; getting to use rust is just a bonus. You might also be able to select rust for a new project in the future.

That said, I see postings from time to time in /r/rust. Maybe check the monthly HN hiring threads?
> Living in an urban environment, there's a non-negligible amount of ambient light that makes its way in. I don't use a set of blackout curtains, but I know several friends that say it makes a real difference.

God bless Europeans and their cutting edge roll shutter technology, I can sleep in total darkness despite the street lamp 10m away from my bedroom window. And ye[, it definitely makes a difference.
Fair enough and as I mentioned, "nothing prevents Rust to have similar options", so I don't want to make this a kind of C++ vs Rust kind of thing.

All the best for the project.
Why Should I Name a Project?
I use a mask too, but it moves around when I sleep. Even properly positioned I haven’t found a mask that doesn’t leak around the edges.
lol, this is what happens when massive organizations with bloated budgets have nothing to do. Suddenly an extremely small group of sad, disaffected weirdos have been branded terrorists.

I think we need a disgruntled ex postal worker task force too.
Ah, thanks for clarifying. I don't think Dart is quite so similar to Java that it needn't exist, but I understand what you meant better now. I haven't used Swift, and I'm not likely to, but it sounds pretty good.
Yep. I sort of agree with the point about stadiums and certainly about the Olympic games. (I was very opposed to Boston thinking about bidding on some Olympics or other.)

But cities/states subsidize a lot of things from public transit to parks to parades to cultural venues to say nothing of schools out of taxes. To say all that should be completely privatized is, yes, an extreme position.
https://hn.algolia.com/?dateRange=all&page=0&prefix=true&que...

Also dupes are pretty common, it'd be weird to the repaste the same discussion into every dupe thread.
End user convenience.
Not just native code either, Rust also makes WASM development practical in a way few other languages can.
How Chrome Became Highest Scoring Browser on Speedometer, Ever
If they're actually armor, this is the idea: https://streamable.com/8y9z00

Two caveats though:

- This kind of armor is pretty much useless against modern weapons.

- They may not be intended as armor at all, but serve another purpose.
I have met precisely one German fan of American Football. He rooted for the Stuttgart Stallions[1] who I had never heard of before. So, it’s definitely niche, but there are European leagues. Somewhat amusingly to me they call it “Football” as Americans do.

[1] https://de.m.wikipedia.org/wiki/Stuttgart_Stallions
I can't imagine how boring and bereft of life cities would be if rational HN nerds ran them. Trees? Parks? Where's the return on them? We don't need them!
i3-12100f is almost 100 usd cheaper in most builds you would use extra cash for better gpu or just get i5-12400f with the same / lower price and higher clocks but lets wait for benchmarks.
I run everything with uBlock Origin and uMatrix (maybe it’s like amp where it slows down if you block something…), it’s most certainly still far slower than old. I recently gave it a try again and it either got worse or I had forgotten just how bad it was.
Celebrating Pi Day with Cloud Functions
This. For every short-sighted decision made by the finance overlords, I've seen ten failures on the tech wizards' part to plan for their own future well-being. Laziness keeps them from even making a case.