skysight-inc/HackerNews huggingface dataset:
Honestly the US commute is not even that bad. Avg transit commute in like Paris is 50 mins. Meanwhile even though Americans have to suffer in traffic or whatever (which imo seems better to have your own personal air conditioned bubble full of music than a cramped sweaty bus), avg commutes even in places like Houston that have the worst traffic out of anywhere are hardly over 30 mins.
The process management code lives here: https://github.com/envkey/envkey/blob/main/public/sdks/envke...

Basically, on unix systems, the command you pass in to envkey-source is run via:

exec.Command("sh", "-c", c)

(c is the command you passed as a string.)

Stdout/stderr is piped through, and .Wait() is called on the command. If envkey-source is in watch mode, it will send a SIGTERM when the environment is updated, then re-run the process once the initial process has died. I can verify that, for example, if a server listening on ports is restarted in this way, the process will die and the ports will be cleared before the new process is started (this has been well-tested).

Do you see a problem with this approach? We will prioritize making all this bulletproof.
I spent five years at Facebook, and it was probably the best place I've ever worked.

The people were fantastic (except a the ex G and Amazon folks who were a lot less fun to work with), the problems were fun and the culture and tools were phenomenal.

Granted, I don't agree with what they're doing in this article, but if you think they're the only big tech company that does this, I have a bunch of bridges to sell you ;)

Generally, large, publicly traded companies tend to behave like psychopaths, but personally I think FB held out a lot longer than most.
I'd say 30. War and climate slowing the money and motivation. But it's really close to get done. It need one more leap and I don't consider it impossible at all.
A full appreciation of Rust entails functional declarative programing a la ML's with the embedded knowledge of C++. It's a great language but not for the faint of heart.

The performance margins are slim compared to Go, whose learning curve is far more gently sloping. If your team is already using Rust, or a sufficiently wizened language like C or C++, then by all means enjoy the rewards that Rust offers. But a more productive path to success, save extreme specialized cases like real time programming or high frequency trading, is found through more accessible systems-like languages.

To put it bluntly, teams are faceplanting with plain JavaScript. I don't expect many to dedicate the time to craft required to become proficient in a strongly typed language. I've had to leave two different jobs advertised as "Go" programming roles, because my tech leads actually banned Go. Citing "It's too hard." Well, if Go is "hard," JavaScript is not the rainbow they're after. What utter madness. But anyway, this provides perspective into the blinkered state of software development circa 2022.

They've stopped hiring for "hard" languages, as a significant market share of programming jobs. That's not to say there aren't Clojure jobs or Erlang jobs or Rust jobs out there. But these are few and far between at present.

I'm open to any programming language being one's first programming language, in order to learn the fundamentals of making a computer beep. This includes the daunting Rust language, and extends to catastrophic languages like Excel or Python as well. Whatever tool works for you in study, enjoy.

For general productivity, I do worry that Rust may be a bridge too far for most developers. Maybe we just need more educational material. Prove me wrong.
IMO that's a bad trade-off for many performance-sensitive applications, since it means that you can't rely on newtypes and structs for correctness.
I did appreciate the heavy burn when he pointed out that Dieter is himself wearing eyewear that is a fake material emulation of real tortoise shell.
Yes, OPNsense.

Or use OpenBSD (unixsheikh has a guide) or Linux (Vyos, OpenWRT, etc).
I can't imagine committing bandwidth to sue a major tech company. We didn't have a lawyer on retainer or something at my old company, we were a very small operation. I'm not saying it isn't an option at all, but it's not like going down the street to pick up some milk. It also just strikes me as silly we should have to sue a company to correct a relatively simple error they could fix if they'd just pay a modicum of attention/responded to us.
With respect to the domain it isn't.
I think the reasoning is that for something that's commonly used for many different types, you won't go through the effort of re-implementing that function for each type (it may not even be feasible to do so). Which means you'll end up with some sort of indirection to make it generic.
Dyson headphones come with air vacuum for mouth
Yeah definitely, who knows, it might change their life.
I tried switching to Fastmail (from Gmail) 7-ish yrs ago, and I ended up switching back to Gmail specifically because the spam filtering was far worse with Fastmail. Is it Fastmail's spam filtering actually better now, or does it just seem that way when you start a new account because you're not getting much spam in general?
We've banned this account for egregiously breaking the site guidelines. You can't do that here, regardless of how right you are or feel you are.

If you don't want to be banned, you're welcome to email hn@ycombinator.com and give us reason to believe that you'll follow the rules in the future. They're here: https://news.ycombinator.com/newsguidelines.html.
Do you think it’s more lucrative in tax money for the government if they continue doing things the way they are or if there were pre-filled taxes sent to each american to confirm?

If I think about the state/federal tax services like businesses, wouldn’t the prospect of convenience be more likely to create more revenue inflow, or am I mistaken?

For example, if I send a customer a bill, with a due date and amount, then all the customer does is check it over then send the money that I asked for. It would seem ludicrous if I transacted with a customer and we played this back-and-forth guessing game where I want the customer to tell me the number in my head.
Dagger is already a popular dependency injection framework, so why choose a name that will be confusing to people who will likely use both of these frameworks in their projects?
No, Chicago is not dangerous on a per-capita basis. The news is incentivized to get attention, and "OMG you'll get robbed and shot" is a very effective and crude way to get those clicks.

Chicago is no different than any other large city in that being aware of your surroundings and not doing dumb things is expected.
> Decimal has all of the same rounding properties that binary floating point has

This is not true.

> Unlike hardware based binary floating point, the decimal module has a user alterable precision (defaulting to 28 places) which can be as large as needed for a given problem

> Both binary and decimal floating point are implemented in terms of published standards. While the built-in float type exposes only a modest portion of its capabilities, the decimal module exposes all required parts of the standard. When needed, the programmer has full control over rounding and signal handling. This includes an option to enforce exact arithmetic by using exceptions to block any inexact operations.

https://docs.python.org/3/library/decimal.html
Could you share any tips or the name of the course?
You also broke the site guidelines badly in this thread. We ban accounts that do that, regardless of how bad someone else's comments are or you feel they are. We had to warn you about this once already: https://news.ycombinator.com/item?id=29085513.

I'm not going to ban you right now because you've also posted good comments on unrelated things, but if this pattern continues, we're going to have to, so please review https://news.ycombinator.com/newsguidelines.html and stick to the rules from now on.
> Dyson launches Zone air purifying Bluetooth headphones with visor

Well, a lot of people _love_ vacuum cleaners. I bet this is the next logical evolution of this product. Makes you feel good while purifying the air that you expelled.
Why does client side encryption matter? explain it like I'm 5 please
I'm in the same boat, but I do think there's a prospect of Dagger being a superior option in the long term, if...

1. They invest in building out their catalog of actions to compete with GitHub's. I maintain a few GitHub Actions and despite the GitHub catalog's depth, it's still lacking in many ways and GitHub don't appear to invest in it too much: a "maintainer fund" and creative poaching from Dagger could rapidly bring them up to par. A few million of their raise, well deployed, could crush GitHub's catalog.

2. They invest in tight integrations with platforms. GitHub Actions is great because of composability, yes, but also the deep integration with GitHub itself. Being able to run Dagger on GitHub Actions is one thing, but being able to leverage deployment environments cross-platform would be another.

3. GitHub Actions is great, I am a fan of it, I'll speak highly of it often, but the codebase... it is bad. If Dagger can build out a platform that competes with GitHub Actions on functionality, and it has a pleasant codebase, they'll make huge gains from community participation. Contributing to GitHub Actions is painful.

So, I agree with you today, but a year from now, I could see a very different situation and I am optimistic.
this has been argued ad nauseum a decade ago and it boils down to your definition of 'systems'. at google scale, a system is a mesh of networked programs, not a kernel or low-level bit-banging tool.
My tax return was more then 80 pages long and I barely had to enter any information... It would have been the same way if the Government did it for me except for a small amendment ...
Using mushrooms or MDMA as a late-night party/social drug seems increasingly crazy as I get older. With a close friend or partner or even alone they are a really meaningful experience, with a tranquil comedown. It almost feels wasteful to burn through them late into the night dancing to electronic music and then being completely wrecked the next day, I guess I enjoyed it when I was 19.
> Run on any Docker-compatible runtime.

so does its worker run on a native machine, because we need to build docker images using CI/CD, which we can't do easily within a container?

also, is there a gui?
Progress takes many shapes. Sometimes it goes quicker than expected. Sometimes the “last 5%” ends up being completely intractable. Lots of technologies got “nearly there” (supersonic flight is a good example) but never made it across the finish line.

We haven’t even begun to address emergent behaviors. You say your Tesla does “weird things.” What happens when all the cars on the road are Teslas and they do the same “weird things” at the same time (because they have the same programming)? This is an important aspect of systems engineering that we haven’t even scratched the surface of when it comes to self driving cars.
Article forgot to mention that Niklaus Wirth was a consultant for the team at Apple that created Object Pascal. Apple had used variations of Pascal and Object Pascal for early Macs. This was in addition to companies using Wirth's Modula-2 and Oberon.

Part of the reason why C became so prevalent is it being created within and backed by AT&T (one of the largest companies in the world back then). They pushed C and Unix everywhere, it took hold, and here we are today.
Conspiracy theory? He did everything in his power to get liberals into political power.

Yes he is a very large threat to Western society, the United States of America and world peace. The current state of affairs should be the proof anyone needs.
It has been done "virtually" by going through e.g. VNC https://criu.org/VNC . Alternately, CRIU apps could be required to use virt-* devices, which CRIU might checkpoint and restore similar to VM's.
There's actually some cool apps people have built around this that I should have mentioned in the blog.

Here's one for example: https://noahlitvin.github.io/coinbase-costbasis

Personally though, I like to do these things in a spreadsheet because it's easier do another "query" or "analysis" on top of it.
Well, that is simply not true at all.

Go is a perfectly capable replacement for Java and C#. Many huge projects that would likely never be written in Python have been written in Go when they would have otherwise been written in Java or C# in years past: Kubernetes, Prometheus, HashiCorp Vault and Terraform, etcd, CoreDNS, TiDB, Loki, InfluxDB, NATS, Docker, Caddy, Gitea, Drone CI, Faktory, etc. The list goes on and on.

What, exactly, are you saying that Go can't do that Java can?

Go is not a perfectly capable replacement for Rust, for example, because Rust offers extremely low level control over all resource usage, making it much easier to use for situations where you need every last ounce of performance, but neither C# nor Java offer the capabilities Rust offers either.

I like C# just fine (Java... not so much), but your comment makes no sense. Certainly, I would rather use Go than most scripting languages; having static types and great performance makes a lot of tasks easier. But that doesn't mean Go is somehow less capable than Java or C#... it is a great alternative to both. If someone needs more than Go can provide, they're going to rewrite in Rust, C++, or C, not Java or C#.
I'm always on the edge of my seat waiting to learn what mind-blowing technique the "band of elite hackers working for Russia’s Foreign Intelligence Service" came up with. And it's always something along the lines of "they kept sending emails until somebody clicked the link."
And likewise, this theme shows up in Tom DeMarco's classic book Slack, which contrasts "efficiency" (the rate at which an organization is moveing towards some goal) vs "effectiveness" (the ability of the organization to choose and steer towards better goals). An important theme of the book is that an organization running full-tilt (maximum "efficiency") intrinsically reduces/eliminates its needed human "slack" to reflect and iterate towards the correct goals. DeMarco also digs into into the many organizational and management anti-patterns, with supporting research, that harm both effectiveness and efficiency (and just plain human well being...)
Dokku maintainer here.

Dokku is still chugging along, and has 3-4 big releases a year, with patch releases every so often. We also have partial support for Kubernetes and Nomad, and our Kubernetes integration in particular is in use in a variety of Fortune 500 companies. Some folks are interested in Swarm support[1] as well. I also recently released a "pro" version[2] for folks that want/need extra functionality that doesn't quite make sense for the typical "I have a single server and its just me using it" situation

All that said, we're here to stay, and I don't think we're losing any steam :)

- [1] https://github.com/dokku/dokku/issues/4486
- [2] https://pro.dokku.com/
Why is a speed part of the Go language contract but footprint of the executable is not? I, for one, would be quite miffed if an update of the Go compiler would mean an application would no longer fit on my mcu. That is worse then the application running slower.
> This is true for all languages, not just Python.

Not quite: APL does comparisons with a configurable relative tolerance, which is nonzero by default. My article [0] about comparing one number to many quickly in this system starts with a discussion of the reasoning and mathematics there. It brings a lot of implementation difficulty, particularly with hash tables. It's possible to build a hash on tolerant doubles by making two hashes per lookup, and even complex numbers with four per lookup, but no one's figured out how to deal with entries that contain multiple numbers yet.

Nonetheless I would say it does make it easier to write working programs overall. But not by much: I've been working on an APL derivative and initially left out comparison tolerance as there were some specifics I was unsure of. A year or so later I noticed I hardly ever needed it even for numerical work and dropped any plans to add it to the language.

[0] https://www.dyalog.com/blog/2018/11/tolerated-comparison-par...
File descriptors are an example of such a type. In good code they are carefully kept equal to -1 when not open, and are carefully identified, and not leaked.

When something has reference semantics but isn't an actual pointer, that is an extra fact that the reader of code needs to know in order to reason correctly about it. That is, thus, a burden above what would be needed for an actual pointer. It is a burden that is harmful to impose entirely unnecessarily.
That is ridiculous intersection. What is the point of bike lane if it's used as turn lane anyway?
I agree with the sarcastic sentiment from another poster on this.

These companies don't take care of their employees, constantly dump trash and waste in international waters, inundate their ports of call with pollution and hordes of unruly tourists, and we're supposed to believe that they could somehow handle the security and disposal of extremely dangerous materials? They can barely handle keeping their guests from catching dysentery.
I'd say it varies. I think CBC is acknowledged as heavily Liberal / progressive leaning, in what they select to cover (as well as the shows they have), but a lot of Canadians have the same biases. Amongst conservatives, the CBC is basically reviled and there is always a movement to defund or get rid of it going on.

Personally, I think in the last few years it's crossed the line from just left leaning into being a propaganda organ as my GP comment said, and it needs to be called out as such. There was an article on here not long ago about a CBC reporter Tara Henley quitting and going to substack because of how political CBC had become.

Incidentally, all Canadian news media sucks, like everything else in Canada, we have very little choice and everything is basically the same even if it claims to be different. I would not consider any Canadian newspaper / newscast to be worth paying attention to, and get Canadian news from BBC
Yes, MERGE is specified by the SQL standard. Our implementation (Postgres) aims to conform to the standard, so it should roughly match what both Oracle and SQL Server offer.

(Microsoft seems to have added a BY TARGET/BY SOURCE specification to the WHEN NOT MATCHED clause, which is not in the standard. Oracle seems to do DELETE in a different, nonstandard way.)

"Upsert" (which is called INSERT ON CONFLICT UPDATE in Postgres) is a different animal. It is not part of the SQL standard, which is why every database system does its own stuff.
Do not look directly into the lidar with remaining eye
Grafana Mimir, the most scalable open source TSDB in the world
I've been using this for a few months now, and it's targeted to replace mlocate in Fedora in the next Fedora release: https://fedoraproject.org/wiki/Changes/Plocate_as_the_defaul... . I've been pretty happy with it, but I'll also add I never had any problems with mlocate.
I can't help looking at a story like that and wondering: "What if the 70,000 who have left and the 100,000 projected to leave are a digital infiltration force?"
i think the reason a lot of software works that way is that most software does not carry out tasks asynchronously and even does blocking or time consuming stuff from the foreground or GUI thread instead of handing it off to a background thread. the reason for that is that doing anything async makes software exponentially more complex to engineer… so hence we have lots of apps that cannot just be stopped easily.
app itself is cool and effective for learning

(off-topic) It made me realize how many languages Gboard supports. I saw Bench and laughed (because I thought of benches speaking) but then learned it's a real language with 300k fluent. I was then disappointed that very uncommon languages are supported while Bavarian (over 10 million speakers) seemed to be missing.

It *does* exist under Austro-Bavarian.

Tested it, and it recognizes each word in and suggests completions for phrases like, "ned gschimpft isch globt gnua," words like, "jednfois," etc.
It's hillarious when you get some bullheaded executive who comes into these companies specifically to part out this real estate and raise profits for their tenure before they exit.

For example, a lot of studios in hollywood in recent years have sold their back lots, and are now just leasing them back from some holding company. I'm sure this arrangement made a lot of money for some people, but I imagine in a few decades this will hurt the studios when these land owners start negotiating the next round of leases and realize they have literally all the leverage.
>Further, I expect the number of cars on the road to go way up because suddenly so many more people can use a car.

You're assuming that the cost will be much less with self-driving than ride share or cabs. It likely won't be a significant reduction for a while.
Ah, well I’ve got that bit covered at the very least :)
> just don't link personal and company accounts

Easier said than done, in my experience. Years ago I had to log into my Company's Play account on my computer for some specific reason, one time, and more than a year after that, my daughter purchased a game on my android phone and the CEO sent me a message saying "FYI, we just paid $3 for a princess coloring book app, please enjoy it with our compliments but please delete the Play Store login info from your devices." I still have zero idea how that could possibly have happened. That company will be shutting down and now I'm worried that my google account is somehow "linked" to it.
Using Russian tech? It's time to look at the risk again
ACPI was introduced in Windows 98, so when you say “today” you actually mean “the past 25 years”. In fact it probably took longer staring at the “windows is shutting down, do not unplug your PC” screen than it takes today.
I’m highly jealous of teams that can containerize all their build tools.

If you deal with proprietary toolchains that are tens of gigabytes (Windows WDK, Xilinx Vivado/Vitis) it’s just untenable, and that’s before even mentioning licensing. Even Azure doesn’t have a great solution for WDK development. It’s hard to feel like we’re not being left behind.

Bind mounting the tools into the container is an option but at that point you’re using the container just because that’s what your CI expects, not because it’s any better or more reproducible than a raw Jenkins shell script.
Agree, and could add, that ALL Erlang flavors (exists at least 4 independent implementations for different environments and for different targets) are distributed.

And Erlang is based on relatively new syntax from Prolog, which also have cool ideas.
I’d be interested to see a more serious study of this, but my hypothesis is that it was always a weakly bonded cohort which has by now dissolved into other cohorts. Hipsters generally didn’t self identify as hipsters, and the internal dynamics of that scene tended towards schism (anything liked by too many/the wrong people is rejected).
TLDR this basically looks like portable GitHub Actions + Workflows if I understand correctly.