skysight-inc/HackerNews huggingface dataset:
I tend to try and use Safari when I'm at home just surfing the web or checking email because of battery life. If I'm not plugged in I will use Safari over Chrome. When I'm actually working I tend to use Chrome just because I enjoy the experience and have all the plugins I enjoy using there. Generally I am also plugged into a wall outlet when actively working in a browser (I'm primarily a frontend developer).

I just got the new tMBP 13" and have been making it a habit to use Safari over Chrome on it. It's a pretty noticeable different so far. I'm going to try and record some usage information over the next few weeks and see how much of a difference it really makes. In general though it appears that with Safari and general browsing I can get the advertised 10 hours or so. If I start using chrome (even just browsing) it turns to 7 or so hours.
I agree. I've seen a lot of people who have no intention of "settling down" or "having kids" become surprised when their peers who do exactly that become more "successful" (earn more money, move up in job position, etc.). I think making the decision to have kids instills a bit of discipline to get something stable in life.
What country are you coming from? You have to be on the treaty list.

I don't think the savings are enough, but it depends on the type of business/where you will be located. If that is the extent of your savings you have to consider living expenses/relocation in addition to the amount you will put into the business as an investment.

I would also look into consulting with a laywer that has experience in this field.
I think this is correct, however, it doesn't completely explain why I'll go months without meeting a better applicant. If there were a surplus of capable mid-level engineers then wouldn't I see them too?
I've been on both ends of the performance appraisal spectrum; from ultra formal annual appraisals to nada.

Each and every time, the biggest predictor of a successful outcome was how well I was prepared. If i could articulate in a concrete, detailed way how much value I'd added.

It's not easy to do this. It takes time and effort to prepare. I used to search old emails, IMs, run user metrics, check old Microsoft Project charts, ask coworkers, reread all appraisals. [Shameless plug incoming] That's one of the reasons i built JobRudder [1] to help me keep track of all that stuff.

One other constant among the decades worth of performance appraisals. They're very messy. Feelings, first impressions, unconscious biases, stereotypes, cliques, politics etc etc etc. It's not particularly data driven or even objective. Be prepared.

[1] https://jobrudder.com
Oh this is really nice! I've used pexpect (and pxssh) extensively along with expect in a previous lifetime. I'd always meant to write an "autopexpect" or "autopxssh" and never did.

Thanks!
That only works if you run the tests often. Writing them is less important than running bits of your program often enough to discover how it really works.
At my last job a candidate was hired after having done their interview by moving their mouth on camera while someone off screen was actually talking. I believe they did the spin the computer around thing too, no system is foolproof
Cloud convenience is killing the open source database
> It's removing a great deal of value from one's share. That value is being able to vote. I'm not a FB shareholder but if they had removed my voting power (or rather made it a 1/3 of what it was) I'd want compensation and then I'd sell my shares.

Fully agree.

> This sort of crap is propagating a big issue: the separation of management and control from ownership of companies. It invites irresponsibility and selfishness because the cost of such to management is continuously decreasing. While the owners (shareholders) are the ones to pay the real price for their actions.

This is a non-issue if your point 1 in upheld. I am happy to own FB shares without voting rights if I am compensated for giving up those rights upfront. I would know that my shares mean no control on the company and hence I value them less over some other company's shares where I have got voting rights keeping everything else same.
To inject numbers into the discussion: my homeowners insurance is $965 and earthquake is $1220. More than doubling the yearly bill to be sure, but it's easy to justify given bay area real estate prices.
It's probably not the right phrasing. In both cases it seems like the idea was to show you a bunch of things that you think you would want out of the experience. The recruiter then focuses on those abstract ideals that you rate highly and tries to paint a story of how what they're selling will help you obtain those ideals. To me it was pretty overt manipulation. Whether or not you end up fulfilling those ideals is an open question, so whether or not they can be considered "empty promises" is probably in the eye of the beholder. In both cases the potential downside is minimized.

I would prefer military recruitment to focus on the highest integrity rather than the most recruits. I don't have much of a position about this particular tactic, but I do see these two issues as morally linked and I am interested in others' perspective and analysis of the matter.
I tried the conversion to Emacs using Spacemacs, but it repeatedly froze up on me, something deep inside locked in a tight loop, turning my laptop into a space heater. No custom plugins, using only a smattering of Spacemacs provided modes.

I went back and tried it again some two major versions later, with the same problem. I eventually narrowed it down to the Go major mode, but I didn't have the perseverance to continue. Not when the same Go integrations were working just fine in Vim.

Oh, yeah, and it still bugs me that Evil mode treats C-] word boundaries differently than Emacs M-. (which actually matches how Vim's word boundaries work by default).
Yes, also, a lot of companies try to emulate Google's interview style for engineering.
Hmm, not sure - Trekkie made some good points regarding express permission. Perhaps it's just a bit of a loaded word, and if i care to use it without being dismissive, i must be careful.. well, not to be dismissive haha.

Appreciate your reply.
Teaching Programming
> If I start using chrome (even just browsing) it turns to 7 or so hours.

And if you start youtube (even 480p), it drops to 3 hours with Chrome, while still getting the 10 hours with Safari.
That's because most people don't have a clear idea of what the downside is if the NSA gets their information.

I don't have a clear idea of what the downside is if the NSA gets my information. So I haven't bothered to download Signal.

I don't mean this in the disparaging way that folks who use "If you have nothing to hide, you have nothing to worry about" do, but the truth is that most people assume that Facebook and Google know a huge amount about them already, and that if the NSA wants to find out about them, so what?

Maybe a better education campaign to convince those people who don't believe that they have anything to hide why they need apps like Signal would be an important first step.
Unless you have a fixed sized header which includes the size.

That's all that is needed to avoid people having to pull up a debugger to figure out why things are going bad in production.
Android owns close to 90% of the market.
Up until we finally get our collective heads out of our asses and implement something like Basic Income.
Then work to change your company's culture. Speak out against those doing what makes headlines here. It's not on us to make sure that Amazon employees are positively represented. It's on you to make sure that Amazon employees deserve to be positively represented.
> Maybe just try it before calling it a nightmare.

I spent the first ~5 years of my career writing code in this fashion. I actually agreed with most of the talk, but this section was a big sticking point with me.

Inlining functionality to large procedures has the disadvantage that you need to understand the entire procedure to know what the function does. It also has the disadvantage that you need to test the permutation of every branch within that function in order to fully test the function. That's an order of magnitude more work. Don't even get me started on his stance on TDD (and how correlating it to the failure of OOP makes no sense at all).

And, yes, I understand that there can be pros. I've made my stance on the cons very clear, and I strongly feel as though they outweigh the pros. Does it make the moving parts more obvious? Probably sometimes. If you can't come up with good names, and your functions are small enough to begin with, probably. Better naming -- which the presenter addresses -- IMO does a much better job solving this though. His solution is to stop trying to name things, mine is to spend more time coming up with better names.
I often try to explain the appeal of programming to the uninitiated by saying it's a bit like building Lego models but you have an almost infinite supply of blocks.
Bahama Banker System Scam Review
So many companies that legally required a server physically located in Canada are going to be running to AWS now, practically everyone touching health care, government, personal data, or even getting some level of government funding likely was obligated to keep things within Canadian borders.
What algorithm did Microsoft use to dither colour in early versions of Windows?
Thanks! This was definitely a labor of love :) Those are great suggestions - I'll put them on the todo list.
I know I'm in the minority but I tried out Windows Phone for a couple years and loved the interface and the experience. But the app store/vendor lock-in is its achilles heel and ultimately its undoing. When I bought my phone I was betting that more app developers would go HTML5 web apps (and break up the, but the opposite happened, and I felt like I was on the outside looking in with my iOS/Android friends.

I do feel a phone/PC convergence is inevitable, x86 emulation on ARM is the future, and web-based mobile apps will make a comeback, but that day seems far off.
It's really frustrating that articles like this never state if they are comparing inflation-adjusted numbers or not.
> The only situation where privacy and security don't matter a whole lot is if your code runs on airgapped devices with very limited tasks.

That used to be true for the software in cars, but it no longer is. The problems that result are not the fault of the original authors; that belongs to the people who decided to bridge the airgap without thinking through the consequences.
Real house prices are currently up 44% since the nineties. https://3.bp.blogspot.com/-OOfzxFgh8YE/WD2XUyaZeqI/AAAAAAAAp...

That is not accounted for by sq footage. Interest rates are a much more likely culprit.
Is that really that surprising? People born in the 1940's would have lived through a massive economic upswing post WW2. While their parents probably experience the Great Depression through their 30's.
> IMHO SASS covers almost all cases of CSS "at scale".

Absolutely right. I covered this in a blog post I wrote over a year ago (which still applies today): http://hugogiraudel.com/2015/06/18/styling-react-components-...
Open Data Structures: An Introduction – Pat Morin (pdf and source code)
> And tests that document how the code is supposed to work...

For me the most important word here is 'supposed'.

All the time I read documentation describe how code works step by step (what each 'if' does, but spelled out more verbose). And test that only test that a function does by mocking out everything else.

But I don't care reading what code does. I can see that by looking at the code. I want to know what the developer intended/expected the code to do, so I can validate it against what the code actually does.
Most of the time assumptions are made with those expectations. And with those expectations you have a much better idea why a trivial refactor of a piece of logic could unearth a massive 'undocumented feature'.
I'm starting to lose hope about losing wires. I use them whenever I can because wireless solutions tend to be spotty and eat lots of battery power. Are people optimistic that we'll ever truly get rid of wires?
This is very interesting, however, is it answering the right question? HIV and flu vaccine are specifically called out as having unusually high mutation rates. Apparently the difference is between RNA viruses and DNA viruses - the RNA ones have no "double checking" to repair errors, so have much higher mutation rates. The rates quoted here [1] put DNA viruses as similar to humans. I don't know if these phages are RNA or DNA ones (Wikipedia says there are phages of both types and while the T4 virus they have a picture of in the article appears to be DNA-based, they probably just chose it for its striking appearance).

More importantly - is mutation rate what we want to consider? Bacteria exchange DNA with each other through horizontal gene transfer and Wikipedia quotes that as the main means of transmitting antibacterial resistance, for example [2], even across species (to the extent that bacterial species are even well-defined). I'm not sure how to make the comparison with that to viral mutation rates. This [3] source gives the following interesting, but imprecise, quote:

> This antagonistic coevolution results from the constant emergence of countermeasures by which bacteria resist phages, while phages, mutating at a more rapid rate than their prey, find means to overcome this resistance.

The paper it cites [4], definitely shows phage evolution alongside bacteria evolving counter-measures. So I think that's enough to answer the original question posed, though the question of "which is evolving faster" is harder to answer and probably isn't very well-posed.

That all said, I know nothing about this field and would be happy for some better insight.

[1] http://www.nature.com/nrmicro/journal/v11/n5/box/nrmicro3003...
[2] https://en.wikipedia.org/wiki/Horizontal_gene_transfer
[3] http://cid.oxfordjournals.org/content/48/8/1096.full
[4] http://rspb.royalsocietypublishing.org/content/royprsb/269/1...
That could be the case, it was hard for me to tell. Nonetheless it seems like a bad practice regardless:

Person A with an i7 buys the game. Talks about the great features to Person B. Person B, with an i5, decides to buy to the game but can't find the features. What happened? Neither person has any idea.
CRC doesn't protect against malicious activity, and HMAC requires key distribution or exchange (way more overhead than a simple in-house protocol warrants). True, a CRC protects against accidental crap like this service regularly exploding, but in a case like this where the client can't talk to the server properly, letting the client explode is probably a good outcome.
> Plenty of things I learned in primary school, high school and in my Engineering degree are not applicable to my day job but did make me a more educated person.

It doesn't matter. There must be something that can be taught to you and later used to grade you. Whether it's maths or arts or history of the good deeds of Comrade Stalin, it doesn't matter. What matters is the series of filters, at the end of which is entering the job market. Even the parents don't care what you're being taught - only that you are good at it, so that you can go to better higher-level schools, and get a better diploma at the end. Only few parents and teachers with ideals give a shit about the actual content of the education material...

As for job usefulness, 90% of stuff you'll have to learn on the job anyway.
You must be exaggerating or living in New York/San Fran.

Here in the midwest is is very reasonable for a top 20% income for 30 yr old age bracket to have only one parent work. If you're top 1% you can definitely afford a house in the suburbs and have one parent stay home.
OVH has a monster data center there too. The region has very cheap power due to a lot of hydroelectric available.
This sounds like it will lead to annoying arbitrary limits.

You'll be just as angry when you find out some application only lets you send it messages up to 1 MB. What a stupid restriction, you'll think!
Whew, in places near where I grew up, those are the prices for land by the acre
Man, I was so happy when I discovered your library. It's how I always felt subprocess should be. With split('\n') and basic string parsing there's little that can't be automated with sh. Keep up the good work!
Here's savings rate data: https://fred.stlouisfed.org/series/PSAVERT

Note that this is savings rate net of taxes. It has been on a mostly steady decline since it has been calculated, with some spikes and a leveling out slightly higher than the rate before the last recession.
You also have to watch for savings going up and credit going down, to reflect people who are sick of being in debt and shying away from it wherever possible.
Hard to describe. I'm as uncomfortable with the word as I am uncomfortable being referred to as a "resource" which is also used commonly in business. Personal pet peeve, probably not shared by many.
EDIT: Report is exactly a month to the day old, this was patched a while ago.

Time to push buttons on the ol' WSUS server. Thanks for the heads up.
I think you are looking for a payment processor.

If so, Stripe is great, and it appears to have mobile libs as well:

https://stripe.com/docs/mobile
I'm too much of a noob to know what I'm talking about but so far this series of talks has convinced me FP with strong typing brings something new to the table in the same way that say C brings something over assembly and s expressions in lisp bring something over non s expression languages.

http://fsharpforfunandprofit.com/

In particular this example convinced me I'm missing out on something

http://fsharpforfunandprofit.com/posts/designing-for-correct...
You're absolutely right that you can do it with pure CSS. But doing a pure CSS solution usually involves some CSS methodology that you need to apply extremely strictly and consistently, which honestly can be a challenge, especially in large apps. Sometimes it's easier to just throw in a new selector at the end of your stylesheet and "make it work". Without discipline, things can get messy pretty quick.

The point of CSS-in-JS and CSS modules isn't that it's necessary, just that it makes avoiding these sorts of problems much easier.
personal compute mesh.
>> I am in the top 1% income earners for my generation and do not even come close to this.

what? how is that even possible? what are your debts? how long have you been in the top 1%? something doesnt add up.

most of the people I know are making way more than their parents, and are able to move out of big metro areas and live in the suburbs just fine.
Every once in a while I find I need to pull out Expect and it's like using an old friend.
FYI chrome on macOS supports handoff too
An FYI regarding "In my experience, it's often faster than Chrome"...

I found during development that Safari will start retrieving suggested URLs even before you finish typing them, so if I'm going to 'news.ycombinator.com', it makes the request when I hit 'n', and by the time I hit a few more characters and enter a few hundred milliseconds later, the request is already complete.
My point is that you likely learned programming by learning the basics of file I/O in C or Python or something similar. You didn't sit down and learn all about automata theory etc. first. You need the context of what C.S. is used for before these things make sense to you, so you start by learning a bit of programming. Since you must be definition have A first language, why not pick one that is most likely to be used?
> In the general case waiting for a syscall to return will block the system thread and no other green thread is going to be able to run on it.

The runtime will migrate pending green thread actions to other OS threads. I don't remember what happens if you have as many blocked FFI calls as OS threads. The runtime might spawn more if you're using RTS -N. If you have RTS -Nn, where n is a number, I imagine it does block.
Based on what I've heard, recruiters may say you're guaranteed for whatever particular job you want, but in the end that has zero impact on your MOS.
BTW this is visually close to the sort of thing I'm looking for, but the feature seems moribund (though I'm following up with them): http://cognitiveseo.com/blog/2228/visual-link-explorer-visua...
Perhaps the best solution would be to avoid sanity checking at all, and to instead read into a dynamically-expanding buffer. If the server really does send down 1.2 GB, you'll be ready for it, but a malicious attacker trying to DoS you won't do damage by sending "1GB" followed by a connection close.
A carbon fee system takes care of most of this.

The guy that commutes in a coal rolling SUV pays more so he stops and buys an EV pickup instead.

The coal burning power station that he charges it with pays more so they get replaced with gas or solar or wind.

The company that ships the panels chooses between different shipping methods based on price, which includes a cost of carbon.

And so on. The magic of free markets (I'll end this sentence early since we're not doing politics this week.
Lua 5.3 Bytecode Reference/Guide
You get a lot of leeway. There is basically a rebuttable presumption you are acting in the companies best interest. But I wonder if that presumption should be weakened in the cases where the CEO has dictatorial powers over the company without a corresponding share of equity.
How can you be sure that data transmitting between the centre and user in Canada doesn't leave Canadian borders?
Azure has had two Canadian data centers for half a year now if I'm not mistaken, so it's not like companies didn't have options, not even counting small Canadian providers that I'm sure also have offerings for people who need them.
The structure of ASCII itself is very useful for this, if you know the ordinal positions of letters in the alphabet.

Uppercase letters are 0x40 + position of the letter in the alphabet, so "E", being the 5th letter, is 45, "I", being the 9th letter, is 49, and so on.

Lowercase letters are 0x60 + position of the letter in the alphabet, so "e" is 65, "i" is 69, and so on.

That also means that you can swap case by flipping a single bit (XOR with 0x20).

Finally, digits are 0x30 + the digit's numeric value (including 0), so the digit "5" is 35.

(All of these properties were very intentional on the part of ASCII's creators.)
I know this is not formally an ordered list, but it looks cart-before-the-horse-ish to have catching future regressions before verifying that it works in the first place. (This comment is effectively a reply to the OC's claim that we don't test to verify.)
Perhaps. But 1) you can rent that book for a fraction of the price (Amazon currently shows it for ~$60) and 2) just because students have to pay for expensive books doesn't mean they have extra money to spend on a second computer.
Glad to hear it! It's very raw, so please do contribute if you can.
I know perfectly well that a fear of flying is often an irrational, though very real, fear for many people. But it's exactly the irrational nature of it that boggles my mind: they should be terrified of driving, but they aren't.

I'm way more comfortable flying than driving.
The page banner says all books, does it include PDFs as well?
I've not used spacemacs, but I use emacs on Windows. What issues have you faced, in particular? I typically just download the latest build from the project itself, uncompress it, and run "runemacs.exe".

The hardest part is figuring out where emacs thinks your home directory is (for me it's c:\users\<username>\appdata\roaming) to place your config files in (well, I have a config file there that loads my actual config file in a more sane location).