Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
pflanze
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
41 ms
·
361.
▲
by
pflanze
12y ago
I'm not a .NET user (yet) and have found the readme to be somewhat cryptic: > LLILC is an LLVM based MSIL Compiler - we pronounce it 'lilac' - with a goal of producing a set of cross-platform .NET code generation tools. To
362.
▲
by
pflanze
12y ago
Previous discussion: https://news.ycombinator.com/item?id=7084299
363.
▲
by
pflanze
12y ago
Perhaps you'll be interested in this discussion of markup format and tool chain alternatives to GNU info (in the context of Emacs): http://lwn.net/Articles/625072/ (It got no interest on HN: https:/
364.
▲
by
pflanze
12y ago
You might be making matters worse with a jar: those with screw-on lids have a plastic lining in the lid that's traditionally PVC with plasticizers which are considered to be bad for health. To make matters worse, oil will support the m
365.
▲
by
pflanze
12y ago
I've implemented lazy infrastructure / streams for Scheme, too, see: https://github.com/pflanze/chj-schemelib/blob/master/stream.... which is using https://github.com/pflanze&#x
366.
▲
by
pflanze
12y ago
I understand both points. Or more precisely, after viewing the source of the page, I made a good guess that the reason this is js only is that Elm, if I remember correctly, is the language that formats pages without (just) relying on CSS, b
367.
▲
by
pflanze
12y ago
The Elm website is blank without JavaScript enabled. Here's a script to extract the Markdown in the given page and optionally format it without having to enable JavaScript in the browser: https://github.com/pflanze/
368.
▲
by
pflanze
12y ago
I believe (but can't cite any sources for that) that unless the head is parked (which either only happens when the disk goes to sleep, or at least after somewhat extended times of inactivity) HDD heads are always right above the platte
369.
▲
by
pflanze
12y ago
It is my understanding that once an app has access to full X11, it can do everything you can do with your keyboard and mouse[1]. Like open terminals, cat files, it won't even have to parse the result from the screen if xsel or a text e
370.
▲
by
pflanze
12y ago
"It is possible to use Skype in a safe Docker container. The program is then run through an SSH tunnel with X11 forwarding and sound is heard through PulseAudio's Network Server." Well... 1. how is video speed through the ssh
371.
▲
by
pflanze
12y ago
Isn't it impossible to secure Skype because of it's use of X11? I've found it to be impossible to run Skype in untrusted X11 (so that it doesn't get full control over your X display), and running it in a nested X server
372.
▲
by
pflanze
12y ago
Meta comment: the website is mostly unreadable with JS disabled because the fixed-position head is covering most of the page, but fine when removing the "position: fixed" from the "navigation" class. (And your target aud
373.
▲
by
pflanze
12y ago
Or the effect you can see after about second 30 in the following pretty[1] video of a plane passing in front of a mountain range (the narrow band of light behind it works well enough as a collimator). https://www.youtube.com/
374.
▲
by
pflanze
12y ago
Huh, how comes they claim "We believe in privacy" and then use a closed-source product instead of the Apache-licensed Dalvik? "There are no back doors or anything third parties could use for monitoring your activity. Together
375.
▲
by
pflanze
12y ago
Instead of upgrading my phone to 4G, I bought a 4G hotspot, and now everything talking wifi can use it. Count as an advantage that this way no hijackable baseband processor is running inside your tablet, and as a disadvantage that now also
376.
▲
by
pflanze
12y ago
I now noticed that the NCR18650B batteries are Li-ion batteries (i.e. 2.7-3.7V range for one cell; I was thinking NiMH which are below 1.5V per cell). This may be harder to regulate to 3.3V as you can't simply choose a step-up nor step
377.
▲
by
pflanze
12y ago
> and a 3V to 5V step-up converter You may want to step it up to 3.3V only for the main power supply and do a little surgery on the Pi to feed it directly to its 3.3V 'rail', foregoing the 5V->3.3V linear regulator. (I'
378.
▲
by
pflanze
12y ago
Previous discussion: https://news.ycombinator.com/item?id=7109345
379.
▲
by
pflanze
12y ago
A previous version of this slide set has been published and discussed here: https://news.ycombinator.com/item?id=8023812 I did put up a version of those older slides in markdown format on Github here: https://git
380.
▲
by
pflanze
12y ago
> Any system that reminds you of the full passphrase has to store the passphrase unhashed Store it encrypted (the same way you encrypt the payload; you can keep around a single copy of the encrypted full passphrase so you don't have
381.
▲
by
pflanze
12y ago
> O(paths to inodes with nlinks > 1) .. O(inodes with nlinks>1) Yes, that's right, I ignored that part in the calculation above. By using the filename+parent pointer approach for path compression, that could be improved. (The
382.
▲
by
pflanze
12y ago
> I'm only creating /tempdir/$inodenumber if the hard-link count is >1 Which (again) is always, in the case of the OP. > and once the destination hard-link count reaches the same count as the source it gets moved Yes
383.
▲
by
pflanze
12y ago
> By doing this we're using the destination filesystem to keep the map for only for the files with hard-link > 1 That's the assumption anyway (cp already works that way); we're talking about this only because the OP had
384.
▲
by
pflanze
12y ago
That would need either a hook to the kernel or a file system parser. Even if you manage to do that, I'm not sure it would be a good idea to continue to use a file system that has lost sectors, even after fsck. Are you sure fsck is fixi
385.
▲
by
pflanze
12y ago
From the original post: "We use rsnapshot (..) so most of the files have a high link count." > it is the recommended Unix procedure I don't think it is "recommended procedure", not today. At least on GNU/Lin
386.
▲
by
pflanze
12y ago
OP said "I went for a file-level copy because then I'd know which files contained the bad blocks". When you copy the block device with ddrescue (dd doesn't have logic to work around the bad sectors and the only sensible
387.
▲
by
pflanze
12y ago
> Edit 2: a different solution See "megacopy" in my top level comment.
388.
▲
by
pflanze
12y ago
I've written a program that attempts to deal with the given situation gracefully: instead of using a hash table, it creates a temporary file with a list of inode/device/path entries, then sorts this according to inode/de
389.
▲
by
pflanze
12y ago
Yes, you're right, I made a jump in my thinking; I wanted to make the point that you could exclude the storage for the paths from the working set size, if there is only rarely a match. Problem is we don't have a number for the wor
390.
▲
by
pflanze
12y ago
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 t
More ›