Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
aidos
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
51 ms
·
691.
▲
by
aidos
5y ago
Great spot!
692.
▲
by
aidos
5y ago
I believe there’s a subtle difference in the meanings. You can raise or raise from. In either case the chaining means you get to see both messages. But one implies the original error is the cause. It’s so subtle that I don’t recall which is
693.
▲
by
aidos
5y ago
And if you look carefully you’ll find that doing logger.exception(e) will just cast e as a string, which is just the message in the e. So you end up just sending the message twice (along with the stack trace). Instead you can do logger.exce
694.
▲
by
aidos
5y ago
I just looked into this following someone else recommending Either and my knee jerk reaction is the same as yours. The nice thing about exceptions is that you get to take a large block of code and treat it as a whole fail-able unit. In term
695.
▲
by
aidos
5y ago
Oooo. That’s a nice performance gotcha I wasn’t aware of. Good article, nicely written.
696.
▲
by
aidos
5y ago
I feel like people are deliberately misreading the scenario we’re talking about in my parent post. The GP wasn’t saying there were one off tabs, but ones used at least once a week . My point is more that to just get through these regular o
697.
▲
by
aidos
5y ago
Do you really need 14 pinned tabs? I use plenty of apps too, but they don’t need to be sitting there all the time . And multiple day tasks, I still can’t imagine why you need all the tabs. For me, I get in, get what I need and get out agai
698.
▲
by
aidos
5y ago
Let’s call it 200. You have 5 days in the week. So that’s 40 tabs you need to visit each day. 5 different tabs each hour, just to get through them. Even! Even if you need to visit all those different things - you know what they are and you
699.
▲
by
aidos
5y ago
I feel like there are broadly 2 groups of tech literate users; those who like lots of tabs and those who keep things lean. I absolutely cannot relate to the first group, as much as I try to understand the mentality. When I’m digging deep in
700.
▲
by
aidos
5y ago
She managed to get it back now. Thanks.
701.
▲
by
aidos
5y ago
It’s rough out there. Was helping a friend of a friend last night who had been scammed into giving out her Instagram password. They’ve change the email / phone / pw on the account. In her case the account is actually a substantial
702.
▲
by
aidos
5y ago
Can you explain what you mean about gmail?
703.
▲
by
aidos
5y ago
That’s reminded me to check back in to see what the story is with Apple Silicon support and it’s in Alpha! Just given it a go and it seems to work really well. I’m totally novice but being able to tinker with Blender on my laptop without it
704.
▲
by
aidos
5y ago
OT: but back when Stripe did the CTF challenges, I wondered if they used it as a recruiting platform. They had both a measure of technical ability and there was also a discussion forum that almost certainly illuminated good communicators wh
705.
▲
by
aidos
6y ago
You could always go for a more Stephen King plot involving an evil old tv https://www.ispreview.co.uk/index.php/2020/09/18-months-of-v...
706.
▲
by
aidos
6y ago
Thanks for that rundown. Super interesting.
707.
▲
by
aidos
6y ago
I spent the whole day on zoom on battery yesterday and still had 35% left to play with.
708.
▲
by
aidos
6y ago
Ha! Pointers as mongo documents is a whole new level of disturbing.
709.
▲
by
aidos
6y ago
I keep one of my ringfingers (specifically left hand) on the overhand (starter) knot while I thread the other bits. Works a treat.
710.
▲
by
aidos
6y ago
In a way, it’s an example of poor framing. I, too, react badly to being told the price and then discovering there are hidden extras. They could price it in and then say “oh hey, if you already have a charger just tick this box and save your
711.
▲
by
aidos
6y ago
Excellent work. More than anything; starting on a new team, sorting out the provisioning process, meaningfully contributing to the team and doing a write up for their blog. I’d wager whoever hired you is very pleased.
712.
▲
by
aidos
6y ago
Depends what your developers are running internally. If they’re already on macs, some will be on M1s soon, and then you’ll have little choice. I’d wager that right now the M1s are about the most bang for buck you can get on desktop machines
713.
▲
by
aidos
6y ago
Just one datapoint, but we've had to cross the ARM bridge in the last couple of weeks after getting a few M1s. It's taken a lot of work getting all our dependencies compiling but now that we're there it's definitely comp
714.
▲
by
aidos
6y ago
Not the OP but I've been on an M1 Air for a couple of weeks. It's startlingly good. It's been a lot of work to recompile our various dependencies for am ARM64 VM but overall the machine is hands down the best I've ever u
715.
▲
by
aidos
6y ago
Totally. We've spent the last 2 weeks getting all our dependencies recompiled for arm64 and now we're there I'm pretty keen to see what our bang for buck looks like on gravton2 machines (we've been using 64 core c6g.meta
716.
▲
by
aidos
6y ago
I’m not sure I get the difference between looking at the source vs inspecting it? In any case, they’re not expecting you to outright copy them (though you can if you want), they’re saying that the code snippet has everything you need just b
717.
▲
by
aidos
6y ago
Isn’t that what I’m doing? Mac OS is arm64, with an arm64 Ubuntu VM, then I’m running qemu in that for specific single x86 processes. To clarify, I’m using UTM to run the VM, so it’s using qemu - but it looks like that doesn’t give you a pe
718.
▲
by
aidos
6y ago
I don’t entirely understand your comment (actively looking for solutions for these issues so all info is good). My initial attempt at getting a running system was to install an x86 VM via qemu / utm. It worked but was about 1 /4 s
719.
▲
by
aidos
6y ago
Been dealing with this this week. It’s about a 40x performance hit to run x86 via qemu in our estimates.
720.
▲
by
aidos
6y ago
In our basic testing on M1 performance this week we’ve found that an arm vm on the M1 runs about 2x as fast as a c6g.2xlarge graviton2 instance. So you’re probably looking at about $0.50 / hr to compete with the Mac.
More ›