skysight-inc/HackerNews huggingface dataset:
using <details> for popup-footnotes is a great idea! for anyone interested, here's a simple implementation (pure html+css):

<style>
details.footnote {
display: inline;
position: relative;
}

/* hide details arrow */
details.footnote > summary { list-style: none; } /* firefox */
details.footnote > summary::-webkit-details-marker { display: none; } /* webkit */

details.footnote > summary {
color: blue;
cursor: pointer;
}

details.footnote > .footnote-content {
position: absolute;
background: white;
border: 1px solid lightgray;
padding: 1em;
min-width: 40ch;
}
</style>

Lorem ipsum dolor sit amet
<details class="footnote">
<summary>[1]</summary>
<div class="footnote-content">This was once revealed to me in a dream.</div>
</details>
consectetur adipiscing elit, sed do<br>
eiusmod tempor. Ut enim ad minim veniam, quis nostrud exercitation<br>
ullamco laboris nisi ut aliquip ex ea commodo consequat.

edit: added webkit hack; thanks @timvdalen!
Borland Paradox for DOS 4.5 (build full data-driven desktop applications, from form designer to relational database to reporting).

4DOS/4NT (a command-line enhancer which really made DOS/Windows CMD.EXE really productive. I use cmder these days but still miss the 4DOS/4NT level productivity).
Face Reconstruction from Voice Using GenerativeAdversarial Networks [pdf]
If the volume involved is high enough to be problematic, it's high enough to justify building pipelines. The cost of trucking is irrelevant.
> Yeah I didn't explain that very well.

Not at all well, I'm afraid, but I think I understand:

f(){ false && true; } ; set -e ; f ; echo hi
# this works correctly (f returns false and errexit triggers)

set -e; false && true ; echo hi
# despite `false && true` failing, this doesn't trigger errexit

I was confused by the implication that the function version was what was wrong (rather than "false && true is broken, and you'd expect the function to work the same way"). Probably partly because I was confusing it with `command || true`, which is a idiomatic way to suppress errexit-like mechanisms by making the exit status always 0.
Playing devil’s advocate here. But, I think it can be bad for Spotify if the user copies the playlist that’s being curated by Spotify to another streaming service. It’s good for them if they could add some friction to it by, you know—manually copy it and doesn’t let it update automatically every time they make a change to the playlist—by shutting down the API for this kind of request altogether.

It’s not about “allows user to quickly find the same songs elsewhere”, because if you’re not ready for that then you shouldn’t probably be in this business in the first place.
This approach works well until you do encounter a situation like that in production :). It's worth testing conservatively because our understanding of our systems is imperfect and because assumptions that may be valid now are likely to change in the future. It's especially true for code that might operate at scale or has security considerations, because both of those can magnify the effects of conditions that occur with arbitrarily low probabilities.

Personally, I see tests as not just a way to prevent bugs, but as a way to learn about the system being tested—both how it behaves now and, continually, how it behaves in future iterations. In this specific case, understanding what happens if two URIs hash to the same value even if they don't "really" do that is an important bit of information: it tells us not only what would happen with a real hash collision but also how our system would behave if there were a bug either in the hashing algorithm itself or in the code that connects the hashing algorithm to the component that uses the hashes.

What happens if we introduce a caching layer between where the hash is generated and where it's used, and there's a cache invalidation bug? I don't know how realistic that is in this specific hypothetical, but I'm sure there are other performance optimizations with the same bug potential that I'm not even thinking of. Changes like that can lead to absolute debugging nightmares! Testing even "impossible" edge cases helps catch this in a systematic way, without needing full knowledge of which conditions might matter.

Of course, none of this talks to the trade-off you pointed out: test code does have a real cost. That is absolutely something to consider. I just don't think the answer is to draw a hard line at "don't test situations that can't come up in production"—and, perhaps naively, I think the "real" solution is less about deciding what is and isn't worth testing and more about reducing the costs of testing more. Write application code in a way that's easy to test and treat your test code as code—keep it clean, include comments, and invest time in setup and tooling to make your tests as easy to write and maintain as possible.
Scrolling would be painful on e-ink
Red cars also pays higher premium for insurance
I’ve been fascinated with Trinary computing.

https://en.wikipedia.org/wiki/Ternary_computer
That’s it. I’m cancelling my Spotify subscription today.
One feature for the "Standard" plan (coming October 2020) says "Employees pre-book work from office days".
> Lastly, timestamps for automated orders were required to be within 50 milliseconds of NIST and timestamps for manual orders were required to be within 1 second of NIST.
Only processing transactions once a second doesn't make the race for time go away. Taking the same example brought up in the article, Chicago and New York stock exchange, the two exchanges will never be perfectly in sync. Whosoever has the means to see a trade was made on one and then race to place a corresponding profitable order on the other before the clock ticks on that exchange, will make a profit over the others. The same will hold true no matter what granularity you make the exchange, until we reach physical limits to data transfer, which are already pretty close if you consider the orders of magnitude.
Binary will always beat the pants off human-readable formats.
I doubt Excel can export to Flatbuffer, Protobuf, MessagePack, Parquet, etc. So CSV is pretty much here to stay, even though correctly parsing it is more difficult that it seems.

To gain even from parallelism, make all your rows a fixed size. Arbitrary length fields aren't your friend if you want max speed.
I see license is CC do you have an example in your website how do we must provide attribution?
Yeah like as a frontend/web developer, most of what we do is make what are essentially Wordpress themes for some company that really doesn’t matter or do much important.
key word "unknown."

we do not yet know the long term consequences. there are people not feeling recovered after 6+ months. and children having heart inflammation problems after an a-symptomatic covid infection.
Adobe XD Extension for Visual Studio Code and Design System Packages
It's an ongoing debate, but there are some facts that don't change regardless of stance in the debate.

If you limit HFT, then markets /do/ become less efficient. When two trading venues for the same instrument exists, say, in Europe and the US, there is no benefit to any participant for a price disparity to exist for a long period. If $GOOG tanks 10% in a day, and a retail investor buys $GOOG at its old price in Europe, who is better off? Similarly for a seller in Europe, what if you were fleeced 10% because your holdings moved favourably in the moments before you sold?

HFT also makes trading cheaper for everyone. Much of the time these firms are primarily competing with each other. One way that competition manifests is in the bid/ask spread. With firms fighting for order flow, if they can improve their offer by a single cent to ensure price-time order book priority then they'll improve their price. For Joe Retail buying or selling that instrument, he just received a small improvement on the spread as a side effect of essentially duelling titans.

There are more aspects I'm not smart enough to discuss, like how HFT basically enables entire asset classes through dynamic hedging. The only reason that option markets exist on most stocks is because there is an HFT counterparty that sold you the option rapidly buying and selling the underlying stock to ensure its exposure to the position was only the premium you paid for the option.

HFTs also provide some market stability, first through increasing liquidity having a volatility smoothing effect, and second through so-called "volatility compression" as a result of option market dynamic hedging causing HFTs to buy when others are selling and sell when others are buying. This one has a darker side as depending on their aggregate positioning, HFTs will eventually begin to dump just like everyone else.

I believe HFTs are also necessary for exchange-traded funds to be priced correctly and function correctly. That's essentially because two markets always exist for an ETF: a primary market between dealers and the fund where creation/redemption units are traded, and the secondary market where regular folk buy its shares. Given the prevalence of ETFs as a retail investing vehicle, if they were mispriced this would be potentially disastrous for individual investors.

Probably a bunch more good reasons for HFT, I'm not sufficiently versed in this stuff
> “As of 2013, NIST-F1 has an uncertainty of ..., which means that it would take 100 years for the clock to be off by a second”

This didn’t sound right to me. The clock being off 100ms every 10 years sounds terrible. This must be a typo because the source says:

“... which means it would neither gain nor lose a second in more than 100 million years!”
What is the difference between facial recognition "technology" and having a group of people with good memories and access to photos / videos of past events? Just the scale of it? How far back they can remember? The fact that they can't sit on every street corner? Is it just a practical argument?

And for example, does this prevent a hotel from implementing facial recognition so that they could greet a guest by name when they walk up to your check-in counter?
>They often don't make use of that out of a sense of pride and not invented here.

You are handwaving away a big reason why there is research into non-Python solutions. Unless you work at FAANG, or some other institution where developer time is much, much greater than compute time; simply using a more performant solution can save either in days of waiting or thousands of dollars a month in compute.
We've certainly tested all Float32 inputs to some functions in Julia's math packages. I'm unable to find the relevant issues this very moment, otherwise would certainly post them.
The best point in this article is that your site should already be on a fast CDN. Focus on that and then none of the other advantages of JS on a CDN matter (and you don't have to worry about the downsides).
Hotline [1] the precursor to Gnutella and Kazaa. Chat, message board, file transfer client / server software ahead of its time. While not peer-to-peer, it's easy to navigate and use user interface was superior.

[1] https://en.wikipedia.org/wiki/Hotline_Communications
Stripe Is the Next Google
Portland has been under protests and many of the articles written about what’s happening in Portland regularly reference police and federal police brutality in those protests. That is, law enforcement officers doing harm to the general public in those protests.

These laws probably spawn out of that. It’s dealing with the manifestations they’re seeing in the protests at that local level.

I don’t live in Portland and I don’t read the articles closely. This is an uneducated guess.
Great, you regurgitated all the standard talking points. Have a pat on the head.

Except even if all of that were true (which it isn't), it still wouldn't make nuclear waste "less hazardous to work with" than other kinds of waste.

As for Yucca Mountain, funny that the "genuinely tiny amount" of nuclear waste produced in the USA as of 2011 was already more than the approved capacity of the site, and "never worried about again" is clearly not true given that there was a magnitude 7 earthquake near it last year.
Well, isn’t that just the usual product cycle? Something everyone dreams of? Start in a niche with some nerds, then expand from there. Become mainstream over time. Books have been written about it! Crossing the Chasm comes to mind. And of course myriads of Medium articles. I think that’s just way it goes.

Question is, what’s the next hot thing now?
If this is a reference to the "we only have 12 years to save the planet" meme, that is just a thing that went viral.

There is no science behind it.
Ooh! Do you have a source on that? I couldn't find anything in English language media.
I've never seen a cop walk around with a semi auto.
I didn't mention in the article, but used https://www.keybr.com/

Good luck!
You should see how confusing modulo becomes of the method isn't explicitly specified:

https://en.wikipedia.org/wiki/Modulo_operation
Stop using externally-hosted fonts, too! It's 2020. I don't visit websites to marvel at their beauty; I just want to read the article. So I'm not going to compromise my privacy just to read seven or eight paragraphs of text in Myriad instead of Helvetica.
Try and load assets from another domain and observe if it was probably cached or not, and you can know that they visited the site
CRTs are still heavily used in the smash bros. melee gaming community as the nintendo gamecube natively outputs to 480i.

Using a modern 720p+ display involves upscaling, which causes latency. This latency is wildly inconsistent across tvs, which makes competitive play untenable.

There are monitors with extremely low response time (~1ms), BenQ was the go-to for a while. It used to be that the cost was prohibitive, but now finding CRTs is more prohibitive... especially finding a good trinitron.
I love CRT displays myself. The standard 50/60hz is a bit rough, unless one is working on a high persistence phosphor. Older monochrome, amber, green screens often have that phosphor.

I like how simple they are to drive too. Managing a high resolution analog stream takes far fewer resources.

For personal electronics, retro fun, I recommend one.

Glowing phosphor in a glass tube just rocks!

There were variations too. I got to work on one of these in the 80's:

https://m.youtube.com/watch?v=T-F7ZySfgZ0

In a dim room, these are beautiful. Up to 4k resolution in the 70's, no display buffer. Surprisingly techy looking and feeling.

I will miss CRTs when they are no longer available. They should be made in 16:9 for a while longer. People would use them.

All that said, current flat panels continue to improve. They are fine for the majority of things most of us do.
On the other hand, Don Camillo was a post-war italian priest who was always at odds with the post-war communist mayor, but by the end of every story they've managed to work together to do what's right for their village.
Wide range of motorcycle accessories for all styles of riding. Quality products at affordable prices: moto animals https://motoanimals.com/. Discover and Shop Motorcycle Streetwear and Accessories from Moto Animals.
There's still an advantage to low latency with batching, as the later you go the more info you have.
Reminds me of the joke "a man was selling books on the corner entitled 'how to become a millionaire'. Naturally, I bought one—turns out the trick is to sell a million books for a dollar."
I remember when I switched from a CRT to an LCD monitor. The difference was so dramatic I remember my head aching. For me it wasn't the brightness it was the curve vs flat. Going from looking at a curved screen for years to a flat one was a massive change.
> they're largely talking about funds like eg. $SPY, not total market funds like $VTI.

What makes you say that? The S&P 500 is "the market", but there are lots of other valuable indexes in popular use.

For example, VTSMX, the mutual fund version of VTI, forms the backbone of all of Vanguard's FoFs — Target Date Retirement, LifeStrategy, etc.

When I discuss index funds with fellow investors, I'm absolutely referring to VTI, as well as funds like VT, BND, etc.
Disruption is the price of progress. Like cars with electric motors vs combustion engines, sometimes you have to start from scratch. You can't just keep improving combustion engines forever, you eventually reach a technological limit.

To your point though, I do see a lot of unnecessary disruption particularly in the web dev world. I think people like working on new stuff. It's exciting to take the first steps, see order of magnitude improvements every commit.
Why not just use a hash function that special-cases two test URLs (or a whole class of test URLs) and produces collisions for them? You can use that same hash function in production.
Except it is always possible to choose what one wants, C and C++ compilers aren't the only game in town with optimization flags.
At the point that I have a finished product sitting in my hands, there is no combination of reasoning that will prevent me from desperately wanting to share it with others. It does not matter that I did it for myself - in fact, that is always how it starts - but I personally feel that it's a waste if I end up passing on before I declare it ready to show to the world.

I believe this indicates a problem in my line of thinking: desperation to affect the world or get someone to care. My belief is that if I keep everything I do to myself, then I have not "affected the world" in any way, and this is not good. My accomplishments will die with me and nobody will ever know what kind of a person I was, and all my life boiled down to was essentially finding a way to be independent and survive and then participate in solitary hedonism for the rest of it. For whatever reason I find this a suboptimal use of my own life. I am in a position in the midst of failed startups and college applications and poverty to have enough time and capital to work on my ideas, to do nearly anything, and I can squander it in any number of ways. I lose the game every day knowing this and only remembering it if someone publishes a life advice article but ignoring it the rest of the time.

It feels as if my worth is tied to other people irrespective of what I tell myself otherwise, because of my desperation to have someone to confide in, but not in a way that is effortless. I keep believing I have to spend a lot of effort working on skills to deserve the kind of friends I want to know that have also worked very hard to hone skills. I don't really understand why, except maybe I don't know anyone that fits into my perfectly idealized view of the world. My family wasn't pushing me to overachieve either. My standards for people and things are just too high.

Do I enjoy creating things? Not necessarily, but not creating enough things that pass my arbitrary filter before I die is supposedly worse. But this is only a vague ideal and not a concrete goal. It just looms over me constantly, as if I should have a constant reason to criticize the way I am living as "not what I really want." But I still believe the vague goal if I end up writing it out concretely. I don't want it to go away, or I will miss wanting, even mildly, to become "that kind of person."

I understand this is discouraging me and I have to work on it somehow. Maybe getting the recognition from someone that I can accomplish things I set my mind to and that there is a path to what I want to do would clear out most of the issue. (But I don't mean people telling me them over Internet messages or therapy sessions just because I asked. It doesn't seem to work. I can tell all of these things to myself, but for some reason I can't personally believe them until someone wiser than me can confide in me enough to recognize and confirm them through what I actually do, not what I say.)
That one person (sometimes) puts in more effort into that single library then I've seen some agencies put into a client project.
mmm, disagree based on my experience. oh also I think people on this thread may be misusing the concept of float epsilon. keep in mind that is not the smallest value of a float.
Why would you ask for permission?
100% love Spotify, was one of my favorite services. Family plan, wife and I get our own accounts, works with Sonos (each of us separately logged into different Spotify accounts on the Sonos so it remembers our playlists!)

Now with Tesla adding spotify, I've got a 3rd user that is only used on the car, only problem is manually syncing playlists from one user to another, but you can 'follow' another user now at least.

But, this podcasts business is madness. Their podcast integration has always been awful (you can't auto-download new episodes for example), and now they're shoveling millions into content I have less than 0 interest in.
That's still population or city level targeting. Not individual.
Ask HN: Tool to recommend for writing email-based trainings and courses?
I'd like to write a "training newsletter" to help a few junior developers friends learn everything to become highly-skilled pros.

It would not specific to a language but everything else - Versioning, Deploying, CI/CD, DevOps, Best practices, Architecture, Debugging, Monitoring, Reverse-engineering, etc. As such, it would start simple and in a few months expose the devs to increasingly complex topics.

As such, I want each person that signs up to the newsletter to pick a starting point and then receive by email every week the next course to help keep a routine (which is fundamentally what works for learning anything significant).

Do you have any good platform to do this ? Would like to avoid having to code something for this. Substack initially looked promising but it does not appear to have the features to really do this.
Home-Made Covid Vaccine Appears to Work
But if the structure is unused and my program only deals with a single integer does it make sense to modify the structure of the program for readability?

No. If my program only modifies the left bottom side of the box it doesn't need the whole box defined. In this case and many cases similar to this, it's totally fine encoding more verbosity into the naming of the integer.

The "smell" your sensing here is only called a smell because you can't logically explain it. Your brain is firing off a false alarm.

I can easily make a variable name that can trigger the false alarm but you won't be able to come up with a reasonable nested structure to contain it.

theColorOfTheSkyOnAThursdayAt6PM = "ReddishOrange"

What are you gonna do here? I have a string that represents a color of the sky at a certain day on a certain time. What structure can reasonably contain this concept and ONLY this concept. Unless you want to define a structure called Sky the long name is the only possibility.
Results from 20 years of molecular gastronomy experiments
Until Spotify releases a proper Apple Watch app, yes. I really need to get myself off Spotify, but I have too much automation in place.
My wife was shocked when I told her The Wrestler was closer to the country in which I'd lived than Friends.
Quite obviously this involves computers and software with code designed to identify faces.
Streetwear and Accessories
Wide range of motorcycle accessories for all styles of riding. Quality products at affordable prices: moto animals https://motoanimals.com/. Discover and Shop Motorcycle Streetwear and Accessories from Moto Animals.
The insurance company I used to work at had legit scientists - people with masters and phds in fields like hydrology - to help develop loss models for property & casualty incidents.

I'm half joking when I say that the first company to come up with a technology to travel faster than light will be a bank or a hedge fund or a high frequency trading firm. Hire the top theoretical physicists in the world for 7 figure salaries, certainly more than they could ever make in academia or research labs - and throw them at the problem. If a company is willing to spend $300m for a 3ms advantage, imagine how much one would be willing to spend for literally instantaneous transactions.