Better HN
topnewbestaskshowjobs
Log inSign up

wiredfool

6,559 karma · joined Jul 6, 2009 (17y ago) · 2,470 submissions

eric@wiredfool.com
Submissions

comment 6y ago · link · parent

Sharding based on customer is an attractive way to get to shards, potentially with minimal interference in ops or data model, but truly sucks when your biggest customers don’t fit on one shard anymore.

comment 6y ago · link · parent

Yeah, it's a stupid question, which is why I was surprised that Google asked it to me twice, separated by a couple of years.

What's funny is that 15 years later, I actually had a use for popcnt, put it together with something that seemed expensive at the time, and wound up with a C program that exhaustively searched a problem space in .12 sec. On a single core, in a vm, on a laptop. So much for me trying GPU programming on that one. (as in , feckit, there aren't that many possibilities, we'll just count them all)

comment 6y ago · link · parent

No, Mysql does. Postgres doesn't.

(edit, at least, some common mysql table types do)

(further edit -- You don't actually need a primary key in postgres. You might want one, and depending on how you do it, it's generally good design, but there's no actual requirement for them.)

comment 6y ago · link · parent

I’ve had that question twice in google phone screen interviews, and iirc, the best answer has changed from the hash table thing to just use the hardware instruction.

comment 6y ago · link · parent

This solves two big pain points for me:

1) the 250 mb size limit.

2) trying to get some tricky dependencies into a lambda compatible image.

Ive got one build system that was going to have to move off lambda in the next few months because of the size issue. We’re shipping a slowly changing node modules directory to lambda, and then repeatedly building an app with them.

We’re also doing perf testing with lighthouse, and that was a pain and a half to get packaged. This should make it far simpler.

comment 6y ago · link · parent

The 25kph cutoff is the legal limit for this category of ebike in the EU, 20MPH in the US.

I think some of the price of the carbon comes out of the marketing budget. In a way, the difference between a 4k ebike with cheaper looking parts vs a 4.5k bike with "premium" parts comes down on the side of spending the money.

I'd estimate that bike would sell for ~2k without the electrics. It's nice, but it's not super speccd. High end carbon rims are expensive, but they're not _that_ expensive compared to aftermarket aluminum rims. Niceish rims are basically 80-100 now. Carbon is probably 150 or so. (That's retailish, but not MSRP, what I could get them for, not what a bike co could get them for wholesale)

OTOH, it's lighter than my gravel/commuter, which doesn't even have electrics, so there's that. But I'd need rack/panniers for the commute, and I'd have range worries there.

What I'd like to see is a lightweight system that adds ~100W to my output for ~ 4hours. Something that's not painfully heavy if it's off, but makes the last hour of the commute better. (I do 2hrs each way when I do it.)

comment 6y ago · link · parent

No one (basically) is going to care about the difference between a 46/11 and a 40/11 when the assist drops out at 25kph. If anything, you’re much more likely to be able to use the 40/11.

At the other end, the assist is going to cover a lot of gearing, and it’s going to make the gaps in a 1x setup a lot less important.

(FWIW, I ride a 1x42/11-42 and a 2x 50/34-11/32. And a triple on the tandem, and I lived with a cx geared 1x 39-12/28 for a few years. High gears are drastically overrated unless you’re racing)

comment 6y ago · link · parent

How different are the heights of cyclists and pedestrians when they're waiting for a crossing light?

I think it's time for a vast menagerie of crossings.

1) The AARdvark crossing. When you hit the button it sings the aardvark song. Also useful on talk like a pirate day.

2) The Abalone crossing. It's under the water and quite endangered.

...

comment 6y ago · link · parent

Yes Brian! Tell Us More!

comment 6y ago · link · parent

There are pelicans too. Because pelicans have bright yellow flashing balls and ...

comment 6y ago · link · parent

Waiting on the multicolor vinyl special release with additional liner notes and outtakes.

comment 6y ago · link · parent

No, a ton is 2000 lbs or 1000kg, you’re using ton as 1000 lbs.

Max US ordinary large truck loading is 80k lbs, or 40 tons.

(Source, I trained as a civil engineer. Units in us practice were all over the place, but kip was generally the one that got used the most.)

comment 6y ago · link · parent

Yes, I edited that when I reread the article.

The conclusion drawn from the article is that the 70+W is vibration of the bike that is damped (lost) in the rider's body. Adding suspension by running supple tires at lower pressure reduces the energy required to go over the rumble strips (https://www.renehersecycles.com/myth-16-higher-tire-pressure...). That one compares 26mm tires at 75 vs 95 psi, but there's a page somewhere that I think shows wider (think 42mm+ tires) at more like 25psi.

comment 6y ago · link · parent

There's a lot of stuff in competition that's not legit.

comment 6y ago · link · parent

There is some research into how much energy is lost to suspension style losses, and it's on the order of 100W (was 300) when riding at 20mph/30kph over rumble strips. (https://www.renehersecycles.com/myth-17-bigger-wheels-roll-f...). This can be changed pretty dramatically with good tires and proper inflation.

On more reasonable road surfaces, it's less than 1/10th of that number. (but good tires make ooooh so much of a difference. I don't notice bad chipseal. My clubmates -- not so much)

(edit sorry -- rereading the article, I misread the graph. 300W on the rumble strips ~200 on the smooth pavement beside them)

comment 6y ago · link · parent

No. There’s no 30% gain to be had. Losses in a properly maintained bicycle are already far lower than this.

comment 6y ago · link · parent

I'd be impressed if they could get a docker on the Mac working with not absolutely crappy volume mount performance.

comment 6y ago · link · parent

The entire thread is about the developers toolkit hardware, which didn’t have hardware support for virtualization.

Obviously they done have access to the shipping m1 devices yet, which are supposed to have the hardware support.

comment 6y ago · link · parent

I did that, 10.5 IIRC. For some reason, I could only install on my Intel iMac, but I wanted to resurrect a PPC mini that had died.

Oddly, the imac is long gone, but the mini can still run ubuntu, and is still (somewhat) useful for testing bigendian bugs. It's slower than a raspberry pi of a few years back.

comment 6y ago · link · parent

I've had a long history with obscure keyboards. This all started in `99 with the Apple Extended Keyboard 2 (ADB, great action, but wide), then the narrower/older Apple Keyboard (adb, good action till it wore out), Two Model M13s with trackpoints (PS/2, good action, but one started having key repeat issues, and the other one has an aging cable thats tempermental.) They also don't have enough modifier keys anymore.

By the time tenkeyless boards were common, I was firmly in the lefthanded mouse camp.

For a while, I was running two mice, one for each side, but I pretty quickly ended up with just the one.

comment 6y ago · link · parent

I had a 5s die at one point, it got reset to the point where it needed to activate, and couldn’t.

comment 6y ago · link · parent

I do, because it solved a rsi issue for me. The mouse is far closer to the centerline of my body when I don’t have the keypad in the way.

comment 6y ago · link · parent

No, and it's way more solid for that. The previous Unibody ones did.

comment 6y ago · link · parent

I think the 2015 era MBP was also a much more durable physical design than the Titanium Powerbook g4. The keyboard is more solid, there's no paint to rub off, the panel over the dvd doesn't flex, the battery connections don't flex. Magsafe is also a better power connector than the coax plugs.

comment 6y ago · link · parent

I bought the first white x86 MacBook on the day it was announced, and it went pretty well. There was one design issue that needed fixed in the first year, but other than that it was a solid laptop for 5 years or more till it finally died. I would have waited, but I was extending the life of the previous tibook for a year prior.

I’m not in the market for a laptop now, but I’m really curious about what’s in the pipeline. Oddly enough, My MBP is about as old as the tibook was in that transition, but it’s not feeling slow or ole enough to replace yet.

comment 6y ago · link · parent

That's me.

I bought Lightroom 3 times (1/3/5?) and used it a bunch, but not professionally. I've got tons of old images in it, from that era, I open it a couple of times a year to find stuff. I've moved on, I don't do DSLR/RAW images anymore.

This version doesn't run on Catalina, and the only upgrade that would keep the develop settings is O(10)/mo. So I'm looking for something that can do the cataloging, and something that can do the processing should I ever do that again.

I have 0 hope that anything will take the develop settings in lightroom and use/improve them, but that would be perfect. (I've got one image in particular that's just at the edge of acceptable quality on LR3 that got dramatically better on LR5)

comment 6y ago · link · parent

There are two stick form factors in the US, the east coast long skinny stick and the west coast short fat stick. Each of them are 4oz.

comment 6y ago · link · parent

You need to call the IOCC.

comment 6y ago · link · parent

I still kick myself for not buying a sunburst yellow Miata when I saw a low mile one come up for sale in the early 2000s.

Red was good, but they were common.

(Last time I checked, there was about a 3x premium on the yellow ones, because there were only 1500 of them made. The one that got away and all that.)

1
363738
83