skysight-inc/HackerNews huggingface dataset:
FWIW, __int128 and the optimizations mentioned works in clang too, my guess is that the author just runs an old version.

#include <stdio.h>

int main() {
FILE *fp;
__int128 v=1234;

fp = fopen("foo12", "w");
fwrite(&v, sizeof(v), 1, fp);
fclose(fp);

return 0;
}

with -O2 -march=native -ffinite-math-only -fno-math-errno, for clang 3.5.0, linux/amd64, gives me:

4005d0:	53	push %rbx
4005d1:	48 83 ec 10	sub $0x10,%rsp
4005d5:	48 c7 44 24 08 00 00	movq $0x0,0x8(%rsp)
4005dc:	00 00
4005de:	48 c7 04 24 d2 04 00	movq $0x4d2,(%rsp)
4005e5:	00
4005e6:	bf b0 06 40 00	mov $0x4006b0,%edi
4005eb:	be b6 06 40 00	mov $0x4006b6,%esi
4005f0:	e8 bb fe ff ff	callq 4004b0 <fopen@plt>
4005f5:	48 89 c3	mov %rax,%rbx
4005f8:	48 8d 3c 24	lea (%rsp),%rdi
4005fc:	be 10 00 00 00	mov $0x10,%esi
400601:	ba 01 00 00 00	mov $0x1,%edx
400606:	48 89 d9	mov %rbx,%rcx
400609:	e8 b2 fe ff ff	callq 4004c0 <fwrite@plt>
40060e:	48 89 df	mov %rbx,%rdi
400611:	e8 6a fe ff ff	callq 400480 <fclose@plt>
400616:	31 c0	xor %eax,%eax
400618:	48 83 c4 10	add $0x10,%rsp
40061c:	5b	pop %rbx
40061d:	c3	retq
40061e:	66 90	xchg %ax,%ax
Screw Those $300 Standing Desks. This Cardboard One Is $25
PewDiePie Now Has His Own YouTube Network Within Maker Studios
This page should work with an adblocker turned on. Fail.
> It requires human intervention to access the cold wallet (to replenish the internet-facing "hot" wallet), but that is what you want!

Am I the only one who finds it a bit amusing that an e-currency bank needs people to physically move the bullion from one vault to the other?
"Amortised complexity", a concept so esoteric that is used in the documentation of basic Java data structures: https://docs.oracle.com/javase/8/docs/api/java/util/ArrayLis...

"The add operation runs in amortized constant time, that is, adding n elements requires O(n) time."
I read through the page but could not figure out what it does. Mind telling us?
Hiring non-technical people into technical roles is OK if you also have some senior tech people to guide them.

You wouldn't want to have the inexperienced non-tech people making critical engineering decisions. Software development is like building a house of cards - If you want to build a tall structure, you have to start with a solid base.
> NFSv4 did NOT predate either the VAX filesystem or AFS.

Sorry you are right. I was trying to say that they from filesystems architectures that predated AFS, but that's really not the same thing. That sad, their approach was different from AFS (in some ways for better, though mostly worse).

> Maybe it's better now, but given that everybody still seems to use Samba (or sneakernet) for file sharing, I'm wouldn't bet on it.

Methinks you have a curious definition of "everybody". ;-)

Honestly, I wasn't trying to hold up NFS or CIFS as anything resembling great solutions. Honestly, I love AFS. However, like all filesystems, it is rife with design trade offs. For example for the use cases that are intended to be addressed by the parallel file systems, as mentioned in the original article, it isn't a very good choice.
I can relate to the experience of finding everything is totally different now to how it was before you took a break. I was a self-taught developer who then took a lengthy gap to do a PhD and postdoc. That ran into a dead end, and after much reflection, I decided I wanted to get back into coding. My blog has several posts about this thought process which may or may not be helpful. To cut a long story short, I did two online boot camps (one on Ruby on Rails, one on Swift iOS). The experience of coding with an experienced mentor that I could bounce questions off was really helpful, and I soon got that buzz for coding back. I'm now into my second coding job (as an image data scientist for a London fashion tech startup) and I'm loving it.

Please feel free to reach out if you think any of my experience could be relevant and you'd like to chat further.
Should have more infos about the people behind it then just "We are a couple of enthusiasts".
China buys first U.S. crude since end of export ban
What leads to success at math contests?
There doesn't seem any comment that considers the pro, so I'll try to raise two points:

* It is possible to ensure that encryption will physically destroy the phone. Preferably it destroys the antenna, the screen, the battery, etc. In that case the law must be pretty sure, you're the bad guy and the use of it as a backdoor becomes limited to people that value your data above the value of your phone.

* If manufacturers have to open up parts of the phone to certain parties, there is a possibility that they have to open up these parts to the consumer as well. It might have on the long term a positive effect on the ability to root your own phone. If the government might own my phone, perhaps I might myself own my phone as well.

Just my two cents!
There's...

Stanford: money (VCs/angels), talent, founders and customers, all within a very comfortable radius (complete ecosystem). Google, Snapchat, PayPal, Netflix, ... And, strong alumni networking.

and

Harvard: has talent, founders and some customers, but money often require more travel (currently incomplete ecosystem, read: time and money sinks). Strong alumni networking too.

and

IIT system: not bad either.
Not exactly HN material, but I found the strategies and ideas discussed in the post/comments are insightful and universally applicable.
I'm one of the lead developers of Onyx, if anyone has any questions they'd like answered.
The Canadian Dollar lost about 5% over the last weeks. That's about as much as BTC wins or loses on a single lucky or bad ay.
Turning a Webcam into a Backdoor
I am interested in your comment about search changing drastically. How do you feel search is changing and how do you see that affecting Google and other large players?
Bitcoin people aren't investors, they're speculators. Big difference.

Bitcoin resembles tulipmania much more than investing. At least I can pay my taxes with the fiat currency that is the US dollar. The only thing I can do with Bitcoin is pass it on to a greater fool or to someone who will use it as an intermediate "currency" which he will immediately convert to something more tangible.

Bitcoin is very useful as a short term medium of exchange. It's not an investment and it's not a store of value.
NetLogo is a really easy and fun way to play with ABMs. Once you produce data from your ABM simulation, load it into Jupyter (previously, IPython) or R Studio and explore the data.
As the sub-poster mentioned, shadow socks is designed to counter it.

What is interesting is that the author (mainland Chinese) had a 'visit' from the 'police', who 'asked' him to abandon the project. He changed the default branch of his GH project to an empty branch, but the code still remains.

Further, although his code is known, the GFW doesn't block its techniques.
There are non-Adobe Flash players. The format is well understood. Some commercial video games use Flash for the non-3D GUI. They don't use Adobe's player, but they use Adobe's authoring tools, which are graphics-artist friendly.

[1] http://lightspark.github.io/
[2] https://en.wikipedia.org/wiki/Gnash
> There are other reasons why progressive policies took hold, as in, basic awareness of alternatives to social inequality due to a decrease of it in general.

You cannot be serious. Progressive policies did not emerge in late-19th-century America, much less take hold, because there was a decrease in social inequality in general. This is the exact opposite of what the historical record shows us. Progressive policies emerged out of an increasingly wider recognition of social, political, and economic inequalities nationwide in the latter 19th century. This is what prompted farmers to band together with the labor movement to fight the railroads and banks, movements that were inherently critical of capitalism itself, and not just inequality of condition or remuneration. It wasn't a decrease in social inequality that fueled the drive for expanding suffrage. I simply cannot understand how one can hand-wave progressive achievements away when each of them were, sometimes violently, fought for and only secured after years, sometimes decades, of effort. America has been very reliable in making people work very hard to gain equality.

> It's not like a plutocratic equivalent of "robber barons" did not exist prior, they were just aristocrats, and so their theft of capital from the lower classes was accepted as a social norm, a part of the "social contract", if you will.

I'm beginning to wonder if you've studied much history at all. In what periods of modern history have aristocrats and "their theft of capital from the lower classes" been "accepted as a social norm, a part of the 'social contract'..."? Definitely not much since the 17th century in many Western nations. And always shakily before then, requiring either a balancing act on behalf of the aristocrats, or blatant displays and threats of force to protect it. Even when it wasn't subject to outright rebellion against its existence, it has always been a problem, and never been simply accepted.

> If you look at economic indicators, you will find the numbers do not support your assertions. The best compiled data on this can be found in Schumpeter's "Capitalism, Socialism, and Democracy" - income inequality in the US was relatively static if not improving over this time period...

This is absolutely false.

There are a plethora of historians and economists one can read further to understand these historical trends--Claudia Goldin, Thomas Piketty, Emmanuel Saez, Robert Margo, Simon Kuznets, Wojciech Kopczuk, Tony Judt, and many more. Until the interwar decades of the 20th century, income inequality was shown, as far back as a century, to have done little but rise. It's not even a fact disputed by any serious economist or historian of the period.
How to install ubuntu
i'm not sure if this is it, but i'm enthusiastic about the dawn of sandbenders [1].

[1]https://en.wikipedia.org/wiki/Neuromancer
Quick side note - you should get a decent SEO to look at the technical side of your site sometime, but as a free tip, pick www or non-www and canonicalise one to the other. You gots indexation issues.
Scalable C – Writing Large-Scale Distributed C
So let's play this out:

Community user: this is awesome, let me add this bugfix

Company: bugfix tweaked/improved & in mainline. Come speak at our conference!

Community user: cool. Now here's this admin tool.

Company: uh,no,sorry,please keep that out of the main repos.

Community user: but admin is pretty central...

When the center of the community actively dissuades core contributions, which is what we see, the alignment isn't working.
And if you weren't impressed by Windows, by that time Linux was quite good on the PC if you built it with Linux in mind. And you could still dual boot to DOS games.
You have no idea how hard Asm.js is to "read". Minified JS is okayish. But Asm.js has the ASM name in it for a reason, without proper tools it's even harder to read than any ASM. And WebAssembly is at the moment based on Asm.js in its current alpha state.
"That being the case, these elected officials must know that this won't solve the problem.

Except your not understanding why this is happening.

You and most americans really are out of the loop about what is going on in the world... right now world leaders fear political awakening of the masses of the planet.

The (mass surveillance) by the NSA and abuse by law enforcement is just more part and parcel of state suppression of dissent against corporate interests. They're worried that the more people are going to wake up and corporate centers like the US and canada may be among those who also awaken. See this vid with Zbigniew Brzezinski, former United States National Security Advisor.

https://www.youtube.com/watch?v=n7ZyJw_cHJY

Brezinski at a press conference

https://www.youtube.com/watch?v=VWTIZBCQ79g

Snowden on terrorism/spying.

http://www.theguardian.com/us-news/video/2015/sep/25/edward-...

Democracy Inc.

http://www.amazon.com/Democracy-Incorporated-Managed-Inverte...

Intereference in other states when the corporations dont get their way

https://www.youtube.com/watch?v=8mxp_wgFWQo&feature=youtu.be...
Why Japan Makes Cooler Jeans Than America
Its actually an open source hardware design built around a Freescale quad core arm CPU. It is definitely designed to be user replaceable; you can print your own boards if you want.

Info here: https://www.crowdsupply.com/sutajio-kosagi/novena
Does HN have a swearing policy?

There is no official policy on this to my knowledge. But my feeling is that expletives indicate and incite strong emotions that can cloud insight into the complexities of an issue.

I think I'm not alone in that.
You should check out crossfilter: http://square.github.io/crossfilter/

You import your records, define dimensions, and can then slice and dice your datasets to your liking.

Very impressive is dc.js, which adds some magic on top of crossfilter and d3 to build interactive charts.

https://dc-js.github.io/dc.js/
Chrome Browser Backdoor C&C
I hope it's got some good assets because what on earth is that valuation based upon ?

Next reporting date	March 2, 2016

Annual revenue (last year)	$195.6M

Annual profit (last year)	-$15.2M

Net profit margin	-7.79%
Google does it right with optimizing v8 for general Javascript usage. Mozilla especially optimizes for Asm.js, they detect asm.js code route that code not to their general purpose Javascript engine but to a seperate JIT written for asm.js. Bad idea, as we will find out.

In future we will have than binary asm blobs that run web apps faster and outperform any normal JavaScript. Then we will have to compile JavaScript to WebAssembly to get the extra performance boost, right? Stupid! It seems this technology is very bad for the whole web eco system.

How about investing more time in advancing HTML5? Little has been done since 2012.
Can higher-order functions be performant? (Haskell)
Unfortunately the part of modern laptops that breaks first is rarely a case, be it wooden or metal, even plastic, but usually the battery, keyboard, screen, or just some random small part of the mainboard.
They lose their court case. I'd imagine it's a pretty simple defence against a patent suit if you can present a covenant by the patent holder saying they won't sue.
Information and energy are related because having information about a system allows you extract usable energy from it and do work.

If I have a bucket of bouncing balls, and you send me a stream of bits that tells me the configuration of those balls, suddenly my ability to do work has risen because I can now efficiently extract energy from those balls. In that sense, energy can be transmitted as information.

I don't think there's a more direct way of doing what your question suggests because sending energy (whether it is informative or not) always means that energy is sent. Because energy is conserved, if my energy goes up, then somewhere else in space something else's energy has gone down, and that change is, by definition, sending energy.
The Oregon Trail Generation: Life before and after mainstream tech
Dubsmash Goes Viral with Iranian Instagram Users
If you are looking for cool examples, download Norvig's IPython notebooks and play with them. As a bonus check out this very cool model of economic inequality.

http://norvig.com/ipython/README.html
http://nbviewer.jupyter.org/url/norvig.com/ipython/Economics...
Facebook seems to be doing ok
I don't think monadic notation here is the panacea that it is sold as. The harder part would still be modifying your function's return type to thread the result up the stack.

In any case, .unwrap() is perfectly fine in applications, it's only in libraries that they're discouraged.
Most of the things I can think of are firmware, like for tractors, thermostats, hearing aids, etc. Things that are generally so proprietary that it's hurting the industries.
I take it the influence of Earth's magnetic field is accounted for, including adjustments for relativity and any induced eddy currents in the spacecraft?
Have Open Office Hours invites gone out yet?
They said "if you're selected we'll reach out by January 15"; I'm assuming this also means that people who are not selected will be notified, but I haven't heard anything. Before emailing them to ask if they're behind schedule or if I lost an email, I figured I might as well check with HN to see if anyone here has heard back.
The Cost Of Discipleship by Deitrich Boenhoffer. Being aware and committed to something bigger than myself rather then trying to find the next thing to make money and potentially become, as Tim Ferriss calls it, another fat guy in a red BMW.

These individuals have riches just as we say that we “have a fever” when really the fever has us. – Seneca
Stone knives 3.3 million years:

http://archaeologynewsnetwork.blogspot.com/2015/04/worlds-ol...

Tutankhamun's metal ones from 3000 odd years ago look quite modern:

https://www.google.com/search?q=Tutankhamun+knife&num=20&tbm...
I am a tech-recruiter and I work for different companies in Switzerland. I could place a guy who went from 5+ years in accounting into a coding career after he went to a 3 month Ruby bootcamp in Canada. It seems that coding bootcamps are less prevalent in Europe compared to North America.

The company that hired him worked on a product that was accounting related, hence it was a perfect match.

Disclaimer: If you look for a tech-job in Switzerland, check out my story "8 reasons why I moved to Switzerland to work in IT" on https://medium.com/@iwaninzurich/eight-reasons-why-i-moved-t... and send me a mail to the address in my HN-profile.
I followed the link to some slides created by the Author at: http://ghostweather.slides.com/lynncherny/deck#/

This is not a direct criticism of the Author, but what is it with the penchant these days to use absolutely minimalistic, flat interfaces with zero help on how to use the interface?

I blame Google for starting this and all the other sheep who blindly follow them without actually asking what an interface is really meant to do. They have this insane desire to trend towards an interface which ultimately will consist of a slightly beige-grey background with not a single other thing on it. Google et al, seem to be on a never ending quest for an interface that is both so simple, it is practically brain dead and yet requires advanced degrees in "find the hidden button that does something" and "try separate the interface from the data being presented".

Microsoft have picked up the torch and are running with it with unbridled enthusiasm. Their new Office interface is a master class on how to make it as difficult as possible to determine where my data ends and the interface starts. All done in a tasteful shade of death-bed grey.
It's actually even better than that. They're only using __int128 to hold the result of a 64 by 64 bit multiplication, and x86_64's mul instruction will give you this for free. gcc is smart enough to generate code that is literally just a single mul.
Math is hard, yet we require everyone to learn basic math in school. Programming is hard too, but there is a fair case to be made that it too should be part of the basic curriculum. Just like with math, most people don't have the talent or drive to reach a high level of skill in programming, but it would still be valuable for almost everyone to learn the basics.
I find it pretty odd that you'd take a PM role that required you to write code and have a CS degree. It's definitely good if PMs understand the technologies they're working with, but requiring they know how to code, and actually code, as well as have a CS degree seems like an employer who is actually looking to hire a developer and get a PM for free. Or vice versa.
Here's a more complete set of links I found by googling the chapter titles. Unfortunately, I could only find 7 of the 12 chapters easily online.

Preface
http://www.cs.ox.ac.uk/jeremy.gibbons/publications/fop-prefa...

Chapter 3, Origami programming, Jeremy Gibbons
https://www.staff.science.uu.nl/~3860418/msc/11_infomtpt/pap...

Chapter 4, Describing and interpreting music in Haskell, Paul Hudak
http://cs.yale.edu/c2/images/uploads/HaskoreFUN.pdf

Chapter 6, How to write a financial contract, Simon Peyton Jones and Jean-Marc Eber
http://research.microsoft.com/en-us/um/people/simonpj/Papers...

Chapter 7, Functional images, Conal Elliott
http://conal.net/papers/functional-images/fop-conal.pdf

Chapter 10, Arrows and computation, Ross Paterson
http://www.staff.city.ac.uk/~ross/papers/fop.ps.gz

Chapter 11, A prettier printer, Philip Wadler
http://homepages.inf.ed.ac.uk/wadler/papers/prettier/prettie...

Chapter 12, Fun with phantom types, Ralf Hinze
http://www.cs.ox.ac.uk/ralf.hinze/publications/With.pdf

Missing Chapters:

Chapter 1, Fun with binary heap trees, Chris Okasaki
(Perhaps bsznjyewgd would like to share his copy?)

Chapter 2, Specification-based testing with QuickCheck, Koen Claessen and John Hughes

Chapter 5, Mechanising fusion, Ganesh Sittampalam and Oege de Moor

Chapter 8, Functional hardware description in Lava, Koen Claessen, Mary Sheeran and Satnam Singh

Chapter 9, Combinators for logic programming, Mike Spivey and Silvija Seres
this is brilliant! thanks for this.

Incidentally, it seems my entire tech stack is running on Square these days. Retrofit, Picasso, okhttp, dagger, some rxjava libs.... and now crossfilter.
Productivity: A love story between Habit Creation and Pomodoro
I'm really disturbed by this clueless Javascript developer stereotype being repeated over and over. I know there are many more beginners in the js world than others but any time there's a js alternative being discussed, I read comments in the tune of "haha now js developers will be useless finally" and then I wonder who is being threatened by whom.

Please be more welcoming. We don't have enough programmers, no one is taking anyone's jobs away.
It is actually that bad in Australia.

Even the Australian movie 'Mary and Max' is not available on the Australian Netflix but is on the US Netflix. What a joke.

Countless old US TV shows like Malcolm in the Middle... not available on Australian Netflix. Where can I watch this in Australia? Nowhere? Great.

Netflix subscription... CANCELLED. (as soon as proxy is blocked).
Answered below.

edit: I am interested, to get feed back on this positive or negative. I, and likely google, see the internet as a big RSS feed. Right now, companies are starting to crack down on bots, except google, but as discovery changes I think this will too. Generally curious about this.
This is too long ago for me to know what actually happened. Both Rosenblatt as well as Minsky and Papert knew that networks could perfectly learn the XOR function. See https://en.wikipedia.org/wiki/Perceptrons_(book) and also stated in this article.

I knew there was a fight between Minsky and Grossberg at that time. Perhaps there have been other reasons that are not so well known that led to an AI winter. Have these winters ever be quantified though?

For the article, you can find it in here: http://msrvideo.vo.msecnd.net/rmcvideos/258318/dl/258318.pdf
This is great. My youngest son (8) was talking to me in the car last night about learning to code. This would be ideal for him. Indeed, in just checking it out I somehow ended up doing 5 levels! :) Thanks for the link
IPO $16

Peak $34 in May

down to $14 in July

bounced but back to $14 in August

flat till October when Amazon entered now down to $7

Jeff Reeves at InvestorPlace [1] caled it "the biggest joke on Wall Street in May"

[1] http://investorplace.com/2015/05/etsy-stock/
My Amiga is an Heirloom.
XBee Library for Proteus
PIR Sensor Library for Proteus
this seems to be still it is early nascent stage, with a complete toc missing, most likely, in the works. caveat emptor.
I used and liked Drupal a lot. The only thing bothers me to see enormous number of queries running even for a single page web site. I think it is a sacrifice for the sake of creating all-purpose application.
Cartesian Closed Comic