skysight-inc/HackerNews huggingface dataset:
My understanding is that different user roles would see different schemas depending on what they are allowed to see. This should definitely reduce the amount of code that needs to be written. I haven't actually implemented such an API though, so I may be wrong.
I would be happy to take a look at your CV if you're still looking for a critic. No payment necessary!
How a Single Niche Site Generated Over $690,000 in Under 2 Years?
California’s highway department is destroying homeless people’s belongings
Open invitation to Google employees: I can't imagine that the "You said WHAT?" training is somehow a trade secret. Post it. (On YouTube... lol)

The inherent problem with Googlers defending Google, beyond the obvious conflict of interest of expressing views about the company that writes your paycheck, is that Googlers expect us to trust them that the internal info they can't share isn't suspect.

If you can't share what's actually going on internally, you shouldn't be defending it. Let the case happen, with any luck these internal presentations, policies, and memos will end up in the public record, and we'll all be able to see what's really going on.
You really can't do your best work unless you're at least somewhat passionate about it. I don't get why people can think you're more productive at a job you dislike or hate and have to force yourself to get anything done, rather than doing something valuable that you'll get things done without huge amounts of willpower.

Failing to find something that your're passionate about and valuable is cheating both yourself and other people out of the value you could be creating, if not for your masochism.
Nope because the state is subsidizing the companies and who pays for the state to run? They do. So they end up with infrastructure and education budget shortfalls.
Won’t Get Fooled Again: Lessons in Lie-Fi
Wouldn't that be the ideal place for companies? If a government is dependent on a company to collect data, wouldn't that government support the company in hard times? Sure, if it was a choice between surviving and throwing the company under the bus, the government would choose the later, but if given the choice, wouldn't the government try to keep one of it's most powerful tools?
One major difference is that optimistic concurrency control is handled by the calling application and not in the database. Your app should handle the error in either case, but in the case of OCC you end up doing the bookkeeping yourself, which may be preferable (lower overhead for Postgres to handle the query for instance).
2016 Global Peace Index
I find if my first idea is to use a JSON field in postgres, I am usually being lazy. Adding schema to the JSON and creating a related table is almost always better. I try to only use JSON fields for serialized data that will not be modified, mostly record keeping.

The JSON functions in postgres are different enough from SQL that I try to avoid them. Writing SQL interspersed with JSON functions becomes clunky, and is not near as powerful as just plain SQL.
How to Invest in Yourself
Top 5 Gadgets for your Smartphone 2017
'Biggest Ad Fraud Ever': Hackers Make $5M a Day by Faking 300M Video Views
Personally I wish VB6 had the class declaration capability of what the Actuate Reporting suite had for it's "VB-like" language (from what I remember from back then). It was like having everything you have in Java/C++ - but for VB.

Probably the closest you can get today would be one of the more modern BASICs out there (QB64 or GAMBAS - maybe FreeBASIC?).
Machine Learning in Computer Security
Ah, the never ending debate about passion.

What if you put that aside for a while and think about it in terms of going with your strengths instead? Same thing, different angle. If there's any choice about what job you might take, take the one where you can add the most value, relatively. That's a job where you'll be appreciated more and hopefully compensated well for. The thing is, there's a correlation there to passion, but passion is not required.
> I consider this to be a failure of Git.

Surely it's a failure of source code as streams of text.

If each function was versioned with dependencies then this problem would be eliminated.

Replaced by other problems.
> Who knows.

You, apparently, since you talked of "the same level as Breitbart", though don't apparently know what that is.

Also, if you have specific knowledge of a subject area, you might be inclined to a kind of reversal of the Gell-Mann Amnesia effect: judging a publication on you area of expertise alone, when publications may differ in their relative strengths.
As others have mentioned this is indeed not true and is referred to as the Martingale betting system [0]. In the case of casino games Martingale still has negative EV. Your EV for any round n is (1-q^n)B-q^n(B^n-1) (chance of winning within n rounds times amount won minus chance of losing n rounds times amount lost) [1] which is B(1-(2q)^n) with B the initial betting amount and q the chance of losing. Since in any round your chance of losing is always slightly greater than 1/2, you will have a negative EV in any round you play, there is no number of rounds for which the EV becomes positive.

The standard deviation of this is fairly large though so that the chance of this happening is very small but nevertheless it isn't zero and what you lose is more than you can expect to win. As sleepychu mentioned, the amount you bet goes up exponentially ($1M after 20 rounds).

Aside: It is sometimes said that in order to do this "double when you lose" strategy, you need to e.g. "stick to red for the entire run". This is false. If I bet red-red-red-...-red-red I am just as likely to win/lose as when I bet red-black-odd-odd-even-...-red

[0] https://en.wikipedia.org/wiki/Martingale_%28betting_system%2...

[1] https://en.wikipedia.org/wiki/Expected_value
Screw that. I don't want to live just to pay the bills, buy a house too big for me, a big car that I don't need and consume more than I should.

If you think the way of life of your elders made the world a better place, go ahead, think and do like them, maybe it will make you happy, like them.

I may be disrespectful, but for me it looks like my elders left me with a suffocating planet populated by too many people taking too many drugs.

And I don't want to be a part of this, I'm not smart enough to change the future, I probably won't do much good to mankind, so I'm going to enjoy myself and leave the tiniest footprint when I'm leaving. Nobody owes us fun, we owe it to ourselves.
I don't know of a lot of F1/automatic gear cars being involved in steep terrain where the engine braking scenario would come into its own.
Clever, but respectful. I did not expect this response, but thinking about it again in context of the company it is coming from, I can see why you chose that response.
The simplest heuristic to use is to assume the company exits at its latest valuation and do the calculations of what your options would be worth in that case.

Then, understand when your company could (at soonest) go public, given that growth rates will slow down at a rate around what comparable companies exhibit.

Obviously it's still a crapshoot, but this will give you a value for E(x) and timeframe.
Had huge problems with my MacBook and with a zoom wifi cable modem and a dlink ac router. Connection to xfinity wifi was better. Then we moved and I got fiber with their commercial wifi router and things have been stable. Less APS around. At work we have Cisco access points which were stable when not misconfigured.
I live in Toronto and this is pretty much how it goes. (The city works in spite of planning, not because of it, generally.) Planners come up with some grand region- or city-wide objectives, with lots of criteria and performance metrics, and then when it gets down to the gritty job of building new stuff, it's all "we don't like it, because it's not what currently exists!" No surprise that the really big development tends to happen on old industrial lands where there's not enough people around to really complain.

But of course, you can see how the incentives run. If somebody likes their neighbourhood the way it is, and doesn't want change, then if they don't complain about new developments to councillors and planners, they gain nothing. But if they do complain, then there's a chance they can get developments stopped. (Thanks, "community-based planning".) So the cost of complaining is quite small, but the rewards can be quite large.
See, I've actually found the opposite: I was much happier when I stopped pretending the large salary was actually enough to justify wasting a third of my life, and just worked at the library on a cheap laptop while helping a friend build his house to cover bills.

People also like me a lot better now that I don't hate a third of my life, am not trying to compensate for that with money, and have a certain zest from getting to genuinely work on things I'm passionate about.

YMMV, as some passions are more expensive than mine to get in to, but my point was that there's a spectrum of reasonable reactions to work-life balance, and the choice needs to be individual.
Well making complainants (grievances) verbally is not best HR practice they want everything documented nornmally
Heap-allocated was a bad choice of words. I mean strings that allow you to do "a+b" or similar simple concatenation built in almost any other language has (not C though, although there null-termination and stdlib helps a lot more than Fortran character arrays does). Though I guess one could roll one own here too, same as with lists and dicts and so on.
The amount of energy required to lower the orbits of enough asteroids (e.g. 20% of Mars total mass) is probably enough to melt a significant portion of Mars. Unfortunately, collisions would mostly heat up the surface, not the core. Even if you could precisely deorbit enough asteroids to hit Mars, the results of the bombardment would probably take a long time to settle.

Planetary-scale engineering is not only hard, it's inevitably slow.

I think cleaning up the atmosphere of Venus by spreading CO2-eating anaerobic air-suspended algae is more realistic, and the results would likely be nicer.
Irish corporate tax rate is 13.5% and has been since 1980's and was set to try and encourage business to come to Ireland and to get the country out of a recession.
And mostly, new construction is not for low-income people, just because it's new. Low-income people tend to live in older buildings that have depreciated.
I don't disagree with your points but your aptTAB example isn't quite right as apt has a number of tools with that prefix (apt-get, apt-cache, apt-key, etc). Plus there's aptitude too.

In fact I often set aliases for apt-get and apt-cache because of apt breaking the 4 key press / tab rule you raised.
it's not clear to me whether cards with consistent patterns due to manufacturing process ought to be considered marked or not.

certainly Ivey and his colleague were able to utilize those patterns as if the cards had been marked, but in truth neither Ivey nor his colleague did anything to the cards at all before playing.

I think the argument comes down to spirit of the law (which Ivey broke, in my opinion) vs. letter of the law (which he didn't break, in my opinion).
> X decided to merge and deploy just the back-end changes, and then, once that was done and appeared successful, to merge the remaining front-end changes.

> "What should X have done in the first place to avoid the pickle?"

0. (Of course, not develop a 406 patch changeset and then have to pick it apart. Make smaller pushes, frequently.)

1. Create a topic branch right there at the tip where the 406 changes are locally committed.

2. Then use git's interactive rebase to rewrite this branch such that just the back-end commits are picked first, followed by the front end.

3. Make a back-end topic branch from the last back-end commit and test that. If it's cool, master can be rebased to that and pushed to origin/master upstream.

4. Test remaining front-end changes, rebase master to them, push.

Also:

3. a) If back-end changes need fixing, fix them on the back-end-topic branch. Then rebase the original topic to the back end topic to pick up these changes "under" it. (I.e. replay the front end over the new back end, and install as new front end).
More easier to resize your vim windows
> This industry is so incredibly frustrating. You can't please everyone, but it seems like you can't please anyone, ever, anymore.

The complainers are always louder than the praisers.

People complain about SuperCell and in-app purchases in their games, but it's funny to think about how much money they make. Employees and founders there are among the highest earning people in Finland and pay the most taxes among individuals in Finald, so certainly if people are upset they aren't voting with their wallets.
I'm with you, friend, no disrespect to the man but I just never got what people get out of his music.
How will saying "Okay, Google" not be summoning the app?

I agree that a conversational interface will cut down on summoning the app.
I'm not sure if you're joking, as the topic has been extensively discussed here in HN for the last six months, at least.

Anyway, in short: encryption-wise Signal is considered to be the state of the art, while Telegram is sneered at due to their homegrown encryption that isn't even enabled by default.
Show HN: DuoBook – Switch between reading and listening to the same story
I think most people commenting here missed the key lines:

> Are you a burden to those around you?

> No? Good on you! By all means pursue your passion. Feed your Chinese Crested Hairless.

> Yes? Screw your passion. Get a job. Support yourself. Pay your own way so that you can stop draining the people and resources around you.
Pretty much this - hence my upvote for you.

I also like to stylistically indent my SQL to make it easier to follow. This works well for most typically use cases, but it can fail horribly when you start to certain kinds of JOINs and such - the indenting will make things more difficult to read.

Of course, once you start doing really wild things with SQL, no amount of casing or indentation will save you.
>> What those new jobs for truck or delivery drivers might be is “not currently foreseeable.”

I wonder if the same thing has been said about other professions that have been more or less wiped out in the past? I would guess the answer is "yes"

And then the next logical question is "So what did all those people end up doing?" Maybe that's how we being to answer the question of what all the truck, taxi and delivery drivers can be doing when those jobs are gone?

Or do those jobs just get phased out as people leave them? Like people who quit for whatever reason are just not replaced by other people, they get replaced with the bots (or whatever we call the things that are replacing people here).

[Added thought] Maybe the answer is found in how secretaries were replaced? They were recently the most popular jobs in many states, and now are not.
Yes you can, you simply put something akin to:

Fixes #42

Where the issue is number 42.
How to Get Leads from Quora. Guideline for Tech Marketers
>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."

Is is safe to say that a good way to instill and convey the growth mindset would be to respond with something like: "Billy, I know you put in a lot of effort in an attempt to learn this material and subject. Putting in effort in an attempt to achieve positive results is a good thing. However, unfortunately the effort doesn't appear to have worked out this time. What might we be able to change or do differently with our effort(s) to achieve our goal of passing this test?"

That last bit of the above response is attempting to instill that effort alone isn't enough and rather than working harder find a way to work smarter; growing in our ability to think about the problems and challenges we face.

Thoughts?
Hey everyone, we just released DuoBook today, an app that provides alignment between the eBook and audiobook versions of a story. We built this in 12 weeks with a team of three, and are launching with a very small catalog (more content is on the way soon). Alex (lead iOS developer) and I (product lead) are here, and would love to answer any questions you have, or just hear your thoughts on DuoBook!
The grandpartent comment clearly says "or running a car race" as another example.

That said, I see no reason why a (semi-)automatic couldn't engine brake.
How many times will we circle around this before realizing that people have different aptitudes?

We make a mistake when we evade that fact. We do it because we haven't created a culture where people are respected independently of their aptitudes.
you can still get subpoenaed and get ripped to shreds by a $5k an hour lawyer
Amazon Go will be worse. There are a lot more retail workers than drivers. The technology is closer to fruition: Amazon has a working autonomous store, but we are still a long way from fully autonomous vehicles.

The hardware requirements for any store that wants to adopt Amazon's tech are minimal: some cameras, an entry gate and possibly some pressure pads under the shelves.

Even if Amazon doesn't license out their tech -- and they would be foolish not to -- you can be sure that Google and Microsoft are working on their own versions. The market is staggeringly big.
I think it get's slightly confusing since growth mindset is something that can exist in both the teacher and the student.

So, growth mindset is the belief that you can get better at things. The idea then is that the teacher should embrace this, because then the child will learn from that and embrace it as well. This would be true growth mindset in the teacher.

This led to the suggestion to praise effort rather than results. With the idea that effort will increase learning, which will increase results.

The problem then is that the teacher might not understand this connection, but only understand that you should praise effort, this would be a false growth mindset. This would lead the teacher to give positive feedback to any effort put in, even if it does not improve learning/growth.

In other words, you could call this false growth mindset a "effort" mindset. While the true growth mindset would have a process focus, where you praise the proper application process and give help if the process is ineffective for growth.

Fixed mindset:
"Great job getting A"
"You might not be made out for math, try painting"

Growth mindset:
"Great that you try to practice the parts you fail often at"
"Maybe you should try to understand the underlying logic rather than just guessing the answer and getting it wrong?"

False growth mindset:
"Great that you keep trying even though you fail!"
"You should not feel bad about failing, you put your best effort into it and it's fine!"
Faster strcmp
Yes I just completed a large refactoring in a feature branch which affected lots of files and the only way to stay sane throughout the process was to constantly rebase my work on top of master (within my feature branch).

Once my refactoring was complete I squashed it into a single commit to prepare to merge (or rebase) into master. I don't really think it's useful to keep the history of how I implemented that refactoring. Squashing it into a single commit is far easier to revert then if I merged multiple commits into master.
This seems interesting. It reminds of a long time ago, in a job far, far away - writing a simple "web server" using DB/C (a COBOL variant).
Conversations is brilliant, but I have yet to see a decent XMPP client for iOS. There's Chat Secure, but when my friends used that it often wouldn't receive notifications, making it useless as a messenger.

I'm not sure if this was a limitation of iOS itself (probably) or just a poor implementation (Chat Secure definitely tries to do something with push notifications.)

It's difficult to use XMPP when most of my friends+family use iOS
TO be fair, you could consider the animation/film unit to be the marketing wing of Parks & Resorts for the purposes of this discussion. Why would anyone go to the parks without Mickey, Leia, and Iron Man?
For those on OS X, it looks like:

find $HOME/Library/Application Support/Firefox -name \*.sqlite -print -exec sqlite3 {} VACUUM \;
> To a family in Detroit, it could mean having non-toxic drinking water.

Wait, did I miss when Detroit had toxic water now too?
And git won because hands down it was the fastest and most flexible, albeit most horrible UX. Also unlike something like say bzr, the core on disk git format has stayed relatively unchanged since it was first written. The architecture is simply the best in git compared to most other vcs software.
As a shareholder, I don't think Nintendo is doing all they can to capitalize on their IP and industry position. I played the first three levels and the game seems fine. But why build a two-hour game and stop there? Once you've built out the infrastructure, isn't the hard part done, and additional art/level assets are comparatively less expensive? Wouldn't a 30 level expansion be inexpensive to develop and well received by fans?
Okay. Define burden.
In Sweden it is clearly stated on the package that you are not to abruptly stop the medication. The suggested discontinuation method is half doseage for a minimum of two weeks, anecdotally I would double that period.
I was unclear: I want an "integration hub" that controls sonos/hue etc with a massive corporation polishing it, instead of the usual suspects of home automation crapware.

I'm happy to use it from an app rather than with voice
I have nothing against induction as a stove mechanism, just against the touch panels of recent ones.
Courts generally aren't concerned with the political "climate" when interpreting the law.
correct, and why should that surprise anyone? from the state's perspective legalized gambling is a tourist attraction, entertainment service, and tax revenue source. if the house _doesn't_ [statistically] always win the system is malfunctioning.
Most of these folks will be phased out but likely might never find work again. Things are different this time. There are multiple regions in the United States and the world solely focused on disrupting entire industries by automating them.

In the past, the speed of automation was slower giving time for people to adapt. Going forward, things will be swift and I am not sure what these people will do.
High end I don't know, but for low end gaming (where my builds always fall into) I'd never dare to buy anything but intel/nvidia, bangs-for-bucks there simply is no comparison especially if you live in a place where kWh are expensive.

The new architecture may change things, but for now, that's it. They might have started losing market due to shady tactics from the competitors, but the nail in the coffin was the botched bulldozer. that had consequences felt on every series down the road, including unrealistic power consumption per unit.
Apollo 8: The (second) greatest Christmas story ever told
NODE_ENV is just a convention though. Not specific to Heroku even if they might have popularized it.
The mystical myopic millennial trope is quite popular. It seems to me to be just a reflow of "kids these days"

"Our sires' age was worse than our grandsires'. We, their sons, are more
worthless than they; so in our turn we shall give the world a progeny yet more
corrupt." Horace, 20BC

But maybe more jaded, I also see a business owner looking to maximize profit and minimize expenses by gas-lighting a bunch of kids into shoveling shit all day for peanuts.
Well, they have Faygo.
Oxford Dictionaries API
I'm a little concerned that I'd be signing up using cURL over HTTP and not HTTPS. Any plans to go fully HTTPS?