Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
cle
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
72 ms
·
751.
▲
by
cle
6y ago
This looks very similar to Amazon Simple Workflow, which has been effectively superseded by Step Functions, which uses static workflow definitions that look very similar to GCP Workflows. Why do you think AWS moved away from this model?
752.
▲
by
cle
6y ago
I disagree that they’re like exceptions. Sure they share state but that’s not a core characteristic of exceptions. Contexts leave it up the consumer to decide when to care about state changes, something exceptions definitely do not. Conte
753.
▲
by
cle
6y ago
It’s not about immutability, it’s about cascading contexts, all the Context “With” functions create children that are automatically cancelled when any ancestor is cancelled.
754.
▲
by
cle
6y ago
What is meant by "trustless" here?
755.
▲
by
cle
6y ago
I’m not surprised at all. If you follow the Rust community, this is an endless debate. It’s totally off-putting to me and makes me want to avoid the language altogether.
756.
▲
by
cle
6y ago
They couldn’t verify it’s free of malware no matter how much scanning they do. That’s not quibbling with details, it is the fundamental claim that Apple is making.
757.
▲
by
cle
6y ago
I think we all agree on what the security benefits are, because we know what’s going on. But Apple is telling users that they can’t verify it’s free from malware, implying that all notarized code is free from malware, which is a ridiculous
758.
▲
by
cle
6y ago
These days, server-class machines are often ephemeral and spun up-and-down based on demand. At work, I operate services that have 2 GB of Java code packages, and others that use a single 10 MB Go binary. Guess which one can scale up much
759.
▲
by
cle
6y ago
I often understand code based by refactoring things. And then I throw it all away. I use it as a way to play with the codebase and understand the rationale behind its design and organization. Sometimes other people do that too, they just
760.
▲
by
cle
6y ago
> 95% of programming isn’t hard > It’s easy to screw up the 95%, though To me, those just don't seem like compatible assertions. If something isn't easy to get right, what else do I call it but "hard"?
761.
▲
by
cle
6y ago
> Either Blender is so big that it can’t be maintained without the financial support of big businesses, or the financial support of big businesses are a negative influence on OSS projects. Which one is it? It can be both. That’s what my
762.
▲
by
cle
6y ago
This works against them in many ways. They're also more likely to say "that wouldn't work", and to be otherwise biased by their prior experience.
763.
▲
by
cle
6y ago
That was never a mystery to begin with.
764.
▲
by
cle
6y ago
Theoretically sure you can "just fork it". In practice, for complex software, it carries enormous cost. In that case "just fork it" means "organize dozens of engineers willing to volunteer their time (or pay them)
765.
▲
by
cle
6y ago
Yeah that's a good callout. Some heavy cardstock vs. scritta paper would have dramatically different weights.
766.
▲
by
cle
6y ago
It's not a big if, this is standard practice in the US legal system. They weigh the drug + medium. If you have 1-9 grams, including the paper, minimum first offender sentence is 5 years. With the paper that's only a few doses.
767.
▲
by
cle
6y ago
Yes: https://supreme.justia.com/cases/federal/us/500/453/
768.
▲
by
cle
6y ago
Not when you include the blotter paper in the weight, which is what police often do, in that case it'd likely be <10 doses.
769.
▲
by
cle
6y ago
The whole point of this kind of thing is to be able to influence the software that your business relies on. It's certainly possible that Microsoft (or any other company with the $$$) can influence the strategic direction of Blender in
770.
▲
by
cle
6y ago
I know there are mechanisms to customize Google’s crawler on a domain. That’s not what I’m objecting to, I’m objecting to the loss of control over my data.
771.
▲
by
cle
6y ago
How else would they know about it unless the CA told them?
772.
▲
by
cle
6y ago
Most of this is beyond my understanding of TLS, but the first time I read about CT my first thought was, “So Google is pushing a technology that would let them know about every new HTTPS domain on the Internet?” Am I right to be suspicious
773.
▲
by
cle
6y ago
Their goal is not to support you nor to help you solve problems. Their goal is to extract a larger share of wallet. They’re automating the parts that will not impact their ability to upsell, the rest of it will go to humans who use all sor
774.
▲
by
cle
6y ago
In my experience, these kind of bugs happen overwhelmingly with enums. The nature of enums makes this mistake pretty easy to make. Enums are otherwise fantastic tools, I’m just pointing out that in certain common contexts they have some e
775.
▲
by
cle
6y ago
That's only one way to handle an error. The benefit is that it's explicit, not implicit, and it's a psychological nudge to ask yourself "oh yeah this could produce an error, how should I handle it?". I can scan co
776.
▲
by
cle
6y ago
Having used enums with large teams across many distributed systems over the years, enums are my least favorite type in that setting, because it's very easy to write an enum that does not tolerate unknown/new values (they usually d
777.
▲
by
cle
6y ago
There is some unfortunate boilerplate involved for scripting, but the benefits dramatically outweight that minor annoyance, IMO. Also, as the script accretes complexity (which happens quite often for me), the disciplined error handling sta
778.
▲
by
cle
6y ago
There is not a language as batteries-included as Go, that I've found. The standard lib includes almost everything, including an excellent HTTP server and client (even an HTTP proxy), a test framework, JSON/XML/CSV libs, SQL
779.
▲
by
cle
6y ago
I used to use shell scripts and jq a lot, but got tired of my scripts growing into monstrous mudballs of Bash hackery. I do my scripting mostly in Go now and it's much easier to structure my code and grow it over time. I sometimes use
780.
▲
by
cle
6y ago
Go is designing generics around the language tenets, which are quite different from Java's. In themselves, generics aren't particularly interesting...it gets interesting when you start considering the tradeoffs you need to make i
More ›