skysight-inc/HackerNews huggingface dataset:
Yes, I was able to determine that bcrypt is a one-way hash algorithm. But part of my point is that the name is ambiguous because there are multiple things using that name. Even the wikipedia entry for bcrypt is for the encryption software ( http://en.wikipedia.org/wiki/Bcrypt ), not the hashing algorithm, so I was having a hard time finding out more about the algorithm other than that there is a ruby binding for it. Thankfully, the ruby docs contain references.

Consider this codinghorror posting, http://www.codinghorror.com/blog/archives/000953.html , where Atwood confuses the reasons why third-party websites would need to obscure passwords in the first paragraph and quoted section (a third party needs the plaintext of the password in order to offer integration services (assuming things like remote keys and oauth are not provided), so storing a hash of the password is meaningless in that context).

And I only used twitter and twitter applications as an example of a ecosystem that has, up until their oauth deployment, multiple consumers of passwords for different purposes (twitter for authentication, apps for integration), as a way to point out the confusion.
There's one more thing I forgot to mention...

The data I'm having the user order is not only order-specific, but is recursive. That is, one of the items on the list, rather than be a letter like "B" can be a list in and of itself. It's basically like "files and folders"

A major problem isn't only the UI, which took me days to make (drag and drop for files/folders ... anybody seen anything like this done before in HTML+JS?), but mostly is in the updating/validation. I receive information, like "moved item: /path/to/item to before /some/other/path" and I now need to make sure this is a valid action (eg: can't put a folder into one of its own subfolders, can't put a file in a file, etc), and also update the database to reflect this.

I chose to use JSON to encode objects in the DB, then decode them into an array, and do some easy/fast array stuff to perform the action they requested. Just judging on the array code, which does several "isset()" calls and splices, I'd imagine doing this with a DB would be a major heartache... but I have no doubt you'd be able to come up with some brilliant way to do it.

To each their own :)
http://www.justin.tv/p/jobs#se_intern
Straying even farther from the article, you could easily give yourself that view of Google with the Stylish add-on for Firefox and a line of CSS.
You clearly fail at marketing bottled water:

"Bottled Air: Pure, fresh air from only organic sources."
Try making a Greasemonkey script to adjust it on your local setup instead and see how it actually works in practice, rather than just how it looks. I have a feeling that it's a bit too much padding and creates an empty gutter that looks like something's missing or gone wrong.
I agree it's unlikely, especially as that would likely kill firefox's revenue stream. I have often thought that a plugin like trackmenot that clicks random ads would be another thing that could destroy advertising.

The thing is, people thought ad-skipping technology was unlikely until tivo came out and made it usable. I don't imagine it will be too long before someone comes out and does this, and if they execute well, it would be devastating to the industry.
unfortunately, it was also partially your fault for losing the actual media. then again, microsoft should at least have some way of verifying your key for another copy of windows that is the same version...

you know what, that problem is actually caused by a few possibilities

1) It's an OEM sticker. You'd have to find/download an OEM disk in that case that matches your manufacturer

2) You're downloading XP Pro with a SP when you have a key for plain old XP Pro

It could always be something else, but these are two (read: common) scenarios I know that have frustrated myself and friends in the past.

No more, no more. OpenSUSE ftw.
no wait...the genuine advantage is actually sort of important for XP. if you dont have it, you dont get security updates. if you get security updates, you get annoying nagware. if you don't get security updates...

uhhh.

yeah. it isn't that great. I'd make this simpler: switch to linux or call windows and complain if you're up to it. both win without having to sacrifice any actual performance.
Go ahead and downmod me but seriously, no really, -- DUH.

Haha. I had to say it!
Scott McNealy: Some federal officials see open source as 'anti-capitalist'
I really, really hate charts of the DJIA (or anything else, really) that make it look like we've just stumbled into the Great Depression by the simple expedient of not showing any of the Y axis below today's close.

"Stocks down 2% from last week" not sexy enough of a headline for you? Start the chart last week, end it today, rescale the Y axis -- CALAMITY STRIKES WALL STREET.
This is the Microsoft I want to see: A Glimpse Ahead
I remember when I was very young, I was able to drink off of tap water in CA.
Here, in one sentence fragment, is why Buffet is a better investor than any of us: "the U.S. Treasury bond bubble of late 2008"

(He is arguing that the flight-to-safety is causing assets which are riskier than T-bills to be grievously underpriced relative to their true values. Accordingly, he is buying.)
"Though Berkshire’s credit is pristine – we are one of only seven AAA corporations in the country – our
cost of borrowing is now far higher than competitors with shaky balance sheets but government backing. At the
moment, it is much better to be a financial cripple with a government guarantee than a Gibraltar without one."

Nicely stated. Interesting how the American government's dramatic intrusions into the credit market have inverted pre-existing systemic signals.
Ask HN: Content Serving Cluster
I run a small website, which shall remain unnamed so as to avoid unneccessary threads. I'm pushing probably a few terabytes of data a month now, so to improve speed whilst keeping costs low, I plan to serve files from multiple machines. A mini-CDN if you will.

The files will be the same across each distribution server, but I am not sure of the best way to replicate the uploaded files across machines.

Example: Someone uploads xyz.tar.gz to Machine #1. I need it replicated, as fast as possible, to Machine #2 and #3, so that when people visit the site, if they get http://cdn-3.mysite.com/, they'll get the file.

Does HN have any suggestions as to the best way to go about this?

Edit: My files aren't very large, they're maybe 5 gb in total and don't grow too fast, they're just accessed a lot.
Each to one's own - it's not like CSS isn't publicly accessible by anybody.
In some states, there is a use tax that applies like a sales tax would for services purchased. In GA, it's 4-8%.

http://www.bankrate.com/brm/itax/state/state_tax_home.asp

Often, you only have to worry about users in your state, and the rate you have to pay may be dependent on your city/county.
http://www.thinkcomputer.com/corporate/jobs.html
You could use a distributed file system like:

http://en.wikipedia.org/wiki/Lustre_(file_system)

A simpler option would be to do a little scripting magic to catch inotify signals and then trigger an rsync.
Honestly, I think you're likely to find that Amazon S3 is the best option. It costs money, but assuming your business generates money (many businesses do) it will probably be more reliable and cost less expensive, expensive you-time than anything else.

Otherwise: rsync is your friend. Run it in daemon mode. If you've just got a handful of machines I'd nominate one machine as the server to receive all uploads. Everybody else just syncs their upload directory to that machine's.

You may also want to consider offering bittorrent as an option, since this situation appears to be tailor-made for it.
Yeah, but the whole point of ramen is that you don't really have to cook.
MogileFS will get you close to this, but stores files with its own ID and directory scheme. If filenames don't matter, or if you have a gateway that's handling the mogile lookup and filename translation, it's a great solution.

If you already have a reliable central filestore, varnish or squid might accomplish faster distribution without having to replicate all your files.

Otherwise, I'm curious to see everyone's suggestions. I've looked at more *sync programs than I can count to handle this use case and come up empty-handed.
Really interesting video. Most of the products looked like they were well designed but just like all of the stuff coming out of Detroit, why bother making concept products if you don't intend to actually build them?
Ask HN: Is there a backup solution like SuperDuper for Windows?
I want to make a daily clone of my Windows computer. I want automatic, incremental, bootable backups, just like SuperDuper on the Mac. None of the Windows programs I've used can do all three of those requirements. It seems like there's a big hole for a good Windows backup program. Am I missing something?
Isn't nalgene that kind of plastic they're talking about? BPA? Cancer...?
I believe that the Atlanta area contains two of the ten gayest counties in America. Atlanta is definitely hipper and more tolerant than the rest of Georgia. People shouldn't judge it until they give it a visit.
You say "someone uploads xyz.tar.gz to Machine #1"; does this mean that all the bits are uploaded to the same machine, or will you have some files uploaded to machine #1, some files uploaded to machine #2, et cetera?

If files are uploaded to multiple machines, is it possible that you'd get two different files with the same name uploaded to different machines? If so, how do you want to handle this?

Will you ever have files deleted?

Do you have any ordering requirements, e.g., files have to appear on each machine in the same order as they were originally uploaded?
I'm a fan of Net Tuts - http://net.tutsplus.com/ - also the ThemeForest blog - http://blog.themeforest.net

They do a lot of jQuery tutorials.
Files will never be deleted and there are no ordering requirements, files just need to exist across all machines (Every machine must have a copy of every file so that they can serve files in a round-robin fashion)
Very off (or counter, perhaps)-topic, but you just reminded me of this clip from the great Sacha Baron Cohen.

"So that's why I've come to the gayest part of America: Alabama!"

http://www.youtube.com/watch?v=SnB5vqObkLw
MySQL: KISS KISS KISS
Panther express is cheap, cheaper than S3.

Let someone else worry about that issue. The amount of time you'll spend setting it up, testing it, maintaining it, is time wasted on other important aspects of your business/application. You are not going to be able to do it any better or any cheaper.
If you made a single-point induction on software in my field for proprietary software versus open source, you'd probably conclude "License keys are annoying but on the other hand installers that actually function are sort of groovy."
Building a computer for under $200 (Part 2)
Detecting influenza epidemics using search engine query data
sigh no it wouldn't.

AdBlock blocks some adverts. It's useless blocking a large amount of adverts.

If it comes installed, adverts will all just change and it'll be rendered useless.

You can't draw parallels with TiVo. Video adverts prevent you getting to see the content you want. You have to wait.
Internet advertising does not do this. It's just additional information.
Less Wrong: Tell Your Rationalist Origin Story
Search Hundreds of Home Listings on Hilton Head Island
Vacation at a Hilton Head Island Villa Rental.
I'm rather impressed with the format of Less Wrong. This has never been done before, right?
By the time anything of this comes down to the consumer it will suck tremendously. It's incredibly difficult for big companies to innovate. They'd be better off just buying smaller interesting companies to aquire interesting technologies rather than trying to implement it themselves. Like Next buying that french? company to get Objective-C.
According to

http://en.wikipedia.org/wiki/SMS#Message_size

SMS can use the default 7-bit GSM encoding, an 8-bit encoding or UTF-16, giving maximum lengths of 160, 140 or 70 chars/code points, respectively.

That said, I think a lot of phones don't have full unicode support.
So you are saying it's impossible?
I don't see it. There are always methods to block ads, e.g. user-classification, preloading of content, alteration of flash, domain tracing...

Edit: This could be thought of like an analogy to spyware detectors, i.e. ad-aware. They have a ton of custom detectors, which are continually updated to classify spyware. I would certainly pay for a commercial free web.
Innovation and utility is defined by use. If people want to use social networks and not some microformats to enable the semantic web, that's innovation. All this complaining about working on worthwhile products has some truth to it, but look at the utility of lasers. In the end, lasers enabled cd/dvd's for millions of people to watch movies and music, and that's the ultimate utility.
If I understand what you are saying I completely agree :)

The point I think you're making is that movies cost less than other forms of entertainment. So people who are still seeking entertainment but have a more limited budget tend to go to the movies more.

So as an example, a family might have planned to go to Disneyland but now that their cash is more constrained they settled for Pizza and a Movie. Hence movie sales go up in a bad economy while more expensive entertainment goes down
amix, thanks for your effort (regarding both the development and the explanations here). Upvoted and will be considered for the next project. Keep up the good work!
Synthetic life form grows in Florida lab
> Cappuccino was built from the ground up in preparation for a world of multiple platforms. It is becoming increasingly important for applications to run in several different environments: browsers, social networks, handheld devices, and much more.

The technology seems cool, but why are they trying so hard to mimic OSX desktop applications?
Panther really is dirt cheap.
This is interesting, but not for the reasons Jeff suggests. bzip uses all 8 cores for 21 minutes to produce a 986M file (or 2 minutes for 1092M), while 7zip doesn't use all 8 cores, and produces a file smaller than anything bzip can produce, in 5 minutes.

So it looks like 7zip is not just slightly better than bzip; it's much better. Ideally you can utilize all your cores by piping data from the DB directly into the compressor -- the compressor will use 2 cores (or whatever), and your database will use the rest.
rsync is built for this: http://samba.anu.edu.au/rsync/
Semicolon insertion is a bad thing, because it is unintuitive and may lead to subtle bugs.

If the rule was straightfoward, like a newline always corresponds to an automatic semicolon, then it would be OK. Now the rule require you to have a pretty deep understanding of the language grammar, to determine when a newline changes the semantics.

The intention was good: to optionally allow a more line-oriented syntax like Python, but it turns out that this just dot fit well with c-style syntax.
PR? Try to convince people you're innovating and still relevant?
Lost in the Shuffle
Interesting - this is exactly how journal recovery used to work on VMS. I remember watching my mother edit documents in the MASS-11 (http://www.stanq.com/blog/?p=11) word processor on a VT-100 terminal. If her session fell off she'd ring an operator and he'd play her session back on the screen; it looked exactly like this!
Visconde de Mauá
Having lived in the ATL for about 8 years and the Bay Area for 5, I'd have to strongly disagree with one of the article's points:

"1) Do you have good weather?"

Atlanta does not have good weather. It is either really cold or really hot. It is nothing like the Bay Area's year round temperate weather.

During the fall and winter, Atlanta is typically gloomy and overcast almost every day. It's cold enough to ice too... I still remember feeling stupid for not wearing ear muffs or a hood walking across Tech's campus; it felt like my ears were going to fall off. Gloves are good idea too unless you want your hands goin dead.

During the spring and summer, it is very sunny but it is also really hot. Though not as bad as Florida, there are days where you can just walk for a 1/2 hour outside and be drenched in sweat. Air conditioning is a must, and your electric bill will reflect that.
Stock prices are a function of future expectations on earnings. Not too much should be extrapolated. Depressions are rather defined by sorrier things: Selling hard assets for food, becoming migrant workers for food, surrendering morals for food, etc.

Modern efficiency being what it is, real depressions are probably impossible. Again, I recommend to anyone interested:

http://video.google.com/videoplay?docid=-9022016584178907197...
Oh they'd really want to, but they can't. It's a way to let off steam.

Given microsoft's history with OSS & recently with products, I'm finding this rather satisfying to watch & only a tad disgusting.
Helpful perspective assuring startups that preparations for the problems they'll have when they reach Google- or Facebook-size... do not need to be their first priorities.
It seems to be one of thee things where an experienced jquery dev can write something a bit faster, but c. has good docs and a shallower learning curve. Code easier to read, also.
I don't see how rsync will work here, during the sync time, the new file won't be available (entirely) from the other machines. As I understand it, the OP is looking for something that will sync while already serving up the file, presumably giving priority to syncing the parts that are already being requested by clients. (which will be the beginning of the file most of the time unless clients will be using partial downloading)

I've never set one up myself, but a clustering file system might work, e.g. OCFS: http://oss.oracle.com/projects/ocfs2/
I doubt it has ANYTHING to do with depression or a recession or any of that. When the movies are good, people go to the movies. When the movies suck, people don't go to the movies.

Paul Blart is a pretty good movie. It's light hearted fun - perfect kost for a movie. Heavy stuff is easier to read than to watch - movies move at their own pace, and it's not possible to pack so much heavy stuff into movies.

The movie makers are learning to make what Americans want, and they are being rewarded for it.
from founders at work blog: http://www.foundersatwork.com/1/post/2007/07/note-to-founder...
Top 10 Emerging Technologies in 2009
Why not write a custom 404 handler which when triggered tries to download the file from the original server, and when the file hasn't yet been downloaded, redirects to the master server as well?

This worked pretty well for a friend's site and you don't to care about replication anymore.
AzəriBlogçu olmaq?
And there are always brain dead simple methods to detect ad blocking, and get past it.

I'd rather not have an arms race, but if there is one, it's pretty obvious who would win.
Japanese "hate" for iPhone all a big mistake
Every node in both hash rings is replicated using master-master replication - i.e. node A and node A' can both receive updates and reads. Node A and node A' sync their updates via an update log and can fail at any time and come back at any time without taking down the system.

Additionally, if high availability is really a big issue, then a node A''' can be introduced that can be in another data center.

If you add nodes to the storage ring, then some of the existing keys will be invalidated. To solve this issue and the issue of routing a lookup ring is created. Lookup ring holds a pair (key, storage_ring_location). The system will automatically update (key, storage_ring_location) if it's at some point invalidated (such as that key does not point to node A, but node D).

I have tried to find an easy solution for a rather complex problem. Keeping membership state, doing Paxos and keeping routing tables would have been much more time consuming to make - so I have tried to solve the problem from another angel (by using master-master replication for high availability).
Thrift, Protocol Buffers and JSON comparison
I'm not sure why people keep comparing Cappuccino to jQuery; they're about as opposite as can be in terms of what they're designed for.

I will be the first to admit that jQuery is much better for the majority of websites. This is intentional. Everyone and their mother has already developed a JavaScript libraries for making the DOM tolerable and AJAX calls a bit nicer, and some of them do a great job of it (e.x. jQuery)

Cappuccino shines when building more complex, primarily client-side, web applications (like 280Slides and Atlas itself). We realized Cappuccino couldn't be everything to everyone and decided not to make sacrifices to attempt that.

In the past most people have ended up building these kinds of applications from scratch (Gmail, Google Maps, Docs, Meebo, Zoho, etc), often implementing their own framework in the process. Cappuccino attempts to provide solid foundation on which to build a very "rich" client-side application.

It's true the learning curve is a bit higher than jQuery, but I think that's inevitable given the types of applications you typically use the technologies for. Atlas is one thing that should help with that. And Cappuccino's documentation could definitely use some improvement.

I've asked before, but I'll ask again: if you know of an application of the kind I'm describing that's built using jQuery I'd love to hear about it, I am curious.
And How did you conclusively know that it will suck when it comes to consumers? some occult prescience or just devil’s advocacy. Pray enlighten us!
Vkontakte : reddit.com
Kijiji is huge here in Taiwan, and I love it. The way it makes it easy to search for apartments, people and things very near you geographically is great.
Ask PG: What is the list of banned sites and why are they banned?
There's been a few cases recently where I found an interesting article to submit here and was unable to submit it. The site appears to accept the article, but the story remains invisible to everyone and to me appears to have no comment box. I've verified that this happens when other people submit those URLs. Here are a couple of examples of apparently legitimate, genuinely interesting articles being blocked:

http://www.infochachkie.com/thescrew/

http://gawker.com/5161908/ceos-500000-salary-burns-startup-into-fire-sale

I'm not arguing that those sites necessarily need to be unblocked. Perhaps, on the whole, the content from these sites is not useful enough, or too much gets submitted, or someone spammed one of these sites here, or any number of other reasons.

However, in the interest of transparency (which this article suggested is an important component of a successful community culture : http://www.paulgraham.com/hackernews.html ) I think that the list of banned sites, along with the reason why they're banned, should be made public.

Or, if there's a good reason why it shouldn't be public, then I would love to know it.
I use an in-memory tokyo cabinet as a memcached replacement on my rails system. (well actually it runs merb, but close enough)
Sorry. I disagree entirely [assuming you think advertisers would win]. It would be like spyware vs spyware blocking, viruses vs virus scanners. Except that legit businesses couldn't do anything illegal, and thus far easier to manage.

And, combined with a better managed, ugc version of http://adblockplus.org/en/subscriptions would certainly be unstoppable.
Posterworld Australia
Posterworld has been operating since 1996 and is now established as one of the best retail sources of posters in Australia.
These two servers run 3 lookup nodes and 6 storage nodes (i.e. 6 lookup nodes and 12 storage nodes in total). These servers are quite powerful [32GB of RAM and using RAID10], they also run MySQL.
COMMUNICATOR