skysight-inc/HackerNews huggingface dataset:
> Portability is still a good reason to use C++.

Quite true, thankfully WP8 supports native now. If portability is not a big deal, I prefer C# and DirectX (via sharpDX). It's much less code than C++, and just not as insane.

> And since # of bugs is proportional to the number of lines of code, I end up way ahead.

Can't tell if you are being serious here. That's just not true at all; it's well known that LOC is a poor indicator of bug occurrence.
I made a bunch of fixes. Thanks for the feedback again. Let me know if you find any other issues with it.
A little off-topic, but I'd love to see more of these Ask HN posts. As a graphic designer, I cant say how great it would be if coders understood UI/UX as much as I did :)
I really have no idea what you are on about. You aren't competing with somebody giving your software away for free. They are giving it to a completely separate audience. Those people were never going to be your customers. If you lose customers to it, then you have failed to make them your customers in the first place.

You seem to think that I am defending pirating; offering up a moral justification of sorts. I am not. I am not interested in the slightest in the morality of the topic, one way or the other. I offer them no moral defence, nor do I morally condemn them. Rather I am telling you that you should not get bent out of shape over it.

And for the record, despite your insinuation, I pirate neither software, nor music, nor movies, nor whatever else there is to pirate. Why would I?

I think you are taking my response too personally for some reason.
#1 will get you so so far
Thanks for that link. I have been wondering about it for several years myself. This needs to be brought up more often.
Please start a company in your own town. San Francisco is full. Kthx.
It's the same reason I don't use multiple monitors simultaneously. I feel really productive having full screen apps. But even better is the fact that I have keyboard shortcuts set up to switch between apps.

It started with XMonad on Linux, where alt+n (where n is 1..9) would take me to a separate workspace, each with it's own apps. Workspace 1 is always my browser, 3 is the terminal, 8 is my editor, etc.

I set this up on OSX as well - workspaces are called desktops on OSX and I just set up 9 of them, with command+n being my desktop-switching shortcuts. It works remarkably well, it almost makes me cringe seeing people alt-tab repeatedly, or using the mouse and overlapping windows to try to switch between different apps.
Emeryville kind of does this, but isn't ideally positioned

Emeryville had great potential, I think the location is great, but as you mention, for getting to SF or SV the public transit sucks. And is alas pretty-unwalkable, even locally. If San Pablo had a Bart Stop (without the 1-3 mile walk to it), it would be much more interesting place, IMHO.
Bright Idea
Walks & Walking Cornwall Walks Bodmin Moor Caradon Hill Walking Route
SICP is an advanced text, and using it to teach amateurs how to program is, probably, a mistake.

Brian Harvey have done a great job to simplify and make it more freshman-friendly. I think his CS61A is the best intro course available (but I don't think that the sentence ADT is a such great idea, and it make things little messier, not more clear).

The HtDP2 approach is also remarkable, but problem is it is part of Racket promotion (word dr.racket is used hundred times in the first chapter). The idea to make changes in a program visible, via using graphical primitive functions is brilliant, but controversial one - it is too soon (but it kicks and makes a progress visible)

I think that functions with multiple arguments, first-class "citizens" (values has a type, everything is a pointer), pairs, lists, then generic functions and environments must be taught first, and visualized interactively, similar to that python tool. Then, after, you can teach parts from HtDP and then SICP.

People who really enjoyed this initiation will go through whole books themselves.)
Well, that's basically the idea of deterrence, "We have nuclear weapons, don't touch us". But the comment pointed out that the Enterprise didn't protect someone. It was just plainly used to kill. That's what weapons do. They don't "protect". A shield protects. A sword kills. Enterprise = sword. Not shield. Is it so hard to understand?
SEEKING WORK
I am a self taught designer/developer who believes in creating pixel-perfect designs and in writing clean, standards-compliant code. I have considerable experience working with Photoshop, HTML, CSS, Javascript and Ruby on Rails.

Personal projects:
- Resumonk - http://www.resumonk.com - UI Design + Front-end + Ruby on Rails

- Engem.me - http://www.engem.me - UI Design + Front-end + Ruby on Rails

- QuotesCube - http://www.quotescube.com - UI Design + Front-end + Ruby on Rails

- Airball - http://airball.in - UI design + Front-end + Desktop app (using TideSDK)

Skill set:
- UI Design (Photoshop/Illustrator)

- HTML(5) / CSS(3)

- JavaScript (jQuery, Backbone)

- Ruby on Rails, Sinatra

Links:

- Portfolio: http://bharani.herokuapp.com

- Engem: http://engem.me/bharani-muthukumaraswamy

- Dribbble: http://dribbble.com/netastica

- GitHub: https://github.com/bharani91

Please feel free to drop me a line at <bharani91[at]gmail.com> or get in touch via skype(bharani.m91).
CERN, Geneva, Switzerland. C language software engineer.

Work on real-time embedded software for the magnet power supply control system for all of CERN's particle accelerators. For full details and to apply online please visit: https://ert.cern.ch/browse_www/wd_portal.show_job?p_web_site...

Employment conditions: https://hr-recruit.web.cern.ch/hr-recruit/general/Employment...

Starting salary: 95kSF - 109kSF per year

Deadline for applications: 6th January 2013

Applicants must have the nationality of a CERN member State: https://ert.cern.ch/browse_www/wd_portal.show_page?p_web_sit...
Please keep in mind that the flavour of meditation you are describing is not the only one.

"[M]editation refers to a family of self-regulation practices that focus on training attention and awareness in order to bring mental processes under greater voluntary control and thereby foster general mental well-being and development and/or specific capacities such as calm, clarity, and concentration" Walsh & Shapiro (2006)

"[M]editation is used to describe practices that self-regulate the body and mind, thereby affecting mental events by engaging a specific attentional set.... regulation of attention is the central commonality across the many divergent methods" Cahn & Polich (2006)

The practice of 'coding in the zone' might as well achieve the same effect as traditional meditational practices and be called meditation on that ground. In fact, you are training the control of your attention with that practice.
May I recommend David Kadavy's Design for Hackers, which covers #1, #2, #3, #6, and more.
Okay. Here is how I look at it. I am a smart, focussed, imaginative guy. I believe pretty strongly that if I lived in a city where I was in close proximity to a lot of other smart, talented people, I could make some great things happen. I have a lot of ideas that would require teams of such people to realise, any one of which could become an important business or non-profit venture. The Internet is great, and web-based collaboration and idea-realisation tools are certainly developing and making the world flatter, but proximity is still a very large catalyst to things happening. San Francisco happens to sound like one of the best cities for someone like me to move to. I happen to live very far from San Francisco, in another country. I am sure there are a lot of people like me around the world. The cost and difficulty and unknowns of the idea of moving to SF are pretty intimidating.

Now what would happen if all the people like me were able to easily move to San Francisco, and start meeting and talking and coming up with ideas and doing things together? If those big walls of distance, national borders, and evidently prohibitively expensive real estate were broken down? I imagine some very great things could happen. One thing this article pin-pointed is interesting: salaries at major SF tech companies are high because of the housing shortage. What might happen if you could concentrate the world's smartest people in one great city with affordable housing, so that the companies they might start could pay lower wages? Well you could definitely start companies a lot easier, and they could be profitable at lower levels, so it would encourage I think better and more diverse companies and internet services. I think San Francisco would also benefit hugely.

I think eventually a city like this has to come along eventually. If there is going to be a global village, there needs to be a global hub where the best and the brightest can meet and work together. Currently the world doesn't have such a place. It seems like SF has as good a shot as any of becoming that hub. Doing so would of course require some sacrifices, so the question for SF seems to be, do you want to go on being sorta great but holding off true greatness because you don't want to give up any of the things you like about the way you have things now, or are you willing to aim high?

The question for anyone else is, what can you do to make it much much easier for people from around the world to gather together in a single place? There are a lot of legislatory hurdles to be dissolved. Also anyone who made it their business to help people make the jump could do well I think.

Also, as an aside, nation-states and borders are so 20th century. Eventually the world will have no borders - a truly united world has to happen eventually. Removing borders should be a priority for everybody.
"Additionally, your choice of editors is rather limited. Whatever you use, it has to be terminal-based. A GUI editor like Xcode, Sublime Text 2, or Coda is right-out."

I just want to point out that with a program like WinSCP, you can sync a folder over SSH and essentially work over SSH with whatever editor you'd like.
I could train someone with no prior knowledge of firearms, who was fairly intelligent, responsible, etc. to use a shotgun effectively for home defense in about 15 minutes on a range, and maybe an hour or so on use of force/escalation of force at a table. That's both the most morally defensible firearm ownership and the most likely positive use for a firearm, at the lowest overall cost (risk, financial cost, training time, etc.).

Concealed carry of a handgun, use outside the home, precision rifle, etc. would be a lot harder, but I'd be quite happy if most people just learned minimal home defense with a shotgun and nothing more.
Or the air. Or space. You can even shoot rockets from the other side of the planet. Better invade all countries then! Just to be sure (and safe) :P
Ask HN: Best developer laptop under $1700?
I'll use Ubuntu / Debian based Linux. Looking at System76, any other options?
You've got a non sequitur there. The best companies are run by good people, therefore business isn't dominated by cynicism.

That conclusion can't be drawn from that premise, and the premise is shaky.
So the FTP administrators are some sort of neutral ground, in that they distribute releases from a variety of groups. They are sort of the Warez Scene hosting providers?

What are the incentives? Are these just people that have cheap access to fat connections, so the cost of running the FTP site is minimal? The ability to create 'leech accounts' for friends/family so long as they aren't sold (or is this also taboo)? Is unlimited personal access enough of an incentive?
Good initiative. I wish it was done in clojure/clojurescript, would have been great. But still its a nice way to learn.
One suggestion. Add paredit mode to balance the parens.
Without paredit mode one has to worry about balancing the parens and its a painful experience. It's like coding in notepad.
Looks great! Looking forward to more chapters :)
Take a look at this http://www.webtypography.net/

That's gonna get you started in typography.
I think you would have a hard time, but not entirely because of the language's faults. Rather, the core issue is that most of the things you have to keep in mind to write fast Haskell (like dealing with laziness) are very different from what you would have to keep in mind with more common languages that you are already familiar with.

That said, as I noted, the performance is usually good enough even with naively written code; you would only have to spend time optimizing a few select parts of most programs.

Another little problem is that there are not many resources on how to optimize Haskell code. This is a little annoying if you're learning on your own; however, I think it's offset by the Haskell community. I've seen some of the best Haskell programmers give very detailed responses on StackOverflow and the mailing list, so there is always somebody to help you while you're learning.

There are also some advantages to OCaml--it's a very fast language itself and it behaves in a way that's easier to predict especially since you can leverage more of your existing experience. OCaml is also a very nice languages; while I prefer Haskell, I would be perfectly happy with OCaml (and, in fact, I've only used OCaml and not Haskell in production).

I should add a big caveat to this whole post: while I've used both Haskell and OCaml a fair bit, I've avoided doing anything super performance sensitive. I usually care more about having correct, readable code quickly than I do about how fast it runs. So I am definitely no expert on optimizing either Haskell or OCaml!
Emery-go-round made up (slightly) for the BART situation. Still not great, though, and it got a lot worse in the past year.

Also, the bordering areas of Berkeley and Oakland are sufficiently bad that I feel uncomfortable at night in some parts of Emeryville. I don't know how you could really set up a separate city without some kind of natural border like the water or hills.
Pirating is part of how I learned to make software. To me it was a game at the time but disambling programs/debugging them while they run was a great way to understand how they work.
We're talking about an iPad.
I'm currently doing SICP with Harvey and to be honest after list and cons in general are introduced I wish the course would abandon sentences altogether.
I also saw that, cringed, and then idly pondered for a bit on whether is more or less awful than the common "eek out every bit..."
Whilst I respect you as a veteran I feel that your comment did little to add to this discussion.

The entire article is filled with metaphor and simile all building up this vision of a Middle Earth-esque world with these companies fighting for territory amongst themselves. The author was not saying that they were at war, I don't see Google launching drones filled with napalm at Cupertino any time soon, he was implying that these companies are fighting for survival in difficult and competitive markets.

As far as metaphors go, it was a fantastic one, filled with great imagery and for the most part fairly informative content.
Should you bootstrap your own animated video?
This article mentions that intellectual ventures invented a type of super antenna for improving wifi bandwidth on flights. Pardon my ignorance on this subject, but aren't they a patent troll? I'm not overly encouraged that this thing will actually be built and put to market.
A lot of what he says is interesting, but I'm not sure if I agree with what he says on the educational benefit of C++. That's not to say that learning how to work at a low level isn't extremely valuable - it is, beyond description - but I honestly think C++ adds enough abstraction and cruft to actually get in the way of that goal. In my (totally unqualified) opinion, raw C is a much more effective way to get a feel for the innards of the machine, without having to deal with a lot of the overhead that comes from C++.
Rust feature freeze is soon. These days we reject probably 90% of the proposals to incompatibly change the language.

There will still be churn, but it's much smaller nowadays; once we hit 1.0 we will be committing to backwards compatibility.
point of clarification: quasicrystals are by definition non-periodic, most known examples of which are metamaterials. the first sentence incorrectly ignores a very interesting class of engineered compounds.

http://en.wikipedia.org/wiki/Quasicrystal
That doesn't really help you if you are on an ipad.
I guess the sentiment in that statement is that you can't really teach what the full gamut of leadership really is in a "course" or "lecture", but only by hard lessons learned in life. Or through other's lives, which we can read about in books, which "lectures" or "courses" try to condense in a manner that is palatable to the majority.
An intent-of-founders-based reading of the 2A would seem to support ownership of military weapons more than handguns or hunting weapons. There are several groups (GOA, vs. NRA) who support this. Yes, I think the "Sovereign Citizen" people on TV tend to be loons, but that doesn't mean everything they believe is necessarily unreasonable.

(Personally, I think our experience in Iraq shows that any real insurgency or attempt to overthrow a government would take the form of "fuck guns, bring IEDs". Most of the time, an insurgent would actually want to be unarmed entirely so as to blend in with the population. It might sometimes be worth having offensive weapons for specific tasks, but generally unless it was truly open warfare on every citizen, you would want to blend in. Small arms, especially personal weapons vs. crew-served, are basically defensive weapons, or are used to fix the enemy in place for larger weapons to destroy.)
Ok, for 180+ Movie clips, I agree with you :D Btw, you are the author of the bastards book for photography? Wow. I loved your work :) I'll shoot you an email sometime :)
How did you bind command-(1..9) to the different spaces on osx?
For those interested in typography, while I found blog posts helpful in teaching myself, if you really want to understand, I recommend reading one of the canonical texts depending on your particular interest. Typography is a deep field with a lot to know before you can really know what you're doing.

The Elements of Typographical Style is a beautiful book and an elegant, literary introduction and guide: http://www.amazon.com/gp/product/0881792063/ref=as_li_qf_sp_...

Thinking with Type is full of contemporary examples to give you new ideas: http://www.amazon.com/gp/product/1568989695/ref=as_li_qf_sp_...

Ruder's Typographie is the book that established modern typography and is the de fact guide to modernist typography: http://www.amazon.com/gp/product/3721200438/ref=as_li_qf_sp_...

As an introduction to typography, I also recommend watching Helvetica: http://www.amazon.com/gp/product/B002RIOGI0/ref=as_li_qf_sp_... – it will give you a personal perspective on different philosophies of choice of type-face

For that matter, the same goes for color theory.

Here's a nice introduction to color in general from the Adobe website: http://www.adobe.com/products/adobemag/archive/pdfs/9611febf...

The Wikipedia entry is worth reading: http://en.wikipedia.org/wiki/Color

Kandinsky's Concerning the Spiritual in Art is a beautiful manifesto on art, but contains a very interesting theory of color: http://www.amazon.com/gp/product/1619491532/ref=as_li_qf_sp_...

Itten's The Elements of Color is the classic text on color: http://www.amazon.com/gp/product/0471289299/ref=as_li_qf_sp_...

Albers' Interaction of Color will teach you that colors are no absolute reference ponts – they interact with each other to create all sorts of effects (this text pairs well with the Kandinsky): http://www.amazon.com/gp/product/0300018460/ref=as_li_qf_sp_...

To get really deep into color, check out the IESNA handbook: http://www.ies.org/handbook/

All this is not to obviate OP's impetus to write posts on these topics. Blog posts are crucial as introductions and I find tend to work better as references than books, which tend to be overwhelming and ignored in this digital age. But if you want to go deeper, these are my favorite references after moderately exhaustive research.
Yeah I wonder where they got that from. Swedish ISPs have had 1 GBps options for years now if you live in a properly equipped apartment complex. Did the original source mean something more specific, and it just got mangled by the reporter?
"the biggest "design by committee" language" : facts? Bigger than Common Lisp?
thanks for your thoughtful response. i too have a gut feeling about that negative correlation, and i believe brain research suggests at the least that these two characteristics are distinct, and vary in individuals.

could it be that those "rare gems" that you mention--who are both analytical and "creative"--are greater in number than you think--maybe even the majority? for example, the pure-analytical types and the pure-creative types could be a very vocal minority. They stand to gain the most by being divisive.

i also read less for pleasure nowadays as i run my startup. funny that you should mention russian literature. that is my favorite. i will read kolyma tales next based on your recommendation. the last russian work i read was the master and margarita, which was unbelievable. i have my own theories about the russians' views on human nature, but that is not for this thread!
Patent trolling is one of their revenue streams (i.e. acquiring patents from others and then using them to get truckloads of money out of vulnerable companies already using similar technology) but they do perform actual research. Sometimes.

I'm not aware of any commercialized products based on their research, but they probably exist.
Sublime Text Soda Theme With Support for Ruby Tests Coloring
Cloud atlas: A weather forecast on the Chinese cloud industry
Yes, when I was exhausted from coding or simply the stress of work playing an imersive video game helped to refresh my mind.

Also, years ago when I was studying and had headaches, playing chess against computer was also refreshing. I suppose I was using different parts of the brain and letting others rest.
Well, what about Genetify (https://github.com/gregdingle/genetify/wiki)?

I tried it once and it was quite interesting... easy to setup and really easy to use.

Just my two cents...
"I think from a long-range standpoint--I'm talking about humanity--the most important thing we could do is start by having an international meeting where we first outlaw nuclear weapons and then we outlaw nuclear reactors, too." - Hyman Rickover, January 28, 1982
Certainly shotguns are good for that. Most people I know that own guns were given shotguns (usually as wedding gifts or whatnot) for that reason. The only two firearms that I know of in my extended family are gifted shotguns in a locked gun-rack with a trigger lock and no ammunition. And my extended family is pretty much a bunch of hawks... Most firearm ownership in the States is similar to this I think. Both sensible and safe.

When we hear figures like 47% ownership, we may tend to think that all of that 47% is of the irresponsible sort that news stories eventually are made about. The reality is very boring and mundane though.
Some editors support editing remote files. Emacs and TRAMP (<http://www.gnu.org/software/tramp/#Overview>) does this perfectly well. BBEdit 10 also does it (<http://www.andre-aulich.de/en/perm/edit-remote-files-using-y...). That editor is completely underrated.
I took it more as showing the bare minimum that needs to be achieved, i.e. "these are the games that are at the lowest of the ranking list, that I still consider to be capable of eliciting an acceptably genuine emotional response from me".
do you mean you just stopped reading for pleasure at some point in your life? i can't imagine myself doing that.