HNHacker News
TopNewBestAskShowJobs

traviscj

347 karma · joined August 30, 2013

I:

- am a principal software engineer at PointCard! - worked at Square for 7.5 years. - studied enough applied mathematics to earn a PhD.

More about me: http://traviscj.com/ My blog: http://traviscj.com/blog Get in touch: traviscj@traviscj.com or https://twitter.com/traviscj

[ my public key: https://keybase.io/traviscj; my proof: https://keybase.io/traviscj/sigs/JevjENzfsY9OoqMKH7gl9y_hQu6o2Mji-ERRb18kXpE ]

submissionscomments
traviscj··on Micro Frontends
single single-page app?

edit: apparently a thing -- https://single-spa.js.org/

traviscj··on California is cracking down on the gig economy
To me, the distinction comes down to: carpooling implies some kind of repeated/scheduled vehicle sharing (like coworkers coordinating a route to get to work at 9a every weekday, while ridesharing is much more ad-hoc/on-demand (like craigslist rideshares between Seattle and Portland to split the gas bill).

Definitely agree that Lyft/Uber aren’t really ride sharing in that sense though — the driver’s goal is to earn a fare on a trip he wasn’t going to take otherwise, while the original ride shares were a cost-reduction on a trip the driver was going to make anyway.

traviscj··on The hidden costs of engineering time in technical interviewing
Seems like a tough sell to find enterprise architects that want to screen full-time, but maybe it would make more sense to someone that actually liked interviewing... or, as you said, maybe you could just pay them enough!
traviscj··on Spotify will now suspend or terminate accounts it finds are using ad blockers
They have both.
traviscj··on Sacklers Directed Efforts to Mislead Public About OxyContin, Documents Indicate
Really interesting comments, thanks for taking the time to share.

> become your own advocate

Really resonates with me. Almost every time I go home and hang out with my parents, they share a new horror story about some close call with their medical treatments. (They've both had--and beat--cancer.) Last trip they were telling me about one of the days my Dad was getting chemotherapy; they needed to get a blood draw before the chemo was administered, and the cancer doc had instructed _them_ to make sure the phlebotomist installed a catheter for the initial blood draw, because (if I understood correctly) the extra needle hole in the vein from the blood draw can cause the chemo meds to leak & stagnate near the hand (which risks _the hand_...) But the phlebotomist didn't ask/confirm/want to, apparently because of some damn billing difficulty since the labwork division was different than the oncology division.

My conclusion is that there's a huge opportunity for more patient advocacy to really improve people's lives. Your "data for informed consent" angle sounds like a way more scalable path toward something like that!

traviscj··on Sacklers Directed Efforts to Mislead Public About OxyContin, Documents Indicate
Interesting fact, but honest question: What's the usefulness of this distinction?
traviscj··on Lyft Files for IPO
- earthquake kit (water, energy bars, flashlight, first aid kit, foil blankets, ...)

- mess cleanup (paper towels, wipes, windex)

- small tool kit (leatherman, couple wrenches, battery post brush, duct tape)

I think there’s more but that’s off the top of my head.

traviscj··on What Comes After the Roomba?
It doesn’t have to pay for itself every year, which helps. (Still too much though, maybe...)
traviscj··on Show HN: Ultimate Plumber – a tool for writing Linux pipes with live preview
Or just let the DB work for you with BEGIN; + (select/update/delete) + COMMIT; or ROLLBACK;
traviscj··on Show HN: Ultimate Plumber – a tool for writing Linux pipes with live preview
I (partially) recreated your `seq 1 15` example here [1] -- no sleep, but my lshw wasn't as interesting as yours :-) I'm hitting command-shift-| to bring up the "filter through command" dialog.

[1]: https://tcj.io/i/textmate_piping.gif

traviscj··on Show HN: Ultimate Plumber – a tool for writing Linux pipes with live preview
Nicely done!

I do a pretty similar version of this with command-| in textmate, but I've wished for/thought about building a command like this to speed up the process!

The textmate approach does have the advantage (or perhaps disadvantage, for large enough inputs!) of emitting immutable "views" of the data at each step, rather than (presumably?) re-evaluating the pipeline each time, which is nice if the steps of the pipeline are the slow part, or to go back 2 steps and start a new pipeline. Maybe a potential future flag? :-)

Automatically emitting an `up<N>.sh` script is super clever too!

traviscj··on Zip Trees
"O(1) expected restructuring" doesn't imply "O(1) expected insert/search/delete".

My read of your quoted text is "This has the same average time complexity as WAVL/red-black trees, but is a simpler algorithm", which puts the search/insert/delete time complexity at O(log(n)). Being top-down means log(n) time complexity since that's the lower bound on the height of the tree.

traviscj··on What happened when Boston Public Schools tried for equity with an algorithm
(Eh, lots of other more succinct discussion along these lines. That’s what I get for commenting before reading! Good luck w/ this work!)
traviscj··on What happened when Boston Public Schools tried for equity with an algorithm
I’m curious if an additional constraint like “total (absolute) time shift from this year to next (over all families in the district) <= K” or “max shift in first bell over all schools in district <= MS” was considered, along with the acknowledgement that this is e.g. an N year process to get from the current schedule S_0 to the optimal schedule S^*.

In my mind, this alleviates a lot of the “would have to change jobs this year” concerns, because the people making changes would ALREADY be making bigger changes (starting to take their kids to school), and the most extreme schedule changes would be deferred until the children on the existing schedule had aged out of that grade’s current schedule.

(Done enough optimization modeling to know this isn’t an easy path... but seems like it has some potential.)

Similarly, (maybe this was just the article dumbing down reality a bit, but it sounded like the transit expenditure vs parent happiness units were somewhat fungible. Any possibility of offsetting a bit of upfront expenditure with future savings of the more efficient (say from year N/2 onward) future state?

traviscj··on Wharton professor says America should shorten the work day by 2 hours
Like Checked vs Unchecked exceptions
traviscj··on Ask HN: What topics/subjects are worth learning for a new software engineer?
For the love of god, learn how database indices work -- basically everything at https://use-the-index-luke.com/
traviscj··on The Effectiveness of Publicly Shaming Bad Security
"I didn't smash this F^O9dA66@wUPpK5$lTXBbrQ#yLP1EGl$"
traviscj··on Bay Area city blocks 5G deployments over cancer concerns
Or the contempt comes from the state of feelings, anecdotes, and persuasion trumping science, data, and logic. Hard to argue rationally against “but I feel like pigs might fly” by starting with your own feelings on the topic.
traviscj··on Trump Accuses Google of Burying Conservative News in Search Results
I guess the world used to have less facts, and now they have to choose which ones to publish?

Jk. Money talks, and outrage sells better than dry facts.

traviscj··on IRC turns thirty
Oh man, so many hours in my teens on this. It was my tumblr, I think.
traviscj··on Why Isn't Debugging Treated as a First-Class Activity?
I read the GP as saying “you don’t even need to create the scaffold methods” described in your post.
traviscj··on Thailand cave rescue: all 12 boys and coach successfully rescued
I’ll take prototype-producing egoism and PR stunts over “not my job”-ism any day.
traviscj··on Simple, correct, fast: in that order
I’ve noticed a pattern where the simplest solution DOES accomplish the goal, but isn’t what a user might consider the “shortest path”. How do you count a workaround where it technically can accomplish the end result, but requires a minor annoyance? What about a major annoyance?

What about a process so painful nobody has even thought of it?

traviscj··on Google Engineers Refused to Build Security Tool to Win Military Contracts
Maybe we need a “War Dove GPL”?
traviscj··on Twitter urges users to change passwords after computer 'glitch'
We do this extensively. A field can be marked as "redacted", and then interceptors can do things like:

1. (most pertinent in this discussion) The logging framework can redact fields before emitting log entries. 2. Endpoints can redact the data unless the client explicitly requests (and is allowed to receive) unredacted data. 3. Serialization mechanisms (e.g. Gson) can be configured to redact data before serializing. (Again, probably can't always do this, but can make that the default for safety.)

It's also very straightforward to hook up as a Java annotation that does the same things.

traviscj··on Billionaire Khosla Is Asking the Supreme Court to Keep People Off His Beach
Wouldn’t we just end up paying N rents to N partial owners, each of whom owned $249,999-sized parts of a given estate?
traviscj··on Wells Fargo Hit with $1B in Fines
Your plan is to loop the government/regulators into the scam? What exactly is that incentivizing and how does that improve things for the average bank customer?
traviscj··on Apple open-sources FoundationDB
No majorities, I guess?
traviscj··on Rent out GPUs to AI researchers and make ~2x more than mining cryptocurrencies
Piling on/agreeing with you: The “magic smoke” isn’t the model, it’s the infrastructure the model plugs into, the data->feature pipeline, AND the model. Assuming you’be done the things you mention (and maybe with one additional assumption of several models operating at once), I would also consider the models themselves to USUALLY not be super super sensitive.
traviscj··on How Facebook handles account deletions
One weakness of the way you’ve described this: John isn’t getting a commission on trades between the minglers, he gets a commission by the things he blares on the TVs in the room.
← PreviousPage 3 of 8Next →