Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
joeyh
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
22 ms
·
181.
▲
by
joeyh
11y ago
You will probably be able to increase the bandwidth by running concurrent downloads. echo "-J4" > IA.BAK/ANNEXGETOPTS
182.
▲
by
joeyh
11y ago
The checksums we have from the IA are md5sums, which are not ideal, so a preimage attack is possible, but AFAICS you could only use it if you're generating the original file that is stored in the IA, and are planning to replace that wi
183.
▲
by
joeyh
11y ago
I use the same technique of bundling the necessary dynamic libraries and gconv files for the git-annex standalone tarball distribution. I've observed users untarring that onto arbitrary wacky NAS boxes and it just working, which is pre
184.
▲
by
joeyh
12y ago
Oh precious irony of clicking on this in HN in a bored moment! I think you'll do better if you find ways to make your clarifying restrictions be imposed upon you, rather than attaining them through willpower. I do find 2-3 day email an
185.
▲
by
joeyh
12y ago
That doesn't work very well. Consider what happens if two different clones of a repo update the metadata last-known url at the same time with different urls. Merge conflicts. This is why git-annex uses a separate branch for location tr
186.
▲
by
joeyh
12y ago
At 250k files in one branch, you are starting to run into other scalability limits in git too, like the innefficient method it uses to update .git/index (rewriting the whole thing).
187.
▲
by
joeyh
12y ago
Linus has a family, and so pictures etc. So he should care. ;)
188.
▲
by
joeyh
12y ago
You don't need a script; git-annex has the same capability, although configured differently. For example: git config annex.largefiles "*.mp3 or *.mp4 or *.jpg or largerthan(100kb)" git annex add .
189.
▲
by
joeyh
12y ago
Thanks for verifying my somewhat out of date guesses about smudge performance! Re the python startup time, this is particularly important for smudge/clean filters because git execs the command once per file that's being checked ou
190.
▲
by
joeyh
12y ago
The lack of location tracking looks like the most significant difference to me. While the git-lfs documentation does mention that different git remotes can have different LFS endpoints configured, all git-lfs knows about a file is its SHA25
191.
▲
by
joeyh
12y ago
Yeah, git-annex is very interested in having a special remote for everything and anything. And if someone creates 4 shell commands, I could have a demo working in half an hour. The commands would be: lfs-get SHA256 > file lfs-store
192.
▲
by
joeyh
12y ago
Seems that git status nowadays does manage to avoid running the smudge filter, unless the file's stat has changed. This overhead does still exist for other operations, like git checkout.
193.
▲
by
joeyh
12y ago
It's interesting that this uses smudge/clean filters. When I considered using those for git-annex, I noticed that the smudge and clean filters both had to consume the entire content of the file from stdin. Which means that eg, git
194.
▲
by
joeyh
12y ago
Problem with toy AST examples is they're great if you're doing something like that, but don't give much motivation if you're not. (Unless you starting seeing all programming as AST manipulation, which can be an interesti
195.
▲
by
joeyh
12y ago
The real insanity with make is that it has no interface to check whether a Makefile contains a given target. Best you can do is to run make -n target to probe, but it's possible to write Makefiles that run code even though -n is used,
196.
▲
by
joeyh
12y ago
Obnam uses gpg for encryption. The only novel thing is its use of symmetric encryption keys which are used to encrypt the data and are included in the backup repository, encrypted by your regular private gpg key. This allows giving additio
197.
▲
by
joeyh
12y ago
gpg is crucial software, find a hole and you get your name in lights. I assume security researchers are looking at it all the time. Here's what they've found lately: CVE-2014-4617 (DOS only) CVE-2013-4576 (RSA Key Extraction via L
198.
▲
by
joeyh
12y ago
The streaming section shows some examples of combining turtle functions, this will be the same as shell pipes. There's also nothing stopping you from using forkIO to spark off a separate thread, and doing IO in multiple threads concurr
199.
▲
by
joeyh
12y ago
The "and this is why it matters" is often left to be inferred by the reader. ;) General kinds of reasons include "preventing (whole classes of) mistakes" or "writing even more reusable code" or "making thi
200.
▲
Making propellor safer with GADTs and type families
(joeyh.name)
46 points
by
joeyh
12y ago
|
1 comments
201.
▲
by
joeyh
12y ago
This post was flagkilled off the front page, and then unkilled after mgj59 raised a stink about it. <mjg59> Hey @paulg you've created a website catering to people unwilling to even discuss the existence of an abusive culture htt
202.
▲
by
joeyh
12y ago
In fact I posted this while trying to find that flagkilled thread. https://news.ycombinator.com/item?id=8930544 I'm looking forward to being flagkilled.
203.
▲
Abusing Contributors is not OK
(curiousefficiency.org)
35 points
by
joeyh
12y ago
|
10 comments
204.
▲
by
joeyh
12y ago
Good riddance. May whatever small void it leaves be filled by a diversity of mom-and-pop electronics stores. There's one such store in my area that seems to do well enough catering to the professional/hobby markets, with a couple
205.
▲
by
joeyh
12y ago
I wrote this with shelly open in another window; it's intentionally got some similarities. It might be possible to extend shelly's Sh monad so it can generate shell code, rather than its current behavior of running IO actions, but
206.
▲
Generating shell scripts from haskell using a shell monad
(joeyh.name)
46 points
by
joeyh
12y ago
|
3 comments
207.
▲
by
joeyh
12y ago
"+[>[-]+++++++++++++>[-]<[->+<]>[->[-]++++++++[-<<+>>]<]<.---.+++++++..+++.[-]++++++++++++++++++++++++++++++++++++++++++++.------------.[-]+++++++++++++>[-]<[->+<]>[->[-]++++++++
208.
▲
by
joeyh
12y ago
So I'm counting 832 concurrent users in the shared screen session running the news reader on the front page there. I expect that might be getting a little slow. I've spun up a few more instances to spead the load around.
209.
▲
by
joeyh
12y ago
I loathe sweet cornbread, but 1 tsp honey didn't make it sweet to the taste and may have helped it get a nice crust. As did cooking it for just 10 minutes on very hot coals of course. I think next time I'll try with much less (or
210.
▲
by
joeyh
12y ago
"operates within the laws of their country" https://en.wikipedia.org/wiki/Sony_rootkit Doesn't excuse others illegal activities, but it certianly makes it easier to feel a certian level of schadenfreude
More ›