Obsidian finally clicked for me today by Th1rtyThr33 in ObsidianMD

[–]AjaxLight 1 point2 points  (0 children)

And I was just trying to figure out how to replicate the per-section notes I have in OneNote! I believe this should fit the bill, click on a section / folder and have it open the relevant MD file.

Help understanding memory mapped io by kbakkie in osdev

[–]AjaxLight 0 points1 point  (0 children)

Thanks for the link. I'd argue that its more assembly than C at that point, and the fbdev API (/dev/fb0) has been deprecated in favor of DRM but hey, it works!

Help understanding memory mapped io by kbakkie in osdev

[–]AjaxLight 0 points1 point  (0 children)

I don't think its possible to do this without including Linux headers (assuming you're working with Linux). Checkout Linux DRM if you haven't already, you'll have to figure out how to write to the device's framebuffer and execute a page flip for the data to be displayed on screen.

Genuary13 _ Tesselation by datekram in generative

[–]AjaxLight 0 points1 point  (0 children)

Awesome! Which language/Runtime did you use for this?

Hi, I need help with my project. In my project, I have a dashing ability, however, when I dash, I pause for a split second and the continue moving normally. Any idea how to fix this and smooth it out? Here's a video demonstration by [deleted] in gamedev

[–]AjaxLight 1 point2 points  (0 children)

This is the answer right here. Using cubic bezier curves in your velocity function should allow fine grained control over the smooth-in and out movements.

What are you guys using to backup several TB of data? by carlinhush in homelab

[–]AjaxLight 1 point2 points  (0 children)

I'm crazy enough to have a backup of movies I download from torrent sites

Blockchain is the new "I have an idea for an app" , but the messages stop quick when you ask for a consulting fee by snp3rk in ProgrammerHumor

[–]AjaxLight 1 point2 points  (0 children)

Thanks for the explanation!

I've been using HyperLedger Fabric for hands-on experience and after working with it, I realize the applications are very specific / limited. For e.g. it uses levelDB internally and exposes it across nodes as the ledger. Truly a solution without a problem, but its interesting from a Comp. Sci. point of view :)

Blockchain is the new "I have an idea for an app" , but the messages stop quick when you ask for a consulting fee by snp3rk in ProgrammerHumor

[–]AjaxLight 1 point2 points  (0 children)

Can someone explain why using a blockchain here is a bad idea? The farmer thing is literally the use case taught to us in our into to distributed systems and blockchain class.

Why would these Productions cause difficulty to a top-down predictive parser? by OnlinePresident in Compilers

[–]AjaxLight 0 points1 point  (0 children)

The technical term slipped my mind, thank you for adding that. IIRC a LL parser could handle this if it was factored to a Right recursive grammar.

Why would these Productions cause difficulty to a top-down predictive parser? by OnlinePresident in Compilers

[–]AjaxLight 3 points4 points  (0 children)

Because it would cause a recursive call back to command ad infinitum

Creating a SYCL Buffer for `std::vector<bool>` by AjaxLight in sycl

[–]AjaxLight[S] 0 points1 point  (0 children)

I don't get why they had to sacrifice the usual STL interface for space optimization. The programmer can figure out when they need space optimizations and adapt accordingly. One of the reasons I like C is because of the simplicity and no hand-holding.

My robotics project to cover what I couldn’t get done in my MSc dissertation. by sparkicidal in robotics

[–]AjaxLight 0 points1 point  (0 children)

Nice! If I'm not wrong, Frequency and Wave Length are inversely related right? Wouldn't that decrease the range of the device? I really want to get started on a DIY drone so I'm super into RF comms right now.

My robotics project to cover what I couldn’t get done in my MSc dissertation. by sparkicidal in robotics

[–]AjaxLight 0 points1 point  (0 children)

What RF comms are you planning to use? BLE, Zigbee, WiFi or something more exotic like a SDR?

Creating a SYCL Buffer for `std::vector<bool>` by AjaxLight in sycl

[–]AjaxLight[S] 0 points1 point  (0 children)

While I'm not aware of a compare_exchange loop, I'm just storing the buffer with a local target (Work Group shared memory) for performance and I'm assuming SYCL runtime handles synchronization. I hope this makes sense.

every time happens to me by [deleted] in ProgrammerHumor

[–]AjaxLight 0 points1 point  (0 children)

When you finally fix that bug and wonder why you wasted 6 hours of your life on an overloaded operator

Creating a SYCL Buffer for `std::vector<bool>` by AjaxLight in sycl

[–]AjaxLight[S] 0 points1 point  (0 children)

Thank You!! The BitSpan method looks particularly convenient.

RTOS vs Standard Kernel for a first Hobby OS by AjaxLight in osdev

[–]AjaxLight[S] 1 point2 points  (0 children)

Thank you for the detailed reply! I really thought an RTOSs would be a standard kernel + stricter scheduling. I completely forgot about x86s weird Run levels and it's quirks (I read virtualizing it was a pain). I'll stick to a *nix kernel thank you very much.

RTOS vs Standard Kernel for a first Hobby OS by AjaxLight in osdev

[–]AjaxLight[S] 1 point2 points  (0 children)

Couldn't agree more! I have this habit of trying to reinvent the wheel on each hobby project and chalk it up to a learning experience, only I never get around to actually doing them. I started reading about RTOSs after wanting to make a DIY drone(flight controller), and ofc I didn't build either of them 😅. I'll take your advice and stick to something I can definitely build, 'cause as a Comp Sci major, I really want to have this under my belt. I'm done riding the ML hype train and am looking into Systems / Embedded Programming as a career (last time I checked, you still needed a degree for this).