skysight-inc/HackerNews huggingface dataset:
> The thing I really want to try and get across here is that *Rust is not a language where first-class functions are ergonomic.*

So... don’t use first-class functions so much? It’s a systems language, not a functional language for describing algorithms in CS whitepapers. Or use `move` (the article does mention this).

There are easy paths in most programming languages, and harder paths. Rust is no exception. The fact that passing around async closures with captured variables and also verifying nothing gets dropped prematurely and without resorting to runtime GC is bleeding-edge technology, so it should not be surprising that it has some caveats and isn’t always easy to do. The same could be said of trying to do reflection in Go, or garbage collection in C. These aren’t really the main use case for the tool.
Good Artists Copy, Great Artists Steal (2010)
In my case since its background workers, I don't mind the slow startup and I never measured it. Sorry couldn't be more helpful.
Challenge Progressives to put their money where their ideals are: crowdsource it. Buy the subdivided lots and give them to prospective residents.

Or some form of creative financing. Change the game; 1/4 acre lots for $10,000 are just sitting there waiting for someone to make 600 happen all at once.

It’s doable. Those pining for better treatment and cheaper options should step up and make it happen.
Papers Without Code
I don't know rust good enough but the article sounds like 'I can't write it like I want, therefore it's bad'.
Couldn't he just pass a named function instead of an anonymous one?
I was an undergrad in biology and just finished my masters in comp sci last year. Now working at a FAANG as software engineer. It was 100% worth it for my long term career. Wouldn’t recommend for someone with CS undergrad already though if you’re only focused on career prospects.
Nuclear requires vastly more resources per kWh than wind, so we aren’t going to hit an inflection point where suddenly nuclear is better for the environment.
I was able to make the election for my prepaid account.
How is it even a bubble? A bare handful of high status sales? Sure the asking price for some silly crypto kitty might be high but is anybody really buying? And where's the proof that they are?
This was largely my experience as well. It was nice enough and I ended up with a job that I prefer greatly to what I was doing before.

Perhaps I could have done the same or better and saved some dollars with independent study and more networking, but it was certainly easier and more pleasant to do it with some guidance.
Ya but if you have any other recommendations let me know!
Airbus would not have grown up organically.

At a certain scale, things don't come out of thin air.

There's almost no chance of something like this happening on it's own, although the initiative is probably doomed, it could feasibly work if done right.

I'm doubtful but there is a path that could work.
> The end result is what you describe - people turn companies into singular, personified entities, because our lives are completely shaped by interactions with mostly-understandable people-units. Most people just don't have the mental model to process the behavior of multi-national conglomerates (I certainly don't) so our brains filter the incoming information (observed behavior) until it becomes something we can successfully process without too much mental stress (i.e. pretend it's a person).

IOW, humans have and apply a theory of mind to other humans, but don't really have one for corporations (or other large organizations which are composed of humans, but whose organizational complexity is somewhere between that of a slime mold and an ant colony), so we (mis)apply the human one to the group.

This is far from a new phenomenon (although large orgs used to be less common), and many people do have what amounts to a TOM for small groups of people, so at that scale we are much less likely to anthropomorphize, but above a certain scale it becomes inevitable, particularly since it is often to the advantage of various humans within the org to encourage and leverage that anthropomorphization to wield authority, evade responsibility, or both.

The interesting thing is that we have much less trouble seeing groupings of non-humans (eg. herds, flocks, insect colonies) as fundamentally different than their components merely writ large, with behavior patterns all their own. OTOH, we certainly still have a tendency to anthropomorphize both the individual non-humans as well as the groups, so perhaps with human organizations the problem is just that anthropomorphizing the individual humans would be redundant.
> The prohibitive cost of nuclear plants is driven by policy- not economics.

So, what was the policy that caused Vogtle 3/4 and the Summer plants to go so wildly over budget? Was there a policy for Westinghouse to screw up badly? And similarly for Flamanville 3, and the new plants they're trying to build in the UK.

The argument for "less regulation" is really the argument "who needs expensive containment and emergency systems, because radiation is no big deal".
Now he’s poorer and lies intelligent
What's an alternative to async/await that's explicit about runtime costs?
Here it is: https://lamport.azurewebsites.net/pubs/time-clocks.pdf
Iron and B12 seem like obvious avenues to explore here. Anemia in particular is very common among vegans and vegetarians, since it takes a good bit of care to reach optimal iron levels without consuming heme iron or supplementation.
Guardian was telling us that masks actually cause you to get sick one year ago.
If "activists" stopped spending all their time fear-mongering about how expensive, dangerous, and time-consuming nuclear is we could have had massive government subsidies to almost entirely end fossil fuel production for energy!
Strange. The guy who fixed the issue works at Microsoft, but uses his gmx email for Github.
> Top management consulting firms (McKinsey, BCG, ec) are insanely competitive and won't consider anyone without elite credentials

That’s why they are failing. Broken hiring processes. Big Tech is eating their fruits.
This is a pretty good example of how Cloud Run is better, as those connections to the database would be divided by 250 (lambda supports no concurrency). Lambda supports docker containers now but Cloud Run was also ahead of the curve there.
> But if you didn't have the service in the first place - if there was only the library, containing all the functions, doing whatever the service was supposed to do in the first place - you wouldn't have this problem. Users who don't upgrade would suffer whatever problem exists in the initial version of the library, and everyone else would be fine.

While I tend to prefer a library over a service where possible, there’s an implication I didn’t see mentioned: if your use case involves communication between library instances (or collaboration on shared data) at runtime, you might have to choose between requiring users to only run matching versions of the library (complicates library use) or implementing very strong backwards compatibility (preferable, but can seriously complicate iteration, especially during early stages).
Not to be picky about you and the extension, but the fact that a lot of extensions need this kind of access to critical access, such as AWS. It takes a LOT of trust to run those. After that sleeping tabs extension fiasco, I'm done trusting anymore extensions like this.

It's nice to have improvements on website apps like this, but the risk is not worth it.
Do you have a source on people generally disliking async/await? I've become a fan of it in JS.
An extremely fast JavaScript bundler and minifier
esbuild.github.io/
I too did not understand what this did!

Is just a service to automate back links?

Like some sort of SEO spam?
Meyers Leonard’s gaming sponsorship has been cancelled due to anti-Semitic slur
This is a good example of simple vs. easy.
We switched two weeks ago and the drop was a bit more than half the total time we had with Webpack in development and a bit bigger drop in production builds.

Our bundle got noticeably smaller, but we chalked that up to esbuild not polyfilling for as early a target as we had been with babel-loader.
it is literally impossible for renewables to replace fossil fuels given current technology and anything on the horizon for at least the next decade, probably much longer.

So that leaves...Nuclear.

So again, why are you fear-mongering about how "dangerous" nuclear is when it's a tiny tiny fraction of the real danger of fossil fuels?

I thought climate change was like an urgent crisis or something....?
Big Market Delusion: Electric Vehicles
I think the question is whether renewables should replace nuclear or fossil fuels first. The top level comment isn't talking about replacing fossil fuels with nuclear.
You’re right, partially. In the sense that to mine bitcoin/etc you need something more powerful... but you could just create a new type of crypto to be mined specifically in low power/IoT devices. Something like [1]

[1]https://www.helium.com
We already have days or weeks of power storage: natural gas in storage caverns. We could easily have hydrogen stored in such caverns.

The single salt formation near Delta Utah could store enough hydrogen to supply the entire US electricity demand for 30 hours.
This is going to continue blowing up the cyber insurance insurance market for startups.
Yeah, a struct holding four different closures is not a pattern that makes much sense in Rust.

That would look a lot better as a Trait with four methods.
What's to fear? We officially de-recognized Taiwan ages ago and our economy's married to China. China will do whatever they want with Taiwan. China won. We won't even sanction them in any serious way for their genocide they are prosecuting right now.
You could use the same argument for snake oil, which I think is pretty universally not accepted as moral.
>Cynical because it doesn't acknowledge the value that a well functioning and regulated financial system can create.

You don’t need gambling to have a well functioning financial system.

The price of goods at Walmart is not based on what uninterested bettors think the price should. It’s just based on supply and demand.

We don’t need gambling to have a functioning financial market.
Reading through everyone's replies below (some good stuff there), I thought I'd add another point of view.

You said:

> Hopefully in a few years I'll be able to start my own business related to this field, but that's an aside.

Depending on how important starting a business is to you, I would perhaps weigh this up more strongly in your decision to pursue a Masters.

I was a fresh graduate with a BSc in Computer Science when I started my software company (~15 years ago). The fact that I had a BSc never came up once in my business dealings. Literally never.

But having a BSc at the time gave me peace of mind, knowing that I could fall back on decent employment opportunities should my business venture fail to take off.

Some years later I earned a Masters degree (part-time, whilst continuing to run my business). My motivation to do so was primarily driven by ego and insecurity.

The fact that I have a Masters has also never come up once in my business dealings. Again, literally never.

So was doing a Masters a worthwhile pursuit?

To some degree (pardon the pun), it certainly was - in that I learnt more about my craft, as well as about myself - and I made some good friends along the way.

But was it worth it? That's tricky to say.

It was a significant opportunity cost in terms of my time and money. And the lessons I've learnt along the way through practical business experience (both technical as well as life lessons) far outweigh those I learnt during my Masters.

I guess what I'm trying to say is that, depending on the seriousness with which you wish to pursue starting a company, I would weigh this up more strongly in your decision.

And if you are indeed set on starting a business, then unless your Masters will directly impact your odds of success in doing so, I'd perhaps think twice.

Hope that helps, and good luck with your decision and your path going forward.

EDIT:

Probably the best advice I received as a youngster with entrepreneurial ambitions was to "take risks whilst you're young, before you have big financial obligations (such as a mortgage bond and / or a family to support)".

I'd urge you to also weigh this advice into your decision of whether to pursue a Masters first and start a business later, or vice versa.

Depending on where you are at in life (in terms of those big financial obligations), this advice might help clarify which path makes the most sense for you :)
https://archive.is/qhIjV
It's pretty brutal for the athletes to move the Olympics. It's already such a rare event that having a delay of even a year will mean some of them are missing what would have been their peak year physically - the more you delay it the worse that gets.
Async isn't really the problem - the same issue pops up with error handling, with resource management, with anything where you want to pass functions around. The real problem is that Rust's ownership semantics and limited abstractions mean it doesn't really have first-class functions: there are three different function types and the language lacks the power to abstract over them, so you can't generally take an expression and turn it into a function. NLL was actually a major step backwards that has made this worse in the medium term: it papers over a bunch of ownership problems if the code is written inline, but as soon as you try to turn that inlined code into a closure all those ownership problems come back.

IMO the only viable way out is through: Rust needs to get the ability to properly abstract over lifetimes and functions that it currently lacks (HKT is a necessary part of doing this cleanly). A good litmus test would be reimplementing all the language control flow keywords as plain old functions; done right this would obviate NLL.

But yeah that's going to take a while, and in the meantime for 99% of things you should just write OCaml. Everyone thinks they need a non-GC language because "muh performance" but those justifications rarely if ever hold up.
This.^^

Get a group of 20 random people together and tell me there isn't a dickhead in there somewhere that will intentionally misuse things for whatever perceived advantage they can get.

The problem isn't the tool. It is the humans.
Whig History, Decadence, and Stagnation
The year that CRISPR moves from lab to clinic
You forgot

0) Race consegmentation fault (core dumped)

(I know I was ninja’d but didn’t see until after)
> Based on experience with Pingbacks, the Webmention specification requires the sending site to have a mentioning URL on a publicly available web page. This requirement by itself cuts down significantly on spam as it increases the cost of sending it. (Pingbacks/Trackbacks didn't have this requirement so it was easy to programmatically spew spam in all directions.)

It wasn’t required for spec. conformance, but it was recommended by the spec. and implemented by all the early implementations.

> Upon receiving a request, servers MAY do what they like. However, the following steps are RECOMMENDED:

> The server MAY attempt to fetch the source URI to verify that the source does indeed link to the target.

— https://www.hixie.ch/specs/pingback/pingback#TOC3

> In addition to this, there's no requirement to show the received Webmention, so there's less benefit to some spammers in these cases.

This wasn’t a requirement for Pingback either.
Show HN: Open-source tool to automatically transcode and format video library
Success King Affiliate Marketplace – Success King Marketing Inc
Slack and its threading model is one of the most frustrating communication tools I have ever used.

Zulip is unimaginably better for long-running semi-structured conversations, both for casual lurkers and heavy participants.
You’re right, the way that other jobs that pay as much hire is far more biased to people of the right social class who have been trained into the correct expectations of how one is supposed to act. Tech’s hiring process is more open to people without that kind of experience.
From what I've seen, we have failed utterly in protecting vulnerable people. The focus on blanket lockdowns and enforcing silly rules has distracted from hygiene measures that actually could have kept vulnerable people safe. Where I am, almost all the deaths have been in nursing homes, which were a hotbed for covid cases. Fining kids for having a picnic in the park did nothing to stop that, but that is what people liked to focus on because it fits the overall culture that has formed around covid.
Rust was the first language that made it efficient, abstraction without overhead (which took many years of work). It’s just a state machine with an enum holding the state, but of course it means that the memory model is harder to understand than with JavScript.
http://travaux.ovh.net/?do=details&id=49484

"We are currently facing a major incident in our DataCenter of Strasbourg with a fire declared in the building SBG2.
Firefighters were immediately on the scene but could not control the fire in SBG2.
The whole site has been isolated, which impacts all our services on SBG1, SBG2, SBG3 and SBG4.
If your production is in Strasbourg, we recommend to activate your Disaster Recovery Plan.
All our teams are fully mobilized along with the firefighters.
We will keep you updated as more information becomes available."
etckeeper and friends (I have a git checkout in /etc/nixos on nixos machines), portage sync on funtoo, pulling ports tree or even system source on a BSD, grabbing setup scripts during install of Arch before a non-root user exists
C# and C++ adopted basically the same model.
Isn't async/await from F#/C# world, or Scala has a different variant?
RSS doesn't give you reliable access to first-hand accounts, citizen livestreams, the people and their groups directly involved in events, or a network of other observers actively searching for and sharing from sources you would otherwise never have heard from or of.

RSS brings you the publications you're aware of, and maybe a few bloggers with the time, money, and energy to maintain a blog.

I can't ask a journalist for more details or check their work. I don't know how well they translated the niche knowledge required to understand the story for public consumption.

Facebook comment sections can be a cesspool, but with groups you can usually find an actual subject matter expert who's engaged with what's happening and is engaging as an interested observer (not a preacher) that you can drop a line for more details.

RSS is about passive consumption. It has its place, but it can't replace the tools Facebook give (engaged) users to understand the world better.
The real problem is that we should have locked down differently. Lockdowns were absolutely necessary, but the way which we locked down - what was allowed / restricted and the way we emotionally dealt with the pandemic - was really, really bad.

- Half-assed enforcement, mainly using shame and fear. This leads to good people overcompensating and assholes ignoring the restrictions. Any level of lockdown is better if it's actually enforced on everyone.

- Allowing and restricting all the wrong things. Boston had indoor bars and restaurants allowed but closed schools and gyms, WTF? People continue to work in-person but all leisure activities are cancelled. So (combined with bad enforcement) you are hurting good people and not actually mitigating the virus at the same time.

- Worst of all, not the actual restrictions, but the hopelessness everyone expresses towards them. "Welp, looks like we have to isolate and be depressed for the next 6 months". You can hang out and have fun without spreading the virus, but most people don't even try.
> There is a particular risk, unlikely but theoretically possible, that I'm thinking of here. [...] TL;DR - there's a mechanism where a sudden large, rapid drop in BTC price might perhaps cause a sustained collapse of BTC price.

This scenario is known as the "chain death spiral". When BCH forked from BTC, the BCH backers hoped to cause a death spiral on the BTC chain, so that it would die and be replaced by the BCH chain, the later having a modified algorithm which adjusted the hash difficulty faster. IIRC, they failed for two reasons: first, there was a large enough group of miners which didn't defect and stayed on the BTC chain even while the BCH chain was more profitable, keeping the hash rate high enough that the difficulty adjustment kept working; second, the faster difficulty adjustment of the BCH chain led it to oscillate between long periods without any block and periods in which many blocks were mined very quickly, most of them empty. IIRC, this ended when the BCH chain hard forked again to change its difficulty adjustment to one which didn't oscillate as much; however, the hype caused by all this mess (whoever had Bitcoin had doubled the amount of coin they had! Of course, half of it was BTC and half of it was BCH) led to an increase to the price of Bitcoin (and a few more forks).
You can definitely walk around naked in the pool locker rooms I’ve been to, but they have cubicles so you don’t have to
Maybe this is it?

https://mostrecommendedbooks.com/alexandria-ocasio-cortez-bo...
The advantage of combustion turbines is that there is much less transfer of heat across fluid/solid interfaces. In a simple cycle combustion turbine, no such transfer is needed. The heat is generated by combustion in the working fluid, which carries away the waste heat after expansion. Combined cycle does add a steam bottoming cycle that needs heat exchangers (before and after) and cooling towers, but most of the power is still coming from the combustion turbine, so the steam part is much smaller than in a pure steam plant of the same rated power.
This article is a bit confusing. The concrete issues described all relate to closures, but the author says the real problem is async and they liked Rust before that (when it had the closures they have concrete issues with?).
For a few months while I was between jobs, I decided to learn Rust. Because async code is supposed to be better than threaded code, I spent all my time trying to write async Rust.

Big mistake! I never accomplished what I set out to accomplish.

Most of my experience is in C#, where the difference between async and threaded code is mostly syntax sugar. (Until you get into the details.) (And async code makes writing UI code much cleaner.)

Trying to write async Rust as a novice is downright hostile. The tradeoff of threads makes async code such that it's only worth it if your Rust process will have highly concurrent load; as opposed to C# where refactoring threaded code to async is housekeeping.
I disagree, a world where any job can be coerced into being a sex job is a worse world over all. People don’t generally get away with coercing women who are researching astrophysics into sex these days, your idea would make that legal and thus more common.
I could nitpick a few things here (you can use Arc to get around most of the reference-related issues, for example), but I mostly agree with the overall point: some things are just not as ergonomic in Rust, and may never be. I haven't done async stuff in it yet, but I've encountered my own situations where it feels like the language "doesn't really want me to be doing X". And honestly, I think that's okay.

I'm someone who wishes I could use Rust for everything, but I'm coming around to the idea that it isn't really suited to everything. It was designed for the problems faced by low-level programmers, and it continues to be something of a revelation in that area, and it has also really punched above its weight in totally unrelated areas, and that's great. But I don't know if we should expect it to be great at those other areas that are so far outside its core wheelhouse. I think it's good that Rust has an option for async, but comparing its async ergonomics to Go may just be an apples-and-oranges thing.