Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
deepsun
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
34 ms
·
481.
▲
by
deepsun
9mo ago
Land Value Tax is one way, a very old idea. Germany practices basically rent control, so that 60%+ of population rent and consider it stable. That's another way. Maybe there are more, I didn't think hard. The basic idea is to prev
482.
▲
by
deepsun
9mo ago
In general I agree, but thinking of counter-arguments -- criminals are not playing by the same rules and use every manpower-reducing technologies. So if police to keep to their traditional methods, then criminals will have upper hand, and m
483.
▲
by
deepsun
9mo ago
Rephrasing my original point -- landlords do add value, but not as much to offset the negatives of locking down the resources.
484.
▲
by
deepsun
9mo ago
> landlords are rent seeking and nothing else Noone says it's nothing else. But rent seeking is a big component of it, you just focus on other minor parts. In general, locking down some limited but critical commodity (e.g. land) is
485.
▲
by
deepsun
9mo ago
Admins are likely to also be the "obsessive weirdos".
486.
▲
by
deepsun
9mo ago
Well, didn't think of that, but agree completely. In order to sue the post author, the software copyright holder must claim some damages. I doubt they will find enough damages to pay legal fees.
487.
▲
by
deepsun
10mo ago
Might be illegal to break someone else's proprietary software, no matter how abandoned it is. Try to ask them for source code, with the intention to open-source it. Then you (and maybe others!) can break it whole day long.
488.
▲
by
deepsun
10mo ago
Same here. But "all the evidences" is a very vague statement, even in simple cases. AFAIK defendants need to make a good faith effort or reasonable judgement about what's relevant and what's not, and the other side can o
489.
▲
by
deepsun
10mo ago
> very single one of their services is a pain to use Uhm, no? Google Cloud Platform is way more convenient to use than AWS, the IAM is way better designed, and documentation is leagues ahead of AWS.
490.
▲
by
deepsun
10mo ago
Russia started convoying some of those vessels, especially with more advanced operation bases than cable cuts [1]. They won't be able to seize those without opening fire. https://ioplus.nl/en/posts/how-seven-s
491.
▲
by
deepsun
10mo ago
> writing the compiler in the very same language it's supposed to compile is considered an important milestone. But it doesn't always make sense -- e.g. a language for large-scale linear algebras, or a language for web GUIs mig
492.
▲
by
deepsun
10mo ago
I'd use different types for those. Like Java's String vs. CharSequence.
493.
▲
by
deepsun
10mo ago
The second argument still holds -- all those wrappers will exist in prod only for tests. Moreover, that wrapper library is now a pretty large piece of code, and we'd want to maintain and test as well. But cannot without hacks.
494.
▲
by
deepsun
10mo ago
It happens often when "error" field is not a bool, but a string, aka error_message. Could be empty string, or _null_, or even _undefined_ if we're in JS. Then the obvious question why do we need _succeeded_ at all, if we can
495.
▲
by
deepsun
10mo ago
I think it's easier to unpack/remove-"final"/re-compile the library .jar during the build time. Will be more stable to any changes than an adapter.
496.
▲
by
deepsun
10mo ago
As someone said during COVID supply chain disruptions: when a system is very optimal it becomes fragile. So probably they need to add more parallel tracks, unused most of the time.
497.
▲
by
deepsun
10mo ago
No, some other library classes accept only their own, not my adapter. Not mentioning of course needless copy-pasting dosens of members in the adapter. And it must be in prod code, not tests, even though it's documentation would say &qu
498.
▲
by
deepsun
10mo ago
Google API libraries mark every class as "final" so it's not trivial to mock-extend it for tests. But third-party IO is exactly the thing you'd want to mock. Probably because they zealously followed "Effective Java&
499.
▲
by
deepsun
10mo ago
I read blockade survivors diaries, they all say it's easy to get used to hunger, but not to cold.
500.
▲
by
deepsun
10mo ago
> this would also reject HTTP clients that are not browsers Why? I can send any headers from a client I make.
501.
▲
by
deepsun
10mo ago
And some very simple computations become much more cumbersome in SQL, e.g. Panda's df.diff() or df.cumsum() is much more awkward using window "functions".
502.
▲
by
deepsun
10mo ago
Agree, but for example, migration scripts are still often just a bunch of long .sql files (unless it's Liquibase with its own cross-DBMS XML syntax), or test/staging/benchmark schemas. Even today. And subling commenters say t
503.
▲
by
deepsun
10mo ago
Only for simple queries. E.g. it's hard to parameterize table names. Also it makes an extra round-trip to server to prepare the query.
504.
▲
by
deepsun
10mo ago
My only problem with SQL is it was designed for human input (same as shell commands), not for machines. Hence the SQL Injection attacks and other peculiarities and inefficiencies. IMO for machine-to-machine talk we should not be using a lon
505.
▲
by
deepsun
10mo ago
> For UUID v4s, primary key values in B-Tree indexes are problematic. Wrong. Don't use B-Tree for random indexes, there's HASH index exactly for this: CREATE INDEX [index_name] ON [table_name] USING HASH ([column_name]);
506.
▲
by
deepsun
10mo ago
GitLab actually implemented Actions first back in the day (called CI/CD). I remember GitHub was following their lead.
507.
▲
by
deepsun
10mo ago
Naah, I'm pretty sure history can find an example of pretty much anything. Here's another example (just less researched) -- Slavic dispersion in Europe. And I'm 100% sure there a lot of other examples of peaceful expansion
508.
▲
by
deepsun
10mo ago
I still don't understand why people don't remove the hyphens from UUIDs. Hyphens makes it harder to copy-paste IDs. The only reason to keep them is to make it explicit "hey this is an UUID", otherwise it's a complet
509.
▲
by
deepsun
10mo ago
I tried to do that but found out there's almost no services that I would want to treat my account there disposable. If I bother to provide them my email address -- I usually also want to access my account there later (e.g check order s
510.
▲
by
deepsun
10mo ago
What do you mean "all the way across the ocean". From where? The distance from Curaçao to the Dutch people is exactly zero. What "right" are you talking about, is there an agency where we file a claim, and it issues us &
More ›