HNHacker News
TopNewBestAskShowJobs

rikkus

837 karma · joined March 8, 2013

I make software

[ my public key: https://keybase.io/rikkus; my proof: https://keybase.io/rikkus/sigs/kIq3Jz0HV04Pve0amDFYLoV8gGN0cg1Z7m1ib1dShYE ]

hnchat:BjMJVPzqC8ox02CDYmDs

submissionscomments
rikkus··on Rumors of Cmd’s death have been greatly exaggerated
It's around 1.5 seconds here on an i7-6600U (whether I launch it in its own window or in a cmd window). I'd rather it was 1/10th of that as a maximum, but it's worth the wait!
rikkus··on Rumors of Cmd’s death have been greatly exaggerated
Here [1]

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-...

rikkus··on Ebikes: I Sing the Ride Electric
I'd love to buy a tricycle version for a relative who would like a kind of motability aid but wouldn't like to have one of the typical electric scooters. Anyone have any experience with them? The ones I've seen seem to require manual gear shifting and it would be best if it's as simple as possible.
rikkus··on HandBrake 1.0.0 Released
I once had a bad RAM socket. I sent back RAM that failed memtest86 and was rather confused when the next set failed in the same way.
rikkus··on Ask HN: Sierra macOS 4gb download without confirmation, is this acceptable?
W10 lets you flag a wifi network as metered so that it knows not to transfer as much over it. Seems OS X could do with the same- or is there perhaps some non-obvious setting already perhaps?
rikkus··on You’re an Adult. Your Brain, Not So Much
And your twenty year old self may not trust your opinions as a 37 year old. Is either 'right'? Does having more experience make you better at making decisions or does it make you more conservative, meaning you are less likely to take risks, so you miss out on opportunities for change?
rikkus··on How Apple Alienated Mac Loyalists
I am a developer(-ish) who used a Macbook for a while because Windows used to be awful and 'PC' laptops used to be dreadful.

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.

rikkus··on A World of Surveillance Doesn’t Always Help to Catch a Thief
There's plenty of spontaneity, randomness and street-level interaction occurring in the cities of the UK. I see this every day. I don't think CCTV is stopping this.
rikkus··on Portions of the brain fall asleep and wake back up all the time
I was recently reading my daughter a story after being woken up too early and 'half asleep'. I kept noticing that I had invented a line of text or two, and knew that I had done this because part of my brain wasn't awake enough to focus on or perhaps read the words on the page. So one part of my brain was watching another invent plot or dialogue, while aware that another was 'asleep'. Other times I became aware that the story-supplementing part was not functioning and was able to jolt myself back to a state where I could read and recite the current line.
rikkus··on Nielsen estimates ESPN lost 555,000 subscribers during the last month
They may then have a choice between obscurity and lower profits.
rikkus··on Netflix Downloads
Would be interesting to know if this works, but if the use case is watching films on laptop on plane, rather than tablet on plane, I hope you have a power source.
rikkus··on Writing C software without the standard library
Absolutely. It's a (possible) optimisation that is either based on evidence (seems likely, because DJB) or hope. Actual behaviour is impossible to predict on untested platforms.

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.

rikkus··on Writing C software without the standard library
It's interesting to read the sources[1] of lots of djb's[2] code, as he often works around problems with (or perhaps dislikes the style of) standard libraries by re-implementing parts.

[1] https://github.com/abh/djbdns/blob/master/str_len.c [2] http://cr.yp.to/djb.html

rikkus··on Edward Snowden Demonstrates How Easy It Is to Hack a Voting Machine
In the U.K. the ballot staff are volunteers and cheap/free venues are used (schools, church halls, etc.)
rikkus··on NIST’s new password rules – what you need to know
Sorry yes I obviously missed that bit.
rikkus··on NIST’s new password rules – what you need to know
> Salt means FOR EACH RECORD in the database, you have to compute those 1,000,000 passwords. That means you're talking about decades of computation time.

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.
rikkus··on Autopilot Full Self-Driving Demonstration [video]
Instead of relying on other drivers' signals, you could instead use them as extra warning, and instead of driving so close to them you're putting yourself and them and potentially others in danger if they brake when you didn't expect, you could back off to a safe distance.
rikkus··on Post Virtual Reality Sadness
Better watch out for that Despair Squid and check if you have an unexpected ponytail [1]

[1] http://reddwarf.wikia.com/wiki/RD:_Back_to_Reality

rikkus··on HP Unveils Mini Workstation
On a 'living room' PC: I bought a Thinkpad T430s for £150. It's connected to the TV, the amp, and syncs various file storage services to itself then backs them up to various locations with Crashplan.

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.

rikkus··on The 14 Characteristics of Fascism (2003)
On the mobile app I was using, there was no such thing, sorry. I am sorry, too, as I got downvoted for trying to make up for it by replying.
rikkus··on The 14 Characteristics of Fascism (2003)
Accidentally downvoted. Replying to give it some karma back.
rikkus··on AdultFriendFinder was hacked
A common interview question for penetration testers is how you might design password storage to allow this 'feature' without having to store the plaintext password. It's possible, I guarantee it.
rikkus··on Basic Flashlight Tutorial
We call them personalTelephones here, old chap.
rikkus··on Basic Flashlight Tutorial
No-one here says 'Electric Torch' (especially not with Caps). They say 'torch' and, as far as I'm aware, 'flashlight' is a perfectly valid term for what this article refers to, so perhaps the GP is being humorous.
rikkus··on MacOS Sierra Server
I used to have a home static IP address and run OpenBSD. I used mail whitelisting because otherwise spam was a pain. It was still a pain, though, because I'd have to work out where I might get mail from to pre-whitelist it.

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.

rikkus··on New MacBook Pro Is Not a Laptop for Developers Anymore
I've been a vi user since 1996 and have always remapped the Esc key because it's too far from home. I had assumed others also did this because I've never seen a vi user who works without some customisation on commonly used boxes and it seems like one of the obvious first changes to make.
rikkus··on Doudou Linux – For children from 2 to 12 years old
I'm certainly not letting my 2 year old on the Internet without me sitting next to her, so I'd want the filters disabled too. I am the filter.
rikkus··on Ask HN: What should I learn as my first programming language?
Which language is better then? BASIC? I see a suggestion for Lua too, which seems attractive.
rikkus··on Police complaints drop over 90% after deploying body cameras
The TechCrunch article reference a study made in the UK but 'global' (it references several sites), though shows a photograph of a police officer wearing a US flag.
rikkus··on KDE 2 Screenshots (2000-2002)
I've realised what I really miss: Being able to change my own desktop, including its entire behaviour, was incredible. I first found this enjoyment when running TkDesk[1]

[1] http://tkdesk.sourceforge.net/

← PreviousPage 6 of 18Next →