skysight-inc/HackerNews huggingface dataset:
This is also very problematic for people who disagree with the terms of free email providers (like you already mentioned ""free" isn't really free"). Of course, if one is in financial trouble, then they probably have larger problems but it's still worrying to me how privacy is becoming a luxury good instead of the default.

It should be seen as a "hidden cost" to any digital service that requires an email address (either monetary for a trustworthy enough email account or in the form of privacy).

As an aside, this sort of forcing people into using digital services with terms they don't agree with has become widespread during the pandemic and it kinda makes me angry how no one is thinking about any of this.
> Hey all, as some keen-eyed commenters have pointed out, it looks like the rust program is not actually equivalent to the go program. The go program parses the string once, while the rust program parses it repeatedly inside every loop. […] The perf gains from jemalloc are real, but it's probably not the allocators fault. I've updated the post with this message as well.

I don't know that it would be a gain: Rust is pretty good at decoding UTF8 quickly given how absolutely fundamental that operation is, and "caching" the decoded data would increase pressure on the allocator.

Unless you also changed the interface of the levenshtein to hand it preallocated cache, source and destination buffers (or the caller did that).

edit: to the downvoter, burntsushi did the legwork of actually looking at this[0] and found caching the decoding to have no effect at best, unless the buffers get lifted out of the function entirely, which matches my comment's expectations.

[0] https://news.ycombinator.com/item?id=23059753

> But yes, I did benchmark this, even after reusing allocations, and I can't tell a difference. The benchmark is fairly noisy.
https://github.com/uutils/coreutils/commit/d4e96b33e34373399...

I read 2013, Theo de Raadt's email is from 2017, over 4 years later. I think we can fault him for being overconfident and not checking his facts.
Adobe and VR
Was this true in 2017, when the statement was written?
Thanks for saving me the 30 seconds to look...
Map of Pangea with modern-day borders
At work, we build a couple SPA React application for internal tools. All of these SPAs talk to other internal APIs via REST, so you can think of these as static websites.

In production, we do exactly what you suggest: serve through a CDN.

However, for our dev environments and PR builds, programmatically setting up CDN to handle these use cases is not easily integrated with our CI/CD workflow. Our CI/CD environment is, however, good at quickly deploying containerized services.

For this, using an nginx container to serve the produced static bundle enables us to easily have PR builds for the dev team and product owners to see changes without having to check out and build the code.
If you're using multiple steps anyway, there's no need to use nginx base on every step.

FROM nginx:1.17.10-alpine as npmpackages
RUN apk add --update nodejs npm

Just do:

FROM node:10
RUN npm [...]
Some substantive comments I read from the mail:

* It takes a long time for a rewrite to be fully compatible and a good implementation. This project says it uses the busybox tests and that seems like a good start. Is it good enough though? Busybox itself is quite good for certain embedded niches but it would be absurd to replace a good chunk of OpenBSD userland with that, the usability would suffer a lot.

* OpenBSD needs to compile itself, in reasonable time, and at the time of the writing rust was slower than C at this and could not self host on 32bit x86 due to address space limitations. Has it been fixed?
This is a major problem with REST / API / SPA-based applications. When you build around the concept of resources, you either get lazy or forget to build individual endpoints for each object.

That is, it's not just "/api/people/" that shows everything. You'd need: "/api/people/matched/" with a few fields, and /api/people/before-match/" etc. One end point per use case. Almost like one endpoint per... screen.

Suddenly, the old school MVC starts to make more sense. Your view dictates what data you need only for that view. Across resources. And it factors in entitlements. Often, people think this means no AJAX or SPA. That's not quite right, they are orthogonal.

What you really want is a data-on-the-wire protocol but with RPC calls that are still domain based rather than resource based. Everything should be its own endpoint. Django Forms and Formsets, and the Rails and Laravel equivalents are much closer to this than REST (even if they can be RESTful themselves). Think "UpdateProfile" instead of "UserResource". The UpdateProfile may have a lot more fields, some which don't even belong on the User database table.

Lot of rambling here, but I've been meaning to consolidate this in a blog post.

Some related thoughts here: https://news.ycombinator.com/item?id=21875331
I've used Debian at home for at least two decades now. It's excellent. Debian is basically Ubuntu minus a lot of user-hostile crap, so if you are familiar with Ubuntu, it should be a fairly smooth transition to Debian.

Watching this snap thing play out, and in the past, watching Mir, Unity, and Amazon Lens, has provided steady confirmation that I've made the right decision to stay away from Ubuntu.
You forgot about the other half of the cycle: time passes, another wave of publicity bashes the initial hype, people assume the scientists themselves are responsible (even though they have been freaking out about their work being misrepresented), scientists lose funding, people don’t trust scientists.
The “evil plot” is what I gather.
K8s have it’s bright spots, but it can’t touch the flexibility of nomad & consul.

Now that nomad/consul have autoscaling and csi as well as native envoy integration the gap, with regards to container workloads, have shrunk quite a bit!
It's exceedingly common that programmers don't know how to do frontend web development, but are tasked to do it anyway, often with unrealistic time constraints. Tools that help them achieve their objectives successfully are always welcome.

"Learning CSS" is a years-long pursuit, and it's constantly evolving. I was a frontend developer most of my career (and by all accounts a pretty damn good one), but I've spent the last four years almost completely on backend work. I have some frontend work coming up and I am honestly nervous that it will take quite a bit of time and consternation for me to become productive with whatever has changed. (It's almost certain I'm going to need to learn grid, who knows what else.)

Am I going to look to a tool like this to help me get back up to speed? You bet your ass I am.
Totally. Happened with HIV right?
There was a nice article about similar coronavirus. No virus is exactly equal to the other virus, but the comparison can be helpful. https://www.quantamagazine.org/what-can-other-coronaviruses-... (HN discussion: https://news.ycombinator.com/item?id=23019199 | 204 points | days ago | 189 comments)
Rust Stream: String It All Together
The entire global economy is grinding to a halt and we may be sitting on top of a global depression for years to come.

Those 5 billion are going to have to wait. Also, it may be harsh but if history is any indication, these people are unlikely to gain access to oil themselves - which means they're dependent on probably their neighbors (developing countries probably are sensitive to shipping/deliver charges) which means that their demand is subject to international sanctions if, say, G20 decides to wean the globe from petroleum. So if the west decides no more fossil fuels, these people will likely stay in huts until they stumble upon reserves in their country (unlikely) or find another civilization-sustaining energy source.

You think oil dependence will last forever? Also with the rise of the internet, you don't think people in developing countries are likely to give preference to renewables if the price is within reach? Everything's getting cheaper.
Not just 2d, nd, three, four, five, whatever dimensions, a bit agnostic in this, as is algebra. I can't claim to have dabbled in the language but was somewhat aware in the 80s and 90s. An APL magazine from the 90s was called Vector if I recall correctly. Yes quite mathematical, and an interesting community then of some quite smart melding of math heads, still a huge focus on performance, played with it on a VAX.
that is true, ill switch to that when i get around to it
That's maybe lottery like chances. What's the chance it's aliens, given we see no sign of intelligent life when we look to the stars, and given the size and distances involved? Probably worse.

The logical conclusion is that it's neither. Given our current priors.
related...I had an old google account stolen from me a few weeks ago.

this happened on April 8th while I was sleeping (I received recovery emails etc -- everything was changed by the time I woke up)

this old account had an auto-forward for all emails to another email so for the first week whomever stole it was not aware everything was copied to my other account. I tried going through googles account recovery and unfortunately it appears that I will not be receiving this account back, I am sad because I did not copy all email locally and have lost some very old emails -- trhis account was made when gmail was still beta with an actual 'invite'.

what is surprising is how obviously it is fraud based on the emails I received over the next few days the owner had different names for a handful of people i.e. 'Hi Chinh' or 'hello Hau' (many others as well)

I kept these because apparently google is investigating and I've been told to be patient due to covid-19 delays but I suspect I got lost in the pile of other work. it is not a big deal in the long run just makes me sad that clearly I did not do enough to protect this account and there is not a human on my behalf looking... any person looking at this (if google admins can) would come to the very quick conclusion it is clear that it was stolen.
Signs that a business idea will probably fail
This approach is akin to installing all of the build tooling inside of Docker, then generating the build artifact. I'd think it'd be even slimmer to generate the build artifact first, then just copy that into the container.

Is there an advantage to building inside of Docker?
Just some test runs of some electronic warfare aspects of Project Bluebeam.
Those are two really well written articles -- taking a complicated topic and making it very accessible. Thanks! FWIW I think a companion article on how to effectively use perf for tasks like this would be a great addition, since it can be a bit novice-unfriendly.
all of my docker containers are placed behind traefik which handles TLS certifactes, HTTPS redirect, compression, and routing to the correct container
Like OpenSSH? PF? Clang? All of the modern compilers and languages made in C?

Maybe you can create something more widespread in Rust and not being a single part of a browser.
Elegance is in the eye of the beholder, of course - a state machine is easier to code in K than in almost any other language, and is likely the most elegant overall solution.

A common kludgy solution you’d see would probably be to delete or zero out characters that shouldn’t be counted, and then do the original thing; some would consider that elegant and others won’t.

There are many examples if you look for them, many well explained, e.g. https://nsl.com ; the problem is APL/K is almost as different from C/Java as Japanese is from English ; there’s no amount of chewing anyone will do for you that will save you from going deep, and if you’ve decided to go deep, the material is already available.
Probably, but depending on that rather than making regular backups is a bit mad. https://takeout.google.com/ even lets you schedule regular archiving.
I did this on OkCupid just by answering common questions in the most common way. But more dates isn't really the point, at least not for me. So I weighted the questions in the way they mattered to me and I met my current gf. Cheaters only cheat themselves.
Not only that, there are several POSIX implementations in Ada.

They just don't get exposure in FOSS land.
We need more video games that are social platforms first, games second
There's clearly something going on, but nobody knows what could be.

I live in LATAM, Corrientes, AR, it is a region barely touched by the virus, and yeah, people is everywhere, social distancing is being ignored most of the time (private meetings everywhere). Initially we had fewer visitors, but for almost a month we were open to all kind of traffic (air, buses, cars), from at least 3 countries and several regions (we're a traffic hub in the Mercosur).

Right infront of my city, there's a red zone, Resistencia, it has been like that for almost 2 months, they should be in full quarentine mode, but they aren't following it to the letter, even like that, the cases are very slowly increasing, but everybody was expecting thousands of cases, they're just getting to a couple of hundreds (340 till today).

There's a lot of public transport going on in that city and in my city, so you could think, these two places should be like NY or Madrid by now, even going slowly, but no, there are no more than 340 cases in Resistencia (most of them already recovered), in Corrientes we only have 18 infected (a total of 50 cases in two months).

The health system in both cities is doing surprinsingly well, few beds occupied and ICUs cases, most COVID19 diagnosed are kept in their houses, along with their families, then, 10-15 days later, all of them are tested, the affected one usually is now ok, and in very few cases some members living with him are testing positive.

It's a kind of surprise, but the contaiment protocoal is being followed just like that till now, because it is not expanding the virus as expected (the first cases were expected to propagate to family members, and it didn't happened and it keeps not happening for most of the cases).

Obviously most of the cases - almost all - are mild, and the containment protocol was followed to keep the health system free for severe cases.

So, last week the Corrientes governor started to open all business (schools and public office are still closed), they're somewhat enforcing distancing measures, but there are thousand of people out there right now.

So we are going to see what happens from here, we are just starting the winter here, but you know, nobody knows exactly what's stopping or slowing the virus in regions/cities like mine.
Ya, sorry. The twitter account is a placeholder while we work. Just spun up a repo you can follow.

https://github.com/Internal-Tools-Hub/CorpHome/blob/master/R...
Occam's razor is just a heuristic. It has no actual predictive power.

And honestly given the way things tend to happen in this universe I don't know if it's all that valid.

It's just weird to see people pull it out during a debate as a legitimate argument.
There are POSIX implementations in Ada since the mid-80's.
That’s not really how their marketing website frames it.

It says it’s a great choice for parents, enterprises and businesses of all sizes.

It’s got a shop now link and you can add the phone to your cart, shipping in 6 months. The batch FAQ says that every phone shipped is a high quality smartphone despite the “loose fit” components.

> Q: If I receive the Librem 5 from one of the first batches, will I have a fully functional phone?

> A: Yes! Even the very earliest batches will be capable smartphone, including a modern web browser and core cell phone functionality.

In contrast, reviews from as recent as March 2020 state that the phone can’t make phone calls and the battery lasts for about two hours maximum:

https://www.techrepublic.com/article/librem-5-review-the-lin...

Look, I want this kind of phone as much as the next person, but that doesn’t mean I want to buy it from a company that is misleading at best about its capabilities. I know that smartphone hardware, especially smartphone hardware with custom open source components, is not easy. But this is a prototype-level device that shouldn’t be marketed in this way. It should be called the “Librem 5 preview development kit“ at best.
This is not what the pilots saw and it was daytime.
Speed. It's normally trivial to parallelize your programs.

edit: rough crowd today. Check out Send, Sync, rayon and ripgrep.
If you hoped for something else, perhaps this is an opportunity to empathize with those who point phones and cameras at the Sun, get pulsing or flashing, and believe it miracle. Or who point infrared camera zooms at the horizon, and discover the Earth flat.
There's something to it, but I don't thing the future is as grim as that.

Rust is a stepping stone. It is a proof of concept that shows a lot of problems can be solved at compile time without adding huge bloat at runtime.

Yes, Rust has problems. Some of them are just because the language is new and you feel not yet fully built.

The compile times are more more insidious side effect of Rust's properties. I think, realistically, it will take some time but the problems will be resolved either in future Rust or in another language based on it. And it will be very worth the wait.

High level languages are fun and important, but it is not possible that all system code is going to be built in high level languages. As we run stuff that is more and more demanding of CPU we need a good low level language that will also tick some important checks of reliability.
Photorec supports a crazy ammount of file types (about 400 I think, but since they keeep adding it may well be over). Fun thing: Diablo II savefiles (and other games!) are carve-able with Photorec.

And it can also handle fragmentation (though I haven't tested the later versions to see how strong that is).
Do any major Linux distros think uutils is good enough to ship as the default? Are they at all involved?

They'd be infinitely easier to persuade to try something like this than a BSD. For OpenBSD it's probably always going to be a non-starter because of all the hardware they'd have to leave behind.
In terms of your career, it's better to become an expert at one language than a jack of all trades. I can quickly move from language to language, but make the most money as a consultant for languages in which I'm an expert.

I also think many developers use a single language for work and don't have much time after work to learn another one.
Maybe they have an exchange mailbox? If you want exchange support on linux with full syncing of mail, calendar and tasks there are two options I know of: evolution and hiri. And hiri is paid abandonware. I’ve set up both, both are not good. Lately I’ve been using outlook web access, which is still bad, just not as bad.

Really I guess I miss outlook for windows. There I’ve said it. Judge me if you will. Its search feature is broken, but everything else worked well.
That's not really how Dark works. You're not manipulating text in your editor - you use our editor, and our editor only uses ASTs. So when cutting and pasting, you're cutting and pasting AST, not text. So to answer your question, you can paste an entire handler or function at once, but it will be one you copied from another place in DArk and it will be structured.

We've looked at allowing people to paste text (eg from Stackoverflow) into Dark. We think we can do it by just inserting each character one at a time (though there's a technical flaw with that at the moment, which could be addressed). In that sense, Dark is sort-of a parser (I don't know if it technically counts).
I Left Advertising (2017)
Steam Play Proton 5.0-7 is out – Street Fighter V and more now playable on Linux
And that's really too bad because I think the rest of the comment is spot-on as the fundamental issue is that Rust simply delegates to the system allocator, and MacOS's allocator is pretty slow.

As a result, while Rust allows very explicitly and relatively easily removing allocations (compared to C or C++), getting the most performances out of your program also requires doing so, unless you use a non-system allocator with better support for the workload.
What kind of marketing? The kind where people blog about what they do?
I wonder how many times Christopher Mellon has been convinced of UFOs in the past.

Something I've noticed with this recent dump of videos is the only people I personally know who are interested in convincing themselves that it is truly unexplainable are ones who have already claimed other videos represented UFOs as well. A lot of people have taken the "I want to believe" mantra to heart, and it has affected their ability to actually reason about what they are seeing.
I would argue that "a data race that doesn't cause a race condition" is still, itself, a tiny race condition- just a contained one.

But you're right, this is just choice of terminology. :)
> But … admitting that they see things in the sky and they can’t identify them, that to me is the most amazing part of this

Really?

What is amazing about this?

There have been thousands of UFO sightings over the past decades and a huge proportion of these have been explained. But not all. There are still a few sightings that we have no explanation for, there is nothing amazing about it.

Obviously, that doesn't mean these unexplained sightings are aliens, they are most likely natural phenomena we haven't figured out yet, but there's nothing remarkable about admitting we have no explanation for something.
New Firefox service will generate unique email aliases
Clang is written in C++.

The large majority of modern compilers and languages are either bootstraped or written in a mix of the language itself and C++.
(Dane here)

I loved working from home, running a VM with a setup for work works surprisingly well.

I hate not seeing other people in the flesh. Not that I need it every day or even every week, but a month is far too long. And online, even with video doesn't work as a replacement (part of this, is suspect, is the crappy quality of every online service videos stream. I pay for Zoom, and even they can't ensure smooth HD video). That was not exactly the lesson I suspected I would learn, as a nerd.

Every volunteer organization is shut down around here, as are all museums and libraries; bars, coffee shops and restaurants; and any other entertainment venue. That means that the only thing to do is go look at nature, which gets boring after the fifth identical tree. When this is over I kinda hope they are all paved over.

Finally, I learned how pointless our politicians are, since every single party voted in favor of the bills that strips us of essential freedoms. We are due to have an election within 3 years, but there is essentially no way for me to register my disapproval in a democratic way. Not that it would matter: our PMs approval ratings have exploded, because they always do that when there is a crisis. People forgot that it was her inability to handle it correctly back in February that send us into this disaster.
Yes, I realized after the fact that I was indeed making a label. I’m now back to not having an issue with JS
Articles_Creativity
Paul Graham still does not offer HTTPS on his site
I have no idea why they need an nginx image in their second FROM, they are just doing some npm.
I'd say toxic. When you point out that "nobody has done this" in this way, there is a strong implication that it's not possible, not reasonable, or not wort the effort.

Rust explicitly aims to be a systems language. It explicitly challenges C and C++ on their own turf. Implying that it's not suitable for serious systems work is insulting.

> Note that the email conversation was from a few years ago.

Remember that the project he said didn't exist was 4 years older than his email. And if I understand other comments correctly, that project was well known among Rust practitioners.

He made strong claims outside his area of expertise. An easy mistake to make, but one that has consequences when you're this famous. Such mistakes are totally fine in private, but in public… they're a little toxic.