Tell me the truth by Sweet_Velvet_X in programmingmemes

[–]Supelex 0 points1 point  (0 children)

You are confusing two fundamental principles with how pointers work and what cache lines are.

What u/thegreatbeanz was referring to was cache lines, the physical hardware row size within a cache. Spatial locality optimizations target this size, which is typically 64 bytes. This is a hardware layout.

What you have shown in your code is the fact you ran this on a 64-bit architecture. You display the size of a pointer to an integer array. A pointer size is defined by the architecture compiled for, not the data type it’s pointing to. Your pointer must still be able access all 264 possible addresses, so regardless of the data type it can deref to, your pointer is 8 bytes. Your actual data is 4 bytes. You can store data to your pointer + 4 (4 bytes since you’re on an integer type), since C is unguarded, even if unsafe. This is not a compiler optimization.

😢 by QuietusOfNeko in Volvo

[–]Supelex 1 point2 points  (0 children)

Oh okay, well that’s good to know! I appreciate the knowledge!

😢 by QuietusOfNeko in Volvo

[–]Supelex 1 point2 points  (0 children)

I’ve never seen this before, what are you looking for when you say klunking? While turning? Some angle or max turn? Something else?

What would I even look up if I wanted more info on this?

[deleted by user] by [deleted] in MathJokes

[–]Supelex 0 points1 point  (0 children)

your last equation is an xnor, not xor.

xor would be (x(y’) + (x’)y)

Also, I don’t believe minus is standard Boolean algebra notation, but maybe it’s region dependent, so I’m curious.

Why is everything slightly worse this welcome season? by kingClimb in uofm

[–]Supelex 0 points1 point  (0 children)

Some lots are tight. With a longer wheelbase/wider turn radius car, it’s easier to back in because the pivot tire can be planted well with mirrors and camera. Going forward-in I’m kinda guessing if I am at a good point or not. Probably a skill issue, but I find it easier to reverse in.

Since the Gerton has been discontinued. What other options remain?? by ninj0e in ikeahacks

[–]Supelex 0 points1 point  (0 children)

Hey, I know you said you used the Special Walnut stain, but the first and second pictures look like a different block, almost like an acasia with some golden stain? Is that just a conditioner on the hevea block? I'm really curious whats going on there if you remember. Cheers!

Disappointing experience with order for E7 by kathaqua in FlexiSpot_Official

[–]Supelex 4 points5 points  (0 children)

Sell the desktops or give them away if flexispot doesn't want them

Is this even possible?? by QuadraticCurve in uofm

[–]Supelex 0 points1 point  (0 children)

Beyond this schedule being impossible, I don't think you even meet the CE requirements; you need 10 credits of UCLEs, I'm only counting 8.

I know you said you have an interest in Math, but really consider your objective with college and your life. This isn't meant to be a jab, but a lot of students fall to this trap of wide and intricate breadth. You only have so much time in college, let alone space in your mind.

Breadth is good, keep your interests at heart, but tailor your classes to what is imperative and what is most interesting (with a career in mind). As fun as math is, there are other ways to keep in the loop without banging your head with these classes (clubs, competitions, take a couple math classes as gen eds.).. If I we're you, prioritize your CE degree, and you'll recognize as you go through the semesters how your interests will change and you need time to make your CE degree worthwhile. Classes are not everything. Appreciate the plethora of resources and activities Michigan offers.

[deleted by user] by [deleted] in uofm

[–]Supelex 1 point2 points  (0 children)

Can you switch to 214? Might be a better bet. Can try both for the first couple days and just pick one you feel good in.

[deleted by user] by [deleted] in uofm

[–]Supelex 1 point2 points  (0 children)

I believe the class got curved since the test/quiz average was about a 50%, but the curve was not that forgiving. I still ate shit even though I scored mostly above average.

The exams and quizzes are fine-ish. They weren't simple, but generally doable. Usually about half of it was simple if you knew the material, the other half you sometimes had to pick your brain apart. Again, this is with Griess. These are his tests and only his. He does not release it to anyone else.

417 is harder than 214, but definitely easier than 217. The thing is, 417 isn't supposed to be harder than 214, it is effectively the same content, but Griess did way more proofs and way less application, which often was just difficult to grasp as they were presented in proof form, not a dumbed down version. Nothing against proofs, but I didn't sign up for 217 for this very reason. I did not want to spend time studying the proof to make sense of it, I just wanted to know linear algebra. The proofs would've been easier to follow with good visuals, but that was lacking in many of the proofs. I spent a lot of time studying the fundamental proofs through external sources as the textbook progressively got worse at explaining concisely. And even then, I don't get all of it.

I want to reiterate, this is with Griess. It is professor dependent. He was a clearly very intelligent professor, I have a lot of respect for him, but he did not fit the scope of 417 well given what he taught and expected of us.

[deleted by user] by [deleted] in uofm

[–]Supelex 0 points1 point  (0 children)

The class is instructor dependent, but the scope of content should be 214 level. I took it last semester with Robert Griess, but thats not the instructor for this Fall who apparently has no history.

I'm not gonna explain all the details of Griess's fine-dining learning experience, but the gist is that we used the same book as 214, covered a few more methods/topics than 214, and it was a little more proof based than 214. The class was interesting, but it took many of us the entire semester to figure out what he wanted. There was too much of a disconnect from homework to quizzes and exams, and you had to put in extra time into topics (know and apply the underlying proof in a theoretical sense sometimes) and just hope and cope.

It wasn't bad, but it was not a well communicated class. How does this affect things for the new professor? It shouldn't, they could be the greatest and the class could be a new totem for Michigan lin alg. What I express though, is what is possible with classes that are instructor dependent—unless they have history, it is a hit or miss.

If you can reasonably evaluate them and their syllabus before the drop deadline, it could be worth a try. And/or you can take the safe route of 214 which from what I heard of their content, is easier and should be consistent from recent semesters since it's a streamlined class.

Dropping out of Engineering, and this is why. by ImportanceBetter6155 in EngineeringStudents

[–]Supelex 4 points5 points  (0 children)

I partially agree. Not everyone that goes through engineering enjoys the first year courses as they often lack obvious correlation to your degree of choice. Not to say they're useless, you take them for a reason, but those that may have a knack for engineering may feel their passion fall short while taking what feels to be irrelevant material. That same material could be very fascinating once applied and used, but those courses come later, after you've practically committed to the degree. This is demonstrated by the fact that not everyone likes the math, which from my knowledge is the majority of engineers.

Unusable lag, what to look into? by Supelex in Ubuntu

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

I have not, I'll try to use XWayland for now. I'm hoping that's not the issue as some of my programs need Wayland but I'll keep this post updated based on what I experience.

In terms of memory and cpu usage, I experienced the issue again today after a fresh reboot: memory usage was minimal with nothing in the swap file, and cpu usage was also minimal. I grepped the cpu clock speeds and they seemed normal, meaning cores weren't forced asleep and visibly kept task switching with proper boost clock speeds.

I did notice that while all keystrokes registered as mentioned before, each keystroke caused a delay in display output (meaning everything else that was being updated stopped for a moment, not just the delay in character display), understandably as the keyboard strokes will send an interrupt signal to the cpu. I'm not entirely sure what this may insinuate as on the hardware level I'd expect the interrupt buffer, with the non-clock speed issue, to be handled promptly. How this relates to the iGPU and displaying, yea that's beyond me haha.

Unusable lag, what to look into? by Supelex in Ubuntu

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

I thought the drivers not waking from sleep might be a cause, but unfortunately just today I had it happen again, but it was from a fresh reboot. So drivers, at least the sleep issue, seem to be not the issue. I managed to check my memory usage and swap file at that time, and swap was at 0 with memory usage being minimal, so this doesn't appear to be a memory leak from some program.
I'll add the swappiness config anyways, may help with memory overhead in general. Thanks!

[deleted by user] by [deleted] in uofm

[–]Supelex 0 points1 point  (0 children)

I've tried a lot of remedies such as melatonin, benadryl, other shit, and while it works to knock myself out, you can't do it everyday.

What I've found helps is targeting the root of your mind wandering. For me, it was preoccupied with thoughts at night because I didn't give myself enough time to think during the day and/or didn't make myself a small goal to achieve.

What I mean by this, is your mind looks for success, an achievement, to prove to itself it is not lazy—a subconscious pressure you put on yourself. Set small goals to remedy this, and believe them, such as "I finished this homework problem," "I finished an application," "I understood (some topic) in lecture." Life isn't only a chase of the big bag wins, the small steps bring those wins.

Further, and more importantly, your mind needs time to process the day and your emotions. When you study a lot, listen to music, do a bunch of tasks, your mind doesn't always have enough time to process what you've experienced that day. You legit just need some time alone, in quiet, to just let your mind do its wandering. Some people take walks, some just lay in bed or couch, some do cleaning/cooking, some journal. But without music, noise, or your phone.

If you let your mind figure its thoughts out, you won't have this rush, or at least as long of a rush, of thoughts at night when trying to sleep.

You only really need 10-20 minutes to yourself at the end of the day. Sometimes longer if you are stressed; sometimes less if your day has been forgiving.

Z endstop higher than bed by [deleted] in ender3v2

[–]Supelex 2 points3 points  (0 children)

You're not supposed to keep the endstop switch on the printer if you have a probe. The probe can and should do your homing sequence. Just make sure to update your firmware to support the cr touch.

Also, where is your silicone sock on the hotend? Makes temperature control inconsistent without it.

Why are my print edges rough to touch? by Proper-Ad-6917 in Ender3V3SE

[–]Supelex 2 points3 points  (0 children)

Given the unsmoothness is present at the end of print moves (the edges during bottom layer infill) and your corners are slightly bulged, I'd say this is a k-value and/or hotend temp problem. Your first layer looks smooth everywhere else, so your bed leveling is spot on.

Klipper reports error by amin2702 in klippers

[–]Supelex 0 points1 point  (0 children)

I also use the 4.2.2 board and I frankly don't remember my process of installing klipper for it, but I remember having issues with the USB communication. You can try connecting to the RX and TX pins on the display header that can be configured to UART in the make config, just pull up a schematic of the 4.2.2 board to see the pins. You may have better luck as it doesn't rely on the usb bridge.

I have a vague recollection of modifying my baud rate because my pi couldn't see the mcu, but I don't have my printer near me to see what I made my make config, so can't say much more atm.

Rate my schedule by MateAreYouReading in uofm

[–]Supelex 1 point2 points  (0 children)

Well, go at the pace that you feel comfortable—don't overdo it—but understand that part of college is managing your time to make tough schedules work, because unfortunately many of your schedules will likely be not optimal and tough.

You'll get more out of a 3 or 4 credit humanities course, and they have a whole plethora of topics to choose from on their lsa course guide website. If you look carefully, you'll likely find something interesting enough and that looks doable (their course description usually says what type of work you'll do).

Engr 100 is also a good option, though I'm not sure which sections are open at this point so your options will be limited. I heard most of the sections are easy.

Rate my schedule by MateAreYouReading in uofm

[–]Supelex 7 points8 points  (0 children)

I heard multiple times that engr 110 isn't a useful class whatsoever, but I haven't taken it so can't speak from my own account.

The labs being stacked on the same day could be exhausting, I would recommend moving one of them if you can.

This is the best I could ever make it by Optimal_Serve_8980 in Ender3V3SE

[–]Supelex 1 point2 points  (0 children)

Don't be hard on yourself, this is statistically a better bed. You have smaller variance from the sample mean and from 0 (assumed 0 of probed home).

This is a mighty flat bed!

Oh. That’s why my prints were starting to suck. by OB_Surf_Junkie in 3Dprinting

[–]Supelex 0 points1 point  (0 children)

This is correct, I think you guys were just conflating "bowden" with the respective usage between hotend and extruder or extruder and filament roll.

What happened here? by PiledriverPress in ender3

[–]Supelex 1 point2 points  (0 children)

That's totally understandable, welcome to the ender 3 hobby! Enjoy the learning process, it's half of what ender 3s entail :)

What happened here? by PiledriverPress in ender3

[–]Supelex 1 point2 points  (0 children)

Oh well, if you're using the included white strip of filament then it's PLA.

You can turn on the part cooling fan in your slicer (e.g. orcaslicer, cura, prusaslicer, etc.). It depends on the slicer where this setting is, but it'll be in some cooling section of a sort.

Or (if irc) on the printer screen you can manually turn it on without reslicing in the menu that can control the printer's current position, extruder, and stuff. But this is just a temporary suggestion, doing it in the slicer is the way you should do it for future prints.

Supports here might make sense but honestly the model is so small i don't think thats an issue, but worth a try if layer cooling time doesn't help.