Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
henvic
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
19 ms
·
151.
▲
by
henvic
5y ago
omg, this is awesome! I used to play Tetrinet years ago, and I loved it!
152.
▲
by
henvic
5y ago
How about not messing with people? Let them claim it.
153.
▲
by
henvic
5y ago
The mount for the 4K display sucks. I don't know why the hell they designed it this way, but it's a rectangle that protrudes about 5cm in front of your display. This mean that it forces your keyboard to be placed closer than it sh
154.
▲
by
henvic
5y ago
I really wanted the 27-inch LG UltraFine 5K ( https://www.lg.com/us/monitors/lg-27md5kl-b-5k-uhd-led-monit... ), but I heard many complains about it not being as reliable as you'd expect, then I decided to get
155.
▲
by
henvic
5y ago
Jeez! So, are you telling me that cloud isn't someone's else computer? Damn it.
156.
▲
by
henvic
5y ago
No. Invalid comparison. If you legitimately discover a cryptocurrency wallet private key by sheet lucky, and such cryptocurrency has no backing = is based in pure thin air, such as the case of Bitcoin, and there are public nodes which doesn
157.
▲
by
henvic
5y ago
> If a private key is copied, it must have been done so illegally or accidentally. Any other option means the cryptography is defective. I agree if you're talking about an evidence such as a high-quality video or even photo with eve
158.
▲
by
henvic
5y ago
No. You're accessing computer resources that you don't own and you aren't authorized to.
159.
▲
by
henvic
5y ago
> Obtaining that number without authorization is already a crime. Accessing computers illegally to exfiltrate data is already a crime. Breaking into a physical safe in order to obtain a paper key is already a crime. Sure thing. Hence, th
160.
▲
by
henvic
5y ago
Get real. You're not getting anyone's property if you discover a private key by accident that that a distributed blockchain with no owner accepts to transfer a token in a virtual wallet like that. We're talking about somethin
161.
▲
by
henvic
5y ago
Except that they aren't taking anything from anyone. It's information. They might be copying it. And you might argue things like privacy count, and I'd be willing to hear your reasoning, but this shouldn't be like magic.
162.
▲
by
henvic
5y ago
No. You're not stealing from anyone. It's decentralized and bits have no owner. If you say 'hey, here is my Bitcoin transaction' and others accept, and you just had luck to find a valid address, it is not the same as ste
163.
▲
by
henvic
5y ago
Why a thief? Bitcoin is a silly idea based on scarcity that doesn't exist. If someone generated the right numbers by chance and had luck, I wouldn't say they'd be doing anything wrong getting whatever is there. It's not
164.
▲
by
henvic
5y ago
Okay, now tell us you're a fiction writer for the next Fast and Furious! haha
165.
▲
by
henvic
5y ago
Source?
166.
▲
by
henvic
5y ago
my 50 cents: I'd rather just use go vet + staticcheck. Way simpler, no complex configuration, and no license concerns :) and then you can create a file like the following and add whatever analyzer provides value for your specific case
167.
▲
by
henvic
5y ago
One of the reasons why I bought an Amazon Ring + its monitoring subscription is to have a redundancy if something goes wrong at home. It's just easier to sleep feeling safer knowing I can reach to its panic button in the control pad an
168.
▲
by
henvic
5y ago
If your desk is on a slight slope fix your desk. LOL I bet Objective-C developers would love the long lines of using it set to 22 degrees, though :)
169.
▲
by
henvic
5y ago
They could've called it AWS Infinidash Mobile.
170.
▲
by
henvic
5y ago
So you say your current position is to be rather carefully around anything by/from Google, but you trust Internet randos to build the binary of the browser you use? Okay.
171.
▲
by
henvic
5y ago
Fooled by randomness.
172.
▲
by
henvic
5y ago
I never understood the love for them. I recently posted this about my experience in migrating to PostgreSQL without anything of the sort of ORM... https://henvic.dev/posts/go-postgres/ We achieved a really great r
173.
▲
Our journey in dropping the ORM in Go
(alanilling.medium.com)
107 points
by
henvic
5y ago
|
147 comments
174.
▲
by
henvic
5y ago
2. This is why I'm pushing so hard to keep things with plain SQL at work. So far, another team has experimental with squirrel (a SQL query builder) and it looks sane, but I myself wouldn't introduce not even this. In my previous c
175.
▲
by
henvic
5y ago
If you search the issues, you're going to find its maintainer saying he himself was using pgx now, as it was more capable.
176.
▲
We need to have a chat about interfaces in Go
(jrock.us)
2 points
by
henvic
5y ago
|
0 comments
177.
▲
by
henvic
5y ago
I read your article and it has good points. I've added a section pointing to it just after I talked about interfaces, so other people can read it too.
178.
▲
by
henvic
5y ago
It wasn't for testing. I wanted to expose only a limited set of *pgx.Pool that was "safe" to be used from any place. For example, without the Close() function that might be called during gracefully shutdown. I wanted to avoid
179.
▲
by
henvic
5y ago
oh, I also have defined database.PGX ( https://github.com/henvic/pgxtutorial/blob/main/internal/dat... ), which is a little more scarier. I'll get back about that too, but this one is perhaps eve
180.
▲
by
henvic
5y ago
Fair criticism. I'm the author, and I hate using interfaces like this, but didn't comment on it probably because I got used to it for this kind of thing. The only reason why I defined inventory.DB ( https://github.com&#x
More ›