inline_caching

u/inline_caching@programming.dev
1 posts · 7 comments

Recent posts

Recent comments

I agree with the other answers that it depends on the type of programming you end up doing..the nature of the program being developed, but having a background in discrete math is great to have just in case.

From my experience, there can be unexpected problems where you will advantage from having grasp at discrete math. I worked on a project for a telecom company where they wanted a simulation to predict the impact on network coverage if a specific cell tower (BTS) was uninstalled. I ended up relying heavily on the cross-product formula and some ray-casting algorithms to model how coverage would shift in the area.

on Favorite projects? · c/c_lang · 1 pts · 3y

U might be thinking "lol that just C 2.0", no it was not, it is not that advanced lmao

on Favorite projects? · c/c_lang · 2 pts · 3y

I developed half-assed a NASM wrapper (or transpiler if u will) while ago, It basically just adds some high-level feature like simple condition statements directly against registers, for example:

if (rax == 12)

Then generates appropriate NASM code. Simple really. Most error checkings are done my NASM lol so I dont need to worry much about the prefixes or instruction-operand correctness. I took most of the grammar for the expression from here. I privatized the repo because it is crazy how dirty it is I am ashamed of myself. If anyone wanna do it again, I'm up tho. But i dont wanna use my old code, just code again from start.

Or Modafinil? I do Modafinil whenever I really need to get something done. I just stare at monitor and code for a good 8-10 hours, almost uninterrupted. But then when the effect wears off, I start to get migraine or really heavy headache, but it disappear the next morning tho.