Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
jbboehr
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
9 ms
·
61.
▲
by
jbboehr
4y ago
Yeah, I did this too. It's not that surprising considering that typically end-users only interact with phony targets (all, clean, install, etc).
62.
▲
by
jbboehr
4y ago
> All of this was inspired by someone who replaced the rc scripts in their init system with a Makefile in order to allow processes to start in parallel while keeping the dependencies in the right order. Any sufficiently complicated init
63.
▲
by
jbboehr
4y ago
Procedural macros[0] in Rust seem to fit this a bit. Although you don't see the generated code unless you use something like cargo-expand[1]. [0]: https://doc.rust-lang.org/reference/procedural-macros.html [1]: h
64.
▲
by
jbboehr
4y ago
You can also "leak" rows in a traditional RDBMS or even a filesystem. Why is this particular notable for Redis?
65.
▲
by
jbboehr
4y ago
Stellaris was ported to console and works fairly well! I still would rather play it with a keyboard and mouse, of course :)
66.
▲
by
jbboehr
4y ago
Listing all packages is a bit of a weak spot. The entire package set is described in a lazy, functional language and listing or searching it requires evaluating the entire thing. A normal build will only require evaluating a small subset of
67.
▲
by
jbboehr
4y ago
Phar[0] is used for some command line tools (for example composer), I wonder why it's not used more in web applications? [0]: https://www.php.net/phar
68.
▲
by
jbboehr
4y ago
Have you seen pnpm[0]? Has some similarities. > Files inside node_modules are cloned or hard linked from a single content-addressable storage Also (IIRC, it's been a long while) it's lockfile contains enough information to tran
69.
▲
by
jbboehr
4y ago
talloc[0] is a pretty cool allocator that also has the ability to do this sort of thing. [0]: https://talloc.samba.org/talloc/doc/html/index.html
70.
▲
by
jbboehr
4y ago
NixOS uses systemd, although wrapped in their own DSL, example: https://github.com/NixOS/nixpkgs/blob/24903b5de2e07cc7b65eae...
71.
▲
by
jbboehr
4y ago
> Languages generally release with this (ie Swift, PHP), rather than add it later PHP did not get nullable types until 7.1 [0]. Function arguments (only) supported it in PHP 5 with the syntax `function(stdClass $arg = null)` but I would
72.
▲
by
jbboehr
4y ago
Well there's also this concept [0]: > Radiation hormesis is the hypothesis that low doses of ionizing radiation (within the region of and just above natural background levels) are beneficial, stimulating the activation of repair mec
73.
▲
by
jbboehr
4y ago
Where does GochiUsa go wrong? Or, more likely, people don't want to say the whole title because it's too long. Weebs being weebs are going to prefer the Japanese abbreviation sometimes. Is there a version of Hanlon's Razor th
74.
▲
by
jbboehr
4y ago
> String (linked list of Char) That... sounds awful for performance. Is that a real thing?
75.
▲
by
jbboehr
4y ago
> The source code for the fusionauth-app bundle and all closed source libraries owned by FusionAuth cannot be decompiled or reverse engineered. This prevents companies from forking FusionAuth and creating their own solution to sell to th
76.
▲
by
jbboehr
4y ago
But it seems like everything that uses YAML has to reinvent programming languages in YAML, and YAML has it's own share of footguns. At least Nix is designed for it's purpose.
77.
▲
by
jbboehr
4y ago
Another option: I often just manually vendor the nix files for the version of the package and/or service I want. You can supply a particular package version to most services e.g. `services.nginx.package`. Or if you need to vendor a ser
78.
▲
by
jbboehr
4y ago
Docker has it's own "paper cuts." Such as only being able to cache sequential build steps, not being very reproducible, etc.
79.
▲
by
jbboehr
4y ago
Not a coincidence: > The Atomic Energy Commission (AEC) established the Plowshare Program in June 1957 to explore the peaceful uses of nuclear energy. The program took its name from the Bible (Isaiah 2:4), "they will beat their swor
80.
▲
by
jbboehr
4y ago
Slightly off-topic, but a personal pet peeve of mine is `<meta name="viewport" content="user-scalable=no" />`. My vision isn't as great as it used to be and not being able to zoom is awful. I usually just
81.
▲
by
jbboehr
5y ago
Well, in an unverified poll, it would be more likely be some rando: https://slatestarcodex.com/2013/04/12/noisy-poll-results-and...
82.
▲
by
jbboehr
5y ago
Only answering with what I'm familiar with, but AWS S3 provides access logs: https://docs.aws.amazon.com/AmazonS3/latest/userguide/Server...
83.
▲
by
jbboehr
5y ago
Interesting, reminds me of the student loan debt bubble.
84.
▲
by
jbboehr
5y ago
> I've written code that uses ReactPHP, and I can't see why every lib you use needs to be developed for ReactPHP. My guess is that you're an inexperienced dev. Not OP, but perhaps every library is a bit of an overstateme
85.
▲
by
jbboehr
5y ago
> The fact that I needed multiple processes (nginx+fpm) I believe you can have fpm listen on TCP and run nginx in another container if you want, although I haven't tried it so I can't vouch for it.
86.
▲
by
jbboehr
5y ago
AFAICT, that behavior was fixed with the release of PHP 7.1 in 2016.
87.
▲
by
jbboehr
5y ago
I've inadvertently done something against Linode's ToS twice and both times they contacted me to get the issue resolved, my account was never locked. So take this as a +1 for them, at least on this front.
88.
▲
by
jbboehr
5y ago
> Rust is overused where Haskell or OCaml is more appropriate Except then I'd have to learn Haskell or OCaml :) As a curly-bracket language programmer, Rust was much easier for me to get into and feels more like home.
89.
▲
by
jbboehr
5y ago
Basically all of my favorite games get worse simulation performance (FPS or UPS) the longer you play as the simulation becomes more complex (Factorio, RimWorld, Oxygen Not Included, Kerbal Space Program, Stellaris) so the performance is abs
90.
▲
by
jbboehr
5y ago
__FILE__ returns the path to the source file in which it's used. It's from C's equivalent preprocessor macro.
More ›