837 karma · joined March 8, 2013
[ my public key: https://keybase.io/rikkus; my proof: https://keybase.io/rikkus/sigs/kIq3Jz0HV04Pve0amDFYLoV8gGN0cg1Z7m1ib1dShYE ]
hnchat:BjMJVPzqC8ox02CDYmDs
I have my own question though: Any idea how to give keyboard focus to the 'address bar' in file explorer, like Ctrl-L does in browsers?
[1] http://www.howtogeek.com/235101/10-ways-to-open-the-command-...
Thanks must go to Apple for taking the lead and showing how laptops could be really good.
- They work hard on optimising for power use, so you can leave the power adapter behind (sometimes)
- They showed that it's possible for your machine to be ready to use the second you open the lid
- They proved touchpads can be a joy to use
- They saw that high res screens were something people actually want
- They popularised a new style of keyboard which seems to be generally well-liked (writing this on a ThinkPad T450s... with a chiclet-ish keyboard, and liking it!)
I fear that if they turn away from their 'Pro' laptops, the industry will stagnate again and we'll all be cursing the cheap creaking plastic and terrible pointing devices on our Toshibas or Fujitsus. Just as we notice there's no battery left.
I'm liking Windows 10 on a ThinkPad, but I'm using the TrackPoint / a mouse, because, while the trackpad is improved, if it's not 99% as good as a Macbook's, they might as well not bother (I've switched it off).
Also, 3.5 hours remaining after 30 minutes of use, most of it typing this comment. I carry a power adapter.
My assumption is that DJB tested this locally and found enough of a speedup that it was worth it, considering the very low added complexity and risk of major degradation / defects on untested platforms.
[1] https://github.com/abh/djbdns/blob/master/str_len.c [2] http://cr.yp.to/djb.html
SHA256 of the million most common passwords (with a 128 bit salt) takes 2 seconds /total/ on my laptop. That's only 42 days required to crack a database of one million hashes.
var stopwatch = Stopwatch.StartNew();
var salt = "0123456789012345";
int crackCount = 0;
foreach (var password in File.ReadLines(@"c:\temp\10_million_password_list_top_1000000.txt"))
{
System.Security.Cryptography.SHA256.Create().ComputeHash(Encoding.UTF8.GetBytes(password + salt));
++crackCount;
}
stopwatch.Elapsed.Dump();
crackCount.Dump();
=> 00:00:02.0981333
999999
Salt is indeed important, but the only real way to protect is to iterate - PBKDF2/scrypt/bcrypt.The best thing about it? If I want to do anything with it, I just open the lid. Screen, keyboard and pointing device built in.
So I went for Gmail with my own domain. No more spam, no more hassles dealing with span.
And for running my own services? File sharing: Dropbox. VPN: Nothing to VPN to.
What's better about running your own? I just got sick of managing it. OpenBSD, Debian, whatever I used, just broke in new and exciting ways every time I applied updates, meaning I had to spend time managing stuff that I could just hand off to others - and get for free/cheap.
It's great learning by managing your own server[s], but after so long doing it, I wouldn't want to continue without being paid to.