News for hackers. Stuff that matters.

dailykoder

Re:Bare metal printf – C standard library without OS on Sunday April 27, 2025 @08:17AM (#43811404)
Oh damn, thanks!
Re:Bare metal printf – C standard library without OS on Sunday April 27, 2025 @07:54AM (#43811285)

  // QEMU UART registers - these addresses are for QEMU's 16550A UART
  #define UART_BASE 0x10000000
  #define UART_THR  (*(volatile char *)(UART_BASE + 0x00)) // Transmit Holding Register
  #define UART_RBR  (*(volatile char *)(UART_BASE + 0x00)) // Receive Buffer Register
  #define UART_LSR  (*(volatile char *)(UART_BASE + 0x05)) // Line Status Register
This looks odd. Why are receive and transmit buffer the same and why would you use such a weird offset? Iirc RISC-V allows that, but my gut says I'd still align this to the word size.
Re:SerenityOS is a love letter to '90s user interfaces on Tuesday April 22, 2025 @09:42AM (#43762080)
The UI in terms of space and usability looks great. Two "modern" things I don't want to miss: Good font rendering and a fast application launcher (mod -> type a few characters -> enter). What I dislike the most on modern UI, and maybe absolutely hate, are all those super slow animations. Just gimme the damn thing, I don't need those animations. (Yes I know on most plattforms I can disable them, but this often takes quite a few steps)
Re:Googler... ex-Googler on Monday April 14, 2025 @03:55AM (#43679057)
> Just like that.

These statements always catch me a bit off-guard. Is there no such thing as a cancelation period in the US? When my employer wants to kick me out, he needs a good reason for that and I'd still be paid for 3 months. Which is often even longer, depending on how long you belong to a company.

Edit: I'm in germany

I started playing with vim, but neovim is another level. It's my goto for coding over vim. I don't expect them to put more effort into anything, because it just works as a editor/IDE.
Re:Ask HN: Do you still use Search Engines? on Wednesday April 09, 2025 @03:03AM (#43629547)
You need tokens to create more revenue for the company that is running the LLM. Nothing more, nothing less
Re:An FPGA-based LGP-30 Replica on Tuesday April 08, 2025 @02:12AM (#43618818)
Cute project!

> Xilinx tech support page and a forum post explaining how to get the Xilinx ISE to run under Windows 8 or Windows 10. Unfortunately Xilinx no longer maintains this development suite, but has also considered it unnecessary to support their Spartan 6 platform in the successor software suite, Vivado…

Wasn't the Spartan 6 also supported by the open source toolchains? I just did a couple seconds of search and I could only find the yosys support, but no nextpnr. Sad. Xilinx/AMD should open that up

Yeah sure, I know that a lot of people make 6 figures. The comparison to switzerland is not that great though, giving the cost of living. There is not much difference of me getting a 100k CHF in switzerland or 60k€ in germany
Yes, I'm preparing my portfolio right now. Got a bit more time
6 figures? I only take jobs with free fruit basket. That's the minimum.

PS, my references: I have never used cursor, I am quite bad at vibe coding and don't enjoy it at all. I rarely even use AI for help. But I am quite decent at FPGA design and embedded developemnt. If you have a job for me in germany or remote in europe, then I will pay you with very bad humor every week. Possibility of using linux+neovim is a requirement though. (Yes, I really need a job)

Re:Self-Hosting like it's 2025 on Tuesday April 01, 2025 @07:52AM (#43545652)
I shared this sentiment. But since I just host some personal fun projects and I got really lazy when it comes to self-hosting, I found great pleasure in just creating the simplest possible docker containers. It just keeps the system super clean and easy to wipe and setup again. My databases are usually just mounted volumes which do reside on the host system
Re:Self-Hosting like it's 2025 on Tuesday April 01, 2025 @07:47AM (#43545614)
I'm sure you find some joy in it or just like to explore what's possible. But just a reminder: Pieter Levels is running his million dollar businesses on a single VPS (if that's still correct). But yeah, if you like it, why not.

"Premature clustering is the source of all evil" - or something like that.

Re:Self-Hosting like it's 2025 on Tuesday April 01, 2025 @07:43AM (#43545584)
I guess it can be comfortable for some people.

But I just wanted to comment something similar. It's probably heavily dependend on how many services you self-host, but I have 6 services on my VPS and they are just simple podman containers that I just run. Some of them automatically, some of them manually. On top of that a very simple nginx configuration (mostly just subdomains with reverse proxy) and that's it. I don't need an extra container for my nginx, I think (or is there a very good security reason? I have "nothing to hide" and/or lose, but still). My lazy brain thinks as long as I keep nginx up to date with my package manager and my certbot running, ill be fine

Re:Compiler Options Hardening Guide for C and C++ on Monday March 31, 2025 @08:26AM (#43534188)
Nice, thank you! Saved this. Mastering GCC compiler options feels harder than mastering C++ UB.
Why is there even a desire to replace software developers? Presumably this is the kind of job humans find meaningful

Why is there even a desire to replace car manufacturers? Presumably this is the kind of job humans find meaningful

[...]

Re:2025 Tariff Impacts at Puget Systems on Friday March 28, 2025 @07:57PM (#43511218)
I wouldn't imply that he's too dumb. He just wants to sell it and make the actual dumb people believe that he is doing good for them.
Even worse: Who will produce new training data? If everyone only uses AI, then nothing new will be invented. Quality will stagnate or go downhill. It cannot get better
To me "learn to code" has ALWAYS been a synonym to "learn to think". Coding is nothing else than thinking. You learn a handful of structures and then you only think about how to combine them. It doesn't matter if you do it by AI or "by hand".
Re:Rost – Rust Programming in German on Thursday March 27, 2025 @02:54AM (#43491022)
Oh nice. Today I actually wanted to start learning Rust. As a native german this will make things a lot easier. Thank you!
Re:Google's Two-Year Frenzy to Catch Up with OpenAI on Wednesday March 26, 2025 @06:10PM (#43488008)
> Integration with search, gmail, google office suite, google meet, android, etc.

That's kinda crazy that people absolutely stopped to care that all their emails and so forth will be used as training data for the next models

Re:You need to know about bootc on Monday March 24, 2025 @04:07AM (#43458531)
Thank you! Then I'll look a bit more into it.
Re:You need to know about bootc on Monday March 24, 2025 @02:54AM (#43458251)
Sounds interesting, but since I haven't been in touch much with this topic I ask myself: Does this have any benefit for my personal home-computer usage?

For a long time I have the urge to try out Nix, because I clutter up my computer way too fast and therefore often get mad and just install a fresh system. This works fine with my files, but there are always applications which I forget about and forget to save configs. So having this all in a git repo to spin it up fast would be nice. Is bootc, fedora silverblue and so forth trying to achieve something similar?

Re:Aiter: AI Tensor Engine for ROCm on Monday March 24, 2025 @02:42AM (#43458222)
Still waiting for ROCm on my cheap Radeon RX 7600. Would be nice to play around with it a little. I know that this card is nothing fancy. There is somewhere a github issue where they announced to port it for linux to consumer cards, but last time I checked (a few days ago) it still wasn't available
Re:Happy 10k Day on Wednesday March 12, 2025 @03:58AM (#43340823)
Not as terrifying as humans
True. And I try to avoid it. Gladly it's not as addictive as others.
Fun fact: If you don't open a social media account, then you will most likely not spend hours on their apps. Sounds really fucking crazy, but it's true. I tested it myself!
Re:I've been using Claude Code for a couple of days on Monday March 10, 2025 @05:16AM (#43318399)
AI Policy for Application *

While we encourage people to use AI systems during their role to help them work faster and more effectively, please do not use AI assistants during the application process. We want to understand your personal interest in Anthropic without mediation through an AI system, and we also want to evaluate your non-AI-assisted communication skills. Please indicate 'Yes' if you have read and agree.

Re:It is as if you were on your phone on Sunday March 09, 2025 @07:34PM (#43315076)
Ok good, but I don't browse the web on my fone. Thank you for posting this
Re:Buy European Made. Support European Values on Thursday March 06, 2025 @06:39AM (#43279028)
No, because politics are essential. Yes, they are annoying. Yes, they are difficult at time, but they are important.
This. Maybe even more than 99% of the time you are fine. It's okay to struggle a day with a rare problem every now and then. Just don't be scared of it. There are enough resources out there to research them when you need them.

Where I still get nervous is when I force push my branch after a rebase, even if I know I am the only one working on it. But this is also one of these examples. If I remember correctly, there are other options to sync your remote after you did a rebase, but force push is just the easiest. So I rather take 5 seconds to make sure I typed exactly what I wanted and that everything is fine and that just works.

Edit: I was just brainstorming a bit about it and thought that probably some of the unknown magic git features were just implemented by a motivated dev that just wanted to explore what's possible. But on the other hand, there are most likely some very very obscure configurations and edge cases in the wild where people actually need those features. But most people will likely never need them, so I myself won't bother understanding "everything"

Older »