Samul's Training and Nutrition Log

so you think that having to wear a mask is the same type of measure as keeping somebody who tested negative twice in a row in quarantine?

1 Like

Annoying, but still better than having it I guess ahah…

I mean it’s annoying. The mask at school, in the commutes, then in the gym, then at the job. Ughhhhhh

1 Like

I really don’t mean to cause any offence. Glad your well. I’ve deleted comments to not clutter up your log with this nonsense. Best wishes.

2 Likes

No offense taken, and I really appreciate it man. Never meant to offend you either.

1 Like

@Voxel

this issue has had me scratch my head for the past few hours. if you have any inputs, I’d highly appreciate it.

Sorry mate, I’m so old now that when I was slinging Django channels weren’t a thing.

1 Like

:sob::sob::sob:

It has something to do with all the async shenanigans going on there, I’m sure.

For some reason, the function that’s supposed to run second, when the first one has finished firing, takes precedence and blocks it.

It’s probably not even a channels specific issue, more like it’s something about python async functions I’m missing right now.

Will have to bang my head against the wall for a while and then I’ll eventually find a way.

Being a coder sounds a lot of fun

It is!

Except when you’re banging your head against a wall for hours and sometimes days because some code you’ve written which you expect to behave a certain way does something else and you’re like, man what the hell.

1 Like

So, I’m halfway through the first week of Odin Force. The program employs increments in volume from week to week as a means of driving progress, and it’s already tough at the low end of the spectrum. I’m going to need good recovery over the next month and a half.

I have a few concerns regarding aches I’ve been having in various parts of my upper body. I’ll just list them out in case any one sounds familiar and you have advice. I do realize I’m about to sound like I’m 80.

  1. My shoulders have been feeling weird during pressing. Like they aren’t positioned 100% like they should be. My left one has been hurting pretty annoyingly over the past two days, since my push workout. If you recall the trouble I had with my right shoulder, this is different. Here, I can “touch” the pain as it’s on my front delt as opposed to being inside the shoulder. It’s not your normal DOMS though.

  2. Case in point, my right shoulder feels weird during some movements, even unrelated to pressing. Notable example: this Monday I was doing lying leg curls. As I held onto the handles of the machine and started my sets, I felt traction on my right shoulder. I never had a luxation luckily, but if I had to describe the kind of pain I felt, it was like my shoulder wanted to leave its socket. Also, during my sets of smith machine ohp, I felt torque on my left shoulder on the harder reps, as if my shoulder, scapula, and arm were struggling and wanted to drift out of the position I wanted to keep them in.

  3. My right wrist still hurts after a hard bench press set and when too much pressure is applied onto my hand when it’s supinated.

One last point which is not injury related but has been cause on concern because it hasn’t gone away in a few weeks: I have a painful spot in my left lat. Sometimes it’s straight up pain, sometimes it’s just a little pressure as if somebody was lightly pinching it. I can’t pinpoint the exact spot, even through palpation; sometimes it feels right below the teres, other times it’s closer to where the lat meets the ribcage.

Well, I hope none of this is serious or turns into something serious. If there’s anything I can do to prevent these from getting worse, that’d be good though.

Squat 270 lb / 122 kg x 8, 10
Leg Extension 2 sets
Leg curl 3 sets

Happy with the squat. Might be a rep pr of some sort. I’ve done more weight in the past, just not sure about having done that many reps with it.

1 Like

Another software engineer friend of mine said it is the ultimate self-hating job (that’s socially acceptable). Why? Most of the time you do it your in an “I’m an idiot and totally do not get why this or that or how to” until you finally do get it at which point finishing is usually trivial. You finish and restart the cycle. You spend, in effect, no big part of your career feeling like you have it figured. It’s always challenging. You can rarely if ever lay back and coast (if you want to work somewhere interesting). And a lot of the knowledge you amass is project or company specific so when you leave you regress quite a bit.

Unlike training where if you just figure out what works it doesn’t even matter by what mechanism it works, software development in this regard can be thought of to mean that the rules for what illicits hypertrophy/strength or whatever your goal changes not just between gyms but which implement you are using… Want to get strong at squats? Do heavy squats. Want to become a good bencher? Sorry, 100 reps per set. And if you pick dumbbells you have to sun salute to Cthulu between reps.

1 Like

Why post in pounds :sob:

Because most people here don’t speak kilograms lol. Added both measures.

1 Like

I’ll ask about what you said there to my best friend who’s a software engineer/coder etc ahahah

This DOES sum up coding so well lol.

I’ve been banging my head against the wall for Java lately, trying to do things that would be absolutely trivial for me with js or python.

I’m going to bed soon but, what are you trying to do?

Okay I gotta admit that it’s not Java’s fault entirely: I also have a terrible teacher (who has never heard the term autoboxing apparently) who can’t write clear specifications.

I’m trying to implement the project assignment that was given last year as an exercise. I’ll translate the assignment text for you later, so tomorrow you can take a look. It’s not a matter of not being able to do it anyway, it’s more like everything feels awkward in Java.

Well, Java feels pretty natural to me so might be of some use.

Here’s the specification, translated as precisely as I could. anything sounding ambiguous is so in the original version too.

Design, implement, and document the collection SecureDataContainer< E >, a container of objects of type E. Intuitively, the collection behaves as a sort of data storage mechanism for storing and sharing data (represented by objects of type E). The collection needs to provide a security mechanism which manages the identity of users. Moreover, the collection needs to provide a system to manage access to data, enabling the owner of a piece of data to selectively restrict access to it to other users. Users can be authorized to access a piece of data by the owner; other users cannot access the data.

The main operations defined by the collections are:

 public interface SecureDataContainer<E>{
public void createUser(String Id, String passw);

// Returns the number of objects owned by Owner
public int getSize(String Owner, String passw);

// adds data to the collection if log in and authorization checks succeed
public boolean put(String Owner, String passw, E data);

public E get(String Owner, String passw, E data);

public E remove(String Owner, String passw, E data);

public void copy(String Owner, String passw, E data);

// shares data object with another user is log in and authorization check succeeds
public void share(String Owner, String passw, String Other, E data);

public Iterator<E>getIterator(String Owner, String passw);

// ... other operations to define at your discretion
}

Define the complete specific of the interface (requires, modifies, effects, throws clauses).
Define two implementations of the data type, using different data structures. In both cases, define the abstraction function and representation invariant. Discuss characteristics of both implementations.

It doesn’t look that clear to me honestly. I’ll try to come up with some code that makes sense tomorrow, but too many things are ambiguous or too open to interpretation if you ask me. Lemme know what you think.

I’ll give you an example of something that doesn’t make sense to me. Take the method get: it takes an object of type E as a parameter. What is this supposed to mean? That in order to get an object inside the collection, I need to already know the value I’m searching for?? What does sharing mean? The user I share the data with can get it, or they can remove too?

One thing I came up with, first of all, is wrapping the data objects inside a wrapper object, that contains the object of type E as well as a String containing the owner, and a Vector of Strings containing the users it’s shared with.

Common sense also suggests to create a User class too. A HashMap<String,String> defined to contain username:password would work too, though. I just don’t feel like there is enough information.