skysight-inc/HackerNews huggingface dataset:
Developing Synchronized Offline Apps using the PhoneGap Sync Plugin
I'm going through Ruby koans right now but am a Python programmer.

The #1 thing I like about Python is the community and has nothing to do with the language. I find the python community doesn't actively champion the language as the end all be all (for better or worse). Rather it is accepting of when Python sucks for a specific task.

I also find Ruby to be really web focused. Python tends to have lots of libraries that are not solely for web based needs. Not to say Python doesn't have web stuff...there is so much I can't even keep up.
Disclaimer: This is very subjective and from a Python guy

1. While Python and Ruby are roughly of the same age, Ruby was only popular in Asia before Rails. At that point Python already had a solid base of non-web stuff.

2. Ruby feels more wild and crazy to me. Is monkey-patching still considered cool in the Ruby community? As a Pythonista I try to avoid such confusing stunts.

Due to both of those reasons I believe Python has more solid libraries. For example, Rails was extracted from a small productivity app, while Django was extracted from a serious newspaper website. While Ruby was fixing memory leaks, the Python interpreter was speeding up its hash map.

As a language enthusiast I envy Ruby for the blocks. As a Python programmer I never felt the need for them.
Blog down, cache copy: http://webcache.googleusercontent.com/search?q=cache:http://...

PS: ironic that I saw it was down after reading endianswap's comment :P
This tutorial covers how to develop an offline sync app using the OpenMobster Sync Plugin for the PhoneGap framework. You can develop your App using HTML5. The Plugin integrates with OpenMobster's native sync service to provide the synchronization features
Why I won't be using airbnb again
The opening of classes seems to cause people problems. A lot of Ruby's popularity is from it's killer app, Rails. But trying to program python after Ruby for me is difficult, python feels so constrained.
It's not fancy or automated, but I Integrity for Mac every few weeks: http://peacockmedia.co.uk/integrity/
Tips for Demo Day Preparation
I wonder if there is anything malicious I can do with this... :-)
Ask HN: What website(s) do you think are great?
I'd like to know what websites HNers consider really great. Sites that are leagues above their competition and may even evoke emotion. Sites you'd be proud to have your name associated with or sites you go back to every day.

They can be great in terms of a beautiful design, usability, performance, simplicity, showing off modern techniques, openness, interaction or anything else which makes you consider them "great".

For example, I consider HN itself great as it combines quality with currency: it's a great place to get up-to-the-minute news but at the same time the quality of discussion is much higher than most other sites.
Yelp has a policy that bars reviews written on mobile devices. This is done to protect the quality of the reviews.

You can't submit reviews from an iPhone either. The functionality doesn't exist.
Explain how that's a valid excuse to break the rules here.
Please back up what you're saying with some proof. As I said, PHP is no longer the most ubiquitous economy hosting language.
For those who find quantum physics weird, I've been reading through Eliezer Yudkowski's "quantum physics sequence". I'm only part-way through, but it has somewhat demystified things for me. It takes the approach of not trying to explain things in terms of bizzare classical physics approximations.

http://lesswrong.com/lw/r5/the_quantum_physics_sequence/

I'd say you can probably skip most of the preliminaries. But I didn't, so I'm not sure.
Minecraft is awesome because it provides a convenient and ready simulator for this kind of work. It gets people interested and involved. It just seems much more accessible than downloading a "real" simulator somewhere online. I think MC provides a great mechanism for exploration in electronics/circuitry and something like this proves it. What do you want this person to do instead?
I came across several articles that state that the 60 to 75 age group now desire several of the same products as younger consumers:

http://www.leggettdisplaygroup.com/barcode/2011/03/01/is-the...

"The iPad is the top product for all people 50-plus," she said. "The user interface is so easy. And for anyone with vision issues, the text size can be changed quite easily."

"Older consumers are finding the iPad much easier to use than a personal computer. The iPad's touch-screen display and big icons beat using a computer mouse and having to find and click or double-click PC programs. Plus, a tablet can sit on your lap."

http://20plus30.com/presentations/Connecting_with_older_cons...

"Marketers need to be aware that older consumers, especially those in the highest socio-economic groups, will access more
of their content (and advertising) using smart devices. The apps-powered smart device is as much a watershed in the way
marketers engage with consumers as was the birth of the web. Unlike the web, this new technology will be as much used by
the old as the young."
How Seagate's Terabit-Per-Square-Inch Hard Drive Works
And you didn’t get to “Design Patterns” yet. You’ll be surprised.
Assuming the limit was close to the average number of take down requests it's reasonable protection to prevent a buggy third party script from harming their site.
Zeus source has been released, and people say that Citadel is one result.

There's some odd things about the botnet creators; they're doing a SaaS model; the software comes with release notes and a licence agreement; and they have a social network so people can suggest improvements.

(http://blog.seculert.com/2012/02/citadel-open-source-malware...)

Here's a piechart (IT IS AWFUL. I didn't create it.) showing infection rates per country of Citadel.

(http://3.bp.blogspot.com/-rL0YPxLvhHw/TzLb31lbmXI/AAAAAAAAAE...)

I got that from this thread, which has a bunch of interesting malware links.

(http://forums.spybot.info/showthread.php?t=64861)
Boring Things First
As emidln points out, your complaints seem to suggest unfamiliarity with C on your part rather than any flaws with that code, which looks perfectly fine to me. To his responses I'll only add:

> Confusing function explanation in a custom format.

It's a straightforward explanation in 6 words of English of what the function does. That's not a "custom format", that's a simple and concise introduction to the function. Far preferable to some mess of nonsense boilerplate XML.

Also worth mentioning is that in the context of the book that function sits in part of a larger discussion which, IIRC, gives the definition Nameval struct (that's definitely not some kind of accidental case flub), talks about the structure of nvtab, etc.
I don't believe there is any collateral damage - they are seizing machines specifically being used by criminals, and when possible, taking control of the botnet and instructing it to destroy itself on the infected machines (i.e. removing the infection).
I Quit Path
Gotham Gal: Payal Kadakia, Classtivity, Woman Entrepreneur
Why Is It Socially Acceptable To Be Bad At Math?
Sounds almost exactly like finding apartments in New York. I especially love the 2 bedroom part. In NYC, they love to make 1 bedrooms into 2 by putting up a bookshelf or a temporary wall. I've been going through the apartment hunting nonsense, including using Airbnb and it's been a nightmare. On Airbnb, you can't just "book," it seems like it requires an exchange of messages before you can get a "yes."
DRM doesn't create artificial scarcity; DRM is an attempt at enforcing ownership rights, or contracts, depending on how you look at it. Producers want to maximize profit (just like producers of, say, bricks, or cars). To maximize that, they need to balance the highest price people with pay with lower prices that will entice more people to buy. For physical goods, a sale is a sale - somebody can't copy a car. But when somebody buys a song, and then copies it for his friends, that's a (potential) lost sale for the creator.

Artificial scarcity is when monopolies control the supply of a good to maximize prices (this is an example where pricing is influenced by supply). For example, the De Beers company for years controlled the supply of diamonds to keep prices high. Similarly, OPEC controls oil prices by throttling oil production. As you see, artificial scarcity is not connected to whether a good is physical or not. Even stronger, artificial scarcity is meaningless for digital goods, precisely because the marginal cost of production (how much does it cost to produce one extra item) approaches zero.
"Fixed-price unlimited-volume data pricing is a totally, unfixably broken idea." -Bray

This "unfixably broken idea" is how the internet spread to the general population, 1995->present. That's 17 years. Seventeen years in which even very limited carrier competition brought prices way down and speeds way up. Does anyone remember how much a 128kbps ISDN used to run?

Seventeen years in which the typical consumer went from downloading mainly text and gifs to downloading mainly (bandwidthwise) lengthy videos, many of them high def. Despite the fact that, as Bray puts it, "once the network operator has your monthly payment, they’re powerfully incented to keep you from using the network."

Now any reasonable person can imagine how mobile might change things. But Bray gives such ludicrously short shrift to the power of flat-rate pricing it is hard to take anything else he writes in the essay seriously.

Of course the idea of unlimited usage is an illusion. Consumers know this. They have always known this in the deep and visceral way that only a flaky modem/ISDN/DSL/cable/EDGE/GPRS/3G connection can convey. But they like the trade offs: The ISP limits your bandwidth basically continuously such that your connection might slow down or outright disappear and such that latency might increase. In return, your bill is predictable.

ISPs have always worked this way. Always. You'd dial the modem bank and get a busy signal. Or you'd connect -- perhaps even through newfangled DSL technology, which in theory insulated you from your neighbors -- only to find the provider's upstream internet link was saturated. Or you'd jump on a cable connection and find it running at half speed because your neighbors were awake.

What consumers liked about "unlimited" was what it meant for our pocketbooks: Your use is unlimited as far as the bill is concerned.

Metered pricing is an illusion, too. The illusion is that you pay for what you use. But of course that's not true. No one is proposing dropping monthly mobile fees, you notice. So 0 bytes != $0. Also, having a million dollars to blow will not magically get you unlimited bandwidth. All the limits of network contention with fellow users, and all the limits of the network itself, are still there. Sure, other people might USE less data. But also, the telco might BUILD less infrastructure as a result. So in a way metered is the worst of all worlds: You still get the implicit limits and unreliability of a mass consumer network, PLUS new explicit limits that allow the telco to wallet-rape you.

It is amazing to me that someone as smart as Bray looks at this tangled mess of competing, differently- (but not-very-differently-) crippled versions of paid network access and actually accepts the abstractions at face value and, worse, writes off the arguably slightly less realistic abstraction as unworkable when that very abstraction is the reason he draws a paycheck from a company that sells web advertisements. I mean.
http://www.youtube.com/watch?v=G-lGCC4KKok
Video to the article from pycon 2012.
Talk starts around 10 minutes.
I see you guys are in geolocation. I have some interesting client-side code for identification and cleaning of Postal addresses in HTML (runs in the browser or backed). If you might be interested in discussing, drop me a mail!
There is an unbelievable amount of potential in Minecraft that is completely untapped. It's really an amazing environment and I'm surprised it hasn't spawned "sandbox games" as a completely separate and significant genre, especially since a big reason Minecraft remains "untapped" is Notch's reticence to open the platform up and push the game forward.
The source code of the Objective-C runtime is actually open source. See http://opensource.apple.com/source/objc4/objc4-493.11/runtim... for another commented version of objc_msgSend on ARM.
Messenger for Windows by Facebook
Ok, that makes sense. At the beta pricing I was looking at the free tier and thinking it would be limiting some one to 50k users (IIRC PFUser is a subclass of the PFObject). So now we are limited by API calls, I suppose that would mean inactive users don't really count towards usage, which was a problem I was thinking about.
The universe is big. This big.
Schneier removed from TSA oversight meeting at TSA request
I understand their need to preserve revenue but it seems rather heavy handed to discourage 2-way communication so much.
Maybe you can also automatically show the real links in stead of the shortened URLs (if they are shortened), so you have an idea of where the URLs will take you.
Vim: open file at location that was last viewed
Join gsm92.com and start voice chat, video chat and free phone calls
Off-topic: Wolfram Alpha is amazing. Cool find.
Best Ruby on Rails WebSocket tool
Not just the funeral procession, but also the recent Google-salesman ad, and just about every attempt at marketing MS has done in the last few years.

I really have to wonder, how is it that Microsoft is seemingly so completely disconnected from reality? In what crazy world did the Seinfeld ads look amazing and awesome? Where the iPhone funeral procession would look like anything other than premature celebration? Where the anti-Google ad looked anything other than sleazy and underhanded?

Though I have a theory. MS's marketing stunts have been known to be unnecessarily hostile to the competition, overly self-congratulatory, seemingly unaware of why people choose the competitor, has overtones of arrogance... remind you of a CEO? :)
Hypothesis: Much lower car-ownership rate in NYC.

Sub-hypothesis: Less cars per-capita in NYC might mean the average car is more expensive and thus has stronger anti-theft features.

Edit: Climate could play a part too. I've never boosted a car, but I imagine it's more appealing in a balmy 60 degrees than sub-freezing.
> What do you want this person to do instead?

I get that Minecraft is fun, but wouldn't it have been more practical, in the long run, to have built something equally cool in a real CAD/HDL/etc. software?

It'd be really cool if someone could build a CAD/HDL/programming "IDE" that was as "fun" to "play" as Minecraft, but still as "useful" as something used in "the real world." But I suppose this is the same desire that drives all of those "programming language for kids" projects that never really seem to catch on.
std::stable_sort exists and is the stable one.
KONY 2012 - the untold story?
Security cameras are everywhere. And soon every car will have a cell radio.

What would be neat is a cross-linked solution: when a window is broken, instead of a noisy useless car alarm, inform the police immediately with a geographic location. Have their systems automatically pull up the nearest security cameras in real-time. Dispatch immediately, and record all of it for later analysis.

All opt-in, of course, so if you don't want the cops knowing about your car you can choose accordingly.
If the industry is heavily regulated, the government should also regulate what the comment above points. The price should be clearly stated. Fine print should be forbidden.
I briefly had the pleasure of working on a similar thing: it sticks out in my memory because the stack that ran the web site was entirely obsolete.

OS: Mac OS 9; DB: Filemaker Pro; templates: Lasso; webserver 4D WebSTAR.

This was in 2011.
As I said elsewhere, I think Minecraft provides a great environment for prototyping for someone who doesn't have a background in electronics. I don't see anything wrong with this at all. I reckon the builder probably does "dream bigger", and uses Minecraft as an exercise and/or sandbox. Is there a reason he shouldn't do that?

I am curious why so many people interpret this as a sign of an addiction and wasted time instead of a purely awesome accomplishment in self-education. Few people keep "build something cool in Minecraft" as their only aspiration in life.
Plastic-eating fungi may solve landfill problems
"To be fair, I think consumers are pretty well aware that this is a stunt."

Does that really make it OK though? Do you feel OK giving your money to companies that use "stunts", if you're aware of the stunt? I don't. I find it disingenuous. It feels like those door-to-door vacuum salesmen who dump crap on your carpet. Blech, no thank you!

Show me the product. Let me try it out. Trust me to recognize where you've done well. Feel free to point out areas where you think you've done well, but these "head to head" contests are just silly, and they can easily turn around and bite you, as we've seen here. Just skip it and let people make their own assessment.
Not sure about you, but my gas bill is $/therm(~100 cu ft) and my water bill is $/100gal.

Pricing data in MB (or KB!) is like billing for water by the cup (or Teaspoon!).
What do you mean by 'more meaningful'? I think it is fantastic that he managed to be so creative that he managed to turn a game into a calculator, something it clearly wasn't intended to be.

That shows a lot of skill and resourcefulness, it also shows quite a bit of dedication and stamina. All of those are great traits and I'm sure the experience improved on these.

This impresses me very much.

Can you give an example of what you would consider to be a more meaningful project? Something that you would consider to be approaching full potential?
I don't think it's a matter of aesthetics vs safety, or onsite vs third party (I'm Dutch). Yes, I agree that third-party redirects don't appeal to many users, but the same goes for a payment form hosted on your site. You have to understand that the credit card is a relatively new form of payment, where in the US almost everybody has one. If we order something online, we usually pay afterr we've received the shipment, or through a system called Ideal (in The Netherlands, that is. Can't vouch for other countries), which is basically some sort of API between the website and your own bank. Paypal isn't used much by European websites, other than the ones targetting the whole world and some shifty websites. fYI: most webshop CMS like Magento come with a built in Ideal shopping cart.

The problem is that, while one economic region, Europe is still a collection of separate countries. We all have our own banks, so the chances of one European payment provider coming are slim to say the least. What I would like to see is a universal payment provider with the same reputation as a regular, trustworthy bank.

So to answer your question: it doesn't really matter if the solution is onsite or third party, as long as it's trustworthy.
How would one decide what their full potential was? Or perhaps, deeper, who would decide what their full potential was?

Seems like a massive achievement to me, and that such effort and focus will translate well into the real world and if it doesn't for him personally, it could well spur others on.
I agree. I am a PHP developer and just started learning Python a few days ago and must say, for now, it is indeed easy to learn and is very readable. Though I never tried Ruby so I can't tell you if I would find that easy also.
Easy and simple guide to creating User Centric Design
I am planning to build native iOS up using some inspiration from this webapp (with proper credits, of course).
I have ~8 HN readers on my iPhone at the moment, and event those who work (not all do), suck for some reason or other so I am using Lim's web app to read HN on my phone but I still want to have it as a native experience.
jsonschema has been around for a long time too.
> I get that Minecraft is fun, but wouldn't it have been more practical, in the long run, to have built something equally cool in a real CAD/HDL/etc. software?

I find it all the more impressive because he used an environment that was not meant to be used like this.

That's like running the marathon with a handicap and still winning.

And if he can do it in minecraft I think that he'll take like a fish to water once he gets his hands on other, more powerful tools. That's mostly a matter of access, 16 year olds are more likely to have minecraft on the machines they have access to than CAD/HDL software and the hardware to go with it.
Is it me, or have we been seeing more garbage stories like these since PG disabled flagging for people who flag a lot? (https://news.ycombinator.com/item?id=3689185)
How Piracy Created The Massive Movie Industry Success Of Nollywood
Is RPC an actual technology? I thought it was more of a protocol design pattern.
redis> multi
OK
redis> set hi 'hello'
QUEUED
redis> rpop hi
QUEUED
redis> set okay 'done'
QUEUED
redis> exec
1. OK
2. (error) ERR Operation against a key holding the wrong kind of value
3. OK
redis> get okay
"'done'"
redis> get hi
"'hello'"
redis>

Note that it keeps on processing, even though the second command fails. This also has nothing to do with persistence, as the exhibited behavior will be the same in a fully-alive system and from disk and anything else, because redis maintains a perfect total ordering of operations in its log format and sync behavior.
No rules were broken. The title was not edited.
The brain is like a computer, and we can fix it with nanorobots
I faked data for a client once. He had phpbb running and wanted a script that would slowly and randomly generate views on a specific topic.

Since this was just a field in a database, it involved some simple update code.

The results? More people are interested in anything that they think are popular (or they are curious as to why so many people viewed it).

My client got more actual hits overall on these topics.
GitHub Style Guide: "Write new JS in CoffeeScript."
I guess. But in a world where you can't even watch a youtube video or read a web forum without getting hit by the same kind of nonsense product marketing, it seems like awfully mild sauce to be condemning Microsoft for pulling the same tricks. The marketing itself (but not the refusal to honor the prize) just doesn't tickle my outrage meter, sorry.

The
I agree with what you're saying but C can be persuaded to make template like code:

http://attractivechaos.awardspace.com/ksort.h.html
At a CPM of $1 and 10 impressions per visitor that only comes out to $10,000/month. Even if I'm off by 10x on the impressions per visitor it's still not a huge amount of money.
Somebody get this kid a job!
moral of the story: Don't forget accessibility when designing great interfaces.
That's just horrible. The readability of the function has been totally destroyed by conditional operator. What's the imaginary C++11-ish benefit?
Consider that your reasoning will also have to apply to old-school organized crime and their businesses that were fronts.
I know the rage is async & nonblocking, but putting Python behind Apache is a good way to get predictable performance without concerns for calls that block, since they're mitigated via threads.

Also, it helps to have money since this approach requires more boxes. But as I said, it's very reliable.
Lessons I had to learn about health care
Using red wine to turn iron telluride into a superconductor
5 Reasons Not to Market Yourself on Social Media
Loading and Unloading | Loading Company | Truck Loader | Load Service | Loaders
Professional Loading and Unloading Services Company. Let Our Loaders Load and Unload Your PODS Container or Rental Truck. Flat Rate Quote 888-722-5774.