skysight-inc/HackerNews huggingface dataset:
L.P.D.: Libertarian Police Department
The root lesson here is pretty simple but important: you should usually avoid using regular expressions in places where readability and ease of update is a concern.

Using a complicated one line regular expression to do all the magic is fun, but its a nightmare to maintain and figure out how it works later on.
For anyone who'd like to cheat:

http://pokemonaprilfools.wikia.com/wiki/Sorted_by_Pokedex_No.
Long time Microsoft and Windows app developer here. I just thought somebody should point out the obvious: that this is not even remotely unusual for a Microsoft app on a Microsoft operating system. You're just describing the normal architecture of the OS and the way apps work.
Honestly I don't think that web development is that much trickier than learning how to do anything with Python. There's inputs, there's outputs, you can have a half decent REPL loop, etc.

For me the biggest hurdle by far is deployment. It's honestly impossible to describe how much of a gulf there is between those who see it as a completely trivial matter and to those who don't know what's going on.
Vast majority?

Got any numbers for that?
> I've seen the community here rally around many great ideas. I want gigabit fiber everywhere, renewable energy cities, preventive genetic medicine for all, and colonies on Mars. Why haven't these happened? Because the people in charge have no vision, and are caught by the institutional quagmire of a country established 300 years ago.

I would argue that those things haven't happened because no one (including us technical people) have developed business models for those activities.
I know those feels well. I've come to the conclusion that with the amount of time I spend using my phone, I shouldn't be bothered shelling out top dollar for one.
There's a reason I put the 'not a value judgement' comment. You have justification, but you are still doing it.
I subscribed to the two blogs. Anyone know why certain blogs only syndicate post samples? It's annoying when you are using an RSS reader and find that you have to open up your web browser (especially annoying on a mobile phone) to read the full post.
Well, yeah, D does this routinely too, no macros needed.

https://github.com/atilaneves/cerealed

https://github.com/msgpack/msgpack-d

https://github.com/Orvid/JSONSerialization
I can type right into a drop down, and 99 times out of 100 it will do the right thing.

(Sometimes it's weird with a list of states, where it might be sorted by the state abbreviation while showing the state name or vice versa.)
Clickable http://www.mobbles.com
There would be questions like what do you think of my website? where do you go to learn about new technology? even your comments would have earned points. The mroe points from commenting interacting the higher your question gets ranked. Possibly in the future it could even have fiverr like tasks people could trade. The site name I got is bizadviceclub.com it's not ready yet.
Ask HN: What does the Y in Y Combinator stand for?
Big List of Android Phone/Voice Commands
- bash is just one of many possibilities, so bash != UNIX shell. It is not available by default in all UNIX systems

- bash is not a REPL with support for live coding.

- as consequence of the last point, bash cannot provide graphical output and respective manipulation of system data structures

Writing data to /proc to alter the OS behavior, is pretty basic compared with changing OS behaviour with a "doit" message on a expression block.

EDIT: For better understanding, imagine using something like Mathematica as an OS shell.
My friend who I'd call the closest thing to a template programmer summarized the situation as such:

"The core tenant of C++ has been to move work from runtime to to compile time."

Both RAII (avoiding use of new & delete) and generics are strengths of C++ but also require heavy compile time work.

RAII needs decent analysis and optimization or your program will thrash copying struts by value. Generics and templates force your compiler to run a second compilation in your frontend.

This on top of C's copy/paste based include system and macros gives you what should be one of the slowest to compile procedural languages designable.
Wikia is one of my favorite platforms enabled by the internet. In hours after any new content is released (whether it is a game, movie, book, etc.), it gets thoroughly documented and compiled by a distributed community.
Thanks! Needless to say, we used to play a lot of Pokemon in our youth...
Duo Security[0] is awesome.

[0] https://www.duosecurity.com/
This, and the (at least practical) inability to read the source of 1PasswordAnywhere (which I often want to use from a machine in my house/a friends house without 1password installed, etc) is why I made Mr. Password. It also uses Dropbox, but it uses the Datastore API (so it can only access it's own data), and it's open source.

https://bitbucket.org/rfunduk/mrpassword
Does this integrate with Recurly?
Dang, what is ring-voting? Is it using multiple accounts to up-vote a post?
"But if I signal my turns, then someone who's tailing me will be able to figure out which direction I'm about to go!"
It's not alarming, it just seems pointless. This isn't going to save lives, because rear view cameras are used when reversing, which happens at low speed. The best thing this will do is cut down on kids getting run into while a car is backing up. But I never hear of that happening on the news, I don't know anyone who's tragically lost someone in a low speed reversing accident. I do know several people who've died in car accidents between 20-60 mph. I mean, I love the tech of back up cameras, but this just seems like a pointless regulation that will increase the cost of cars for us, the consumer.
Bubbles burst. When bubbles burst there are bag holders. Real bubbles leave people like your aunt Tillie with $2 a share stock that she bought a year prior for $80 dollars, or your local restaurant's dishwasher with a $640,000 mortgage. This looks like a bunch of rich people's money sloshing around.
This reminds me of Grice's Maxims[1]. Lying is an impediment to communication.

[1]http://en.wikipedia.org/wiki/Cooperative_principle
ring-voting is asking your friends to vote for your submission.. It's called a "ring" because generally your friends upvote your stuff, and you upvote theirs.

By the way, Dang, thanks a bunch for the transparency. That's refreshing!
http://en.wikipedia.org/wiki/Fixed-point_combinator
The price point is just too high. I'd give $5 or $10 without a thought, even if there were no benefits at all, but $25 is too much for an impulsive donation to a project.
Actual business advice: one really good game is better than a thousand OK ones. Gaming is a hits based business.

Making small games and prototypes may be helpful for learning code and game design since there is more experimentation in the early stages of a project. But there's lots of things shipping a larger project will teach as well.
A lot of cars with cameras don't seem to have rear object detection systems (that beep inside the car when something is behind you and you are in reverse). I doubt most people use a reversing camera to get out of there drive way, so this move wouldn't seem likely to stop people running over kids - beepers that go off when something is behind you would seem much more effective (certainly in my experience).

I don't know about the US, but here in New Zealand these deaths are more prevalent in lower socio-economic areas, that presumably don't buy as many new cars - these changes will takes years to filter through to the people that they might benefit most.
From Visionary to the Fringe
I am looking forward to see Graal eventually replace Hotspot, but so far it is only a possible Java 9 feature.
I quite like the concept of Web Components - operate with elements rather than blobs of JS. Browsers have been doing it for ages defining built-in elements. Now front-end devs have the tools to do the same. I'm excited to see what will come out of it.

If you want to get the gist of Web Components, there's a good 30 min talk by Eric Bidelman: https://developers.google.com/events/io/sessions/318907648
Tumblr Phishing Vulnerability
Why is detecting credit cards even useful?

I know what card I have, you telling me "Yep that's a VISA card" isn't really that helpful. Yes, I might enter the first four digits wrong and see the wrong card icon light up may help me a little, but aren't I just as likely to enter the last 12 digits wrong. In the case of VISA you're pretty much just telling me "Yep, that first one is a 4".
I was taught to never back a vehicle up without physically turning around to look out the back window, as rear and side-view mirrors don't give a 100% view of what's behind you. When I see someone using just mirrors to back up, I perceive it as lazy or irresponsible driving behavior.

Driving a box truck with no rear visibility makes me uncomfortable and I'll use a spotter to reverse. If you can't (or won't) look and see behind you, you should NOT be driving in that direction. Will cameras fix this problem?

The article states that "There are nearly 210 backover deaths each year." I wonder how the overall safety of a vehicle and its driver will be impacted by the addition of a possibly distracting LCD in the front seat. Maybe fewer collisions while reversing, but how many additional distracted driving cases while driving forward and playing with the car computer?
In general I'm not in the "government is too invasive" camp but this one did have me scratching my head. Isn't the market working just fine? Backup cameras first appear on top of the line models. Slowly make their way into mid priced cars and now some of the "low end" new cars have them. I'm sure by 2018 they'll be in 90% of new cars so why add a regulation? Oh well.
I know it's going to sound like heresy to many, but personally, I greatly prefer Samsung's interface to the generic Android. The large soft buttons take up a lot of the screen, and I don't like them. I also get a lot of use out of the removable battery and the SD card slot.

As for the price, the differential seems like it's smaller outside the US, where the Nexus is barely marketed. And since I don't replace my phone that often, even a $200 difference is just not that critical.
Why did this get downvoted? I think it's a valid question -- obviously all of the current mechanisms in place fail to implement this, as can be observed on the roads every day.
It's a decision by whoever writes the code for the xml feed of a site. Most of the time short snippets in the xml feed are meant to tease you so you visit their site.
I'll believe it when people don't have to work in order to eat.
Well, yes, indeed. It depends on the purpose of the abstraction. It may well be that Fly() should not be a method of Bird (maybe we need a FlyingBird subclass, or, even better, a Flying mix-in). My objection was to the "solution" of throwing InvalidOperation, not in support of the assumption that birds can necessarily fly (note the capitalization in may initial remark).
Those are some pretty cool projects. This sort of thing really needs to be supported natively in the browsers and written into the ECMAScript standards, though. It looks like what both Browserify and Bower are doing is basically a macro expansion that outputs regular Javascript, which is interesting, but really shouldn't be necessary.

Basically the current state is that everyone knows that HTML/CSS/JS sucks (by sucks I mean not adequately productive to work in, relative to the feature demands of modern web applications), so we're building languages that compile to them so that we don't have to write them directly. JS is becoming like the assembly language of the web. Some cool stuff has come out of that, but it doesn't mean we should give up on trying to make HTML/CSS/JS better. They were designed to be written by humans, so we shouldn't need to compile to them in order to be productive.
You can now buy everything on the Internet with your Bitcoins at a 7% discount
We recently launched Brawker (https://brawker.com). It's a platform where owners of bitcoins can order anything they want on the Internet and have it paid by someone else in fiat money who will then take the bitcoins in exchange. Confused? Check out this 30 second video (https://www.youtube.com/watch?v=M0-aZit2oI8) that explains it. - Bitcoins owners can order anything they want on the Internet and get a 7% cash back on their purchase - People interested in buying bitcoins can do so by fulfilling someone else's order with their credit card or Paypal account and obtain the equivalent amount in bitcoins.
Check it out to see if you like it!<p>The Brawker team
https://brawker.com
Stop coding and test what you’re building on real users
This could have been a two-day contest: Flappy Ryan and Flappy Chris. Profit.
I found one in the football stadium of University of Wisconsin, but none in my area (a similarly-sized city).
That's a lot of buzzwords in one sentence. Reminds me of the early 90s when everything had to use neuro fuzzy wavelets.
Jawbone Up: Coffee
I get your point, but to tell that a card is a VISA you just need to enter "4". I don't think it makes much of a difference really, just avoid showing in card type info and no one wonders.

It might be better to let the customer pick their card type, that you could also better inform them that you do not accept their card type.
I was introduced to Trello by a friend during a 48 hour hackathon, it worked well at the time as we had a lot of tasks from design, implementation to project submission. Sounds like you're using Trello under a professional software engineering context? (correct me if I'm wrong)

But from times I have these moments where I'm just discussing a school project with my team, the project is probably due within the next 2 days or so. And we'll say let's write down the list of stuff we need to get done and each person take something. Given that the todo list will be discarded after a day or two, it feels somewhat like hassle to set things up on Trello and ask everyone to sign up/sign in; Especially when the list of tasks isn't big, and the team size is also very small (3-4 people).
Auxo 2 Preview
In New Zealand there have been 30 deaths since 2000 (http://www.nzherald.co.nz/nz/news/article.cfm?c_id=1&objecti...), a country of 4 million where like the US most people have a driveway (as opposed to Europe where most people do not). The article claims this move might save 59-69 deaths per year, which would indicate that at least that many die each year (although I struggle to believe cameras will save that many).
>Unlike a patent, a trade secret leaves anyone else free to invent and use the same idea.

What is the probability that such an idea is independently recreated? Hard to say, but its likely inversely related to how ground-breaking the invention is, which are the ones that society benefits the most from them being made public.
Don't know why this was downvoted. I was taught to fully turn my head and body around when backing up and I intend to continue that. I will be physically disabling that camera.
Haha interesting side-case. Well, I will say that it certainly wasn't an example of Capitalism, and I don't condone something as silly as the illegality of owning a specific element like gold.
At least in a Prius, the backup camera goes on automatically when you reverse.
I'm sorry if you though so. I am not under that impression.

However as mentioned elsewhere ( https://news.ycombinator.com/item?id=7500280 ) if most of what you do to organise your code involves passing functions to functions and very little of it involves creating class hierarchies or prototype chains, it's a fair assessment that the language that you are using is more functional than OO.

The language that you are using may be a subset of the whole language, but with JavaScript that's given - you have to find the good parts or go mad trying. I was wrong about JavaScript as a whole, but maybe less so about JavaScript as it is successfully used.
The thrust of this article seems to hinge on the apparent contradiction of Gen. Keith Alexander saying that Snowden leaks jeopardize lives while at the same time the published revelation (sourced from the NSA) that there exists secret NSA operation to monitor communications in Iraq.

It seems that this mischaracterizes what Gen. Alexander says in the linked article.

In that article he says that there is a possibility that some of the information Snowden may or may not have leaked to the press (and which might be published in the future) could cost people their lives. Not that any secret information about NSA operations will cost people their lives. So, a bit cynical perhaps as he's basically saying only the NSA can make the judgement call about what information is "safe" to leak (thus avoiding accountability,) but this isn't really a contradiction.

A larger issue one might take with Alexander's words is that Snowden only sent the information to media organizations; it's up to them what and how much to publish. The NSA could attempt to protect lives that are at stake by offering feedback to these news organizations about Snowden leak stories before they're published to let them know which specific parts, if published, might endanger lives.
How to use your iOS camera to interpret Morse Code
I'm glad. My automotive industry friends, especially those that are parents have really really wanted this.

I don't understand the response "to make sure people are responsibly operating their vehicle." Have you met people?

Newer cars are kind of a pain in the butt to see out of the back. Why? Because of the roof strength requirements. The columns supporting the roof are bigger, limiting visibility.

Maybe we should make sure that people are responsibly operating their vehicle and not flip over their cars. Except that the whole point of safety is to prepare for the unexpected, to engineer to make sure people can walk away from a crash. Just last week someone rolled over right in front of me, it wasn't her fault, someone turned in front of her and hit the front of her car funny and she swerved flipping over.

She got out of the car scared, but not hurt. Because of those pillars. Those pillars make it harder to see kids running around behind your car. The camera addresses that issue, which wasn't as much of a problem in the past when that woman would likely be a pancake because her car rolled.

People are crazy, especially the guy turning out into oncoming traffic and you can't fix that as easily as you can installing a camera into a car.
Looking out the window also doesn't give you a 100% view. There's a massive blind spot below your eye level behind the car.
Show HN: Flatrack, Simple static sites + ruby magic
I'd be interested to see how much of a difference cooperating with the compiler makes. I think the usual advice that until you profile you don't know what the bottlenecks in your code are applies here. Similarly, I think that it is unlikely that the places where humans could add anything of value to the compiler have much of an impact on actual performance (with the exception of types which I'll discuss below).

And in most cases the compiler is much better at optimizing than humans. Register allocation is probably the archetypical example of this. C has a register keyword that the compiler is supposed to interpret to mean "try to put this variable in a register". In most cases you aren't going to be able to perform a liveness analysis of your variables better than the compiler can, and I'm not even sure that modern C compilers even pay attention to the register keyword. They might just perform their own optimizations since compiler writers realize that in >99% of cases, that's going to be better anyways.

Lastly, to touch briefly on types, this is one area that does make a difference on runtime performance. Basically, if the compiler can type check code it can perform more aggressive operations because it can rule out certain classes of errors. Additionally, static types don't have the overhead associated with dynamic typing in terms of tagging variables with their type information. Functional languages in particular are nice from a compiler writer's perspective because if you can guarantee certain parts of the source code are pure you can perform more optimizations that you could otherwise. For example, let's say you're using C++ and you have a function that doesn't return anything, doesn't take any arguments, and doesn't update any globals. A Haskell compiler could probably eliminate this function call, since it doesn't seem to be doing anything, but in C++ it's most likely doing I/O or is being called for some other side effect and so we have to keep it around.
so let's ditch the human.
Side mirrors are required and will be required for a long time because when side cameras fails its all or nothing. A physical mirror can be partially damaged and still be used.

Almost every car I have owned some electrical device was broken or failed. The time to get it fixed and the cost usually meant I didn't bother. Same would happen with the side cameras and many people would just live without it even though it may be illegal.

A physically broken mirror can be seen and the Police can write you a safety violation so you have to get it fixed.

I don't think mirros are such a bane on aerodynamics, even F1 cars still use fairly large mirrors. http://news.bbcimg.co.uk/media/images/72607000/jpg/_72607984...
If you were to get in an accident while driving in reverse after 2018 this would significantly increase your odds of being found at fault... I'd imagine.
You've never driven in Dallas, have you?
This lowers the barrier to entry for front-seat display entertainment in the car -- what could go wrong?
Thanks! If I got it right, the summary is: Money going towards the founders' living expenses is salary and taxed accordingly; the taxes paid can be small or negligible depending on the founders' incomes earlier in the year.
Square Market Accepts Bitcoin
3 Lessons in Product Management Learned on the Fly
"Side effects of the Pokémon Challenge may include extreme excitement and a sense of accomplishment. Do not operate the Pokémon Challenge in Google Maps while driving or operating heavy machinery. Our hiring committee must first battle to determine who can best judge the Pokémon Master. The battle date has yet to be set, so the role of Pokémon Master is not yet available."

Aha, well played, Google.
I don't know if the authors would agree, but Dalvik's JIT compiler appears to be a "precision" JIT. The goals for Dalvik's JIT compiler were to speed up apps without reducing battery life by focusing on compiling only the parts of code that will deliver the most performance increase.

One can also suppose that, with more memory and more power-efficient processors, Google has calculated that in real-world cases, ART's pre-compiler delivers more benefits in performance dimensions than it costs in space and power dimensions.
ToothCloud – Web based dental software
I agree. This line just confirms this:

>Many vehicles, including luxury models, already carry rear-facing cameras, and an auto industry group applauded the move.
fair enough. have you checked out google enterprise search then?

https://www.google.com/enterprise/search/products/gss.html#p...
We already do that at haggledaddy.com :) Actual reverse auction.
Which of those products do you know to actually be using Dual_EC at all?
It's a camera that helps you avoid running over kids. How much does a camera weigh?

Is using technology to prevent kids deaths pointless?
http://www.amazon.com/Rear-Vehicle-Backup-Camera-Waterproof/...

Amazon puts the _shipping_ weight of a camera at one pound.

A soccer mom will make her car more inefficient every time she orders McDonalds for the whole family.
On OSX, use Dropbox Encore:

http://www.joyofmacs.com/software/dropboxencore/
How the Most Expensive Game Jam Crashed And Burned in a Single Day