Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
legohead
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
5 ms
·
31.
▲
by
legohead
2y ago
Mostly GPT, but for World of Warcraft, GPT is absolutely horrible. It's like it has been corrupted by the 20 years of bad/incorrect user data, or maybe just the sheer amount of it in general. As an example, someone typo'd an
32.
▲
by
legohead
2y ago
> Today the libc allocators have advanced by maybe tens of thousands of PhDs worth of theory and practice. For fun I wrote up a very basic memory manager and benchmarked it against free/malloc. On my Mac (M3) the manager was 3x fas
33.
▲
by
legohead
2y ago
There are always details within details. The overall idea is easily understandable. You are being pedantic.
34.
▲
by
legohead
2y ago
I guess I'm confused at this chain of responses, then. As I'm doing what you are already suggesting. Re-reading your comment, about the "not really freeing anything" -- I beg to differ, as when you do a real free(), it
35.
▲
by
legohead
2y ago
libc allocator is considered "slow" for the extra overhead it has. I'll just leave it at that as you can GPT the rest. I did some of my own testing back in the days I wrote C, and mine was significantly faster than malloc&#
36.
▲
by
legohead
2y ago
When something would normally be freed, it calls the memory manager's version of free(), which zeroes the memory and adds it back into the appropriate available list.
37.
▲
by
legohead
2y ago
What are your issues with the memory requirements being small? One of the programs was a MUD that consumed a couple hundred megabytes, and I never had issues with it. I mentioned gigabytes because of how mine specifically worked. It alloc
38.
▲
by
legohead
2y ago
My C programs never consumed gigs of memory. So I (like many others I assume) made a memory manager and never freed anything. You'd ask it for memory and it kept a list of various sizes it allocated and returned what you needed to be
39.
▲
by
legohead
2y ago
misleading titles are a no-no on HN. I agree with pseudopersonal in that the title should be changed. technically it's not misleading, but not everyone uses or is familiar with typescript.
40.
▲
by
legohead
2y ago
I thought we need Q > 10 to really get enough power out of the reactor, due to our inability to capture all the energy efficiently. Do you have any clever ways to capture the energy output?
41.
▲
by
legohead
2y ago
I'd just assume that temperature would be an important factor in the reactor. With the millions of degrees being involved, seems a little more than "not very different" than a fission reactor. But would like to hear how this
42.
▲
by
legohead
2y ago
Has any fusion reactor produced usable electricity, if only as a proof of concept?
43.
▲
by
legohead
2y ago
> known as "dynamic clustering" which was really just K-nearest neighbor I'm a self taught programmer. Recently had a technical interview - final interview before getting hired, everything had been going smoothly so far.
44.
▲
by
legohead
2y ago
That's how the US got most of its income until 1913, when federal tax income was introduced. But it doesn't work in a real market economy, for many reasons already stated. It doesn't just hurt our people but the world econom
45.
▲
by
legohead
2y ago
We don't. Economics is complex and it is extremely common for journalists to simply take something and run with it. Even just saying "unemployment" needs scrutiny, as there are multiple ways to measure "unemployment.&q
46.
▲
by
legohead
2y ago
Basic economics. If it's still at 1%, then people must be accepting the 1%.
47.
▲
by
legohead
2y ago
Basic economics. If it's still at 1%, then people are taking 1%. That simple, crying about it wont help.
48.
▲
by
legohead
2y ago
I pledge to not drink coffee. drinks coffee Nevermind.
49.
▲
by
legohead
2y ago
Looks interesting. Some feedback on the trailer: I wouldn't waste the precious first 5 seconds on guys running at the camera, and your post says something about roguelite. Are there skill trees? Items/equipment? Shops? Differ
50.
▲
by
legohead
2y ago
There is an incredible amount of unique music & artists on Soundcloud. Or at least there was some years ago. I got quite into it, to where it was taking up too much of my time and I stopped using it altogether. They kept making it mo
51.
▲
by
legohead
2y ago
MUDs are how I began programming, about 30 years ago at the age of 16. Now I'm a senior engineer making mobile games. Unsurprisingly I focus on the backend. MUDs taught me C, devops, multiplayer/sockets, security to some extent,
52.
▲
by
legohead
2y ago
from the readme: https://deep-fold.itch.io/pixel-planet-generator
53.
▲
by
legohead
2y ago
In The Culture series books, there's a concept of "smart dust". Basically dust sized surveillance drones that they cover planets with, that lets them see and hear everything that's going on.
54.
▲
by
legohead
2y ago
Well I can tell you as a Spotify user that their random play is horrible. It's not truly random, which is extremely frustrating when you have 1000+ playlist and keep hearing the same 10 songs over and over. Here's an ongoing 150+
55.
▲
by
legohead
2y ago
Back in the early days of the internet when it was mostly connecting to universities, there was a popular PK mud hosted at the university I went to. So I had a massive advantage in that game. Game hackers weren't really a thing so pe
56.
▲
by
legohead
2y ago
I want to upgrade my Kindle but first I need to know where the power button is. My current one has the power button on the bottom and it turns off when I rest it on things - extremely annoying. Can't be certain from the product pictu
57.
▲
by
legohead
2y ago
We hire interns and I've interviewed quite a few since Chat GPT. It's interesting they almost always ask what I (and the company) think about AI. Never had this question in the past. So it could be a bad thing, but the kids a
58.
▲
by
legohead
2y ago
Yes, very exciting. People at work are already talking about it. But will take some time before we switch versions, that takes research, QA, etc.
59.
▲
by
legohead
2y ago
I work at a fairly large mobile gaming company. We are stuck on the old version of Unity that doesn't have this fee. But to Unity's credit they are still supporting that version and doing bugfixes for us, but it sucks to be wall
60.
▲
by
legohead
2y ago
You ever get that itch in the roof of your mouth, and you use your tongue to kind of scrape/scratch the roof of your mouth? After I started paying attention to food allergies from this Yellow 6 thing, I noticed I would get this mouth
More ›