skysight-inc/HackerNews huggingface dataset:
Show HN: Lightweight privacy-friendly alternative to Google Analytics for $1/mo
Hello HN, I’m Bartek.

Nibspace is a lightweight, privacy-oriented alternative to Google Analytics. It doesn’t use cookies and it’s compliant with the GDPR, PECR & CCPA directives.

The pricing starts at $1/mo (ex. taxes). The project is influenced by Ackee, Plausible, Fathom and Simple Analytics. I decided to enter the competition with a different, slightly more plain design as there were minor things I didn’t like in the mentioned alternatives.

I’ve tested it among friends and now I’m trying to promote it in a bigger pond. ;) The project is still in early stages. I’d be delighted to have your feedback.

https://nibspace.com/
Tesla on the cusp of achieving level five autonomous driving
So, the LGBT people you talk to on HN are, in general, likely to be middle-class, and educated, and thus somewhat less likely to be facing the very worst stuff. However, yeah, most LGBT people will face at least some issues in their lives that straights don't have to deal with.

> For some reason though, we have to go over and over this mind numbing stream of preaching and virtue signaling every week

I think you're seeing what you want to see.

> I mean, what do you people want in the end?

To be treated as people, basically.

> Do I have to spend the rest of my life proving that I do not care about you at all?

You can do what you like. You seem to be taking this bizarrely personally.
I regret to to say that I'm quite familiar with religious text, thanks to my childhood & younghood.

Religious texts and religious conversations use words like war, murder and rape quite generously. Those words used mostly in context of discussion, or prohibition, but automated systems cannot yet distinguish that reliably. There's a great chance that's what happened to your stream.

Should be noted however, it's not so rare that religion orders their followers to do unfathomably gory things to other human beings. Which is sadly excused by most people quickly and in great effort, instead of scrunitizing further and pondering on it.
A brief retrospective on my year since deleting Facebook
Sometimes I feel this way due to timezones.

I think there are definitely people who have a circadian rhythm that would compel them to move west due to feeling more “in-tune” with the west and continually chasing that feeling.
I didn't encounter much in the way of quantitative stuff other than DeMesquita's "Logic of Political Survival," and related papers and code, which is what people should understand after they have read the foundational books like Getting To Yes, Influence, Never Split the Difference, the guidebook to negotiations A-Z from The Economist, etc.

People who haven't read laterally in it tend to only have one or two tools that have worked for them up to their level. Haggling, bargaining, and auction models aren't really negotiation. Reality is, it's the process of price discovery, often with people who are looking for rules they can break and points of leverage.
You likely misread the sentence. It doesn't say "To learn more, download and install the free browser extension:" - it says, "To learn more, or to download and install the free browser extension:" and then provides you with links to the stores that contain the description for the extension:

> Websites have increasingly begun to rely much more on large third-parties for content delivery. Canceling requests for ads or trackers is usually without issue, however blocking actual content, not unexpectedly, breaks pages. The aim of this add-on is to cut out the middleman by providing lightning speed delivery of local (bundled) files to improve online privacy.

I agree that it's a very weird frontpage and means of describing an extension, but you don't need to run their code before reading what the extension does.
Show HN: Building a Go Playground with WASM
OT: Good Old Neon is a fantastic piece of writing.
How much wasted effort is expended by testing policies? Consider, for instance, managing development by setting an arbitrary target % coverage for unit tests. As team refactors code, unit tests will break, and the test coverage requirement will compel someone to revisit old tests and refactor them. Refactor more code and the same tests are breaking again! Must refactor the tests -- yet again -- to reflect the latest changes. Test coverage policies are very costly..

On the other hand, unit testing does present some benefits. Consider a function that cannot be easily unit tested. This tells you that it's probably too complex and would benefit by refactoring into more manageable parts. Also, business logic unit tests are beneficial.
... because we generally think the free market is a good idea?
Yes, I was actually working quite a bit with MUCs, now that I remember it!
Mostly because someone submitted it, then a bunch of people upvoted…
Of course, they are not directly used without changing the training data, etc. However, if we look at the big picture to make a general statement, then the advances brought by Computer Vision on natural images often help push research on medical images forward, albeit with a year (or two) of delay. One such example is U-Net (https://en.wikipedia.org/wiki/U-Net).
The Shah of Iran bailed out France's nuclear industry. That is why Islamic Republic has shares in a French nuclear fuel processing concern.

https://www.nytimes.com/1991/10/26/world/france-and-iran-men...

> I wouldn’t use the Shah of Iran‘s intents as indicator of economical feasibility.

Or people who post from surface knowledge. Sure.

-- ps --

In 1975 Sweden's 10 per cent share in Eurodif went to Iran. The French government subsidiary company Cogéma and the Iranian Government established the Sofidif (Société franco–iranienne pour l'enrichissement de l'uranium par diffusion gazeuse) enterprise with 60 and 40 per cent shares, respectively. In turn, Sofidif acquired a 25 per cent share in Eurodif, which gave Iran its 10 per cent share of Eurodif. Mohammed Reza Shah Pahlavi lent 1 billion dollars (and another 180 million dollars in 1977) for the construction of the Eurodif factory, to have the right of buying 10 per cent of the production of the site.

"President Gerald Ford signed a directive in 1976 offering Tehran the chance to buy and operate a U.S.-built reprocessing facility for extracting plutonium from nuclear reactor fuel. The deal was for a complete 'nuclear fuel cycle'."[27] The Ford strategy paper said the "introduction of nuclear power will both provide for the growing needs of Iran's economy and free remaining oil reserves for export or conversion to petrochemicals."

A 1974 CIA proliferation assessment stated "If [the Shah] is alive in the mid-1980s ... and if other countries [particularly India] have proceeded with weapons development we have no doubt Iran will follow suit."[28]

https://en.wikipedia.org/wiki/Iran_nuclear
Hash map is O(1), List is O(N). Unless it's a really small data set the hashmap will be faster. I don't think OP wanted best case.
The post title is a bit misleading. Most people hear "App Store" and think of Apple/Google, but this is actually referring to the Slack App Directory.
Ya, fb feels the same way fwiw. I'm very sold on the benefits of monorepos now.
> Or how about when it says "18 more replies" and I click on it and there's only one reply? Can't javascript count?

This one is actually a reddit quirk. The API reports the number of comments, however doesn't take into account removed comments, or users that have been shadow-banned.

However users notice and complain about this constantly, so it still needs to be improved
I always just called it a "default argument"
The Professionalism Snowball
I wonder who _actually_ wrote this article.
None of which really had mainstream visibility with the kind of people who actually made the decisions about what language your company would be using.
Keeping out the riff-raff is a time-honoured marketing strategy on the internet. Gmail/Facebook invites, You do not talk about /B etc.
You can find pretty good spin-class videos on youtube. Like, dozens of em. I'm sure the peleton workouts are better and more varied, but you can probably find something that works without paying a premium price.
One of the dark arts of being an experienced developer is knowing how to calculate the business ROI of tests. There are a lot of subtle reasons why they may or may not be useful, including:

- Is the language you're using dynamic? Large refactors in Ruby are much harder than in Java, since the compiler can't catch dumb mistakes

- What is the likelihood that you're going to get bad/invalid inputs to your functions? Does the data come from an internal source? The outside world?

- What is the core business logic that your customers find the most value in / constantly execute? Error tolerances across a large project are not uniform, and you should focus the highest quality testing on the most critical parts of your application

- Test coverage != good testing. I can write 100% test coverage that doesn't really test anything other than physically executing the lines of code. Focus on testing for errors that may occur in the real world, edge cases, things that might break when another system is refactored, etc.
Little late to the party, but I wanted to cross-reference another post from earlier this week: https://news.ycombinator.com/item?id=23749676 (Code Only Says What it Does)

I believe unit and integration tests, apart from checking whether code does what you think it says, it serves both as a sort of executable documentation and, most importantly, it highlights development intent. If you TDD your code iteratively, reflecting not only the unit in your code, but the intent in your tests, you get a much more healthy testing base.

Code coverage is not really a good metric. Intent coverage is more interesting, but a whole lot more subjective and elusive. All in all, tests should be written not with your own self in mind, but with whoever might come later to maintain your code.
S4E8 Chris McCord with a Deep Dive on Phoenix
Kelsey Hightower tweeted about it. https://twitter.com/kelseyhightower/status/12812095507170713...
I think that the parallels with the other half of the 'Wintel monopoly' are interesting.

Nadella had the courage to stop insisting that MS was 'Windows first' all the time and to recognise that MS had strengths that could be built on with a more balanced approach to the environment and ecosystems that MS operates in.

Intel still seems to be strongly 'x86 first' but it seems to me that this is no longer maximising value for shareholders. For example to what exent was the custom foundry failure due to the politics of x86 first and how valuable would a viable custom foundry business be today for Intel?
Lots of work on that as well, notably, https://mitpress.mit.edu/books/yuck
Elon Musk says full self-driving Tesla tech 'close'
Thanks for taking your time to answer, even if I can't agree with everything that you said.
I'm just reading more that this business model was never going to work the way it is right now given the thin margins in restaurants and the cost of delivery drivers.

With automation, it might change the economics. I think that's what everyone's betting on. I think the Ubers and all are just trying their damndest to not completely drown until driver automation reaches a certain stage. They obviously can't openly say that because there would be revolts from their drivers.
> I mean that Chromium wouldn't work at all because it wouldn't be installed following an upgrade

Because you don't ship it as a normal package any more, which is caused by you. Calling it something you did "for the users for the sake of not breaking it" is really rather nasty.

> you seem to be conflating your disagreement on Ubuntu's choice to move to shipping Chromium as a snap with a technical detail on how the upgrade path for users was achieved.

Oh I disagree with both, there's no conflation there.
If the entire world had contained the disease this well, then there would be no more COVID-19.
> you can't find bugs that you can't think of

Rather, you won't find bugs that you choose not to think of because you've let the "100%" number lull you into complacency, even though you know it's 100% of lines/branches, not 100% of inputs.
Our recommendations break into two categories:

1. Annual recommendations (Reserved Instances, Savings Plans)
Sure, if a company only wants these recommendations - they can bring on a contractor once per year to do these changes. This is the one-off fee type contractor the poster is talking about

2. Continuous recommendations (Rightsizing, Spot Management)
These recommendations are typically not something you could do once and be done. Rightsizing (which includes zombie instance detection) can happen through time. Spot Fleet management is also a continuous play - spot prices fluctuate and Usage's strategy works hard to maximize savings while minimizing downtime.

You might ask, how does this compare to hiring a contractor full time?

If you're a midsized company, Usage charges $5k/month (or $60k/year). A fulltime contractor in SV would likely be at least $100k/year and that doesn't factor in the number of billable hours (through interviewing) it would take to find someone who knows 50%+ of all of AWS' features.
It's not that they're going away, it's that they are turning into a more commodity market. You used to have 5000-10000 enterprises buying high-margin Xeons. Every dentist office had 5-6 Xeon chips sold at high margin.

Now, a significant, growing chunk of the market is in AWS, Azure, GCP, etc. Those vendors get favorable terms and make it harder for Intel to segment the market to maximize profits. When Intel was calling on me a couple of years ago, they were pushing storage hard (ruler, etc), but I don't see OEMs embracing Intel branding as storage, and Samsung seems to be winning deals that I'm involved in.
Are any of these food delivery app services actually making profit right now, or are they just burning VC capital? A news podcast I listened to yesterday made the statement that every food delivery company is doing deliveries at a loss. This seems problematic for making delivery a viable business without forming a monopoly to get the scale required to make things profitable.
> move to cabin in the woods
Or gated community, completely isolated from real world.

I wouldn't be surprised if this would start happening next decade or so, were large chunks of land will be used as pseudo autonomous zones where rich wall themselves off.
“[video]” 50 Intimate Questions to Ask Your Partner to Build Emotional Intimacy
The ACM Digital Library Should Remain Open
Yeah, a little oddly worded. It's basically saying visit the Firefox/Chrome store to either download OR find out more about the add-on. I'm not sure why the website I'm on can't tell me more about it.. But I agree with the other poster in that you parsed the sentence incorrectly.
30 years is not a good enough sample. In fact it's pretty bad.
When you say "towards solving the issue", what issue do you reckon needed (or needs) solving?
If they're new to the command-line, I can see why they'd want to go with something approachable like Nano.

If they're already comfortable with the command-line, but don't know Vim or Emacs, I'd keep encouraging them to take the dive.

Of course, there's also gVim, so perhaps that's not quite the right way to think about it.
I find that that misalignment tends to stem not from any failing of the public, but from the institution of finance itself. I have encountered no vein of human endeavor so mired in jargon or completely disconnected from everyday experience such that most of the public stands little if any chance of properly understanding it than finance.

The public has a relatively simple working model of the financial world.

A)Keep money somewhere safe.
B)Lend money only to those you trust.
C)Save for a rainy day, because while things are good now, they won't be forever.
D)debt above your means is undesirable.
E)debt should be paid
F)no one is going to bail you out so manage things carefully

It takes a proper finance person to make the jump to:

A) Debt is fungible
B) when Credit is cheap, use it
C) Better to bust with a limited liability corp or other legal fiction than to not try
D) Money gets printed all the time. Don't worry about where it comes from or where it goes, it'll all come out in the wash (in theory, and in spite of the fact we know sometimes it doesn't)
E)If you do go bust, don't sweat it, bankruptcy is there for you, and if you're big enough, the government will bail you out through the taxpayers via enough lobbyist pressure.

Case and point: when the system has such stark separations between front and "back-office" concerns, and most of the "back-office" is never tackled as part of primary education, I find it a bit cheap to take potshots at the public for not knowing every intimate detail about how the sausage is made. The info may exist in the knowledge graph, but a successful query of the all the bits and pieces that result in something workable forming that stands the test of time is non-trivial.
The price/earnings ratio went up. You are paying more for each dollar of MS profit compared to last year (which was already a high P/E ratio).

It’s another form of inflation.
I was arrested, jailed and assaulted. My Crime? Being a journalist in America
I think much training for dog aggressiveness is more about helping people to understand drives and managing "triggers" than training them out of the animal . . . it seems underappreciated by many normal dog owners.

My last dog had super high-prey drive and was also a fear biter.

Both drives were incredible. You could play train her to do almost anything in a very short period of time with classic behavior shaping. It was unfortunate that her fear drive was higher. But this mostly meant proper space management and patience were required along with never assuming that a situation was "ok" by default.

We worked with a number of animal behavioral specialists (including university veterinary behavioral practices), all of whom concluded it was just her default personality. Much of our success in keeping her with our family was building environments that minimized her fear drive impulses.

Still a great dog in many situations. She passed after a pretty healthy 15 1/2 years and I'm currently on a break from pets.
Nope, they don't make any profit even when charging 30% fees. So this 10% cap will probably cause them to withdraw from the market.
Food delivery worked for decades when it was done by the restaurant itself so worst-case scenario we wouldn't lose much as these companies go bankrupt and we go back to restaurant-provided delivery.

In fact, with all their tech and economies of scale, I'm surprised food delivery services are doing worse in terms of per-unit profitability than the low-tech restaurant-provided ones despite already charging excessive fees.

I guess the reason is that the various venture capital firms poisoned their own well by subsidizing the services and competing at below-cost pricing.
COVID-19 is highly infectious before symptoms appear.
Researchers one step closer to injecting probability into deterministic machines
Thing is, the competition is even worse regarding the fruit to fix.
Over 15B credentials in circulation on hacker forums
The also made decent long-range, Mach 2 bombers. (For the time)
It's arguable that this is a programming bug an not really recoverable, so throwing doesn't make much sense.

You can be defensive to various degrees about assertions:

1. You can just use assert() to fail in Debug and do nothing in Release.
2. You can be more defensive and define your always_assert() to fail in Release as well.
3. You can double down on the UB with hints to the compiler and provide assume(), which explicitly compiles to UB when it's triggered in Release (using __builtin_unreachable() for example).

About the organization of the if statement: I agree that the former is better, I would use assert(false) though.
Who should be losing money? The delivery apps or the restaurants?
> But now, browsers don’t share caches between origins for privacy reasons

I didn't heard about this thing until today, are you sure that it is already implemented in all major browsers? I have found this source [1] but for what I can tell, at the moment this feature is behind a flag in chromium and firefox (maybe it is already implemented in Safari).

[1] https://www.jefftk.com/p/shared-cache-is-going-away
> In China, if I recall correctly, they have a food economy such that it’s cheaper to order take out, and have the food delivered, than actually cooking.

Is this true?

Here in London, a typical delivered meal would cost ~$20, whereas a weekly shop and cooking probably takes 5 hours/week, but costs only ~$2 per meal.
> I would argue against this point that we would be assuming perfect competition, and given the anti competitive behavior of gig economy companies in this space (such as buying restaurant domain names, making fake websites with phone numbers they own to trick people into thinking they’re ordering directly) and lack of competition, this seems appropriate for now.

I agree that the ideal solution would be hitting the anti-competitive behaviors directly, rather than an rate cap. The overall issue is the pressure that a large delivery company can exert on individual small business restaurants, with the solution being coordination between restaurants to ensure they all get a good deal, or strong competition between the delivery services.
In a country where tipping of 20% is the norm ... there is all of sudden a cap of 10% on what the delivery guy can make?
I've read this article several times, each time trying to understand what the author want to say, but it's just impossible and the title is completely misleading.
For months since all of this started there has been an extremely large division between not just ordinary people, but between people competent enough to discuss the issue like doctors and scientists.
To be completely on one side is naive and telling people what the "truth" is is arrogant.
Now there is tons of data to be working with and continuing with the narrative that we're in some serious and deadly pandemic is just ridiculous.
A Coronavirus Vaccine Won’t Work If People Don’t Take It
Similarly, the unit tests never catch bugs and you're always changing them because of refactors or changing requirements. At some point it's like 'hey this set of tests have been rewritten 3 times and they never caught anything, so ... like does that mean that we just wasted time for the first two times?'

I've seen unit tests as documentation cause problems a few times. Like, maybe if you've got some sort of DSL where it's actually obvious what behavior is expected. However, more often it's 10-50 lines of setup / mock code and then some number of asserts and you're left trying to decide what the point is (ops, it turns out something got misinterpreted and the test is actually nonsense).

Finally, it seems like using the type system to design code where illegal states are not representable is starting to make some headway. Additionally, we're seeing increasingly powerful type systems make it into industry acceptable languages.
The new layout is just bizarre, I'm guessing their real goal was something else, like more clicks (on ads?).
> If the US military were a country, its fuel usage alone would make it the 47th largest emitter of greenhouse gases in the world, sitting between Peru and Portugal.

Peru has 30 000 000 people, Portugal has 10 000 000.

US military has about 2 000 000 people. It is obviously burning much more than average people do.

> - The US X business is a bigger polluter than more than 100 countries combined.

I'm pretty sure that's wrong.

> If you want to advocate for fighting climate change, it's not a good tactic to alienate the military community.

If you can't criticize people because that's "alienating" then we should go to Mars already, Earth is fucked.
This comparison holds true for most major European nations vs the US.
“The Abandoned Hill with 2 Members of Parliament” by Tom Scott and Jeremy Ashbee