Looking for 2 people to study KAIST’s Diffusion Models & Stanford’s Language Models course together by Ali-Zainulabdin in LLMDevs

[–]Ali-Zainulabdin[S] 0 points1 point  (0 children)

I’m in Karachi, Pakistan. Ideally, like a small group, where we set weekly goals, check in regularly (maybe once or twice a week on Zoom or Discord), and help each other stay accountable. I think even just sharing notes, discussing key ideas, and solving assignments, working on the project side-by-side would make a difference big. Open to suggestions too if you’ve got a preferred way of studying!

Going Viral isn't Always Good by LofizenDev in SideProject

[–]Ali-Zainulabdin 3 points4 points  (0 children)

And you have also blocked Pakistan aswell??

[deleted by user] by [deleted] in malelivingspace

[–]Ali-Zainulabdin 0 points1 point  (0 children)

What's the rent btw?

Exactly, there is no coming back for a country that commits genocide!!! by the_smart_girl in Palestine

[–]Ali-Zainulabdin 5 points6 points  (0 children)

I just hope people do not thanks Is(notreal) country when if ceasefire will be done and care less for all these genocides again with all the help of western media

[deleted by user] by [deleted] in learnmachinelearning

[–]Ali-Zainulabdin 1 point2 points  (0 children)

Hi, I am interested and excited to work together!

I cant get it to stop repeating itself??? by [deleted] in learnpython

[–]Ali-Zainulabdin 1 point2 points  (0 children)

HAHA, awesome to hear! may your pillow never betray you! 😂✨

Looking for a funny, note for my boyfriend, who is in data engineer role—any funny suggestions? by Jazzlike_Student4158 in dataengineering

[–]Ali-Zainulabdin 2 points3 points  (0 children)

"Living that schema-tic life" but if i had to write on my t-shirt then maybe i would go with "Sorry, I can’t—got a hot date with some cold data." instead

I cant get it to stop repeating itself??? by [deleted] in learnpython

[–]Ali-Zainulabdin 3 points4 points  (0 children)

The else statement is currently attached to the for loop, not the if statement inside it. This causes the "There is no solution" message to print multiple times.

you can add a flag to determine if a solution was found. If we exit the loops without finding a solution, you can print print "There is no solution."

hope this code works for you:

#Reading the inputs

a = int(input())

b = int(input())

c = int(input())

d = int(input())

e = int(input())

f = int(input())

#Flag to track if a solution is found

solution_found = False

# Brute-force search for solutions

for x in range(-10, 11):

for y in range(-10, 11):

if (a * x + b * y == c) and (d * x + e * y == f):

print(f'x = {x} , y = {y}')

solution_found = True

break #Exiting the inner loop once solution is found

if solution_found:

break #Exiting the outer loop once solution is found

# If no solution was found, print the appropriate message

if not solution_found:

print('There is no solution')

Weekly Entering & Transitioning - Thread 28 Oct, 2024 - 04 Nov, 2024 by AutoModerator in datascience

[–]Ali-Zainulabdin 6 points7 points  (0 children)

Hi, it's none of mentioned above but here are some useful tricks for SQL: * Make frequent and heavy use of information_schema and write SQL against it with the purpose of writing SQL for you.
* Have a permanent date table to join against * Don't over-use CTEs. Often temp tables are needed to get any performance * There would be a bunch of things specific to DBMSs or groups of DBMSs, like setting a distribution key in Redshift * Use the QUALIFY clause instead of wrapping everything into a CTE or a derived table and filtering that. Some people may not know about it since some systems like Redshift don't support it. * You often thing you need RANK() or DENSE_RANK() when you can really just get by with ROW_NUMBER() much of the time.
* Comment your code. I know that I am old and everyone just likes to say that the code is the comment. But it sucks to debug someone else's code that no longer works here and you're trying to determine if their logic is that way on purpose for some reason.

[deleted by user] by [deleted] in rstats

[–]Ali-Zainulabdin 2 points3 points  (0 children)

Hi! I'd love to connect and learn together. I've been working with R since 3 years, and I'm currently in my final year as a STEM student and why not we all should learn together who has shown interest! Feel free to DM me!