Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
awoimbee
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
6 ms
·
31.
▲
by
awoimbee
3y ago
> In the end, we chose the potential dangers of reimplementing command line parsing over the potential issues of including clap Have you considered using argh ? Seems like it has the upsides without the downsides.
32.
▲
by
awoimbee
3y ago
Will this allow running linux VMs on any Android device ? Via something like nestbox: https://www.patreon.com/posts/74333551 ?
33.
▲
by
awoimbee
3y ago
If it's only a cache it should be on EBS, which is still way faster and 2x less expensive. I started a migration to s3 for such a project (container image caching) but then stopped when I realized what I was doing.
34.
▲
by
awoimbee
3y ago
*axum I migrated a rocket project to axum 1~2 years ago, due to rocket being dead at the time. Both frameworks contain all you need to build an API really. But personally I found that: Rocket is easier for beginners, and once you know what
35.
▲
by
awoimbee
3y ago
I'm not a lint fascist, but enforcing them gave our team: - less time reviewing: no more "you forgot to indent here" - less git conflicts: because of differences in trailing comas, line breaks, ... - less (to no more) code st
36.
▲
by
awoimbee
3y ago
We use Tempo and python, implementation was super fast, it now permits optimizing our API endpoints. My conclusion: opentelemetry is great, go for it, find a lib to easily instrument your code
37.
▲
by
awoimbee
3y ago
Looks like grammarly but open source, with custom rules and easy to add to CI. I currently use crate-ci/typos in my CI runs (it's great, humans often miss dumb typos), vale looks like typos but supercharged (but limited to markdow
38.
▲
by
awoimbee
3y ago
Typescript does compile time checking only. Almost all TypeScript programs I've seen just decode JSON received and slap an `as SomethingType`. TypeScript is not strict, so it's easy to write but you can still get type errors.
39.
▲
by
awoimbee
3y ago
Looks to me like a vendor specific language with limited capabilities compared to others. Just use Pulumi TypeScript (self hosted). I'm not affiliated with Pulumi, it's just that unjustified vendor lock-in infuriates me.
40.
▲
by
awoimbee
3y ago
Just use pulumi (self-hosted in blob storage). Using a custom script is not the good choice when you could use the right tool for the job.
41.
▲
by
awoimbee
3y ago
Indeed, running docker on android requires a custom kernel: https://gist.github.com/FreddieOliveira/efe850df7ff3951cb62d... The pixel 6 and 7 have full KVM capabilities tho: https://www.patreon.com/post
42.
▲
by
awoimbee
4y ago
It's what you get with opensuse MicroOS, you upgrade from snapshot to snapshot that are released regularly. I think silverblue works the same but opensuse is easier. I also use Tumbleweed on personal servers, never had issues.
43.
▲
by
awoimbee
4y ago
Note that freenom is known for blocking free domains until users pay up once there's a bit of traffic. I thought it was bullshit until it happened to me.
44.
▲
by
awoimbee
4y ago
The same things you would do on a cluster of raspberry pi, the possibilities are endless!
45.
▲
by
awoimbee
4y ago
How does it compare to https://sequoia-pgp.org/ ? Sequoia has a library and a (sane) CLI.
46.
▲
by
awoimbee
4y ago
What they won't tell you is that this will use the default KMS key, which cannot be shared across accounts. So your S3 bucket objects cannot be shared across AWS accounts by default, unless you setup a custom KMS key and "copy&quo
47.
▲
by
awoimbee
4y ago
I think a good reference is Apple's "retina" brand [1]. For a 27" monitor to be (basic) retina it must be 5K. But yes, there are diminishing returns and resolution isn't everything (I've tried terrible 4K monit
48.
▲
by
awoimbee
4y ago
Then the TV show you love gets cancelled because everyone is pirating it. I guess it's the fault of the studios for pushing us towards piracy, but it's a shame.
49.
▲
by
awoimbee
4y ago
Early (00s) LCDs sucked, I can't even imagine how much a 70's LCD would suck compared to a CRT.
50.
▲
by
awoimbee
4y ago
Would asymmetric PCIe tunneling be possible ? For external GPUs it would be perfect !
51.
▲
by
awoimbee
4y ago
IMO it takes time to get up to speed but then it's pure bliss in terms of reliability. And don't go to yaml hell, use pulumi or equivalent.
52.
▲
by
awoimbee
4y ago
If you plan on running bare-metal I highly recommend RKE2. It just works, it sets up most things for you (CNI included). Don't even think about using kubeadm, it's the worst. It's overcomplicated and the smallest issue will w
53.
▲
by
awoimbee
4y ago
On servers, yes, rootless doesn't make much sense. But on on my dev laptop, "sudo docker" is tiring and adding docker to the sudoers group is a big security hole (why does everyone seem to think that "docker run" gi
54.
▲
by
awoimbee
4y ago
To be fair you can run a microservices stack on a single server and it will be very fast, especially if you use gRPC instead of HTTP
55.
▲
by
awoimbee
4y ago
- fossil fuels are used for Bitcoin mining - Bitcoin mining needs a stable source of energy to run 24/7, something you won't get from eg a single wind mill - building and maintaining renewable energy sources still has an environme
56.
▲
by
awoimbee
4y ago
Couldn't the author pass a reference to a std::string instead of switching to an std::u8string, is that a C++ limitation ? And I really don't understand why the compiler doesn't assume strict aliasing in the first example.
57.
▲
by
awoimbee
5y ago
It would be best to create a kubernetes cluster of phones (reliability, scalability,...). To run containers on Android you currently need to build a custom kernel (1), I hope this feature removes this need. (1) https://gist.github
58.
▲
by
awoimbee
5y ago
The easiest way is to use some kind of manager on top of wireguard. Tailscale is very good and free for a single user (or with headscale) Otherwise there is innernet, wiretrustee, ...
59.
▲
by
awoimbee
5y ago
I could maybe agree if the restrictions were put in the winter, but not in the summer. People have already booked their vacation, and now they need to do a PCR every 2 days to take a train, enjoy restaurants ? That's insane ! To get th
60.
▲
by
awoimbee
5y ago
But chrome uses the GPU a lot more, thus making everything faster. Firefox right now is like Linux a few years back: better CPU performance but little to no GPU acceleration
More ›