skysight-inc/HackerNews huggingface dataset:
I really like the new HN. Quality of articles is way up.
Kernel means "core". Kernel-mode-only kernel is a contradiction. If you don't have separate parts, you can't have a core.
Ctrl+Shift+P and type a language name to set it manually.
Simple script like that are unlikely to be much different between Python 2 and 3 unless you are using specific libraries. Just make make all the "prints" into "prints()" and "Exeption, e" into "Exception as e", and I can't see what the differences would be.
American families of 4 usually have two wage earners. So there are a bunch of factors involved, but the math isn't far off.

Median home price is ~$210k, which finances in the neighborhood of $1400/mo. Keeping the car & childcare budgets reasonable, $40k of living expenses all-in isn't crazy.

Add a second wage-earner and the math works even better. Move to a low-cost city and the math works even better (and you're likely to find that the pay delta is smaller than the actual cost delta).
> I just wish people can put their differences aside, accept each other's beliefs.

This sounds very nice and I agree with the sentiment, but has a big flaw in the argumentation.

When you consider those beliefs directly contradict the freedom of other human beings, should you not act upon it?

Switch the LGBT issue for race and you'll know what I mean.
For a single person without a house and without dependents, the after-tax income is actually about $76k in CA and $87k in TX, according to ADP's online calculator.
> $80k after tax? In the US, a single guy making $120k would have $32k in taxes taken out, leaving them with $88k.

If the 8k difference is part of the refutation, I think you may have inadvertently proved the point.

> Depending where you live in the US, $40k for living expenses would be normal for a family of 4.

Depending on where you live in the US, $120k may not be a typical engineering salary.
>doesn't mean we can use a password 1/1000th as long

It'd never work that way, right? You get to use a password with log2(1000) bits less. So e.g. if you use 2^24 iterations, and figure 80 bits is strong enough, then you can use a 56-bit password.
Well that happens when the valley only values young age and throws money behind people with no life experience. I wouldn't have given my 21-yr old self 30 Thousand Dollars, let alone 30 Million!
I suspect that like Elon Musk, they believe they can succeed with hardware in areas that interest them just as they did with software, even if it's all about making money.

Sure, self-driving cars and satellites can be used to cut the cost of making maps to sell ad impressions against, but that's like buying an oil refinery as a fuel hedging strategy[1]. Plus unlike many of the web properties Google buy, Titan could probably turn a profit even operated entirely independently, and diversification helps. On the other side of the equation, Lockheed Martin has been buying up software companies focused on the logistics of running passenger airports.

[1]Delta Airlines actually did this...
Very cool. I personally (as a developer without a CS background) find these sorts of posts wonderfully interesting, even if this kernel, as pointed out in this thread, lacks a lot of what a normal kernel does. I'd love to see one of these for a compiler!
It makes solid sense for a company to choose a leader, the person who sets the tone and communicates to the public, partners, and stakeholders for it, who reflects the values of the organization and its stakeholders.

Mozilla stands, among other things, for freedom both online and off.

Eich certainly has technical chops, and has contributed, technically, to both Mozilla and the Web. There's no doubt about that.

His personal values, as reflected through his public political actions, were an extremely poor fit. In his prior role as CTO this wasn't as significant an issue (though it could likely have emerged eventually). As CEO there's simply no question that they were polarizing and distracting to the extreme. Especially in light of how he addressed the controversy once it emerged.

Quite bluntly: he wasn't up for the job.

I'm not saying this as a GLTBQ individual, or someone with an unblemished record myself on this (attitudes have changed tremendously over the several decades I've been aware that alternative sexual orientation is a thing) or other issues. It's a reflection of contemporary moral values -- and I absolutely believe that there's a large room for movement in such values.

If you want to reflect on that for a while, I'd recommend James Burke's The Day the Universe Changed, which addresses beliefs. The first and last programmes in the series address this particularly episodes 1 and 10, which reflect specifically on how beliefs have changed over time.

http://en.wikipedia.org/wiki/The_Day_the_Universe_Changed

If nothing else, this is a mark of just how far we've gone from beating up faggots for lols (not that this doesn't still happen) -- even under cover of law (Stonewall and similar events), if not without sanction or consequence for those so engaged.

For those who are suggesting that Eich was singled out where others more deserving haven't been: Mozilla proved itself to be more susceptible and responsive to moral suasion and pressure. There are plenty of companies (and other organizations) exhibiting poor moral character: Dropbox's appointment of someone widely regarded as a war criminal to its board, ongoing boycotts against Chick-fil-A, growing actions against the Koch brothers and the industrial and political network they control, campaigns I recall against Nestle, Carl's Jr., grape growers, and other causes.

The fact is that moral and market pressures can work, and in a world in which enterprises far too often disclaim all but the smallest shreds of moral responsibility, they're often one of the few effective tools available.

So while I do feel a slight bit of sympathy toward Eich (he was caught up in changing times), I applaud the action and result.
Businesses have hundreds of flexible easy systems to let end-users create quick business rule based solutions (particularly for reporting purposes) and have had them since the late 80s maybe earlier, the corporate landscape is littered with them. I wish you the best of luck, that's a tough market to get into.
Well it's kind of obvious how it'd different from lynching, I hope.

I'm not so sure how it's different from McCarthyism though.

"The Company is infested with homophobes. I have here in my hands a list of names that were made known to the Board as being contributors to and members of anti-gay organizations and who nevertheless are still working and shaping policy in the Company..."

McCarthy's "speech" wasn't illegal either. It's not a crime to inquire of people whether they were or were not a Communist.

And before you comment that this is different, but of a gay person's moral rights, keep in mind that Communists actually were on a designed program of the violent overthrow of capitalist societies in order to bring about international Communism.

To protect gay marriage, a first step is to defend the very legal framework that would make gay marriage possible in the first place, which is what McCarthy actions were (when taken at face value).
>I'm tired of tech missing out on so much potential from those with two X chromosomes. If tech was more inclusive, there would be far more great engineers to hire from.

I trust female engineers who rock will not have difficulty finding a job, and if they do, I'm sure they have the drive to start their own company.

>Look at that last sentence. You're young. That's fine. We were all stupid when we were young. I'm still stupid in many ways. But be careful about the stupid things that you record for posterity.

I'm 26, quote me on a marble rock if you wish.

PS: I don't like your idea implying that being intimate with women is stupid and reckless. It's insulting to me, and to the female gender.

Oh, and I upvoted you. Because you voiced your opinion.
Google makes a ton of sense: It will be a major competitive advantage for its Maps product. Facebook makes no sense whatsoever.
That's a marginal 28% tax, too. Per https://en.wikipedia.org/wiki/Rate_schedule_(federal_income_..., even without tax breaks a single person making more than $87,850 would only get taxed 28% on the portion of their income above $87,850.
Time considerations are vital.

Supporting slavery right now is immoral. Opposing gay marriage right now is NOT immoral right now however much you can't stand it.
Must read for anyone considering hiring a team to build their product.
encfs encrypts a-file-at-a-time, right? That's not an XTS use case.
I've found myself spending a lot more time here as well. Was there any code/policy change with the HN site? Or is this new moderators jumping in and helping out a lot? Either way, I agree that it is excellent.
I do not disagree with that at all, and clearly, we've seen monocultures succeed at doing exactly that. I wasn't attempting to decry the methodology of every company with a monoculture, as much as to point out that it's just easier with actual diversity.

As Vezzy-Fnord points out, a single individual is able to empathize with other types of people, but that empathy is finite, and also, empathy does not equal understanding.
So this raises the question, especially in the context of the new iOS MS Office apps, when, oh when, will the MS Office apps for OS X be updated? It's a long time since 2011...
That's a very good point (and easy to change in the code). When I was thinking about what to write I considered making a modified version of the PoC that was a bit more readable and adding a few tweaks like handling different TLS versions but in the end I decided that explaining it as-is would be worthwhile in itself.
Interesting. So this leads me to believe that they do record every packet.
A 50% aggregate tax burden is a choice a small fraction of Americans make. As others have pointed out, most Americans have far lower aggregate tax burdens.
> His act was his right under freedom of speech, in a public democratic process. In fact the majority (or close to it) of the voting public agreed with him, IIRC. If an issue is under vote, it's the voter's right to take whatever side he likes.

Ok. We do not generally believe that the minority's rights are a matter to be decided by the majority. But that's a separate issue and I agree his act was certainly an exercise of his guaranteed rights.

> The counter-action was an ad-hoc protest to strip him from his position.

Wait. Wasn't the counter action merely a number of individuals each exercising their right under freedom of speech, in the public marketplace?

The right to free speech applies to everyone, not just to Eich. The right to free speech is a right to speech free from government suppression, not a right to speech free from consequences. It is, especially, not a right to speech free from other people using their right to free speech to complain about your views.

> That is, an interference with something not under vote,

What, pray tell, is "interference with something not under vote"? Using your freedom of speech to encourage people to take their money/time/attention/web browser usage elsewhere is fundamental to the concepts of Freedom of Speech and the Free Market, is it not? Is this not exactly what Eich was doing? Using his speech and money to support an idea that had negative consequences for others?

> and in a field not related to his "offending" action.

Eich used his speech and money to support the relegation of LGBTQ-identifying Californians to second-class citizenship. Mozilla has a large number of LGBTQ-identifying employees who live in California. Eich was appointed CEO of Mozilla. This was directly related to his actions.

> Essentially a vocal group bullying for his firing.

Again, I do not rightly apprehend how a group calling for a man to lose his job is more of a bully, more worthy of condemnation, than a man using his money to attempt to ensure his fellow employees and fellow citizens were constitutionally condemned to second-class citizenship.

At no point in this drama has Eich been denied access to any fundamental rights. That's more than you can say for any of his (former) LGBTQ employees.
Your analogy ignores the facts. Eich didn't make a mistake 4 yrs ago-- he still holds the same views as evidenced by his interviews! Eich had multiple opportunities to indicate whether his views had changed. He defended his views, and rather poorly on the merits, I might add.

Compare and contrast how the CEO of OkCupid handled a similar situation, having donated $500 to an anti-choice, anti-gay candidate in '04. He apologized publicly and stated unequivocally that he believes marriage is a civil right.

This was not a "gotcha." Eich held the same views all along.
> Mathematicians are used to working with various equivalence relations, even in the same context. So if a modestly trained mathematician saw == and ===, she would immediately ask "what is the difference between these two ER's?".

This perhaps illustrates my point. While you say == and === are equivalence relations (I would argue they are not), there is a wider problem.

= itself is an assignment operator and should never be considered as an equivalence relation.
But it is normal to consider = as algebraic equality for anyone who has completed high school math.

It's a great loss to intuitive understanding that we use = for assignment. If anything, considering Javascript's == and === is a net benefit as programmers are more acutely aware of the issue here.

What percentage of time spent learning to program and recovering bugs is caused by overcoming this misintuition? It's surely a lot.

Wikipedia has further discussion: https://en.wikipedia.org/wiki/Assignment_%28computer_program...
Now this is why I come to HN, for comments like this. Thank you for the info, I just assumed that the battery was comparable to a cell-phone's, hours of life. This does change my opinion for the time. Once the battery comes up to the hours and days mark, then I'll worry again.
You're correct. If you want plausible deniability, you should definitely use TrueCrypt. Safe was not meant for this.

Safe is mainly for making it difficult for casual snoopers to view your data. For instance, if your computer or external hard drive gets stolen.

Safe and TrueCrypt form an ecosystem of encryption tools. Safe is a bit more user-friendly but it's for casual use. For special circumstances TrueCrypt is a better tool. Compare butter knife to swiss army knife.
Nice description of backprop for sure.

Aren't people using conjugate gradient descent to optimize NN weights now? Sure you need the partial derivatives but ... that's what GPUs are for, right? :)
Napster founder’s new startup: Voter engagement
Keep in mind that a good chunk of those living expenses are housing, and if you own rather than rent, a decent portion of that goes into your net worth. Not all of your living expenses are necessarily "wasted" in this way.

A million in ten years with a $120,000 salary does seem a bit tight though, to be sure.
If anybody is doing this, let me share some words of advice based on experience.

Please use a virtual machine instead of doing this on your primary machine.
You eliminate the risk of messing up your machine. Also, if you setup the VM properly, you get a debugger.
This was only made for us to feel guilty about the status quo. People need to stop focusing intra-industry and look at the larger symptoms: this is a societal problem. This is how families at large are raising their children. If we want more women developers/entrepreneurs, we need to take a serious look at the gender roles we're setting up for girls as early as preschool. We need to stop the incessant "We need to fix the software industry blah blah blah" crap.
McCarthyism at its core was the US Federal Government suppressing speech. Not just Congressman McCarthy, but scary agencies like the FBI.

The first amendment protects your freedom of speech from limitation by the government. It does not protect you from customer revolt because of your CEO's opinions.
Talk about being an "idiot". You misspelled "not" and gave no link to an actual article.
There's a lot of very weird assumptions being made in this post.
Thanks for sharing that link.

I have seen James tutorial a while back, and I agree. He does a great job.
Can anyone give me an idea how much different this would be for 64bit? Do I just change the nasm directive to `bits 64`?
>These things are not at all the same. And in this case, we're talking about a CEO, the public face of a company, not an otherwise private citizen.

A job is a job. The "a CEO is a public face" is a shallow excuse. The same excuse (essentially not being suitable to be a public face for the company/employeer) has been used to fire people from teachers to waiters (far from CEO positions).

>Should I put words in your mouth, about how we'd still be living with Jim Crow if you had your way? "Let's not offend anyone who's racist, lest they feel like their rights to bigotry are being undermined!"

I don't understand the argument here. I never wrote anything about voting against laws like the Jim Crow ones. Just that bigots have a right to their opinions too. And in fact, when the Jim Crow laws were discarded, those bigots still held their opinions.

(Well, it's actually even more complicated than that. For example Jim Crow laws had little to do with pure bigotry and a lot to do with monetary exploitation of the blacks. More than bigots, their advocates were ruthless disgusting businessmen.).

>It's also pretty rich to compare abolitionists -- people campaigning for an expansion of human rights -- to someone who did the exact opposite.

How about Eich's human right to his job? Or his human right to vote for whatever he likes? Or is it like someone who is against a human right (as considered by some) is OK to lose other rights of his?

>Anyway, you're essentially arguing that free speech means freedom from consequences, and it just doesn't.

It should, or it has no meaning.

If free speech means solely the ability to say something publicly (and then suffer possible consequences), then that was available in every era and to everybody.

If so, losing your head for talking against the church in 1600 was also a "free speech" environment. Getting fired during McCarthyism was also compatible with "free speech".

>Free speech is not absolute, as has been demonstrated time and again.

I'm not saying what free speech has been historically, so what has been "demonstrated time and again" doesn't say a lot in this argument. History has a bad track record with regards to free speech.

I'm saying what free speech should be, and how its champions like Voltaire envisioned it.

>Likewise you can't try to deny an entire class of people their rights and expect zero consequences b/c free speech.

Well, it seems that generations over generations of Californians could not only try, but actively deny that class of people their rights and have zero consequences. In fact when Eich supported his position, it was also the LAW that denied then. And the majority of the population (IIRC) agreed with that. It was put to vote -- that itself means that not only you could "try to deny", but that your right to do so, voting no on the matter, was sanctioned by the state.
Now that is a surprise. Lemme check… https://en.wikipedia.org/wiki/Design_Patterns Indeed. Written in 1994, and includes examples in Smaltalk… and C++.

Now I know why it didn't rely on first class functions.

It wasn't written in Smaltalk. It was written in the intersection of Smaltalk and C++. Sounds like Java, even though it didn't exit yet. Come to think of it, I wonder if they didn't have hints about this upcoming language from Sun. Java came out in 1995, but was in the works since 1991…

So my point stands.

If it were really written in Smaltalk, it wouldn't have needed insanities such as the Visitor pattern to work around the lack of closures. It would have used Smaltalk Blocks directly.
One question it leaves me with is “how.” How do you get it down to an MVP? How do you or can you know what features are the most important? Most importantly, a fixed scope and budget has a product (even a bad one) at the end. It’s possible that a fixed budget with many many changes will not result in a full product. How do you explain and mitigate that outcome?
Ask HN: Details of Amazon's infrastructure
After reading Steve Yegge's platforms rant and highscalability.com/amazon-architecture, I've become really interested in Amazon's infrastructure.

Unfortunately, unlike Google or Facebook, there seems to be very little information available about Amazon.

So, can (Ex)Amazonians share some interesting facts? I'm interested in just about everything - but especially services. Some specific questions:

- How does service-to-service routing work? Is it just normal TCP/IP or is something more going on?

- What protocols are used for service communication?

- How does service registry handle hierarchical services? I.e. services, that are hidden behind an "interface" service.

Thanks
Looking at that example, the second one looks more correct to me without thinking about it too much.

But if I was writing it I would space the "1/2" into "1 / 2".

The first says half to me (ok, until I pause and realise it is code I am interpreting), while the second is 1 divided by 2.
Well, the commercial VPN may or may not log traffic, so let's say it's 50/50.

Your VPS, on the other hand, is your VPS. If the police comes to your server, the company has no reason to hide who you are. That's 0% deniability, they'll come straight to you as the owner of the server. You'll then have to prove somehow it wasn't you (and you were, so it's a tough one). At the very least you'll get lawyers involved.
Semantics doesn't really help when everyone understands the meaning anyway. No one is going to read this and think 'Oh no, those poor people don't have their SINs anymore!'

That said, the SIN in Canada is actually meant to be kept secret between you, your employer(s), the CRA, and a few other situations[1]. You should never give it to anyone else, write it down anywhere, etc. I memorized mine long ago and keep the actual card locked in a box somewhere, and I never give it out except to the government or new employers.

[1] http://www.servicecanada.gc.ca/eng/sin/protect/provide.shtml
> GC

Thus giving Android developers all the fun of dealing with GC pauses. There's a lot to be said for ARC, really; I'm quit glad Apple ditched their brief experiment with ObjC GC.

> namespaces

I'll give you that one; lack of namespaces it the worst thing about ObjC.

> ... Dynamic and static worlds...

I'm not sure what you mean here; Java is a statically typed language, and does not have a 'dynamic world'. ObjC has a fo of optional dynamic typing, which is arguably modern, though also only arguably a good thing.
In my experience, a more focused product built by investing in testing and iteration is always more valuable (and more successful) than a large-scale app built blind from start to finish.
Just to put my +1 here, I think the project looks great and the product itself seems good but that website is not good and is actually quite annoying.

1) No animations. Just get rid of them all.

2) Put a link on the 'Learn More' page that takes you back to the homepage. The 'Learn More' page only contains a link to the download page, no way to click back to homepage.

3) 6 click throughs to read 6 sentences on the About page is annoying. I don't need a single sentence stretched out across an HD screen (feels like I have to take a few steps back to read the massive text without panning my entire head left and right). Have all 6 of those on one long page instead.

4) I didn't even notice the tiny links on the front page at the far bottom left (probably because of how gigantic everything else is). Make those links more prominent and maybe also have those links as part of the footer of every page. The http://www.getsafe.org/about is especially useful and contains most of what I wanted to see.
License review is listed as #1 among goals on http://istruecryptauditedyet.com/ .