skysight-inc/HackerNews huggingface dataset:
THANK YOU for this very lucid post!!! People who have access to these services almost certainly have access to a data plan and would view it as a novelty rather than a means of communication. I learned this the hard way by having done a very similar project a year ago, but then basically lost interest as soon as I got a smartphone.

Here is my self-promotion:

* http://nerdhow.net/uzblsms-a-way-to-browse-the-web-via-text-...

* and of course I had it on Hacker News: https://news.ycombinator.com/item?id=5835365

It's open-sores and free to set up and use (if you have a text plan) It would be pretty easy to turn it into a sms terminal which might be negligibly more useful (using a PTY with the kbd is easier than using an X Server). I guess the OP's project and mine would be perfectly equivalent if anyone's written a text-only, line-based browser, but I stopped short of this. Maybe someone else will make one? (:

My biggest takeaway from the whole project was how easy it is to fall into the trap of doing something just to be able to pat yourself on the back. Real altruism isn't this cheap.
If you're on Windows I've been able to do this with Telerik's AppBuilder (http://docs.telerik.com/platform/appbuilder/debugging-your-c...)

It opens up a Webkit Dev Tools that are pretty close to the latest Chrome version and lets you interact with Safari on iOS. Even highlights elements the same as desktop.
Let's assume we change your algorithm to use inode+device as key instead of the content hash, to make it behave as it 'should'.

> constant RAM

Well, definitely not constant space. The only reason for it to use less RAM than the hash table is if it uses disk instead of RAM, and that's what happened in op's post, too, by way of swap.

You're trading a hash table implemented in user-space for a hash table or b-tree or similar implemented in kernel-space.

The advantage of the user-space solution is that you can optimize it for the job at hand. A trivial implementation would use a binary-encoded inode+device number pair (probably 2*8 bytes) and a pointer to the first path encountered (8 bytes), where the path is only accessed in matching cases. In fact, 17e9/432e6=39.35 B/file, pretty spot on. Seems like there's some room for optimization.

The kernel would need to store the file name string in addition to its hash or b-tree entry. This is unlikely to use less memory. Since it will presumably be randomly accessed, reading back from disk will not be more efficient than swapping either.

Now what I'm wondering is whether the OP really had a filesystem with basically every file having a hard link count >1. Since if most files only have a link count of 1, then cp has no reason to hold them in the hash table, as they can't be encountered again. Unless it does so anyway for the case where hardlinks are being created while cp is running. If so, it should probably have a command line flag to turn this safety feature off.
Before this fancy GPRS thing, we used to have something called CSD (circuit-switched data), where your phone could use a raw GSM voice circuit to send data instead of digital audio.

I think we lost that feature in the transition to 3G.
Amazon doesn't depend on these devices like Apple or other manufacturers do. They can afford to take their lumps on this iteration and come out with better versions over the years. Not to deny that this phone appears to be a serious flop.
Sure, there will always be some people who can afford a $200 phone, and others that can't. But for those who can, I'm amazed at how much emphasis is placed on the upfront cost of the phone itself, versus the total cost over the 2 years of a normal contract. Lets just pick easy numbers and say your monthly bill is $100, which is probably on the low end, but it still illustrates my point. Over two years, you're going to pay $2400 for the service. $200 vs $400 vs $600 is the wrong comparison to be making, because it's less than 20% of the total cost.

That's why these marketing promotions really feel scummy to me. "Buy Mom a smartphone for Christmas" is actually "Show Mom how much you love her with a two year, $2500 financial obligation".
Got to admit I'm relieved to see this.

I'm currently porting a large desktop Java app to the cloud, and this means I can focus on just creating an Android app instead of Android AND WebApp.
Not sure where this myth started, the idea that somehow AC is less dangerous to handle at high voltages over DC. Wall socket AC alternates at ~50Hz, that's an oscillation every 0.02sec, for perspective, the average human reaction time is in the range of 0.15 to 0.3sec [Wikipedia]. There almost no chance that you willingly disengage a circuit once it's made for both high voltage AC or DC. Be careful whenever handling high voltage sources of electricity IN ALL CASES.

Also, if you don't mind me asking, how much did your battery bank cost?
Haskell bears very little resemblance to traditional pseudo-code, compared to something like JavaScript.
Awesome webinar watch a super affiliate make $300 days over and over
NFC vs. RFID
> Read the quote again, you're begging the question.

Yes, perhaps I am to some extent.

> Empirical evidence is experiential by definition

I would have said it relies on tangible evidence, material evidence. Its status as an experience by an observer, if present, is secondary. I say this because evidence can be gathered without anyone experiencing it directly. Consider Curiosity on Mars. If we read a mass spectrometer's results radioed back to Earth and draw conclusions on that basis, it's a stretch to assert that we've experienced the evidence. Its interpretation certainly involves an observer, but not the evidence gathering itself -- that is often automated, even here on earth.

> Ex. If God exists, then religious experience is empirical evidence of this.

No, I think a spiritual experience contradicts the direct, physical sense of empirical. I usually regard empirical evidence as that kind of physical evidence that forces different, similarly equipped observers into agreement on its meaning.

Example -- when the CMB was confirmed in the mid-1960s, it killed off the last hope for a steady-state universe. Until then the Big Bang's critics were theorizing that the universe created new matter between the galaxies, so even though the universe was clearly expanding, this didn't mean it had a beginning or an end. The CMB detection, which wasn't really anyone's direct experience, falsified this alternative to the Big Bang. And it's objective in the sense that anyone can set up and detect the same evidence using indirect means -- not by direct experience.
Yoga Joes: Army Men Doing Yoga
Facebook's template library for fast prototyping of software in C++11 and up
Fair point. I suppose with a such a new method the barriers to signing up need to be as minimal as possible. Give us a few hours and we'll try to have a trial system up by tomorrow or the weekend
Kevin Rose’s New App Tiiny Lets You Share Photos That Disappear in 24 Hours
https://www.facebook.com/ works for me now, but not https://facebook.com/
Working on a change now.
What's the difference? (Or rather: why don't they know the exact value?)
A 'phone for readers' designed for people like me (and perhaps you?) who use their phone as a small text reading device would at the least be "very interesting".

An improved shopping experience on my phone is as exciting as seeing a blue sky day in summer. Woot?
True. Traditional pseudo-code tends to be imperative.

I think you'll face a similar problem with Clojure :)
>> psychotic

> Choose - mental illness is either real or it isn't.

Calling someone psychotic doesn't grant the reality either of the term's generally accepted meaning or mental illness as a category. Any more than the common use of the term "genius" is reducible to scientific consensus on the meaning of that term.
One market you might not have considered: sailors. Out there on the water its very slow and expensive to be online.

Any cuttings in data transfer have a huge return in less costs and faster replies.

The few options out there are focused on email and expensive. To get an idea: sailmail.com offers email-only SSB (single side band) for $250 / year.
In effect, hard links (of mutable files) are a declaration that certain files have the same "identity." You can't get this with plain Venti-on-Fossil, but it's a problem with Fossil (objects are immutable), not with Venti.

Venti-on-Venti-on-Fossil would work, though, since Venti just creates imaginary files that inherit their IO semantics from their underlying store, and this should apply recursively:

1. create two nodes A and B in Venti[1] that refer to one node C in Venti[2], which refers to object[x] with key x in Fossil.

2. Append to A in Venti[1], causing a write to C in Venti[2], causing a write to object[x] Fossil, creating object[y] with key y.

3. Fossil returns y to Venti[2]; Venti[2] updates C to point to object[y] and returns C to Venti[1]; Venti[1] sees that C is unchanged and does nothing.

Now A and B both effectively point to object[y].

(Note that you don't actually have to have two Venti servers for this! There's nothing stopping you from having Venti nodes that refer to other Venti nodes within the same projected filesystem--but since you're exposing these nodes to the user, your get the "dangers" of symbolic links, where e.g. moving them breaks the things that point to them. For IO operations they have the semantics of hard links, though, instead of needing to be special-cased by filesystem-operating syscalls.)
Instaclustr, which runs Cassandra in the cloud, gets $2M
Why the rush to report FB issues on HN? Is it really that important in the HN sense? It seems to reported here quite quickly.

https://news.ycombinator.com/item?id=8226852

https://news.ycombinator.com/item?id=8265749
There was a great blog post diving into the JSON/caching issues specifically: http://perf.fail/post/97144331419/learning-from-apples-lives...

To clarify, clients were polling every 10 seconds for an _entire_ JSON file containing all the tweets at the bottom, instead of just requesting new tweets in the last 10 seconds and appending them. They also set a 10 second TTL on images, which seems... odd. They should be static.
> This is pretty amazing. perf shows line numbers of those that can be instrumented directly, and those that can't in blue.

That looks like it just came from debugging info. I.e. the numbered lines correspond to places where a debugger could put a breakpoint.
Good find. That's it.
This reminds me of the chromecast app qca.st that does a very similar thing using GPMAA
in my opinion, raid 10 is by far the best if you have to support the operations of a production site in a real world environment. just keep spare controllers and drives handy. it's just a matter of swapping out failures.

three cost levers: capacity, speed, and downtime.

basically, at some point you will begin to realize the cheapest cost is the capacity itself, everything else is an order of magnitude more difficult to justify. downtime and slowness are simply unacceptable, whereas buying more stuff is perfectly acceptable and quite feasible solution in an enterprise environment.
In a video Musk addressed this. The 18650 batteries are produced on such a large scale that they provide the cheapest source of prefabricated batteries on the market. I would guess that this would change once the Tesla battery production facility opens, and they can tool for a battery that better fits their needs.

I wonder as well if the honeycomb type structure formed is inherently less prone to structural deformation.
They are mainly interested in the phone as sales devices. To sell stuff you need color.
Soyuz spacecraft training for ISS astronauts returns to Sevastopol, Crimea
>The only reason for it to use less RAM than the hash table is if it uses disk instead of RAM, and that's what happened in op's post, too, by way of swap.

Yeah I mentioned it was just an on-disk implementation of cp's in-memory hash table.

>Now what I'm wondering is whether the OP really had a filesystem with basically every file having a hard link count >1

Almost certainly. It was a backup machine with rsnapshot. Most files are just hardlinks to the same file from the previous backup. For his specific case it would probably be easier to code up a domain-specific solution. He probably knows the hard-linked files are all in a regular form like /basepath/YYYY-MM-DD/path/to/file. So he could just iterate /basepath/*/path/to/file and do the correct copy/hardlinks on the destination.
A couple more formal systems
Probably manufacturing differences and legal reasons. If the average battery life is x and someone gets a battery they can prove is x - 50 they might get sued, where as if they put a generous minimum battery life they can cover their asses.
I've encountered a number of articles and podcasts that extend the thesis that the process of domestication produces neoteny - that dogs are what wolf puppies would be if they never attained adult wolfhood. Many left the reader/listener with the idea that perhaps humanity had domesticated itself; purposefully weeded out those who become aggressive and self-involved and less trusting (by prison, execution, exile, cultural norms of fitting partners for reproduction) and made conditions more favorable for those who remain childish and collaborative longer. Hardly reproducible, but fun to think about.
That's not a myth, it's a fact and reaction time has nothing to do with it. You're not consciously pulling back, your muscles will simply stop contracting for a short bit after which you (hopefully) disconnect.

The DC damage is a condition called 'muscular tetanus'. The main risk with AC at medium voltages (say 40 to 250 V) is that your heart goes haywire. Though those voltages could easily kill you too.

Yes, you should always be careful. But DC is most definitely more dangerous at the same voltage once you get over 48 V DC (the so called 'safe voltage', but that's a misnomer because under the wrong conditions voltages lower than that can still be fatal). The critical component by the way is current not voltage. Voltage really doesn't kill but current will. AC voltages are typically reported RMS, whereas with DC the 'peak' is also the average. Assuming the DC supply can produce as much current as the AC supply.

Being shocked by neither is good. But the choice between 200V DC and 200V AC is a fairly easy one for me and I've been shocked multiple times by both during my very long time of taking stuff apart and fixing things (yes, I try very hard to avoid that). The AC ones were mostly non-events, the DC ones were (even at lower currents) things to remember years later. Quite possibly that's not correlated with safety but it is definitely a data point (or rather several of them). Avoiding being shocked is a very good way of never having to find out how accurate this all is. One particularly memorable incident was hooking myself accidentally to the HV supply of an old tube radio. Don't do that. And be extremely careful with capacitors and DC batteries, they can supply a ton of current long enough to kill you. HV transformers much less so. (At least, the ones that you would normally encounter outside of industrial gear). And I suspect that the internal resistance of those supplies has a lot to do with whether you're going to be dead or writing about your experiences because it has a very direct impact you the current resulting. HV AC supplies that will supply very high current are hard to find, usually are transformers with relatively thin secondary windings. A battery pack like this is made to supply 100's of Amps at 100's of volts. That's lethal, make no mistake about that.

That battery bank cost $7200, 2005 or so prices.

More than you ever wanted to know:

http://www.allaboutcircuits.com/vol_1/chpt_3/4.html
The raw file:

* (JPG) https://corkami.googlecode.com/svn-history/r1906/trunk/src/a...
Android Fans Are Laughing Over This Graphic
Not sure why they got in the phone business. Seemed like a bad idea to me.
i feel like the smart watch is like the pager all over again. it can only display limited notifications, and cannot respond..well not really...
I'm pretty sure that the cell form factor was a very deliberate cost/benefit decision.

The 18650 cell is the most-produced Li-Ion battery cell in the world, and Tesla has been enjoying the benefits of low prices on these cells as Roadster/Model S/Model X battery pack development has coincided with the switch to laptop form factors where this battery cell doesn't fit. In fact, Panasonic has re-opened production lines for these cells that were shuttered due to falling demand, due to purchase agreements with Tesla. Tesla's incredible demand for batteries means that cell choice is a very important decision. It's worth noting that Tesla's engineering leadership has indicated they are both form-factor and chemistry agnostic, and will always go with the option that makes most economic sense.
The problem with programming in Prolog after learning how to think in Prolog is the need to remaster control of the search space via cut.
I was wondering the other day why HP wouldn't just buy Rackspace -- HP push into managed services, plus the OpenStack clouds at each, would make some sense.
The file in question: https://corkami.googlecode.com/svn-history/r1906/trunk/src/a... (direct download, 173kb)

Imgur mirror: http://i.imgur.com/jUEAygp.jpg
Maybe my understanding of the "free will" concept is inaccurate, but it seems that a lack of free will means you cannot control your own thoughts, decisions, etc.

If that is true, then how would it make sense to hold somebody responsible for something they cannot control?
if you want to copy everything and there's nothing at the target:

rsync --whole-file --ignore-times

that should turn off the metadata checks and the rsync block checksum algorithm entirely and transfer all of the bits at the source to the dest without any rsync CPU penalty.

also for this purpose it looks like -H is also required to preserve hard links which the man page notes:

"Note that -a does not preserve hardlinks, because finding multiply-linked files is expensive. You must separately specify -H."

be mildly interesting to see a speed test between rsync with these options and cp.

there are also utilities out there to "post-process" and re-hardlink everything that is identical, so that a fast copy without preserving hardlinks and then a slow de-duplication step would get you to the same endpoint, but at an obvious expense.
Shameless self-promotion: in my Stack Overflow answer [1], I reference good introductory LSH papers [2-5].

In short, LSH is an algorithm that hashes points that are nearby in a feature space into the same bin with high probability. Contrast that with cryptographically secure hashes where the tiniest change in the input is designed to yield a completely different hash. The point is that, in domains like multimedia, you want to tolerate some distortions to your signal, e.g. microphone noise, blur, etc. These minor distortions shouldn't affect your characterization of the data, e.g. "is this a guitar", "is this a cat", etc.

The advantages are that it's simple to implement, and it has mathematically provable probability bounds and query complexity.

[1] http://stackoverflow.com/questions/5751114/nearest-neighbors...

[2] http://www.cs.princeton.edu/courses/archive/spr05/cos598E/bi...

[3] http://www.vldb.org/conf/1998/p194.pdf

[4] http://www.vldb.org/conf/1999/P49.pdf

[5] http://web.iitd.ac.in/~sumeet/Slaney2008-LSHTutorial.pdf
How long ago?

I monitor HN for the word spreadsheet, but can't think of anything that matches your description. Have you got more details.

Will this work? www.cellmaster.com.au - I have a few early adopters using it.

What is the problem you want to solve?
Why I Hate Antivirus
This is already very common in Amsterdam where citations are written automatically and not even placed on the car. The fine will arrive in your mailbox fully automated within a few weeks.

In other Dutch cities a similar system is used, however the officer still writes a physical ticket and puts it on the car whenever the scanning device shows a hit.
I'm afraid I don't get your point. Isosorbide dinitride costs about US-35$-75$ [1] and IN-0.4$ [2], about 100 tablets in both cases. The patent was published in 1979, so it should have long expired by now, and would be a generic drug[3]. Whatever the German company spent on R&D would have been recovered before the patent expired.

[1] http://www.goodrx.com/isosorbide-dinitrate

[2] http://medlineindia.com/cardiovascular/isosorbide_dinitrate....

[3] http://www.google.com/patents/US4156736
Good to know!

Also, re: bonage, I agree that it "shouldn't", but it definitely did. From my sysadmin notes file:

> The tar operation kicks off before ssh engages; having ssh ask for a password seems to intermittently cause problems with the tar headers on the receiving end. (It _shouldn't_, but it seems to.)
That's pretty recent, though, and a lot of people are still on older plans. Still, it's good they're finally gaining some sanity there.
> You make the mistake of thinking that I am attempting to defend psychology.

If that were true, it would certainly be a mistake -- you aren't defending either psychology or the reality of mental illnesses or their diagnoses.

> You mentioned cancer.

Indeed I did.

> Is cancer real, or "virtual"?

Since it's largely understood and is something on which different observers can be forced into agreement, since it has an explanation, not just a description, since it can be treated using physically unambiguous methods, since it survives rigorous, double-blind, controlled trials, it's real.

> How about the pain that a cancer patient feels? Is that real or "virtual"?

Virtual, obviously, since a trained actor can persuade a skeptical audience that he's in pain, as was true during the now-famous Stanley Milgram experiments.

http://en.wikipedia.org/wiki/Stanley_Milgram

If it happens that you plan to assert the reality of pain, its objectivity, I strongly suggest that you read up on the topic before you do. In particular read how a battlefield hospital ran out of morphine, so they administered a saline solution and said it was morphine. This worked, and began the research into the Placebo response.

Similar stories:

http://www.saturdayeveningpost.com/2013/01/02/in-the-magazin...

Conclusion? Pain is virtual. This is not to dismiss pain's seriousness, only to dismiss its objectivity -- the degree to which different observers can be forced into consensus on the meaning of evidence.
Previous discussion: https://news.ycombinator.com/item?id=7775015
This is an exciting product with a great team (especially founder Shireen Yates). I hope they launch soon-- my girlfriend is gluten free and this would be a great kwanza/hanukah/christmas present.
Making the phone something people genuinely want, first, then adding features to support sales, would probably better accomplish that.
I'm pretty sure the element of doubt your parent refers to is "doubt that the Shapira fragments were forgeries", not "doubt that the Dead Sea Scrolls are authentic".

I can't shake the feeling that something in your comment went over my head, though... could you say something at greater length?
Check for symptoms of moral panic.
Part of the reason these people don't have $200 to pay for a phone is because they don't think about lifecycle costs of purchases in general.
That might not make you a "man," but it will at least get you a job at the New York Times.
Jupiter's Moon Europa May Have Plate Tectonics Just Like Earth
tarpipes can handle gnarly piles of hardlinked files without sweating. BackupPC is free software for network backups that builds a massively hardlinked file pool; tarpipes are the only thing that can reliably copy BackupPC pools from one location to another.
Testing (please dont upvote)
karmalytics
Yep, I remember programming on such a system (Amiga) in the early 90's! Fun times.