Readit News logoReadit News
mixedCase commented on GraphQL: The enterprise honeymoon is over   johnjames.blog/posts/grap... · Posted by u/johnjames4214
lateforwork · 11 days ago
If you generate TypeScript types from OpenAPI specs then you get contracts for both directions. There is no problem here for GraphQL to solve.
mixedCase · 11 days ago
If you generate OpenAPI specs, and clients, and server type definitions from a declarative API definition made with Effect's own @effect/platform, it solves even more things in a nicer, more robust fashion.
mixedCase commented on Self-hosting my photos with Immich   michael.stapelberg.ch/pos... · Posted by u/birdculture
RadiozRadioz · 20 days ago
If you're the one building the image, rebuild with newer versions of constituent software and re-create. If you're pulling the image from a public repository (or use a dynamic tag), bump the version number you're pulling and re-create. Several automations exist for both, if you're into automatic updates.

To me, that workflow is no more arduous than what one would do with apt/rpm - rebuild package & install, or just install.

How does one do it on nix? Bump version in a config and install? Seems similar

mixedCase · 19 days ago
Now do that for 30 services and system config such as firewall, routing if you do that, DNS, and so on and so forth. Nix is a one stop shop to have everything done right, declaratively, and with an easy lock file, unlike Docker.

Doing all that with containers is a spaghetti soup of custom scripts.

mixedCase commented on Thoughts on Go vs. Rust vs. Zig   sinclairtarget.com/blog/2... · Posted by u/yurivish
dmoy · 21 days ago
For a lot of stuff what I really want is golang but with better generics and result/error/enum handling like rust.
mixedCase · 21 days ago
OCaml is the closest match I'm aware of.
mixedCase commented on Why aren't smart people happier?   theseedsofscience.pub/p/w... · Posted by u/zdw
CamperBob2 · 2 months ago
What else is there?
mixedCase · 2 months ago
Happiness chemicals are the end result, and end result we cannot cause directly, anyway. What leads you there, how the process involves your particular brain and environment, and how it acts as a feedback loop are a higher concern.

Even if one day you could just squirt the cocktail directly into your receptors or otherwise trick them, there's more to happiness as a part of life than turning yourself into a vegetable, but I digress.

mixedCase commented on WASM 3.0 Completed   webassembly.org/news/2025... · Posted by u/todsacerdoti
bborud · 3 months ago
I'm a simple man who has simple needs. I want a better and faster way to pass Go structs in and out of the runtime that doesn't mean I have to do a sword dance on a parquet floor wearing thick knit wool socks and use some fragile grafted on solution.

If there can be a solution that works for more languages: great. I mostly want this for Go. If it means there will be some _reasonable_ limitations, that's also fine.

mixedCase · 3 months ago
You're doing native code, this the solution is the same as in native code: your languages agree on a representation, normally C's, or you serialize and deserialize. Mixing language runtimes is just not a nice situation to deal with without the languages having first class support for it, and it should be obvious why.
mixedCase commented on A security incident that may involve your Plex account information   forums.plex.tv/t/importan... · Posted by u/Shank
cprecioso · 4 months ago
Yep, this was a huge hassle for me, I didn't realize it would happen!

Another option is to do `ssh -L 32400:localhost:32400 <your-plex-address>` and connect to http://localhost:32400/web, it will let you claim the server as it detects the connection being local.

mixedCase · 4 months ago
Thanks for the one-liner, solved it within 30 seconds!
mixedCase commented on Claude Sonnet 4 now supports 1M tokens of context   anthropic.com/news/1m-con... · Posted by u/adocomplete
rocqua · 4 months ago
I wonder why we can't have one LLM generate this understanding for another? Perhaps this is where teaming of LLMs gets its value. In managing high and low level context in different context windows.
mixedCase · 4 months ago
This is a thing and doesn't require a separate model. You can set up custom prompts that will, based on another prompt describing the task to achieve, generate information about the codebase and a set of TODOs to accomplish the task, generating markdown files with a summarized version of the relevant knowledge and prompting you again to refine that summary if needed. You can then use these files to let the agent take over without going on a wild goose chase.
mixedCase commented on The Big Oops in type systems: This problem extends to FP as well   danieltan.weblog.lol/2025... · Posted by u/ksymph
qayxc · 5 months ago
I don't agree with that assessment. The problem is that, staying with your analogy, the fire alarm goes off every time someone has to use the toilet. Plus it's not just the alarm going off, it's the entire fire department showing up and doing a forced rearranging of the furniture throughout the entire building each time.

And no, requirement changes don't have to cause that to happen and they don't have to wreak havoc throughout your application due to poor design decisions.

It's fine to encode rules directly into the type system, but only for rules that are known to be fixed (or at least not likely to ever change) throughout the lifetime of the project. For many business rules, however, this unfortunately doesn't apply.

mixedCase · 5 months ago
I'm sorry if this is rude, but your analogy is completely off the mark.

Rules that are not fixed but still are a requirement for code to work/make sense still merit an explicit encoding in the type system. You can have an interpreter somewhere that makes sense of unstructured data and delegates to the right functions once it's able to parse and slap a type on it, which will be better than a function that has a bunch of conditionals laying around which at some point either force you to duplicate them or make assumptions you're calling the right functions in the right order.

mixedCase commented on All four major web browsers are about to lose 80% of their funding   danfabulich.medium.com/al... · Posted by u/dfabulich
nancyminusone · 8 months ago
I'm not exactly sure why I should find a corporate entity any less centralized or unelected or not respectful of rights than a government
mixedCase · 8 months ago
Governments are elected every now and then by large sums of people as a package deal for handling a number of issues, and only one is in place. Products and companies exist in multiples and regardless of how big they are, they're still more targeted, and you the consumer get to choose directly and every day.
mixedCase commented on New York Times shut down Tor Onion service   open.nytimes.com/https-op... · Posted by u/vaygr
dralley · 9 months ago
"Biden regime"
mixedCase · 9 months ago
https://www.merriam-webster.com/dictionary/regime

https://en.wikipedia.org/wiki/Regime

Relevant quote: "In politics, a regime (also spelled régime) is a system of government that determines access to public office, and the extent of power held by officials. The two broad categories of regimes are democratic and autocratic."

It is true that as a term it has accrued some negative connotations due to the frequent use of the all-encompassing "regime" to speak of governments where their exact denomination tends to fall on the autocratic side of things. From a journalistic point of view, it is better to use a neutral term than a charged one; which unfortunately as you've noticed yourself it can taint the term to readers who are not familiar with its exact scope.

But it is correct to call it Biden's regime, just like the current administration (perhaps a better term given its popularity in the US) is part of Trump's regime.

u/mixedCase

KarmaCake day4384February 6, 2016View Original