Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
alexvitkov
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
6 ms
·
61.
▲
by
alexvitkov
2y ago
Every week we get a new AI that according to the AI-goodness-benchmarks is 20% better than the old AI, yet the utility of these latest SOTA models is only marginally higher than the first ChatGPT version released to the public a few years b
62.
▲
by
alexvitkov
2y ago
This would be acceptable if it meant adding one more shader, but with "modern" graphics APIs forcing us to sometimes have thousands of permutations for the same shader, every variant you add multiplies that count by 2x. We also do
63.
▲
by
alexvitkov
2y ago
> OH, trust me - corporate environments are not at all conducive to making sure bugs get fixed for Womperloo 11.4 users. That's true, but Meta+Shift+F11 will usually be fixed if it breaks on Windows, and ironically will very likely
64.
▲
by
alexvitkov
2y ago
A scary amount of critical FOSS projects are just some guy's hobby, and a hobbyist will often work on problems they find interesting, regardless of whether or not they're important for the "community". If you're com
65.
▲
by
alexvitkov
2y ago
Unfortunately our CEO at a 5000 person company that heavily uses Slack, still hasn't activated their Slack account, so I don't have much to finetune the bot on.
66.
▲
by
alexvitkov
2y ago
It's not the only technical control they have - every single datapoint an app can gather is ultimately provided from the OS. They could let you disable access to metrics that have proven to be useful for fingerprinting. They could also
67.
▲
by
alexvitkov
2y ago
Alright, just give me 5 minutes to quickly inspect the likely over 100,000,000 lines of code that either go directly into a ROM or are part of the build tooling, and reverse engineer however many binary blobs are involved in the process. Th
68.
▲
by
alexvitkov
2y ago
Fair point, but I highly doubt that this is how it's used most of the time. And taking 20 screenshots and compositing them in mspaint can be a meditative experience.
69.
▲
by
alexvitkov
2y ago
I'm glad the writer is enjoying Firefox, but posts like these make me realize we've forgotten how to use computers. Built-in screenshot tool? "You don't need to install extensions"! Really? Dude just press Print Scr
70.
▲
by
alexvitkov
2y ago
If that's what the license says, fair enough, but that's not how I parsed it. This is not a software-specific license so it's not as clear as say the GPL, where there's very explicit language for source code, object code
71.
▲
by
alexvitkov
2y ago
How exactly do you use what looks like work-planning software non-commerically? As for the license, it's their code and they can release it under whatever license they want, but they obviously shouldn't call it open source. Usuall
72.
▲
by
alexvitkov
2y ago
Reasoning about the lifetimes of objects in an arena is as simple as it gets - there's only one lifetime, and pointers between everything allocated on the arena are perfectly safe. The complexity of figuring out what's going on, w
73.
▲
by
alexvitkov
2y ago
> Otherwise, one would just declare a structure member of the class from which one would inherit in the OOP style and a virtual function table pointer, and one could write an identical program with the OOP program, but in a much more ver
74.
▲
by
alexvitkov
2y ago
You should never write code that's impossible to understand without fancy IDE features. If you're writing such code, the best thing you can do for yourself long term is switch to a text editor without LSP (read Notepad) right now,
75.
▲
by
alexvitkov
2y ago
We've forgotten how to do it - the idea of dragging a button offends our modern sensibilities. You can't just drag a button, what about the layout?! What about responsive design, how will it look on a 300x200 screen and a 8k one?
76.
▲
by
alexvitkov
2y ago
You can use modern MSVC or Clang with an old C runtime/Windows SDK. It's a pain in the ass since new compilers are way stricter with what they compile, so you get a bunch of warnings, but it will work.
77.
▲
by
alexvitkov
2y ago
Love the entity init->use->yeet cycle. Fantastic terminology, may steal it. void Entity::Yeet() { yeetery.push_back(this);
78.
▲
by
alexvitkov
2y ago
It doesn't matter how many layers of Python you use to obfuscate what a LLM actually is, as long as the prompt and the data you're operating on are part of the same token stream, prompt injection will exist in one form or another.
79.
▲
by
alexvitkov
2y ago
Glad to know I was a world class engineer at the age of 8, when all I knew were the <h1> and <b> tags!
80.
▲
by
alexvitkov
2y ago
My biggest problem with node-based programming interfaces is the absurd number of nodes required for even fairly simple expressions, e.g `b*b-4*a*c` is 9 characters in most textual languages, but it would require 9 nodes in most visual scri
81.
▲
by
alexvitkov
2y ago
He mentioned in the article that the corruption happens at a seemingly random spot the middle of a large buffer, and you can only have a HW breakpoint on 4 addresses in x86-64.
82.
▲
by
alexvitkov
2y ago
> The project was quite big (although far from the largest ones); it took 40 minutes to build on my machine. A bit tangential, but I've been crying about the insane Unity project build times for years now, and about how they've
83.
▲
by
alexvitkov
2y ago
This is not an unpopular opinion you needed to make a new account for. None of us do.
84.
▲
by
alexvitkov
2y ago
While I wholeheartedly agree with the premise, the article doesn't really say anything other than "TCP good, your abstraction bad, don't use abstraction".
85.
▲
by
alexvitkov
2y ago
Doing frees/moves/copies on the second stack makes it harder to track the lifetime of allocations, and restricts what you can use it for - to free a block on the stack you necessarily have to free everything after it. Most program
86.
▲
by
alexvitkov
2y ago
You don't need explicit language support to do this -- it's a fairly common practice in videogame development, but we usually usually call it an arena/scratch buffer. Ryan Fleury has a wonderful article where goes at length a
87.
▲
by
alexvitkov
2y ago
char path[100]; snprintf(path, sizeof(path), "/proc/%d", pid); You're assuming the pid will fit in 93 bytes! The exact same mistake as `char pid[5];` Jokes aside, sometimes userspace deserves to be broken,
88.
▲
by
alexvitkov
2y ago
Vulnerabilities are related to the web being complex, and just this one quirk involves a parsing algorithm with 6 transformations of a user-provided value.
89.
▲
by
alexvitkov
2y ago
> or to block symbol characters in names. People tend to very very quickly their mind on that one once they get a few right-to-left control characters that flip over the text layout of the entire program.
90.
▲
by
alexvitkov
2y ago
This really doesn't add up to me. I don't have the numbers, but I would assume that: 1. A very small percentage of website visitors will end up paying for a subscription. 2. They make way less than $5 per user per month from ads.
More ›