HNHacker News
TopNewBestAskShowJobs

HansHamster

277 karma · joined June 28, 2019

submissionscomments
HansHamster··on Firefox Is Going to Try and Ship with Wayland Enabled by Default
Usually, the UI toolkit (gtk, qt, ...) should take care of the X11/Wayland protocol details. But if the application is doing its own thing or at a lower level (and I guess Firefox qualifies) then that has to be adapted.
HansHamster··on FPGA Dev Boards for $150 or Less
Yes, VGA is really not very useful nowadays, but I think it is still a useful (student) project for FPGA beginners that is relatively easy to implement, more exciting than blinking an LED and can be built on for other things.

The downside of SPI (and to some degree 8080) screens is the low refresh rate / missing vsync. There are also screens with an RGB interface, which is then again similar to VGA but digital. But yes, this does not really require an FPGA and an ARM controller with RGB interface is probably much more useful for most applications. (Or even MIPI-DSI, but I have not used it myself so far.)

Still, I have a TFP410 lying around that I wanted to strap to my FPGA at some point to get something better than VGA.

> Still, the timing idea is overall correct as an FPGA-superpower.

And while this is especially true on FPGAs with dedicated hardware like a serdes or gearbox, one can still squeeze out a bit more on most FPGAs with DDR IO or several phase-shifted clocks.

HansHamster··on FPGA Dev Boards for $150 or Less
It seems to work well as far as I can tell, but my ECP5 unfortunately does not have the serdes. I wanted to stick to the 256 caBGA package to keep the board simple, but there is no variant with serdes... The PLLs, block ram, and other IO work fine (have not tried the DDR and gearbox blocks yet).
HansHamster··on FPGA Dev Boards for $150 or Less
One common student project we had used the FPGA to generate a (VGA*) video signal. For example using the onboard ADC to sample a signal and visualise the waveforms. A more advanced idea was to also implement a line-drawing algorithm on the FPGA to generate wireframe graphics. While this can also be done on a microcontroller and some even include video outputs and GPUs, I think it is a nice way to see on a low level how to generate the signals with the correct timing. I used this for example to add a video output to a Gameboy.

Another a bit more exotic and involved application is a Time to Digital Converter, which can take advantage of the low-level routing inside the FPGA to sample a digital signal with significantly higher precision than the clock (resolutions of 10s of picoseconds down to below 10ps depending on the FPGA).

For work, we mostly use FPGAs for data acquisition systems, low level data processing, high speed data links and so on.

HansHamster··on FPGA Dev Boards for $150 or Less
This is missing boards with Lattice ECP5 FPGAs, which are a nice alternative to the iCE40 FPGAs and are also supported by the open source tools, but also offer more logic, memory, and IO.

I only know of the evaluation board from Lattice [0] and the OrangeCrab board [1], but there are probably more.

[0]: https://www.latticesemi.com/products/developmentboardsandkit...

[1]: https://orangecrab-fpga.github.io/orangecrab-hardware/

HansHamster··on I trapped scammers in an impossible maze [video]
For me it was the GPU quota, but the form was probably the same and assuming that I am running a business so I should provide the name and a link to the homepage or something like that? In the end I never received a reply and gave up after a while. Needless to say, I will not give them any of my money because they clearly do not want it...

A friend did the same to play around with the larger Nvidia GPUs and never ran into any issues, but my almost 20 years old google account is not good enough?

HansHamster··on I trapped scammers in an impossible maze [video]
Reminds me of my experience with GCP... "here are 300 bucks of credit so you can try out absolutely nothing interesting because we set all relevant quotas to 0. Good luck trying to get any support, but if you really want, you can try to contact our business sales teams for very serious businesses that will just ignore you"
HansHamster··on NASA can't open its asteroid capsule
Does this count? https://www.youtube.com/watch?v=f0lpiXAHuyA
HansHamster··on 'Not of faculty quality': How Penn mistreated Katalin Karikó
The grant has restrictions on how the money can be used and the university takes a sizeable chunk of this (because they can). Then out of generosity and the pure kindness of their heart they might give you back a small chunk of that sum without the same restrictions.
HansHamster··on My 2023 all-flash ZFS NAS (Network Storage) build
RAM prices went down quite a bit over the last year or so and a 32GB stick of 3200 Kingston RAM with ECC here is now 70-80€, not that much more expensive than non-ECC (about 60€ for 3200, more for faster modules).

I replaced 2 of the 16GB ECC sticks in my main PC with 32GB ones a while ago and put them in my NAS, will probably do the same with the remaining 2 sticks to max out my RAM.

HansHamster··on My 2023 all-flash ZFS NAS (Network Storage) build
I think most Zen CPUs support it, but only the PRO APUs. Just upgraded my NAS a while ago after upgrading my main PC and replaced the 2200G with my old 1800X and some ECC ram, but also had to install an old GPU because that one doesn't have an iGPU.
HansHamster··on *(char*)0 = 0; – What does the C++ programmer intend with this code? [video]
The interrupt vector table on x86 sits by default at 0000:0000 and the CPU uses it to handle interrupts and other exceptions by jumping to the address entry corresponding to the event. Entry 0 is division by 0, but there are also entries for illegal instruction, hardware interrupts and so on.

The address can be changed with the LIDT instruction and operating systems nowadays will just put it wherever, but for backward compatibility it is expected to still be at 0000:0000 (not sure how this is handled nowadays in UEFI, but it should still be possible t o set it up that way).

HansHamster··on F-Droid version of KDEConnect uninstalled by PlayProtect
I mean, I know why it happens, but that doesn't mean I'm happy about accepting it.

It is really annoying how every vendor cobbles together a Frankenstein abomination of a kernel with just the right drivers and patches and good luck trying to run anything else. But I also understand that they (except maybe for Google) have no interest or incentive to clean up this mess.

HansHamster··on F-Droid version of KDEConnect uninstalled by PlayProtect
It is for me. And there is nothing important on my phone so it is not a huge concern. And why do we have to accept that phones just turn into garbage after a few years? Even my old 2009 laptop* still runs an up-to-date OS but my 2016 phone is obsolete after 2-3 years?

* but I have to admit that the hardware is quite slow

HansHamster··on F-Droid version of KDEConnect uninstalled by PlayProtect
But why waste the money? I intend to use this thing until it breaks...
HansHamster··on F-Droid version of KDEConnect uninstalled by PlayProtect
LineageOS unfortunately dropped support for my Moto G4 relatively quickly after I installed it and it only was supported up to Android 7.1. I have been running an unofficial build of 8.1 ever since, but that is also horribly outdated by now.
HansHamster··on Samsung expected to report 80% profit plunge as losses mount at chip business
> but operate on thin margins, because a competitor can also build a fab

Building new fabs, especially for the advanced nodes, costs billions, takes years, and requires a lot of know how and special equipment. There are only a handful of companies operating and building new fabs.

> TSMC has some extra expertise that others doesn't [...] but together with NVidia, they are the champions, and others are constantly catching up

Not sure what you mean. Nvidia uses TSMC for the manufacturing for the 40 series (and Samsung for the 3000 series) and doesn't have their own fabs.

> Think graphic cards, Radeon(now AMD) has consistently built worse graphic cards, with less R&D, but sold at a cheaper price point and survived throughout the years.

You mean ATI (now AMD)? They got rid of their fabs back in 2009 and put them into GlobalFoundries. They now also mostly use TSMC for their CPUs and GPUs (and profit from the more advances nodes compared to GF) and GF for a few things in larger nodes.

Apple also (just as everyone else you have mentioned) uses TSMC for (most of) their chips and is one of TSMCs largest customers. Intel and Samsung have their own fabs, but also seem to lag behind TSMC.

HansHamster··on Valve says Counter-Strike 2 for macOS not happening, there aren't enough players
It would be weird for Valve not to support Linux, given that the Steam Deck runs it. They could of course use Proton to run it, but AFAIR (most of(?)) the previous CS versions also had native Linux support. (Not sure about Mac support in the previous releases?)
HansHamster··on AMD may get across the CUDA moat
Guess I'm also doing something wrong. Never had any serious issues with either Nvidia or AMD on Linux (and only a few annoyances on RNDA2 shortly after release)...
HansHamster··on Oh-My-God Particle
One thing to keep in mind is that the particle will likely only lose a 'tiny' fraction of its energy in a collision (the article mentions 2900 TeV for an atom of nitrogen) and it might not even cause a 'hard' collision. A collision will probably create a shower of particles which will carry away most of the energy.
HansHamster··on Pixel 8 to have seven years of Android updates
And you can get an even better phone by spending 900$! /s
HansHamster··on Discord as a filehost will no longer be possible by the end of the year
Haven't used discord in years. So it clearly doesn't apply in general...
HansHamster··on Scientists unveil fire-safe fuel
> Airlines optimize to such an extent that they include only the fuel needed to reach a destination, including a safety margin, so on short-haul flights the tanks are mostly empty at takeoff.

And on the other hand, planes on long flights are so heavy due to the additional fuel that they can not land early without getting rid of the excess weight first or risk structural damage or worse.This usually means dumping the fuel or burning it off in a holding pattern.

HansHamster··on The Fantilator Page
See also: https://computer-animal-shelter.web.cern.ch/index.shtml

And: https://lonelychairsatcern.tumblr.com/

HansHamster··on Windows 11 has made the “clean Windows install” an oxymoron
> games (I know, Wine is a thing, but let's be honest: it is very much still a hit or miss)

I used to dual-boot for a few games, but nowadays I just don't bother anymore. I check protondb beforehand and most of the games I played just ran without issues. I think the last time I booted Windows for games was for Space Engineers a couple of years ago (which seems to work now, but looks like a pain to set up).

HansHamster··on VirGL – A virtual 3D GPU for use inside QEMU virtual machines
> Perhaps try a recent Asus motherboard?

I also have an AM4 ASUS board (is that recent enough?) and earlier this year, ASUS decided to completely remove any mention of this board from their site, as if it never existed. So no bios updates for me I guess? No idea if it is up to date or not or if my CPU is even supported...

> Yes, you would have to buy as many cheap, secondary GPUs as the number of virtual machines that you want to run in parallel.

Except that cheap GPUs are... cheap and not very powerful, so depending on what I want to do I would have to buy a bunch of expensive and powerful GPUs (or go back to rebooting VMs to switch). And there are only so many PCIe slots on my board (2x8 and 1x4, the latter of which is already in use by a non-GPU card). Running them in an x1 slot also doesn't sound like a great idea.

I have tried to run it but gave up in the end after breaking bios updates and not wanting to spend even more money on another fast GPU.

HansHamster··on VirGL – A virtual 3D GPU for use inside QEMU virtual machines
> The whole process takes perhaps one or two hours and as works flawlessly, with no stability issues. Good joke, that really made me laugh :)

I tried this on my ASRock X370 Taichi a while back. Turns out that there is a bug in older bios versions and the whole thing just freezes when starting the QEMU VM. Then there is an intermediate bios version with which I actually managed to get it working. Unforunately I later upgraded my CPU and had to install a new bios and this again completely breaks the IOMMU groups. Probably spend a few days to get everything running, including downgrading from a non-downgradeable bios version.

And even when it was working it was a pain to use. Want to use the passthrough GPU in Linux? Now I have to dual-boot QEMU VMs or disable the passthrough, reboot, then enable it again, reboot one more...

I really want proper GPU virtualisation...

HansHamster··on Muon g-2 doubles down with latest measurement, explores uncharted territory
> Link to paper [0] - now that’s a concise author list, lol.

Compared to e.g. a paper from the ATLAS experiment that looks very concise, it even fits on a single page. I have seen papers where the author list is longer than the paper itself...

HansHamster··on Had a call with Reddit to discuss pricing
> but what they've left Reddit with as a differentiator are the communities

And I'm honestly not very fond of how the communities on reddit work. Sure, there is some overlap between the peoples on different subreddits, but there is little 'community' across subreddits and it feels very different to the 'good old' discussion boards that cover a very general topic and then have many more specific subsections. I'm especially missing the more off-topic aspects, which just doesn't fit well with the separation in subreddits.

HansHamster··on Gravitational-wave detector LIGO is back
First thing that comes to mind is a lethal dose of neutrino radiation: https://what-if.xkcd.com/73/

Now the tricky part is probably to build a neutrino / gravitational wave / whatever source that is intense enough to be useful as a weapon without just evaporating everything in a supernova scale explosion before...

← PreviousPage 2 of 3Next →