HNHacker News
TopNewBestAskShowJobs

Neywiny

2,080 karma · joined May 20, 2024

submissionscomments
Neywiny··on Show HN: ChunkHound, a local-first tool for understanding large codebases
Might give this a try to experiment if it's really free to use (I'll have to read up on that I guess). The qemu codebase is huge and every contributer seems to solve problems in slightly different ways. Would be nice if this tool could help distill it.
Neywiny··on Drone Hacking Part 1: Dumping Firmware and Bruteforcing ECC
Great work.

Seems like a typo when covering inversion. They claim parity(0) = 0 but still use the equation with != from before.

It's nice to see that they, like me, subscribe to "an hour of experimenting can save 5 minutes of reading the documentation." Of course what people often fail to realize is that until you've found the answer, you often don't realize what the documentation was saying, such as the 16-bit thing. Management may ask "was that not in the manual?" But it's more nebulous than that.

Neywiny··on EU-US relationship is 'disintegrating,' says Germany's vice chancellor
Incandescent or incessant?
Neywiny··on Roam 50GB is now Roam 100GB
They explicitly say video streaming will be "limited" aka it won't work like you want it to
Neywiny··on A 40-line fix eliminated a 400x performance gap
Did you look into the large spread on your distributions? Some of these span multiple orders of magnitude which is interesting
Neywiny··on Fifty People Control the Culture
I guess it depends on how we define culture. Certainly every community, be they a discord server or a twitch chat, has its own micro culture. Memes, references, trends, acronyms or phrases, and symbolism come to mind. I don't doubt that Bezos's power over Amazon over twitch could get some emoji they like banned. But I don't think that's as active a control a culture as I think the article implies. Bezos isn't personally producing a twitch stream the way Broadway producers would. Sundar Pichai doesn't mandate that the casting for a YouTube video isn't what he wants. To say they control culture feels disingenuous to the creators.

Arguably you could say that in the days of the monarchy we only had 1 person, the king, controlling our culture. And I'm sure there's influence. But at least personally I've never heard anyone hold that viewpoint.

Neywiny··on Show HN: Porting xv6 to HiFive Unmatched board
I'm more interested in the animated svg. That's cool
Neywiny··on I'd tell you a UDP joke…
Or alternatively:

> I would UDP joke tell you a… but you get it might not.

Neywiny··on Iran is likely jamming Starlink
Ok they said the GPS of the starlink satellites is being jammed, and the question was how. The comment I was replying to did not say the terminal, it said the satellite. Maybe that's the confusion
Neywiny··on I dumped Windows 11 for Linux, and you should too
While office can run in the browser, the browser version sucks and I commonly need to open the files in the desktop version. This often happens when there's a browser version or a mobile version or an app version. There's a lack of feature parity.
Neywiny··on Iran is likely jamming Starlink
What are you talking about? The jammers are on the ground. Just like receivers on the ground can be jammed with bad RF nearby, so can receivers in space. You just point the bad RF towards the receiver
Neywiny··on Iran is likely jamming Starlink
For legal reasons I base this off of nothing but just turn your jammer to the sky. Could get fancy and point out directly at the satellites since my understanding is it's pretty easy to know where they are.

Edit to add: I do not mean the GPS satellites or the starlink ground terminals. That was not the question so that is not my answer. I mean the starlink satellites

Neywiny··on Finding and fixing Ghostty's largest memory leak
Yes that last point was what I meant. I see no reason that the metadata's size field should get updated without some realloc of the memory it points to. I think I'll need to look into the actual code to see what's going on there, though, because we may both be misunderstanding. It just seems very error prone to categorize how you free memory based on a field that by the time you get to `free` has no guaranteed relationship with where the memory came from. I think that should be fixed. What was done in the blog is more of a band-aid imo.
Neywiny··on Finding and fixing Ghostty's largest memory leak
Thank you. I think each of my options are pretty trivial in C. I guess what I'm not understanding for #3 is if size is immutable, how the size changed which caused the issue? The post said they changed the size of the page without changing the underlying size of the allocated memory. To me this is the big issue. There was a desync in information where the underlying assumption is that size tells you where the data came from and that the size of the metadata and the size of the allocation move in tandem across that boundary.

#1 and #2 are fixes for breaking that implicit trust. #1 still trusts the metadata, #2 is what I'd consider the most robust solution is that not only is it ideally trivial (just compare if a pointer is within a range, assuming zig can do that) but it doesn't rely on metadata being correct. #3 prevents the desync.

I really don't understand the code base enough to say definitively that my ways work, which is I guess what I'm really looking for feedback on. Looking at the memorypool, I think you're right that my assumption of it being a simple contiguous array was incorrect.

ETA: I think I'm actually very wrong for #2. Color me surprised that the zig memory pool allocated each item separately instead of as one big block. Feels like a waste, but I'm sure they have their reasons. That's addCapacity in memory_pool.zig

Neywiny··on Finding and fixing Ghostty's largest memory leak
While very true and sound advice, fake internet points make dopamine go brrrrr
Neywiny··on Finding and fixing Ghostty's largest memory leak
Thank you. Sometimes I get to like -4 or even -7 before it starts going up. It might be nice to graph it at some point to see my most varied comments. I'm at -2 right now

23 minutes later I'm at +2

6 minutes after, +5 +4min now +6, another 20 minutes +8. I think I'm in the clear

Neywiny··on Finding and fixing Ghostty's largest memory leak
Edit: I'm getting a lot of down votes for this but nobody is saying why I'm wrong. If you think I'm wrong enough to down vote, please reply why.

I don't understand why that is the preferred fix. I would have solved it other ways:

1. When resizing the page, leave some flag of how it was allocated. This tagging is commonly done as the always 0 bits in size or address fields to save space.

2. Since the pool is a known size of contiguous memory, check if the memory to be freed is within that range

3. Make the size immutable. If you want to realloc, go for it, and have the memory manager handle that boundary for you.

Both of those not only maintain functionality which seems to have been lost with the feature reduction but also are more future proof to any other changes in size.

Neywiny··on FFmpeg 8.0
Assuming I'm the he, that last part isn't exactly what I meant. I meant that there's not a good faith effort in partaking in the conversation. I disagree with blindly following the LLM but even if you do there are ways to productively get help with it.
Neywiny··on FFmpeg 8.0
Maybe I need to take a step back. If, and heavy on the if, you want to communicate issues with humans, you're doing it wrong. If you want to rely on LLMs (and look where that's getting you), by all means do it that way. With humans, they need to come to that conclusion on their own. An example is like this:

You: "I would like to remove blurry frames with ffmpeg. I think I want to use xyz method. Can anybody please help me craft the command?"

Them: "yes, here's the command" (and maybe it's exactly what the LLM output)

You: "it's giving this error code. Here's a snippet of my input file. Can you please check if that works on your end?"

Them: "oh wow you're absolutely right, this doesn't work, I'll put in the issue ticket"

This is a lot nicer than "something else told me how to use your tool and it's broken".

Neywiny··on FFmpeg 8.0
A great way to get help is to ask for it. I'd imagine the ffmpeg community would be a lot more open to helping you if you didn't start off by saying their tool is broken, though
Neywiny··on Flint Confirms Biodegradable Paper Batteries Are Now in Production
According to this which links to a dead link, they've found a decades old hotdog in a landfill. So. Yes, I'm saying hot dogs aren't biodegradable.

https://blogs.ubc.ca/waltergage/2013/11/19/547/

Neywiny··on Show HN: I built a "Do not disturb" Device for my home office
As long as that's on the router's side. I guess I did that on my phone for some reason so when I upgraded and migrated they had the same address. I'm surprised it worked at all. It was just painfully slow.
Neywiny··on Show HN: I built a "Do not disturb" Device for my home office
What does the pi do? Feels like something that could get replaced with an ESP32 if it needs to be remote or just an ftdi chip or some other usb to gpio if not
Neywiny··on Flint Confirms Biodegradable Paper Batteries Are Now in Production
Sadly we'll need to wait for independent studies. Too many companies claim bio degradability when they barely break down when buried for a long time. https://m.youtube.com/watch?v=SxUkMG2Io4w shows the greenwashing.
Neywiny··on Expired certificate breaks macOS Logitech apps
Key loggers do not need to attack Logitech software to work, so I don't see the relevance
Neywiny··on Expired certificate breaks macOS Logitech apps
I'm not understanding the relevance to IPC. What do updates and the app store have to do with inter process communication?
Neywiny··on Expired certificate breaks macOS Logitech apps
The downside of ridiculously overcomplicating the task. Certificates for IPC? So if somebody runs a virus on the computer they can't tell that one program told the other that you want your RGB to be brighter?
Neywiny··on OpenAI API and ChatGPT are down
Says fully operational now
Neywiny··on Dell admits consumers don't care about AI PCs
Depending on the part, it's likely the iGPU will be even faster. The new panther lake has iGPUs with either 80% or 250% the performance of the NPU when at the higher end. But on lower end models, it's lower but still within the same performance class
Neywiny··on Solo ASIC tapeout on a budget: detailed write up
RP2040 is not new. A bit odd to say it is. I then thought maybe this was from a few years ago, but it's not, so idk
← PreviousPage 17 of 34Next →