skysight-inc/HackerNews huggingface dataset:
I remember seeing the link in the original blog post, so I knew it was a real thing, but I'm extremely skeptical of the theory that it has anything to do with anything.

The simple fact is that the FAA doesn't screen battery sizes. If you brought something the size of a car battery, they'd probably not allow it, but the difference between a 95WHr and a 140WHr laptop battery is something they're neither interested in nor capable of actively checking. Apple put a small battery in the laptop because it's more important to them to have a thin light laptop than it is to have more battery life. This random person unaffiliated with Apple then decided with no evidence that it was because of some basically unknown FAA document. That's all I meant.
You're missing several stages in how the creative accounting works, and each of those stages are, separately, probably good things, which is why they exist in the first place.

Note, for example, that the UK and Germany and France all have laws that make it okay to avoid paying taxes by claiming (truthfully) that you're taxed in Ireland, according to the laws of tax residency of those respective countries.

But yes, it's an undesirable-to-collective-civilization loophole, and it'd be nice for it to be closed. I'd love for Apple to be compelled to pay more taxes. Yes yes yes! I'm surprised that the EU is making so much headway in this round, but if they fail in this round, I resoundingly hope they pass some new laws, such that they can win in the future.

The "head office" company isn't stateless, btw, and btw it technically has an office (usually a P.O. Box) and some people do work for it. There are maybe a dozen companies involved, including the actual-work-doing companies in the UK and Germany and France, and every one of those companies have an HQ in a state. I think that the "head office" is even located legally in Ireland.
Admittedly I jumped straight to the comments on this one, but I have to say that I think there is a good financial, logistical incentive for following your "passion" in the modern world, because often the sort of job that you're not passionate about at all is the sort of job that doesn't pay well. Quite frankly if you want to make decent money, you will need to do something creative enough to differentiate yourself in the job market.
I used to host some stuff on nearlyfreespeech. I liked the idea in principle, but keeping my account topped up and them charging me extra fees just to pay them became annoying. I switched to Amazon S3 and couldn't be happier. It was harder to setup but worth it.
I got caught by this a couple of years ago, but only because I was using a JSON field and as far as I knew at the time, to modify a JSON value I had to take it out, modify it and write it back. The mistake was ever choosing to use a JSON field for data that was changing rapidly, and being updated from multiple sources. When I detected the issue, I added a FOR UPDATE to my SELECT.

It made me realize though the incredible safety I'd come to take for granted with a more traditional relational approach. Prior to that I would have had a separate table for the data in that JSON field, with each object within it, represented by its own row. Given my scenario that would have been perfectly safe, because the latest update to a specific object was always the right one.

The original design choice was perceived as "easier".
This was definitely my biggest negative for us. We have a bunch of devices, and my kids want to play, but I'm just not shelling out $9.99 for each device.
I hate this shit. Rebasing always causes conflicts and dealing with them is such a giant pain. I get that in this case the designer really brought the pain on themselves but I wish using git didn't require this sort of surgery periodically, which in my experience it does.
Github bitbucket (2008) and Kiln (2009) both started as Hg. Git hadn't yet won when GitHub started.
They don't create jobs, so they should not be taxed? What a surprising statement! It's possible to make a point that a company that creates jobs should not be taxed (although I think that's wrong, too).
I have used and recommend [nvidia-docker](https://github.com/NVIDIA/nvidia-docker) for exploration (at least for those with a docker-capable kernel as the base OS).
Facebook’s secretive censorship guidelines allegedly leaked in report
chrome, firefox, and, recently, opera - all do sync your bookmarks across devices/OSes. Do not know about safari, since I do not use Apple products.
Why do people, such as this author, treat the world as this dichotomy of passion and work? Isn't wanting to be great at whatever you do a passion? Isn't wanting to be challenged and learning new things a passion? I've worked (literally) in the shit, and now I'm writing this on a $2,500 Mac a company bought for me, while sitting at a desk. I think the lesson us millennials are failing to learn is that you can pursue your passion, but find a way to do so that is valuable to others.

Want to end world hunger? Okay, quit whining about the 1%, get to work, and create an organization that can make that happen. If it truly was your passion, there shouldn't be anything stopping you from accomplishing it. It seems, then, that the "passion" is really just an excuse for not trying.
Just a good artist with a pencil, maybe?

You can see more of her work at http://www.rebeccakonte.com.
Porn block bill on new PCs to ‘fight trafficking’ – unless you pay $20
I just set up CUDA and cudnn for python3 and tensorflow last night on my machine - with that same card. That card should have 640 cuda cores; every little bit counts, imho. I'm not really sure what the difference will be compared to what I was doing before, but anything has to be better than the quad-core cpu I'm currently using (some older AMD thing).
But if you have the probability/gambling side down, your problem isn't that.

Your issue is how to spend less on marketing and entertainment than what you get from winnings, because there's competing casinos as well.

I suspect what's happened is there's some guy in the casino who actually does know how the numbers work, they just get overruled by an eager manager who is optimizing a different schedule.
Hey there! CEO of SwiftGift here.

We've gone mobile first because we are all about convenience. From your phone you can tap straight into your contacts and select a recipient with 2 taps. On browser you would need to look up a number (most people don't remember them off by heart) and then manually type it in...

We may well add a website at a future date but for now all our resources are focused on mobile: iOS App (voted by Apple "Best Gift App 2016), as well as iMessage App and Android App :)

On pricing - we are an aggregator and mostly resell items from large retailers like Amazon. Our commission comes from their margin so our pricing is very competitive :)

We do hope you will invest the time to install the free App and take a look around :)
Rather, I believe the correct interpretation is the opposite. The US President is not demonstrating the level of maturity and professionalism we expect from the leader of the free world. We're not playing small ball here.
Brainwashing program of citizens has been successful. They are unaware its tool to oppress political opponents, activists, journalists, whistle blowers and undesirables.
Very impressive results.
I drive mostly manual, because of the price difference on car prices here in Europe.
See the section on "Sexually obscene content" in the GitHub Community Guidelines (https://help.github.com/articles/github-community-guidelines...). We purposely chose the word "obscene" and not "explicit" to allow for explicit but educational, scientific, or artistic content like this.
5 Hacks to Understand Content Marketing Strategy
> It's stupidly simple at the end of the day

That reminds me a joke. On a particularly convoluted math lecture the professor writes on the whiteboard and explains at the same time: "from here we can state that, obviously..." He suddenly stops, slowly turns the head down, keeps mumbling "so we can obviously...". He slowly walks in the room, trying to catch the thought, then leaves the room... Some minutes pass. Then he comes back, with head up, widely open eyes and confidently continues - "Yes, this is completely obvious - so from here we can easily get the following conclusion."

Git has a lot of nice explanations. However it's either a particularly edgy case, or all those great explanations somehow fail to easily conduct those core "stupidly simple" ideas forward to actual Git beginners. At least to some of those beginners - not an insignificant number.
For people on the fence about reading what is kind of a long story, at least read as far as the first '• • • •', so you have an idea of what it's about.
It's a very small price to pay! I can't believe how many people hate this practice because of the merge commits. It's extremely useful and not doing it makes git usage that much worse.
I hated the way the Dweck's explanations really didn't clarify what it is either. The Growth Mindset is making sure students understand that their brains are plastic and that we can grow smarter through effort. This understanding has been shown to improve student efforts and get better academic results.

The old way of doing things was to tell kids they are "smart" or "gifted," which resulted in many of those students simply giving up when they failed because smart and gifted are static qualities. So when a smart or gifted child fails, they simply weren't smart or gifted enough. I know many "gifted" students who never amounted to anything because they failed to work at life and simply expected their "gift" to bring them everything.

Based on this article, the "false growth mindset" appears to be rewarding effort for effort's sake. "Effort" is replacing "gifted" as being associated with inevitable success. Just because you put effort into something doesn't mean you will succeed, and we must be careful not to, as Dweck provides as example, praise a student who failed a test on their "effort." If a student fails, they should be motivated to work harder. I try to do this with my kids. When they fail, I do praise their effort, but I stress the fact that they must now put more effort in to overcome their failures.
Probably, but we really don't know
In my 20s I got my masters degree in poetry and taught literature. I was content with the work but had a programming hobby that was more creatively satisfying than teaching. I quit my job to follow my passion. Fast forward several years, and I'm still programming; I'm pretty good at it, and I really enjoy the work.

My passion was being creative, and I used to write poetry, but I found a way to express my creativity and make good money in programming (I truly find programming to be a transcendent creative process—much like writing poetry).

I, like many others, have had times when my oxen were in the ditch, and I had no choice but to work to get them out. Some folks are stuck in that place. But if you can, try to involve a little passion in your work and carve out a space where you can feel at least a little fulfilled at the end of a day.

P.S. I just read the author's bio, and coincidentally, it's not so different from my path, so flip a coin and take either person's advice—or neither person's advice.
I think people should see an endocrinologist and cardiologist before seeing a psychiatrist. A lot of real correctable health issues are hard to differentiate from depression, burnout, and can cause fatigue, anxiety etc.
The Lenovo Ideapad series, which is consumer-oriented, did have at one point pre-installed spyware compromising all https connections. And yes the level of imbecility involved in including something that broken was bewildering. The Thinkpad line being enterprise-oriented is sparred that kind of issues, but this remains a strike against Lenovo.

That being said the only things keeping me in the Thinkpad camp are the battery life (that's truly liberating, although a competitor will probably catch up with them) and the trackpoint (on that front no other brand comes close, and none seem interested in closing that gap).
But my experience with the X260 is so bad (keyboard leaving marks on the screen, screen bezel leaving marks on the palm-rest, picking up the laptop by the bottom left corner may disconnect the underlying HDD and crash the machine -- a defect known since the X240!) that I will probably forego Lenovo entirely in the future.

Dell XPS do have good press, but I've had multiple bad experiences with Dell across several generations, so much so that we taunt colleagues still stuck with that brand at the office ("so I see you've brought your hair-dryer today!").
> I said you were paid for your attention

I get payed for my attention in euros, after signing a contract or entering an agreement. Maybe that sounds silly to you, but that is how I roll.

I assume that you are implying that I have some moral obligation to the people publishing publicly accessible content. If you are not implying that, then we are all in agreement and there is nothing further to discuss. We both agree that ad blockers are fine, case closed.

If you are implying that, you are wrong. The WORLD WIDE WEB was not built on that premise and we were here before the marketeers and advertisers arrived. If the former manage to make some money while providing people with something they want, that's fine. I have nothing against honest business. But don't try to pretend that I have any obligation to do anything just because I accessed a resource that you made public. If you want to charge for your resource, name the price and make it private. Maybe I'll buy it. I buy books all the time. But it's not my fault or moral failing if your business model doesn't work.
I have to admit this line of thinking never really resonated with me, and it resonates even less as I get older. My goal in life is not to have minimum impact on my environment, and yes, that includes nature.

I think the nuance of the middle gets lost in these conversations. The right tends to think humans should have dominion over all (while ignoring the fact that we haven't "conquered" nature, and we have ample evidence of the carnage we cause when we think we have), and the left seems to take an Agent Smith view that we're a plague upon the planet and need to be contained, quarantined, and engineered until we no longer impact anything (while ignoring the fact that this flatly isn't possible, or even desirable).

So no, I do not believe that "we do damage to nature", because besides it being a nonsense statement, even the kernel of truth in it is wrong-headed in my opinion.
ok google...
Send an Instagram feed via iMessage
> My personal approach is to build up better and better datasets (simulated, some taken from open datasets like the Building Performance Database) to slowly but surely force some evidence into these discussions.

You'll fail using that approach. The NIMBYs don't make their decisions based on data. They make their opinions based on emotion. If you want to change their minds you need to appeal to their emotions. Run commercials in the NIMBY neighborhood that show poor, disadvantaged low income families who would get to live there if the tower went up. Make them feel ashamed for opposing towers and they'll stop opposing them.

edit: Yes, this is a bad example, but the point remains. You must hit them in the feels.
This is largely a choice—especially for the HN crowd, who typically earn above average salaries. If you choose to inflate your lifestyle to match your income, you're right—your work will be the majority of your [life's] work. If you choose to not do this, you can have a relatively brief career, and spend most of your life doing work you care about, regardless of the financials associated with it.
> younger audiences (40 and under)

Thank you.
IIRC it is possible to 'share'. Here's what some reddit users reported: you go with your account in the family device, go to buy the IAP again, it will tell you that you already bought it, so it won't charge you and it will get downloaded. After that, when the device goes back to the owner's account, the content will already be there.
CTEs are still vulnerable to race conditions afaik, plus postgres does a poor job of optimizing them performance wise (that is, it doesn't)
http://blog.2ndquadrant.com/postgresql-ctes-are-optimization...
Yes it does. But only when the distortion is really egregious is when the law will actually pursue charges.
Whenever I do this I inevitably end up with merge conflicts in stuff I absolutely didn't touch. I don't know if it's because it's a monorepo with lots of people committing, or what, but it basically never works cleanly. It's very frustrating, particularly because merging master works without a hitch. So I just do that instead.
GraphQL: Tips after a year in production
Nintendo comes out and offers a game with a few free levels, then pay-once, and you get the whole game. Seems like exactly what everyone ALWAYS asks for. We constantly see complaining about micro transactions, etc, and Nintendo goes with the traditional pay-once model AND gives you the ability to try for free and people freak out.

This industry is so incredibly frustrating. You can't please everyone, but it seems like you can't please anyone, ever, anymore.

If you hype it, they will hate it. This seems to be the new world we live in. You almost have to subtly release something, let crowds pass it around online and feel like they are responsible for its success, put some of the "ownership" behind those hyping it, and then they can't hate on it when it comes out.
I wonder if 2048 respected those limits.
Let's go the whole hog.

s/nixon/goebbels/

and there's no need to imagine it

http://www.ibmandtheholocaust.com/
Hopefully he has his assets protected and can file for bankruptcy. Worse than having to pay back his winning, which he probably has paid some taxes on and spent some. He's probably ruined and most places will not allow him to play at their tables. How he is ever going to make back the money to play?
Stanford scientists turn to AI to create safer lithium-ion batteries
I had to use their "ancient CVS system" once in order to submit a patch. As usual with OpenBSD, documentation was superb and the setup was very user friendly.

To this day, the navigation in their OpenCVS web interface beats most of the alternatives.

Really, learning git and GitHub requires much more effort. Heck, you can't even attach a PR to an open GitHub issue. That's progress, I guess.
How artificial intelligence is changing our Christmas shop
Big design up front
It sounds like if the result is the same if the transactions are reordered, then the second transaction is not aborted. Simple version numbers will always fail if the version number is incremented.
In standard terms, from discussing this with several tax accountants in Ireland, the issue lies in

Ireland applied 13.5% tax on a certain percentage of the profits, those declared in Ireland at the time, but did not apply it to all the profits. Although the book-keeping was done in an Irish company the sales where not all in Ireland. At the time Ireland sought clarification from the EU on how the tax should be applied, and were told they could only tax the profits generated in Ireland. Now, after discovering there is a sum of money in off-shore accounts that had not had the tax deducted, they have told Ireland to retrospectively apply the 13% tax on all profits unless another EU country could claim the profits were generated there.

So the original ruling was to use Ireland as a tax collector that the rest of Europe could then ask for the taxes they were due.

It seems that the Irish gov are seeking to overturn the original ruling as, according to the original information sought at the time, they were not doing anything illegal. In hindsight the accounting irregularity, refereed to as the double Irish, meant that Apple could accumulate these profits. The main issue is that these monies have not been declared in any EU country, so now because of the EU's ruling Trump has decided it belongs to America because American companies should only declare profits in America :D
Ng's course would be a great place to start, imho - though I am a bit biased: I started out my journey by taking the ML Class in 2011. Lot's of "concretely's" strewn about!

Anyhow, it was a great introduction, and light on the calc (but more emphasis on probability and linear algebra). If you have matlab or octave experience, it will also help (I didn't - the revelation of having a vector primitive was wonderful once I got the swing of it, though).

Note again, though, that I took the ML Class - not the Coursera version; I have heard that they are identical, but it has been 5+ years since I took it, too.
Home cluster build: A 5 node Nano ITX Kubernetes tower
My first reaction seeing the title was, "Is this for Real!?".

Then, I saw what I was expecting as the very first line in the article.
Game development is probably >95% Perforce. Has been for over a decade. Will be for the next decade.
everything from our pets to our lawns to our roads and farms does damage to biodiversity though, which ultimately makes all life less resilient.
This could have a chilling effect, especially for folks in the midwest who tend to rely on trucking for their livelihood[1].

[1] http://www.npr.org/sections/money/2015/02/05/382664837/map-t...
Be caring and reach out
Join the club – ProgrammingBuddy.club (looking for admins)
In the UK (and presumably Australia) you can get an overdraft on your account and you don't get charged a fee. You get charged interest (like around 18%/year) charged only for the days. So it can be used as a buffer against charges, whilst you keep your money in a higher interest rate account.
I would like to ad to this, big desgin at the end, meaning, visualize and design your data structure at the end. All the coding in the middle will be a breeze.
Counterpoint: "‘Silence’: Scorsese’s Flawed, Frustrating White Savior Tries to Save Japan From Itself" http://www.thedailybeast.com/articles/2016/12/18/silence-sco...
I am talking about short term effects, and not claiming this is a very sane argument.

But you should understand that Apple was given a competitive edge against other companies that did pay their EU taxes. If Apple decided to leave the EU market tomorrow, it would in short term result in economical gain for the EU members since people would by buy the same amount of phones/tablets/laptops but now from companies that (hopefully) pay their corporate taxes.
Thanks. From the second link:

"It's illegal for a government in the EU to strike a so-called "sweetheart deal" with a company. The European Commission classes those deals as illegal state aid, and it has decided that Ireland's deal with Apple is exactly that."

So it seems it's not typical "double Irish" or does the EU simply go after the biggest offender?
Your Secret clearance now expires sometimes within a matter of months of being off a contract or out of a job that requires it. OPM is cleaning up the clearances, and revoking millions of them. I've had employees go from active TS to "eligible" status (which mean no clearance) in a matter of a few weeks after their contract ended. That whole "10 year active period" is not true, at least anymore, unless you are in a position that requires the clearance for that whole period of time.

You're considered lucky to retain a clearance more than a month out of the service now, too. OPM is taking a tough stance on unused clearances and it has negatively impacted the job market for recently separated Veterans because the contracts that come out all require a pre-cleared workforce, which is a rapidly diminishing pool of people to pull from given that clearances are now being revoked as soon as someone gets out of the service or leaves their last position.
I feel like presence detection is a better option for lights.

Stumbling in the dark waiting for Echo to process your command versus just having the lights turn on when you enter a room.