skysight-inc/HackerNews huggingface dataset:
> Every concurrent request gets its own thread, whereas this seems to be one thread per core.

No. Servlet containers use a thread pool (that grows and shrinks dynamically).
>This. The biggest difference is in the two cultures: blocking is anathema to the Node.js community - they will literally reject libraries or code that blocks because it destroys the entire model

Really? So they reject any kind of library that does anything except call a callback? Because everything else, from calculating 2+2 to creating a template blocks. And it doesn't matter when it happens, when it happens it blocks.
Xcode may be unstable, but you can write Objective-C in any text editor. And since Xcode shells out to regular command line tools, you can do the same under any environment you wish.
Steve Jobs had an honorary PhD in Reality Distortion from Miskatonic University, so he could put anything he wanted to on his resume.
> If someone is violent then they have something wrong in their head and should be treated.

This is not always possible.
Yes, but the lib can do it for you, and you won't have to know a thing.
HTML5 spinner/scroller engine
I agree that for some people, RubyMotion may be better than ObjC. I'm not one of them. Regardless, I think your Ruby code examples could have been better chosen:

- I'm a huge fan of Ruby's || operator, but probably wouldn't use it to dequeue or create a table cell, because the line is way too long. Perhaps this is fixable with a return after the ||

- creating labels programmatically seems like a poor example because I'd do that in my storyboard, and it would take zero lines of code. Or 6 lines of XML for 6 labels, if I'm being pedantic.
I don't think so bro -_-
Exactly. C++ is simply way more complicated than Obj-C.

Also, the Obj-C object system is pretty high level and dynamic (message passing, late binding, dynamic dispatch). This makes it somewhat slower at method calling, but at the same time a lot easier to work with.
The downside of being slow is usually mitigated by simply being able to drop back to plain old C if need be.

Of course, C++ can emulate all that, and without performance compromises, but at the expense of readability.

For the longest time, I would hands down prefer Obj-C to C++ just because it was simpler. The more experienced I become with C++, the more I am able to appreciate its power and no-compromise attitude, though.
Agreed. I'm sure obj-c is horrible if you keep expecting it to be like Ruby... people need to embrace the idioms and syntax of the language they're actually using.

After using it for almost a year, I find obj-c really nice now. But that was only after I got out of the C/C++ mindset and more into obj-c mindset.
Long distance relationships are not impossible. I found the key to make a vow of daily contact, even if its for less than a minute.

Best of luck :)
Video Friday: Robot Termites, Dust Puppies, and Serious Social Issues
As much as I'd love to spell it "renaissance", it's an American site, so I have to write in American English :)

God save the Queen!
If You Want People to Like You, Then Kill Yourself
Airlines LOVE baggage fees. They're tax free. I wouldn't be surprised to see airlines reduce ticket fees and just boost bag fees for more tax-free revenue.

Reference this Hipmunk visualization:
http://visual.ly/air-travel-baggage-fee-revenue-timeline
It's hard to be in a relationship with two go-getters. I think you already know what it is that you want to do. Long distance relationships are hard, but if you are committed then it will be okay.

How many years are we talking here?
- Objective-C is Hard to Use

It has a much steeper learning curve than Ruby for sure, but once you're proficient it's no harder to use. Indeed there's benefits to both languages.

- Xcode is Unstable

It's gone through periods of instability. But in the current version you may encounter the odd crash (perhaps once a week in full time use for me). Really not an issue given it's a cutting edge tool that's rapidly evolving.

- Xcode Hides Important Information

It has a learning curve. Some things take time to learn but once you do you're more productive.

- Objective-C Is Tedious

Matter of opinion. One person's tedium is another being explicit and reaping the benefits during refactoring, code completion and compilation speed.

- RubyMotion is Easy to Use

For sure easier than Objective-C. But so what? Can it build complex apps more quickly than Objective-C when someone becomes proficient? Probably not.

- RubyMotion is Ruby

That's great. Ruby is a great, easy to use and powerful language. I love Ruby. However given all the other things you sacrifice to get Ruby it's really not worth it.

- RubyMotion Makes Debugging Easy

Really? It sure doesn't look like it does. Xcode and LLVM save me a hell of a lot of time writing my apps because I don't need to actually run them and see the exceptions. And what about the static analyzer?

- RubyMotion Isn’t Perfect

Indeed.

- Better Than Objective-C

For trivial apps yes. For apps you'll be paid to write, in my opinion probably not.
> Why do I have to have huge statements like this?

Uh, because you're declaring six static color variables. Also, they could be collapsed into one line.

> Introspection is unavailable at runtime

Not sure what this means. Everything is introspectable in Objective-C. #import <objc/runtime.h>

The cell dequeueing comparison uses a one liner for Ruby and an if statement for Obj-C. That's not a fair comparison. "dequeue ?: allocate" would be fair.

> dequeueReusableCellWithIdentifier, ugh.

What is wrong with this?

• I am dequeueing something from the receiver.

• It is a reusable cell.

• The first (and only) argument is the identifier for the cell.

What would be a better name, without losing the descriptiveness?

> Without tab completion, you do a lot of copying and pasting from the documentation when you find a method name you like, just to ensure you don’t accidentally typo it.

This is a huge problem, not a minor thing! The whole point of those "long" message (not method, btw, but that's minor) names is that you don't have to read documentation. If you want to append a format to a string, but don't know the name, just start typing "stringby" and the names are the documentation.
This project is really interesting to me, but my biggest issue is the code completion issue. I can deal with writing UI code manually, but Cocoa's APIs are complicated and I find it difficult to remember the method names, argument names, etc. Ruby's nicer array and dictionary syntax may make that easier though (alleviating the need for [NSArray arrayWithObjects:...], [NSDictionary dictionaryWithBlahblah] and replacing it with simply [] and {} to remove complexity.)
We put on a technology conference each year in Raleigh, NC for about 300 people and charge 20.00 per person for the 3days and still make a profit. It's next weekend, come check it out http://Carolinacon.org I'm not sure why conventions cost so much, we don't even have sponsors.
Of course it's wrong; all scientific theories are provisional approximations, and the conflicts between quantum mechanics and general relativity are well known.

The hard part is proposing an alternative theory that fits all the known evidence. Quantum mechanics and general relativity both match a ton of observations; anything that is going to replace them will need to at least match the same set of evidence at least as well.

Put another way--when one theory replaces another, it must be fully contain the previous theory. General relativity, when applied to everyday human experience (i.e. not super fast, super big, super heavy), produces Newton's law of gravity.

Personally I think the next step in scientific understanding is in information theory. It has the possibility of unifying chaos theory, computer science, physics, and biology. I think this is how we'll develop an description of consciousness for example. We've already seen some preliminary reports that information theory can reproduce gravitation theory for instance.

http://www.technologyreview.com/blog/arxiv/24975/
Yeah, that picture is misleading-- the two devices aren't on the same scale at all.
It can be cheaper for people to get to these cities and get accomodation - as well as the millions that live nearby.

I did a conference at the Anaheim convention center (=Disneyland). Flights to LAX were $200, there was a $10 shuttle from the airport and a line of $50 motels.

Then I had to go to Pittsburgh, sounds like a cheap place. But flights were $1000 with a lot less choice (who wants to got to Pittsburgh?). There were only a couple of hotels near the convention center and they were $200/night.

Las Vegas is one of the cheapest places in the US to get to and stay at, that's why it's so popular for conferences. Similarly for Amsterdam in Europe.
Is Memcache recommended when using mongoDB as database?
Another thing I've seen work well is run a competition with a small prize than involves attendees visiting all of the sponsor tables. Run it at the same time as a coffee break. It's fun, folk who don't care can opt out, gets a bunch of folk some face time with sponsors.

Also, on the schwag front, do what you can to persuade the sponsors to give out useful schwag. For example I've got a stack of branded retractable sharpies that I use every day. Somebody gave out some nice branded planning poker cards one time that I still have and use. Somebody else gave some nice single-card summaries of innovation games that I kept.

The bags, frisbies, pointless brochures... not so much.
I don't think that the TSA is about health policy...
I've written more code in Ruby than in any other language over the last ten years and I intend to continue using it where it's appropriate. But I have to agree with a lot of other posters that this just seems like a case of people being too lazy to learn something new. If we were talking about the old Obj-C without blocks, ARC and collection literals, I might be more sympathetic. But this just doesn't seem like enough of an improvement to throw out static typing, a decent visual debugger, and first-class, unmediated access to the native APIs without a clumsy pseudo-selector syntax.

It's true that Xcode is bad, but the solution to that is to use AppCode, not to throw out the language.
Start-ups: Fewer launches, less hiring, declining importance?
Ha, yeah, I was just trying to think of a long book. I tried reading Harry Potter in Portuguese once upon a time - quickly learnt that fantasy novels are a hard way to learn a language.
Thanks for the reply.

As for the clarification, I was more concerned with people attributing the derivative work with the credit of the movie moreso than the director on the whole. I probably only phrased it how I did since you used Spielberg's name directly.

The thing I find irritating (on a grander scale, not pertaining to you, specifically) is when cases like this arise where the movie rides the success of the book.

I get that it's probably specific to people who have read the book vs. people who haven't, but I'm usually interested enough to ask, as sometimes there are cases when directors take the movie to a level the source material didn't, just as there are times when a director is unable to take good source material and turn it into a good movie.

Thanks again for the insight.
I think DM kind of missed the point of what YC is doing here.

Their argument is not that smart people can just make anything work, but that smart people who have the desire to change things in the world for the better almost always have an idea lingering in their head.

They just need help finding out what that idea is and YC finds they are good at helping people do that.

Think about how many people left good companies for bad ideas and pivoted to something else.

With Dustin's point of view they would have been stupid for leaving said big company in the first place, but alot of times the struggles after leaving the security blanket are what make the greatest ideas come to life.

I hope YC continues to be transparent with the results of this experiment, I think it could prove to be even better for the valley as it gives people who are truly qualified the confidence to do something without feeling like they are going at it alone.

In my experience some of the most risk-averse people who think the least of themselves are some of the smartest people I know.

I'd be willing to bet I'm not the only one who sees that pattern.
I am talking about the cultures surrounding these languages and frameworks. Node's community rejects blocking libraries. Java's does not.

So what?

You get tons of Java libs to use, a majority of blocking ones and lots of non blocking on one hand, or you restrict yourself to the fewer non-blocking libs of varying quality available for Node.

With Java you can also turn blocking libs to non blocking with a wrapper and threads, whereas with Node.js if it's blocking you're screwing, because the js engine is single-threaded.
>>>Don’t get me wrong, Objective-C is better than C or C++, but I don’t think that’s saying a whole lot.

Objective-C better than C++? Wow, has this person ever used Objective-C and C++?
The frameworks themselves sometimes impose verbosity, changing syntax used to work with them isn't going to do anything about that.

I've seen quite a few examples since yesterday where the code given was not fewer in line count or even easier to read (partly subjective), but was simply more approachable and familiar to people who are already set on writing Ruby instead of ObjC.

If you know ruby very well you may get a head start here without having to learn ObjC (yet, i'll be shocked if you dont hit walls with this plan), but the mountain of work for you is learning the frameworks, and learning them without the benefit of 90% of the examples and help available specifically for ObjC.

And what of working with the parts of Apple's platforms that aren't Objective-C in the first place, like all the CoreFoundation stuff which is C. At some point you're going to hit walls that could be easily solved by dashing your code with a few lines of C or dropping in an example you found on stackoverflow, but now you've got to come up with the Ruby equivalent and you're actually juggling a new set of issues whether it seems that way or not. Maybe the time you save writing most of an App in ruby makes up for it, but I'd be surprised if thats the case in practice.
Based on the touchwiz look and feel and the annoying nature of Kies, I'm skeptical of samsung's ability to deliver great software. The screen sharing feature really is an application where current iOS really beats out android, so if they did this well, it will be a good step forward.
Nilay Patel and T.C. Sottek of the Verge AMA on CISPA
This has been around since at least 2010.
That's fair and makes sense. Thank you!
That is only because there are so few grammar schools left. When they were all over the country, anyone who passed the 11-plus, regardless of their family's wealth, could go.

These days they are intended to reinforce class structure. You don't need a left-wing, if you don't have a poor working class...
Awesome thank you for the feedback - very helpful!

We are definitely looking to change things up - the flow, focus more on our video/typing exercises and or create more games to see what works best!
An introduction to simpler concurrency abstractions
This is the basic premise of "Waiting for Superman." It's a fairly good documentary on the failings of American public education. The majority of the film focuses on the problem of stratification and the impact it has on both lower and upper levels of the stratification.
Objective C's collection syntax is terrible and is easily the worst thing in the language. Apple fixed it with collection literals in OS X 10.8 though and those enhancements are almost certainly coming to iOS soon.
You make it sound like "rejecting blocking libraries" was some noble principle. Due to the severe limitations of JavaScript, there is no other choice.
Within the limitations of a scripting language, of course you try to get the best performance that you can.

However in general within a scripting language you are not trying to optimize things at the CPU cache level. You're worried about overall efficiency of your algorithms, avoiding disk, identifying performance bottlenecks, etc. But the pervasive use of hashes everywhere and memory hungry data structures makes careful use of CPU caches pretty much a lost cause.

Furthermore the language does so much behind your back that an analysis of performance from first principles is very unlikely to be right. Instead you need to benchmark.
Instead of spending the money on food, we get a free extra room with selling enough rooms and we use it for people to sit, talk or do quick talks, what ever they like. This gives them the face time without costing us.
The undecidability of the halting problem is not very important
You're just spreading FUD. And it simply isn't true. I'm not projecting here, I've done this very thing. I know. I've worked for several organizations with more than 10,000 employees.

I was not being silently discriminated against because I was rising faster than my peers almost all the time.

The market forces companies to do this because if they don't treat their employees well- particularly their employees with ability- then these employees will go somewhere that does.

Frankly, there's no reason to lie either. Having a college degree shows a certain timidity and inability to think for oneself, to me anyway. I'll cut someone slack for it when hiring because at that age you don't necessarily need to be that certain about yourself.
Get back to us when you've written a significant application in either Objective C, or RubyMotion.
So what if I'm the guy sitting in the window seat and I can't reach the bin unless I a) stand on the lap of the guy in 14C or b) ask 14B and 14C to move into the aisle while I do it?

What happens when a whole plane full of people try to move into the aisle while the aircraft is moving? FAA usually doesn't care for that one bit.
4 years of medical school, 3 years of residence to follow (likely in another city of the US). For the startup, probably needs another year or two before the team can start working remotely.
All of these points are subjective, why are you trying to argue against them?..
Woah man, you've really got some deep problem with college - you've written half a book on this page.

Step out of the black-and-white world where college = follower and dropout = leader. It's perfectly possible to go to college and not be a "coasting weak success."

For many people, college is a good experience. An experience worth 100k in debt? Probably not, but that's an extreme example. Maybe college wasn't for you. But it sure seems like you've got a massive chip on your shoulder, especially with lines like "having a college degree shows a certain timidity and inability to think for oneself, to me anyway."
Meet the Zipcar for electric scooters [video]
(Response to jbooth, but for some reason I can't reply to that directly.)

The whole point of sendfile is to make one system call to send all the data in one stream to another, which in general may block. If you're polling and sending only small chunks at a time (whatever you can write without blocking), is it really that much of an advantage over read/write on the same poll? (If you're not doing that, then you have to block, and you have to dedicate a thread to it.)
Ruby Motion Samples - Write iPhone Apps In Ruby
Citation scores and published paper rankings stopped working well more than a decade ago.

Minimal publishable unit - holding back results so you have a sequence of world's fastest/highest/largest to announce - 'building relationships' with individual journals etc. We learned how to game the system.
>Lots and lots of people have created programs in ed on a teletype. Something being possible doesn't equate to it being efficient.

The difference is people have created content EFFICIENTLY on the iPad, including people that would not even know what button to press to start a PC so to speak.

>Good, intuitive text editing with an on screen keyboard.

"Good" is subjective. If we are talking "words per minute", something like BlindType (see my link above) shows that writing with an on screen keyboard can be improved in major ways.

Not to mention that nobody said you can only use the on screen keyboard.
> dequeueReusableCellWithIdentifier, ugh.
What is wrong with this?
• I am dequeueing something from the receiver.
• It is a reusable cell.
• The first (and only) argument is the identifier for the cell.
What would be a better name, without losing the descriptiveness?

I don't think he's complaining about the name of the method, he's complaining about the fact that he has to type it all out now instead of Xcode completing it for him, which is a gripe against RubyMotion, not Objective-C or the cocoa API.
Since you seem to know your database books, is there anything you can tell me about Date's latest, "Database Design and Relational Theory"[1]?

[1]: http://shop.oreilly.com/product/0636920025276.do
Yea, I was going to try and scale it accurately, but the S3 is in the foreground, so there's perspective to deal with as well -- so I decided to just leave it as-is. Maybe I should've put 'image is for illustration purpose only' at the bottom...
Is it true that those are only available in 10.8? It thought they just compiled to +[NSArray arrayWithObjects:count] calls, which would work anywhere.
Your async container still can be useful, since you can have worker threads executing blocking operations. This works fine as long as your JDBC queries are fast enough to feed the event loop without creating tons of threads.

What async containers like Netty (and by proxy, Vert.x) solve is high-latency cases like long polling and file upload/download. Netty for one does have support for zero-copy file transfers: http://docs.jboss.org/netty/3.2/xref/org/jboss/netty/example...

In my experience, these are a small percentage of cases so the majority of the app can use blocking I/O -- even long-polling code, as long as you are using the async framework for the client connection.
Seems an improvement. One thing that remains confusing is that mousing over a course that I think is completed displays "Resume Course".

Also, the actual classes themselves need an overhaul. There's something really confusing about trying to proceed through the lessons. The bolded instructions are invariably below-the-fold. It's not always apparent that the "next exercise" link is new (since it displays in the exact same location as the previous link).

Also, some of the courses have exercises that bear no resemblance to anything you'd actually do in reality. I'm pretty sure people learn better when they feel what they are learning is applicable. Even more so than when I'm sure the lesson creator offers something they feel is fun or funny.
Age of the father does have an effect, actually. http://www.webmd.com/infertility-and-reproduction/news/20030...

edit: Also, as someone who's had to use sperm donation to conceive...

> Wonder if that's his kid?

is pretty offensive. It's his kid, whether he's the genetic father or not.
"Is it true that you were bad at math as a kid?" "I was unbelievably slow... I always got lost... I was at least twice as slow as anybody else. Eventually I would do very well. You see, if I could do it that way, I would get very high marks."

Speaking as someone who still struggles with math, and was generally the dumbest kid in the most advanced classes, it's a huge relief to hear that someone as brilliant as Penrose experienced the same difficulties.