skysight-inc/HackerNews huggingface dataset:
Thruster 1.0.0, a middleware centric HTTP framework in Rust
This reminds me of when people said that the DMCA would be used to silence critics, or DRM would be used to prevent people from fixing their own devices. In those other cases, too, the outcome was obvious and predicted, but they went ahead anyway.

We can only hope, pray, and take action[1] to try to prevent the same thing from happening with the government trying to force companies to build backdoors into encryption, a battle we have been fighting for literally decades[2].

[1] https://act.eff.org/action/stop-the-earn-it-bill-before-it-b...
[2] https://en.wikipedia.org/wiki/Clipper_chip
Absolutely. But on the other hand, it's still very useful that Python does work like this: it's nice to be able to directly do things at the top level (e.g. setting up "constants" with a little computation, conditionally importing modules or importing fallbacks, etc.). As the article says, it's also an extremely clean way of defining what gets run in what order during startup.
The end of your comment makes some sense. The beginning is a puzzle. Who's using biomass? It's <1.5% of energy generation in the US -- you're pretty special and living in an unusual place if you get any substantial energy from that source.
I'd add that there's often a community management aspect to the role as well and sometimes that's the title. In general, I find a lot of different titles used which may or may not reflect what the person does day to day.

I even know people who are also product managers who do a fair bit of outward-facing DevRel/Evangelism type of work.

And skill sets vary quite a bit too. I know folks who do a ton of coding, creating demos, etc. And I know others who, while typically at least somewhat technical, are much more on the relationship and community-building side of things.
I'm sure that a very fast battery swap mechanism can be implemented, for pit stops. If you can do that, you don't even need that fast of a recharge. Nobody tried to retread their tires, after all - you just get new ones.
> I can’t think of any justification for people choosing to write them that way

My editor does that, not me.
The question to ask is how many VPs and Directors they have.

Once you have that answer, you’ll know why there are so many employees.
Here's where I was coming from. (Warning I don't know browser internals but I have written a a lexer and parser before).

Assuming the browsers run a lexer to take the HTML and convert it into an AST of some kind they would walk the text per-character (or UTF code-point potentially). If the rules were enforced loosely but in a purely forward looking way then `<div class=pants shirts id=small>` would parse as Div token with a class value of `pants shirts id=small`. However I doubt that they're parsed purely forward looking since it's not possible to know from the character position at the `i` in `id` that `id` is a keyword for an argument rather than part of the class value.

So how does the browser know that the class value ends at `id`? Because there are additional heuristics over and above the quote requirement. What probably happens is that it looks forward until it finds some value that's not allowed in the `class` attribute (spaces are allowed for multiple class names), I'd guess in this case the assignment operator after `id`. Once it finds this it says to itself "Hey, `id` is an attribute." So it ends the Div token before `id`, probably stripping the trailing white-space since it's inside an HTML tag, and then starts parsing the `id` attribute.

This behavior of accepting non-compliant HTML is additional complexity over and above strictly parsing the standard. Having to take the "slow" path of waiting until it gets to another attribute doesn't take much, maybe a few dozen actual instructions, the data is probably still in the same cache line. But repeat that 100,000 times for each attribute in a real-world HTML document and it adds up.
My knowledge of corporate culture might be outdated, but I believe the former LinkedIn employees get to live.
I second advice from fsflover. "nonprocast" option should help you.

Another idea from me, maybe you can try to focus on daily or weekly of highest-rated posts and ignore other posts. These are the examples (created by Colin Percival):

Daily stories https://www.daemonology.net/hn-daily/

Weekly Ask HN https://www.daemonology.net/hn-weekly-ask/

Weekly Show HN https://www.daemonology.net/hn-weekly-show/

The highest-rated posts usually have interesting comments from HN users.
Seems reasonable. Eliminating decision making for trivial things is pretty empowering. Likewise I don't indent my code myself. I just always accept IDE indent specified in config file which isn't always optimal.
http://pi.qcontinuum.com/

Has had more uptime than Cloudflare.
Good things happen when car engineers "go crazy"! Meaning, management lifts their BS restrictions.
The algorithm would be approximately:

1) Use the binary representation of the numbers! To do so, cast the resulting float to the unsigned integer, then use bit masks and shifts to extract the exponent and mantissa. Note that the leading 1 is not explicit but implicit in the IEEE format unless it's a denormal number (so make it always explicit during the extraction).

2) use the exponent of the correct result as the "interval" reference.

If the exponents are the same, do a subtraction of the smaller from the bigger mantissa, that's the absolute "distance" between the two numbers -- the goal is to find what is the biggest absolute distance in which interval.

3) If one of the 2 values that are compared has different exponent, they can be converted to the same by a bit shift. Shift the mantissa of the one with the bigger exponent left accordingly. Again do the subtraction and use the result as the absolute distance. The goal is to figure out the biggest absolute distance in each interval (maintaining a maximum for each interval).

In short, think binary, not decimal, and measure using these values. Binary are only values that matter, decimal representation doesn't necessarily represent the exact values of bits.

Examples:

float 1.0 == unsigned 0x3f800000 here exponent is 127 == 2^0 and mantissa 0 with implicit 1 at the start i.e. explicit: 0x800000

float 0.999999940395355224609375 = unsigned 0x3f7fffff here exponent is 126 == 2^-1 and mantissa explicit: 0xffffff

The absolute distance between these two numbers is 1 (adding one to the lowest bit of mantissa of the smaller number would result the higher number 0xffffff + 1 = 0x1000000, the later is the mantissa adjusted to the same exponent of the smaller number (0x800000 << 1) ). If the "correct" number was 0x3f800000 and even if the shift was needed to calculate the absolute distance, the interval is still 0 (i.e. 0 is the x axis value, as its exponent was 2^0 i.e. 127, and the value to be plotted is on y is 1 until a bigger distance occurs).

For more examples of the format you can play here:

https://www.h-schmidt.net/FloatConverter/IEEE754.html

Also note that a few exponents are special, meaning infinity or NaN. Whenever the "correct" answer is not a NaN or infinity but the "incorrect" is, that should be treated specially, if it actually happens.
That runs the risk of someone less experienced introducing a bug later when a new dependency is introduced. I think it's better to simply do whatever the linter says.
Which is good, since this is a one-off race car designed for the track :)
Not exactly sure your critique (maybe I'm misunderstanding?). The gist I get from the article is that many Arab states have dependend on oil to stablize their economies/internal politics and fund their way of life, and that while some of these states had plans to diversify the current cheap oil makes the execution of that plan more complicated. In addition (something I learned from this article) the economies in the region are connected in ways which may make possibile instability amplified due to migrant workers/tourism.

The quote you picked out might not be a great take, but I think it's referring to the potential large (and growing) gap between the ruling class and normal citizens which could seed dissent.
I'm glad this is getting attention, but I don't like how this line is written:
"Most bizarrely of all, when researchers tested blood samples taken years before the pandemic started, they found T cells which were specifically tailored to detect proteins on the surface of Covid-19."

If you look at the linked article (https://www.sciencedirect.com/science/article/pii/S009286742...), it is pretty clearly stated that these T cells are considered cross reactive (maybe arising from previous exposures to other coronaviruses). They couldn't be specific for a virus when they arose before that virus even started spreading.
Ask HN: Why are all new Open Source DB's being written in Golang?
Rust seems like a better option as you can eke out more performance and ensure that there are no weird bugs influenced by Data Races & Memory issues.

I work on the Oracle RDBMS which is written in C and these always seem to be difficult issues to solve on a Database product, not to mention the potential for data corruption.

Rust just seems like the best Systems programming language out there.
But most of the new Trending Open Source DB's seem to be built using Go : Cockroach DB, InfluxDB, TiDB, etc.

Is this just because of the shorter development time that Go offers.?

I haven't used the Go race detector, but can it really ensure that you ship code without any data races?

I do know that TiKV is built entirely in Rust, but there doesn't appear to be any other popular DB/Storage system being written in Rust though.

Personally, the FFI overhead of Golang and the lack of intrinsic support are a deal breaker for choosing it to write something as complicated as a DB.
Let’s be honest here. Hackernews commenters inflate their own intelligence a lot and might not be the brightest stars in the sky.
They are terminated though.
Sounds like paranoia to me. I'd suggest therapy.
IIRC it is the C runtime that calls main(). In C all executable code must necessarily be inside functions, so inevitably there had to be one 'special' function that was called first.
I'm sure he'd prefer to avoid it, but Facebook has become influential enough in people's day-to-day information consumption that at this point, doing nothing is itself a stance in favor of the well-funded and well-connected.
They actually have 16,000 people. Unfortunately, it'd send you even more intense shock waves.
Ask HN: What is the coolest prize to give to a Developer / Technical Geek?
We're looking to give away a bunch of prizes (priced in the $100 to $400 range) to our customers. They are mostly developers or DevOps engineers. Any suggestions? Some of the things we've considered are: Xbox, LEGO kit and PINEBOOK Pro.
> In many ways, it's even worse for the environment than just burning the oil directly.

This seems like a testable claim. Is there research about this subject that could confirm or debunk this claim?
If you step off the edge of a cliff, the fact of gravity will assert its existence on you whether you choose to subscribe to it or not.
On sorts of pain that have resulted: in 1985, Fahd opened the taps just when Gorbi was trying to reform the soviet economy. Successful reform was presumably made more difficult when one's principal export declines to a third (not helped by concurrent USD weakness) in real value.

https://en.wikipedia.org/wiki/1980s_oil_glut
The greatest trick the devil ever pulled is making you think he doesn't exist.

Even without active censorship, Facebook very much is a gate keeper invading your personal space. It's just rather than building up walls around you, it's merely giving you a shovel and showering you with dopamine bursts every time you dig yourself down into your own personal hole. The end effect is the same, though -- all you hear is echos bouncing off walls around you. You just think the echos are only your own.

I agree a free society shouldn't tolerate amending private citizen's conversation. However, that comes with the responsibility of recognizing the more insidious ways of doing that, such as when your attention has been hijacked with industrialized behavioral profiling. The "private citizen conversations" you hear bouncing off your walls are being algorithmically seeded by whatever brings in the most dollars the most efficiently. That's not a truly free society, that's just a very subtle form of mass indoctrination.

The devil already exists out there whether you think he does or not. And when you play with the devil, the only winning move is to not play his game.
Leadership habits to embrace to promote team collaboration
Ask HN: Should HN have a toggle to show/hide paywall articles?
I'd agree; I'm at a large corp that has a need to store our data for a very long term. If we were using Prometheus as an ephemeral/short term TSDB to drive alerting only, it would be really easy.
U.S. Says Chinese Hackers Stole Trade Secrets, Sought Virus Data
I believe Ardour has an open license and Reaper has a proprietary licence. In terms of functionality and ease of use however, I think Reaper is hard to beat.
And she more recently wrote a book on Developer Relations using the same analogy. https://www.amazon.com/Business-Value-Developer-Relations-Co...
My immediate reaction was “it does—but it’s in the interpreter so of course you don’t have to write it”.
I've always described what I do as marketing for developers at the end of the day. Developers typically have the thickest bullshit shields and know immediately when they are interacting with someone that isn't technically credible - say at a conference expo booth.

I've personally had very little involvement with sales over the years and have mostly operated at the top of the funnel. Most (from my experience) DevRel teams actually sit under a marketing org.
I no longer host my emails myself
> I'm baffled by that number given how bad the product is.

That's because the "product" isn't the social network. The "product" is insight and access to much of the professional workforce. Sales and HR use it extensively.

The social network aspect is likely to keep people semi-engaged with the platform and voluntarily disclosing things that Sales and HR can use as signals.
I had a roommate from Saudi Arabia who said that their king have realized that a while ago and because they have basically infinite money, he started to develop small cities that have touristic potential, and people are being taught English too. In his words, they want to change this oil stereotype about their country, and that in ten years their country will be transformed.
>Some of the leaders do know that they can't live on oil forever, so you see some sovereign wealth funds investing in things that their people can learn and use to build their society more resiliently

Do the Saudi's have the experience and culture to make this work? $90B invested in Softbank Vision Fund. [0]

[0] https://www.businessinsider.com/saudi-arabia-45-billion-with...
I've been using a previous gen system for almost 3 years: EPYC 7401P with a Gigabyte MZ31-AR0, 8x16GB of ECC, and a bunch of PCIe flash and some SATA rust. I love it; it's my favorite workstation in a long time.

For my new machine next year. I'm currently leaning towards ASRock Rack's ROMED8-2T, which is available for order but is not "in stock" at most places (e.g. provantage). It's PCIe 4.0, runs DDR4 at 3200 MHz, and has a reasonably long RAM QVL. I'll go with whatever the best value is for a CPU when I pull the trigger on the upgrade.
Thanks, not familiar with QM at all, but it seems to me from glancing through one of the papers that the neural network is used to replace a popular way of representing the wave function which itself is an Ansatz. Not very convincing, but of course, as I said not familiar with the background and so I may be overlooking something.
The main function, in C/CPP programs, satisfies an operating standard in Unix and Windows systems for a defined program instruction entry point. With CPython, main is written into the python executable's source. Python scripts are not C/CPP-source executables so they don't need a main, they don't need this constraint, so what sense is there in imposing it?
The Primacy of Personal Knowledge of God’s Existence
I did this a few years back, though it was in person and not remote.

> Since we're remote, should I schedule a recurring meeting for us to chat every day? Or should I keep it more free-form?

I would schedule a short chat daily for the first week or so while making it clear that they can reach out any time they have questions. At the end of the first week put the ball in their court by asking if the daily catch-ups are helping or if they are a waste of time. No need to do something that neither of you would get any benefit from.

> How can I help my intern grow technically and professionally?

Code reviews and pair programming help. Any questions that were purely technical and didn't require domain knowledge I would follow up with "what have you tried?". I believe it is important to teach the individual that they should put some effort to figure things out on their own before asking for help. I definitely encourage asking for help as well and will point them in the direction so they could potentially figure the solution out on their own. If they are still stuck I would then help them figure it out directly 1 on 1. By giving pointers on how to find the answer to their questions it will help them later be more self-sufficient in the long run.

> Should I ask him for feedback on how I'm doing every couple of weeks?

Yes, but phrasing is important. Saying "How am I doing?" is most likely not going to be helpful but making about them could be. Asking questions like "What do you feel is holding you back?" or "Do you feel like you are set up for success?". Both questions can give you an idea on how you are doing without making it about you. Some people may not feel comfortable saying anything potentially negative if somebody asks them "how am I doing?" but if they are asked about how they are doing and their feelings they may open up more and, of course, it can give you a glimpse in to how well you are providing actual mentorship.
what languages does LinkedIn support - I get mine in English but I suppose it must be heavily internationalized as well.
Maybe if you're writing it ;)

Most of the time it mirrors the structure of a file system which is the exact way (almost) every program is written.

As with most software projects, keeping organized is like 80% of the battle.
I think this article is incomplete without mentioning oppressive IP laws that enable copyright to basically support multi-generational legacies. Patents: I'm not sure how patents are extended past their 17 year limit but if they are, it's the same thing.

"Intangible assets" are more or less propped up by these laws. Would Microsoft be a $250bn company if copyright on Windows and Office only lasted 10 years?

You can't count on most physical assets outlasting the typical copyright term. So this is where all the value and power is moving to because it's literally protected by law and never decays.
Doesnt seem to work with webgl, I tried with some old project of mine: https://coinminingstats.com/globe

Its pretty responsive otherwise though, really cool
I've been ideating about a base-48 (KJNTPBMYRVSH vs AIOU) version of decimal ids. Ids like "sunihuvi" or "panimaso" which are (hopefully) memorable and easy to pronounce with any accent. 5 letters can encode till 254803968.

Algorithm wizards, can I get error correction if I dedicate a character for that?
Wow, app wall, that’s a new one. “Download the app or create an account to read.”
Everyone is so concerned about privacy. Apple, Android, Google, etc. spend billions of $ and hundreds of people on managing privacy for their mobile devices, vetting apps, monitoring and hardening the hardware against hacking. Even then they don't get it totally right.

What are the chances some new small phone prototyper is going to do this properly to the point I trust it enough that the novelty of something smaller is more valuable than not getting hacked and monitored?
Thank you. I'm so tired of reading the same "I could build this unicorn over the weekend with a few AWS credits and a healthy stream of whiskey."

On every damn layoff thread.
A lot of what Thiel writes is from a US centric viewpoint, which is fine, he's an American living in America. And in the biggest US cities public transport doesn't work all that well.
A humorous analogy based on something funny that a co-worker did seems like a joke to me. I'm not claiming I invented it, just saying that it doesn't stem from confusion.
While that's not what I had in mind, in principle yes.

That said, in my experience, trying to use a real programming language's REPL for shell-like things is (at best) almost as bad as trying to write a meaningfully sized program in a shell's language.

I've many times tried to pin down exactly why. I think it's mostly a matter of focus and the various affordances provided by the ecosystem that have in fact been developed over the past however-many years.

I wouldn't be terribly surprised if you've found a niche and setup where it works out great for you - the important things are compositionality and putting what you need close at hand.
I repeatedly brought up all of these points here on HN when DoH was being developed. I suggested the developers of DoH reconsider the implementation and provide mechanisms for companies to manage this rather than bolting things on after the fact, which Mozilla have done. People only think about web browsers, but the internet is much more than that. API libraries must be considered, among many other ways that DNS is used inside a company between servers talking to servers, clients to servers, corporate VPN's, internal DNS names that may in some cases overlap with external and so many other cases. I still consider this to be a race for CDN's to centralize the monitoring of user behavior in the name of faux privacy. Like so many things, this was a good idea implemented poorly, in my humble opinion. The internet is not just Alice sitting at home browsing Youtube. Today, more than ever, people are having to work from home and DNS needs to work in a reliable and predictable manor.
If the dependency array lint rule is yelling at you there's a very, very good chance your component is broken. As an example I used to see class components like this all the time:

class Foo extends React.Component {
componentDidMount() {
fetchFoo(this.props.id)
.then(foo => this.setState({foo}))
}
render() { ... }
}

This component is fundamentally broken because there is no `componentDidUpdate` to re-call `fetchFoo` when `this.props.id` changes. I could easily be rendering a new id with an old id's foo. The developer is making an assumption that the initial value of `id` will never change, therefore making assumptions about how the parent component is instantiating `Foo`. Rewriting this using hooks makes this immediately obvious:

const Foo = ({id}) => {
const [foo, setFoo] = React.useState(null)
React.useEfect(() => {
fetchFoo(id).then(setFoo)
, []) // Linter complains, and it should!
return ...
}

There's nothing wrong with using the empty array as your deps so long as it's actually what you want to do. If `fetchFoo()` didn't require any arguments and we only wanted to invoke it once [] would absolutely be the right dependency array. There are few cases I can think of where disabling the linter check is correct. The most common occurence in my code is if the effect uses a value not required to be fresh: e.g. something used for an optimization.
"At this point, there isn't actually any reason to believe one side over the other anymore. It is just complete hysterics on both sides."

Welcome to the skeptical moderates' table. We actively seek falsification of political assertions, particularly if it fits neatly in an overall narrative, particularly if we would like to be true. We are a small and beleaguered group.