HNHacker News
TopNewBestAskShowJobs

Neywiny

2,080 karma · joined May 20, 2024

submissionscomments
Neywiny··on Bluesky users are mastering the fine art of blaming everything on "vibe coding"
I've found that once I'm nomadic I'm more likely to stay nomadic. One friend of mine we went through 3 other platforms in maybe 2 years before settling down on our current comms platform. So once you've gathered you're group of people you told you're leaving Twitter, it's not much more to tell them you're leaving again
Neywiny··on How Pizza Tycoon simulated traffic on a 25 MHz CPU
I would argue it's not that you don't need pathfinding because the roads tell the cars where to go, it's because the cars aren't trying to get anywhere. Unlike cities skylines and co where a car is going from a place to a place, random directions at intersections are dramatically simpler. Which isn't necessarily worse, it's just a different problem.
Neywiny··on USB for Software Developers: An introduction to writing userspace USB drivers
DFU - great example. If you have a USB device that has a DFU class that needs a custom driver, can dfu-util and the like hook into these userspace drivers? Or do you also need to maintain the application part?
Neywiny··on USB for Software Developers: An introduction to writing userspace USB drivers
Not to be too facetious but a great place for communicating with the kernel where there are a ton of other driver subsystems is... the kernel.

Possibly a good addition to the article would be parallel development of an lkm. I guess it wouldn't have that windows interop but I would also be interested to see how this driver would be implemented on Windows. If it's idk 10x as many lines in the kernel vs userspace, that's a great benefit to the userspace approach.

Neywiny··on USB for Software Developers: An introduction to writing userspace USB drivers
But this kinda expects that your USB driver is the application code too, no? This is less of a driver and more of a library + program. If I have, say, a USB to Ethernet device, how do I hook this into the ethernet adapter subsystem?
Neywiny··on [dead]
Slightly closer to primary source but in Korean (machine translation was good): https://n.news.naver.com/mnews/article/008/0005340638
Neywiny··on ACE on a USB-HDMI Adapter
This is why I have to run 2 GPUs on my work laptop. My 6 monitors are split 3/3 between the iGPU and the dGPU. Except the drivers are all trash so any time a monitor connects or disconnects there's about a 90% chance the displays stop updating and forces either a reboot or a restart of something up the software chain. What would be really nice is to find a way to keep my programs running some restarting the GPU drivers, which Windows can often do.

I'll also note that I haven't had success with just more physical adapters. The drivers complain they can't create a CRTC for them.

Neywiny··on Apple Is Reportedly Facing a 'Massive Dilemma' with the MacBook Neo
Possibly lower battery life? Not sure how they fuse it off but if you have 17% more GPU even at idle you could possibly feel it.

That said, I'd much rather have the extra core.

Neywiny··on Floating point from scratch: Hard Mode
I had to do an FP8 adder as my final project for my FPGA lab. It was at least a full page of state machine. And I write small. I ended up just not doing the rounding and truncating instead because I was so done with it.

Consider me educated on the mantissa. That's a nifty pedantry.

Typo in the c++?

> cout << "x =/= x: " << ((x=x) ? "true" : "false") << endl;

Should be x != x?

For the leading 0 counter, I've found it's even better for the tool if I use a for loop. Keeps things scalable and it's even less code. I'm not understanding this takeaway though

> Sometimes a good design is about more than just performance.

The good design (unless the author's note that it's easier to read and maintain makes it worse design?) was better performing. So sometimes a good design creates performance.

Likewise for pipelining: it would have been interesting to know if the tools can reorder operations if you give them some pipeline registers to play with. In Xilinx land it'll move your logic around and utilize the flops as it sees fit.

Neywiny··on One ant for $220: The new frontier of wildlife trafficking
You're about to be the next Walter White. "I could never. Oh wait they sell for how much? And I just put them in what, dirt or something? Hmmmm...."
Neywiny··on An open-source 240-antenna array to bounce signals off the Moon
While true I do worry that it's mandating a pi 5 for each tile? And who knows how specific it is to the 5. Doesn't seem very open relative to something like a usb superspeed, pcie, or 10gbe. USB could be maybe done with the LIFC-33U depending on I/O limitations. PCIe can be done on various FPGAs in the lattice lineup and others.

If you use PCIe, theoretically you don't need to reverse engineer how they implemented because you're not at the edge of the spec like they are here.

That said, I've thought about doing what they're doing countless times and it is nice to see it would work.

Neywiny··on Aegis – open-source FPGA silicon
Tbh I did forget about versal but yes the PL of the VP1902 absolutely has more than 3 million logic gates no matter how you slice it. I have no doubt that there are non-fpgas with more, but it is a bit disingenuos to say they're orders of magnitude under where they actually are.

I'll also note that it has a ton of SRAM onboard which doesn't shrink well, so I'm not convinced just by that extrapolation that you could eclipse it with a simple lithography shrink. Unless you really meant several per wafer, which doesn't really feel like a hard target...

Neywiny··on Aegis – open-source FPGA silicon
Is there a way in the DSP (that's the only one I looked at) to instead of going through a mux at the end just put the output flop optionally in a transparent mode if registering isn't enabled? I don't know if that's possible with the tooling but it seems like it'd save resources and reduce fanout.
Neywiny··on Aegis – open-source FPGA silicon
VU19P = 3M gates how? It has more than 3M LUTs and each LUT is certainly > 1 gate
Neywiny··on LÖVE: 2D Game Framework for Lua
Haven't used it in almost 10 years but at least back then one sticky point was that unlike unity and the like, opening the exe didn't open an IDE. Just kind of a dummy window. Also building for Mac from Windows was a nightmare since my end user was not technically literate and it didn't just run on their end. But that's likely just a Mac issue
Neywiny··on AWS engineer reports PostgreSQL perf halved by Linux 7.0, fix may not be easy
https://fr.archive.ubuntu.com/stats/stats_of_day-16.html?ver... no need to think, data backs it up
Neywiny··on AWS engineer reports PostgreSQL perf halved by Linux 7.0, fix may not be easy
22.04 is still potentially more prevalent than 24.04 according to https://fr.archive.ubuntu.com/stats/stats_of_day-16.html?ver... . 26.04 will take some time before it's largely adopted.
Neywiny··on Microsoft to force updates to Windows 11 25H2 for PCs with older OS versions
Ain't that the truth. My older desktop's DHCP and WLAN services no longer work. So either I reinstall Windows 10 or see if I can get what I need it to do on Windows
Neywiny··on AWS engineer reports PostgreSQL perf halved by Linux 7.0, fix may not be easy
Not nobody but not everybody upgrades to the newest distros immediately. That's the advantage of LTS. I've even found that a lot of programs have poorer support on 24.04 than 22.04 due to security changes, so I'm fine sticking with 22.04 as my main dev system.
Neywiny··on Artemis II will use laser beams to live-stream 4K moon footage at 260 Mbps
Hopefully something nice. I don't think I've ever seen a 4k bluray but fine detail such as stars and dirt tend to get disturbed in compression pretty quickly.
Neywiny··on Artemis II will use laser beams to live-stream 4K moon footage at 260 Mbps
You should compare against Apollo 9, which was 96% as expensive as 11 and much closer in mission profile. Then you don't need to worry about comparisons on simple flyby vs full landing
Neywiny··on Hershey says it will shift back to classic recipe for all Reese's products
This was bad enough press for them that some of the more under-rock coworkers knew about the controversy but didn't know it was only a small subset. So people not very plugged in thought Hershey was worse than it was.
Neywiny··on Ada and Spark on ARM Cortex-M – A Tutorial with Arduino and Nucleo Examples
I'll read more later but just keep in mind nucleo is a series of form factors. There's even M33 on a -144 which is ARMv8-M
Neywiny··on Fets and Crosses: Tic-Tac-Toe built from 2458 discrete transistors
Well stuff like if in one block you invert a signal, and later you invert it again, those optimization engines can cancel that out. Possibly they could also do to fanciness with complicated logical operations to reduce transistor count too. But I'm not entirely sure if their same benefit on FPGA applies to transistors
Neywiny··on Should QA exist?
I think I agree with your first sentence but opposite to the second. People I've met who don't prioritize QA (or test, reviews, etc) often only shipped with a mad dash towards a schedule is king deadline. Only on times where we can slow down and do things right do they appreciate the investment and its resulting dividends.
Neywiny··on Fets and Crosses: Tic-Tac-Toe built from 2458 discrete transistors
Would standard HDL synthesis engines be better at this in terms of schematic capture? They could do optimizations that I think if I'm reading right weren't done here
Neywiny··on Fets and Crosses: Tic-Tac-Toe built from 2458 discrete transistors
Good news is there's still a lot of that on YouTube. I attribute it to Ben Eater but I'm sure there are others who helped or came before
Neywiny··on Automatically generate all 3D print files for organizing a drawer
I tried and it didn't even load me a result, like others in the comments. If this is an AI wrapper around gridfinity, that's even worse
Neywiny··on Automatically generate all 3D print files for organizing a drawer
Use gridfinity instead. It actually works and isn't AI slop
Neywiny··on Automatically generate all 3D print files for organizing a drawer
Same

(Firefox, Android (which is Linux))

← PreviousPage 13 of 34Next →