skysight-inc/HackerNews huggingface dataset:
Ask HN: Writing stable, maintainable, production-ready code in Python
For the last five years i have been working as a Java developer, mostly doing backend stuff, APIs and automation.

I now started doing some private projects with Python and i love the language and overall philosophy. However, i find it rather hard to write good, maintainable and stable code the way i do in Java. In Java there is type checking, Exceptions are enforced and Eclipse will nag about everything that looks like a hack. In Python, i feel like my stuff can fall apart at any moment.

So, what tools and best practices are you using with Python?
I think it fundamentally changes how the lessons are being taught.

Sure, you'll need to spend some time to understand the fundamentals of solving the problem, but afterwards (and just like in real life) you'd punch the problems into the computer and solve them.

This leaves the field open to expand the lesson into more in-depth topics, rather than getting bogged down on the simple math.
It's a way to catch a good amount of fish, quickly, without any specialized gear(nets, etc..). It also doesn't require you to sit there, in the open with a fishing pole. Drop the poison, hide. Run back and collect.

They're very edible after being poisoned. The amount of "poison" it takes to kill(really stun) a fish isn't much. No where near the amount needed to harm a human.
Zo realiseer je een veilige aardgasinstallatie
What government are you talking about? Does "free" education implies the obligation to give all your life work output to the government? This seems very foreign, please name at least one country that implements those ideas.
I think that is another argument against Google's approach. If one can reliably detect traffic signs, why build that database? For traffic signs, one could argue that it helps increase recall; if the car knows the locations where traffic signs were seen earlier, it can decrease detection threshholds for those locations. However, the car still would have to be able to reliably detect new signs (say for a temporary detour) on first sight.

Things are way worse for all kinds of changes to roads. Even if the first car correctly classifies that white spot on the road as a lost paper that it can drive over, what good does that do the next car? The wind may have blown it away or to a different location and into a different shape.

To me, Google's approach seems an attempt to build a model of what the entire world looked like a short while ago, while cars only need a rough model of what it looks like now.

Scaling Google's approach to millions of cameras in million of cars may improve the model and decrease its latency and might make the latency low enough, but I don't see why it would be the best approach.
Q&A with Internet and VoIP Pioneer Jeff Pulver
I will admit, as a once ardent anti-math student, I appreciate how frustrating it is to sit down, stare at a problem for 10 minutes and advance no where through feeble attempts.

When I began taking Calc 2 (as an adult who's worked and gone back to school), I found wolfram alpha's integral solver to be INCREDIBLY helpful for working through practice problems (to your point, I was using it as a check/next step assistance). I ended up with an A in that class because of Wolfram's ability to help me work through a problem regardless of the hour, or day.

I think if this (or a similar app) helps students work through problems and recognize errors they're making, it can absolutely be beneficial. I would concede with respect to the homework solver aspect, but hope that teachers could some how incorporate this into their classes, something along the lines of an account management system that shows the teachers which students are requesting which equation.
database-per-user is a common pattern with CouchDB. If you need to aggregate data across your users for reporting etc then you can use a server-side replication to create a "master" database which is only accessible to your internal users.

You could also use filtered replication but it is:
a) not scalable
b) not secure (the whole db would still be accessible to all users)

Couchbase has a different spin on this via "channels" though I'm not sure how it interoperates with PouchDB.
That's not a bad idea, maybe in the signup screen have that option. I know a lot of people really hate downloading and app and having to signup before using it. Thanks for the feedback.
YC is a hack around the old-boy you-have-to-know-someone network. It's ingenious. YC implements a better filtering algorithm than the dumb who-you-know filter and sells the companies to VC's at a premium.

It's amazing most of the VC's have not worked out a better filtering algorithm themselves.
This would be the easy way. Another way - harder, but with more chance to succeed after funding, not at it - is following Steve Martin's famous advice "be so good that they can't ignore you".

I don't know much, but i have the impression that was what WhatsApp did. For what I know, it was Sequoia that went to them, not the other way around.

Sequoia is a top VC not because they sit on their throne waiting for the vassals be referred to them. They work their ass to have the chance to back the really good startups. Something similar with what Sam Altman is doing more now at YC - actively pursuing good companies to sell them the benefits of being at YC.

This is not binary (as in "bad companis pitch, good companies are pitched"), but it shows that there is another and eficient way. Even if rarer and harder.
here is what it looks like: amazon.com
"we're only getting old and die because the cells in our bodies get irredeemably bored (hinting to the possibility that some cells have better tastes than the individual they're forming)."

Very Douglas Adams.
Sorry for responding late, but completing the tutorial merely brings you up to the level of using vim. Like, OK, hit C-x C-s to save instead of esc :w to save. That doesn't really help, it just teaches equally productive keystrokes.

You can "rise above" by using emacs but its going to take a lot more than learning a different keystroke to scroll the screen. Learning all the features of your language mode, its debugger integration, integrated refactoring tools, project tool integration, it all takes time, and those are the areas where you get huge productivity gains when you put in the time.

I agree you are correct that the FIRST step is the tutorial but that won't provide any performance gains over any other bare text editor.
A Book Full of Startup Quotes
Docker Development Patterns
While it's not as full as OCR, there's an app called DeTeXify that will do almost exactly what you describe.

Android app link here: https://play.google.com/store/apps/details?id=coolcherrytree...
I'm curious what the actual price for this will be. I'm more interested in just mounting this somewhere so I don't need a keyboard or mouse for the pi.
Show HN: Bravo to Zero – the quickest way to get back to Inbox Zero
I think their point is, if you have 5 investors, 4 of them are offering you a high valuation and terms, and 1 of them has the lowest valuation but he brings the most to the table in terms of connections, advice, being aligned with you on the vision, etc, then you should go with that last investor, even though his valuation is the lowest. This is the same point that CloudFlare's founders stressed in their recent interview on startup school.
The NYPD’s New Crime-Fighting Technology
New Study: The Power of Report Cards
You only need a writable folder in your local PC to install portable versions of almost everything you need.
"Seen" making? I think they mean "imagined" or "might make" or "in the wild imaginations of someone looking for funding".
Pop quiz: Which space vehicle does that article misspell. And why?
Interesting simple cup test. I can't wait to see other, more comprehensive applications.
You really don't get that for free though, since you saved versions of everything you'd quickly exhaust the heap. Also, one could bother with delta checkpointing (only copy dirty pages) to get something like this in an imperative language, or build a programming model especially suited for it [1]. Functional programming doesn't really make this much easier (even if you use persistent data structures).

[1] http://research.microsoft.com/en-us/people/smcdirm/managedti...
Come one man, don't take everything so seriously.
>Imagine talking to someone and using an app that assigns a probability the person is telling the truth based on language, tone, facial changes and reviews from other users of that app.

That would be no better than our current biological means of handling the problem though. They both rely on analyzing data from sources that may or may not be accurate and assigning probabilities. What happens to the person who is given a high probability of being a liar because we have biased data based on race, sex, gender etc?

The problem is indeed very complicated and I'm not convinced technology will do a better job at that. Tech doesn't know that this person who has a poor review on linkedIn or whatever was actually suffering through loss of a close friend, relationship issues, etc. which all affected his/her mood.

As much as I love offloading tasks to automated systems, I fear that we might go too far and offload some of the things that make up our core humanity too.
Show HN: Rolly Candy,an addictive iOS game I built as a side project
This is my entry for the 2014 Rails Rumble, built in 48 hours.

You may be understandably reluctant to hand over access to your email to a third party, so if you think it looks useful but don't want to do that I've released the code [1] so you can run it locally or deploy your own instance to heroku.

Hopefully it's also interesting as a hectic but full stack example of a Rails and Ember app that does something useful. Figuring out how to get the google apis wired up was quite painful so hopefully it will be useful if you're interested in playing around with the new Gmail apis without bashing your head against a wall too much!

If you like it you can vote for it in the rails rumble by logging in with heroku or twitter [2]
[1] https://github.com/railsrumble/r14-team-94
[2] http://railsrumble.com/entries/94-bravo-to-zero
It's not that hard to get to know someone who knows someone at SV Angel.

If you have something to show, just write an investor or entrepreneur you like if he can give you advice on something on your startup and they will surely be willing to give you an intro to SV Angel.

This goes for all other investors besides SV Angel as well of course.
Mentors and Vintage Oars
So, now all Firebase customers' data belongs* to Gogle?

*) Not in legal sense, obviously, but as a fact who handles storage and transmission of the data.
What arguments are there in favor of weak typing?
Q Magazine Awards backstage
For personal use it's really affordable, but what about companies like saas, online magazine, newspaper etc?
There must be a presentation to this?
Deprecation of SHA-1 and moving to SHA-2
Health-wise, I know which one I would be reaching for first if I needed to treat a wound. I haven't yet heard of medical grade HFCS. http://cid.oxfordjournals.org/content/46/11/1677.full
For a related tangential idea to "mindset you can't change willfully", think of a continuum along two axis, one of addiction/habit vs mere temporal coincidence and the other axis of fix it yourself vs professional intervention. Maybe a third axis of success rate! And a fourth axis of success of introspection/interpretation something like (reality) - (the victims observation).

Another fun related tangent is the article examples were very pedestrian and conventional, I wonder what the article readers would think about old dudes at a SCA event or a civil war re-enactor event. Or a star trek convention. Or a Renaissance Faire.
Portfolio Project Ideas for Web Developers
Journalistic style tends to favor unambiguous sentence construction over (arguably) more elegant construction. Among other things, this generally leads to, for example, repeating nouns rather than relying on people to decode which noun a given pronoun is referring to. Not that this is bad style in general. My advice is that whenever a sentence requires complex parsing of punctuation or whatever to work out its meaning, it should be rewritten.
Yeah. Totally inappropriate title.
How safe is mouldy food to eat?
6 Ways to Power Up Your Brain
The noteworthy distinction is we can rebuild a car from scratch - a great many human "parts" are irreplaceable.

I hope we're really considering the effect of widespread longer life might have instead of barreling toward longevity - people living 10 years longer on average could have a pretty devastating effect on a lot of things. And I'm not saying we shouldn't do it, but we should be really thinking about how we'd mitigate that impact.
Well, it took some RTFMing, but overall it seems quite good. The ports system is great and it has a lot of simple stuff I really like, like having a list of vulnerable packages emailed to root automatically every night by default.
Huh, odd coincidence that Google has a web-based platform for docs, mail, file sharing, etc...
No, it's cheap because it was designed that way. People were poor and the wild West like environment let us build cheap infrastructure using plain copper based Ethernet.
> I think Linux has an edge in driver support, and corp vendors -- especially for gaming with things like Steam.

Still, remember when using linux meant compiling the kernel ten times, editing some .c file, changing some obscure flag. And then you needed to open that .doc, .ppt or use msn messenger. You tried dual booting, but windows kept rewriting the bootloader...

Now, with VMs and tech like PCI pass-through this is just SO easy, that issue is less relevant and will result in more popularity for other OSs and a reversing of the consolidation trend.
Doesnt Amazon Prime credit have to be reported as cash for tax purposes?

That is if you get over $600(the IRS rule was $600 in late 90s not sure now) in Prime credit it has to be reported.
If this is a real effect, it does not necessarily involve magic. I find it quite easy to imagine an organism evolving to subtly alter it's physical state according to the function of it's nervous system. Why is it so hard to believe that the mind controls the body at a cellular level? Even if this is a magical effect, it can still be codified and brought within the bounds of scientific discourse.
The dangers of evidence-based sentencing
Mobile Apps: An Overview
" still lots of software and data exchange dependencies within the average large corporation"

That's what Google threw into the trash and solved their problem.
Surely the point of using a super-fast transport method is in order to traverse long distances. Say for example that the 40 mile journey could be done by a 60mph train in 40 minutes, whereas this new train will take 15 minutes. That's only a saving of 25 minutes. If the train is only running once every half an hour or once an hour, people will end up waiting around for a train for longer than sitting in it.

Run this over a 400 mile journey, and yes I'd say it was worth it.
>>critical a system for a black box

Didn't open-source systems like SSL take quite some time before vulnerabilities like heartbleed surfaced as code-bugs/code-vulnerabilities?

Also to directly address the issue of critical systems and robustness, am not sure how far reaching open-sourcing might be in tending to issues.Are there projects that have made the transition for good?
How would you have written them?
While I believe that class with Woz is awesome, I wonder if the video-lectures is the worst of both worlds. It lacks the interactive in-person presence of real classes (teachers making eye contact with all the students to understand who is following) and lacks the trial and error ("Pick the best of the 10 times you video it") of a MOOC. That said, the 1 on 1 telepresence sessions with Woz would make the class worth it no matter what other challenges are included.
So your department needs a document management system that will make sure you are in compliance with all of the regulatory requirements that affect your industry as well as interface accordingly with vendors and other departments in your organization. The software has plugins with Word 2013 on Windows, Acrobat 11 on Windows and Outlook 2013 on Windows, but now people are allowed to pick whatever platform they want.

What do you tell the Mac user? What do you tell the Linux user? Boot a VM whenever you want to work on a document? What do you tell the iPad user?

In many large organizations, simple file systems won't work because they don't scale and you can't tell a legal department "oh, you need to share/version/distribute documents? just use this program called git, it's easy, let me show you and once you've got the hang of it, you call the appellate judge and tell him that he just needs to do a git pull to get your brief".

When every software package that's deployed in millions of installations around the world that's only available in the Windows/Office/IE environment is completely cross-platform, then yes, you'll have completely interoperability between Windows, Mac and Linux machines, as well as iOS and Android devices. Until, the "I've had Mac, Linux and Windows machines on a home network" line has no bearing whatsoever on intolerability of software packages an enterprise environment that needs to interface to hundreds of external organizations daily.
Shouldn't they use the ratio publications/faculty size instead of absolute numbers?
Blowing up the Atomic Barrier:  Atomics in C and C++ [video]
The stuff we do under-the-hood would make this relatively simple to implement. We already have a custom, intermediate, math expression language which we use to hold scanned data. One would only need to write a converter from this language to latex instead of the visual typesetting that we display on-screen
Sure

If you're "can use technology" (secretary) you get a completely locked down machine, preferably Linux or FreeBSD with a Web Browser and Google Office or OpenOffice (or whatever it's called now) and that's it.
I don't think there is now, or will be anytime in the foreseeable future, the demand for 300mph service between DC and Baltimore. The only possible driver for this would be for affordable housing. Home prices in and around DC are exorbitant, but they are relatively affordable around Baltimore. So this would have to be a 300 mph commuter train. And commuter trains make a lot of stops, meaning it wouldn't approach anything close to that speed.

Bullet trains would only make sense over long distances. This won't happen. What we need is more commuter rail capacity, and more lines, so the trains can make fewer, faster stops. We need to move more people more efficiently, not just faster.
Previous HN discussion: https://news.ycombinator.com/item?id=8481851
Metro is not "free press", it's a joke of a newspaper. Nobody can seriously think to rely on Metro for political or hard-hitting news.

What if the tax is just a trojan horse? If it's introduced, the government will have to install "smart meters" somewhere, checking who consumed what in order to reconcile it with the amount of paid tax. The move from "smart meters" to "total eavesdropping capability" is then just a firmware update away.
What Is Hadoop and Five Reasons Organisations Use Hadoop
Are there data caps? Also, how is the upload speed?
I was merely speculating, but I think Hungary might set the precedent.

Alternatively, whenever you buy storage media (DVD-R, HDD) there is a surcharge that goes to authors. That's all done on the premise that this media will be used for piracy.

You already pay tax on information when you watch Netflix or licence a patent.

Also I did not say give it all to government.
17 Quotes from Marc Andreessen & Ron Conway each from the lecture: https://medium.com/how-to-start-a-startup/17-quotes-from-mar...
I mean being able to store a full game in concise form (by just storing user input) and then "replay" it - show what happened in the game, step forwards and backwards in time.
Assuming the portables are downloadable from a whitelisted website. Or that your USB ports aren't configured to encrypt anything you insert. McAfee, I'm looking right at your ugly endpoint encryption...
"Shit, I literally just read a racist internal email an hour ago about the new cleaning lady at the office."

Serious question. What did you do about it?
You don't have to save versions of everything because your functions are pure, so you just save your inputs and you can recompute what happened.
'To imagine as possible' is a common meaning of 'see'. It's obviously not 'perceive with the eye' in this case.

Definition 3d here:
http://www.merriam-webster.com/dictionary/see
Is 2014 becoming the most unpredictable year of college football?
I saw "Meteor" presentation on their website yesterday. The 'real-time' client-server approach is impressive. I was impressed. Their straight-forward non-MVC approach might be handy for small projects.

To me "Meteor" looked more like a direct competitor to Sinatra than Rails.

Anyhow "Meteor" seems pretty impressive.
seems related
Hackernew Tools of the Trade 2014
https://github.com/cjbarber/ToolsOfTheTrade
I understand the possible use of 'seen' in the headline but in this context it would be taken by most readers as 'observed'. Sloppy sub-editing at best.
Yep, and I believe they mention a plant or plants that only affect cold-blooded animals so the fish is safe for consumption.
What good is a "privacy policy" if it doesn't create an expectation of privacy?
Show HN: Introducing InstaFollow, the instant follow back button for Instagram
Logistic regression is similar to his example on fitting a line to an exponential trend. The differences is that in logistic regression, the equation would be

ln(p)/ln(1 - p) = α + Σßᵢxᵢ

where p is in the interval [0, 1] and E is .

Note: in logistic regression, the notation is generally p (as in probability of event), not y.
Yes but you can mediate out of an asthma attack
Download pangu8
Ask HN: Installing windows 10 on Nexus 5?Possible?
Since windows says one OS for all Devices.
Will it be possible to install windows 10 on nexus 5?
Anyone tired already?
So, I'm not a scientist, but could there be value in incentivizing land owners and countries globally to sprinkle compost everywhere? I.e. we go into normally arid parts of the world or sub-prime agricultural plots (parts of: africa, south america, china) and sprinkle their territories?

From a global warming perspective, it makes sense, but also from a "how do we feed 10-15Billion people" perspective makes even more sense.
Essential Patterns in Go
Quantity over quality?
It seems like a failure of the course/teacher if you are asked to solve a problem in which you can't identify the requisite steps and make progress?

In my mind the reason for problems is to practice the techniques taught until you can:
a) avoid common pitfalls
b) recognise common patterns
c) minimise calculation errors with sense checks

However, when this problem set is marked and impacts your results obviously the incentives change from learning by doing to getting 100%. Once you have an app like this for "checking", it takes decent appreciation of the long term outcomes to avoid using it for "solving" and then going off to play some Frog Fractions.
If you like walks, force yourself to go for a 1-hour walk every day for a week. Even better if the walk is together with a friend you can chat with.
This is a nice concept. Will try it out in my blog to see if I get a few followers.
NEW BOOK RELEASE:a Must Read.NEW Book,Nook,Ebook and Kindle EROTICA' – AUTHORSdB
Nice useful article.

Accurate title too, but one can't help but think this a dumbing down of HN when tech articles follow the "10 things you never knew were worth listing" route ;)