skysight-inc/HackerNews huggingface dataset:
Ask HN: What motivates you to do what you do?
I've been in transition for a while, leaving a big enterprise and moving towards more independent work through own consulting business.

In the process I reflected a lot and one of the important topics I am trying to understand is about underlying motivations for my actions.

I can see what is going on in my head, that I tend to materialise some image of my future self, create value for the family and the environment I live in, position myself good for the future-needed skills, have joy in what I do, have more freedom to decide of my future direction ... there are many different triggers of motivation for my actions, but from time to time they seem random and misaligned.

As said, I can see what is going on in my head but I was curios about how others interpret and manage their motivations which trigger their actions.

Would be happy to have some insights into your heads if you may allow :)
Advanced command execution in Go with os/exec
Spot on. It says a lot about their true character.
Your comment is a bit misleading, because .NET has always only instantiated one version of a generic for all reference types. Even the article you posted backs this up, though I'm sure I've read the same on MSDN.

"... instantiations over reference types are shared among all reference type instantiations for that generic type/method, whereas instantiations over value types get their own full copy of the code."

Just about the only thing it could do better is to reuse the same instantiation for all value types of the same size.
Australia is one of the top adopters of PV solar in the world. Granted, we are not yet at the level of Germany (500MW per million head), but we're doing ok at 250 MW per million head of population. Half the number of Germany might sound pretty poor, but it is twice that of the USA (125), Spain (118) and a a lot more than the UK (178).

Last year saw overall production increase by 13% and there are a lot of big projects in the pipeline.

http://www.abc.net.au/news/2017-03-29/australia-on-cusp-of-l...

I think that you'll find people have been biding their time until the economics looked favourable, which isn't so silly in my opinion.
Sounds like a dangerous precedent to start removing symlinks or otherwise not linking to the latest version? Is that just a foil to stand in for proper updates to other scripts and such.

Shouldn't instead scripts be updated either to be compatible with latest python or to specify the version they demand?
Murder sure; however, it said this:

>videos that contain inflammatory religious or supremacist content

It's very easy to claim content is inflammatory or supremacist . This will be highly subjective, which is the problem.

I personally know people here in the bay area that would have no problem labelling lots of campaign talk by Trump with those tags.
Have you considered using dygraphs (http://dygraphs.com/)? It is designed to endure large ammounts of data.
Ask HN: Is 'database' a well-known word for ordinary computer users?
In my country I can say that the word 'database' is acceptable for an average computer user to see on the user interface of a software, what's the case in the English world?

This use case is this: I use a sqlite database file for storing a bunch of files/documents related to a project that a user is working on, currently I use the wording 'project file' to describe that database file, but now I wonder a clearer wording is available - 'project database'. Do you think calling it 'project database' is a better idea?

This is mostly a question for native English speakers. Thanks.
ZCash and Monero have strong cryptographic privacy (ZCash with zksnarks, Monero with ring signatures). Neither has smart contracts, which you'd want for this application, but the privacy technologies from both will be available in Ethereum after the upcoming Metropolis release.
I support the idea of investing small time into writing better commit messages to save much more on reading and comprehending them.

And why not emojis? They just won't be rendered where they aren't supported.
I'm in Melbourne. I ordered my Tesla Powerwall 2 today.
> The Finkel Report[1] sums up pretty well why coal isn't competitive.

Apparently it does cool the atmosphere though, so it's good against global warming.

https://wattsupwiththat.com/2015/05/26/the-role-of-sulfur-di...

https://en.wikipedia.org/wiki/Global_cooling
It is not.

https://fuchsia.googlesource.com/magenta/+/master/kernel/LIC...
This principle that "anything that is enjoyable cannot be good for you" is only there I suspect as a cultural leftover of the Catholic religion, I don't think it's a worldwide thing.
It's kinda documented in release notes:

https://www.debian.org/releases/stretch/amd64/release-notes/...

They don't mention the Oracle debacle, though.
Cray Awarded $18M Supercomputer Contract from New Zealand’s NIWA
The idea that hundreds of non-white alt-righters could gather at a college and all act like extremist liberals while not leaking the fact they're alt-righters is pretty absurd to me.
Ireland? Where you can still suffocate from coal smoke at winter time and the average building does not have proper insulation and they still use hot / cold water taps? I do not think so. Newer housing surely has better insulation and better heating but it is fraction of the market (or at least it was in 2012).
I'm a little late commenting but...

> Since everything is open source and I can't run ads or add any sponsored content, the only way to support it is through Patreon. I think it is a pretty cool idea and solves a big problem of not knowing how how best to start learning a topic or what learning some topic X is.

How so? There is nothing in the open source model that prohibits this. Is it because it because you feel that the type of people who are interested in open source will get angry if you have ads?
>but the same things I would learn just doing an ordinary job.

What about the coursework and classes your provider made you do? Our apprentices have something like 1 day in 10 at college and have to do coursework projects through the course of the apprenticeship.
Both those examples are exactly the type of thing you cannot do in Java because of type erasure. For instance, your first example would need to be:

<T> static void addItem(List<T> list, Class<T> type) {
T item = type.newInstance();
list.add(item);
}
Assuming you could read signals to/from a key-fob/HID-card, isn't there some encryption involved that would prevent merely repeating the signal to "clone" a key-fob?
Right, quite honestly I'd like to see them just make a mostly uncensored spinoff and set up censorship on vanilla youtube. Lax, uneven censorship gives you the worst of both worlds really.
.NET always preserves generic type information for reflection but there is code reuse when a generic type is used multiple times with different reference types, e.g. there is little overhead having List<object> and List<string>

Duplication exists with generics and value types, e.g. List<long> and List<DateTime> are entirely separate code. It's just a thing to keep in mind when mixing them with value types.
HEADLINE: better keychain integration/mechanism for handling PGP/SSH

DESCRIPTION: It would be great to have a central keychain where keys (SSH, PGP) could be unlocked on a sessions basis (think of a merge between gpg-agent [who wouldn't scream about being hijacked every other day] and ssh-agent [who wouldn't be shell-specific and able to handle multiple keys without having to manually :

> eval $(ssh-agent -s)
> ssh-add /path/to/key1
> ssh-add /path/to/key2
> ...

])

As a desktop user, what I would like is, on a session basis, when I first provide the passphrase for a given key (when I ssh into a server from the CLI or decrypt a PGP encrypted email from Thunderbird [with enigmail] for instance) have a keychain securely unlock these keys for the duration of the session (that is, until I lock the screen, close the lid or log out).
I think the name doesn't matter as much as you'd think... It making sense isn't nearly as important as your potential users understanding what it does and how useful it is to them.

After all, it's not like "google" screamed "search engine" when they started...
Professor Dr. Jordan B. Peterson explains the phenomenon of PC, that's widespread today and brought this new means of censorship:

https://www.youtube.com/watch?v=-PI5JGTA1WI
If you haven't used it, Flow is a fantastic alternative to TypeScript. They still have some hiccups about working correctly on windows, but it's a much easier way of doing typing in JS than TS.
Just launched a new Chatbot Community Looking for early adopters to try it
Intel discontinues Joule, Galileo, and Edison product lines
GBPUSD: Recovering Within Its Consolidation Range
4 Cool Tactics You May Use in Social Media Marketing Strategy
Im also curious, without digging into it deeply is it something comparable to Solr or Elasticsearch? If so i wonder how it stacks up
Or they could have done erasure in the runtime when they detected non-generic usage of a generic class. Instead of forcing it on everyone.
But with much better pr.
And both technologies are at the research stage, it should be noted (both ZCash and Monero have suffered from vulnerabilities that allowed attackers to create tokens out of nowhere).
For some reason, most of the those who have promoted this piece have failed to notice that the same journal published a pretty scathing refutation of it, a few months later.

http://www.pnas.org/content/110/11/4251.abstract

It seems the original authors didn't even bother to look for confounding factors, such as socioeconomic status or use of other drugs.
> Use Valid MarkDown format in Message Body.

I like to keep Markdown away from my repos. After a while people get clever with their Markdown and it makes reading commit logs using command-line tools increasingly difficult. It also encourages writing things into commit logs that would be better suited for documentation.

Edit: apparently it's not a Github specific thing.
I'm awaiting ES7 :D for the true solution to this problem. It'll eliminate the boilerplate of .then(function() {})` entirely. Less brackets, less ceremony.
Having recently (3 months ago) stopped a 20 year daily coffee habit, I would be inclined to say that caffeine is not at all good for your health.

Just the stress on the heart and nervous system alone is enough to offset any supposed benefit (from this perspective I'd say there are none, it's just getting hopped up on another drug, albeit a very much culturally accepted one in most parts of the world).

Concentrated sugars taken in on a regular basis are also harmful to one's health. I guess live like the ancients (i.e. before alcohol, coffee, tabacco, white sugar, etc. came into being) is a pretty good recipe for optimal health.
Should mention this was in Australasia (NZ and then Australia).

Besides, even here there are a lot of people that qualify (anyone that works as an administrator at a university for instance). The thing is, there isn't much in the way of structured services (unless you happen to be doing a large certification course where others nearby also are).
Fighting with React – overcoming the learning curve
> If I am not wrong, Australia is a sunny place

Ha. It's nicknamed the "sunburned country".

https://www.google.com/search?q=sunburned+country
How to set up a TV dashboard
CoffeeScript is still relevant to me, mainly because of the sparser syntax. For React, I wrap the components in functions to create syntax that is even a little clearer than JSX, but still valid CoffeeScript.

I am still waiting for someone to finish a Python bytecode VM or transpiler for javascript which is actually worth using...
Distributing KeePassXC as a snap
I don't believe GitHub renders commit messages as Markdown.
It takes time to get those brackets right; time that adds up. That's one of the many ways CoffeeScript contributed to my own productivity over the years
The comment you responded to never said anything about organic food, they simply postulated that people shop at Whole Foods because they carry healthy food - which they do.

I used to live near a WF and shopped there semi-regularly. They definitely stock non-organic produce, and it's consistently of high quality. Likewise for their salad bar, bakery & hot meals.

It's not the only place in the world that stocks healthy food, but I can certainly see why people shop there.
I really like the emoji approach. I think the dev job got a bit nicer since basically every dev tool from shell to editor can display them.

But :checkered_flag: for Windows? I think this is problematic. To me it looks more like an icon that suggests "finishing" something.

That's the problem with icons, their meaning breaks down rather fast if you can't create specific ones.
I'm skeptical of these images. I can't find any follow-up scans on Lorber's patient, despite such an unbelievable finding. Unfortunately John Lorber has passed away (1996), making this patient impossible to track down.

Interestingly someone took it upon themselves to reclaim these images in 2012...

http://retractionwatch.com/2016/09/08/authors-didnt-generate...

Only to get retracted in 2016.
Easiest ways to prevent overheating your pets in summers
Java could have done the same by implementing erasure as a VM-level construct that's only invoked when a generic class is used in a non-generic manner. That is, using List is equivalent to using List<Object>, which I think even retains semantic equivalence. Bonus points for gating the feature behind pre-5 class versions.
Lol this explains the primitive technology guy on youtube
No wonder Hortonworks wanted to integrate it.
There are places where good technical recruiters earn substantially more than programmers - if they get 10% year salary (which I understand is not the highest number you might see), they only need ~1 successful placement a month to make reach parity.
How often do you hear about shootings in South Chicago in world news? 294 people have died there so far this year![1]

Terrorist events should be treated like any other murders and people will very quickly stop caring. They are just hyped up by the media to drive views and the governments love it because it allows them to expand their power.

1. https://www.dnainfo.com/chicago/2017-chicago-murders
In some countries it's illegal to refuse service to customers unless they are doing something illegal. This applies to shops and restaurants as well.
How Chinese unicorn Tujia altered the Airbnb model – and why Airbnb hasn’t yet
Storage Made Easy incorporates multi-cloud Workflow approvals
How does building a giga factory in your country lead to energy independence?
Just flag it and move on.
You can worry about the presence of these additives and drugs in plants and plant-based dishes that you eat. This is not even remotely connected to vegan / non-vegan products.
Because people copy things that have been recently popular, as a way of boosting their own audiences.

"Curated list of XXX" was popular a while back, after that it was "Machine learning applied to XXX", and this week it is recruitment.

Next week it will be something else.
That's way too many emojis for the purpose of quickly conveying high level information.
Beside HackRF One, I've been looking at LimeSDR.

Are there any other comparable options?
[Gorescript] Indie hardcore FPS is out on Steam with 15% discount
Would love Lyft over in the UK. Uber is the only taxi company (they are a taxi company if they like it or not) with an app which doesn't crash on launch
No, it's meant as a warning against the trappings of explosive popularity. A language like C++/Java/JS is difficult to modify because of how entrenched the usage of the language becomes. In that sense avoiding "success at all costs" (which is how it should be parsed) allows "agile" development of the language.
"toxic masculinity" is a subset of masculinity in the same way that "toxic water" is a subset of water. People are not asking for an end to masculinity any more than the Flint water protestors are asking for an end to water.
I suspect you're being downvoted because you'll always be able to claim 'No no, I meant more subtle effects that are harder to measure.'

To answer your question: How can I compare my vaccinated self to my unvaccinated self?

The answer is: I can't, because my unvaccinated self is probably dead as it would have had to have lived in a world where childhood mortality was much higher than it is now, due to various factors but especially communicable diseases.
Israeli kibbutzim is probably the largest example, where you have a set of many communes so you can see what is an accident and how the average behaves; and they were/are long lasting.
That's lightyears apart from the interview bullshit.

On the job questions come with a context, or if not with someone who can offer context, or at least some guidance. (In the worst case you can ask your boss WTF to do. And maybe you'll get the answer, I don't know, and it's not important, it's up to you, etc.)

But never does the question what should this thing we're building right now will do in 5 years comes up without the answer, huh, good questions, but we have absolutely no idea, so we need more data and a shorter time-frame, and let's call up Gartner, Gordon Moore, Gardner and Tetlock, and maybe a few fortune tellers while we're at it too!

The problem is not the question, it's a fine question to start a discussion in the right context. (Maybe even during an interview. But it's not a "Q&A with tweetable answers" type question.)
I get at least 5 phone calls from recruiters a week, being a contractor. The amount of times i get someone that asks me something like:

Recruiter: "We're looking for someone with React experience, do you have that?"
Me: "Yes"
Them: "Ok, how about Javascript?"

I want to explain to them but i end up just saying yes to every acronym on their list since they've no idea what they're asking for.
This is the first one I’ve seen in response to the translator one and would love to see more.
NBC Reports on the Future of Weather Forecasting
How funny is it that this commit's message (https://github.com/slashsBin/styleguide-git-commit-message/c...) in a repo about commit guidelines doesn't actually abide the ruleset (violated Rule 8).
9 Reasons Why Small Businesses Should Use the Cloud
I use π for new kinds of projects and the golden ratio φ for well known types of projects. (edit: however, the only purpose of an estimate might be to go faster, so perhaps it's better to have an unrealistic one)
Using emojis in elastic beanstalk and deploying the commit causes failure. So there are definitely problems with using emojis
Open Corpus will make medical knowledge available to all
https://github.com/slashsBin/phabulous seems to be using the standard... The emojis look helpful.
Please don't do this. :lipstick: :sparkles: has absolutely no meaning when I'm working in a clone of your project, on the terminal, without access to the Internet.

I think it would be great to standardize (or at least widely adopt) some conventions for commit messages, especially with respect to tagging that isn't easily expressed by the "FOO: Imperative bar" style. Let's do it with plain text, not cute icons that get rendered differently (or not at all) depending on the OS or client you're on.
Can We Mobilize Education Like Manufacturing in WWII?
I would love to start up my own business, I am extremely hard working and dedicated, even in my every-day 9-5 which I end up doing like 8-6 and working weekends. I enjoy working, as a software dev and at 23 years old I have a fair bit of time ahead of me. My biggest downside is I lack the confidence, I have a bunch of ideas but then I decide, "It won't go anywhere";"I can't do that";"As if people would even bother with this"... I see so many things that could be so much better every day. How do I get past these barriers? Do I just run with an idea and even if it fails, oh well, move on?
In Toronto, produce we buy at Whole Foods lasts longer once we get it home than any other market or supermarket, even Loblaws and our local market. Don't even get me started on Sobey's, fresh produce from Sobey's often spoils and goes into the green bin the next day.
Why-is-the-title-written-like-this?
SSE2 introduced integer instructions.
When Java was introduced we already had plenty of GC enabled languages with value types.

Eiffel, Oberon, Modula-2+, Modula-3, VB, are just a few examples.

Hence why I always saw as lost opportunity not to provide them in first place.
I don't know about the things you cook, but when I inspect things in the grocery store I'm generally checking for (a) bruises/damage and (b) being past its best.

Online grocery retailers have their employees (and stock management practices) doing those checks for you.

A short-sighted company might think it was profitable to send bottom-of-the-barrel leftovers to online customers - but in the long term there's much more money to be made by sending a family $100 of good quality groceries every week forever than sending them $100 of poor quality groceries once. So retailers have every incentive to get the checks right.

With that said, if you're an expert cook, it's possible you're sensitive to nuances the average person would overlook. In that case online shopping might not meet all your needs.
People spending less money isn't good for the economy.

As long as they spend it on something else like I mentioned it should be ok.
Udemy.com
For those who don't know, this is a joke, poking fun at the commit style sometimes used on github, versus git's recommended style.

(Edit: Here's a link to a style guide in git's documentation, for example: https://www.git-scm.com/book/en/v2/Distributed-Git-Contribut...)
Show HN: Js-Lingui – Internationalization in JavaScript and React
Good compilers don't keep immutable things immutable at runtime, but turn uses of clean high-level functional code into tight C-like loops.

https://donsbot.wordpress.com/2010/02/21/smoking-fast-haskel...

It's been seven years since: that's GHC 6.13, and GHC 8.2.1 is being released soon. Performance is even better now as long as laziness doesn't bite you (which is much less rare than people think).

> you won't be able to convince him that a standard recursive-descent parser is 10x simpler to write and read

I don't know what a "compile-time parser" is, but someone used to a good parser combinator library is going to be difficult to convince.

http://www.haskellforall.com/2017/06/translating-c-parser-to...

It reads like the formal spec of the language. Hand-writing recursive descent parsers isn't fun (given a sufficiently complex grammar) and expecting people to accept it as the One True Practical Non-Ivory Tower Way (and expressing dismay at not being able to convince them otherwise) is suggestive of monoculture, the kind that prides itself on copying code and using wrappers over the two or three first-class data structures that exist in the language for everything.
Does the fact that many of these havent been updated in months or years mean that these are really old projects that effectively hold no value to the NSA and arent close to any of their core operations?
:checkered_flag: :globe_with_meridians: My subjec

Using emojis and limiting yourself to 50 chars is really difficult

Edit: Just seen that "Every Raw Emoji Text(:emoji:) is Counted as One Char!" - Great! But I'm not sure how Git CLI will like that.
As has HN which does not have a real name policy. We're in unproven territory, I think.
Making it another case that proves the point of this article.
On the flip side I recently interviewed for a programming position at a civil engineering company and at no point in the process did anybody ask any questions that would in any way test if I actually knew any of the things I claimed to know. The entire "programming" part of the interview was essentially:

"We use quite a bit of python. I see from your CV you've used python".

"Oh absolutely, I consider python the language I know best. I've worked on a couple of larger python applications as well as used it extensively in a number of smaller projects"

"Great!"