skysight-inc/HackerNews huggingface dataset:
I think that the problem with "Fun" questions is that they are a slippery slope. If you start to allow them, you would very likely over time see a general degradation of the quality over of stack overflow.

You see the chances of you having your real question. Answered are directly related to the number of people reading it. (With the added complexity of it actually having to be the right person reading it but why get overly complicated?)

If you decrease the signal (real question) to noise ("fun" question) ratio, you increase the amount of garbage and reduce the number of serious questions that can be answered.

Imagine the "endgame" of fun questions over time, what if they start allowing "rage comics" about programming (f7u11overflow.com) ...

There is absolutely a place for "fun" on the internet, there is absolutely a place for "fun programming questions"... But it isn't stack overflow.

I'm not sure I fully agree with the tools research questions being OT, but I understand that they cannot have objective answers. Compare for example the answers to the question which IDE should I use? The programmers at JETBRAINS logon and say "jetbrains" then some MS programmers log in and say "VisualStudio" then the team that wrote eclipse log in and say "actually yeah, visual studio... Eclipse sucks"

Now someone has to put a green check mark beside one of those answers or leave it unmarked as unanswerable. Both are unacceptable really.

Best to avoid it.
> I spent a week deleting code I couldn't detect a use for. I nuked nearly 40,000 lines and could not discern a difference in functionality (though, couldn't be certain since I hadn't completed the test suite.)

I don't think we deleted 20k lines. Probably more like 5k.

However the kicker was when deleting something that seemed harmless enough broke something. In that case, it was a comment. We're not talking about smart comments here. We are talking about comments that are parsed and used by the application at run-time for actual logic :-P.

Oh, and when we added test cases for rounding numbers.... the test cases failed....

Regarding the role of language, I would much rather be maintaining bad Perl code than bad PHP code.....
SO has become a good practical example of what happens under a pure democracy. The moderators have control by way of their votes which are given to them by the users of the site. They get to choose what is good or bad for ALL users. The interesting and fun parts of SO were killed off a long time ago. It's the same thing that happened at Digg and other group think type sites. I'm not big into reddit but I'm sure the same applies there to some degree.
How The Dogecoin Community Sent an Indian Luge Contender to the Olympics
Security properties at http://masterpasswordapp.com/security.html
Algorithm is essentially passwordify(template, hmac-sha-256(scrypt(masterpassword, username), site|counter))
Screenshot: http://s18.postimg.org/yl55zwebd/gootrend.png

It's a Google Trends bug, Python (albeit heavily used within Google) is not recognized as programming language.
Apologies for the "mobile phone formatting and punctuation" on this.
elementaryos: simpler, light and nice look & feel
I'm surprised that Python's interpreter tech isn't advanced enough to try and JIT some of this away. Python could probably learn a lot from various JS interpreter advances.
The main purpose of representatives is that we trust them, the person, to have the character and sense to create and support good policy. It's reasonable for the government to have secrets, but if the people running it aren't virtuous enough to admit their own mistakes and choose to cover up, then they aren't good people.
Who would use a dictionary for a point? If it's a 2D grid, you are only going to have two axes and by convention x-axis is always first, and y-axis is always second. Perfect use case for a tuple.

point = (0, 0)
Would't it be more like this?

points = [(0, 0), (3, 4), ...]
sum_x = sum([x for x,_ in points])
sum_y = sum([y for _,y in points])
I did a stupid microbenchmark and it turned out that simple class with __slots__ was the fastest method.
GE's Breakthrough Magnetic Refrigeration
We've also been having a play with Slack. We like it too...
Interesting, I opened Chrome Dev Tools and start violating some rules, but see no network traffic to the server. Is this purely implemented with js? With dictionaries loaded initially?
I'm curious where one would go to learn specifically about performance issues in Python - patterns to avoid, and those to stick to. Any recommendations?
> Texas is near (or at) last in public education.

According to what metric? They rank in the the top 25% in US News rankings, 14th in Quality Counts rankings, and have one of the highest high school completion rates in the country.

I would imagine that Austin in particular is probably over average compared to much of the rest of the state due to the number of colleges in the area and significant tech sector.
Nothing wrong with inline styles. I just love having everything in front of me without needing to look for selectors in a separate file.
The PyPy project is doing that http://pypy.org/ (is mentioned on the article)
Of course! I totally agree. Kudos to your team for releasing an actual product. I didn't mean to say my tool was just as comparable. It merely gives me some greedy validation that hey, the tool I built might be useful to others!
Yeah, we especially like the ease in which we can add integrations.
Pycon 2013 tweet controversy, presumably.
Wouldn't a regular tuple be the most pythonic (and possibly most efficient) way to represent a point?

I think that's what most image libraries do (at least Pillow).
and it's down... mirror anyone?
We've had an application rejected for this reason as well. In our case, they didn't even describe what they didn't like besides "not enough functionality". Our application was quite a bit more complex, and we could prove there was demand for such an application. I get the feeling they guessed at the application's functionality based on the name and didn't really check it out (it wasn't a particularly great name).

We went through the appeals process. It was very unhelpful. I got the impression that until we responded "we have updated the application", any objections were routed to the same unreasonable person that rejected us originally who didn't care to look at the same application twice.

We ended up adding a "feature" in a completely superficial way. We took an existing feature of the application and we exposed it as a top-level menu item instead of making it appear in the context where it makes sense.

As soon as we told Apple that we'd added a feature and they could verify that there was a new top-level menu item on the first screen of the application, they approved it. It was essentially the same application that they thought didn't have enough functionality, except rearranged slightly to make the functionality obvious to a reviewer that doesn't look past the first screen.

As far as I can tell, there's a lot of pressure inside Apple to churn through reviews as quickly as possible, and the review process is getting sloppier. Things get approved when they have glaring faults, and things get rejected because they didn't make a good impression in the first few seconds a reviewer looked at it.
A typical reason to avoid intelligence in view templates is that it is more difficult to test that logic when it is stored inside the template. Separation of the two improves testability.

What are the testing options like for XSLT, are you able to run good automated tests against your templates?
maybe my presentation was unclear. i seem to have given the impression that i am really quite dim...

> You should really get used to the idea that stating a different problem will give you a different answer

this is entirely normal and expected since ever i can remember... what i'm saying is that you can analyse the same data in two different ways and reach differing conclusions because of the nature of the p-value (vs. the nature of, well... nature)

what i was mainly trying to get across is that a coin being biased towards heads /logically infers that/ it is biased. so the idea that 5 heads in a row is less evidence of a coin being biased than it is that it is biased towards heads is not only counter-intuitive but in disagreement with a much stronger and more intuitive form of reasoning.

the fact that the p-values are different in these cases leads me to expect that p-values on their own are not a good indicator of strength of evidence without a lot more context - and /really/ understanding what that context is and means - in which case why use the value at all? nobody else is likely to interpret it correctly unless you lay it out that way which then negates the supposed utility of the p-value...

and yes, i intuitively consider 5 heads in a row to be unspectacular for a fair coin certainly not a 19/20 chance that it is biased (maybe i am very, very wrong though).
You seem to have missed the point.

Consider the following two developers. Who would you rather hire, and who will get hired under this system?

1. Developer completes the task, unfamiliar to them, in 2 hours, or

2. Developer completes the task, familiar to them, in 1.5 hours?
Without the layout engine, what can they offer that Chromium doesn't?
To be perfectly fair, I don't think that there is a single universal point of programming. Doing it for recognition seems equally valid to me, and if nothing else, recognition generally encourages people to do things.
Funny you didn't mention Munich agreement as well as the "professor" when this treaty casts shadow on UK and France. And then Molotov pacts is not a lie but a very smart move to try to gain time for the USSR after Europe was getting under Fascists with cheering . Stalin knew that Hitler is being pushed to the west, and the next Munich agreement would not be far. Stalin believed in non-aggression pact? No. But there was no other way to act in the circumstances. I would like to tell more i don't believe you are after the truth.

This is what propaganda is about - hiding facts, twisting truth, taking things out of context or just pure lie. We all live under propaganda. Tell me when you read anything good about Asad in Syria, or good about Putin or even Iran for that matter? This is propaganda.

“The most brilliant propagandist technique will yield no success unless one fundamental principle is borne in mind constantly - it must confine itself to a few points and repeat them over and over.”
― Joseph Goebbels
Right, to my taste it's a better game (though very differently tuned beyond the puck-through-a-gap idea).

More than anything I was trying to respond to the parent's question about why the game works at all, especially compared to so many bad single-switch games in the app store.

(In writing this I just realized - Maverick Brid is not a single switch game like Flappy Bird. Not that it matters - even without the dive key it's superior).
Whoa! Jumping to conclusions here! My first reaction was not that it's understandable and that we can't blame authorities. It was more 'we can't put 100% blame on the autorities'. Let me be very clear: I'm 100% pro freedom of speech. Everyone should be allowed to say/post whatever they want, no matter how deranged. Unfortunately, that's just not the reality we live in. The reality is that the US has become a surveillance state, and that you should mind what you post online. My point is that if you post stupid things like this on the internet, you can expect some consequences.

Side note 1: The fact that we're having this conversation shows that it's incredibly difficult to get all nuances of your opinion across over the internet.

Side note 2: Free speech in my opinion is the fact that you CAN say anything you want. It doesn't mean that you SHOULD.
Wouldn't you expect someone who had never seen or heard of RSS before to be able to do a bit of research, find out what it is and work out how to parse and give an account of the steps they took?

A good candidate who had never seen RSS before might be better at that than someone who has spent their entire career processing RSS and never thinking about the details.
doens't work. no feedback on errors that i can provide. :/

using latest chrome with win 8.1
Ask HN: Desperate for a HN Frontpage RSS feed 
...which includes "number of comments".

I don't believe this is a complex request, yet there seem to be no RSS feeds that show this.https://www.hnsearch.com/bigrss - no longer supports this (and is closing down)

I see no way of getting a frontpage feed from its replacement - http://hn.algolia.com

I will even go as far as to offer $30 in bitcoin for a working feed. ( I am that desperate ).
That's all well and good - my point was that this "self-signed certs are equivalent to no security at all" meme is both common and wrong.

[EDIT] pdkl95 said what I was trying to say more eloquently and in more depth.
I think by jail he is referring to this: http://en.wikipedia.org/wiki/Remand_(detention)
I remember exactly when I accidentally hit invite button after I successfully linked my gmail account with LinkedIn. After I did this I noticed that the scrollbars were hidden by OS X and later I realized that I spammed every single person that I received email from with my linkedin invitation. I felt so ashamed by myself and even until today I receive messages such as : "you are now connected to Person X", who personally I even don't remember.

Shame for LinkedIn that they do their social linking in such a bad and confusing way. Cheers for the author.
I'm probably doing it wrong but I measured exactly this yesterday and the dict version was faster:

$ python -m timeit --setup "from collections import namedtuple; Point = namedtuple('Point', ['x', 'y']); p = Point(x=0, y=0)" "p.x + p.y"
1000000 loops, best of 3: 0.284 usec per loop

vs.

$ python -m timeit --setup "p = {'x': 0, 'y': 0}" "p['x'] + p['y']"
10000000 loops, best of 3: 0.0737 usec per loop

Maybe the use isn't right because I agree with your belief that namedtuple is suppose to be more performant.
It’s worst. Browser incompatibilities don’t break the web, and sometimes only affect the people that want pixel perfect rendering. With Bitcoin, all the nodes have not only to implement the “abstract” protocol, but be bug compatible with the “official” node (where official is whichever has the “51%” hashing power). Any incompatibility will cause a fork eventually.

From: https://bitcoinfoundation.org/blog/?p=418

> The Bitcoin core development team has worked to limit transaction malleability. There is broad agreement in the community that this needs to be eliminated. Finding the best and most responsible solution will take time. In the meantime, users of the reference implementation do not need to be concerned. Transactions are always tracked properly by the Bitcoin-Qt/bitcoind software.
I really, really want the regulators to stop this, but most people only have the choice of a single cable provider anyway. Where in the US do Comcast and Time Warner compete head-to-head? It feels as though they have divided up the country similarly to how the baby bells were after AT&T was broken up in 1984.
The sentence "Python run slow" is a little misleading. While is true that does more stuff than other languages (C, for example) for similar operations, it is also true that in the majority of cases, the relevant time consuming parts of execution are in other areas, like waiting for I/O, etc.

In most of the cases, a program done in Python (or Ruby, or JavaScript) is not slower than a program done in C or even assembly. Sure, for some cases, it may be necessary to take care of rough cases, but I think that just saying "Python is slow" is not very fortunate...
Cool tool but I'm not sure I agree with the premise.

If a project is big enough that I need to show / give my client access to the backend while its in development, it can't very well be faked.

Their going to input data that may take months and that backend needs to be as real as the front end.

If this is for a startup and your just trying to get a backend up and running so you can start inputting test data or see how things look - ok - but for any client work, this would never fly - IMO.
People keep telling me to use MDN but I find their sites bloated when I just want to quickly look something up (which is most often the case).

Random examples:

http://www.w3schools.com/cssref/sel_before.asp
vs
https://developer.mozilla.org/en-US/docs/Web/CSS/::before

http://www.w3schools.com/cssref/pr_background-repeat.asp
vs
https://developer.mozilla.org/en-US/docs/Web/CSS/background-...
Developers creating solutions for sysops – make sure your software does not suck
You should allow payment in dogecoins too. I purchased at 0.25 cent btw. Another suggestion is you might want to change the increment of payment to small number than 0.05cent. The value of the service increase directly with the number of people viewing the site. The initial users will want to get in because they see it can be big, so they don't mine spending a few cents, but you want as much new users as possible so the word can spread. Also, provide some mechanism that they can spread the word about their purchase.
But if the only reason they hired someone else was because of speed, it seems really unreasonable. If he needed to spend 30 minutes reading about RSS and did a good job in the end, it really doesn't matter if he spend a little more time.
I haven't heard of a case where it was removed later by apple for an issue like that. Perhaps the author pulled it down. If you aren't doing much in the app store, and just make a simple app for fun one year then it is easy to just let your $100/yr membership lapse.
I think you're timing the import in there, too. Plus, creating an object of a class rather than using a literal will always be slower.
I think you are right, but then, you would not dismiss him based on time.
The ‘Very Large’ Hadron Collider needs a better name
Added worked example to logistic regression project
My brother would love to hear this news (not). He's just been hired as a pilot. Not, luckily, in the US.

Surely the cost of running a plane is vastly larger than the cost of a pilot's salary?
Does the --setup statement really get timed?

My reading of the docs[1] has always led me to believe that it doesn't. For example, "It is possible to provide a setup statement that is executed only once at the beginning"

[1]: http://docs.python.org/2/library/timeit.html
Form https://docs.google.com/presentation/d/13LSNCCvBijabnn1S4-Bb... over 13 revised version, and definitely going to improve this 2014
"My experience in working on Graphite has reaffirmed a belief of mine that scalability has very little to do with low-level performance but instead is a product of overall design. I have run into many bottlenecks along the way but each time I look for improvements in design rather than speed-ups in performance. I have been asked many times why I wrote Graphite in Python rather than Java or C++, and my response is always that I have yet to come across a true need for the performance that another language could offer. In [Knu74], Donald Knuth famously said that premature optimization is the root of all evil. As long as we assume that our code will continue to evolve in non-trivial ways then all optimization6 is in some sense premature.

For example, when I first wrote whisper I was convinced that it would have to be rewritten in C for speed and that my Python implementation would only serve as a prototype. If I weren't under a time-crunch I very well may have skipped the Python implementation entirely. It turns out however that I/O is a bottleneck so much earlier than CPU that the lesser efficiency of Python hardly matters at all in practice."

-- Chris Davis, ex Google, Graphite creator
> the relevant time consuming parts of execution are in other areas, like waiting for I/O, etc.

It's safe to assume that people complaining about a language's performance deal with CPU bound cases.

> In most of the cases, a program done in Python (or Ruby, or JavaScript) is not slower than a program done in C or even assembly.

This is false: http://benchmarksgame.alioth.debian.org/u64q/benchmark.php?t...
this hits me right in the nostalgia-feels. great approach to a typing tutor!
Of course there's incentive to secure consensus! If you don't secure it, you lose your domain name. It's like a registrar, only distributed and (maybe) safer.
How I Ended Up in Solitary After Calling 911 for Help
That's why I said "much of JS" and called out server side JS specifically.
DMO's New Blog Dedicated to Addressing the Issues Doctors Face with Mortgages
Reddit has the advantage of having more subreddits than there are word definitions in a dictionary. I'm not sure a subreddit exists for people who enjoy posting videos of pimples being popped, but I'd be more surprised if it doesn't exists than if it does.

StackExchange is doing this a little as well, with many other sites being created. A good example of that is http://codegolf.stackexchange.com/
> Also, web servers might want to consult NTP servers now and again.

CloudFlare doesn't host web servers for their customers. They forward HTTP/HTTPS requests to origin servers outside of their network (or serve from their cache). I don't think the DDoS traffic actually hit any of their customers' origin servers (assuming origin server IPs are not known by the attackers). But yeah, it still means CloudFlare's incoming pipes being hit with 400Gbps of traffic before they're able to filter anything.
Google please buy Verizon FIOs and all other fiber ISPs! Building out your own ISP is going to take decades.

A national Google Fiber is needed more then ever with this potential merger and Net Neutrality being struck down.
A better interface? I’m not saying it has one mind you, but they could offer it.
How to Choose a Good AR Drone API
Such a bad experience that I felt compelled to start a blog..
Ahhhh AppleSoft + whatever graphical extensions, GPLE, Toolkit Assembler (there was another assembler but I don't remember its name), Pascal UCSD in 80 columns,cp/m,... Memories...
If science had found biological origins or symptoms for mental illness in the brain, don't you think these would be used for diagnostic purposes?

Szasz was indeed a deeply unpopular man, but progress often depends upon such people.

For instance, did you know that he was the first psychiatrist to claim publicly that homosexuality is not a disease? (In 'Sexual Inversion: The Multiple Roots of Homosexuality', ed. by Judd Marmor, Basic Books, 1965)
If we all waited until we were 100% accurate before critiquing anything, then nothing would ever be critiqued - calm down and take your own advice.

This is a classic example of duplicate content in the SEO sense: there are multiple separate URIs which present the same content to the user. That's definitionally duplicated; the fact that it's down to badly-implemented load balancing is irrelevant.

The obvious correct solution would be to handle the load balancing at the DNS level, or with a single canonical load-balancing endpoint. If that's not possible, then using <link rel='canonical'> tags will indicate to search engines that the URIs point to the same resource, allowing a single canonical URI to be defined.
Opera doesn't just use Blink, it is based on Chromium. If you have performance issues with Chrome, Opera likely isn't the solution you're looking for. Chances are tomforb.es felt it was faster because it had a new, fresh user profile without history and other cruft. Or it was just the placebo effect.
"we consider simplicity to be uncomplicated - not limited in features and functionality"

I cannot believe this is an official position for a company like Apple (or any company for that matter).

My advice would be to move away from native and towards the web, as opposed to baking in useless features or planning new features that rely on native capabilities.
It reminds me of flash all over again.
Great platform! It brings the power of social networking to the sports betting world, making this way the betting community more connected and interactive. Worth a try!