skysight-inc/HackerNews huggingface dataset:
I just got into Go, and I'm a fan a lot of language design decisions. But a lot of configuration leaves me wondering: is it me who doesn't understand something, or did the same folks who designed such a good language actually screwed up configuration stuff?

No way to specify a version of library or language I'm working with is already a little bit annoying, although I haven't actually discovered problems because of it. But the $GOPATH just drives me nuts: why the hell would the language infrastructure work out of assumption that all my projects that are based on a single language are contained in a single folder? On the contrary, I often have projects that include several different languages and frameworks in them, and I'm usually keeping client and server in the same repo. Language is a part of a project, not the other way around. I ended up with this hackery in my server Makefile:

build:
GOPATH=$(shell pwd) go install main

Overall, just as Go itself is transparent and simple, it's `import` statement and build infrastructure is not. "Convention over configuration" may be a good approach for simple web apps, but when this convention just doesn't fit your workflow, it brings more bad than good.
In the decimal system it is just as easy to associate 5+5=10.

5xN is easier to remember than 16xN on account of 5 being the smaller number.

2^n is logarithmic whereas 5*n is linear. Arguably, logarithms are not too complicated, even if linear seems to be a degree easier, seeing that the decimal system is also logarithmic as that's a denser representation.

edit: how to enter an aterisk as the multiplication operator sign
Ask HN: Inventors on the same level as Nikola Tesla or above him?
I personally feel that Nikola Tesla is a rare breed among inventors and I am inclined to believe there are only few who were on his level or above him in inventiveness.Till now I haven't come across anyone who has impressed me like Tesla.
I would like to ask the knowledgeable folks here at HN as to who are those other unknown inventors who were at the level above or equal to Nikola Tesla.Please share as much information about them.It will be quite helpful to me and lot others on this forum.
Thanks in advance.
And those that are "clinically insane axe murderers" should be a in a secure hospital, not a prison.
I can guess what you mean by "anti-women" -- though I remember there were also female heroines in the stories -- but what evidence do you have that they deliberately placed an anti-women slant in the stories (a slant which I assume you'll argue wasn't originally in these folk tales?).

I think folk tales reflect the prejudices of the time. So yes, often ugliness meant evil, and old ladies were witches, and young women would be expected to be virtuous and fair-looking. But sometimes being kind to the old lady in the woods was the right thing to do, and sometimes fair-looking young women were spoiled and selfish.
That's been kinda pre-empted by HTTP2, with its TCP multiplexing and server pushing.
Maybe the child has simply played a doubling game before, along these lines, and memorized it:

What's 1 and 1? 2.

What's 2 and 2? 4.

What's 4 and 4? 8.

What s 8 and 8? 16.

What's 16 and 16? 32.

That's just five facts.

The game could occur socially between kids. It is natural to ask a question, then take the answer and "up the ante" by re-formulating the answer into a harder question, back into the other child's face!

Do you know 1 plus 1? Ha, two plus two? Oh yeah, how about four plus four, then?

The progression grows quickly, of course, and soon the interrogated subject breaks.

I get beaten at 65536.

Ah, if only "one twenty eight kay" were an accepted answer ... :)
Wow it's only a $9 device (see below)

Definitely trying this out.

I wonder what the power draw is?

Shame they didn't use microusb connector.

No idea about the trustworthiness of this seller but use the page for general info and lots of photos:

http://www.gearbest.com/memory-cards/pp_246125.html

update: only $9.13 with coupon code GBJANRT and use paypal checkout for safety

There is also a source on aliexpress that is $1 cheaper if you are buying bulk.

I wonder if openWRT gives it wifi-N ability, factory firmware only does wifi-G
MySQL in docker or native – performance benchmarks
I can see this from both POV...

Just reverse that situation and imagine that you are a member of a public establishment and that when certain people you particularly respect pass that public establishment does not follow its usual customs.
Unsplash Instant Chrome extension
You need to understand the context here.

Dansk Folkeparti (Danish Peoples Party) arose because of the established primarily left leaning political parties completely ignored and froze out the party to begin with.

The biggest political party, the Social Democrats (also likes to call itself the workers party) lost touch with it's voters when society in general went from production sectors to service sectors. A rising unrest about immigration manifested itself in a lot of voters who didn't benefit from the immigrants coming and taking jobs or just living of welfare that many danish voters felt they paid for (Denmark have extreme taxes)

And so while the political establishment tried to ignore them they slowly grew to become now the second biggest political party in Denmark. However now for other reasons than muslim immigration. The reason now is that DF is the only party that really takes the average joes concerns seriously no matter how primitive they might seem to many.

Today most parties are in line with DF as they have recognized that you can't just take in a lot of people and then expect them to become a natural part of society.

Denmark has one of the most honest debates about immigration and it speaks volume about the level of political corectness and control over the media in other countries that even though Denmark is one of the countries who take most immigrants and refugees, spend most money on immigration both domestically and internationally and has some of the most extensive rights for immigrants it still had to defend it's political line in the EU.

Denmark is fairly clear on what it's doing. There are many bad things I can say about my home country but I actually think that debate wise we have some of the most free and civilized debates especially considering the hot topics we often discuss.
I'd agree with you. I'm on the introvert side of the spectrum where dealing personally with people is tiring and nothing is more refreshing than some quiet alone time. Given insane levels of prison over crowding, I could see myself being "that guy" who gets all stressed out by the noise and crowding and intentionally gets caught stealing food in the cafeteria just to get a vacation in solitary so I can relax, chill, and get my head on straight.
Show HN: Visions – An Idea Log Based on Y Combinator
10 Must Have Tools for Fundraising
As in this article, there will be lots of whitewashing of the relationship between Minsky and Rosenblatt today, I'm afraid:

https://en.wikipedia.org/wiki/Perceptrons_(book)
Ask HN: What is required to emulate Cortana's commitments?
I remember being awed by reading Peter Norvig's spellchecker source code.

What are the basic algorithms (and possibly training data sets or other building blocks) needed to code a simple but useful equivalent of the new Cortana Commitments feature?
Sure but this is an exception. Compare that with the US where it's almost the rule these days.
How Elon Musk thrives with a 100 hour work week
> make it legal to rob people.

Civil forfeiture comes scarily close.
> The problem with these types of comparison is that you are comparing very different populations with very different cultures.

The comparison shows that it is possible to have low violent crime rates and low incarceration rates. After seeing that this is possible, I cannot understand why a country like the US would not go after these two goals. I am inclined to suspect that it has something to do with turning the prison system into a private business and the predominance of puritanism in American culture.

And let's not exaggerate the cultural differences between the US and Europe. We are talking about western democracies, stemming from the same intellectual source (the Enlightenment) and the same genetic source: the US was created by Europeans, and mostly consists to this day of people of European descent (yes, including "hispanics", as the name implies).

> the idea of banning guns to reduce the number of shootings in the US would be defeated by the example of Switzerland

The idea that banning guns is a requirement to have a peaceful society is effectively defeated by the Swiss example. It show that private gun ownership cannot be the ultimate cause of the problem.

By the way, the graph that is shown somewhere else, comparing incarceration and violent crime rates, shows no correlation between the two. A concept of "eras" has to be introduced to allow one to talk about these two metrics together.
I actually had a clerk at a local county court tell me they have to refuse checks if the number was less than 500 (and they already didn't take cards without a 5% fee). Thankfully, I had just ordered new checks and had number 501.
>I don't use for-loops, because a while-loop can do the same, and it's too hard for me to learn.

Pretty much. Older engineer. He remembers the transition from blackberry to Android and is not ready for another one. He almost advocates for the use of Vectors ...

Unfortunately he is also Lead Engineer, which makes matters complicated. Kotlin is far from the only subject where we butt heads. I also had to put his nose on all the leaks created by his atrocious 'architecture' in order to start working on a fix.

I don't think there is a good solution for that kind of problems other than throwing the towel and move to another company. I plan to emigrate anyway, so there is that.

There are true reasons to avoid Kotlin at the moment though :

-slower compilation (we have a huge codebase and dexing is already an issue).

-the whole team needs to move to it and since we are more than a dozen, it is a significant task.

-Kotlin does not support Android Lint, so common issues like using an API 21 method with minApiLvl = 17 can occur unnoticed.
Hacker Bits Feb Issue: The Finest Bits of Hacker News, in Print
I have noticed that Firefox on Android seems to keep up much better on bigger pages. I regularly browse SBNation sites and Chrome locks up to the point that I have to kill the entire browser. Firefox handles it much better, also in my anecdotal experience. That it allows you to install plug-ins like uBlock is simply a bonus.

That being said, the performance on OSX at my last check seemed to be inferior to Chrome unfortunately. The development tools are still inferior, too. I want to move away from Chrome on OSX but still can't justify it.
not everything has to be binary. In fact outside of math and deterministic CS, we hardly have the comfort of being clearly wrong or right. https://www.cs.rit.edu/~rlaz/prec20092/slides/BayesianDecisi...
Very cool idea! I wonder what the performance would be for a smallish "world" using this.
How is it political opportunism?
He can't run for another term. That makes no sense.

And I don't know where you have been, but the Republicans have repeatedly tried to destroy anything Obama proposed. I say this as a fiscally conservative person (i.e. i am with the republicans on the financial side but with the democrats on the values)
This is a good, important feature.

Do you know what the plans are for enabling this in all editions of Firefox?
> it seems that impressive products of Microsoft research look like proofs of concept rather then viable mass products.

Isn't that kind of the point of having a research division? Let the research people go crazy with new ideas, then sift through them and figure out what to make of that, product-wise?

It's not like MS Research hasn't delivered some cool stuff, but Microsoft was either not capable or not interested in turning that stuff into products. At least that is the impression I get.
There are four other essays in this series.

Effects Of Grade-Based Segregation
http://web.media.mit.edu/~minsky/OLPC-2.html

Role Models, Mentors, and Imprimers and Thinking
http://web.media.mit.edu/~minsky/OLPC-3.html

Questioning “General” Education
http://web.media.mit.edu/~minsky/OLPC-4.html

Education and Psychology
http://web.media.mit.edu/~minsky/OLPC-5.html
i would be interested why they decided against falcor style json graph instead of graphQL
I'd like a device like this to create a moon base
the only aweful thing is deploying to the central repository
Thank you for the link - the study is very interesting to read. I have been bumbling around for a while trying to see what fits for me and there have been counter-intuitive things that seem to work. This study makes me think of that. Part of diet is finding what works to keep things in balance, cravings and spikes might indicate the diet is not working.

As an example - initially starting dieting, I stayed away from fruit as a vehicle of carbs. Over the past two weeks I have allowed myself bananas, apples, melon and berries as breakfast and afternoon snack. This appears to not 'spike' me as I would have thought but gives me stability.

Night snacking is a killer for me and I have been able to get by with a cup of tea around 2200 with a single biscuit.

Its just been 2 weeks but these two little cheats actually seem to give the diet some stability - for now anyway.

This study is really useful for me.
Show HN: My todo app with encouragement and statistics to increase motivation
Would love to get some feedback on my app. It's free for the next day.

https://itunes.apple.com/us/app/victories/id888306128?ls=1&mt=8
AngularJS Directive Attribute Binding Explanation
Much of development and the stack has become better. I still remember writing code in Pascal when I'd been much younger when my program would randomly stop working. Eventually I would insert an empty line between two lines of code and suddenly it'd work again.

A lot of work has been put into tools and our general ability to write better code (although whether we do so or not is a different issue).
Hacking the coffee machine
The article identifies the problem, but the conclusion appears to be that we should win the race to the bottom by going straight down. If the USA adopts Ireland's tax code, what happens when another country goes even lower?
You are presumably willing to trust the first-party website for content and it is not a big stretch to trust the third-party content they chose to include as well. Not much difference between trusting them to serve jQuery themselves (which they must source from a third-party initially) or link to it directly at the third-party site, for example.
Why introverted may be more likely to burn out
How to Steal the Best SEO Tricks from TOP 5 Online Marketing Experts
Beards good for your health?
Startups Aim to Get a Piece of the Driverless Car
HN is mostly young people who only associate with young people; if you can get past whatever vestigial respect for elders remains as a cultural value, most people will agree that old people are a pretty good source of ugly. Especially pre-modern medicine, ravages of outdoor labor and warfare... We arguably do live in a world where all 20 year old women are beautiful, and the 90 year old women are somewhat less so.
Giulianis success in NYC was consistent enforcement, not harsher sentences.
Private prisons and the incentive to keep them full does not help.
http://www.globalresearch.ca/the-prison-industry-in-the-unit...

https://www.aclu.org/issues/mass-incarceration/privatization...

http://www.salon.com/2013/09/23/6_shocking_revelations_about...
The old plan was to enable it in Fx 44 (the one that was just released). But a couple of bugs caused a delay and it was pushed back. It was just enabled in nightly/dev builds [0], so Fx 46 will probably have it.

[0]: https://bugzilla.mozilla.org/show_bug.cgi?id=1221206#c10
> the preceding bar is clearly orange.

With a hue of 7˚[0] the middle color is in the middle of the red range[1], it's on the pink side of scarlet (8.5˚, 100%, 100%).

The rightmost bar has a hue of 47˚[2] making it an orange-yellow[3], calling it an orange (if a light one) is not insane.

[0] http://www.color-hex.com/color/f12910

[1] http://www.workwithcolor.com/red-color-hue-range-01.htm

[2] http://www.color-hex.com/color/fbcc1a

[3] http://www.workwithcolor.com/orange-yellow-color-hue-range-0...
Winston Churchill’s lost card game now on iOS thanks to Donald Rumsfeld
It's very good indeed, it was particularly tailored to privileged young people but it can apply to anyone really.
The real question though is whether this affects their memory, reflexes and immune system. Former is reasonably simple to test, latter requires a longer study.
The problem is placebo control, which of impossible, and required monitoring to detect microsleeps and oversleeping.

You would need a control group, group with day, forced 8h sleep both biphasic and monophasic, and a group on this fancy multiphasic schedule.

Expensive to run.
Check out Zwift. Not "VR", but the gamified/MMO elements make it really motivating. Not much can get me up at 6am anymore, but when I'm supposed to meet my friend for a virtual ride, I can usually haul my ass out of bed and hop on the bike.
Maybe I'm unclear on some of the details here, but here goes

https://docs.oracle.com/javase/specs/jls/se8/html/jls-12.htm...

"Whenever a new class instance is created, memory space is allocated for it with room for all the instance variables declared in the class type and all the instance variables declared in each superclass of the class type, including all the instance variables that may be hidden (§8.3)."

Doesn't seem to allow for escape analysis eliminating the object. Plus escape analysis wouldn't really save you. These are class instances, you pretty much have to declare them before the scope you use them in, if you're using them in the condition of a while loop (which would be the way to use them).

I seem to have this experience in practice. If you have a value type and loop over it, creating a "dummy" instance of it outside of the loop, then erase and reset it's inner state on every loop iteration is far faster than creating an instance inside the loop. So I don't think escape analysis optimizes this case.
If/when it happens, you'd politely discuss it with the caretaker and others in the establishment (just like what happens here when someone says "hey can we have the black bar?"), and you'd then respect the consensus outcome. And if the caretaker and the other members rebuked such a request that was important to you, it would be fair enough to express your feelings then and there, and discuss it to the point of resolution.

That isn't what's happened here.

Seriously, civil behaviour around a bereavement is just not that hard.

Respectfully, I won't be commenting further on this thread.
The idea with using $GOPATH is due to go having its own packaging tool; in other systems, you often see something similar (Maven for Java is probably the largest one), i.e. a directory structure somewhere. The $GOPATH makes it a lot easier to contribute on other packages though, you can just jump in there because it's right next to your own project/packages.
"Most errors are picked up by the type checker immediately at the start of the build, rather than by the unit-tests at the end. That saves a lot of time."

Better tooling would help so that you'd get the error checking as you type. Are there any good configurations for vim or Emacs, for example?
why? I have used sonatype and it's pretty much log in, promote to production.
It amazes me that a professional PR company (obviously this was not written by Rumsfeld himself) approved the idea of posting on Medium where there is no full control of comments.
Who will these companies hire when they move to Ireland? There was a mass emigration last year where, at its peak, 10,000 people were leaving per week. It sucks living in a country that is rainy and overcast most of the year, how can you convince someone from a sunny and warm state to move there?

I just feel like something is missing when I hear things like "X company is moving 500 jobs to Ireland". Where the hell are they finding these people? They country has a population of 6.3mil!
> No, that's now how the system works in the US. He has nothing left to run for; he's term limited and leaving the highest office in the country.

Outgoing Presidents still work towards the future electability of other members of their party over the alternatives - in Obama's case, Clinton or Sanders over the Republicans. That's part of the opportunism, along with, yes, saving the more controversial unilateral actions for when they no longer need to worry about their own re-election or cooperation from Congress.
That's not really an inference you can make. In this case, that's happened – but there are plenty of recent, popular technologies that are also patented. Look at any modern smartphone, for example!
Yeah, when I watch it, I usually stop around the time of the quiddich game. It's easy to forget how long that movie is, but it's REALLY funny.
Neither do I and I care about encryption.

What I wanted to tell is that even after explaining, the person in question just wanted "that green lock with company name". That's it.
C++/C#: Integrate Sentiment Analysis Feature in Minutes
ats , hmmm
never heard of it, seems to have done really well, whats the catch?
Verified. Chapter 6, page 117 in my paperback edition.
Yes, you can have a look at merlin: https://github.com/the-lambda-church/merlin
LXD and Ansible for staging and development
Why do you say it makes you "powerless"? If you can buy goods with it, that's power.
You're hiring 20 year olds who don't know what Microsoft Office is?
Ah Deluxe Paint, still the pixel art app that I judge all others by.
Adobe Portfolio – Build your own personalized website
Can someone explain how these "Zero Knowledge Proofs" are "untraceable"?
Home/End: ⌘+Arrows

Page: Fn+Arrows

Delete: Fn+Backspace

The other reasons would be mostly OS X's arguably smoother and overall consistent GUI and its extensibility (through Automator, scripts, globally modifiable shortcuts and the like) and its Unix'ity.
People should know about adb and dig into android 'shell' and tools. You can trim things a lot and make a focused 'distribution'. That requires root though.

ps: almost unrelated but you can also drive the UI through input events like swipe and drag. I had fun caressing my old HP TouchPad through emacs.
My Dell laptop has "MAXXAUDIO PRO", which does a bunch of heavy-handed stuff to make audio sound "better." I finally found the program when I was trying to figure out why my audio levels seemed to change.. My music would get louder over time, and if I moved the volume one increment up or down, it would drop back to the normal level. Turning off the sound-mangler solved that issue and allowed my music to sound the way it's supposed to.

It really frustrates me when manufacturers include crap like that.
Create System Restore Point in Windows 10
This is how East-Berlin’s district Prenzlauer Berg looked like in the 80s
Microsoft and the NSA
Ireland is in the EU, so people from all over the EU can move there to work. For the recently joined countries in eastern Europe it's caused a dramatic brain drain.
What does scale have to do with front-end development? Front-end code runs on the user's machine. And regardless, it's folly to make decisions based on wanting your code to scale to Facebook level usage.
You can get turntable riser rings that will enable this quite easily. You could even potentially modify the riser ring instead of adding more wires to the bike for more linear input(one axis instead of three).