skysight-inc/HackerNews huggingface dataset:
For context, the first FORTRAN compiler was delivered in 1957[1] and LISP in 1958[2].

My eye was caught by this remark, a propos the careful specification of Algol 60's syntax,

> indeed many early languages were virtually defined by the action (not always predictable) of their compilers.

But they immediately qualify that with

> Unfortunately the rigour with which the syntax of ALGOL is defined does not extend to the semantics...

[1] https://en.wikipedia.org/wiki/Fortran#History

[2] https://en.wikipedia.org/wiki/Lisp_(programming_language)#Hi...
Having DDL is nice until you are trying to add indexes to a production system and can’t have it locking the entire table. Then you need to add the index concurrently and Postgres does not support concurrent index creation inside of a DDL transaction.
Thank you for the correction.

The best sort in the article appears to yield 3x vs. std::sort for an array that fits in L2 cache. In my testing (with much larger arrays) I got 2.5x without any small-array transition, and 3x with a branchless sorting-network for ranges of 3 or less, and dramatically less code than that presented in the article.

I suspect that the algorithms used in the article, implemented just a little differently, could still yield substantially better performance, beating my simpler code.

This is a consequence of our deal with the devil: caches and speculation make our code faster, but we can no longer know whether it is objectively fast, or how much faster it could be. What seemed fast becomes slow the moment somebody does it faster.
It just calls https://github.com/pdf2htmlEX/pdf2htmlEX on the server.
If people cared about spying, there would be end-to-end-encryption in 5G. Maybe it'll come with 6G.
See also Micro Mages https://youtu.be/ZWQ0591PAxM
The Economic Policy Institute describes themselves as nonpartisan, but no one else describes them that way. From https://en.wikipedia.org/wiki/Economic_Policy_Institute:

> It is affiliated with the labor movement[3][4][5] and is usually described as presenting a left-leaning and pro-union viewpoint on public policy issues

…

> Eight labor unions made a five-year funding pledge to EPI at its inception: AFSCME, United Auto Workers, United Steelworkers, United Mine Workers, International Association of Machinists, Communications Workers of America, Service Employees International Union, and United Food and Commercial Workers Union.[12]
It's not true at all. The entire Cold War was spent by all sides thinking and preparing for nuclear war.

This sort of attitude is a very post-Cold War one. I also share it too, because the Cold War ended when I was a child so the threat of nuclear weapons always felt like something from the past to me. But if you read about people who were older during that period, you'll see that many people genuinely did live in fear that the bombs could start falling any day. For instance, I remember an Alan Moore interview from right before Watchmen came out where he said he felt there would be a nuclear war within the next few years. It's hard to imagine what living your life in that environment was like.
Food spending in general over the last 50+ years has represented an ever decreasing portion of US household budgets: https://www.npr.org/sections/thesalt/2015/03/02/389578089/yo...
Applications of Graph Neural Networks
The RISC-V community is already working on GPUs, some of them open:

https://github.com/felsabbagh3/Vortex
https://news.ycombinator.com/item?id=22492902
https://libre-riscv.org/3d_gpu/
Comments are harsh on what I took merely as a pedagogical example, but maybe it's because y'all have been burned so many times. I agree with you who advise to resist speculative programming. Don't write it till you need it, since all code incurs a burden of maintenance.

But I would like to address a tangent: extracting configuration from code. Let's take the article's example and change it a little. I'll decompose it, since it already has become a function, but often the first step is just a series of statements. (I will also port it to javascriptish pseudocode, since I don't know Julia.) So this might be your first draft:

response = HTTP.get('https://www.example.com/');

if (response.status !== 200) {
email('someone@example.com', 'something is wrong');
}

Instead of abstracting this into more general functions, I might simply move the literals to the top of the file:

url = 'https://www.example.com/';
ok = 200;
to = 'someone@example.com';
msg = 'something is wrong';

response = HTTP.get(url);

if (response.status !== ok) {
email(to, msg);
}

The only reason I know to do this is to maybe make changes easier. Even if you never need to generalize your code to other uses, you may need to update it for reasons outside your control. For example, someone leaves the company, and now you need to email someone-else@example.com. Or marketing changes the URL.

Is there a name for this kind of refactoring?
Haskell would never have been strict by default, because the entire point of Haskell was to be a common basis for research into non-strict languages. Non-strictness is simply the core of what Haskell is.
FWIW, they added the ability for these companies to control their own integrations by publishing iOS and Mac apps.

It's just that so far, only Twitter has bothered to do so on Mac. Even software like Slack which does so for iOS just hasn't bothered to port that code to their Mac app - most likely because of the Mac app using a different Electron-based codebase.
People like you spent years of years time, effort, sleepless nights and a lot more than talked to sharpen skills in one hardcore area very few people want to try and then willing to share everything within a mere article, thanks so much for sharing this and kudos to all the people like you.
I'm sorry if this isn't the place to ask (and please let me know), but how should we correctly title something like a tweet, that has no obvious title?
I was meaning on 64-bit, but it's good to clarify that, thank you.
This might be a boon at my work, where I need to use vagrant and I would also like to use docker workstation on my way Windows machine at work. work mandates that we run on Windows or Mac and most of my colleagues weren't run on Windows so it's important that we be able to run both things on Windows.
Live feed of protests across the US
They don't need to flash the gore to make the report.

Murders are reported without showing the body with holes in it, etc.
People are risking their lives exploring dangerous places on Earth every single day, not least of which, the ocean. They're also risking their lives for much less.
This is basically bad coding, I never used OAuth system but you are supposed to just validate token, not any additional incoming data as number one rule of distributed systems is “never trust the client”.

They basically made a huge fundamental design mistake.
"Our rights are naturally extended with technological advances in the same spirit"

It seems to me that very frequently, people declare something to be completely different just because it uses new technology. And then people argue if it really is different or not. There's never an airtight proof of who is right.

A saying that I think I may have first seen on HN is something about quantity having a quality all its own. E.g. maybe at some point from a musket to a rifle to a machine gun to a bazooka to a nuke, there is a line to be drawn.
Yes I bore easily. Which is why I love programming. It's like having the largest set of legos possible. Infinite possibilities. Making games, graphics, diagrams, music, art, photos.

Glad that I bore easily and programming is not boring.
Do you perhaps mean Helium-3? The only interesting rare form of Hydrogen is Tritium, and Tritium is rather nasty stuff.
DeWitt clauses (the name for these clauses) have been around since the early 1980s, and have not been struck down yet. I would love to see them disappear, though. For more, see my essay here: https://dwheeler.com/essays/dewitt-clause.html
Reading between the lines, I have a hunch the astronauts have mixed feelings about it ("this is certainly different") but ultimately accept it as adequate for the job. You are correct there were a lot of iterations involving the engineers and the pilots to arrive at the final result.
> Edit 2: I still don't understand why the token wouldn't mainly be linked to a subject that's a user id. Isn't 'sub' the main identifier in a JWT? Maybe it's just been too long and I don't remember right.

The details are very sparse in the post, but I believe the "sub" claim is a unique and stable value for the user against a particular relying party (based on that being a requirement in OpenID Connect.)

You _should_ be relying on sub rather than email address, which is not guaranteed to be sent every time, to stay stable, or be unique across accounts.

So while this was a zero day in terms of providing arbitrary email addresses as verified addresses, it may have not led to any account compromises.
> In what application are you going to sort an array of a pure scalar type that is native to the machine?

All the time in my experience. This is why radix sort is so useful. Many key types can be packed into 64 bits in a way that's compatible with the bitwise lexicographic ordering. You can pack 9-character low ASCII strings (or 10-character [a-zA-Z_][a-zA-Z0-9_]* identifiers) in 64 bits. [1] You can even do sub-bit packing, e.g. c + 3 * b + 3 * 7 * a for the tuple (a, b, c) with lexicographic ordering where 0 <= c < 3 and 0 <= b < 7. If you wanted to sort ascending on a and c but descending on b you'd replace b by 6 - b in the embedding. For radix sort you can also support 2's complement integers and IEEE-754 floats by simple key transformations. You get the idea: many complex keys are efficiently reducible to machine integers.

My default algorithm for scalar sorting is usually an optimized LSD radix sort. It's inherently branchless; its downside compared to quicksort is worse cache locality for the scattered writes after the histogram phase. Incidentally, quicksort is closely related to MSD radix sort with radix 2, which effectively partitions using data-independent pivots.

[1] For longer strings you would sort on the prefix using this embedding and then do a final pass where you sort among each (hopefully small) set of prefix-colliding strings by a different method, e.g. insertion sort for small sets.
I mean, that's fair, but I also think this is well enough understood as to be obvious... maybe a comment about it would have been good for context but it did come across as a technology article.

Of course burning wood produces more particulates, though less sulfur or radium. These I imagine would be slightly more upscale ovens though than I think you're talking about, the kind with chimneys so they don't exhaust into the house at least. For those kinds of ovens I feel like demographic wise you're talking semi off-the-grid New Hampshire rather than cooking with coal indoors.

Consider that trees collecting solar energy are maybe 50x worse than solar cells at converting sunlight to biomass energy. But for the kinds of situations I'm imagining they have enough land that the wood is free anyway. And I do believe that in that situation it's carbon neutral, except that the carbon gets released more as soot than it started which does suck.
Constrained Innovation: What’s holding back changes to the way we design chips
Dan Luu's programming book list (https://danluu.com/programming-books/) is a great resource. I bought the Dasgupta Algorithms book from that recommendation. (I've just started it so I can't say much about it yet.)
https://github.com/shashanoid/Simpdf/blob/1557bf838a8debeee1...

Btw, arbitrary code execution vuln here, OP.
Right, vote with our feet. How about we stop using Facebook? Be that person that who tells friends to do the same.

I think people have their own reasons for doing what they do that isn't so clear cut. I wouldn't want to work at FB but wouldn't rule it out exclusively for a stint. I did work in retail Forex which is like selling lottery tickets, or casino entertainment games, or sports betting. People have to do something with their time.
This also means WSL2 and Docker will play nice with VMWare in 2004, which is nice.
I Can't Breathe
This is a relatively new feature. It used to say something like 'error: undefined' and exit.
I think the difference is that humans can fix problems and adapt to changing conditions a lot better than machines currently.
Settings > Share Screen > Maximize Zoom window when a participant shares screen ?
I think this argument is neither here nor there. For computer vision problems, we use convnets, which are models inspired by a biological model of vision. By doing that we are embedding our preconceived notions of what vision is into our models instead of throwing compute and data at the problem. Earlier attempts using multi-layer perceptrons have been massive failures. Is this consistent with Sutton's analysis or contrary to it?
> * "In God We Trust" only became the US motto in 1956, presumably because of the "Red Scare"

stay home, stay safe.

the mask is for their protection, put it on while you're working
I got pretty dramatic results with just a 3-element branchless sorting network.
I can't say that I saw data loss caused by Oracle. But I saw plenty of cases where Oracle required manual intervention to be able to start up after something gone wrong. I never understood why Oracle does not self heal, because those interventions were obvious. I don't have much production experience with other databases, so I can't comment about that, but it was sometimes as simple as power loss which caused Oracle failing to start until you run some mumbo jumbo from sysdba.
> We already know what's out there, we have telescopes and probes.

The entire field of astrobiology is a big giant question mark despite our telescopes and probes. If we'd have sent humans to Mars instead of probes, we'd either have proof of past or present life, or we'd have very convincing evidence that it doesn't or never did exist. And we'd have had that relatively quickly. Here, decades later, we know a lot more, but we don't have this one basic fact.
Grace Hopper apparently retired from the navy when she was _80_. And then went into consulting. So you’ve a few years to go yet.
It's important to understand that "bots" is a large variety of automation levels, just as "self-driving car" has 5 levels spanning from "cruise control" to "full automation with no ability for manual intervention".

Browser extensions, custom Python/JavaScript clients, and even just paid outsourcing of likes/comments/retweets/captchas can all be considered "bots".
Well, you can try. See if you can build something to compete. And if you can't, well, then we know who the better man is.
Based on the information given, I don't know if you can really impersonate people. Rather, you can give an arbitrary email address and have it represented as valid, _against your account_.

You need an additional bug on the relying party for this to allow someone to gain access - that they associate the apple account based on the unstable email address claim rather than the stable "sub" claim.
It's interesting to think about that from the other side, too. Just delivering the raw materials to the manufacturing facility would cost ~$3000/kg (assuming rock bottom SpaceX prices). Based on some loose googling, I think that 1kg of raw material would yield only something on the order of 100m of cable. It looks like a typical 100m fiber optic patch cable retails for about $60.

So, there's clearly a lot of value to somebody for fiber optic cable with even lower signal loss.

That really drives home to me that, even though information technology is just my boring day job and it's still space travel that gets me as excited as it did when I was a kid, it's still true that the space age is over and we're definitely living in the information age.
What's wrong with Sharia law? As far as I know it's generally accepted in the US and presumably in other civilized countries that parties who agree to decide their disputes in alternative settings such as religious courts are allowed to do so. It's not something done by members of one religion only either. Jewish and Christian sects do it/have done it historically.

I'm definitely against anyone being able to give up their rights to escalate to the regular court system, but as far as I know that only exists in secular arbitration which has a specific law addressing that.
> Private space flight started with this flight.

21 June 2004
The issue is that the government is putting more restrictions on the church than it does grocery stores.

If California put the same restrictions on grocery stores, as it did churches they would be more consistent with US law. Otherwise, the government has to prove that the difference in restrictions is so important it outweighs the religious concerns raised by the plaintiffs. (This is a high bar to reach in the US.)

The SCOTUS is being lazy by letting CA characterize a church similarly to a commercial movie theater. That is nonsense. A person can miss a movie without risking eternal damnation, but this may not be true for some church services for some Christians.
You should provide a sample pdf file so we don't have to hunt around for a (small) pdf file just to see how it works.
the sub field does not contain an email address in SiwA.
Why does WordPress use md5? I understand that salting improves things quite a bit, but still.

Doesn’t password_hash() use bcrypt by default? Why not use it?
Wonderful to hear that, and congratulations to you for that accomplishment. I worry those type of opportunities are no more, or at least much rarer.
> delivering a fantastic product will make the owners rich and the people involved will maybe get a raise. Delivering a spectacularly failed project ends your chances of career advancement.

Aren't ~90% of the software projects failures?

Mediocre software is failure. There is no upside to avoiding all risks.
Using SRE to meet reliability challenges
Well, we can't escape chromium (maybe technically just a subsection of it?)
the SiwA identification is based on "sub", email address is an important address but you aren't supposed to link accounts based on it since the user can change the email address or revoke email proxy at any time.
I seem to remember being referred to as "that battery guy" here on HN, so here I am I guess.

Unfortunately that is complete bullshit. (No offense intended to the Bloomberg suit.) Energy densities have absolutely -not- tripled since 2010, in fact they have barely changed. Costs have gone down, yes, but not by 87%.

Cost-wise: a simple counterexample is to look at any smartphone BOM from 2010. Phone batteries around 10-12 Wh cost around $5. That's somewhere around $416-$500 per kWh. And that's for a phone battery, AKA not exactly the cheapest batteries out there, and not at massive scale (phone batteries are tiny in capacity and almost all 2010 smartphones sold in the single-digit millions max.) Currently, as Bloomberg claims, cheap batteries are around $160/kWh. So that'd be a change of around 61% cheaper. Around 0.4x the 2010 price instead of the outlandish claim of 0.13x the price. Keep in mind that this I'm just basing this off mobile phone BOMs cause I can't be bothered to find anything cheaper - there certainly were cheaper batteries then.

Energy density wise, it's even more bullshit. TRIPLED? No, energy density has sat around 200 Wh/kg for approximately forever. (Off the top of my head, since at least 2009.) 200 Wh/kg batteries have been available to the -consumer- at not-insane prices for over a decade. In 2013, anyone - business or consumer - could purchase Panasonic cells at 224 Wh/kg. Today, the highest energy density anyone claims is around 240 Wh/kg from Tesla's 2170. Let's take that at face value and assume it is 240.0 Wh/kg; that's a 7% increase from 2013, and at best somewhere around a 15% increase from 2010.

The sad reality is that batteries are extremely hard, and few things have changed aside from price. Hell, even the form factor, the 18650, was invented about three decades ago! Pretty much the only thing that has changed recently is that volumes have gone up massively, driving down costs with at-scale manufacturing. But that has happened in the vast majority of industries, and was entirely predictable. Furthermore, the cost decrease for batteries specifically hasn't been as fast as nearly everyone predicted. All the other magical headlines, about energy densities skyrocketing, or fancy new chemistries, or swappable packs, have been pure bullshit.
Zero Stroke
It just occurred to me how interesting it will be for the new generation who start so much younger and longer life expectancy what they'll see in their long careers. Given how much has changed in your story, from Fortran to AlphaZero and GPT-2. How much will change in theirs? Will the singularity appear to be in sight? Will programmers disappear like telephone operators?
Hostility toward beginners is a poor strategy if growth is the goal.
to be fair, there's a large graveyard of OSs which failed to gain traction, especially on mobile.

I'd be surprised if any vendor adopts Fuchsia thinking it has anything better than a 10-20% chance of being mainstream.

Today we have Android and iOS as the dominant Mobile phone OSs. Don't forget about all the attempts to dethrone those two by: Symbian, WebOS, Windows phone, Blackberry, Tizen, Ubuntu Touch, kaios, firefox os, PureOS, LiteOS,...etc.
CodePen Is a Nearly Perfect Place for Kids to Learn to Code
Hi Luca,
Just tried this out. I added a URL which has an expired root cert, but it passed your test.

Let me know if I can help with more info.
https://github.com/roots/wp-password-bcrypt#the-problem
"Besides a compulsion to write endless strings of zeros, individuals that suffered from this condition would reportedly become confused when referring to numbers and would state that they were ten billion years old or had forty trillion children."
You made an unsourced claim that flies in the face of established literature. My comment was a joke because you obviously are completely uninformed. The fact that you could call someone else an armchair economist is disgusting and shows how awful social media is for society. Maybe you can start with wealth of nations and work your way up from there. Please don't make any comments like this until you have completed your required readings.
The company that sent that demonstrator does not intend manufacture at the station. The plan is, once the tech is proven, to launch a dedicated robotic craft. It would do the work and return on its own. That moots all sorts of docking/navigation problems, dramatically reducing the complexity of the craft.
People keep saying this but it never gets more practical. Meanwhile, battery ranges get longer and recharging gets faster. I'm not convinced that swappable batteries are the future of EVs at all.
The patent has expired. Rabbits are clean reverse engineering of the Tengen chip, besides.

Also, don't be a narc.
How an increasing R-value for Covid-19 is actually a good thing
In Canada, the potato and/or dairy farmers associations are destroying their crops to prop up prices since fast food demand disappeared and there was such excess. Not sure what the difference between that and price fixing is but it seems to be a common practice. I first heard about it after reading the Grapes of Wrath

Edit: better source: https://www.google.com/url?sa=t&source=web&cd=&ved=2ahUKEwiD...
Works, it changes the font type after editing
Fuchsia is not a current revenue generator for Google. If they needed to cut headcount, fuchsia could see reduced headcount.
You are going to need to provide a citation about the WHO saying masks aren't effective. That doesn't appear to be true. [1]. Web searches couldn't find that.

[1] https://www.who.int/emergencies/diseases/novel-coronavirus-2...