skysight-inc/HackerNews huggingface dataset:
A checklist can help. (he says, and then does a mental one because there isn't one nearby).

What I look for is:

1) What's the problem being solved? Does this look like a reasonable approach? Is the code pythonic (Obv: for python)?

2) What edge cases are there? Does this handle the important ones? Does it punt properly on the less important ones?

3) Look for a short list of bug classes that have come up in the project before that have lead to emergency patches. E.g. Decrefing, Checking mallocs, any exec sorts of things. (This is a clear application for a checklist)

4) Are there tests/documentation/other required fixtures and stuff?

5) Does the code generally match the style of the project?

1000) Code formating and whitespace and line wrapping and all that bikeshedding stuff.

Feel free to short circuit anywhere once it becomes clear that there's more work required.
When I was getting my pilot's license, multiple times I started up without unchaining the tail. I joked about it with another instructor, and he basically said that it had literally never happened to him and that I should be doing a final walk around. I'd done even more embarrassing things, sitting at the runway ready to go and the tower tells me my baggage door is open.

Since making that final walk around a habit, nothing. I started doing final everythings, one last check of the radios, one last check of the instruments, etc, etc. It's amazing how many times you pick up on something so obvious that is wrong.

The key is to change your mindset before doing the final check. Acknowledge you are done, go get a tea, and go through the motions.

Somethings I do related to code.

Use `git add -p` to go through changes one by one. Remove stuff that shouldn't be there.

Do a self code review before submitting the code for others to review.

Obvious one, but always run tests.

For what it's worth, I find the same things with maths. I've been working on SLAM systems, so lots of differential geometry and matrix calculus. I'll spend a morning with my notebook trying to figure something out, go to lunch, then come back and go over what I've done.

In university I was horrible at maths exams, because like you I knew everything but made so many stupid mistakes. I think the problem was that during an exam, I could never dial down my mindset from OMG I need to triple check everything right now!
Man I was thinking the exact same thing. By nature these folks at the NSA CAN'T be open nor honest.
> Personally, I'd rather car insurance were tailored as individually as possible.

It exists. It is called self-insurance where the number of insured parties is 1.
I use the Open Source Hardware colorhug and it works with DisplayCAL

http://www.hughski.com/

If you are also printing than you need to spend more money on a calibrator that works with both screens and printers.

I can't tell you how huge the difference can be even on high end monitors. I had a friend that swore all Macs were calibrated and he got mad at me when I laughed. After we did the calibration he realized how wrong he was.

Also buy this: SpyderCHECKR 24 and use it as the first picture at any new site. Color correction within 10 seconds.

https://www.amazon.com/dp/B00LPS46TW/ref=wl_it_dp_o_pC_nS_tt...
I am in exact this situation as well and I did give notice. Thought we have left this era behind years ago, seems I was wrong.
$PHP = ;
> How to make <i>fewer</i> mistakes.

How to make fewer mistakes.
Not to mention that right now, and for the relatively foreseeable future, the $700 MSRP space is actually the $1400 space. Barring some major development shift in crypto currencies or them seriously ramping up manufacturing in a hurry, I don't see that changing until they start bringing out the mining-centric GPUs they've been touting. And even then who knows what kind of supply of those there will be.
BTW, they may be referring to what, for Americans, is 'extended family' ; that is, not your spouse and kids, but your brothers, parents, uncles etc :)

It is great to have your whole family around; they will probably not move with you :)
So the use case where you actually want that exact syntax is

"if a == someValue or someVariableIsNotNull"
> convolutional neural network object recognition

I find it really strange how a neural network, which is supposed to be a set of elements operating in the continuous domain, is so vulnerable to what looks like small-amplitude noise.
Programming for Computations: An Introduction to Numerical Simulations
Milton's depiction of Satan is really against the established western tradition in many ways...

For instance, in Homer's The Odyssey, someone as great as Achilles would say,

By god, I’d rather slave on earth for another man
some dirt-poor tenant farmer who scrapes to keep alive
than rule down here over all the breathless dead.

But in a similar situation in Paradise Lost, Satan says,

we shall be free; the Almighty hath not built
Here for his envy, will not drive us hence:
Here we may reign secure, and in my choice
to reign is worth ambition though in Hell:
Better to reign in Hell, than serve in Heaven.

If resolution, perseverance and a heart for liberty are some of the most herioc characters desired in our human world, then in that, Milton's Satan is even more heroic than Achilles...

[update: edited the line form for Milton's poem]
Ha! That's good engineers. Senior engineers write an ambitious unusable framework, get promoted and move on to the next project. So the article's advice is ironically spot on.
Considering drivers are legally required to have insurance, the insurers should at minimum be legally required to provide a readable itemized explanation for their cost decision. I.e. this accident was factored in this much, your email domain was factored in this much, your race was factored in this much, etc. In other words, they should be required to explain the full details of whatever model they are using.

Also potentially the actual variables allowed in this computation should be white-listed by regulators. I.e. you can't use email domains because they were never allowed in the first place.

All of this could be considered "anti-innovation" or whatever, but I see it as the minimal consumer protection that should be provided for a service that drivers may *not skip.
The US didn't think of itself as a country until after the civil war. Even once the Federal government took power, individuals aligned more with their state than their State.

As to the EU having a military? They're getting there with the US finally starting to get tired of defending the region with little respect. https://www.wikitribune.com/story/2017/11/15/european_union/...
Logically they only have to remove "honesty"
Well, if the NYT or The Guardian aren't mainstream, then what is? And they were both against the outcome of those two situations..
Don’t worry about downvotes; oppression by the status quo for random and varying reasons is a discriminatory mechanism to make our words invisible. Keep commenting!
An old co-worker of mine used to work for a company that made flight simulators. He said his manager would stand in the front foyer on the 2nd floor and make notes of who arrived after 9:00am.
I wonder if there are fewer regulations on food processing? Ie maybe a restaurant producing a meal needs to be regulated. But what if someone sells chopped onions and other prep work?
I'm implying that exercising illiquid options is frequently a bad idea. Exactly because of the tax consequences and risk.
> what can only be called a bribe

Well it could be called extortion. Apple could well have initiated the conversation, or placed such financial pressure on Qualcomm in terms of price reductions that they considered this was the only financially stable way of giving them what they want. It's not like Qualcomm could bully Apple into much of anything. If push came to shove that would just result in a hostile takeover.

In the end Qualcomm failed with faulty lawyering, as there should have been a carveout for the EU, and none of this would have mattered.

Please note: I am not saying it was extortion, just that there is a case that needs to be made to rule that out since the players are not unsophisticated. I think it is ridiculous that a company as large and well-informed as Apple gets a total pass when they obviously benefited significantly from the deal (or they would not have made it). It also seems a bit myopic to see every large company with sector dominance as in a position of power and therefore as the aggressor. There should be codification for market-dominant consumers as well.
Is Microsoft relying on Intel & AMD microcode to mitigate Spectre, or could they also use the approach now being proposed by the Linux kernel developers? If they don’t, will Windows performance be worse than Linux on the same hardware, for a comparable workload?
I can hear mine but only when I’m congested. My wife never has understood, but it’s my first signal that I have inflammation and some type of illness is forthcoming.
> a lot of restaurants are changing out their taps of beers that are universally liked for craft beers.

I've noticed this too at a few of the bars I frequent, and there seem to be two commonly cited reasons for it:

[1] People are boycotting Anheuser-Busch because they believe that the SuperBowl ad they aired in SBLI was anti-Trump, and

[2] More commonly, people are boycotting Anheuser-Busch because of their attempts to buy up craft breweries that threaten their business, or anti-competitively strongarm the ones they can't buy by abusing the power they have through the three-tier distribution system.

More rarely, I've heard cases in which Busch (or their distributors) attempted to strong arm bars who cleared out a couple taps to make room for craft brewers by threatening their supply of their more popular products, to which the bar owners just decided to quit carrying them altogether.

[1] - http://fortune.com/2017/02/05/budweiser-super-bowl-commercia...

[2] - https://www.bostonglobe.com/business/2017/05/09/budweiser-ow...

Edit: s/immigration/Trump/
Thanks for the input - though I feel like Shallan is just symptomatic of a larger problem, I could also be wrong and I will give him the benefit of the doubt and keep reading SA.
It's ironic that you quote Ken there, because he is definitely in the camera nut camp.

His entire site is dedicated to cameras and lenses, virtually nothing on actually composing or photographic technique. Most of his photos are generic family holiday snaps, particularly his newer photos.
In that case Apple is still free to just buy a few percent of the chips they need from a different supplier, use those as well in production and in the worst case shelve the surplus chips from the Qualcomm supply agreement (if the quantities set in the agreement perfectly match the needs of Apple at that moment).

Whether this makes economic sense depends on whether savings_due_to_discount - (price_of_chips_from_second_supplier + lost_value_of_surplus_chips) works out for Apple. That may be a negative number, which means that Apple has these costs for getting the majority of chips from Qualcomm at the super-cheap discount while still having a second supplier actively used in production. But these costs may still be worth the risk mitigation that occurs when having a second supplier in the chain. Especially for Apple, for which lost revenue due to supply constraints can quickly eat up any marginal savings on one component in the supply chain.

The point is: it is an economic decision, which is exactly what it should be, and the decision can be made and re-evaluated at any time. If you exclude second suppliers by contract, it's only an economic decision when the contract is signed, after that the economic decision becomes a non-decision, even if the economic rationale changes (for example because a competitor became better). And that is exactly why this contract clause is anti-competitive and was deemed illegal.
Who knows, maybe they were. But they could interpret them differently. A kind of "alternative honesty" and "alternative openness".
Ahh, thank you. That is the stat I was referring to, I misremembered the number. I would edit it, but it won't seem to let me.
Because it has not been shown that any indicator of causation of insurance risk due to race is anything other than a correlated symptom of other factors, where many properly peer-reviewed studies do seem to show that women, particularly within certain age and economic groups, are slightly safer drivers by an amount that is not small enough to be random noise in the stats. The effect is general enough for it to be defensible to say it is at least in part due to gender. Of course, other properties such as age, location, and profession, are much more significant factors.

While some studies show that it is true that Mexicans/African-Americans/insert-other-group-here are a higher insurance risk due to crime and to a smaller extent due to accidents, this is not because of their ethnic background but because of other perhaps correlated but not causally linked factors - they are more likely to live in poor areas with higher crime rates and not be able to afford better security measures. Being Mexican/black/other is not a causal factor despite there being some correlation, so it is not fair to discriminate based on that property, any discrimination should be based upon the causal factors, rather than the lazy correlation, to avoid being unfair to those said factors do not apply to.

(FYI: male here, with many an anecdotal tale to support us being worse drivers generally, if only by a little bit)

lt;cbatr: correlation does not imply causation. It is not fair to discriminate based on factors that are merely correlated with the risk, but it is fair to discriminate based on factors that can be shown to be causally related to the insurance risk.

Of course in the UK (and the EU more generally?) it has gone the other way: insurance companies were forced to stop discriminating by gender which means they can no longer give women lower premiums. Did they lower male premiums at the same time to make up the difference, or just bump female premiums up and pocket the extra? Go on, guess...
You're applying to the wrong companies.
Do you Watir Webdriver, much nicer Ruby wrapper, or straight up Selenium?
Matlab Simulink, typically (maaybe LabView, but not really)
I don't know about Mahapatra, but Stuccio is a denizen of this very site: https://news.ycombinator.com/user?id=yummyfajitas
Color calibration is a chain, you need to know if your camera is calibrated too, so you need at least standardized targets, finding random objects of known color that cover the whole color space sufficiently is not trival, only then you could use your calibrated camera to measure a displayed target.

But I wouldn't cut corners there and just get a calibration device for about $100 plus a standard color calibration target. Certainly more sensible investment, then the difference between a 2k and 6k rig.
Lego and Microsoft Make More Maker Plans for Kids and Teachers
Are these tube homes the answer to Hong Kong's housing problem?
Agreed. We learn by making mistakes. Also you have only 3 years experience. It takes more like 10 years to become a "good" developer in my opinion. And even they still make mistakes, they are just less obvious ones.
No, people leave companies too. Using my throwaway account because I don't want my name attached to this.

I went contract-to-hire at my current job. When it came time to come on full-time, the offer they made was far too low to accept. The owner of the company made a big deal out of the bonus and at the time I believed him. I held out for $5k more before accepting.

Fast forward a year later and I'm really looking forward to this bonus. It was 5% of my salary, basically an extra paycheck. I was expecting at least three times that because of what he said during the negotiation. I started looking that day and am interviewing with two companies.

I've since realized that I just don't want to work for consultants anymore. You're being farmed out and your labor is being arbitraged. This incentivizes them to dick you on comp. I know in his mind it's just business, but I don't want that in my life anymore.

So while the thesis of this article may hold for a certain segment of the labor market, it certainly doesn't hold for all of them. Some segments just suck. Conflicts of interest in these segments invariably pit line workers against management and no amount of manager cordialness or professionalism will prevent turnover.

Sure there are a few workplaces that have ironed out conflicts of interest and so can attract the cream of the crop, these places can build nice engineer caves and then personal relationships rather than endemic conflicts of interest become the dominant cultural factor that drives turnover. But these guys trying to tell the rest of the world's managers how to run a shop is just profoundly naive.
Find another developer like and try to find mistakes in his code while he tries to find mistakes in your code. Trying to find mistakes is not the same mindset as trying to produce good code. Maybe you can go as far as writing the unit test of each other. I have used this trick mainly to test GUI.
Not at all and it's now how I view senior engineers. True senior engineers though do tend to find the right abstractions more often than other engineers but it doesn't mean they can't make huge mistakes with bigger implications.

My thoughts are also on actual senior engineers, not 2 years of experience etc.
Zstandard: Fast real-time compression algorithm from Facebook Opensource
It's a shame to have lost such a literary great. His work will most definitely live on.
Doubt you will find many such reporters in America remaining
It's common knowledge that AV programs scan files inside compressed archives. Obviously you need to run the decompression code to do that.
WordPress Web Design Trends 2018
Meta-programming in Crystal exists through Macros.
RCE vulnerability in Electron
How Google's flourishing social network Orkut killed itself
This "oh crap" effect is one of the reasons I like "self review" as the first step in a code review process.

That is, go over the diff and add commentary explaining to the reviewer why you made particular changes (not explaining what the changes do, that should be in comments in the source).
Well there's a can of worms!

Thoughts based on experience:

Asymmetric information situation: newly hired smart engineer says that new subsystem should be written in <language-du-jour>. He says it is so much better than <dinosaur-languages>. Everyone on HN says it is so much better. You however, haven't had the time to try it out on a medium sized project to determine if this is true or the usual new language hype. New Engineer seems to know plenty about it and is insistent. Do you tell them no, or do you let them run? Well now you have N+1 languages. Iterate.

Some engineer in your organization develops something that turns out to be useful, as a back-burner project without official approval. They do that in whatever language they think will look good on their resume. Do you pay to have that thing re-written in one of the house languages or do you let it ride and add it to the mix. N+1 languages. Iterate.

And...in general good luck with not "allowing this" in the context of software developers. Cat herding and all that.
While I believe that it is getting harder to raise pre-seed and seed money, I also see many initiatives to lower the hurdle again. On the one hand, there are announcements like https://www.spearhead.co that aim to empower business angels, on the other hand there are many student investment funds that close the pre-seed funding gap, at least for students. I think other initiatives will follow.

Shameless plug: we're building Germany's first student-run VC to fix this problem for students: http://firstmomentum.vc
People upset about the ad are upset because they think it is anti-Trump.

It's overtly positive about immigration.
* receive email from GitHub / git-send-email / whatever

* Maildir/new is queue

* more emails in the same thread bump priority

* emails marked unread are outstanding PRs
Your numbers seem unrealistically low for the types of jobs that low income contract workers usually have. For a job like software development where very few types of injuries are likely to occur on the job and where very few types of injuries would prevent you from performing the job the rates are low. For a higher risk job, like driving the rates will be higher. For instance, in Florida a driver's worker's comp will cost almost ten times the number you stated[1].

[1] https://www.floridawc.com/workerscompensation/policy/rates/
Within the cosmere universe, there is a one off novella that Sanderson wrote called "The Emperor's Soul". It is quite good, and it won a Hugo award.

I very much disagree about his worlds lacking authenticity. It seems you have some strange suspension of disbelief resulting from Shallan's dialogue (which I find is true to her character and upbringing). I agree some of the writing for dialogue is "off", but I feel much of this results from Sanderson's pace of writing.
I am pretty sure that the Apple lawyers were absolutely expecting this outcome, which is probably the reason why they signed such a contract. The risk was mostly on Qualcomm's side, as they were the ones writing the shady contract, while Apple would benefit from cheap components, which is a safe benefit that they would not lose in case the shady parts of the contract would come to light and provoke law enforcement to step in.

Most likely they didn't yet plan to source the LTE chips from a second supplier at the time they signed the contract, so that limit didn't affect them. Nowadays they do have multiple sources, which is probably why they did not prolong the contract any further after 2016 - because having multiple sources was worth more to them than having this discount.
I think if this person finds the quippy dialogue in Oathbringer off-putting, then they are going to absolutely hate Reckoners.
The headline is a lie. All students were given more time, in an effort to reduce the ratio of men to women getting the highest grade.
The only way to prevent Facebook and Twitter from strangling Free Speech and manipulating the public is by using an open source protocol.

This is true of search as well. We shouldn't allow Google to monopolize the flow of information. They've proven they cannot be trusted.
AFAIK they could be barred from selling in the EU.
I think half the reason companies can't find talent is: 1. They wouldn't know it if it hit them in the face. 2. They actively repel talent by their interviewing practices. 3. They refuse to learn form this mistake. Since it couldn't possibly be them (they are infallible of course), it must be the talent.
At least they're being honest
> Furthermore, any AMD high performance GPU will not be obtainable if the cryptocurrency mining market stays like it is

Isn't that a good thing from AMD's perspective? "People can't get our GPUs because they're sold out everywhere" seems like a nice problem to have.
The Whats, Whys and Hows of Digital Customer Experience
Funnily enough, I like Intercom's hiring process (as it appears on paper).
But...my real life experience was quite different.

Interviewed by a precocious child who didn't have interview skills.
Well yes, but that's only a fine, I'm sure there are other legal means (i.e. voiding business license) for those who refuse to comply with a law continuously.
Considering that both Google and Facebook are heavily invested in this scene with Angular and React, there's not much to imagine. They're both fine with lots of licenses.