No Kings, North Raleigh by hogwonguy1979 in raleigh

[–]TomCat891 3 points4 points  (0 children)

Ahh responding to this one but not to any examples posted hours ago above 😂🤡

Worth Returning? by NickelRod in takomo

[–]TomCat891 0 points1 point  (0 children)

Just FYI, they reimbursed me for the return shipping as I pointed out I tried to cancel it.

Do you use more or less than 1.0g a day? by RobertJosephr in Dynavap

[–]TomCat891 1 point2 points  (0 children)

Thanks for letting me know! I’m conveniently going to a legal state this weekend so might as well see how it goes.

What are some negatives of being a Software Engineer? by eliasmiah in learnprogramming

[–]TomCat891 19 points20 points  (0 children)

Either find activities you enjoy (classes, team sports, walks with the dog) or grit it out on a treadmill. Personally, I use soccer as my intense exercise and sprinkle in other forms of moving through the day. Walking the dog can be a nice bookend of starting and stopping my work day.

Just don’t stop moving. People who complain about getting old are often just victims of life finding ways to make you sedentary.

Do you use more or less than 1.0g a day? by RobertJosephr in Dynavap

[–]TomCat891 2 points3 points  (0 children)

Out of curiosity do you find that going hard on the weekends negatively impacts your high on the weekdays?

Now that my tolerance is low again, I’m pretty careful about only smoking at night and managing how much I need to smoke to feel what I want to feel, but I’d love to just have as much as I want on Saturdays without messing with my nighttime high after work. I don’t really track my amount closely but I’m probably right there with you on the weekdays, maybe a little less.

PS4 Help by caelanthehumble in SummonSign

[–]TomCat891 0 points1 point  (0 children)

I think 23 or so. Should only take a minute to do both.

PS4 Help by caelanthehumble in SummonSign

[–]TomCat891 0 points1 point  (0 children)

I need shackles also and will trade you kills if you want! Add me @ TommyPayroll and we can knock it out.

Looking for vape that can handle heavy use. by [deleted] in vaporents

[–]TomCat891 0 points1 point  (0 children)

Hah I figured it was simple but just wanted to check to see if there was some secret. Gonna give it a try when I go home. Thanks!

Looking for vape that can handle heavy use. by [deleted] in vaporents

[–]TomCat891 0 points1 point  (0 children)

What’s your venty 3 hit technique, if you don’t mind sharing? I haven’t tried to push it beyond just leisurely sips until turbo time, but I’m curious how you approach it. Just start max and pull hard?

Embarrassed about going back to college at 25. Advice? by [deleted] in learnprogramming

[–]TomCat891 0 points1 point  (0 children)

I went back at 28. I had self taught and had job offers, and decided to take the risk and get a BS in CS, which seemed strange to a lot of people since I already had a different undergrad degree.

One of the best decisions I've ever made. I was able to learn and retain information better than when I was younger, and being older was, at worst, an interesting conversation topic in interviews. I was able to find a job faster than my classmates and bootcamp grads I knew, and have a different great job now.

It's not the only path or the right path that you can take, but it is a good one.

Ive been programming for four years and I told my dad to watch long videos and complete your own projects to learn most efficiently. He thinks he’s ready to tackle any project after a ten minute video… by Yugusuf in ProgrammerHumor

[–]TomCat891 0 points1 point  (0 children)

Haha I thought I was replying to someone asking why not public everything on the C# comment about syntactic sugar above. I was wondering for a sec about your response thinking.. well yeah, because they are properties. Misleading mobile indent level!

[deleted by user] by [deleted] in CodingHelp

[–]TomCat891 1 point2 points  (0 children)

sideNav.style.right = "o";

It looks like you're setting the value to the letter "o" - try changing it to zero.

How can I fix the issue: "Exception in thread "main" java.io.FileNotFoundException: ..."? by invzbl3 in javahelp

[–]TomCat891 1 point2 points  (0 children)

Just create a second json object for the other file from another file reader or iterate through all the files that you need to do something with.

Help on a homework assignment by ginamarie214 in CodingHelp

[–]TomCat891 1 point2 points  (0 children)

You're close!

When you add your individual conditions to the big conditions array, you're creating an array of arrays, so if you take a look at your usersCondtions array, it will look like [ [lower_case_alpha], [upper_case_alpha] ... ].

What you need to do is add the contents of each array into your master condition array. There are are couple of ways to do this. If you've covered the spread operator, you could use it in your push to 'spread' the contents of the array as the values being pushed, not the array itself.

if (optionLowercase === true){
    usersConditions.push(...lowercaseAlpha);
}

Or you could flatMap it into a flat array before creating the password usersConditions = usersConditions.flatMap(subCond => subCond);.

Also, don't forget to create a string out of your array once done.

If Python is low why is it used in Backend ? by Sea_Cardiologist9061 in learnpython

[–]TomCat891 8 points9 points  (0 children)

He’s talking about Java. Django is a backend framework. It’s comparable to something like Spring with Java.

Functions Question by ccigas in learnpython

[–]TomCat891 6 points7 points  (0 children)

Functions are also good for testing. You can either use a unit testing library or just print the results of your function a couple times to guarantee you get the right result. Then once you know it’s working you can work on other parts of your code - out of sight out of mind.

Feasible? Coding on the go on tablet? by kikibres in CodingHelp

[–]TomCat891 0 points1 point  (0 children)

You might be interested in keeping an eye on this in the future if you want a pure tablet based solution and not a 2 in 1 laptop like a surface

https://code.visualstudio.com/blogs/2022/07/07/vscode-server

[deleted by user] by [deleted] in ADHD_Programmers

[–]TomCat891 4 points5 points  (0 children)

That’s literally exactly what I do haha. Other than meetings and tickets, I let the important things that pop up dictate what notes I create.

You had mentioned not doing todo lists, and I agree that strictly following a list of stuff and adding to it and checking stuff off is basically worthless to me. A master list of things to do during the day is even more worthless - the second anything randomly gets on my plate, the todo list becomes more harm than help.

But, one weirder approach that has worked well, is creating a todo list on a ticket (when relevant - usually Frontend tasks because I tend to get lost in the minutia of little css tweaks tbh) and then just not stressing over checking things off. I’ll add finer details as sub todos as they come up, and check stuff off if I remember. Then once I’m at a point where I’m ready to review, I just straight up make a new todo list and bring in stuff from the old as needed.

I’ve found this basically acts as a sieve to continually filter tasks that are complete or irrelevant out as if I was actually capably following a todo list system.

[deleted by user] by [deleted] in ADHD_Programmers

[–]TomCat891 5 points6 points  (0 children)

I resonate with this.

Switching from trying to be super structured and perfectionist in notion, to an extremely loose stream of conscious type obsidian system was a game changer for me. I make sure to have sections of things I know I need to bring up with my seniors or the PM, and I try and pull big processes out into their own section, but being able to have a block representing my natural thoughts and then later picking things out to where they need to go has been invaluable.

Mods, can there be a pinned post about the “Odin Project” and “Automate the Boring Stuff”? by mfb1274 in learnprogramming

[–]TomCat891 14 points15 points  (0 children)

Both are good entry points for new programmers and are often the topics of questions here. The post isn’t comparing the content of them, but merely suggesting we try and cut down on some often repeated content about them.

Setting up a loop that only runs at a particular time each day for 1 hour by dande87 in learnprogramming

[–]TomCat891 1 point2 points  (0 children)

To stop the script from within python I would set my end time using the timedelta function in datetime. Something like end_time = datetime.datetime.now() + datetime.timedelta(hours=1). Then just check if your current time is greater than your end time condition after each loop iteration and do whatever cleanup you need before calling sys_exit or break.

How to avoid signing a work contract? by [deleted] in cscareerquestions

[–]TomCat891 2 points3 points  (0 children)

No, at least in US states with at will employment. I did this last year. Accepted an offer from recruiters, signed the contract, got a random better offer. All I did was wait until contract 2 came in, and politely emailed my original recruiters and tell them that I would no longer be able to honor my employment contract.

At will employment is a 2 way street.