skysight-inc/HackerNews huggingface dataset:
>Banking sites are one common place ...

I can't tell you the number of times I've tried to explain to banks that 'security questions' are absolutely worthless, and that their 'secure password' policy is actually worse than no policy at all.

One bank actually requires passwords to be between 6 and 8 characters in length, with at least one letter and one number and no special characters.
YouTube is actually written mostly in Python.
But I'm sure the extensive criticism that Apple receives here is all clear-eyed, eh? According to the poll, the public loves Apple, but they are routinely pummeled on HN. I note that, just in casual reading, I can count 20+ user names who are Google employees. That's people who have actually commented and self-identified as Google employees, meaning that the actual number of voters is of course much higher. What effect do you think that might have on objectivity?

As an aside, I'm disappointed that people continue to reward your insults with up votes. It's pretty well known that that's not how you're supposed to behave here.
Sticking with houses, if you buy a foreclosed house for $200k (the "market cap") and assume a $300k outstanding mortgage, the house's real value is closer to $500k.
I'd like it more if it had a backlog. Putting that widget on any website is difficult because the likelihood that someone will be there long enough for a commit is fairly low.
It's an important question, but one that many people have decided has a clear answer (in their judgement, for their own coding circumstances). In many cases, though not all, that answer is yes.

For me, it's similar to using a powered driver when assembling furniture.

Yes, there's added complexity. (Need to keep the battery charged; need to adjust the force dial to control how hard the screws and bolts are tightened).

But yes, dealing with that small bit of added complexity is worth it. (The furniture is assembled more quickly, more correctly, and with less irritation on my part.)

I could of course tighten all those bolts manually. But I don't wanna.
Well now it's telling my main that I'm posting too fast, so I have no idea what's really going on.

Yes, I know, the diagnosis would seem to be that I'm posting too fast and spamming, but honestly, I posted one comment this morning which is public, one "Ask HN" that was mysteriously vacant (several hours after the comment), and one link approximately 15 minutes ago (also vacant). Trying to write a comment now (or up vote a post, for that matter) is telling me that I'm a dirty spammer.
You should check out a program called AIESEC, it's an international student exchange program for jobs. I did it right after graduation and worked for a startup real estate company in India for a year, but they have openings in everything from development jobs to consulting all around the world. If you got any questions about it you can shoot me and email and I'll be happy to discuss.
The people I work with (about 900 of them, all <20 yrs old) do not check their email. The only reason they have email is to create an account with a service that has little or nothing to do with email. Forget about email.
Ditto. The whole point of the LGPL is to allow linking code not to be GPL'd.

It pretty much kills the usefulness of this project.
The difference is that in exchange for the difficulty of C/C++ you get low-level control and performance that no other language can consistently match. They are still the right tool for some jobs.

You get nothing in exchange for the extra headaches of PHP.
>If the original authors didn't want to trademark the name or even protest the trademark application, then that is their fault.

Taking advantage of a situation like this still makes you a colossal jerk, regardless of how legally in the right you may be.
Agreed. LYAH is fantastic for forming a conceptual foundation, but if there's one thing it lacks, it's exercises, so it's definitely a good idea to supplement it with something more focused on writing actual code. Write Yourself a Scheme is good for that purpose, as is Real World Haskell.
Actually, you'd probably want Express.

var app = express.createServer();
app.get('/', function(req, res){
res.send('Hello World');
});
app.listen(3000);

That is, admittedly, longer than PHP but it's arguably easier to understand what's going on, much easier to modify and extend, and just as easy to copy and paste off the web.

For Sinatra:

require 'sinatra'
get '/' do
"Hello World!"
end

Again, does PHP have any real advantage here? Python solutions will be similar. And in all those cases we can turn this into a full app with only a few more lines.

Consider this example of a completely function blog:
https://github.com/mitsuhiko/flask/tree/master/examples/flas...

There's 76 sloc of code in the blog app, plus tests, templates, database access, and more. And it's clean, clear, and simple. What does the PHP equivalent look like?

Of course, PHP is still shorter for hello world...mostly because it's running as a CGI app. This is a terrible, archaic idea for all the reasons that get discussed when people talk about Why PHP Is Terrible, but nothing is stopping you from configuring other languages that way. So here's a real apples-to-apples comparison:

Python:

print "Hello world!"

Too long? Try Ruby:

puts "Hello world!"

19 characters including white space? Beat that! :)
That's what I had assumed, and I recently started web development so I'm not very educated on some of this stuff, but it seems to me like that could easily be avoided if things are done right. It's a banking site though, so I guess any extra protection to protect those users is good.
For folks who prefer to "learn it hard way" it is great. Another similar tutorial - Hitchhiker's guide to Haskell
http://www.haskell.org/haskellwiki/Hitchhikers_guide_to_Hask...
It is very interesting how, often when one haphazardly produces a language for a particular purpose, one winds with a language which both "sucks" and is orders of magnitude better for that particular purpose than any other language. Arguable examples include Php, Matlab, shell-script and many others.

I'm creating an ad-hoc language right that also has this quality. I cringe as I shoe-horn one or another crude extensions into it and then step back and realize that for its particular purpose, it would be harder to do that much better.
Intel adds rugged Studybook tablet to its student-friendly Classmate lineup
Actually I have done a fair amount of native development and I mean C++ stuff, not mobile apps (android/iphone development is actually high-level compared to that). I was really talking about going down even deeper than that, to the level where there is nothing between your code and the machine. I try to educate myself on the subject by reading books and occasionally coding something in my spare time, but it's obvious that my current skill-set does not even remotely comply with the requirements for that type of job.
Is anybody paying you to work on this full-time?
PHP doesn't allow you to pass functions and classes as arguments.
I noticed this too. It seems advice to "pick random words" should be extended to "pick random words and leave the last letter off".
Ask HN: I need a new development machine. What do you recommend?
After having my HP laptop's hard drive fail for the third time (this time I'm not covered by a warranty), I've decided I need a new (more reliable) machine that will be wonderful to develop on. I have virtually no knowledge of how to build a computer, as I've never done it before. However, I think this would be a fun project and I hear that you generally save a few bucks over buying a pre-built computer from a manufacturer such as Dell or HP.

I'm certainly no IT-guru, so a lot of the popular acronyms will be lost on me. I simply need a machine that works and I would like to learn a little about how computers work in the process. Here are my requirements:

* The main function of this machine will be development. As a computer science student and hobbyist programmer (soon to be professional) I constantly have a million things open, especially APIs, VIM, and the terminal. Because of this, I need a decent sized monitor. The machine that I'm writing this on uses a Samsung SyncMaster BX2440 24” monitor and working with it recently has just been amazing, something similar is preferable.

* The machine will (most likely) be dual-booted with Windows 7 and Gentoo Linux. This shouldn't affect the hardware decisions, should it?

* I enjoy playing video games. During my free time I load up Runescape or Diablo and have some fun, so the computer should be able to run both of these games, at the very least. Diablo III is being released on May 15th (I probably won't buy my new machine before then), so being able to run D3 is also a requirement

* I read blogs and sites like HN. When I read, I require silence; I just can't concentrate with a hoopla of noise, so the machine should be fairly quiet. This is more of a nice-to-have than a requirement.

* My budget is limited. I'd prefer to get the full set-up (monitor included) for around $600, and I certainly can not afford to go over $1000.

I'm also open to recommendations from other developers about what they find useful in a development machine. Furthermore, I am also looking to buy a new desk and chair, so recommendations on these fronts is also welcome.

Let's hear what you have to say.

EDIT: I'm thinking a barebone kit from TigerDirect might be the way to go, seeing as this is my first time building my own computer. This will ensure that the parts all work together and will allow me to upgrade once I can afford it.

EDIT: Thoughts on this? http://bit.ly/Hwsj1W
Love Kubuntu, although getting dual screens set up was unreasonably hard. After that hiccup it's been pretty smooth sailing.
I tried the mouse integration and turned it back off for the same reason as you. Not having copy-paste at the terminal level is a non-starter as far as I'm concerned. Learning the vim movement commands better eliminated most needs for the mouse-pointing ability anyway.
Nice catch, but something tells me if this hole were exploited, it'd be easily and quickly shut down.

The next question is, I'm guessing most apps store the access token somewhere for future use, is there a permission that apps can have that let them at this storage? Hope the FB SDK encourages safe handling (encryption, etc) of the access token.
Kickstarting open source...on an operating system that is not.
Is it usable behind NAT/firewalls, as an alternative to a reverse tunnel?
Yeah but they'd have to either integrate it with the Facebook app, which is over complicated and absolutely stinks on Android (still), or they'd have to release a separate app which would be competing with Instagram's brand.

The success of these new things like Instagram and Tumblr seem to be their mindless simplicity.
プラだバッグの
Please explain to me how "hello world" is insecure in PHP. I am genuinely interested in your reasoning.
That depends on the kind of scientific computing you want to do.

Haskell has the repa library [1] which is very nice for working with (multi-dimensional) arrays at a high level. Performance is decent (I don't know if they have a BLAS/LAPACK binding). Overall, the main advantage of Haskell is its runtime system and its great support for concurrency. The downside is, it does not have OpenMP and the MPI bindings don't look very nice to use (I don't know how OCaml or SML fare in this area). There are OpenCL bindings, but I've never used them. Data parallel Haskell is still under heavy development, so that's probably going to take a few years to become production-ready.

OCaml's advantage is that C-like algorithms are easier to transcribe and use (no monads). OCaml's main disadvantage is that its runtime doesn't support multicore well (or even at all?). If you want that you can use F#, though.

I don't know anything about the current state of SML implementations.

[1]: http://www.haskell.org/haskellwiki/Numeric_Haskell:_A_Repa_T...
> I have no idea what you mean by "what SQLAlchemy does"

You must have missed the rest of that paragraph. I specified what it does.

> What he's talking about here is known and talked about for 10 years. It's just function names, it's not that big a problem.

Again, missing the point. Python has these same minor inconsistencies in its stdlib. It's the combination of all these minor inconsistencies with a language that gives you more tools to write bad code than good that makes PHP torturous. It's everything that the author wrote about in one neat little package.
Bummer I'm not very technically- or enterprising-minded. Just curious of anything like this has ever been done/thought out before.

I'd hope that if such a thing exists it'd be an open standard btw

OT: Excuses for the messed up layout. Tried to find out why this is so, could not spot it.
The Whole World Looks At Porn
More detail here: https://www.samba.org/samba/security/CVE-2012-1182.
I know exactly what Hipmunk is, but I have no idea what "Hipmunk for cars" is.
I'm not sure. I was going to try and make a more powerful version of something like this with a web server project.
Don't use all those ways of configuring PHP. php.ini works just fine, and if you truly need a different configuration for a specific application, a bootstrap file will serve to override the php.ini where necessary. Done.
Very cool, this feels like the natural evolution of the realtime web. I am fearful that there could be too much 'magic' though. Have to play with it before I pass judgement.
Looks nice. There are a handful of similar frameworks out there (e.g now.js http://nowjs.com/, socketstream https://github.com/socketstream/socketstream)...the trend seems to be toward heavy use of sockets in webapps.

I'm developing with socketstream right now, and I love it. I hope they are all successful.
I'm chiming in here because it may still be early enough to stop you.

Do. Not. Require. Root. Not optionally, not sometimes, not "maybe". NEVER.

Your universe is ~/.meteor. Do not even think about touching anything outside that. It's taboo.

You clearly know what you're doing otherwise, so please get this one right from the start and save yourselves a lot of headache later on (cf. npm).

Install to ~/.meteor and provide the user with a small snippet to paste to their ~/.bash_profile ("source ~/.meteor/magic.sh").
I've got just the tool for you!

https://github.com/sstephenson/gosh
I tend to agree with you -- I think the write-validation-only model is probably too error-prone to use directly. But you could have a layer on top of it that that lets you declare a schema for your records, and mark certain fields as writable by certain users (with reasonable defaults.) That would be much less error prone, but might be too cumbersome.

At this stage, we want to give people a choice and see what they do.

Reads are handled in a totally different. You explicitly define what data a given client is allowed to synchronize down to their local cache (by using Meteor.publish to define certain database queries that are available for client subscriptions.) The client can run whatever queries they want against their cache, but the only stuff there is the stuff you explicitly let them subscribe to, so it's OK.
I still prefer events and widgets for UI development. I like to have discreet widgets that have their own HTML template and then use events for coordination, I think this promotes looser coupling where items can be dropped into the page and react to the environment by listening and emitting events. I think Dojo does this very well, I would like to see the other frameworks support more encapsulation for wigitized JavaScript/HTML objects.
Don't know about the offer, but do you have $62,800 laying around to exercise the options should it come to that? Make sure it makes sense from a cash flow and tax point of view.
Surely you're not suggesting that the only OSS projects worth supporting are for Open Source operating systems?
The core language has a superficial similarity to C, that's all.
> Pretty much every PHP app in the world shares a database. So you've shifted your scaling problems from an area that programmers understand and control to a 1-MLOC mystery.

True, however in my experience it's pretty easy to scale the database layer. One beefy DB server can easily handle 2 or 3 front end servers with even mild caching. If you get aggressive in the caching strategy, one DB server can handle up to 10 front end boxes. And if you need to scale beyond that, replication is a well understood paradigm (sure, not by normal app developers, but there's plenty of resources out there).

> I bring this up because I have a few friends who make their living saving the asses of PHP programmers who buy the notion that PHP is magically easy to scale.

I never said that it was magically able to scale. I said that the language is easy to scale. What you do with it is on you. So if you're writing garbage code, you're going to get garbage scalability...
False dichotomy too. When I was kid my parents always required me too do things "vite et bien" (fast and well) and it its only much later, with more experience and also some understanding of what is said by Zhuangzi the Taoist, that I understood that both are compatible, and even require each other. Example: if you tidy up your room, doing it slowly means focusing on ordering your Lego by size and color, while doing it fast means moving everything to their place in less than 5 mn.
Obat Herbal Leukemia Alami
Tahukah anda? Obat kanker darah adalah obat yang banyak dicari oleh semua orang. Dan kini telah ditemukan Obat Herbal Leukemia Alami yang mampu sembuhkan kanker darah secara tuntas.
Google Cache:
http://webcache.googleusercontent.com/search?q=cache:RyYEU_B...
"MailBait does not condone using other people's email address with this service. Please treat other people's email with respect and don't sign them up for spam regardless of how much you think it would be funny."

nod, nod, wink, wink?

If not, then why would you put something like this up without doing even a bog-standard email confirmation on the entered email address?

Can't tell if trolling or epically naive.
I'm pretty sure Haskell is the fastest of the three, if that's one of your concerns.
The Breadcrumbs are helpful, if you missed the links

http://acm.wustl.edu/functional/hs-breads.php

------------

Note: most of the GHCi idiosyncrasies were ironed out in 7.4 but you can't cut/paste code into it AFAIK:

http://hackage.haskell.org/trac/ghc/ticket/4929

http://www.reddit.com/r/haskell/comments/kmxf2/ghci_now_supp...

-----------

HNers learning haskell:

http://news.ycombinator.com/item?id=3122725
El Camino is definitely a car oriented byway, where the pedestrian is a second class citizen. Through most of the towns it passes through on the Peninsula, it has what I can only describe as an automobile-scale commercial "strip" quality.

But for the most part the cities are much more pedestrian scale and walkable just a short distance away from this road. "Never judge a city by its El Camino Real"; it's usually one of the least pleasant parts...
Interesting. I may be in love.
It's really tough to persuade people to try something different by hammering away at them with dogma. Neil deGrasse Tyson sums this up very well: http://youtu.be/-_2xGIwQfik
Beats By Dre
Cheap Beats
Against Cyber-utopians
Why is it uncool?
JQuery Basics
Looking for development ideas for this site.
I've been reading mostly about lexers and parsers (antlr, yacc, bison, etc) that produce C code and would like to try different approaches like SML but haven't found any literature. Read also about LLVM but C++ is not my type. Haskell and GHC are cool but again C shows its ugly head.

So, I'd like to know if C is the only way or if there are new papers that I don't know of for implementing modern compilers before committing to C. I am just starting so there is a lot to read about different contexts and ideas.

(PS: Java is not an option)
Rethinking Smaller, Smarter Social — Then Rethinking It Again
Womens Expedition Parka
Completely agree. I thought Backbone was the "missing piece", but this really is it.

Edit: to clarify I specifically meant a front-end tool to help me leap a level in personal development skill.
Please don't get me wrong, I didn't write this, and don't endorse it, but I find it interesting.

My suspicion echos yours, particularity based on the name (A play on http://en.wikipedia.org/wiki/Jailbait perhaps?)

That said, I think it's an interesting project, and could legitimately be quite useful in the right circumstances.

I'm a SysAdmin- I've had to train and test SPAM filters quite a few times in setting up new systems. (Zimbra/etc)

Creating a throw-away address on the new system, and having this blast it with relevant spam would be very helpful to me.

I do agree they ought to have a confirm-your-email link, though, to prevent abuse.
Learning the vim movement commands better eliminated most needs for the mouse-pointing ability anyway.

Sadly not for me. I'm a die-hard vim-user but I can't live without my scroll-wheel in the terminal.
Would it be possible to set it up so that the initial page load is completely static html served from cache? The page would then be updated when it changes, i.e pushed to client and new cache.

There's lots of overhead on both server and client side generating everything dynamically, especially on slow mobile clients. Testing it on fast machine on localhost creates visible delay in initial DOM update. On typical content/read-heavy pages it would make sense to always serve static pages as a fast as possible and update cache and client-DOMs on database write.
Surely this breaks some TOSs right? Marketers are going to lose revenue by spamming people that don't want it, and they're essentially a spam service. This is pathetic.
A juicy problem indeed
Yes, it just works. That's also where there are thousands of poorly written sites out there that chug down sql injections like they were going out of style.

PHP is a reasonable templating language. That's what it should be used for.

If you use a framework, you're golden, but at that point you could be using any language.
But there is an interface for cars that has evolved into something that is intuitive, and all new cars are designed with that in mind.
Nice! You guys are definitely heading the right direction in terms of information architecture, UX and UI. I would like to see a overall price distribution reference with the results (i.e. of the total returned results, n fell within range a, n fell within range b, etc.) The ability to sort by price would be nice too. Good job and keep iterating.
Grab a copy of "Javascript: The Good Parts". It's a short read and goes over the parts of JS that don't suck.
Well, no one has mentioned anything about the awesome domain yet, so I guess I'll have to -- meteor.com -- great domain guys :)
Love SocketStream too. I'll be exploring Meteor to see the differences :)
LYAH is definitely a great starter but if you have an OK background in functional programming (Scheme/ML) you may find, like I did, that you probably want to bail a couple chapters in. Real World Haskell is probably your next step -- most of what you want to do can be found there.

As soon as you start developing a serious application in Haskell, though, I've found you eventually need to jump back to Hudak's Gentle Introduction to Haskell[1], the Haskell 98 Report[2] (I suppose the 2010 report works too, but I haven't used it as a resource nearly as much), and Hoogle/Hackage for the Haskell source of any library which you want to use seriously.

[1] http://www.haskell.org/tutorial/index.html

[2] http://www.haskell.org/onlinereport/index.html