skysight-inc/HackerNews huggingface dataset:
Actually it's most likely not legal. (at larger intersections, of course this is not the case everywhere) In most countries (all?) it's illegal to do a u-turn when there's a double line between lanes and usually they're painted a fair distance before intersections to prevent people from overtaking when they're close to lights / stop signs / intersecions which they may not see yet. On a bike you're really unlikely to get to a legal distance from an intersection and come back in time for the same green light.

Also it's confusing pedestrians crossing the street - you expect vehicles coming from one side or the other, not suddenly appearing on your left, because they did a u-turn right after they passed the crossing.
This should be a good starting point:

http://remembersaurus.com/askhn.html

There are boatloads of good content in there, plenty of which have the potential of changing your perspective on life, tech or just about anything else that is covered.
No, that's not the reason. Repeated bending of the weak connection point is the reason, and there's no reinforcement there to protect it.
At the same time, shoving a camera into someones face could impact their ability to perform their job.

Agreed - you should maintain your distance, but I've seen many videos on YouTube where the person videoing wasn't interfering at all and certainly wasn't "in their face", but the cops did not like being filmed and arrested the person. That is just not right.
Congratulations for completely missing the point. Every manufacturer shipping for the EU market is using a standard USB cable on both ends.

Apple says they will follow the EU guidelines and then they ship a crappy Apple-to-USB adapter in the box...
Haha I originally added that as a joke but it grew on me. I'm glad you liked it! I appreciate your kind comment, and I've always felt the same way about to-do lists: they never get done. I hope that my app can help people be productive. :)
Another handy one I saw recently:

varname, = [x for x in l if predicate_with_single_truth_value(x)]

The comma after varname is an implicit assert that the list comprehension only contains one element.
You realize that Marco and John are often wrong, right? They're bright guys, but it makes no sense to worship them.
Note that Google Summer of Code is probably "better" than the amount it pays would indicate.
Corporate criminals gone wild
Using touch and imagemagick to lie to your boss
Which is what a "strain relief" is for.

Strain reliefs are used because you have to assume that users will apply strain in every direction imaginable, and some that aren't.
Real-time indexing of events with ElasticSearch
They are aware of it and still build inferior quality cables. This is a problem across their entire product line, from MacBooks to iPods, iPhones and iPads.
WSGI Production Setup: uWSGI, supervisor and nginx
My only complaint with this list is conditional assignments. They make it harder for me to understand the code. I am used to the if being at the start and when it isn't it takes more time for me to parse what the real meaning of the line is.
So, uhm, I’m not exactly sure what you want.

Well, it'd be nice if the high-$$$ Apple cable were as reliable as the one on the latest $1.99 gray-market gadget off the boat from Shenzen.
I agree with your claim, but attributing that to evolution as an efficient optimizer is a bit strange. If you are building a brain with trial and error, there is bound to be lots of bits and pieces of it that are not operating optimally for the current organism, but are there because of the evolutionary path that was taken.
Nick Bradbury: Farty Shoes (WWJCD?)
مسلسل فاطمه مدبلج تحميل الحلقة 62
The Samwer Brothers Find Global Internet Success
Stanford University Campaign Finance #Datafest Resources
Looking at the comments, I am shocked how many people are concerned that people will ship things with type errors into production or this would somehow relax the standards of Haskell programs, going to the length to suggest that some short of sabotage should be levied when the flag to enable this is on.

This is a very good, and rather unique feature. I have wished for an equivalent when figuring out some stuff in C programs for long time; I cannot imagine a person who has to maintain and change a large program and cannot understand the huge utility of this device.
Monitor anything and get SMS notifications
Etimek Tatlısı Tarifi
I think you can safely drop the 'aspiring' from your bio, you've made more progress in three weeks on this than many have made in much longer time-spans.

Impressive, to put it mildly.

What you've made is interesting, but what is even more interesting is how you managed to do all this in such a terribly short time, I think there will be plenty of people interested in the 'making of' of this neat little website.
They cut all kinds of corners and are quite amazing and often frightening. I actually find the cheap, hideous designs more impressive in some ways.

Indeed. Mad Man Muntz (http://en.wikipedia.org/wiki/Madman_Muntz) is alive and well and living in China.
Css_image_concat: Improve performance by concating your images
Cheers! <holdingupdatavodkawithredbull>
Good Idea Vs. Good People
>I think the days of Google being the employer of choice for "wicked intelligent" people are long gone. Personally I'd rather hang out in a room of random startup employees

Tons of random startup employees (not to mention founders) are of very lame technical and scientific skills, and the problems they work on are ho-hum, me-too at best (front-end trivialities for social media, or variations of scaling a web-stack, basically all been there done that problems...).
Fixing an old iPod and Cupertino's repairability problem
I'm jealous too :) I've got about ~10 years experience in software, half of it working on web projects. I posted my app yesterday hoping for feedback and got exactly zero upvotes and zero comments. The lessons I'm taking from this:

1) get people to interact with the app straight away (aka. lazy registration)

2) keep words away from the homepage, they can go in the /about page

3) get a design
2-D books are over: Augmented reality breathes new life into the classics
He still has to pay an exit tax -- on the unrealized capital gains, based on the value of FB stock when he renounces his citizenship. I don't see how that makes him a douchebag or how that is giving "none of that back to the people who made his lottery win possible."

It's actually douchebags like Senator Chuck Schumer, who instantly move to create a new reactionary law to penalize people like Eduardo even more than our laws already do. Keep passing more laws like that and you'll see more and more wealthy leave. Wouldn't it have behooved us to keep Saverin here to spend his money, start other businesses, and invest? To call him a "tax dodger" when he is paying a huge exit tax is despicable and pure politics.

Did those that started Facebook get lucky? Sure. But they also worked for it -- hardly a lottery win. And paying exorbitant taxes to the US government does not equal "giving back". Further, Facebook is a global company and with 900 million users, it's hardly appropriate to say that their success was only made possible because it was started in the US.
Focusing is about saying no - Steve Jobs (WWDC'97)
In Chicago I've almost never seen a cyclist stop at a red light or stop sign. Cyclists here feel free to ride on the wrong side of the road, weave in and out of traffic, and cut off drivers. I'm no lawyer, but I fear that if I hit one of these clowns then I'll be completely at-fault. It sucks.

Worst of all, I've never, ever seen a cyclist get pulled over. If cyclists were held to the same responsibilities as drivers, that would be one thing. But they're not, hence the resentment.
Rugpijn: Vitamine D en calcium tegen Bechterew
Right after the iPad 1 came out in the US, I was in Thailand on vacation and didn't have my cube charger with me. I was hoping I could get a 10W iPad charger at the big electronics mall, looked...and they were $79. While grey-market iPads were actually selling for about $650. (I just charged using my laptop).

Apple chargers are one thing which I like to buy used; especially for magsafe, I haven't found any counterfeits. Being able to have 10 extra chargers around home/office saves a lot of hassle, and when they're $25 it's reasonable to do that.
http://news.ycombinator.com/item?id=354539 (Mark Cuban is bullish on America)

The day after President Obama won the election and I lost over 60 points in that thread for calling him out, or rather the people for getting suckered into the race card. (I am not a US citizen and feel vindicated now, what a con job ... oops politics not good on HN)
The problem is 250GB is already too low especially when there is no evidence that me downloading 1GB vs 100GB costs ISP the amount of money they are asking for. Congestion is definitely a problem, but charging per bit does nothing to solve that.

I live in Canada and I pay ~$60 for 28mbps and 120GB download cap, which I hit every month. So far I am the only person in the house using high bandwidth apps like Netflix. Usage based billing is not a long term fix for people like me. Instead of increasing the bandwidth caps to competitive rates which smaller ISPs and other countries provide Comcast has decided to charge per bit to future proof their business model dodging the real problem.
Filtering through vimgrep results using regular expressions
The Django Book is good, but it's incomplete and outdated. On the other hand, the Django documentation talks about testing:

https://docs.djangoproject.com/en/1.4/topics/testing/
Thanks. I've been on this site for a long, long time. I knew there had to be a curated list like this but Google turned up nothing with a cursory search.
Short term yes. But it's a little like a concert that is able to extract the maximum amount of seat sales revenue but has a bunch of non-filled seats which don't look to good for people attending and writing about the concert. Or a half empty restaurant on Saturday night. The story is that the price had to be supported. I'm not sure that is the message that will be good long-er term with a thing that is sold on psychology as opposed to fundamentals.

After all there is no way people getting in on the IPO bought the stock at $38 thinking it wasn't going to go up the same day.
I've never understood this rationale. Pretty much any feature can be abused by "less experienced" developers. I think you should never leave out useful features just because they could be abused--trying to protect developers from their own incompetence is never going to be completely successful and is rather arrogant at that.

I could see leaving out or modifying features that lead to a lot of mistakes, like manual memory management, but this is just a flag useful for debugging--you never have to use it and it does not affect your code at all if you don't use it.

Also, this feature is more like replacing unsafe functions with undefined rather than making everything dynamically typed. For example, it will always error if you run a poorly typed function, regardless of what argument you pass in. And, of course, if you're worried about your co-workers using this flag, you can just recompile without it and fix all the errors.
Betwin188.com Agen Bola Terbaik Dukung Anti Rasisme EURO 2012
Betwin188.com Agen Bola Terbaik Dukung Anti Rasisme EURO 2012. Mengapa kemungkinan konflik rasisme rentan Terjadi ini dikarenakan dukungan pertandingan bola euro 2012
Extensive Popular Technology Business Resources
The intuitive mind is a sacred gift
Shop nbc invicta watches
I can confirm that CacheMachine is being used by at least 2 global projects that are in production. Haven't faced any critical problems so far.
A couple of great tutorials on testing in Django is http://toastdriven.com/blog/2011/apr/.
Facebook Banker Morgan Stanley Bought A Humongous Amount Of Stock
As a gateway to further reading (covering many of the interesting facts people are pointing out here), I enjoyed http://en.wikipedia.org/wiki/Curse_of_dimensionality
I was so looking for that post frantically for the past couple of days but it just kept eluding me. Thanks a lot for posting it.

It makes me wonder how effective a well implemented human powered search engine could be. Its kinda overwhelming just thinking about it.
I use this fact about hyperspheres getting smaller in my dissertation on Emergent Design at http://about.me/emergentdesign.

I have created something called Schemas Theory which is the next level of abstraction up from Systems Theory but contains all the schemas like Facet, Monad, Pattern, Form, System, OpenScape (meta-system), Domain, World, Kosmos, Pluriverse. Then to kick things off I created a hypothesis that Schemas were related to dimensions by a rule that there were two scheams per dimension and two dimensions per schema. And so there are ten schemas ranging from -1 dimension to 9 dimensions. It just so happens that String theory starts at the tenth dimension, but is unschematized, in other words we have no natural organizing template of understanding to relate to it. Schemas are projected organizations by which we understand the things in a given dimension. They are the way that we project Spacetime and find things in it intelligible given Kant's idea of a priori synthesis.

Then the question comes why are there only ten schemas and why do they stop at the ninth dimension, and I use the fact that bounded spheres as in the example given overflow the surrounding spheres at that point which is something that goes beyond our intuitions of how space itself works. I think it works as an explanation as to why we don't have natural models of intuition beyond the pluriverse (i.e. the multiverse). The point in my dissertation is that we use schemas as the basis of all our design activites.

So I think this fact of the overflowing of the hyperspheres of their surrounding spheres is quite important for our understanding of how we project spacetime templates of understanding as a framework for understanding dimensional phenomena.

The other point that I make in my dissertation that is related is that hyperspheres get bigger in terms of surface and volume and then they get much smaller and the dimensions where they are the biggest are at 5 throug 7 dimensions. I make the point that when we say that we can hold 7+/-2 things in short term memory those are independent things, and that means that conceptually we can do design up to the ninth dimension but that the optima is in the fifth through seventh dimensions where the space of possibilities is largest. So we actually hold in our minds higher dimensional objects and we design in spaces of higher dimensions but not too high, but the optimal height is 7+/2 dimensions which is where we have the most room to maneuver the possible schemas. However in terms of manipulation it is the fourth dimension that is best because in that dimension movement has perfect laminar flow without singularities. And it is interesting that this is the dimension where the middle sphere is the same size as the surrounding spheres.

Anyway, I just thought I would mention this because it is a theoretical use of this fact about higher dimensions that we do not see referenced very often which I think has lots of implications for how we think and how we design especially in Software Engineering.
Yes? 0.o
So you're a perl programmer then?
This seems like it will be great for Light Table and other such systems. It will be much easier to do the incremental compile//show results on incomplete and in-progress files if type errors can be ignored.
Vim tips
Pythonic JavaScript to CoffeeScript compiler
Trailing commas are really easy to miss. When reading this line of code, I did not notice it immediately; I originally assumed that varname was being assigned a list.

This sort of code would be very confusing when I'm just quickly reading through a procedure trying to find the potential bug.
People often confuse ethnicity and nationality - you need to be more concrete with your example.

Two Caucasians (ethnicity) who are US citizens living in China gives birth to a baby in China, then the baby would be Caucasian (ethnicity), and American (nationality, by US law), but probably also Chinese (nationality, by Chinese law[1]).

Maybe that example is not so great because the baby would have dual-citizenship, so consider a different example:

3rd generation Chinese immigrants in the US who are born in America, never left the US to visit China (same as their parents), it is their grand parents who migrated from China. These 3rd generation immigrations are Chinese (ethnicity) and US citizens (nationality), also called Chinese-Americans (format: [ethnicity]-[nationality])[2]. These Chinese-Americans are not citizens of China, but they are ethnic Chinese.

Hope that clears up that one small point.

[1] Most countries have a 'if you're born here, you get our citizenship automatically' (I'm not sure about China specifically, just using it as an example).

[2] easy to mix up and confuse, but order matters here
Organize, Manage, Track, and Collaborate on Everything in Your Daily Life
A man is a success -- Bob Dylan.
> It's not the spheres that are "spikey", the cubes are.

This was exactly my reaction on thinking over what the article is saying.
Obama administration: Twitter’s Do Not Track an “important step”
It's worth explaining why mutable defaults are bad.

The problem with mutable defaults is that they are evaluated once only when the function is defined. Each time the function is called you'll be using the same mutable variable that was created during function definition.
"Without further information, I have no reason to think that the scenario you described is illegal."

It depends on where and when you are. Traffic laws vary from place to place, and change over time.

According to wikipedia, u-turns are generally legal in Indiana and generally illegal in Oregon. https://en.wikipedia.org/wiki/U-turn

In Colorado, u-turns are subjectively legal under safe conditions. http://www.colorado.gov/cs/Satellite/Revenue-MV/RMV/12126578...

In Colorado, you will be fined and assessed costs and points for a subjectively illegal u-turn: http://www.denvertrafficlawyer.com/index.php/legal-services2...

I don't know what "points" means to a bicyclist, or one who has or doesn't have a driver license.
Ask HN: Startup opportunities in bioinformatics
I'm a first-year computer science PhD student currently working in optimization and machine learning. For my PhD, I have a long-term goal of building a commercializable piece of technology (an algorithm, a piece of software, etc.) and hopefully turn it into a company. One potential area for this that seems exciting is bioinformatics. I was wondering if anyone here had any insight into developing bioinformatics technologies and turning them into a startup. Is bioinformatics a good field for this? Are there any examples of comp. bio. technologies that have been successfully commercialized?

Right now, most bioinformatics research that I see in universities seems to be more on the pure science side. I feel like in this kind of research, progress is extremely incremental, and one individual's work will have a noticeable impact only within a small community of academics.

Also, let me know if there are other promising areas besides bioinformatics that I should consider for what I would like to do.

Thank you!
Oh god, I hate the four-way stop with the power of a thousand suns.

They are so common, they work so poorly even when everybody knows what they're doing, and nobody ever knows what they're doing with them. Any time they get the least bit busy they just turn into a total mess. Knowing the rules doesn't help because nobody else follows them.

I often fantasize that the US will come to its senses switch to roundabouts.
Here Is How To Offer *Deal* To Your Prospective Employer
Perfectly valid question. This explains the practice in incremental dev or refactoring of using "undefined" in stub/placeholder functions to get the type signatures but not function bodies in:

http://www.fatvat.co.uk/2009/09/generating-text-in-haskell.h...

Also: 2 longish threads about this

http://www.reddit.com/r/programming/duplicates/tjeg3/haskell...
NP is not an abbreviation for "non-polynomial". You made a very good attempt at explaining P vs NP, but just like most of the other articles that try to make it digestible for a wider audience you screwed up by leaving out the deterministic vs non-deterministic bit.

Sorry for putting it so harsh.
Tesla used to work for Edison.
Back in the olden days I was a pressman for a newspaper. We would grab the newspapers coming off the press, and hold them upside down to check the print quality, color registration, etc. This was almost necessary to see errors, not because you would be distracted by reading, but because you see what you expect to see. Turning the newspaper around changed those expectations, and allowed you to see errors.
As someone who's hired people before, I'd be much more intrigued to see the patent on your resume (especially if you include the number so its easy to search for). The second a resume makes me stop and look for a second, then you've already beat 97% of the competition.
I don’t think anyone will argue the fact that the only other platform I would’ve been able to rapidly develop and deploy games like Nick vs Bus and Word Wars would be Flash.

I would argue it. The speed with which you can develop simple games has much more to do with how well you understand the platform itself (its tools, libraries, capabilities) than what the platform is.

I'm not saying platforms and languages don't intrinsically affect your pace. They do. But it also depends a lot on what you're doing. One language lets you write a web server in an hour; another allows fast and robust mathematical analysis. Writing a fun game in 24 hours is such a pliable goal that you could clear it with, say, a graphing calculator, an industrial robot, or a Word macro. To say nothing of languages people actually write games in!
Artists do this too.
I wrote a script to greek the text nodes in XML files for use in testing https://github.com/tingletech/greeker.py

It only "greeks" the nouns, so the output XML reads sort of like mad libs.
Indeed. I prefer the following variant which is more explicit and thus (IMHO) more in the spirit of Python:

(varname,) = [x for x in l if predicate_with_single_truth_value(x)]
Then Facebook employees better hope the stock price doesn't fall to half of what it is now in 3 months.
Tesla was far smarter than Edison was. Tesla's biggest mistake was allowing himself to work for JP Morgan. Morgan didn't want that wireless junk ("Where do you put the meter?") and was happy to let Tesla work himself into obscurity while the metered, wired system we know today was put into place.

Tesla became aware of the position he had placed himself in and his work became focused on leaving his research to us, the future. I hope we listen because he knew what he was doing.
Are you referring to the engineering of the power supply specifically, or to Apple's reputation for focusing on industrial design and quality products? Because I don't think they're able to “name their price” because their power supply is better engineered, because only a tiny fraction of people will ever know that it's better engineered.
Agreed. It could be written much more clearly in my opinion like this:

[varname] = [x for x in l if predicate_with_single_truth_value(x)]
Look, he was a pioneer the only thing he could consult with to double check his ideas was reality. So, he made some bad assumptions and said some things that where less than accurate. That in no way takes away from what he accomplished, but just because his comtemeratires had no idea what was going on does not mean he has a trove of secret knowledge that we still don't understand.

Study electrical engineering then go back and study the man. It's a more interesting story, and just because he made some mistakes does not mean you need to make the same ones.
The mystery of Leica pricing explained