Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
kgeist
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
35 ms
·
481.
▲
by
kgeist
2y ago
Well, Intel Russia opened in 2000 back when USA and Russia were on good terms, and Putin was relatively unknown. Sure it was a mistake in hindsight...
482.
▲
by
kgeist
2y ago
Russia is reliable when it comes to software engineering. I've met a few guys from Intel Russia, bright folks. The politics, though...
483.
▲
by
kgeist
2y ago
>the sequence τυγχαν may be the beginning of the verb τυγχάνω: “to happen,” or perhaps “not to happen.” It says "me tunkhan..", which would indeed mean "let it not happen". Particle "me" means imperative &qu
484.
▲
by
kgeist
2y ago
Not bad, asked it to count Rs in "strawberry" and Ns in "international", it answered correctly, and it was fast.
485.
▲
by
kgeist
2y ago
Last time I checked it (a few years ago), it was quite buggy and crashed often for me (self-hosted). For example, what I remember, there was a module to move photos from Google Photos, but it always stopped at 10% photos without any errors.
486.
▲
by
kgeist
2y ago
We have 1 cluster per region (3 regions: Asia, US, EU), multiplied by redundancy clusters = 6 clusters. Then we have test environments, around 20 of them: 20 clusters. Then there are 10s of clusters installed on customers' infra. So 47
487.
▲
by
kgeist
2y ago
Interestingly, Kiber- is how a Russian would transliterate "Cyber-". At first I thought he must be Russian, by the nickname alone (I'm a Russian speaker).
488.
▲
by
kgeist
2y ago
>You want string array contains, nope Go now has slices.Contains
489.
▲
by
kgeist
2y ago
>Would your customer representative be able to pronounce my name somewhat correctly? Typical input validation doesn't really solve the problem. For instance, I could enter my name as 'Vrdtpsk,' which is a perfectly valid A
490.
▲
by
kgeist
2y ago
My rule of thumb is to treat strings as opaque blobs most of the time. The only validation I'd always enforce is some sane length limit, to prevent users from shoving entire novels inside. If you treat your strings as opaque blobs, and
491.
▲
by
kgeist
2y ago
I find libraries like sqlx more than enough. Instead of a full-blown ORM, they simply help hydrate Go structs from returned SQL data, reducing boilerplate. I prefer the repository pattern, where a repository is responsible for retrieving da
492.
▲
by
kgeist
2y ago
Just checked, in my current project, the only place where I use generics is in a custom cache implementation. From my experience in C#, generics are mostly useful for implementing custom containers. It's nice to have a clean interface
493.
▲
by
kgeist
2y ago
Dunno for me it's great to commit if I just made substantial work but it's not ready yet. It's assuring that my work won't be accidentally lost if I mess up. Especially it's great to commit at the end of the day or
494.
▲
by
kgeist
2y ago
At our organization, no one squashes or rebases either. We never delete branches. It's been like this for around 15 years. Not a single problem.
495.
▲
by
kgeist
2y ago
>My first impression is that like with HTMX, it's for a style of web apps that has few uses nowadays. What do you mean? I see nothing common with HTMX. It feels more like old PHP5 projects, where they mixed business logic with contr
496.
▲
by
kgeist
2y ago
Our best engineer spent 2 weeks full time updating our codebase from 7 to 8 using rector (the project was already running PHP 7 but still had a lot of deprecated code from the PHP 5 era which didn't work on PHP 8). That would be eterni
497.
▲
by
kgeist
2y ago
>I wouldn't buy (or recommend) any machine for dev work with less than 64GB in 2024. Honestly, I think it depends on what kind of languages/frameworks/tools you use. Go is very lightweight, and you can safely run hundreds
498.
▲
by
kgeist
2y ago
All 135 mln ethnic Russians seem to have close ties to Putin, from what I understand reading Western media.
499.
▲
by
kgeist
2y ago
As far as I remember, JetBrains was founded in 2000 by a couple of Russian immigrants in Prague back when no one knew who Putin was. They had an office in St.Petersburg which was closed in 2022, they don't sell in Russia anymore, and b
500.
▲
by
kgeist
2y ago
The perspective here in Russia is diametrically opposite. The common opinion is that JetBrains has completely severed its ties with Russia and appears to have pro-Western, probably European management: they don't sell in Russia anymore
501.
▲
by
kgeist
2y ago
One of the reasons for the reforms was to "go back to the old roots", because the Greeks peformed some rituals differently from Russians, and the opinion was that the Russian rituals were "corrupted" but, interestingly,
502.
▲
by
kgeist
2y ago
Back in Peter the Great's times the Dutch and Germans were called with the same word in Russian. I think it was the case in English, too. IIRC that's why they call it Pennsylvania Dutch, even though it's German.
503.
▲
by
kgeist
2y ago
It's basically Old Believers' entire identity - opposition to the official church.
504.
▲
by
kgeist
2y ago
I remember there was a paper which found that LLMs understand HTML pretty well, you don't need additional preprocessing. The downside is that HTML produces more tokens than Markdown.
505.
▲
by
kgeist
2y ago
An LLM can technically fix spelling
506.
▲
by
kgeist
2y ago
Putin himself is already tired of the war. He just doesn't see a way out where he can save the face. He wanted it to be a 3 day campaign, remember? I have doubts Putin is eager to start Ukraine War 2.0
507.
▲
by
kgeist
2y ago
It has OpenSearch, RabbitMQ, Redis, MySQL
508.
▲
by
kgeist
2y ago
We have a project which spawns around 80 Docker containers and runs pretty OK on a 5 year old Dell laptop with 16GB RAM. The fans run crazy and the laptop is always very hot but I haven't noticed considerable lags, even with IntelliJ r
509.
▲
by
kgeist
2y ago
>Even really good players don't have a chance against super-advanced NPCs I guess you can make them dumber by randomly switching to hardcoded behavioral trees (without modern AI) once in a while so that they made mistakes (while fe
510.
▲
by
kgeist
2y ago
This is something I've been thinking about for a while. What if we create a language where all object references are explicitly specified to be either request-scoped or application-scoped. Don't allow application-scoped objects re
More ›