Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
4star3star
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
8 ms
·
31.
▲
by
4star3star
2y ago
They ought to make this thing a 2-seater so a loved one with an oxygen mask can sit next to you and hold your hand.
32.
▲
by
4star3star
2y ago
> turns a window into a base station that can be attached to a building window inside and turn the outdoors into a service area You could easily enclose this by some architectural feature on the interior of the building or even use a win
33.
▲
by
4star3star
2y ago
I like what I'm seeing, though I'm not sure I have a use case. On a VPS, I'll typically run a cloudflared container and configure a Cloudflare tunnel to that VPS. Then, I can expose any port and point it to a subdomain I conf
34.
▲
by
4star3star
2y ago
I think DRY should be supplemented by "Don't make me read it multiple times". Repeat yourself, by all means, if that makes it so that I don't get all twisted up jumping between so many files that I can't keep the ma
35.
▲
by
4star3star
2y ago
I find his stuff sloppy and uninteresting, too, and he has no charisma. This just goes to show that he really does know what he's doing. He identified the statistically meaningful things to focus on and perfect. Imagine if he was just
36.
▲
by
4star3star
2y ago
Partly, I think that the culture is more affected by the lack of history than most people realize. If you've lived in Europe, and I'm sure elsewhere, you understand your mortality implicitly from the centuries-old buildings and st
37.
▲
by
4star3star
2y ago
The post is silly because you wrote software that makes use of argv[0]? On the contrary, it opens a discussion about unintended security implications that might be avoided in the future if command line implementation can be reconsidered.
38.
▲
by
4star3star
2y ago
It's too bad VSCode doesn't "hydrate" features on an as-needed basis or on demand. Imagine it opens by default with just text editing and syntax highlighting, and you can opt in to all the bells and whistles as you have
39.
▲
by
4star3star
2y ago
to be fair, it sounds like the author only referred to the manual after making uninformed decisions.
40.
▲
by
4star3star
2y ago
I also found this concerning.
41.
▲
by
4star3star
2y ago
The questionable reliability of documentation is the big problem, for sure. It would be nice to be able to collect metadata such as referral dates and even comments. If you visit the docs, tick a box that says, "I referred to this and
42.
▲
by
4star3star
2y ago
I agree that the availability has always been a big program. I always wanted a pi zero w but never could find one at list price.
43.
▲
by
4star3star
2y ago
What your critique does not address is the hardware aspect of the pi. GPIO pins engage many people who are interested in seeing tangible results of programming.
44.
▲
by
4star3star
2y ago
Fifteen years ago (I remember the apartment where I had this thought), it occurred to me that time was running out to write an authentic novel. Soon, computers would generate whole stories in an endless variety of styles, and even if future
45.
▲
by
4star3star
2y ago
If I had to guess, this is probably not even Adobe's fault. They probably have a legal requirement to do this, like every goddamn site asking you about cookies.
46.
▲
by
4star3star
2y ago
I'm trying to think of a reason not to just drop a microSD card in the mail addressed to the journo. Are we going to do better than physical media delivery? The only way to be found out would be some sort of surveillance of the mailbox
47.
▲
by
4star3star
2y ago
Kinda hard to work it, but had some fun. https://martinwecke.de/108/#A0B02D2F12H2J2K0L2N12O4P2
48.
▲
by
4star3star
2y ago
I work with a guy who makes a lot more than me, and he describes his salary as "spending money" because he has so many other ventures, contract jobs, and investments. His attitude about code is that no one in the future is going t
49.
▲
by
4star3star
2y ago
Just leave comments for the most embarrassing pieces. // really not the way to do this, but it works // ideally, we'd do xyz, but this is good enough
50.
▲
by
4star3star
2y ago
Some people advocate for a secure httpOnly session cookie for the client, letting the server hold onto the JWT and manage refresh. This gets you the benefit of server to server access via the token as well as the "session" concept
51.
▲
by
4star3star
2y ago
How do you find out a single token got leaked within the token lifetime? If it's that easy to detect a leaked token, why aren't you stopping the leak in the first place?
52.
▲
by
4star3star
2y ago
I'm unconvinced of the author's actual understanding of common JWT usage. Suppose you use Azure. You may have one or more app registrations with defined roles as well as apis exposed within the Azure config. It's convenient t
53.
▲
by
4star3star
2y ago
Then what's needed is a sea drone that tags along with whales and collects context for their language.
54.
▲
by
4star3star
2y ago
Some feedback on your site's UX - on desktop, I don't expect hovering on a menu item to open a new context, so by habit I click on it. You're opening on hover, though, and my click is closing the context immediately.
55.
▲
by
4star3star
2y ago
I would guess it's often better to make a slightly more complicated interface if that is what provides the best experience for an adept user. If you need the interface to satisfy the needs of a user from the first minute they experienc
56.
▲
by
4star3star
2y ago
There is a certain personality type that likes to reimagine that their original thinking was not flawed, even when presented with a detail that they did not incorporate into their original thinking. If the detail had been in their awareness
57.
▲
by
4star3star
2y ago
Coming from dotnet, I rather like the Go pattern as you've described it. I would normally catch and error and then write out a custom message with relevant information, anyway, and I hate the ergonomics of the try{}catch(Exception ex){
58.
▲
by
4star3star
2y ago
> other than exceptions, whats the alternative? This may be a crazy/dumb take, but would it be so wrong to allow code outside the function to take the wheel and do a return? Then you could define common return scenarios and make suc
59.
▲
by
4star3star
2y ago
What does Java offer that dotnet does not?
60.
▲
by
4star3star
2y ago
The saying makes less sense to a modern audience. We can all pull out our phones and likely show the same time due to network time sync. BUT, what if we have 1000 phones all showing the same time, and they are ALL wrong? New layer to the se
More ›