skysight-inc/HackerNews huggingface dataset:
Solve the storage problem first, then everything else follows. Otherwise this is a recipe for disaster.

The problem with building out solar or especially wind power generation is that it's unreliable, it doesn't produce power when you want it. This means that you need to supplement power generation with low latency backup systems. Unfortunately, those systems tend to be gasoline-powered generators. Building those and operating them is expensive and also not so beneficial from a total CO2 emissions perspective. More so when you compare the whole system to simply replacing the windmill and the generator with a natural gas generator, which is more reliable, cheaper, and produces less total net CO2.
As far as the practical value of an auto-parallelizing compiler goes, I'd like to see it before I believe it. I've got no doubt that the compiler is pulling it off. But with how young the technology is, I'd be downright amazed if they've got something that can reliably outdo what a knowledgeable human can manage with a reasonable amount of effort. Not that I wouldn't like to see things get to that point.

For now, though, what's really interesting to me is the idea of language-level support for managing mutability. I agree with the author that that's something that both functional and imperative languages have generally fail to provide much help with. And I think there really is a need for language-level support for it. It's always possible to pass in a mutable subtype or a non-pure function as an argument to a procedure at run-time. So without some way to say, "This parameter requires pure arguments," it may not even be possible for a programmer to verify that a module can, e.g., cope with concurrency in code that uses any degree of inversion of control.
At this point, it's surprising we don't just cut off the flow of existing hydro when we have other sources peaking... e.g. it's what you describe but no need for upward pumping.

We do this to some extent, but the reality is we do need to ensure rivers continue to flow for a number of reasons (I guess).
Honestly, while its not bad writing, my mind has never been blown on any svbtle blogs. So the OP isn't missing anything.
> The hacker then turns on 2 factor auth via the WoW authenticator app. It is now impossible for the original user to log in to the account or reset passwords.

That's deviously simple.
When you're re-writing the code from the video to you editor, you are mere copying, you're not inventing, not producing the code. But it is useful nevertheless. Copy-pasting makes you dumber, while re-writing trains you, but very slowly.

http://karma-engineering.com/lab/wiki/HowTo

Eventually you must try to re-invent and re-write some of the classic procedures without trying to recall a memorized text.)

There are some immortal procedures: http://karma-engineering.com/lab/wiki/Tutorial5 to re-invent.)
Agreed. But don't just type it out line-by-line though. I find trying to re-implement the codes works better, it would give me a better idea on how something works, and how people usually deal with certain problems.
Interesting. Put it like that the large hadron collider is just a natural consequence :)
It seems like an neat idea! But I'm not I'm sure if I would make whitespace count as characters. Seem like that punishes good formatting. I also scored 56.00000000000001 :D (I tried the Perl one)
This article's author seems to be very dismissive of Haskell. Which is a little odd because, at least as described in the article (I haven't had time to look at the paper yet), the approach taken by this compiler is actually very similar to what is already done in Haskell.

In particular, Haskell already supports initializing data structures mutably and then "freezing" them. I know this technique is used in the Vector library, for example.

Additionally, "pockets of imperative mutability" perfectly describes Haskell's "State Threads" (ST). Programming in Haskell already allows you to have arbitrary state constrained to a particular scope and controlled by the type system. Using things like ST with immutability by default is just tracking state in the type system. And--as long as you don't worry about how it's implemented under the hood--ST isn't terribly difficult to use.

I'm sure the auto-threading compiler is very novel and interesting research, and I'm sure it's very useful. However, I think that you shouldn't be this dismissive of Haskell, especially because Haskell already does essentially everything described in the article.
Rybka Aquarium (IDE ? User interface? However you call it) comes to mind (Chess).
Can Computer Science majors be good writers? Can Math majors be good politicians?

I've met philosophy majors, english majors, biology majors, comp sci majors, and even people with no university level education - all were good even great coders. I majored in History and yet have done quite well as a software developer.

I took 2 years of Computer science - it was 2 years of wasted drivel that has helped me solve ZERO real world problems. Also, I hate math. Surprise, you don't need math to code. You need to solve problems at an applied level to be a successful coder - ANY intelligent person can do this if they enjoy actually using coding tools.

Anecdotal it may be, but I've never seen any advantage to hiring or working with Comp Sci grads over other disciplines. So yes, English Majors CAN be good developers.
Do you have any evidence that this is true? Particularly that this is the 'best' indicator?
I met a girl at a party once, and she said something really interesting when I mentioned that I wrote software for a living.

"I could never do that", she said. "I could never sit alone all day, staring at a computer and never getting the chance to talk to anybody. It'd be my worst nightmare."

I hadn't ever thought about it like that. Naturally, as a developer, I think I have the greatest job there is. Where else could you get somebody to pay you like fourteen times the median family income to hang out anywhere in the world you please and solve interesting puzzles all day?

But not everybody is wired the same. Lots of people (most people???) get their energy from face to face human interaction.

Poor fools, eh?
nvm it's just running realllllly slow...
What do you feel sucks the most when learning something new on the internet?
Assuming you have time to learn something new. A new topic you know nothing about. Not to deepen your understanding of a topic.

And that it is by yourself, not classroom learning. That is, self-teaching. In the process of going:

From: "I want to learn X" (e.g. Spanish, Arduino, Rails, How to build a startup?, How to play guitar?)
To: "This is the resource/link/blog/book I am going to use to learn"

What's your biggest frustration? What do you hate the most?

Would love to chat beyond here, DM (@rjgonzo) me if you want to chat some more later.
And Apple could monopolize the areas that company wasn't good at yet, like smartphone OSes!
Most things in Google+ make me think "I wish more people would join and participate. This feature has so much potential!"
Ooof, very dangerous use of appeal to authority. Markets are probably one of the last places you want to build an argument on "that's what this expert said" because experts are always disagreeing with each other. That's sort of the point of a market: find a valuation that is above what some people think it should be and below what others think it should be.

The value vs growth argument on amazon has been going in circles for years now. No one is saying anything new anymore.
The NOVA series was good, for anyone curious.

http://www.amazon.com/NOVA-Lost-Sea-Search-Longitude/dp/B000...
My favorite comments I will never forget from my ex-CTO:

"you are wrong about this, because I say you are wrong." [turned out: he was dead wrong!]

"stay home if you want to answer phonecall from your dad." [knowing he is in the hospital]

"today you have been all day on the phone." [after talking with dad for 3 min 35 sec]

"stop pinging google to check if the net is working."

"ping doesn't tell you anything."

"I hate those Chrome tabs -- they are affecting my search results."

"I'm a CTO - I can be rude."

"Don't work here if you have family."

"If we succeed with this project [24-months period], we may get million dollars bonus" [perfectly knowing its impossible and simply not true]

"I fixed Asia!" -"Cool!" -"What did you do?" -"At 3am? I was with my wife and kids." -"Well, I hope that helped alot in your career." [next day, after he IT-supported Asia at 3am]

"You see my desk? Apple, Apple, Apple..."

"You are on a McDonalds French Fry Guy schedule, ha!" [after working 14 hours straight from 7am till 9pm]

"You work long hours and are not paid for those, because you are upper managment and should be proud of it". [after working 14 hours straight]

"Don't ask for that, you are not upper managment!" [when something failed to work and needed to figure the details to troubleshoot]

"You are upper managment, you should know this!" [when I didn't know something IT-related]

"You won't get the bonus, you are not upper managment!" [bonus question around Christmas time]

[email provider down; on the phone with support] "Why are you calling them? chat-support is faster!"

[days later, the same issue; on the chat] "Stop wasting time on chat, just grab a phone and call them!"

[after 12 hours straight work on 8hr schedule] "I completed the project, I am going home" -"Fine with me, as long as you are Symfony Framework specialist" [next day after staying extra 2 hours to understand basics of Symfony Framework] -"Never mind, we won't use them anyway!"

Those were the perks.. there were some better here and there, but honestly I started making notes way too late. But my tech-friends always loved to ask whats new with my CTO. They used to call him "Chief Toilet Officer", because frankly speaking he couldn't do shit right.
You could create more, but whether you'd learn more is another matter. I know that whenever I've gone down the "copy a bit of code and modify it" route it's never sunk in as well as manually retyping it all.
seems to be dead ... wonder if they are running the code submitted on the webserver & people have submitted busy loops or somesuch
Arrgh. The original, better title had stood for at least four hours, and was the name under which I knew the discussion.

Is there any kind of site/extension that displays hacker news, but gives stories the titles they were originally submitted under? If not I guess I'll do it myself.
How is stuff like this news to people? This is fundamentals, people. Fundamentals.
Guy who brought up several of the concerns in yesterday's thread here - and I'm in the same situation.

Actually, I went so far as to download the app just to see if I could crack the backups I was criticizing (i.e., are they actually using a key strengthening algorithm or was the founder just straight-up lying after all of the concern was made public), but when I couldn't get past an SMS-based login-wall to test, most of my initial fears were confirmed.

My concerns and irritations about Google Authenticator also still stand; they half-implemented the spec[1] and have potentially limited everyone's security as a result. However, they didn't misimplement it, so they just limited the gains rather than actually made things worse. I think the QRCode to import the key is, uh, less safe than it could be, but assuming someone hasn't gone and posted screenshots of it to the internet or scanned it with multiple devices, it's not too bad.

I started building a replacement a couple weekends ago to address some of these issues (though primarily because it hasn't been updated to support retina displays, never mind iPhone5), so Authy's timing is rather unfortunate as I've been in the thick of the spec and care deeply about security (I work for WePay; yes, we also have a public rollout of 2FA in the works, it's in internal beta right now). My plan is to give it away for free, if not open-source it completely.

[1] the flexible options for the number of digits, time window, and hashing algorithm are all hardcoded in GA, despite their TOTP implementation actually supporting the full spec. The UI simply ignores all fields beside the label and secret, presumably because they decided to make a screen-wide counter rather than entry-wide. Why it's still forced to SHA1 and 6 digits is beyond me.
Structure, Sign, and Play > Why's Guide, hmm?

;)
pseut: "so you can estimate the parameters as

\hat parameters = argmin (average_over_t speed(gas_t, slope_t, parameters) - const)^2"

No you can't.

Think about it.

1. If the driver has as much information as the econometrician, setting both parameters on slope and gas equal to 0 will fit the data equally well.

2. If the econometrician observes slope and gas and speed with error (as will almost always be the case), then GMM will estimate both parameters on slope and gas as zero (if those 3 errors are independent of each other), even if the true parameters aren't.

3. If the driver observes gas or slope with error, and the econometrician doesn't, then the econometrician can indeed actually estimate the parameters.

How likely is 3? Only a stupidly arrogant econometrician would assume a priori that he knows better how to drive the car than the guy actually driving it. (OK, maybe the econometrician has final revised data, and the driver has only real time data, and the final revised data is better than the real time data. But even then the driver will be observing other indicators that the econometrician doesn't have data on, so the econometrician will interpret the driver's response to those omitted variables as "gas pedal shocks", and will screw up the estimation royally.

Yep, all that Sims VAR stuff is wrong. Here, read this.

http://worthwhile.typepad.com/worthwhile_canadian_initi/2011...

You have just proved my point: economists don't understand Milton Friedman's thermostat.

Forget your fancy stuff. Just STOP AND THINK about what you are really doing when you try to estimate parameters.
The condensed list of new features:

Both mobile apps:

1. profile editing

2. easier way to author content

3. subtle notice when there's new stuff to read

4. subscribe to notifications from circles

5. support for communities

Android:

6. full-size backups of your photos

7. photo spheres in the stream

8. share your mood with others

9. animated GIF support

10. birthday reminders in Google Now

11. lock screen widget

iOS:

12. swipe through photo albums inline

13. tap once to view photos in all their glory

14. subtle pan-zoom-scale effect applied to stream photos

15. longer post snippets

16. bigger post photos

17. comments that slide in underneath each post

Events:

18. send messages to specific guests

19. event creators can see who's opened their invite

20. invite people by just pasting event URL in email/IM

21. RSVP with number of guests you're bringing

22. duplicate an event

Hangouts:

23. ultra low bandwidth mode

24. improved single-person broadcasts

(source: https://plus.google.com/103541694080221120019/posts/Xt7YWmuf...)
Author here. If you have any questions for me or about me, feel free to ask them directly and I will answer openly.
Studied poli sci in college ('07), now I work in tech/marketing -- People always joke about it being a mismatch ("how did you end up there?!") and I normally make a comment about getting lost on the way to law school, but truthfully, it has actually been a great compliment to where I'm at now with how much focus it had on debate, writing and psychology (I focused heavily on public policy).
you are missing out new line characters after each output. `System.out.println` should work.
Also, I just love that clickedy-click and finger movement. Actually, both of the above are queues that can help the brain retain stuff.
The code that powers reddit.com
no. everyone should be more like meeeeeeeeeeeeeee
To my best knowledge, the hash mark comments are parsed as comments by the Tcl parser. The interpreter will not execute a "hash mark" procedure. You can check for the parsing and semantics of Tcl by googling for "Tcl dodekalogue".
What a useless and trite heap of snark. This isn't Slashdot.
Previous discussion: http://news.ycombinator.com/item?id=4921241
Duplicated by a link to thenextweb already on the front page. And of course it should just point to the original blog post anyway: http://gplusproject.appspot.com/tis-the-season-for-shipping
I can't even get Authy to install. I put in my mobile number (why?) and it tells me I haven't registered, with absolutely no indication of what to do now.

http://imgur.com/CGeeS.jpg
Take it easy men, He already stated he was wrong. Do not punish him for wanting to answer fast and be open with the Hacker News community.
A part of the hacker mindset ("hacker" as used in the jargon file, and in this site's title) is intolerance of stupidity.

I totally disagree with this. Yes, a lot of hackers may have an "intolerance of stupidity" but I don't know of anyone who has the right to define "hacker" who can say that the definition includes that. And never mind the fact that we are ALL "stupid" in some domain or other and we all do stupid things every day.
I agree with this.

The article also contains this excerpt:

Even though there are significant benefits to programming with immutability, programming without state is also tricky and usually requires workarounds in FP.

'Workarounds' links to a page that describe Haskell's state monad, but Haskell's state monad only uses immutable state. It's just a wrapper around an ordinary function with the type: (s -> (o, s)) . As far as workarounds go, this is not a good example.
When I started back in the day before there were any computer science majors, I was surprised by the large number of musicians in the profession. There was something about music and programming that clicked together. If you remember the Los Altos Hills Marching Band, they were mostly programmers, although they were known more for their humor than their music.
>Cheap fast prototypes can and generally should skimp on "correct" scaling things

Prototypes don't go into production, so it is moot. No, first versions should not skimp on correctness. It saves virtually no time at all. For example, I've done absolutely nothing special to make our web apps scalable, we just use scalable tech to build it in the first place instead of garbage.

>Be serious; lives aren't generally on the line

How is that relevant?

>I completely disagree.

Maybe you should try it sometime then.

>Sounds like you need to spend some time running a business and paying for those programmers

Almost 6 years so far, how much more time do I need to spend before reality will suddenly flip on its head and doing things wrong will suddenly become awesome?
Agreed. A good way to get better at coding is to go completely offline without any books or help whatsoever. Write as much code as you can from memory and try to solve your problem with your own existing knowledge.
Isn't GPS supposed to be a military technology? Maybe there's something they're not telling us about how they really use GPS. However, I'm not reassured by the wartime durability of any tech that must be protected from all interference while at peace. Not that we actually have any real enemies anymore (rustic Muslim goat-and-flammable-underwear aficionados are more dangerous than the Axis powers were, really?), but if we did why would they obey the FCC?
If you work at home alone and you need human interaction, get a dog. It will force you to get outside and interact with humans.

I met a young person once who was successful (multi-millionaire) and had sold several companies. In the post-sell lull, he said that until he got a dog - he didn't have a daily routine - since he didn't have to really work. Showering is a habit that quickly can fall by the wayside if you work from home alone too much.
When I tried out the site, it gave me a score of 0 for submissions that compiled but produced the wrong output.

I've never written scala before but it looks like your logic is wrong.

Edit: I tweaked your code and got a score of 34

object Solution {def main(args: Array[String])=1 to 100 map {x=>System.out.println(if(x%3==0&&x%5==0)"FizzBuzz" else if(x%5==0)"Buzz" else if(x%3==0)"Fizz" else x)}}
I may have accidentally down-voted you, sorry for that, I cant find any way to undo it.
Interestingly, I know of plenty of English majors that could ace a class in boolean logic or set theory...both core underpinnings of good developers. They understand that words and symbols have very distinct meanings, which is surprisingly lacking in a lot of professional developers that I know.

I do not come from an English background, nor an engineering/CS background...and while I am not a developer (I do code, but not full time), I can lead a team of developers just fine within my area of expertise. I wouldn't hesitate to put an English major with moderate coding skills on a team that was tasked with Natural Language Processing.
The idea that "liberal arts are easy" comes from the grade inflation in many universities (specifically, the differential of inflation between LA and STEM) which actually gives misleading signals about peoples' chances in the job market. It's a lot harder to get a writing job than an entry-level programming job. If the grades were better market signals, English and history courses would be giving a lot more B's and C's, and people would stop thinking "I can't do math" after working their asses off for a B+.
I played pull request with a framework recently. There was something that I wanted to do that could only be done if the framework had fully chained a JavaScript function (ie, forwarded all parameters, included "this", and returned the result). It was an easy fix, but it turned out that what appeared to be an omission was intentional due to very specific edge cases in JavaScript that prevented someone from doing something undocumented but maybe useful. A conflict between two users doing things that the framework did not intend seems like a tough decision, one that makes sense to roll with the status quo. Except that from the issues database, I can see that I was not the only person to ask for this change. My pull request was actually proposed 3 or 4 other times, and there were plenty of other people who had found a sort-of-workaround and were shipping code using this workaround. So I sat down and spent a good amount of time investigating the edge cases to figure out what should be done, wrote it all up, linked to the other people who were having problems or working around them, and submitted a new pull request. Again, the results were unsatisfying: closed because they didn't think people should be doing that. Except that they already are doing it in a hackier way. I guess that other lone guy who was doing something really strange but filed his bug report first wins after all. This whimsy is disrespectful, and pushes people to use something else, start their own, or spend time telling the world that you don't know how to play nicely. In the end, maybe that doesn't matter to some maintainers. They had their fame and their fun and they move on.
14x? Where are you living? I understand software developers generally make more than the average, but I've not heard of too many people making 14x (in the US).
Because its already stretching 2FA quite a bit to have it as just another program running on what is essentially a general purpose computer.
Duo Security uses this exact model for Duo Push. It's really pleasant to use.
I have a degree in both CS and English... so yes.

A lot of programming is trade work, like being a carpenter or a glass blower. Anyone can learn to do it with guidance and practice. You don't need a CS degree to write a good shell script, a CRUD web app, etc. Just the willingness to learn the tools and some fundamentals.

It's not until you get in to deeper stuff like system services development or internet plumbing that the CS degree becomes more necessary.
There was a DDoS attack. Fixed.