skysight-inc/HackerNews huggingface dataset:
"If the Mac company were a separate company, and the iPad company were a separate company, what would the Mac company build to compete with the iPad? And I think the answer is the MacBook Air." - Steve Jobs

This seriously sums it up for me. I've recently moved a decent amount of my computing and my work to Apple hardware (Mac mini with a couple of hard drives as an iOS machine, Macbook Air as my usual laptop, iPad 2--still have the Windows demon-machine desktop, though). The Air was the last purchase; before that I had a Thinkpad X201, and briefly an X220 for test-driving purposes. And I found that I never actually wanted to use the laptop; it felt crippled and slow and all of these things when it really wasn't. But dragging the machine out, sitting down to focus on it--so many little factors started to add up, and I thought at the time that the iPad 2 was really a laptop killer.

Then I got an 11" Air with a 128GB SSD, and realized that wasn't the case. I was pretty skeptical at first: 4GB RAM? My Thinkpad had 8GB. 1.7GHz i5? My Thinkpad had a 2.5GHz i5. It was going to be lame--I wasn't going to get anything done on such an under-specced machine.

Turns out it really wasn't a problem. I run Windows and OS X on the Air, and everything I've got, from Photoshop and Illustrator to Visual Studio, works just fine on the machine. The only time I've even heard the fans was when I was building coretools from MacPorts (because the BSD tools aren't compatible with some scripts I've written and carted around for years on my Unix machines). The smaller size of the machine seems to be a benefit in ways other than portability, though I'm having trouble really expressing why; I find I focus very well and am surprisingly productive when working on the Air, on par with, if not better than, my desktop setup with three monitors and every bell, whistle, and gong I could want. (It's not a Windows/OS X thing, either--I find I'm more productive in either operating systme on the Air than on my previous laptops.)

OS X isn't perfect, and neither is iOS or the iPad 2, but Apple has demonstrated to me, even in a short period of time, why they're in the position they're in: the Air really is the "laptop competitor" to the iPad 2 referenced in the Jobs quote above, and I think it does so fantastically (and I think that's hardware more than software--as I've noted previously, I use Windows and OS X on it in roughly equal amounts). I would have expected that it'd shake out that the iPad 2 would stay home, but the weight of the iPad and the Air together is barely noticeable so both tend to live in my laptop bag. It's a slick arrangement, and the experience when using either of the products--or both in concert; there are apps to make the iPad a secondary monitor for the Air, for example--is really very rewarding and productive.
Investment banking as an umbrella term is pretty useful. Investment bankers have historically been professionals advising companies on financial issues. If you're Ford and want to construct a new factory, you go to an investment bank which helps you issue corporate bonds to finance the new factory. A factory gets built, which creates jobs and products for the market, and Ford and investors split the surplus from that action, with the former making more revenue and the latter getting interest payment. Investment bankers also handle acquisitions, IPOs, and other generally useful corporate finance, generally non zero-sum transactions. In return, the bankers are paid a fee for their services.

The problem is that these traditional investment bank functions only make up something like 12% of the revenues of a traditional investment bank like Goldman Sachs: http://www.wikinvest.com/stock/Goldman_Sachs_Group_(GS)#Inve...

Most of the rest of the revenue comes from trading and other activities of questionable utility.
Corporate blogging silos
Multy Electronics Complaints
Home Internet Businesses Are
You use Chrome's search but didn't use Firefox's? Why?

I've been using browser's search since Opera (Opera -> Firefox)
“Hopefully Facebook doesn’t try to pull a Microsoft and create some proprietary hooks for HTML5,” Haider says.

... How does that even make sense? They're just name-dropping.

What a thoroughly ridiculous idea.
As long as we structure the incentive of organizations to get them to take on as much risk as possible (though bailouts on the downside), arbitrary external limits on how much risk they can take on will just result in them finding ways to work around them. Like by giving lots of freedom to ambitious young guys and saying "Don't do anything too risky, though if by some chance you make lots of money we'll give you a big bonus".
The job has a lot of pros, but probably doesn't do itself justice on-paper

Keep in mind that you may be getting a lot of good people with a lot of pros, but that don't do themselves justice on paper.
Linked lists aren't used very often in languages that have easy (memory managed, or resizable) access to arrays, unless the specific characteristics of linked lists are desired. Arrays are faster for almost all operations for most collection lengths that come up in human-provided data (i.e. less than 10, almost certainly less than 100 - and in this case, tab pages, very probably only 3 or 4). And on the flipside, if the idiom of the language is to prefer arrays over linked lists, it naturally follows that you tend to want to clear such collections from the end rather than the start.

In terms of performance, another consideration may be important here: invalidation and redrawing of the UI. Controls like tab pages may update the UI for every modification of the tab collection (unless updates have been suspended). Removing from the end will look slightly more pleasant than removal from the start in this case.
I looked at it, but it didn't appear that libvlc gave me the level of control I needed (frame accurate seeking and reporting, access to framebuffers, stuff that low-level). Perhaps I didn't look closely enough...

Thanks for VLC, btw! It's awesome!
Except that it isn't an operating system. It's more like an HTML5 window manager that runs in a web browser.
Diamond Earrings
The Jewellery Channel (TJC) offers an extensive range of earrings including hoop, stud, and drop earrings to match your personal preference. Gold diamond studded earrings remain a popular combination for our online shoppers.
So there's still a chance that Bunnie will get DMCA'ed on using the HDCP encoding key? I'm a little lost on what's possible and what isn't now that the keys are out there.
Twitter Shakes Things Up Again: Fred Wilson, Bijan Sabet Leaving Board
That's a good point. And if the project consists of mainly bad code, it probably contributes to the project being abandoned, as it gets harder and harder to fix bugs and add new features in a code base like that.
I don't know, but it just _might_ be time for Microsoft to do jail-style security, in which you can't actually reflect from libraries you have no permission to.
Related: Are you considering remote employees? There seems to be a trend of the top Rubyists working remotely (that's if you want a top Rubyist, I'm pretty sure you can find a competent Rubyist if you keep looking).
Lauren Ipsum: Computer Science for Kids
So what's the "correct" way to do this?

Clearing the entire array can usually be accomplished easily, but what if you want to remove only items matching some condition?

Looping backwards, perhaps?

for ( int i=this.MyControl.TabPages.Count-1 ; i >= 0 ; i-- )
{
this.MyControl.TabPages.Remove ( this.MyControl.TabPages[i] );
}
I found a presentation here (pdf): http://research.microsoft.com/en-us/events/fs2011/ng_codenam...
Beautiful Birds Wallpapers, Amazing Birds Unseen Photos & Pictures Collection
All birds are beautiful, but some seem to have more visual appeal to us than others. Everyone love to watch birds, they are the source of inspiration for anyone who dreams of flying. Birds are different from one geographic location, which normally live in a place where the environment is their helpful. Lovely birds photography is one of the most popular genres of nature photography. This is a collection of the most beautiful birds wallpapers featuring cute birds. They has a nature bird beauty that only few people can see those love them and other will just try to find where is beauty :). Beautiful birds ever. These are the most beautiful birds of the world. Below list contains most beautiful birds wallpapers and amazing unseen birds photos gallery. So take your precious time to scroll through these beautiful lovely bird pictures to get the one that really catches your eye and satisfies your day!
10 Most Hated Jobs Based On Employee Surveys
Nitpick: you mean /dev/zero. /dev/null is an empty void.
Right now, yes it could... please don't do that :)

I'll add an email verification step soon.
Yes absolutely it should, I'll add it shortly.
Would you recommend attending any of these "hacker house" places I've seen on sites like Airbnb? Is that a good way to meet people who'd be offering jobs or would you end up around other people competing for them?
1. Director of Information Technology
2. Director of Sales and Marketing
3. Product Manager
4. Senior Web Developer
5. Technical Specialist
6. Electronics Technician
...

All of them are in technology/business sector. Why do you suppose that is?
Sony to ban gamers from PSN unless they waive right sue over security breaches.
I recently got an 11" air, and honestly can't see the need for a 13 or a 15". The latter would, in my opinion, stop being an "Air" and be more of a "brick" in terms of weight and size. The beauty of the MBA (ok, one of the beauties) is its portability.

I have to admit, though, choosing the 11" didn't come easily. I knew I wanted it for its compactness, but I was convinced the screen would be too small.

Do yourself the favor and challenge your assumptions. Go play with it. Especially play with it using Lion and its full-screen mode for apps like Safari and Mail. This is where the Air really shines.

To me the only benefit to the 13" is the larger battery. Otherwise the 11" is perfect.
And you're comment is exactly why I wouldn't do it in Windows 8 either.

There hasn't been a single time when the answer to some deficiency was not "Well, this version of Windows/.NET is cr*p, but the next one is going to be perfect for every need".

I didn't choose to go with C# for this project - someone else did. Being the low-level guru, I was called in to fix all the deficiencies.

Really, .NET has been out for 10 years now, WPF for 5. There is no excuse for this abysmal level of support, and until I see Win8 actually working properly with sample code that addresses stuff such as I mentioned above, I won't consider it.
Laser levels
Interesting suggestion, I'll take a look at XMPP and see how that would work. Thanks for the suggestion.
10 Worst Changes Made to Star Wars
I blame JavaSchools for this.

Computing education should be started in Scheme or Python, without all that accidental complexity-- "public static void main(String[] args)"-- littered around the first program. To absorb all of that requires more than should be expected before people can write a first program. JavaSchools get people used to magic incantations that create a culture where inadequate knowledge is the norm.

After learning the essentials, one can move on to languages with powerful type systems (Ocaml, Scala, Haskell) and the discussion of OOP and when it's appropriate and when not.

People should be starting with simple programs and knowing exactly what they do, rather than creating classes without a clue what a class is and why the concept is important (much less where not to use object-oriented programming).

The argument for starting CS in Java is that it makes grads more employable. Frankly, I would never hire (for a programming position) someone who took one CS course and stopped taking more. The whole raison d'etre for starting CS education in Java is bogus, and I think the practice is actually harmful. As much as I hate the factory metaphor in education, let's "produce" 20 programmers who actually understand what they are doing instead of 200 who don't have a clue.
its an alpha. Nothing is really a deal breaker in an alpha, since there is no deal to be broken.
That's not part of ios, that is a library. I can't add that to someone else's app on the device. Apple should integrate it into iOS.

The user of the device should be able to compose apps, not only cooperating app writers.
How rogue traders do it
Show HN: In 48hrs - Turntable.fm for YouTube Music (Feedback?)
Foreign Investment Still Pouring Into China
Just in case you're talking to me, HarrietJones, I do actually say how it could be done: with the Clear() method.
Most likely he did. Did you?

If you did click and skim the page at 1000000000 words/sec, those `$` over there are for USD, and not part of templating system.
I've also found it depressing that you can't remove an element fron an enumerator while you're enumerating through it

Why? I like to think library developers have my back. What's the point in an iterator, it its broken on the 1st thing I try? (Ok the 2nd thing; 1st I code a search through the list, then the teardown)

Iterators are also pretty much broken when 1) inserting into a list, 2) merging a list into a list, 3) deleting an item from a list.

Ok, they're pretty much broken for absolutely everything BUT searching lists.

I remember the profound disappointment I felt when Java 1 came out, and its iterators were this same lame junk.

So I never use them. They are born to create bugs like this one.
A while loop isn't in itself an iterator. There's a difference between

while(collection.Count > 0)
{
collection.Delete(0);
}

.. which is a working implementation of clear, though probably superfluous.

and...

int i = 0;
while(i < collection.Count)
{
collection.Delete(i);
i++;
}

which does try to walk along the list and is broken.

Also, .Net has a specific exception to stop you modifying a collection while an enumerator is walking along it. Google for "Collection was modified; enumeration operation may not execute"
Home Based Business Is Ideal For Mothers | World To Win
Are you fucking kidding me? Someone, somewhere doesn't know what the terms HTML and OS mean.
The last time I was a part of this activity in a company (1997-8), using similarly rigorous pre-screening, we had about the same results, only 50% of the people we interviewed could program their way out of an (EDIT) wet paper bag.
Even with plain C, you can just iterate backwards:

for (i = ctr_size(container); i > 0; i--)
if (!predicate(container, i - 1))
ctr_remove(container, i - 1);
Sure, some bits might get fixed/upgraded, but ultimately most of these flaws come down to the fact that Windows 8 is a touch- and tablet-first OS.

Of course, MS might find a touch-friendly way of fixing the issues mentioned... in which case, I look forward to it :)
Why does one need 8 GB? Often, the answer is increased speed with multiple or complex applications. The MBA compensates with the flash HD, so that operations still feel faster, despite "only" 4 GB of RAM.

Try it. You might be surprised.
Come jam with me in this turntable.fm-like place I built in a sprint over a 48 hour period. Feedback greatly appreciated and welcome.

Disclaimer: I've never used turntable.fm and I'm based in AUS but from what I've read this loosely translates--and it's a heap of fun ^^
List of programmers
Azharuddin son died | Azharuddin son accident | Azharuddin son died after 6 days
Yes, they did a proof of concept using the MediaElement, with windows driven playing -- that actually works. And they assumed that fine timing control, different codecs, frame accuracy etc would be available if needed.

I agree it's meant for C++ on Windows (if it is meant for Windows at all - the 15ms timer precision thing runs so deep it bites in many places you wouldn't expect).

But Microsoft and MS fanboys keep touting that "C# is all you need to get things done" - that has never been the case, and I expect it not to be the case with WinRT either.
Thought experiment: Is it possible to think Apple makes the best technology products without being a fanboy?
I found it hard to get past this statement:
"The last risk was Windows Vista and that was a risk done by necessity so that the OS could keep up with OS X’s speed."

This opinion seems like an anachronism. Go to the Vista wiki page and every bit of referenced commentary is with respect to Windows XP, and how users still wanted to buy XP. I didn't see any linked articles mention Apple as a competitive threat. Wasn't Apple crawling back out of the grave when Vista planning started in 2001? Ipod may have been a big deal when Vista was released in 2006, but the iPhone was still a rumor, and I believe the next OS X was delayed because developers had been pulled to work on iOS.

Unless you transport today's competitive environment back 5 years, I just don't see how this statement jives with reality.
I find this a lot with HTML guys I work with. They add a few px of padding to the top of something to get it vertically centered on Chrome and then it's broken on IE. Then I tell them to fix IE and then it's broken on Chrome.

Then it's two more hours of screwing around until they get it right. Then I show it to them on a notebook with a different DPI setting...
Probably not. I need frame-by-frame timing control. These APIs don't seem to deliver anything previous APIs didn't - just make it a little easier to use.
By way of example, the Mac OS X 10.4.9 update contained the following improvement (among others):

* Improves the reliability of OpenGL-accelerated graphics
in Blizzard's World of Warcraft.

http://support.apple.com/kb/HT1525
Why does it have undefined behavior? Switch statement with no match and without the default case has defined behavior: the switch statement does nothing.
Sure. Though if we're talking about efficiency, I would imagine that counting backwards would be slightly faster than getting the current count each time. Though in reality this depends on way too many factors - I imagine TabPages would be stored in cache and getting the count is just as fast as counting backwards. Micro-optimization and all that.

Regarding for vs while, I find the choice is important only in the intent they emphasize: while puts emphasis on the condition, whereas for puts the emphasis on the iteration. I think in this case the condition (that the list is not empty) is deserves more emphasis than the iteration through the elements of said list - hence why I find the while version to be more readable. YMMV and all that :)
For me the hardest part would be remembering a print function that does not automatically insert a newline. Although I suppose as a workaround assembling the string before printing would work, just less elegant.
Premature optimization is the root of all evil, but removing from the beginning of any array-based growable structure rather than the beginning will turn a O(n) operation into an O(n^2) operation.

And you don't know what's going into those tabs. That cliché shouldn't be used to excuse positively brain-dead choices.
Obama to sign American Invents Act today
Five reasons to welcome Windows 8 AV, five reasons to worry
Real Native WinRT Development - how 'projections' work
I think just requiring them to put a magic string in their profile would be fairly robust. Yes, it's another step, but I think everything requires an extra step. You just need to choose what that step will be.
Very deal breaking ... dramaqueens everywhere ;-)
Might be useful, but I'm not holding my breath. I have to deliver in a couple of months.
For some reason this is the most common mistake I see from students:

for i in range(0,n):
if i % 3 == 0:
print 'fizz'
elif i % 5 == 0:
print 'buzz'
elif (i % 3 == 0) and (i % 5 == 0):
print 'fizzbuzz'
else
print i

It's not so much arithmetic that's the problem but reasoning about overlapping boolean conditions.
Metro (Windows 8) Internet Explorer will not support flash
Even nicer: use the ItsAllText Firefox extension: click "edit" and use your favourite editor, fullscreen if you want. (There are probably equivalent solutions for other browsers.)
Best Headphones For Music
while (this.MyControl.TabPages.Count > 0)
{
this.MyControl.TabPages.Remove ( this.MyControl.TabPages.Count-1 );
}
Do the Dew nike dunks high tops custom shoes blue
If you're considering remote employees or contractors I'd like to get in touch.
In my experience, about one in five (20%) people I get to interview can solve basic programming problems on a whiteboard (in their language of choice). It's really depressing.
Domain-in-the-Middle Attacks
Shortcut Your SageCRM Cross-Browser Development with JQuery
I run a website that was the first result after clicking on a Google doodle. Here is our traffic spike:

http://i.imgur.com/HAyjo.png

It is hard to see from that screenshot, but on an average day we get 5-20k visitors. The day of the doodle we got 142k and sales/revenue spiked like crazy.
Academic lectures are hidden from the public. Here's some direct action: http://lectureleaks.com
Related to the part about software maintenance in the last part of the post I recently wrote about "visualizing cost and improvement areas for software maintenance" here:
http://marten.gustafson.pp.se/content/visualizing-cost-and-i...
About 80%. Perhaps we're more vigorous with resume screening. Over the last 4 years of interviewing, I've become very good at resume screening.
Joel is doing a live chat right now (11 AM EST) at http://chat.stackexchange.com/rooms/1293/onstartups
How would I go about programming my way out of a paper bag? It creates the weirdest ideas and images in my mind.
Rendered Views- YouTube
BIM (Building Information Modeling) technology offers the flexibility to display design components in a photorealistic 3D rendered views. Unlike traditional ...
Most of the time it is simply because a shift operation has to re-address each element in the array (if it is implemented like a ho-hum, classic array) and a pop operation does not have to do this.
Or just a fancy title with a nice web page to collect Names, Emails and Twitter accounts.
As a programmer who makes his living from iOS, and would not be doing so if Apple didn't show the world the right way to sell software directly from developers, I disagree with at least half of this headline.
So how many readers _actually_ read a blog post?
Clayton Real Estate For Sale
Mostly they just don't know how to start. They can't break down the problem into subproblems. Once a candidate managed to break down the problem to subproblems, they can always do the rest easily (solving the subproblems, composing the solutions to solve the main problem).
Have you thought about building first version with Bootstrap from twitter?
http://twitter.github.com/bootstrap/
Contrasting opinion: I _despise_ Lion fullscreen for built-in applications. It's hard to describe, but I just find it to be a waste of time. I really find that full-screen applications become harder to use, not easier. That said, Mission Control is great on the Air; I tend to have one desktop with Adium, IRC, and my mail client, and others as-needed for other stuff. (Mission Control is emphatically terrible on a dual-monitor Mini at all, but the Air makes it work brilliantly. On the desktop, MC is so bad that I wish I still had Spaces for the Mini. Fullscreen on multi-monitor desktops is likewise putrid; it full-screens on one desktop and your others are left blank.)

The 11" screen isn't really a hindrance for me at all, IMO - either in Xcode or Photoshop or IntelliJ OS X or when in Visual Studio on Windows.
I've actually asked this question as a gentle warm up for people, and we achieve around a 90% success rate.

On average it takes people around 5 minutes to do.

We have people do it on a whiteboard to get them standing up and moving.