skysight-inc/HackerNews huggingface dataset:
I use Foundation without Compass+Sass. I don't feel it's a vital part of the project.
I have run A/B tests with salaried VS commission. Not a perfect test, I must say, because I can't test the same hypothesis on the same person. Best I can do is test on two groups and keep most factors similar. Testing people is difficult and expensive.
Myth: For a long time people have claimed that calories in just needs to be below calories out. Recent studies have confirmed that not all calories affect us the same way when it comes to weight gain and loss.

http://healthland.time.com/2011/06/23/study-the-best-and-wor...

Put a stop to this myth. The type of food actually matters!
I don’t mean to take away from your feeling good, but why is iptables ok on Linux and ipfw is too hard on OS X?

uid user
Match all TCP or UDP packets sent by or received for a
user. A user may be matched by name or identification
number.

also, since I agree that neither iptables nor ipfw are good enough as UIs, there are a number of graphical firewall apps that allow people to do very very easily filtering per user, per process, per domain, per ip, timed, with different profiles http://www.obdev.at/products/littlesnitch/
Chromebooks are hardly targeted at the technophile.

I mean, sure, they want technophiles to buy them too, but Chromebooks were not intended to be a technophile-only novelty.
Yup, nice to have this built in rather than relying on an additional layer (Varnish, HAProxy, 3rd party module, etc.)
The supposed 90% attrition rate for free classes always cited in these articles is irrelevant. (It's also odd to cite the MOOC rate and then instantly change tact mid-article to analyze instead paid classes with an online component that are offered by colleges: it likely gives readers the idea that the paid classes for credit offered to enrolled college students also have a 90% attrition, which is not established.)

Significant numbers of people who enroll in MOOCs do not intend to complete every class they enroll in. And that is perfectly fine. There are various reasons. Some are curious about the material. Some are only interested in watching some of the lectures. Some are teachers checking out the MOOC scene but not wanting to spend the time to do assignments. Some are 10 year olds doing it on a lark. Some are people who realize they don't have all the requirements after trying a few problem sets. Some sign up weeks in advance but by the time the class starts they have forgotten about the class, become too busy, or lost interest. Even among the serious students many will sign up for 10 classes at a time, then end up sticking with the ones they find the most fun or interesting. None of these cases are where the class has failed.

The real numbers to look at are the number of people who successfully complete the programs. These numbers are astounding and encouraging. Often 6000 students each time will pass with flying colors. There are no tuition based programs that come any where near that level of amazing success. In many cases the classes have provided to thousands of people throughout the world, at nominal cost, Ivy League quality classes from colleges such as Princeton, Stanford, Harvard, MIT and Yale. Most of these are people who would never be able to attend these universities or have access to this teaching.

As far as the unmotivated students, they also fail at a high rate in brick and mortar classes as well. Excepting the top colleges that pre-filter out unmotivated applicants, college attrition for freshmen is very high nationally. 37 million americans have started college but left without completing a degree. Nationally half of people starting college drop out. This is for people who are at least motivated enough to be willing to pay for the experience and arrange their lives so they can physically attend classes in person.

What percentage of MOOC enrollees that start with the needed prerequisites and have a serious intention and time to complete the class completes it? Probably about the same, but we don't know since no one is keeping track of this number yet.
The RFC outlines a single variant of UUID, and describes five different versions of this variant. One of these versions is random. The author, however, is not using this version. I may be mistaken fact, but the uuid Ruby gem he used appears to implement a different variant altogether. From wikipedia:

In the canonical representation, xxxxxxxx-xxxx-Mxxx-Nxxx-xxxxxxxxxxxx, the
most significant bits of N indicates the variant (depending on the variant;
one, two or three bits are used). The variant covered by the UUID
specification is indicated by the two most significant bits of N being 1 0
(i.e. the hexadecimal N will always be 8, 9, A, or B).
In the variant covered by the UUID specification, there are five versions.
For this variant, the four bits of M indicates the UUID version (i.e. the
hexadecimal M will either be 1, 2, 3, 4, or 5).

The examples from the blog post don't appear to fit the RFC variant:

855ff330-5ce6-0130-d84d-12313d05011b
33aa4b00-5ce7-0130-d84d-12313d05011b

If the gem used [variant 1] version 4 UUIDs instead, this wouldn't be a problem (http://en.wikipedia.org/wiki/Universally_unique_identifier#V...):

Version 4 UUIDs use a scheme relying only on random numbers. This algorithm
sets the version number as well as two reserved bits. All other bits are set
using a random or pseudorandom data source. Version 4 UUIDs have the form
xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx where x is any hexadecimal digit and y
is one of 8, 9, a, or b. e.g. f47ac10b-58cc-4372-a567-0e02b2c3d479.

Ruby 1.9 includes version 4 UUIDs as a built-in: SecureRandom.uuid. The author should consider using that instead.
Is that really that big of a difference? Besides, I thought most people used Bootstrap without Less. At least I do.
A better (and perhaps cheaper) solution would be to use either Cities in Motion which has a good transportation model, or Cities XL (I'd suggest the 2011 version for price and performance over 2012) which has a good balanced play as the cities grow in size. These seem from initial new SC exposure, to be better models for teaching and from a learning perspective. As well the saved games feature (hardly a feature, more a necessity for most of us) is far more valuable for teaching lessons, which the new SC lacks.
A YC partner fat fingered the kill button on an iPhone.

BTW, I'm killing this now.
Ditto.

When I had my first son my wife and all nearly killed each other due to lack of sleep, we would take shifts so there were a pair of eyes on him always. At least until he was around 7 months old. SIDS is real, and is not worth it.

The same thing happened when my daughter was born. Heh, well, with my baby girl I never slept. I kept an eye on her like a HAWK.
Usually I use a method that I found on some Emacs-related website. It said to use text search for navigating around the file. That's why I use / pretty often. I use f, t, and related movements as arguments to actions.
Because a) they don't care [Swartz] or b) they are worried that having comments brings down the quality of the article. [Svbtle] [1]

imho, the latter reason is idiotic. It's the quality of writing that determines the quality of comments. (I have written quite a few blog posts on the topic, as I sorta gained my fame/infamy through blog comments)

[1] See Medium's reason for dropping comments. http://techcrunch.com/2012/12/21/medium-becomes-a-more-full-...
Oh I understand completely. It's just that I think triangle heatmaps are awesome visualizations that nobody's heard of. They were my entire life for 4 months and I can't stop talking about them given the opportunity :)
Because the comments of the unwashed masses are largely useless and obnoxious?
> It has a time and a place, but you wouldn’t use Times New Roman on your startup’s website, would you?

Only because I have a thing about using serif fonts in html, otherwise it might well be one of my fallbacks.

And besides, arguing that people should put more effort into restyling Bootstrap is different than arguing they should abandon it altogether. In terms of providing a framework for layouts, I think it does its job quite well, and that users will probably intuitively understand a Bootstrap site because they've encountered them a hundred times before. This in turn gives your site an implied sense of stability and trustworthiness since it "looks like twitter/etc etc."
sweet, maybe bootstrap will use it now instead of the inferior one it uses now.
Agree about tramp not being the solution. How is zile an improvement over emacs -nw -q ?
I created live feed for our site using socket.io just today and was thinking whether to use it without WebSockets or install another proxy in front of nginx. So this 1.3.13 release is quite a surprising coincidence. Now I'm thinking how "stable" is the "development" release. Will wait a few days to let it get discovered :)
This advice doesn't appear to be universally true. There are different versions of UUID, including version 4 for truely "random" (or pseudo-random) UUIDs.

Looking at the python implementation:

http://docs.python.org/2/library/uuid.html

def uuid4():
"""Generate a random UUID."""

# When the system provides a version-4 UUID generator, use it.
if _uuid_generate_random:
_buffer = ctypes.create_string_buffer(16)
_uuid_generate_random(_buffer)
return UUID(bytes=_buffer.raw)

# Otherwise, get randomness from urandom or the 'random' module.
try:
import os
return UUID(bytes=os.urandom(16), version=4)
except:
import random
bytes = [chr(random.randrange(256)) for i in range(16)]
return UUID(bytes=bytes, version=4)
Reclining airplane seats are a terrible idea and should be banned
The startups and services behind Close.io
AFAIK the RE-GP series have the same issue and are advertised as server/enterprise grade.
netrw does that too: hit i to cycle through all the available listing style or add this line to your ~/.vimrc if you want the "tree" style by default:

let g:netrw_liststyle = 4
In the original Sim City my brothers and I eventually figured out the solution to ALL traffic problems was to simply never build roads and only use rail lines. Apparently sims were much happier waiting for hours or even days for a train to finally pass their out of the way residential area.
No, Aaron Swartz Was Not Charged With Violating JSTOR’s Terms of Service
I am creating my own new blog.

I removed the comments system from it, because in my past blogs, comments were rarely useful. If a post is interesting enough to need comments, it usually ends on social media anyway, where people can comment there (like HN, Reddit, Facebook, and so on)
SLC. This article is a blast from the past.
Reining in state power isn't an anti-liberal idea.

Elections are a really bad example of governance, mostly because they're a minimalistic form. It's really not worthwhile, IMO, to go after anything to do with elections at all if you want to make money. Instead, try to figure out a way to loop the government into dealing with everyday problems. Tax-help companies, like H&R Block and TaxAct, are actually early instances of this: they're providing navigation of arcane bureaucratic nightmares. There is probably no end to the number of areas you could find to niche up and optimize a citizen's interface with their governments.

I mean... I just find your comment odd. Elections are such a tiny slice... what problem are you even trying to solve, besides "how do I extract money from this process"?
Why do people comment on hn/reddit/slashdot/etc about a blog that allows comments?
Looking at this (which looks very nice and impressive), the one thing which strikes me is how all the actors in this market seems to want/need a their-platform-only deployment to truly work.

Ubuntu on the phone, tablet, PC and TV looks nice. I'd love to try it. But for me to be able to do so, the devices I buy needs to be open enough for me to be able to install that.

If all I buy is locked down devices, you can be sure I'll never have a home where every device was bought when the next big thing(tm) was released. I'll need a way to bring the platform of my choice to all my devices.

Like PCs had and allowed before Apple went ahead and ruined it all.

Either that or better open protocols and specifications created, implemented and deployed across the line, but we can see how well that is going these days.
>Energy-wise, we’re talking about 1.36 milliwatt-hours per cm3, about twice the density of activated carbon, and comparable to a high-power lithium-ion battery.

That's not really comparable to any "high-power lithium-ion battery" at all - Wikipedia quotes 250–730 Wh per litre for Li-ion (so 250-730 mWh/cm^3), and a quick calculation with a laptop battery I have on hand agrees - 84 Wh stated in 27x4x2cm = 388 mWh/cm^3.
First off, in some areas it is a regulated market which would prevent them from being able to do so (electricity at least). Second, it would be very expensive for very little gain. It wouldn't scale well and they would have a ton of new infrastructure to support.

On top of that, they would have to compete with companies who already have customers. The electricity market has recently become unregulated in Illinois, and despite being able to save money using a different provider, I haven't switched from ComEd. The reason is that the savings isn't enough for me to justify the time spent actually comparing and seeing if I save and then switching providers. Amazon would be up against this same kind of apathy, which would only occur after they get some sort of infrastructure up and going. Meaning they would have sunk capital into a business for nothing.
python nltk is all what I have to say.
Yeah, but in my experience, the people going around saying "calories are stupid" are invariably supporters of low carb diets. (Because no one else cares.)
That's awesome. I'll check them out. That's funny you mention the can't stop talking about them. I keep asking anyone who'll listen to me about cohort analysis :) to see if they want to geek out with me and talk stats and user retention. So far, not a very good hit rate amongst friends.
Where is mobile going?
This is my setup as well. I open two terminal windows: the one on the left is used for "control" stuff, and the one on the right is for code. Then in each terminal I run tmux. For a Rails project, I have separate tmux windows for models, controllers, views, stylesheets, a psql prompt, etc. I've done it long enough that I know which window has which stuff, and each vim session only has a few files open, so it's easy to `:ls` and `:e #3` around. My scripts to launch tmux look like this:

# ~/bin/ss-ctrl
#!/bin/sh

env_name=ctrl
long_name=skillspy
short_name=ss

cd ~/src/${long_name}/site && \
tmux new-session -d -s ${short_name}-${env_name} && \
tmux rename-window -t ${short_name}-${env_name}:1 git && \
tmux new-window -t ${short_name}-${env_name}:2 -n log 'RAILS_ENV=development rails s -p 3009; bash -i' && \
tmux new-window -t ${short_name}-${env_name}:3 -n db 'ssdb; bash -i ' && \
tmux new-window -t ${short_name}-${env_name}:4 -n misc && \
tmux new-window -t ${short_name}-${env_name}:5 -n redis 'cd ~/src/redis-2.6.0-rc8/src && ./redis-server && date && bash -i' && \
tmux new-window -t ${short_name}-${env_name}:6 -n sidekiq 'RAILS_ENV=development bundle exec sidekiq | tee log/sidekiq.log; date; bash -i' && \
tmux select-window -t ${short_name}-${env_name}:1 && \
tmux -2 attach-session -t ${short_name}-${env_name}

# ~/bin/ss-code
#!/bin/sh

env_name=code
long_name=skillspy
short_name=ss

cd ~/src/${long_name}/site/app/models && \
tmux new-session -d -s ${short_name}-${env_name} && \
tmux rename-window -t ${short_name}-${env_name}:1 models

cd ~/src/${long_name}/site/app/controllers && \
tmux new-window -t ${short_name}-${env_name}:2 -n controllers

cd ~/src/${long_name}/site/app/views && \
tmux new-window -t ${short_name}-${env_name}:3 -n views

cd ~/src/${long_name}/site/app/assets/stylesheets && \
tmux new-window -t ${short_name}-${env_name}:4 -n css

cd ~/src/${long_name}/site/app/assets/javascripts && \
tmux new-window -t ${short_name}-${env_name}:5 -n js

cd ~/src/${long_name}/site/app/workers && \
tmux new-window -t ${short_name}-${env_name}:6 -n workers

tmux select-window -t ${short_name}-${env_name}:1 && \
tmux -2 attach-session -t ${short_name}-${env_name}
Sometimes the user is to blame.

We can't eliminate all possible danger and coat the world in foam rubber because someone people are accident prone.

That's not user-driven logic, that's bureaucrat logic, and pushing for education as a way to mitigate the dangers isn't some kind of 'geek logic' that mainstream people couldn't be bothered with, it's very simple logic.

There are infinite threats. We all have our own whitelists and blacklists.

I don't want to live in a world without electricity, cars, swimming pools, stairs, and knives because some people may hurt themselves, because I may even hurt myself.

Potentially getting fucked over should be in the TOS for human life. Click here to agree or sit in the corner and make collages with non-toxic glue, magazines full of approved harmless imagery, and safety scissors.
I don't think it has to do with familiarity at all - LibreOffice looks almost identical to what MS Office looked like prior to Office 2007, so it's definitely familiar, and if you look at 'percent of my life using a UI,' is even more familiar.

When the Ribbon was introduced, everyone complained because it was different, but I thought it was a great innovation. Common tasks that used to be buried in menus were brought to the forefront, and really useful actions that few people knew about got exposed so that you didn't need to be a power user to access them. Microsoft invested a lot of time to figure out how people actually used the software and streamline it for them, and it shows in the product.

As a quick example, look at what it takes to change a spreadsheet to print in landscape and fit to a page in Calc vs. Excel. It's a pretty common task for anyone who prints out a spreadsheet, so Excel made it easy. Calc still does it the same way Excel did ten years ago, based on where a programmer would put those options, but not where a user would look for them.
"Safe Sleep". Hopefully that campaign of education will eliminate the idea that these infants are just randomly dying and promote -- the mechanism is not unclear, just nobody wants to tell a grieving parent that they are responsible for death of their child.
Indeed. Links inside emails could be disabled by default. Email clients are already doing this to images. Why not block explicit links as well?
If the main problem you have with LibreOffice is "it sucks for editing MS Office files", that's a shortcoming of MS Office files.

Practically speaking, if you need to interchange files, you'd still need MS Office. But direct your grumbles at MS lock-in, not at LibreOffice.
I don't know the details about which parts of the simulation are run locally and server-side, but the fact that your cities are "always on" (i.e. other players' cities can trade and visit your city even if you're not playing) tells me that a good portion of the resources/traffic simulation is run on Maxis servers.

It may be not be a valid reason for you, but Sim City ran significantly faster than Civilization V on my machine. To me, they both perform a massive number of simultaneous simulations, and Sim City's performance is near instantaneous.

That said, there's one huge factor none of the beta players can take into account when judging Sim City's performance: no one has been able to build massive, multiple-city metropolises, as play time was limited to hour-long sessions.
Is the XML expansion issue truly just a DOS issue, or is it possible for attackers to get feedback (either directly or on subsequent requests) on the XML parse result and thus read local files via a SYSTEM entity?
undofile sounds great! I didn't know about it.

Some people use jj to go to the normal mode. Personally I remapped Caps Lock to Escape in my whole system, so I can go to normal mode easily.

You can yank to the system clipboard by providing appropriate register to yank into. You do that by pressing "* before the yank command (e.g. "*yy to yank the current line).
New program for start ups & entrepreneurs in San Mateo
How are this stats correlate with odesk/elance and more companies stats? is there a similar trend? what about separate them by industry field? I imagine that financial companies are not hiring that much remote developers.
excited to read the book! lemme know when it's available.
My Rules for Presentations
I'm going to guess that a lot of people in the US, like myself, have been brought in on projects that were originally developed overseas--projects that we're in pretty sorry states when the product owners finally gave up and hired a US developer. While it is obvious that there must be many excellent developers from all over the world, I can still say that my experiences with non-US developers have not been good.

(note: Most of the reason for this is because US companies going overseas are primarily doing so to save money and probably are trying to cut more corners than they should.)
For a second I got scared. Then I saw the fixes and realized that I don't have to panic-update. It is great that the issues are fixed but none of them seem very dangerous. DoS can always be done and I doubt many people use the XML serializer/admin log. Not sure about how many people use get_host(), but I imagine its not a lot of people.
Is rxvt slower? Recently I switched from xterm to rxvt-unicode and it's really great!
totally agree. Even the CloudFormation docs have articles discussing both methods. Having both would be a benefit to all.
Yep, I replied at the wrong level. Shame on me.
Also should've not replied to begin with, given that I don't really care about Ubuntu on devices other than my laptop.
This is untrue, there is no law saying as such.

Every large ( >1000 employees ) organization has DAILY infections on employee computers. That is the reason for IT departments. If any big corp did a press release every time they found malware on a computer, it would just be a never ending stream.

Not everyone who works for apple is a programmer. There are janitors, cooks, secretary's, etc.. Those people use IE and click links in emails.

I cant say as to why apple chose to release this statement. I can just say I am fairly confident they did not have to.
That may be because software is your profession, and you spend more time doing it.
The Hidden Curriculum of Teach For America
Ask HN: What Software Do You Used To Track IT Assets?
Just came back from seeing a nutritionist, I had been eating less than 40 grams of carbs a day ... she told me that I need to ramp it up to about 200 grams a day, and need to increase my intake of fiber.

Carb free or low carb isn't entirely healthy either.
It's much less paperwork and trouble hiring somebody who has a U.S. work permit when you're a U.S. company. No worrying about e.g. Brazil's employment or tax laws. That's basically it. Boring and unfortunate, but true.
WordPress Theme Demo Bar
Yeah, I noticed some of the similarities to Beanstalk myself and am kind of curious where they are going with this concept? It seems to me that instead of building a fully integrated Chef management platform with fancy gui (which was my initial thought), they just recreated Beanstalk with some major bonus features and perhaps a lot more control.
It seems particularly crazy to me that many people find out about security releases (or any releases) like this. What happens when one doesn't make the front page of HN?

Apologies for the shameless plug but at BundleScout we've been working on a tool to notify you when things like this happen[1]. It's not perfect, but it's a step up from this I'd hope.

[1] https://bundlescout.com/search?q=django