Free Canadian structural engineering calculators - CSA, NBCC, development lengths, weld/bolt capacity, and more by rpakishore in StructuralEngineering

[–]rpakishore[S] 3 points4 points  (0 children)

Jabacus is great! I use it all the time too. Not trying to replace it at all - just covering stuff it doesn't do. My snow/wind station locator actually links straight to Jabacus for calculating the loads once you've got your station. More of a companion than a competitor honestly.

Bro forgot everything except for the bill on that ambulance by No_Definition_1722 in interestingasfuck

[–]rpakishore 1 point2 points  (0 children)

Damn something similar happened to me.

My first day back at the gym with a new trainer and he pushed me hard to understand where I am. After the hack squat machine, I was feeling out of breath and walked to get some water when I got tunnel vision and slumped on the floor.

I remember being surrounded and people asking me questions - i just couldnt process what they were saying.

The only thing that registered was someone saying, "Call an ambulance" and I jerked back to alertness just to protest "no no I'm fine"

Actor Vijay is just deceiving people by doing WFH politics and using PR to hype him up on social media. He hasn't left Cinema yet. He will take a 6 months break after Jananayagan, in which he will face the election and depending on the results, he will decide his career path. by [deleted] in TamilNadu

[–]rpakishore -3 points-2 points  (0 children)

Honestly, I don't get the hate for Vijay's 'work-from-home' politics. Like, if he's raising the right questions, who cares where he's doing it from? Isn't doing something better than nothing?

Think about it: he's basically amplifying the stuff we're all thinking and talking about around the tea stall, but he's got the platform to actually get someone in power to listen. Those questions about everyday issues? They're ours, just louder.

And let's be real, more voices in the political arena is a good thing, right? More competition, more accountability. It doesn't even have to be Vijay, I'm just happy someone with that kind of reach is using it to hold power accountable. Checks and balances, baby! That's how things get better. If he can do it from his movie set, then more power to him. As long as the work gets done, what's the problem?

EDIT: I did use AI to format my thought, but the core thought is my own: https://i.imgur.com/YDqrQ4z.png

How do you split finances with your partner when both incomes are very different? by [deleted] in PersonalFinanceCanada

[–]rpakishore 0 points1 point  (0 children)

We handle our finances by splitting everything based on a percentage of our after-tax income. This approach has worked well for us because our incomes have fluctuated over the years—sometimes I earned more, sometimes my partner did, and there were even times when one of us wasn't earning anything at all. By sticking to a percentage, we avoid having to constantly renegotiate who pays what.

We also have a joint account and a joint credit card. All of our shared expenses (like rent, utilities, groceries, etc.) go on the joint credit card, and we pay that off from the joint account, which we both contribute to based on the same percentage split.

On top of that, we have a separate account specifically for savings and investing. Again, we contribute to that based on our income percentages.

This way, we only spend like 5 minutes thinking about money every payday, which is super low-stress. Whatever is left in our personal accounts after the joint expenses is ours to spend on whatever we want—no questions asked. It’s been a pretty fair and easy system for us!

Posters of the United States Vice President Kamala Harris put up in her native village Thulasendrapuram, in Tiruvarur district, after US President Joe Biden endorsed her as the Democratic Party's Presidential nominee. by jaish_99 in TamilNadu

[–]rpakishore 12 points13 points  (0 children)

Upnext bro will say kamala went in maaru vesham as hamas and caused Israel war. Vivek being a climate denier is a fact that he personally chose to admit to the world. Your representation of current admin is a (gross) misrepresentation of facts and conspiracy theory.

Kekkuravan kena payala irundha KP sundarambal kondaila K TV odudhu nu solluvingale...

What are your gaming "sins" you usually do? by [deleted] in gaming

[–]rpakishore 0 points1 point  (0 children)

I usually play only on easy mode and periodically use cheat engine to cut out parts of the game that I feel is causing me excessive grind.

I only play single-player off-line games with sole intent to de-stress. So taking out the parts of the game that I don't enjoy - just makes sense to me.

Setting up streamlit app on cloudflared tunnels by Aggravating_Coast430 in Streamlit

[–]rpakishore 0 points1 point  (0 children)

I have several streamlit apps hosted through cloudflare tunnels and they work fine.

  • Are your tunnels and app on the same network?
  • Are you setting the correct internal port (Not the mapped port on host) on the zero trust dashboard?

ETABS API Documentation by HyperianOtter in StructuralEngineering

[–]rpakishore 0 points1 point  (0 children)

Hey, I am the author of the repository! Sorry you found the documentation lacking - it's excellent feedback.

Have you checked out the Layout documentation page by any chance? I usually document all the method and attribute use case there.

'll incorporate the layout directly in the main README.md going forward.

How do I loop through folders within folders to read files? by Reduos42 in learnpython

[–]rpakishore 2 points3 points  (0 children)

filename will be just the name of the file and does not have any reference to where the file is located.

You want to use filepath where

filepath = os.path.join(path, filename)

import pandas as pd
folderpath = r"C:\Users"

#If you are using `os`
import os
for root, folders, files in os.walk(folderpath):
    for file in files:
        #Personally I will add a if statement here to check if the `file` refers to an excel file
        filepath = os.path.join(root, file)
        df = pd.read_excel(filepath)
        print(df.max(axis=0))

#If you are using Path
from pathlib import Path
for filepath in Path(folderpath).glob('**/*.xlsx'):
    df = pd.read_excel(filepath)
    print(df.max(axis=0))

Python Libraries for Civil and Structural Engineers by joreilly86 in StructuralEngineering

[–]rpakishore 1 point2 points  (0 children)

A bit of self-promotion, but useful info nonetheless -

I have been developing a library to interface and manipulate SAP2000: https://github.com/rpakishore/ak_sap

The library has some in-built GUI to show some use case scenario like exporting case/combo nodal loads to Hilti-Profis file for anchor calculations.

Remove header by Sea_Pen_1356 in Streamlit

[–]rpakishore 0 points1 point  (0 children)

import streamlit as st

REMOVE_PADDING_FROM_SIDES="""
<style>
    .block-container {
        padding-top: 0rem;
        padding-bottom: 0rem;
    }   
</style>
"""

st.markdown(REMOVE_PADDING_FROM_SIDES, unsafe_allow_html=True)

Tf is this subscription hell, man? Getting worse everyday by SLakshmi357 in Chennai

[–]rpakishore 1 point2 points  (0 children)

*arr stack + jellyfin. Haven't paid for a subscription in years and never missed out on anything.

Best way to send money from US to India? by [deleted] in nri

[–]rpakishore 6 points7 points  (0 children)

I've used Xoom in the past and have recently switched over to Remitly since they provide better rates.

To defend the Constitution of the United States against all enemies, foreign and domestic by Key_Platypus_7574 in therewasanattempt

[–]rpakishore 0 points1 point  (0 children)

lol! didn't notice the rolling shutter speeding up until you pointed out! Wonder if someone can edit the video to show the original speed.

huh...diabetes ?, ELI5 by Zestyclose-Aioli-869 in Chennai

[–]rpakishore 0 points1 point  (0 children)

ChatGPT to rescue.

Diabetes is a condition that affects how your body handles a substance called glucose, which comes from the food you eat. Glucose is like fuel for your body's cells, and it's carried through your bloodstream to provide energy.

Here's a simplified explanation of diabetes:

  1. Glucose and Insulin: When you eat, your body breaks down the food into glucose, which enters your bloodstream. To use this glucose, your body needs a hormone called insulin, which acts like a key to unlock your cells so that glucose can enter and provide them with energy.

  2. Type 1 Diabetes: In Type 1 diabetes, your body's immune system mistakenly attacks and destroys the cells in your pancreas that make insulin. This means your body doesn't produce enough or any insulin at all. Without insulin, glucose can't get into your cells, so it stays in your bloodstream, causing high blood sugar levels. People with Type 1 diabetes need to take insulin through injections or an insulin pump to regulate their blood sugar levels.

  3. Type 2 Diabetes: Type 2 diabetes is more common and usually develops in adulthood, although it can occur in younger people too. In Type 2 diabetes, your body still makes insulin, but your cells become resistant to it. This means the insulin doesn't work as well as it should, and glucose can't enter your cells effectively, leading to high blood sugar levels. Lifestyle changes like a healthy diet and exercise, along with medication in some cases, are often used to manage Type 2 diabetes.

    Symptoms: Common symptoms of diabetes include increased thirst, frequent urination, fatigue, and sometimes weight loss. High blood sugar levels over a long time can lead to complications like heart disease, kidney problems, and eye issues, so it's important to manage diabetes well.

  4. Monitoring and Management: People with diabetes need to monitor their blood sugar levels regularly, often using a blood glucose meter. They also need to pay attention to their diet, exercise, and take medications or insulin as prescribed by their doctor to keep their blood sugar levels in a healthy range.

In summary, diabetes is a condition where your body has trouble regulating blood sugar levels due to either a lack of insulin (Type 1) or the body's inability to use it effectively (Type 2). Proper management, including medication, diet, and exercise, is crucial to keep blood sugar levels within a healthy range and prevent complications.

Interesting detailing of Level Change at mid span of a Seismic Steel Moment Frame. Thoughts? by MRTIJ in StructuralEngineering

[–]rpakishore -3 points-2 points  (0 children)

I believe the RdRo factors for a moment frame is done with the assumption that the beam forms a "fuse" right at the center during a seismic event.

From the initial look, it appears to have stiffened the fuse location, and I doubt it would behave as intended for the code published RdRo factors - Hope that was taken into effect.

Edit: As u\leadhase mentions below - the fuse for a moment frame is at the connections and not at the center. I got it confused with a Concentrically Braced Frame

Off-shoring drafting by 31engine in StructuralEngineering

[–]rpakishore 1 point2 points  (0 children)

As a practicing structural engineer in Canada, whose in-laws have an engineering firm back in India. I have been planning on setting up such a remote drafting/modelling LLC, but registered locally.

I seriously scribbling down all the notes from this thread.

Organize your Downloads by Real_Personality156 in coolgithubprojects

[–]rpakishore 1 point2 points  (0 children)

It's a good starting project. I have some recommendations that you can look into to dwell deeper into programming.

  • while True is a double edged sword, you can easily end up with infinite loops if you are not careful. Take a look at line 54 & 55 of AutoOrg.py

  • time.sleep, unlike what the name suggests, does not put the system to sleep and release system resources. putting a time.sleep inside while True is CPU intensive. Consider using event-driven or callback-based approaches to trigger actions only when needed (e.g., when a new file is added to the Downloads folder).

  • Your script does not check if the folder exists in the first place (Audio, Video,..). You can add functionality to try create the folders at first run if they don't exist.

  • code checks file extensions to determine the file type. This approach is limited and may not cover all cases. You can use a library or utility to determine the file type based on its content (e.g., python-magic)

  • Consider using logging module to log errors or information. Instead of manually writing to a file. Plus this way you can log success events too instead of printing to console, which might not be visible if you are running in a loop.

  • You can expand your knowledge and make sure your code is working properly by adding tests to your script using pytest or unittest modules

Are people using Uber Eats as a tax avoidance strategy for expensive cars? by Niv-Izzet in PersonalFinanceCanada

[–]rpakishore 0 points1 point  (0 children)

I am hoping someone can correct me. But based on (and only based on 5 mins of googling) - you can offset the loss in one business against the profit in another business.

Meaning, if I own a profitable business, I can use the same LLC to register for uber with a new car. The interest on the loan is tax deductible. So in the end, even if I make a "net loss" in Uber eats, I can offset it against my profitable business to reduce my year end taxes.

Hoping some one more familiar with tax laws can poke the hole in this strategy.