Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
kenhwang
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
10 ms
·
91.
▲
by
kenhwang
2y ago
Not at all saying Ruby's compiler is more capable, more that typical Ruby code is easier to optimize by their JIT design than typical JS, largely because Ruby's type system is more sane. The whitepapers that inspired Ruby's J
92.
▲
by
kenhwang
2y ago
For Ruby, it's code where variables and method input/return types can be inferred to remain static, and variable scope/lifetime is finite. From my understanding, much of the performance gain was from removing the need for a l
93.
▲
by
kenhwang
2y ago
If the code JITs well, Ruby performs somewhere between Go and NodeJS. Without the JIT, it's similar to Lua.
94.
▲
by
kenhwang
2y ago
Ruby has realized this as well. When running in YJIT mode, some standard library methods switch to using a pure ruby implementation instead of the C implementation because the YJIT-optimized-ruby is better performing.
95.
▲
by
kenhwang
2y ago
For starters, the Leaf wasn't a sedan, it was a hatchback. In the US market, hatchbacks have always significantly lagged sedans in sales despite being more practical. The regular Prius has evolved to look sleeker and sportier with each
96.
▲
by
kenhwang
2y ago
I see Gulf of America when it's zoomed in, but Gulf of Mexico when zoomed very out or very very in.
97.
▲
by
kenhwang
2y ago
Back when I worked from my phone while in the ski lift line, the solution really is to keep an SSH key on the phone if I intended to do any work from it. If I really had to access work resources from any random device, I'd go through t
98.
▲
by
kenhwang
2y ago
Interesting that Rails World won; I always thought Rails adoption was much more popular Stateside. Looking at the Rails core team, it's very obviously not proportionally represented by Europeans, so it's interesting that the prima
99.
▲
by
kenhwang
2y ago
~400W/panel @ 20% efficiency is pretty much spot on for my home rooftop solar panel specs, so your math checks out there. $0.02/kW does seem a bit low. Looking at my bill, it looks like I got paid ~$0.03/kW last month in Cali
100.
▲
by
kenhwang
2y ago
Seems like the next generation of programmers has relearned the lessons of poor package management and ecosystem fragmentation, and that it wasn't worth giving up for a slightly simpler or slightly faster language. Also, ruby did get a
101.
▲
by
kenhwang
2y ago
It's just yet another piece of debt that gets prioritized against other pieces of debt. As long as the cost of this debt is purely fiscal, it's easy enough to position in the debt backlog. Maybe a future piece of debt will increas
102.
▲
by
kenhwang
2y ago
AWS has been charging by the second since 2017: https://aws.amazon.com/blogs/aws/new-per-second-billing-for-...
103.
▲
by
kenhwang
2y ago
Depends on how long it takes for the incoming instances to initialize and outgoing instances to fully decommission. x = time it takes to switchover y = length of the cycles x/y = % increase in cost For us, it's 15 minutes / 1
104.
▲
by
kenhwang
2y ago
My workplace currently has a similar problem where a resource leak can be greatly increased with certain unpredictable/unknown traffic conditions. Our half-day workaround implementation was the same thing, just cycle the cluster regula
105.
▲
by
kenhwang
2y ago
Green is the independent Taiwan/nationalist party. Blue is the anti-war/friendliness with China party. The anti-nuclear sentiment is more due to the age/state of the reactors and concerns over earthquake safety after the Fuku
106.
▲
by
kenhwang
2y ago
Unless your drives are in a perfectly controlled temperature, humidity, and atmospheric pressure environment, those will all impact the internal pressure. Temperature being the primary concern because drives do get rather warm internally wh
107.
▲
by
kenhwang
2y ago
No dust is supposed to get "in" the drive, but dust can very well clog the breather hole and cause pressure issues that could kill the drive.
108.
▲
by
kenhwang
2y ago
They're airtight now (at the high end or enterprise level). They weren't airtight not very long ago and had filters to regulate the air exchange.
109.
▲
by
kenhwang
3y ago
Agreed. But if you're already on AWS, I'd say the quality floor is already higher than the potential at 95%+ of other companies. So I say unless you're at a company that pays top salaries for the top 5% of engineering talent,
110.
▲
by
kenhwang
3y ago
If you're on AWS, yeah, I'd say just use ECS until you need more complexity. Our ECS deployments have been unproblematic for years now. Our K8s clusters never goes more than a couple days without some sort of strange issue popping
111.
▲
by
kenhwang
3y ago
I believe it was the same people, people that used to carefully plan how they'd use their 100kB of ram budget in C that then switched over to mission-of-the-week Python scripts. The code that runs on Mars was always written by career p
112.
▲
by
kenhwang
3y ago
My dad's friend worked at JPL on Ingenuity's software. When I talked to him about it in 2019, he was sure he was going to retire after the rover launched/landed, because he thought all the consumer hardware would probably not
113.
▲
by
kenhwang
3y ago
You make a good point about it being unamplified. To be fair, I pretty much committed every audio cable sin by running the cheap speaker cables in parallel with powered cables with the excess coiled up plopped on top of coiled power cables.
114.
▲
by
kenhwang
3y ago
If we're using the vodka analogy. Vodka is the metal of the cable: the copper/aluminum/gold. Yes, you can have really bad quality metal, but it's practically unheard of given how easy it is to make good enough quality me
115.
▲
by
kenhwang
3y ago
I've used a couple of single/dual/tri-band wireless transmitters to hook up speakers, and I'd say I'm not really a fan. You have to be ok with dropped packets from interference (which happens pretty frequently if yo
116.
▲
by
kenhwang
3y ago
It's like a multi-speaker version of binaural recordings! Binaural recordings already have very realistic playback on headphones. So I'd imagine using multiple speakers would be a trip for everyone in the room. I assumed you flipp
117.
▲
by
kenhwang
3y ago
Yes, it's annoying and only very noticeable when the speakers were supposed to be silent, but weren't and hissed and hummed instead. Swapped for better shielded cables and the hiss/hum went away and it was dead silent when it
118.
▲
by
kenhwang
3y ago
I had the same thought when I was building out my home theater system. Cables are cables, they're all just copper runs with gold plated ends, I'll just get whatever. Well, I was dead wrong. Cheap cables hiss and hum like crazy whe
119.
▲
by
kenhwang
3y ago
No, I've just worked with Twitch and had friends in executive positions at Twitch. Many of their top streamers that pay the bills for Twitch are recruited and have employment/partnership contracts. They're very much paying fo
120.
▲
by
kenhwang
3y ago
Sometimes bandwidth too if they have clever peer-to-peer setups.
More ›