skysight-inc/HackerNews huggingface dataset:
I tend to stash debug code, so for example I'm working on a feature, and while developing I've added a bunch of console.log()s (or pprint.pprint()s, print_r()s, whatever). Then I can do:

git add --patch # include only the code I want comitted
git stash --keep-index
# now I can do some tests without my debug cruft
git commit

And then ship the feature to staging/production, if there are any remaining issues with it I still have my debug cruft in the stash. It's rarely needed, so I don't want the overhead of a branch for it. If I lose it it's also easy enough to just add the debug code I need at that moment in
case the stash was cleared.
Subjectivity Counts – Talking About Personal Taste
This is a bad idea, since double hashing with open addressing has the same benefits but is much faster. The indices are already in the cache and there's need for an additional hash table setup overhead.
Usually you go for a variant of robin-hood, cuckoo or even quadratic hashing, with the same benefits but vastly better performance. (all open addressing schemes).
And if the collision rate ("load factor"/"fill rate") is too high for your use case, you go for lower load factors, down from 90% to 50%. It's still much faster than using a complete separate 2nd data structure.

And if you need something better than a hash table, (pointers, fixed size keys, ordered, ...) you usually go for patricia/crit-bit trees.

One popular database tried a RB-tree as second data structure once (forgot the name and link. starts with R but not redis). Also see http://programmers.stackexchange.com/a/281785/27031, DMDScript used that also.
Firefox: Announcing Project Mortar
The radius of Earth (according to Google) is 6371 km

π * 6371^2 ≈1.28e8 km^2 = 1.28e11 m^2 = 1.28e10 oz of gold

So, you would need 800 million pounds of gold, which would cost (at current spot price of 1324.80/oz) almost 18 trillion dollars.

Gold is probably not the best material for this
Fingerprints and cornea are bad ideas to use as passwords.

One of my friends likes to go hiking in this area a few miles away from million+ dollar neighborhoods. They get approached by someone pretending to be a union member and they get to chatting. The union member has to show them some video on his phone, and so my friend takes a look. There's a slight glitch in the guy's phone and my friend sees their own face for a brief second with what looked like highlighters around their eyes, kind of like those eye tracking things.

They didn't think much of it until they read about cornea copying and hacking. They realized they were being "bio-hacked" but there is nothing they work on that needs bio clearance so they figure the union members were hired by some people to collect bio prints of likely targets in the area.

Plus I heard it is common to use union and organized crime groups, police, etc.. to stake out and collect intelligence on possible targets for corporate espionage, and other related crimes. It seems to be an unspoken problem in the area.
I helped out a local church a few years ago that had an electronic pipe organ from approximately 1980. It wasn't digital at all, it was purely analog. Some of the keys didn't work any more, and others were out of tune. Basically, the way it worked is that every key had a whole circuit (with two key circuits per pluggable card) behind it which generated the tones; it was ridiculously inefficient. Over time, a bunch of the capacitors had gone out of spec, beyond the ability to use the potentiometers to compensate.
I'm white, male, and middle aged. I once shared this point of view.

As is, being female, especially if reasonably attractive, is the probably single highest indicator of online harrasment.

I've had spam and harrrassment from my social media, my opinions on blog, and it's been low-level background noise and mainly related to opinion. I was perfectly relaxed about trolls, and fed them when I was in the mood.

Living with partner who had similar online profiles, blog, not wildly differing opinions, and rather less techie with less traffic was, to say the least, illuminating. Especially as I thought her the more engaging writer - I tend to write too much.

Barely a day went by without some jerk making sexual comments or sending a d* pic, then trying to track down all her accounts to fire friend requests in all. Sometimes it felt really creepy. The Middle East and Asian countries seemed especially likely to generate the "nice pic, number please" sex-object garbage.

That's in addition to the normal comments, arguments and conversations. No surprise to learn that she was the first to start locking down privacy and losing enthusiasm, and hasn't kept a blog for years now.

From what I can gather since, this is common.
So they agree that there is no evidence saturated fat causes health problems. Then they assert you should not eat processed food but fail to even assert a link to any specific health problems. Then they mention antioxidants which, if they had been paying attention, they would know was merely a hypotheses that was invalidated many years later in long term studies.

Why do people insist there must be a single magic diet which will immortalize us, despite never finding it? What are the Bayesian priors on this? Bizarre
...an answer always exists, even in pure scientific research. Nothing is inexplicable.
Remember that this is, in large part, a restructuring of existing orgs and investments. I wouldn't interpret this as the starting gun for AI/deep-learning investments at Microsoft. There's been heavy R&D investment for years in this space making its way into products like Cortana, Bing, PowerBI, Skype, Cognitive Services, etc. Similarly, there's a non-public side to the results at Microsoft I'm sure. So I don't think catchup is a fair analysis.
To some degree, this looks like premature optimization. That query (on the normalized tables), with the proper indexes and decent hardware, should be plenty fast, even with millions of rows. I would potentially start my optimization by considering if messages could be 'archived' to other tables or considering how long I could cache the query results vs. how often the client would poll.

I've seen small-medium sized systems go way overboard with complicated mechanisms for handling performance problems that they don't, and may never, have.
But kickstarter is not a pre-order store! You are helping people to get started and in return may receive a version of the product you helped create.
The Android password pattern thing apparently offers close to 400k possibilities so it's considerably better than PINs.
I think you're right about trying to indoctrinate a more respectful future generation of net users. But the current environment, which no one would say is healthy, is what public personas need to be prepared for. I always modulate my writing with the Internet in mind, which is probably why I don't write as much.

Is there anything that can be done to bolster the new public personas and strengthen them? Perhaps having a moderated comment section for new or unseasoned authors might be work well. Maybe only allowing an authors name to appear when the post count is under a certain threshold. Then the name and photo, then name photo and Twitter or other contact method. Overrides possible of course.
It's well worth it to remember than equity is just a call option on the value of the firm.

Therefore, it's often in the equity-holder's interest to do two things:

1. increase the volatility of the underlier (by making riskier investments, etc.)

2. Re-strike the option to be closer to at-the-money, by loading up with more debt or paying out cash as dividends

Both actions increase the odds that the firm goes bankrupt, but also increases the expected payout to equity holders.

When you increase equity compensation to executives, you basically encourage them to do riskier things.
Why do I think something I don't actually think?

Shareholders, in theory, should have the right to make any decision that is legal and is advantageous to them. That's what I think should happen, in an ideal world.

The practice, however, is different. The entity that decides CEO compensation is not "we the people". It's more like the smoke-filled room at the Republican Party's HQ in The Simpsons.
6) This is optional but you can implement a login feature that requires people to link to facebook and then you can monitor your readers activity.

You really stand by "monitor your readers activity"?
> Therefore, a CEO will be incentivized to pursue a highly conservative strategy

I strongly disagree. A CEO is probably highly personally invested in the company, but that investment almost always has an unusual structure: it resembles a call option, not equity. If a CEO generates a large gain over the course of a few years, the CEO makes a lot of money. In contrast, if the CEO generates a large loss over the course of a few years, the CEO loses very little. This can give a CEO an incentive to make extremely risky decisions because the CEO doesn't personally suffer much more from a huge loss to the company than from a small loss to the company.

This problem exists for investment managers. In a hedge fund that charges a performance fee on investment gains, managers have a perverse incentive to take large risks. It gets more pronounced if the fund is already down for the year: if, say, the fund has taken a 40% loss, it can look very attractive to the manager to bet all of the remaining assets on a coin flip. Heads, they get their bonus. Tails, they now have a 90% loss, but they weren't getting their bonus either way and they lose nothing.

Edit: At least the coin flip is neutral on expectation. But the same issue exists for a bet with negative expected value: the manager gets some benefit if they get very lucky, so the manager has positive expected value even if the fund has very negative expected value from their decision.
You will need time to buy that gpu, upgrade your PC, realise that it doesn't fit into your existing case and that you need a better power supply. Then some time to find a better place to be than sitting next to that really loud and hot PC. And it all takes optimistically days, while you can start computing on EC2 within in an hour. Plus it doesn't scale, so you cannot just speed up the results by paying some more. You may need to wait a month (and then realise the param was wrong and you need to redo it)

Surely there are some cases when you are better off computing on your own GPU, but I think in all of them you assign pretty low value to the time spent.
>You vastly underestimate the technology differences between 500 b.c. and 1600ad. The printing press for example. Windmills/waterwheels for another. Did the automation of grain mills result in mass unemployability?

Not many worked in grain mills in the first place for that to be much of an issue. Something like the fishing sector becoming deprecated in the 16th century B.C. would more faithfully describe the kind of impact modern automation technologies can have.

Besides there were still tons of work opportunities in ALL kinds of manual and menial labor fields as the standards of living were very low and urbanization was just starting.

>* We always seem to find new things to work on.*

From a list of limited options -- not from some magic infinite bag of sectors.

>Precisely the opposite. Technology eliminating work has happened several times in the past. Just never with disaster.

You conflate technology eliminating SOME work, with technology that can replace all kinds of jobs -- including lots of mental labor with AI.

You also conflate technologies that were small multipliers of productivity, with technologies that allow 1 person to do the work of hundreds of thousands, or even millions.
They could, but not at the price point they're trying to meet.
Since Apple IIs were manufactured until 1993 or so, I guess I could use one for the challenge. It's perfectly doable.
>> ... is probably individual due to genetic factors.

It's more complex than even that. There is growing evidence that the active genes in our adult bodies are impacted by the food we had as kids, even before birth. So there may be no 'ideal diet' that an adult can start. Some damage done long ago may not be reversible, and switching to a radically different diet may come with patient-specific downsides that we little understand. The most known difference is in the efficiencies by which adults absorb nutrients. Grow up with plenty of food and you don't harvest every little calorie from your food. Grow up hungry and your body might scrounge even when as an adult you have plenty of available food. The same may likely be true for various micro-nutrients.
> something like the inner rules of that image and long range correlations

I assume that if you feed WFC a large input image, it just thinks of that as a very complex set of rules that are harder to satisfy than those of a small input?

Is there a way, then, to instead train the WFC algorithm on a large corpus of small, similar samples, such that it can try to derive the rules common to all the inputs in the corpus, and produce one image that "really" fits the rules, rather than just the ephemeral quirks from an individual sample?

Would there be, for example, a way to train WFC to produce outputs matching the level-design "aesthetic" of a given game, rather than just "continuing" a particular level?
>I almost have a guilt that I grew up with any amount of money at all and would be very willing to do anything for others, thinking I owed it to them.

I never, ever resent people for having had a good upbringing. I always feel happy for people who have two functional parents, who had food and clothing and love. It reminds me that such a life is possible, the world isn't always a terrible place, and there's no point in sinking into cynicism and despair.

I think the best thing that you can do for people who are worse off than yourself is live a model life, one in which you treat people decently, have strong personal boundaries, and love your family and friends. When you are older and you have kids, invite your kids' friends over for dinner. I cannot explain how much it meant to me as a kid to see a family that was loving and happy. It gave me hope and made me realize that my situation was not normal and not OK. "Teach a man to fish" and all that -- my friends' parents taught me to have standards for how families should treat each other, which is why I left mine.

I replied to rubberstamp because I want people to know that they should feel no shame in cutting out toxic family and friends if it is what you need to do.

Also, because I like working at Amazon and it gets a metric tonnnn of HN hate :)
That's what kickstarter's legal page may say to cover their ass. But that's not the reality, and it's definitely not the expectations of the "donors".
Navy scuttles sailors' enlisted rating titles in huge career shake-up
Land rush
Yes, please. In 3 weeks, I can do whatever and still earn enough money to retire before the end of October 2016.

And while we're talking about shoes, a good shoe-seller could do the job of about any CEO in those huge companies. Would be harder in a small one, though.
You might check out "git rebase --autostash" if you haven't already.
Strange reptile fossil puzzles scientists
Restaurant Spotlight: Lucila’s Restaurant in Mazatlan, Mexico
The best thing you can do is to make a point of getting an explicit expected response interval from the most important decision maker you can identify in the process (which generally means not the HR flaky† who escorts you in/out, brings you water, and sometimes corners you for a useless wrap-up chat at the end). Particular bullet points you want to get are:

- "So what's you're process moving forward?" Specifically, as to whether there will be additional rounds, or they're done and have all they need from you to make a decision.

- "When can I expect to hear about [the next step]?"

- "And when's the latest I can expect to hear something?"

The last one is crucial, so you'll want to (gently) nail it down as best as you can. So if they say "within a few days" on a Tuesday, you can say "So by the end of the week, or at the latest, beginning of next week?". That will solidify things in their mind, and gently remind them that it will be somewhat rude if they don't respond to you by then.

It also makes the question of whether to send a follow-up mail much less gut-wrenching (and in my view, pretty much removes the need for it altogether). By that I mean do send a thank you note (24-48 hours later, max). But once you've nailed down the response window with the primary decision maker, it's really in their court. If you want you can send a proper follow-up mail, gently reminding them that you were expecting to hear something by about that time. Strictly speaking, you don't need to -- if a shop doesn't respond (in any form) on a time frame more or less in line with when they explicitly said they would (thanks to your making a point to ask while on-site), you can be pretty sure they aren't, as the saying goes, all that into you.

But then again, you don't need to care, either -- because everyone knows that's just shabby, and that shops that do that don't really have their act together. And would probably treat you shabbily in other ways, were you to start working for them.

† But for good measure, go ahead and ask him/her, also. Because it usually ends up being their job to write the actual rejection email, should you be lucky enough to get one.
How can a computer deal a poker hand?
Because CEOs didn't get there by not knowing how to negotiate and insulate yourself from risk
Amazon.in is down
It's worth noting, that given the early days of the web... It's just as likely we could have perl in the browsers, and I'm certain people would bemoan that as much or more.
I feel like, as a solo app developer, I'm being left out of this 'revolution'.

It seems like deep learning only makes sense if you have enough data to feed the algorithm with. The kind of data that only big companies can produce or harvest.

Sure you can produce some video and audio data and you can spider the web a little bit, but that doesn't even come close to the resources that these big corporations have and the 'depth' of learning that they can achieve.

So I'm not even trying.

Or should I ?

Is there any place for solo/indy developers in this field ?
European Court of Human Rights Will Test Legality of Surveillance by GCHQ, NSA
Native Widgets with HTML
I don't know what the truth is but after being diagnosed with high blood pressure and high cholesterol for the first time, why should I take chances? There is no harm in cutting back on red meat, fried foods, and saturated fat
It appears that after a certain amount of time the edit capability is unavailable.
Penrose tiles are "easy" on an unbounded canvas, but I'm pretty sure they're a 100%-probable "contradiction" (because they're aperiodic) on a bounded toroidal canvas.
It's much more niche-specific than most of the other suggestions, but I've been enjoying This Week in Machine Learning & AI (https://twimlai.com/). It feels like the field of ML is moving so quickly these days, and I think Sam Charrington does a good job of making new research accessible without dumbing things down too much (which I find most media outlets tend to do).
The 'strange' part is clarified better in the Wikipedia page [0]:

> The forelimb of Drepanosaurus is highly modified compared to other vertebrates and very robust. Its ulna was altered from being a forearm bone into an odd crescent shaped site for muscle attachment. The role played by the ulna in most tetrapods is replaced by an elongated carpal bone. Additional musculature would be attached to the high withers that characterized Drepanosaurus and its close relatives.

What fascinates me and triggered me to submit here is how similar (in spirit) this adaptation is to the famous Panda's Thumb [1].

- [0] https://en.wikipedia.org/wiki/Drepanosaurus

- [1] https://en.wikipedia.org/wiki/The_Panda%27s_Thumb_(book)
I don't have a mathematically rigorous understanding of it but the number of dimensions is basically the number of freely varying inputs to the corresponding functional representation.
In a 2d image, x position and y position are mapped to a color, e.g. I(x,y) = C.
In a spectrogram, freq and time are mapped to a color (amplitude) e.g. S(f,t) = A.
In neither case can you just pick an arbitrary color or amplitude and in general produce a singular x/y or f/t from that.
I miss This Developer's Life :( It's a great show. Definitely worth digging into the archives if you've never heard it.
Chief Justice Roy Moore suspended for defiance over same-sex marriage
That is true you can get a probability of it being true from the information provided. But it still doesn't make it true, or true for the entire community. I guess I don't like the implication that I, as a commentator on Hacker News, am now grouped along with a person or persons I wouldn't want to be associated with.

There has to be some kind of phrasing for that. I put myself in a group, a member of that group does something atrocious I don't agree with, the world at large vilifies the group and I feel defensive because I put myself in that group.
Renault TREZOR: an electric GT
> "You really shouldn't be writing, you should be reading"

So basically you are the type of person that caused the problem being discussed here.

There is a difference between someone making mistakes and someone feeling the need to point them out in public or private, or to judge who should be writing.

Maybe they should be reading more. But who are you or any other anonymous person to comment on that. If you don't have anything nice to say...
2020 Ford Mustang Shelby GT500 Concept and Rumor
Data De-Identification – An Easier Way to Build HIPAA-Compliant Apps
Design by contract forces you to be explicit about your intended preconditions and postconditions. But “intended” isn't the same thing as “actual”. Verification is making sure that the preconditions and postconditions actually hold, in every possible case where the statement (or procedure or whatever) could be reached.

EDIT: Hoare logic is a tool for formal verification, indeed. DbC is not, though.
I didn't make it past the bar pic :(
Anyone had a chance to read their book?
Do they back their practice by research?
Tired of pseudo sciency stuff...
>Wish my gender weren't responsible for the vast majority of the harassment, violence, and threats of violence.

You are an individual not nameless member of a gang called 'men'. Its strange to hold yourself accountable for some random person on the internet.
+1 for pgweb, it's really nicely made and nice to use.

Postico for Mac is also very nice to use:

https://eggerapps.at/postico/
Probably not even at a higher price. There aren't a lot of high volume fabrication shops in the US.
Some of my aliases, first some basic shortcuts:

freshen = commit --amend --no-edit --date=now
cont = rebase --continue
br = branch --column
recent = branch --sort=committerdate
idiff = diff --cached
ff = merge --ff-only
co = checkout

Show what's left to do in an interactive rebase:

todo = !cat `git rev-parse --git-dir`/rebase-merge/git-rebase-todo

Set tracking to to origin/<the same branch name>

upstream = !zsh -c 'git branch --set-upstream-to=origin/$(git symbolic-ref --short HEAD) $(git symbolic-ref --short HEAD)'

I use this to swap my work to home e-mail or vice-versa if I've got it wrong. Need to specify an initial commit.

allmine = filter-branch --env-filter 'GIT_COMMITTER_EMAIL=my@email.com GIT_AUTHOR_EMAIL=my@email.com'

vim = "!gvim `git ls-files -m`"
Can you help us understand what you think this new division will be producing? What are a few deep learning-enabled products or projects that are in production and generating revenues?