Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
ncruces
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
53 ms
·
871.
▲
by
ncruces
3y ago
You don't think JSON should be validated in production? Presumably you think you should always be able to trust anyone who sends you JSON? I mean Go already does a bunch of UTF-8 validations in its JSON encoder/decoder [1]. No nee
872.
▲
by
ncruces
3y ago
Yep. Implementation looks simple enough that, if it is a drop-in replacement, should be up-streamed. Curious to know if there are any known caveats? Otherwise, go for it. May seem daunting, but it's not. I've submitted a couple of
873.
▲
by
ncruces
3y ago
Your lengthy post just argues you shouldn't “mask” errors in random places. Well that's great that no one said you should. Error handling is not masking, or swallowing errors.
874.
▲
by
ncruces
3y ago
Yes. The point is the extra steps mean that the delta between “just bubbling up” and “doing something about it” is smaller, which increases the chance that you'll consider “doing something about it.” If “bubbling up” is infinitely easi
875.
▲
by
ncruces
3y ago
Bubbling up errors is not handing them. Making bubbling up even easier because people find this too verbose is the original mistake: if err != nil { return err } I find it verbose too. But if the alternative is to design so
876.
▲
by
ncruces
3y ago
I think I did it first… or I just missed it. Well, as long as you're not brothered with it, great! I know I'm not adding much value, I just wanted to “bookmark it” for myself.
877.
▲
by
ncruces
3y ago
It's not unpopular: I know. I mean, I mentioned the monopoly in my comment for a reason. But for this niche purpose, GitHub is my (last) social media, and GitHub stars are my bookmarks. So, yeah, I agree, but your suggestion does littl
878.
▲
by
ncruces
3y ago
I know this is terribly unfortunate, and supporting the monopoly, but consider a GitHub mirror. I just mirrored it myself to keep tabs on it, because otherwise I'll forget it. Very interesting approach.
879.
▲
by
ncruces
3y ago
But now you're open to [Redis] taking you to court saying that your service that uses [Redis] is too similar to “just [Redis]” for you to offer it to anyone else. Field of use restrictions are a terrible idea, and totally incompatibl
880.
▲
by
ncruces
3y ago
wazero had a big update this week: https://github.com/tetratelabs/wazero/releases/tag/v1.7.0 This includes the final release of the new optimizing compiler, which is a big improvement over the previous o
881.
▲
by
ncruces
3y ago
I had a free website on .tk When it because moderately successful, they didn't renew, and then wanted 50€/year.
882.
▲
by
ncruces
3y ago
The government isn't dictating which books are allowed to be published, it's arguing (amongst other things) that self publishing books should be possible, which it is. Being a successful smartphone manufacturer (or a smartphone OS
883.
▲
by
ncruces
3y ago
My argument is we regulate these companies and not others because these are important to society, yes. Same as we regulate phone companies or the internet. We can't allow two global multinationals to gatekeep this much of our modern li
884.
▲
by
ncruces
3y ago
On my smartphone I have: - an app that's used by pharmacies to handle prescriptions from the public health system; - an app I can legally show a police officer so they can determine that I have a valid driver's license; - an app I
885.
▲
by
ncruces
3y ago
Only if you don't use WAL.
886.
▲
by
ncruces
3y ago
You should upcase the Q then. ;)
887.
▲
by
ncruces
3y ago
Reminds me of the SQLite F_BARRIERFSYNC debacle. They just don't care. https://bonsaidb.io/blog/acid-on-apple/
888.
▲
by
ncruces
3y ago
Make it overtly double blind.
889.
▲
by
ncruces
3y ago
Yeah, IMO the only reason not to switch at $6 is mistrust at the person conducting the experiment: they're tricking me to switch because they know I won. If I knew it was double blind, I'd switch instantly.
890.
▲
by
ncruces
3y ago
The DMA has been in force since November 2022 and became applicable in 2023. There was a grace period for compliance for companies found in violation, because that determination was made after it came into force, not before. You can't
891.
▲
by
ncruces
3y ago
> Correct, and until Apple is threatened with fines, I believe they'll continue doing this until it no longer serves them. Commission fines Apple over €1.8 billion over abusive App store rules for music streaming providers. https
892.
▲
by
ncruces
3y ago
The EU did not compel Apple to have a comercial relationship with Epic. It is Apple who decided that third-party software distributers must comply with certain restrictions, and must sign a contract with them. And it was Apple which tried t
893.
▲
by
ncruces
3y ago
It'd be great if that was visible on the site, beyond the single marketing sentence. I mean, instead of being a credibility booster (which this is, actually), it immediately triggered my BS detector.
894.
▲
by
ncruces
3y ago
It's like to see this (taken from the front page) explained: “Backed by the creator of SQLite.”
895.
▲
by
ncruces
3y ago
You can either pay Apple 30%, or you can pay Apple 27%… and then negotiate terms with your credit card processing provider. How's that not a great deal!?
896.
▲
by
ncruces
3y ago
> Luckily, by custom there is another solution - respect each other boundaries and stop acting like whiny little children. So where does the Apple Music subscription entering the market to compete with Spotify (which came first), without
897.
▲
by
ncruces
3y ago
That sounds harsh: page 2 is opening phrase of the 3rd paragraph of the introduction.
898.
▲
by
ncruces
3y ago
Well I guess it's the “blowing up parameter count to make up for it” that confuses me, but maybe it's just ignorance. Like what would be the expected factor of this blow up to make up the difference between ternary and whatever 16
899.
▲
by
ncruces
3y ago
Some discussion on reddit: https://www.reddit.com/r/golang/comments/1b1hpge/nuke_a_memo...
900.
▲
by
ncruces
3y ago
Very much this.
More ›