skysight-inc/HackerNews huggingface dataset:
nice app. just quickly wanted to report a bug: on smaller resolution the sidebar cannot be scrolled down.
I am 17 and had a lot of problems because of programming.I studied at this prestigious school got kicked out because of my grades.I was learning python and didn't care about school but I never regretted it
Hee, just being cheeky. Of course David's free to be cheeky if we ever post a ShowHN
I love the Jeeves and Wooster books and TV series. My first Django project was: http://jeevesandwooster.eliseratcliffe.co.uk/. This is a website with information about the Jeeves and Wooster TV series. By the way, I'm very much a beginner programmer so would really appreciate any feedback on the site.
1. gene networks is a big one: some proteins turn genes on or off. Some of those genes get translated into other proteins that turn genes on or off. How can you infer the interactions from experimental data? How can you figure out what these complex networks DO?
2. Predicting gene expression: where do proteins bind to the DNA? How can you predict what these proteins do once they are bound ( add chemical tags to structural proteins, knock off structural proteins by bending DNA, etc)? How can you predict how frequently the gene will be transcribed? How does the 3D shape of the DNA effect this?

These are just two of many questions ( biased towards my research interests of course ). It is really funny that he mentions sequence alignment and phylogenetically as the two big problems, because people generally consider these to be boring, uncool, solved-well-enough-for-our-purposes problems nowadays and just trust the algorithms described by Durbin decades ago. It sounds like the writer really doesn't know bioinformatics that well...
Possible he sent me a link, but we discussed it, and he said he followed the same steps as he usually did when he'd attached images before. I didn't watch him.
I'm horrible at actually doing design, but better at figuring out what I do and don't like about design. It is a curse :(
The procedure that I use is simple, regardless of the underlying complexity that makes it simple.

Eating is simple, even though the body is complex. I'm glad I don't have to explicitly operate my pancreas.
I had a short look at scikit-learn for a hobby classifier I'm writing (it aims to email me interesting HN articles so I don't waste much time reading things I don't like or refreshing HN all the time), and it looks fantastic. I haven't looked at the code or used it very much, but the documentation is very thorough and informative, and the library itself is very extensive.

There are some things missing, (e.g. The naive Bayes implementation is offline, which is not very useful to me), but the library is fantastic for prototyping, at least. Congratulations to the people working on it!
Now I understand it. I wasn't aware one could append a subscript operator after a litteral string. I also didn't know of the second : role. Thank you.

But what do you get if x is 0 ? As I now uneerstand it, you would get "fizzbuzz". Shouldn't the list start at value 1 ? So shouldn't the range be (1, 101) instead of (101) ?
Web browsers aren't HATEOS clients, the web sites/applications they make accessible are.

I work with a team on a complex web service and agree with all of Steve K's points. A REST-like approach using appropriate HTTP verbs and a good resource design are (given the right use-case) a big win. The problem for me with HATEOS evangelists is that they seem to think it solves more problems than it actually does. Sure, we now have a layer of abstraction between logical and http link but for anything other than trivial changes you always have to have human readable documentation. HATEOS works brilliantly for the web because there is a human at other other end who understands what "new comment" is and how it's different from "new private message". My customers' API clients don't have this semantic understanding. Now I know that it helps dev's if they can navigate around my API but it's no substitute for well written documentation; HATEOS API's are something to strive for but not self-describing as some claim.
Good idea. Subscribed!
I'm sysadmin of one full reservation system (400+ hotels around the world) and I can say this an accurate read.

We are integrated with 20+ OTA in different ways, although 90% are pull systems, they call us for data, with the Open Travel Alliance protocol (OTA again), and it is a complex system (which it is not bad).

Maybe I can answer doubts you have :)
You could just have a dedicated domain for it, then there's no risk of XSS. It's doable, but it would be rather fragile.

The render bomb point is a little trickier, as you can use some detailed filters to crash most browsers. Heck, even a single simple shape will crash any version of iOS.
Zara’s Disruptive Growth Strategy
There's a lot of similar apps on the app store that let you view accounts / exchange rates, just not take part in transfers. It seems they are allowed, just not ones that allow trading.
Without `from __future__ import print_function`, print doesn't work the same way in Py2k, though.
Imagining a skeuomorphic-free, all-aluminium iOS 7
In Python 3, zip() fortunately already returns an iterator.
Well, it's funny, Viva is predominantly built on Drupal (which is open-source), though running D5. Then there is a heavy amount of customization on top of it, including hacking core. I inherited it 2 years ago when I came to work for Kiva and had to do a lot to get it to just stop breaking all the time. That said, actually two non-profits have asked to use it or have a similar functionality built for them, and I'm interested in doing something like that, but we'd have to de-couple all the Kiva specific stuff.
Mac is Linux done right
Well, that's the way it goes. Apple won't approve bitcoin apps that are actually useful.
Does anyone else see irony in calling a "skeumorphic-free" theme Aluminium?
The Hollowmen (an Australian political sitcom, somewhere between Yes, Minister and The Thick of it) had something like this. The Prime Minister wanted a building, so he could get his name on it. The problem is, Canberra (the capitol) was already full of buildings with Prime Minister's names on them, and there wasn't any space to put anything new.

It's a great photo-op. "This $x million building will teach a new generation of students".

There's also the scope for corruption, when they pick the builders, but that's another story.
Don't forget itertools.product

http://stackoverflow.com/questions/13885234/python-nested-lo...
A web app where this is just one HTML file but the JavaScript gives it the feeling of being a whole site (client side template rendering, etc). I think in essense a single page app is one where there is no server side temp laying.
My Approach on Making the Dreams Reality in 2013
This is not dynamic vs static. This is automatic type coercion vs explicit type coercion. This is not the same thing. Weak and strong typing are completely orthogonal to if the language is static or dynamic. Weak typing mean values will be automatically coerced into something it isn't, whereas dynamic typing only mean that you will get your error during runtime, not at compile time.

Javascript is dynamic and weakly typed. C is static and weakly typed.
In 2.7, it does.
Thanks for the feedback. Geolocation information for new IP address that is not already in our database comes from third-party API. We have enabled asynchronous call to the API to speed up the lookup. The current response time for a new lookup should range between 0.6 to 1.2 secs.
Right now experimentalists generate data and then try to find computer people to analyse their data. However, in the not too distant future computer models will drive experimental research as hypothesis generation tools. Then the computer people will be seeking biology people ( or robots) to run experiments to validate their hypothesis and there will be more respect for the field.
You're technically correct - it's all a matter of degrees of certainty. That does however not invalidate any of the points made in the article.

If that native C application runs on a server that is fully under your control you stand a far, far better chance then when that native C application (say a web browser) runs on some computer not under your control. Especially if that native C application is explicitly written to accept run-time addition of random third-party code (aka browser extensions).
Harvest: 2012 Year In Work
Very good list except the fizzbuzz example. It solves the problem but not easy to read, which is not python way.
My understanding is that the crux is that in exchange for a very simple and easy licensing of the original, Jonathan Coulton signed away all of his rights except for his rights to his actual performance/recording.

Weird Al gets more complicated (and presumably expensive) licenses of the originals, so that he full out owns his creations.
“She fitted into my biggest arm-chair as if it had been built round her by someone who knew they were wearing arm-chairs tight about the hips that season.”

There's also the litmus test of the Wodehouse phrase: "The unpleasant, acrid smell of burnt poetry."

Quotes filched, after a short search, from http://www.goodreads.com/author/quotes/7963.P_G_Wodehouse , which holds some pages of good ones. Unfortunately, a few are poorly sourced and look like cuckoo eggs to me.
It DOES clarify things. Maybe not the way you'd like though.
Unfortunately not.. atleast not in my 2.7.3 prompt.
Only with the __future__ import :(
Using the same logic, you need also review CPU and hardware since it may contain backdoors or other intentional insecurities. Even worse, there are allegations it's already happening:
http://hexus.net/tech/news/cpu/40037-china-made-us-military-...

Of course, changing the interpreter seems to be an order (or two) of magnitude easier than supplying malicious interpreter. However, I would argue that if you are able to replace JavaScript engine you could do same with whole browser, so SSL is also worthless...
As every year, this list is just senseless.

How many companies in this list or non American and how many are Internet companies.

This is a brainstorming not a rating. And it has a aweful home bias.
kill the ids, URLs are ids having extra ones just makes life harder. You could have an ordinal for presidents of course.
Good news is that this will be fixed in Chrome v25 (http://code.google.com/p/chromium/issues/detail?id=94369). Recent versions of Firefox and IE already provide good support.
The point of the article was a counter weight to Chunka Mui's on the same day which claimed Google was going to dominate a trillion dollar market - they will be a supplier at best with competitors, over a very long roll out period.
Driverless cars on roads where people's lives are at stake is a social-legal-regulatory issue and even when the software is solved these issues remain. Even when there are cars capable of driving unaided, humans will be legally responsible for them - so we need to factor that in too
Republic Wireless’s Plan Melds Wi-Fi and Network Calling
Suppliers to the car makers, like those that produce anti-lock brakes, do good software. Car makers typically have Silicon Valley offices. And they typically buy components from companies rather than rely on themselves. None of that means Google will make and driverless car that sells in the way the original article claimed.
While a valid observation, there are other physical limits which affect the analysis. For example, assuming constant density and ever increasing sizes (which it does), at some point the computing machine will turn into a black hole. With DNA storage, the density is about that of water and the maximum storage size will be about 10E8 solar masses or about 6 AU. This is a sphere about 50 light minutes in radius, though of course the gravity well will be seriously distorted by this point and the system will need some added reinforcements to handle the rather immense pressures involved.

Any model which assumes constant density will be subject to the same absolute limit, so Ω notation doesn't apply. There is also an upper limit in information density, due to quantum mechanics.

Two other factors apply. Landauer's principle places a lower theoretical limit of energy consumption of a computation. The digital logic to look up something of index N requires at least log2(N) bits of logic for the addressing. You have to cool this off somehow, and the Stefan-Boltzmann law places a limit on how much you can cool in a vacuum. The only resolution is to slow down the system. That might place a higher constraint on the time analysis.

EDIT: Oops! Quite the other way around. The energy needed to keep the entire system warm, despite S-B cooling, will be a limiting factor. Someone else will need to do the full analysis.

And secondly, this assumes there's no need for error handling. As the address size increases, the error rate per address increases exponentially. This requires more space and more heat in order to bring the error rate down to an acceptable threshold. I don't know how to factor that in.

Therefore, instead of worrying about complex physical constraints which are not relevant to just about any computing issue, algorithms analysis uses a specific RAM model, like the trans-dichotomous model.
In fact the article was not anti-driverless cars and says Volvo will introduce some driverless features in 2014. It simply disputes the idea that this market is Google's for the taking
The title was a clear response to another Forbes article that claimed Google was about to inherit a multi-trillion $ market.
then follow the threat back to Chunka Mui's article.
Just searching now, it seems there is actually a verylarge number of Wodehouse stories on PG: http://www.gutenberg.org/browse/authors/w#a783
>Use of the word "ain't" is sanctioned by most English dictionaries, and is thus optional as well.

This is the dumbest thing you've said yet, and that's jumping a pretty high bar.

>You might want to stop before you embarrass yourself further.

I was just going to suggest this to you. You're talking in circles.

You know what? You're right. There's no reason to try to persuade people to speak standard English. After all, the world needs ditch diggers too.
Best Gadgets To Look Forward To In 2013
And here I was thinking YouTube was the Instagram for video...
Well, I've tried developing on a mac and deploying to linux. Never again.
Whoah, wasn't expecting to see CVA mentioned on HN. I know someone who decided to go there thinking they'd get paid $60,000 a year after graduating with their fine arts degree. Of course, I'm pretty sure they thought the same thing about their first undergraduate degree, too, which was a liberal arts degree from a similarly overpriced private college. Interesting that CVA wasn't accredited until 2011.
I mostly find it hilarious.
Show HN: AgileCDN
Tech Networking In NYC For Five Dollars a Day
Using the cloudbase.io PayPal APIs with MoSync
> Interesting new ones are: lsm, lam, asr.

asr aside, I have lam(1) but no lsm. Is it native to OS X or can you borrow it somewhere?
Bertrand Russel in Bollywood
Oh, they'll accept them. They just won't count towards your major. They're sneaky like that.
How to Spur Python 3 Adoption
Fellow HNers - all business news lists are bullshit.

Secondly - they are amazing contra-indicators - remember Enron and WorldCom were first on these lists. So go ahead and pick the first company for a good all short because you know that if the business community thinks it's good - it's probably bad.
SVG implementations on browsers have historically been poor, though this is certainly improving. You'll hit many bugs and unsupported features. IE < 9 doesn't support SVG at all, and Safari < 6 only does so in XHTML. SVG fonts are sparsely supported. The alternative - rasterising SVG on the server - is a heavyweight task, I've not found any libraries which can do this quickly.

The worst problem may be SVG itself - SVG 1.2 which dates from 2004 was abandoned, and most browsers implement SVG 1.1 which is rather lacking in features. This makes it hard if you're a designer to produce SVG documents which a browser can actually render.

At a bare minimum any SVG hosting project would have to involve some sort of SVG lint, to make sure that browser-incompatible SVG elements are not present, implement workarounds for browser-specific bugs, and check that there are no <script> tags etc. The sheer size and complexity of even SVG 1.1 makes it non-trivial. One pragmatic approach to sanitize SVG may be to round-trip SVG -> PDF -> SVG via cairosvg and pdftocairo, though it may burn some CPU.
Two weeks to materialize your idea...
You should've used pgAdmin [1], it's much better than PhpPgAdmin [1]. I have not used the MySQL GUI (MySQL Workbench [2])that Oracle/Sun/MySQL sells with the Enterprise license but by its feature list I suspect that it provides comparable functionality to pgAdmin (which is FOSS). I would not put any of Php{Pg,My}Admin interfaces in the same category - they're too lacking IMO.

[1] http://www.pgadmin.org/

[2] http://www.mysql.com/products/workbench/
Best 2013 Gadgets that Can Change Your Life
I don't understand your arguments at all. Here's a concrete way in which a single page app may make use of it, without affecting UX at all:

Instead of hardcoding a URI hierarchy to determine where to issue a request to in order to take various actions on a message in a collection, look for link tags to specify them.

The immediate benefit is that it allows the server to signal 1) what actions it supports in the current context. E.g. if you're logged in as a user with restricted credentials, it might not return a link for the "delete everything" action, and when the rules change only the server side (which already needs the knowledge of the rules to validate requests) will need to change 2) endpoints can trivially change and the client side application is automatically up to date.

How much harder is this? You need to output a few extra tags and attributes. On the client you need to replace some hardcoded strings with lookups based on an xpath expression. But at the same time there are many cases where you may be able to remove duplicated logic.
How much control will we have over our personal data?
Was just on the front page top yesterday?

http://news.ycombinator.com/item?id=5120664
Interview for what you can’t change, not relevant experience
> As you described it, the query/caching strategy sounds too complicated.

But that was his whole point - needlessly complicating an otherwise simple setup to get around limitations in the DB engine.

> mysql proxy might help you out, or mysql triggers, or plenty of easy indexing strategies.

I genuinely fail to see how mysql-proxy [1] (which has a sleuth of long-standing, unfixed, problems on its own), or triggers would (elegantly) help in this situation.

[1] http://dev.mysql.com/doc/refman/5.1/en/mysql-proxy.html

edit: formatting
It's a nice piece of Bayesian reasoning, but it increasingly fails to hold up.

The problem is that while there's a very high probability that a randomly-chosen graduate of MIT is very smart and qualified, there's an extremely low probably (and going further down) that any randomly chosen very-smart-and-qualified graduate went to MIT. So by biasing your hiring towards MIT, you're almost eliminating false positives at the cost of massively increasing false negatives during the hot part of the business cycle when demand for new workers is highest.

I've seen a similar effect in action personally. I went to UMass Amherst for undergrad, and when I finished I did interviews. Some companies wanted to talk, many didn't, I ended up with two offers from BigCos and lots from SmallCos and start-ups (this was 2011, so yeah, during a hot-hiring cycle), but still a noticeable "failure rate".

I get a little bit of real work experience and then come to Technion (which, at least in this country, is not known to be called "Israel Institute of Technology" for nothing) for graduate school. Internship-application season arrives. Now everyone wants to talk, and the only things to which I can rationally attribute the change are the name-brand of Technion and the fact of having had some work experience (which does set me strongly above "pure academics", but many people work between undergrad and grad school).

I didn't change (much). I just acquired a pre-made Bayesian evaluation of my potential from someone whose word is taken more seriously than that of UMass Amherst. And the really neat trick here is that Technion simply is not as selective as MIT, by sheer numbers: I'm told that maybe the top 10% of applicants can get into Technion for undergrad, and another 20% of those (2% total) can do well enough to go on for an advanced degree. These are far more than the percentages of applicants who can get into the CS programs at Stanford, CMU, Berkeley and MIT combined. Technion just doesn't have equally tough competition for entry due to its smaller applicant pool.
Smaller, easier, more powerful, and more reliable than make.
Hard Drive Prices Continue Slow Decline
The new Start-Up Visa Program
Here's what I use:

# Adapted from http://autotelicum.github.com/Smooth-CoffeeScript/literate/partial.html
F.partial = (func, a...) -> (b...) ->
func (for arg in a then arg ?= b.shift())..., b...

For example, do `parseInt10 = F.partial(parseInt, undefined, 10)`, then `[].map(parseInt10)` does the right thing.
Haha admit it, everyone is thinking about Mega ;).

I agree you are right. Once you CAN deliver the code securely (like the author admits is possible) through SSL you should be able to encrypt things in the browser and send then to the server encrypted. This is what the author is saying as well.
Make fun of hate groups, get banned from Facebook?
Windows 8 Start Screen is step 2
Is it possible to have the dashboard auto-update itself instead of posting to it?
I do PhD research in metabolomics -- one of the latest omics in bioinfo-- with the CS department in my university. At the moment, we're working on alignment and identification of metabolite data. The data is not big in the sense of genomics data, but messy and complex due to the nature of the instruments (mass spectrometer), which will not get better THAT much in the foreseeable future.

Definitely a computationally difficult problem because while naive approaches work, they produce crappy results, wasting the result of tens of thousands of dollars of experiments. I see a big move towards applying statistical/machine learning methods, and graph theory stuffs in our field.

A lot of the rants in the original article are correct, with regards to prototyping and throwaway codes. That's because researchers are rushing to get an MVP out. The truly good ones got turned into (usually open-source) products, where the code quality hopefully improves a fair bit.

If you're a CS person who's interested or considering a move into bioinfo, I wrote a blog post about it recently: http://www.joewandy.com/2013/01/getting-into-bioinformatics....
Is it faster than single core on 3770k?