Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
shaftway
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
14 ms
·
181.
▲
by
shaftway
2y ago
This is pretty cool. Can we supply our own shapes? Can it rotate them? Can we specify edges that we prefer stay vertical or horizontal? I often need to CNC things out of plywood and it takes a surprising amount of time to lay out while maki
182.
▲
by
shaftway
2y ago
It's also worth checking out MacBeath Hardwoods across the street if you do any woodworking. They've got a good selection of exotic hardwoods that are just gorgeous. I've gotten Bolivian Rosewood there for making pens, Macass
183.
▲
by
shaftway
2y ago
Takes phone out of pocket to see what the notification was
184.
▲
by
shaftway
2y ago
Most US insurance will cover this at 100% even if you haven't met your deductible. Something about how babies cost more than a 3 digit outpatient procedure....
185.
▲
by
shaftway
2y ago
My take-aways were: - Americans drive - Non-European countries walk / transit - Very large cities aggregate a lot of kinds of living that skew the results towards the common modality for that country (e.g. New York and London).
186.
▲
by
shaftway
2y ago
It's very common to feel mediocre when comparing ourselves to our peers. It's similar to the Instagram effect; we see our own struggles and trials and see other people's successes and ask ourselves why it came so easy for the
187.
▲
by
shaftway
2y ago
I had to get a work visa for Brazil at one point. There was a fee breakdown, and all the fees added up to about $85, except a "reciprocity fee" which was an additional $55. I was curious, so I asked about it. It turns out that Ame
188.
▲
by
shaftway
2y ago
I get missing the old service. We went with a YouTube Music subscription but I'm not particularly happy about it. I loved Play Music and when it folded we just kind of went with the flow. Now there are reasons for sticking (the cost is
189.
▲
by
shaftway
2y ago
Personally I use Bazel, but I was at Google for a decade and so I miss Blaze. Of course that has it's own steep cost the first time you use it because of ideological differences between repos inside Google and repos outside Google. At
190.
▲
by
shaftway
2y ago
Personally, I really don't care about these cases. What really grinds my gears is when a diff plucks out a weird line in the middle of a block of code that only has a closing curly brace and that's the line that it thinks is the s
191.
▲
by
shaftway
2y ago
The article goes into that. If you open up the app ahead of time and download the ticket, it gets enough information to re-generate the barcode every 15 minutes. It's only a problem if you don't go into the app and fetch the data
192.
▲
by
shaftway
2y ago
On my backburner is "argparse-sh", a program that does command line parsing for bash scripts written in Rust: https://github.com/Hounshell/argparse-sh This is my first "real" Rust program, so it
193.
▲
by
shaftway
2y ago
I've always been a big fan of structuring data on input, escaping it on output. I think the big problem with just escaping output is that you can accidentally change what the output will actually be in ways that your users can'
194.
▲
by
shaftway
2y ago
Except then I'd need to have a good data connection at the venue, and the odds of that are infinitesimally small.
195.
▲
by
shaftway
2y ago
If you used a prime number instead of 30 (e.g. 29) then the aliens would spend less time checking the factors of 30 (15, 10, 6, 5, 3, 2).
196.
▲
by
shaftway
2y ago
I've seen a number of posts that appear month after month. I've applied to a couple and they've been legit, but it's also clear why they're there month after month (e.g. low pay, but a unique opportunity).
197.
▲
by
shaftway
2y ago
I read about them, and then I drove through one without even realizing it until afterwards. The walls were high enough that I didn't see vehicles to my right, and the crossings were close enough to square that it just felt like a norma
198.
▲
by
shaftway
2y ago
We do have an integration test that runs just before releases. I've never seen it fail, even when something was obviously broken, so I question the utility of it. There's a specific person in charge of maintaining it. I've op
199.
▲
by
shaftway
2y ago
I maintain that the majority of games are still disposable, despite the occasional subscription model or long-lived hit that pops up. Remember that most games aren't made by AAA studios. Wasn't Minecraft completely rewritten from
200.
▲
by
shaftway
2y ago
We produce a library that gets included in software made by our clients, and we have several thousand clients. The uptake on new releases is low (most of the clients believe in "if it ain't broke, don't fix it"). So ever
201.
▲
by
shaftway
2y ago
I don't buy this argument. Most game developers I know have said that unit tests are a waste of time so they never use them, but they're struggling with making changes to utility code and making sure that it doesn't do the wr
202.
▲
by
shaftway
2y ago
Inside Google "Advancing our bet" is a euphemism for shutting down (hat tip to Fiber). I'm deeply surprised that an article came out with that title that is actually true, given how negatively that phrase is seen.
203.
▲
by
shaftway
2y ago
There's a long history of Memegen trolling for the lulz. Here's a color link so nobody else has to struggle: https://www.colorhexa.com/ff00ff
204.
▲
by
shaftway
2y ago
Google's internal Memegen platform used to have a disturbing amount of #FF00FF in the UI. Since it was internal and not well funded, there was no designer associated with it. The only full-time engineer at the time asked a 20%-er if #F
205.
▲
by
shaftway
2y ago
Peach too
206.
▲
by
shaftway
2y ago
This just in: when you lay off the people keeping your secrets, they tend to go tell your secrets to the feds.
207.
▲
by
shaftway
2y ago
I'm in the opposite situation, poly-repo hell. Our team produces 4 libraries. The code for them along with test apps is spread across 7 repos. So when I want to make a core change (like updating the version of Gradle we use) it results
208.
▲
by
shaftway
3y ago
We had a similar project at Block. Backend and iOS bit the bullet and moved to Bazel, Android development did not. Now the iOS teams are building tooling on top of Bazel and the public tools around it to have build servers, automatically re
209.
▲
by
shaftway
3y ago
Oh, there is no guarantee about the spacing of these points. They won't be equidistant from each other, the points may cluster towards one end of the curve or another. With an infinite number of points you'll get the correct curve
210.
▲
by
shaftway
3y ago
For bezier curves in Python try this: def bezier(t, *points): if len(points) <= 1: return points[0] next_set = [] for i in range(1, len(points)): next_set.append([p[0] + t * (p[1] - p[0]) for p in
More ›