skysight-inc/HackerNews huggingface dataset:
I'd add a few more thoughts.

Keep your controllers lean and mean. Put more of the UI logic into services. This makes testing a lot easier.

Only use routing ($route, $routeProvider) if your app has very little UI state and could reasonably thought of as several totally independent pages. I switched to managing $location.path() explicitly and haven't looked back.

Embrace promises throughout your app. Angular templates can now render promises naturally but I've found that I prefer to be more explicit:

$http.get(url).then(function(response) {
$scope.something = response.data;
}, function(error) {
$scope.$emit('error', error);
});

Wrapping jquery widgets in directives often results in more code than just doing it yourself. Obviously this increases your maintenance surface area but typically less than you would expect.

The Angular Bootstrap project is trying to create directives that avoid jquery and could be bound (with different templates) to other UI frameworks. What I really want is a core set of UI widget directives and then separate (bootstrap or foundation inspired or not) CSS libraries for styling them.
Lots of good points. K-Mart is especially ripe for conversion since, in addition to your points, their stores are two large for most retailers to move into and too small for a Wal-Mart or Home Depot.
I worked alone from a home office for 20 years in my consulting practice until, in the last year, as my company has grown, I've moved to commercial office space for the first time. I found working at home a delight, and enjoyed many years of jokes about my short commute (18 feet.) However, in the end, I found the repeated advice of friends to be correct: I'm more productive with an outside office. The extra focus more than offsets the cost of rent. Being in commercial office space has also made it easier to meet with clients. It's also more social as there are other people at the office that I can talk to (or ignore) as needed.

My commute is still short (I often do it on a Segway), and our company is still virtual (with both staff and contractors working from their own spaces -- which we don't plan to change), but don't underestimate the value of a separate, outside, workspace.
The fact I read this and have absolutely no idea about what's going on makes me compelled to learn more about Haskell.

Is it really that alien (I know Scheme)?
However, one could argue that such an agreement would only represent a codified social contract. Ie it's still "You aren't holding up your end of the bargain" rather than "the contract is for 2 hours/day with an optional extension of $100/hour each day."
The article said that the whey was
"toxic" because if put it in
a lake or stream it will consume
the oxygen and kill the fish. That's
mostly just FUD, hype, and nonsense:

The water treatment industry is very
aware of 'biologic oxygen demand' (BOD).
Basically, yes, decomposing some whey in
a lake will consume some oxygen from the
lake. Consume too much oxygen and then
will kill the fish. Sure. But that doesn't
make the whey "toxic". Indeed, lots of
things go into the streams, rivers, and lakes
that consume oxygen. If don't consume
too much oxygen, then likely fine. No problem
(at least about oxygen).
And, of course, what consumes the whey
is biologic activity that might make the
water better for plants, fish, etc.

Sure, go to a big city sewage processing
plant. What do they do? Sure, bubble
air through the dark liquid! Or, they
follow the recipe, "Add air and stir."!

Net, the article looks like traditional
newsie stuff -- claim the sky is falling
and get eyeballs and ad revenue. Smelly
bait for the ad hook. Make people feel
guilty from their 'sins' of their consumption
of thick yogurt and what they pour down
their drains. Deliberate, confused, nonsense
guilt trip. Bummer.

For over 20 years,
I've poured lots of stuff down my kitchen
drain. Too old, sour milk has been a
common item. Much worse, when I feed
canned cat food to my kitty cats, they
often don't eat all of it, and, being
smart little kitty cats, don't eat it
at all after it becomes old and dry.
So, then I have to clean out such
food dishes for them. To do this
I soak the dishes overnight in water
with detergent, rinse the dishes,
and flush the rest.

And I'm 'destroying the 100% all-natural,
pure, pristine, precious, sensitive,
delicate planet'? I don't think so!
Instead all the 'stuff' from the
kitchen and bathrooms goes through
big, white plastic pipes to a big
concrete tank sunk in my backyard.
The tank has some 'bugs' that reduce
essentially everything into clear
water, some methane gas, and a tiny
quantity of solids. The gas floats
off; the water goes into the drain
field in my backyard; and the solids
accumulate. The tank has been working
fine for over 20 years without cleaning.
For the water, the backyard loves it.
Net, no worries. So, I'm not destroying
the planet! And I'm not guilty.
In Windows 3.1 days, I absolutely would have used Paint, if I were lucky enough to have it open my file type.

If you unplug both devices from the internet, there's absolutely no question at all which is superior - Windows, hands down, no argument from me.

But if you let a Chromebook get on the internet, and you're comfortable using the best tools on the internet to solve your problems... there's a lot going for a Chromebook.

Someone who says, "Well, sure, but what if you don't have internet???" Yes, that's totally true and valid. But I think it's almost equally valid to ask how well a Windows box does without power. In a lot of ways, a college ruled notebook and a No. 2 pencil has them both beat.
The patent system is so horribly broken.

Let me get this straight ... something as simple as 2-factor authentication can be patented in the US and enforced world-wide? Let's say I'm running a start-up or a small business and I need secure, remote access ... my go-to solution would be to use 2-factor authentication ... but I have to worry about getting sued or finding funds for paying extortion money just to apply an idea that's about as dead-simple as passwords? How is this a good thing for inventors?
I'm not talking about getting (personal) attention. I'm talking about making the rules known to everyone, even those who haven't broken them yet. This is something you cannot do with a private phone call, and when you insist and they don't get it, you only have so many options available to make your point.

I honestly haven't read the thread, I'm not defending his particular flame, I'm defending the idea of flames in general. I would assume from all the commentary I've seen though that (the target... Mario?) was defending his breaking change, "it's actually the userland software that's broken" and Linus wanted everyone to know that he was wrong, and there's no defense for breaking changes that affect userland stuff that "used to work."

Have you ever joined Exherbo community? I think it's more like what you want.

It's anything but User Hostile, but there's a mountain of documentation to read when you arrive, you're expected to have read every word _before_ you come to start asking questions, and when I say 'anything but user hostile', I'm not sure I am using the term correctly. It's not user friendly for noobs. It's almost hostile. They don't really curse at you like Linus, but you have to read, and you have to read lots.

I haven't used it in a while, but every time I've gone back after some months, I've found breaking changes or a brand new puzzle to get to first boot, that I couldn't work through without somebody's help. My rating, -1 would not ask for help again, better to live with a broken system that doesn't work until you can know what's wrong for yourself.

Anyway enough about Exherbo. Back to Linux, I was compiling kernels when I was 16 years old, I never joined the mailing list, and it was a good experience. Good old, reliable, make menuconfig. I attribute this to Linus, and Alan Cox, whose kernel patches I often tracked.

I haven't done that in a while, and I stopped keeping up. It didn't take long googling Alan Cox's name to find the words "castigate" and "quits linux development" in the same article. That makes me sad. So I'll concede that maybe you're right.
Yeah, I made that reply before I saw that second post. It doesn't really change much though - something tells me he's not a supporter of totalitarian right-wing rule either.
I work on the http://wakari.io where the notebook is hosted. You can run the notebook in your own (free) wakari account.

Here is the direct link to the notebook:
https://www.wakari.io/sharing/bundle/aron/Accelerating_Pytho...
Terracide and the Terrarists
My second biggest gripe with the Chrome UI it the tabs shrink the size of the window title bar which makes it harder (read slower) to move windows around. (first biggest gripe is the single search/url field, but that is getter hard to get away from)
I guess he means he will license his patents more than one company. In contrast, if he sells all the patent rights, he can't sell them to anyone else and those who want to acquire a license should negotiate with the buyer.
yes, that's what i meant when i said absurd abuse of the patent system. but do you really think apple's goal is to bring about patent reform?
But you highlight that it isn't you. And when others call with information you can add their information
I tend to agree. Google is looking more and more like the MS of the new century. Chrome's performance advantage has all but been erased by FF (and in some cases FF is better in my anecdotal experience), and I find FF's add-on ecosystem still better than Chrome's for development.

FF is OSS (as far as that goes) and certainly not sitting still. Seems like the obvious dev choice to me these days.
JavaScript motion blur demo
I wouldn't put it like that; they held off on issuing dividends, and a lot of the money they're spending now is from selling half their stake in Alibaba.
Yeah, that's all well and good, but it reminds me of some douche with a camera going to a black/muslim/white/whatever neighborhood, insulting everyone, and then when people get pissed, "I TOLD you they were uncivilized!".

The first graf of the article starts with the author being butthurt about geeks not finding the economist as relevant as the author/employee does (disclaimer: I used to subscribe, either their quality has notably declined the last 5 years or I've gotten smarter).

The rest of it is place-ism about how geeks should stay out of politics and leave it to the oil companies and defense contractors where it belongs.

It's not reinforcing geek stereotypes to point it out as a crap article.
Funny/sad because one if the first verses in the Bible is a story of Abraham and Sarah doing exactly that.
I want to see where this is going and try to work out if all these acquisitions are part of the new yahoo or just some big PR stunt, though that's very unlikely yahoo has loads of money and they've caugh the attention of many.
If new yahoo is going to actually do something innovative with these new products I can't wait to see what it's going to be.
In the US and virtually only the US.
Ask HN: How many are homeless to cut costs in the Valley?
I showed up in Silicon Valley at the beginning of this week to live in my Honda Civic and avoid the high rent prices in Silicon Valley. Just at the Hacker Dojo I see a few other people that seem to be living out of their cars. How many are out there?
Somewhat off-topic, but as long as this discussion is on blog design:

What are good options for presenting significantly longer works? For example, a 30-page paper, or a 100-page book?

Is it best for readability / usability to break things out into short blog posts? Or ditch the blog format altogether and just upload some HTML files that use a totally different style? Or something else?
Summer of Design: "Design for Hackers," week by week
As I'm formulating the exact focus of the book I've been finding myself wondering how much introductory material I should include. I think you're right about leaving as much out as possible. When there is prerequisite knowledge for a particular topic, I can just point them to the documentation and avoid cluttering the book with that stuff.

Regarding the schedule, since I've gotten I few comments on this I'm starting to think it might have a little weight to it. I'm pretty determined to get it done by that launch date, but my primary concern is writing a really good book. If I must delay launch, I'd rather do that than rush it.

I really like the idea of explaining the "Why?" Do you mean explaining why certain practices are preferable, or why the creators of plugins and Flask itself did certain things?

Also, your notes are all amazing and I'll be referring to them as I outline the book!
really good points. We were "promise shy" and I'm now completely sold and in love with them.

We actually use a Command implementation that I ported, which has been really handy for leaning up the controllers, plus they aren't stateful so they are always available. https://github.com/joelhooks/js-command-center.
I thought we were done with the ugly "covered up rear wheels for electric cars" thing.
If you can commute on a Segway then we're not talking what other people are experiencing with "commute".
Try spending two hours a day standing on a train.

Such a time sink.

Commuting on a Segway... doesn't qualify.
The only thing that I have grown to despise a bit is timeboxing. Coding is a job and a hobby to me, and sometimes setting those hard limits kills my ability to improve code by forcing me into a rigid schedule. It turns what I view as play into unpleasant work, and that's how burnout starts.

Sometimes its faster to come up with a solution without setting hard time limits, and just let your mind churn passively on a concept. I've always found a certain amount of anxiety associated with feeling like I have to complete a task in a predetermined amount of time.

You should always have (and try to meet) deadlines, but the micromanagement of 25 mins per hour (example from the article) is just stressful.
our app is... big. It runs great on "modern" devices and browsers, and we haven't had any severe memory issues. We profile on a semi-regular basis.
I read the article, and saw something completely different. Whey is a potentially valuable byproduct, too nutritious to just throw away and they can't do it legally anyway. So these were some of the ways that the whey was being used. The food industry looking for ways to use the byproducts of an industrial process isn't exactly new, but it's also not something outside the industry thinks about.

Modern Farmer is doing some interesting work in the intersection between farming and how we're re-conceptualizing food in the last decade.
Ok, so this article from polygon links to an article on shacknews[1].

But the article on shacknews uses an interview from 2011[2] that's talking about xbox live on the 360, not on the xbox one.

We can say that if microsoft didn't say anything about this policy, it will stay - but at the same time, we don't know because nothing up-to-date was said.

Also, the article from shacklenews uses an article from gamesutra[3] to say "Xbox Live Indie Games are exempt from that policy, but that marketplace isn't necessary seen as viable."

But from the same article "[..] at least for mid and high-level performers, XBLIG is becoming a viable platform for hobbyists and single-man shops to make some cash and get their game seen"

[1] http://www.shacknews.com/article/79309/xbox-one-wont-allow-i...

[2] http://www.psnstores.com/2011/10/interview-eufloria/

[3] http://www.gamasutra.com/view/news/26932/InDepth_Xbox_Live_I...
Syntactically, the languages are not all that similar. It's probably closer to Python.

My impression was that Ruby is much closer to Perl than Python.
Because the quality of life and the increased economic opportunity outweighs the capped cost of $20-$40k/yr.

You can't take it with you when you go.
"Because being tired makes us better coders"

In my opinion this is completely wrong. In fact I believe that coding should immediately stop once we feel tired. The low quality of code produced when the programmer is tired can significantly affect the whole project some times resulting to very expensive reverse engineering.

The programmer should never exceed six to eight hours of coding and design combined.
Yes, those are awesome features, and they might be able to cover 90% of a typical business's use cases. Similarly, lots of open-source alternatives to MS Office, Photoshop, etc. can cover 90% of a typical business's use cases. But the missing 10% is enough to prevent their use in mission-critical tasks, because one unsupported Excel macro is enough to turn an entire spreadsheet into garbage, and you're losing money while someone tries to fix a stupid incompatibility.

Which option would you prefer?

1) Chrome OS, which allows you to use all the Chrome apps but absolutely no other software, ever.

2) A regular OS (Windows, OSX, Linux, whatever) with Chrome installed on it, which allows you to use both Chrome apps and any other software that you might need from time to time.
Can someone comment on the new flickr vs PIcasa?
I think s7 was emphasizing issues getting what strict/eagerly evaluated languages refer to as stacktraces

http://hackage.haskell.org/trac/ghc/ticket/3693

http://www.haskell.org/wikiupload/6/6c/Hiw2012-simon-marlow....
Ok, try reloading the page. We use requirejs but not the domready! plugin. So there seems to be a race condition with the body loading. Sorry for that, we'll fix it asap.
We've well established at this point that the archaic US Patent System and software patents in general are not good for inventors, consumers, or the economy in general.

They are good for lobbyists and entrenched megacorporations, however, which means we can ignore all that and it's good for the public. Now go take your medicine, slave.
Yes, let's attempt to extort defense funds from large corporations. That will surely get them on his side.

Just because he's "The Little Guy" doesn't make it any better. Holding someone hostage to raise money for a cancer research foundation wouldn't make the act itself morally justified.
I can't get a clear picture on how much Tesla's success is a result of government subsidies, loans, and windfalls.

For example, at one point Musk said 10% of their revenue was from selling carbon credits they get for each car they sell to other car companies.

What's difficult for me is there's no place where you can get a decent summary of the kind of government programs Tesla relies on or takes advantage of.
We'll be living off printed meat as well, in a decade or two: http://www.youtube.com/watch?v=waro4LJDZvU (Solve for X: Andras Forgacs on sustainable, scalable meat)
I have been remote for 10 years. The secret not to get nuts is to interact online with colleagues as often as possible.

"From the employer’s perspective, you’re risking burning yourself out if you work 50-60 hours a week"

mmm... 50 hours is pretty common in the software industry, and being remote makes it easier not to burn out in fact because you're not losing time in commutes and in loud open spaces where you can't hear yourself coding.

In any case it's quite hard to define a number of hours per weeks. Building software is done by waves. You can spend a 70h week because of a production push that goes wrong, then a very calm week. So don't take those numbers/week too seriously imo.
> 2. https://en.wikipedia.org/wiki/Worse_is_better

Self-promotion: http://www.gwern.net/Bitcoin%20is%20Worse%20is%20Better
Out of curiosity, how were you finding business partners?

There are plenty of upstanding businesses (as well as terrible ones) but most markets are fairly opaque; as a Taiwanese person myself I've found most success working with a local partner to manage resources.
I've been testing out some motion blur effects in the browser.

Something that's kind of cool is that it’s simulating a camera’s shutter opening and closing. ie the shutter doesn’t open instantaneously—it takes some time to fully open.

Pixar uses a similar technique in their RenderMan renderer:
http://renderman.pixar.com/products/whats_renderman/3.html
Sounds like the new Heroku: easier, cheaper, more efficient.
A man is a fool not to put everything he has, at any given moment, into what he is creating. You're there now doing the thing on paper. You're not killing the goose, you're just producing an egg. So I don't worry about inspiration, or anything like that. It's a matter of just sitting down and working. I have never had the problem of a writing block. I've heard about it. I've felt reluctant to write on some days, for whole weeks, or sometimes even longer. I'd much rather go fishing. for example. or go sharpen pencils, or go swimming, or what not. But, later, coming back and reading what I have produced, I am unable to detect the difference between what came easily and when I had to sit down and say, 'Well, now it's writing time and now I'll write.' There's no difference on paper between the two.

--Frank Herbert
Great choice. I was getting quite sick of listening to the same albums over and over until I found this and 'The Trip' Soma.fm channel.
Commuting simply means travelling between your home and your workplace. The fact that many people impose a painful commute on themselves does not make a less painful commute any less a commute.
A mix of different stuff, and it somewhat depends on my mood and the environment. But mainly metal and rock of various sorts. Usually a mix of stuff like Queensryche, Motley Crue, Deicide, In Flames, Borknagar, Def Leppard, Black Veil Brides, Halestorm, Emperor, Disturbed, Dokken, Europe, Iced Earth, Testament, Exodus, Overkill, Metallica, Megadeth, Ratt, Bon Jovi, Evanescence, Godsmack, Nocturnal Rites, Death, Cannibal Corpse, Crashdiet, Vains of Jenna, Sleaze Beeze, Twisted Sister, Steel Panther, etc.

But other times, I want something with no lyrics, so I usually dial up a shoutcast station playing some kind of trance / electronic music of some sort, or classical music.
I feel that Tesla's success with the Model S is due to its fairly conventional shape. It looks like an "ordinary" car.

I'm not sure if the design aspects of this VW are due to improved aerodynamics, or a desire to make something look "futuristic". Striving for this look actually makes it feel out-of-date.
Robotics Students Build New York’s Startup Culture
It's pretty weird. It's a very strongly statically typed lazily evaluated pure functional language with a type system that is actually Turing-complete.
I agree with you 100% on the 25 minutes per hour being too short. Personally, (as I said in the article) 1 hour works better for me. Not too short, not too long.

edit: woops, I meant 25 minutes per block!
"The only reason Silicon Valley has the culture it does today, is courtesy of the technology sector and the wealth that has come with it."

I'd give a fair amount of credit to the universities, the gold rush and the acid craze, too. Tech culture didn't just pop into existence at unixtime 0.
If I need deep concentration when programming then I find Drum & Bass works a treat. The music is fast, making your mind tick a bit faster and there are very few lyrics to get distracted by.