skysight-inc/HackerNews huggingface dataset:
QNAP has a bunch of their line using AMD embedded (many with 10G, but more on the "Enterprise" line). They've been using AMD for quite a while. Even though, the TS/TVS lines have many AMD options that are relatively fast in the line of prosumer space. They are, however, more expensive than what you'd spend doing an Unraid ServerBuilds.Net NasKiller type build.

That being said - totally agree. There are much better base platforms that have been out for a while of which NAS providers seem to ignore. Synology seems to have gotten really good at charging a premium for underwhelming system specs. I realize some people just want redundant network storage, however given the price points one would expect the ability to run a few additional services, containers, VMs, etc on those platforms.
> benchmarks have shown that exceptions are generally faster

The blog post you linked to says "Immediately we see that once the stack depth grows above a certain size (here 200/3 = 66), exceptions are always faster. This is not very interesting, because call stacks are usually not this deep (enterprise Java notwithstanding). For lower depths there is a lot of noise, especially for GCC ..." So ... not exactly "generally faster".

Also, the test is only for Linux. The same test on Windows/VC++ will probably run a lot slower ... again not "generally faster"
Seriously. I have been waiting for a "public transit + bike" routing option for a decade at least. You know, where public transit is an option but using a bike to transfer between stations and destinations is preferable to driving or walking. It appeared finally sometime this year, from what I noticed.
let's not forget about the (often overlooked) cost of maintenance

but yes, software does have marginal cost, this is a brutal game changer we (as a civilization) are just not dealing with appropriately
If we don't kill them but take all but a million or so of their money, I'd be all for it.
I must be getting old as a millennial given that I remember the day when it was called “Froogle”.
At least it's just DOS and not anything like heartbleed.
I really like this property:

> Intention requests access only to the sites you select, not all sites.

Very few add-ons implement it (talking about Firefox) but it makes the add-on much more trustworthy.
> If one could handle the error in the same function then there is no reason to throw.

Thank you, this made absolutely no sense to me. I use exceptions for "panic" situations -- when you can't recover from an error. If you can recover...why throw an exception?
Depends... I'm getting about 40% more done, with fewer interruptions, and not having a couple hours of commute and lunch driving.
>"No risk"
Well if a biter manages to kill the reactor while it's hot I think it explodes. But that's unlikely to happen unless lots of things go wrong.
That one was a great feature! I'm really hoping someone will figure out landmarks for mapping directions at some point. Or has someone done that and I haven't noticed? :) There's so much data about buildings now, it wouldn't be that much of a stretch to say something like "head towards the Dominion building", or "once you've passed the school on your right, you are almost there". It would really help people who have trouble orienting themselves with maps, it would help in places with less obvious street signs, and it would be a hundred times more useful than that very cool and very unnecessary AR navigation feature Google made because they needed to work around the broken compasses in their phones.
People only have so much attention to allocate. It’s exponentially harder to become a star on social media platforms as the number of users grows. Look for the next platform that appeals to your audience & begin building while there is a vacuum to be filled.

Advertisements and referrals will magnify your reach. If you have money, buy ads. If you are famous on another platform or have access to other famous people, promote your channel via referrals. If you have a website with high search rank, link to your posts.
> Rust's got a really intense stability policy.

I know the code won't stop running, but I wonder how soon it stops being idiomatic. If it's not idiomatic, it's harder to maintain due to unfamiliar style and structure. Does Rust have measures to deal with this issue?
If you can't see beyond monetary benefit when it comes to saving lives then I have news for you: you're a psycopath.
Her: I miss you so much, your touch, your smell. I can't wait to hold you in my arms and gaze into your eyes.

You: Copy.
it's kind of crazy how much of a one-trick pony Google is. If it weren't for search, which admittedly is very successful I don't know what the company would be worth.

Amazon's reach, on the other hand, is pretty astonishing. Cloud, Logistics, e-commerce, and even the media business is huge these days.
> It was a similar twitter, but doing it with just 1,000 people today would be a massive challenge.

Is that true though? We know that instagram had less than 100 people running it before Facebook bought it for $19B.

There's a tendency for successful companies to add headcounts and grow - and it's very hard to convince yourself not to - maybe just maybe they would be able to serve the whole world with about 50 people, on a smaller revenue but huge revenue/headcount.
I believe LabCorp's Men's Health Test is relatively popular amongst guys looking to check their testosterone levels. The results can be taken to a "men's health physician", or a "bio-identical hormone physician", or whatever else they are called and used to justify legal hormone therapies (typically testosterone injections and/or estrogen-blockers). Common for bodybuilders, or even just dudes closing in on 60 who want to stay good at golf.
I am not sure what you mean here. "throwing in a destructor", aka "panic during Drop" in Rust terms, runs the risk of seeing "thread panicked while panicking. aborting." In general, Rust treats panics as being something that terminates execution, not something for error handling. Where are you seeing these memory leaks in Rust code?
Also, pleaassee allow us to set the language of the text-to-speech manually on android without having to switch the lange of the whole OS. In the Netherlands, you are no longer allowed to hold your phone in your hand or look at it while riding a bike. Purely going by the English text-to-speech for Dutch streetnames is very frustrating, whereas translating the whole OS to Dutch just looks silly (UI concepts work much better in English).

See e.g.
English: https://translate.google.com/#view=home&op=translate&sl=en&t...

Or

https://translate.google.com/#view=home&op=translate&sl=en&t...

(I guess these examples are only salient for Dutch speakers, but I'm 100% sure that similar cases exist for all other languages, where people don't want to switch the language of their whole OS just to hear streetnames spoken in a non-....stupid way)
Declare what you are NOT working on
I mostly run into this on searching my environment: "set | grep whatever", now needs an "-a", possibly because of escape codes added to the environment a decade ago.

Maybe the fix would be to only activate the "detect binary files" code if stdout isatty?

Because it is a nice feature when I do a big grep to find something among my home directory or the entire filesystem. It is certainly annoying to get binary garbage in my terminal. Or maybe the binary detection could get smarter, maybe making the determination on a match-by-match basis ("This line I'm about to output is a kilobyte and half of it is non-printable", say).

Though, ack-grep doesn't seem to avoid putting binary garbage on my terminal, so maybe reasonable to switch to something that isn't so clever? Most of my terminal greping is done with ack these days, so I'd probably be happy with gnu-grep disabling this cleverness.
I agree 100%, voice is fine for communication. The video should only be deployed for presentations, graphs, and other visual media that is necessary to get your point across. Facetime is usless unless it's with the parentals every couple of months.
I agree 99.44%.

The behavior of shift operations on signed integers will be fixed in C++20 and C2x, as part of the effort to require twos complement representation. It is a massive potential source of UB in currently standardized C and C++.

All the other problems listed remain.

[1]: http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2018/p090...

[2]: http://eel.is/c++draft/expr.shift#2
So the solution is "convince all of my (unemployed) friends to spend $50 on something which has more value to me than to them"?

Assuming that does solve it, I'd say a solution is known, but I wouldn't call it "solved". That's like a "nobody needs DropBox" type of "solved problem".
Yes, I think we'll continue to avoid the notification system, not just because of flamewars but also because (relatedly) it's not so compatible with curiosity. Push notifications seem to jack up the nervous system in a way that's good for engagement but not necessarily for users—we all experience this elsewhere on the internet, and on HN we're in the blessed position of not needing to juice the numbers.

On the other hand, it can be hard to discover replies, and certainly new/interesting comments in large threads, when you want them. I'm currently working on a new-comment-highlighter (draws a colored bar to the left of comments since you last viewed the page) as one step toward helping with this. If anyone wants to help test this, email hn@ycombinator.com and I'll switch it on for you.
Well they do have mugs in the gift store, and the one in the third picture [1] from the end looks like a nice one, although not exactly the same. Of course the picture there is 16 years later.

Sounds like a fun social engineering trick though, if you can subvert the local phone switch. Probably would make more of an impression if the FBI/etc knocked on your door and handed you the phone...

[1]
https://www.businessinsider.com/nsa-gift-shop-2016-5?op=1
>The study doesn't cover the many other ill effects of breathing somebody else's cigarette smoke, of course, which include asthma and possibly cardio-pulmonary disease.

>Previous cancer studies have had mixed results, the researchers said, although the Centers for Disease Control and Prevention still calculate secondhand smoke is responsible for 46,000 heart disease deaths and 3,400 deaths from cancer a year.
Yes. I wonder to what extent that has to do with countries/municipalities providing data though?

I know there are huge variances in the quality of government-provided data, as well as whether governments provide them at all.

And that while Google Maps has Street View as a ground truth in some parts of the world, it doesn't everywhere, and especially often where there are bike paths that aren't next to a road for cars.

So without knowing more in any particular circumstance, the government may be just as likely to blame as Google.
I don't know if I would call New Zealand's tourism market small. Small compared to New York or London maybe but relative to the size of the country, it's GDP and population? 3.8 million people visited New Zealand in 2019[1]. The population of New Zealand is only 4.8 million.

[1] https://en.wikipedia.org/wiki/Tourism_in_New_Zealand
title is a little sensationalist, i find that a little hard to forgive :) it is well understood any anti fraud system records movement. how does your analysis fare on Google's reCAPTCHA v3?

or rather the actual issue, the x00,000's of sites that actually record movement for product research and, yes, marketing? sensationalizing this issue on stripe, which is a probable good actor, doesn't help the sites and web users deal with the real bad actors.

but its a well written article with solid recommendations so kudos for that.
Best gadgets of 2020: best latest tech gadgets to buy
Speaking as a cyclist, it's extremely uncommon that you have to put yourself in a position that you can be right hooked. Cyclists need to educate themselves about road safety and take a share of the responsibility for their own safety.

What really pisses me off about this is that the only time people discuss the safety of cyclists is in the wake of a fatal crash. If you dare to suggest that cyclists often have choices that can prevent the crash, you get called out for victim blaming.

It's bullshit to shut down discussion of things people can do to protect themselves because of some misguided respect for the dead. For goodness' sake talk about it so people on the streets are armed with the knowledge that will save their lives so we aren't having the same discussion again and again and again.

It doesn't matter what the law says, it doesn't matter who had the right to occupy that bit of the road, it matters that cyclists keep dying because they're the more vulnerable road user.

It's naive to think that we're going to train every driver to do the safe thing. It's far more realistic to educate the people with the most to lose (i.e. the cyclists) to do the safe thing regardless of whether the drivers around them are aware of them or not.
An extremely lean and simple AI news aggregator site
It’s not like C is the only programming language to have never broken backwards compatibility, or that conflating byte arrays and strings is as dangerous as buffer overflow.
I remember that when I was a teenager, every male around me (both adults and kids of my age and older) smoked. But I never tried, not even once. My reasoning was the following: if I try it and I don't like it, then I would regret trying (because by definition of "don't like it", it will be unpleasant). But if I try it and I like it (which will mean that I will feel that this is good and pleasant), then I'll just become one of them - one of those who can't live without cigarettes. So thus I never tried.
The NSA agent's goal was to get the source code, but he lied about why he wanted it. Fair enough.
Yep, certainly open to that. We'll address that in the page we put together about this.
Thank you for this comment. I often have trouble articulating why I would rather not put any time into certain things, and this "limited bandwidth" argument is exactly the right one.
Yes, which gives about 40 lines of IR for C, and about 1300 for Rust (Godbolt truncates it at 500).
Blog post author here.

A virtual machine solution (such as VirtualBox) requires more CPU/RAM resources than a container, because you're running an extra copy of the entire operating system, in addition to your base system that you're always running.

A container is much more light-weight than a VM because it relies on the services of the underlying OS and just provides the runtime environment, but not the OS; please see https://www.backblaze.com/blog/vm-vs-containers/ for more detains on the distinction.

In any case, it would actually be more complex to use a VM, because I would first have to do a full installation of Ubuntu in the VM, before I could get started with installing the game, whereas with Docker, I can just build a container image starting with ubuntu:14.04 as a base, and have it working in seconds (minute or two once I started installing the required i386 packages, but that's unavoidable).

If you look at the end result, it's actually quite a simple Dockerfile, and the installation from start to playing will take you less time than installing a full Ubuntu distribution in a VM.
A fragile global system in which during a pandemic, people are still fed and clothed? It's actually a testament to the modern economy that the pandemic hasn't resulted in immediate shortages for basic sundry goods. The few shortages we are seeing are for highly specialized medical equipment (N95 masks are not simple cloth covers).

I don't understand this mentality of pretending that our 'system' is somehow inferior to the past. Previous pandemics resulted in mass death not only from the disease but also from the economic fallout. We're really not seeing this right now. Perhaps we will in the future. But we can't write articles on what we want to happen to sell more news.
My admittedly limited experience with Google's offerings for Docs, Sheets, etc was they were noticeably inferior and limited compared to Microsoft's.

In my opinion, its more likely that professionals who heavily use those tools are going to favor MS offerings over Google's compared to people who only need to occasionally created simple word documents or spreadsheets with a handful of columns.
How to Guarantee Exact Count Distinct Queries with Sub-Second Latency
Thanks for reading!

> "Stripe is Silently" - can I just say how much I detest clickbait with "silently" in the title? It is purposefully negative, meant to make Stripe look bad. What did you want? A foghorn?

I struggled a lot with the title, as I didn't want to project intention onto Stripe.

That said, the behavior is pretty subtle. They don't disclose it in the npm package or the JS documentation. Other API calls initiated by your app show up in your Stripe dashboard, but these ones don't appear anywhere. You can only discover them by inspecting HTTP traffic.

> In "your" app! How do you not know all the side effects you dependencies may have when before adding them? What else is going in that site, Michael?

I'm having trouble understanding this. Assuming you're being sincere: I can't possibly know the side effects of every piece of code in my app. Assuming you're being sarcastic: I'm not sure what your point is. Since I don't 100% understand every dependency in my app, I have no grounds to be bothered when one of my dependencies does something that violates my expectations?
And that's before taking into account the huge amount of money you save with lower taxes and living costs.

I've occasionally entertained the idea of moving to a big city like London or New York for work. Every time I did the math I realized how little sense it makes. And I don't live in southern Europe, not some third-world country.
There are a lot of 10-year-old used Xeons on that list. Their value proposition might be very different if power consumption was also taken into account.
> in particular, floating point is done even worse than C

Do you mind expanding on this or pointing me to places where I can read more?
I built a web app over the past couple of weeks to host home games with video. https://pokerinplace.app/

If you'd be interested in using, please do. I'd love to join as well.
it's not clear that these protesters are being unlawful by disobeying rules implemented via emergency powers rather than legislation. while there's force of law behind emergency powers, it's not concrete who might be harmed by the protesters (other than themselves, and they're unlikely to sue each other given the nature of the protest).

with that said, yes, it's prudent to wear a mask around random strangers in close proximity while shouting (spitting) a lot, to keep from infecting each other. note that the flu is deadly too (30-60K/yr in the US), we just don't shut down the economy for it.
New rules could force Facebook and Google to pay news organizations
Can you please provide a such example? I really have no idea what you are talking about.
The NSA agent didn't have a "search warrant".
From the above article:

> The deadliest mutations in the Zhejiang patients had also been found in most patients across Europe, while the milder strains were the predominant varieties found in parts of the United States, such as Washington State, according to their paper.

> A separate study had found that New York strains had been imported from Europe. The death rate in New York was similar to that in many European countries, if not worse.

It's no so much that a particular area only has one strain, but that the predominant strain that takes hold may have more favourable outcomes.
reminds me of the 'ol stripe generators, that were big in the early 2000s
That's part of the bad response.
It seems like a "compromise" that is entirely in favor of the visual people though.
digs aside, this is highly culturally dependent - before smoking was quasi-taboo in the west, smokers were often more social and smoking was a 'good' way to meet people - just join the local smoking circle outside. Same is likely still true in less smoking hostile countries.
There are problems both ways.

For locals, having English pronunciation sounds absolutely ridiculous.

But for tourists, local pronunciation can be utterly unrecognizable. ("Rio Tinto" becomes "Hee-oo Cheen-too".) The mangled English pronuniciation, at least, is mangled to what a tourist can recognize/expect.

But I absolutely agree that a toggle would be a super-nice feature. As well as phonetic hints when a road has a different pronunication from what you might guess (especially in English).
Australia has many Chinese people. Does New Zealand?
Target encoding done the right way (2018)
I highly recommend the Rampant mod. It makes the biters smarter (they'll seek out the weaknesses in your base defense), let them use pheromone trails and conduct pre-emptive raids on your base, and makes them tougher in general.

Depending on what you have to fight them with, the default settings of Rampant might be too difficult, in which case the mod has lots of options that'll let you dial that difficulty down. Also, you can get various other mods (like improved weapons, far reach, or tweaked evolution rates) to make fighting them easier.
While non-smokers may try to avoid smokers, smokers frequently end up quite close to other smokers in any designated smoking area.
Sorting by value is a pretty bad way to decide on what CPU to buy. There are a great deal of other factors that go into performance from things like the cache / memory, integrated GPU, power draw, etc. The Passmark score, while useful, isn't in itself very comprehensive.
Great points about bank favoritism. I assumed (possibly wrongly) that the loans were being handed out on a first-come, first-served basis, but as you indicate, banks are most likely fast-tracking applications that benefit their largest debtors the most.

It seems all bailouts are bank bailouts, and all bank bailouts are CDO bailouts.
This is a little true, but it's not all true. Just like a drowning man grabs his rescuer uncontrollably, drowning them both, there are actions you may take that you can't fully control. Sometimes a choice is being made, but it isn't being made when you think it's being made.
More and more poor people who do jobs to serve the poor will also have no choice but to go back to work I'd imagine?
The Magic Keyboard Turns the iPad into a New Computing Device
I'd disagree here. I have multiple devices in my home server rack that have native 10Gb. 10Gb PHY/SFP+ are dirt cheap these days as well. And if you want you can get a 10Gb DAC cable (fused SFP+ connectors) for under $20. 10Gb at home, today, is not expensive and is not a high consumer of power. PoE uses more power than 10Gb in switching - and that's relatively consumer friendly at this point (mainly for PoE IP cameras).

I agree, most people care more about stable WiFi, but for the prosumer home lab - 10Gb has been low cost all around for a few years already.
As an end user, can you provide me with all of the event data you have collected about me? Or does Stripe help sites that integrate stripe.js to respond to data requests?

Ie, CCPA / GDPR says I have the right to see and correct it if I live in one of those jurisdictions.
> Or if someone who worked for 411 or a hacker changed the number for the naval base to be one they controlled. Dave could be the CEO of 411 for all I know.

Agreed. A couple of ideas for better authenticating the NSA boogeyman.

1. Verify the number in a phone book.

2. Call a friend and ask them to follow the 411 protocol.

3. Drive to a hotel in a different state then follow the 411 protocol.

4. Overnight a cell phone to the NSA headquarters and wait for Dave to call you from it.

5. Call the FBI and ask them for the NSA number.