skysight-inc/HackerNews huggingface dataset:
I totally agree that post-hoc rationalization is rife within any corporate (even social) environment. I even suspect it is an inherent part of our every-day decision process. We make a decision based on emotion/primal drive and then instantly come up with a rationalization, which we then remember as being the reason for our decision.

But how do you argue against an - in your view - immoral/unethical decision which is presented with a far more eloquent and verbose supporting rationalization than you're able to counter? Does it come to who is the most adept at debating?
At least the list of languages is looks reasonably exhaustive. No inclusion of Mirah or Nice though.
Very nice Mac window management solution
I'd love to, but in case of psychology, many of them (or, conclusions drawn from them) just sound plain nonsense.

EDIT: I'm searching for original paper on Shiv experiment. It might be that cognitive load makes our decision less rational, but I'm not buying choosing salad over cake as a rationality test.

EDIT2: Found it.

http://www.mendeley.com/research/heart-and-mind-in-conflict-...

It seems that they also asked people to rate the rationality of their choice - whether they believe the cake/salad is good for health, a wise choice, etc. Given this data the result and conclusions sound a bit more reasonable.

I try to trust peer reviewed papers (if we can't trust them, what can we trust?), but I also try to keep my bullshit meter well calibrated. There's enough of pseudo-scientific "knowledge" circulating around. Just look at 7-38-55 (spoken-voice-body language) "rule of communication" and 'cone of learning' ("we remember 10% of what we read, 20% of what we hear, ...") - it gets repeated around all the time, but if you think of it, it makes no sense. And, in fact, it's totally not true. It's just a result of a big misinterpretation of some scientific studies.
This is awesome.

Would be cool to see a version for a lower level language like C that would help people understand the stack and visualize pointer arithmetic.
Agreed. I usually end up doing the opposite in node, whenever there is an existing *nix tool for a job, I'll spawn that from my node process rather than reimplementing it. Node's child process machinery is the best I've seen so far.

(Disclaimer: I'm a node contributor)
What is this facebook you keep talking about? Pinterest is the Internet
Microway if you have the cash: http://www.microway.com/whisperstation/whisperstation.html
Perhaps in an academic sense, but in terms of actual usage it's one of the biggest, no?
Enough people know of these techniques that there are now casinos that are aimed at the crowd who are sick of the standard type of casino. An example is Encore in Vegas - floor to ceiling windows, clocks, no cheap funny business, etc.(if you ever go to Vegas I recommend it thoroughly)

So there is a business in not being like the other businesses.
Is there a comparable struggle between academic teachings and practical application in engineering? Do EEs, ChemEs or MechEs have these discussions? I would thing this hits them too.
The general gist of it is that you store HTML snippets (e.g. a todo, a list containing, or a project containing lists) in some quick storage medium (in this case Memcached). Each snippet is stored under and accessed by a key that uniquely identifies the version saved (object type + ID + update timestamp). When a new version is cached, the old version stays in the cache, unused, until it is eventially dropped out by Memcached.

Now all you need to do is to ensure that whenever an object or its children change, you update their timestamp (the "touch" part), and if you make a changes to the code, you increment the version key for said cache piece. This way new requests will not hit old cached content.
I'm curious why no one ever brings up the legal status of VLC. It's an incredibly popular program, and is likely illegal in the US. Their FAQ (http://www.videolan.org/support/faq.html) used to make this explicit, mentioning who and where you'd have to send payment for patent royalties and that decoding DVDs is against the DMCA, whereas now any mention is relegated to the legal section (http://www.videolan.org/legal.html), where they encourage you to make your own judgment.

Wayback machine: http://web.archive.org/web/20091201230711/http://www.videola...
Great aggregator, we should have the same for ruby,c, c++ and all the major languages.
Buy new Apple iPad 2 with Wi-Fi 3G 64GB for only $74.50 
Don't miss out!,, Buy new Apple iPad 2 with Wi-Fi 3G 64GB for only $74.50 from www.ezy-bid.com EZY-BID auctions online for cheapest iPhone...Hooray!!!
The shortest HTML4 (and earlier) document is

<title//x

This uses the never-implemented but legal shorttag syntax for the required title element, and the "x" character serves as the body content.
Less than meets the eye at Facebook
The Arcades Project: Martin Amis’ Guide to Classic Video Games
Similar to yours :-) I don't have any family, friends, acquaintances, neighbors, or even connections to those people in jail or branded as terrorist. At the same time I do know that there are a lot of people in jail.

Similarly, I don't know any poor people. Or any people with serious mental problems. Or people living off of welfare. Or religious people. Yet there are a lot of those. Does that mean that all the reports on these groups and their problems are exaggerated?
The USA is not the world. Many US software is illegal in other countries, that doesn't mean we need to keep telling everyone that (say) some software is illegal in China everytime it comes up.
Either the unethical individual will be seen as a liability down the road and thus not promoted, or the unethical individual will rise and gain additional power, and create problems later on.
when you cache some html wich depends on $some_object, use a key that includes that object "version" (e.g. a timestamp).

Then on first access you save the html for a key "object-x-v1" and on subsequent access you get the same html.
When the object changes (v=2), so will the key ("object-x-v2), and when you access the same content again you will have a cache miss and the html will be regenerated, while the stale cache will just stay in memory until it's naturally evicted from memcache.
I'm afraid I'm going to give you a non-answer to what is a very good question, but have you ever watched a political debate? Who wins -- your guy of course! He trounces the other guy. Yet those who like the other guy will feel the opposite and no amount of eloquence is going to move that opinion.

Back to the original question: The bottom line is that everyone has an ethical and moral line that they aren't willing to cross, but that line moves all of the time. When you don't need to cross that line, it is firm. If an opportunity comes up that is on the wrong side of the line but you really need it, your line moves. That is human nature.
Designer, Architect, Developer
Have a read:

http://www.wassom.com/personal-jurisdiction-can-my-ar-app-ge...

I think that contains some information that bears on your situation.

My short form advice to you would be: don't worry about lawsuits that you have not been confronted with. It's fine to look ahead but this is something that most likely will never come to pass and you have no control over whether and when it will. Such lawsuits are typically reserved for companies that are wealthy enough to defend against them, a proverb in my country says that 'you can't pluck feathers from a frog' so if you're not a very plump target with assets in the US then you have little to worry about.

Concentrate on your product quality, market it with realistic expectations and you'll likely be just fine.
s/saturday/saturate/ ?

Perhaps we can use all this extra processing power for a better autocorrect implementation? ;)
Braillle-based iPhone, iPad texting app not only for visually impaired
I was just getting ready to post. What an adventurer!
How many people do you know? Do they make up a reasonable cross-section of the US population?
Business Decision - Why I use Django and not Ruby On Rails
You want me to sign up with no privacy policy? And using my Google login? Nope. Go find a free policy generator. Follow the instructions and put it up on the site. It shouldn't take you more than an hour.

Edit: I see in your "about" you're 11! I'm shocked -- what a fantastic show of skill on your part. However, as smart as you are, at your age you might not get the nuances of privacy policies. Shoot me an email (check my profile) and I'll help you create one.
Facebook Hacker Glenn Mangham jailed for eight months
me too, seriously!
Tis good, but it doesn't show how to read from the connection, only how to send data.
As the EU states had already agreed to stop importing Iranian crude, this seems like aimless sabre-rattling. It does cut off the window that some countries had to find alternative oil sources, though. Forgive my armchair analysis, but might this help Britain's economy, as the Mediterranean countries which relied on Iranian oil might now be interested in North Sea oil?
Every rails developer should read this article.
I'd be curious as to how much benefit could be derived by moving the business logic in the server side MVC to the database in the form of triggers, stored procedures etc. Seems like that's the really natural place for some of the functionality, such as validation, that can't be implemented safely client-side.
> It is really sad to see normally intelligent people go batshit crazy and start spewing nonsense.

> I am so sick of whining Europeans that I would almost support stalling the U.S. economy just to drive the E.U. into a ditch.

Indeed. Pot, meet kettle.
Ok, so the first interesting part is that instead of caching the result of a database request we cache the complete rendered result. And the bigger rendered parts are just constructed by combining the smaller (also cached) parts, right?

How does the application learn which version an element is at right now? Don't you have to call the database to find out?
I'm not managing the woobius.com domain anymore at this point. swombat.com itself is a dot-com, for sure, and so it is vulnerable to ICE-like shutdown, but not to the level that a GoDaddy domain would be.
My guess is that the parent is getting downvoted because it's so dense with hero worship that it turns my stomach.
Got that, follow up question here: http://news.ycombinator.com/item?id=3609369
I think part of why Facebook has failed thus-far as a platform for commerce is that they haven't made-possible the primary consumer advantage of having multiple retailers selling through one platform - comparison. If you think about an aggregator like the restaurant platform Seamless, they provide a mechanism by which you can search across merchants and see all of your options in a way that feels like you're ordering from Seamless first, and the restaurants second.

Facebook has gone the other direction ... treating each retailer like "an island" where there isn't an easy way to at-a-glance see all of the retailers and their products in one view. Sure, food and "stuff" are different things... but I think for consumers to embrace an aggregating platform for commerce, Facebook will need to flatten the view to the customers to allow them to get a view of their buying choices in a less-segregated way than things have been presented to them until now.
It's mostly just to stay on par with bookshops, which allow you to come in and read for free, and typically have coffee shops in a part of them.
Someone in the US would sue you in their state, which if you lost they could potentially seize your assets in that state. If you are UK based, this would entitle them to nothing upon winning. You have literally nothing to lose.

I have been manufacturing a product (not software) since 2004 and have had the pleasure of verbal threats of lawsuits a few times. After 100,000 products sold I am still waiting to see my first letter from a lawyer telling me a suit has been filed.

While the US is very litigious, the risks are not there for you. You do not have the same legal exposure as McDonalds or Wal-mart so I would not be overly concerned about it. Sell to the US as much as you want and don't worry about lawsuits. The only time you would need US insurance would be to sell to large distributors who will demand proof of insurance. For my product that used to cost $20,000 per year for insurance, now it is down to $6000 a year because of the lack of lawsuits.
You can get AWS on european servers, and iirc that falls under digital safe harbour laws, so the US govt can't get access to it.
May I know what packages do you use to build the site?
I disagree - unless you are talking about becoming an expert. But I prefer to become an expert in the course of using things in the real world.

This applies to the theoretical knowledge as well - you can easily learn new data structures or algorithms in two weeks. Then you can master them when you have a problem that requires you to use them.
Well the point is that by doing rendering on the client side you get most of the latency issues out of the way on first load and actually have a lot more control over its effects on the user even after that (e.g. you have the option of syncing with the server in the background).
Soleil Noir - "In 2012"
A Start-Up Guide for Android Smarthones
I think a better way to phrase the poll would be: Which alternative JVM language do you actively use most?

I've met a lot of people who like and use groovy and have it in production but almost nobody who actively uses clojure or scala. Maybe I am biased by my social circle or maybe people are just answering the poll based on what language they think is coolest and not the one they actually use.
Ask HN: 'Like' my domain, or 'Like' my Facebook page?
So here's a question for SEO/marketing type hackers out there - what will have more impact for my business? Letting customers 'like' my domain or letting them 'like' my Facebook page?

For example, I can add a 'Like' widget to my homepage where my domain name is the thing being liked (eg. a customer clicks 'Like' and their news feed shows something like "Joe Bloggs likes www.example.com").

Or, I can add a 'Like' widget where my Facebook page itself is being liked (eg. the customer clicks 'Like' and their news feed shows "Joe Bloggs likes Example.com" and links through to www.facebook.com/example.com

Is one of these better in terms of SEO impact, or the results on facebook? Any raw opinions or opinions backed by facts?
Basically every system rewards some behaviors and punishes others. If your system rewards bringing in money and to hell with ethics, then the shit will float, and eventually the folks at the top will be unethical psychopaths who will tear your company apart.

If you have people who genuinely want to bring money in, work hard at this, and so forth, and they are ethical, and you reward them for both of these, then your business is protected and will not lose sight of the necessity to change the world for the better, which is, likely the heart of the business if it is any good. It's easy to sell products that benefit people, and things that make the world a better place do that.
Windows Phone in Finland gains market share taking 3% from iOS and Android
This could be the first time I've approved of style="text-decoration: blink;" being used.
We definitely do not live in a fascist police state. However, there are elements of the cultural and political scene that can be accurately described as fascist.

To put it another way, it's certainly true that it is still possible to live a happy and basically free life in the US, and many other countries. However, it's also true that unjust laws has seriously negative effects that make many people less happy and free.

These aren't contradictory. It's also possible to be basically healthy but have an illness, basically financially stable but have unexpected expenses, for a team to have good fundamental teamwork but still have some coordination problems, etc., etc.

Despite an overall good state of affairs there can be bad things that are important to consider, especially when the trajectory seems to be that things are getting worse.
11 years old, or a programmer for 11 years?
No, it shouldn't be measured that way.You should measure the damage caused by taking these domains down, and how many comapnies went oit of business because of this.
Not all networks allow using an external DNS. For example I regularly travel with the train in the Netherlands, and some trains provide wifi. The network intercepts all HTTP requests and forwards the user to a Terms Of Usage page; interception stops after the user has checked the 'I agree' checkbox. For a time I was wondering why even the Terms Of Usage page never shows up; turns out it was because I was using the Google DNS. Removing the custom DNS settings made it work again.
You can claim your DUI was a mistake, a blunder, an oversight on your part, but that won't save you from a conviction. There apparently seem to be no such consequences when the government decides to shut down and possibly kill a business by suspending the domain.
The problem with changing it in the library is that you'd also have to change it everywhere arrays are used in Julia itself.

The only way I could think to manage it would be a pragma which switches 0-based on for a given file. But this is doubtlessly not trivial.

Or there is the less elegant option of introducing a new operator for 0-based arrays. But this is liable to cause confusion I think.
V8 for MIPS
Hello Python - 50% off today
http://www.manning.com/briggs/
Using code dotd0219cc.
Not my book but I've been waiting for it to go on sale -- you can get 50% ebook or softcover.
These guys have an amazing sense of humor. Vint Cerf himself keeps making hilarious RFCs, for instance:

"Twas the Night Before Start-up" [http://tools.ietf.org/html/rfc968] that ends with:

At last he was finished and wearily sighed
and turned to explain why the system had died.
I twisted my fingers and counted to ten;
an off-by-one index had done it again...

and "A VIEW FROM THE 21ST CENTURY" [http://tools.ietf.org/html/rfc1607] that talks about the letters discovered in September 1993 in a reverse time-capsule apparently sent from 2023.

My favorite is one by S. Christie about implementing The Infinite Monkey Protocol Suite (IMPS) [http://tools.ietf.org/html/rfc2795].

:D
The UK is a net oil importer now, so I don't think so.
Really, really cool.
Is the documentation still accurate on that there is no way to pass structs from Julia to C?

One other slight difficulty seems to be the lack of finilisers, e.g. to clean up a GMP bignum when there are no remaining references to it.
Good question. Apparently his English isn't that good which leaves the statement "I’m a 11 years programer" open to interpretation.
This only requires one image, improving speed, reducing bandwidth etc. And you don't have to 'precomupte' anything.
You can thank Inge Telnaes and his virtual reel patent for this. It changed the industry in the late 80s and early 90s.

http://www.google.com/patents?id=G4YzAAAAEBAJ&printsec=f...
100% cpu usage on chrome 19.0.1042.0 canary
0% cpu usage on firefox 13.0a1 (2012-02-18) until foo/bar execution (100% cpu usage too)

Like it anyway. Great job
And see this twitter 'thread' regarding the performance of pat.go vs. Sinatra:

http://twitter.com/#!/go_nuts/status/169567165358407680/phot...
Online jobs in Pakistan
Online jobs portal in Pakistan with job matching algorithm.
Thanks for helping with the distinction
Although I like these kind of tools, I doubt that they're useful to learn basic programming as they need a lot of prior knowledge to be present to already understand the visualization. For example, what is a stack or heap to a novice programmer? What will the effect of this visualization be on their construction of an operational understanding of basic programming language concepts? And these constructs, will they be helpful, have no effect, or even be detrimental for developing understanding of more complex programming structures?

On the other hand, in a more advanced course, say at university level, it might help to construct knowledge about how programming languages work internally and how this relates to their already existing understanding of basic programming constructs. So, as a teacher be sure to evaluate the effect of the educational tools you use. I know it is easy to use existing cool tools (and this one definitely belongs to that category), but what is its effect on your students' learning?
People who have experienced the above don't tell everyone the meet about it. So, it's still possible you know people who've experienced the above, especially since many of things you list are quite common.
VLC is far from the only project to face this problem unfortunately. The Linux Mint devs likewise state it is "designed in Ireland and conforms to both Irish and European law", something H-Online talks about: http://www.h-online.com/open/features/HealthCheck-Linux-Mint...
Though the system I suggested lets a site change CA.
Compile and Run Objective-J on NodeJS - objj-node
Here is Why You Need a Good Startup Exit Strategy
IPad 3: iPad 3 new photos and 8 megapixel Camera.
While it's an interesting trick - With no proper timeout / error control, I'd rather see the already bloated bash to be a couple of bytes shorter, than to include that feature. There's 'nc' when it's needed. We're getting quite far from the unix's 'one tool - one simple task' idea.
I haven't heard people talk about this for a long time..

http://code.google.com/p/memcached/wiki/NewProgrammingTricks...

Anyway, if you use this method, you would expect to have long key, so base64 or binary protocol would be useful.
I'm familiar with the processes. I get what the writer of the plugin is going for. I just think it would look better if the effects were applied with an image editor like Photoshop.
Tips for Using Facebook to Market Your Website
Nice. I wish for ability for function to return multiple values. Is it possible at all?
Let me suggest one solution for such cases: Use iterative tasks, in the spirit introduced by TurkIt.

For example, you want to create a caption for an image. You let a user create a caption. Then you take this caption and give it to another user, asking the user to improve it. Take the two versions and ask other workers, "which of the two versions is better?". Iterate until no improvement is possible.

Not a trivial setup, but gets around the binary accept/reject decisions problem and generates results of significantly superior quality.
Oh, thanks. Are there any net oil exporters left among the Western European countries? I was under the impression that the most productive oil fields in Western Europe were in UK waters.
This seems severely over-engineered.
Most reported power laws lack statistical support and mechanistic backing
Sorry Jacques if my comments are offensive, but this whole America is the evil empire meme is just a load of crap.

Someone needs to start 'Occupy Reality'.
Yes, this is the idea of this plugin, it doesn't use two different images, just one :)
It's on the google app engine.
Thank you. At least someone gets the point.
Probably not, but with the new dictionary literal syntax, returning a dictionary with a set of keys-values should be a breeze :)
We use chrome for internal apps. Forcing you to use 8.8.8.8 means our users have to remember ip addresses instead of http://nameofapplication/

Not a problem for me, but I'm sure a lot of people would complain.
Elegant ASP.NET web forms with jQuery