skysight-inc/HackerNews huggingface dataset:
I have the inverse - I started at a place that has hundreds integration tests that require a database, k8s, the whole shebang. No mocking anywhere.

Tests take an hour to run, are extremely fragile and flakey. Getting your local dev machine set up to run even a subset of the tests is a half day ordeal, and it can change periodically.

If you have external dependencies that don't version their APIs well it may be inevitable that you need to run tests against them. But for developer productivity you should have a fast/non-flakey path to run local unit tests with no network dependencies. It's also great for working on a plane.
A mix of carbohydrates, proteins and fats?
2020 Tesla Model Y Dual Motor Long Range Tested: This Is the “Slow” One
> Visa Debit and V PAY were indeed designed as an electronic alternative to cash …

These are not alternatives to cash, they're alternatives to checks. The actual cash is held in accounts at centralized third parties (banks) who must be trusted to maintain accurate records, remain solvant, and not interfere with transactions legitimately approved by the account holders. What we see, however, is that the records are not always accurate, and banks do interfere with account holder-approved transactions, based on either their own policies or legal constraints. As for solvency… let's just hope that particular house of cards is never really put to the test.

Bitcoin, like physical cash, does not depend on trusted third parties. There are technological measures in place to guarantee accurate record-keeping, and while the sender of an "illegal" payment may be prosecuted after the fact (if they can be identified) there is little anyone can do either to prevent the payment from going through or to claw back the funds once they have been confirmed by the network.
The existence of the state is only possible because it controls a monopoly on violence. How else would it enforce laws? Do people think others will pay taxes out of good will? scoff
50 Richest Americans Are Worth as Much as the Poorest 165M
Non-native speaker here. How is that an "antipattern" and not simply a spelling mistake?
Apple watchOS: Human Interface Guidelines
Hmmm... assuming 4-GPUs per node, and 1200W per node, you'll need 216kW to generate the result in a day.

But that also assumes that the operation you're testing is 1-clock tick, which is only true for the most trivial of calculations. Still, 216kWs per day per "test-case clock ticks" shows us that the 2^64 exhaustive bitspace is within a reasonable organization's grasp.
i find myself reminding people of this excerpt often.
> Some of the things learned may not be entirely accurate...

Yeah, but that's also very true of sermons at places of worship. That's speaking as someone who thinks an accurate sermon is possible.
When there is an active shooter in body armor wielding a high powered weapon you’re deescalating and saving lives.
I still wish Spotify wins the Apple lawsuit but Spotify needs to change their stance here.

They curate some really good playlists, so they can restrict them but they should allow user created playlists to be exported.
Rust is already killing old web app building technologies!
The classic example here is Arlo Guthrie's song/story "Alice's Restaurant". For those who haven't heard it, the protagonists are guilty of littering, and the local cops wind up using dogs, tire-track analysis, and even aerial photography to make their case. As the song puts it, "They was usin' up all kinds of cop equipment that they had hangin' around the police officer station".

Recommended if you haven't heard it, or even if you haven't heard it for a while.
This is a great insight. I think it's also worth mentioning that TV is an imperfect representation of our moral reality. TV shows are primarily meant to entertain and keep us watching. Their budgets, production and writing are often slapdash. The shows are absolutely packed with value judgements, though often the creators are not fully in control of the message and the lessons are either contradictory or downright fantastical.

We are the TV people. As I get older I realize more and more that TV raised everybody. I watch us act out the screen dramas in our real lives. I learned professional etiquette from office dramas and sitcoms, and so did everyone else. I re-watched TNG recently and realized it's not a show about aliens on military spaceships, it's a show about people from the late 80's and early 90's aspiring to a better and more inclusive office culture filled with universally competent co-workers who do not harass each other. It is a vision of a world that will never exist.

The author of the article maybe has it all a bit confused. He is not binging on prestige TV to learn more about his upper class peers. His upper class peers learned to be themselves by binging on prestige TV. He had gone right to the source. Jean Baudrillard would agree. Life imitates art imitating art and so on.
Do you have a choice? Either water down the second amendment and disarm the population or give the police what they need. I am not taking a side, simply stating the dilemna of law enforcement.
Having just purchased my own server at Hetzner, I do believe that there will potentially be more appetite for somewhat of a cloud hybrid
It can be used to track users across domains to some degree.
> But if I push it out only 1 year (9/2002 to 2/2010) the return is +25%.

Which is kind of my point: many people are looking at the last ten years and seeing that equities/S&P 500 can do no wrong. But things were painful in the previous decade. But then pretty good again in the 1990s.

See Index Fund Advisors' recent ~15 minute video "50 Year Market Review":

* https://www.youtube.com/watch?v=M82Veytnsfw

A lot of people are dumping money into $SPY and and $QQQ, and that's certainly worked recently, but may not work all the time, especially if you have another few decades to go until retirement (which is many/most people's primary long-term financial goal is).
Good idea. Gonna invest some time into writing an index of the different types instead and then having those on the category page for it. Was afraid of legal ramifications, if something was incorrect, hence the link to the CC site.
A situation where 10 white nationalist militia members kidnap the mayor with stock bumped ar-15s.

Or when someone blows the window out of a Casino hotel and lays fire to a festival.

Or when the kids go nuts and shoot up the school.

I don’t know if you’ve heard, but America has a unique mass shooting issue.

Running alongside an APC would at least give you cover in the Vegas shooting. I guess my point is, you cannot demilitarize one side one when the other side already militarized, that ship has sailed in America.

Edit: I’m getting downvoted on this, but I’d like to hear some counter points for these exact scenarios that happened (or almost happened) in the last 4 years.
Well, Julia is compiled .Python and R are both interpreted.

I think that simdjson is fastest json parser out there( Parsing gigabytes of JSON per second ).

https://github.com/simdjson/simdjson

So,if I use Python binding for simdjson , then parsing of json in python must be very much faster than the fastest one mentioned in the above post.

So,at the end,it depends on implementation not only on language.
The API Connectivity Problem. Getting APIs on the Blockchain, Part 2
That's not true in the 80% use case of SWAT teams which is drug offenses and executing search warrants. This is the core argument for demilitarization, not the straw man of "I don't want police to have the equipment needed to respond to school shooters." Showing up with militarized teams to mostly non-violent situations just causes escalation after escalation and is why militarized units kill at a far higher rate than just the police alone.

https://journals.sagepub.com/doi/full/10.1177/20531680177128...
maybe not with CDNJS, but perhaps you don't want every website to know you have AshleyMadison.com assets cached.
I would argue that the more CS education has become about training people to perform the jobs of the present (and thus work in the languages and systems of the present), it has become a kind of Unix training ground. There is certainly now a whole generation of programmers and CS graduates who never got to experience these other systems, and perhaps know very little about them (CS doesn't like to teach its own history).

I have argued elsewhere on this forum that the environment is ripe for completely new OSes, and that we have advantages over this "previous era." The first is the wide adoption and availability of data interchange formats (think JSON, XML, hell even TCP/IP) that were not as common / didn't exist in the heady days of RiscOS or classic Mac. This gets a new OS much further in the "compatibility problem." Our current "App Culture" also absolves us of the need for true application compatibility. For example, so long as your new OS has a somewhat standards-compliant web browser (no small task), you get perhaps up to 90% of the capabilities most people need.

Another factor is that, while our hardware has really fit itself to C and Unix in often frustrating ways, we have RISCV on the horizon. And though all the writing online about it seems to revolve around getting *nix systems to run (boring), there is enough openness for people to experiment without 40 years of cruft getting in the way.

People really should be asking "what is the point of an operating system? What is actually needed here?" A glance in the direction of Lisp machines or Smalltalk or Oberon would provide a lot of guidance in that regard.

I still believe that one day we can move past the teletype metaphor.
Don't want your domain seized by the US? then don't use a TLD owned by the US to engage in anti-US activities. Have we already forgotten Iran and their calls for death to America? Would you expect any country to allow usage of their services to advocate for their downfall? Would you expect McDonalds to allow you to have an anti-McDonalds protest inside one of their restaurants?
This equipment is deployed for SWAT teams and the like. European police have this gear too: http://mark.benedict.us/wp-content/uploads/2013/05/German-Sw...
> Four of the domain names, “newsstand7.com,” “usjournal.net,” “usjournal.us,” and “twtoday.net,” were seized pursuant to FARA.
Can you mark yelp the company as racist on yelp cause they've definitely been accuse of racism. I don't know a specific time but my intuition of how the world works tells me this is true.
Wholeheartedly agree, actions like this add significant oil to the idea of national and regional Internets. Long term its hard to imagine how this won't eventually become a thing out of necessity
A few of them are listed in the press release. Check the linked court documents to see if there are others.
I have written desktop applications for Windows, OS X, and Linux, and before WebGL was a thing, I took the Win32 source code for Google Earth, made it portable, made a Mac version and then others built on top of that to make a Linux version.

I will second everything that this slashdot comment says.

The WIN32 version, all that we've ever released, still work. Some of the older ones may not find old servers, but the code itself is functional.

None of the older linux versions work on a modern linux distribution. In fact, we gave up maintaining the Linux version because it was too much work to keep up with the drift in LSB, OpenGL, libc, and when you put in man-months to get the latest version working on the main distributions, you had the Gentoo users screaming bloody murder that we can't support every combination of compile flags they used. LSB was supposed to fix this, but it was a dumpster fire.

Mac is somewhere in between. Apps run for a while, but the deprecation of 32-bit apps broke older Google Earth binaries. On OS X, you need to recompile and re-distribute your software every 2-3 years, would be my rough guess.

Windows has backward compatibility solved better than anyone. I can still run 1990's code on Windows 10.
Exactly my point with the fish-in-a-barrel comment. It's kind of sad really, as many of them have gambling addictions and serious financial problems.
Square’s Bitcoin Investment Made $2M over the Last 24 Hours
All of the sites in this article are still available in Archive.org, and .. Streissand effect .. I for one have found it very intriguing to go through the archive and see what all the fuss was about.

It seems that the US doesn't really want to have an honest conversation about its history of sanctions against Iran, nor can it tolerate anyone discussing the 37 million refugees from its wars.

I hope the Iranian government will put the same info up, properly identified and complying with US' requirements .. because honestly, the content of these sites needs to be discussed openly and honestly.

EDIT: after further reading, it seems that the archived content doesn't necessarily contain anything demonstrably false - but the motivation for seizing the domains is more like "these sites didn't properly identify themselves as being authored by the government of Iran, therefore they don't deserve to exist". Because, so far, I haven't seen anything in the wayback machine to indicate that anything previously published on these sites is false. They definitely do not paint a pretty picture of American imperialism, however - and they do provide a counter narrative to the great American war propaganda that currently embroils the west.

EDIT2: Just so its clear, I'm still reading through the archives, and I see nothing in these sites that makes the 'holocaust denial' claims or any other such nonsense. Just lots of articles detailing America's illegal wars and its crimes against humanity.

I can see why American's want that off the 'net, and why any attempt to discuss it must be censored into oblivion. The facts on the ground of America's war insanity are pretty heinous, to be honest.
I'm guessing many websites are identifiable by which patterns of libs and specific versions they will force you to cache. One SiteA would then be able to tell that a user visited a SiteB (which, depending on the website, may or may not be problematic)
Looks like a great list. A couple questions about this sort of list:

1) Do you find there are optimizations that skew more important for Enterprisey products (which tend to have longer decision cycles and more stakeholders involved in the decision process) vs. Consumer products (which are frequently able to drive more impulse style purchases)?

2) If so, is it possible to sort or filter your list towards one direction or the other?
I've found that counter-intuitively, the best way to get over the hurdle of creating is to learn it seriously, at least for a while, to get over the beginner period. And not just just hobbies of creation, but also sports.

It takes a beginner significantly more energy to enjoy an activity, but once you are proficient in the basics (like keyboard playing for improvisation) the mental barrier is much lower, and you are more likely to just jump into it and enjoy yourself.

My father liked badminton, but was never good, and rarely played. Then, at some point in his busy life, he scheduled a lesson once a week, for two months.

It made such a dramatic change; he started to play weekly, even after the lesson ended, and each time with rejoicing and cheerfulness.

I've seen the same pattern on myself and my friends as well, in both arts and sports. So, I'd say if you think there's something you might enjoy doing often, schedule some time to study it (again, doesn't have to be long). Get better and get happier.
Seems like a pale escalation in comparison to bombing one of their top generals
Awesome rabbit hole!
Some of the time, web developers are using CDNs because they want to save 5 minutes from downloading and hosting it on their own servers, or they want to not have to add it to their package.json. I've noticed this with novice web developers, where they just want to get something working up as fast as possible. This practice of linking to a CDN or external URL for a js library used to be heavily discouraged, called "hotlinking", but it seems like many javascript libraries now are fine with it (even encouraging it).

I see a similar problem with Google Analytics or Google Fonts, where you're sacrificing user privacy and agency in exchange for developer convenience. In a slightly more privacy-centric era (perhaps in a few years), I think people will consider this practice unethical, as the web developer is sending their visitors off to fetch and run javascript code from a third party's computer. The security, usability, and privacy problems noted by the article are not worth the few minutes saved by the developer.
> Presumably this entitlement to outright remove content on the web should be extended and available for other nations as well.

Sure, within the tlds under each nations control. Iranian government can seize as many .ir domains it wants to. It's historical happenstance that legacy tlds like .com are US controlled, but nobody forces you to use those. While the press release did not list the seized domains here, I bet none of them were .ir.
It would be interesting to hear the benefits of the 1033 program to the military, and how the tax payer is really bearing the pain here. Is the equipment being sold at a massive discount to market, it seems so, but to what degree? Why does the Pentagon do it then, does it boost military funding? Is this program effectively a mechanism to get updated equipment into the military? Are there line items on budget reports that say “we donated $1mm to local law enforcement so we need to be made whole”?
Yes you're absolutely right. I work in NVH dept at one of the car companies. We measure interior noise using mics which are accurate starting from below 20 Hz to 20 kHz. So this should be very trivial.
People think BLM is the reason why protests are so large this time. BLM is the catalyst, but the reality is that more people have witnessed, and are shocked by, the militarization and seemingly federal mobilization of police. That is why the largely white ANTIFA is a thing.

If you protested the Iraq invasion, Occupy, or BLM, you have seen it, and probably felt it too. If you never bothered trying to assemble in public to protest abuses of power, and been chased around by your supposed "protectors of the peace", you don't get it. The reaction to protests has exposed the progressive "elite" for either being out of touch or outright hypocritical (neither should surprise). To hear some of them praise the "monopoly on violence" as humanity's best idea is enraging.

This is where libertarian ism falls shorts. Wealthy progressives think their liberties should be protected over all of our rights—that they should be able to enjoy their free enterprise lattes and public parks while abuses of power run rampant at every level. They will talk reform forever, but only as a prescription for "other people's problems". These things are problems for everyone, and the fundamental democracy upon which all our liberties rest.
Not much of eBay is an auction house anymore...

My pet theory is that eBay acquires/operates classified marketplaces and lets them dominate enough to prevent a competitor from appearing and taking marketshare from the more profitable eBay platform.
Isn't the ICANN supposed to be independent though? I thought that had been their main fight in the last 20 years
Note that the article is specifically talking about testing accelerated code. This is usually using machine-specific features, meaning it won't run on a graphic card.

I am also not sure about how fast you are if you need to transfer data out of the GPU, or to add conditional branching to the shader code (it used to be that branches were super slow in GPUs, not sure where they are now).

I could see it working for some other problems though.
>Iran and their calls for death to America?

Citation required.

(EDIT: to be clear, it seems that we require a citation to the official Iranian policy, not some clear agitprop around a popular slogan ...)
"Instead, Dr Nabarro is advocating for a new approach to containing the virus.".

Too bad the article does not mention what the alternative is. The article feels like a hollow statement.
i think goku99 was being sarcastic but thanks for clearing the downvoting up. obviously he's new around here... and my comment was a remote sensing joke.

clearly downvotes are used to suppress views that certain ycombinator members don't like. i would expect that behavior from china and russia, sad to see it here.
Excellent read. Helped me understand better what's changed. I knew that water ways around the Bay Area had been massively transformed. But I had no mental picture for Tulare Lake and such.

One personal frustration that I have is the inevitable knee-jerk "cite needed" skeptical response whenever someone casually mentions one of these impactful historical facts. Ya, I get that we're all ignorant of our history. But ffs it's exhausting to always be challenged. Whereas actual disinformation is greedily consumed.

Increasingly, per Bartolini's Law, IRL I just keep my observations to myself. https://en.wikipedia.org/wiki/Brandolini%27s_law

Thanks for the link. Sorry for the whining.
Web Security Fundamentals
> some engine configurations need a higher octane fuel in order to combust the fuel completely

This is incorrect. Higher octane ratings mean a fuel can withstand more compression before detonating. Pre-detonation, or "knocking", where an engine experiences detonation in the cylinder before top dead center can cause severe damage, so higher octane is used with higher compression engines. Lower compression engines see no benefit.
Yeah the only way I've seen to do it is to rip one out of an existing keyboard sadly.
Author here—that's pretty embarrassing, and I'm not sure how I messed that up. I do recall having to retake the Activity Monitor screenshots between drafts, so I'm going to blame my mistake on that. Adding an editorial note now!
For the curious, this appeared as a Show HN in 2018:

https://news.ycombinator.com/item?id=16884979
> ...mostly all sitcoms...

Frankly sitcoms are a dying breed. They used to be middle of the road morally. To the extent they still are, it's because of reruns.

And I think you overstate a bit besides. Most shows after the 80s were explorations of stepping outside of the typical atomic WASP family like the Cleavers. Even the Brady Bunch was a blended family. But Mork and Mindy and Third Rock from the Sun come to mind as examples of throwing the script right out the window. Sally from Third Rock consistently grappled with gender identity issues, for instance.