Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
blue_pants
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
5 ms
·
31.
▲
by
blue_pants
2y ago
Yeah, it's definitely not ideal, but even with its many flaws I prefer TS over plain JS. The problem in question can be "fixed" like this const r1: { a: number; b: number } = { a: 10, b: 20 }; const r2 = r1 satisfi
32.
▲
by
blue_pants
2y ago
> PureScript allows you to remove specific fields from a record type. This feature, is called record subtraction, and it allows more flexibility when transforming or narrowing down records. TypeScript does allow you to remove specific fi
33.
▲
by
blue_pants
2y ago
How does it differ from structural typing in TypeScript though?
34.
▲
by
blue_pants
2y ago
Can someone briefly explain how ZDD works in general? I guess both versions of the app must be running simultaneously, with new traffic being routed to the new version of the app. But what about DB migrations? Assuming the app uses a single
35.
▲
by
blue_pants
2y ago
TLDR from the provided links [0][1]: Nuland and Pyatt are not talking about replacing Yanukovych as president, they are referring to who would become prime minister. How do we know this? Well, for one thing, on Feb. 21st, 2014, the U.S. and
36.
▲
by
blue_pants
2y ago
Those are not credible sources. From the theinteldrop link: "several sources within the Russian military and defense industry told the newspaper Izvestia on Saturday" From the sputnikglobe link: "Moscow-based military expert
37.
▲
by
blue_pants
2y ago
My weather app of choice is Today Weather. Its UI strikes a good balance between being informative and clean looking (and it can be customized a bit too) https://todayweather.co/
38.
▲
by
blue_pants
3y ago
That's true, but there are a lot of places where ids live, but where I can't add `user-select: all`. For example, in terminal (logs), Studio3t (db client) etc.
39.
▲
by
blue_pants
3y ago
Are there any disadvantages to using transactions with a single-instance replica set?
40.
▲
by
blue_pants
3y ago
How generous of them https://www.bloomberg.com/graphics/2022-russian-stolen-grain... https://web.archive.org/web/20220627050935/https://www.bbc.c...
41.
▲
by
blue_pants
3y ago
There's a nodejs version which takes 23s https://github.com/1brc/nodejs
42.
▲
by
blue_pants
3y ago
Could you suggest some of those automatic tools?
43.
▲
by
blue_pants
3y ago
The meaning is different though. Brands convey intent, UserId brand would allow only other UserId brands, but with string literal types "any" type that matches 'user_${string}' will do
44.
▲
by
blue_pants
3y ago
I don't know what political speech means to you. Are you aware that Ukraine engaged in an existential war? Gonzalo Lira was justifying Russian aggression against Ukraine, denying the facts of Russian missile strikes on Ukrainian cities
45.
▲
by
blue_pants
3y ago
Perhaps the only correct solution is a combination of methods: selective immigration + programs that make it easier to have children + maybe some state propaganda (state propaganda can be good, though not always is) + other approaches. When
46.
▲
by
blue_pants
3y ago
I don't think it would suit retirees, of whom there are many)
47.
▲
by
blue_pants
3y ago
Indeed, immigration is a challenging path, but the problem is also serious, and I'm not aware of simpler solutions
48.
▲
by
blue_pants
3y ago
What are the possible solutions besides immigration? I'm not really well-versed in this topic, so I'm not aware of other solutions and am asking earnestly
49.
▲
by
blue_pants
3y ago
What is 'hardcore immigration'? Japan doesn't have to adopt the immigration policies of France or Italy. However, implementing some form of selective immigration with assimilation programs appears to be a potential solution
50.
▲
by
blue_pants
3y ago
I manually export my Bitwarden vault to KeePass from time to time as well. The benefit of still using Bitwarden for me is that I can access and update my main vault from any linked device (desktop PC, laptop, phone) without needing to synch
51.
▲
by
blue_pants
4y ago
It may be interesting to read this[0] OSINT analysis of Hersh's claims. [0] https://twitter.com/OAlexanderDK/status/1626176420648026113
52.
▲
by
blue_pants
4y ago
The issue is that, AFAIK, the ES import must include file extension. But imports in TS may not include it. And transpiler to JS didn't add some extension to the import, making it invalid in JS. But I think that TS is still a superset o
53.
▲
by
blue_pants
4y ago
I'm not sure how much of it is for jokes and how much is serious
54.
▲
by
blue_pants
4y ago
Please correct me if I'm wrong. But you'd better avoid creating extra promises for performance reasons const promiseMap<key, Promise<any>> = new Map(); async function keyedDebounce<R>(key: string, fn: () =
55.
▲
by
blue_pants
4y ago
Maybe I'm missing something, but 'self-correcting' doesn't necessarily mean 'immediately self-correcting'. I guess it's safe to assume, that incorrect studies are not cementing our world view and entirely
56.
▲
by
blue_pants
4y ago
Thanks for extensions. But I think there's no need to integrate its functionality to the site. This way one can choose how to customize the site without increasing complexity of the site itself.