skysight-inc/HackerNews huggingface dataset:
Sorry, I meant specifically unit testing.

A good rule of thumb is that if you need heavy mocking to get unit testing done, you should probably just integration and end-to-end test it.

Example 1: typical machine learning training microservice. You query a pile of data from a few DBs, join it and process it, train a model on it and evaluate it.

You could mock the DB queries to test it, but such a mocked unit test alone is dangerous (tests could pass when the relevant DB tables aren't updated correctly IRL) and doesn't add much of anything. Just integration and end-to-end test it.

A machine learning inference service OTOH is much more natural to unit test.

Example 2: you have an simple endpoint microservice with an internal caching structure (just for efficiency purposes).

The "unit" here is still the user facing endpoint, trying to write unit tests for the internal caching structure will tightly couple your internal API between the caching layer and the API facing service. This makes refactoring harder for the service will adding little upside for what's useful overall here.

You should unit test the cache THROUGH the unit tests of the endpoint service in this case if possible.

SOLID people tend to cry at "unit testing through something else", but this is actually what Kent Beck really meant by "unit" in the original design (a unit is at the software system level, not in the implementation level of a class being a unit).
>So far most of the emphasis has been on the spike protein and its cleavage mechanisms.

This is something that bothers me about science, why has most of the emphasis been on the spike protein? Has that prevented many researchers from looking for other mechanisms that increase infectiousness? Maybe not in this case, but it seems really difficult to tell what science believes are facts and what are assumptions. I think that if you could identify all the assumptions in science and test them you would find rich material for groundbreaking research. One assumption that seems to be universal is that old science is correct, that it has "stood the test of time", except that often nobody tested it and a lot of it is turning out to be wrong. Those old folk had a tendency to make things up and no one at the time checked them on it because they were an authority unto themselves. I'd like to see any statements that are assumptions specifically highlighted in research papers. There is a little of this in security research papers but not in other research as far as I can tell. How might it be possible to tell how much of "what is true" is actually based on assumptions? Maybe a semantic mining of research papers using an AI could identify assumptions and list them as interesting areas for further testing and research? To start with any statement that doesn't have a citation is a candidate for being an assumption. Also statements like "it is well known" without a citation. Maybe a dependency of logic upon an unsupported statement could be used to find assumptions.
It would be pretty awesome if they wagged their fingers at us, since the first thing they'd do is export those nuclear plants, and I'm sure they'd be cheaper and more efficient than any domestic model.
Your logic makes zero sense? Energy stored from fusion is energy not released during fusion. So this is not the reason for this discrepancy at all.
What on earth are you talking about? The whole point of all these tools is to reduce the amount of key presses needed. Why do you think ed -- the standard text editor -- was conceived? I jest but this is kind of the whole point of modern computer interfaces vs typewriters and punch cards. Historically it has _absolutely_ been a bottleneck, and I feel like it's being taken for granted that you can search-and-replace or use sed or your IDE's context-aware renaming/refactoring.

Have you even used macros in vim (or whatever)? It's practically a modern editor's raison d'être.
> the easiest way to make things smaller was to make JS modules as small as possible so code could opt-in to subsets of a library it wanted to use

Also due to JS having a very small stdlib. Compare built-in functions to eg Kotlin, its a different world.
Wikipedia is steadily trending towards Gell Man Amnesia at scale for any remotely contentious topic.
On July 24, 2014 Iris Kroes published “I Still Cry” song from MH17 Memorial Service on YouTube[video] - many asked Iris to get the song[0].

In one day video became viral[1], as a result Iris created separate page on own official site for free download MP3-file of live audio van de herdenking:

> We decided to make a free download link for everyone who may get emotional support of this song. http://istillcry.iriskroes.com/ #respect #mh17[2]

There is an article about the song in Dutch and Ukrainian Wikipedia.[3,4]

[Download 'I still cry'] http://istillcry.iriskroes.com/

[video] https://www.youtube.com/watch?v=gHHZ1fp9Uak

[0] https://twitter.com/iriskroes/status/492328225453129728

[1] https://twitter.com/iriskroes/status/492673639645728768

[2] https://twitter.com/iriskroes/status/492674636447240193

[3] https://nl.wikipedia.org/wiki/I_Still_Cry

[4] https://uk.wikipedia.org/wiki/I_Still_Cry
I'm curious: how is Docker performance with x86 images? Can anyone elaborate?
I actually agree. And there’s a secondary benefit: by requiring the touchscreen for some controls like wipers, it means they have to, by law, fix the touchscreen and infotainment computer if it fails early. So if your infotainment computer runs out of write cycles, you can get it fixed for free.
The wording in the actual bill looks vague enough that I hope this is more for show than for actual implementation.

It specifically requires non-contact sensors that can “accurately” detect blood alcohol level of the driver. It may be possible to detect trace exhaled alcohol in the air, but you’re never going to get accurate blood alcohol measurements from proximity alone.

In the unlikely event that such a system made it to market, it would quickly become common knowledge among alcoholics that it could be defeated by rolling down your window to get more airflow through the cabin. More airflow means trace alcohol in the air is diluted and blown away. Reading goes to zero.

The bill also requires that the technology limit the operation of a vehicle after impairment is detected. There’s no way a system that suddenly causes a vehicle to slow down to pedestrian speeds could be considered safe for use on freeways. Can you imagine someone’s car slowing to a crawl on the freeway and forcing them to move at low speeds on the shoulder because their distraction detection system had a false positive? Even a false positive rate of 0.001% would mean a lot of us would pass a car experiencing a false positive on our commute every week. Awful.
maybe encrypting ...but then you can imagine what the phone operator would think we are doing (!).

The national unique telecommunication operator https://en.wikipedia.org/wiki/Ethio_telecom is owned by the Ethiopian government and, btw, I just discovered in that page that "Under a 2012 law regulating the telecommunication industry, attempts by journalists to circumvent Ethio telecom surveillance and censorship of the internet could be interpreted as a criminal offense carrying a prison sentence of up to 15 years"

(we are not journalists, not either NGO)
Ask HN: How to deal with people leverage your service for hacking
Hi,

I run an email forwarding service and It comes to my attention that my app is being use in an account take over attempts. Basically they registered expired domain, setup email forwards to receive email.

Due to my app have some features such as bulk import domains, auto config cloudflare DNS, and receiving email through API, it make it super easier and fast for them to receive emails. This ends up attract many of them to my services.

I cannot keep deleting accounts. They just keep coming up. They also looks like have all kind of automated selenium or so I think to do spin up and run behind VPN. I cannot block by IP or country since they all use VPN. They also use steal credit card to pay for my service which lead to me losing money and cause us a net negative.

I don't know what is an effective way to defend from those attacker? Any idea?
2021 has no stalks on the steering column.
You'd still need most of the roads for logistical reasons. Cities need food, a whole lot of food, and it has to come from somewhere it can actually be grown.
Well, I was still using my Saab in the touchscreen era…
Trolls will troll fps players Will say stupid shit its the world regardless of how many layers you wrap around it.
That's precisely why Ampersand is pronounced "et" (and) in French.
Absolutely I don't know why power wheels would be left out.

Anytime a human pilots a machine, it increases their risk of injuring another person.

We need to reduce these risks for safety.
From the latest Audacity release notes:

>A journaling feature has been added for QA purposes.

What exactly does that mean?

https://github.com/audacity/audacity/releases
Wrong thread, I think. You'd be better off in https://news.ycombinator.com/item?id=29067492 or next month's one.
Oh yeah, it definitely picked a direction and committed.
Does `micro` have an “insert file at current cursor position” now? It didn't when I last tried out the editor, and that was a showstopper for me.
The "gaming classic" meaning of "server" is a dedicated hosted instance of a software. It's from late-90s/early-2000s era LAN party lingo, stuff like, "let's get a game of Quake going, start up a server" or similar.

A single "server" (one physical computing machine) could have hundreds of "servers" (instances of the server-side of the game software) running on it. One physical tower PC could have "10 Quake Servers", "2 HL2-DM servers", "a Team Fortress 2 server", "a Unreal Tournament server" and such on it.

Discord originally seemed to be using that era of lan-party style language for it's naming conventions. A Discord "server" is just an instanced section of the server-side of the Discord software, and not specifically related to any real-world physical machine.
Deploy and integrate ML models from a single Python file
Lucky you! I miss those quirky cars.
As someone who uses discord for a variety of fun, professional and hobby-related projects I think the real answer is it depends. I've seen multiple servers where extra channels/topics can actually encourage people to talk more vs having a general channel. It also makes it easier to catch up on things if you aren't checking a channel every day. I actually see this as a feature of discord, not a problem.

That being said, I have also seen multiple servers with dead channels that should probably be merged or pruned. Some people go crazy and make a bucket for stuff that just doesn't get talked about. I know it can suck to see a small community spread thing.

I do dislike how centralised discord is, and would prefer an open source competitor had gotten traction. But for me, the community _is_ the value, not the technology. Discoverability is huge.

Source: Admin of a Discord with 4k people, lightly active mod on several discords with 2k people and generally active user of the platform.
I used to be scared of flying. And I flew every second week for years.

I got over it when I realized planes land on aircraft carriers in typhoons. Me traveling in an airbus is literally like getting on a bus …. Slow safe and boring.

It’s hard to be concerned about takeoff and landing on a big flat runway on land in a big slow plane, compared to big radar planes or bombers landing on carriers.
Flailing 'moonshot projects' cost Google billions for Alphabet. Facebook Meta
Would be quite poetic if that was the last example.
by "track down" you mean shut down or to know we are using it?

Is it this one https://www.starlink.com ?
You can order a kit and grow them home, in the UK it’s a grey area legally. The grow kits are legal but the mushrooms are not
Just like china has they are so progressive..
Except it had little to do authoritarianism or communism, it had to do with the fact that at the time, telecommunication technology had not sufficiently proliferated in the rural communities for individuals aside from the beauracrats sent by Mao to oversee the project would have been able to report the unfolding disaster.

The beauracrats were ironically sent to those rural communities precisely because Mao was worried that the government was becoming overly Byzantine in it's structure so the motivation was in fact to flatten power structures. The problem is that those bureaucrats were motivated to misrepresent the level of success the agriculture project was having out of a desire for increasing their standing.

Mao primary fuck up here was in assuming that these cushy officials would somehow be "purified" by being forced to interact with the salt of the earth rural people. In fact, they just recreated the social hierarchies that they were used to prior to the revolution - using Mao as their justification which would have been fairly effective since he was fairly beloved in the rural communities at the time prior to the cluster fuck that was about to unfold.

Ultimately, the real lesson is that the myth of the "strong leader" is innately counter revolutionary. Mao should have realised this since he had studied some anarchist theory as well as what happened with Lenin when he decided to patronise his entire population and murdered all the independent worker communes and any chance of democracy in the post-Tsar Russia.

Mao tried many experiments including trying to form equitable arrangements with capitalists and land owners, and a national day dedicated to facilitating criticisms of the government. Ultimately though, a combination of ego and niavity ruined what could have been a far more successful and less destructive revolution than what happened in Russia.

Of course the modern day CCP is so byzantine in structure and dehumanising that even Mao's worst nightmares couldn't have imagined it.
What exactly does this mean?

“ being promising early on”
I hope all that goes the way of most digital speedometers and tachometers from the 90s where most are back to analogue dials and a testament to tackiness.
I've been a Firefox advocate for years, but after the recent update to 94.0.1 I removed it from my Mac, Linux, and Windows machines because of how it obscures multi-account containers - they are now a hidden icon that you can't click in the toolbar, and it's been moved into the address bar where its functionality has changed. This disrupted my workflow significantly.

I just switched the Librewolf, and installed the plugin there. It's working as expected, and I won't be forced (or incessantly nagged) to update the browser as I was with Firefox.

Thank you for your work on a great browser, but if you have any pull at Mozilla please tell them they're losing core users for good with these forced, unannounced, irrevocable changes to how users work in a browser.
Its not hard to find a landline.
The headline price is an artifact of congressional accounting. It is an estimate of the 10-year cost.

The MSM uses that number when their corporate masters want you to be against the spending. They actually explain why it is a fairly meaningless number when they want the spending.
So you have like 10 developers staring at the same all day? How big is your code base and what programming language do you use? How do you know everyone loves it?
Curious. I just watched the film The Courier (2021) about the espionage exploits of British Businessman Grenville Wynne during the height of the Cold War (Cuban Missile Crisis). The subtext of the story is the threat of Nuclear war, which gripped the world at that time.

Momentous times and their news filters. Several scenes of the film depict characters watching or listening to the news or reading newspapers. And, a line in the film warns that the fallout shelters won’t save you. Ever seen the PSAs from the 1950s training school children to get under their desk when the siren sounds? That sort of thing.

https://en.wikipedia.org/wiki/Greville_Wynne?wprov=sfti1
For a couple of decades, my go-to terminal-based editor has been JOE (Joe's Own Editor). [1]

JOE has everything I need — it's fast, it has syntax highlighting, multiple buffers, etc. Also, it uses the WordStar key bindings, which are the same bindings used by Turbo Pascal and the other Borland IDEs that I grew up with.

But Micro looks great, too.

[1] https://joe-editor.sourceforge.io/
The dollar is incredibly unlikely to hyper inflate. There is a big middle ground of damaging inflation that is not hyperinflation though
maybe something like this one https://www.thuraya.com/en/products-list/land-voice/thuraya-... ?
I generally agree with you, though I don't understand why we can't just do both. People seem to have a very "one or the other" mindset.

Also, it's fine to be pro-nuclear (I am too), but it's not fine to be anti-renewables (or anti-nuclear).
The four quadrants of code types as shown in the article also appear as Figure 7.1 in an excellent book on testing: Unit Testing Principles, Practices, and Patterns, by Vladimir Khorikov, January 2020. https://www.manning.com/books/unit-testing
This is a far bigger problem in the Java world. Maven will just pick at sort of random (it's deterministic but hard to predict and mostly invisible).

On the JS side there's a way deal with that if people use modules. Good dependencies don't clobber the global namespace. Multiple versions can exist side by side. It'll just make your build bigger.
I consider isomorphism to be isomorphic to equality. Interpret that as you wish.
Man donated his body to science; company sold $500 tickets to his dissection
Given reactors can take 10-20 years to be built and that they don't expect to make profit for decades, if the 40-year figure is true, then it likely is a good reason not to.
At least you actually get to own beanie babies.
This story makes me happy. NFTs for digital artwork are one of the most ridiculous use cases.
This sounds funny now, until somebody tries to sue someone or even pass laws that would make it illegal.
Is it so small because the OS basically had no drivers or interfaces, just bare CPU/RAM/peripheral messaging, and apps sent low-level binary messages directly to the hardware? More "EE" than "CS"?
Buck is (in my view) better designed than Bazel, particularly around how outputs are identified, but the inertia is with Bazel at this point. Too bad.
It's not them who want it back, it's their competitors who want it.
It means I started off in a top software company and was on track to a relatively decent middle class life in US.
How about cars just have built-in phone mounts? We’re all carrying a touch screen with us already.
https://www.youtube.com/watch?v=vMDBmP56s8o

in the words of Stuart Brand "Information wants to be free. Information also wants to be expensive, that tension won't go away" - people often only write the first half of the quote, but nfts address the tension.
This is something people get confused about. Grid scale batteries are definitely not cost effective or in existence. The media does their best to obfuscate this. What has been built around the places are battery packs to absorb dangerous power fluctuations caused by windmills. They destroyed the grid in South Australia a few years ago, and Elon Musk famously went in and installed batteries (maybe that is what you are thinking of).

If you don't believe me go back and have a look at how big the batteries were. The 500 million dollar project installed 130 MWh worth of electricity storage. That is enough to produce the same energy as a power station for 10 minutes before being fully drained.
Best Laptop Backpacks for Back Pain
One can argue that things stay the same until someone (and by this I don't mean a single person) tries hard enough to change them - e.g. now there are dating apps where men simply can't start the conversation. Accepting the status quo as the law of nature certainly won't change anything.
I don't really disagree but it's worthwhile noting that Beanie Babies were the first "killer app" of EBay (from Peter Thiel's "Zero to One: ...", pg 43-44 [0]).

> eBay also started by dominating small niche markets. When it launched its auction marketplace in 1995, it didn’t need the whole world to adopt it at once; the product worked well for intense interest groups, like Beanie Baby obsessives. Once it monopolized the Beanie Baby trade, eBay didn’t jump straight to listing sports cars or industrial surplus: it continued to cater to small-time hobbyists until it became the most reliable marketplace for people trading online no matter what the item.

[0] http://morfene.com/021.pdf
The anti-phishing domain name search engine and DNS monitoring service
Not really. Stellar fusion is only a few watts per ton of hydrogen fuel. That would never be a practical energy source if replicated on earth, but it is why stars can burn for billions of years.
I wonder where plugin hybrids would fit in to those calculations. I can't help feeling that we are squandering our limited battery supply by only using them in full blown EV's.
Meh, these pacts are basically PR (public relations, not people's republic).

None of these pacts are binding, nothing happens to you when you break such a pact, and none of the leaders present have the authority to bind their successors to do anything yet they make promises that are due long after their term in office ends. This leads one to wonder that perhaps Xi didn't show up since he plans to still be in office in 2030.

Regardless, here is a graph of CO2 concentrations in the air since 1959. I'd love for someone to point out where the bends in this graph are as a result of people attending the numerous CO2 conferences we've been having since the 1990s:

https://www.statista.com/statistics/1091926/atmospheric-conc...

If they can't point to any change in this graph as a result of conferences, then it's not so far fetched to say China is helping the environment by refusing to send people in jets to blow hot air in Glasgow.
Cruise Look Under the Hood Reveals Real Details on Extensive Efforts
On the other hand, the physical labor of grinding the kernels into meal, done by women kneeling at large mortar and pestle like tool, was intense and visible in skeletal remains.
> Ask a newspaper to do a small article about it, interviewing him

Per general notability guidelines, a brief article isn't likely to help a case for a separate wiki page [0]. Per low-key, may be there's a case to be made [1], though there's also concerns around advocacy [2].

> and taking a really nice photo of him- which can go on the wiki page.

To get a photo on wikimedia you own, upload it any where (preferably flickr / straight up on commons.wikimedia) and release it under a wikimedia-compatible license [Ex A]

> It doesn't make up for the problem, but it is something they can do, at no cost to anyone, and it would make a difference.

Wikipedia has its warts, and the community is pretty open about what it means to have an article on there and why it may not be the best thing for anyone that's famous [3]. Wikipedia favours verifiability over truth [4], and is not bothered with incorrect information [5], because someone somewhere ought to eventually correct it [6].

(And of course, I am wiki-lawyering at this point [7])

--

[0] https://en.wikipedia.org/wiki/WP:GNG

[1] https://en.wikipedia.org/wiki/WP:LOWKEY

[2] https://en.wikipedia.org/wiki/WP:SOAPBOX

[Ex A] https://commons.wikimedia.org/wiki/File:Bradfitz-sunglasses....

[3] https://en.wikipedia.org/wiki/WP:FAMOUS

[4] https://en.wikipedia.org/wiki/WP:VNT

[5] https://en.wikipedia.org/wiki/WP:RIGHTGREATWRONGS

[6] https://en.wikipedia.org/wiki/WP:IMPERFECT

[7] https://en.wikipedia.org/wiki/WP:LAWYER
$100bn/year is still an astronomical amount of money.
I'd be good with that. I casually started looking at adding openstreetmaps in place of my outdated maps on my 2009 CR-V. From what I can tell, it's a proprietary system with proprietary formats. It doesn't look like it'll work, but I'd love to achieve it.