Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
TheDong
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
48 ms
·
811.
▲
by
TheDong
3y ago
Our use-case was redis servers, one of your supposedly good use-cases for testcontainers. I didn't mention, but the testcontainer code also preferred to add that network io to the actual test runtime, which made measuring the test'
812.
▲
by
TheDong
3y ago
> This seems to be quite a contradiction. If it's so easy to just write from scratch, then why would it be scary to depend on? It's easy to write an implementation specific to your existing project's development environmen
813.
▲
by
TheDong
3y ago
The problems with the API they point out are almost all things that rust's ownership system was built to solve. Things like: slices.Sort(s) // correct slices.Compact(s) // incorrect slices.Delete(s, ..
814.
▲
by
TheDong
3y ago
There is at least one bug bounty available for all open source projects. I run a bug bounty where if you tell me about the high level details of a bug and it sounds interesting, I will buy you a drink (up to $20, so that's the bounty)
815.
▲
by
TheDong
3y ago
They're read-only because I use a dotfile manager for them, and that manager owns the contents of those files, so it doesn't want external changes to mess with them. I'm specifically using home-manager [0], but various other
816.
▲
by
TheDong
3y ago
Before sendenv, but with magicwormhole (which it's built on top of): machine1 $ export var1=hello machine1 $ export -p var1 | wormhole send --text - On the other computer, please run wormhole receive 1-word-word ma
817.
▲
by
TheDong
3y ago
Writing compilers is mostly aided by having a robust type-system and elegant tooling for parsers and AST transformation and so on. Writing a compiler requires computer science knowledge, requires thought. Haskell I think is a perfect exampl
818.
▲
by
TheDong
3y ago
systemd-oomd [0]. You can also use facebook's oomd, but the systemd one is basically the same and slightly better. If you want, you can also write your own custom memory pressure handler using the recent PSI features: https:/
819.
▲
by
TheDong
3y ago
The Nexus 6 (2014) can still run a version of android with security patches: https://wiki.lineageos.org/devices/shamu/ Google no longer offers security patches directly, but since you control the phone sufficientl
820.
▲
by
TheDong
3y ago
The english language is full of ambiguity if you choose to be pedantic, yet somehow most people manage to communicate. The fact that you knew I was referring to rust's license means my English was in fact not undefined, but exactly as
821.
▲
by
TheDong
3y ago
Monopoly rings hollow when it comes to a community open source project. Monopolies are bad when they stifle progress, but rust's written under a free software license. At any point, anyone can take the project and fork it into a new on
822.
▲
by
TheDong
3y ago
Or systemd's systemd-oomd https://github.com/systemd/systemd/pull/15206 The answer for both of those is "if you're unfortunate enough to be running a 2.6 kernel linux server from 2005, then you
823.
▲
by
TheDong
3y ago
The human using photoshop is providing the creativity, and thus the human using photoshop owns the copyright, if they do sufficiently creative work (like actually drawing). However, when using the current image gen AIs, the input you provid
824.
▲
by
TheDong
3y ago
Copyright law as it exists allows a creative process to create transformative works. Computers cannot create copyright. They are not creative. Just because I save your image as webp or jpeg or whatever doesn't mean I have changed the c
825.
▲
by
TheDong
3y ago
See https://en.wikipedia.org/wiki/Craigslist_Inc._v._3Taps_Inc . The CFAA says that "having knowingly accessed a computer without authorization or exceeding authorized access [is a federal crime]". The courts
826.
▲
by
TheDong
3y ago
If I buy a lawn mower from John Deer, I should have a right to unscrew the top, look inside, and make repairs. I own the lawn mower. It's being used on my lawn. If I buy a printer from Canon, I should have the right to refill the ink c
827.
▲
by
TheDong
3y ago
Using the same code across more OSs than just linux seems nice. Also, it's based on code by the wireguard author: https://git.zx2c4.com/wireguard-go They customized it some, but it's all more or less upstream cond
828.
▲
by
TheDong
3y ago
Whether it makes them or not, it is integrating them into the car, and VW also obviously has more experience integrating brakes into a full car. I'm sure you could have read "make" charitably as "making and/or integ
829.
▲
by
TheDong
3y ago
The comparison is between old car manufacturers who have been perfecting building standardized parts for 10s of years, and between tesla who is still figuring that part out too. Both VW and Tesla have been making EV-specific components for
830.
▲
by
TheDong
3y ago
> Golang doesn't really solve the problems of newbies, it just punts the issues to runtime where they will likely end up causing breakage in production. The GC in Go punts the issue of memory management to the runtime, but does so i
831.
▲
by
TheDong
3y ago
Go solves an industry wide unchanging problem. In the words of Rob Pike: "The key point here is our programmers are Googlers, they’re not researchers. They’re typically, fairly young, fresh out of school, probably learned Java, maybe l
832.
▲
by
TheDong
3y ago
The legal process has played out. The Omegle founder has been faced with having to spend possibly hundreds of thousands in legal fees, and as such has decided to turn off the site without going to court. The legal process playing out rarely
833.
▲
by
TheDong
3y ago
I think it depends on the situation, but there's some legitimate defense-in-depth benefits here. I've personally run across "dump.sql" files before in public s3 buckets, and as I understand it, this would help in that ca
834.
▲
by
TheDong
3y ago
First, you complain that the person started by explaining the current state of the art and why a better solution is needed ("don't bury the lede"). Second you wonder if the problem is worth solving and what the current state
835.
▲
by
TheDong
3y ago
zfs has "zfs set dedupe=on", which does exactly what you would think. There's also compression, and compression ends up deduplicating data fairly naturally. Other filesystems with compression (like bcachefs) also naturally ma
836.
▲
by
TheDong
3y ago
You don't have to pick an exact moment, but there are several clear moments of fraud. The biggest moment of fraud was whenever alameda's FTX account was allowed to have a riskier position than a normal account, including holding a
837.
▲
by
TheDong
3y ago
I just can't tell what you want. Like, colleges right now provide "shortcuts and simple experiments" to approximate knowledge that was gained with a much more rigorous path. Yet, you decry current college as not showing the f
838.
▲
by
TheDong
3y ago
Colleges have 4 years, and most important discoveries took a brilliant person a lifetime of work. How do you propose we give more detailed explanations and information for proving everything for yourself? Should college last a few hundred y
839.
▲
by
TheDong
3y ago
To me, the largest benefit isn't even related to "bad guys", but rather in being able to understand and debug issues. Reproducibility makes bugs more shallow. If hydra builds a bit-for-bit identical iso to what you build loca
840.
▲
by
TheDong
3y ago
The closest equivalent to the nixos ISO builder and reproducibility related to it in the fedora ecosystem is osbuild / imagebuilder - https://www.osbuild.org/guides/introduction.html Imagebuilder claims reproducib
More ›