Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
kccqzy
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
41 ms
·
871.
▲
by
kccqzy
11mo ago
> That shared type will break at the communication channels if you do not simultaneously deploy the two services. No. Your shared type is too brittle to be used in microservices. Tools like the venerable protobuf has solved this problem
872.
▲
by
kccqzy
11mo ago
You can buy a cheap tester for TDS (total dissolved solids) for <$20. Test the water before pouring it into any ultrasonic humidifier.
873.
▲
by
kccqzy
11mo ago
Yea I do. I use it for programs where I’m unsure whether it will read or modify my filesystem. I still allow the program to run arbitrary computation and use the network. It’s just the filesystem part that I want to isolate.
874.
▲
by
kccqzy
11mo ago
Interesting that it uses the C API to collect journals. I would’ve thought to just invoke journalctl CLI. On platforms like macOS where the CLI doesn’t exist it’s an error when you exec, not a build time error.
875.
▲
by
kccqzy
11mo ago
I am the owner and only user of the computer. Does that mean I should run everything with root? Of course not. It’s simply better to start with little privileges and then elevate when needed. Using any additional privileges should be an int
876.
▲
by
kccqzy
11mo ago
Distilled water isn’t strictly necessary. I use mine with purified water with a reverse osmosis purifier. I periodically test the TDS of the water to confirm it is low. It’s fine.
877.
▲
by
kccqzy
11mo ago
I think the concept is solid. I’ve only had a few minutes of playing with it, but I have the opinion is that from a UX perspective constants are more common than variables. So perhaps a cell containing a constant should not have a #, but a
878.
▲
by
kccqzy
11mo ago
Please don’t use this unless the purpose is specifically to have a retro effect where you eschew modern fonts for aesthetic purposes. Because for any other purpose this just looks terrible, even for English text. Scripts requiring special s
879.
▲
by
kccqzy
11mo ago
You and GP are talking about completely different things. Yes DNS at its core it’s an elegant minimal protocol. But all the complexity comes from client side configuration before the protocol is even involved. We have complexity like differ
880.
▲
by
kccqzy
11mo ago
It’s extremely easy to write application code in Haskell that handles async cancellation correctly without even thinking about it. The async library provides high level abstractions. However your point is still valid as I do think if you
881.
▲
by
kccqzy
11mo ago
Since OP is using Haskell, the actual code most likely won’t really touch the JSON type, but the actual domain type. This makes migrations super easy to write. Of course they could have written a fancy in-house way to do that, or just use t
882.
▲
by
kccqzy
11mo ago
> The biggest complaint is that all links get inserted into google search and then I have to manipulate them when they should go directly to the chosen website, this has to be some kind of internal org KPI nonsense. Oh I know this from m
883.
▲
by
kccqzy
11mo ago
> I became rather jaded on the Liskov substitution principle after reading https://okmij.org/ftp/Computation/Subtyping The root of the issue here is that Liskov substitution principle simply references ϕ(x) to
884.
▲
by
kccqzy
11mo ago
Performance optimization isn’t structured at all. I find it amazing that without access to profilers or anything Claude is able to respond to “anything I can do to improve the speed” with acceptable results.
885.
▲
by
kccqzy
11mo ago
Not at all my experience. I’ve often tried things like telling Claude this SIMD code I wrote performed poorly and I needed some ideas to make it go faster. Claude usually does a good job rewriting the SIMD to use different and faster operat
886.
▲
by
kccqzy
11mo ago
Yes you could. Other languages do. See NSMutableSet and NSSet in Objective-C.
887.
▲
by
kccqzy
11mo ago
Apple (or perhaps NeXT) has solved this problem already in Objective-C. Look at NSArray and NSMutableArray, or NSData and NSMutableData. It’s intuitive and Liskov-correct to make the mutable version a subclass of the immutable version. And
888.
▲
by
kccqzy
11mo ago
A lot of these place names are user-created and I’ve definitely seen completely wrong and bogus place names on Google Maps. It seems that they hide a lot of these when the business owner doesn’t actively take control of the business page. I
889.
▲
by
kccqzy
11mo ago
Yelp is the classic. The old Foursquare was also good for discovering where people check in, which is basically a proxy for discovery.
890.
▲
by
kccqzy
11mo ago
And yes let’s think of the poor people who have no choice but to drive into Midtown and downtown for work. Have you ever talked to poor people in NYC?
891.
▲
by
kccqzy
11mo ago
Unlike many other places in the United States, NYC area’s railroads are almost exclusively passenger rail and there is comparatively very little freight railroad traffic serving NYC and therefore there are way more trucks in NYC. They emit
892.
▲
by
kccqzy
11mo ago
Power-of-two length is also the natural choice for a growable linear array where the designer has no idea how many elements there will be.
893.
▲
by
kccqzy
11mo ago
There are different Unicode characters though so be careful. Some allow browsers to break at the dot, others are non-breaking so the browser will consider it a single word.
894.
▲
by
kccqzy
11mo ago
But it would otherwise be not fun at all. Anthropic didn’t exist ten years ago, and yet today an announcement by them would land on the front page. Would it be fun if this hypothetical front page showed an announcement made by a future star
895.
▲
by
kccqzy
11mo ago
I actually like the interpunct way better (which I first saw when I visited Italy and saw historical carvings): instead⸱of⸱putting⸱spaces⸱you⸱put⸱a⸱small⸱dot⸱between⸱words⸱instead.
896.
▲
by
kccqzy
11mo ago
It’s slightly different for groceries. I am not poor but I also don’t want to buy perishables in bulk. I can choose to buy one week’s worth of lettuce to be eaten in a week, but by the seventh day the lettuce has visibly degraded. I want fr
897.
▲
by
kccqzy
11mo ago
I use vterm which I believe prides itself for being the fastest terminal emulator inside Emacs. The eat README says 1.5 times faster than eat. This matters a lot to me because the proprietary build/test tool at work likes to dump the s
898.
▲
by
kccqzy
11mo ago
The IRS Direct File was shut down by the current administration. And no, it was way more effort than what two interns could do. https://github.com/IRS-Public/direct-file
899.
▲
by
kccqzy
11mo ago
The article clearly states that Apple provides standardized locations for apps to store their dynamically linked libraries.
900.
▲
by
kccqzy
11mo ago
I’ll take this standardized directory format over the typical docker web app where there is no standardization and files can be strewn anywhere the developer wants. You `docker exec` into it and can’t find anything.
More ›