skysight-inc/HackerNews huggingface dataset:
Well, I empathize with Hitler because he wasn't treated terribly well by those around him who should have been supportive. His dietician reportedly added bone marrow to his soups without his knowledge because she "despised" his vegetarian diet, and his Austrian cook would sometimes add animal broth or fat to his meals, which would then be noticed by Hitler who insisted on clear soups from then on. Despite Hitler disapproving of cosmetics since they contained animal by-products, Eva Braun had a habit of wearing makeup which Hitler would frequently tease her about.

I think that Eva should have made some sacrifices to make Hitler happier, and it's not like she didn't know the reasons behind it because he was very vocal about his reasons as he would give vivid and gruesome descriptions of animal suffering and slaughter at the dinner table to try to dissuade his colleagues from eating meat.

I have gone through similar experiences so I can empathize with Hitler. This doesn't mean I agree with him overall, but that I understand and share his feelings on a specific subject.

If you strip the humanity from individuals, then you are refusing to try to understand them, which means you don't actually learn anything from the atrocities. When there's a shooting, you try to learn the motives and see where the system failed them. If they were exhibiting symptoms of an untreated mental illness, that lets us know that we need to work on providing better care and diagnosis. If we don't learn from history, then we are doomed to repeat it.
Kubectl version management tool
We are professional hackers – AMA
India Warily Eyes AI
> to get the most value, test suites should accelerate the time to useful feedback

Well, they should also optimise the usefulness of the feedback they provide. Typically, tests higher up the pyramid are also more brittle (e.g. end-to-end tests might fire up an entire browser and Selenium), and thus are more likely to fail when in actuality, nothing is wrong. That's an additional reason for limiting the number of those tests.
There is this notion (that I find quite convincing) that people tend to be overly optimistic as to their prospects (to become a successful entrepreneur/professor/etc.), and that leads them to decisions that are suboptimal for themselves (as they overestimate the likelihood of a big exit/tenure/etc.), but are good (optimal?) for society, because it encourages more people to take these huge risks, some of which do pay off.

> That is also math we should be doing.

There are things that should not only be seen in narrow economic terms, though. If someone wants to run their own business, or increase the stock of knowledge, or seek enlightenment in meditation retreats, that's perfectly ok, even if they don't strictly optimise their expected monetary payoff.
DoNotPay
It's a good point that it's difficult to defend the position of protecting children from seeing boobies, but not fake news.

The trick, of course, is that very little of what is broadly considered fake news by various people is just biased or editorialised. Very little is actually flat out lies and fabrication presented as fact - Facebook could presumably remove this (and aren't they actually?), but few of the people shouting about fake news would notice, because what they actually want gone is on the Breitbart/Fox News/MSNBC/SNL spectrum, and that would indeed be very undesirable.
Unofficial rewrite of Scratch in JavaScript
Here in Norway we use something like that for access to banks, tax, pensions, social services, etc. All of these services allow you to log in with what is called BankID. You apply for BankID and supply an ID like your passport then all the other banks and institutions accept that. It uses a two factor scheme with SMS, code cards, apps in SIM cards, etc.

But of course this isn't available to be used by some random kitten video trading site.

Also why would I want to give up my real identity to a lot of the sites that use a captcha?
Except we live in a world with others, and some of our actions affect others. It's a nice sound bite to say you're "pro-liberty" or freedom or whatever nonsense, but I'm sure you're not "pro-liberty" when it comes to performing obscene acts in public where your children can see them.

Issues in life are not simple binary choices. We have to think about balancing individual goals, societal goals, national goals, and global goals. I'm of the opinion that we should err on the side of individual liberty, but when the evidence is so overwhelmingly positive to be pro vaccine, then obvoiously we might have to re-arrange our priorities.
There should probably be a user space layer that abstracts over direct kernel graphics APIs. There’s no reason GPM vs EGLStreams shouldn’t be an implementation detail.

Another note, a window manager author shouldn’t have to deal with these sorts of issues. Puts into question the “wayland way.” I guess this is what wlc and wlroots are for but seems like those approaches have flaws given there was a need for wlroots to even exist in the first place.
> Seems like a weird regression 16 years after Windows XP shipped with "My Documents".

Interesting though, that 6 years ago they reverted back to simply "Documents".

In modern windows, essential user paths no longer need have spaces in them. The persistence of "Program Files" and the hilariously tricky "Program Files (x86)" are notable however.
Copyright Professor: Don't Pay Those File-Sharing 'Fines' – TorrentFreak
As as developer I am totally happy that it increases my productivity. You know, you don't have to use it? It is not shoved down your throat. It is a supported offer.
The problem is that it's almost always possible to achieve a similar or identical number of bugs with lower test coverage, and every test you write has a maintenance cost.

In my experience, the vast majority of test failures (after I've made a code change) end up being issues with the tests themselves, and not with the code change. If you're testing obviously-correct code, that's just more that can spuriously break later and require time and effort to fix and maintain.
Could someone expand IoC for me please?
The English word 'paradise' is from the Old Iranian word for 'walled garden'.
In this case, being the last author should matter more. As in, you have a number of first-author publications to prove you can do research yourself, then start publishing as the last author with different first authors, to show you're into management now and can train new first authors.

As an old Russian saying goes, 'a great engineer would never be promoted'.
All awesome-projects pick
Tips for Sharping Dog Nail Grinder
Visual tests are more general, and are more akin to putting up barriers on either side of a bowling lane so the bowling ball stays within it's lane (with room to move about still). For example when using Angular, you write 'Page Objects' that have methods such as .getTitle(), .clickListItem(3) and so on, and can then write assertions to make sure the UI changes as expected by inspecting properties [1].

I usually find I build a general page object first ('this text is somewhere on the page'), then write the UI, then make the test more specific if I can after (but it's an art, as too specific and you risk creating too many false negatives when you make UI changes).

(Also as you are interacting with the UI, these would be known as integration tests.)

[1] https://semaphoreci.com/community/tutorials/using-page-objec...
What I fear the most is "Absolute power corrupts absolutely". I feel like facebook being a corporation is not in hand of one, But still, if someone has to do wrong or misuse it they can just fuck the world in a night or two.
But it still helps that they endorse it.
My soft tools list
The Kremlin is nothing if not reliably vindictive to those that it believes has crossed it.

Twitter better hope it has its story straight (and the paper shredders working overtime) because this looks to me like Putin's minions have been ordered to go right for Twitter's jugular.

I do hate to say this too, but maybe the Kremlin mouthpiece has a point here: many media organisations use ad spending to try to crowbar themselves into election narratives. The difference in the US is the sheer scale of it compared to most western nations that have strict limits on election spending, both domestic and especially foreign.

The US has limits of a sort but they're so huge and so porous this sort of thing was practically inevitable.
> speaking at the Future Investment Initiative in Riyadh, Saudi Arabia, Thursday.

Should we be more careful since this was said in an investment fund which is not located in Silicon Valley? Or should we trust Peter for his words?
You have taken it out of context, where it was ironically written about the most common uses of revolvers, so it was clearly a joke (the whole article was written in humorous manner, for those who didn't read).
Python: `Dict.get(k)` (`null`) vs `Dict[k]` (`IndexError`)
You can build tall buildings in earthquake-prone regions. Building height does not need to be limited because of earthquakes. Building codes can accommodate their likelihood. It makes the buildings more expensive, but there are standard ways of designing buildings to accommodate earthquakes of particular magnitudes.
10 Bitcoin Payment Gateways Online Entrepreneurs Should Know About
Hackernews, whenever there is someone with Disclaimer: I work for xy
That's an extremely misleading argument. The offerings are hobbled by the fact that most of the new connections (FTTN) can't achieve those high speeds, and secondly, the CVC pricing model discourages ISPs from providing a service generally that doesn't slow down at peak times, and the CVC also makes it more expensive. It's the perfect trifecta to discourage the higher tiers - and the growing uproar by the general population is an indication you're wrong.

Compare to a country with a more sane model (like NZ, the US in places or many Asian countries), and you'll find much higher uptake of fast internet. The Government could fix the NBN to encourage people to take up faster plans if they wanted, but their insistence to not fix any of the barriers makes me conclude they must be doing it intentionally...
Helpie looks awesome! Really cool. Loving the analytics feature page. We designed our "Knowledge Base" page similarly at Zenkit. Check it out here: https://zenkit.com/documentation
I don’t think COBOL does force you to mix concerns. You could create sub modules / services which you call from a main program to do things like file writing or database reading.

Java doesn’t also say you have to separate concerns. You could easily write a single method which mixes business logic and IO (file and DB)

When writing a batch program you need a balance between understanding it, making it efficient and reliable and promoting re-use (e.g. if many batch programs want the same behaviour break it into a reusable module). COBOL still has dependencies too, so each program is rarely written in isolation and you have to co-ordinate with other teams to ensure their module versions are in sync with yours.

The thing that has always let COBOL down for me is the lack of automated testing.
I assume you are sarcastic, but cannot figure out what your actual point is. Are you disputing integration tests can find some types of errors which unit testing will not uncover?
The whole sentence is illogical as 'annual' implies 'per year'.
Ask HN: How do you imagine getting targeted customer feedback?
Hi HN. I'm wondering what's the best way to capture the customer feedback (on a web or app). It's true I've seen many startups and ideas to collect feedback, prioritize them, present them in a backlog fancy way (publicly or internally to the team), in order to close the feedback circle and have better tools to make a team more productive and understand better their customer needs.

However, all I've found so far doesn't emphasize on the need of targeting what feedback relates to what. General feedback is often required. Comments, screenshots (here another problem! there is not such tool -afaik- for providing issues screenshots to a startup, instead, the end user has to do it manually and send it, in case she/he decides to report it), but it's such a mess to define concretely what the feedback is about.

So, what if you could have an app that generates embeddable and stickable-to-existing-components feedback widgets so the website owner owns directly what feedback relates to what beforehand? Then, potentially, the data is mashed and presented in ways to be analized in order to drive better decisions. Metrics I could imagine are: time the user required to give feedback, how much attention the widget got from the end user, time to response from first interaction etc., all together in one place with the ability to be easily integrated with other platforms: drive, zapier, JIRA, easy plug-in on CMS like wordpress or event static websites. You could think of these widgets as the Disqus ones, which requires almost no effort at all to aggregate such an amount of data.

We've presented this idea in welapse.com, so I would appreciate feedback from you, smart readers!

Thanks!
I can see Vladislav Surkov's fingerprints all over this.
We use Ranorex for this: https://www.ranorex.com/
This. Suppose you want to rewrite. Your task is to create a new, cleanly written program in a new language that produces the same output as the old, slightly messy COBOL.
It must work identically for all appropriate inputs. There is no documemtation of the code and insufficient documentation of what combinations of inputs must be supported. No one understands the business logic fully. And there are 500,000 lines of copy-paste-modified code to convert. Any screw-up will likely cost more than your annual salary. How do you sell the risk-vs-reward of the rewrite project?

COBOL will outlive us all.
Best Weight Loss Diet Plan
Ask HN: How much economics as an entrepreneur should i know?
Well I mean if you think about it. Economics seems to be a really important skill one can have while starting his startup. I mean a lot of things come into play creativity, empathy (psychology), maybe some sort of philosophy (helps take a moral and ethical decision), obviously Computer science too.
But as coming to economics I am blank so as a new entrepreneur i want to know from you guys who have already done it and already doing it. Which pieces of economics are really important.
In terms of psychology even if you can tell me something about Biases and common dilemmas that would be great to share too.
https://martinfowler.com/bliki/InversionOfControl.html
'tis true. Can vouch because that's the plan/infrastructure I'm on in Melbourne.

I can only extrapolate my own experience, but perhaps if there was some truth in advertising enforcement. I've had NBN plans elsewhere, and I never chose the top plan, because I'd still be limited by other parts of the internet I was communicating with in practice, and everyone knew the top rate plans quoted speeds are literal nonsense. Why pay extra when you get the same performance on the bottom/mid plan?
My quandary with this logic is that it leads to a slippery slope. If unit tests are not tests because they don't cover the other parts of the program, by the same logic, integration tests are not tests because they don't cover the other programs you're using it together with. Even end-to-end tests may not be tests because they don't cover the users that interact with your system. And we all know that in many cases, users are the biggest source of entropy in our systems. :)

In the end, you'll always need some combination of unit tests, integration tests and end-to-end tests. Unit and integration tests come from the developer of the software in question, and end-to-end tests are developed by devops or by the sysadmins. And you decide how much testing to do and where based on how much confidence you get out of these tests. A test is only useful and warranted if it being green increases your confidence that the software will work correctly once deployed.
Iran (language, culture) is Indo-European.

Arab (language, culture) is Semitic.
7 Not-So-Obvious Applications of Cold Emails
I don't think it's that obvious, actually I think it's not actually an ordering of the rationals. If this were an ordering of the rationals, then it better included rationals with an infinite number of non-zero decimal digits, for example one third. But if this would include one third, then I am unable to see why it wouldn't also include square root two. Why would this be able to include repeating decimal expansions but not non-repeating ones?
They're trying to use existing copper for most of it, but as predicted by all the experts it's not working (the Government promised 50Mbps to all and up to 100Mbps but many people only get ~35Mbps - of course, the parts done by the old Government are capable of gigabit), and the cost has blown out by more than $15bn anyway... So yeah, should have just stayed with the fibre.
"to not get even one "get-rich-quick scheme"."

It's stressed in the article that the most important thing to get rich is to be born around 1835, so you could start with this.
Horror story linky?
Price of real estate is insane everywhere. Here in Brazil there are not many foreigners buying houses but prices are completely unrelated to income since 2010. It has more to do with cheap money, lack of other investment opportunities (at least the perceived lack of) and the good old Ponzi scheme ("la vivienda nunca baja"). Government loves that because it is an easy way to swell up the economy (now we are paying the price for this kind of disingenuous measure) and also the payment of certain taxes like property and real estate transfer.
OT, but what software did you use to make those gifs on Ubuntu?
How do you deal with http interactions in test? Do you mock it or maybe save it to disk to replay later?
> Who is Antifa prejudiced against?

It seems like Antifa is prejudiced against people with a lighter skin tone.

> I'm white but I've never felt like they were any danger to me whatsoever.

Because Antifa is a bunch of civilians.
If the lower income citizens are taken care of I don't see the issue with heavily regulated/taxed and prohibitively expensive property. It's supply and demand. It couldn't work any other way and it's a much better way to deal with the issue than ridiculous and ineffective knee-jerk blanket bans like in NZ.

Singapore offers a great quality of life. If you don't like it why do you stay here? High density has it's unique characteristics that may be less desirable for certain personalities but if you care about the environment and bio-diversity even in the slightest you would understand that taking a self-centred "I like my garden" approach to housing is absolutely the wrong way to go. This mindset has totally and utterly destroyed Ireland, my home country.
I´ve got another one for you. If you´re interested in project management tools, check out http://zenkit.com
Zenkit basically includes all the features you need, like Kanban Board, Mind-Map, Calendar View and so on.
Problem is that the moment you start introducing delegates and crap like that is you're inventing a mechanism to work around your resistance to not using static methods rather than actually solving any problems.

There is no functional difference between a class with static methods and a class without, of which one instance is available to other classes.

Other than the fact that it isolates state, allows mocking and substitution and testing.
"In marketing, there is war for attention. It's the only thing that matters. Attention, not impression" - @Garyvee

This should be expanded to - And the only way to grab attention is push the most atrocious stories. People are nothing if not curious about stuff. Specially the ones which align to their world view.
Show HN: Autonomous flight search bot
And now Ireland is experiencing a housing shortage, with rental prices soaring and house purchase prices heading in that direction.

Market failure, policy failure, awful planning.

Living here, it's hugely disheartening to see a similar pattern emerging so shortly after a massive crash.

I live in Cork, population ~200k. In 2012, I rented a 2 bed apartment in the city centre for €750 a month. Now, I would be lucky to get a decent 1 bed apartment for €1000. And because bank lending rules tightened after 2008, opportunities to purchase a house/apartment have narrowed. Therefore, those (and families in particular) who cannot purchase have been on the receiving end of the spiraling rents. It took the government till late 2016 to put the brakes on the rent increases by creating "rental pressure zones".

﻿https://www.reuters.com/article/ireland-economy-housing/irel...
The cult of the ancestors, mentioned in the article, is nothing specific to Japan. Most civilizations in antiquity had their own version of it. And progressively distant ancestors become god like figures, this is a well observed mechanism outside of the leading monotheist religions.
No exemptions, tax them all. Homes will, ironically, be cheaper if they're taxed because it will further drive out speculative money.
Very interesting! It would be nice to integrate it into a professional music production tool.
> unnecessary abstraction and boilerplate patterns

That means you didn't actually change the code. It means you added unnecessary abstractions around your code in order not to change it.

Unit tests guide you towards simplicity. In my experience, the only times they haven't done that is when I have made some assumptions about what the code should be and not allowed the tests to drive me towards that simplicity.

http://blog.metaobject.com/2014/05/why-i-don-mock.html
Somewhere in the early 90s in these parts.
How do you transfer a bunch on pictures rather than just one ?
I just go in the gallery, select the pictures and share them with Box. Would be the same with Dropbox, can't you keep the connection active on both sides? (no need to type the password)
Wow, so much vitriol. I'm glad I don't like tiling window managers [x]. Sway seems well done, so I would use it and then be annoyed by the maintainer.

Wayland, systemd, heck, that they removed ifconfig - these are all changes I understand and welcome from a technical POV, but that lose me as a user. The pinnacle of desktop linux was around 2009, afterwards usability seemed to regress. I'd love to use Linux, but currently I feel more comfortable on Mac or Windows.

Doesn't help that leading projects on the linux desktop often have such abrasive developers.

----

[x] I tried them, but I found they are not really for me:

- I need something that passes the coworker or girlfriend test: Other people should be able to sit down and use my computer.

- Keyboard shortcuts don't actually make me faster. I find personally there is a lot of cognitive load trying to remember the keys to press, even after a lot of practice. I like to offload this to my eyes and arms, and use a mouse to e.g. arrange windows. That is the reason I gave up and now use arrow keys in VIM, and VS Code when possible.
Just curious but how to do enforce this assigning of responsibility? You make the user agree to terms of service before crawling?
Classic Theo:

"x86 virtualization is about basically placing another nearly full kernel, full of new bugs, on top of a nasty x86 architecture which barely has correct page protection. Then running your operating system on the other side of this brand new pile of shit.

You are absolutely deluded, if not stupid, if you think that a worldwide collection of software engineers who can't write operating systems or applications without security holes, can then turn around and suddenly write virtualization layers without security holes."

https://marc.info/?l=openbsd-misc&m=119318909016582
I read your comment "Because they can find bugs and errors which unit tests cannot." to suggest that unit tests cannot find bugs.

You probably meant "Because they can find bugs and errors that unit tests cannot." to remove the ambiguity.

tl;dr, I am illiterate; but a little change to the original comment could make it easier.