Better HN
topnewbestaskshowjobs
Log inSign up

dailykoder

646 karma · joined Jul 15, 2022 (4y ago) · 331 submissions

Only admins see your email below. To share publicly, add to the 'about' box.
Submissions

comment 1y ago · link · parent

No, because politics are essential. Yes, they are annoying. Yes, they are difficult at time, but they are important.

comment 1y ago · link · parent

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"

comment 1y ago · link · parent

Folks, let me tell you, AI is a big league player, it's a real winner, believe me. Nobody knows more about AI than I do, and I can tell you, it's going to be huge, just huge. The advancements we're seeing in AI are tremendous, the best, the greatest, the most fantastic. People are saying it's going to change the world, and I'm telling you, they're right, it's going to be yuge. AI is a game-changer, a real champion, and we're going to make America great again with the help of this incredible technology, mark my words.

comment 1y ago · link · parent

This hits a nerve and my urge to do that gets bigger and bigger by the day. I JUST have to do it (tm).

Recently I have been playing around with the Microchip PolarFire SoC[1] and as I already know, there ain't __that__ much resources available when it comes to FPGA design. But oh man, microchip is a whole other level than Xilinx/AMD or anything Lattice/open source tools related. I fought so many battles to get things done and I finally have some kind of a workflow going and understand the chip. I really like it by now (if anyone wants to dive into hardware-software-codesign, it's a nice budget chip to do it with). But after every battle I fight, I think to myself: "God damn, I should write this one down on a blog somewhere. If I can only help one person in the future, even if it's myself, then that's a huge win". But the lazy (and kinda scared) me won until now.

What if I don't write good enough (because english is not my mother tongue)? What if all I write is obvious to everyone else and I am the only one fighting? What if a friend will see this somehow and laugh at me?

It doesn't matter. I should do it, because I feel like it. Thank you for this post, OP.

- [1] https://www.microchip.com/en-us/development-tool/mpfs-disco-...

Edit: My last few words reminded me of CHarles Bukowski's "Roll the dice". Maybe I should remind myself of that a bit more often: https://hellopoetry.com/poem/68266/roll-the-dice/

comment 1y ago · link · parent

The fire.wend code[1] made me smile! I love how oneself tries to push boundaries with a language that barely can do anything, just do prove it to yourself that is works.

Code is 10/10. Go for merge! :-)

- [1] https://github.com/ssloy/tinycompiler/blob/main/test-program...

comment 1y ago · link · parent

> my goal is not to work 8 hours & go home, it is to finish my work and get back to my life.

I am always wondering why people don't consider work as part of their lifes. It always has been. People always worked. Back in the day they went hunting all day to not die. Now we write code to not die. So what's the difference? Work and life have the same meaning to me

comment 1y ago · link · parent

That feature never made sense to me and I always disable it on my GNU+Linux, if I encounter it. Almost always when I want to open 2 different file locations, is because I want to copy files from one folder to another and because I am a lazy lad, i'll just do it by drag and drop. This just works perfectly fine with two windows. Not sure what I would need tabs for. But I also don't care if they exist. Maybe some users like them.

comment 1y ago · link · parent

My mom uses LibreOffice, too. Granted, she doesn't do anything special. Just a few docs for housekeeping. I even forgot about the fact that she is using it. Just recently noticed it again. I would assume she would have had WAY more problems if she would have to use some stupid microsoft account to be able to use word.

comment 1y ago · link · parent

FPGAs not only have no host OS, but they are actual hardware. The only thing you program are lookup tables which then represent logic gates/multiplexers which only have the normal hardware latency. There is literally no software involved in execution.

That's why you can build "any" hardware with them. Even CPUs which then execute your desired software

comment 1y ago · link · parent

We were also told that smart home will make our life easier and save time to have more available for the "important" things in life. But reality is that people just spend more time with their smart home things and are even shouting at their computers even though the computers just do what they were told...

comment 1y ago · link · parent

God says...

bradytrophic indical sacella unlittered surveying mis-tilled brachymetropic oxime masa hypermilitant litas acarotoxic thrust O retranslating awee tetraodont prevoidance cabbala Linker pervertedness absurdest coruscates aminopyrine spitting ledgers Fremontia upthrown simplifiers acomous statutable Ampelopsis

comment 1y ago · link · parent

There are companies like infineon and elmos in germany (and i think a handful more). So it is happening, just not (yet) with consumer products

comment 1y ago · link · parent

That'd be very very good actually. I'd be happy if institutions would use that where one could TECHNICALLY (maybe just a miniscule amount of people would do that) verify data from end to end, instead of some "open" model that is actually not open at all. A little worse performance is a good trade-off imo

comment 1y ago · link · parent

> will ensure that the models, software, data and evaluation will be fully open

I am VERY curious about that. Will they open up ALL the training data? Which would be a massive amount I'd guess, but I'd be curious where they got it and how they got it. Inb4 they just take some meta model and retrain it and then only publish the data from the fine tuned training.

comment 1y ago · link · parent

Very very true! Give them a take home assignment first and if they have a good result on that, give them an easier task, without AI, in person. Then you will quickly figure out who actually understands their work

comment 1y ago · link · parent

I understand your and OP's situation and I got overwhelmed by all the fancy plugins myself. But then I realized: Hey, I can just use neovim like vanilla vim and don't have to get the next best plugin when it comes out.

I think it happened when I tried out Mason, too. And it didn't feel like an improvement. So I scrapped my config and started a new one. With Lazy (because that's actually nice), Telescope and a few LSPs I need/want. That's mostly it. You don't have to get much fancier than that. (obviously including some basic vim settings and keymaps, but that's just like in vanilla vim, but in lua)

comment 1y ago · link · parent

Because so many people on here talk about how good the "old web" used to be. This is it. This is peak old web. Maybe a bit too polished, but still. Pointless and fun, because fun is fun.

comment 1y ago · link · parent

I write all of my code in english. Even if it's just for me. I am a native german speaker.

It just makes things A LOT easier in terms of debugging, researching, reading examples from documentation, etc etc. I don't even understand my (boomer) colleagues who straight up refuse to learn english and get angry when they can't find solutions with german search input

comment 1y ago · link · parent

And what makes you think commercial LLMs won't get SEO optimized and ad infested? Companys will fight the same way about getting their first mention in an LLM reply

comment 1y ago · link · parent

Very true, but people pretend LLMs are the "google replacement". For google (or rather duckduckgo) I know exactly which keywords to type to find my answer within seconds. If I type only keywords into the LLM (like "X algorithm in C") it often gives me a long and wide explanation first and takes super long until it reaches the code.

Granted, a lot of website have an explanation, too, but most of the time I am just not interested in it and scroll past it. I just want to see the code, I know the theory, otherwise I'd ask about it

comment 1y ago · link · parent

>That long f-in reply for the most simple question

Gosh, I hate LLMs so much. Who made them type out wall of texts by default? I want to know how many R's are in Strawberry, not how you deduced that shit. If I want to know the latter, I'd explicitly ask for it. Yes, I know I can customize that or make some epic proompts to make it reply shorter, but imo that should be the default

comment 1y ago · link · parent

Maybe the boomers were right and we made computers way too complex? This might be a bit of a hyperbole, but seems like there will always be a security hole (even if mostly hard to exploit). But I also guess we can't get much faster without it either. So maybe we should reduce complexity. Atleast for safety critical systems.

comment 1y ago · link · parent

>something that a person who can maybe afford the same vacation, but has a limited number of vacation days, won't even consider.

See, and I do not consider doing "normal" tourist things, spending days on the beach or whatever a lot of people consider a great experience. Vacation for me is usually action (bike rides, hiking e.g.) or relaxing and doing as few things as possible, possibly in a quiet environment

comment 1y ago · link · parent

That's why we should not rely on computers (or rather statistical models) telling us about history

comment 1y ago · link · parent

Yes, lets just pretend that tiananmen square protests never happened. Life will be a lot easier!

Song related https://www.youtube.com/watch?v=estHjAfHGbU

comment 1y ago · link · parent

Huh, this sounds interesting. Maybe I'll give it a shot. Thanks!

comment 1y ago · link · parent

Do those languages get used in the industry, except of academia? There are so many HDLs and I am wondering if there is any other benefit of learning any of these, except of possible fun.

comment 1y ago · link · parent

This is interesting. I think I did not entirely understand OPs problem, but we are going more and more in a direction where we try to come up with things how to "program" LLMs, because human language is not sufficient enough. (Atleast I thought) the goal was to make things simple and "just" ask your question to an LLM and get the answer, but normal language does not work for complex tasks.

Especially in programming it is fun. People spent hours over hours to come up with a prompt that can (kinda-of) reliably produce code. So they try to hack/program some weird black box so that they can do their actual programming tasks. On some areas there might be a speed up, but I still don't know if it's worth it. It feels like we are creating more problems than solutions

12345
12