HackerTrans
TopNewTrendsCommentsPastAskShowJobs

kiitos

no profile record

comments

kiitos
·hace 7 meses·discuss
1h of downtime per month means you're delivering at best two 9s of availability. again that may be fine for lots of applications but it's trivial scale, and certainly a couple orders of magnitude below what aws and cloudflare provide

taking a step back, if your application's db requirements can be satisfied by sqlite [+replication] then that's great, but that set of requirements is much narrower, and much easier to solve, than what postgres is for
kiitos
·hace 7 meses·discuss
> You're going to have down time for migrations unless you're very clever with your schema and/or replicas.

probably worth stating these kinds of design considerations/assumptions up-front

i'm sure lots of applications are fine with "downtime for [database] migrations" but lots more are definitely not, especially those interested in synthetic metrics like TPS
kiitos
·hace 7 meses·discuss
and that your application doesn't need to be resilient to host or network faults
kiitos
·hace 8 meses·discuss
"setting a field to true" clearly means `x.field = value` and not `x.field.Set(value)`
kiitos
·hace 8 meses·discuss
> I have been writing production applications in Go for a few years now.

sorry, what?

https://gaultier.github.io/blog/a_million_ways_to_data_race_...

this code is obviously wrong, fractally wrong

why would you create a new PricingService for every request? what makes you think a mutex in each of those (obviously unique) PricingService values would somehow protect the (inexplicably shared) PricingInfo value??

> the fix

https://gaultier.github.io/blog/a_million_ways_to_data_race_...

what? this is in no way a fix to the problem.

it's impossible to believe the author's claims about their experience in the language, this is just absolute beginner stuff..
kiitos
·hace 8 meses·discuss
> setting a field to true from potentially multiple threads can be a completely meaningful operation e.g. if you only care about if ANY of the threads have finished execution.

this only works when the language defines a memory model where bools are guaranteed to have atomic reads and writes

so you can't make a claim like "setting a field to true from ... multiple threads ... can be a meaningful operation e.g. if you only care about if ANY of the threads have finished execution"

as that claim only holds when the memory model allows it

which is not true in general, and definitely not true in go

assumptions everywhere!!
kiitos
·hace 8 meses·discuss
the distinction between "concurrent use" and "concurrent modification" in go is in no way subtle

there is this whole demographic of folks, including the OP author, who seem to believe that they can start writing go programs without reading and understanding the language spec, the memory model, or any core docs, and that if the program compiles and runs that any error is the fault of the language rather than the programmer. this just ain't how it works. you have to understand the thing before you can use the thing. all of the bugs in the code in this blog post are immediately obvious to anyone who has even a basic understanding of the rules of the language. this stuff just isn't interesting.
kiitos
·hace 8 meses·discuss
"running into memory issues" doesn't relate to memory safety as a property
kiitos
·hace 8 meses·discuss
> Matrix wants to be an encrypted IRC or Slack

matrix's users want it to be a decentralized/encrypted irc/slack, but unfortunately matrix's maintainers believe their mandate is to build a next-gen tcp/ip (or something very close to that)

which dooms the project
kiitos
·hace 8 meses·discuss
https://www.promptfoo.dev/blog/grok-4-political-bias/

> Grok is more right leaning than most other AIs, but it's still left of center.

https://github.com/promptfoo/promptfoo/tree/main/examples/gr...

> Universal Left Bias: All major AI models (GPT-4.1, Gemini 2.5 Pro, Claude Opus 4, Grok 4) lean left of center

if every AI "leans left" then that should hopefully indicate to you that your notion of "center" is actually right-wing

or, as you said: reality has a left bias -- for sure!
kiitos
·hace 8 meses·discuss
this is an overly simplistic and somewhat reductive perspective on a pretty fundamental concept/primitive

> they were designed to turn single-threaded code into multi-threaded

not really

> usually a single point of contention quickly becomes a problem.

not generally, no

> They're liable to deadlocks/livelocks,

deadlocks/livelocks are orthogonal to any specific primitive

> They're also often backed byOS primitives (with big overheads) with inconsistent behaviors between platforms (spinlocks, waiting etc).

the mutex as a primitive is orthogonal to any specific implementation...

etc. etc.
kiitos
·hace 8 meses·discuss
what? stone ages?

god forbid someone prioritize concrete user experience over abstract interoperability
kiitos
·hace 8 meses·discuss
I think you're wildly over-indexing on a statistically insignificant number of users and their expectations
kiitos
·hace 8 meses·discuss
you're just affirming the consequent here, listing various properties of pgp as requirements

in practice, few, if any, of your enumerated "wants" are valuable enough to outweigh their costs to complexity

this should be pretty clear from the fact that statistically nobody uses pgp
kiitos
·hace 8 meses·discuss
why would apple do this? it's all cost and no benefit.

companies actually can build and ship stuff that isn't inter-operable with the world, this is Actually Good for user experience
kiitos
·hace 8 meses·discuss
much more than that -- more often than not, IME
kiitos
·hace 8 meses·discuss
my point with memory safety is that it is not a single well defined concept

so if you wanna talk about it you at least gotta say which definition you're using
kiitos
·hace 8 meses·discuss
probably should define memory safety before using it as an evaluation criterion

otherwise, not sure who the audience of this piece is supposed to be, but it's written in a pretty combative tone, which will not be persuasive to anyone who isn't already persuaded, so i guess more of a rant than anything worth sharing here
kiitos
·hace 8 meses·discuss
dunno about the rest of your post but phonobar is legit, it's tiny but it has a dance floor and regularly hosts top-tier talent
kiitos
·hace 8 meses·discuss
i think what the author is characterizing as "free software" is probably better described as "software with bad UX"