skysight-inc/HackerNews huggingface dataset:
> I don't see why it has anything to do with everything being an object.

Well it certainly blurs the lines, doesn't it? If you're returning an object anyway, it's not that much of a stretch to return a slightly different object depending on circumstances. Why does it warrant a pattern all to itself and an entire chapter of a book? And more to the point, why should I care about it, other than to try and decipher legacy ex-Java code like this?

To return slightly to the original point - where are the patterns for list comprehensions, decorators or generators? There aren't any, because in the Java/C++ world it's so hard to throw functions around like this. You need to look to fields like FP and Haskell to find good uses for list comprehensions beyond the very basic stuff.
Hiring: Web Developer in Tel Aviv, Israel
http://www.linkedin.com/jobs?viewJob=&jobId=2305473

Would love to have interested parties come in for an interview. Please send your resume and samples if you have them. Either to me personally, or apply via the job listing at linkedin.
Sorry to disagree, but we've used omnis.com for years with comparable pricing to GoDaddy and no upselling attempts ever!
What about Operating System?
"I have to laugh when I see video or pictures from the US where the "finger" is censored."

In the larger context of your comment, I have to cry when I see people moving their services outside the US, or moving to vendors outside the US, to ensure what used to be guaranteed by the US Bill of Rights.
Legitimate Online Relationships Can’t Be Bought
Local Event Marketing Helps Your Link Building
I thought it was a stretch that D'Aloiso taught himself the linear algebra, statistics, probability theory, NLP, and machine learning required to implement such an algorithm. Especially since he doesn't take a deep interest in programming.
Google's colorful logo is slowly fading to neutral beige.
Update:

1) I've conformed setup.py to distutils, so it's a lot prettier now.

2) I tried using the print [this for this in that] style, but that didn't work out as planned. The actual list itself was printed and the colors didn't work.

3) I'm still using sudo to set the chmod and to move reddit.py to /usr/local/bin, what alternatives are there? On my system I can't do either without sudo.
Disclaimer: I own the development company that built Aeir Talk for equity.

If there's anyone who can be labeled a "hustler", it's Joe Hill.

First, he had to sell us on the idea - we get a ton of people who want us to take equity stakes in lieu of cash, and we almost always turn them away. But not Joe. He had tapped the few investors in our area (Hampton Roads, Virginia) and came up short. Our area is pretty conservative, and investing usually is restricted to real estate and other safe bets. But we heard him out and realized that even though he had no business background, no history of successful exits, or any other factors that mitigate risk, he had passion and an amazing story (along with board positions in a few autism societies).

He partnered with EVMS, a local medical school, along with a few speech pathologists with one goal: to bring Apple-like simplicity to medical products. He took the graveyard shift at a local Marriott, and managed to support his wife and two special-needs children WHILE working out of our office during the day.

He launched his app last month at Start Norfolk, a regional startup weekend we put together. If you really want to be inspired, check out the launch video: http://www.youtube.com/watch?v=W2WLc1LszZ0&list=UUdXCw6_...
It's odd you say that because the one thing I noticed was that he didn't seem be very comfortable describing the product in laymen's terms. His word usage seemed forced and his hand movements too. He had good camera presence insofar that he was bold and moderate in volume. Beyond that, I don't see what you mean.
ah well, what is the business model behind google again?

every user of free google services is part of the product. not leeching some free resources, but the core product.

you want me to be on your website/service so you can sell my eyeballs to advertisers? ok, then fucking treat me nice. i am your product.
I think he's a little biased.
As usual, Jakob Nielsen demands a change in the user interface without providing a comprable or better alternative, stating that developers should revert to the original context should the operation require a higher grade of visual security.

Where he also fails is in acknowledgement that users have already devised their own methodology for circumventing this particular difficulty and furthermore, offers no insight on how to improve upon their methodology.

Yes, the article is from 2009 and without even a glance, I'll go ahead and assume that Mr. Nielsen is even more irrelevant today in the usability discussion than he was then.
Almost a Secret
This Website is for Making money Online ... It is The best Home based Business for Earn Money ..
what are the price points between the galaxy ace and the iphone in uruguay?
Sonnet ( Camões)
Cloud Computing Trends to Watch in 2012
I want to agree with you, but two observations make it difficult for me to agree:

1) In order to publish content on the internet you're going to depend on someone voluntarily doing business with you. You need an IP address, back bone access, a domain name and even for the things you don't rent, no vendor of anything has any obligation to deal with you.

2) There's a handful conglomerates controlling ever greater parts of the internet including all kinds of things necessary to make anything commercially viable. Lots of others depend on them for their livelihoods and cannot afford to ignore or fight them.

These two things combined have the potential to enforce moral standards way more restrictive than the law in most western countries. It could well be more profitable for these conglomerates to ban everything controversial than to have a controversy with some powerful group of fanatics.
From one 'hater' [1], some (obviously very personal) explanations:

- I dislike 'social networks' in general. They tend to look messy to me, they seem to try too hard to match me with this guy, connect me with that, make me follow one group and post to another. Arguably FB is worse right now, but I see the trend in G+ as well. RSS (and, occasionally Twitter) is good enough for reading for me. Mail and IM (GTalk, ironically) is enough for contacting the people around me.

- Privacy. I do have a Facebook account, mostly to stay in contact with some friends back in Germany. I tried to lock down the account as much as possible regarding privacy settings and my list of friends contains ~40 - well - friends (or family). I don't 'collect' friends and have no 'friends'.

- The combination of my mail(sort of, reduced that a lot already)/contacts/calendar/IM (hi, Android) provider with a 'You need to provide an ID if we feel like it'/'We delete your stuff if we feel like it'/'Pseudonyms are not wanted here' attitude social network seems scary. For one because I don't trust the 'plus' part of Google any single bit by now. And in addition I'd throw a large amount of extra free data about myself at a company that already collects far too much - for no benefit.

- It's full of bull.. Maybe it's me, but I had an account in the past, tried to follow interesting persons and ended up with pseudonym noise (people that were interesting being deleted, everyone discussing about this policy etc) or animated gif images. It was more 4chan than anything else - and I really tried hard to block people after the first 1-2 'offenses'.

- I loved the idea of circles, that is until I started to use them. The metaphor seemed nice at first, but it became frustrating after I moved past the first 20-30 contacts.

1: Actually I tend to reserve the word hate for things that - well - are actually of importance. 'I hate X' where X is a thing or a person I temporarily disagree with seems inflationary use of the term 'hate'.
The user should have control over this behavior and not the person developing the form. In the case of web browsers, that's where the control should lie. Otherwise, you're presuming that everyone would be OK seeing them in every situation.
Smelly Communication: How the Suits should assign tasks to Geeks
Not unlike the great zebras and lions of the wild, the “Suits” (Marketing, Sales, Creative) and “Geeks” (Dev, Ops, Infra) in an IT company often face misunderstandings. When highly-technical and less-technical employees in a fast-growing tech shop need to accomplish something jointly, good communication is clearly necessary, but it’s not a one-sided thing.
Internet bandwidth: India needs a backbone
So You Want to Save the World
"In this video, Bjarne Stroustrup explains why he thinks C is obsolete. He explains that the languages should have been merged into one, so that C would have been a subset of C++ instead of nearly a subset of C++. And then people could have used whatever parts of the C++ tool set they needed. "

Yeah right, a language/platform is a bag of fun toys out of which you can pick whichever ones you want, and all is well and everyone is happy. How can a programmer who has any experience claim something so ridiculous? When you decide on a platform, you have to live with whatever is there, the good and the bad. You can't tell people to use some feature but not touch this library, or not include that other package but write yours instead.
Grrrr, I dislike C++ - my current preference for a development environment is C with a scripting engine stuck on top, but I nevertheless have to agree with Bjarne on this one. There are enough libraries out there in C++ now that the pain point of having to write wrappers so that they are accesible from C needs to disappear.

It would be so easier if the only difference between compiling for C or C++ was whether or not symbols were mangled or not. Someone writing C code that nevertheless calls C++ code could still compile with the C compiler, instead of today's solution, specifically - wrap the file in
#ifdef __cplusplus
extern "C" {
#endif

and compile with the C++ compiler.

Plus, no more need to deal with all of the different flags leading to CFLAGS, CPPFLAGS, CXXFLAGS, no more worrying if a bool is a bool or a _Bool etc etc etc

Of course, care would need to be taken to not needlessly drag in the C++ runtime if it is not used.
This article is a much better summary of the situation, if I only had the time to read one, I’d read it.
I'm sorry - but I'm sick of hearing this (perhaps unintentionally) disingenuous response.

We need to demand the right to be able to use these services on our own terms.

We DO pay for these services; we pay for these services with our attention and through the act of using them (and supplying the parent orgs with behavioural data).

However, because money doesn't change hands - we don't have the usual recourse to compensation if the services don't meet our expectations. I think this is a very sad thing - because it allows the companies running the services to use and propagate your argument; it's free .. don't like it? tough, build your own / don't use it.

In most cases it's not realistically possible to build a completing service - and even the choice of opting out is becoming impossible; e.g. Spotify won't be the last company to require a Facebook for access to their services.

There comes a point when direct competition with a corporation like Facebook or Google is virtually impossible for any organisation other than another corporation of similar size.
Any benefit from the Resveratrol? Isn't the the compound from red wine?
The issue that you're pretending not to recognise is quite clear. Google+ doesn't just censor things that they're forced to. They even censor pictures of mild, unthreatening, commonly used, gestures. That is a problem worth talking about.

They are free to do this, and rightly so. But people should be aware that this happens, and is a bad thing, so when a viable alternative is created, that doesn't suffer the same problem, they already know why they should move.

There is no "outrage". Nobody is being unreasonable by discussing this issue. Discussing this issue takes nothing away from the SOPA issue.
Vashikaran 
Stop Worrying Now that how to get your ex lover back by blackmagic | hypnotism | kalajadu, it is possible through hypnotism black magic and tantramantra,vashikaran,vashikaran mantra,blackmagic
More than likely, you're destroying the drives yourself. Do you really think this is just all normal?

I would guess that 95% of the people who experience repeated failed drive issues such as yours, are experiencing them because of power issues on your lines (voltage and AC fluctuations), or P/S problems.

The other 5% are getting drives from the same bad lot #.

I strongly suggest that you invest in either a voltage regulator or a power conditioning UPS.
The traffic congestion one could easily be an ad from today.
Ask HN: How to version control DB data?
What are the standard/recommended ways to store version-controlled, database data? I'm curious about solutions that would enable querying on tables/rows but restricted to those values at a certain point in time.

Fyi, I have posted to SO, with little satisfaction:
http://stackoverflow.com/questions/8522766/what-are-the-standard-recommended-ways-to-store-version-controlled-database-dat
In the traditional sense, it'd be hard to tell whether he's upper class or not. From the way he presents himself, he almost certainly attends a public school, but these days the majority of people at public school aren't upper class by lineage. His parents are certainly wealthy, and I'd imagine that a considerable portion of his success is due to being well funded (my parents certainly wouldn't have bought me an iPhone or macbook at the age of 12) and well supported at home.

Fundamentally, I'm sure the guy is of above average intelligence. He has very good support from home, and actually has funding for his startup. However, apart from his age there's little differentiating this from other iPhone app based startups, and I would be surprised if he manages to maintain the level of progress he's had recently once life starts to be complicated. If his life is anything like mine was at 16, school is completely unchallenging and he'll have oodles of free time. That doesn't last forever!
Ask HN: What music do you like to listen to while you program?
I'm interested in what people listen to while they program or do work. Any related thoughts on how music impacts your work are welcome too.
As with most other things, it probably makes a bit more sense if you read the other sentences around it. In any case my apologies for writing awkward (and to some confusing) prose.
Perhaps Google needs a new motto: "Don't be Apple".
I am working on Infinite Flight. It's a civilian flight simulator much like FSX, Flight Unlimited and Pro Pilot. We're currently porting to iOS though, but using Mono Touch and MonoGame, so the code base is mostly the same.
> I have a right (in the USA) to say whatever I want (barring clear and present danger).

Of course you do. You also have habeas corpus, human rights, legal certainty, a constitution, separation of church and state, a functioning healthcare system, and other such wonderful notions of Western civilisation.

Must be. Says right here in the USA™ Terms that you can't claim otherwise and if you don't pretend hard enough, the upside-down people will come and take away your Values in the night, like they did with Curly.
Yes, for such things as TAOCP 1-4.
Yeah, I think it's overrated, pompous and shallow. And I understand it perfectly, having studied the subject (at least the maths part) from real sources.
That hardly seems like plagiarism, more paraphrasing and even then it isn't like he took the entire speech - just a basic idea and two sentences (which he apparently cited everywhere except once).
I loved GEB, but since reading it (and jumping in and re-reading parts here and there when it strikes my fancy) I've come to the conclusion that it's a perfectly laid Dunning-Kruger trap which specifically ensnares people like me. I am not as smart as Hofstadter, and I know it, and so I'll never be sure I've actually understood the meat of the message.

I think I get strange loops, recursion, self-reference and the metaphor of the anthill. I still think I'm missing something with breaking the record players, but based on my understanding it's a metaphor for incompleteness.
I don't understand his matrix example.

in C++, you'd have a Matrix class with a getter. To get an element of the matrix you'd do

int v = pMatrix->get(i,j);

whereas in C you'd typedef a Matrix structure type and have an accessor function

int v = matrix_get(pMatrix,i,j);

Looking inside the functions, they'do pretty much the same thing. In both of these functions you'd be basically accessing either element i+imax * j of your data array if you are implementing the matrix as a single array, or the j-th element of the i-th row if you were using a pointer to pointer structure. the C version would work on the provided matrix structire whereas the C++ would use the implicitly provided this structure. C++ would allow your matrix class to override some operator to make this look cooler - but operator overloading being a good thing is not really a consensus AFAIK.

I dont see anything more than a syntactic difference here. The abstract reasoning behind the structures/classes is exactly the same.

C may be obsolete, but this is hardly a justification.
DOS attack was found for Ruby 1.8 Hash algorithm, patch released
WeedMaps Buys Medical Marijuana Inventory/Patient Mgmt Software MMJMenu
Bjarne knows damn well that you can have a Matrix interface in C instead of "an array and a whole bunch of arrays". This is not a new concept. I would have hoped he was above spreading such disinformation.
Your Next Investor Is Not The Girl Of Your Dreams
You look at Apple and you see similar things, difference being, Apple mostly gets away with it because their fan-base sees the reasoning behind it; i.e., killing an app for an instant snap feature using the volume buttons, but then releasing the same feature themselves.

Google's fanbase (or fanboys of Apple's) won't tolerate this kind of bait and switch. In this case it's "you said you were about freedom and here you go censoring us".

The truth is, Apple does what it does for good reasons and most people are on-board with that logic. So companies like Google will try and mimic Apple's policies and how they stand behind them. You can see that some levels of censorship increase the overall quality of content and relationships to that content. To that end, Google hopes to create a higher-quality atmosphere like the one observed on the App Store.

Google hasn't made the case, for better or worse, as to why G+ has a different approach to the way the service is used by us. Or why these terms ripple down to other services, like Gmail and search.

Apple has had that conversation with it's customers many, many times and did so unapologetically. Google wants to do no evil, but on paper it shows that they must.
not really that surprising really, Kindle accessories had a target on their back from day 1.
> He explains that the languages should have been merged into one, so that C would have been a subset of C++ instead of nearly a subset of C++.

Thank the stars this didn't & won't happen!

Bjarne has been stuck in "C++ is the best & only language anyone needs" long after the world has moved on to Java, C#, Python, Ruby, JavaScript, etc.

C occupies a sweet spot combination of:

- low-level with "no magic"

- small enough for most people to "hold in your head"

C++ matched these conditions for a brief time in it's life - the early 90s aka "Stroustrup 2nd edition" - when the only "magic" was basic virtual functions, and templates where just a promising experiment in an appendix.
LevelUp Nabs First National Merchant, Plans to Go After Big Brands in 2012
prerelease of the recording: http://www.youtube.com/28c3#p/u/2/_EEhviEO1Vo
This usability issue has been solved in countless frameworks and most mobile operating systems. The last typed letter is shown for a period of time before being masked.
I don't think C will be obsolete as long as it is hard to do C++-ish things in it.
MLB.com Challenge 4th Inning: The Point of No Return
To be honest, music often distracts me, but even distractions can be good sometimes. They get your mind off the issue at hand so you can work on things subconsciously. You might jump to a new issue and find the solution to the old one.

I listen to a large variety of music, but for programming, I normally listen to heavy metal and recently I have been listening to dubstep. It is my favorites of what I would normally listen to, though. I find it best to keep the playlist short, though. After hearing the same thing repeatedly, it becomes background noise and only pulls me out of focus periodically. Like I said, that can also be a good thing.
The Coming Opportunity of BYOD
Good job kid. Keep it going
> Why does it warrant a pattern all to itself and an entire chapter of a book? And more to the point, why should I care about it, other than to try and decipher legacy ex-Java code like this?

I think we started discussing different things. I wasn't saying the way GoF implements factory for C++, or the article in question does that, is useful; I mentioned elsewhere that copying patterns literally from Java/C++ isn't really fruitful when programming in Python http://news.ycombinator.com/item?id=3399581

Many of the classical design patterns will either be invisible or simpler in dynamic languages. In Peter Norwig's presentation, he claims 17 of the 23 are either invisible or much simpler for Dylan - we can make the same claim for Python, Perl, Ruby et al.

But even in Python, some patterns are non-obvious, and it's better that the developer knows them beforehand, rather than re-inventing them. Apart from the non-obvious ones, you sometimes need the others as they condense a paragraph of explanation to single term.

Factory isn't one of those non-obvious patterns - a competent developer, given the problem for the factory pattern(the above Image.open) will invent factory in under 5 minutes.
Fair enough, but I think you must back up your point.

I can see how it could be seen as pretentious, but not all round awful. He certainly appeals to many lofty ideas which may not be entirely justified by the technical material, but the technical material itself is certainly sound as far as I can tell. The main criticism I would make is that he does not draw a clear enough boundary between accepted mathematical fact and his own speculation.

For me, the thing I like about the book is that it is almost a total mixture of formal logic and poetry. If you don't like it, that is a subjective aesthetic judgement. Same goes for his prose style.

I suppose if you were already fully exposed to all the mathematical concepts in the book when you read it, it would have a lot less value. If on the other hand it is almost your first exposure to these ideas, it's like freebasing pure logic while hanging out in alice's wonderland. Great fun, but I agree not a formal examination of the ideas. It isn't really meant to be as far as I can tell.
The substitution picture is absolutely genius. Made my morning. Thanks for that.
I refer to my previous comment http://news.ycombinator.com/item?id=3398873 I understand the subject well, so the book sounded to me like an explanation to children of something that isn't really so difficult. Also, it was pretentious (too long for the subject; for example Gödel's proof is a very short paper, I won't waste my time re-reading it in a huge tome for god's sake). I liked the effort the author put into making the book and I understood what he tried to accomplish, but it didn't work to me. After all the hype, I tried really hard to like it and I didn't think the half I had the patience to read was life changing at all, more like boring.