skysight-inc/HackerNews huggingface dataset:
I use ZFS on my NAS at home so presumably I am the target audience. What I failed to learn:

1. What OS is this whole thing running?

2. How many drives do I get? What’s the point of ZFS on a single drive? Is this just a way for me to temporarily hold a file system?

3. I don’t remember all the flags for the various zfs/zpool commands so the example command means little to me. This seems to be the main thing explaining what the service is for, yet I would have to go and look at the man pages to figure out what it does. Best I can tell: I can send my whole filesystem from my local NAS to my drive in the sky, but why would I want to do that?

4. Why do I get root access to the box? And if that’s the case, why do I need it?

5. What are the details of the data center they are in? Or the location? Or how did they arrive at their 99.999% reliability?
I don't think it's solely/mainly a question of volumes/numbers and being sufficiently well connected, though no doubt it is a factor. In my experience the 0.01% are privileged to play by the book, but have an advantage over the rest of us in having access to a whole library of books to choose from, and the money to hire experts in book-selection and lackeys to manage the whole affair on a day-to-day basis. That's the stuff a Tax-Haven-As-Service outfit would have to solve behind the scenes.

Most of these tricks involve entities-in-cahoots across multiple (usually at least three) jurisdictions, so I imagine it might take quite a LONG time before the various legal authorities in all relevant jurisdictions get sufficiently coordinated to have effective regulations in place. The evidence that this is the status-quo is that it exists, and has not, to date, been "solved" by any one government. Unfortunately it's just too expensive a solution to justify itself for us proles.

eta: Also Alderney (pop. 2000-ish)
Yeah, beefy might be overstating it, but I am pretty happy with the top configuration.
I’m not sure which picture is more scary...
-_- really? Industrial, UX and UI designers are manipulators now? Is Jony Ive the head manipulator?

There are more ways to communicate than a black and white wall of text. One of them is called language of design. That's why designers use visual language to communicate with their users.
If you don’t understand it, maybe that was intentional on their part to not do business with you. It’s not a successful path in all cases, but if you have a niche product targeting a small audience, I can see value in what they did.
I think that’s why they have encryption and also you can own your own drive.
I was discussing school with my son and had to correct myself several times. They just don't use blackboards any more. Compared to the plastic packaging and volatile chemistry of whiteboard markers, actually using chalk on a board sounds downright responsible. Edited to add, think of the blackboard as dark mode.
It says on the page

> Rent out multiple drives if you wish to create a RAIDZ or Mirror ZPool.
The Russian brigade is doing great job downvoting you. This is another proof that you are right.
Do you have any source for that with any evidence?

It seems like a huge overreaction to murder a single vocally opposed politician just over a aircraft fighter deal - even if he was a critical decision maker (which I'm going to guess he wasn't).
> There's one clear sign that you can find on any Russian anti-Putin and/or pro-liberal blog or channel[...]

> Why would a sane person call his nation "stupid alcoholics using barbaric language"?..

Oh, yeah. Lets label any anti-Putin person as insane.

What are you trying to do? Are you trying to get ban from `dang`, so you could then talk about bloody censorship on HN? "HackerNews is a branch of CIA/MI-6", isn't it?
Funkwhale is great software. It featured a week ago: https://news.ycombinator.com/item?id=25067701

Here's some extra incentive from the blog post for people to consider:

> Some of the development tasks can be paid, as we still have some of the NLNet funding. This could be an opportunity for you to get paid working on open-source software!

Funkwhale is implemented with Vue and Python.
HN users and Twitter users might both be developers but they're very different types of people that have very different views of the world of computing.

To brush it off as "cynicism" is ignoring the full picture.
Can this API detect concentration camps? It would be helpful in China.
[Dutch]Amsterdam municipality demands an app that prevents parking fines to stop
Since the article is in Dutch, here's my summary:

The Amsterdam municipality is demanding a startup to stop developing an app that can be used to prevent parking fines.

The app uses a dash cam to detect and notify users of a "scanauto" near their vehicle.
These municipality cars use an automated camera system to detect license plates and fine owners who are not paying the parking fees.
There is a 5 minute grace period between scanning and the requirement for a person to start paying for parking.

A user may use the notification from the app to start paying the parking fee during this time preventing a fine.

Other resources:

* [Dutch] Company crowd funding page: https://www.parkeerwekker.nl/
A very backend developers philosophy of front end, not sure I agree though it sounds like generally good advice
I assume that the procedure would be the like as you had discovered oil or gold mine in your property.
Voice Recognition with JavaScript
While your logic is correct, it is ignoring another argument.

Individual workers might not price in the societal (or individual) cost 20 years from now of breeding mental issues in these workers now.

Or another example: You own 50% of the forest land in your community, which for sake of argument produces 50% of the community's oxygen (assuming a closed system). You start cutting down the trees to produce furniture and sell them. Generally the cost of oxygen production is not priced in, and down the line, someone will pay for it. Either individuals getting sick, universal health care, environmental efforts in replanting, regulation on land maintenance, etc, etc.

I suppose you will argue that each individual will need to save a buffer for every network effect for every purchase decision they ever make that doesn't price in externalities, in pure capitalist spirit. But I hope my point hits that there has never existed such a system, or if it did, it died out pretty quickly, and left no trace in history.

We can and should all have opinions on health regulation, environmental taxes, etc regarding what their effect ultimately becomes, but everything from societal mental health to environmental effects will always leave a bill, and someone will pay for it. The only thing we can discuss is if it should be everyone for themselves, our great great grandchildren, taxes, or corporations selling crap too cheap (or in OPs case for free).
In this case wouldn't the deduplication be done on the sending system anyway?
Sorry, I didn't mean to say that all design was manipulative. It's so often abused to hide manipulation though I'd rather just go without and I know I'm not alone.
Everyone spies on everyone. That's how spying works. You spy on your allies because no nation is 100% with you or against you.

In each nation there are elements of the enemy in them - some that your allied head of state may not even be aware of.
The OS options are listed. The pricing is clearly per disk, and "Rent out multiple drives if you wish to create a RAIDZ or Mirror ZPool.". Backup. With root access you can do whatever you want with your system, including (as the page mentions) non-ZFS things.

5. is indeed missing.
Looks like Marissa Meyer read my comment from almost exactly 8 years ago on HN [0]. However, nothing about this abomination inspires any trust and there is simply no way I would install this.

[0] https://news.ycombinator.com/item?id=4778555
Likewise.

In our case, we were permitted to disable Rubocop rules at-will via inline comments, which made it slightly bearable, but still onerous considering how slow our CI was (45+ minutes in many cases for a test run)

My preferred method is:

1. As a matter of productivity, all coders are expected to have Rubocop enabled in their editor of choice, for the quickest possible feedback loop.

2. Use HoundCI or equivalent to highlight Rubocop complaints in Github's pull request conversation. Then they may become a matter of discussion. Obviously, this only works if the team is mature enough to avoid bikeshedding.

3. Rubocop failures do not, however, cause a hard failure during CI.

4. Haven't set this up yet, but ideally I'd configure things so that perhaps some egregious Rubocop failures (ie, tabs vs. spaces, SQL injection issues, etc) would cause CI failures. Whereas more subjective style issues would simply be flagged for developer attention/discussion.

5. Pull requests to modify the project's .rubocop.yml are always encouraged. Again, culture/maturity come into play here. I've been on teams that bikeshed this sort of thing to death. My current team does not.
Europe maybe freeloading, but can you really blame them? Everybody knows they can get away with that and stay in NATO. Heck, look at what Turkey is doing and they are still in NATO. U.S. wants to preserve NATO the most, almost at any cost. Other countries know this and are more lukewarm to NATO and these things are to their advantage when deciding how much they really have to spend.
I believe there are two problems at play here.

1. Inconsistency causing maintainability/readability problems.

2. The desire to avoid discussions about style within a team.

If you're talking about 1. here then what you're talking about is consistency as a tool that can be used to further the goal of maintainability/readability, but as with all tools it can be applied too broadly to problems it doesn't suit, which I would argue includes the subtlety and nuance around the intent of some code rather than the function, and so to force consistency there, and to nullify intent, harms the persuit of the end goal.

Point 2. is in my experience so rare that I'm tempted to assume it's just a post-rationalisation used to justify the pleasing sensation programmers get from making things the same. However, assuming it does exist, just in companies I've not experienced, this isn't really a goal that in my opinion is best served by a linter, once you've got to the point that you've automatically fixed all the issues that are obvious (such as lead spaces, syntax errors, security issues etc).

Everything you're left with after this point is a programmer either expressing intent, or making an unsound style choice, and this is best solved in code review. Expressing intent is valuable, especially in a language like Ruby where there is room for nuance.

If you've got two developers fighting over preferred style, bring in a senior developer to educate about this and perhaps even bring it up in the employee review. If you've got two senior developers who disagree about the style of a piece of code, then they should be expressing their opinions in a non-argumentative and suggestive style:

Senior a> "I would prefer to see this code written like this, but this is a personal preference"

Senior b> "I wrote it like this to show x intent" or "I have amended the code as you suggested"
"looking down this comment thread" is now more science than the findings of acutal scientists? Huh...
Is it intended that you took a statistic from 2017 with the UK (second biggest) still in it?
> Perhaps you'll move somewhere with 100 inches of rainfall per year, like I did.

Like New York?
just yesterday evening I've shown awk to my boss
That's not necessarily good thing though. These weapons are cheap so they can also kill en masse but "tidily". It's less easy to project power with them without actually killing people, so they are less effective as deterrents. In the end, small-scale defense is becoming more important as well.
Incidentally, for me it wasn't the taxonomies, but rather a teacher who was overly critical of me. He kept insulting my drawings, and since it was India, your parents too join in the "fun". For high school, I switched my stream to computer science almost immediately. It was only in my final years in engineering school (chemical engineering) where I began to get into Machine learning applications for biological processes under a really enthusiastic and encouraging professor (who ended up being a coauthor on a number of papers), that I really began to rekindle an interest in biology.

Funnily, earlier this year, my now-fiancee prepared for and wrote the MCAT, and since I sat along with her during her prep, I decided to give it a shot too, in spite of my relative lack of prep and a full time job on the sidelines. Managed to score a neat 514. Turns out, having a good teacher matters a lot.
My thinking is the aim of this is a cheap way to store large volumes of data (eg from a ZFS NAS). Multiple disks would offer redundancy but would be more expensive. Since this is a backup service, the outcome of having that drive fail is less severe (ie you can put a new disk in and repopulate the backup) than if that was your primary storage device. For home users this might be an acceptable risk given there isn't much else out there in the same cost point ($/TB) and which also support ZFS.

Businesses and enterprise users would likely prefer an organisation with a proven track record (eg rsync.net) anyway -- even data replication aside.
IANAL and certainly not a tax lawyer but I believe this one is easy. In the US, the treasure trove case https://en.m.wikipedia.org/wiki/Cesarini_v._United_States ... This also covers found precious metal on property and I'd imagine when these precious goods arrived isn't important, only when you found them.

Here's an example of it in action; arguably a pretty similar case to a precious metal falling out of the sky: https://www.forbes.com/sites/robertwood/2014/02/26/couple-fi.... Apparently the numismatists of the world have a name for this stash if you're interested: https://en.m.wikipedia.org/wiki/Saddle_Ridge_Hoard
I'd say that one is studying a plant and its interaction with the environment/other organisms whether the other is more interested in the inner works of a fungi. It is a matter os perspective, one is doing ecology and the other one is more weighted to genetics.
Software, the Boundless Machine
Buying tickets would render one ineligible?
I am not sure what is the problem with me, but for me the code with the GuardClause is easier to read.

class SanitizingFilter < HTMLFilter
def render_element(name, attrs, content)
return nil unless safe?(name, attrs)

super
end
end

The guard clause is easier to understand in plain English: return nothing unless safe else move on to next line.

Maybe I find it easier because I started programming with Basic and based a lot of logic on GOTO line and then moved to assembler language where again it used JMP so I represent code with nodes and edges in my mind.

Also, the original code - which the author prefers - has a positive ratio of language keywords over content (or logic) i.e extra 'end' and 'else' which does not bring too much information and makes me read it twice just to be sure I did not missed anything.
Show HN: Patroni and Zookeeper cluster in a Docker swarm on a local machine
Hey, guys!
Recently I've been working on a high-availability cluster for Postgres and decided to pack my experience into a step by step tutorial you can easily test out on your local stand. Welcome to the original post for more details
Honestly I see it as a symptom of America's obsession with "the one true saving hero". Hear me out, judging by the internet, American people seem to always need someone to put on a pedestal; Mueller, Sanders, Fauci, AoC, Dolly Parton, I am not eloquent enough to explain it but it seems to me that people are always looking for someone to worship and hold as their saving grace where in fact, the issues they're facing are complicated and no single hero is going to solve them.

I don't know, has anyone else noticed this?
InfluxData (InfluxDB) is hiring Rust and columnar database programmers (remote)
How the “Golden Question” Tells You Which Relationships Matter
Understanding Climate Change Using High Performance Computing&Machine Learning
The depth in your generated image is very interesting.
Storytime: As part of moving to another city, I put a chest freezer on an auction platform, specifying that it must be picked up from my location. While that auction ran its course, I minded offline and online services and updated my address to the new address so that letters would already arrive at my new location. Now came the day where somebody would come pick up the freezer. Which address do you think did the auction platform give them where it could be picked up?
I found myself thinking about multiplication tables in the shower today. I think you can get away with knowing the tables for 2, 3, and 7 really well. The rest is just tricks:

4: 2x twice

5: add a zero and divide by 2

6: a 3x followed by a 2x

8: 2x three times

9: 3x twice

Beyond that, it’s repetition of those tricks, plus the distributive property of multiplication over addition.
What’s the state of the art here? Is it solvable but nobody’s implemented it yet?
1. You get to choose Centos 8.x or Ubuntu 20.x for your KVM node

2. They explain you can one or more drives. They intend the product as remote snapshot storage it seems.

3. You might not be the target audience then. Not every company wants to target every possible person willing to pay.

4. As indicated on the page, you need root to provide the encryption key on a reboot.

5. They said Sacramento, but I agree, more details on which DC would be better, for their target audience anyway.
If you're idling most of the time (which well written GUI apps and seemingly few Electron apps do) then execution overhead affects battery drain very little.
Is it more, less or equally probably to win the lottery? If it is the same or less there is no need to buy lottery tickets, we are all playing all the time :-)
Nope, I linked the wrong thing. It still doesn't invalidate my other numbers. Germany is at best 25% of the EU economy and going down. Not "more than a third" (33%) as you claimed.

In any case, fear of Germany is overblown in 2020. I'd definitely want a EU army with a major German contribution. Don't be a general fighting the previous war ;-)
I didn't know it was such an engaged project, a lot of their releases have a message:

https://notepad-plus-plus.org/news/
> I've hit similar issues to those mentioned in the article and it absolutely infuriates me when I have to jump through hoops (or worse, reduce the readability of my code) to push well thought out code that communicates intent, only to fall foul of a robot that doesn't understand nuance.

I don't use Ruby but I faced similar issues with Rust's clippy and rustfmt. But I still think it's better than the alternative.

Every time I'm tempted to override one of these links/formats because I feel like my way is better I like to remind myself that it's going to set a precedent for the other devs on the project, and it's only a matter of time before one of us does something that the others don't like and it's only a matter of time before we return to pointless arguing about coding style and inconsistent code formatting.

>Consistency is merely a tool, the goal should be readability/maintainability.

That's the thing though: consistency is somewhat objective (and enforceable), readability and maintainability not so much.

TFA is a good example of this: they argue that explicitly returning "nil" is more readable and better communicates intent but I suspect (once again, not being a Ruby coder myself) that other experienced Rubyists could respond that everybody knows that a method finishing without an explicit value ends up returning nil, and that adding explicit code to do is is just clutter and distracts from the important things.
Recognise the creativity behind crime, then you can thwart it
For me, guard clauses look more readable, especially that they can be easily added or eliminated, they separate main logic from edge cases, and they reduce nested clauses a lot. Stomping a foot about "branching must look like branching at all cost" reeks more of a religion than anything else.

Or maybe, if the author has a custom style, they should make their own linter rules.

Or maybe, just maybe, be hardcore and don't use linters at all. If you treat your code style as a form of art unto itself (which is not a bad thing at all IMO, depending on what you create), linters can be detrimental — they sure strip your code of a lot of its character.
Same can be said for almost any high-school class. In physics and mathematics you learn mostly tricks to get at an answer for a question, where the sole purpose of the question is entertaining students.

Only in my 20s I read biography's from people like Feynman (1) and Erdös (2). Great reads! Really make you exited about math or physics. I wonder if high-school teachers even know these persons. And if they do, why not talk about them?

(1) Surely you're joking mr Feynman

(2) The man who loved only numbers
All our laws are enforced by violence.
Rails+6.1+adds+support+for+destroying+dependent+associations+in+the+background
And yet there is a need for software. I'm supporting a clinic in Asia that is using OpenEMR for records. The government is requiring reporting of diagnoses by category. This is exactly the sort of paperwork that an EMR system should be able to solve well. Since we haven't figured out how to do this with OpenEMR, the staff is doing it by hand. I hope to solve this problem soon, whether by figuring out how OpenEMR supports this or by adding this functionality.
I wonder why they are storing it in liquid nitrogen.
I really, really wish I could run this program natively on macOS.

Previously I had a windows computer for work (though I am a mac user generally) and this is the only thing I miss since I managed to get a mac for work.

I know there are plenty of text editors available but Notepad++ just ticks all the right boxes for a simple text editor.

Edit: CrossOver for mac (fancy version of wine) is way cheap than I thought (30 quid), so I've bought that. Hello Notepad++ :)