Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
warbiscuit
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
9 ms
·
31.
▲
by
warbiscuit
10y ago
As a semi-concrete example, say you have a VCS checkout with 40 edited chunks across 15 files. You want to commit 20 of 40 chunks (spread across 6 of 15 of the files). When you're halfway done, you notice a typo needs correcting in c
32.
▲
by
warbiscuit
10y ago
> Doing a simple commit with git is just git commit. What am I missing here? ... > ... These aren't more complex on the command line, they're just done differently. The process I outlined was a series of steps which were all
33.
▲
by
warbiscuit
10y ago
I think different tasks are (more) suitable to different interfaces. CLIs are great when the space of actions you could perform is large (to nigh uncountable), but the range of subjects is small (the file paths, etc are known). Since you k
34.
▲
by
warbiscuit
10y ago
I'd disagree with a number of assumptions in that statement. For one, TortoiseHg isn't windows only. It's a python+qt based application that works uniformly pretty much everywhere. That fact that you made that assumption mak
35.
▲
by
warbiscuit
10y ago
Honestly, I'm in the exact opposite camp - I'm glad mercurial is still alive and kicking, since I've found my experience with it (and tortoisehg) to be superior in a number of ways. Fewer cross platform issues, a much cleaner
36.
▲
by
warbiscuit
10y ago
One phrase I really liked was "success is preparedness plus opportunity". In that case, the equation would be... prepareness = idea * execution * product * team * money opportunity = connections * random-chance success = prepared
37.
▲
by
warbiscuit
10y ago
Yeah. I've just taken to ignoring those responses. As far as I'm concerned, jQuery & lodash are part of the "standard library". Certainly there are cases where one or the other isn't needed for a particularly ap
38.
▲
by
warbiscuit
10y ago
Aside from all the other technical bits, one killer feature for my company is TortoiseHG ( http://tortoisehg.bitbucket.org/ ). Unlike a number of the other Tortoise-* projects (which don't seem related actually), Tortois
39.
▲
by
warbiscuit
10y ago
I think this is a youtube upload of one of the animations from http://www.hpdz.net/ -- there's a ton others on there too. They go into the techniques a bit on the site under the "technical" section.
40.
▲
by
warbiscuit
10y ago
Not to mention "what's the best <X> library" can frequently be answered in an objective fashion, if the answers give a breakdown of why . Things like "lib A requires excessive boilerplate compared to lib B, see ex
41.
▲
by
warbiscuit
10y ago
Not sure I understand the purpose of a MAC in this case. What benefit does it provide to hash storage? If the attacker has write access to your database to tamper with the hash, they will mostly likely also be able to sign up as a user, a
42.
▲
by
warbiscuit
10y ago
I agree, but it's actually hard not to nerf scrypt, since it's time-cost and memory-cost are tied together. I'm not sure if they could have increased the memory cost sufficiently for their purposes, without making the time
43.
▲
by
warbiscuit
10y ago
They weren't down for the entire two weeks, but various datacenters went up and down for hours, then quieted down for a few days, then was back again, then another hit; stretching across two weeks. One thing that took them so long was
44.
▲
by
warbiscuit
10y ago
The XEN update was a scheduled thing -- I got an email about it weeks ago (had one linode I hadn't moved to KVM), and it was already scheduled for this weekend. That said, I don't disagree that the attackers might be trying to dis
45.
▲
by
warbiscuit
10y ago
Though annoyingly it's signed using sha1, not sha256. So if they were gonna put effort into making an sha1 collision, they'd probably target the signed payload, not the overall exe. Though it doesn't look like sha1 is that
46.
▲
by
warbiscuit
10y ago
This comment ( http://www.classicshell.net/forum/viewtopic.php?p=27961&sid=... ) on the forum thread posted md5/sha1 checksums of clean & infected 4.3.0 installers (though it's not clear if those are on
47.
▲
by
warbiscuit
10y ago
Thanks, corrected that. Shows what I get for transcribing wrong :) Yeah, windows is kinda crazy inconsistent for some of these. I had a file (created under Linux) which ended in a space... drove windows nuts. Could list it, open it in so
48.
▲
by
warbiscuit
10y ago
This is cribbing from source of a filename sanitizer in one of my company's internal libraries. The function is a little... paranoid... so I'm not positive all of these are actually forbidden. / and 0x00 for unix :?"<
49.
▲
by
warbiscuit
10y ago
I hope DOM access comes very close on the heels of the initial design... Javascript is an interesting language (particularly after it's recent revival), but IMO it's recent jumpstart would never have happened if it weren't fo
50.
▲
by
warbiscuit
10y ago
The key bit is that it (sounds like) they use it only for identification, whereas the SSN in the US is treated as a "secret" which can be used for authentication (!?). Thus a weird legal limbo where it's officially not su
51.
▲
by
warbiscuit
10y ago
I'm not meaning when the comprehension is invoked, but during each iteration of the loop within the comprehension. When doing something like `map(lambda x: 2+x, range(100))`, there will be 101 frames created: the outer frame, and 100 f
52.
▲
by
warbiscuit
10y ago
I'm not positive, but I think it saves the need to create a new execution frame for each lambda call, since the whole loop executes in single frame used by the comprehension. In theory I suppose the VM could have a map() implementation
53.
▲
by
warbiscuit
11y ago
Yeah, I was saddened by them abadoning Persona. It was a really great idea, even if there were some flaws related to how one was supposed to change username if you shift emails. I feel like they never gave it the effort it deserved... nev
54.
▲
by
warbiscuit
11y ago
I'm worried I might have to move off of hg eventually. But just can't get over all those points .. and also TortoiseHg, for which there doesn't seem to be even remotely as good an equivalent in the git ecosystem. It's
55.
▲
by
warbiscuit
11y ago
Not just on par, for those of us who want reliable cross platform behavior and gui tools (TortoiseHg), git seems lacking compared to mercurial. Github is pretty shiny and popular though :|
56.
▲
by
warbiscuit
11y ago
and per part of a subsequent announcement from linode, "Multiple Federal law enforcement authorities are also investigating and have cases open" - http://status.linode.com/incidents/ghdlhfnfngnh
57.
▲
by
warbiscuit
11y ago
Except that they went and made .format() useless for bytes... which made everyone have to hang on to % for both 2/3 compatibility cases, and for all the cases where bytes templates were actually needed (all kinda of lowlevel wire proto
58.
▲
by
warbiscuit
11y ago
I think java apps failed to achieve more mainly because they didn't have decent access to the DOM, and the HTML rendering engine that goes with it. IMHO that's the killer app of the browser... for all it's faults, the HTML+CS
59.
▲
by
warbiscuit
11y ago
For me, running their sample script using the PyPy JIT resulted in a 12x speedup compared to cpython. Though that still wasn't as fast as gcc on my system (core i5 3.4ghz; using 1e8 rounds): * cpython 2.7.4 - 1.131s * pypy 2.6.0 - 0.09
60.
▲
by
warbiscuit
11y ago
IMO... For opensource applications, they're seeking widespread user adoption. To that end, they want to keep users & developers focused on a single project & codebase. Releasing under a license like the GPL ensures they can e
More ›