Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
speleding
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
9 ms
·
121.
▲
by
speleding
2y ago
> Do you have a source for this? There are reams of economic literature trying to estimate whether government intervention in the market was a good idea. Most of the time it doesn't turn out great. So the parent's suggestion &q
122.
▲
by
speleding
2y ago
ledger can validate that all account names are pre-defined, are formatted in a specific way with regard to decimal and thousands separator, their currency specified and a few more things. (None of these are enforced by default, but for any
123.
▲
by
speleding
2y ago
We also don't type in the ledger files directly, but rather than convert it from a free format note we use the comment field of the banking apps, and the comment field of the expense report app (we use Zoho), to indicate what account i
124.
▲
by
speleding
2y ago
This is going to be a Halloween sensation if it ever becomes available to the general public!
125.
▲
by
speleding
2y ago
Where LLM shine is as a faster alternative to Google and Stack overflow. "How do I reverse an array in language X?". This will give you the right answer in seconds without having to click through garbage. Especially if it's a
126.
▲
by
speleding
2y ago
I guess it depends on where you live, but getting an electrician around here takes so much time and effort, not to mention money, you could by half way through to training for a journeyman degree by the time he shows up. Perhaps a downside
127.
▲
by
speleding
2y ago
+1 By the way, Dutch has "onontvlambaar"
128.
▲
by
speleding
2y ago
Nowadays `apt install ruby` on an ubuntu box will give you a reasonably up to date ruby that's more than adequate to run scripts. This is not like the old days where a script written on Ruby 1.87 would break on 1.9.
129.
▲
by
speleding
2y ago
A server with fail2ban can be DOSed by sending traffic with spoofed IP addresses, making it unavailable to the spoofed IP addresses (which could be your IP, or the IP of legitimate users). That is typically a bigger problem than polluting y
130.
▲
by
speleding
2y ago
Protectionism does almost nothing to prevent that comparative advantage from being built unless all other consuming countries in the market also add a tariff. And most of them will not. Using the WTO to coordinate a response is a much more
131.
▲
by
speleding
2y ago
For queries like that I now turn to Gemini / ChatGPT first. Of course, this is only a good idea if I have some way of sanity checking the answer. If I doubt the answer I get back I try Google search instead.
132.
▲
by
speleding
2y ago
I may lose karma for saying this, but the only way I've found to make multi-monitor work is to go to Energy Saver > Prevent automatic sleeping, and then I never turn my Mac Studio off. Honestly, I've tried a bunch of things, in
133.
▲
by
speleding
2y ago
How hard would it be to use this as an in-memory replacement for MySQL for testing, let's say, a Rails project? Given how important the DB layer is I would be careful to use something like this in production, but if it allows speeding
134.
▲
by
speleding
3y ago
PSA: I just noticed homebrew installed the compromised version on my Mac as a dependency of some other package. You may want to check this to see what version you get: xz --version Homebrew has already taken action, a `brew upgrade`
135.
▲
by
speleding
3y ago
True enough, but if something breaks with a read-only SD you are relying on logging to a cloud service. So you reduce the chance of SD failure but introduce a risk of network failure. Of course, network failure doesn't have to be fatal
136.
▲
by
speleding
3y ago
If you involve a specialised removal firm it's super expensive and stalls your project by weeks. I was advised by the builder I could just remove a few plates of asbestos myself, about half a day of work, most of which was spent gettin
137.
▲
by
speleding
3y ago
The Dutch privacy authority claims that a consent popup is only needed for tracking cookies, and cookies with a purely analytical purpose are explicitly exempted. ( https://autoriteitpersoonsgegevens.nl/themas/internet-s
138.
▲
by
speleding
3y ago
The regulation could have been much better though. For one, it's unclear if Google Analytics cookies qualify. Spain and Austria say one thing, The Netherlands says another, so out of an abundance of caution websites put them everywhere
139.
▲
by
speleding
3y ago
To prevent accidental data errors I "include lib/accounts.ledger" in every file, a list of all allowed accounts (see documentation for the format), and then add "--strict" to my .ledgerrc" file. Reorganising an
140.
▲
by
speleding
3y ago
ledger has a few powerful features that hledger lacks, for example in ledger you can create an "assert" statement that checks all your journal entries fall in the correct time period (easy to mess up if you copy/paste journal
141.
▲
by
speleding
3y ago
My solution is to pick the file names in such a way that `include *.ledger` imports them in the right order (you need the latest version of ledger for that to work, in older versions the order was indeterminate)
142.
▲
by
speleding
3y ago
My country also has a standard format (several actually). Ledger allows you to basically name any account anything you want, so you can follow that naming convention. The standard alphabetic ordering of `ledger balance` isn't very usef
143.
▲
by
speleding
3y ago
My business is over 15 years old by now and our ledger use has grown to encompass 7 different currencies and multiple corporate entities (by calling ledger with different includes we can generate a combined ledger across entities, very nice
144.
▲
by
speleding
3y ago
I just got a few for my daughter, on Ali Express they are less than $2!
145.
▲
by
speleding
3y ago
The article mentions that removing a bundled plugin would break the code signing. I suspect allowing you to not update a bundled plugin poses a similar problem, they probably have a single signature for the entire package including bundled
146.
▲
by
speleding
3y ago
I think this intended for compiled languages? If you already have Python or Ruby in your stack you can simply write a little script to generate the required JSON or YAML. I'm not sure you would ever want to add Pkl to the mix in that c
147.
▲
by
speleding
3y ago
Since I found out that ChatGPT does a really nice job of "Show me what ActiveRecord query would generate this SQL query", and vice versa, it's gotten quite a bit easier. It handles some surprisingly complex stuff
148.
▲
by
speleding
3y ago
I agree, but it's also important to note that the relationship 'customer request' <=> 'ticket' is often not one to one. A PM will have multiple customer requests that slightly overlap, but not fully, and reque
149.
▲
by
speleding
3y ago
You can use a font with ligatures to fake some of this. I use the "JetBrains mono" font that shows >= as ≥ and != as ≠ Ruby already allows utf-8 identifiers, so you can do π=3.14 for example, and `alias λ lambda`, but I agree i
150.
▲
by
speleding
3y ago
Completely agree, my wish is that anything that risks getting complex uses a Ruby-based DSL. For example, I like using Capistrano, which is wrapper around rake, which is a Ruby based DSL. That means that if things get tricky I can just drop
More ›