Better HN
topnewbestaskshowjobs
Log inSign up

patmcguire

3,271 karma · joined Jun 26, 2012 (14y ago) · 749 submissions

github

https://github.com/patrickmcguire

blog

http://patrickjamesmcguire.com/

NYC developer. Tell me I'm wrong at

@mcguirejpatrick

or

pjm1988@gmail.com

Submissions

comment 3y ago · link · parent

Readability is hit and miss. Very nice to have everything written to the same standard, it makes it much easier to navigate through any project. Downside is it's pretty rough for more peripheral teams or teams working in a language that's a small component of their product. I remember for one of DeepMind's big launches the interface was all in files ending in .notjs, presumably since they didn't have anyone on the team with Javascript readability. This was 5+ years ago, though, so some of the downsides may have been mitigated.

comment 5y ago · link · parent

Yeah, it's good for these kinds of discussions when it's a universal requirement, or when the white paper concerns will actually be addressed before confirming a design. I do get suspicious when it comes up for the first time when it's something someone doesn't want to hear, or when the discussion continues on like it's obviously untrue in the meantime.

3.

Windows Explorer Through the Years(gekk.info ↗)

3 points · by patmcguire · 6y ago · 2 comments

comment 6y ago · link · parent

There's a site for this http://www.nohello.com/

comment 6y ago · link · parent

It's think it's pretty common when billing for time when the base rate is high. Lots of big law firms bill in six minute increments.

comment 6y ago · link · parent

I'm trying to find the original source for this, but there's a quote I've seen about how finding a cycle in a linked list used to regarded as a FizzBuzz like test. It came of age when most people worked in C - if you worked in C for a year you'd know that cold.

I wonder how much the technical question approach isn't so much wrong as it is testing for things that matter much less now. There don't seem to be many questions about concurrency and distributed systems in this kind of interview, or at least not good ones. Everything now is "it depends" and the hard solutions are about ten lines of code for ten pages of problem explanation.

comment 7y ago · link · parent

Ah yeah that's definitely going to be different HTML on Lynx, then, since I bet they don't support that and Google's not missing out on tracking.

Yup - curling with Lynx user agent gets a targets of href="/url?q=<whatever>" rather than href="<whatever>" ping="tracking"

comment 7y ago · link · parent

Did they also remove link wrapping with this? The HREF goes straight to the destination for me now on Chrome, where previously it went to some Google domain redirect. It's there on the first HTML load too, it's not a JS thing after the fact. Is there a different response for Lynx or are they formatting it in such a way that Lynx doesn't pick it up?

comment 7y ago · link · parent

There's something related called the bullwhip effect. I think that throwing away requests under load rather than putting them in some overflow queue prevents it. The effects aren't magnified down the chain of services as each scales up because it's only incoming traffic.

comment 7y ago · link · parent

Are there any alternatives? It often gets very weird at the high end of drug prices, but usually in a way that inverts normal economic logic - this story from a few years ago blew my mind https://news.ycombinator.com/item?id=13995249#13996448

comment 7y ago · link · parent

This is a very thorough explanation of why it matters https://danluu.com/deconstruct-files/

comment 7y ago · link · parent

Odd coincidence, seems like it might have been some upstream banks having a bad SCA rollout

comment 7y ago · link · parent

That really might have been the tech, codebases can get pretty weird after a while.

comment 7y ago · link · parent

This is one of those situations where it's not what you know, it's who you know. The only thing that matters is if you know someone who can bypass their support and flip a boolean.

comment 7y ago · link · parent

Or you have a system with incredible amounts of fraud that still manages to function, like CPC ads

comment 7y ago · link · parent

Yeah, I think it's most likely that. Seems very plausible Nest wanted to have some voice features but they got cut before launch. The mic's still there because changing hardware is hard, it's not announced because it doesn't do anything.

comment 7y ago · link · parent

The hard part is how to make it work politically. I don't know if any place has really done it in an environment that was mostly built out already. Manhattan used to have 700k more residents than it does now, and that was when a lot of the island was still farmland - people spread out with the trains. Once you're out of space it's very difficult to develop transit, because that would probably mean a homeowner doesn't get what they want.

comment 7y ago · link · parent

It's mostly about 1979 and the humiliation of the hostage crisis.

comment 7y ago · link · parent

Doesn't matter how low is if the payout is high enough. Also, it's not like they've got any better ad to show you, CTR is something like one in a thousand for display.

comment 7y ago · link · parent

I see this sentiment a lot, but I think it probably does make financial sense to show you ads for a thing you already bought. There are often a few whales out there who are buying one of a thing to sample and then might later buy hundreds or thousands.

comment 7y ago · link · parent

Probably the most honest explanation of how companies actually hire I've seen.

comment 7y ago · link · parent

https://medium.com/teachable/how-we-code-at-teachable-ff4285...

23.

Inside the Mirrortocracy(carlos.bueno.org ↗)

3 points · by patmcguire · 7y ago · discuss

comment 8y ago · link · parent

Elastic, Mongodb, and Docker all have this business model. I guess the difference is in their case they developed it first and then open sourced - they've got a much more credible claim to superior support.

25.

Faraday Future CEO accused of trying to break investor deal after spending $800M(theverge.com ↗)

2 points · by patmcguire · 8y ago · discuss

comment 8y ago · link · parent

Yeah, at least the R code only goes up and down, line by line. Most non-trivial excel code will have different bits of code going right and left (formulas sit in a row,column pair). One you get into extra tabs/sheets that's yet another dimension.

comment 8y ago · link · parent

They keep quite a bit more than what you see on the surface, or what would be needed for the simplest definition of play history https://twitter.com/steipete/status/1025024813889478656

comment 8y ago · link · parent

Or you file a chargeback, or someone playing on your account uses an aimbot, or anything else that attracts their unilateral ire.

comment 8y ago · link · parent

The unmentioned context here is that Debian is stricter in how they handle binary firmware than most distributions. I believe they refuse to distribute any not under a free software license, most others will ship binary blob firmware.
12345
25