skysight-inc/HackerNews huggingface dataset:
In the past, did people carry all their "travel money" on their person when taking long trips? What would happen if they were looted?
Then you don't need the ID at all :) because you use the slug
If I was one of those mega-billionaires, that's what I'd be spending money on. Sending probes to all the interesting objects in the solar system.
I have got fast SSD that can break down every day. I have got USB hard drive. I want to sync data every day, twice a day between them as fast as possible (raw dd takes an hour). If SSD is broken then I just plugin USB hard drive and continue working (with some minor data lost).

ZFS has incremental snapshots, it is fast, but I need to restore bootloader, partitions and everything corresponding to be able to bootup and work again.
It's late and maybe I missed something looking through the code, but what happens if you don't have write permissions on the directory that the statefile is in? The copy operation is performed but then the state is lost when the statefile rename fails.
I don't think you know what a CRISPR is. It doesn't have anything to do with DNA synthesis.
谷歌
Ah, online content publishers versus the internet now... I feel sorry for Wired. Here's how I see it:

- Text ads on websites

- People use adblockers,

- Apple introduces the iPhone without ad blocking

- Website revenue goes up. Many websites use very invasive ads to the point of blocking access to their own content,

- Each ad is marginally valuable, so content producers keep adding more; Competitors need to remain valuable, so they follow the trend,

- Mobile experience gets broken, so Apple introduces ad blockers,

- Websites lose revenue,

- And start using DRM to prevent external modification of their websites. Maybe we'll even have laws against website alteration...

It's all over on a massive scale, which prevents alternatives like individual ethics, begging, donations, etc. I'm not sure there will be a winner, in fact I believe we'll reach the same sad state as television.
"It doesn't always work" really is not a very useful thing to say unless you elaborate on when exactly it doesn't work and why.

Bootstrapping doesn't work for very low n (e.g. n=10) because the resamples are not smooth enough and it doesn't always work that well for estimating quantiles. But analytic methods fare pretty poorly in these circumstances too and in any case people are mostly interested in confidence intervals around the mean anyway.
I also stuck my nose down this rabbits hole about a year ago, while writing a blog post about TextMate color themes [1] (TL;DR: Some older TextMate color themes were made on the Mac when it was using Generic RGB and a gamma value of 1.8, and converting those themes directly to other editors can result in slightly off colors, because they likely assume RGB values to be sRGB with a gamma close to 2.2).

It is fascinating to learn about, but it feels a bit like you could always go deeper. I stopped when I got to the different methods for gamut mapping.

[1] http://www.hardtoc.com/archives/310
I like Casella and Berger, especially because it does so well at showing the connection between probability and statistics (first five chapters or so), but it should be noted that its approach is very different from the one in the slide deck above. Casella/Berger is purely frequentist rather than computational or Bayesian, and it spends a lot of time on likelihood theory and treats e.g. bootstrapping only very summarily.
It's rare for programs to contain integer constants that don't fit in 32 bits, and they aren't needed for 64-bit code/global memory references due to the introduction of addressing relative to the instruction pointer.

Also there is a 15 bytes instruction length limit that would have to be extended if 64-bit immediates were allowed on all instructions.
At first, temporary file created in current directory. So if directory is not writable -- temporary file creation at the very beginning will fail.
If you make the object from lego bricks probably.
How does that math near the end work out?

If there are 3B bp in the human genome, then the write the whole thing for $1000 it should be $3.3e-7, which is a whole lot less than the quoted $0.02.
Get a list of IP Addresses that have failed to login via SSH
Both of the HP calculators can store programs, equations, and even text.
Lombok is also a non-standard dependency and there are costs with having to rely on it.
I answered in another comment on that question. The main point of course is not a language. ZFS incremental snapshots and its send/receive are great, but my task is to create binary identical image of hard drive with bootloaders, partitions and so on. I have got SSD that can breake and slow USB connected HDD. I want to sync them several times a day and be able to trivially switch them in the case of failure. ZFS is only a filesystem. I need to prepare harddrive with bootloaders to use ZFS send/receive. I do not want it. Raw dd is what is needed, but it is slow -- the only reason this utility is written.
Judging by the spate of articles posted on HN recently, I would assume dolphins.
How are Software License Keys generated?
Funny to read about how this guy invented a wonderful NEW way to build houses back in the 1960s, but the article describes the way that most Canadian houses (and Scandinavian ones) have been built for at least 10 years or so.

Not to mention that if you go to Russia or other parts of the former Soviet Union you can find lots of people with self-built houses made from bricks and various sorts of stone blocks covered with plaster, whose construction is very much life the average 30's pebble dash home in Britain. Minus the pebbles of course. Russians prefer smooth plaster and paint or decorative tiles.

Having participated in building the Canadian way, moving around long heavy timbers, I wonder if the European brick and block way is not superior for self-building. Much easier to lift one block into postion, than a long timber, or a prebuilt truss (crane required) or a prebuilt wall (half a dozen strong helpers required and they bear the risk of it falling on them if a mistake is made).
The Prime is excellent (and very, very powerful), but it's an algebraic machine at heart, unlike the 50g. RPN isn't even an option in CAS mode. The thing is really damn fast, too.
Really depends, it's worked quite well for me on most sites. Granted, I use it with an iPad where this is probably less of an issue than on the much smaller iPhones.
Not the one I have to cross. The crossings are right where the exit/entry roads begin/end. Which makes sense, since that's the natural progression of the sidewalk and there are two bus stops on the roundabout, so people have to cross right there to reach them. A picture is usually worth a thousand words: https://www.google.com/maps/@42.6686834,23.366936,3a,75y,165...
Lol and the GP is a cofounder of Experiment (YC W13), "an online community and a crowdfunding platform for scientific research." You really have to wonder how much due diligence YC does on its biotech founders.
Videos of Big Techday 8 released
Blame the lack of competition in the international payments system I guess.
Pebble dash is an old technique that was "rediscovered" by the Arts and Crafts Movement and repopularised.

You can find it on some Cotswold manor houses. It's a bit disconcerting.

http://www.pebbledashing.com/why-use-pebbledashing.php

http://www.buildingconservation.com/articles/pebbledash/pebb...

http://www.theguardian.com/lifeandstyle/2010/apr/21/pebbleda...
Ah, that's what I missed. I guess there's still a possibility of permissions changing during the transfer, but I don't think there's anything you'd want to do to handle that other than error out.
I have looked at this quite closely. It looks very similar at first sight, but the process is quite different from conventional Canadian timber framing, in that it has a radical focus on simplicity and self building.

On a practical level, this translates into things like much more modest foundations (poles instead of slab), a 60 cm grid system that is perpetuated throughout the house, plasterboard panels that get loosely fit instead of screwed on, an extremely simple but sturdy stair design, and more.

A more contemporary descendant seems to be http://irishvernacular.com .
Secure messaging, deleting communications lt 90 days old soon illegal in India
This is classic 32-bit ARM immediates.

Modern 32-bit arm also have movw and movt, which load the bottom and top 16 bits of a register. Combining the two you can load any 32-bit value in two instructions. Classic 8-bit+rotation immediates are still used for arithmetic immediates though.

ARM64 is different. For arithmetic, you get a 12-bit value with an optional left-shift by 12, for bitwise instructions you get an arbitrary string of 1's at any position you want (including rotated), which turns out to be very useful, while for loading values, just like in modern ARM-32, you load 16 bits at a time using movw, movt and movk to reach the higher parts of a register. You have to string together four of those to load a fully general 64-bit value, but that's pretty rare in practice.
Sorry :) ... I do wonder if I could actually work 6hr/day whether I would spend them working harder. One can dream...

Also, fuck people asking you to stay for "team morale". If you left earlier, I'd think "If I worked harder, maybe they would let me leave earlier, too..."
Cloudflare V4 API Python Wrapper
Tesla's Powerwall to give first taste of disruption to Australian energy market
Hey everyone!

After kinda setting up one server for SSL, and my "business card" site over the weekend, I ran into a couple of roadblocks and took notes as I went along. I then discovered SSL Labs' test to make sure your server was properly protected, so I decided to take on a new challenge: set up SSL on the very server this blog post is on, and make it pass with flying colors.

I hope this helps someone, the process was arduous at times.
Via https://twitter.com/r0h1n/status/645161175374807040

Via https://www.reddit.com/r/crypto/comments/3llzll/things_that_...
Lombok is a crime. Have you seen what happens when someone does a minor reformatting of your code and moves one field declaration above another? You get a nasty little surprise because the two fields of the same type have now reordered in your Lombok generated constructor. When the app runs nobody can figure out why foo is set to bar and bar is set to foo. There's also the issue of Lombok vals which don't conform to the language spec leading to other fun. And it's almost always incompatible with new jdks without code changes to the lombok libs due to the whacky way it relies on implementation specific compiler details.
In that case I will print the message telling that something went wrong but temporary statefile is alive: https://github.com/stargrave/syncer/blob/master/syncer.go#L2...
No processor out there has 64-bit arithmetic immediates - it's not useful enough in practice that you'd want it, and most other architectures have fixed-length 4-byte instructions anyway so it's not practical.
Why do some functional programmers criticize design patterns in OOP languages
Yes me too. I think redux is pretty cool having started using it for a react native app. One thing that is slightly weird is that they suggest your single global state is shaped the same was as your reducers then you connect either top level components or others up via their props to specific parts of the state.

Redux is very simple and more of a pattern than anything; I do definitely think it's better than Reflux.
In the 80s and early 90s there were scientific calculators that were programmable and had substantially more functionality built in than the current batch of scientific calculators. If you want illustrations of this, compare the HP 42s to the TI 36X Pro. Granted, the HP was more expensive than the TI, but the 36 series is the top of the line for TI at this point.

The TI can do integration, complex arithmetic, vectors, and matrices. However, most of it's functions don't work in the complex domain, and the matrices are limited to 3×3. It has a solver, but that's limited. It can't store equations or programs.

The HP can also do integration, complex arithmetic, vectors, and matrices. Almost all of its functions work in the complex domain (complex matrices are particularly useful). It has a versatile solver, works with matrices of over 10 elements, and can even store user programs (with GUI elements!).

My theory on what happened is that normal desktop computers became powerful enough to run mathematical software packages, and graphing calculators became popular. Those two things dis-incentivized calculator manufacturers from creating powerful scientific calculators that could ACTUALLY fit in a pocket.

The calculator now exists just for highschool students, which is a shame, because it would be really nice to have a powerful scientific with nice buttons.

Maybe someone will build a calculator that also serves as an interface with a mathematics package… maybe even with "cloud" computing capabilities (where it runs the software package on your computer to do non-trivial things.
The comparison is rather confusing because this article is not about synthesizing genomes, but individual genes. The $0.02 seems to be just a somewhat arbitrary number at which DNA synthesis isn't a large cost factor anymore.

The genes that are typically ordered are a few thousand nucleotides long, synthesizing the whole genome would be an absolutely monumental effort and probably out of reach for now. The largest artificially synthesized genome was done by Craig Venter and that had only about a million base pairs.
People seem to think these are "the new" way of solving math problems, but in reality the students will be taught the traditional algorithms in later classes. These seemingly weird problems actually attempt to teach students to understand mathematics, not just blindly apply an algorithm.
> Scala. That's a huge negative IMHO. I'm not interested in Scala. Nobody is.

Their use of Scala was the only reason I gave the play framework a second look. Just because you're not interested in Scala doesn't mean nobody else is. Scala is the most popular plugin for intellij by a very wide margin, that's a lot of 'nobody' downloads. Having used both java and Scala extensively I honestly can't understand why anyone would still pick java by choice other than if it's the only jvm language they know.
If they want good, competent STEM workers, they should pay more. More pay that is commensurable with housing prices, etc. That helps the average talent to spend time to become more competent. Otherwise, an average guy is not going to spend time to become that unicorn talent that these companies need.
I have watched and read about this topic before and got the impression that it is essentially a solved problem with a prediction accuracy of better than 5 % and a time resolution of 15 minutes one day into the future. Is this not good enough? Are the prediction not actually that good?
My fears as a designer and 3 methods to conquer them
Populating x86-64 floating point registers is also an amusing subject.

The obvious instruction for loading a (64-bit) float into an xmm register is movsd. With a memory source operand, the higher part of the register is zeroed, which is what you want. No problem.

Now the fun part: if the source is not memory but another xmm register, the higher part of the register is not zeroed. This induces a false dependency on the previous value of the destination register that can cause performance issues. To avoid this problem, such register-register copies should be done with a packed move instruction. (Or vmovsd, but that was added much later.)

The obvious packed move instruction for 64-bit floats is movapd, but we can do better than that by using movaps - it is still a float domain instruction but is a byte smaller.

So the optimal way to move a single double from one register to another is to use a vector move of the wrong type.
Star Wars: why Princess Leia is nearly two years older than twin Luke Skywalker
Tesla also has its Powerwall which is practically begging for this use case http://www.teslamotors.com/powerwall
In my experience, btrfs send does a lot of random reads and is therefore rather slow when reading from mechanical disks. Backing up to a mechanical USB drive is fast enough, restoring from that drive can take forever (but you can use seeding). This tool reads the disk sequentially and should reach much higher throughput.

On the other hand, btrfs send skips empty and unchanged blocks. If the disk is mostly empty, send could still be the faster option.
Dove (European cosmetics company) ran these two adverts:

https://www.youtube.com/watch?v=iYhCn0jf46U (shows a woman's face)

https://www.youtube.com/watch?v=17j5QzF3kqE (whole body, might be NSFW in the US)

The Photoshop manipulation has very little distortion — the camera engineer could not have produced these images, and the intention is entirely to make the image /less/ like what the photographer saw.

(It isn't just women. Yesterday's junk catalogue is illustrated with perfect-looking children and teenagers, sometimes with perfect-looking parents.)

[Edited links, I pasted them the wrong way around.]
Australia Is the First Country to Get Tesla's Powerwall Battery
This is not a "improvement", they just fixed something going really wrong.
Not sure if I agree... 45% might be a too high percentage but hiring veterans? Absolutely yes. Likely a win/win.

Federal services get provably dependable people and veterans get work.
With HCCB (High Capacity Color Barcode) of which an implementation is Microsoft Tag you can get 1.5 MB with 600dpi color on a A4. If you add the best compression techniques (cmix v7) depending on the source material you could get 8 times as much english text, easily fitting the pearls or religion: Tenach, New Testament, Quran, Mahabarata, The Dhamapada, the Atthakavagga and the Parayanavagga, Rhinoceros and Lotus Sutra, The Book of the Dead and the Sri Guru Granth Sahib and explanatory texts and commentary on one single A4.

Or you could get 4 minutes of stereo music, Opus@40Kbps or half an hour of speech Opus@6Kbps - (Vinyl LP seems to be more efficient and simpler for that).

Or the best 25 classical pieces in MIDI, for example Beethoven Symphony #5 in C minor is a 322 KB midi file (compressed 60 KB). With compressed ABC or Alda notation you could even fit 10 times as much. Or you can just read the ABC and automatically 'hear' the music in your head (is there a similar notation for human movement or dance i wonder...).

Even so perhaps a better and more cost effective system is microfilm, here an example of the bible printed on a 2 inch film: http://www.amazon.com/Microform-Bible-Much-Like-First/dp/B00... - you don't need a computer, just a lensing system.
It has one downside, the blind cannot use this unless you'd make an OCR to TTS or braille display converter on top of it.

Or as described in the book Mindhacker you could use Dutton Speedwords/Briefscript word abbreviations preferrable tailored to Esperanto to double the text on the microfilm or on your handwritten A4.
https://github.com/leonardoce/bumot
We are serious about your privacy but we will share your data
This is the right answer.

This is what ARM does a lot of times (their 'immediate' value ops allow you to pick an 8 bit number and rotate it a bit)

http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc....
But btrfs is supported on GNU/Linux platforms, ZFS on FreeBSD/Solaris ones. So they are not portable, OS-specific -- and it can be disadvantage.
Lot's of people do this, see: https://en.wikipedia.org/wiki/Pumped-storage_hydroelectricit...
The Best Programming Books of September 2015
Have Home Office, Will Not Travel
Agreed that the steps taken vis-a-vis these employees may have been the right one if they indeed breached company policy.
But I do have an issue with publicizing this so openly, and using this to showoff of how serious "we" are.
Even with the best intentions, you will run into bad apples. You still need to have the right controls, preferably automated, to avoid sensitive material to be used for internal purposes. Blogging on how they terminated employees doesn't help to showcase their leadership imho.
iOS 9 jailbreak
tar and split combined with a QR encoder would solve the problem just fine.
I commend your enumeration of religious and mystic texts.
The Death of the Party
Seth Godin on ad blocking
Gary Becker's biggest mistake
ARM, like other RISC architectures MIPS and PowerPC, has a fixed instruction size of 32 bits. This is a good design decision, and it makes instruction decode and pipeline management much easier than with the variable instruction size of x86 or 680x0.

Actually, it turned out not to be that good a decision. The generated code is far less compact than x86, and this has costs which outweigh the advantage of simpler instruction decode. CPU speeds increased far faster than memory, so the costs of storing and fetching more instruction data grew larger and larger.

As a result, ARM experimented with other more compact encoding schemes, e.g. Thumb.
The SPARC call instruction beats that with a 30 bit immediate, sacrificing a huge chunk of the encoding space for being able to reach any target in a 32 bit address space with a single instruction.
I'm questioning many of the books in this list. "The C Programming Language"? How is that timely? And the description for that book is lifted from the Amazon page. Oh, and the links are affiliate links too. Suspicious I am.
I think the real problem with a p2p rental platform lies on two factors. One of them being access: I need a drill, pair of skis, camera... I can pick this up from a neighbor (which enhances the second factor: community) or I can have it delivered to my house through a 3rd party service (e.g. uber, postmates...) which solves access/ease. So this can be solved by focusing on balance, starting in dense cities and experimenting through geolocation, or working with close knit communities (e.g. airbnb for IBMers, stanford alumni..). Relayrides had a # of devices which they placed on each of their cars to make them accessible to customers but what they realized according to Shelby Clark (Founder) was that the damage to these cars increased. Once they removed this device (main reason was to lower cost) they reduced damage done by 50% as people associated these cars(product) with someone else = community. They key is balance and it seems like very few companies in the p2p product rental industry have found such.
Importing ASP.NET MVC 6 Tag Helpers
Sam here. The direction/ordering of the stroke seems important, I wonder why?

They could 'fix' this by adding reverse forms of each of the strokes. I wonder why they haven't? Does doing so drastically reduce the detection accuracy?
I also think what is key is to find how much $ a person is willing to move for. In our experiments in Spain we believe its 30Euros, so we do not target products such as drills, but focus on higher ticket items.
Ask HN: What is the best way to monetize animated video series?
Hi! I am working on animated video series - weekly short (2-5 min) videos. I will read and animate the short stories I'm writing.

I am not going to use ads on my videos - just ideologically I think ads are dumb and horrible way to monetize content, that is why I'm looking for alternatives.

So I'm wondering - what is the best, most intelligent way to monetize such content?

Can you share some ideas?
Am I getting screwed due to Visa?
I work for one of the top software firm out there. A woman is CEO of our company.
I am on H1B visa with almost 9 years of experience now. My salary is 120k and 5 % bonus.

I work on analytics services and love what I do. I am senior in my team in terms of experience in the field and also knowledge. Right now, I work on all Hadoop stack and mostly data processing.

I have heard many folks fresh out of college are getting 120k and more. Am I getting screwed over due to fact that I am on Visa ?

FWIW, I am in San Francisco.