Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
stouset
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
39 ms
·
751.
▲
by
stouset
2y ago
That did it. Thanks!
752.
▲
by
stouset
2y ago
Also this push to measure everything means that anything that can’t be measured isn’t valued. One of your teammates consistently helps unblock everyone on the team when they get stuck? They aren’t closing as many tickets as others so they g
753.
▲
by
stouset
2y ago
I don't seem to be able to add multiple SSH public keys. When I try to create one, I paste my pub key and hit enter and… no key is added.
754.
▲
by
stouset
2y ago
I just try and imagine people having this debate in 1932 Germany.
755.
▲
by
stouset
2y ago
> But that's only run when the pool needs to allocate more space. What GP seems to expect is that sync.Pool() would always return a zeroed structure, just as Golang allocation does. Not quite that. Imagine I have a pool of buffers w
756.
▲
by
stouset
2y ago
Obviously every type system in practice has escape hatches. But I’ve never seen another staticly-typed language where you need to break out of the type system so regularly. Go’s type system has your back when you’re writing easy stuff. But
757.
▲
by
stouset
2y ago
Checking out the first example—object pools—I was initially blown away that this is not only possible but it produces no warnings of any kind: pool := sync.Pool{ New: func() any { return 42 } } a := pool.Get() po
758.
▲
by
stouset
2y ago
OOMkilled
759.
▲
by
stouset
2y ago
Which is why it’s so depressing to see the U.S. backslide into this so quickly and willfully.
760.
▲
by
stouset
2y ago
It’s quite hard to mistake an em dash for a hyphen in a proportional font. self-fulfilling self—fulfilling One of these looks very, very wrong.
761.
▲
by
stouset
2y ago
It isn’t just fussing over syntax, but that would require you actually being curious enough to learn why instead of needing to dismiss people’s valid critiques of out hand.
762.
▲
by
stouset
2y ago
I think they’re saying it doesn’t go far enough, but it was hard for me to parse the sentiment.
763.
▲
by
stouset
2y ago
> Generally, surburbs are better at encouraging walking/cycling around Having lived in both, this is just categorically untrue. Cities are filled with pedestrians and cyclists. Both recreationally and for practical purposes. In a gi
764.
▲
by
stouset
2y ago
Suburbs have sidewalks but nowhere to walk to . Yes, counterexamples exist. But the vast majority of American suburbia is quite like what you describe: isolated homes with very low density where the only way to get to anything you’d want t
765.
▲
by
stouset
2y ago
Nobody in Ruby is getting tripped up over Point = Data.new(:x, :y) do def len Math.sqrt(x**2 + y**2) end end For one, Struct has existed since basically the beginning of time and works exactly the same way (
766.
▲
by
stouset
2y ago
All classes in Ruby are dynamic. There is no effectively no difference between these: class Foo < Bar attr_accessor :baz end Foo = Class.new(Bar) do define_method(:baz) do @baz end end
767.
▲
by
stouset
2y ago
The M-series of chips is quite possibly the most universally beloved thing Apple has done in a decade.
768.
▲
by
stouset
2y ago
> If you have to spend an hour either standing outside on the sidewalk near the deadly and evil cars or down on the platform near the trains, choose the sidewalk. Do you have any idea of how many pedestrians are killed by cars every year
769.
▲
by
stouset
2y ago
I genuinely don't follow your point.
770.
▲
by
stouset
2y ago
You don’t need to imagine. Apple ships macOS with a BSD user space. The sky has not fallen.
771.
▲
by
stouset
2y ago
We can also compare locales that implement do implement $policy and ones that don't. As with anything it's not perfect but it can be indicative. For the exact same reason it's often so difficult to tease out the impact of pol
772.
▲
by
stouset
2y ago
Everything in uutils is under the MIT license. The only thing you're missing is the "viral" nature of the GPL. Nobody in the BSD world seems to be particularly suffering under the thumb of unreleased forks of `chown` and `mkd
773.
▲
by
stouset
2y ago
> It'd be a lot better to make the trains safe At this point it is clear you are trolling, either intentionally or not. You want to drive more people to cars, which are a leading cause of death in the United States. Trains don
774.
▲
by
stouset
2y ago
Your answer is to literally add more of the thing creating the pollution. This is not a serious opinion. Mind you, overwhelmingly more people are killed by cars directly or through environmental pollution than from breathing in toxins whi
775.
▲
by
stouset
2y ago
Wait until you hear about the effects of brake and tire dust.
776.
▲
by
stouset
2y ago
> If the data is contrary to reason Literally everything in behavioral economics is contrary to reason because people simply do not behave like rational utilitarians in the real world, either individually or as a collective. We are a spe
777.
▲
by
stouset
2y ago
Where exactly do you think the additional revenue comes from to fill the gap between "infrastructure revenue" and "total transportation spending"? In California—a state where revenues from user fees approximates 100% of
778.
▲
by
stouset
2y ago
> In NY the roads are 60% funded by use taxes like fuel taxes, not majority property tax. Even by your own primary source, calling this out as fuel taxes is disingenuous. In New York, fuel taxes are 21% of infrastructure revenue. Tolls a
779.
▲
by
stouset
2y ago
Which has precisely fuck-all to do with the point you were originally trying to make. If you want to now start arguing that that roads themselves are a regressive tax on the poor, then you should be triply in favor of public transportatio
780.
▲
by
stouset
2y ago
Whether or not they're regressive, they are the primary means of funding the roads. Drivers don't fund roads, everyone does.
More ›