Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
dig1
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
10 ms
·
61.
▲
by
dig1
2y ago
This is where Lisp-like languages excel with macros. An example in Clojure: (defmacro do* [body expr cond] `(~expr ~cond ~body)) (do* (println "hello") if true) (do* (println "hello") when-no
62.
▲
by
dig1
2y ago
I stopped reading after this: "PGP is an insecure [1] and outdated [2] ecosystem that hasn't reflected cryptographic best practices in decades [3]." The first link [1] suggests avoiding encrypted email due to potential plaint
63.
▲
by
dig1
2y ago
> I half agree with this rule. I think that it's OK to break things as long as you make a semantic version change _and_ provide automated tooling for upgrading old code. If you can't build this tool, that is a strong negative s
64.
▲
by
dig1
2y ago
There is a library called tesser [1] (by Jepsen/Riemann author) that behaves like parallel transducers with more Clojure "native" syntax. With transducers, you have to use "comp," and with tesser, you use "->
65.
▲
by
dig1
2y ago
Also https://github.com/influxdata/flux - "a lightweight scripting language for querying databases and working with data"
66.
▲
by
dig1
2y ago
IMHO, working on a programming language is only for some, just like working on a database is only for some. The first rule should be: "you should never break the language, ever". Just like you should never break the database or ke
67.
▲
by
dig1
2y ago
People also underestimate how financially predictable this setup is - you purchase a VPS or bare metal box on DigitalOcean/Hetzner/OVH for e.g. $50/mo, and that price will likely stay the same for the next 5 years. Try that w
68.
▲
by
dig1
2y ago
JVM has a similar thing called appcds ( https://docs.oracle.com/en/java/javase/17/vm/class-data-shar... ) since JDK 10 and you can also use Criu ( https://criu.org ) for this, at least I us
69.
▲
by
dig1
2y ago
Clojure and Flatlaf [1] tick all the boxes for me. If I want declarative-ish UI, I can always throw in Seesaw [2]. Everything else I find cumbersome, pulls tons of unnecessary dependencies and (usually) ends up abandoned in a year or two. W
70.
▲
by
dig1
2y ago
I love make because it has simple syntax, is language-agnostic, and provides consistent builds regardless of the tooling used. This is especially visible if you combine it with multi-language projects (e.g., C/Java/JS all in one).
71.
▲
by
dig1
2y ago
> For us, knowing immediate who should have had data on last scrape but didn't respond is the value. Maybe I don't understand your use case well, but with tools like Riemann, you can detect stalled metrics (per host or service)
72.
▲
by
dig1
2y ago
I try to monitor everything because it can get much more accessible to debug weird issues when sh*t hits the fan. > Do you also keep tabs on network performance, processes, services, or other metrics? Everything :) > What's your
73.
▲
by
dig1
2y ago
Solr will work perfectly if you want to do a standard search (db, shop) or need a customized approach, like custom transformers, ranking, etc. However, if you aim for "something that just works good enough" and has much better sca
74.
▲
by
dig1
2y ago
Without more details about the project requirements, my initial impression is that the author could get most of these features from Zookeeper, which is designed for stuff like distributed locks and synchronization. However I've seen t
75.
▲
by
dig1
2y ago
Well, history repeats itself [1]. [1] https://apnews.com/general-news-b40414d22f2248428ce11ff36b88...
76.
▲
by
dig1
2y ago
I learned to keep an open mind for even the craziest ideas - not because they sound funny, but because my mind might not comprehend them yet. Remember that Einstein was ridiculed for years by respective physicists [1]. At some point, Lord K
77.
▲
by
dig1
2y ago
Reminds me on this [1] from George Carlin. [1] https://www.youtube.com/watch?v=isMm2vF4uFs
78.
▲
by
dig1
2y ago
By following this analogy, what would stop us (in IT) from requesting tips when we are not happy with our salary? This tipping madness should stop and is IMHO US specific - I don't see that the rest of the world sees tipping as somethi
79.
▲
by
dig1
2y ago
I've been diving for years and I learned that the deeper you go, there is a higher chance some of equipment can malfunction. Because of that I have to always plan or consider some backup solution. And that started to reflect on my dail
80.
▲
by
dig1
2y ago
It is funny how they are still touting that C++ exceptions are/should not (be) slow and that we should "complain to your implementation purveyor" if they are. Yet, the two most used C++ compilers today with top-notch optimiza
81.
▲
by
dig1
2y ago
Your assumptions are based on good faith, and businesses are not run on that :) Imagine Oracle or IBM bought Timescale; that 0% chance suddenly increases dramatically.
82.
▲
by
dig1
2y ago
The tricky thing with these licenses (BSL, SSPL, etc.) is that you can use them freely for internal stuff, but suddenly, if you make your product public (assuming it uses, e.g., TimescaleDB), things can get muddy. Everyone wants the flexibi
83.
▲
by
dig1
2y ago
I could be wrong, but Vostok watches (from Chistopol) are still made the same way they were during CCCP. They improved things a lot by using more durable materials; for example, bezels are made from stainless steel these days; in the past,
84.
▲
by
dig1
2y ago
> Good luck debugging code you aren't skilled enough to write. We already have this problem, even without the LLM-generated code. I see younger developers pull out all sorts of tiny libraries because a) they think it will save them
85.
▲
by
dig1
2y ago
> Where are the encryption keys stored? Does the client have to type in a password every time? It depends on the use case. Typing a password to unlock the database when the app is started is a popular approach (e.g., keepassx does this),
86.
▲
by
dig1
2y ago
This is very useful, for example, when you ship your application to the client(s) with SQLite as the main conf/data storage. You don't have to think about whether their drives are encrypted. Also, it assures the clients that all t
87.
▲
by
dig1
2y ago
This is the main reason why I'm still on Slackware. Pat is keeping the same thing for the last 20-30 years. Sure, he had to introduce some stuff, like NetworkManager or PulseAudio, to keep up with the latest software versions, but ever
88.
▲
by
dig1
2y ago
There is also SICP in org-mode [1], where you can evaluate scheme code while reading. But it is nice to see TeXmacs use as well :) [1] https://github.com/ilmotta/sicp-org
89.
▲
by
dig1
2y ago
I fully agree with you. I witnessed numerous small & stable companies that decided to go with the "startup" route and pick VC money because "that was the way". As soon as the first funding tranche arrived, once stabl
90.
▲
by
dig1
3y ago
It's interesting how Redis's decision is often defended while AWS and other 'big corps' are criticized. Let's not forget that Redis was a collaborative effort built on the contributions of many, including those fund
More ›