Skip to content

Tags

#students

Posts tagged #students on Dynamo Geeks: 20 posts from the community, most useful first.

20 posts

Posts tagged #students

  1. Question

    my snake game snake doesnt die when it eats itself?? kya galat hai 😅

    bhaiya didi help 😅 i made snake game in python (pygame) at night after physics. its working mostly but when snake eats itself it doesnt die?? it just goes through itself like ghost. kya ye sahi hai?? my friend says my snake is immortal lol here is the code (food wala part i removed to make it short, when it eats food i do snake_len += 1) import pygame pygame.init() win = pygame.display.set_mode((600, 400)) clock =…

    Aman Raj9likes11comments

  2. Update

    hostel mein sab cricket match dekh rahe the, main snake…

    hostel mein sab cricket match dekh rahe the, main snake game mein score counter bana raha tha. 3 ghante laga. counter ab kaam karta hai!! bas snake khud ko khaata hai toh score 0 nahi hota 😅 match kaun jeeta kisi ko pata hai?? kal physics test hai, mummy ko mat batana

    Aman Raj8likes7comments

  3. Question

    Java: why == works for 127 but not for 1000;

    Hello, I am CS student in Thessaloniki, learning Java for my exam. I found something strange and my professor only said "look it up" xD Integer a = 127; Integer b = 127; System.out.println(a == b); // true Integer c = 1000; Integer d = 1000; System.out.println(c == d); // false ;; Why the same code gives different result; Is it a bug in my JDK (Temurin 21); Should I always use equals for Integer; Thank you!

    Nikos Papadakis12likes8comments

  4. Question

    tier 3 clg, 3rd yr, koi company nahi aati. is it over for me?? 😭

    bhai log pls help 🙏 btech cse 3rd yr, private clg in bareilly. last year only 2 companies came for placement, both service, package 3.2 lpa. i know c++ basics, 140 leetcode done (mostly easy), 1 project (todo app in react). my seniors are saying "off campus is impossible from our clg". one youtuber is selling a 6000 rs course which "guarantees" internship. should i buy it?? also should i do dsa in c++ or switch to…

    Harshit Gangwar8likes14comments

  5. Question

    Recursion confusion: why does my function print the numbers in reverse order?

    Assalam o Alaikum all. I am a 2nd year CS student. I am having a confusion in recursion. Here is my code: #include <stdio.h> void print(int n) { if (n == 0) return; print(n - 1); printf("%d ", n); } int main() { print(5); return 0; } I expected 5 4 3 2 1 but it prints 1 2 3 4 5 . When I move the printf above the recursive call, it prints 5 4 3 2 1 . Why is the position of one line changing the whole order? Our…

    Zainab Malik7likes8comments

  6. Question

    Respected members, why does my Python function remember the old list?

    Respected members, I am a mathematics teacher learning Python so that I can teach my Class 9 students properly. I wrote a small function to collect marks, and something very strange is happening. Kindly see: def add_mark(mark, marks=[]): marks.append(mark) return marks print(add_mark(45)) # [45] print(add_mark(78)) # [45, 78] I expected [78] print(add_mark(62)) # [45, 78, 62] Each time I call the function without…

    Lakshmi Prasad14likes8comments

  7. Question

    do i actually need to learn C first?? frank keeps telling me to 😭

    ok so im 16, been making minecraft mods in java for like a year and i lowkey love it. but every time i post something frank_cpp98 replies "learn C first, kid" and now im scared im doing it wrong lol questions (sorry theres a lot) do i need C to get a job later or is java fine should i learn c++ instead since its closer to java?? will AI take all the jobs before i graduate anyway (fr asking) i just put linux on my…

    Max Petrosyan12likes10comments

  8. Question

    how do i convince my parents modding is not wasting time (they think its just gaming)

    ok so context im 16 and i make minecraft mods in java, ive got 2 on modrinth, one has like 3.4k downloads which is lowkey insane to me. my parents (mostly my dad) think its "just playing games" and want me to do more "real" stuff like sat prep and robotics club. i do go to school and my grades are fine (mostly As, one B in chem dont ask) but every time i say "im coding" they see minecraft on the screen and its over.…

    Max Petrosyan9likes12comments

  9. Update

    reminder sa mga students: hindi kailangan ng MacBook para…

    reminder sa mga students: hindi kailangan ng MacBook para matuto mag-code. yung una kong React app ginawa ko sa laptop na sira ang letter E. kinopya ko lang yung "e" sa notepad tapos paste paste paste 😂 kung ano ang meron ka, simulan mo na 💪🇵🇭

    Kuya Migs11likes6comments

  10. Experience

    Teaching SQL joins to Class 12 with the attendance register and the fee register

    Every year my Class 12 children memorise "INNER JOIN returns only matching rows" for the exam, write it perfectly, and understand nothing. This year I tried something different and it worked better than I expected, so I am sharing. I borrowed two real registers from the office: the attendance register (roll number, name) and the fee register (roll number, term, amount). I asked the children: "Who has paid fees, with…

    Anitha Joseph37likes10comments

  11. Question

    my minecraft mod only works when i add System.out.println. is my code haunted 💀

    ok so this is lowkey the weirdest bug ive ever had. im making a mod with a background thread that loads some stuff and the main thread waits for it to finish. works fine in my dev env but on my mates pc it just freezes forever. no crash no error nothing heres the important bits public class Loader { private boolean done = false; public void start() { new Thread(() -> { loadAllTheThings(); done = true; }).start(); }…

    Jaxon Pearce15likes12comments

  12. Experience

    How I explain loops with appam batter (and why my children remember it in the board exam)

    Fourteen years of teaching Python to higher secondary children in Kochi has taught me one thing: they will forget the definition, but they will never forget the story. So here is the story I use for loops. Other teachers are welcome to steal it. The appam pan Every child in Kerala has watched their amma or ammachi make appam. You have a bowl of batter and an appachatti (the round pan). One ladle of batter, swirl the…

    Anitha Joseph7likes8comments

  13. Question

    4 co-op offers, which one?? (actual numbers, waterloo 3B)

    ok so it's ranking week and i somehow have 4 offers for my winter term and i'm losing my mind. numbers because that's the only way i can think: big bank, toronto. platform team. $34/hr CAD, hybrid 3 days, 4 months. return offer rate is "high" according to literally everyone big tech, seattle. SWE intern. $55/hr USD + housing stipend. J-1 paperwork, which my school handles series A startup, waterloo. $30/hr, full…

    Kelly Zhao10likes9comments

  14. Article

    Read the constraints first: how I pick the pattern in under 2 minutes

    Most people read the story in a problem and skip the constraints. The story is decoration. The constraints tell you the complexity you are allowed, and the complexity tells you the pattern. This is the routine I use, and the one I have been teaching in mocks for six years. Step 1: constraints → your budget Rough rule: a judge does about 10^8 simple operations per second in C++ or Java. So: n ≤ 20 : exponential is…

    Nikhil Sharan111likes35comments

  15. Experience

    Year 10 handed me 28 nearly identical AI essays on how a CPU works. Here's what I do now

    Evening all. Marking on a Sunday again, so you get a post. Last term I set Year 10 (14 and 15 year olds) a short homework: explain the fetch-decode-execute cycle in your own words, 300 words, with an example. I got 28 essays back from a class of 31. At least 22 described the CPU as "the brain of the computer, orchestrating" something or other, and four mentioned a register that isn't on our spec at all. Two ended…

    Rhys Llewellyn26likes9comments

  16. Article

    Student desk setup under Rp 3 juta ✨ full list with price, where to buy, and what to skip

    Halo semua! Many of my followers are students and they always ask "bang, setup murah tapi rapi gimana?" So I make this list. Everything here I buy myself or my adik buy, price is from Tokopedia and Shopee last month, can be different in your city. (Stock photo above is not mine, it is the vibe. My real desk photo is in the comment if people ask nicely 😄) The list Monitor 24" IPS 1080p, second hand: Rp 1.100.000.…

    Rizal Pratama17likes9comments

  17. Experience

    To the tier-3 student who messaged me at 2:14 am

    Last night at 2:14 am I got a long message from a third year student. Small private college, "koi company nahi aati", 90 questions done on LeetCode, and one line that I have not been able to stop thinking about: "bhaiya kya mera kuch nahi ho sakta?" I replied to him directly, but I get some version of this message every week, so I am writing the answer here once. First, about me, because people assume things. I did…

    Nikhil Sharan8likes9comments

Get the best of Dynamo Geeks weekly

One email each Monday with the most useful posts. No spam; unsubscribe in one click.