skysight-inc/HackerNews huggingface dataset:
Ask HN: How Should I Apply Thermal Paste?
The Internet is quite confusing on this topic. Some say you should apply just a pea, some that you should spread it with on applicator on the whole surface (hence creating "evil" air bubbles?). They can't even agree on which part you should apply the thermal paste on: the CPU or the cooler? Thanks a lot for your input.
Surely not the future.
Neither is the hardware. The point is that I'm doing a clean build of an entire app in under a second. Which means the "boost tax" is also under a second.

You can certainly make a mess of things if you're not careful. Most people seem to.
Is your kid a college student? I didn't run into this stuff until university.
Somewhat off topic perhaps, but what exactly does therapy do? Has anyone here had therapy? If so, can they explain how talking to a psychologist cures a medical condition? Is it significantly different from talking to a priest or a faith healer?
It's time to start using ByteWatcher in your regression tests
Are you a musichead? bop.fm (YC S13) is looking for a Lead Android Developer
I know one person that I suspect would be in there if I bothered looking. If he did have an affair I'm sure he'd have been thrilled for his wife to find out, since they were very attached before the stroke and vegetative state.

I admin email systems. Not my place to judge.
Those systems (or ones like them) are also meant to detect weapons tests, so it appears they are doing their job.
So... you think he has an underlying mental health condition, and he's somehow confusing that with the ill effects of said pretty-bloody-bad on-call schedule?
It's probably some sort of score decay over time. Surely, it the post was posted a couple of hours ago, 5 up votes would not cut it.
by leaving you just eat the money

This requires that you have a good line of credit or savings that you can use to buy food, pay mortgage, etc. Most people don't have that.
Keep in mind at the time people were using regexs for tree structures like the DOM, and calculating time.

Manipulating the DOM with regexs generally known to be impossible these days, and using regexs for time only happens on the Unix command line where there aren't better alternatives.
Bootstrap tools – fast, good-looking sites
> It would be so much more humane to just have two people on-call each week, each covering a 12-hour window, with 8-hours overlapped by their own work schedules.

Just another reason why opening an office in Europe is great for a company at some stage of its growth.
Agree, though one could argue that what AM is doing is an explicit attempt to damage the basic building block of society, i.e. family. So this becomes somewhat a matter of public interest then.
The MBA thinks "cheap as possible" - so two devs and a dog sounds like a reasonable budget, even if it means stuff doesn't quite work and employees get broken.

The real poison is MBA culture. It's literally insane in most normal human senses.
How does it feel like? Since my depressive episodes (approx. every 7 to 10 weeks) are usually short and don't affect my outside live much, i never felt the need to seek medical help. Is it still worth checking?
I believe it. The smartest, most creative people I know also tend to suffer from crushing emotional problems -- depression, anxiety, loneliness.

In a similar line of thinking, there's a book called "A First-Rate Madness: Uncovering the Links Between Leadership and Mental Illness" that was a fascinating read. The gist of the book is that our best leaders' mental illnesses had something to do with them being great. Abraham Lincoln for example, suffered from depression. This fact may have given him special insight into the suffering of others -- a kind of empathy. This empathy was invaluable, says the author, to the decisions he made.

Anyway, yeah. I like this idea. Maybe suffering from mental illness isn't ALL bad. Maybe it has some valuable upsides.
I always wonder whether the stock of Amazon should decrease after the HR-gate. I would expect the company to eventually start an HR policy and lose money on that. It seems the stock price didn't move, but I'm not a finance expert and there must be other events this month.https://www.google.fr/search?q=amzn&oq=amzn&aqs=chrome..69i5...
I am now quite happy that I failed in the Amazon recruitment process.

Their guidance said that I should prepare couple of weeks for the interview. For me they gave one weekend which I had to use for the family event. Perhaps I was not engaged enough after all.
There's extra weight to comments and how fast the upvotes are. If all votes are instant it'll go higher than votes over a longer period.
Making Charts with CSS
God, I hope this is sarcasm.

EDIT: Fresh commas installed.
Graphs are fun, CHARTS are boring.
Battery prototypes are a dime a dozen, but none ever seem to reach the market.
One thing worth mentioning about class composition with CSS Modules is it allows for the convenient ergonomics of Sass's @extend without any of its problems.

Sass @extend is actually counterproductive in terms of reducing filesize [1] and results in unwieldy, unreadable CSS rules [2]. In contrast, CSS Modules achieves true class reusability and optimal de-duplication of styles in a manner impossible with Sass, resulting in a nice Chrome Inspector view because the original classes are preserved and their composition is naturally represented.

[1] https://tech.bellycard.com/blog/sass-mixins-vs-extends-the-d...

[2] http://pressupinc.com/blog/2014/11/dont-overextend-yourself-...
From talking with people who work or worked for the companies you mention: their complaint is never about being on call or about the work hours, but about the stack ranking system. This means that every manager has to rank the people that report to her in order from best to worst, where best must get a promotion and worst must be sidetracked or fired, even if the whole team objectively ranked from 'excellent' to 'superstar'. This means that you may have to fire someone who performed only 'excellently', and it also makes your direct coworkers competitors, because it's in everyone's interest to be higher in the stack than you, and if someone else on your team does well, this may be a threat to you.
Does anybody need to restate the obvious: Go through the OPM leak and cross-check everybody with TS-SCI clearance with the AM database. Bingo-presto, big list of folks you can blackmail to do government favors. Take about 2 minutes.
And after Jeff Bezos quite literally asked for negative life stories.

But we all know this won't be pinned on Amazon. It will be pinned on this guy, who was having bad reviews due to unsatisfactory performance.
How on earth can 3 year old kids do this? You need to know how object oriented concepts work. Heck, you need to know how opening and closing braces work.

IMO C++ is the worst first language to learn by quite some distance. It's super complex, with a lot of the complexity being non-obvious (like slicing an object, default allocators, and other things that don't have a big text footprint.) Getting thing to compile can be hard, too. Library issues occur all the time.

I would have thought something like Python would make more sense. It more or less just works out of the box, you get a REPL so you can examine things as you code, libraries are easy to import.
I've thought about this also. Alternatively some mixed format file like yaml front matter style.
If anyone would like (a lot) more information about why this is a significant change, Ben Goldacre's book Bad Pharma is both excellent and terrifying. I think much harder about taking medicine unless it's really required since reading it.

Click click: http://amzn.com/0865478066
400-600k with symbols stripped.

I'm using boost/any, boost/iostreams/stream & tee, and boost/property_tree/json_parser. So obviously I'm not going nuts with things. But wanted to provide the data point.
On occasion, yes. I've done OOO both of trading desks and ecommerce operations, very high pressure - and with the added bonus that you're having to answer the phone to angry people while working on a technical fix.

It's called support hell for a reason - but what this guy's wife describes isn't extraordinary. It sounds like most mission critical support roles.
So... CSS has the same global namespace issue as C, and this CSS Modules is the same solution as C++ namespaces and classes. They call it "mangling".

https://en.wikipedia.org/wiki/Name_mangling#Name_mangling_in...

(further commentary prudently withheld)
one could argue that what AM is doing is an explicit attempt to damage the basic building block of society

Sure, but one could also argue the same about per-marital sex, divorce and homosexuals.
I am currently the head of a two person ops team, so we effectively share on-call all the time. In reality as the buck stops with me I am on call constantly. It's a drag and I really wish I hadn't been backed into this corner (partly my fault, partly the company).

With that said; my Fiancee is a trainee nurse. She works three thirteen hour shifts a week. Which totally destroys your sleep pattern. Working two thirteen hour days in a row takes you out for a couple of days (she gets in at 9, has about an hour to shower and eat and is in bed for a 5am start).

All of this for a wage which is about half of mine. And with the massive responsibility that if she's tired and makes a mistake it's not a computer that dies but an actual person.

Puts it in perspective.
I always thought it would fun to join when I was single.

Then I could be accused of being a dishonest immoral monster when my hookups discovered I wasn't really married.
Haha, that's a more accurate assessment!

OP, it's so hard to know what a job is like from a tiny second hand description, so don't take my words too literally, it might be fine and more involved, but as someone else said in the thread:

there is a possibility of getting a bit more into

Is code for:

we're going to dangle this thing in front of you for a year or two and then conveniently forget we ever said it
Funny video of children singing
That's the thing. For the types who do ooo work, it is a badge of pride - and I dare say if anything this is what she made him go to therapy over - I've had the conversation - "your job is ruining our fucking lives!" - "I enjoy it. It's hard but rewarding" - "you're getting your head checked".
Kim Dotcom and Universal Music prepared a deal to tax Google
Sounds reasonable. It seems to me that inteligence and creativity are about diversity of experience. Unstable behaviour probably means more diverse experience so it boosts creativity and inteligence. Except that those people can't easly live normal life, they must look for way to adapt - great training for inteligence.
But why to link it with genetics? It might be environmental, matter of upbringing or anything else, isn't it?
A lot of people fail CS, but I have friends who go through without having a real passion for it, and just doing enough to get through it.

And in the workplace there are plenty of people who know enough to do their programming jobs, but don't have a real interest in it, don't code at home, etc.

People with passion for it will shine eventually, whatever road they take.
From experience, getting 5-8 pages a night every night during 12am - 6am gets very old very quickly; even if it is once every 4 weeks. Even more so when you're also expected to front work at 8:30am regardless of the night before.

The OP's described situation sounds like it is hideously under staffed / resourced.

But it doesn't have to be that way; I have friends who worked at Sun (back in the day obviously) where they had approx 1 in 5 week rota, and always two on call at once (one primary and one secondary). And that with a typical 2-3 pages out of hours. A night and day difference.
It's basically just talking with a trained listener.

It works because the vast majority of peoples' behavior is unconscious; we operate based on habits and assumptions that never really get tested. Unconscious behavior, by definition, is outside of conscious awareness. It also tends to be self-reinforcing in feedback loops: for example, if you assume everyone's dishonest and corrupt, you'll hide your motives and behave in a way that an honest person would assume to be dishonesty, and so all the honest people would refuse to associate with you, and so everyone around you would be dishonest and corrupt.

Therapy doesn't actually "cure" anything. You cure yourself. What a therapist does is serve as a guide, providing an outside perspective that will challenge your unconscious assumptions when they're leading to problems for you. You can get the same effect by having a close friend or confidante, or even by having social contact with a wide variety of people that are different from yourself. But social relationships don't usually work that way; usually we gravitate toward people like ourselves, so if your beliefs are dysfunctional, you'll gravitate toward other people who are dysfunctional in similar ways (cf Amazon), and then that behavior becomes normalized for you. A therapist, being paid for their time, has an incentive to stick with you even when you're being annoying, and their training exposes them to a wide variety of behaviors.
The many tricks Intel Skylake uses to go faster and use less power
Haha, well that's stretching the argument a bit, but for the sake of conversation I would then ask for proof that family is indeed the "basic building block of society" and that what MA is doing is actually damaging it to an extent that it can be considered a public safety issue.
Fiat money is government money.

I recommend anyone interested in understanding fiat money to read about Modern Money Theory (for instance here: http://neweconomicperspectives.org/modern-monetary-theory-pr...). It changed my perspective for sure.
Curious that he couldn't "find" the enthalpy of reaction for the ammonium nitrate. Surely he could calculate it from the sum of the products minus the sum of the reactants.
I would say if you aren't sure about any medical issue, then get it checked, but don't worry (and don't worry about worrying :-)).
Yes. Don't underestimate the importance of things like commute times and working in a nice part of town.
> And marital infidelity is unethical even if it isn't illegal

So, even ignoring that high horse you're on: in your not so humble opinion, are all registrants on ALM guilty of marital infidelity? That's assuming guilt by association, and flies directly in the face of your own constitution.
I remember another similar article, which wasn't specific to a particular service. I probably found the link on HN, but I can't find anything.

There's this, which I don't think is what I was thinking of:

The abandoned college campuses of Second Life

http://fusion.net/story/181901/we-took-a-tour-of-the-abandon...

https://news.ycombinator.com/item?id=10079400
The abstract
http://www.nature.com/nmat/journal/vaop/ncurrent/full/nmat43...
Even my cheap Moto G will do something similar without having an "ultra stamina" mode. I've brought it to several hiking trips where it's been lying unused in a waterproof bag with everything turned off except basic GSM so I can receive calls and SMS. After 5 days the battery reports ~ 50% capacity and projects it will last for 4 more days.
That's not how you spell his name.

Parent is referring to the video series 'Tabletop' on Youtube: https://www.youtube.com/playlist?list=PL7atuZxmT954wz47aofSl...
Also see styling[0] which is a loader for webpack which allows to generate CSS modules with JS.

Files configured to use with this loader (usually `.style.js`) are executed at build time and produce CSS modules. You can use any JS abstractions for that (functions, modules, variables, ...) and any npm package available (color manipulation, typography, ...):

import styling from 'styling'
import {smallText} from './typography'
import {colors} from './theme'

export let caption = styling({
...smallText,
color: colors.text
})

[0]: https://github.com/andreypopp/styling
Isn't every successful startup an ugly duckling at some point?
This is not great. I know there are controls in place to stop chain voting, but if it only takes 5 votes in 5 minutes to reach number 1 then the system is wide open to abuse.
I signed up for Second Life, and jogged around it for an hour or two. An Oculus Rift version would be intriguing. I found my original experience to be aimless. I wandered off and found a sort of castle or something, and enjoyed rambling around it, but ultimately felt there was nothing to do.
All the features and problem are solved by EERO, and solved in a much more elegant and consumer friendly way.

I mean Christ, do google even understand UX?
It's not really a choice. It's "the way things are supposed to be".
The argument is not unrelated though, because it's relative the nature of our society. And that nature is what makes this hack so juicy to people that would have otherwise have ignored that as they ignored many other data leaks in the past.
Freedom of choice is important, but you're not really free to choose polygamy when education and morals are still mostly driven by archaic religious beliefs.
That (extraction) can be done (React Style does that) but for it to be consistent with JS semantics you need to evaluate code at build time because such template strings can contain interpolations from JS world.
I have an on-call job. We have two teams, one in Switzerland (where I am), and the other on the west coast of the US; shifts are daytime only, from 0600 to 1800, with the other team handling the night shift. Each team's about five people.

I'm usually on call for three or four days in a row once or twice a month. Schedules are flexible. We just enter dates when we're not available into our calendar and this insane piece of inhouse software looks at our oncall history and determines a fair schedule, so everyone gets the same amount of oncall time. It even takes into account weekends (which are typically very quiet, but you still need to be within mobile-signal-or-coffee-shop range).

Pager load is typically one or two a day, and are usually fairly trivial; far more annoying are the non-paging alerts and paperwork. Sometimes there's a pager storm as something catches fire and burns down, but there's always someone around to help when that happens.

Being on-call here is... never something I look forward to, but the systems are in place to give support if I need it, and I'm never on for very long. The culture here emphasises that when my shift is over, particularly when there's a crisis, I hand over to the next person (in the other team) and then GO HOME, because otherwise I'll burn out.
You seem to prefer activities where you can be alone.
Unemployment?
Some do... http://www.extremetech.com/extreme/174477-at-long-last-new-l...
Marriages are not just moral issues, they're also contracts between people themselves and between the couples and the government. They come with privileges and tax breaks and social status, and all of it is built upon assumption that marriages are mostly permanent. AM is explicitly attempting to attack that.
Aren't methodologies like SMACSS addressing such problems?

I found interesting how the whole thing is specifically related to someone reading the CSS and not used to SASS.
This. It's easy to shift the blame to faceless Amazon and pretend "the company" is at fault.

It's not. The people who are running the company (and I'm not referring strictly to top management here) are the ones with the blatant disregard for their employees.

This is not a result of some inherent forces our Universe suddenly concentrating over Amazon. They're the result of business decisions. A bunch of people wearing suits have talked about this and agreed it's okay.
Russell's Chicken
God I hope, this is sarcasm.
God, I hope this is sarcasm.

Commas are so undervalued...
I've thought some about this, as it looks like this kind of travesty is going to continue to happen online. Where are my personal boundaries over what is acceptable or unacceptable?

It's an uncomfortable exploration. I've decided that if I am driving by a car accident -- perhaps a drunk driver careened into a bus -- I will slow down and take a good gawk. There's something in human nature that drives that impulse. I wish the people involved no harm, and I do not take any pleasure in their suffering.

I will not, however, stop the car and rifle through their belongings. People who have been victims of a crime -- even bad people -- do not deserve for me to abuse them further, or take pleasure in their suffering. They certainly don't deserve to be re-victimized.

But I'm 50, not 15. And I've already learned not to let strong emotions about how good or bad something is get in the the way of the larger moral debate.

How to say this best? The internet is a cesspool. It's very difficult to visit without either getting dirty or smelling bad.
For the wife (and mum) who wrote this letter, I can feel her pain. Especially relocating to place where emotional support is low and life is lonely. We relocated to Germany from Australia, and it was a few hard years at the start. There are many reasons why we relocated, and some of those are similar to the author. We were lucky that we managed to see through the hard years and found our way. Now we are enjoying life in Germany. It sounds like the family is also on their way as well.

For me, this article is not necessary about Amazon workplace practice. However, it certainly did not help at all.
Ah yes, forget about the interpolation issue. I knew there was a reason I stopped digging into it
> The part I dislike the most is that they moved me to a salaried position that pays ~10% less without the on-call overtime bonus. On-call being just "free labor" makes it much more frustrating.

Ouch!

When our team was asked to be on-call (this was a few years ago at another company), we negotiated a fixed monthly bonus and I don't think we would have continued to be "on-call" if they had reneged on that. I think it was even in our contract. How did they take that away from you? Is it in your job description that you need to be on-call?

We also had a high priority "fix what broke" strategy that was also management approved: whenever something went wrong at 3am, the next day our top priority was to try and ensure that did not happen again, ever. Our interests were aligned with management here: management wanted as little downtime as possible for the web services, we wanted as little interruption to sleep as possible.

How often do you get calls/messages on average? Is there anything you can do to reduce them by improving the actual things that are breaking?
That is not an edge case by any stretch of the imagination. Most, if not all, people I know have videos playing while doing other stuff.
How is creating a throwaway Google Account anything other than a minor inconvenience?
Show HN: Heartnotes – offline, encrypted diary app using Electron.js
Always a cost center until it isn't. Typical short sighted management.
Yeah, I am constantly amazed and terrified of the kinds of shifts doctors and nurses do. I really do not understand how they manage to not make mistakes in such an environment.

In Grey's Anatomy, you often see people taking a couple of hours sleep mid shift; is this generally accurate?
Forgetful scientists accidentally quadruple lithium-ion battery lifespan
As this blog post mentions, you can still make use of CUDA in Matlab without the Parallel Computing toolbox.

If you're interested in using CUDA via C-MEX in Matlab then I recommend the book 'Accelerating MATLAB with GPU Computing' by Jung W. Suh.
Testing ReactJS for XSS vulnerabilities
Forget the last sentence, was referring to another link.
Hey everyone, author here.

This is just a mini project I decided to do in order to learn how to use Electron.js to build desktop apps, plus the fact that I wanted a diary that did encryption properly.

Right now there's just an OS X build (because that's what my machine runs) but it shouldn't be too hard to get Linux and Windows builds going too in the near future. Also, the diary features are a bit limited (e.g. not date changer yet).

Source: https://github.com/hiddentao/heartnotes