Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
mixedCase
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
8 ms
·
61.
▲
by
mixedCase
3y ago
.envs generally aren't full blown shell, so you don't have `export` available. With that said, I keep a shell function in my .zshrc which, when given a .env file (or when not given one, assuming $PWD/.env) will set -a, source
62.
▲
by
mixedCase
3y ago
A "runtime type system" does, meaning something like io-ts or zod. It also allows statically typing and transforming env strings into much more useful and complex structures.
63.
▲
by
mixedCase
3y ago
You can easily have both .env and types. On any TypeScript project you can just pass your process.env through an io-ts, zod or similar library and keep it in a side-effectful module which validates on first import and keeps it globally avai
64.
▲
by
mixedCase
3y ago
Do they work in Brave? Still Blink, but removes Google's direct control of your browser and many of its misfeatures/malware.
65.
▲
by
mixedCase
3y ago
That's not really the point. The point is to take away control from Google's user-hostile decision making, and that's a good chunk of the value proposition of Brave as a fork/patchset.
66.
▲
by
mixedCase
3y ago
Convince everyone you know to switch browsers. Tell them the truth we all know: If people keep using Google Chrome, they'll take away ad blocking, they'll block you from copy-pasting, taking screenshots, anything you know the usua
67.
▲
by
mixedCase
3y ago
Don't modern keyless fobs use something akin to TOTPs? A well kept clock can easily prevent relay attacks.
68.
▲
by
mixedCase
3y ago
It's just what the human palate does. It adapts to circumstance. Skip sugar and sweet stuff for a few months and when you try it again everything tastes much sweeter than before. Same with salt. Same with acidity. And surely other thin
69.
▲
by
mixedCase
3y ago
In that particular case, Reddit has a usable browser interface that works on desktop (old.reddit.com) but it doesn't have a mobile equivalent.
70.
▲
by
mixedCase
3y ago
Alternatively, io-ts is more performant and has been around for a while longer. Although it does have a more functional interface.
71.
▲
by
mixedCase
3y ago
It's not a problem of federation, it's a problem with ActivityPub or at least the networks built on it. The current system is echo-chambery in nature because your instance owner does not only control your own speech being hosted t
72.
▲
by
mixedCase
3y ago
XDG portals are just APIs that applications can implement and use. Regardless, do you not trust the applications that you run natively?
73.
▲
by
mixedCase
3y ago
The problem is that when you go beyond DDL, or you want to execute backwards incompatible DDL changes, you can no longer make these migrations declaratively.
74.
▲
by
mixedCase
3y ago
An RO filter is not accesible to the majority of the population.
75.
▲
by
mixedCase
3y ago
The difference in real world performance between web servers written in things like Python or Ruby to those written in Go, C# or even lower-level languages like Rust would indicate that's an over-estimation of how much IO dominates tot
76.
▲
by
mixedCase
3y ago
As you said it: Of course, that's you. But not everyone walks the same path towards robust coding, let alone coding.
77.
▲
by
mixedCase
3y ago
You may have to do some bindings yourself, I remember once looking to try out a libadwaita widget and it wasn't fully supported in the available bindings, don't know about the full library of gtk4-specific widgets. As for feature
78.
▲
by
mixedCase
3y ago
Relm4 is actually based on gtk-rs, and you will be using gtk-rs widgets all the time. I have to say however that despite heroic efforts by the authors, it doesn't really feel as nice as the "real" Elm architecture precisely b
79.
▲
by
mixedCase
3y ago
> Testability, tooling and the open-source ecosystem and either bad or non-existent If you're properly testing the code in your application that exercises persistence, that means your test harness runs a real database like the one y
80.
▲
by
mixedCase
4y ago
On the desktop, newer kernel usually means more stable, although it becomes less true as the hardware running it ages.
81.
▲
by
mixedCase
4y ago
Yep, even the Lelit Bianca which is a dual-boiler and has both flow control and a pressure knob is still cheaper than the cheapest Decent despite the much more robust build.
82.
▲
by
mixedCase
4y ago
> Inflation is also good for those that own assets as their relative value to dollar increases. That's not "good", it's just less bad, because as soon as they want to turn those assets liquid they run into the same pr
83.
▲
by
mixedCase
4y ago
Using Rust and esp-idf you can simply call the standard library threading facilities if you want to do concurrency, and it's all handled in the background by FreeRTOS for you.
84.
▲
by
mixedCase
4y ago
TypeScript is not a feature of JavaScript, and the ability to have single-threaded IO event loops is far, far, far from something modern, unique or remarkable about a language, the fact that it's limited to single-threads actually make
85.
▲
by
mixedCase
4y ago
If you're willing to consider a piece of advice, even the most complex rude goldberg-style codebases will yield to the program entry point. From there, you can start pulling at the wool and process it one knot a time. It's tedious
86.
▲
by
mixedCase
4y ago
You could've shortened that to: You're paying for the cloud integration and the management software* Most paid software has no relationship between its price and business costs. That's what makes software special from the bus
87.
▲
by
mixedCase
4y ago
How does your comment explain that smaller communities are doomed to failure? It seems you disagreed and went on a very wild tangent far away from the idea the GP brought up, and in fact may only reinforce it.
88.
▲
by
mixedCase
4y ago
> Yeah, I know about LLAMA, but as I understand - it's not exactly legal to use and share it. For anyone keeping track, this is when you update your cyberpunk dystopia checklist to mark off "hackers are running illegal AIs to c
89.
▲
by
mixedCase
4y ago
The thing you're laughing at is how you deal with coffee grinders that spit out clumpy coffee. If you don't break the clumps, the high pressure water from an espresso machine will distribute unevenly throughout the puck (choosing
90.
▲
by
mixedCase
4y ago
The GP is referring to the political costs of changing bad code, not the technical challenges which are almost always manageable by any experienced programmer. Egos, however.
More ›