skysight-inc/HackerNews huggingface dataset:
F# Type providers are a powerful solution to problems of the same class as your first example. http://research.microsoft.com/pubs/173076/information-rich-t...

And smart use of data structures, algebraic types and composition for the latter. The benefit of this is you build a sort of theory for your game, sometimes it predicts and suggests things that would not have been obvious to you otherwise.
The piece is the prelude of Bach's first cello suite. The thirty-five other movements in the Bach cello suites are equally beautiful, but it is mainly this movement that is played.

While my cello playing was originally inspired by Ma's interpretation of the cello suites, I now find his rendition of them a bit insipid. I suggest checking out Pablo Casals' interpretation - he popularized the Bach suites, and the recordings are beautiful. Rostropovich also played them fairly well.

If I had to pick a Bach cello suite movement for such a video, it would be the Sarabande from the 6th suite:

http://www.youtube.com/watch?v=l3dgACCAzwM

Edit: I changed my mind, I would go with the Sarabande from the 1st suite:
http://www.youtube.com/watch?v=PvOo0cS8w10
It'd be great to read about people's experiences using postgres on a comparable scale to that discussed in this article ... does that even happen?
>So, the following code

for i in range(100):
print idevice_item_array[0]

>actually crashes Python because it creates and destroys a hundred IDeviceItem objects, resulting in a hundred calls to Release on the real COM object. After the first Release call, the COM object is considered deleted.

This doesn't sound like a "gotcha". It sounds like a huge bug that comtypes needs to address.
Startup imagines Romney-Obama harmony on its answer to Jobs and the Economy
Thanks a lot man! Would love to hear suggestions. We'll be using this in Framebench(http://framebench.com) sometime down the line.
Rally Driving Sim built entirely in JS
What you describe sounds good and makes me want to try it as well in the future (there's stuff in OSX, mostly of the recently introduced sort, that really grinds my gears). Then again, I will probably still miss things like Spotlight, Quicklook, Mail.app, PDF print / cut / paste / manipulate with Preview + iWorks too much. How is Ubuntu coming along with such features nowadays? At least in Kubuntu I find that stuff still abysmal.
There's irony in the page using a plug in for the video and SVG to render the text of Tim Cook's letter, right?
Wow!!
love the way you all are maintaining gradients
I think anyone would agree that if you sent me an uncompressed file of size 1000 bytes and I sent you a decompressor of size 400 bytes and a compressed file of size 599 bytes, I would have met the challenge in spite of the fact that these two files will take up more disk space than the original file.

I don't agree, since the compressor can be tuned to the data you could just move some of the data into the "decompressor" and end up with an arbitrarily small "compressed" file.
Is it just me, or has there been a more-than-normal amount of mud-slinging in politics this year?
If you click the "x" in the upper-left, there is a message from Tim Cook about Steve's passing.
"who wouldn't like her anyway" Yea you missed that part, because it's true. Most of the older crowd in Maine are hard core conservative republicans.
JSON license requires "good not evil" use
Racism is not defined by numbers or power (it has nothing to do with social standing, wealth, or whether or not you are a minority). Definition:

1. The belief that race accounts for differences in human character or ability and that a particular race is superior to others.
2. Discrimination or prejudice based on race.
3. Abusive or aggressive behaviour towards members of another race on the basis of such a belief

One reason that MLK's campaign was successful was that he did not promote hatred, but rather peace. This author's aggressive behavior and tenseness towards white people does not help his cause. He ended up getting 4 people fired when he could have just talked to them about his problems.
We are longtime Hacker News readers. We released this video yesterday and wanted to get feedback from the HN community. Give it a watch, check out the site and tell us what you think. (We are thick-skinned; lay it on us)
Yes, but the title on HN implied that. We need to be better about writing our submission titles, but hey, sex sells.
> crazily enough my install of GoLang on a windows box has a file that gets flagged as a compression bomb every full system scan.

This may have something to do with Russ Cox's blog post on recursive zip-archives "Zip Files All The Way Down" in Go: http://research.swtch.com/zip

Baseless speculation mode: There is a possibility that the recursive zip file was part of the Go test cases for the gzip package at some point. If it lingers in the mercurial commit history, it may still trigger hits from your AV software.
In chrome, I'm seeing a <video> tag, not a plugin.
How do you fullscreen videos on apple.com?
Actually, it is not a myth. I have done this, more when I was younger, but it still happens occasionally.

One reason for the midnight oil is that the phone stop ringing, everybody else goes home, there are no distractions. Another reason is that the business demands it. Let me give you an example. There is a story that the folks at WordPerfect, which had (and still has, if my mother is any indication) fiercely loyal customers. They had a very family-oriented company culture, and nobody stayed past 5. Microsoft did not go home at five, except maybe at 5 am. Microsoft ate their lunch.

In several situations, I could not get access to computers until after the day shift went home. In Portland, while on co-op during college, I would walk to work at about 0200. The path took me past a bakery that was in full-on baking mode. While building a real-time medical data system, we had one production computer and a second computer that was occasionally used for production at night, so we worked nights to integrate both parts of production so that the other computer would be available for development all day.

And sometimes a problem will grab you and not let you go. The story of fluidics has as its beginning a 36 hour creative burst by its major contributor. And there are problems that I have worked on that have a multi-hour daily mental ramp-up.

The myth part of this is that you can get away with doing this constantly. You can't. As you say this very act should be resorted when you have no choice.

What the midnight oil has taught us in the industry is that the best programming is done in an environment free of interruptions, and that the plentiful availability of development equipment removes scheduling constraints previously imposed on programming.

And I am older than those two numbers and still occasionally pull the midnight oil.
Also, I suspect they'd be using their iPhone
I see the same problem on my MacBook Air :).
This was my conclusion, that although the two approaches had the same average big O time, my intuition said it was somewhat faster to start from some number larger than 0.

In retrospect, I might have mentioned this and then gave the interviewer's preferred answer in code, just to keep things simpler.
Original article has a question mark at the end of the title, making it easier to ignore.
Sure that it would add value to have the speaker's note but I found it actually helpful.

The duck typing part interested me as it seems a good fit for the problem I'm trying to solve: I have to work with a bunch of objects retrieved from a key/value store, some keys are simple attribute but others define the object class, required keys, value constraints, etc. while keeping the code generic. Are there any good references on this ?
Does anybody have any info about why this line was put in the license? Is it from the time when Google was promoting its famous motto, which is now swept under the rug.
If you're resulting to insulting someones orc in a political campaign, you're clearly running desperately.
I think you're unfamiliar with the extent to which he's affected the way we interact with the devices we use every single day.
You used to be able to just password protect the file, and instruct users to enter the password.

Some malware is remarkably unsophisticated and relied on users installing it and giving it permissions to run.

I hope they're not silently rejecting files.
I think that's an oversimplification. Either way, a quick look at the source shows that they are quite different now. In my opinion zurb has the more sophisticated grid system but doesn't support IE7, and the UI javascript is not nearly as polished as bootstrap's (some jQuery spaghetti in places). Bootstrap, while having more stable UI components, is visually opinionated and difficult to rebrand, where zurb is generic by design. If I had to pick one or the other to build a web application on, I would use the zurb grid system and write my own UI components with liberal borrowing from bootstrap's javascript. If you are hacking together a weekend project, use bootstrap.
nope - same old same old http://www.youtube.com/watch?v=Y_zTN4BXvYI

at least nobody called anyone a "hatchet-faced nutmeg dealer" yet
Yes, I was pretty lucky to pick it up the next day!
I think a case could be made that games like WoW are designed to attract and exploit addictive personalities. The WoW playerbase probably contains a higher percentage of addicts than most other games, since the game's quest structure is fine-tuned to balance the frequency and quality of rewards. That said, you're absolutely right, this does not mean that everyone who plays WoW is a basement-dwelling addict.
I'd go further than this, if this is confusing architecture with development. This is not to say that a senior developer or systems engineer could take on an architecture role: but this wouldn't be the check-list in my view.

An architect is more likely, like his building counterpart, to see the system from the top down. That is given a clean sheet of paper: How can we achieve the availablility and fault-tolerance we need? what is the threading model? how does the system connect to the outside world? etc...

Whoever takes the role of doing this makes sure that the direction of the implementation doesn't loose sight of these goals. He may even create non-functional requirements.
The UI seems hugely wasteful in terms of both screen real estate and user interaction. Why not a table with columns of checkboxes? Then we'd be able to sort and filter and count and compare. You could select a row and there could be a sidebar with lots more information about that company.

What's the point of the circle icon indicating the number of revenue categories? Until you look at a few it'd be easy to imagine it's a pie chart. All it indicates is a cardinality, so why not simply display a number? Except even that doesn't make sense because (a) we can already see at a glance how many revenue-bubbles are highlighted, and (b) how is that a meaningful number anyway?

I shouldn't have to click on the "x" to dismiss a popup info card. That's a small target, which slows me down when I want to click through a bunch of the "bottle caps". Clicking anywhere outside the card should dismiss it. This is a common idiom on the web. Better yet, clicking on any "bottle cap" should immediately pop up the "baseball card" for that company, without my having to first dismiss the previously shown "baseball card".
Our Brains' Processing Power Is More Limited Than We Think
He talks about it in his InfoQ session. http://www.infoq.com/presentations/Heretical-Open-Source
I'm getting a quicktime plugin in chrome
I'm sure you mean high scalability's linkbait titles, right?
I dont think he completed the challenge. He found a loophole, so _maybe_ you could say he was successful. In exploiting the rules that is, not in solving the problem that Goldman stated. Still a clever solution, but obviously not what was asked for.
Or "Page Up" "Page Down" keys
Yeah. Everyone is different. I don't have a spouse, kids or dog. I like it when I'm working on a problem and the world goes away for 10-12 hours at a time. I can get a lot of work done in a week where I work 60-70 hours. I'm sure many people can't and on average, 40 hours may be optimal but there is no way that 40 hours is optimal for me when I'm doing something interesting.

Having said that, I've also been burnt out working for startups. You can do 50-60 hours a week for many months but at some point you need a break. I've done it for 18 months but after that, I was pretty useless for several months.

One way I take a break is to work as a software contractor (which I'm doing now.) This pays well and is almost always a 40-hour per week job. It also tends to be pretty boring but it gives me a chance to recharge.

BTW, to relate this back to the topic, I just turned 50 and hope to continue writing software for at least another 20 years.
Jobs chose Cook and groomed/trained him and I'm sure gave him some specific details on the pipeline.
Show HN: I made my first NES emulator, written in Go
Let's be honest, Apple didn't shut down their home page. There's a very visible "X" in the corner that can disable this immediately.

It's certainly a touching tribute, but let's not act like Apple is sacrificing significant revenue (which is looks like some people are assuming).

The letter from Cook brings the spotlight back onto Apple's products.

/endrant

The video was really good though :)
Absolutely, Warren Buffett as well. We could go way back too, what about Rockefeller, Carnegie, William Randolph Hearst, J.P. Morgan, the Vanderbilts et al.
Everybody knows that PHP is infected with bad programmers 'cause is an easy to run language.
You have a mac? Just make a .php and you can kill some baby seals with you lame code.
I guess I'm missing something here :-)

ls -la /bin/tar
230464 Feb 25 2010 /bin/tar

If tar can compress and decompress an arbitrary length file by more than 230464 bytes then doesn't it meet the challenge?

Even if I've misunderstood, can anyone explain in plain english why this is a futile task?
Are you running a cat whiskers collectors exchange? We definitely should talk.
What he should've done is just create a new file whose name is a text encoding of the data in the original file, but it is 1 byte long. Then to decompress, just take the name of the file, and use that to create the data.
In the Python example, wouldn't you need to make sure the x values from mapping are sorted, since dictionaries are unordered? Change,
for x in mapping
to
for x in sorted(mapping)
Here we go again. Conversation through HN submissions.
This. Reading to the end, I was left with the impression that a better test would have the contestant compress 3 different data files with only one decompressor; on top of which would show a similar level effectiveness for each.
With Linux kernel 3.7 one build will support many ARM SoCs
Angel and VC Investors Won’t Fund Your Research
Both HP and Dell's current pro lines have a nub on their keyboards; and Unicomp (fka Lexmark/IBM keyboard division) sells a Model M variant with one as well. Apparently Unicomp is claiming to own the patent as well[0]

[0] http://pckeyboard.com/page/category/EnduraPro
Nobody. As a native of New Hampshire (right next to Maine), I can attest that no one really cares.
Should have just relaunched a week later, no one would have noticed you "launched" twice!
re: strong/weak/dynamic typing, coercion & overloading

And the mix can produce interesting results. For eg. in Python:

def double(x):
return x * 2

print double(2) # => 4
print double("X") # => XX

If you were expecting a number to be returned then this isn't good :(

The * operator isn't overloaded in Perl so instead we get:

sub double { $_[0] * 2 }

say double(2); # => 4
say double('X'); # => 0

Perl is more weakly typed than Python so 'X' get coerced to zero with the multiplication operation. So at least a number is returned but I would prefer a warning or error:

use warnings;
say double('X'); # produces runtime warning

use warnings FATAL => 'all';
say double('X'); # produces runtime exception
Coincidently I work on performance monitoring at Facebook. We gave up logging perf data to MySQL because it was a management headache at scale. So instead my colleagues built Scuba, which is essentially a search engine they taught to perform aggregate functions.

http://gigaom.com/cloud/exclusive-facebooks-scuba-project-di...
This was clearly posted to rabble rouse and poke a finger in the eye of people who've been criticizing the language on HN; see slide 99. Classy!
True! Thanks.

"LinkedIn Moved from Rails to Node: 27 Servers Cut and Up to 20x Faster" should say something like "LinkedIn did a rewrite and rearchitecture that cut 27 Servers and increase speed aby 20x"
Scaling SOLR on Amazon EC2 - go big
I was lucky enough to hear Rostropovich play the 5th cello suite live once. I would rank his performance a lot better than "fairly well", but tastes vary. Another favorite performance of mine for those suites is Anner Bylsma[1]. He uses a more historically accurate instrument than most modern versions. I don't necessarily think that makes other versions bad, but it does make his (or one like it) worth trying.

[1]: http://www.amazon.com/Bach-Suites-Cello-BWV-1007-1012/dp/B00...
What makes a great online programming course?
I'm designing an online course to teach programmers a new language (i.e. Scala).

If you could build the perfect online experience - what would you DO or NOT DO?

A few thoughts to ponder about:
- recorded video vs interactive HTML interface with audio
- test driven exercises
- linear vs non-linear
- style check exercises
- slide-driven vs. exercise-driven
- visualisations (e.g. inheritance)
- unique visual style (e.g. 8-bit, green board)
- community
- badge-system
- odd/different vs plain/serious
- theme
- work-related vs fun examples
- ...
I'm sure you'd get the stigma from atheism as well since the game is full of goblins etc.
Looking for projects
Even if it is a single monolithic application, it in no way could explain the use of that much RAM.
We Found a Free Smartphone Embedded Inside Entertainment Weekly
I no longer have numbers. It was several years ago that I was working for a US-only company that decided to add a customer to customer piece, then got targeted by scammers. But we definitely rediscovered the fact that IPs from Nigeria were entirely scammers, and so were messages saying Nigeria. Oh, and "Western Union" was not a phrase you want to see and so on.

It was a black hole sink. And since it was at best marginal to that business, that piece eventually got shut down.
Reworded: "I'm so blown away by what I'm experiencing that I think there's a very real possibility that you don't deserve full credit for this achievement."

If you're ever in the position to give someone a hyper-superlative complement, you could simply use one of the many hundreds of constructions that don't involve doubting the skill of the recipient.
As someone who started life a PHP dev and is now a Rails dev I'm gonna go ahead and say no.

Rails pretty much forces you into using good practices, where as PHP (without a framework) allows you to do all kinds of stupid shit.

If anything, new devs going straight to Ruby on Rails will actually give us less shitty developers.
First and foremost - they know that it wont stop one person from buying -- eventually, even if, arguendo, it would temporarily stop someone, if they watch Steve's message they will get the company DNA so sooner or later they will convert them.

Second, money is not always everything. You know H&N the biggest New York tech shop -- multiple stores high, automated baskets flying everywhere, a product's catalog of 1,500 pages, things you can buy there that you didnt know exist. They always full easily making half a mil in profit a day. You know they close their doors every single Friday for religious purposes, regardless of what their customers think.
You're saying the same thing as the person you're replying to.
youtube runs on flash, guys. and nobody died
Interesting. I really love having my todo list and projects in Omnifocus. It helps me finish things and relieves a ton of anxiety. For me, using it actually reduces stress and is pleasant.
WoW is ethically worse than, say, Mario, but better than a slot machine, which is in turn better than everything from Zynga.
Live Facebook cover photo that shows current time of Los Angeles
I agree with this. The key question is whether any additional information is stored in the file name, lengths, number of files, etc.

If you could hold 400 bytes of executable code in memory without any additional information, feed it 599 bytes of memory and it outputs 1000 bytes - that's compression.

Anything else is just an abstraction around this.

His solution does not work because he is storing extra information in the lengths of the files, i.e., where to split the files and write a "5" byte. Preserving this in memory would require extra storage.
How to display, flip and provide a reflection to the Image with Java
One useful distinction I make is between types and datatypes. Types are a mathematical theory in which you are able to prove things about the terms of you program.

Datatypes are like types but without the structure or logic. They don't prove anything and are basically just sets. You have to bring your own rules. Dynamic languages are unityped, you can see this by noting working only on just a top type shares many properties (not all, e.g. flexibility) of being in a dynamic language. Dynamic languages however can have datatypes, which make sure operations on the collections a particular object inhabits makes sense according to rules the language designer defines.

For your example, in a dynamic language I can state that r,a and b all belong to the same type but their datatypes may vary from moment to moment. In a statically typed language I cannot. Without types a ST language will assume that a and b are the same universal type. But I could give just a a top type and then your example would work. But I lose type safety. To get it back I could use interfaces, inheritance or algebraic datatypes each with their own pros and cons.
Pretty awesome in my view. One Previous discussion: http://news.ycombinator.com/item?id=3693108
While I absolutely get your point about addictiveness (indeed many games are designed to be addictive) I've always found it odd when people complain that time spent gaming is "wasted" moreso than other hobbies. I don't think I've ever looked at someone who makes model train sets and thought "now there's an accomplishment!" I've never heard about someone buying a stamp and went "well, I bet their parents are proud!"

Both of those are perfectly fine hobbies, and I bet people interested in them absolutely have skills and accomplishments they're proud of. And that's fine. I may not get the hobbies, but I'm certainly not going to judge the value of how they spend their spare time. That's for them to determine if they're happy with. And I'll worry about my spare time.
The demo link directly: blog.framebench.com/demos/color-previz
It's the contest organizer who gets to choose the file contents. Random noise is practically non-compressible.

Btw, tar by itself does not compress at all.
maybe a better example would be anything to with "master" "slave" relationships.