skysight-inc/HackerNews huggingface dataset:
your compiled CSS will balloon hugely -- in fact, you're kind of defeating the whole point

Obviously, it depends on the use-case, but I doubt it would balloon too much. The styles themselves aren't expanding at all — all that would be happening in your example would be that you'd have

.red, .foo {color:red}
.big, .foo {font-size: 2em}
.narrow, .foo {letter-spacing: -1px}
.foo{border-radius: 10px}

(or whatever). So you'd be adding a bunch of ", .foo"s in the CSS. And, yes, most class names will be longer than that, but I don't know that for most web applications you'd be adding too much bloat. Even an inefficient CSS file is going to add minimal overhead when compared to an additional image file or javascript library.

As to "you're kind of defeating the whole point" ... well ... what is the point? If your point is optimizing to get the absolute fastest download speeds, then it very well might be a bad direction to go in. But in terms of developer efficiency, using @extends and mixins can make the process radically easier. I'm working on an approach to CSS architecture that's similar to the original article linked (lots of @extends), and the benefits have far, far outweighed the costs. I'm still experimenting with it, and it's not ideal for every use-case, but I've been working with CSS for over 10 years, and it's the best approach I've found.

Definitely agree with you on the critique of the 37signals approach. It seems like a very fragile method.
>Those things go hand in hand. Ideally, you can't make money without improving human life in exchange.

That's ideology. Specifically, an Adam Smith style ideology.

You can very well make money without improving human life in exchange.

Heck, you make tons of money without improving human life. Like being an arms dealer. Or an African warlord. Or a crack dealer. Or a huge money seeking corporation selling sugar water. Or the very same way Belgium made tons of money for a small elite by royally fucking over tens of millions of people in Africa.

The reverse is also true: "you can improve the human life without making any money". The same way Ghandi or MLK improved human life without selling anything or being involved in any commercial enterprise.
"she swore all of her friends would use if one of my “entrepreneur friends” built it: a FaceTime-esque app that’s free."

I don't get it - aren't there a ton of video chat apps? Not only the big ones (google, skype), but lots of startups as well - oovoo, etc?
There is a special Ubuntu ISO for secure boot that contains pre-installed Boot Repair but it didn't work for me. I just used regular ISO and it worked like charm.
Breakup with boyfriend
Last night, I just broke up with my boyfriend. Right now I just feel sad. We have been together for a little over three years. We met when we were both in university. After he graduated, he has been doing start-ups. I came to know hacker news through him and . I can't believe that I can no longer be with him. We had a wonderful relationship but due to reasons out of our control, we had to break-up. I feel that my heart is weeping. I am not sure why i want to post this this. Maybe deep in my mind, I think he might read this... Also recently, I have recently seen a hacker news post of a guy who has experienced depression and who has received incredible support from the hacker news community. Some people probably think it is silly for me to post something like this..But I woke up this morning and just really want to post this..and receive some support from you guys.. I am crying while writing this.I don't even think my thoughts are coherent at this moment..But if you understand how I feel and want to give me some support, please inbox me at cathyxijuan@gmail.com
I updated the README with some additional info.

Java and Scala have essentially the same bytecode output as both compilers were written by Martin Odersky.

There are many links below: free books, PDFs, articles, videos, tutorials.

Or just Google "The busy Java developer's guide to Scala" (article), "Scala for the impatient" (PDF), "A Tour of Scala", "An Introduction to Scala for Java Developers" (about REPL) etc.
The Enzo Project
What is Enzo?
Enzo is a community-developed adaptive mesh refinement simulation code, designed for rich, multi-physics hydrodynamic astrophysical calculations.

Enzo is freely available, developed in the open, with a strong support structure for assistance. Simulations conducted with Enzo have been featured in numerous refereed journal articles, and it is capable of running on computers from laptop to Top500.
Source code is not required for such auditing, it just makes it easier in some ways. Anyway, the main method of distribution of open source software is as precompiled binaries so the same issue arises there.
That was a troll bot someone not affiliated with travis wrote, as I recall.
Uber Boston NYE: "prices during extreme spikes could cost you $100 MINIMUM"
I'm not sure this has as much to do with her age as her gender (although I'm sure the former does play some kind of a role). My sister uses snapchat, instagram, and facetime all the time in the same ways as you described your sister does, and she's graduated from college. She uses it predominantly to communicate with her other female friends.

I also know several girls my age (25/26) who use these services in the same way. It tends to be mostly the "social butterfly" type of girls. It's funny because these are the same girls who would flood their facebook walls with pictures throughout the day, and now they rarely if ever make a post. I could be wrong, but I don't see any guys using the services in the same way.
Thanks for an interesting article. What's your guess on when other browsers will make using progressive jpegs easier?
The fact that you can imagine hypothetical situations where the oppressed was the oppressor, or was oppressed by others, doesn't excuse the actions taken by their actual oppressor. "...us Humans are a vicious bunch" is merely a statement, not a valid excuse.
Oh alright.

Boss: "So are you seeing anyone?"

Me: "Ahh, erm, I appreciate your desire to look out for me boss. Us Americans are a little quirky with regards to finding young ladies -- we typically look for ourselves rather than getting formally set up by family or coworkers. I'm not seeing anyone at the moment but plan on finding her myself, so..."

Boss: "Oh its not just a cultural thing. If you don't have a wife, you'll go back to America to find one, and then you'll quit the company. We can't have that now can we."

Me: "Erm, I appreciate the concern, but maybe we can meet at the midd..."

Boss: "Yeah yeah, whatever."

3 weeks pass. Scene is a Welcome To The Company party for myself and two other new employees.

Boss: "Patrick, I've got someone to introduce you to. This is K-san, who sits two rows over."

K-san is a young lady, about my age.

Me: "Pleased to meet you, K-san."

K-san: "Please to meet you, Patrick."

The following is word-for-word translated from Japanese and is not exaggerated in the slightest.

Boss: "Patrick graduated from a good school in America, is a bright engineer, and has a solid future with the company. How about an international marriage?"

shocked silence

K-san: "I have absolutely no interest in that."

Now in a just world I'd be able to report that this was a little awkward but we can all laugh about it 5 years later, but a just world would have no Japanese megacorps in it. In the world we actually live in, K-san was given grief by many co-workers. (e.g. "K-san, do you want to come out to lunch, or do you have absolutely no interest in that?") My dimestore psychoanalysis is that a) she shot down the boss in "too brusque of a fashion" compared to socially optimal ways to decline things like "giggles Oh he's far too handsome for me." (or any of the 50,000 ways you could say "Yes" and mean "No") and at least in part because b) some people in my company genuinely believe, to some degree, that K-san should not have said no.

If you're interested in gender relations in Japan, many scholarly books have been written on the subject.
JSON can't carry binary data because it must be UTF-8. Glancing over the spec, msgpack commits the complementary sin, it can't carry UTF-8 data because it can only carry binary data. Yes, it is possible to stuff some UTF-8 bytes into a binary, but you still semantically have a binary, which could be anything. You must bring additional external information to the party to know what that binary hunk actually is.

In theory this may sound like no big deal; in practice I've observed in similar cases it's a disaster. Average developers routinely muck this up (and that's just me being conservative, above-average ones can choke on this problem too). msgpack really ought to have a dedicated string type, and either declare that this string is always a particular encoding, or give a way to declare what encoding the string is in. (The second is more flexible and arguably more correct, but in something like this where there's going to be dozens of libraries trying to implement it, it is virtually guaranteed that a number of them will muck the variable encoding support up badly, so in practice I'd go with mandatory UTF-8 too.)
It seemed that she was literally sitting on Facebook all day trying to find out what was going on with the world rather than enjoying it herself as she's now retired.

== This is just what getting old its like. Its a bit of a shocker seing this happen to your parents.

The FB part is sort of tangential, though TBH.
I don't understand the FaceTime is too expensive comment. Before iOS 6 it was completely free, and now it's only not free in terms of celluar data usage when not on WiFi. When you switch a phone call over to FaceTime, it stops taking minutes away.

The real drawback to FaceTime is that it's iOS/MacOS only.
Dave - one thing I know I personally struggle with when implementing new technologies for the restaurant industry is POS integration. More specifically getting the big companies like Aloha to allow me to integrate. What are your thoughts on this as well creating a more 'open' platform POS?

One other thing I thought you missed in your article was the trend towards quicker service, specifically for lunch. I have seen a substantial investment from restaurants to build more drive-throughs, increase delivery, etc. What are your thoughts on this trend and using tech to enhance?
sigh Why do we always have to misconstrue messages that conflict with our personal beliefs? :)

The GP was not declaring a winner. He was responding to overreaching title of the link. Yes there are similarities to JSON, and yes it may be faster and smaller, but only in certain cases. It is very relevant for the GP to point out that in the most common JSON cases (browser communication), those claims are basically false or only marginal.

This is reasoned argumentation, not arbitrary judgement to declare The One.
Capybara Cheat sheet
Sorry to hear that. Breaking up after that long can hurt really bad. Only time will heal you. And, if this is 100% final, only advice I can give you - re-focus on doing something, away from your feelings. Hacking, traveling, speaking out, searching for new job in new city, etc.
Java 8 (coming out in 2013) is going to be sprinkled with functional programming features....
It might be nice to sit around on the throne of privilege and gaze over the people with their problems, seeing simple solutions to all their petty seeming squabbles, but until you feel the anger, dismay, and emotion that comes of being on the ground, in the thick of discrimination and oppression, of not only seeing those problems but having them affect you and those that you love, you cannot "rationally judge" or "objectively assess" such events, because true understanding requires not only reason but experience, and emotional experience is one of those things.
Use the cache, Luke: http://webcache.googleusercontent.com/search?q=cache%3Acodet...
Why is the principle of allowing people to engage in private acts that harm no one else "silly"?

I realize that most liberals consider it an anathema, but that's the point. People appeal to the principle in spite of disagreeing with it in basically all cases except gay sex and abortion.
Exactly. I think bots are exactly the wrong shape for this task. What would be better would be a framework for automatically processing the files in a git repository and then generating a commit. GitHub could have an interface for uploading them and for applying them to repositories. You could then apply them yourself, or someone else could fork, apply, and then submit a pull request.
> Are hispanics/women incapable of understanding sports or something?

No, but many of them will lack prior knowledge about American Football and will have to work on understanding it at the same time as they work on understanding the application requirements. That means: given the same amount of intelligence and design skills, they'll take longer and probably appear less smart than someone who has that prior knowledge.

It's exactly the kind of thing that creates cultural biases in IQ tests and makes them invalid:
http://www.wilderdom.com/personality/intelligenceCulturalBia...
Canadian here, a lot of people don't realize how dry winter is the humidity can be very low on a cold day probably comparable to a desert environment.
I don't know why, I actively dislike gvim and use vim exclusively from the command line... even though it has the same functionality.
>I can see mobility being the only way the Internet will be used by young people teens to 20s. The desktop computer will be too formal and seen as too stuffy and slow, chained to a desk at home.

This is already the case. I have 2 teenage brothers; one (somewhat tech savvy) uses almost exclusively his tablet + mobile phone (he only uses his laptop to run a webradio); the other one (not tech savvy at all) only uses his cellphone.
Josh's sister's (and her peer sets) methods of communication cost nothing

You gotta have a data plan to access these from anywhere. Most schools don't have wifi. So, the actually can cost more than phone calls, letter etc...
The BIOS is hardly simple. Apart from the fact that modern OSes need to re-implement half of what the bios was designed for just to get the full adress space, and jump through countless hoops during boot is secondary. There are still timeswhere I have to reboot to change some BIOS setting, which is unnesasarily inconvinient. Presumably, UEFI implentations will be tested and stable.

Also, even if your distribution supports BIOS, that does not mean your motherboard does.
These women just spent 3 months of technical training, and the comment started by remarking on their attractiveness and goes on to call them girls.

Not sure if they attached it 'easily', but that comment was squarely sexist in my book. Even if it was well intentioned.
Here is one example of inferior Greek internationalisation:

http://www.openoffice.org/el/

"We need your help to complete the translation of Apache OpenOffice 3.4 into Greek!

"This note is in English because we have no one to translate it into your language. The links on the page will help you download and install OpenOffice.org 3.3.0, an older version of our product. It is missing many bug fixes, performance enhancements and even new features that are in Apache OpenOffice 3.4.

"We would be happy to make Apache OpenOffice 3.4 available in Greek, but we need help completing the translation of the user interface."

Whereas the latest version of Microsoft Office has a full and comprehensive Greek translation as standard, upon release, done by professionals.
Who gives a shit about Swedish anyway...
Post this on http://www.reddit.com/r/hackernews and never return. Good day to you madam.
I don't really leave a 2hr radius of SF now (although I guess I drive to Front Sight and Vegas sometimes, but prepare separately for that), and have all that stuff and more. Case or two of water, some tools, often a range bag with items, etc. Mostly worried about responding to someone else's accident, but there's the lingering fear of an earthquake, big fire, or other event like that. This is one of many reasons I like having my own car vs. zipcar or public transit -- it's 100 pounds of things to deal with emergencies (including "server broke, need tools and some network cabling", which is a much more common emergency for me than gunshot wounds...)

I really want to get into bay area amateur radio and get on some repeaters and stuff. An HT in the car seems like it would be a good addition. Maybe 2013.
Tenth graders are customers without credit cards. How are snapchat and all the free apps generating revenue? ads?
The Birth of a God
Josh being in his 20s, it's funny to see that high schoolers already consider us "middle aged" :)
Startup Resolution
All people want is to be safe. In order to do whatever they want, the powers that be need to feed fear to people. An enemy that threatens people's safety is needed, found, and fought. Whatever the cost is, people can feel safe again. You're going to see this pattern throughout history.

The question is... What comes next?
I'm pretty pro-TN (my relatives are from KY and OH), and surprisingly compatible with hicks, but I wonder how it would be for e.g. my Japanese-ancestry girlfriend. She seems afraid of Texas for the same reason.
Articles like this are more appropriate for the writer's personal diary. I don't see how his spending habits have anything to do with Amazon.
WHAT IS ACTUALLY GOING ON IN ICELAND
I think that (or I wonder whether) you've touched upon the difference between personal vs. public freedoms, the latter of which we impose many regulations upon. Many people would object to a sub-minimum-wage job offer, but would be fine to pay friends/family/neighbors (including children) such amounts for odd jobs. Or I might slander someone I don't like within a small group of friends, and nobody would object to that; but the New York Times, which is sold for public consumption, is prohibited from publishing libel or slander.
This applies mostly to US phone sales.
It's probably worth pointing out that there is now an increasing trend toward higher level frameworks like Meteor and DerbyJS which help blur the lines between the server and client and simplify the creation of real-time apps. I think in a couple more years they will start to replace Express as the de facto framework to use for medium to large sized projects.
Jacob Appelbaum: General Alexander is a Fucking Liar
quit and do what instead?
Interesting link, I'm trying to diversify my income for the same reasons as above.

What is your thought process for charging 100% up front if you don't mind me asking.
One could regard it as the first implementation of a robots.txt-like standard for public code: the existence/contents of .robots in a repo/directory implies that the owner wants control over the type of mechanical contributions received, no matter where the code is hosted.

It could be opt-in (initially at least), i.e. a .robots with contents "all", "typo" or "whitespace" etc would allow bots of the given type (an empty or missing file would imply "none").
Terminators of Tommorrow: A Insight into Future of Hardware
It’s easy for people to take blog posts, forum replies, etc. out of context. Don’t sweat it and keep writing retrospectives like these. They’re very insightful.
Chef repo hacked by ANONYMOUS
Let the world know your startup resolution for '13. Mine is to do some mentoring.
"doing as many things possible"

That's my takeaway from this article, and your comment. Trying to go solo with only one source of revenue/income is foolish. Do as much as you can, as long as the return on investment is sound.
> Now I must ask, do you list a glaring disinterest in the perspectives of others among your own weaknesses? If not, does that make you lazy and dishonest?

This this really bugs me. You needn't ask at all; it was your choice to make an ad hominem attack.

We merely disagree about the utility of an interview question; I think it's revealing and you don't. You're offended because I've said that I think failing to answer this question well may be indicative of personal flaws. That's the position of anyone who uses this question, not an attack on any poster here, most of whom disagree with me.

If you want to sit in an echo chamber, go somewhere else.

Edit:
Not sure why I've been downvoted. Feel like this was a pretty moderate response to someone who directly and personally insulted me.
I wonder if SSI (Serializable Snapshot Isolation) would be of use here. http://wiki.postgresql.org/wiki/SSI
When I was in tenth grade I'd just use my dad's credit card.
workflowy.com
Take your time,....time they say heals all wounds
You are not the arbiter of other people's values. People drink coke because they enjoy it. Keep your moral outrage reasonable please.
Visualizing Recursion
Nosecomplete - shell completions for python's nosetests
Mine is to invest
Guns were, however, used on a number of occasions against state governments and terrorist groups backed by state governments. The Battle of Hayes Pond (1958) is one notable example.

https://en.wikipedia.org/wiki/Battle_of_Hayes_Pond

You should actually read a little history. You'll discover that gun ownership played a significant role in blacks gaining civil rights in the past century - most early gun control efforts were actually an attempt to disarm them.
What happens if you answer reasonably honestly?

"I don't know any COBOL and I've never done anything in ADA. My C isn't as strong as I'd like it to be, but -as I mention on my resumé- I'm working in some open source projects bug fixing to get it stronger."
Raising Transcriptic's Seed Round
LOL What about BJSON? Why another BJSON?
In my point of view, skype is way too slow on ios.
It takes ages to load and lags somehow.
"Enforcing that a quote has at least one quote_line is pretty tough, at least in Postgres, and involves triggers and locks."

The reason it seems simple when using a few classes is because there is an implicit assumption that concurrency is a non-issue and there's only one application involved. But those aren't good assumptions, so the approach using classes will start to look more complex (and involve locks, etc.).

In Postgres, the trick is to use SERIALIZABLE transactions everywhere (should be the default, eventually), which avoids the need for explicit locking. Then, add a trigger that is fired before changes to either table, and it would simply check that the condition holds for the quote that was modified.

Here's some code, since you asked:

create table quote(
quote_id int8 primary key,
customer_id int8,
valid daterange
);

create table quote_line(
quote_id int8 references quote(quote_id),
amount numeric(10,2)
);

create or replace function check_quote() returns trigger language plpgsql as $$
declare
line_count int;
line_sum numeric;
begin
select into line_count, line_sum
count(*), sum(amount) from quote_line where quote_id=NEW.quote_id;
if (line_count < 1 OR line_sum < 0 OR line_sum > 1000000)
then raise exception 'invalid quote';
else return NEW;
end if;
end;
$$;

create constraint trigger quote_check_trig after insert or update or delete on quote deferrable initially deferred for each row execute procedure check_quote();
create constraint trigger quote_line_check_trig after insert or update or delete on quote_line deferrable initially deferred for each row execute procedure check_quote();

Note that I did not need to add the CHECK constraint, because it's much better to use the appropriate data type -- DATERANGE -- instead of hacking it together from parts.
Exactly. If you think the Windows 8 fullscreen start menu is getting in your way, it means you haven't yet learned how to use Windows 8. For a professional user this should take a matter of days, or even hours/minutes.
How did you find that? My google search for the link [0] showed no cached link/button.

[0]: http://codetheory.in/game-physics-basics-and-implementation-...