skysight-inc/HackerNews huggingface dataset:
That's a good point.

Serious idea: Maybe a WYSIWYG editor that generated markdown, which you could then submit to the server to parse as HTML?
Yeah, some seemed overly brief. But I think overall he got his points across pretty well and I suspect it might not be his preferred medium for such topics. Even his book was largely based on his Stanford lectures.
This page may be useful:

http://unix.stackexchange.com/questions/44247/how-to-copy-di...

The main issue is that there's no api to get the list of files hard linked together: the only way is to check all the existing files and compare inodes. If you're doing a plain copy over 2 fs, you cannot choose which number the target inode will be, so you need to keep a map between inode numbers, or between inodes and file names ("cp" does the later).
A Lightweight Material for Building Better Planes and Batteries
I'd bet criminal. If you have physical access to pipes, why bother with something this obvious?
For anyone who hasn't paid close attention to the gory details of battery specs, this is pretty normal - most of them have both a typical and a minimum capacity. Which one gets advertised is mostly a marketing decision.
I've often wondered why majors in Software Engineering aren't offered. The situation is as if we skipped over Electronics, Mechanical, or other Engineering majors and insisted that Physics covers it all. There's a reason that engineers are not trained in quite the same ways as scientists.
"Normally I'd have copied/moved the files at block-level (eg. using dd or pvmove), but suspecting bad blocks, I went for a file-level copy because then I'd know which files contained the bad blocks."
Skilleo now supports C and C++ on Code Challenges
Can You Run a 4 Minute Mile? How About with a Jetpack?
Indeed, all the economic models I'm aware of are explicitly theoretical, including ones that cover how governments and markets work. They often contain assumptions that are obviously not present in the real world: like perfect information or zero transaction costs. Of course, that doesn't mean they're not occasionally testable to some extent, but I'm strongly skeptical of anyone claiming to have a "proof" of any nontrivial claim regarding these ideas. That said, I do personally find the arguments that markets will outperform governments more convincing than the inverse.

On the topic of market transactions with externalities, you might find the Coase theorem interesting, and the related folk theorems in game theory. I see it as a compelling rebuttal to the Pigovian model of using a centralized organization (generally government) to internalize social costs.

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

http://en.wikipedia.org/wiki/Folk_theorem_(game_theory)

http://en.wikipedia.org/wiki/Pigovian_tax
Total Cost of Hosting Ownership: What Goes into It?
Not even close. This technique only works when the relative energy of different frequency buckets remains the same, and the same time periods apart (in milliseconds). You are very unlikely to have the same fingerprints when repeating the same words/phrases.

Try using an app that shows the FFT and see if you can get it to show the same thing twice when speaking. For example on Android this works https://play.google.com/store/apps/details?id=org.hermit.aud...
When wondering about Prolog and types one should mention Mercury -- Prolog's typed cousin.

http://mercurylang.org/

Paper already mentions -- Haskell with logic extensions:

http://www-ps.informatik.uni-kiel.de/currywiki/

The problem with Prolog is the need to rewire your brain to think in Prolog. I remember struggling for many hours to solve a problem and hitting a wall. But then when it is solved in Prolog it would be something like 10 lines of code.

It kind of reminds of understanding and writing math formulas. It would take days to decipher a one-line formula.
Terms of the deal were not disclosed, but
Eucalyptus had raked in something like $55
million in venture funding since it was
founded in 2010. Some estimate that HP may
have paid up to $100 million for Eucalyptus,
its IP and some 70 employees.

An acquihire. It's amazing that Eucalyptus was able to burn through that much money in such a short amount of time with not that many employees. I wonder what the behind the scenes story was.
In the mid 1980s I used to load computer games onto my ZX Spectrum using analogue tapes and an old hifi. 1535 bit/s :)

http://en.wikipedia.org/wiki/ZX_Spectrum_software#Tape
aint' nobody got time fo dat!
I tend to do this in my C programs because in development usually have malloc() wrapped so that if any block hasn't been free()'ed it's reported at exit() time. This kind of check for lost pointers is usually so cheap that you use it even if you never expect to run on a system without decent memory management.

As an aside, GNU libc keeps ( or at least used to keep, I haven't checked in years ) the pointers used by malloc()/free() next to the blocks themselves, which gives really bad behavior when freeing a large number of blocks that have been pushed out to swap--you wind up bringing in pages in order to free them because the memory manager's working set is the size of all allocated memory. Years ago I wrote a replacement that avoided this just to speed up Netscape's horrible performance when it re-sized the bdb1.85 databases it used to track browser history. The browser would just "go away" thrashing the disk for hours and killing it just returned you to a state where it would decide to resize again an hour or so after a restart. Using LD_PRELOAD to use a malloc that kept it's bookkeeping away from the allocated blocks changed hours to seconds.
I got the impression somewhere that btrfs RAID 5/6 support allows, or will allow, new devices to be added to an existing RAID group.

That's an important feature for home and small business users. Having to replace every drive in a RAID group to grow it, as ZFS requires, is painful and expensive.

Fortunately, drives are cheap enough these days that you can just way oversize your pool to begin with. But anyone switching to ZFS should be aware of the need to do this.
The argument made that i responded to was "while cyclists aren't killing drivers, because it's not physically possible"

This seems really simple:
Cyclist decides to swerve across lanes without signaling, causing a car to need to break and swerve into a concrete barrier (or get hit by a truck, or whatever), and die.

Cyclist is at fault for not signaling (among other things). He caused driver to die.

I don't see why the cyclist would die in this scenario, assuming the car was successful in avoiding them prior to driver's death.
> a government can definitely enforce things better than a free market.

It might be true that government can more effectively enforce the rules which is chooses to enforce, although I might even argue that. It is not definitely true that government will more effectively enforce the rules which you (or society) believes should be enforced.
I had a RAID 6 have a failed disk a couple weeks ago... 8 x 3TB drives... 18TB usable. Took 7 hours to rebuild.

Disks were connected via SATA 3 and was using mdadm
Technical debt that keeps on giving.

Today there are N applications. "We can't increase MAX_PATH because it will break existing applications!"

Tomorrow there are N+M applications. "We can't increase MAX_PATH because it will break existing applications!"

Repeat forever.

Any time you are faced with a hard technical decision like this, the pain will always be least if you make the change either:

1. During another transition (e.g. 16-bit to 32-bit, or 32-bit to 64-bit). Microsoft could have required all 64-bit Windows apps to adopt a larger MAX_PATH, among other things.

2. Right NOW, because there will never be an easier time to make the change. The overall pain to all parties will only increase over time.
Queryable pictures from the Mars rovers
My largest ZFS pool is currently ~64TB ( 3 X 10 3TB (raidz2) )
The pool has ranged from 85%-95% full (it's mostly at 85% now and used mostly for reads).

Resilvering one drive usually takes < 48 hours. Last time took ~32 hours.

Something else cool:
When I was planning this out I wrote a little script to calculate the chance of failure.
With a drive APF of 10% (which is pretty high), and a rebuild speed of 50MB/sec (very low compared to what I typically get) I have a 1% chance of losing the entire pool over a 46.6 year period. If I add 4 more raidz2 10X3TB VDEVS that would drop to 3.75 years.
having dead languages to imprecisely map to a word (but nobody knows that because no one really speaks the dead language) isn't any better. It also creates barriers and wasted time in learning the practice. The average individual has to deal with that folly even more when it comes to law.
Hopefully apple has updated the storyboard tools to do all of the layout constraints. I remember back in xcode5, there were some constraints that were only possible via code :(
This article has a pretty nice overview: http://msdn.microsoft.com/en-us/library/windows/desktop/aa36...

The MAX_PATH limitation can be avoided by using the \\?\ prefix (which also disables some kinds of path normalization, like converting / to \) or by using paths relative to the current directory.

Unfortunately, most tools (including Windows Explorer and other Microsoft software) still don't work with paths longer than MAX_PATH.
I'm not sure but I think someone is working on that at mozilla. It is almost dedicated to things specific to mobile, though.
Apple set to acquire Path
Path Remains the Most Popular Social Network Nobody Understands
I'm a fan of all these small-living endeavors. I'd personally build a somewhat larger passive-solar-optimized structure out of more appropriate materials.

The gotcha is always land. Try to find an affordable plot near enough to community and services. It's going be way more than the cost of the building.
Show HN: What Country a visual collection of stereotypes
There seem to be quite a few of us chronics on this thread! My own meds cost about US-1200$ and IN-100$, per month. But I find it understandable in my own case... the drug is new, and the patent is nowhere near expiring.

In case you were telling me the price because you thought I disagreed that it's cheaper in India, I don't. My point was R&D cost is not the reason why common drugs are cheaper.
You could, but it's fairly uncommon to do that kind of "custom allocator" style in C, especially in traditional Unix utility programming. It seems to be more of a C++ thing culturally in my experience, though you do find it in C in "big" programs, like scientific-computing code.
Mechanical watches don't require sacrificing many features vs. quartz. Other than not having to wind or set it as often, the only real advantage of quartz is price.

That's what may change if these new smart watches find their killer app. No one really needed a calculator, heart beat monitor, or other gimmick on his wrist, so digital watches never pulled away on features. That might change now.

Would I rather wear an intricate piece of jewelry or see why my phone vibrated without reaching into my pocket? It starts to be a different calculation.
I think with appropriate legal protections against default, seizure, etc. it might be worth it. Pride-of-ownership is pretty powerful.
Should be noted that Android as a PC OS already exists. Can read more about the x86 version here...
http://www.android-x86.org/

It's not supported by Google (no Play services AFAIK) but most applications that are installable from a 3rd party app store should run (they're JVM apps after all).

But why would you want to run Android on your PC? What advantages does it offer over Windows for the average user?
Radix Trees a.k.a. Prefix Trees a.k.a Tries
Yes they do share the exact same SOC on the current iPhone/iPad (as mentioned below). They will almost certainly share the same SOC with the new iPad.
So yes whilst the iPhone 6 will have better performance than the 6+, it won't matter because the 6+ will be comparable to the iPad.

Happy?
Would you rather live in a slum or on the street? Would you rather get paid $1/hour or be unemployed?
OK, I live on the street.... but I poop and eat and sleep in a house I bought.

The point is that if you can't get through even a single day somewhere (given some time to prepare and stock up), but you rely on access to some other private property, you don't live (only) there.
I would actually prefer no physical wallet if it were possible. The idea that your driver license, credit cards, debit (figuring out how to make this work with ATMs too, and any other physical card all digital and works is in fact the holy grail.

If like Passbook, I could store my cards and select which one digitally and easily transact everywhere the way Stabucks does it or how the Apple Pay demo during the keynote does it, that would be amazing. I would prefer just having to carry my phone and nothing else (replace my keys while we're at it).

The problem is no matter how awesome this is, it won't happen unless this universal system is in place everywhere. Currently not every store or merchant accepts such a way to pay or identify yourself (in the case of IDs or even other type of cards). And much like how there are still places that are cash only, the adoption for this is likely going to take a long time, if ever, to truly remove the feeling that I can finally not carry a wallet at all.

It is a problem (in the first world sense)in my opinion contrary to the article, just one that lacks a universal solution due to it not being widely adopted yet.
I think so, so the user doesn't have to read the comments to get the full understanding.
Wow, apparently it was released 2 days ago. Thanks for letting me know, I had not heard of this
None that we have encountered. And we've done quite a few apps like this.

I'd highly recommend ShrinkIt for shrinking the Illustrator exported PDFs, as it can reduce the size by as much as a factor of 10.

Also PDFs really lend themselves to being dynamically tinted. You can use the new render mode in iOS 7+ or something like UIImage+Tint to make sure your key colours are all well defined in your code. (It's really nice when a client suddenly decides they want their app to be orange instead of blue, and it's a one-line change without touching a single asset.)
You hear good things about Thailand and some South American countries.
Two days ago apparently, just in time for me to make an ass of myself on the internet! Snark aside, that is great news, and I can't wait to try it out
No mentions at all of food or meals, nor cold weather. Great way to live if you can afford to eat out 3 meals a day, and it's warm enough to just sleep outside anyway. It's really not living simply... it's just outsourcing the complexity to his wallet.
I'd buy that for a dollar!

Oh wait. No I wouldn't.
Same experience with Prolog: I feel like I have to re-wire my brain every time I come back to it. Completely different way of solving problems.
You're right. Of course majority of driving is uneventful and the activity is not a bloodbath. Your average driver isn't a speed maniac or someone who loses control of the vehicle three times a day (though an average driver I meet has a bit, let's say, relaxed approach wrt. speed limits and safe driving distance).

But because driving is something that a great many people have to do, often many times a day, it still sums up to a significant death toll worldwide. It's a statistical thing, not emotional one (no one is honestly impressed by traffic accident these days; bomb on a plane on the other hand...). By introducing self-driving cars we can significantly reduce if not outright eliminate those millions of unneccessary deaths while also improving energy usage and efficiency of transportation as a whole. In other words, no traffic jams, you get quicker everywhere and the world as a whole uses less energy to move people around.
awesome - "Bonus tip for philanthropists: Find a way to sue Intellectual Ventures. If we could get rid of these parasites, we'd all be better off."
And hopefully you would have written up a similar essay on the oddball experiences you had with rsync, which is even more stateful than cp and even more likely to have odd interactions when used outside its comfort zone.

Ditto for tricks like:(cd $src; tar cf - .) | (cd $dst; tar xf -).

Pretty much nothing is going to work in an obvious way in a regime like this. That's sort of the point of the article.
There is even a huge market for $500 phones. But when you slash the price of your $200 phone to $.99 it's not a good sign.

Imagine Apple dropping the price of the iphone below the BOM, that would send their stock reeling.
And there's probably a lot of overlap between Apple's customer base and Nest's. I'm not saying they won't do it, I really just mean I don't know how likely it is :-)
512GB SanDisk Extreme PRO SDHC/SDXC UHS-3 Memory Card
The strange, sad history of Brandon Marshall
iPhone 6 or 6 Plus? – Part 1
Voodoo Alerts Video Blog 9-11-2014
They did. It scrapes from various sources to build up a db of instant titles much like the site NetflixRoulette.net does.

The app itself is pretty simple. It just uses a webview to load in the netflix content and is hooked up to a django backend.
iPhone 6 or 6 Plus? – Part 2
What would be really dope, is if there was one application interface for ChromeOS/ChromeBrowser/Android ... AND ... we could use it from some nice modern language ... like Go.
Web apps generally sell for about a year's worth of profits. So you'd probably get around $6000 if you sold it. Is that worth it to you?

If you are serious about selling, I'm currently looking at acquiring products in your profit range. Please email me if you'd like to discuss.
Any element of doubt has been destroyed by the comprehensive carbon dating tests run on the DSS that show them to be 2000 years old plus change. The author doesn't mention this. And someone needs to tell him that the Documentary Hypothesis is dying.
> You can't simply nil the reference and expect GC to come through and clean it for you

This is exactly what happens when your process exits and its private memory space is freed in its entirety. Hence the discussion. There's no need to clean up before exit, except if you want to (i) use a leak checker; or (ii) run on a machine with no MMU.
Building codes don't need to be thrown out to construct low cost housing, and low cost housing doesn't need to result in slums.

Salt Lake City recognized the total cost of a large homeless population was significantly higher than building permanent homes paired with services to accommodate them. Reducing the chronic homeless population increases capacity of emergency services, saves the community money, improves quality of life for both homeless and those living/working in an area with a large homeless population, and creates a setting where support services (health, wellness, education...) can be more efficiently and effectively provided.

The 2013 report goes into detail: http://jobs.utah.gov/housing/documents/homelessness2013.pdf

Some highlights:

Salt Lake City has 779 permanent housing units for supporting chronically homeless. On a random night's count, 87% of the homeless population was sheltered.

Chronic homelessness decreased 9% from 2012-2013, and has decreased 74% since program start in 2005.

2005 - average annual cost for emergency services and jail time for each chronically homeless person was $16,670. The cost to house them and provide case management services was $11,000 per person.

Over half of those housed by the program moved on to permanent destinations. Only 8% returned to homelessness.
Asides from price, why not engineer a battery that did not rely on 18650 cylindrical cells? Seems like a bit of extra weight and lost capacity/space by using tons of 18650 batteries which each have their own casing instead of just making a 'brick' style battery, similar to those found in mobile phones (but obviously much larger).
Sounds about par for course for a hackathon project.
Plenty of student houses have shared dining rooms and toilets, he definitely sleeps in the house.
Thanks Yahoo. It's nice to see a company stand up for the rights of their users.
I am a fan of small houses, though perhaps this dumpster is a little too minimalist (for me) in its current form (the article states they are taking the time to work out what is truly beneficial in a small house, and it looks like this investigation is far from over).

The most desirable small homes I've seen so far are from dwelle, they seem to strike a good balance between compactness and practicality... http://www.dwelle.co.uk/ If anyone else has some small home projects they were impressed by, please share, I'd like some further inspiration.
His copyright notice and explanatory paragraphs make it clear he's trying to keep some level of control over those photographs, while still sharing them with "his community" - which means I feel a little uneasy about having archive.org unilaterally slurp the images up like that...

I know it's kind of a losing battle, but "publicly available" does not mean "in public domain".
What a super project. Besides the fact that it was even more economical (I think if there had been a surcharge it would still be the right thing to do). But it also seems to have been instrumental in providing a stable base from which to return to a more normal life.

Wonderful.
Oh, that's so cool! Only sad thing is that is apparently the really-locked version of HyperCard Player.
Stephen Hawking endorses Intel's connected wheelchair
How do you keep hard links?
The problem with rsync is that it would have to traverse all the FS tree and check every single file on both sides for the timestamp and the file. In a relatively small FS tree is just fine, but when you start having GBs and GBs and tens of thousands of files, it becomes somewhat impractical.

Then, you need to come up with other creative solutions, like deep syncing inside the FS tree, etc. Fun times.

Add checksumming, and you probably would like to take a holiday whilst it copies the data :-)
I have never understood why people are eager to jump to the conclusion that a supposed lack of free will or the presence of some biological reason should absolve a perpetrator of moral responsibility. I believe the laws in society are arbitrary, just as the assignment of responsibility. By arbitrary I mean that laws are not based on some natural foundation that gives them legitimacy, but on how we want society to be.
pedrocr's comment above suggests a good solution:

1. Copy each file from the source volume to a single directory (e.g. /tmp) on the target volume, named for the source volume inode number.

(edit: I suggest using a hierarchy of dirs to avoid the "too many dentry's" slowdown)

2. If the file has already been copied, it will already exist in /tmp - looking up the inode is a vanilla directory lookup

3. Create a hard link from /tmp to the actual path of the file

4. When all the files have been created on the target volume, delete the inode numbers in /tmp