skysight-inc/HackerNews huggingface dataset:
As a Millennial with a 2200 sqft house, a job and no student loans I don't feel the same way.

But I guess in some way I was lucky (no student loans because I studied in an international school, which was much cheaper). And housing because I moved to a cheap area and telecommute to a company in Silicon Valley.
Great ! I was just starting today to think about how something like that could be done in golang.

I think a full example should involve the client part as well ( in order to remain typed along the chain, and have the json format describing the task an implementation detail).

Edit : i didn't read properly, the readme also describes how a task is created. I didn't expect it to use a low level format though. Why not relying directly on the type of the task ( "AddTask") rather than asking for a "add" string parameter ?
Robot Stitches a Grape Back Together
I agree. JS is beautiful in the parts where it encourages functional, not object, programming. That link puts it nicely: "You're working in the phony version of JavaScript that only exists to dress the language up like Java." In the Mozilla article, I can hardly believe I'm reading discredited perennials like "OOP promotes greater flexibility and maintainability in programming ... Because OOP strongly emphasizes modularity, object-oriented code is simpler to develop and easier to understand later on." That was the promise, in 1985. The reality is, OOP has created a snarl of programs where mutable state is the defining characteristic, justified by a consulting industry that is more promotion than real, grounded theory. They live on.
Probably due to HTTPS Everywhere. Try disabling the rule for Fonts.net.
My favorite resource is a long but clear blog post. http://wildlyinaccurate.com/a-hackers-guide-to-git/

Alternatively, you could attend Recurse Center and sit through one of Mary's excellent git workshops. :)
This might be useful for someone who is managing a personal project on Github.

Add a couple of additional developers with 600 words of git understanding would result in chaos.
HTTPS uses a new key for every session.
Thanks for the example. Just to clarify, it appears that you used syncify.revert(getCallbackText) to to create a callback from a synchronous function in order to log the final result.

So it looks like Syncify.js evaluates the parent getCallbackText() function each time that one of its child callbackTest("Alice") or callbackTest("Bob") functions fire. Conceptually it replaces instantiations of callbackTest() with their return values. So on the final pass there are no more child functions to evaluate and it can return the final value.

If this all sounds correct (and please correct me if I'm wrong) then the tradeoff is some re-run overhead in order to skip having to deal with promises or yield/generators.
There's another TI processor that never really took off despite its usage in arcade consoles at the time. The TMS340 http://en.m.wikipedia.org/wiki/TMS34010) series. 32bit in 1987. I assume it was just out of the price range of 8bit and 16bit machines. It was used in Mortal Kombat and NBA Jam games I believe.
> try UK, which is pretty keen on immigrants

Not sure why you believe this. The UK is very unfriendly towards immigrants since the new government formed in 2010 and abolished the tier 1 highly skilled migrant visa.

This means there's no longer a route for highly skilled non-EEA migrants to work for themselves unless they are considerably well off (1m GBP+) and want to play entrepreneur, or they're already the top of their game and qualify for an 'exceptional talent' visa (which is almost nobody).

If you want to work in the UK as a non-EEA person you have to go the tier 2 route and find a sponsor for 5 years. For those 5 years you will NOT be allowed to start your own business on the side. It's debatable if you can even do freelance work on the side. Your sponsor may take advantage of the fact that switching jobs is very difficult and expensive for you.

After 5 years, you can apply for ILR and work for yourself, although there's no guarantee you will get it even if you follow all the rules because the rules can change [1] in those 5 years as the UK grows more anti-immigrant!

I really don't understand what kind of talent they expect to attract -- the idea of having my hands tied behind my back for 5 years at the peak of my life is an absolute deal breaker for me. They might attract very young people, but for highly-skilled people in their late 20s and older the UK is simply not a very appealing option anymore. Furthermore, if you had 1m GBP lying around you'd be better off buying e.g. Maltese citizenship and having access to the whole of the EU instantly.

Australia is one of a handful of countries that still has sensible highly-skilled migrant policies, but anti-immigration sentiment is rising there too.

[1] http://www.timeshighereducation.co.uk/news/visa-refusal-for-...
Here is how contracts in Clojure would be implemented with the Schema lib: http://www.ustream.tv/recorded/61488888
The Killing of Osama Bin Laden
There's also RoboVM for compiling to native binaries.
My Mom, the Homeless Man, the Prostitute, and the Jamaican with 8 Fingers
Somalia and Nigeria in particular can be challenging for Americans to get money to IIRC, but this is a problem that bitcoin may actually solve pretty well.
`go get` seems to be increasingly considered harmful -- for example, by its poor dependency versioning practices which promotes non-reproducible builds. See Dave Cheney's `gb` project for an alternative. [1]

As a fellow gopher, I've decided to consider support for `go get` a non-goal in my projects for similar reasons.

[1] https://walledcity.com/supermighty/building-go-projects-with...
As a point of comparison, you can get a Lumia 520 for less. It's a really decent smartphone too from a good brand. It will be interesting to see if Mozilla can yield the combination of quality/value to succeed.
So the whole point of what I was getting at is that it's a halfway point between super low-tech "ssh -t host top" and full-blown metrics reporting, the kind of thing where you want to check on some things across a bunch of hosts in a one-off way,

1) when you don't have something like opsdash or datadog already set up

or

2) when you don't want to bother creating some new metrics just for this one-off thing that will live forever in your auto-complete list of metrics

Having e.g. datadog set up is strategic: knowing what is going on in your fleet over time (over long periods of time) is very useful (for noticing performance regressions, finding out cyclic traffic patterns, the list goes on). Something like what I'm describing would be tactical rather than strategic. It's bubbling up to the top of my "when I have some spare time" side projects list, just because I want to explore whether it would be useful.
Made it about 1/3 way through. Didn't hear anything new beyond the original hypothesis.
Is this an example of Poe's law? How can you know the information is harmful to you if you don't click on it? Rules, if they exist, preventing government employees from reading leaked documents are the actual harm. Such rules are vaguely reminiscent of the tactics used by cults to keep their members in the dark.
Goroutine Tracing in 1.5
Show HN: Transfer data over sound
We had QQ originally, but removed it because it wasn't extensible (you can define new expressions in the type-level DSL, but you couldn't add them to the QQ). We've figured out how to do that now, and there's an issue someone opened asking for it back (https://github.com/haskell-servant/servant/issues/55), so it'll probably soon return.

You do get kind of used to it, though, for what it's worth. And you can always break things up. E.g.:

type MyAPI = "users" :> Get '[JSON] User
:<|> "users" :> ReqBody '[JSON] User :> Post '[] ()

Can generally be rewritten as:

type GetUser = Get '[JSON] User
type PostUer = ReqBody '[JSON] User :> Post '[] ()
type MyAPI = "user" :> (GetUser :<|> PostUser)

etc.
Show HN: Summarise – A personal, talking wake-up alarm for iOS
I think a more useful setting would be clipping the beginning and end of an mp3 since in a number of instances the videos for the songs on youtube have intro scenes and whatnot before the song.

Does this use youtube-dl on the backend in some form? Any plans to release the code?
HTTPS would help if you went on to browse other areas of the site.
SourceTree (by BitBucket) has a decent GUI Git client.

The official github client is trash. The last time I used it was a year ago, so it might have improved since then.
Human controlled robot arms:

https://news.ycombinator.com/item?id=9519316

https://news.ycombinator.com/item?id=9517813

It's an ad for da Vinci surgery.
I just had my first exposure to Typescript recently, and the only part I liked was the fact that it allowed me to mix in plain old, untyped js syntax. TS, used as TS, feels verbose, like java, with lots of extra keyboard-typing to create a simple program.
If I offered to buy you any car you wanted regardless of price

Except that's not what Medicare does. You may not have an incentive to get the cheapest treatment, but the people running Medicare do have an incentive to keep costs down, and the power of law to do so.
Certainly you've heard a government official frame an issue he didn't like as "bad for the economy"? In the US, it's basically the first page in the playbook for both sides of the aisle because very few issues are as sacred as a healthy economy. But if hurting the economy just means bringing down the GDP, then there are countless reasons why the underlying issue might still be beneficial to the welfare of its citizens.

Want to boost your country's GDP? Here's some tips. Become terminally ill. Get involved in a costly divorce. Try gambling or drinking habitually. Take a job where you commute long hours wasting gas in traffic. Hell, open a strip mine - every resource extracted is a net positive on the national ledger. Bonus points if you can coerce your fellow citizens into compulsory spending - a nasty coal plant triggering asthma in the local population is a great example.

Even worse, a focus on GDP directly contributes to income inequality because as a measure it is blind to the distribution. If the top 1% gain more than every one else loses in a year, GDP still rises. For this reason Rowe calls GDP a "statistical laundry operation that hides the suffering at the bottom".

Measuring and tracking GDP is a splendid idea, but using it as even a proxy for national welfare is insanity. I encourage anyone interested to read the linked article, which is as true today as when Rowe testified before the US senate 8 years ago. Also at the end he takes a first pass at laying out principles around new metrics to fix the situation.
In the early days of Java, people did say "written in Java" and pure Java libraries were a thing since they're easier to ship as part of a Java app than wrappers of native libraries.

Java has never been very good for command-line tools, though, due to startup time.
Given that we're fine with castrating and killing cattle, I don't think that branding is that big a deal. And, of course, it has the benefit, as mentioned in the article, of being visible at a great distance, as opposed to requiring a handheld scanner and close contact.
Just remember every day that 1.01^365 ~ 14 and 0.99^365 ~ 0.07. You will be surprised how far you can go, just by doing the thing and improving by a small margin everyday.
That is the oddest preemptive prescription I've heard of in a long time. "You might feel anxiety - so take Paxil" which (a) is typically recommended for social anxiety and panic disorders and (b) it can take upwards of 4-6 weeks before it becomes effective. I'm also quite sure that the antibiotic will have run its course in far less time. But aside from that, who the hell prescribes an SSRI purely for "possible" anxiety? Yes there are SSNRI, like Effexor and Cymbalta, that address chronic generalized anxiety and panic disorders. But again, we're talking about a long time before there's any measure of efficacy. The correct answer would have been to give you a few tabs of Atavan, Xanax, or Klonopin for the duration of the infection and then only after you experienced any anxiety. Mind boggling
the agentless/agentful security question is an important one. I mean, all existing snmpd implementations suck, right? but the idea is that if you run snmpd (or another agent) on your monitored servers, if an attacker takes over your monitoring server, they still have to find an exploit in snmpd or whatever agent you use; whereas in an agentless setup like this, if your attacker gains access to your monitoring server, said attacker has a (hopefully non-root) shell on all the monitored boxes.

On the other hand, installing this agentless setup is going to be dramatically easier, and this is way less likely to accidentally blow up the box being monitored, say, than snmpd.

(clearly, with snmpd and other agents, you want to make it so that only the monitoring server can see those services, either through tunnels or what have your. Leaving a snmpd port open to the general internet is crazy.)
That's not always true. A lot of the time, things are marked as classified because they were tangentially related to something else that was classified. It's just easier to do things that way, and people who work for the government really prefer to do things the easy way. I knew a guy who interned at the NSA and he said that really inane stuff (like the internal numbering systems they used to organize stuff) is considered classified as TS.
"Cyberwarfare" cannot be analogized to traditional war. There is no analog to mutually assured destruction. There are no open battlefields; every system attacked has a private or government owner. Every dollar spent on attacks instead of patching vulnerabilities leaves everyone else vulnerable to those attacks.

Instead of analogies and aphorisms, let's talk about actual consequences to actual tactics.
given that you teach it in-person, I feel that if you were to take the time to write an essay you would automatically bring up the hurdles and a lot of people would find it useful. why not go ahead! You can summarize/start here if you want, we'll give you feedback :)
What standard are you training them to meet? In this thread we are already struggling with "innocent until proven guilty." I don't think the problem is that juries are too stupid.
I remember those (coincidentally 68020/2) back when I was working at Eicon's graphics group (now Eicon Networks). Ended up just using M68Ks with blitters for PostScript and HP PCL interpreters. In the end the HP version even lost the blitter chip and I had to write bitblt.s
You're vastly overstating what you consider the "reality" of object oriented programming. Systems designed to be OO from the beginning are clearly massively successful at producing incredibly complicated software. The paradigm has not been discredited despite your assertion or your personal idea of beauty.
Stubbing with SinonJs
Git in six words: content addressable filesystem with linked revisions.
Yep, I'm Matthieu! You can send me an email at matthieu.wipliez at synflow.com
Norwegian citizens now required by law to give their fingerprint to the police
They could theoretically leave, but if they have serious unresolved disputes with their host country, it could very well prevent them from leaving by using force. What then?
Over work is hard on our bodies. In Chinese medicine it can cause the body to be too yang (or tight).
'carbocation is in fact a doctor.
How so? Why? I'm definitely interested in the numbers and reasons behind that.
The whole idea of jury is that the society, and not some "experts" judge a case.
The TPP is not merely a free trade deal. It is a trade deal made exclusively to isolate China, and then allow it to participate in a few years only if it (China) follows certain rules (i.e. Western Intellectual Property law).
There are two major problems with this article.

First, the example of rape that it begins with is not just a rape, but an attempted murder (she survived only by sheer luck). Therefore, using it as an example of police and/or society not caring enough about rape, is simply wrong. One could equally argue that that particular anecdote shows that police and/or society don't care enough about murder, or the combination of rape and murder.

Second, the example is of a complete stranger attacking out of the blue. We know those are very rare; most rapes happen between people that know each other. To use an example of the rare kind is disingenuous. Especially when that fact is very pertinent: many rape kits are not tested because their contents are not interesting, as both prosecution and defense agree sex took place - the two people may have been in a relationship - but disagree on consent. It is in some cases rational to not spend the police's limited funds on a test whose result is already known.

With that said, there is a valid point: There are likely police that don't care enough about crime, especially in poor areas. And DNA testing is straightforward - raise enough money, force police to test them, and you might catch some criminals. It is important to do that. But the article argues the point in a poor and misleading manner.
> Build times, especially once the whole constellation of Yesod and Persistent packages are brought into the mix, are not insignificant. It still takes a good 5-10 min to build our larger web application on our beefiest machines. There are optimizations that can be made in this space which we haven't adopted yet, such as caching already build object files to avoid having to re-compile them every time, so I'm confident this will be a non-issue in the nearby future, but it's still worth being aware of. GHC works hard, you need to provide it with enough juice or time to let it do its job.

You hint at the solution to this problem when you mention caching, but I would encourage you to look into the Nix package manager. It's platform and language independent, and is excellent at dramatically speeding up builds by only building anything once. It's gaining popularity in the Haskell community.
you probably read a git tutorial.
Is ActiveX proprietary? Is it something that other browsers could not support? Would the maker of this technology put effort in preventing other implementations?

Is Silverlight proprietary? Is it something that other browsers could not support? Would the maker of this technology put effort in preventing other implementations?
I'm sure it depends on your programming style, but my experience is that you can almost always ignore laziness and focus on getting your work done.
Blueseed[1] made a lot of noise about mooring a ship off shore of Half Moon Bay, near Silicon Valley, to house developers who couldn't get US visas. They had even fancier off-shore development pictures for later phases. They had the idea that developers could live on the ship and freely visit Silicon Valley. It was mostly a tax dodge.

They discovered that 1) the county-owned small boat harbor at Half Moon Bay wasn't going to support them by building the on-shore facilities they needed for ferries, 2) Half Moon Bay isn't a US port of entry; anyone coming in from the boat would have to go through San Francisco, and 3) if people are going to work remotely, who needs a boat?

[1] https://en.wikipedia.org/wiki/Blueseed
Isn't Python installed by default on most distros?
The Stupid Shit No One Needs and Terrible Ideas Hackathon
>i would flag this comment as egregious, but i don't have enough karma.

For censorship? Because as we all know society gets better when questions are stomped.

The parent is making a legitimate question -- and does not seem to be "trolling".

Aren't hackers supposed to be open minded people that believe that nothing should be taboo and everything should be open to rational examination?

That doesn't mean that everything should be advocated etc -- but this is an open discussion.

A similar attitude (flagging a comment as "eggregious") is not that far from the spanish inquisition.
Here’s One Thing All the Billion-Dollar Unicorns Have in Common
> How can you know the information is harmful to you if you don't click on it?

It's not your job to determine if it's harmful to you; it's not your job to determine if it's harmful to national security. That's someone else's job, he did it, and now others have ignored that determination and have released it anyway.

> Rules, if they exist, preventing government employees from reading leaked documents are the actual harm.

Do you deny the legitimacy of state secrets altogether? When you go into a salary negotiation, do you say, 'I'd be willing to make as little as $X'?

If you accept that it's possible for secrets to be legitimate, then you have to accept that there will be secrets you will not be able to personally examine for their legitimacy (because revealing them to you would make them…no longer secret).

Likewise, it's not appropriate for someone in a position of great trust to betray that trust and decide for himself to leak something. One does not put the security of 350 million souls at risk due to the determination of a single man.

Instead, there are procedures in place for those with access to secrets to challenge their classification; there are people whose job ratings improve if they are able to sustain such challenges. The right thing to do, if someone believes something is misclassified, is to follow those procedures and shepherd that case through that system of people.

To do otherwise would be like having a single man with his finger on a nuclear weapon. Sure, he might only unleash it appropriately, but he might not. We have a system for the release of weapons; we have systems in place for the release of information.
Every country (that can) engages in both intelligence and counterintelligence. It's not as if they're spouting a general moral principle, "spying is wrong," just "spying on us is wrong." It's a competition; everyone wants to "win." Hypocrisy doesn't really enter into it.
I definitely agree with this. Despite all of the US hatred, I would say that overall America does pursue these goals relative to China. Imagine if the things that the Chinese government happened in America. It would be surreal.

A great firewall of America?

Bribery as fairly standard practice in business.

Pushing away other countries from your economy.
People should do what is right whether it is legal or not. No one here said whether he was breaking the law. If he's gonna participate here then he should live up to the moral standard of HN. Not the laws of some country.
I'd be surprised if any of it is still used in 100 years except for the odd elective course on the history of programming languages and hardware.

The Iliad and the Odyssey survived because for most of the intervening centuries educated people (i) revered the relative sophistication of the Classical civilisations and (ii) relatively little else considered of value was written for most of the intervening years. It would be quite sad if people of the next few millennia feel the same way about the output of the early 21st century Anglosphere, particularly if its unsurpassed technical achievements rather than cultural output that's the object of their reverence.
Then it would be mostly the sexual taboo (shame etc) having an effect, than some actual tangible difference in the attack.

There's also the fact that not many men would consider a sexual attack from a beautiful woman particularly traumatic (if at all) -- whereas they would very much consider a male raping them.
Software vulnerabilities are now the most important vector for signals intelligence, so really the argument here is whether there's a purpose to conducting signals intelligence, and whether it outweighs the harm done by postponing fixes for bugs that NSA could otherwise report.
Discount seeking prospects and Vampire customers
Yes, but that is not the definition people actually use.