skysight-inc/HackerNews huggingface dataset:
> For now we've found that restarting the httpd and mysqld services brings things back to normal almost immediately.

You need to examine the restart process and analyze why it resolves the issue. If the reason is the abandonment of dead parasitic processes and memory leaks, you need to find out why and correct them. If the reason is that the restart unceremoniously drops all the current transactions, you need to increase capacity.

> Can anyone think of any downside to this (used at least as a temporary measure)?

I certainly can -- a bunch of really irritated visitors, whose transactions are abandoned. But that's only true if that is actually what's going on. Make sure you don't have software issues that are preventing efficient operation. If that's not the issue, you need to grow with your customer base -- increase server capacity.
But that is not was I was looking for. In your example navigation is the first thing in the markup, when content should be the first thing. Also, navigation does not belong to article, it belongs to site. And the same goes for footer.

And those skip to content -links just the kind of hack we should not have to do. There should not be anyhting before the content, markup-wise.
Is it worth reading the first edition or should I wait until this is finished? I'm quite experienced in JS but glancing the first edition it seems like it explain some abstract things I still can't wrap my head around in a good way.
Ha, thanks, yeah it's taken a while, and I took a lot of wrong turns. The game is commercial and so closed source, as I'm trying to turn this into a paid day job. And besides, my code is dense and horrible. ;)
Has Apache lost its way?
How To Learn Everything
Yep, I see too many senior people violate UUOC/UUOG
ie..

cat file | grep bar | awk '{ print $1 }' | sort | uniq

which can be

awk '/bar/ { print $1 | "sort -u"}' file

The best resource if you really want to be a better shell citizen (assuming you use Bash) overall is #bash on irc.freenode.net and Greg's bash wiki.

http://mywiki.wooledge.org/BashFAQ

Honorable mention also for #awk on irc.freenode.net also which has taught me a lot.
Mentally, I think of most Unix utilities as operating on STDIN and producing STDOUT. Therefore, to get the lines from a file into STDIN, I usually cat it. It's pretty common for me to write something like:

cat file | grep xyz

Of course, this is completely unnecessary and a "waste" of using cat, as grep accepts as input a file or list of files to operate on, as do many other utilities. However, I don't care. It's additional mental clutter to have to remember the way to specify input from a file in addition to stdin when I know I can always cat the file and pipe it to whatever command I want.
That depends who you ask, to be I struggle with iOS, I prefer the Android experience, and if I don't like something I am free to change that application for something which fits better for me.
With PHP you can enter the wonderful (and lucrative) world of Wordpress templating, plugins and/or maintenance. Like the other post suggested you will be burnt out if you freelance while working full-time so balance your freelance workload such that you still enjoy what you do.
If it means that trademark filing goes ahead smoothly without the trademark being contested I guess some people would see that as useful spend of money.
New DNA study suggests Climate Change drove the woolly mammoth to extinction
He knows more about court expenses, than you know about what he knows. Just say "It's expensive to go to court", or better, just don't comment.
According to the linked story at the time he said "so sue me" he had made ~$32k gross revenue and had no employees.

He made his $400k and hired the employee much later.
The video is 4 years old.
The torque is very nice, I traded in a `09 370Z for a Volt and have found my driving style adjusted more conservatively (with a side benefit of less speeding tickets.)

I've leased a Volt for 12+ months now and consumed < 30 gallons of gasoline in that time. My chief complaint is not about the car, but about the lack of metered charging stations. The charging stations in my area (of which there are a fair number) are flat rate $2.50 regardless if I require $0.05 or $0.90 (my max residential rate charge expense) of energy or whether I'm parked for 5 min or 500 min.
JavaScript API to control loading progress indicator in browser adress bar
I felt painfully ignorant when I realized this was nothing to do with felines.
If Apple haven't released NFC by now, they're not gonna. They might throw up a slide at some point in a year or two pointing out how little Android users actually use NFC, right before announcing that they've managed to get extremely-low-power Bluetooth autonegotiation with auth-token-push on thumbprint-confirmation working, or something.
Sakura VPS
1GB RAM, 2 virtual core, 100GB HDD, about 10$ a month.
http://vps.sakura.ad.jp/
>Retina Screens on Phones

There was actually several android phones a better screen resolution than a Retina display when it came out, they just didn't have a marketing term attached to them.
Ah, I see what you mean. Yeah, that's a bit obnoxious, especially when it's something as gratuitous as a slideshow or something with CPU-hungry fading eye candy.
That's how our Chubby clone works... it uses the Route53 API to publish service endpoints and leaders.
Software Makes 3-D Models From Any Photo
With lawyers, if everything goes perfectly then they just did their job. If anything goes wrong they're entirely blamed for it. Since they are paid by the hour, there is an explicit incentive to spend as much time as possible to make sure everything goes perfectly.

Typical agency problem. It's up to the client to tell the lawyers when they are done.

Now, the very very best lawyers, the ones who have a waiting list of clients, would prefer to spend less time on each contract. They want it done right and done fast so they can move on to the next thing. They fall outside this dynamic. But in any given field of corporate law there are only a handful of these. If you are at a startup, you are not using these lawyers (and don't need to). You need to be able to recognize the point at which your lawyer's comments pass the reasonable risk/reward tradeoff and ask them to put their pencils down and stop work.
Do you also like to deliberately explain (at least to yourself) your upvotes and all the cases when you didn't make your mind or mindfully decided not to upvote or downvote? Not trolling you, I just have really hard time trying to give my vote either way, and usually just move on to next comment or submission.
It seems like Apple has been clear about the security of your fingerprint on your iPhone. Could the NSA be hacking your phone and retrieving this information? Nothing is impossible, but probably not if Apple has done what they describe.

A lot of the paranoia on Reddit and even HN seems misplaced to me. Federal and state governments already have large fingerprint databases. Most of you probably don't even remember when the police visited your grade school and taught the class about finger printing. Guess that they were collecting. So it's possible but unlikely that the federal government will collect your fingerprint data. However, we KNOW that the federal government is widely collecting communication metadata. This information is a much greater threat to freedom than your fingerprint. Both datasets are identifying, but one reveals a lot of additional information - about your lifestyle, habits, politics, speech, ideas, etc. The fingerprint conveys none of these.

The government has lots of ways to identify you if they want to. Most of these methods of identification are MUCH easier to implement than fingerprints (communication metadata and patterns, face recognition, license plate tracking, etc.). In the end, making a cell phone call is more convenient but less secure than other types of communication, but we accept this trade-off. The trade-off for using a fingerprint to facilitate dozens of daily interactions with your phone seems possibly more favorable in terms of privacy.
Lawyers can either be your best friend or your worst enemy in getting a contract worked out. If they're just posting letters back and forth at each other, I'd try and find a different lawyer fast.

A conversation needs to take place with the interested parties so that people know what they can compromise on and what they can't - see how much leeway they're prepared to give each other. Marked up contracts, after the initial exchange arguing about things that the client perhaps doesn't even care that much about, is not such a conversation.
The music is by http://giolobato.com/ who has some more albums on bandcamp if you're interested.
Medical marijuana doctors site in Massachusetts
I really like the way Glenn is moving the story. Every new punch is unexpected. And gives enough rope to the Administration to hang themselves.

Can by these deals the NSA whitewash intelligence? If something has come from outside sources they can use it.
I have the downvote button :) while I wouldn't have downvited the parent comment, I understood why he was. The comments are what separates HN from other sites in my opinion. A "relevant:" comic comment doesn't do much to advance the discussion, its just noise in the thread -- this is of course simply my opinion.

Linking a comment, and linking a journal article are two very different actions. I wouldn't downvote someone who linked to a journal article, but that's still kind of a crappy comment. Give a summary of why you're linking to the article, not a chore for us to try and figure out what kind of point the commenter is attempting to make.

The fear is that without moderation, the reddit-ification of the comments will continue its steady march forward. Hence, down voting comments which don't add much
Wow. I just read the man page for tsort and I am none the wiser.

tsort takes a list of pairs of node names representing directed arcs in a
graph and prints the nodes in topologi-cal order on standard output.

It's not often I understand nothing on a man page. But this time, I'm stumped!
Google doesn't make any money off their Nexus devices. They sell them close to cost. Unless Apple is planning to convert itself into an advertising company (like Google), I don't think holding out the Nexus branded devices as an example to follow is reasonable. Samsung is really the only player making significant money in the Android space. I think it makes more sense to look at what they are doing.
"It's part of the way to success. In the Netherlands you will get BURNED for life."

Couldn't agree more.
I love how a 4 hour sell-off somehow means "the market" has uttered its final pronouncement on Apple's latest product lineup.
For example, the KDE security mailing list is definitely private, and some KDE bugtracker bugs are private as well.
Yeah, this is pretty much the case.

The quant derivatives pricing teams at banks are where the stochastic calculus folk tend to head to. Their teams are generally highly respected in this area. Also, banks are doing a different job to funds. Banks are generally interested in assessing the risk or trading risk of these products, either on prop (i.e. with their own funds) or to clients.

Funds tend to concentrate more on statistical/machine learning/econometrics research approaches. The culture is generally more like a research institute thank a bank. They tend to hire more PhDs from Comp Sci, whereas banks will hire directly after MFE or straight out of undergrad.
Anecdotal but when I upgraded from Windows 2000 to Windows XP, I actually noticed faster boot time. It still took over three minutes on my old machine though.
What does Gmail have to do with it? It was the way Google Scholar was building emails that was at fault, right?
>> (or having my bio-implanted arm chopped off though I'd assume at that point they could just use a $5 rubber hose to get the in memory one).

Trust me, at the point they get the bone-saw out, they can save the 5 dollars on the rubber hose and simply ask ...
This, so much. It really does feel a lot like the Mac vs PC wars again.

I just wonder if Apple can learn from their mistakes in the 80s. Perhaps they are, and are trying to avoid the fate of 1990s Apple with some of the strategies mentioned in other comments.
Inside the world’s largest arms fair
That doesn't sound much at all like a bloom filter.
I would still use the former.

Chances are, I'm not going to remember awk's somewhat weird, more unfamiliar syntax -- everyone knows about cat, everyone knows about piping, those two go very well together.

Using cat with pipes typically linearizes $x operation in our minds, it makes it easier to come up with solutions, and makes it easier to change them as modification is needed.
Agreed no one knows what Android is. However, there's no sign that anyone is concluding that "Android is terrible". People who buy cheap phones are not going to be comparing to the latest iPhone.
so what are the sales numbers of the cited best-in-class phones?

HTC in particular seems like a dead man walking.
That's impossible. I'm a Google lover. How could you have unknowingly betrayed my allegiance???
A Scientific Look At ‘Metropolis’ (1927)
> They'll buy the cheapest Dell. It'll fall apart in 6 months. "Dells are terrible".

But at least Dell is a single company / manufacturer and not a brand name. Of course, said experience could make people go "Laptops are terrible". Actually, it does, and they go right back to their Macbooks.
Why is nobody talking about the camera improvements, the speed improvements, and the fact that this is the first 64 bit phone? The improvements to the 5S are actually dramatic, you just can't see them yet.
People can easily buy technology to log every keystroke on someone’s computer, the court noted, but that did not make those keystrokes “readily accessible to the general public.”

This is an awful argument.

On the one hand, someone is broadcasting information on a public channel.

On the other, you need to surreptitiously install hardware or software on someone's computer.

The fact that people didn't realize they were broadcasting on a public channel is terrible grounds to claim that they had an expectation of privacy.

What do you mean truckers on the highway were listening to my private CB conversation with my fiance?!
And the car analogy still does not fly. A Bentley will work fine on the same roads a Volkswagen does. However, an iPhone will not run, say, Android apps. If Apple's marketshare drops under a certain percentage, it becomes less and less interesting to treat it as a first-class citizen.
Are Abandoned Basket Emails a Form of Growth Hacking?
EVs have been around for a long time, and the Leaf is not the first "mass-produced EV" as the article claims. In 1996, GM produced the EV1: http://en.wikipedia.org/wiki/General_Motors_EV1

Electric Vehicles have been around for about 100 years or more: http://en.wikipedia.org/wiki/Electric_vehicle#History
Apple's challenge is that they have been iterating by adding features to the iPod for more than a decade. Adding a phone, and touch, and software and a bigger screen have worked because they have found a way to do so profitably and at scale. They sold because they provided new kinds of uses.

But in the end, it's the electronics industry and the efficiency of supply and manufacturing pipelines is increasing faster than Apple's demand - i.e. the companies which make up the pipeline are growing their businesses beyond meeting Apple's demands and Apple's competitors are able to utilize that capacity to make their operations more efficient.

The seed change is that Apple is increasingly marketing their products on specifications rather than differences of kind. Retina was the first example of "now with more of what we already have." Adding a quad-core processor is just a faster horse not an airplane.
I've never heard of that language. Amusingly, I had toyed in my head with the idea of modeling this language. Seems you pretty much have to have some notion of "dynamic" typing, since the type of a variable changes on calls to it.

Thanks for the pointer, here is a link, for those that will also find this interesting. http://wiki.clean.cs.ru.nl/Clean
Sure -- but if you're happy being an employee, not a founder, the $$$ is great. </big_corp_cog>
iBeacon.
The "Domestic Terrorist" You Can Call a Hero
Got it:

A COMPUTER WOULD DESERVE TO BE CALLED INTELLIGENT IF IT COULD DECEIVE A HUMAN INTO BELIEVING THAT IT WAS HUMAN WWWDOTMETRODOTCODOTUKSLASHTURING

Now onto something a little more productive.
> FYI: Most people working in the Pentagon are forced to use IE8

And in a different DoD office a few miles away, IE7. :(
40 OZ NY STARS SNAPBACK,40 OZ NY STARS HAT,40 OZ NY SNAPBACK FOR SALE
I'm going to agree with you here. 99% of the time this UUOC stuff is just premature optimization. If it gets the job done it does not matter if it wastes a few milliseconds.
I actually think the colored iPhones look nice; I'm tired of carrying around a phone that looks like it was designed for a lawyer or a wall-street jerk.

And the 5S might have an amazing camera, but otherwise I don't see why I'm supposed to want it.
The most important document your site probably isn't keeping - a custom error page.

Snark aside, here's a cache link: http://webcache.googleusercontent.com/search?q=cache:E1oDq8P...
Perhaps the author will find the answer to the "why" of how unwelcoming a community can be in his choice of opening paragraphs. A story that calls some number of his audience as stupid[1] or ignorant[2] for holding a belief is probably not the best way to introduce your soul searching on why the community he was a part of is not a welcoming one.

1) the implication if you have read your holy book and still believe then you are a poor thinker.

2) if we were in the Middle Ages, the story might be more relevant. I do believe most believers of any religion in the modern era have probably read their own holy book.
What are the numbers when counting non-iPhone announcements? Apple's stock dropping after a keynote isn't uncommon.
Worth a try, but I'm looking for recommendations for something other than Google docs. Preferably a service not in the US and always online. Any ideas?
Hear, hear, couldn't agree more.
The problem with a hardware token security is that it relies on every user having one or not leveraging the security. That's something that can be difficult for an IT department to coordinate across an organization, thus would be herculean for a Google scale company to legislate across its user base.
In light of Apple's announcement yesterday about Touch ID, a way to unlock the new iPhone with your fingerprint, I was hoping to hear someone weigh in on how safe it is compared to a passcode. I'd love to simply use my fingerprint as long as it meets HIPAA requirements for protecting sensitive emails and other data on my phone, but this Forbes article is suggesting the risk of spoofing fingerprints is still too great:

http://www.forbes.com/sites/andygreenberg/2013/09/10/apples-...
I was talking to an SBA advisor yesterday (great resource for entrepreneurs; look up the SCORE program) and he mentioned that our local law university will do contract review/editing for free (apparently they give the contract to their students as homework, and then the professor firms it up when it's returned to you.) So if it's not time sensitive (and overly confidential) it may well be worth your time finding your nearest law professor.
> The market is telling Apple that it is not innovative enough

Which market? The smart phone market? Because I think the new iPhones will sell as well as the prior models.

Or does the author mean the 'stock market' ... which to me is more a casino than a real market.

If people buy iPhones and Apple makes truckloads of money then ... well ... fuck the stock market gamblers.
Ask HN: Need some feedback on this site I have been working on before continuing
Here is the link: www.simidia.com
Yes it doesn't look very good, as you can see, and it is far from presentable. Just need some feedback from you guys, before I decide to dedicate any more time.
EDIT:
Anyone?
Exactly. Things like the "useless use of wc -l" fall into a similar category for me. When I want to count the lines of stdout, I use "wc -l". It may not be the simplest, most efficient or fewest keystrokes, but it is extremely easy to remember and fits well into the model of a pipeline of simple single-purpose tools. I tend to use cat at the beginning of pipelines just because it keeps the flow left-to-right, and makes it much clearer what the source of the data is.

There's value in knowing some of the advanced things that the textutils and bash can do together, and sometimes there's value in using those things. I don't dispute that, but I do dispute the need to shame people who use the tools in ways that you personally don't like.

Shame or not, I'm going to keep using cat at the beginning of my pipelines unless I have a really good reason not to. If that makes some people think I'm not in the Unix wizard in-group, I don't really care.
I think you think you called out sexism, but in actually, you have perpetuated it. PP shared his/her own opinion with no attempt or claim made to speak for other people.

Your contribution was to declare which opinions belong to each sexist grouping you architected. You have said, "Your opinion is a western male one," but I doubt you know PP's origin, so you are shooting in the dark.

You have said, "Asians are like _this_. Women are like _that_. Men are like _this_. Indians are _that_." That is prejudicial, and even worse, normative, behavior by you, compelling others to conform. If I were an Asian adult who didn't like the colors, your comments might make me feel hurt right now, whereas PP's comment was acceptable.
This article appears to contain very little substance, and basically just asks the question, asserts that "nothing is safe in the digital world", and provides no evidence or argumentation.

Don't get me wrong, I think fingerprint scanners are probably broken until proven otherwise, but this article does nothing to enlighten anyone...
Aesthetics is really not my area, so I don't know how aesthetic claims are generally evaluated in a formal or objective way. If the ultimate goal is getting things done, I would suggest ignoring the aesthetics talk.
Maybe some more in-depth advice while not missing out on the profanity:

Fuck You Pay Me by Mike Monteiro[0]

(for the few who haven't seen it yet)

[0] http://vimeo.com/22053820
It wasn't innovative if you were looking at the basic features, but for consumers, it was the first update from Windows 95 or 98, and bringing them an (at the time) fresh and new OS built on top of a new (for them) kernel with a bunch of features that made it that much better. Of course, I'd say XP wasn't 'done' until SP 2, given how it quickly became the primary target for virusses and whatnot.
All analogies are imperfect, so I don't want to harp on this too much since there are parallels, but consider things like Apple's supply chain, existing app and content ecosystem, interoperability of modern digital services and desirability of the App Store from a revenue perspective, and pure scale.

Apple has already evaded 95% of the pitfalls of the PC wars.

Also, don't get me started on IBM serving up 20 years of absolute digital dominance to Microsoft on a silver platter. No analogies to be made there as far as I can see, I don't think Samsung is going to eat Google's lunch.
Who can/should spearhead this?
I'd be interested to see a list of threat models you have.

1) Gossiping employee?

2) Bribable employee?

3) Careless doctor?

4) Malicious doctor?

Britain's serial killer with highest murder rate was Dr Shipman, so malicious doctor while rare is a serious risk.

This looks interesting and I'll be following along!