skysight-inc/HackerNews huggingface dataset:
This is from my experience:

Start working as soon as your day begins (the moment your hands touch the keyboard/mouse). Do not allow yourself to go down the rabbit hole for even a second by checking/playing/reading whatever. You'll quickly get into your task and put good time into it (again, this is just my experience).

Your glucose levels are at their highest when you start your day, take advantage of that. Screwing off after you put in a few good hours becomes a reward, not a vice.

Good article on glucose's function in the brain:
http://www.wsj.com/articles/how-the-brain-uses-glucose-to-fu...
>HuffPo will post anything that generates page views.

Founded and run by the same people who pay people to write this

'18 Cats Who Are Beyond Pumped For Taylor Swift’s New Album'

http://archive.is/Nh1tE
Their marketing decision is really odd. I guess the engineer that came up with kg numbers decided to round it in 1000kg, which is reasonable to me. Whoever got the number don't like kg, and converted to lb. Someone else adding the number up actually counts in 100lb, and thinks it's better just to round up.

And yeah, the last two zero is fishy, I first tried to do a simple round, and wondered where's the extra 600. It's always fun to write it in a different language:

100×+/⌈.01×2.204×12750000 6090000 5420000 2050000 1340000 86000 18000 20000 59000 2000 3000 1000
There are much more differences (sources: http://www.imada.sdu.dk/Courses/DM18/Litteratur/IntelnATT.ht..., http://stackoverflow.com/a/9951916/497193)

In Intel syntax instructions are not suffixed. In AT&T there is a suffix (q, d, w, b) depending on the operand size. For example (assuming 32 bit register) mov (Intel) gets movl (AT&T). Also the argument order is changed. Constants have to be prefixed by $. Hexadecimal values are prefixed with 0x instead of suffixed with h. Registers are prefixed with %. With this we already have

mov eax,1
mov ebx,0ffh

vs.

movl $1,%eax
movl $0xff,%ebx

But also the notation for accessing memory is different: For encoding the SIB (Scaled Index Byte) (+ disp[lacement], if desired), Intel uses [base+disp+index * scale], while AT&T uses disp(%base, %index, scale). Thus we have

mov edx, [ecx]
mov eax, [ebp-4]
mov eax, [ebp-4+edx*4]
lea eax, [eax*4+8]
lea eax, [eax*2+eax]

vs.

movl (%ecx), %edx
movl -4(%ebp), %eax
movl -4(%ebp, %edx, 4), %eax
leal 8(,%eax,4), %eax
leal (%eax,%eax,2), %eax

Edit: On the other hand, when the size of the operand can't be concluded from the instruction, in Intel syntax you have to add 'BYTE PTR', 'WORD PTR', 'DWORD PTR' or 'QWORD PTR' to disambiguate the situation. For example

mov [ebx], 2

is not unique, so in Intel's syntax you have to write respectively

mov BYTE PTR [ebx], 2
mov WORD PTR [ebx], 2
mov DWORD PTR [ebx], 2
The Best Web-Based Data Visualisation Tools (review)
This shows the problem with the way Stack Exchange doles out moderation abilities (automatic once you hit a certain karma threshold). You get a lot of people who want to use these newfound powers. That's understandable, for sure. The issue is that in their eagerness to be a good mod and help clean up and get to do some cool moderatory stuff, they get overzealous and it results in hamfisted, overbroad moderation because everyone is looking for a reason to close the question. The higher principle behind the community gets lost in a sea of technicalities.

Stack Exchange could improve their guidance and closure templates to help curb the habit of closing useful stuff all the time, so part of it is an identity issue that SE sites have within themselves, but it's compounded and exacerbated by a lot of fresh faces looking for a reason to stop the discussion so they can click their brand-new "lock thread" button.
Ask HN: SRE vs. Software Engineer
I'm in the beginning stages of a career, and wanted to get industry impressions of SRE (@Google) and similar roles (ie. Production Engineer @Facebook). Has anyone worked both as an SRE and a SWE and can comment as to what they did/didn't like about each role? Did you mind being oncall? How does it compare to Infrastructure dev work? Would I be making a mistake taking one of these positions over a SWE position?
"My perspective on this is that lazy be default made sticking to purity much more compelling as if you just dropped print statements in you weren't sure exactly when they get evaluated."

And that's basically a death sentence to the feature because it reduces it to a silver lining of desperate post-mortem optimism. As far as my understanding goes, lazy evaluation was originally included in the language because it was perceived to be a powerful optimization technique enabled by pure functional programming. You reduce the amount of work a program is doing dynamically at runtime while not trading off on readability or modularity. All win. Except there were subtle trade-offs that have made themselves clear over the years and like you said, most would agree that lazy-by-default is too extreme of a feature and doesn't really pay its share of the rent at the end of the day.

My main gripe with lazy evaluation is that it's implicit behavior. It's to evaluation what garbage collection is to memory or dynamic types are to types. It hides something from the programmer that is useful to know more often than not.
So you go through all that trouble and end up with a terribly slow NIC, a "grownup" OS to maintain and the shitbox MIPS architecture to boot? What a pain. These MIPS boxes have their place, and that's squarely in the OpenWRT / system builder niche.

With the electricity prices the way they are in the US, no way I'd run something like that over a proper x86 as in the article that can saturate a 1Gbps and manage decent disk IO.
The other thing to remember is that Tor traffic is generally rare and few places have a business case for it so it's more likely to be monitored, just as in the past many places used to watch for IRC connections since it was infinitely more likely to be a botnet control channel than Fred in accounting seeing whether #quickbooks existed.

DNS, HTTPS to some random AWS/Azure/etc. endpoint, etc. are common as dirt and enough harder to monitor that many places either don't try or struggle to do do effectively.
Blumio is using radar-based armband device to track your blood pressure
Or even evaluating the frequencies of words, as well as the frequencies of juxtaposition of words.
>subconscious didn't spend a week thinking about the problems

Is there another person hiding in the corners of your brain doing the work? What does subconciocus even mean in this context? I think if we replaced 'subconscious' with 'mojo' here it would sound the same for me.
http://reddit.com/r/nofap (start with sidebar info)
You might be a scanner.

Read this book: Refuse to Choose!: A Revolutionary Program for Doing Everything That You Love

It is an interesting perspective on a particular personality type.
Incidentally, this is why prefix notation seems so foreign. (+ 1 2) reads as "plus one two."

It might just be the Lisp version of Stockholm Syndrome, but it seems perfectly natural to me to gloss that as "Add one and two."
what is an example of a mathematician using infinity as a number?
Stack Overflow is pretty good at this. They call them Reputation Leagues.

http://stackexchange.com/leagues/1/quarter/stackoverflow
A new open-source platform to measure energy efficiency and savings
When to post to Hacker News and how many points to make it to the front page
Interesting that Haskell goes in so hard for operator overloading. In other languages I've used, while you can overload a bunch of operators, it's not a common thing to encounter, outside of math code, where it makes the most sense. Technically you could do all sorts of crazy operators in C++, but that tends to be frowned upon in that community.
I've had this problem forever. My take on this:

One - address the problem in short term. Second - its not a problem, but a signal to do something better. Its better not to stay absolutely at one end, but keep taking sides as the situation requires - works best for me.

TodoLists help a bit. But these don't work for too long. The problem with todolists is these keep growing and then our inherent nature to not-focus turns us against these grown todos

Certain medications help too (like the ones containing ginseng root). These really turn on focus. But leave those for 12 days and its starts the problem again. Plus they turn addictive because they work. And I have found these causing consistent high BP - not that it resulted in any health issues. Personally I stopped medications because my creativity suffers and I feel somebody else. May be discipline and creativity cannot work together

Exercise helps. But I know we get bored with same sets of exercises every day.

Routine helps. I mean routine outside of your work. Exercising, gardening or just going out to get the sun exactly at the same time every day.

There is something inherent within that doesn't want to fit in to whatever we are doing. Like somebody mentioned - this may be ADHD, however I have found my passion by not controlling the unfocused-ness. And the same energy that "unfocuses" us tends to make us obsessed and focused at our passion(s) (when we find it).
Openstreetmap map with clickable POI Wikipedia articles, displayed in sidebar
Someone on FB speculated that it was a trick just for this video:

> the person asking the question probably works for Trudeau and Trudeau had previously memorized the whole quantum explanation just for this video.

and after reading an article about this claimed that:

> Trudeau had actually learned the definition of quantum computing that very morning before this conference and admitted to the fact.

Source: https://www.facebook.com/boeree.liv/posts/1092245874166258?c...
How Economists Rode Complex Maths to Become This Era's Astrologers
Why did the Europeans, rather than Chinese, colonize the America?
1) China itself was enslaved by Mongol, Manchu, Xianbei, Khitan, Jurchen Empires for over 1000 years.

GenghisKhan's law, Killing a Chinese = killing a donkey.

2) Just before mongols, Jurchen was the master of China for about 100 years.

Chinese royal family were sold into slavery in exchange for horses with a ratio of ten men for one horse.

Jingkang Incident - Wikipedia

3) Manchus ruled China for 300 years till 1911.
Manchu conquest of China - Wikipedia

4) In WWII, Japan invaded China, Japan took the Chinese capital and lost only 2000 soldiers.

Battle of Nanking - Wikipedia
Nanking Massacre - Wikipedia
Second Sino-Japanese War - Wikipedia
The Rape of Nanking (book) , Nanking (2007 film)

Russia and USA saved China.
US killed 1 million Japanese soldiers and lost 100,000.
I also recommend getting into deep work environments, with no distractions (IM, email) or noise (open plan). Sadly this is not often possible in modern work environments.

Cal Newport wrote a pretty nice book about the deep work concept and its importance for makers, full of interesting annecdotes [1].

Another critical point is to limit work in progress. If you work on too much stuff at the same time you can become overwhelmed, and thus this will lead to procrastination.

Starting tasks late, close to the deadline, might indicate you have incredible high expectations about yourself and you are afraid of underdelivering. If you are a perfectionist, understand that perfection is achieved by iterating not by getting it right initially.

[1] http://www.goodreads.com/book/show/25744928-deep-work
Video Monkey Dance, Talent, Magic Top
It's not that cool. For starters the nanotubes are supplied beforehand, this is just using an electric field to position them. Secondly, the tubes are not necessarily bound or fused together at the end of the process. I think they go back to bring a powder.
How dare he educate himself on the subject of his government's funding?! /s

P.S: I didn't mean to be snarky. Any politician that educates himself to even appear smart , instead of trying come off as anti-intellectual "joe six-pack" or simply a spin master (see: Trudeau's predecessor) is progress to me.
You can search N objects in less than O(N) time if you have a way of testing multiple objects at once. Pre-sorting is one way to obtain this capability, but it's only one of many. Often the capability comes from the problem domain itself (or, more accurately, how you model time in your problem domain). In debugging, "one run of the program" often decently approximates a constant unit of time, and you can (theoretically) bisect once per run, giving you the ability to search without an explicit presort. In the wolf analogy, your ability to roughly determine which direction the wolf call is coming from does the same thing.

In both cases you could argue that you are "cheating" because there is a computational process of some kind doing at least O(N) work each time (the computer in the debugging example, the universe in the wolf example), giving O(NlnN)+ overall, strictly worse than an O(N) linear search. However, you have to ask yourself in this case if it makes sense to equate the time taken by the computer/universe to run one unit of its computation with the time taken to run one unit of your* search, and in many cases it doesn't. In the end it's just a model and it's up to you to choose what to measure, approximate, and exclude.

If someone tries to argue that there is fundamental philosophical truth that makes one model better than the other, start digging down into the physics of the CPU -- how much O(N^N) quantum computation did the universe have to do in order to bring you a single CPU cycle? God only knows, but the time it takes is nearly constant, so it makes sense to ignore. Even the most hard-core theoretical algorithms expert is just as "guilty" of this kind of approximation as you are :-)
Why India was ruled by European, but China was not?
1) Because at that time China was ruled by Manchus.

Manchus ruled China for 300 years till 1911.
Manchu conquest of China - Wikipedia

Taiping Rebellion in Manchuria Empire.
20 - 30 million Chinese dead (best estimate). Taiping Rebellion, Wikipedia

2) China was enslaved by Mongol, Manchu, Xianbei, Khitan, Jurchen Empires for over 1000 years.

3) Just before mongols, Jurchen was the master of China for about 100 years.

Chinese royal family were sold into slavery in exchange for horses with a ratio of ten men for one horse.

Jingkang Incident - Wikipedia
TL;DR: Asshole explains why game developers should continue to be overworked.

Because apparently creating a small piece of the n-th sequel in some multi-million gaming franchise is creating "art", and artists have no need for a work-life-balance.

Edit: Reply by indie developer: http://venturebeat.com/2016/04/16/indie-developer-rami-ismai...

Edit 2: Apparently the author himself burned out while working at Microsoft: http://www.informationtechnologyleaders.com/stvid.html

He would pass out at his keyboard and straggle into morning meetings with key marks on his face. Worked sucked everything out of him; his marriage disintegrated. In 1997, he succeeded in getting himself fired, as he tells it, "and walked out of Microsoft feeling 100 lbs. lighter."
Consider your emotional state. I just had a bout of situational depression which resulted in exactly what you're describing.
There's a difference between pointing out the existence of a similar comment on the post and stating that I have stolen the comment. Assumptions can make fools of us all.

How do you suggest that I make it clear? Keybase doesn't allow for G+ verification.
Is there a way to "hack" glucose levels so you get a "second wind" in the afternoon with equally high levels?
Of course, that assumes you've even thought about or glanced at the material or project at all throughout the week leading up to your deadline. There is definitely a benefit to letting something "marinate" for awhile, and spending time on other things while your subconscious plays around with the problem. But that's different from unstructured/avoidant procrastination, wherein you don't even open the proverbial textbook until the day before the homework is due.

You can call this "deadline management," sure, but that feels like another way of saying "don't completely put stuff off." You're qualifying and delineating your purported benefits of procrastination. But there's something interesting in that thought, nonetheless. If you know you're going to procrastinate, set an artificially early deadline to drop everything and actually get to work, like it or not. That way you gice yourself some permission to goof off and decompress, but you're putting a backstop on your "last minute." It's interesting.
Maybe if I can live to be a bit older, I can start to remember what rugged individualist stoics we baby boomers all were.
This almost reads like a troll. "Making games is not a job"? If someone's getting paid to produce something, it's a job. No amount of doublespeak can change that. Stop whining about "80 hour weeks"? Everyone has a right to agitate for improved work conditions. This is essential for the capital-labor relationship to benefit society.

The author seems to be contradicting himself -- wage slaves are those who must accept an oppressive workplace to survive. Shutting up and accepting poor conditions, like the author suggests, is how you become one.
One person’s editorial policy is another’s malicious propaganda. Either way, the moderators control the content and I agree that it’s important not to confuse a private platform (like a subreddit or even reddit as a whole) with a free platform.

Your own blog is the only free platform (for non-extreme definitions of “free.”) All other media involve some sort of overt or more subtle curation.
Very possible that the reference is sunblock, that is a counter-measure to waste the time of anyone trying to track them down and burn them.

Fisher is experienced enough to know any information they leak will be used against them. My guess is that the event is either symbolic or meant build on a persona used to find people like them; post provides a means of contact.

Regardless of their intent, as made clear by my other comment, this was a tragic event, and the police should be held accountable.
i would say that openbsd is the better tool for the job in my opinion. pf is just much nicer and simpler to set up and configure than linux iptables, and openbsd is hardened which is important for a machine that is always facing the internet.
Can 2nd that its a very powerful and cheap router that could solve all my needs out of the box. Like routing my tv through a vpn etc.
These are correct. I would like to add that your life may be boring and unimportant. You're brain (my brain as well) is correctly calibrated on a evolutionary timescale and so most of life's tasks are just not important enough to care about. It's only when fear of serious consequences ramps past as certain threshold that we act. You probably have plenty of food and shelter. (If that's not the case stop reading and seek professional help, if basic needs stop being motivating you're sick)

So what to do? Get a new job, for a while it will feel important. Accept that you may need to change jobs regularly.

Get a job that matters. Life and death matters. Go be an EMT.

Live somewhere where basic needs are not a given. Help make that place better.

Try an SSRI or meth derivative, if for no other reason to kill the idea that a pill can solve your problems. (Tried both, not worth it.)

I've also heard starting judo or other violent contact hobby helps, no idea why.

Edit: corrected initialism
Wow that's a really misleading stock photo.
> Intel's syntax is most common, not the AT&T one.

I'd be a little bit more careful with such a statement: Under Windows (and formerly DOS) Intel syntax is the common one, while under GNU/Linux and OSX the AT&T one is used.

> If you translate mov into =, the syntax makes much more sense than AT&T.

Though I prefer the Intel syntax, I'd be careful with "makes sense" here: According to http://stackoverflow.com/a/4119217/497193 people who grew up with MIPS seem to prefer the AT&T syntax since it is much more similar to MIPS assembler.
The fact that he bothered to learn is somehow a bad thing?
It's encouraged, even
Ossia has developed a wireless charging system for all sorts of batteries
It would, but you are really asking if the impact would be noticeable. A single hurricane can be releasing ~1/2 global electric generation, which at least suggests that installing a bunch and observing the effects will be a safe enough strategy.
As is often the case, I agree with the how, but not necessarily with the why. This is a nit I'm picking but I'm in a write-lots-of-words-because-why-not mood.

It seems accurate, also looking at myself, that there are many benefits to the fact that I don't care so much about status and the like, and instead spend that time on long-term obsessions and interests (which might well be two separate 'characteristics').

What strikes me as less accurate is that this is caused by lacking circuitry. Perhaps 'different circuitry' is a better way of putting it. Whether this difference is deemed 'defective' is a matter of perspective.

The reason why I prefer 'different' is that based on my own experience (and that of others), I do not lack in empathy. In fact, affective empathy is probably stronger in me than with others. The reason why I often fail at cognitive empathy, or why I need a lot of time to process and analyze a situation to come to the right conclusion, is because my circuitry as a whole seems to work a bit differently, so I come to the wrong conclusions if I apply my own type of empathy.

A friend of mine is also mildly autistic. To outsiders, we might seem to constantly talk over each other, be rude and critical, not show affection, and generally lack in empathy.

But between us, the rudeness is perfectly acceptable, the criticism is fine if we think it makes sense, the lack of physical affection is pleasant (or just irrelevant), and while we might not seem to take in the mutual info-dumps, we generally will store it and refer to it later.

Furthermore, we most definitely show our own forms of empathy to each other! Letting each other finish info-dumps that are not particularly interesting is one of those things. We both don't ultimately care if the other is interested, half the joy is just structuring verbally. And we know this about each other. Plenty of other-mind thinking, I'd say. And if one or both of us has/have an 'autistic meltdown', we usually quickly move on because we understand that in such moments we say and do things we don't mean to do - we are just in panic mode. We might have a long theoretical conversation about it though while hiding the fact that we are probably going to need some time to recover emotionally (but ideally by ourselves).

And if we're being overly abstract and theoretical, somehow we often know about each other when to stop and ask 'dude, is there some reason you are so obsessed about this topic?', then talk about the thing that's going on, and then both happily jump back to abstractions or gaming.
TELEMETRY
I think you mean increase electricity and reduce gas?
I guess I'm bothered by the fact that he implied that he was more than casually educated on the subject he was talking about...
Even if Trudeau learned the definition the morning of, it speaks well of his background in engineering and math that he was able to assimilate such information and reformulate it coherently.

Presenting a technical subject at just the right level of sophistication for a given audience is an invigorating intellectual exercise.
The conspiracy theory angle is immediately stupid if you bother to listen to the actual exchange, in which the reporter asks his real question (a fairly uncomfortable one for the PM) right after his joke. If it's a setup, you'd stop and let Trudeau respond to the joke.
So basically make life cramped and awful for everyone instead of just some?