skysight-inc/HackerNews huggingface dataset:
I recently learned (also from HN) that wild-type measles can often destroy your bodies pre-existing immunities to most past threats. I wonder if we will someday be able to trigger
a similar effect with a synthetic virus, wiping the immune memory, then re-vaccinate to get back immunity afterwards. But it is practically just science fiction stuff now, as far as I know.
I too found the response to Atlas Shrugged comment to be oddly agressive. I always find it curious whenever people hate on the book. I want to ask, what about the book was so offensive?

I would summarize the story of Atlas Shrugged as the collapse of USA caused by an incompetent government whose policies rob and persecute the productive industrialists who have the competency to keep the country infrastructure going.

One of the protagonists runs a railroad company. I don't think there was actually any train robbing, but towards the end of the downfall, gangs were extorting money to let her trains enter and exit stations.

I can't remember much from Snow Crash, read it too long ago. I think one protagonist was a courier, and the book took place in a distopian future.
Is it just me, or does this not even install correctly with pip install .?
FWIW - I've also had bad experiences with specific implementations of SL (both in the small and large). I'm especially frustrated by the magical creation patterns of some popular DI libraries.

I think there are difficult trade offs to balance and a huge area of focus for me, is making tests easy to write, fast to run and extremely reliable.

I find that creating and managing global state often leads to less reliable and more frustrating tests, these can cause test discipline to collapse, so I'm willing to deal with some pain to avoid those outcomes.

I can understand how other folks might feel differently and may find deep offense at some boilerplate that I think is a little smelly.

The same folks might be willing to put up with more pain in the test environment, or may not place as much value on tests as I do. That's okay too.
That's not true at all. Large families have been common throughout the history of humanity for a number of reasons. Lack of birth control, economic output of children, ensuring at least one child survives to take care of the parents in old age were common reasons.

Women in the 1800s had an average of ~3.5 children that lived past 5 (about 4.5 children total, but child mortality was much higher in the 1800s). We're presently hovering a little under 2. The 1950s did have a spike up to ~2.5, but was still lower than the 1800s.

Small families are an oddity in human history. "Support" also meant something very different back then too, though. People still might be able to support 3.5 children on a single salary if they were also willing to live by 1800s standards.
I imagine the 2D effects animation is also done in vectors like the 3D.

Maybe a better way of phrasing my answer is that Arcane was done in vector shapes.

Whilst anime is sometimes done "quick and dirty" by agreeing on a raster resolution and mastering everything in raster.
Looks almost like mini-HDMI? Is there a better way to do an outdoor Cat5 connector?

On mine, the Cat5 female port always ends up being a home for small spider families.
Seems like these designs serve different purposes - gravity light would be better for stationary lights while the now light would be more useful for portable lights. Unless there’s way to attach a weight to the now light as well?
The credentials don't matter to experts in the field, but this forum is filled with laypeople. No layperson should accept such an article without expert vetting.
I’ve been blaming my laziness on cognitive load for years. Helps keep managers and nagging family members off my back. If you really want to see my mind unleashed, give me your contact info, I’ll get back to you.
Resolved: “Blocked” error when accessing reddit.com on Firefox
I've been thinking about starting with Computer Science Unplugged when our kids reach that age: https://www.csunplugged.org/en/

My idea is to keep children off screen addiction for as long as possible, whilst still teaching them the relevant mindset, patterns of reasoning, and the way computers actually work.

On another angle, my son did start throwing together maps and sprites in no time with the (Lua-based) TIC-80 and Pico-8 when I showed these to him. Load81 by antirez is a similar Lua environment without the constraints: https://github.com/antirez/load81

Or, why not put together a low-cost computer/Z80-like terminal with your son, like the RC2014 that runs BASIC: https://rc2014.co.uk/

Good luck!
No, see, I've been part of this debate several times on HN. If HN is anything it's predictable.
RE: your last paragraph:

Basically you're praying for China to succeed at this point. They have full blown LFTR research underway and I think other reactor designs under aggressive research.

Alas private funding of reactor designs is a not starter at this moment, with battery/wind/solar in rapidly evolving economies of scale and R&D. Solar/Wind is closing in on beating the leveled cost of gas turbines, and a reactor project wouldn't hit the market for ten years.

What's the economics of battery/wind/solar at that point? Salt water or Li-Sulfer batteries that are ultracheap, ultracheap but decently efficient perovskite or other techs? Too murky.

I agree we should be funding reactor techs in the billion-per-year range in the US (take it from the boondoggle fusion funding if you have to) and keeping close watch on China's progress, but probably all nuclear startups are fraud for the next decade.
All of them are virtual, so that pretence is not far from reality... (wait, wasn't that a joke about pretending to work vs pretending to pay a sallary ?)
Inflation, cost of housing skyrocketing, etc. I’m looking for a new job because my current one does not pay enough to own a house any more. You basically have to make FAANG bux to own a house here so that is why I started looking.

Otherwise I have quite high job satisfaction.
Don’t even get me started on that as a metric lol. I will say going from 0-20% coverage is a lot more valuable than going from 70-90%
Except they're not armed... yet.
> maybe they have family issues, maybe they're having physical or mental health problems

then they should quit! stealing time, value, money from the company and its fellow employees isn't right. It's shitty behavior and nobody should defend it.

But - the most accurate model for what other people will do is electricity - they will follow the path of least resistance. That's all the "manager" is doing. If you make too many problems, getting rid of you might be easier than dealing with those problems!
Yeah, I'm with you on this one. "Roguelike" was, for more than twenty years, essentially defined as a game that is turn based and grid based in the vein of Rogue, centered around traversing procgen levels and usually with permadeath and dungeon crawling as key focuses. It wasn't until game journalism sites and their fans started going "um... roglik is when hard..." that use shifted, and the current use describes basically nothing.

I think the Berlin interpretation puts too much weight on periphery aspects of the genre, but this shit is just ridiculous. If you use the standards these people do to define Roguelike with anything more popular, it becomes plainly obvious how absurd it is. You could call the Warhammer 40K tabletop a Doomlike because it has chainsaws, demons, the ability to be customized, scifi guns, the firing of said scifi guns and space marines, despite not even being a first person shooter or a video game.
If you are testing the externalities, they aren't unit tests, but integration tests.

The better advice is: continue to isolate unit tests away from real dependencies, and ALSO have integration tests that test the way the package connects to dependencies (and the other packages in the software dependent on it).
Yes, which means they also compare equal to any object whatever, and they hash equal to the integer 1 and the boolean True.
That's…not the same question. But yes, I am. We have systems at work built on AWS Cognito and OpenID Connect, which is based on OAuth2. No browser is required, except to interface with the user. It's all HTTP and JSON underneath.
One can also get the commit from github itself.

Also, see https://news.ycombinator.com/item?id=29932282 for a newer hash.

# clone the old repo noDRM/DeDRM_tools forked from
git clone https://github.com/apprenticeharper/DeDRM_tools
cd DeDRM_tools

# fetch the commit hash archive.org tells us about:
git fetch origin 8c819c71376ab76445dd79d5cf2b28b6c0c2819e
git checkout -b noDRM FETCH_HEAD
I am convinced. Great video.
This post has disappeared from the first 15 pages, in spite having 75 points and being only 4 hours old.

The title was not changed and it hasn't been flagged.

edit: I checked and it still appears under "new". It's weird that it's gone from the front page.

edit 2: I found it on page 27 :D
Same here, I can use nim.exe on desktop, but nimble.exe is killed SentinelOne. It works on Linux machines. Before they were deleting everything named bash.exe (not anymore).
I would like to know why this is down voted.
How do you wack a flying drone? If it's in danger of hitting wires it can just fly higher? And how do you wield or even carry a 50m (150ft) or longer stick?. Do you mean shoot it down?
most of the bugs are in the joints of the system, not in the components

it's much easier to write modules that are internally consistent, much harder to be globally consistent across modules. mocks ensure you only test for internal consistency
It's great that more people have become security aware over the past five years. Hopefully in the next five years they'll learn about threat modelling.
Do you like rock climbing too? Heh
I was typing from a phone and didn't pay attention.
Oh, I meant as an optional thing for people where this kind of thing is an issue.
Probably because civil liberties shouldn't end at state lines.
I quit my job in November because ... I was burned out, and life is short, and the last two years were incredibly stressful, and my partner and I had an opportunity to do something else: we bought a sailboat, and we're going to go explore the world for a while.
I have five cats. They are indoor / outdoor (I get them inside before dark). Living in a rural (forest) area, there is a fair amount of critters around. In the last six years, there have been maybe 6-8 birds caught and about 2 chickarees (small, fast squirrels - one was caught my since deceased senior cat).

Cats are hunters for sure, but not all decimate things.
>I wouldn't hint either, but because at best it puts you in an incredibly vulnerable position.
First, it indicates that you're willing to look for a new job, which decreases opportunities at your job. Maybe that means being passed over for larger projects, since they're less certain if you'll be there through the entire project. Maybe that means not receiving ongoing training, because they're uncertain that they'd benefit from it.

I probably used to think this way too but I think it's somewhat foolish now. Unless you have a highly unusual contract or employment situation (usually involving family), there is always an implicit threat that you can leave. These "maybe" hypothetical opportunity carrots being dangled in front of you (and by you) just aren't relevant. You can literally say: "give me the training for this position and then put me on that project, or I'm taking an offer from your competitor and in two weeks I'm out."

edit: "and give it to me in writing with a guaranteed 6 months of pay subject to me meeting expectations" (if this is somehow illegal I'd be surprised).
Without looking too deeply into it, I assume it's MIDI and using some JS implementation of a MIDI engine / soundfont to play.

https://developer.mozilla.org/en-US/docs/Web/API/Web_MIDI_AP...
I'm impressed that it still works, albeit at at lower speeds.
Certainly it would have been fine to reply with contrary evidence. That would have been an entirely different comment than the one you did post, which broke the site guidelines. It's not like this was a borderline call.

I agree with you that the GP should have used a different phrase there, but this sort of thing is a matter of degree, and what you posted was several degrees further into flamewar. Please don't do that, even when another post includes a provocation. That's in the guidelines too, btw:

"Please don't pick the most provocative thing in an article or post to complain about in the thread. Find something interesting to respond to instead."
If only we could all agree what counts as a civil liberty (and who is entitled to them).
Ideas on growing the Flathub Community in 2022
I worked somewhere with a hard rule that you are not allowed to test internal classes.

So if I write my own sort algorithm I am not allowed to unit test that class
unless I make it public.

But if the sort algorithm is to solve a specific sub problem in a library there is no need to make it public - it may not make much sense.

So I had to test it “through” its consumer class(es) that is public. For illustration sake lets say a MVC controller mocked up to the eyeballs with ORM mocks, logging mocks etc.

This bugged me because having
direct access to a functional
core I can quickly amplify the number of test cases against it and find hidden potential
bugs much quicker.
I’d rather fight than just accept equality for gay people ends at state lines.

If we’d left things to states, Jim Crow would’ve stayed on the books for decades longer, and some states would still not have gay marriage.
The choose your state dropdown is lazy-populated, so the last half (everything after New Hampshire) fails to load under my default browsing configuration.

A list of 50 states and some US territories should just be statically included.
All true but (again in my experience), I’ve found muscle memory improvements by basically dropping all of my work on developing it and staring all over, and I’ve found music writing/stylistic creativity improvements by just atrophying muscle memory and coming back feeling like I don’t know anything [about what I’m trying to do] at all.
Why do you feel the need to point out a tiny error when a Chinese person is going to the effort of romanising their own language so that we can all read it?
Miserable, but pulling in $800k/year for the last several years at a FAANG. I have a net worth of $8M and in my 40s. Everyone around me leaving.

Tempted to take a massive paycut to join a startup. But why not milk FAANG a bit more while the gravy train lasts?
This must be the only situation where upgrading to CAT6 will make it slower.
Interviewing at top tech companies hasn't changed much in at least 30 years.
One of my first job interviews, in the early 90s, I had to sit in front of a computer and write some assembly. Probably did it in on the computer because the company didn't have a whiteboard.
Personally I've been suspicious of any company that just did a chat for an interview
#TIL that SGX is getting depreciated. So then what is Signal/mobilecoin going to do now?
Did HN shadowban my post about 5G? Help me check?
I just checked the first 15 pages and the post is gone, in spite being only 4 hours old and having 75 points. It still appears under "new", but not in the main index

See here:
https://news.ycombinator.com/item?id=29943779
> How about the radical position of letting each state decide for itself?

The current state of affairs is that the constitution does not allow the federal government, or the states, to prohibit abortion, guns, or gay marriage. So the status quo is that this is up to the individual. Leaving it up to the states would be a regression.
> The heart of the argument presented is that using mocks in unit tests is problematic (...) If you use real implementations

No. As you say, the moment you have a real out-of-process dependency, you no longer have a unit test, but an "integration-with-external world" test.

The heart of the argument is to not mock out internal (in-process) business logic. Instead:

a) do not use mocks (e.g. leveraging Moq); use fakes (aka "simulators"), i.e. proper classes having in-memory implementations of the out-of-process dependencies and crucially

b) replace only out-of-process dependencies, which usually are flaky/nondeterministic. Never replace internal business logic.

If you feel you need to replace internal business logic, you are not following the functional core architectural pattern. After you refactor to functional core you will no longer need to replace any dependencies in your unit test, as there won't be any - you will just call your tested pure method and make assertions on the returned value.

Special case here is testing "top-level/controller" logic. Here you need to use the in-memory fakes, but there will be only few, reused across all tests, and such test will be an "end-to-end internal-business-logic integration test", but still it will have all the properties of a unit test - it will be fast, deterministic, and you will be able to run it as part of a unit test suite out-of-the-box, with no environment setup necessary.

Further reading:
https://enterprisecraftsmanship.com/posts/when-to-mock/

> If you want to change code you will always measure the effect it will have on the code and tests are incidental, not the primary concern

Exactly. Mocks are very brittle and break all the time, causing unnecessary rework. If you instead rely on a small set of fakes of out-of-process dependencies, you will drastically reduce test suite rework and improve signal-to-noise ratio.

> Using a real dependency, I would be left in the unfortunate situation of depending on knowledge of the internals of that dependency.

And what happens if the real dependency changes behavior, but you forget to update your mock? You will have a test that will be running against a mock that simulates obsolete behavior, no longer present in production. In worst case scenario the test will be green/passing, while there is a bug in production. Will you remember to always comb over your entire test suite and review all mocks to faithfully simulate actual production behavior?

> It may not allow me to execute specific paths via pure configuration at all.

If you write fakes, you will have full control over how to configure them.
Because as long as traveling between states is free each state has to deal with the consequences of its neighbors. Why have a federal government if it’s not going to impose some kind of union that binds all the states together?
> having 30 pairs of Beats headphones isn't so personally useful or easy to unload for cash

Why would that be hard? eBay, craigslist, Facebook groups, and other platforms exist which can be used to facilitate the quick and easy offloading of stolen goods.
my company bought a pcr machine for our medical office 45 minut turn around and its not naat but PCR
Mocks don't test the joints, which you have just suggested are where the bugs are.

Fakes get you a lot further without needing more comprehensive integration testing.

Fakes simulate dependencies - so you can test the joints - but can be tested themselves, and most importantly can have conformance tests that validate that the fake acts like what it is faking.
A lot of people don't realize the United States has the second largest air force in the world.

Oh, it has the largest too -- the US Air Force.

It's just the second largest air force in the world belongs to the US Navy.

https://worldpopulationreview.com/country-rankings/largest-a...
Perhaps I mistook your message for hostile. :-)
My understanding is that when pirate parties actually got some amount of power (by getting into the legislature) in other countries, things got weird, by nature of them having to establish policy positions on lots of stuff other than IP law. Like suddenly you need a position on green energy and foreign interventions and public teacher salaries and zoning and all the other things a regular party is gonna have to vote on. And this conflicted with how they got popularity and power, which was by being largely single issue.
Would you please stop posting unsubstantive comments? It's not what this site is for.

If you wouldn't mind reviewing https://news.ycombinator.com/newsguidelines.html and taking the intended spirit of the site more to heart, we'd be grateful.

We detached this comment from https://news.ycombinator.com/item?id=29943518.
Yeah, that is a guilty pleasure I expect. I've looked through their privacy policy, nothing objectionable leaps out but I'd rather keep everything to myself. I may have to look at Jellyfin at some point, I've just been running Plex for so long there's a certain inertia. And plexamp is like... amazing.
Oh yeah its broken on iOS safari in that the later states are all “state”
Informática is a common term in Spanish, as you probably know.
I would certainly choose a lawyer who didn’t pass the bar provided they have won 10,000 cases in the past. Although I would settle for 1000-2000, etc.
But ok to end at international lines?

May be a global secular government with uniform civil laws for all is the answer?
You just reminded me of this site I used to use for Sparc/Solaris binaries:

https://www.ibiblio.org/pub/packages/solaris/sparc/

I’m sure it’s been 15 years since I’ve even thought about it.
How could I possibly convince you of the empathy for animals you've never developed? This is like asking someone to prove a theorem to someone who has never studied math or science.

I expressed my opinion. I fully accept I cannot ever change an adult mind, especially in a venue like this and over such a complicated subject and one that the status quo prefers not discuss (animal rights, animal welfare, meat industry, dairy industry, pet trade, pet mental illness, pet inbreeding, pet breeding in general, and general animal suffering by humans) because so much of near every society is built on killing, eating, exploiting, and imprisoning animals for our pleasure. Its not the most pressing issue, but when I see dog owners fighting over cat owner over dead birds or whatever, I do like to point out that there's a major forest for the trees problem here.

And yes its futile on some level. A bit like being against cigarettes 60 years ago, or being again racism during segregation, or being against slavery at the founding of this country, etc. Collectively, we're not here yet for this, but I hope someday we are. I see so much hopeful things in regards to animal welfare in gen-z and younger millenials that I really do think change is on the horizon, maybe in 20-30 years we'll see pet ownership like we'll see the meat industry, or the crocodile purse industry, etc.

I remember PETA being mocked for decades for pointing out how "all american" and "family friendly" and "humane" places like Oceanworld/Seaworld/whatever with their captive whales were, but Joe Beer Drinker "hates bleeding heart liberals" Netflix Watcher saw Blackfish almost 10 years ago and more importantly, so did his children, and the narrative slowly changed over the years as those children became college students, and workers, and leaders, and took the voice from the older generation and said "no, this is inhumane." Its not futile to point this out. Its not rude to say that people like you are on the wrong side of history. Its okay to get downvoted the same way HN 1955 would downvote me for saying cigarettes were unhealthy and cause diseases and kill people. We're not there yet, especially in a conservative leaning forum like this one.

In other words, hello from the future, we won't look kindly on the status quo you fought so hard to preserve.