Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
travisd
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
14 ms
·
91.
▲
by
travisd
5y ago
> Don't write internal cli tools in python 100%. I stopped writing anything that had to be deployed (basically everything except Jupyter notebooks for data stuff) in Python because it’s truly a nightmare. Go and goreleaser is great
92.
▲
by
travisd
5y ago
YouTube now has “shorts” but it’s definitely not the same since they aren’t able to emulate the TikTok culture.
93.
▲
by
travisd
5y ago
I've never had to use -mod=vendor, so I just looked it up: -mod mode module download mode to use: readonly, vendor, or mod. By default, if a vendor directory is present and the go version in go
94.
▲
by
travisd
5y ago
Facebook actually does something reminiscent of this (flexbox layouts and all). Means updating a page/surface is just a matter of pushing an update to the server-side codebase (no two week release trains!). As far as I remember, the va
95.
▲
by
travisd
5y ago
> What does gRPC stand for? > gRPC Remote Procedure Calls, of course! https://grpc.io/docs/what-is-grpc/faq/
96.
▲
by
travisd
5y ago
Seems like you have to handle that yourself. The serialized data includes the type, so your app code might have to have logic a la “if type1: … else: …” after parsing it.
97.
▲
by
travisd
5y ago
Looks great! Seems to me that there’s just not enough pain around this. Ironically, React being “good enough” at performance (in most cases) probably means that there’s not appetite for squeezing out the last few millimeters (again for the
98.
▲
by
travisd
5y ago
This might be possible in simple cases, but there are two reasons I think. 1. React has an ethos of being “just JavaScript” (despite the JSX syntax which is purely sugar around calls to React.createElement). This means the core team doesn’t
99.
▲
by
travisd
5y ago
At the risk of being too overly politically for HN, I posit that wokeness is a distraction that is amplified by people in power (mostly on the right) to try to create artificial class conflict (me vs the woke “elites”). This distracts from
100.
▲
by
travisd
5y ago
Audrey Waters’s book is on my shelf and next in my queue. If anyone is interested in education technology and the intersection there in (especially with a critical eye towards what technology can, and should, so in a classroom), please drop
101.
▲
by
travisd
5y ago
Just listened to an interesting podcast on psychiatry and capitalism today that mentioned just how desperate big pharma companies are to get their hands on psychadelics. Podcast essentially argues that psychiatry in large part serves to con
102.
▲
by
travisd
5y ago
They actually just reverted this change within the last week (of course with accompanying “we love listening to your feedback!!!1!” eyeroll inducing messaging).
103.
▲
by
travisd
5y ago
In the post, they give the reason for the name in this case: The Associations and Objects.
104.
▲
by
travisd
5y ago
Having spent all of 20 minutes inside one of these apartments, they're not at all comparable. It'd be more akin to the popular "urban 1 bedroom" apartments I see in various places (including Seattle, where I am) that fea
105.
▲
by
travisd
5y ago
Didn't make it to prod. I tried migrating to YB at one point. I had issues migrating the indices (got lots of timeout issues). Once I got past that, I found out that a particular query I needed to do didn't have predicate pushdown
106.
▲
by
travisd
5y ago
Companies tend to want to pay for the ease of use (push-to-deploy with basically zero setup), centralized access, and the really cool features around push previews (create a PR and get a preview that you can explore).
107.
▲
by
travisd
5y ago
The core of it is getting closer to true "reactive" programming. If you use hooks right™, you generally don't have to worry about how to handle values over time. React does all that plumbing for you (which is why we need all
108.
▲
by
travisd
5y ago
For the frontend side of things, especially when using React, NextJS is the first tool in the toolbox. You get a lot more than CRA provides out of the box (SSR, routing, API routes, and server-side only code for dealing with database access
109.
▲
by
travisd
5y ago
2020 indicator would be great. I recently looked closer into my billing data for GKE (Google managed Kubernetes) and was astounded by the overhead taken up just by the Kubernetes internals. Something like 10-20%. It might be better if using
110.
▲
by
travisd
5y ago
The distroless static images are pretty good. It’s essentially scratch plus certificate authority roots of trust.
111.
▲
by
travisd
5y ago
Changes over time and ranges from 60-91% discount, according to the docs: https://cloud.google.com/compute/docs/instances/spot#pricing
112.
▲
by
travisd
5y ago
I don’t see this in the article, but is there any reason why they’d introduce a new VM type rather than just removing the 24hour limit of preemptible VMs?
113.
▲
by
travisd
5y ago
+1 for Bloom. The only thing it’s missing is support for the gRPC introspection API. It’s not bad if you have all of your organizations protos in one repo (which is what we do), but otherwise annoying to have to clone a repo and point Bloom
114.
▲
by
travisd
5y ago
In web contexts, we usually shoot for sub 1MB (ideally ~250kb for static sites). The main reason is usually just optimizing for mobile experiences. People expect to wait a while to download a 200MB app, but if you have to wait 5s for a webp
115.
▲
by
travisd
5y ago
The slippery slope fallacy is exactly that: a fallacy. There’s an obvious distinction between “I disagree with the merits of your PR therefore I’m going to claim that I’m offended” and “please do not misgender me.” The former is a strawman
116.
▲
by
travisd
5y ago
This is a good change. It doesn’t allow people to hide behind the shield of “good intentions” while refusing to change their behavior. Refusing to change your behavior after learning of its negative impacts on others is negligent best. “Any
117.
▲
by
travisd
5y ago
There’s certainly value in, at the very least, understanding how shadows can help delineate elements and create depth (which is a huge part of how we as humans create visual hierarchy to determine what’s important). Much of the article migh
118.
▲
by
travisd
5y ago
I highly recommend the “Refactoring UI” book. It’s full of very actionable principles and tips like this that you can start using tomorrow to make less ugly things. It includes things like: shadows, HSL for colors instead of RGB, how to str
119.
▲
by
travisd
5y ago
If UI is a blocker to launch, you should probably just solve that issue for the short term. There are many wonderful designers in the world. I recommend going towards the smaller shops that will be iterative with you - in my experience the
120.
▲
by
travisd
5y ago
I used it to built my startup (currently bootstrapping, just me) and I have no regrets. The data model is relatively complex and the frontend makes very heavy use of Apollo features. I think the number one benefit in the backend is just hav
More ›