skysight-inc/HackerNews huggingface dataset:
Sleep is something that's highly variable from person to person, there's no "right" amount of time to sleep, only what's right for you (obviously this is a little bit of simplification, I don't think anyone could function on 1 hour of sleep a day for very long). 8 hours is generally thrown around as a good benchmark, but some people may only need 5 or 6 while others need 9 or 10. It depends on your metabolism, general health, and a variety of other factors I'm sure.

I find with exercise and by sticking to a very rigid sleep schedule (I've learned that for me, It's very bad to fight the sleepies to "just get a little more work done"), 6 is generally enough for me personally. This depends on a nice solid sleep though, if something is periodically interrupting my sleep (like a noisy air conditioner or what have you) I can sleep for longer and still not feel terribly rested. I find oversleeping too much also tends to make me groggy. YMMV
Fine, SPEEDY gets that 200 share trade, now the order book looks like this:

SELL BIG - 1000 $600
-----
Buy SPEEDY - 200 $599
BUY BIG - 1000 $599

Another buy order at $600 comes in and BIG makes the trade.

Now the order book looks like this:

SELL BIG - 800 $600
-----
Buy SPEEDY - 200 $599
BUY BIG - 1000 $599

At this point, SPEEDY wants to get back in so he offers 200 shares @ $600. The Order book now looks like this:

Buy SPEEDY - 200 $600
SELL BIG - 800 $600
-----
Buy SPEEDY - 200 $599
BUY BIG - 1000 $599

So now SPEEDY is sitting behind BIG and has to wait until all 800 shares of his order soaks up the market.

So, where is the problem?
Sorry to hear that, but I'm glad you're happier and I hope you find something soon.

Getting ahead of it, obsessing about culture and addressing things before they get bad are so important for leaders to do but sometimes it gets lost in the shuffle... :(
Yet i don't see any fellowships for males who want to be nurses. Nurse practitioner is higher paid profession than engineering in regards to median salary. It also rated the #4 occupation when using job security,salary etc as the metric. I bet if you search, no one considers this gender bias a problem.
As has been discussed here, FileVault decryption passwords are stored in plain text in RAM that is easily found by a scanner attached to the firewire port. Fixing this is not difficult, it's simply a matter of NOT storing encryption passwords in plaintext in RAM, but in a register instead. This is just one of countless numbers of critical vulnerabilities in the system that are known and completely ignored as "works per spec" when reported. This is definitely by design, for many government agencies use automated hacking devices that take advantage of these vulnerabilities to gain access to machines, such as when passing through customs, or when stopped by police. The vulnerabilities are desired and doing what they are supposed to - providing a false sense of security.
"If there was on thing I learned with this crises is that services are the first to go down."

What are services? Does "manufacturing process engineer" qualify as a service job, or manufacturing job?

I always found the distinction to be silly and irrelevant. Services are demanded and supplied to support the economy, as are manufactured goods. (I'm not even talking public service here)
Just search for 'C++ for kernel' on google. There are plenty of reasons. A good answer can be found here: http://stackoverflow.com/a/520355
Remember, tptacek has very little idea what he is talking about when he posts this same comment on every thread. Doesn't have a clue about the politics; doesn't have a clue about the law. To be charitable. Because he has been informed, and keeps posting this, which turns it from clueless to intentionally lying.

Yes, under ECPA, information can be disclosed "as may be necessarily incident to the rendition of the service", which is to say, not very often, since it's not often necessarily incident, and a company which disclosed your information might have to prove in a court of law that it was necessarily incident. Which is a rather big limitation, as opposed to tptacek's lying characterization of it as "without limitation".

I don't really understand tptacek's position here - is he being paid for this? - but this repeated bullshit posting needs to stop. (And the evil-Democrat-vs.-noble-Republican stuff is pure fantasyland. CISPA isn't about cybersecurity as computer professionals think of it. It's about copyright enforcement and general government snooping, not about hacking. Both Democrats and Republicans are fully behind it, despite the political wrangling, assuming that the copyright lobby has made the proper campaign contributions this year.)
I love it how Florian Mueller is castigated because he previously got paid for writing some reports for Microsoft, but PJ gets a completely free pass on the sources of her funding.

PJ could easily be just a pseudonym used by a panel IBM/Google lawyers to astroturf for all we know, but even talking about her identity is considered off base and taboo and whoever does that is viciously attacked and vilified.
London Olympics To Visitors: Don’t Share What You See
That seems massively unrealistic to me. It's safe to assume that HFT makes its participants a lot of money, for example because we know that they tend to spend a lot of money on hardware.
Not sure why you pasted the quote as code. It takes extreme side-scrolling to read.
Ask HN: Have you had your link tweeted by someone with a million followers?
And what was the result?

I'd like to read about your experiences and how they differ or correlate from mine here : http://www.nevsblog.com/2012/04/26/million-followers-tweet/
A Brief History of Votizen
Sorry that's not how I meant to state it.

It's not the child pornography that is important to society. It's the freedom of speech, and the security that speech has against regulation from the government. Tor is a place where a person can securely make any sort of criticism that they want, and that security is important.

An unfortunate (but unavoidable) side effect of that security is that child pornographers also receive the same security.
> He has never really created anything of long-term value

if the question is 'value' vs 'dollars'. Netscape was the enabler to the creation of trillions of dollars. That's value. He saw the opportunity and created it.

I don't think he needs to be an innovator to be a VC. He needs to be smart and recognize opportunities when they come to him. He's shown a knack for that.
Apparently you're not familiar with what it means to claim you've implemented a "clean room" version of something.

Even a few lines of copied code explodes the whole claim.
Some people seem to wonder how Apple could be 10 years behind.

How about this, lets look at application programming language. Apple uses objC, Microsfot increasingly uses C#. What does this one metric get us?

I believe it was Paul Graham himself who 10 years ago mentioned that to scale a company you should have your top developers just develop the tools the rest use. This was also around the time Microsoft was at the height of the buffer over flow bugs.

Slowly they transitioned much of their code to the memory managed language of C# that their best developers made.

Their entire development process, developer allocation and development language changed in part in order to meet security needs.

Mean while Apple still develops everything in un memmory managed objC.

That's just one example of how long Microsoft has been transitioning the entire company to new more security focused practices.

The point is, to be really good at security, you have to be really focused on it, at all levels, in an all encompassing way. Microsoft has been transitioning to that for a long time and it's paid off. Apple hasn't even started. And that kind of massive corporate change in companies this big doesn't happen over night. And look how much public shaming it took to kick it off for Microsoft. I think we can look forward to a new golden age of Mac insecurity over the next few years before the process even kicks off.

And this is probably how Kaspersky Lab came to say that Apple is 10 years behind Microsoft on security.
http://www.udemy.com/learn-python-the-hard-way/
In 2002 Microsoft shipped with all sorts of unnecessary daemons on and listening by default. OS X did not have that problem.
When SOPA was beaten, I was hoping that our victories against it and each latter mutation of it would outlast the senators voting for it. Should we be worried now?
Except that fixed-field loglines are much faster to process than parsing JSON, which makes a difference when working with large logs.
http://www.reddit.com/r/linux/comments/qh0q7/xubuntu_1204_th...

You don't need Kupfer, since a application quick launcher is in Xubuntu. Kupfer does launch locations as well as applications, though.

You can edit the shortcuts in Xubuntu. Their default "appfinder" shortcut is Win+R; I bound it to Win+Space.
you work for a security contracting/consulting firm, it is in your own professional best interests to have cybersecurity information shared as "frictionlessly" as possible
I'm really sure a fair few women will resent being given "unfair" advantages. I've definitely witnessed this in regards to Google giving some free conference passes to a number of women.

Maybe the education system just needs to interest females before they get the chance to realise it's "uncool".

The only dev team I've been in thus far has included a woman, in a workplace which I consider a meritocracy. I've yet to work in a team unsuited to women.
I think the point about saving DE customers routing fees is the most important one here. If it weren't for DE's advantages (pricing, speed, lower fees) nobody would use it.
>I don't know if Groklaw has ever recieved any money but I doubt it.

Do you know how PJ makes money or how Groklaw gets funding to run? If questioning FM's money sources is fair game, why not do the same for PJ? Just because "she"'s batting for your team?

If Florian did the same thing as PJ and hid behind an anonymous blog, we wouldn't even know any sources of his funding.
One reason would be the massive existing codebases written in C (Linux kernel, anyone?)...
The whole Stanford vs. Berkeley... Honestly, if you make anything more of it than the joke it's intended to be, you're wasting time. To be fair, he did joke earlier this quarter about how Stanford is outscoring Berkeley in terms of the value of companies started at each school every year. However, those are jokes. I'm a Stanford student, but I think Berkeley has made incredible contributions outside the field of making-VCs-rich. Fundamental science, counter-culture, and engineering (including tech). I'm sure Thiel thinks so too.
Yet Craigslist is filled with "idea guy" ads touting Stanford pedigrees much (much!) more often than Cal.
Anyone interested in the actual slides?
And a pretty neat site with parchment set up and hosting things: http://playfic.com
As a general example (so not connecting it to the folks here), I've always thought hiring by 'head hunting' might be a potential way to avoid lawsuits and discrimination issues. You could head hunt 50 youthful blondes to work at your company and because you never advertised for the position publicly or requested people send in their resumes.. :-)
You can compile programs with those languages and get something that works, but on a regular basis, some programmer will say something like, "Ok, I'll use Go for project x" and get part of the way into it and then discovers...

...a critical library has not been ported.

...a really useful language feature doesn't exist, or its implementation isn't appropriate for this application.

...a compiler bug appears and causes days to weeks of torment.

...it's difficult to deploy and distribute the result.

...there are fewer tools, debugging aids, etc.

Languages don't live in a "clean room" environment. All of these things add value even when the language itself is unsound. And then you weigh the cost of rolling new tools, fixing the compiler yourself, etc. against building on the old stuff, and the old stuff wins most of the time. Reaching the opposite conclusion is the exception, and to get there, the language usually has to carve out a niche use-case where it has the best library for a certain domain.
Visit http://techiest.blogspot.com/ to learn more about Votizen!
Because you have to visit http://techiest.blogspot.com/ more often to know more about technology! Peace out! ;)
"hold in your head" == minimizing complexity by minimizing the state space. "Mathematical" == stateless, pure functions.

If the states are fewer, the code is simpler. I can only hold simple things in my head :)

I think everyone's basically saying the same thing.
Do VCs all make money?

Mutual funds beat the bench?

Hegde funds?

Airlines? They spend a ton of money on fixed costs.

Some make money some do not.
This article feels like it would work just as well with "Protocol Buffers", "Thrift", "XML", or even maybe "ASN.1". If that's truly the case, maybe the better thing to say is "please don't (only) log in ASCII", followed by "please use a format which is hard to get wrong".

JSON scares me a little. Don't you have to worry about escaping a whole bunch of characters just in case something gets the wrong idea about what you have in a field? I saw a page not too long ago which listed about a dozen characters which should be substituted in some manner when used in JSON.

Full disclosure: I got tired of ASCII logging from my web server and wrote something to stream binary protocol buffers (!) to a file instead. http://rachelbythebay.com/w/2012/02/12/progress/
To be fair, Mac OS X is transitioning to Automatic Reference Counting in the next version 10.8 and iOS has had ARC and Garbage Collection for a version or two now. Apple does exactly what Paul Graham said in a different way. Their top developers make the tools that everyone else uses. Just because they haven't transitioned to a different memory management scheme doesn't mean they aren't doing it.

We also might want to take a statement on the security of a platform by a company that makes their money securing people's computers with a grain of salt or two
Very cool.

I have never played text adventures on a computer, but I like the simplicity of the idea of "connection between places".

Two suggestions:
(A) You add a onkeypress listeners for the arrow keys to mean: NORTH, EAST, WEST, SOUTH? (B) Add an ASCII ART version ;)

Text adventures are not too far from "choose your own adventure" books.... hm... this will kick ass as an educational app. Imagine the island is full of "level spots" like in Mario World and each "spot" is one question from khan-exercises.
>Google specifically enumerates the rights that you're granting them

They sure do. It just turns out one of these rights is that they can use your content for promotional purposes (advertising?).

Dropbox may not have such a detailed TOS, but they are clear on one thing: whatever rights you do grant them are solely for the provision of the service to you.
Secure virtual memory has been an option since pre leopard. In lion it's enabled by default and they removed the menu option to disable it.
In the Future, a Computer Will Probably Write this Post
Turn any webpage into magnetic poetry
Would this mean that it would be dangerous to read API documentation for potential competitors? Would it mean that you'd be in danger of violating copyright if you implemented a compatible implementation of someone else's API? Would it mean that you could get a copyright on an API that you designed but never implemented?

The argument as I read it seemed to be attempting to assert that implementing an API was a derivative work of that API's documentation.

It's hard to imagine the second and third order effects of such a change in the understanding of law around software. I'm trying not to be just change averse and actually imagining what that world would look like, but damn it's hard.
Microsoft has real security problems- rampant viruses and trojans, and a major business on that platform is selling after market security products (probably why Microsoft has never closed these holes.)

Apple killed the virus problem of the late 1980s dead, with only the most robust viruses surviving in the early 1990s, but none since. Apple has had an automatic updating program for at least 15 years, long before Microsoft, including monthly (if needed) security updates patching holes as they are found.

Microsoft makes a lot of money from the security holes its own products, many of which were put there deliberately as "marketing features" that later turned out to be security vulnerabilities that apparently Microsoft finds it unprofitable to close.

I've seen the source code for both Windows and OS X. Windows is very poorly engineered in general, with a great deal of cruft (leading to inadvertent security holes) while OS X is generally well engineered, benefits from being open source and pulling from open source BSD and from being fostered by a company that does not make any money from shipping security holes.

However, Apple's superior quality for the past 2 decades has resulted in a great deal of growth in profits and prominence for Apple, and this means that you can always get a lot of attention by claiming Apple has security holes. In fact, people have been making these claims for the past 15 years, in articles like this.

And yet there aren't massive botnets of Macs (the one trojan that got any traction has been eliminated) while there are millions upon millions of infected windows boxes out there to this day.

The idea that Microsoft is ahead of Apple on security is a joke to anyone who knows their history or knows their engineering.

Ok, You got me. This is obviously a troll, and I responded.... and of course the people commenting here seem to have no real knowledge of the matter, but anyone not bashing Apple is getting down voted.

This is the kind of crap that makes "Hacker" news suck.
Microsoft has real security problems- rampant viruses and trojans, and a major business on that platform is selling after market security products (probably why Microsoft has never closed these holes.)

Apple killed the virus problem of the late 1980s dead, with only the most robust viruses surviving in the early 1990s, but none since. Apple has had an automatic updating program for at least 15 years, long before Microsoft, including monthly (if needed) security updates patching holes as they are found.

Microsoft makes a lot of money from the security holes its own products, many of which were put there deliberately as "marketing features" that later turned out to be security vulnerabilities that apparently Microsoft finds it unprofitable to close.

I've seen the source code for both Windows and OS X. Windows is very poorly engineered in general, with a great deal of cruft (leading to inadvertent security holes) while OS X is generally well engineered, benefits from being open source and pulling from open source BSD and from being fostered by a company that does not make any money from shipping security holes.

However, Apple's superior quality for the past 2 decades has resulted in a great deal of growth in profits and prominence for Apple, and this means that you can always get a lot of attention by claiming Apple has security holes. In fact, people have been making these claims for the past 15 years, in articles like this.

And yet there aren't massive botnets of Macs (the one trojan that got any traction has been eliminated) while there are millions upon millions of infected windows boxes out there to this day.

The idea that Microsoft is ahead of Apple on security is a joke to anyone who knows their history or knows their engineering.

Its just fodder to bash Apple from Apple haters (which is why, naturally, this is on the first page of "Hacker" News.)
what, no mention of sexp's?
citizens in other countries need to find out how to participate too, because as the us goes, so goes many other countries too.
Additionally, if you want linux support and don't care so much about the web support that 1Password gives you (your password file is also a website that uses JS to decrypt your passwords) or the prettiness and would like to save US$60 KeePassX works perfectly well.
I wasn't 'pining' for those days, I was barely even alive then. Just asking.
Logging to mongo (as JSON) has proven useful to us. Makes it easy to slice and dice the data.
Don't you have to worry about escaping a whole bunch of characters just in case something gets the wrong idea about what you have in a field?

Yes, but you don't do it yourself. As the article mentions, pretty much every language you'd want to use has a JSON library. Use that, and (bugs aside) it'll take care of escaping for you.
Show HN: iPG - YC Interview Simulator
While Microsoft was just starting to develop C#, Apple already had buffer overflow detection (of some type) in Objective-C. Objective-C has long had a garbage collected version and memory management even before then was superior to most languages.

The idea that C# is superior (and by the way, the OS is not written in C#) to Objective-C for security is asinine.
One of the non-functional requirements of logs is that they should be fast to write. Marshalling data into a structured format takes longer than spitting out sprintfs.

If you really need structure for ease of querying, you might as well go all the way and throw it into a proper data store.
I think this is a fair point, and mostly agree. However, when I look back at my life and see all the things I got which I considered to be beyond what I deserved simply by for asking them....I have a hard time faulting them.

I would also note that things are not always as disparate as they seem. I'm sure some people at my high school raised an eyebrow when someone generally regarded as a strange, nerdy, and not particularly attractive loner started dating one of the most popular and attractive cheerleaders in school, but if they dug deeper they might have realized that we had a relationship based on a shared love of music and various other interests. So what at first might have seemed lopsided was rather balanced.

It could be that 42Floors has something to offer that Dan finds attractive, even if it's just a steady paycheck that provides the freedom to work on other things. I'll let them sort that out themselves.

I also think it's important to read this whole post. I think they probably don't expect this offer to be taken up...they're using it as link bait. I think they legitimately admire Dan and wanted a way to show that, and figured they could do that while also commenting on their hiring process, benefits, and draw in other interested parties. I'm sure they're also serious about the offer.

I have mixed feelings about link-baity content, but I can see where they're coming from.

> We're courting on all fronts. Contact us at jobs@42floors.com.

If anyone is a little jealous of this offer, hit them up. You never know.
http://techiest.blogspot.com/
rachelbythebay: Yea, you've got some good points. I don't think the author means JSON is the be-all-end-all solution to structured logging. It has its issues (escaping for one), but I think it is a reasonable choice because of its wide adoption.

A nice use of protocol buffer there. Speaking of serialization, my personal favorite is MessagePack (httpx://github.com/msgpack).
Depends on what you value more: CPU time, or your developers' time keeping the log format and parsers in sync after any change.
False, and has been false for at least 4 years. This vulnerability was unexpected and resolved in the next release of the OS, which allowed this memory to be kept encrypted.
I'm surprised there hasn't been more of a text adventure resurgence of late.

I can't remember playing one since MUDS were cool.

I don't even necessarily mean a fully text only game. What about something like a slow paced game that combined beautiful prose read by a talented voice actor with static hand drawn graphics or fully ray traced scenes.

Also we have better NLP now and better voice recognition which would make things more interesting.