skysight-inc/HackerNews huggingface dataset:
> There seems no sensible reason why ints are 32 bit on a 64 bit platform, it only introduces inefficiency[1]

I don't think that is a fair summary of your link at all.

First of all, the conclusion of that link's analysis is that there is no performance penalty in this case, because the compiler exploits undefined behavior to eliminate any penalty it might otherwise have caused.

Secondly, 32-bit instructions on x64 are smaller than 64-bit instructions. For example "inc eax" is a 2-byte instruction, but "inc rax" is 3 bytes. This is because 64-bit instructions need a REX prefix.

Also, as others have mentioned, there is the issue of RAM usage.

I'm not arguing that 32-bit integers are superior overall. I'm just saying that 64-bit integers aren't strictly better in terms of efficiency. For cases that will never need more than 32 bits, a 32-bit integer is probably better.
Laws of Software Development (2007)
Turkey has a history of these kinds of coups. The reason why it hasn't happened earlier in Erdogan's reign is because Turkey is trying to join the EU, and military coups work against that as it means the state is not stable.

However, Turkey is interesting in that the military coups are usually conducted in the name of freeing the people, rather than oppressing them. Usually it's just naked power grabs.
Ask HN: Emacs-like Incremental Search?
Is there a native macOS text editor that supports emacs-like incremental search, meaning that upon completion of the search, the cursor is left at the beginning of the match? If I search for "apple" and type "ap", the cursor should be left before/on "a" when I end the search; "ap" should not be highlighted.
No one is misunderstanding you, you are just wrong.

Even if you were right and we were in a "warming" phase, the velocity of the change should be on a geological scale; that is, very very very tiny. We are seeing rates of warming orders of magnitudes higher, which cannot possibly be anything but man made.
At a guess, cropdusters are not designed to dispense something as thick and colloidal as peanut butter, and they're designed to maximize coverage. Presumably these animals do better with "pellets" of peanut butter, rather than a fine mist of peanut butter slurry applied evenly over the landscape.

Presumably, everyone does better with that.
"Nobody is going to ask you why you have, for instance, a 4 month gap in your résumé"

How would they know, in the first place? I always use year ranges to describe previous employments. So, job one could be 2003-2006, and the next one 2006-2011. Gap? Between zero days and 11 months or thereabouts.

Also, 2003-2006 followed by 2007-2011 could mea. A gap from zero to almost two years, but it doesn't look that way.
Very nice writeup, I did something simmilar but not as usefull https://jeena.net/catdog

"The goal of this project was to give a computer a drawing of either a cat's or a dog's face and let it recognize with high probability whether a cat or a dog is shown."
> would you support a coup in your country if that meant potentially years of unrest and economic crisis

Of course I would. Once you have children, you have a foot in the future. You look at what your counry will be like in 30 or 40 or 50 years. You don't focus so much on short term gains, but on long term gains.

If you feel that your country is heading down the wrong path, and altering that path will result in a better life for your children in 20 or 30 years at the expense of short term pain, of course you support altering the path of your country.

The people of the UK chose national sovereignty, at the risk of near term economic pain that the remainers shouted from the roof-tops, was sure to come. They did it anyway, because long term, they will be better off.
>There seems no sensible reason why ints are 32 bit on a 64 bit platform

The reasoning I have always heard is to keep RAM usage constant. If you have a standarts complient C program that uses primarily int as datatype, then with 64 bit ints the 64 bit version of the program uses twice as much memory as the 32 bit version of the same program.

I'm not sure I would call it a great reason, but 32 bit ints may have been the pragmatic thing to do.
Exactly. Better to improve the OS level sandboxing rather than duct-taping it all together with another layer of indirection via hypervisors. But it'll take a lot of work.
Fabrik – A Visual Programming Environment (1988)
IIRC, Microsoft licensed Hyperterminal from a company called Hilgraeve (sp?). It was never an official part of Windows, although IMHO it should have been.

Regardless of who owns/owned the trademarks in whatever countries, it's not appropriate to reuse the name. It will lead to unnecessary confusion. Bad call, even if no lawyers get involved.
Uh, wasn't some wannabe tinpot dictator or other found shot with that at his side while trying to use it? Doesn't bode well for its success...
IBM System/38 and descendants have had 128-bit pointers since the mid-70's.
Exaptation is a product of exaptation.. smirks
Wikimedia Foundation intervenes in Canada to protect online free expression
Yes, the container runtime flags are per kubelet wise[1], so you can have a cluster with a mixture of runtimes.
I can see the value you mentioned in testing and trying out the rkt+k8s. In fact we did something similar a while ago where we had Docker running in the master node, and rkt running on the minion node to narrow our testing scope.

[1] http://kubernetes.io/docs/getting-started-guides/rkt/#spin-u...
What should they have done (additionally)?

E.g. take out/over all civil communication infrastructure, such as ISPs, cellular networks, phone landlines?
Then enforce the curfew with actual deadly force (since they are not a police force with riot gear...)?
mostly anti coup
Videos of tanks turning back away from angry mobs are spreading. Even if it failed, at least bloodshed seems avoidable.
While I'm sure the US isn't losing sleep over Edrogan going away there's no reason for the US to have any role in this besides the standard assurances to the coup plotters that the US won't move against them.

Recently, even that hasn't been necessary, which has really damaged the "puppet strings" theory that was so popular a decade or more ago.
For $50 I'd hope so! That's an expensive meal sans alcohol. I've had great meals at every price point, but above $25/person I'm expecting a good meal, above $50/person a great meal, and above $75-100 an exempelary meal.
Show HN: Building of Question-Answers Community Forum Application Part 3
Its a matter of opinion, I think a genie is very fitting for a CRM. The problem is it doesn't look like a genie. It also doesn't go with the name.
Over the built-in Terminal.app? Why?
Well, 32 bit ints dramatically simplified the porting of some 32-bit software to 64-bit since it didn't cause large arrays of integers to suddenly double in size.
> That's actually a very interesting system of government. A democratic arm that rules the country day-to-day, and a "benevolent dictatorship" that will overthrow the democratic arm if it violates the country's "fundamental principles". Such a model would arguably have served Iraq better than the pure democracy that was attempted and failed.

Technically, the Queen can do the same thing in England. Not an uncommon check valve.
> don't you think major world events that are getting tons of interest should be allowed to float up to the front page on their own merit?

I don't really see why. It's unlikely any HN readers use HN as their sole news source (and if they do, it's probably because they're uninterested in other news), and there's no shortage of alternative discussion forums for regular news.

> If the users are interested in it, why is it being deleted?

I'm extremely interested in this story, but I come to HN to read about tech news. I've seen multiple forums/subreddits/etc. lose their core focus because moderators were unwilling to keep the discussion on topic, so I really appreciate that HN's mods actively work to avoid that.

Edit: For the record, I don't mind a non-tech news story popping up now and then. But I don't want to see any off-topic post be kept around simply because it gets upvoted.
Ask HN: Why Y Combinator? Why not Y Combinator?
Even though Y Combinator is so famous among the venture capitals, I wouldn't be surprise to hear founders turning down Y Combinator's offer. So why Y Combinator? And why not Y Combinator?
If I may make a correlation to initial conditions and randomness: https://bl.ocks.org/mbostock/19168c663618b7f07158
SHOW HN: Free Service Credit – Hire us to find you tech talent on demand today.
Get your first tech talent on demand free of charge. This deal is good for any new company or start up client.

Reasonable fee's on call can be discussed for continued service as an option.

Are you a very talented developer and need extra remote work? We can help you as well.

Email: rmack@undercoderjobs.com
Like a few commenters on this thread, I participated in a lot of math contests in high school. Never made the IMO but placed at/near the top in regional and statewide competitions.

On the one hand, my experience mirrors some of what the article talks about: I learned very quickly that the things professional mathematicians work on are very different from math contest problems. (I went to college intending to major in math, but switched to CS as soon as I took a semester of abstract algebra.)

On the other hand, the article seems to imply that many great mathematicians look down on math competitions for not giving an accurate portrayal of math as a career path. I don't see why that is an issue. My high school was a math magnet school, and 100s of students participated in monthly contests like California Math League. Almost every participant that I talked to in those days did math contests because they were fun, or because they were an interesting challenge. I never met anyone who said "I want to be a mathematician, and contests are clearly the first step on that road."

For me, math contests are like high school sports or drama or anything else. They appeal to certain subgroups of kids, they're fun and hopefully educational/useful in some way, and they don't have to be more than that.
As a bonus, it can be repurposed as a riot control device against disgruntled peanut-allergy sufferers.
Curiously the description of the West cheering on the non-democratic results reminded me of Shah-era Iran, that turned out swimmingly.
Privately it has been talked about by my friends for years. It's also a bit dangerous to talk about in the public realm for a number of reasons which is why some discretion is a good idea. Look up Gawkers sources of funding, really look properly.

Of course I could be wrong, but that would require a chain of coincidences worthy of Lemony Snicket. Who also lives in the Bay Area!

There is a list of people who want to sue Gawker a mile long so there's no reason to suspect Ayyadurai is/was indirectly funded by Thiel. As ch4s3 pointed out, this would actually make the objective less likely because of laws against frivolous lawsuits. Regardless of how valid Ayyadurai's lawsuit is, Thiel would have been selective, using his training as a lawyer to choose the case(s) he thinks are certain to win.
> 3 swipes a second for 30 seconds

They're saying 90 swipes in 30 seconds.
The time limits are overkill except if you chose the algorithm wrong.
YC's take: http://www.ycombinator.com/why/

Related HN discussion: https://news.ycombinator.com/item?id=11127804
France would be a good western example of the frail intrinsic support for liberalism by democracy.
Would you like someone to actually slap you on the wrist every time you make an innocent mistake in which there are no actual damages and nobody is hurt?

This is not a case where the company failed to transfer money owed to the government. And even in such a case, the appropriate remedy would be actual damages plus interest, where the interest is at some punitive rate.

Because some transactions were innocently concealed, the damage is that the government may have lost some opportunities to catch some people laundering money through those branches of the bank. But that is very indirect. In any case, in those cases they would probably have existing suspicions, right? And they would notice that, oops, that person is using a branch for which we have no data from Citigroup: how come?

The SEC didn't catch this error precisely because they were not investigating any user of those branches for which data were missing.

They only lost the opportunity represented by situations in which the data is the primary source of the initial suspicion of wrong-doing. That is all. As in, something in the numbers raises a red flag, and then they investigate and uncover something.

Well, they have the data now; they could comb through it, right? This 15 year period, or at least most of it, should be well within the statutes of limitations that they could still prosecute cases uncovered by the data.
Not seeing any similarity there other than being a separate group. At least the judicial branch has to follow procedure and constitutional law, whereas a military can just rule via force.
Could there be a coup in Turkey? (March 2016)
Reduce the standing army and replace it with conscripts.
A democratic arm that rules the country day-to-day, and a "benevolent dictatorship" that will overthrow the democratic arm if it violates the country's "fundamental principles"

Exactly (part of) why I'm in support of the monarchy in the UK. If push came to shove, the armed forces swear their allegiance to the British monarch, not the government (I'm from an army family and know this is taken seriously).

We have attained an interesting stalemate where a corrupt/crazy monarch would struggle to assert power, yet a grossly malfunctioning government can still, in theory, be replaced by one if the people were to allow it.
I agree. The election was a shit show. In addition, Erdogan's apparatus attacked liberal institutions and people with investigations and law suits. But Erdogan would not be able to do so, if he had not have the support of a majority. So in a way, its a somewhat weird, imperfect democratic process.

My hope is with the young turkish people, to influence the situation in a good way. Maybe this will trigger a much stronger democratic process. Anyhow, Erdogan should step down.
I never had the originals, but some of them made it into print:

http://www.ncbi.nlm.nih.gov/pmc/articles/PMC545921/figure/fi...
I was pretty good at math competitions (2x putnam fellow) but never that great at being a mathematician. But I still think math competitions are great experience. Winning at any sort of competition teaches you how to be persistent, how to work hard, how to recover from setbacks mentally, how to maintain focus for a long period of time, and how to gear up for critical moments where you need to perform.

For example, when I first went to the math olympiad summer program, I had trouble focusing on a single math problem that I had no clue how to solve for three hours straight. It's hard! The training program basically forces you to do that over and over, so I ended up learning a lot of how to focus for large chunks of time and do useful things to attack a problem that I didn't initially know how to solve.

I went into computer stuff instead of math stuff after college, and there's a lot of stuff I never used again. Algebraic topology, all the geometry theorems they don't teach you in high school, you name it. But the ability to work really hard on a single technical problem until you nail it, that's been constantly useful. Especially in startups.
I read this book cover to cover and did all of the exercises earlier this year. I didn't take any upper math in college that involved proofs, and this book has really helped me get over my fear about it.
Author here -- I also just published a new post on ray marching, which you might find interesting if you find this post interesting: http://jamie-wong.com/2016/07/15/ray-marching-signed-distanc...

My luck on HN has been not so great. All in all, I think my posts have reached the front page ~5 times, only 1 of which I submitted. But oh well! Glad they get there somehow and people like them!
Thailand has something similarly interesting. They basically have three branches of the state which balance power: the Monarchy, the Government, and the Military. When the government steps out of line, the Monarchy will approve of a coop by the Military. Laypeople, not knowing whether the coop will be good or bad, will look to the Monarchy to see whether it approves.

> A democratic arm that rules the country day-to-day, and a "benevolent dictatorship" that will overthrow the democratic arm if it violates the country's "fundamental principles"

Huh. It would be nice if we had that here in the US.
Thank you for the practical advice! I will have to read that book.
Quiver looks neat.

If you're searching for something plain and simple, keeping a repo of Markdown files on GitHub has worked well for me.

I make one file for each book / article / lecture. The material I cover is mostly about tech or entrepreneurship.

https://github.com/tedmiston/notes

Here are a couple of the most complete pages in it:

- Show Your Work! by Austin Kleon - https://github.com/tedmiston/notes/blob/master/books/Show%20...

- Zero to One by Peter Thiel - https://github.com/tedmiston/notes/blob/master/books/Zero%20...

- Startup School Radio #35: Paul Graham - https://github.com/tedmiston/notes/blob/master/podcasts/Star...
So he is like Chavez? I hope the country does no end up like Venezuela.
> Linux in particular used to have a very questionable virtual memory implementation³, but I suspect it's been much improved.

The document you're referencing is written in 1999. I suspect a lot has changed since then.
Wealthy people create trust funds for their children. Most of their children are still productive. And even if they are not, no one complains or worries about them not being productive.
Also, nobody is using select and poll in Linux these days, epoll is the way to go.
My interpretation is that it's very intentionally heavily based off of Fight Club in season 1, but that's just the setup. Now it's what happens after Fight Club. If it were a rip off, you wouldn't have so many Fight Club references and easter eggs. I think it's "sampling" and not "biting." Of course there's disputed gray area, but I think the self-awareness makes it clear that there's a respect for the material it's building off of. There's a lot of American Psycho, Taxi Driver, etc. in there too. It's basically an amalgam of all the mind-bending/character study plot techniques.
My MS wireless receiver is on a USB 2.0 extension cable, plugged into a USB 2.0 hub, plugged into a USB 3.0 hub, plugged into MacBook's USB 3.0 port.

I tried it without the USB 2.0 hub, but it was flaky.
I've never understood why cat people see the poo thing as an ADVANTAGE for cats. I want the fecal matter OUTSIDE my house TYVM.
Military coups are almost always in the name of freeing the people. If Turkey is special, its because its military coups actually end up doing something like that in previous, not that they are in the name of it.
The JavaScript Raytracer (2003)
Could I run this off a locally hosted gitlab repo too somehow?
Control Hollywood.[0]

[0] http://www.thewritersjourney.com/hero's_journey.htm#Memo
Stuff like this is a nice touch. I wonder how long it will stay up?

It would be controversial but really interesting if they dropped an actual 0-day during the show as well.
Why? France has been liberal and democratic for the last 100+ years.
Babel does the same thing; you just press Control-C twice while the cursor is in a code block, and it's evaluated and the results inserted immediately below the code block. (If there are already results there, they're replaced by default, but you can opt to have new ones appended instead.) It's no less interactive than Jupyter; it's just interactive in the paradigm of an Emacs buffer instead of a browser window.

A major feature Babel offers, which Jupyter doesn't seem to, is passing data among code blocks in different languages. Any language Babel supports [1] can receive results from any other in the receiving language's native idiom, so there's no need to marshal temporary files or what-have-you in order to exchange data among blocks - Babel takes care of that for you. In a case where multiple transformations are necessary to get from source data to results, this makes it very easy to express each in a language well suited to it, without having to spend a bunch of time and mental energy on menial file shuffling.

The same is true for most other representations of data that Org mode supports. In particular, Org tables, which themselves have many features of spreadsheets, can be sourced in code blocks in the same way as the results of other code blocks, and a code block can generate an Org table as a result. These tables can be imported and exported as CSV, too. My work is professional rather than academic, but I can imagine a lot of cases in which this capability would be useful in the latter context, and Jupyter doesn't seem to offer it. (It's hard to tell, because Jupyter's documentation seems pretty thin overall - not something which can be said of Org mode.)

On the whole, Jupyter looks like a pretty nifty tool, and one which would be accessible to people who don't already use Emacs. I'm not sure how I would feel about recommending Emacs to someone just for Org mode, although I've heard several people say they picked up Emacs for precisely that reason and have stuck with it. But, if you already use Emacs and don't have contextual reasons (such as everyone else around you using Jupyter) to choose one tool over another, I wouldn't hesitate to recommend investigating Org mode first, because it is very nearly a strict superset of Jupyter. (It'll be a few years before you can easily embed a video in an Emacs buffer; right now you'd need to use a pre-release version with some extra compile options.)

[1] http://orgmode.org/worg/org-contrib/babel/languages.html
I sure hope the takeaway from these documents becomes "We need to question our own executive branch and be more hesitant before spending 1.7trillion on a war" rather than "Let's get Saudi Arabia next!"
When the code is something tedious, I keep a physical timer on my desk and timebox a working solution to 10–20 minutes, then (as long as it works), I move on after that. No need for perfection with everything.
The judicial branch decides what Constitutional Law means. Its constraints on doing that are largely that it had traditions of applying certain principals developed by the judiciary itself, and, of course, that it is constrained by what people will follow when it issues its dictates.

But, yes, the similarity is quite distant, as I said; just less distant than that in the offered comparison between Turkey and Iraq.
I think the key to success here is the credit being drawn from the local government not the immigrants. It's brilliant, frankly.
So, Herbalife IS a pyramid scheme according to the FTC's own definition, but they WON'T call it such, and will extract $200M from Herbalife and allow it to continue.

This is the worst possible result for anyone who is not the FTC or Herbalife.
What? That comment isn't me. I haven't commented on Nice or Turkey.
Right, that's a different question. I was trying to answer why people might support Erdogan; it's entirely reasonable for people to oppose a coup d'état despite not supporting the current government, for exactly the reasons you mention.
I did this for Windows update on Vista last year. It was really misbehaving, chewing up a lot of memory and CPU time. Eventually I found and applied a patch but during the investigation, I isolated Windows update to its own service executable container.

TL; DR:

sc config <servicename> type= { own | share }

I got that from this SuperUser stackexchange question:

http://superuser.com/questions/860117/isolate-hosted-service...

A registry-tweaking approach is also given.

Then wrote up my own answer to the WU issue:

http://superuser.com/questions/77658/svchost-eating-up-memor...