skysight-inc/HackerNews huggingface dataset:
> One way in which you might participate is to explore what the other person finds so fascinating about the topic. You may think its idiotic but they clearly don't, so rather than try to convince them of your point of view, find out theirs.

In my experience most people who follow the big fad of the day (royal wedding, big brother, american idol, etc) are never really fascinated by it. If you ask them "what fascinates you about american idol?", the answer you're most likely to hear is "wtf, what do you mean?". Many of these things are designed to be attention-grabbing and to encourage chattering about their consequences, even if there is absolutely nothing interesting or actually at stake in that.

In this sort of situation I either (a) go talk to actually interesting people whenever someone starts blabbing about fad-of-the-day or (b) pretend to find it interesting and listen to what the person is saying only to be made bored very soon.
I am always disappointed when I don't get asked a Fermi problem. Not only have I spent the last 5 years hearing about how I'll be asked a Fermi problem, but they are fun, and I am pretty good at 'em.
Unless you're in flow. That is the only time I sit for any extended period - when I am so engrossed in what I am doing that I don't notice the time. Normally I get up and walk around every ten to twenty minutes, I'm a little hyperactive and usually need to do something active fairly frequently.

And unfortunately, libraries don't work for me, I find other people much too distracting.
> the smartest people I know are also the most humble.

I've found that it's the most accomplished people I know who are usually humble (about their achievements and otherwise), and they usually also happen to be very smart.

There are a lot of smart people who are doing nothing with their intelligence, content to just feel superior to others by way of their raw ability to intellectualize. Absent of any meaningful manifestation, intelligence is an unimportant distinction between people, in my opinion.
You could also argue that, given the current success of iOS and Mac, Cocoa isn't a significant hinderance to Apple's platform's success.

(Not to say I wouldn't mind some significant advancements in Apple's preferred runtime, but there's strong evidence that the current runtime is actually quite suitable. If, as you say, .NET is only now starting to look good after a decade's worth of work, perhaps that wasn't the wisest investment on MS's part. Siracusa's been beating this drum for years and, like many of his crusades, I struggle to see how Apple suffers from not following his advice.)
>They are also available on github

Great. perhaps getting rid of it on CPAN could be nice.

> It's not just an "addition" - if there are N frameworks, the caching modules need to be written and maintained for N frameworks

I can not agree with that point. You are almost forgetting CPAN here-which is funny coming from you- (The strength of Perl that many languages do not even dream to have)...
The actual modules were context agnostic and
it's not because you have N frameworks that you MUST have N xxx(caching,session) frameworks.
It's just that some framework authors want to reinvent the wheel.no more, no less(in other languages, without an infrastructure like CPAN this can happen more than it ought to, indeed!).

so the logic: N web framework = N xxx sub frameworks is just biased.
It has always been possible to not duplicate efforts, avoid bugs with different code trying to solve the same problem. It's just that again, some framework did reinvent the wheel where they should have been using what already works (or help on it).

> That's why there's Test::WWW::Mechanize::PSGI exists

you are just telling me that there is yet an other way of doing the same thing but in the PSGI environment.

All in all, I still don't see what the PSGI spec/protocol and the modules that evolute around bring to the environment.
I don't see why we should have a superset of CGI,which is a language agnostic protocol,that binds with Perl via PSGI.
Really don't get the idea...Is this binding between Perl and the protocol lead to way much better performance?(better than FastCGI?)

I've never used mod_perl as it is only useful for Apache but
I knew that using FastCGI could open me many servers and better performance without having to change much and care about even the language.

I guess my environment is too far from the
problems you seem to encounter and fix.

They are new things where I think, yes, this is going to be good but here, the "pintokita" moment does not arrive at all.

I can only hope that DotCloud will offer a simple support for fastCGI (CGI::Fast) with Nginx.

By the way, adding some script examples for CGI::PSGI and other related modules would be much appreciated (The doc is too elliptic and assume we know already that much about the PSGI context and Plack system)

Thank you for your time and efforts anyhow!
But, its well accepted that too much money too early will kill a company. eToys, etc.
Well, the chart does not include much. For example, i found the ISC licence now. It seems to be equivalent to MIT, but has simpler text.

http://www.isc.org/software/license
Anything in Seattle/Eastside?
That's true, but, IMO, there's a difference between learning to program in a language and learning a language (aka "Thinking in X"). The K&R is still the best source for the latter.
Their PR stunt really wans't very well executed, I live in the UK and closely follow the tech world, yet I had no idea it was happening until I read this article.

Most people I speak to agree that while what colo(u)r does is pretty cool, it's not enough to make people stop using facebook or anything else, the whole thing smells a bit 'gimmicky'
You're right, the code is unimportant. Oracle also acquired Sun's patents, which is IMHO the main reason they bought Sun.
Let's face it: in 2011, Obj-C has the sex appeal of COBOL.

I think it's primarily a strategic decision: Just like apple likes to lock-in its customers with itunes, so it does with developers, locking them behind an unpopular language with a slow learning curve.
No, but I'd love to hear about it.

I see a lot of c++ devs complaining about how after 20 years they still haven't found a common ground on how to properly use c++ [1], its complicated memory management or its poor support for strings [2], things that are taken for granted with objc and Core Foundation. On one side I see an incredible amount of developers dealing with high amounts of complexity with C++, and on the other hand this low-level dynamic language with a powerful [3] open-source standard library [4] that is sadly only commonly used to build Cocoa apps. I'd love to hear about objc+CF for things like game development on other platforms than iOS or OSX, or an explanation to why it's not happening.

I really really don't mean to instigate a flame war here -- I'd just love to hear more about this topic.

[1] http://google-styleguide.googlecode.com/svn/trunk/cppguide.x...

[2] http://benjamin.smedbergs.us/blog/2007-11-05/what-if/

[3] http://ridiculousfish.com/blog/archives/2005/12/23/array/

[4] http://en.wikipedia.org/wiki/Core_Foundation
> There are no alternatives if you want to distribute on the most popular mobile platform.

This statement isn't entirely true: http://www.appleoutsider.com/2010/06/10/hello-lua/ Cocoa is extremely strongly encouraged, but it's possible, under the current developer agreement, to distribute non-Cocoa applications on iOS.
I know how nginx works, I use it all the time. He is saying if you have 1024 woker_connections, at 2 per connections per user, you'll get 512 users per worker process. But the truth with most modern browsers is it is 4 connections per user, woker_connections = 1024, that is more like 256 users. So if you really want to service 512 users, you need to set woker_connections to 2048. This is the math problem I was highlighting, a simple division problem.

I believe you are talking about worker_processes
I find it surprising that there are so many people bashing Objective-C here in the comments. I have been programming in Objective-C for living since the iPhone SDK came public and I came to love both the language and the libraries.

I think that many people who despise Objective-C syntax are simply not programming long enough in the language to overcome the initial knee-jerk reaction. Mostly the issue seems to be the message passing syntax, which I find very readable and self-documenting. What else should matter if not this?

Then there’s comments about speed. I have written two action games for the first-generation iPhones and I have never encountered a performance problem caused by the runtime. Over 99% of the time I could stick to high-level code without resorting to C to gain speed. That says a lot about performance for regular applications.

Block syntax could be better, I can’t use closures with such ease as in Perl (for example). But this is one of the things that have to do with Objective-C being a relatively thin layer atop of C. And that I see as a huge win, because you can very easily and naturally mix higher-level Objective-C code with plain C APIs that are very common on most systems. And if you want some lower-level bit-twiddling trickery for performance reasons, you are free to go. For me, C is a very elegant language and Objective-C takes out most of its rough corners.

Saying that Objective-C could be replaced by something “smarter” like Lisp or Haskell is simply ignoring the reality. Objective-C has very low language complexity, both the building blocks and their interactions are simple and there are few surprises. This is a huge advantage both for the newcomers and for programmers that deal with the stack most of their working hours.

The manual memory management first seemed like a chore to me after coming to Objective-C from Java, but the rules are dead simple and after a few weeks you don’t think about the memory management any more.

Yes, Objective-C is not hip. So what? It’s a pragmatic and reasonably expressive language that gets the job done. I don’t think that replacing it would serve any real purpose – and that’s a very good reason to survive.
This is an especially important point and should be at the top of this page. Makes me miss the karma indicators...

The problem with arbitrary surveillance isn't just that it's icky, unfair and (hopefully) illegal. It's that it is easily used by criminals.
I agree. Technical challenges are not always deal with issues of processing and memory. In case of web the real problem is scalability and communicating processes and system components. May be we will soon come up with some formalism and technologies that will make scalability a dumb problem but then we will have a new set of technical challenges to be solved. So the demand for highly skilled people who care about their work will only increase with time.

In my opinion it is wrong to assume that a language like Python is better than C. They are all independent of each other. Python is simply useless when it comes to real-time processing where hard deadlines are required, you cant chose anything except Ada or some flavor of C. They each have their strengths and that is why they are still alive.
Useful computer-aided design software
The language is not the runtime. Witness MacRuby. http://www.macruby.org/

"MacRuby is an implementation of Ruby 1.9 directly on top of Mac OS X core technologies such as the Objective-C runtime and garbage collector, the LLVM compiler infrastructure and the Foundation and ICU frameworks. It is the goal of MacRuby to enable the creation of full-fledged Mac OS X applications which do not sacrifice performance in order to enjoy the benefits of using Ruby."
I think there are definitely different kinds of social awkwardness. I tend to be more of the type that cannot find anything to say in social situations. On the other hand, one of my roommates is a different type of socially awkward, closer to the description in the blog post, where arguments with him end up with him saying things like, "That's dumb. A rational person would never think that."
I've actually played around with this concept. Conceptually it's not very difficult (or at least it wasn't for the code I was working with)... The biggest issue is PHP's reliance on global functions vs Ruby's methods for strings, numbers, arrays, etc. So, for every PHP global string function, for instance, you'd need to pull out one of the arguments and call an equivalent method on it. Bleh.
US Funds IP Enforcement, Offers to Draft Legislation in New Zealand
I remember pg saying that offers was pasted directly into the HN REPL and was only an experiment to see if it was popular enough to stick around. Guess it wasnt and offers was lost the next time the server rebooted.[1]

And there was also a /offerless![2]

1. http://news.ycombinator.org/item?id=1840062

2. http://news.ycombinator.com/item?id=1839808
Clean Up Your Mess - A Guide to Visual Design for Everybody
The title of the post is very misleading: Obj-C would crash and burn if there were native, supported alternatives in OSX, it survives exactly because there are no alternatives.
You definitely wouldn't want to make a case under freedom of speech, I'd suggest claiming Executive Privilege.
I agree that MacRuby is the most likely 'successor' (or rather, alternative).

Another advantage of MacRuby over some other 'scripting languages' is that it can be compiled to an executable via LLVM bytecode (per macrubyc). This will be appealing to anyone who doesn't want to give away his/her source code.
Obj-C, at least in the last few generations of mobile hardware, is a competitive advantage for Apple. It makes it easy to write fast, low-level code in C, and then to move transparently up to a much higher level of abstraction for non-critical code. With the relatively underpowered processors of today's mobile devices, this kind of control is important.

However, Obj-C completely falls on its face for anything of real algorithmic complexity. Working with complex, nested data structures and more sophisticated algorithms is very awkward, and manual memory management only clouds things further. In the longer run this may become a liability for Apple.
Clippy is back
Well apparently, MacRuby is already a private framework in Lion, so it serves some purpose in the eyes of Apple.

http://merbist.com/2011/03/07/hey-apple-please-be-nice-and-s...
See, economical benefit. There's the problem. I say it's possible but not with our current form of society.

> You think there's some conspiracy of corporations to waste money on unskilled labor to maintain capitalism?

Think about it and answer this question for yourself.
> Seriously, define a type that takes an int, pass it a long and see what happens.

I don't understand your problem. Are you calling a C function without prototyping it, or sending a message without prototyping the selector? There are warnings for both of these, and an option to make at least the first an explicit error.

> In ruby I don't need to touch 2 different files and put code in 3 places just to define a property, nor do I have to do this in C# or F#.

I believe @synthesize improves this.
Great question. Would love to hear some of the HN veterans chime in here.
I might be missing something, but this seems so obvious it's almost tautological.

He's limiting his discussion to startups in the "consumer internet" arena and speaking from the perspective of a VC.

So you need hype, quick movement and you don't expect the company to be around in a few years (unless it's acquired by another company, probably not run by 25 year olds).

Young people are going to be more in touch with what's fashionable or about to be fashionable in order to get hype. They're inexperienced so they'll work crazy hours for no money for the promise of a lottery ticket.

This market is not really dependent on quality engineering, since the code won't be around very long to be maintained and downtime or data loss is accepted by most users (who probably aren't paying for the service anyway).

And I'm not trying to bad mouth the sector either, it's a great proving ground for new ideas and we've gotten fantastic stuff out of it.

So the point is that in a business sector where it's in the investors best interest for the founders to be young, most of the founders are young?

In the financial industry this would be phrased differently: "The consumer internet market is highly tolerant of all the faults of young, inexperienced and easily exploited workers while also being easily influenced by the least expensive marketing on the planet"

I don't think that way of framing the exact same point would make it on techcrunch though.
Google's search enables the consumer. Obviously the consumer seeks the lowest possible price, and legality has nothing to do with this.
The learning curve of Objective-C is about a day if you know C99. Did you have some specific problem?
I've interviewed (onsite) at Google twice. First time I go invited back for more (which I declined) but the second time I failed.

My second onsite was a pretty miserable experience to be honest - I just wasn't doing well, and I knew it, but I couldn't get it together.

But one useful tip that did come out of it. The first interview (of 5) was via video, and it took 30 minutes to get going. It was the first time the interviewer had done one on her own, and she seemed more nervous than me. I didn't do great, but did nothing terrible either.

Anyway, when it came time to finish, she asked me if I had any questions. I was prepared, so asked her something, which she answered quickly - then asked if I had anymore. I said no, and so she goes "well in that case.." and asked me another interview question. And it was the one question I've had that I had no idea of how to approach.

Lesson: make sure you have lots of questions, and keep them talking.
At work we have grey walls with grey windows with grey blinds with grey carpet with grey ceiling tiles. And the photos on the walls are black-and-white mounted in grey picture frames.

Nobody has ever walked into our office and been offended by the decoration. And nobody has ever done any amazing creative work, either.
Ok, that's simply not true. On Mac OS X, you're welcome to use any language and runtime you wish for your application. Hell, if you want to use a non-Objective-C language and still present a native experience, use PyObjC, RubyCocoa, MacRuby, or any other language that shims into the Objective-C runtime and get access to all of Apple's Cocoa frameworks in the language of your choice.

The same is possible on iOS as well, with the (significant) condition that Apple must first explicitly approve your use of a non-Objective-C runtime before your app can be posted to the App Store.

But in direct response to your post, Obj-C has a rather level playing field on OS X and still survives vs. the alternatives.
> By the way, adding some script examples for CGI::PSGI and other related modules would be much appreciated (The doc is too elliptic and assume we know already that much about the PSGI context and Plack system)

The SYNOPSIS has the complete working example code that you can run with plackup, or any PSGI compatible web server - there's no much need for detailed docs about the interface since you don't need to change anything, other than actually being documented.

That said, a doc patch is always welcome - on github fork or via RT.

For the last chance, I'd suggest you more links where people explain the benefit of PSGI over CGI, Apache, FastCGI, HTTP::Engine or anything - in case you haven't checked them out. If you still don't get it and think Apache + FastCGI + CGI::Fast is the best thing in the world and you absolutely need nothing else, then I'm sorry, but that's fine.

http://www.perl.org/about/whitepapers/perl-plack.html
http://www.simon-cozens.org/content/i-finally-get-psgi-and-p...
http://blog.patspam.com/2009/plebgui-webgui-meets-plack
I am ranked 2 in 3v3 Random Gold league.

I think SC let's you learn how to play mind games, one of the ways to win a match is to understand what your opponents will think or do and play against that, surprise them, do something they would not expect.

There was a match where my allies were defeated I was alone and the 3 terran enemies got ready to drop the hammer on me with a bio army ( marines, marauders ), but I defeated all 3 of them with a handful of dark templars, because they were not prepared for that and I knew that because they were too self confident. Winning the game meant that I had to micro my units to their full extend, not letting them have a second to build detectors and jeopardize my plan so this really reinforces the notion that when you have an advantage you need to use that and get a bigger one.

A hard part of the game is that when you see that your tactic fails, you need to switch over to something else. When you have an air fleet and you realize that the enemy has marines, stalkers or any other anti air units, you need to build anti ground units instead and make use of your existing fleet, like attacking the enemy base while their army is busy fighting your second army.

The game also lets you take risks, you can go build cannons next to someone's base, you can quickly strike down a base with reapers, you could destroy a base with void rays or you could frustrate the enemy with mutalisks. These are all high risk, high reward moves, you could win the game in a few minutes, but you could also lose it if the enemy is well prepared for your tactic.

You could take a lot of real life situations and turn them into an SC game. The reason I play it is because it sharpens the mind, makes you think and act fast.
Ask HN: At what age you created your first succesful app?
One app that you sold or you are making a living of.
I fail to see how manual (or, in this context, explicit) memory management could “cloud things”. (It seems to me simply like many programmers can’t be bothered to invest the afternoon it takes to learn Cocoa memory management.) Also, could you elaborate why Objective-C makes it hard to work with nested data structures and sophisticated algorithms? In fact, I am struggling to find an example of at least a single general-purpose language that makes working with ”sophisticated algorithms” hard.
I think you want to ask this to a lawyer/accountant.
My biggest beef with Objective C is that it takes the most retarded feature of C++ -- that you have to write both a header and a implementation file (why oh why can't the compiler compile one?) -- and removes the really nice ability to allocate your object on the stack (which means memory allocation is really, really, cheap and you know when the object is deallocated).
among the other routes here, people print fake credit cards (and ids) and use them at cash registers. the magnetic strip doesn't need to work, just need those raised numbers and the logos. cashier will enter the digits and expiration. generally no cvv necessary. often, neither is ID, depending on cashier.

(for educational information only -- doing this would be illegal)
Exactly. The thing I find fascinating about human social interaction is its richness. It's confusing not because it's trivial, but because its so complex and approximate, unlike the rigid and hyper-rational world we techies like to inhabit.

If you're patient enough to probe beneath the surface, it's not just a debate of the merits of Justin Bieber, it's an incredibly nuanced group negotiation of power and identity, with rules far more complex than those of any software stack.
Movie online
movie online
A film, also called a movie or motion picture, is a series of still or moving images. It is produced by recording photographic images with cameras
movie online,online,movie,season,sepisode
The art of explaining stuff
As I mentioned, I've asked two attorneys (one tax lawyer, one general counsel), a couple of CPAs, and a financial advisor or two for good measure. They all could explain the mechanics but none of them had much to suggest beyond traditional startup angel investments (which I'm going to do with some of the proceeds - but I need something lower risk for the rest).
Facts are a subset of perceptions. Not all perceptions are facts.