skysight-inc/HackerNews huggingface dataset:
Ask HN: How to get started at being a programmer
Hello, I'm currently a rising sophomore at college and I was wondering how would I go about perfecting my skills as a programmer. Is there anything I can do during my spare time I.E. projects that would help?
This reminds me a little bit of a company I've visited.

They cooled the office so much in the summer that some of the people in the office (I'd say 5 out of 20) used electric heaters under their desk to warm their feet.
Well, the development roadmap is just what it says: A roadmap. Essentially this shall be one, unified App in the final end. And that is exactly the reason why it's open source: Your contributions shall help the project evolve and add all these things.
Interesting read, certainly some good points in there.

...but it doesnt address the fundamental issue: You cannot just invent jobs and be done with it.

A colossal level of bureaucracy would be involved in:

- picking what job was assigned to whom

- ensuring jobs did not adversely affect or compete with commercial enterprise offering similar services*

- managing training for jobs

- managing quality of work in jobs

- managing transport and infrastructure for the labor pool^

- disputes over 'fairness', 'quality of work', etc.

Its not just messy; it would be a logistical nightmare.

I cant take the suggestion seriously with addressing how you plan to administer such a system.

(* if you think that wont be an issue, you're fooling yourself; ^obviously different area will have different labour requirements; its utterly naive to assume people would not have continually shift to new local areas where labour was seasonally required)
I wonder if self-driving will enable electric trucks? If you had an electric truck with (say) 150 mile range, it wouldn't be cost effective because the driver would have to sit around for hours waiting for the truck to recharge. Much less of a problem if the truck is self-driving.
The need of repeating exactly the same destructuring or transformation (keys, uncurrying tuple) constaints your thought. You need to have an instrument that fits your domain perfectly.

group-by-[12] groups a [[k, v]] list by either k or v, of course you can do this with group-by first, but see above.
Meta: For anyone who didn't recognize it at first sight, this is sarcasm. Relevant such even if I and you don't necessarily agree.

(If you are about to downvote parent because he is wrong, read up on sarcasm and count to ten. If you happen to think it was more irrelavant or more out-of-place than most stuff here I can certainly see that, go ahead and downvote : )

PS: This comment really shouldn't be necessary but I have seen examples lately of people failing to not only appreciate well-placed sarcasm but also recognize it, as seen by the fact that they will start arguing how the parent comment is wrong. Sarcasm, well used, is^h^h used to be a very powerful technique because of the way it can expose the stupidity of something.
> You'd get proper error handling and a good type system

Except you wouldn't, which is a major reason to not use C++.
It's not zip-with that you wrote. You illustrate that given not enough tools, you lose the grip on the process.

zip-with is

(zip-with #(+ % 1) [1 1 2 3]) ; => [[1 2] [1 2] [2 3] [3 4]]
Model.forty_two
Tesla still uses 18650 cells exclusively, unless I'm misinformed. They are still chemistry and form factor agnostic and only care about performance and price. This announcement is part of a plan to further reduce battery cell and battery pack cost, as well as increase production volumes by a factor of 10-50 over the next 10 years. I don't think there is any information on how these new batteries will look yet.
Show HN: Braintiles – my first Android game
Most of the politics at that time wildly overestimated the capabilities of the Soviets in public (hence the infamous bomber and missile gaps) while internally having pretty accurate and poor estimates of their capabilities - LeMay at one point expected that the SIOP could be implemented with pretty low levels of casualties.

Air defence systems back them were really pretty poor - e.g. the infamous case where the entire US air defence system couldn't stop UK strategic bombers taking out major us cities in an exercise (which was kept quiet for decades due to the embarrassment it caused).
Sure, the political system was completely different

There's your clue. The "job guarantee", as promoted by these people, is designed to get the political system changed to that of cold war-era Poland.

In reality, basic income and every variant of it are extremely undesirable programs, unless they become somehow necessary--like chemotherapy. At some point, society is simply going to recognize that millions of people are useless (see previous clumsy metaphor) and deal with it. So you can give them their daily bread (basic income) or make them pretend to work for their daily bread (job guarantees).

Anyway, we're already half way to basic income through a slew of programs from SNAP to Section 8 to SS disability benefits. It's weird how people are debating a resolved question.
All I can say is: I understand you.

But yeah, improving isolation, having a bathroom heater, using heat pumps instead of electrical heaters are better than just cranking up the heat and paying the bill.
'Efficient' not in the thermodynamic sense, but in the sense that you need to put in x % less energy to have the same comfort level (i.e, have the house at a comfortable temperature at the times you need it).

And to add another use of 'efficient' to the mix, just to keep things interesting ;) , when people say 'heating a house with a CV (water) based system powered by natural gas is more efficient than using electricity', what they mean is that A) electricity is generated from other sources and there are losses in the conversion/transport/etc, whereas for gas that's not so; and B) that it's just much cheaper. So yeah, sorry for the confusion, but in energy use land, 'efficient' is a highly overloaded word.
Yeah my second sentence was a non sequitur, but my point was: you can only do a little with solar/water heating. Yes heating a pool is one of those things, but that's a very niche application. This thread is about heating a house, or at least about being comfortable in one, and solar/water is just not a viable technology for that in the vast majority of cases.
Take a look at London - basically the kind of road layout you'd get if you threw a bunch of toothpicks on the floor and used those as the guidelines for random branching.
Agree or not but I have a very clear feeling that developing nations are not twitters demographic nor is it their target demographic.

Just think about it: Who are people following on twitter? Mostly not neigbours and general relatives. The only instances I have seen where twitter has helped people anywhere close to developing countries was during the revolts in Egypt and I have a a feeling even those reports where kind of inflated before they reached our tech bubble.
Any two of those many products, however, are isomorphic, and hence, while still distinguishable, they are “essentially” the same.
The heat loss due to thermal expansion and contraction of air will be quite minimal.

Thermal density (specific heat) of air is going to be ~1000x less than that of solid objects.

The specific heat of gypsum (the primary constituent of drywall) is 1.09 kJ/kg.K

For dry air it's 1.0 kJ/kg.K

Air's density is 1.225 kg/m3.

A 6m x 9m x 2.3m (20' x 30' x 7.5') room has a volume of about 130m^3, so a 10% exchange would be 13m^3, or 16kg.

That's about 15 kJ of heat energy per degree C, or roughly 0.0004 liter (0.0001 gallon) of heating oil equivalent.

The drywall would be (in feet) 20x7.5x2 + 30x7.5x2 + 20x30 ft^2 (I'll assume the floor is some perfect insulator for now, and that the room has no doorways), and 1/2 inch thick, or 1.6 m^3. That's about 3600 kg of gypsum, which has a heat capacity of about 4000 kJ per degree C, or about 0.1 liter (0.027 gallons) of heating oil equivalent.

If I'm doing my maths right.

Sources:

Specific heat of gypsum:
http://www.engineeringtoolbox.com/specific-heat-solids-d_154...

Specific heat of dry air:
http://www.engineeringtoolbox.com/air-specific-heat-capacity...

Density of gypsum:
https://en.wikipedia.org/wiki/Gypsum
Southern Comfort Cabin Rentals in Blue Ridge, GA
FYI, if you download the course materials, there are transcripts of the video lectures included, so you can get a good feel for what the lectures are like and, maybe, not have to spend over an hour per lecture. You can download the course materials here:

http://ocw.mit.edu/ans15436/ZipForEndUsers/6/6-046j-fall-200...

Note: you may still want/need to watch them since there's notation that is likely easier to read off a blackboard vs reading a transcript of someone describing it, e.g.

"The conclusion is the same thing, but summing over
all k. So, k equals one to n, alpha_k x_k. Take f of that versus taking the sum of
the alphas times the f's. k equals one to n. So, the definition of convexity is exactly
that statement, but where n equals two."
This entirely depends on peoples contributions on GitHub.
Xbox One Vs Ps4: Why Microsft's Console Is Becoming The Best
I want to own an electric car so badly in my lifetime.

Really hope this makes that happen.

They sure are quiet though, I worry about pets and wildlife.

Gigafactory will employ about 6,500 people by 2020

Delivery truck drivers? I mean the factory is should be mostly automated by 2020.
Blue Ridge Cabin Rentals in North Georgia
The idea of a heated keyboard is a little gross to me. Seems like it'd encourage bacteria growth.
Idly either JG and BIG implemented with a custom bitcoin fork and matched with government backed commodity stores (food, clothing, housing for govcoins) would be an interesting system.

Particularly it would solve a number of inflation issues around BIG I imagine... (and motivate people to get off big on to a real job if they wanted luxury goods).
Haiku-wifi: turn your wireless router's extra radios into a public billboard
Text messaging mobile apps for effective communication
Am I missing something? From my understanding ZIP should be over more than one sequence, otherwise it's just a normal map really.

Certainly the Haskell examples I have seen would strongly reinforce my understanding.
Ask HN: If you could ask Tony Hoare one question, what would it be?
For those of you that may not be aware, Tony Hoare is the person that has invented quicksort and null, among many other things, most of which are outlined in his Wikipedia page http://en.wikipedia.org/wiki/Tony_Hoare

I may get the chance to meet him soon and I was wondering what HNers would ask him if given the chance. If possible, I'll try to relay your questions to him and get back with the answers.
How to Simplify the WP-Admin to Get It Client-Friendly
I'm just going to quote the GitHub README here: "Although A5/3 withstands passive eavesdropping, it can be bypassed by deploying an IMSI-Catcher which can force a mobile device into 2G mode and downgrade then the encryption to A5/1 or disable it."

Here is the best hint I can give you: LEAVE YOUR PHOEN AT HOME when you really have to participate in demonstrations! The main reason why the use of IMSI-Catchers, Stingrays and alike is such a popular tactic for law enforcement agencies is because people are not SMART ENOUGH to think ahaed and leave their phones at home!

No solution for you? Well then, at the very least make yourself your own signal blocking pouch to fully block all Silent SMS: www.killyourphone.com
USB Has a Fundamental Security Flaw That You Can't Detect
Adaptive Robotics: Robot 'learns to keep going with broken leg'
AST matchers and Clang refactoring tools
"the ideal structure is not supposed to exchange air with the outside"

No, the ideal structure should minimize heat loss from air exchange.

I'm not fully up on my air exchange rates, but it's fairly typical for ranges to be in the 4-20 range, that is, the interior air is exchanged with the exterior 4-20x per hour.

In my Thorsten Chlupp references elsewhere you'll find he makes extensive references to heat exchangers which minimize thermal losses. He does this by a twofold process for his Fairbanks, AK, homes: entering air is routed first through the ground where it's heated from very cold ambient temperatures of as low as -40C / -40F to a temperature closer to freezing (~0F). It's then passed through a heat exchange where the exiting warm air transfers much of its heat to the entering cold air.

The purpose of tightly sealed windows and other possibly entry/exit points isn't to eliminate air exchange so much as to control it: you want air entering and exiting through your designated ventilation systems and transferring heat properly, not traversing the envelope arbitrarily.

See:

Chlupp discussing this issue:
http://www.greenbuildingadvisor.com/community/forum/general-...

http://www.engineeringtoolbox.com/air-change-rate-room-d_867...
A list of free, open source software for Mac
Not another Flappy Bird clone
(for [i [1 1 2 3]] [i (inc i)])

is zip-with lazy like for?
How will they outlaw an open-source project? They can "outlaw" all they want, they're already doing what they want, when they want it. It's time for the brave people out there to fight back! Have some balls and stand against the massive abuse of your most private data!
Hm, so is this app running and listening in to the mic constantly? (Also: Extra network traffic and cpu activity.)
For anyone looking for an easier on-ramp for algorithms -- i.e. not a textbook -- I got an email last night from Manning about a book-in-progress of theirs called "Grokking Algorithms" [1], which looks to be pretty user-friendly (i.e. it's conversational, has pictures, etc.). There's a free sample chapter on the book's page if you want to see the style.

Sadly, the book was 50%-off yesterday as their daily deal, but if you sign up with Manning, there will likely be other sale categories that'll include the book (e.g a 50%-off sale on all books-in-progress or whatever). Given that only the first 2 chapters are available at the moment, you might be able to wait for another sale to come round.

[1] http://www.manning.com/bhargava/
Take a look at the presentations I listed above. Chlupp eliminates the furnace / heating system entirely.

It's one of his design goals. Minimizing your furnace requirements (but not eliminating them) gives you progress, but it remains a major expense (for installation and operation). Eliminating it entirely addresses a huge cost element for northern construction.

I don't live in Alaska myself, and can't speak to the full validity and credibility of his work, though it seems pretty solid. But I'm absolutely impressed with his attention to detail and the specifics of his methods and approaches.
Personally, I haven't seen any of the done by robots (except for Roomba, but that's not even cleaning - I'm talking about things like bathroom, trash, ... i.e. cleaning of corporate offices). Also, even if it's possible in the next decade, it will probably be much more expensive and capital intensive than human labor for quite some time.
If the bottles are dedicated to this use, it's fine.

The soft-walled ones may discolour slightly.
What about stuff that doesn't get paid but need people to work on it?

There is much work to do in community work, free software or fine arts.

The JG will probably only create jobs in the first category. With BIG all people can choose where they want to work and don't have to base their decision on the wage the job pays.
I can't say for sure but from reading the description is sounds like it and I'm not downloading it for the reason. They need to make it clear.
> I need a REALLY GOOD reader. I wish I had a lightweight, clipboard-sized, hi-rez, B&W, PDF reader with the flick scrolling, pinch resizing, etc. of an iPad with the battery life to last a whole delayed flight from San Francisco->Tokyo->Singapore, door to door.

Have you seen the Sony Digital Paper System[0]? It seems to fit the bill perfectly but the price point high.

[0]: http://pro.sony.com/bbsc/ssr/product-DPTS1/?PID=I:digitalpap...
Of course. How else are Shazam going to make money? They need to listen to you, process the audio using a natural language processing procedure, and then target advertising at you.
Because that would be killing the mobile internet market, which means the provider would ask for much, much more money in exchange.

In many countries, it could also be ruled as anti-competitive (dumping laws and such).
In that post, you wrote: "Unemployment is effectively an excess of manpower."

If there is excess manpower, how can we explain the existence of unkempt lawns and trash on the streets?
Not really. It used to be true in the 1970s; but today appliances consume roughly about the same as space heating, despite decades of energy efficiency improvements --and the culprit is, you guessed it, the rise of consumer electronics [1,2].

And it's not just standby-mode "phantom consumption", as the EPA used to think. Today there are more devices with larger, sharper screens and hungrier batteries to charge, all left on for longer than ever before [2]. And it all adds up.

[1] http://www.eia.gov/consumption/residential/reports/2009/elec...

[2] http://www.energystar.gov/ia/partners/prod_development/downl...
Show HN: I just finished my book about Meteor. You can read it online for free
The thing about bottles is that they're cheap, multi-purpose, very specific, don't have cords, pose no fire / tripping / electrocution risk, can be moved about, etc., etc.

A highly effective low-tech solution.

Yes, the efficiency of heating the water in the first place may vary, though that's energy that's almost certainly delivered to your residence space, so in that regard it's pretty much a wash.
More censorship.

When will the madness end? :(
I expect it will be just like what happens when billion pound construction projects go wrong. There is already a specialised civil court that decides on these types of cases in the UK; the Technology and Construction Court.
There's a lot I plan to revise about it over the coming months, but the scope feels about right. :)
There are many threads here discussing the influence of genetic factors but this is not what the article is about. Genetic factors are not mentioned in the article. One of the last paragraphs states other possible factors explicitly:

> Her next step is to find out what factors contribute to being an expert on an instrument, playing field, in the classroom or at work. She hopes to investigate such factors as basic abilities, age when starting to learn the skill, confidence, positive or negative feedback, self-motivation and the ability to take risks.

I think the whole nature vs nurture discussion in relation to intellectual aptitude is shaped to much by peoples own biases which leads them to ignore the overwhelming evidence for the importance of nurture/culture/eduction/...

Maybe it's easier to believe some people are born smart.
When would this really be needed? Hey isn't working with anything really sensitive right now.
Then you haven't really absorbed the value of the prior posts.
Hi qmaxquique, we're working on that at the moment -- a quick fix at the moment is to set an alias --

$ alias blockify='node /path/to/bin/blockify'
Thanks for taking the time and efforts to write a book on Meteor.
I could do this using a keyword such as "then"

"Hey google "Hacker News" then find me a sushi bar"
Is rust very geared towards writing network applications (like Go is to some extent) and lacking in other areas, or would you recommend it as a general language? I'm always curious about new languages, but my needs are mostly in maths/scientific computing. Would Rust prove a good (or at least OK) match?
The two are uncorrelated.
No problemo. Been a lot of fun. :)
where do you live, where owning an electric car in your lifetime seem like a distant dream?

and why do you want to own one so badly?
The short answer is yes, they continue to wrap older code in new neatly-packaged libs and extensions. For recent examples, you can check out these links:

http://php.net/manual/en/migration54.classes.php

http://php.net/manual/en/migration53.classes.php

http://php.net/manual/en/migration53.new-extensions.php

In 5.5 they didn't add a bunch of new extensions or classes, but they did add generators and finally.

http://php.net/manual/en/migration55.new-features.php

They haven't taken to packaging up arrays or strings yet, but I wouldn't doubt you'd see it over time.
> These firms are under constant pressure to increase the workload, depress wages, and harden the working conditions of those workers as they engage in ruthless competition at the bottom of the wage pool. A JG program will not be run for profit; it will set the minimum wage and working conditions tolerated in the USA. We can choose to enforce humanitarian conditions and livable wages in the JG.

I think this is a really important quote from the article. In such a rich society (USA, Australia, Canada, Britain, wherever..) it seems sort of unnecessary that we'd force wages to be so low they are barely above the poverty line.

But I'm not entirely sure how this fits into a global economy. If workers in China are working for cents there is no way a similar industry in Australia can compete with a minimum wage of $18 an hour. We've seen this in textile manufacturing in particular.

I'm also not sure what the views will be when we've magically automated nearly everything. Eventually there is not going to be enough work for everyone. Will we finally decide that "work" isn't necessary for everyone and allow time to be spent on travel, family, and fun? Or will we invent things to do for the sake of contributing?

Just tossing out random thoughts I've had over the last few years.
Homes for Sale in Richmond Hill GA
Thanks for this site. Its great for starting!
Yes, but there is an on/off switch which presumably stops this activity. The energy impact in mavericks while "listening" is hovering around 2 on my machine. For comparison, Safari is at 8.
Build hybrid apps with the Ionic Creator
Show HN: OpenSource Schema Powered PHP Snippets
CHP (combined heat and power) or district heating, typically, though I'm not sure which applies in your case.

Most areas which have implemented a trash-to-energy program pretty soon run out of high-grade suitable trash and resort to imports. Entropy always wins.
Wish it could pick up music from internal audio. Plenty of times I've wanted to try detecting music in YouTube videos.
Collabspot (http://www.collabspot.com) is also doing this. It is using the data from fullcontact as well that is not as good as the one from rapportive. Collabspot's focus is more on showing/editing your CRM data (salesforce, sugarcrm, highrise) than public info.

Disclaimer: i am the founder.
You can definitely force developers to contribute to Transit development. In London, for example, the developer for Battersea Power Station was required to contribute £100 million (~ $150m) to the extension of the Northern Line (part of the London Underground 'Tube' network).[1]

In a dense city like London, which doesn't have the wide roads and car-focus of US Cities, transit is important and the value of residential property here is very highly correlated with distance to transit hubs. For a developer, it can make a lot of economic sense to develop transit to new developments.

[1] http://en.wikipedia.org/wiki/Battersea_Power_Station#2012_re...
Perhaps less to do with the grid, but more the fact that your road systems were designed for the automotive era. In old residential areas driving can be very challenging after everybody's returned from home as streets barely wide enough for two cars to comfortably pass have cars parked up both sides.

This obviously presents challenges such as driver etiquette (car needs to play nicely with others but still get you to your destination) and safety (children can lurk unseen between the cars and leap out out).

Perhaps there are parts of America that are like this, but Hollywood hasn't shown many of them to me.