Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
alexvitkov
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
11 ms
·
91.
▲
by
alexvitkov
2y ago
I didn't say they are scraping. What I meant is that YOU should, if you're considering this at any serious scale.
92.
▲
by
alexvitkov
2y ago
Honestly, if I have to choose between working on the codebase of the average enterprise VMWare client and dragging some boxes around in a "no-code platform", I'm taking the boxes.
93.
▲
by
alexvitkov
2y ago
The price here is absurd - scraping unnamed big tech search engines costs $0.00, with the caveat of a slightly higher barrier of entry.
94.
▲
by
alexvitkov
2y ago
Perfect opportunity to start transitioning from 20,000 VMs to the actual amount needed for most reasonable use cases - 0.
95.
▲
by
alexvitkov
2y ago
They're a pain in the ass all around. Spectre allowed you to read everything paged in (including kernel memory) from JS in the browser. To mitigate it browsers did a bunch of hacks, including nerfing precision on all timer APIs and dis
96.
▲
by
alexvitkov
2y ago
Yes, which is why if you're serious you will exclusively use the terminal to protect your computer from even the passing chance of being exposed to a so called "image file". In all seriousness, compilation and model training
97.
▲
by
alexvitkov
2y ago
Neat! But if we're sticking to the source code analogy, the matrix multiplier probably maps closer to a CPU or an interpreter - I wouldn't say every Java program is open source because you have an open-source JVM.
98.
▲
by
alexvitkov
2y ago
Please don't call model weights source code. Code is something you can (usually) read and understand, if anything weights are closer to a very obfuscated compiled binary - although even that can be analyzed by a good enough reverse eng
99.
▲
by
alexvitkov
2y ago
They keep changing the syntax and they've pulled out major features out of the language, that's a non-starter for me.
100.
▲
by
alexvitkov
2y ago
Too bad :) Facebook trained the model on an Internet's worth of copyrighted material without any regard for licenses whatsoever - even if model weights are copyrightable, which is an open question, you're doing the exact same thin
101.
▲
by
alexvitkov
2y ago
> Because the harsh truth is that none of those things are actually big issues that would justify learning slightly different syntax. The syntax has nothing to do with it, you already know the syntax. I'm fairly confident most peopl
102.
▲
by
alexvitkov
2y ago
If I have a group of N people who I individually don't trust not to use mike1234 as a password, I wouldn't trust them as a collective either - at least until N gets impractically large.
103.
▲
by
alexvitkov
2y ago
This has always boggled my mind - If you don't trust me to pick a decent password and maintain my own machine, why in God's name would you trust me to write code or deploy/maintain company infrastructure?
104.
▲
by
alexvitkov
2y ago
The downside is that you're now heap allocating at least one object for every state, and I'm willing to bet that each QState has an associated std::vector-style list of actions, and that each action is also its own object on the h
105.
▲
by
alexvitkov
2y ago
Going off my SSH logs, it's more or less correct, statistically speaking.
106.
▲
by
alexvitkov
2y ago
> The native alphabet for most Southern Slavs would be Glagolitic That's a bit of an exaggeration, the Glagolitic script was only ever used by scholars, the earliest Cyrillic writings are not not even 50 years older than the Glagoli
107.
▲
by
alexvitkov
2y ago
Bringing up "monoculture" here is hilarious, as this whole situation is a direct consequence of a people attempting to enforce just that by replacing their native Cyrillic alphabet with the Latin one. My native language also happe
108.
▲
by
alexvitkov
2y ago
So taking the first character of a word and uppercasing it is wrong because you'd get "dzen" -> "DZen". I really wish the Unicode consortium would learn to say "No". If you added a three-letter letter t
109.
▲
by
alexvitkov
2y ago
These are programs, not shell commands.
110.
▲
by
alexvitkov
2y ago
Those are real and well understood benefits, and they're the reason Reddit won. The costs of moving a community from a forum to Reddit are nowadays mostly understood as well, unfortunately they weren't as obvious back then.
111.
▲
by
alexvitkov
2y ago
When GUI programs mishandle filenames with spaces, IME it's usually because they spawn a subshell in a naive way (system("rm " + filename)). To mishandle spaces you have to split an input w/ filenames by whitespace, whic
112.
▲
by
alexvitkov
2y ago
If you want simple shell scripts to work, make an actually good shell language without all the footguns. The filesystem is way more important than /bin/sh and and any complexity added there will trickle down to all programs, not j
113.
▲
by
alexvitkov
2y ago
It doesn't really matter whose fault it is, the end result is that your users have bad experience on your website.
114.
▲
by
alexvitkov
2y ago
It's not, it wouldn't make sense to have 100,000 tokens just for the first 100,000 numbers. There's a playground [1] where you can see how LLMs tokenize a string. 12345678987654321 is tokenized on various models like so:
115.
▲
by
alexvitkov
2y ago
I wonder if we'll get better performance on arithmetic tasks if we let LLMs generate digits backwards, e.g. 12345+11111=<rev>65432</rev> where the rev tags are special tokens. The reason being that there's less co
116.
▲
by
alexvitkov
2y ago
I haven't seen Windows fuck up the EFI partition or delete the other entries in a while now. After installing it the machine will usually boot directly into it, but it should be just a toggle in the firmware to switch back to GRUB.
117.
▲
by
alexvitkov
2y ago
> Don't use operator overloading for unrelated operations This disn't stop with <iostream>, they keep doing it - the latest example I can think of is std::ranges operations being "piped" with |.
118.
▲
by
alexvitkov
2y ago
That's what inevitably happens when you make transitive dependencies easy and you have a culture of "if there's a library for it you must use it!" C/C++ are the only widely used languages without a popular npm-style
119.
▲
by
alexvitkov
2y ago
When their patents include things like "a character stepping on a moving surface and moving along with it [1]", yes, it's litigious. [1] https://automaton-media.com/en/news/20230808-20590/
120.
▲
by
alexvitkov
2y ago
can you show an example how? I can't find a case where std::ignore compiles inside a structured binding declaration. https://godbolt.org/z/sjefeGvPf https://godbolt.org/z/8a7Ps4KdW
More ›