skysight-inc/HackerNews huggingface dataset:
> There have been many Exim bugs like this, why are people still running it?

Flexibility, mostly. It's configuration file includes a programming language of sorts, which means most things can be done write resorting to plugins or worse - having to write one.
I agree, but I should say that the main concern is not what is better for the environment, but what is certifiably non-synthetic. A secular kosher, is how I'd put it.
All of this seems quite counter-inuitive to me:

"Instead of buying pesticides and artificial fertilisers, they have invested heavily in labour and technology."

but also:

"They hadn’t increased the cost of making wine as they shifted to organic practice"

As far as the article goes, these are just claims with no evidence. I hardly imagine any solution that could maintain price and provide "sustainability".
I would wish the documentation fairy would give me a file of asserts that 1. explain (in comments) the invariants the system is supposed to maintain and check them, and 2. explain the protocols that modules communicate with and check that they are being obeyed. And a fast test suite where these asserts are checked.
As a scientist by education, I have learned to write on scientific technical stuff and it was a long, time-consuming and sometimes painful process - but ultimately, I like to write, and I like to produce clear written information. What was most difficult for me was to overcome perfectionism, which totally blocked me when I tried to write my first peer-reviewed paper. I learned a lot from a few very good books on writing. The very best I found so far is this one:

Effective Writing for Engineers, Managers, Scientists, by H.J. Tichy.

https://www.amazon.com/Effective-Writing-Engineers-Managers-...

It was fantastic for me because it describes writing as an iterative process with subsequent rounds of structuring and refinement, and that helped me to overcome blocks. I learned also a lot on how to make my writing more concise and to the point.

For a scientist and programmer, it is really essential that one does not simply assumes that one already knows how to do it! For me, it is way more difficult than it looks - but also way more satisfying than I thought, when it is finished.

I agree that this is not for everyone, because it needs to be learned, is hard to learn, and is a very different set of skills to coding. And there is clearly a field of work for specialists.

One lesson learned that I took away from this is that writing is a separate task, and it is difficult to do it at the same time as producing code.

But back to the main topic. As a documentation writer under time constraints, what could I do to find out what the not-yet-present reader of the documentation might need to know?
> Is there a regular expression to detect a valid regular expression?

No, there is not. For example, parentheses in a regex must be balanced, and (famously) there is no regex to detect balanced parentheses.
> You don't go lisping to make your CV look pretty.

Look, I didn't write that. This is your affirmation.
As I wrote, and I repeat, I think that being specialized to procedural/object languages, for some kind of problems that could be a limit. So I'm looking for different paradigms to change the way I approach problems. Now I have a limited time, how I should spend it ? Now, because I'm a professional programmer I would like something I can use and improve my CV. So what?

> your best bet right now might be Python

Again, its paradigm is a stereotype of other language I know.

What's your problem ? Are you the author of the article ? Look, I think that the point of that article is "study Haskell, trust me", so it isn't an help for newcomers. I only express my opinion. The title is "Why Haskell
is important" and I think it fails to explain the more important point that is "why". So, why ? Moreover, why Haskell and not F# or Erlang, for example ?
So ISPs can provide “a deliberately blocked site to lists that will alert Firefox, telling the browser that a protection is in place and to block DoH.”

I sure hope Firefox allows us to opt-out of ISP override. I know they’re trying to deal with the criticism of “but how will censorship work?”, but if your ISP can simply override it, I fail to see the point of DoH.
Why would a description of physics necessarily include a formal system or arithmetic?
Semantics-Aware Bert for Language Understanding
I wish for documentation of

1. Key data structures

2. Code layout/architecture (what modules/layers calls which modules/layers, etc)

I like Blender's example for how to do this: https://www.blender.org/bf/codelayout.jpg

These also tend to be relatively static so they don't need to be updated every month.
> The device administrator should be the one making the choice about what resolvers to use.

No, the device owner should be the one. Which could the company/organization that bought the device in the first place, in which case that is delegated to the IT team.

And if the IT team does not want DoH, it is the IT team that gets the final word.

Mozilla has been nice enough to give options to disable that, and that can easily be done with GPOs on Windows, but not all the world is Windows, and if you have a large Mac or Linux use base that uses Firefox, how will disabling DoH be automated there?

And just because Mozilla has been nice enough, does not mean that other developers will be.
I share this sentiment regarding diagrams. Any time I sense that a design or requirements discussion is starting to lose track of all the various edge cases of a particular business process, I will draw out a state diagram of that process and put it into an email or message to the team. 9/10 times this either immediately ends the back-and-forth, or quickly narrows down the actual concerns to a few particular items.

I am consistently amazed by how quickly these diagrams can convey complex business requirements to non-technical people. I could write 30 pages of email, or draw 1 state machine on my whiteboard and snap a photo of it. Someone should try to run the math on information density of a state diagram vs a verbal or written communication of the same requirements. I would bet there are a few orders of magnitude of delta in there based on my experiences.
Hopefully they get some useful data and exp from this impact. I long for a new era of space exploration.
How would it make the ultimate computer?
I find the size of the families interesting. You can only stretch the $2 so much when you have a wife and 3 children to support even if poverty..as a notion..differs globally.

Poverty is directly correlated to large family size. This is true all over the world.
I never said there weren’t any benefits in it for us, let me be clear: I am a proponent for American hegemony. I want to see the American Empire continue.

I’m pessimistic however that even in the face of what are to me some incredibly obvious benefits that have been borne out and proven in the last several decades, that the sentiment I share with a decreasing amount of people outside of Washington and our predecessors that we will probably not even continue to try to assert American global hegemony. After World War II, we were and possibly still are despite our President, the greatest proponents of free trade, but when I look at both the left and the right of the political spectrum today, I see that same historic isolationist tendency creeping up on both sides of the political spectrum from where I stand.

Trump might be the first of several Presidents we see with such strong isolationist tendencies, but I sure hope not.
And if sales halved? 2008 took out 2 of the big 3; which companies would a similar recession in 2020 take out? Tesla would be vulnerable, but far from alone.
How do you prove the evidence wasn’t tampered with in the intervening years? Are we to trust the police evidence gathering and storage techniques for that long?
ISRO located the lander and got a thermal image from the orbiter

https://timesofindia.indiatimes.com/india/chandrayaan-2-isro...
I mean, regulation was introduced due to the Three Mile Island meltdown. Acting like it's irrational to regulate an industry that has proven itself unable to self-regulate is entirely dogmatic, especially given the disastrous consequences.

Furthermore, the Trump administration is already deregulating the nuclear industry, so you're getting your wish.
Best place to pickup 2nd hand?
Actually that is how enterprise works afaik. But few well funded startups on the other hand...
Following that example, looks like there is no minimalist general case, but should be possible to achieve a minimal product for journalist, taking into account what they need.
By further extending this logic, would be possible to arrange different sets of minimal features for every type of users, or at least cover a majority of those user cases and not force a one size-fits-all approach.
Run any Node.js version 10x faster than nvm
Ah so Strict is super strict, whereas Lax is still stricter than the current default.

Lax seems like it should have been named something else, like Partial or Moderate.
I don’t believe that for the Dravidian languages mutual intelligibility is common. I’m a Tamil speaker and I can’t understand any Telugu or Kannada - it sounds like people speaking Tamil underwater in a dream.
I've not owned one of those mini-macs. Was a bit surprised how it was put together from a servicing perspective. Way too much work to do something as simple as replacing the RAM, which I guess is what the intent was. I guess I should be more surprised it was not soldered to the mainboard.
In that case, the variance of the test score would increase, but the error bars on the graph indicate that it didn't. If that doesn't convince you, the paper linked at the end of the article has more details.
> he had a vast criminal record

Are you implying that it is immoral to develop relationships with former criminal convicts?
Why do you need to boot into audit mode?

Get-AppXProvisionedPackage -Online | Select PackageName

Remove-AppXProvisionedPackage -Online -PackageName <PackageName>

Your Remove-AllJunk is basically

Get-AppXProvisionedPackage -Online | Remove-AppxProvisionedPackage -Online
Show HN: Zero-fees global international money transfers, Magno
So you confirm that the Kona is cheaper and it drives further. Well done.
There's also Perl's Expect.pm. I know Perl isn't popular here, but it excels in this sort of use case. The compact syntax for regexes on responses makes it a good match for expect scripting. It can also be paired with IO:Pty for some advanced stuff.
I don't know which came first, but that does appear to work in the same way. (Notwithstanding that you can't navigate to "Home" on the Android widget without enabling location history, but inputting the address manually seems to work fine.)

This seem like it should work around the poor "Home" search the previous poster was referring to.
You could say I put a lot of trust in Google, as I use the built-in password manager in Chrome. My rationale is the following:

1. My browser vendor can access my browser passwords anyway.

2. It's better to trust fewer vendors and pieces of software.

3. Copying passwords to clipboard is awfully insecure.

4. Trying to remember all passwords is also awfully insecure.

I do not save any money-related passwords. I do dream of switching to pass from time to time.
> The flotation device in the toilet water tank was rubbing against the side, getting stuck halfway up so that the tank didn’t fill completely.

Wouldn't that cause the tank to overflow instead?
> let's conservatively say publishers are making $5/hr of reading time

except a huge portion of the reading market is from libraries and other free sources of content. Few people buy every single book they read new.
Most large aerospace firms have experince with this and are willing to wait out the process for the right person. That said, the bar for the 'right person' is much higher generally, even if it should not be. The bigger the company, generally more 'fair' the hiring. Ymmv.
CF cannot handle extremely large attacks either; what makes this a more suitable solution than what they're currently using?

Edit: and before anyone downvotes me, understand that I am asking an earnest question. I don't know what Wikimedia currently uses to protect their infrastructure, and how it compares to Cloudflare.
I'm pretty confident on the point here. For a specific example, the Haber process [0] consumes quite a significant amount of natural gas. That and the logistics network of moving the food around is all fossil fuels. If we cut fossil fuels out, and food prices rise the damage goes a bit beyond the measurable short-term economic impact.

If the cost of a sea level rise destroying a small island nation is a negative externality, then enabling population growth in a large city (without food riots) is a positive externality. An extrenality is just an impact that goes beyond the immediate buyer and seller; most of the value chain is an externality to a fossil fuel provider who was to be targeted by this hypothetical tax.

The argument in essence is that cheap abundant energy always has a bigger positive impact than a first order approximation would suggest. Pretty much the entire industrial revolution was a long chain of "wow, coal is enabling stuff we never imagined" that was certainly not value being directly captured in the buying and selling the miners were doing. The oil & coal companies aren't capturing very much of the value vs what is created.

I mean, seriously, nobody can argue that fossil fuels haven't enabled civilisation to move from the 1800s to 2019. In a very practical sense they are the enabler of everything we have; there wouldn't be any positive externalities without them. Fossil fuels, crops, wood, iron & a few other metals are the setup materials for all of it.

[0] https://en.wikipedia.org/wiki/Haber_process#Economic_and_env...
* Examples. Realistic, complete, useful examples that demonstrate the software being used in the manner it is intended.

* Glossary for any special terminology that can't just be googled - especially project specific terminology that may be confusing, and double especially terms or phrases which are used slightly differently to the way everybody else uses them (e.g. 'user' means something slightly different almost everywhere).

* Lots of "why" describing why the software behaves in ways that seem surprising at first glance.
Not OP, but..

The superchargers just work. Arrive, plug in, it's charging.

Other fast chargers are often much more cumbersome, requiring you to installing an app, registering an RFID tag, adding your credit card, etc. I've 6 different apps installed on my phone for different charging networks here in Norway, and 2-3 RFID tags in my car.

Many of them are also unstable, or have terrible UX and weird quirks. If you need to make a seven minute video[1] to explain how to use it, you're doing it wrong..

It's getting better though, software is improving, growing pains handled. A future CCS revision (the most used charge plug in Europe) will include "plug&charge" with payment handled by the car - making it more super charger like.

[1]: https://www.youtube.com/watch?v=YLe5jvx0NkI
Pirates infiltrate any service where they can list an item for sale. Report and move on.
To be fair, I only hear about ML the language when someone post in the comments complaining about a post about machine learning.
I'd guess nurturing and looking after such large amounts, would be no small task either.
An important difference: Tesla can produce all their own batteries, and none of the competitors are even close to Tesla's production levels. So Tesla gets better batteries for cheaper.
An interesting question would be "which regex variant can be parsed by itself, and how?".

Parsing simple regex with PCRE is cheating. If you are using PCRE, you should be parsing PCRE.

The simplest case would be DOS style globs with just * and ?, and it can parse itself: just use "*".
I like the recommendations it spits out, but what's up with the font. I'm curious.
How much has world population grown in the past 25 years? I think seeing it as percentages would be interesting.
The root of the problem is that too many programs require a tty.
> there have been critical computer system bugs and defects that have resulted in the loss of human life such as the 346 people who died on-board the Boeing 737 Max 8 flights in Indonesia and Ethiopia during 2018–2019

Strange example, as that was more a consequence of a failure in management.
Game developer loses multiplayer service code
"It will cost you"

Well, less than any other time in history. Not sure I get the point here.
This is portrayed as an alternative to NVM but for what NVM does it seems more awkward. NVM installs by bash because you do it before installing NodeJS because the script is going to download only the version you want. This efficiently solves the problem "install the target version of node for your application" on your server and "install the target for each application" on your workstation.

Compared to NVM's main use case - this NVE software is bootstrapped with NodeJS and 150 modules so on a server you just want to install the required NodeJS version as step 1-of-1, on your workstation maybe this can compete with NVM.

The 10x faster stuff is silly too. NVM just puts a symlink to whichever version of NodeJS you're using. The benchmark is contrived to execute code using NVM, which is one way, but in practice you use NodeJS directly when you use NVM. Executing NVM superfluously adds a lot of benchmark time.

$ nvm use 8.12.0
$ time bash -i -c node\ --version
v8.12.0

real 0m0.364s vs 0.692 through NVM
user 0m0.330s vs 0.639
sys 0m0.051s vs 0.78

Where this software seems different to NVM is in running multiple NodeJS versions within the same application so you could execute logic across disparate versions. That might be interesting with pinning down specific functionality from dependency/node combinations.
I really hope cloudflare doesn't go the way of a Google.

At one point they were benevolent dictators, and we the subjects enjoy being oppressed.

Now with the virtual signaling, rotted business ethics, 0 support available, and tone deaf corporate decisions, we put them into a place of power only to have it used against us.
regarding environment, the difference between 1999ccm and 2000ccm engine size is non existant.
While it might appear scammy AMD lacks instructions on some of its pre-Ryzen CPUs as the coverage for MOVEBE and the Bit Manipulation instructions are quite inconsistent.

TBH the case for Intel isn’t that much different they have (Atoms mainly) post-Haswell CPUs that don’t support all of the instructions in this patch that would fail the master CPUID check and would not receive the optimizations either.

If someone wants to split it into checking 30 specific CPUID flags and then figuring out which libraries can be linked because many of them would require some or all of these instructions by all means do that...
Here is the answer to the question: https://www.cargocultcode.com/solving-the-zalgo-regex/

tl;dr: It can indeed be solved relatively easily with a regex.
It won't, they'll just drop-ship bulk to some guy in the US who answered a 'make money from home' ad, who will receive a weekly 'box' of packages to send out with bulk-rate prepaid USPS envelopes. A lot of places already have this workaround going on.
We don't have time. A mass shock is inevitable. Deferring it makes it worse.
A good way for the lazy person (me) to find out what processors have what instructions is simply dig in the GCC source code and see what their enormous tables have to say.

For Zen since 2017 (znver1): https://github.com/gcc-mirror/gcc/blob/44e419819c4076843d0c92dc6913821a016a8519/gcc/common/config/i386/i386-common.c#L1673-L1681
For Haswell (haswell): https://github.com/gcc-mirror/gcc/blob/b2903606a95ff609a65abe7ac0cbf4321ad2614d/gcc/config/i386/i386.h#L2372-L2382

If you collect all these entries and do some set operations on them, it should boil down to znver1 having a bunch of extra things compared to haswell {"SSE4A", "ABM", "PRFCHW", "MWAITX", "ADX", "RDSEED", "CLZERO", "CLFLUSHOPT", "XSAVEC", "XSAVES", "SHA"} and haswell only having a HLE (Hardware Lock Elision) extra. HLE is designed to be fully backward-compatible, so yes GCC Haswell code will work on Ryzen with no illegal instructions.

With these very textual and probably super easy-to-parse bitset data, you should also be able to answer the "what previous things are missing" question as well. You should be able to see some historical divides with ssse3/sse4a and fma3/4 et al.

* * *

About the completeness of the check: trust me it is complete enough to only include all extant processors that are supersets of Haswell. POPCNT plus AVX2 narrows it down a quite lot.
Apart from the blog post, if you don't know anything about DNSSEC, I think the things you want to know are:

1. Almost nobody --- major tech companies, banks, privacy and security organizations --- uses it. It's decades old, and its adoption, at least in North America and in industry, is zero. There are lots of reasons, but you don't have to care right now.

2. Since almost nothing uses it, there's no real upside to enabling it. But there is a downside! If DNSSEC is misconfigured --- which is easy to do, and it won't get noticed quickly (see: point 1) --- then sites in the DNSSEC-signed zone silently drop off the Internet, as if they never existed. That happened, for instance, to HBO when they launched HBO NOW: nobody on Comcast could see it, because it turned out they'd screwed up DNSSEC, and Comcast had DNSSEC-verifying resolvers.
Oh this, yes!

I remember reading "Practice of Programming" by Brian Kernighan and Rob Pike (which is a really, really fantastic book!), and it talks about the importance of data structures.

https://en.wikipedia.org/wiki/The_Practice_of_Programming

This comes up again and again, and it is so true! The core data structures are one of the most important aspects of a program. In fact, when I start to write a program, I think about the central data structures first. It is clear, that to a programmer who takes over a project, they need to be explained as one of the first and most important things.
Regarding the calculator, I really loved those credit-card sized calculators of the 80s but I rarely see them anymore. Also, I'm curious what a modern credit-card sized device would be capable of.
https://agilemanifesto.org/

> Working software over comprehensive documentation

If your application is so complicated it needs documentation to understanding it, there is a problem with the way the application is structured. In the magic month I'd get the application broken down into independent parts which can be developed and tested separately.
1. Where is the data? How does it get from the user to the database (e.g., REST API, GraphQL, SOAP)?

2. What specific technologies are in use (languages, frameworks, platforms, third-party services, etc.)?

3. How does configuration/security work? In other words, where are keys/tokens floating around that I need to make sure don't get into the wrong hands or misplaced?

4. What are the best resources/references for the technologies in use?

In essence, what's the landscape and where are the "breakpoints" that could wreak havoc for customers and the business?
I don't think I can do a better job of explaining what I'm trying to articulate than I already have, sorry.
I am not sure what you mean?
The question is about identifying end-tags in XHTML. This is indeed possible with a regex.