skysight-inc/HackerNews huggingface dataset:
Most compilers don't just wrap the rest of the function into a lambda but build a finite state machine with each await point being a state transition. It's a little bit more than just "syntactic sugar" for "callbacks". In most compilers it is most directly like the "generator" approach to building iterators (*function/yield is ancient async/await).

I think the iterator pattern in general is a really useful reference to keep in mind. Of course async/await doesn't replace threads just like iterators don't replace lists/arrays. There are some algorithms you can more efficiently write as iterators rather than sequences of lists/arrays. There are some algorithms you can more efficiently write as direct list/array manipulation and avoid the overhead of starting iterator finite state machines. Iterator methods are generally deeply composable and direct list/array manipulation requires a lot more coordination to compose. All of those things work together to build the whole data pipeline you need for your app. So too, async/await makes it really easy to write some algorithms in a complex concurrent environment. That async/await runs in threads and runs with threads. It doesn't eliminate all thinking about threads. async/await is generally deeply composable and direct thread manipulation needs more work to coordinate. In large systems you probably still need to think about both how you are composing your async/await "pipelines" and also how your threads are coordinated. The benefits of composition such as race/await-all/schedulers/and more are generally worth the extra complexity and overhead (mental and computation space/time), which is why the pattern has become so common so quickly. Just like you can win big with nicely composed stacks of iterator functions. (Or RegEx or Observables or any of the other many cases where designing complex state machines both complicates how the system works and eventually simplifies developer experience with added composability.)
Derek Sivers — Tech Independence

https://sive.rs/ti

Also what’s kinda cool is he encourages e-mailing him / reaching out . He’s pretty great
You're upset that a fantasy world that is based on a real place, but isn't that place mind you, added a black character? In a world with ice magic, animated snowmen, and singing reindeer you are upset about diversity because it's not realistic.
Would it have been more horrifying than seeing public executions or bodies mutilated through castration or circumcision in Europe?
I got 8 kids, and monkey guy and his wife delivered them and found them all good homes to live in. I see pictures of them regularly and I might be a grandmother next year.
My two primary tips:

1) Keep notes as you set it up. Include problems you encountered and what the solution was, develop lists of how to install and configure the various services so you can refer to them should you need to reinstall things in the future.

2) Do it one service at a time and get each service completely running before starting on the next. Your server isn't a single thing, it's a home for multiple things. Do each of those one at a time.
One quick (but possibly retro) suggestion is to just host something small on your home network. Could be a raspberry pi. Getting the os and network to the point where you can host a simple website - perhaps with the aid of a dynamic DNS provider - could be a huge step.

What if you set a goal for yourself - that whenever someone clicks the user page for CXTC on HN, it contains a link to a web page on this server you have built.

Anything further (in terms of hardware, not-self hosting, etc) is incremental.
Graphics Programming – Where to Start?
python3.xx -m venv .
False reporting by the people who were on the ground, people with the perverse incentives of fame and fortune.
Imagine if you had to own the same phone brand to call someone else…
Fake your results from your favorite NYT games
So, what is "the tool for beginners fighting with python packaging problems"?

That is, the pattern seems to be that someone mentions a solution, then a zillion responses as to why it sucks.

Is there any tool or pair that sucks least for most cases and beginners? I get that every case is different, but perhaps there are some useful starting points?
Maximum solar potential, with 40% efficient cells, is about x2550 the total combined power output of every engine, vehicle, industrial and domestic heating system, and electrical power plant combined.

Even assuming we want to increase the world average from the current (roughly) 2.3 kW to average consumption of the single most intense nation (Qatar, at roughly 23 kW) while also using 20% cells, this is still less than 1% of the surface of the planet — for comparison, about 4% of the US land area is "urban", and a further 21% is cropland, and 35% is pastures and ranges.
That in no way justifies the behavior of the Spanish at the time.
Well I hate to say it as I am also living in Spain, in the south, but there is definitely a culture of making stuff with the minimum effort and a lack of focus on quality.

And I too do joke that it feels colder inside than outside from mid november to mid february.
What dongle have you seen that can "hide snugly in the connector"? Any that I've seen just stick out.
The interesting question is why you agree, the deprecation fact isn't telling much, the quote also doesn't explain anything, like, the "appropriate data fields" might not exist for mixed content, a rather common thing, and why resort to the full ugliness of XML just for this?

(and that emojis have had their positive impact in forcing apps into better Unicode support would be a + for the use of a tag)
Wait, are you supposed to shut down your computer?
Starlink satellites: Facts, tracking and impact on astronomy
Digital Ocean droplets can be created within your price range with a very vanilla version of Debian installed. My personal website runs off one.

I've used AWS a lot for larger projects but they do a lot more to create vendor lock-in which breaks the idea of a "Linux server", i.e. it's easy to end up inadvertently depending on Amazon tools.

Running your own physical server is also a valuable experience, but it's a significantly larger commitment which is less reward-per-effort in my opinion.
If you use a Mac and just want to mess around with linux try something like Orbstack(https://orbstack.dev/) to start up VMs and mess around. The benefit of this is you're going to break things a bunch as you get started. Going from there I'd start looking automating the deployment of the various components the 'old fashioned' way aka writing shell scripts/using SSH. Once you do that then go to using things like Ansible or Terraform etc.
Why Elon Musk's "everything app" ambition for X is likely to fall short
I fell out of love with C++ over a decade ago.

The discipline required to not shoot your foot off in a non trivial project was far greater than than the extra code needed when writing plain C, or, for bigger projects, C# and Java.

I still reach for C first, and if I need higher level abstractions, I'm reaching for something other than C++.
Dotnet uses Nuget[1]. Packages in the system are immutable, & never changing. They can be unlisted, but never deleted (except in limited & extreme cases, like malware), which means even if a package maintainer stops publishing new versions to the repository, existing packages will continue to be publicly available for as long as Microsoft continues to exist.

[1] https://www.nuget.org/
From experience, the size doesn’t matter as much as the delta in revenue, or size of that client’s project vs. typical projects. And on the flip side some of the clients that paid least were the hardest to get to sign off on projects, but at least those don’t actually think they’re entitled to harass your team.
Funny to see so much admiration for psychedelics from universities such as MIT.

Has there ever been any objective -strong emphasis- of the efficiency of LSD to improve cognition, creativity or consciousness? Because I definitely never see LSD listed in the category of "doping" substances. The main advocates are users themselves who think they had a revelation - but how much of it is self-delusion? I'd hasard it's a lot - if not all there is to it.

(I would be fun to imagine a plant of fungus whose evolutionary niche would be to seduce animals/humans they need it - leading to it being cultivated)
I don't think Shasta is considered part of the valley -- there are 20-30 miles of hills/mountains separating it from the northern end of the central valley (Redding).
The Contrapositive of "Politics and the English Language."
See also: Data, context, and interaction (DCI, 2000-) [1]

> The paradigm separates the domain model (data) from use cases (context) and Roles that objects play (interaction). DCI is complementary to model–view–controller (MVC). MVC as a pattern language is still used to separate the data and its processing from presentation. [1]

> DCI was invented by Trygve Reenskaug, also the inventor of MVC. The current formulation of DCI is mostly the work of Reenskaug and James O. Coplien. [1]

[1] https://en.wikipedia.org/wiki/Data,_context_and_interaction
How much money has Boeing paid over the last years to their genius CEOs? I bet this guy gets another 100 million for his service.
I like the idea!

Have you seen redbean, which is a universal binary and serves static files from a zipfile? How does this compare to that?

Honestly, I think that the current Web can easily use libp2p from IPFS and serve files from any browser peer to peer, with relays on the internet.

I think the Web lacks two major things:

1) Address resolution only uses federated DNS and you need extensions to use, say, self-sovereign Web3 domains which can’t be stolen

2) There is NO WAY to load files by their content hash like onion links in Tor. If there was, we’d have a much more secure Web.
Plug for Mise (https://mise.jdx.dev/) which is like asdf (which is like pyenv, but for any language you might want all in one tool) but written in Rust and without shims (by default) such that it’s much faster at running the activated runtime. It installs runtimes in parallel and will even download the correct plugin if you don’t already have it installed. It can also replace direnv, which I haven’t done because I’m using it as a drop-in replacement for asdf with the .tool-versions files my team already has in every repo (it supports .python-version as well if you’ve been using pyenv). It works great as a “better asdf”/“better pyenv” for my purposes.
Cancellation is not worth worrying over in my experience. If an op is no longer useful, then it is good enough if that information eventually becomes visible to whatever function is invoked on behalf of the op, but don't bother checking for it unless you are about to do something very expensive, like start an RPC.
The US deindustrialised more intensely than Germany (think of rust belt), yet it seems energy production almost doubled since then [0]. I think energy production is more a function of the economy than of industrialisation.

And in the special case of Germany, the relatively small amount of industry that remained domestic kept Germany relevant globally. If Germany looses that, it becomes a fully service-based economy which the anglo-states are much better at (think finance, IT).

[0] https://www.eia.gov/energyexplained/us-energy-facts/
Alibaba Researchers Probe Large Language Models for E-Commerce Translation
Boeing has declined in quality over the last two decades. They used to be considered great. How could he be the best if their tailspin started around 20 years ago?
How? Opera has been available on iOS for many years (using WebKit).

A custom WebKit browser can collect/sell/lose your personal data just as easily, assuming that's your concern.
Directors don't like to be reminded that they hired incompetent people.
Surreal you're comparing this to a compiler like its in any way comparable.
Death is a much easier statistic to track than dehabiltiation. The tens of millions of people who have long covid are statistically significant over the fewer dead.
That happens, but it's far from the whole picture. When energy is cheap you grow a lot of low hanging fruit savings not taken that suddenly become worthwhile when prices rise. Market economy is ruthless about optimisation, and when a change from a wasteful process to a less wasteful process is even the tiniest bit more expensive to perform than just paying for the extra energy, then market economy dictates that it's not done.

Artificially increasing energy price can actually make an economy more competitive in the log run, when at one point in the future energy price will rise anyways. Even if we did not have any CO2 disposal problem, the era of fossil fuels would still end some day. Perhaps not even that far in the future, because imagine how much faster consumption would have risen in absence of any CO2 considerations.
HN encourages downvoting for disagreement: https://news.ycombinator.com/item?id=16131314
My experience is I did a systems administration internship and i had to play with all the services, it taught me a ton about tools and layers below where I usually operate (Go APIs and backend services). If you're just wanting to get skills on system administration and linux. I'd start with either 1) an old machine you have lying around (or pluck one from a recycling center) or 2) a virtual machine, and 3) once you have confidence on a single box, start to use multiple to make clusters/replica sets of things like multiple nodes of HTTP server, or multiple nodes of a mongodb, etcd or other distributed systems. Try doing work on them and pulling the plug on one mid execution to see what happens.

From there try to play with a bunch of the following things: (OTOH, no particular order)

setup a domain name server like bind (<something>.localhost?), setting up an SMTP service, setup an IMAP/POP3 service, set up a http server like nginx, lighttp, apache, try communicating to the http service over telnet, setup a https certificate with lets encrypt, try doing the same telnet to https and get it piped through gnutls, setup nightly backups to an external HD (try rsync), setup a spam filter for your SMTP server, try to run excalidraw on your http service, build an api that sits behind your HTTP(s). use tcpdump and wireshark to inspect network traffic.

Most of that should be google-able :)

Edit: MOAR

fail2ban, ssh-server, iptables firewall, irc server, sftp host, kubernetes cluster of virtual machines, hadoop/spark for a map reduce workload, check out https://www.cncf.io/projects/ and start to learn to build with those projects/abstractions.
Make and host a simple web app:

Django(Python) - gunicorn - nginx

You could run it on a raspberry pi for no ongoing cost
For the records Apache Kafka defines a fairly sophisticated write protocol: request and responses, message formats etc. This is the only way any client interacts with a Kafka broker. The Kafka Java library uses that, and so is librdkafka (offering a low level C API). The latter is used by non JVM based clients -- Python Common Lisp: via FFI.
There are reasons why locals deserted these places. Dealing with Italian beaurocracy, cliques, and organized crime is a nightmare. Nobody will throw time, money, and health at these piles of rubble. To avoid any temptation, delete from your playlists all American romantic comedies about Americans finding happiness in Italian countryside. Attractive places are already owned by industrial and aristocratic families, for centuries, and they are not for sale cheaply.
The EU has long lost the plot with all the bureaucracy and rules. People like it when the government cracks down on powerful corporations, not understanding that the government apparatus is the most powerful and dangerous institution of them all. I'm not fully against that part of the DMA, breaking up these walled gardens could be positive. But history has shown once they start meddling with the markets, governments rarely know when to stop. That's because people in positions of power generally think they're in control and know what they're doing.

Look at the recent bottle cap directive for a more insane example. There are sadly hundreds of such cases at this point and the number of rules keeps growing year by year. Doing business in the EU will become more and more difficult and especially the cost for starting a new business is growing massively because of what needs to get invested in compliance before you even get started. This will be devastating for innovation and their economy as a whole.
Sounds unappetizing. Would you want to eat packaging if not for the - for now inevitable - digestion issues?
I wonder if this means I can do the same with other similar unifying dongles.
> Whatever the app or the device, accessing a register is always going to be faster than random places in RAM, which is always going to be faster than fetching something on disk and even moreso if we talk about fetching stuff over the network.

The network is special: the time it takes to fetch something over the network can be arbitrarily large, or even infinite (this can also apply to disk when running over networked filesystems), while for registers/RAM/disk (as long as it's a local disk which is not failing) the time it takes is bounded. That's the reason why async/await is so popular when dealing with the network.
No, Apple was not trying to protect users from using spyware. They just wanted users to stay inside of their own ecosystem. Apple is not the good guy.
Who Killed Canadian Venture?
Yes, since I can afford it. I feel bad for all the people out there who are students or otherwise under budget constraints. I go on Reddit or Discord and hear stories from people who are stuck on computers with 4GB RAM dating back to 2015 or earlier.

These people are being left behind, which is a shame. Part of the justification is that anyone who has such old hardware can’t afford to buy your products or services anyways, but that’s a very narrow capitalist lens. These are motivated, intelligent people who could better contribute to our society if we made sure that you could do good development work on old hardware.
Yeah iirc his studio burned down at the hands of anarchist vandalists.

Building some great indulgent monument to god wasn't exactly uncontroversial in the political climate at the time, as I understand it.

Anyway, his plans wouldn't have been detailed enough to just go and build it. There was a lot of interpretation to be done in any case.
Y'all caught me being less than rigorous in my language while posting from my phone while in the middle of making breakfast for the kids and the wife to get out the door. To the "not well defined" aspect, I disagree in part. There is an RFC for CSV and that is defined. Now the conflated part is the use of CSV as an interchange format between various systems and locales. The complexity of data exchange, in my mind, is not the fault of the simple CSV format. Nor is it the fault of the format that third party systems have decided to not implement it as it is defined. That is a different challenge.

Data exchange via CSV becomes a multiple party negotiation between software (sometimes the other side is "set in stone" such as a third party commercial system or Excel that is entrenched), users, and users' local configuration. However, while not well defined none of these are intractable from a software engineering point of view. And if your system is valuable enough and needs to ingest data from enough places it is NOT intractable to build auto detection capabilities for all the edge cases. I have done it. Is it sometimes a challenge, yes. Do project managers love it when you give 8 point estimates for what seems like it should be a simple thing, no. That is why the coding kata RFC compliance solution as a base first makes the most sense and then you troubleshoot as bug reports come in about data problems with various files.

If you are writing a commercial, enterprise solution that needs to get it right on its own every time, then that becomes a much bigger project.

But do you know what is impossible, getting the entire universe of other systems that your customers are using to support some new interchange format. Sorry, that system is no longer under active development. No one is around to make code changes. That is not compatible with the internal tools. For better or worse, CSV is the lingua franca of columns of data. As developers, we deal with it.

And yes, do support Excel XLSX format if you can. There are multiple third party libraries to do this in various languages of various quality.

As a developer, I have made a lot of my living dealing with this stuff. It can be a fun challenge, frustrating at time, but in the end as professionals we solve what we need to to get the job done.
You can see which plane you are going to ride when you book a ticket via several modern apps these days. You absolutely can choose not to buy a ticket for a plane type you wish to avoid.
80% of new cars are bought by companies or in leasing agreements in Sweden, most people buy used cars. Doesn't matter that much for you point, but it does affect what people can buy.
Europeans were widely practicing things like public executions as well as torture. They also engaged in traditional castration and circumcision. This was also a time long still before the witch hunts began. And don't forget how many women and children they kidnapped and forced into slavery.
You can find super cheap VPS offers on lowendtalk.com. I wouldn't trust many of them for production, but even the cheapest one should be good for learning.
Also, Hetzner is always a reliable low-cost option too.
I just hit it a few days ago. 3rd party script that I did not write. The dev has lost interest in it 3 years ago. It is written for 2.7.x (and it is a nontrivial amount of code). So my choices are some sort of pyenv thing (or one of them), or fix up the script myself so it runs on 3.12. I lucked out and someone else had already done the second thing. One project I worked on was 2.4.x. If they ever have to update that (which I hope they have) to something more recent I could see them doing it until they port it over. That is not even a lib or anything that is just the main prog.
Are you sure? As I understand it, iOS still uses Webkit at the base level, and any browser app on iOS has to use the Webkit engine. This EU ruling seems to be less about allowing alternate engines and more about removing "roadblocks" to user choice, even if the different browsers are more or less still Safari with a different coat of paint.

For instance, Brave on iOS doesn't have built in TOR functionality like it does on non-mobile versions, so the browser is functionally limited to what Webkit allows.
> backpressure should also be mentioned

I ran into this when I joined a team using nodejs. Misc services would just ABEND. Coming from Java, I was surprised by this oversight. It was tough explaining my fix to the team. (They had other great skills, which I didn't have.)

> error propagation in async/await is not obvious

I'll never use async/await by choice. Solo project, ...maybe. But working with others, using libraries, trying to get everyone on the same page? No way.

--

I haven't used (language level) structured concurrency in anger yet, but I'm placing my bets on Java's Loom Project. Best as I can tell, it'll moot the debate.
Some recent discussion on this decade-old saga from a piece 2 years ago:

Half a Billion in Bitcoin, Lost in the Dump

https://news.ycombinator.com/item?id=29458352
Thanks for the tip. I was too paranoid to link my blog here.

You can read the post on https://twitter.com/alexanderisorax/status/17722497842517773.... I also added the link to the JSON data there.