Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
Ciantic
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
18 ms
·
211.
▲
by
Ciantic
5y ago
> The fact that the Rust project resists standardizing too early — which could lead to being stuck with a bad design — is in my opinion one of its virtues. I think the same way, and was enthusiastic of async Rust at the beginning, but ri
212.
▲
by
Ciantic
5y ago
IMO it is, and usually the benefits of async Rust aren't that great for simple projects. To me the biggest annoyances is fractured nature of async libraries, you have to choose runtime and then the libraries. Tokio or async-std? They a
213.
▲
by
Ciantic
5y ago
I use Goaccess too for simple things, but I've found that it's not really suitable if you want to compare stats of different months or years, or look into specific week. This is because goaccess aggregates reports to single HTML f
214.
▲
by
Ciantic
5y ago
The article is probably written to irritate, whether intentionally or not. While it's easy to accept that ligatures in public code is bad, he still goes on to say: > “What do you mean, it’s not a matter of taste? I like using ligatu
215.
▲
by
Ciantic
5y ago
I tried that too, but couldn't stick to it, I don't remember why. Maybe I should try again.
216.
▲
by
Ciantic
5y ago
I have Ergodox Ez, it looks like this one is slightly updated version. Pinky row is lowered (which I think is an advantage, I have wondered for a long time why the pinky row is too high in EZ.). It has Bluetooth which I would prefer. It has
217.
▲
by
Ciantic
5y ago
Backups is of course required. I was talking about Ransomware which also enters your password database and steals the passwords in order to do more harm. With YubiKey you can make the GPG private key on offline machine and upload it to Yubi
218.
▲
by
Ciantic
5y ago
Using single file for single password entry is very good idea. It's far better than any tools that opens the whole password database at once (KeePass, LastPass, Bitwarden etc). Reason is that you can use e.g. YubiKey to unlock individu
219.
▲
by
Ciantic
5y ago
Interesting to find this here, if someone else haven't followed Python3, there is also NamedTuple which for all purposes is like immutable record: from typing import NamedTuple class Coord(NamedTuple): x: int
220.
▲
by
Ciantic
5y ago
I know, I still use Windows for the time being. However there are still cases where it isn't as good as batch programs. Like Windows' task scheduler, you can't add PowerShell script to task scheduler without command prompt ap
221.
▲
by
Ciantic
5y ago
PowerShell grew up in Windows world, and largely has stayed there. If you are not Windows sysadmin, there is high likelihood you have never ended up on a server with PowerShell installed. I have ~200 server credentials in my password manage
222.
▲
by
Ciantic
5y ago
These days though having single woff2 file goes far enough. I have noticed that these auto-optimizing fonts are usually more headache than worth it. E.g. many time fonts from Adobe's TypeKit has different baseline in Google Chrome and
223.
▲
by
Ciantic
5y ago
I have four G604 mouses. On three of them middle button broke about 6 - 9 months in use. I got two mouses "for free", as I was not required to send the old ones back and they just sent me new ones from warranty. It's remarkab
224.
▲
by
Ciantic
5y ago
For me it has, not probably Google's fault but especially coding related searches usually give me a lot of sites that just copies content from Stack Overflow. It's amazing that Google can't filter and punish those sites in th
225.
▲
by
Ciantic
5y ago
Given that VSCode is built in TypeScript, and it existed primarily for JS/TS in the beginning this is expected. You don't get whole lot of more from JetBrains/Fleet in that case. Usually though JetBrains' editor is used
226.
▲
by
Ciantic
5y ago
The hate should be directed at SQL builder part of most ORMs. Which gets complicated pretty quickly, and it's like learning a new language when SQL works usually much better. If you write your SQL, and some tool, like code generation,
227.
▲
by
Ciantic
5y ago
In WordPress the string concatenation in SQL is normal, even on the very first example: $results = $wpdb->get_results( "SELECT * FROM {$wpdb->prefix}options WHERE option_id = 1", OBJECT ); This is because the databa
228.
▲
by
Ciantic
5y ago
Gerard Williams claims credit for M1 Pro and M1 PRO Max as well: > Chief Architect for all Apple CPU and SOC development. For CPU, lead the Cyclone, Typhoon, Twister, Hurricane, Monsoon, Vortex, Lightning and Firestorm architecture work.
229.
▲
by
Ciantic
5y ago
Sysadmin of four campuses sounds like a job that requires more than one sysadmin. Being a sysadmin is pretty much like herding the sheep, it's 24/7 job. Something breaks in christmas eve, you have to fix it. Something breaks in th
230.
▲
by
Ciantic
5y ago
Would it be possible to mimick dynamic types just be renaming subsequent references? E.g. foo = "test string" print(foo) foo = 5 print(foo) Would compile as: foo = "test string" print(foo)
231.
▲
by
Ciantic
5y ago
I agree 100%. So much so, that I think every professional language should have it. Every tab, newline and space one has to do manually is lost effort. It still amazes me that C# doesn't have good opinionated formatter. It has lot of
232.
▲
by
Ciantic
5y ago
Since we are talking about C# and F# here, I wish F# was completely transformable to C# and backwards. Currently the F# has some pains in .NET ecosystem. The new C# Source Generators can't work in F# because they generate C# code. F# d
233.
▲
by
Ciantic
5y ago
What kind of problems? Technical problems, to get it running at all? Or some taste related things. I'm more worried I don't like the font rendering because I'm so used to ClearType, even though I can run Windows 2x mode as I
234.
▲
by
Ciantic
5y ago
I have been loyal, if grumpy, Windows user for all my life. But they really did broke something in me with the Windows 11, and these -- moves. They really are intent on burning bridges now! I don't want my operating system to dictating
235.
▲
by
Ciantic
5y ago
Yeah I was a bit sloppy when I wrote my answer. With GraphQL you can mimick tagged unions by giving each branch an object type. I actully wrote just few days ago about how cool it would be if TypeScript-like language too had tags: https:&#
236.
▲
by
Ciantic
5y ago
That's right. This is about the language too, if Go doesn't have pattern matching, using sum types (or tagged unions) is a bit gnarly. This is the reason for instance in C# Hot Chocolate GraphQL library the newly proposed return t
237.
▲
by
Ciantic
5y ago
I don't know do you follow C# these days, but they have source generators now. [1] Only rule is that it can't modify existing code, but add more. This way they won't break the intellisense etc. But you probably want hygienic
238.
▲
by
Ciantic
5y ago
You are not the only one. But even if you find a library for YAML AST transformations for your language. What ever other language uses your YAML probably doesn't have it. E.g. I tried exactly the same thing, and it was quiet difficult
239.
▲
by
Ciantic
5y ago
Probably, I did that too, but I wish I could switch to FiloSottile's age. However age still says in the docs: > SSH keys held on YubiKeys can't be used to decrypt files. So I'm stuck with gpg. I don't want to store my
240.
▲
by
Ciantic
5y ago
> is so low level that differences between AMD and nVidia GPUs are exposed. I interpreted it quite differently, the author writes: > there's just less knobs in general. Almost all the magic you want to do is done with shaders. Si
More ›