Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
mindwok
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
28 ms
·
421.
▲
by
mindwok
4y ago
Works fine if you’re distributing an app, but you can’t distribute a library this way. That’s where something like this is invaluable (although I haven’t used it, I went down this path and landed on Poetry)
422.
▲
by
mindwok
4y ago
As an experienced RHEL admin, a few years ago I probably would have said this is very bad advice in any professional context, and you should spend the time to learn it because it will save you one day. Now, I think my advice would be: Put e
423.
▲
by
mindwok
4y ago
Check out the config adapters: https://caddyserver.com/docs/config-adapters Now you can use your nginx config with Caddy!
424.
▲
by
mindwok
5y ago
Exactly. The article has some valid criticisms of the weirdness of type hinting, but type hinting is a pretty large paradigm shift added to a 20+ year old language. Yes it will have shortcomings, but in my opinion has made working with larg
425.
▲
by
mindwok
5y ago
There’s some places you can’t use a language with a large runtime like Go. For example, operating system kernels, real time embedded systems, game engines, anywhere you want to be extremely careful about memory allocations. You can write go
426.
▲
by
mindwok
5y ago
I’ve spent the last few weeks building an 8080 emulator in Zig to learn both emulator programming and the language. Gotta say, it’s been a pretty pleasant experience. My only issue was with dynamic dispatch, which lead me down quite a rabbi
427.
▲
by
mindwok
5y ago
Podman doesn’t have a daemon, it has a socket that will replicate the docker API. That comes with some limitations, especially around the lifecycle of containers in ie starting containers on boot, restarting unhealthy containers etc which r
428.
▲
by
mindwok
5y ago
If you don’t mind me asking, why did you stop? I’ve been fascinated with Wine development lately and love what Codeweavers do.
429.
▲
by
mindwok
5y ago
There was a fair bit of ops expertise on the team, so I don't think it'd be an issue. If there was none, I'd probably think twice.
430.
▲
by
mindwok
5y ago
Interesting, thanks for the heads up - We didn't have any issues while I was there and probably would just restore if we needed to, but nice to know the footguns.
431.
▲
by
mindwok
5y ago
Gitlab in particular is unbelievably easy to self host. At my last gig I ran it on a t4g Debian instance with unattended upgrades and then just rebooted once a week at like 3am, literally never touched it again and it costs nothing to run.
432.
▲
by
mindwok
5y ago
They mentioned elsewhere it started off as a fork of the Xi editor which is written in Rust. Xi separates the text-editor idea into backend and frontend, and Xi itself is primarily the Rust-based backend which concerns itself with making ed
433.
▲
by
mindwok
5y ago
Even if you can’t get back to the original data you hashed, you’d still only need to pick an input length and then compute a single example that produced that hash to break all the cryptographic uses of hash functions like signatures and pa
434.
▲
by
mindwok
5y ago
It wasn't my intention to dismiss the engineering challenges, I'm aware of how difficult something like this can be at a scale like Airbnb. I was more venting about the fact that all the engineering effort is directed at such a se
435.
▲
by
mindwok
5y ago
Thanks for the perspective, I've never worked in this kind of company so I'm glad to hear you feel your talents aren't going to waste.
436.
▲
by
mindwok
5y ago
Am I crazy to think there’s something wrong with the amount of engineering effort going into these startups? When you have engineers working into the wee hours of the morning because you don’t want a cursor to blink on a text field, I can’t
437.
▲
by
mindwok
5y ago
Also wondered this - Pretty sure it is unless you’re using K3s et al which swap it out for SQLite.
438.
▲
by
mindwok
5y ago
That’s great to know, thank you
439.
▲
by
mindwok
5y ago
Ahh ok. I imagine you would lose all the nice Nitro stuff though like enhanced networking etc which is a bummer.
440.
▲
by
mindwok
5y ago
This project mentions it’s based on the Xen hypervisor and uses EC2 as an example for running it, but haven’t AWS now moved to their own KVM based hypervisor? Would this still work?
441.
▲
by
mindwok
5y ago
Gitlab has ARM binaries for Gitlab runner. I can’t speak for the shared runners you get access to on Gitlab.com but you could always run your own runner and connect it to your Gitlab.
442.
▲
by
mindwok
5y ago
Gitlab self hosted is awesome as well. It’s a single install that embeds everything Gitlab needs and also has a config management system bundled that simplified config enormously (Chef Omnibus for those interested). We just automatically up
443.
▲
by
mindwok
5y ago
Gitlab is probably the single enterprise software product I actually enjoy and advocate paying for. Decisions like this worry me about where they are headed.
444.
▲
by
mindwok
5y ago
Agree. Wine, Proton and associated libraries are allowing Windows to slowly go the way of the dinosaur. If those projects keep delivering I genuinely believe the year of the Linux desktop will slowly approach.
445.
▲
by
mindwok
5y ago
It’s more nuanced than that. Most of the major distributions provide the packages and hence the install scripts (the part which runs as root) and if you don’t trust them then you shouldn’t be running their Linux distribution. Once most soft
446.
▲
by
mindwok
5y ago
Even better, specify by hash - Poetry for Python does this by default. This will prevent cases where malicious actors replace existing versions that you might have pinned to.
447.
▲
by
mindwok
5y ago
That was a good read. Well done pushing that forward, I believe it was the right position to take.
448.
▲
by
mindwok
5y ago
Alpine uses a different C standard library called musl compared to most well known distros that use glibc. You can run into issues if the application makes use of functions in glibc that musl has not implemented. Usually you run into them i
449.
▲
by
mindwok
5y ago
For me, it is a feature. Coming from languages with exceptions, where you have no idea if a function call is going to explode without praying that the library has its exceptions documented or reading the source code, having error values tha
450.
▲
by
mindwok
5y ago
The attack (I think) would work like this: - You own the domain trust.org pointing to IP address 2.3.4.5. - Someone performs a BGP hijack on 2.3.4.5 and now hosts their own server on 2.3.4.5. - They then ask Letsencrypt for a certificate to
More ›