Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
calebio
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
9 ms
·
61.
▲
by
calebio
3y ago
I guess it really depends on what kind of stuff we work on. It's very common for service layers in systems that I work on to be shared between various ingress points (HTTP, GRPC, Kafka handler, etc).
62.
▲
by
calebio
3y ago
I might be in the minority here, but IMO that snippet does not look nicer and looks pretty ugly. You've got like 3 things going on all jumbled together. I would not want to encounter that line of code in the wild, or 3 months after wri
63.
▲
by
calebio
3y ago
I like the way this pattern trends, but one downside is that it mixes HTTP concerns into the service layer. E.g. the service layer needs to know exactly which HTTP error code this responds to when returning an error. If the service layer i
64.
▲
by
calebio
3y ago
sure. equal opportunity doesn't mean equal outcome.
65.
▲
by
calebio
3y ago
I agree. I first started doing this (instead of the often recommended global monkey patch) when I started programming in Go. In our main application we pass in a function that returns `time.Now()`, and in tests we pass in a function that re
66.
▲
by
calebio
3y ago
would be really fun to hook this up to Stardew Valley!
67.
▲
by
calebio
3y ago
Agreed. Although, sometimes it feels like this is a losing battle. I've worked with too many people who see that level of separation as "unneeded duplication", with constant complaints about having to update a bunch of differ
68.
▲
by
calebio
3y ago
I have often wondered what the definition of "need to know" (one of the requirements for being read into classified information) is for a President, a temporary government employee.
69.
▲
by
calebio
3y ago
Right? Cmdr. Dave Fravor seemed like he didn't have anything to personally gain by giving his testimony. He told us what he experienced, said he was amazed, wished he could pilot the craft he personally saw, and didn't offer spec
70.
▲
by
calebio
3y ago
I think folks conflate too many wild things at once and dismiss them all. I think there are some interesting questions and folks with pretty good credentials that have came out and given some interesting answers to some of these. * Are ther
71.
▲
by
calebio
4y ago
FWIW it may need a patch to make it actually work. From the article it seems like it attempts to connect to a non-existent web service on startup. Could figure out what it's expecting and emulate that of course. Just wanted to point o
72.
▲
by
calebio
4y ago
IIRC it is often frozen by the BIOS on boot. I think the pm-suspend/wake 'reinits' (for lack of a better word) the drive and doesn't set the magic frozen bit. I'd love to know from someone who has the actual tech de
73.
▲
by
calebio
4y ago
is the Yubikey protected by some kind of pin or password or something? and is there something that prevents someone from brute forcing that pin/password if they have access to the Yubikey? I've not used a Yubikey in this way befor
74.
▲
by
calebio
4y ago
thank you <3 I always make this same dang mistake lol
75.
▲
by
calebio
4y ago
This kinda reminds me of Terence McKenna talking about his experience with DMT. He met "self-replicating machine elves". One of them told him, "don't be stuck in shock/wonder", and "do what we're doin
76.
▲
by
calebio
4y ago
Very well said! Your comment reminded me of this video I saw a few years ago, "Understanding the Monkey Mind" -- https://www.youtube.com/watch?v=t-JiQubfMPg When you stop fighting your monkey mind, your monkey min
77.
▲
by
calebio
4y ago
A lot of breath work is very specific to the individual. Guides, how-tos, videos can often make people more anxious because their body is behaving slightly differently than their "source". Surprisingly, you don't need to lea
78.
▲
by
calebio
5y ago
They still haven't figured out how to give users control of their poor image cropping :(
79.
▲
by
calebio
6y ago
Yup! Back when I was commuting daily, my watch would always alert me to 90dB+ noise on BART.
80.
▲
by
calebio
7y ago
I think in that case you'd use a capture card on the PC and still continue to use your Mac.
81.
▲
by
calebio
7y ago
I agree, this app is dumb. But what's up with getting mad when people don't want to talk on the phone? I don't want to assume but it sounds like you feel entitled to a certain method of communication .
82.
▲
by
calebio
7y ago
I think there's a debate to be had around whether or not the plastic BBs are considered pellets for air guns. I have a feeling the law is referring to the metal air rifle pellets, but I don't know that for a fact. Typically, pelle
83.
▲
by
calebio
7y ago
Great story, Rodney! You've done very well for yourself. My background shares some similar elements of yours during the same time period albeit with a different game, Habbo Hotel, and a lot less money :-). In a few years we'll sta
84.
▲
by
calebio
8y ago
A great guy from my hometown who has cerebral palsy is one of those losing their jobs. He has worked at the Marion, NC Walmart for almost 17 years. Almost every time I've visited the store, I've heard his voice saying "hey y&
85.
▲
by
calebio
8y ago
Not offering an opinion, just some of the things I heard while watching: - CA law requires that any digging near a gas main/asphalt to be done by hand, which required the workers to manually trench out the line to squeeze the pipe/
86.
▲
by
calebio
8y ago
It might not be the same, but this sounds similar to what happened in Eden, North Carolina recently. The gambling parlor next door were using jammers to keep "fish table" players from cheating. This was affecting key fobs, car st
87.
▲
by
calebio
8y ago
Willing to go used? Lots of good deals on eBay. I've used a Thinkpad with Linux (mainly Ubuntu) for the past 5 or so years. Almost everything has worked out of the box, and upgrades to Thinkpads are pretty easy (if you don't immed
88.
▲
by
calebio
8y ago
I appreciate the followup and reply!
89.
▲
by
calebio
8y ago
I've been pondering my thoughts on this, and I'm curious what you think. Would you prefer Phone Screen +: A) FANG/Valley style interviews multiple rounds of leetcode algorithm/data structure style questions and some whit
90.
▲
by
calebio
8y ago
Did I miss something here around the rationale for forking vs. attempting to contribute this to the official project? Edit: found some more details over on reddit[0]: I didn't see the existing TLS PR, and I'm not finding it now.
More ›