skysight-inc/HackerNews huggingface dataset:
Enforcing contracts in your PHP functions and methods
Design by contract is an important concept for controlling what type of input your methods or functions can receive. One of the most dangerous features of PHP is that functions will still execute even when they are missing required arguments, by emitting a warning instead of an error. In this post, I am going to walk through some of the solutions available to deal with this problem.
Cheap Air Jordan 2012 Deluxe Wolf Grey Mens Shoe for Sale
Big Step Towards Optical Computing Completed
NoOps, ShmoOps and Somebody Else’s Problem
The Roller Coaster Threshold
Inception Explained - An interactive animated infographic
H.P.'s Reorganization Is About the Stock
Ah my mistake was commenting from memory... I thought you were talking about #3 under the 6 Things section... which is in order anyway.

Now that I look again at the part you were talking about... yah... you're right. Though something to think about, because the site has the whole vertical thing going, I read the bubbles in the correct order anyway, even though they were laid out incorrectly horizontally. It was natural enough to me that I didn't have a problem with it until you pointed it out. Kinda interesting.
A concept for editing code as an AST rather than text
sexism, as that's reserved for unwanted attention between the sexes

That's harassment. Sexism is believing or acting as though one sex is intrinsically better than the other, as racism is the same with race. Sexism is not directly related to sexuality in the "having sex" sense, any more than racism has to do with sprinting.
Perhaps but attractive looking people rarely emenate low confidence if at all, confident but ugly guys are more common but still relatively rare.

I guess because of a positive or negative feedback cycle.
Louis C. K. and Others Take Stand-Up to the Web
Zynga Buys Mobile-Game Maker
What You Need To Know About Facebook's New Privacy Policy
Spotify’s new apps could be a big boost for labels — Tech News and Analysis
I believe that -- and in particular, Newtoy seems to still be doing good work after being bought by Zynga.
Bad design.

Only pull the bare minimum to render the initial page on the first request, load everything else you need, when you need it, asynchronously in the background. There is no way the 'bootstrap' is 1-2MB. There is absolutely no reason to load every single bit of javascript you could ever need on the first page load just like you don't load every image on your site on the first request.
Love to see creative renderings of maps, especially OSM data!

The texture of the 'watercolour' option is very impressive, but (to be critical) I wonder about the usefulness of it without labels and with the fuzziness of roads (some stop then start again, some meld into others which actually don't meet).

I love the toner option though :) Fantastic!

And the terrain map is great too. Certaintly easier to get a grip on than the OSM cyclemap (contour lines).
UK Budget 2012 Review
This has been one feature that I've been waiting for a while for a while. Otherwise, multi-region load balancing had to be done in the application, via geo-IP, or a third-party provider.

The only thing I'm curious as to is what kind of measurements is Amazon gathering, and how is it gathering them? Is it using ELB, and looking at TCP latency (delta time between SYN/ACK? Curious minds want to know...
I agree that there is such a thing as dressing inappropriately. Let's further assume that they are doing so for the express purpose of attracting your attention. (In my experience, men are usually deluding themselves about how much women dress to seduce them, but whatever).

The question is, how are you going to react to it?

Because one person dresses inappropriately, do you have to react to it like a 14-year-old boy? Are you going to comment on it in a way that implies that women are there for your personal entertainment? Are you, by opening your mouth, going to encourage others to get even cruder? And what about all the other women you work with, or will potentially work with (who probably resent the woman who overdoes the cleavage too)?

I understand that you feel that it's unrealistic to ban sexuality from the workplace. But it's not prudishness that is called for, but judgment. Consider that your actions take place in an existing context. In 2012, it doesn't take too many comments like that before your workplace or your open source project or whatever turns into a hostile space for women.

Now, I've worked on volunteer projects with people who knew each other really well, and things are considerably looser with regards to sexual humor.

The point is, you have to create an environment where women have a secure status. In the typical workplace, people barely know each other, and women are just barely holding onto whatever status they've earned. This probably means refraining from the more puerile jokes and observations.

P.S. In the interests of full disclosure, I've failed at this sometimes myself. I had a colleague who was a great programmer, but I was distracted by her body. She wore shapeless t-shirts covered in shapeless hoodies most of the time, in part, I'm sure, to hide this. But more's the pity that she basically has to dress in a tent in order to have her colleagues look her in the eye.
The paper starts by talking about a correlation between a city's "economic activity" and the walking speed. But the graph shows population vs. walking speed. Surely population and economic growth are independent (New Orleans, Detroit, etc.) so I'd like to see if anyone has done a study comparing an economic indicator like DGP of a city.
Gzip vs. Bzip2 vs. LZMA - A Comprehensive Benchmark
Same with http://appl.com/init, and in case it goes away: http://pastebin.com/HSagC973
Bike Bottle Cage
I think this needs to be pointed out and stressed, especially since it's applicable to way more than just computer games:

Nothing makes your customers as upset as the feeling of broken promises. Don't promise what you can't deliver.
Friends of mine have built http://vumero.com/ - It may be what you're after.
I know it's cool and awesome to get to MVP as quickly as possible these days but is it too much to ask that startups use HTTPS for their login page?

It's really not that hard or expensive.

Perhaps these could be condensed to a startup site pre-launch checklist for Y-combinator startups...
I'm a woman, this happens to me (not very often but that might be because I've worked in this industry only for two years) and whenever it does, I just say something horribly cold.

One day I had a pretty watch on, and a male coworker said "That's such a come-hither watch". He was one of the most intelligent people I'd met, and it was painful to hear that come from him. I made an exception and tried to tell him that one might wear something pretty simply because they liked wearing it but I don't believe I got my point across.

I don't think it's a reason to quit though. Everyone suffers from several disadvantages that others might not know about. For example, the guy above once complained that some american universities (like purdue university) prefer women candidates to improve their sex ratio, and that it's unfair.

I don't want to tell you to stoically put up with this problem, but that's what I try to do.
A simple A/B test would answer this question.
Most Popular Ted Talks (2012)
Ask HN: Learning what math for algorithms?
I've recently come across an excellent book, introduction of algorithms. I implemented the first section of the book, insertion sort, in python and was very happy to do so. However, I am still confused as to how insertion sort's complexity is determined. I've never taken calculus before, but I have a feeling learning algorithms may take more math than that. If I were to read books such as introduction to algorithms and Donald Knuth's books, what math should I study on? And are these available online somewhere (maybe khan academy, or perhaps some college with free courses)?
Ah, yes.

And of course, the young padawan who has built a rube-goldberg monstrosity that kinda works will be furious when you suggest simplifying.
Roger Ebert: Remaking My Voice
Fifty Percent of Instagram Photos Have Geo Coordinates
I believe that would make you a petty asshole. There's a huge difference between offering to organize something social and being told to do so.
My favorite too. The OS artwork will look great with the picture of Leon Spinks as the OS mascot.
Ok, what was the guy who fount this looking for in the first place?
So I'm a little fuzzy on how DNS works and this seems like a good place to ask:

I was under the impression that end users typically talked to DNS cache servers rather than directly to the authoritative servers in the domain's registration. If that's true, how can AWS provide different records based on the requesting user?

If end users are talking directly to one of the ~4 authoritative name servers listed in the registration, how does that scale to billions of queries?
MamaBear – Family Tech Conference
Attack sexism, not humour! Please stop killing humour
Best way to find hiring startups in Silicon Valley?
I've been an engineer for a top 100 e-commerce company for 3 years, looking to move from where I live now out west. I've got a 2nd interview scheduled with Google already, but I'm curious about the best way to find lesser known companies and startups that are hiring out there as well. Do you all have any tips or leads?
“Face Time” for everyone, TokBox releases SDK for video conferencing in iOS apps
You sound very secure and confident with who you are. Oddly enough, not everyone is, of should be, exactly like you.
My only gripe with the shift to client side MVC frameworks and such (which although I like!), is that it often makes handling security (from authorization perspective) a bit difficult, at the end of the day I cannot have my authorization based presentation logic in the front end since it can be easily manipulated.
Sorry for bringing this off-topic issue on AWS: is it possible to set hard caps on monthly spending in AWS? I just asked this [1] but didn't receive a single upvote =S. Thanks.

[1] http://news.ycombinator.com/item?id=3737595
Wholesale atlanta braves
I think OP means the vestibular system. Proprioception requires more than balance information, and it's more the sense of knowing where your body parts are relative to each other rather than orientation wrt the external world.
This article pertains mostly to large, sclerotic firms with a pronounced suit-geek divide, somewhat like the blood-brain barrier. But it also exists in IT in higher ed as well. I suppose anyone with a modicum of professional pride would not want to work at a firm where the executives believe that managing IT is like herding cats--unless they were paid enough to guarantee the author a sufficiently high commission. (Knuth, incidentally, distinguishes computer science from IT and states that his interests lie with the former.)
I think it's even more than that. It's not "It's so important to me" it's "this shouldn't be important to you, because it doesn't seem important to me."
I didn't even bother buying or even looking up ME3 after ME2 ending. Giant captain terminator ? Genetic paste ? "Shooting the glowing circles" ? ME1 was a solid game with a cool universe/lore and it looked like it could be a introduction to a very interesting SF series and the story could go so many ways. Then EA happened. And what they did with Dragon Age 2 was unbelievable, even by EA standards. Bioware was once a great company.
What do you think ‘the market’ is? The market is made up of people just like you, a pool of bids and offers, with bidders (that is, employers or clients) trying to get the best price for a good or service, and the merchants (employees) trying to make the most money from the provision of those services—or at the very least to make a sale at all.

Markets are most efficient when there is full transparency. Unfortunately you don't know the salaries of the people you work with, or the budgets of the people you work for. We have to accept this information asymmetry as a fact of life, because your colleagues probably feel uncomfortable discussing their compensation packages, and your managers don't reveal their budgets to you specifically so they can save money. They may have been willing to pay you $100k, but if you settle for $80k they aren't going to argue, and you've just put $20k back into their budget that they were planning on giving you anyway. That doesn't mean a lot to them, but to you that could have been a new car and a luxury holiday.

The fact that you don't understand the importance of leverage in negotiations (that is, making yourself seem extremely valuable to the organisation) is precisely why you aren't on $200k or more at the moment.

And please don't kid yourself that you'll get to avoid all of this stuff by joining a startup. A founder or CEO of a small company is going to be even more aggressive in getting you to sign on the dotted line for a low price, since the company may be funded out of their own pocket (as opposed to a manager controlling a budget).

And what about founding a startup? Well, you'll have to decide on a price to set your customers. Again, you need those unique selling points and some great marketing to make your customers feel like they can't function without you. If you decide to go down the VC route, you'll be wrapped up in negotiations and due diligence for weeks or months, and if you don't bring the full force of your negotiating abilities, you'll be signing away a large share of equity at a low price that you may regret for the rest of your life.

No-one, absolutely no-one gets to skip the negotiations and still come out the other end with a 'fair' price or salary. These are facts of life, and whilst I don't think they're particularly unpleasant, if you decide to ignore them you'll be left behind as the rest of us shoot up the career ladder.
OK, so now remind me why I'm "being petty" if I don't give him money because of this.
I made this page. To the design critics: I wish I could have spent more time ironing out the kinks. But I couldn't afford another day. That's why I'm hiring a full time visual designer! The next single-use, throw-away ad will be a model of true perfection. We'll likely run a private beta for it. We'll A/B test the copy, conduct extensive cross-browser, cross-device testing too.

:-P I do genuinely appreciate your feedback. But you've got to choose your battles with everything you do, always. Including with design. I'm betting / hoping that the flaws on this page won't stop it doing its job.
I think there is a false dichotomy here. Not particularly with this article but it is there and more generally is quite prevalent.

The pervasive belief is that software development for prototypes can be "rapid" but "real" applications may not be developed "rapidly".

I believe that most of these "rapid protyping" tools for "beginners" or "small projects" actually should be utilized for the majority of projects.

Starting from a template application is not just for toy projects. Most applications are reinventing quite a few wheels.

Another example: a tool like Codiqa for jQuery mobile. UI designers should be standard. It just makes no sense for everyone to be typing in the same code over and over again in order to display some tabs or an accordion or what have you, when you can do it with a visual designer.

The number one thing holding back software development is a cowardly fear of looking like a beginner.

Basically anything that makes software development significantly easier and actually lightens the cognitive load is considered weakness.

Its sort of as if electronics engineers were still trying to design integrated circuits for complex problems from scratch on paper, rather than connecting existing ICs that already solve their problems or using design tools.

I actually think that for many types of problems, configuring some WordPress plugins is better software engineering than typing in a bunch of code from scratch or even generating with Rails.

Only problem is, how can you say you're a programmer if you didn't write a bunch of new code?

Which is why the classic notion of the computer programmer as someone who types in ASCII code is outdated and harmful.

How can I say this? I have been programming (mainly in a classical sense, typing in LOTS of code) for about 27 years. I no longer feel the need to prove to everyone that I can come up with clever new ASCII codes for custom solutions to the same set of problems over and over again.

One more thing: CSS is an adequate (although not good) solution for exchanging layout and presentation information between COMPUTER PROGRAMS. I can say that because I have been writing CSS code by hand for probably 10+ years now and no longer feel the need to prove that I can do it. Its fucking stupid.
No. Just keep an eye on it.. it's cheap :p
I think there's a distinction which needs to be acknowledged here. Skirt-chasing is something which is appropriate in some situations, but not others, while being racist is wrong in all situations.

If someone grew up in a racist environment, the goal is for them to stop thinking that way, period.

If someone grew up in an environment where they mistakenly believed it was always appropriate to verbally acknowledge your sexual attraction to someone, the goal is simply for them to get better at recognizing situations in which they need to self-censor.

There is no shame in being sexually attracted to women, but verbally acknowledging it is inappropriate in some situations.
Ask HN: In need of SERIOUS help
I work about ~10h a day in a agency in Brazil(and I "travel" in public transport for 4h to get there). It's my first month there, but heres the deal:

- I have a degree in comp. sci.

- I can do frontend(pretty well versed in js) to backend(rails/node.js/php, you pick)

- I can speak english(rare shit here in Brazil).

- I have done like 9000 projects that I didn't finish, my fault. Most of them were to teach myself new web technologies.

- I can draw.

... and I make $1200/month(before fucking taxes).

I want to kill myself. BADLY. IT SEENS THAT I'M THE MOST UNDERPAID PERSON IN THE WORLD, from all the effort and shit that I put into it.

I'm probably the most unsuccessful "hacker" in the world.

What should I do with my life? I don't know people that could offer me something decent. I'm serious about killing myself and dieing like a hero(after all, I've tried).
But "leadership and conflict" aren't natural, essential experiences of being a man. I'm asserting that sexist put-downs are a natural and essential part of being a woman.

If you must have a male corollary, I think there's a case to be made that men suffer from success anxiety--that their self-worth is tied to material success--much more than women (I'm not saying this is "female privilege" or "sexism against men", just that it's something that men are evaluated on much more intensely than women). Would I favour a man's view of male success anxiety over a woman's? Yes, probably.

But things like "leadership" or "conflict" are at best loosely correlated with gender--that doesn't make men automatically experts on it any more than it makes all men CEOs or heads of state just because the majority of those positions are filled by men.
It wasn't so much that. The issue was that Bioware promised something completely different than what was delivered. It was like being given a trailer for Inception, then finding out the movie you were actually seeing was Toy Story. It's still a great movie, but it wasn't what I paid to see. The game itself is a fantastic game - I'd give it a 9/10. But buying one product and being given another is just shady business.
When you say "IT in higher ed", are you referring to personal experience? That's a pretty specific domain, just wanted to know if you have any specific anecdotes.
Yeah, one day it might be OK, but I think today we need to be a bit careful..
http://www.theandroidsoul.com/cm9-galaxy-s2/

It's a fairly long procedure, but it's a nice result in the end.

http://imgur.com/eMPHU
I'm not convinced that a more intelligent discourse is necessarily better. One major reason I like Reddit AMAs is that they are so informal that once in a while the host answers some pretty outrageous questions or feels free to joke around a bit. Questions come up that wouldn't come up in any other situation or interview, and the randomness adds value. The chaos is a feature.
> This discussion is increasingly weird and non-technical, mostly because there is no such thing as "Lisp". There are implementations of Common Lisp, implementations of Scheme, there is Clojure on the JVM, all of those are in the "Lisp" family. So comparing a particular language to "Lisp" makes no sense.

Since I've posted a link to Shootout comparison of Go and Common Lisp I thought I made it clear which Lisp I was talking about.

> And I don't understand the comment about things being "precompiled". So what?

It means that a descent part of the computation was done in the compile (macroexpansion) time and this time was not measured and included into the total result. This may be great for cheating Shootout benchmarks but does not fairly demonstrate the performance of the language.
The caching servers are typically close to the user: at your ISP, in your office's server closet, in your data center, etc. In the case of public recursive DNS providers such as OpenDNS and Google Public DNS, this requires a recent extension to DNS: http://arstechnica.com/telecom/news/2011/08/opendns-and-goog...
Brian Fargo: 5% of Wasteland 2 Profits Reinvested in Kickstarter
Such a shame they don't own aapl.com, mac.org & macintosh.{com,org}...

Off topic: I've noticed that recently, Google's first result for 'Mac' has (mysteriously) changed from "apple.com/mac" to "maccosmetics.com"!
The most important thing going on here is Anycast. See http://en.wikipedia.org/wiki/Anycast for a complete description, but basically, multiple machines have the same IP address, and different routes are advertised to different networks. This results in packets being routed to the nearest DNS server.

Then, that DNS server can decide where the other end is and provide them with the correct IP.

You're right that most users use a caching DNS server, so it is actually the location of the DNS caching server. Of course, since most users choose a DNS server close to them (usually, their ISP), this should still result in a correct approximation. If you're using, say, 8.8.8.8 (google public dns), that's (probably) more than 1 server -- you're using the closest one to you. So then AWS will provide you with the closest AWS region to the closest Google DNS server, which is hopefully the closest one to you.
Radia Turbinada do Amor - Radia Turbinada do Amor
It's been a long time (obviously), but I think I recall mammals.org being registered right around the same time they were starting to use names like Darwin and Carbon.
Windows 8 devices to have retina display
CM9 stands for Cyanogenmod 9.
Sadly, every company of a decent size I have worked for seems to fit the profile perfectly. I get the feeling the transition takes place when inertia hits a point that the company can coast on bad decisions and the dedication of a few employees doing the right thing while everyone else plays games.
Radi xat Turbinada do Amor
Deixo pra voces este link
seja bem vindo
Driving Girls Out of Computer Science
Definitely not. That's wayy too complex.

I just want a simple template that will allow me to do my books for my company.

That's all...nothing complicated.
Also, the reason "people like me" bring up the minstrel shows, swastikas, and burning crosses is to try to give context that there are a handful of things that many people, not just "thin-skinned women" or "overly-sensitive PC whiners" find offensive.

I believe in your right to express yourself, but harassment in the workspace is not protected speech. be as un-PC as you want on your own time.