Ask HN: How does a CPU communicate with a GPU?
3 by pedrolins | 0 comments on Hacker News. I've been learning about computer architecture [1] and I've become comfortable with my understanding of how a processor communicates with main memory - be it directly, with the presence of caches or even virtual memory - and I/O peripherals. But something that seems weirdly absent from the courses I took and what I have found online is how the CPU communicates with other processing units, such as GPUs - not only that, but an in-depth description of interconnecting different systems with buses (by in-depth I mean an RTL example/description). I understand that as you add more hardware to a machine, complexity increases and software must intervene - so a generalistic answer won't exist and the answer will depend on the implementation being talked about. That's fine by me. What I'm looking for is a description of how a CPU tells a GPU to start executing a program. Through what means do they communicate - a bus? How does such a communication instance look like? I'd love get pointers to resources such as books and lectures that are more hands-on/implementation aware. [1] Just so that my background knowledge is clear: I've concluded NAND2TETRIS, watched and concluded Berkeley's 2020 CS61C and have read a good chunk of H&P (both Computer Architecture: A Quantitative Approach and Computer Organization and Design: RISC-V edition), and now am moving on to Onur Mutlu's lectures on advanced computer architecture.
Show HN: Wachy – A UI for eBPF-based performance debugging
24 by vivek-jain | 2 comments on Hacker News. eBPF is an amazing technology that allows safely running user-supplied functions at pretty much arbitrary probe points in a kernel/user space context. Much has been written about how amazing this feature is for kernel observability. But as someone who writes user space code, what I find even more amazing is the support for tracing arbitrary user space programs, with no code changes and low overhead. However, doing in-depth analysis can get complicated and time-consuming. My goal with wachy was to make this debugging significantly easier/faster to use, by displaying traces in a TUI next to the source code and allowing for interactive drilldown analysis. If you get a chance, check out the start of the demo video since (AFAIK) it's quite unique and gives a much clearer idea than I can provide with just text.
Show HN: I made Devzat – It's like discord but in the terminal, over SSH
14 by quackduck | 0 comments on Hacker News. Run `ssh devzat.hackclub.com` to try it out! The repo is here: https://ift.tt/OJgTkqe (golang). It has markdown and emoji support, DMs, channels, and it can show images too. You can send code, and it gets syntax highlighted (you can change the theme). You can ping people like so: @user and it sends them a \a, which should play an audible sound if the terminal allows it. There's inbuilt games and rainbow names and a lot of other small things I don't remember right now. You might find the auth system interesting: it's based on a hash of ssh pubkey (bans use that and a hash of IP, so it isn't so easy to get around a ban) Also an interesting issue: bots that go around trying to brute force ssh into random IPs with common usernames. My current solution is banning if rapid successive joins are detected.
Ask HN: Neutral DNS servers?
51 by NotAWorkNick | 31 comments on Hacker News. Hi HN - Here’s a question that I hope will generate some useful comments, suggestions and links. Background for question: I normally run an internal DNS resolver with an upstream pool of 10-15 providers. These are normally a mix of Global Anycast servers (Quad9 etc) with some OpenNIC, YandexDNS etc thrown in towards the end to cover the ‘chilling effects’ blackholes. Currently Yandex DNS is pinging a timeout (either due to black-holing or DDOS’ing depending on where I connect To/From). My question to HN is this – Given my ‘Information Wants To Be Free’ viewpoint, are there any DNS equivalents of Switzerland (WWII, Neutral to all parties) providers?
Rita and her children were trapped in Ukraine when Russia invaded. After spending a week in their basement, they've finally been reunited with Rita's husband and their father Andy.
from BBC News - World https://ift.tt/g1V5Ouy
via IFTTT
Show HN: I made a privacy-first minimalist Backblaze
45 by bimbashrestha | 20 comments on Hacker News. Creator here. I was looking for something as simple as Backblaze Personal [1] but privacy focused and open source. This is my attempt to build that. Uses PyQt6 [2] for the GUI and Pyinstaller [3] for creating the platform specific binaries. The backup engine under the hood is Restic [4]. The server code is written in Laravel [5]. All the code is on GitHub [6]. I actually really like Backblaze (even use B2 for this offering behind the scenes) so this isn't meant to throw shade their way. Just wanted a private open source alternative. Something like Bitwarden but for backups. [1] https://backblaze.com [2] https://ift.tt/ImE8KMZ [3] https://ift.tt/192GoaP [4] https://ift.tt/7p3G2FN [5] https://laravel.com [6] https://ift.tt/AJlKLY1
WNBA side Phoenix Mercury are concerned for Brittney Griner's "safety, physical and mental health" after she was detained in Russia on drug smuggling charges.
from BBC News - World https://ift.tt/CyW0Edu
via IFTTT