set22

u/set22


r/cycling•

New to cycling. Recently bought a Specialized Allez Sport as a first road bike. I'm 5'7.5". The mfg sizing chart put me technically in the 54cm, but also at the top end of 52cm. 54cm was my only option for the foreseeable future anyway, so it was a moot point. We swapped out the 100mm stem for an 80. I'm loving the bike, and so far it's comfy, but I have no point of comparison. I have plenty of room to move the saddle forward, but I'm going to give it a few more rides before making any adjustments.

​

I was wondering about the possibility of swapping my seatpost to an inline, however, I can't exactly tell by looks whether or not the stock post is actually an inline post.

33

r/csMajors•

During the semester, I keep a running list of things I want to learn once the semester finishes up. By the time the semester ends I always have an extensive list of things I want to do. Other languages, frameworks, interview prep, refresh on stuff I didn't use all semester, personal projects. It's always a little overwhelming and I have trouble prioritizing, and staying in a lane. How do you guys prioritize?

26215

r/flask•

I have some dynamically generated cards on my app that are generated by jinja. The cards contain a few forms - 2 of which I'd like to toggle. I wrote a simple JS function to accomplish this. The problem was that the function only worked on the first card.

I re-implemented in jQuery, but I am still getting the same result - the function only works on the first card. Any advice on what I might be doing wrong?

The jquery function (this is in the scripts block at the top of index.html) - It uses bootstrap-flask:

 <script>
  $(document).ready(function(){
    $("#toggle").on("click", function() {
      const $moveCashForm = $(this).closest('#category').find('#move-cash
13

r/sysadmin•

I'm not sure if this is an OK spot to post this.

I've been learning the basics of interacting with my shell. I learned about TLDR man pages through the MIT missing semester course.

Their man pages are great. I've used the pdf a number of times. But I can't get it functioning in my shell. I've installed it using homebrew. The tldr command outputs the menu.

When I try to execute it with a command I get:

" No internet connection detected. Please reconnect and try again."

I thought a quick google would provide answers, but this is really the only thing I turned up:

https://github.com/tldr-pages/tldr-python-client/issues/56

00

r/cs50•

I got speller completed successfully, but I wanted to optimize it. In my original I hardcoded the array size at 1.3 * max keys. I used the large dictionary as max key. This obviously is a huge waste of space for smaller dictionaries.

​

I then did some putzing to try to dynamically allocate the array in the load after I did a prescan of the dictionary to get the word count. I can compile fine. The dictionary loads fine, but at runtime it seems like the text isn't referencing the dictionary - i.e. all misspellings. Valgrind returns an invalid read issue at line 104 where the word is compared to the traversal pointer's word. Help50 tells me I'm trying to access memory that

12

r/cs50•

Things were working fine when I had a hardcoded capitalized key. Then I added the capitalization feature to capitalize the key. The key seems to capitalize and return fine, but when I pass the key into the string, it seems to only pass part of the key string.

This is what I get when I print the key before passing, and print it again from within the encryption method:

plaintext: hello
JTREKYAVOGDXPSNCUIZLFBMWHQ
JTREKYAVQ!
 /AA ~/substitution/ $ ./substitution
plaintext: hello
JTREKYAVOGDXPSNCUIZLFBMWHQ
JTREKYAV
 /%% ~/substitution/ $ 

When I run debug50, the variable key is accurate until it hits the user input for plain text, at which point the key string

13


r/learnjava•

I know I'm not the first person to solicit feedback on this.

But here I am.

I wanted to use a hashmap but i couldn't fully figure out how to use it. The concept didn't fully click until I submitted and passed my code and saw the TMC example. I realized the HashMap is just a faster structure for finding an object in a list. I was thinking of it as a way to connect planes and flights. I think I get it enough to implement it next time.

But here is what I submitted.

​

Let me know where I can improve if you have a second. thanks.

​

https://pastebin.com/EVqET7AT

12

r/Fitness•

28 yo. Male. 170 lb, 5’8. I’ve been working out for about 3 months. Running phraks gslp + accessories. Most of the lifts have progressed nicely, and they don’t seem to have stalled yet. OHP from 45 to 100. Deadlift from 95 to 270. Bench from 85 to 160. Chin-ups from 3 max to 3x5 25 lb weighted.
But my squat has stalled a few times at 165ish. Speed slows down at that weight, and in the third set my form falls apart, my knees cave, shift my hips a bit, and I get a little pain in what I think is my hip flexor.

I’ve deloaded two or three times to get form back and work my way back up 5lbs at a time. But I have no trouble with form at lower weights. I do ass to grass squats, and I c

4574

r/formcheck•

I’ve been working out for about 6 or 7 weeks. Running phraks greyskull. Generally adding 3 or 4 accessories to each day. I was working up in weight by 2.5-5 lbs per workout according to the program when I started noticing that I was focusing too much on the progression and losing sight of the basic form. I also started to notice tightness/soreness/pressure in my knees in the day or two after squatting. It’s not pain, kinda hard to explain. It’s this weird feeling when I lock out my knees, stand straight, or stop quickly with all of my weight, my knees feel like they give out for a second. Like they hyperextended or something. It’s a weird sensation. I then notice it when I deadlift 2 days l

13

You've reached the end of this feed.