Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
cakoose
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
8 ms
·
31.
▲
by
cakoose
4y ago
Yeah, but the phrasing seems likely to mislead. It sort of implies that a Turing-complete type system can express all truths.
32.
▲
by
cakoose
4y ago
> This matters because understanding that a normal type system is not Turing-complete means that there are truths it can't express. I thought Godel's incompleteness theorem makes this true for all systems of proofs beyond a cer
33.
▲
by
cakoose
4y ago
While Python is not high performance overall, people have spent a ton of time optimizing the memory management. So while it's not definitive proof of reference counting being slow, it seems like a fair initial question.
34.
▲
by
cakoose
4y ago
Re: "it's well understood reference counting is garbage collection". I think this might just be a terminology thing. There appear to be two ways the terms are categorized: 1. "reference counting" and "garbage c
35.
▲
by
cakoose
4y ago
A worse case is when you spend effort to make it smart, made decisions that rely on being smart, and then it suddenly becomes not smart at some point.
36.
▲
by
cakoose
4y ago
> SQLite has the following noticeable features: self-contained, serverless, zero-configuration, transactional. This "serverless" part confused me initially, since that term has somehow come to mean "the platform handles ro
37.
▲
by
cakoose
4y ago
> The business value-added per developer is 80% from flow state and 20% from non-flow state following the Pareto principle. That's not what the Pareto principle says, is it? Am I missing something?
38.
▲
by
cakoose
4y ago
Started something new last year and was considering Heroku, but their HA database offering uses async replication: https://devcenter.heroku.com/articles/heroku-postgres-ha#fai... > Like followers, standbys are kept
39.
▲
by
cakoose
5y ago
> For instance, you could talk about how easy containerization of CI/CD makes it easier to move your pipeline where impact is lowest. Or that you can control your own impact rather than leave it up to the whim of someone like Circle
40.
▲
by
cakoose
5y ago
Sure, but the original post said that it was a concern for Git but not for Fossil. I was wondering why that is.
41.
▲
by
cakoose
5y ago
I think the original comment was talking about a generic sync utility, not about Fossil's or Git's own protocols: > so it’s extremely to just back it up or keep the repo in cloud storage A single big file seems like it would ca
42.
▲
by
cakoose
5y ago
> What can your team do to reverse this tragedy of the commons? It's tragedies all the way down :-) Making a successful tool in a competitive space is hard enough. Asking a creator to somehow factor in environmental impact isn'
43.
▲
by
cakoose
5y ago
That's surprising. Doesn't it seem like one big file would increase the odds of a sync conflict?
44.
▲
by
cakoose
5y ago
This code has a bug that can cause the count to be overreported. The last `file.Read` may only partially fill the buffer, but this code will look for 1s in the entire buffer. (This bug won't affect the performance comparison, but I was
45.
▲
by
cakoose
5y ago
The previous post on this blog makes another worthless comparison, this time based on lines of code: https://withinboredom.info/blog/2022/03/16/my-favorite-langu... > Like, look at this Merge Sort in
46.
▲
by
cakoose
5y ago
Yeah, it's a huge distraction from your core business. I work at a company that tries to take care of it for you: https://anrok.com I suspect (hope) that in a few years most billing/payment systems will take care of th
47.
▲
by
cakoose
5y ago
> Using Stripe Tax to only handle tax for customers in the home region of the company when the company also sells outside the home region seems like a strange goal. It's a common goal. When becoming compliant with sales tax laws, it
48.
▲
by
cakoose
5y ago
This was 5+ years ago so I'm a little hazy on the details. A lot of it was just plugging into our infrastructure for config, service discovery, rate limiting, logging, etc. - Logging the exact metrics we wanted to our metrics service.
49.
▲
by
cakoose
5y ago
To clarify, are you saying that: 1. There are already good reverse proxy libraries in C#? 2. There are already good reverse proxy libraries in other languages? 3. There are already good reverse proxy applications ? If it's #1, then ye
50.
▲
by
cakoose
5y ago
Your query returns 5 rows total. The EdgeDB query returns all movies that Zendaya is in [1] and, along with each movie, the first 5 credited actors. Also, it looks like your version also does implicit joins (like EdgeDB), but I'm not s
51.
▲
by
cakoose
5y ago
The C collation applied to UTF-8 just orders everything by Unicode codepoint.
52.
▲
by
cakoose
5y ago
Even if Ekaros is single without children, I don't see how one can grow up in a society without understanding how difficult it would be for a parent to give up their child. Adoption may be the best option for some people in some situat
53.
▲
by
cakoose
5y ago
> For example, it is well known that an iCloud hack leaked the photos of many celebrity women and was dubbed "the fappening", only possible because they were stored in a viewable format without e2e. I thought the 2014 iCloud ha
54.
▲
by
cakoose
5y ago
I'm viewing the page on Firefox for Android and it looks sort of like the exploit works. Anyone else?
55.
▲
by
cakoose
5y ago
Oh whoops, my previous response was about which collation I (want to) use. Were you asking which DB I use? The answer is Postgres. I have some previous experience with MySQL and there are advantages and disadvantages. The biggest advantage
56.
▲
by
cakoose
5y ago
I think the behavior of the "C" collation is what most software developers expect. Plus, there is an advantage to the behavior being the same everywhere, rather than dependent on the system/environment settings. But those pre
57.
▲
by
cakoose
5y ago
Since I didn't specify the default collation when creating my database, Postgres inferred it from my system, so I ended up with "en_US.UTF-8". The "C" collation is probably what most developers expect. The only supp
58.
▲
by
cakoose
5y ago
Specifically about UTF-8 in Postgres: "PostgreSQL collation is a massive footgun" https://gist.github.com/rraval/ef4e4bdc63e68fe3e83c9f98f56af... Postgres defaults to the system's collation for UTF-8, wh
59.
▲
by
cakoose
5y ago
For companies in Google's situation, a common tactic is to stop infringing ASAP and then find a workaround. Since patents are typically for mechanisms rather than features, Google might be able to implement a roundabout mechanism to ac
60.
▲
by
cakoose
5y ago
The Linus "work of art" quote is slightly misleading. Here it is with more context: Can I just once again state my love for it and hope it gets merged soon? Maybe the code isn’t perfect, but I’ve skimmed it, and compared to the h
More ›