skysight-inc/HackerNews huggingface dataset:
I think separating code into 'algorithms' that make a decision based on pure data, returning the decision in the form of pure data, 'side effects' which represent actions which can occur (and are also very mockable), and then 'coordinators' which rig these things together. In a dynamically typed language this pattern can be more challenging because there is a lot more burden to prove that the integration of various components is rigged up properly, but in a language like Scala this can work incredibly well.

The bulk of the testing in this design would be easy to write unit tests around the 'algorithm' functions. The coordinators have almost zero logic in them and so are mostly just there to coordinate components together and generally demand less unit testing. Since the coordinators coordinate actions and algorithms then they'd likely have dependencies (the actions in this case, generally) passed in using constructor injection or parameters to a function.
To repeat my original post, both tools provide a static binary download, making it easy to deploy. Both "just work". It's a single file that you chmod and run.

Duplicity, as you may know is not a deduplicating backup solution, it is an incremental backup solution, suffering from all the flaws and limitations thereof. If you happened to not realize the difference, I highly recommend this short but informative blog post from Backblaze: https://www.backblaze.com/blog/backing-linux-backblaze-b2-du...
The hard problem is when electrical activity stops in the brain, which can continue for a time even without blood flow.
Sounds like my dad's cancer was also caused by his military duty. I think he got a letter informing him that there was a statistically significant increase in cancer rates among the people who had been stationed at camp X on dates Y through Z.
Airbnb does not care about what hosts do. They just want to be the source of short term rentals no matter what it takes. I’ve been hosed the last three stays and Airbnb does not care.

I stay at hotels now because if I’m not happy with service, I can get a different room, I can get a refund, I can talk to a human face to face.

Airbnb is a platform that just cares about hosting as many hosts as possible and they’re unregulated. I’m not asking they be regulated, but why doesn’t Airbnb check in on Super Hosts? It seems Super Hosts (from the three times I got screwed) run their places by outsourcing cleaning and maintenance, without ever spot checking.
> Gitmo’s a great example. Under Bush it was immoral. Under Obama? Barely heard a thing.

Your history is off. Obama tried to shut it down until it was overturned by Congress.

As soon as the political reality of transferring the prisoners became apparent, all Congressmen blocked the closure of Gitmo. No one wanted to take the prisoners into their own state. No one wanted to be the Senator or Representative to say "I accepted 100 Al-Qaeda detainees into our local prisons! And now our local judges have to put into public trial under our protection, with jury members selected from our State / Cities"

So on the one hand, we had President Bush literally open Gitmo. In the other hand, we have President Obama who tried to close it... but failed because of other more powerful political forces. And yet, you draw a false equivalence between the two.

EDIT: This hits a political pet peeve of mine. False equivalence and whataboutisms. Instead of seeing the differences, a political group deploys propaganda to get their side to believe that there's a false-equivalence on an issue.

And now that you're aware of false-equivalences, I hope that moving forward you'll be better equipped to avoid them in the future. Its an exceptionally powerful propaganda technique. In general, if a group is desperately deploying propaganda to make you believe that two things are equivalent... they probably aren't equivalent.
> I wonder about this though. While Overwatch as a game has been successful, I've heard some people say that they feel like Blizzard has lost their magic after Overwatch and Hearthstone.

I don't think they lost their magic.

I was a WoW hardcore player for years. I won't play Overwatch due to it being a twitch shooter but I love the art direction.

Hearthstone is awesome. Can be played lightly, whenever, and is extremely well built for a "card game".
You need to remember that this is a "value for value exchange" - and they are giving you less. They have changed your contract unilaterally. You are entitled to come back at them and renegotiate the contract. (It probably won't do any good, but I would try.)

"Hey, I see you've reduced my compensation. Let's discuss my new salary."

As for behavior; are you a professional? A professional performs to best of their ability. Take a fireman or a teacher; they don't "Do the bare minimum expected of you".

I would just leave.
Yubico Authenticator for iOS was released today.
Have to agree - it was the first thing that struck me as worrying as well. We need to be able manage our economies without subscribing to the fallicy of unlimited and unrestrained growth. The planet can not support an infinite number of people.
The Math Behind Our Password Requirements
>> The process is mostly just endless tedious task after endless tedious task.

This is why work is work and it appears on all jobs so you might want to figure out how to change your mindset so you can deal with the never-ending tedium that comes with every job before you move on.

Having said that I will say that this type of situation happens in many fields. There are doctors that hate being doctors but love medicine, lawyers that hate being lawyers but love the law and on and on. What they end up doing is that they explore tangent fields that they like better. Some look at journalism and specialize in their field others go into management and still, others go into sales.

I think you should start exploring other fields. You might want to try project management, web design or maybe product manager. If you really have the discipline you might even start your own business.

The way I see it; life is too short to be stuck doing something you don't like.
Social Media School
Well, they would use rail or at worst truck, but grain is often stored outside in piles. There is a photoshopped picture of one of these piles with a skier with the title "Ski Nebraska". A lot of farmers also have non-trivial storage to get a better sale price. There is remarkable redundancy in the food chain.
Nope. I wish it were a joke. Now this stuff isn't modern gear on F35s (think testing benches, displays, meetings, etc) but it's still horrific.
Illegal immigrants aren't coming here and enjoying the full perks of America. They are coming here and being exploited by employers who know their status and dangle it over their head.
>Or, instead of lowering the amount taxed, they could use those assets to fund a sovereign wealth fund for government benefits.

Both options are equally easy for the state to do, of course. The point is there's a sound argument for doing the fund when you have such a large asset that's otherwise useless to you, instead of returning the money as lower taxes. If you do the fund you're setting up your economy to be able to depend on the revenues from the fund forever as you are not depleting the capital. If you lower taxes you get an economy using asset sales to fund current expenses. Once those assets run out you get to deal with that somehow to go back to a balanced budget. Since most states tax incomes much more than wealth doing that would basically mean the current generation living large and passing on the problem to their children to solve. Which is effectively what is happening in a lot of the oil rich countries.
Parsing numbers in C++: streams, strtod, from_chars
Dog and cat food must be suitable for human consumption, at least in the UK.

My grandpa who passed before I was born once ate a tin of "stew". He said it needed a bit of salt but was fine.
> I realized I was aging when I figured out that WoW Classic is Oldies Radio but for people in my age bracket.

I was a hardcore Everquest player prior to WoW. I actually ran the biggest market site at the time, EQPrices.com.

So you want to talk about aging ... but yes, WoW Classic, while interesting, was not enough to get me back in.

And I played at launch. So I know all about having to carry around arrows and all that other jazz.
> it would be nice if there was something like Python's with statement to correctly close a file.

In C++ or Rust, non-memory resource management is arguably even easier than Python.

RAII: Resource Acquisition Is Initialization.

(Apologies for the C++; can do the same thing in Rust.)

ManagedFile myfile("path.txt");
myfile.read();

`myfile` gets released whenever the scope finishes.

That said, the C++ and Rust stdlibs don't look like that because opening and closing files is not exception-free and unlike Python, C++ and Rust don't have or don't prefer non-explicit error handling.
Maybe not the ones with GC?
The UX is fine IMO. They've been improving it. I have a couple non tech savvy friends that use it and they're fine with it.
Stripe acquired Indie Hackers two and a half years ago, and I love it. I get ample support and encouragement, while also retaining my freedom to run the community how I see fit. Most IHers would also tell you that the site has improved since then.

One of the many keys is aligned incentives and values. If there's even a small 1-2 degree difference in the direction you and your acquirer would like to head in, that gap will widen into a vast chasm given enough time.

Also, kudos to the leadership at Stripe. They're intelligent, well-meaning, and they get it.
I like HashBackup. It's not open source unfortunately, but I like the incremental encrypted backups while also being able to pull out a single file easily.
The general prison suicide rate isn't comparable- Epstein was in jail rather than prison, previously already on suicide watch from a supposed attempt and was more importantly possibly the most high profile prisoner of the Millenium.
No.

You cannot stick a compression step before restic, because it will mess up the deduplication - the chunker will not find the same chunks, and will not be able to find out which files have same contents (not as easily at least).

And you cannot stick it after restic, compressing the backup archives (or storing them on a compressing filesystem), because those are encrypted, and any encrypted file has high entropy and does not compress. (It doesn't help that restic makes the encrypotion mandatory).

So no, compression really needs to be an integral step in a backup system. Restic is definitely lacking in this regard.
ah yes, anything that gives character to the feel of a site is worthless! I don't understand why people use GUI's either, just use a terminal!
I'm not too far in the know for how the OOO stuff works/worked within Paulson. Did OOO migrate instruction execution between batches? Did it simply ignore them all together?

I'd still imagine you'd see benefits for the same reason you see SIMD benefits (assuming you aren't doing a whole bunch of pointer chasing).
> The planet and its resources has a finite carrying capacity. Given we have most of the world in need of developing to reach the levels we enjoy, I suspect we are far past that capacity already

This argument has been made for hundreds of years, and for hundreds of years it's failed to pan out. Perhaps this time is different though.

"The power of population is indefinitely greater than the power in the earth to produce subsistence for man." - Thomas Malthus (1798)
>You may now commit suicide, safe in the knowledge that it doesn't matter, because there's no difference between the current you and the distant you.

If you decide to commit suicide, then any identical copies of yourself will also have the same thought process and decide to commit suicide too, so you'll have killed all identical copies of yourself. That's very different than deciding to do something (like use a scan-clone-destroy teleporter) that will create a copy of yourself and then destroy one copy of yourself.
They probably meant "&kd=-1"

Take a look at the parameter list in the linked page. There's no "fd" in there.
VW was a 2 seater, this is 5
Although that pretty much means that Hawking radiation very much is a significant factor on any humanly achievable mass.
It's not actually that easy to revoke someone's citizenship. I know many people who came to the US legally that are vehemently opposed to illegal immigration precisely because they followed the rules and don't see why others shouldn't have to.
This is so cool. I wonder if there's more of a tradition of these types of squares in languages with syllabic/block scripts because they're easier, and probably way easier in logographies like Chinese, to construct.
U.S. patent board is unconstitutional, but problem can be fixed: appeals court
Do you have voice search enabled ("ok Google")?

I don't know if web workers allow microphone access but, in case you've allowed a website to access your microphone recently, I'd check if it hasn't installed anything automatically they could be triggering this.
> Most people seem to agree with this statement, which is the very definition of a pyramid scheme (see my point about hysteresis above). We've defined the goalposts such that this statement is in some sense tautologically true, but it leaves me with a profound sense of "so what?"

For countries with any kind of social / welfare programs, there is no option available but to grow population. Even here in the USA programs like social security are only solvent to 2037[1]. Many state programs (such as public pensions) are in way worse positions...

1. https://www.ssa.gov/policy/docs/ssb/v70n3/v70n3p111.html
Add to this the fact that he had been reported as being optimistic about winning his case and had never exhibited suicidal behavior before, even when he was facing a serious sentence
There's the trap they'd get you into though. With mass and ubiquitous surveillance, they don't even need citizen searches anymore. So the person you are talking to would likely report you for impersonating. An agent who was really acting on behalf of the government doesn't need to execute a citizen search of that data.

What I'm trying to point out is that your line of questioning would not impact her view of the government at all, it would only raise her suspicions about you. To the extent that, at some point, she would call the government to report you. Because the government also conditioned her with the whole mantra:

"If you see something, say something."

Trust in the government, particularly on matters of security, is not so easily undermined.
It automatically closes once it’s out of scope.
I'm not sure why they would grant an export license, that completely defeats the point of the law. Me making a million bucks can't possibly be good justification to allow my transaction to be exempt?

I think this law changes everything when it comes to trading exploits.
Rules That Can Make Composing Articles Less Demanding
It’s frankly shocking and disturbing how many people are celebrating the collapse in fertility worldwide. This should be a sign that something we’re doing is very very wrong.

Plus population is expected to plateau around 9 billion so we’re not actually being threatened by overpopulation anytime soon.

I can’t help but be reminded of the movie Children of Men.
SVD is also simple and versatile.
Show HN: TypeScript types that conform to JSON schemas without code generation
Suppose I am a pedophile and somebody discovers that. They then use that as a leverage against me to perform something entirely else, which is illegal, too.

In the context of our society, me being a pedophile is better than me being a pedophile who also does other illegal things to cover that up.
Most Algol derived languages (Wirth et al) follow that path and Basics.
This library allows you to write code that generates Typescript type/JSON schema pairs <T, s> such that

1. Any type that s can validate is assignable to T

2. As few objects as possible that are assignable to T cannot be validated by s.

This allows you to write JSON schemas and use the corresponding Typescript type without having to resort to code generation, maintaining two types side-by-side, or re-writing a whole JSON schema validator in something like io-ts.

Hope it's useful to someone!
> whether you consider something racist or not has no actual impact on the usage of the term

Thats true

> for using common terminology in a way you don’t like.

When did it become common terminology? I am 47 years old and don't remember that term ever being used until the last presidential election as a means to vilify people of color.

Maybe I just wasn't paying attention the other 44 years?
Sounds like they are morally bankrupt. This is not something to be proud of in today's world.
Authoritarianism isn't a Chinese property. John Howard has said recently that authority going forward in the future is going to be one of the most important things. I think the rise of authority is particularly valuable to Australia precisely so we can maintain a sharp and effective boundary against the Chinese government's control. There is serious thought going in to policy leading up to the 2030's and the challenges it will bring. Australia has banned 5G as it is sourced from china and is looking seriously into making big military purchases and discussing alliances in the region.

The left/right split will become less relevant in a few decades as we lean into an up/down perspective, where a top down authority will maintain our values better than a liberal perspective.
Depends on whether they believe they are in a position to make the company more moral by their presence, and whether their particular branch of philosophy says that matters.
There are, but they’re mostly research languages or otherwise experimental.
What specifically makes people look up to Mr Pike so much? Is one of his projects in particular, or just his accumulated contributions?
Why? Productivity continues to increase, regardless of population increasing. It's like saying we can do more with less everywhere, except when it comes to taking care of people and the elderly.
Neural pathways are just pathways. The electrical patterns that reside in the interactions between neurons are necessary for conscious experience. Once the patterns are gone, information is lost. It is like taking a snapshot of a table of moving billiard balls. You only have the position of the balls, but not the velocity, acceleration, etc. And those are necessary to recreate the motion. The "motion" in the case of the brain is what creates the person (as far as anyone currently knows). Having the dead neurons and their dead connections is not enough.
Every non-citizen I know keeps their head down and doesn't express their personal opinions on political matters (particularly relating to ICE) because they don't want to jeopardize their visa. It would be strange and kinda stupid for a foreign programmer on an H1B to oppose a contract with ICE because they do eventually want to get that Green Card and eventually citizenship, and they know who holds the power in that relationship.

(It's also amusing to see that sometimes shift when they get their citizenship; I had a Japanese classmate in college who was on first a student visa, then an H1B, then a green card for about 15 years. He had zero political opinions for the whole time I knew him. As soon as he got his citizenship, he's active in local politics. It's more about urban planning, transit, and YIMBY efforts than immigration, though.)
For what threat model does this matter?
visas on the other hand are incredibly easy to revoke, or simply not renew. and you're employer has to support a greencard petition if you're e.g. on an h-1b. i know of at least one person's GC application that got torpedoed after his relationship with his manager soured. especially if they have families, employees on a visa simply aren't going to speak out.
Cranberry farmers want to build solar panels over their bogs
Presumably you knew that before you stepped into the teleporter, so decision to partially die is in both copies of you.

This all assumes a destructive copy process -- if a non-destructive teleporter is possible, you don't need to destroy remaining copy, but all kinds of legal issues arise. Maybe you'd want to have one copy destroyed to avoid paying double for lunch.
> I'm going to call bullshit,

Will people please consider a moment's thought before using this adolescent phrase? People throwing it around are probably not using it with its most precise and defensible meaning (a la Harry Frankfurt). So the most charitable alternative gloss is that it's used carelessly to mean someone is just wrong. It's a very poor (because ambiguous) word choice for that. I suspect it's usually deployed to suggest someone is lying, for which you need specific evidence beyond believing a statement to be incorrect. That evidence is very rarely available in an HN comment.

It's hard to be thoughtful about using language, and I'm no exemplar. But a good start is just avoiding reflexively spitting out some rarely useful prefabricated phrases. This is one.
You can see here some discussion of that question:

https://github.com/rust-lang/rust/issues/32255
https://github.com/rust-lang/rust/issues/59567
I'm about your age and that term has been used as long as I've been alive.
Not really. If government fiat takes away my US visa, and for some reason does so instantaneously with no grace period, then I'd still only be an illegal alien for the few days it takes to get my affairs in order and fly home. The kind of tech worker who's employed full time at github isn't in a remotely comparable situation to someone who's in the country illegally.
A few thoughts, as someone who went from being deathly afraid of talking in front of the class in Junior High School, to presenting well over 100 times:

- Just do it: Find opportunities to talk in front of people. Come up with things you know about, and find meetups or similar, and talk. Part of it is just getting familiar with it.

- Watch other people do it: Find other presentations that have lots of views and/or that you enjoy watching, and figure out what you like about them. Then try to do a similar thing.

- Figure out what you want to say: I've spent a lot of time talking impromptu. The talks I like the most, and the feedback I've gotten, has been refine your message and practice your presentation and pacing. The best talks I've seen really had their message refined.