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 2y ago · link · parent

Okay, but this one is really accurate: https://columns.ai/chatgpt/90ECu7cRj1pL82

comment 2y ago · link · parent

Wow, this is fantastic!! Thanks! Currently writing my PhD and this can be really useful

https://columns.ai/chatgpt/3Gk20NKW6D4vTt

comment 2y ago · link · parent

The ARM Core?

It's usually used for anything software you need and the FPGA gets used for any domain specific circuit for signal processing and what not in hardware. The ARM core usually runs a linux or any other OS and is used for communication with other devices. It's just able to run at a higher frequency than most soft-cores, because it's a fully integrated and optimized circuit. So in theory that's a nice thing and gives you more space for custom circuits on the programmable logic part.

PS: The latest polarfire chips from Microchip use a RISC-V CPU. Since AMD has announced the microblaze-v (their proprietary soft-core CPU with RISC-V ISA), I assume they soon (tm) will release their zynq range with dedicated RISC-V in near future, too. But even if it's an open instruction set, it's still a closed source CPU

comment 2y ago · link · parent

>Some IP addresses are “cleaner” than other addresses

All IP addresses are equal, but some addresses are more equal than others. - George Orwell

comment 2y ago · link · parent

I think I've been writing C for well over 10 years now and this year was finally the one where I forced myself to remember function pointer declarations. I don't even know why it took me so long to remember such a simple thing, but possibly writing "c function pointer" into my favorite search engine and hitting enter was faster than thinking about it for a moment.

But maybe also because I changed up my general programming approach a bit and try to think a bit longer before hitting up a search engine. Also forced myself to read more reference sheets than stackoverflow or chatgpt. And I must say, this made me a lot more comfortable, because I understand more. Can recommend to go through the struggle/10

comment 2y ago · link · parent

I don't know. I can only speak of germany and my subjective feeling and I don't think it's as bad as people want it to be. Yes we have hard times, but come on, we still live in luxury.

comment 2y ago · link · parent

>We're getting literal de-growth of energy

What do you mean by that and why is it bad? Do you mean that we save energy and need less? That doesn't sound bad tbh.

comment 2y ago · link · parent

Why are there so many nuclear fans on here? I am no expert and yes it sounds like nuclear energy is "clean and easy", but we still don't know what to do with the waste and if it'd be cheaper is apparently a heavy debate. So what's bad about removing the risk of nuclear powerplants and producing less nuclear waste?

comment 2y ago · link · parent

Ever heard of computers? I heard they'd be pretty good at mundane tasks with numbers

comment 2y ago · link · parent

Because static libraries ain't a big thing anymore. Maybe they will become popular again. This would make it easier to have reproduceable build without a container. But I think containers are the new static libs now

comment 2y ago · link · parent

> 6502 cores are still found in some SoCs aimed at the ultra-low-cost high-volume market.

What's the reason behind that? Probably just keeping existing, working designs and thus saving R&D costs? Sounds like beating a 10 cent risc-v core would be hard.

Edit: When I first read your comment I had to chuckle a bit, because I got the image of a multicore SoC with 6502 6502 cores. That would be a fun project for my FPGA hmmmmmmmm ...

comment 2y ago · link · parent

Sligthly OT, but I always have fun reading these maths posts here: I enjoyed maths in University very much (I did CE) and the joy from my professors always inspired me. I'd love to learn more and dip into solving things with it (maybe with a hang towards numerics?).

But been out of Uni for 2 years now and haven't done much, so probably gotta relearn quite a bit. Does anyone have some good ideas where to start and find fun ideas? Not numerics, but I did quite a few projecteuler problems during my bachelors - maybe there is more like this? Any ideas welcome.

Or should I redo all tasks in my textbooks first? ;-)

comment 2y ago · link · parent

Wouldn't be surprised if AMD or Intel come up with an FPGA especially for this application. Atleast AMD advertises a lot with their AI FPGA stuff, so they'll probably build one with either a lot more BRAM or the ability to attach some very fast RAM? But going from a few Megabytes of RAM to Gigabytes sounds very expensive. DRAM is just too slow, I guess

comment 2y ago · link · parent

Welcome to the world of FPGA synthesis :-)

> am i missing something? since when does vitis connect to vivado and do the p&r too?

I haven't done much HLS, but isn't that the normal case? Translating the HLS into HDL and then do the pnr with vivado?

comment 2y ago · link · parent

Ye, this sounds reasonable. Sad.

comment 2y ago · link · parent

Not sure why this is getting downvoted. This is exactly what GDPR was made for. Good thing I have only like 2 answers on SO, lol.

comment 2y ago · link · parent

>For instance if you are sure that a switch-case default branch is actually unreachable you can put a std::unreachable into the default-branch to hint the compiler that it may remove a range check in front of the switch-case jump table access

I guess they stole this idea from Terry Davis who implemented this in holyC. When you use square brackets it just doesn't do any range check. Terry, as always, been ahead of the times. Like so:

switch[abc] { [...] }

comment 2y ago · link · parent

Damn, I should write more C++ again. I am missing so much fun. (Edit: I am not sure myself if I mean this sarcastic or not)

comment 2y ago · link · parent

I didn't realize RISC-V already has so many extensions. I just briefly looked over them and apparently they are often just small parts which get grouped up into larger extensions, but I hope the extension "mess" won't kill risc-v in the end. Still very excited about RISC-V progress

comment 2y ago · link · parent

Sure, most people can get a great bike for ~1k€ or less than that. I am just a spoiled bike enthusiast, i have to admit. I wouldn't want to ride a bike that does not have very decent breaks and a good shifting system. Plus if you want a nice weight, you are very fast at 2k€+. But you are right. Still you can get a car for 1k€. Maybe 20+ years old, but they can still get you from a to b

comment 2y ago · link · parent

That's true. There are too many different cases, that's why I am saying common sense. If there is a bike box, go ahead and use it. If there is none, then be prepared to not be seen by the car. Traffic is just complex.

PS: In my experience, if there is a bike box, then there is also often a separate bike lane. I was mainly speaking about roads where there is no real bike lane. If there is one, then most things just work out fine.

comment 2y ago · link · parent

>"cyclists should yield at all times and have a sixth sense to avoid getting killed by impatient or distracted drivers".

And that is literally true. Yes, cars should be more careful, but it's a fact that it's easy to overlook a cyclist. As my motorcycle instructor said during our first theory lesson: "So you are all here because you have suicidal tendencies, right?". And he was right. And it's even more true with cyclists. No one says that this is a good thing tho.

comment 2y ago · link · parent

We should all just look out for each other. Mostly follow the rules, but don't let common sense go abroad.

There are so many cyclists in berlin that just go in front of all the cars at a red light, even it's just one car in front of them. I know that this car can accelerate way faster than me and drives way faster, why would I want to block it and make the driver mad?

Yes, if the road is congested I might pass the cars too, because I realize I am faster, but everything else just doesn't make sense to me.

comment 2y ago · link · parent

>Bikes are for everybody. You can ride a beat up bike for years with just basic knowledge, l

That is true. But what changed most sceptics, that i met, mind were bikes that actually worked. I understand the fear when people see the price tag and think they could buy a second hand car for that, but once they sit on a good bike they just enjoy it. And if they then learn how to do basic maintenance themselves so that it just stays good and doesn't creak all the time, they fall in love with them. I love bikes.

comment 2y ago · link · parent

I am 90% on your side (my experience is just that most doctors or therapists ask for my workout before considering meds). The truth is just that every mental illness is different.

So yeah, my takeaway is we should embrace workout, or maybe not necesserily straight workout, but just simple movement/exercise, more than meds. Especially here in germany I notice a very bad/prejudice mindset about doctors. I myself had very good experience. Either just because of pure luck or because I went to them, because I geniuenely believe that they are professionals who can help me. And that's what they (most of the time, not always) did.

comment 2y ago · link · parent

Have you tried pineapple on your pizza? Seems like an interesting experiment

comment 2y ago · link · parent

Strava is not enough. You should make a tiktok livestream while exercising. Otherwise it's not a real workout
1
89101112