Better HN
topnewbestaskshowjobs
Log inSign up

ajsharp

1,915 karma · joined Apr 30, 2010 (16y ago) · 347 submissions

building adfactor.ai

I write here sometimes https://ajsharp.com.

Submissions

121.

JSON Parsing with Go Embedded Structs(ajsharp.com ↗)

2 points · by ajsharp · 6y ago · discuss

comment 6y ago · link · parent

The Fed balance sheet is probably the most direct way to look at the aggregate liquidity injections: https://www.federalreserve.gov/monetarypolicy/bst_recenttren...

comment 6y ago · link · parent

Completely agree. The micro thing is rooted in a desire for simplicity, which is laudable from a theoretical perspective. Small is simple and simple is nice to work with. But in any production software it's usually a pipe dream.

Kind of the whole point of software is to take a bunch of complexity and make it simpler for the end user. The fact that the software visually looks like shit or is difficult to work with because it's difficult to reason about is a rather unfortunate side-effect, but usually has no bearing on actual business success.

There are lots of things we should try to do to reduce software complexity and make it easier and safer to work with and change. But trying to force simplicity by way of size usually has the opposite effect.

comment 6y ago · link · parent

I see quite a few people defending microservices; the org is the problem, they must not have written the software correctly, etc. Most org structures are not great. Most software is not great. If you expect the exception to be the rule you're setting yourself up for a career full of disappointment.

Microservices are a modern re-branding of service-oriented architecture, but 'microservices' sounds cuter and less like it belongs in Java-land, and there's some theoretical idea that splitting your app into even smaller pieces will somehow make the whole thing better.

SOA/microservices solves a few problems and introduces a great many. The original SOA proponents were pretty explicit about this. Beware! There be dragons here! But one of the main pieces of prescriptive advice from domain driven design is helpful for splitting into distributed services: split along domain lines with minimum inter-service dependencies. Payments is an obvious one. Microservices seems to buck much of this advice in favor for a blissfully ignorant principle of "small" or "isolated". Good luck isolating something that is not meant to be isolated.

Scaling software is hard. Scaling teams is harder. Trying to scale teams by scaling/distributing software is an understandable goal but extremely hard to pull off because of additional complexities and costs you incur in doing so. Dev gets harder, deployment/ops becomes harder, testing becomes harder. Cross-team communication, documentation, API publishing and adherence goes from being very low impact within an org to suddenly being critically important.

To do SOA/microservices effectively you need complete organizational buy-in, and you have to commit completely to developing tooling and solving all the associated problems in moving to a services approach. Often, it's easier to just put it all back together, organize the code in such a way to minimize merge conflicts and wait for the ungodly slow test suite to run in CI. There are good reasons you rarely hear SOA/microservices success stories outside of enormous companies (Netflix, Facebook, Google, Amazing, etc). Doing this stuff takes an enormous investment and commitment from the entire organization, and there are just lower friction ways to skin this cat if you don't operate at mega web scale.

Growing a monolith is hard. Growing a microservices/SOA architecture is also very hard. Growing is hard.

comment 6y ago · link · parent

It's almost never, ever rank and file. Like, never.

comment 6y ago · link · parent

Thanks for this context. Here's the statement on McLaren's website: https://www.mclaren.com/group/news/articles/ventilatorchalle....

It seems consistent with what you're saying. There's some broad consortium of companies, but there are already designs approved by regulators and they're more or less providing manufacturing capacity to make more of them as fast as possible.

127.

My Restaurant Was My Life for 20 Years. Does the World Need It Anymore?(nytimes.com ↗)

6 points · by ajsharp · 6y ago · discuss

comment 6y ago · link · parent

Yes, effective processing fees are consistently around 2.9%. The previous comment was basically saying, "hey! whaddya expect! credit card companies do it, so why not!?"

My point is that, actually, no, they don't really. The visa+MC per transaction fees are actually quite low, unless I'm reading that wrong.

Again, this is a complete sidebar to the actual point, which is that banks are just rent-seeking because they can on these loans.

comment 6y ago · link · parent

1. No it isn't. Credit card fees are far lower than this. https://www08.wellsfargomedia.com/assets/pdf/small-business/... 2. The "don't like it / go vote" argument is lazy, and again, really doesn't apply here.

comment 6y ago · link · parent

"Banks earned origination fees of 5% on loans of up to $350,000; 3% on loans between $350,000 and $2 million; and 1% on loans between $2 million and $10 million. That means they earned $17,500 for processing a $350,000 loan, compared with $100,000 for a $10 million loan."

This seems ludicrously high for what is effectively clerical work -- checking some boxes, ensuring a company meets various criteria -- and money distribution. I get that smaller orgs are likely harder to check out (less income history, poorer quality financial records), but is the $350,000th dollar really 200 basis points more effort for a bank than the $350,001st?

It's not as if they're being compensated for risk-taking. It's not on the bank balance sheet; this is government money. They're getting 5% just for doling it out. Unreal.

comment 6y ago · link · parent

Well thanks for this. This was wildly good.

comment 6y ago · link · parent

How would a dev vm prevent this? Vms can still call out to the internet.

133.

Bill Gross: How Technology Can Solve the Climate Crisis(ajsharp.com ↗)

1 points · by ajsharp · 6y ago · discuss

comment 6y ago · link · parent

Regardless of the specifics of her contract, it's a really, really bad look for a well-funded startup to sue a former employee for $36k.

Good luck hiring from here on out.

comment 6y ago · link · parent

Wait, what?? There's an invisible DNS server running inside your VPC? I get what you're saying wrt cached DNS lookups but this seems wild.

136.

Figma for X Is Overblown(ajsharp.com ↗)

2 points · by ajsharp · 6y ago · discuss

comment 6y ago · link · parent

I snapped some photos of a pair of bald eagles sunning their wings on a lake in Wisconsin last summer. Absolutely stunning.

comment 6y ago · link · parent

WINDOW is incredible. Probably among the most useful yet least understood areas of SQL.

139.

Someone Used Neural Networks to Upscale an 1895 Film(digg.com ↗)

7 points · by ajsharp · 6y ago · 1 comment

comment 6y ago · link · parent

This is incredibly cool. Cheers.

comment 6y ago · link · parent

This is such a great idea. Praise fucking be.

comment 6y ago · link · parent

Related: Mazda is removing screen from future vehicles due to the clear safety issues. https://www.motorauthority.com/news/1121372_why-mazda-is-pur...

comment 6y ago · link · parent

blinks eyes

Wow Hasura + react admin look incredible. Thanks for this.

comment 6y ago · link · parent

> While consumer privacy might be overrated, enterprise ephemerality is underrated.

Yep, this is the core assumption underlying Sharesecret - https://sharesecret.co.

comment 6y ago · link · parent

> unicorn-level grocery delivery company

At this point you can just say Instacart :)

comment 7y ago · link · parent

Congrats to dev.to on the fundraise. This feels like a positive and exciting development for open-source companies built in the open.

dev.to is a unique and interesting service -- a company built in the open on open source technology, and has grown a large community based largely on that open-source culture.

A discussion I'd like to see from the dev.to founders is how they plan to evolve what is primarily an open-source community into a software company that operates that community. This seems like an important discussion to have, especially for an open company, as the concerns/goals/responsibilities of the dev.to community are different than those of the dev.to software company (the company that will sell software to other companies).

A few questions that come to mind:

* To what extent is the dev.to community values/rules/etc are codified somewhere? * What happens in the event of an acquisition, or if a new leadership/management team is brought in? * To what extent are the dev.to community values the values of the company, vs the values of the current company leadership? (this point is sticky, as all companies are a reflection of the people who operate it, yet, "company culture" is a very much a thing)

I'm optimistic and excited to see how dev.to navigates these challenges. It's a unique opportunity to experiment with new models not yet seen in venture-backed companies or commercial enterprises in general.

comment 7y ago · link · parent

netlify.com appears to be affected as well.

Curious if this is a software issue or a host issue. I believe netlify rents a lot of its infrastructure from other providers, such as Digital Ocean.

148.

Netlify CDN Outage(netlifystatus.com ↗)

70 points · by ajsharp · 7y ago · 24 comments

comment 7y ago · link · parent

This reminds me of the fascinating NYT story about the lead up to the original iPhone announcement event: https://www.nytimes.com/2013/10/06/magazine/and-then-steve-s....

A choice excerpt:

> The iPhone could play a section of a song or a video, but it couldn’t play an entire clip reliably without crashing. It worked fine if you sent an e-mail and then surfed the Web. If you did those things in reverse, however, it might not. Hours of trial and error had helped the iPhone team develop what engineers called “the golden path,” a specific set of tasks, performed in a specific way and order, that made the phone look as if it worked.

I guess I post this here as a means to say, while what OP is talking about certainly sucks, Apple seems to have a long history of this. Doesn't make it better, and certainly what he's outlined seems extra bad, but not completely unexpected.

1
456
12