Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
john-shaffer
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
5 ms
·
1.
▲
by
john-shaffer
10mo ago
AWS announced Lambda durable functions today in a blog post titled "Build multi-step applications and AI workflows with AWS Lambda durable functions" [0] [0] https://aws.amazon.com/blogs/aws/build-multi-s
2.
▲
Lambda Durable Functions
(docs.aws.amazon.com)
11 points
by
john-shaffer
10mo ago
|
9 comments
3.
▲
by
john-shaffer
1y ago
Related story with much more detail and comments: https://news.ycombinator.com/item?id=44105878
4.
▲
by
john-shaffer
2y ago
Have you considered https://github.com/dolthub/dolt for your use case?
5.
▲
by
john-shaffer
3y ago
But Nix is the best way to build images for dockerc.
6.
▲
by
john-shaffer
3y ago
Mostly playing around with stacking "powerful" words: King Kong + Power Ranger = King Kong Ranger (first) Megazord + Power Ranger = Power Megazord Megazord + Power Megazord or Artzord + Megazord = Ultrazord Dragonzord +
7.
▲
by
john-shaffer
3y ago
https://jobs.braveclojure.com/
8.
▲
by
john-shaffer
3y ago
Clojure itself actually loads pretty quickly, but almost every project has enough libraries to make loading the project take a few seconds.
9.
▲
by
john-shaffer
3y ago
export LC_ALL=C nix-shell -I nixpkgs=https://github.com/NixOS/nixpkgs/archive/2322899a1fa85f6547004b2829af81e7b444f506.tar.gz -p openssh ssh -V OpenSSH_6.1p1, OpenSSL 1.0.0i 19 Apr 2012 Note that
10.
▲
by
john-shaffer
3y ago
> So how do I install the old version next to the new version in ubuntu 34.04? You would install Nix and run something similar to "nix run nixpkgs-23.11#openssh <address>"
11.
▲
by
john-shaffer
3y ago
This looks promising, but it doesn't work on personal accounts. I'm not ready to install it on my organization account just yet. Can I expect complex caching actions like https://github.com/DeterminateSystems/
12.
▲
by
john-shaffer
3y ago
Clarification on file duplication: DVC tries to use reflinks if the filesystem supports it, and falls back on copying the files. It can be configured to use hardlinks instead for filesystems like ext4 [0]. This improves performance signific
13.
▲
by
john-shaffer
3y ago
DVC is slow because it stores and writes data twice, and the default of dozens of concurrent downloads causes resource starvation. They finally improved uploads in 3.0, but downloads and storage are still much worse than a simple "aws
14.
▲
by
john-shaffer
3y ago
Performance with Docker is slightly worse, but it shouldn't be an issue for a long-running process. The main problem I've run into is that, by default, Docker logs will eventually fill the disk and crash the server. You have to ch
15.
▲
by
john-shaffer
3y ago
Thanks. I had no idea D2 was on switch, and it's on sale for $13! [1] [1] https://www.nintendo.com/store/products/diablo-ii-resurrecte...
16.
▲
by
john-shaffer
4y ago
malli, specter, and calva are all less than ten years old. Clojure has seen a lot of progress in tooling and libraries.
17.
▲
by
john-shaffer
4y ago
IIRC, posts with more comments than votes are automatically penalized. It is #11 on the front page now, though.
18.
▲
by
john-shaffer
4y ago
Polylith does a good job of solving this: https://polylith.gitbook.io/polylith/
19.
▲
My case against mocking frameworks
(dpc.pw)
2 points
by
john-shaffer
4y ago
|
0 comments
20.
▲
by
john-shaffer
4y ago
Have you had problems with Nix on macOS? Nix works great for me, but I can't use it much to deal with installs or synchronize dependencies because the devs on macOS can't get Nix running.
21.
▲
by
john-shaffer
5y ago
I have no affiliation, but I tried the free trial of their tool and I found that the Code Health metrics made a lot of sense. The files that it pointed out are definitely overly complex and more difficult to change than they need to be. But
22.
▲
Code quality: measuring the business impact of unhealthy code
(codescene.com)
11 points
by
john-shaffer
5y ago
|
13 comments
23.
▲
by
john-shaffer
5y ago
In production, I may only want one connection pool to a DB, and in that case global state is pretty much equivalent to passing state as an argument. Development in a Clojure REPL is a different story. I have one connection pool for the dev
24.
▲
by
john-shaffer
5y ago
Thanks for the explanation. What are some of the other techniques?
25.
▲
by
john-shaffer
5y ago
I just added a test case that importing org.apache.logging.log4j.core.lookup.JndiLookup throws a ClassNotFoundException. Any log4j2 class would work too.
26.
▲
by
john-shaffer
5y ago
Clojure is strongly typed and dynamically typed, not "untyped". Much of its core behavior is built on interfaces like ISeq. It's not uncommon to use a spec library like clojure.spec or malli, whose benefits overlap those of s
27.
▲
by
john-shaffer
5y ago
I have one of their borg accounts, which is a fraction of the normal price. https://www.rsync.net/products/borg.html
28.
▲
by
john-shaffer
5y ago
This is a good example of why dynamic vars are dangerous. They are just as perilous as global state, but are more surprising and more difficult to understand. Prefer passing explicit arguments in all cases. You don't have to even think
29.
▲
by
john-shaffer
5y ago
It's pretty easy to run embedded postgres on the JVM: https://github.com/opentable/otj-pg-embedded The defaults create a temporary DB which is useful for dev & tests, but a pair of calls to .setCleanDataDirect
30.
▲
by
john-shaffer
5y ago
You might be just fine adding an unindexed tsvector column, since you've already filtered down the results. The GIN indexes for FTS don't really work in conjunction with other indices, which is why https://github.com&#x
More ›