HNHacker News
TopNewBestAskShowJobs

tomlu

427 karma · joined February 26, 2009

submissionscomments
tomlu··on Duolingo becomes first VC-funded $1B Pittsburgh tech startup
Is there a better option to reach beginner-intermediate level? I am going to have to learn French from scratch in about a month and I'm finding the prospect daunting.
tomlu··on We do not use foreign keys (2016)
Github is probably past the stage of premature optimization.

Presume (for argument's sake) that we accept the premise that foreign keys do not scale. Then the question is whether there exists some sort of realistic migration strategy once usage grows past that. If it does, then using FK makes total sense until we hit that point, doesn't it? And if true this should apply to 99% of users.

But if there exists no such migration strategy, then maybe the guy has a point?

tomlu··on California Mayors Join Campaign to Buy Out PG&E
It might vary by state? CA DMV around the Bay Area is horrible, but New York is quite pleasant.
tomlu··on C++ 20: The Core Language
Every feature controls one "dimension" of a language, and can be freely combined with other features that control other "dimensions" without worrying about how they interact.

I am quoting the word "dimension", because applying a precisely defined mathematics concept to something messier (like programming) will require a certain amount of hand waving and squinting.

tomlu··on Linus Torvalds: Git proved I could be more than a one-hit wonder
Don't you guys (which is definitely Facebook) use some sort of extensions that makes it not the same as a vanilla Mercurial repository?
tomlu··on AWS' Sponsorship of the Rust Project
Ruby isn't an approved language at Google, I haven't heard it being talked about almost at all.

Python gets some dislike, and there are a few significant projects trying to get off it. As a blanket statement I don't think dynamic languages work well at a company like Google.

tomlu··on Go 1.13 Release Notes
File a bug with a repro? Chances are it'll get fixed if your benchmark is good.
tomlu··on Leaving Google Fi
As a counterpoint I have contacted Google Fi support four times and was very happy with the level of service. Though it's possible that all the issues I had was within the scope of the first line of defence, and if you outside of that you get OP's experience.

Disclosure: I work for Google, but honestly I don't think it has particularly biased me to say nice things about Google Fi.

tomlu··on Faux Rogan
This is probably the hardest setting, yet most people seemed to have no trouble getting 8/8.
tomlu··on Game Engine Black Books Update
I have met Fabien a few times at work, he is a lovely human being. I don't want to be too presumptuous and speak for him, but I don't think he cares about making a profit from this. He just likes to write and wants people to read and enjoy his works.
tomlu··on Microsoft says encryption laws make companies wary of storing data in Australia
I have Australian citizenship, but fortunately I live abroad so I would just refuse. Good luck with that extradition numbnuts :)
tomlu··on Linux Kernel Developers Discuss Dropping x32 Support
If you double the size of pointers (64 bit, up from 32 bit) then your program will take up more heap. This is especially significant for languages where everything is a heap allocation.
tomlu··on Time to break academic publishing's stranglehold on research
You definitely do not want that. Vetted science should not go through a pipeline of what amounts to a low brow popularity contest. Hacker news might be somewhat better than reddit in this respect, but there's no way you want to subject it to that kind of process.
tomlu··on A Look at the Design of Lua
Fair points overall, except:

> The stack-based C API is not comfortable to use.

What is so uncomfortable about it? I think it's absolutely fantastic. There's nothing you can't do with it, and if you really want a heavyweight "magic" binding library you can do that on top of it. But you'll find even then you occasionally need to fall back to the "raw" API.

tomlu··on Google Suppresses Memo Revealing Plans to Closely Track Search Users in China
But that's kind of my point. This is substantively different and is pretty serious. And no, I haven't seen any particularly unreasonable comments in this thread.
tomlu··on Google Suppresses Memo Revealing Plans to Closely Track Search Users in China
The suggestion from the link is that some people involved didn't fully understand what they were working on. And obviously they weren't able to keep word spreading in this case.

But obviously a number of people must have known. I don't know how they approach and recruit these people, it's above my paygrade.

tomlu··on Google Suppresses Memo Revealing Plans to Closely Track Search Users in China
Disclaimer: I work for Google. I also think that there is an anti-Google bias on hacker news, holding Google to a standard not applied to others and taking any excuse to roll out the same old tired rants in response to almost any Google post (DAE Google Reader etc).

If what I read is true then this is the first thing that has truly rocked my confidence that the company generally tries to do the right thing (while making money of course, we're not a charity). I expect significant internal backlash if they proceed and I hope they learn from this.

tomlu··on Linus Torvalds apologizes for his behavior, takes time off
I feel people confuse being blunt with being rude.

"This patch is crap. Stupid this silly that, and how many times have I said you can't break userland."

vs.

"I won't accept this patch as-is, or possibly at all. It has the following problems [...] and I don't feel you respect userland stability enough."

I really don't see how the second version compromises on the clarity or kernel quality.

tomlu··on Man Who Refused to Decrypt Hard Drives Still in Prison After Two Years
Yeah, what gives? "We encrypted childporn.mpg with the password 'supersecure123', and once encrypted the file hash came out the same as one of the files. But we have no idea what his password is!"
tomlu··on 24/192 Music Downloads Are Very Silly Indeed (2012)
> Is it still possible to reproduce everything accurately?

Sound is linear, so yes. Any signal can be represented correctly as a sum of frequencies.

> wouldn't higher bit depth increase the fidelity in the range the audio does fill?

When you do the maths quantisation turns into the original sound + quantization noise. The bit range determines the noise (dither helps here). So it's a question of whether the noise is loud enough to hear. There are samples on the internet you can try to determine yourself at which stage you can notice the noise. It's shocking how few bits are actually required.

For a sloppy recording or repeated processing the quantisation noise goes up, so more bits are required.

tomlu··on Show HN: Crackle – keyboard layout for programmers
All my keys are on alpha keys, so pretty close to the home row. No worse that typing letters.

As an aside, I developed my "snap" layout using a genetic algorithm run over the corpus of my programming career, then shifted around for aesthetic taste. It's served me well for more than ten years.

EDIT:

   ^{}\ 1+[]
  @*:/" 0=();
   ~|&# _-<>
tomlu··on Show HN: Crackle – keyboard layout for programmers
Why do you need both snap and pop? I use something similar, but get by perfectly well with only one layer for all programming symbols. Seems your life would be a little easier if you didn't have to surrender another two keys for your pop modifiers.
tomlu··on Fewer mallocs in curl
Well there are situations where intrusive list pointers don't work well. If you don't control the class, then you simply can't put pointers in it. If most objects aren't ever in a list (eg. a million objects but only ten in a list at any given time), then you're wasting space. If you want to put objects in several different lists, then you have to know up front how many lists and their names, and this can become unmanageable.
tomlu··on Reflecting on one very, very strange year at Uber
It should cost them employment talent, which should be a factor against them versus other employers with less toxic work cultures, all else being equal.
tomlu··on Vim Anti-Patterns
It's not really about adding up time saved, it's about staying in the flow. I think you can probably achieve that by being really good at almost any editor, but vim probably does it a little better than most and it has the advantage that it's everywhere (including IDEs).
tomlu··on Project delays: why good software estimates are impossible
I find this a bit defeatist. Estimating software projects is definitely possible, especially for less novel projects, and high-effort estimates will have higher fidelity than low-effort estimates. Few projects are truly novel.

You can't make business decisions without having some idea of estimates, so I find that arguments like this are used to weasel out of making any sort of commitment. Go ahead, add a big buffer, try to take uncertainty into account, pad, pad, pad - at least after all that we'll have some idea.

On the other hand a very real problem I've often faced is when the target date is an input into the estimation process. I.e. we want to ship by May 2017, go estimate until the estimation fits this target date. Of course, after estimation the target date can be an input into requirements scoping, after which you can re-estimate.

tomlu··on Google and LinkedIn announce massive land swap
I work there. They've expanded a lot. If my reckoning is right Google occupies 8/15 floors completely, and occupy fractions of a couple more floors.
tomlu··on AI fighter pilot wins in combat simulation
I'd guess there's a difference in kind that people get excited about.

The fighter jet AI technique is hard-coded to a very specific problem domain, and could only be reproduced in a different problem domain by doing it from scratch.

The technique used by AlphaGo is at least closer to the idea that we can eventually build generically trainable machines that can learn to do a variety of tasks, without having to code them from scratch every time.

tomlu··on Shell Style Guide from Google
It's 2 spaces for everything here, even python. I don't like it and don't think I'll ever get used to it, like you say 2 is too little.
tomlu··on Parallelizing the Naughty Dog Engine Using Fibers [video]
Super interesting, but the audio level is too quiet for my laptop even with everything set to max. Can it be downloaded from anywhere?
← PreviousPage 2 of 7Next →