skysight-inc/HackerNews huggingface dataset:
there's mod_python, which has never worked in living memory, and there's PyHP which... went into beta in 2008, and hasn't noticeably changed since.
Ever wondered how to create a custom sorting algorithm in Java?
The difference between an chaotic and an non chaotic system is, how small perturbations propagate. In a regular system, you get essentially the same result, even if you start from slightly different initial conditions. In a chaotic one, small perturbations will amplify and therefore the system will end up in a very different state from nearly the same initial conditions. ( And if there is an experimental error, then the final state is essentially random.)
Same goes for C# and Xamarin, if you already know C# and enjoy coding in C# ...

If you don't know C# I see little reason to buy a Xamarin license (I know you can get started for free which is great).
We offer annual pricing at $468/year, an even better deal. Let me know what you think after you've had a chance to use us.
> Come on, I hate php with a passion and even I will admit it's easier to deploy than anything else

I don't see how this is true anymore. Setting up LAMP versus setting up LAMPython or Node are all one line of aptitude/(your package manager here). I can have a LAMP stack spitting out "hello world" in the same time it takes me to get a Node app running.
Internal Server Error

It seems like writing about ergonomics is bad for web servers ;-)
Would this be useful to you? It might be a bit problematic to integrate with servers (as you'd need the server to support that sort of hackery), but, from what I recall, mod_python did support exactly this use case.
Because this was already on HN.
Isn't this true for any CGI program? I know that PHP is typically run via mod_php, but what you have described is true for any CGI program.

It is somewhat expensive to startup a new interpreter process per http connection. This can be alleviated by using FastCGI, but then the interpreters are long lived and are no longer completely independent.
My opinion on the success of PHP has more to do with how it integrates with Apache... All of the other languages were designed as languages first, then web development was bolted on... HTTP is fundamentally request / response oriented and PHP provides brain dead access to GET and POST vars via simple to understand global variables... In addition, the same mechanism is provided for session state...
Thanks. As of writing Lines has sold a few thousand copies, so it's made a good ROI. After costs have been paid (servers, iOS dev license etc) I'll be giving some profits to chairty.
Yeah, I was kind of hoping for some sort of early buy-in opportunity for the Glass Explorer group but I guess no such luck (unless they clue us in between now and EOD Tuesday I guess).

I'm going to be bummed if I can't get a ticket and there's a lot of Glass dev content at the conference. I didn't have the time to go to either Foundry event.
Startupbootcamp and Rockstart Accelerator compare
This is very true. Despite iOS coming with a pretty decent weather app, I've purchased three other weather apps looking for something even better. (FWIW, I'm happy with Check the Weather -- http://checktheweather.co/)
Disaster is a Gift
500: Bummer...I was so curious about it..
For everyone except the people in power.
I have both a standing desk at work and a special saddle that I can sit on and use it on every chair:
http://www.humantool.fi/english/

The idea with the saddle is that it is so unbalanced that you have to correct your position with small movements all the time.
:set spell is pretty neat. Will use not when coding, but when writing blog posts.
That can be claimed for many other environments too. Ever tried to go outside the beaten path of Community Server?

It's an inherent issue with frameworks not with any particular language IMHO.
Terms of use don't insulate them from contributory copyright infringement charges.
Say you're on a shared host. How do you deploy Python in the same time as copying a few files in? You have to copy the files in and do some more things, which is a strict superset of the PHP way to deploy.
Somehow I don't think that the other languages prevent you from doing what you've just described. It's entirely up to you how you write your application. OTOH, sometimes you need some shared state, if it's handled in a careful fashion (stats collecting, anyone?). The last time I saw PHP, however, low-latency shared state was really awkward to handle.
Show HN: Broadcast slideshow in real-time from mobile to any web browser
Not if the aim is retaining permanent power for Kim Jong-un and the military junta that actually runs North Korea.
It doesn't handle it. You just upload the image to a public folder in your server, then link it from your html content. All pages are edited with vim and treated as plain HTML, there is no post processing --except for adding dates, headers, etc
It would be strange if this guy had anything negative to say about Python since "Should you need assistance with your Python project, we'll be happy to help through a variety of professional services."
> Embedding a webview for an OAuth handshake provides (to the user) no additional security compared to just showing a username/password dialog.

Worse yet, the webview is terrible UX. So not only is there no security advantage, but you also directly harm the user experience.
Could not agree with parts of this more - in particular, companies that think about bringing on data scientists to extract value from their "big data" would often be better off investigating whether they have the right architecture in place to do that well. It is a buzz word with a goto reaction; when it truth there is from what I have seen the scariest thing about big data is just unwieldy ETL processes grown from years of not thinking clearly about problems.
How often does the language core actually break, though? That's an absolute fringe case.

So what you say is true: they won't support code, but they'll restart the server and handle core updates. That isn't a big enough benefit for someone who detests a language that much.

I still think you're more comfortable with PHP than anything, which is how your valuation is being assembled.
HabitRPG – The Secret to Building Good Habits
1) `pgrep` is a standard utility that does what his `psgrep` does and much much more.

2) htop is a cpu and memory hog -- every time I've used it I noticed it takes 6+% CPU time

3) there's an awk trick to do the `sort | uniq` recommendation that works on 10+GB files (single pass):

awk '!x[$0]++'

4) Passwordless keys are dangerous -- use ssh-agent to save the password of the keys
Great to see a comparison between the two, maybe some more insights into their previous classes and their successes would have added to the piece.
>I don't see PHP as any more easily deployable than Node, Rails or even self-contained Go/Gorilla.

Really? Rolls eyes.

PHP deployment = copy the files to the shared hosting area. Done.

Go even needs building a binary for god's sake!

And people paid Katz nice money to make RoR more easily installable.
Making it a habit is the trick. As someone who's been making the sort of thing the author talks about a habit too I've noticed that there are two types of challenges out there; the Hard Things and the Scary Things. The do overlap but not completely and I think its incredibly important to not only challenge yourself by doing the Hard Things (physically challenging things, working hard, achieving goals, etc) but to be sure to focus on the Scary Things as well. There's a subtle difference.

The Hard Things give you stamina and help you to be more persistent. The Scary Things take you out of your comfort zone and force you to grow as a person while opening up new opportunities. For me, running would be a Hard Thing. I like to run but haven't in forever so it'd be hard to get into the habit of doing it and getting in shape. However, for example, introducing myself to the cute girl on the bus would be a Scary Thing. I neglected the Scary while doing the Hard but had to correct myself.

I think it's just worth mentioning that both Hard and Scary are important to real self-improvement.
For scraping, you may want to look at ScraperWiki (https://scraperwiki.com/docs/python/python_intro_tutorial/).

For search, see if you can use Solr or Elastic Search and it will save you a lot of headaches later. Do not reinvent that wheel. They both run as stand-alone systems that you just need to talk via HTTP to.
Its not wrong for you to approach everything so skeptically, but I think you have to see it from the authors perspective:

1. He clearly has an altruistic bent (he'd just returned from the Peace Corp. in Kenya)

2. He liked his position for its flexibility and variety as noted throughout the article.

I think the point of the article is that many people approach salary negotiations as an optimization of just salary. But his real desire was to be happy and money was only one component of that. The boss found ways to make him happy without meeting his salary demands.

The story isn't a story of a 'clear win' for him, its an analysis of how to approach negotiations. Salary negotiations aren't always about maximizing your salary, you can make them more flexible by maximizing for your happiness. It presents more flexibility to both participants.
Have you compared to idiots installing RoR and Java apps on same host?

If not, then you're not assuring him at all.
So in other words, the application will work just fine the day you sign off assuming the client doesn't update the language core.

Which is no different than with Dreamhost in this scenario. If, for example, PHP 5.X or 6.X ends up breaking your code, it's not like Dreamhost is going to debug it.

There's no functional difference here between PHP and any other language except that the hosting provider will automatically update PHP. And there's no guarantee that won't bork something else (which they will also not support).
Only one Vim tip? I'm disappointed.

Check out this resource!

http://www.rayninfo.co.uk/vimtips.html
Cloud storage: Price wars ahead?
http://ruboto.org/ also exists, so you can stay in Ruby if you like.
Hi, great looking app, well done! I'm wondering if you ended up caching the Tube status information on your own web server, or if you are directly accessing Transport for London's site?
It sounds like you were screwed by someone else and are bringing that bile over that situation to to this.

Clearly the author believes it was a somewhat raw deal in terms of the money, read the summation at the end of the article, however he shows that you can get something you want that is not directly monetary, and that long term value can come out of it.

Also he clearly says that he had the chops to find another job, but what she did was make the non-monetary compensation attractive enough that it fit. If it did not, he would not have taken the deal.

Also to address the "keeping you poor" comment, he states more than once that she showed him all the budgeting, and he agreed with her conclusion that there wasnt any more money. Where should the money come from?
>He could be implying shared hosting is the most common method of hosting.

He's not only implying it, he states it explicitly. No need to guess, the article is there.
> You can mess up and create a dirty execution environment.

Then don't mess up. It's not that hard. If you follow best practices (don't use global variables) you should handle this fine. I haven't heard anyone having this problem in Rails at all.

> I detest writing code in PHP for many reasons, but the execution model is efficient

No it's not. You'll have to re-open connections to databases all the time. You can't use keep-alive to external HTTP APIs. You'll have to re-parse the PHP for every request.

(Added later: Yes, this isn't how PHP actually works, and that was kinda my point: parent's concept of "PHP execution model" isn't actually used in PHP because it's stupid! There will always be some things that you want to share (connection pooling, opcode cache) so even PHP isn't a "perfect" share-nothing architecture.)

It's perfectly possible to write a shared-nothing architecture without dumbing it down to CGI.
NFS basically breaks the client computer until the host responds, while SMB detects the I/O error earlier and, at least, doesn't hang the terminal.

Other than that, SMB allows for permissions and a bunch of other features. It is, basically, a more modern and robust protocol. Does NFS shine for some use cases? Indeed. Would it be the first choice for most ones? Nope.

Disclaimer: my sysadmin skills are not so great, I'm talking as a user
Are you saying that she could have fired some other people and given this guy their money? Because he was working so hard that he could replace them? If not where does she get the money? You can talk about what you deserve to get paid all day long, but if the money isn't there, you have to take whatever money is there, or quit. And you keep talking about the company. It was a non-profit radio station in a tiny market, what was the next step?
If you've got a staff ID and a paystub I imagine you're good. Definitely bring a paystub if your ID doesn't have validity dates printed on it. A friend works for a university and his ID alone was insufficient as it just had his name and photograph on it; he had to get on his smartphone and call up his paystub on the university HR website.

Also they say they won't let you convert an academic ticket to a full price ticket, so if you quit your job before I/O it sounds like they'll just turn you away at the door for not being eligible.
Joel Skousen has an interesting analysis. North Korea attacks South Korea, the US defends South with tactical nukes. Then there is a nuclear strike on the US from Russia and China in retaliation, which might explain why the US gov is building super bunkers in the Ozarks .
Didn't expect so much traffic! Here's a cached version:

http://webcache.googleusercontent.com/search?q=cache:http://...
Is the triangle thing straight from amazon code? Because I think it would make more sense to track mouse movement and keep the submenu shown until the mouse is moving towards the submenu. Not in any specific triangle. If the mouse moves below, above or away form the submenu, the submenu changes.
Deploying a PHP site can be done with the use of one or two apt-get commands. In Python I'd need to do that plus write WSGI-related stuff in a script, alter the Apache configuration, etc. Check out the instructions for Flask or Django if you don't know what I mean.
To some people money is the ultimate proxy for happiness, for some it is not, and of course there is a spectrum. It sounds like money is a better proxy for happiness for you then it is for the author.

I actually had a discussion with my employer the other day about how next time he considered a raise, I would actually prefer more vacation time, or a shorter work week. I enjoy the stability of a monthly paycheck, and I enjoy the work I do. However, given the choice of more free time and more money, I currently desire more free time.

> Guess what you do with vacation days when you have no money. Sit at home and be bitter about the fact that you can't afford to go any where.

The opposite can also be said, "Guess what you do with extra money and no vacation days. Work all day saving money and be bitter about the fact that you don't have time to take a vacation and spend it."
http://webcache.googleusercontent.com/search?q=cache%3Ahttp%...

google cache to the rescue
Something similar: If you want to write down a formula for solving a cubic:
ax^3+bx^2+cx+d = 0, for give a,b,c,d,
you can't avoid using complex numbers. This is true even if you only care about cubics which have real solutions.

To clarify that last sentence, contrast it with the quadratic formula, which has no mention of the imaginary unit i. It's true that a quadratic with real coefficients might have only complex solutions, but you might just interpret that as having no solutions: once the formula tells you "take the square root of a negative", you know it has no real solutions.

Maybe this could be worked into something similar to the high school algebra problem, but with a list of axioms about real numbers.
Well, you could google and look at actual economic data to see that spending as a percentage of GDP is now over 24%, only outstripped by World War II era spending.
http://www.usgovernmentspending.com/spending_chart_1900_2010...

So where does your condescension come from regarding others' knowledge of spending vs taxation?
> That's not really true, Twitter just has a broken model where they want to authenticate the application as well as the user...

No, it is still true. There's no point, at all, to OAuth on a native client.

Native clients can:

1) Present fake browser chrome

2) Present no browser chrome

3) Inject their own scripts into the webview to acquire the username/password

4) Extract the browser username/password from the keychain

... and so on.

Enforced OAuth is simply a case of web developers foisting complexity onto native developers because they don't appreciate the goals and priorities in the native app problem domain.
Code sharing between platforms could make it a worthwhile investment of time and money. But it's quite costly if you are just starting out.
Absolutely. China could dismantle North Korea in a heartbeat, by pulling all support at a minimum or telling the military junta it's over and if they want to survive at all they have to play ball. Kim would be served up on a platter the next day. North Korea is nothing but a way for China to poke the US constantly.
LOL. In this case, it sounds like a really by-the-book use of it.

In also sounds like a kludge way to solve the AU sanboxing issue from Apple's part.
It was not well known (before this came out last month) that putting an unlocked Android phone in the freezer lets you pull off a practical cold boot attack for the flash crypto keys.

Here's previous discussion: http://news.ycombinator.com/item?id=5231454
Great resource! Thanks for the link.

Most of my vim tips are on my .vimrc (my dotfiles here https://github.com/carlesfe/dotfiles/blob/master/.vimrc) and on the links on my homepage: http://mmb.pcb.ub.es/~carlesfe/#programming_h3. The .txt that op linked feels a bit out of context :)
But that's not an argument against drones, that's an argument against large-scale government surveillance.

Ignoring whether or not you think government surveillance is a positive, negative, or neutral, the fact that a piece of technology makes it easier doesn't mean that technology is bad.

Edit: I'm not an expert in either field, but I imagine a similar argument could be made against satellites. That doesn't mean we should have a filibuster against GPS and Sirius.
It does have other consequences, certainly.
How would non-explosive artillery shells detonate prematurely?
Hey guys, thanks for checking out our post on Pyramid. We really do like the flexibility it offers over Django. We are also coming out with a follow up blog post from the IndyPy web shootout next week that will also have the videos of the 4 presentations on Pyramid, Bottle, Django, and Flask. I'll link to it on HN then.

Also if you are interested, make sure you check out the Pyramid app on github (linked from the article, http://www.sixfeetup.com/blog/intro-to-the-python-framework-...) to see step by step how we built the todo app.

At Six Feet Up we love Python and spend most of our time building enterprise & higher ed CMS and intranet solutions along with Pyramid or Sencha apps. We are also really interested in understanding how others are using Python in startups and the enterprise.
What's the strawman part of it? Raising the minimum wage is a strawman? Who decides which one wrecks the economy?
I think the title is quite overoptimistic. 3D printing is starting to take off because the cost of 3D printing is going down, and making it feasible. 4D printing is going to be far too expensive for practical application for a long time, and is therefore far from making 3D printing a thing of the past.
This cuts both ways. My RoR apps use gems that require other non-ruby libraries to be installed.
Raising the minimum wage will increase unemployment. Additionally, having any minimum wage at all increases unemployment. On top of the unemployment problem, a minimum wage is an intrusion into the rights of the individual to voluntarily enter into business with others.
MonsterMash: Flask, ZeroMQ, and EchoNest remix
Fair enough.

I might came off as a little harsh, but I've seen a lot of "X API is awful" posts before with little content besides some grips and one/two bugs" (which all APIs have).
Maybe. Look at AIM and the free/shareware clients for a historical example.
On my computer htop consumes about the same amount of resources as top, just tested.
That's not a drive-by hijack, all bets are off when it comes to apps. For all you know the app is presenting a fake login dialog.

It would be a drive-by hijack on the web because there's a good chance you're already authenticated with Twitter and the callback cycle will automatically grant credentials on your behalf to the requester with no prompt.
These threads always get "interesting" don't they?

A common problem I see in these kinds of discussions is engineers. Yup, you and me. In my case it took me years to move away from being a typical clueless egocentric engineer. I am sure I still am to some extent. Whatever is left pales in comparison to my younger self.

What made the change? Business. And the realities of the insanely simple business equation coupled with actually launching and running them with my own money.

There's a huge difference between holding a cat by the tail and watching someone else do it from afar. Huge.

Where I am going with this is that we (engineers and technical folk) tend to focus on, and talk about, FEATURES almost at the expense of BENEFITS. The reality of business is that the value of the former pales in comparison with that of the latter.

I love Python. However, when faced with having to do a benefits analysis it is almost impossible to not choose PHP these days. Liking it has nothing to do with making the choice. Well, it shouldn't.

I wish engineers could see what they sound like from the vantage point of a business person. You see this all the time at pitch events. There's an absolutely abysmal difference between presentations from "virgin" engineers and those who have had even a few business scars.
Richard Feynman's written a number of roughly biographical books. He's a good story teller and is clever enough to have stories to tell.
While I agree with you, I don't think PEAR/PECL a good exemple. Even with a good Gemfile if the libxml2-dev is not installed you will not be able to bundle your Rails app which use Nokogiri.

Where the argument of PHP run on any cheap shared hosting fail for me is more about the php.ini config. You can't rely only on the PHP version to know if your app will run.
Not trying to contradict you, just some explanations

1. I prefer 'psgrep' because it covers 99% of my use cases for pgrep (ps axuf | grep $NAME)

2. htop is very nice, come on! Would not let it running on the background for hours, but it's nicer than top

3. Note taken, thanks!

4. Is ssh-agent really safer than using passwordless keys? Just asking, I'm curious
What was the before and after? Sorry, i'm not familiar with your business.
SpaceX runs on Linux
The demo doesn't seem to work on Chrome 25.0.1364.152 m. I'm getting this error whenever I try any of the shortcuts (or when I select a command from the drop down):

Uncaught TypeError: Cannot set property 'curOrigin' of undefined (infer.js:489)

Looks interesting though!