skysight-inc/HackerNews huggingface dataset:
FWIW you could have done this in far fewer lines of python using a code generator like Cython or Pyrex.

that said, learning the intricacies of an extension - and all of the stuff you have to do under the hood like registering handlers, reference counting, cleanup, etc - is a valuable experience.

but once you got that done i just recommend you use code generators. it's also a lot easier to maintain.
I'm finding I generate very few "personal files" these days, compared with, say, ten years ago. Most personal files are produced/archived with Google Docs.

Yes, that is scary.

I also have 100 GB or so of archived photographs and videos that I back up with a mixture of Ubuntu One (videos and assorted files from 10 years ago) and Rackspace Cloudfiles (photos). I wrote my own Python scripts for backing up and verifying photos on Cloudfiles.
Followup: Google contacts the Trese Brothers, doesn't axe their games
Design for Programmers - Part 1
Following up on this link from last week: http://news.ycombinator.com/item?id=4333542
Yubikey would be in addition to the password used on Keepass.

So you need your password and the Yubikey to unlock your password safe.

You could set the Yubikey up to be the password - so you only need the Yubikey to open up Keepass.
I truly fear we'll get into debates of software conservatives vs. software liberals, and at some point some jackass will say "of course but <person x> is a researcher for <liberal/conservative> software engineering" as if it were a contest.

If that happens, I predict a fucking hellhole and I can only imagine myself leaving the industry at once.
I like this. Simple and focussed, and invaluable to anyone willing to learn from what worked and didn't for others.
I don't understand how that answers the valid points that the person above (slurgfest) raised. It seems impossible to me that any company could offer a policy such as yours (patio11) for 45 years. (Yes, I know that you said that yours is 10 years, but please bear with me for the sake of my example.)

I think that slurgfest was trying to point out the flaws in the following kind of reasoning:

- A man buys a term insurance policy at age 30

- The policy that costs $20/month

- After 45 years, the total cost would be $20 x 12 x 45 = $10,800

- If the man dies at age <= 75, the policy pays out $500,000

- The average life expectancy in the US is 75 years (Wikipedia)

No company could offer a policy like that, right? There's a 1 in 2 chance that the insurance company will pay $500K but will only have received fees of $10K.

If the scenario I've described is possible, could you--or anyone--please explain why the insurance company wouldn't go bankrupt?
+1 for Spootnik. I love the sparse design and RESTful API -- and the developer is very helpful with issues and feature requests. (I am just a customer; I don't know or have any other relationshop with the developer.)
Well damn, I only knew one of those. Good article.
Remote Beta Testing Tool Delight.io Shows Users’ Reactions to iOS Apps
I certainly did miss X11. But you can use XQuartz instead, and Apple helpfully provides a help page to send you there. It's only painful if you had advanced X11 setups before.
I know you are looking for a non-cloud option, but Tarsnap (an excellent service by HN's cperciva - http://www.tarsnap.com/) is impervious to the sort of issues raised by Matt Honan's hack, as long as you properly secure your private keys. Of course it is still susceptible to the other weaknesses presented by the cloud, which is why I also use an rsync'd external drive.
When "the list of parameters gets unweildy" and "I want multiple returns" are to major indicators that you got some anti-patterns going on. I think the refactoring that you need might a new class with a single responsibility.
I guess I mean can you use this with C instead of LLVM?
This seems somewhat contrived, but in realm of plausible, so let's say it's in the fact the reason for doing so. If so, why do you think that the old/current password field also has paste disabled?

I think an easy solution (that perhaps I just haven't found) in KeePass is to have a feature like "Perform Auto-Type" (which does the full login and password typing sequence), but for any arbitrary field. If I could find that, then this would be a moot issue for me.
Hourly remote-initiated rsnapshot to MyBook Live NAS on internal network.

Then the NAS performs a nightly sync of selected folders from the latest hourly backup with tarsnap, keeping backups from the last 7 days, last 4 weeks and last 3 months.
I don't understand why people believe they will be immortal if the singularity ever occurs.

Humans came from microbes, yet we couldn't care less about them. A super intelligent being would see us the same way.
A Software Architect's View of the Design of Double Entry Accounting
Ha! Okay that is hilarious.

Both the idea ("hold these keys"), and how it ended up backfiring.

Though the program would have given just as funny results if you had not actually formatted the disk on key-release. After all, how is the user going to know whether the program speaks the truth?
I'm a Linux user. I have a laptop that's my main machine and a fileserver for storage. I try not to keep anything on the laptop, but have my programming projects & config files on it (so I can work if I'm away from home).

The fileserver is where most of my stuff lives; it gets NFS mounted to the laptop. It's got two drives as RAID1, and backs itself up to an external hard drive using rdiff-backup. It also backs itself up offsite using duplicity to a server on another continent. Everything's encrypted, so if anything gets stolen I only have to worry about the material loss.
you could have gotten job leads from somebody else somewhere else.

I'm not sure this is really true. I wasn't out of school yet, I had very few contacts. In fact after that first job I was effectively out of work for 9 months. College let me go to classes a bit, study a bit, and do whatever I wanted the rest of the time, while still getting the benefits of a huge professional network at the end.

Hitting up job fairs for months on end was equally effective as following up on a single email my advisor sent me.
indeed. I can't stand when setting width:100% can actually extend past the bounds of the parent.
I've had certain personal data wiped from a hard drive many years ago, so I am a bit paranoid:

USB Thumb Drive for active files, 2 copies on External Hard Drives for long term storage (which I migrate once a year to new drives), and two physical copies of critical documents (legal, tax) kept in two locations (usually my parents house and a safe deposit box).
Several cool tips in here I didn't know about.

Regarding the element drag and drop: it's a really awesome way to brainstorm redesigning a UI, but I've found if I mess with it too much it starts behaving weirdly and getting confused about whether the elements are in their old or new spots, and I have to refresh and start over. Still an awesome feature for productivity.
Great, I would like to share some research and information and I would love to know what made you move away from your previous idea. Please drop me a line via info@the-local-kitchen.com. Thanks.
Gonk has the libstagefright libraries which expect to be able to dynamically load shared libraries provided by the carrier or phone maker which contain the decoders. They are expected to have all the relevant licenses.

In the case of desktop Mozilla could take the same approach (use system libraries, expect OS supplier to provide licensed decoders) but some platforms would miss out on support if the OS supplier doesn't provide the decoders.
I'm fairly certain that's the one he's talking about. Having watched it live and on video, its message is not as dire as it's often made out to be. Regardless, it touches on a point of pride for Lisp programmers and as a result is viewed in a negative light by some. I offered a mild rebuttal at the following Conj called "The Macronomicon" (http://blip.tv/clojure/michael-fogus-the-macronomicon-597023...).
Survey: The Yegge Software Politics Scale
Wow, yet another proof of the "live coding" concept, this gives me yet more confidence feeling about my live html/css/js code editor (http://liveditor.com) ;)
Liberal <---------------------|-----------------------+---------------------------------------------> Conservative

Or as a totally unscientific number: -24
reply
Whoever wrote the original code is missing a major point in OOP: you should (almost) never be passing in simple types. Create an object that holds the data (class IDObject, for instance), and pass an instance of this class in for the parameter. Then, the parameters are de facto named in the data object.

This importance of this method is that it allows the you to update the information passed in via the data object (when ID needs change, and they will over the course of a project) without breaking the interface. And that's the point of it all.
Amen! This has bothering me forever. I'm glad someone got around to writing about this.
I'm not talking about sources of information. I mean someone who knows what books in that library are worth reading. And honestly, I don't remember 90% of the "information" I learned in college, but I learned a ton of new ways of approaching information that I don't think I would have learned except by example.
Ankit Fadia : certified ethical idiot - Have a good laugh
This is a very old article. One of the pages links to this page - http://www.nationalgeographic.com/nyunderground/docs/myth000... - which suggests using RealPlayer 3.0 and Shockwave 5.0.
Initial support for libstagefright decoding (giving H.264, etc) on Android landed in "mozilla-inbound" today too. These should go in mozilla-central soon and be available in Firefox Mobile nightly builds. It's turned off by default (enabled via a pref in about:config) while bugs and performance are worked on.
Russ Olsen: The Best Programming Advice I Ever Got
The non-mac equivalent that I've used is matplotlib: http://matplotlib.sourceforge.net/gallery.html
Wow this would make for some crazy code to try to read thru. I would be über-pissed to trace thru code like this only to find all of these wrapper classes. This is what Javadocs are for, it's much easier and cleaner just to document your code as you write it.
I've spent a lot of time thinking about this... I don't trust Drobo/Synology etc because if the unit dies I need another one to retrieve my data. Jungledisk adds up if you have 100+GB, Backblaze is the best of these services, however they are proprietary, and imagine if either were cracked and your life ended up on on a torrent server somewhere... In the end I decided upon a HP Microserver running Ubuntu with disks in RAID5 + a cheap UPS. I then have an rsync cronjob on my laptop. I tried FreeNAS but it was slow. I may consider an offsite backup of the Ubuntu server (critical files (photos etc)) to AWS with Duplicity and PGP... So far I feel the safest and happiest I've been in awhile about my backup situation.
No there is no significant difference. Both are a choice to be frivolous. At least the gamers don't have your arrogance or cognitive dissonance to think otherwise.
I was wondering how long it would take for HyperDex to get some traction on HN. While I haven't had immediate need to use it myself, I have several friends who attest that it is a lovely system. The article doesn't mention it, but it's wicked fast, outperforming Redis in many metrics.
Clearly the consistency is the big kicker though. So many systems are saying eventual consistency is "good enough." Clearly that can be fine for a SoLoMo app, but probably not for a medical system.
I've been wanting to do something like this in the Bay Area - even if on a smaller scale (1 day, no camping, under 50 people). I do a lot of work in the park and would love to spread the fun.

Would anyone be interested in helping set it up? Drop me an email; my address is in my profile!
Open Source platform for creating collaborative consumption marketplaces
You have a point there, especially when you name the economic situation, which arguably changes behaviour patterns.

To expand a bit more on my previous "anecdotal in nature" point though, I think that the articles we see here are not just anecdotal, they are also overgeneralising. I reckon CS is one of the few areas that lends itself most to showing qualification in a way other than presenting a degree.

Normally, the degree signifies the consensus that you have done a certain amount of work and passed a certain set of requirements. In CS (amongst some other things), this can also be shown to a potential employer by showing them your actual coding work, prototypes, programs, scripts, websites etc. Here then, the degree becomes less of an issue because you can show proficiency in a different way.

This however does only work in a limited area of expertise, such as design, art, programming, journalism (to a degree) etc. For most other purposes, a degree is still a certificate of (baseline) proficiency, so saying "college becomes irrelevant" (not that you did) is overly broad and only partially true under certain circumstances.

Now I know HN is mostly programmers, CS students, maths students, some designers etc., as can be seen by the outright hostile attitude towards the humanities displayed by some of the other comments to this submission (especially further up), but it still peeves me to see people inductively draw conclusions from their own experience, ultimately concluding "how things are", thereby implying "for everyone".

[edit] spelling [/edit]
Transistor count and computational are so tightly correlated that's nitpick.

Now I did not assume "Moore's law" would accelerate. I assumed it would stay constant. The key point comes from the fact the AI (or AI hive) would trivially benefit from hardware speed-ups.

And yes, Moore's law won't really count, compared to the rest we will be able to do. I was just trying to be as conservative as possible. (Though Moore's law still holding until strong AI is quite wild).
10 things to do after installing Fuduntu
Personally I have been very lazy with backups, but I take important documents to usb stick which I carry with my keys everywhere I go.

Though I should probably start backing up my personal hobby projects, because I have lost ton of them over the years, because I just kept one working copy of them, but I have been lazy to great a backup plan which I would actually follow.
How to Win the High Dive
I have fond memories of "hacking" in high school. The school system I went to used Deep Freeze to protect their Win98 computers. You could format the hard drive, change all of the settings, etc, and upon reboot, the image would return, unchanged. Naturally, this led to deep investigation into how it worked. The system administrators weren't stupid but were severely undermanned, and had left the Deep Freeze program slightly vulnerable. A little command line work and you could remove the protection mechanism for the given session, allowing you to persist changes. So, I did things like edit the shell in HEX and change "START" button to say "FARTS", lame things like that. The suspense was that supposedly the maker of the software would fly anyone who could crack their system out to New York to demonstrate. Despite finding the above hole, I was never able to totally eradicate the software, and could persist only certain changes (changing the startup image, playing funny .WAV files on boot, etc).

My biggest mistake was sharing this knowledge with my classmate, who used it to do a great many annoying and potentially harmful things. After doing things like sending "I 0wn j00!" to 11,000 computers on the network (via NET SEND), crashing the shared network drive with millions of blank text files, etc, he finally got caught after badly damaging 3 of the computers in our lab using my hack method that I'd written a batch file to accomplish and given him the disk.

I was called to the computer lab by my awesome programming teacher, who informed me that he had to leave the building in 45 minutes, and if the computers weren't back to their proper state by then, we'd both probably be suspended. The other kid just sat there, while I furiously reversed the changes and got out with a few minutes to spare.

Naturally, the next year, him and a couple of my other classmates were suspended or expelled for repeatedly crashing the entire 11,000 network with advancements on my initial script. I was thankful that there was apparently no ties left to me in the program's execution, but that was warning enough to focus on productive things for the remainder of my high school career.
First line of defense is a Time Machine backup to a 1TB drive connected to an Airport Extreme. No-brainer if you're on a Mac, in my opinion. Tip: excluding my Chrome profile from the backups reduced the size of most backups by an order of magnitude.

Second, CrashPlan. It's the only decent solution I could find with support for backing up network drives without being prohibitively expensive for large amounts of data. The client is a bit resource hungry, but I'm hoping the situation will improve as soon as the first run is complete.

I also have a Dropbox account which I mainly use for syncing and sharing, but I've included the most important files there as well for extra redundancy and ease of access on other devices.

In addition, all my code is pushed to at least one remote repository, either on Github or a server. I also run my own mail server which is rsynced to another server, so there's at least three separate copies of my mail folders.
U.S. banks told to make plans for preventing collapse
This is one thing I don't understand about people working in startups. You are in the business of you. The startup is in the business of the startup. Don't conflate the two.
Interesting. But it looks like it is solving a problem with another problem. The receiving class would then look like this:

public void doSomething(Name name, Link link, UltimateAnswer ultimateAnswer, TempFile tempFile, Zip zip) {
String name = name.name;
String link = link.link;
int ultimateAnswer = ultimateAnswer.ultimateAnswer;
String tempFile = tempFile.tempFile;
int zip = zip.zip;
}

If the problem is "I don't like these SAME values being used all over the place" then use DEFAULTS.

o.doSomething1(); //defaults to "Alfred","c:\\temp",42,"shadurhaft.de",23

That or pass in an object.
o.doSomething1(mySomethingObject);

If the values are genuinely different then the only way to solve this problem is to validate the options (paths should be a valid file location and not a website, websites should be a valid website etc) and then (possibly) pass in an object instead of primitives.

I don't see encapsulation doing anything really, aside from increasing the number of "junk" classed by about a hundred fold.

Why throw standard convention out the window?
because rpm's suck; its a tool for old people
Tweet Me. Like Me. Love Me. Buy Me.
Do you need a log-in? Can't people use it without logging in? I would think you might want to go long-in free for a while and see how you do. Are you sure its not holding you back? What's your bounce rate? Do people show up and then disappear when they get to the log-in page?
Well, any adjusted medal rank is synthetic, so declaring one as true is quite arbitrary.
Prototyping Bootstrap Layouts in Fireworks
But, this is the same for any larger city versus rural area. Whether you are in Paris or in Antwerp (where I grew up) you would take the metro/tram service - but if you lived out in a rural area your transportation options will be far more limited - and so will your job opportunities. Even in cities where the public transportation infrastructure isn't as expansive/great such as Denver (this may have changed since I lived there) - there is still some form of transportation available and you really don't have to drive.

Sadly this is a country that has a huge amount of laziness - and there are indeed people who will drive down their drive way to pick up the mail or take out the garbage - and I am sure that is what most people see America as in general. Consider the innovation that comes out of this country and the intelligent people on HackerNews and you can see that there are people who are not lazy and are extremely passionate and even visionaries in the industry - you can't lump everyone up in the same assumptions :)
Wouldn't the Builder pattern address this issue? So you can do:

object.setName("Alfred E. Neumann")
.setLink("http://blog.schauderhaft.de)
.setUltimateAnswer(42)
.setTempFile("c:\\temp\\x.txt")
.setZip(23);
Java is just fundamentally more Linux-world friendly, which meshes with the free and open source world.
In Response to Linkblogging
It's from 1997
How Weibo Is Changing China
Never passing in simple types?

I don't know about you, but one of the reasons I like languages such as Python and JavaScript is I don't have to create a wrapper object for every type I'm using. The fact I had to, for instance, create URL and IP Address and such objects in C# drove me crazy.
I would guess PR would be more successful. Have you tried asking for people to try you out in the forums devoted to developers? iphonesdk; MacRumors has a new one for business and marketing; 148Apps has a business page with developer news. Just sending emails to noted indie developers asking them to try you (and taking out you twitter facebook requirement) might get you better traction.
or you know, use an IDE!
OTOH, I kind of like languages that support map literals and/or tuples, rather than making me define a new class for use in a single place as a parameter object or return value.

On the gripping hand: click on the method name (in an IDE), and let the IDE tell you what the params are to the method. Why bother with static typing if you aren't going to use the information?
I just keep everything I care about in my Dropbox. I use enough machines on a day-to-day basis that this leaves me with a decent local redundancy, and having it all on Dropbox means that I'll have access to it even if all of my machines go down at once.
The oldest version the Wayback Machine has of it is from 1999, and at that time it had a (c) 1997 in the header: http://web.archive.org/web/19990508090930/http://www.nationa...

Oddly they've taken out the (c) 1997 part, maybe to make it not seem as ancient? I suppose it's still reasonably relevant; not much of this basic information has changed. Heck, Water Tunnel #3 is still under construction.
As I understand it, the conjugate gradient method works over the reals.
I'm thankful that the stagnation of TextMate led me to VIM, on both my Mac and all my Linux boxes. Thank you TM, it's been a great ride!
10 awesome vintage computer ads
I tried crashplan on my macbook air. The big thing I'm noticing right now is it takes freaking forever to do the initial backup. I'm really hoping that subsequent backups don't take nearly as long.
I've been wrestling with this same issue, ever since I read Google's EULA. I'm thinking of using Carbonite, which no one's mentioned yet.
I would not use a separate class per parameter though that is a clever solution. It might hurt performance and it just feels a bit heavy.

For performance, clarity and reusability I would simply create a class that holds the values needed. Add an @Entity tag and now it can be used as a Hibernate persistence class too.
I think Chrome OS is the desktop computer OS of the future, not Linux, or Windows, or Mac OS X. Sure, there are some things (like OS and library development) you can't do on the web, but there are a lot of things that you can.
The Campaign to Digitize Your Wallet Is Intensifying
It doesn't seem all that crazy to me. I wouldn't be surprised to see an ML programmer write something like

datatype name = Name of string

and this is just the way to express that in Java.
Virus Seeking Bank Data Is Tied to Attack on Iran
These fascinating Web 1.0 pages prove that content is king. I miss Geocities.
The only legit response to seeing a Blackberry
I was sold by the name alone- and at quick glance I really enjoy this product. Thank you!
It's OK, They Have A Plan.
CalPERS bows out of venture capital
Initial Public Offering: Differential Calculus