skysight-inc/HackerNews huggingface dataset:
> Branching wouldn't be enough, you'd need to commit ...

Yes, you're right. I mentioned both committing I branching. I imagine commits only as the alternative to a single stash/pop, and commits & branching as the alternative to using multiple stashes.

> I'd say it's generally a bug-prone mistake any time you commit your entire working copy

The workflow I'd use instead of stash is to commit, do things, then reset --soft. Exact same effect as stash, except that it's less bug-prone, there's an easier & safer recovery mechanism in case of problems.

> If that temporary backup commit somehow stays around in the final feature branch, a stash would be much preferred.

You're comparing making a small mess to losing work. Your opinion is your own, I'm not here to argue, but in my book the downside of losing work while using a revision control system is much larger than the downside of accidentally preserving imperfect commit refactoring. You're preferring something superficially nice over the actual safety mechanisms that is git's sole purpose.
Quantum Break PC: Better on DirectX 11 [video]
"A lot of the comments were about the post’s grammar and structure; far fewer were about the actual content."

Of course they were. There is a despicable passive-aggressive smugness that is far too common, involving demonstrating one's superiority by sniping at the medium (no pun intended) instead of addressing the message; it allows one to show off without having to take any risks. I've found it very common in circles in which many participants spent their formative years being clever and being told how clever they are.
He was quoted as saying going without amphetamines for a month set back mathematics a month.
This comment is the most amazingly "smug"[1] genuinely apologetic comment I've ever read. It's just amazing... and informative!

A heartfelt +1 from me! :)

[1] I don't really mean that in a negative way, but it's like Alan Davies and Stephen Fry on QI, if you know what I mean.

EDIT: I realize that we're not on AGT/BGT or something, but you really should add a footnote about this.
Luck is a bad term here, Luck to me seems to imply something that surrounds the person. A force of nature. This is straight up random chance.
The system I described apparently does not contravene these treaties, see wiki someone posted above afterwards
Interesting stuff, from a FP perspective. But in practical terms, its best to avoid shops that use riddles as hiring filters, altogether.

"So I see you have an MS in applied math, which I suppose you didn't entirely fake your way through, and have written some widely-used packages for numerical integration of PDEs. That's nice. But you know, if you really wanted to impress us, you would have boned up on the art of using regexes to solve the maximum subsequence problem. On a whiteboard with squeaky, half-dried purple and orange markers, while we stare at you."
I found flights to Antalya on flychecker at 290 €
Patrick McKenzie has written about this extensively.
I always use another router after the one by the ISP, for precisely that reason.
Festivities stickers
This post comes across (IMO) as a thinly-veiled attempt to get us to learn about this guy's startup. The advice (sound natural, be memorable) is not unique, and the strategy seems bizarre (why Excel?) and apparently didn't win him the competition.

Of course, an alternate explanation for his loss could be that his problem statement ("I was 18 and couldn't invest $1k in the stock market") isn't a problem anymore. Hell, I had an Ameritrade account decades ago and invested roughly this much money.
As others have pointed out there are still non-btc crypto-currencies that are worth GPU or even CPU mining[1].

But they don't even have to be making a raw profit vs the electricity they are consuming. If, as you say, the spare capacity must be kept warm anyway, then they only need to be profitable vs the delta of electricity consumption between idle and fans blowing 100%.

So whatever capacity is left beyond the fixed and spot market _could_ still be earning them something.

[1] http://cryptomining-blog.com/6090-crypto-coins-to-check-out-...

Edit: fixed spelling.
This proposal looks beautiful, but a minor point stuck out for me. Putting large maps on the ceiling sounds like a terrible UX that will confuse people more than orient them.

You'll end up with one axis that corresponds to actual directions in the real world, while its perpendicular axis is exactly the opposite. If the "north" and "south" ends of the map are actually to the north and south, for example, east and west will be on the wrong sides.

If you put all four compass directions in their real-world locations, then the entire map is mirrored when seen from below. Maybe this rat's-eye-view of New York would be appropriate, but it would also be deeply unfamiliar and look like an enormous mistake.

There's a really good convention for public maps that are standing up on a sign (left and right correspond to what's to your left and right in the real world, and up corresponds to what's ahead of you), and there's a completely obvious convention for maps on the floor. There's no sensible convention for ceiling maps.
I think you're right about Penrose tiles being easy. One could, however, potentially use this with polygonal tiles to find their Heesch numbers and maybe even make some advancements in solving some of the many unsolved problems associated with Heesch tiling.
Well, right now it is not fast at all. :) But I plan to think about the problem of generating pixel shaders form examples in the future.
How does that work? Water will dissociate into hydrogen and oxygen at very high temperatures, but the mixture of hydrogen and oxygen so produced is already stoichiometrically balanced. There's no surplus oxygen left to be reacted with additional fuel.
If I've understood correctly, it feels like what the author wants is a DSL for event-driven FRP[0]. If so, I'm 100% on board. It's something I've wanted for a long time.

I've found it easy enough to implement a naive version. The tricky part, unsurprisingly, is making it performant.

[0] https://en.wikipedia.org/wiki/Functional_reactive_programmin...
While I don't support harassment in any way, isn't it an inevitability when posting something on a public forum?

I've gotten plenty of comments telling me to "kill myself", despite being a male and despite being an adult. I'm not saying that my level of harassment is comparable to that of a young lady coder, but I am saying that it's not exclusive to any one demographic.
Meh, I've had my Twitter account for a day before abandoning it, since nobody I know uses it except for a netadmin who gets alerts through it.

I guess it becomes addictive if you start getting thousands of followers and start feeling like some sort of "influencer". Just like Facebook or Instagram for that matter.
Million-dollar babies
We detached this comment from https://news.ycombinator.com/item?id=12611579 and marked it off-topic.
S, T, A, T, I, C, all lower case, and a single space character. Guess the language :)
I think the 'up' is as in 'update' rather than 'upload', but I agree that the use of 'down' makes that confusing.
What could be the problem ?
So how many sunshades (or square meters of mirror foil) could we get to orbit to regulate global warming?
The same mechanism that saved Grand Central a decade later - legal intervention. The situation was pretty much the same. A bankrupt railroad wanted to demolish a beautiful landmark to make money.
i've got some hydrogen free water for sale over here.

you're all idiots.
What problems may this cause? It's not like he's scanning this at a supermarket till
I always wondered if they are related.
The file has the first sqrt(1000) primes hardcoded in it.

If you wanted to find the first 100.000 prime numbers, you'd need to add all the prime numbers up to 313 in the css file.
We thought long and hard about the type of platform we want to use for this project. While the x86 platform has many shortcomings, it also provides a big ecosystem of OS and SW, as well as support.
The fact that we have two subsystems, secure micro controller being in charge of supplying (and denying) power from the x86 gives us a lot of leverage and protection.
As far I understand, the difference is that in OO you normally transform data as you jump from layer to layer, here what do you have assembled is a simple program that will be interpreted by the lower layer
I've always just used psql and found it sufficient for my needs. What am I missing by not using a GUI/dev tool? e.g. What would I find easier, or what is possible in the gui that is impossible or difficult from the CLI?
Honest question, no snark or CLI elitism intended
Close.io is hiring remote, west coast Customer Support Executives
Depends on who you ask and your interests.

Nearly every journalist/news junkie/policy wonk/social activist I know where I live loves Twitter, largely because you can follow other interesting journalists/writers/professionals and converse with them on Twitter. I've had conversations with pretty notable people on Twitter which would never happen on Reddit (save for IAMA) or Facebook. I'm glad that there's a platform for anonymous users (Reddit) and identified users (Facebook/Twitter).

Whenever people trash Twitter, I'm always baffled, because the experience is what you make of it. I can follow interesting people like Snowden, Musk, Gladwell, William Gibson, Degrasse Tyson, Zach Lowe etc. and have endless list of links to browse or interesting thoughts to ponder on... the experience can be far more edifying that either Facebook or Reddit.
I'm very curious about that too. Many famous people have taken breaks from Twitter but to delete every single tweet is an interesting way to go. It's public so I can't see him trying to hide something but why else would you do it? To avoid and further Twitter interaction or something?
How available are the web platform's features?
Nutanix IPO pops big: up 90%
[1] turns out to be more subtle than people originally thought. Even assuming you can make loophole free bell tests (hey, it's been done!), the best anyone has been able to show this does -- even theoretically -- is randomness /amplification/ not true verifiable randomness. This boils down to the need for an initial random basis preparation of the qubits for which you have no true random seed.

I know some people have been working on solving that chicken and egg problem, but -- unless there's very new work I'm unaware of -- it's still unsolved.
For comparison, the new (opened in 2006) Berlin Hauptbahnhof (main railway station) is a similar multilevel open space all the way down to the railway tracks at the bottom, all under a shell of glass walls and ceiling.

http://architektur.mapolismagazin.com/sites/default/files/be...

http://tfrisch.de/wp-content/gallery/u55-berlin/HBF%20Berlin...

http://www.e-architect.co.uk/images/jpgs/berlin/berlin_haupt...

http://awesomeberlin.net/wp-content/uploads/2016/08/hauptbah...
Martin Kleppmann was presenting architectures that solve this problem:

http://www.confluent.io/blog/turning-the-database-inside-out...

http://www.confluent.io/blog/bottled-water-real-time-integra...

He does not just identify secondary indices and materialized views as possible candidates, but also other applications such as caching and search indexing as within the same class of problem.

Here, rather than trying to figure out a tradeoff between normalized and denormalized views, Samza and Kafka are used as the heart of what the above article was talking about as "generalized denormalization engine". It's done by capturing data change as a stream to incrementally build whatever denormalized view you want.

The downside is that this is still fairly clunky, if you have this expectation that this should be built into the database. Kleppmann's ideas breaks it out into a whole infrastructure to support that. On the other hand, if you do have a full time ops team, it sounds like it can work very well at scale.
Thanks!

Yeah, you a right, I'll upload slower gifs. Right now youtube video has the slowest speed, in fact it has segments with no frame-skipping at all: https://youtu.be/DOQTr2Xmlz0
Would you consider porting your implementation to GIMP? I'm sure the community would love to see it.
> except that when the position holds so much scrutiny, the ROI is analysed in greater depth. It may be unfair at a human level but is completely rational from an accounting perspective

The problem is that the position has an amount of "scrutiny" that is improper from an accounting perspective (...the point of the article...), but comes from the social status of the people holding the role. Of course, it's not actually accounting scrutiny at all that's the difference here (because if it were, even minimal scrutiny would reveal the error), but rather the social position of the people, and thus their access to influence of decisions.

Your argument is nothing but trying to guise an unsupported position about the relative importance of social classes in the terminology of economics, even though your economic arguments are baseless and wrong (in terms of their economic merit). This is part of a wider trend in the US to eliminate class consciousness and the social duty of the upper classes to the lower, and perhaps you're merely repeating those arguments without having really analyzed what they're saying.

Your point about the larger pattern in capitalist systems is correct: capture of market execution is sufficient for market corruption, but can be difficult to prove after the fact. This is the general strategy of the ruling class to control the lower classes in the US.
You should look more closely: it doesn't. The CSS selectors are for 2, 3, 4, 5, 6, 7, 8, 9, ..., 32. The most you can say is that it has sqrt(1000) == 32 hardcoded into it, but there are no primes.
Including the Hotel Pennsylvania. One of my fondest memories is attending The Next HOPE in 2010, arriving in New York City at Penn Station, and making the walk across the street to the Hotel Pennsylvania. Perhaps that's sad to some people - I grew up in the country where the tallest building was the three story church steeple in the middle of Shitkick, Texas.

It was my first time in a world-class city, and I had a phenomenal time - strolled down to K-Town and got some incredibly amazing Korean food, saw Times Square up close and in person, had a great time exchanging big thoughts with big thinkers, and generally had a wonderful time.

Now if they'd consider making Newark Airport and the PATH train into Penn Station not suck...
Update On The HydraDock Project Status
Just to make sure I understand, if I were to use 1D WFC with 1xN tiles, would it be the same as an (N-1)th order Markov chain? Or would it be a 1st-order Markov chain with (N-1) simultaneous outputs?
In the US at least regulators actively encouraged banks to consolidate prior to the financial crisis. Regulating a few large banks was thought to be simpler than regulating a larger number of smaller banks. Smaller banks also were typically regional which had the effect of concentrating risk. For example a crash in a commodity like oil or corn would take down many banks in a region and exacerbate the regional downturn. Larger banks had a more diversified portfolio and could better weather a regional downturn. Larger banks also reduce the risk of a run on the bank because during a run the money tends to simply slosh between large banks.

But the effect was to go from a diverse ecosystem of banks to mono-culture. Lower costs and higher productivity but more risk of losing the entire crop.
I've been thinking about this a lot recently, and I'm convinced we need a Storm[1]-like architecture for databases. Something which would allow views / denormalization / indexing to run in separate processes. Preferably in the same language the app developers speak. And at the same time be part of the database transaction logic - triggered idempotently by the database so you always see a consistent view of the data no matter how you update & query it. (You can do this efficiently with MVCC if you proxy queries through the indexer / denormalizer / view logic / whatever you want to call it).

I've scattered some more thoughts about this here, but its a big topic: https://josephg.com/blog/composing-databases/

[1] http://storm.apache.org/
Let's hope they don't fire them all like they fired their research staff at MRSV
Are they drawing a conclusion that, because the majority of the visitors came through the Hacker News link, that Hacker News users are the source of the negative commentary? Seems like conjecture at best.

It is a dangerous thing to put yourself out there to the public. It takes a lot of courage to do it and often you get no response at all. I agree we should strive for a better community I'm merely thinking out loud. I've seen more and more outlets removing or minimizing comment sections because of what kind of content they fill up with.
I'm not sure there's any time in the near future where we're going to be allowed to loft that much fissile material into orbit, due to the risks of the takeoff exploding and spreading it everywhere. Personally I think the risks are overstated, but that doesn't affect the reality that we're not going to be able to do that any time soon. We're not going to have Orion drives until we can get the fissile material from space.

Also it's not clear to me that an Orion taking off from a very-near-Earth orbit is a good idea, either. I'm not sure how to reconcile apocalyptic-sounding fears about EM pulses from nuclear explosions with an Orion departing from LEO.
Here’s How to Ethically Manipulate Other People
Yes, they are redundant, but there's still no special knowledge of the primes in the file.
Leisurely thumbing through things like indexes and foreign key constraints, one handedly.

Helps a lot if you deal with many databases.
Things you probably didn’t know you could do with Chrome’s Developer Console
The story in which this background is embedded is about Erdös and Guy getting a cup of coffee, so it doesn't seem unreasonable, and is entirely factually accurate, to mention first Erdös's reliance on coffee to fuel his inexhaustible mathematical energy, and then to acknowledge other drug abuse.
Exactly this. It removes the temptation of someone commenting on an old post and then having media contact him to ask what he thinks about someone's opinion of something he said a long time ago.

Could someone have archived all his tweets and still bring it up? Sure, but it's far less likely.
My IDE stashes things behind the scenes quite often, allowing me to do many operations on "dirty" workspaces.
That's too bad. @pmarca had one of the smartest accounts on Twitter. I'll miss reading him.
I disagree on this point. It makes sense when you examine it naively. However, dismal past performances of a CEO's former company is not an impediment to hiring.

The hiring of a CEO isn't as technical or data-driven as one would think such an important decision would be. It often comes down to who the board feels most comfortable with/trust, often times based on personal relationships. As you ascend beyond the 1% to the .1% or .01%, you're playing with a vastly different set of rules.

People on corporate boards generally are on multiple corporate boards. I'd wager that if you looked at the social network graphs of board members, the CEO's they choose are almost never more than one hop away. CEO's that have faced massive scandals or have torpedoed companies seem to always find new jobs because once you're in that CEO/board member social network, you're never really out unless you do something unforgivable like Bernie Madoff. Most important, they have the luxury of time and options since working at this point is purely optional and not needed to pay for expenses. They can work on a vanity project, start their own foundation, join other corporate boards, focus on investing in companies instead of running them, make inroads into the public sector, or they can wait until any heat dies down or is forgotten before re-entering. This is one list of what execs did after a scandal: http://money.cnn.com/gallery/investing/2013/09/13/financial-...

It's a different dynamic since most people work for money while CEO's accumulate wealth. Their money works for them, not the other way around.
> despite being a male and despite being an adult

I think there's your answer. I'm also male and adult, but I've been online long enough to know what the dark side of the internet is like. Like you, I also don't take these things as personally.

But why should be only accept the lowest common denominator of "inevitability"? Why should me being okay with something mean that everyone should be okay with it?
Show HN: Use $sugo for modeling, syncing and storage data easily with AngularJS
Agreed. Ditto for most of Europe. Everyone should standardize on YMD. Lexical sorting and least-to-most specific times make the most sense.
We should try to find a way to at least reduce the inevitable harassment if we believe it worthwhile to increase public participation of those who are more prone to harassment.

It may be that solving this problem is impossible, but I think it is good to try.
I'm usually the guy arguing against microservices, but I think this is a good example of why they shine. It's much easier to manage the updating of these synthesized numbers if you have a discrete service that limits the things you can do at a higher level. So instead of worrying about who is updating the data store directly, you push it up to a higher service-level interface where you have a finite list of operations that are supported, and the scope is small enough that one architect can understand the system in its entirety and make smart decisions about how to compute/store/cache these synthesized data.

That said, if you have less than 10 engineers this shouldn't even be thinking about this. Way too many young engineers get hung up on scalability when they don't even have anything on the horizon that will require scaling. Couple that with a general ignorance of SQL because it's old and boring, and not realizing how much performance you can eke out of a well tuned RDBMS with proper schema and queries. A SQL DB is an incredible hedge against an uncertain future, keep your data tidy and you can keep pivoting until you find something you actually have to scale.
Not at all - the reasoning is that the overlap between programmers and users is tiny, the programmers won't use it in the way artists do, and so problems don't get noticed. This is just what happens when you don't eat your own dogfood.

As tools go, Photoshop is pretty embedded, and most professional artists use it. Few professional artists use GIMP. (I've worked with lots of artists - this is just how things are. Most haven't even heard of it, and don't have any interest in it, which is fair enough, because most of the time it can't even load Photoshop files properly.)

Out of the artists that do use GIMP, professional or not, even fewer work on GIMP, as in, write the code that makes it do stuff. (Few artists have much inclination and/or talent when it comes to programming.)

This means that the intersection of people that write stuff for GIMP and people that use it is small; the intersection between GIMP programmers and GIMP professional users is tiny. So if there's something wrong with GIMP's implementation of stuff that professional artists use all the time, there's a good chance it won't even get noticed, let alone fixed.

I'm guessing a bit here about all of this stuff, I do admit. (How much insight do I have into the GIMP development process? None, of course.) But I've got good evidence for the theory, since most of the time GIMP can't even load Photoshop files properly! Even though that's, like, requirement #1 for anything that purports to be a useful tool for artists. GIMP is about as much use as a spreadsheet that can't open xslx files and has no OLE automation support.
Fair enough. I actually hadn't realized that they were both Penn Central stations. (I assume that at some point they were terminals for two different railroads--hence the lack of decent connections between them just like Boston.)