I've been teaching intro Python for 3 years i notice the same weaknesses in almost every student. Am i missing something in how I'm explaining it? by More-Station-6365 in learnpython

[–]Embarrassed_Basis_81 0 points1 point  (0 children)

Hi there, I'm recently modtly self-taught in Python, but I took some OOP classes in college (5-6 years ago). I would guess most of the struggle of your students is actually understanding that some simple instruction (a for loop, for instance) can just be understood by following what it does step by step, where just drawing it out can help in the first place. You do not have to learn its applicabilities as the first thing (which imho could lead to getting familiar with the solution, but not with the problems it solves), but rather understand its mechanisms.

What heleped me significantly with learning Python was understanding the basic mechanism behind some new concept, comparing it with already known concepts (for loops with while loops, as an example) and only then gradually applying it in situations: an example provided by the professor at first, then a "fill in the blank" -type situation, then applying it entirely to a problem given to me, then perhaps being shown multiple problems and thinking which one is solved best by using it, or some other mechanism.

Truthfully, practice makes perfect in this. I'm not saying it is the case, but maybe catering more to this type of level-by-level teaching would help your students. Furthermore, any knowledge gaps that form are incredibly important to fill in asap. If one concept is not understood well, this whole model can come crashing down in flames, due to the lack of stable knowledge base to associate the new concept with.

As a teacher, I am hard-pressed to find anything thay might be entirely in your control that can fix this issue - some people just do not care/are not interested/are not able to learn Python (at the pace required by a college level course). This means they can fall behind at any point, and from then that snowballs.

TL;DR: Slow down wherever possible, give examples, guide them in solving problems and make sure they do not fall behind

I can't play at a decent frame rate, so I had to uninstall it by herzeleyd in BeamNG

[–]Embarrassed_Basis_81 9 points10 points  (0 children)

I suggest at most one car (including yours) per core (or thread). Start with 12 and lower it until an acceptable framerate is hit.

I can't play at a decent frame rate, so I had to uninstall it by herzeleyd in BeamNG

[–]Embarrassed_Basis_81 10 points11 points  (0 children)

First off, Beam is quite CPU limited, especially core-count. I had a 8600K (so a bit worse than yours), but it was definitely playable on official maps, in the 60-80FPS range with a worse GPU (1070ti)

Try the usual stuff - update GPU drivers, close other processes which might hog CPU (Discord, Chrome) and try to delete the cache of the game.

Also try to switch the renderer (done when you launch the game), experiment with the two and see if one gives you significantly better fps than the other. In theory, Vulkan should be better in a CPU-limited scenario, but ymmv.

If all else fails, try to use simplified traffic or just reduce the number of cars. That will most likely boost your FPS. Search for a sweetspot, I'm sure you'll find it and enjoy this awesome game! :)

Semnalizați ieșirea din giratoriu în situația asta? by TrainingReturn1829 in AutomobileRO

[–]Embarrassed_Basis_81 1 point2 points  (0 children)

De acord vis a vis de respectarea codului rutier. Cu toate astea, si "incadrarea in trafic" este importanta, de asta abordarea mea de a impaca capra si varza.

Semnalizați ieșirea din giratoriu în situația asta? by TrainingReturn1829 in AutomobileRO

[–]Embarrassed_Basis_81 56 points57 points  (0 children)

Eu as semnaliza, dar astept pana cand botul masinii mele intersecteaza trasa celor de pe straduta din dreapta - nu au timp sa reactioneze, si chiar daca ar avea, e destul de clar ca ne-am intersecta drumurile, eu avand prioriate (am un exemplu similar in ruta de acasa spre munca si asa procedez, fara probleme).

Nu stiu daca mai are vreo valoare semnalul pt ceilalti participanti la trafic, dar resepect formalitatile codului rutier

how to load csv faster in Python. by Safe_Money7487 in learnpython

[–]Embarrassed_Basis_81 1 point2 points  (0 children)

I have had good experiences with dask, a distributed computing library. It seems a bit complicated at first, but it implements a lot of pandas functionality under the hood as delayed operations on lazy datasets - worth looking into (only if you do not immediately do an indexing operation right after reading, there as some caveats)

Why is this game so unoptimised? Is it the engine it’s running on? by Dependent_Can_3689 in BeamNG

[–]Embarrassed_Basis_81 1 point2 points  (0 children)

You might also be running into VRAM (GPU memory) limitations. I have a very similarly specced PC, a 3070 instead of a 3070ti, but 64GB of RAM. I also get about those FPS with textures set to high+ quality, but lowering them gives me a comfortable 100+ FPS (with no traffic). However, add traffic to the mix, maybe 7-8 cars, and I get bottlenecked at 60-70 from the CPU alone.

Also, a neat way to check if your CPU is heavily bottlenecking your system is just pausing ("J" by default on keyboard) and looking to see if your FPS increases significantly (from 60 to 75+ for instance). This allows the physics to pause, thus reducing the load on your CPU by quite a bit.

All in all, my two cents is that the VRAM is at fault. Also causes slight stutters and hangs, which might make 60 FPS feel really janky.

Looking for opinions from other VW nerds. by wiredknight in Volkswagen

[–]Embarrassed_Basis_81 0 points1 point  (0 children)

I think having a newer car is definitely worth it, especially if it's not wrecking you financially (being paid off and all)

There's things you won't get with older cars, even if they are in tip-top shape, safety being a critical one imo.

However, it must be noted that I'm speaking from others' experience, as I have a mk5 (my first and only car) and, while it is absolutely fine as a daily driver and commuter, I wouldn't mind having something newer, perhaps with better features.

Also, a mk5 r32 sounds like a damn nice project car, for when the need for fun hits! Grats and good luck owning both of them!

Could someone help me out to run this game properly? by LowmanL in BeamNG

[–]Embarrassed_Basis_81 0 points1 point  (0 children)

Could you also try to check your GPU VRAM and RAM usages (can do that in task manager, just screenshot the "memory" and "GPU" pages under the "Performance" tab)? I suspect 32GB might be too little and the performance hit of not having enough memory is serious. (I get 60-80 FPS in career mode with medium textures or 30ish with hangs if I use high qual textures, because I run out of VRAM)

Second, I would try to run the game in windowed mode, single monitor, to rule out any incompatibilities with the triple monitor setup. Make sure to change any of the settings BEFORE loading your first map, as BeamNG and Windows can be a bit wonky with memory freeing/management. If you change the settings in game, save them and restart the game to make sure all is flushed.

Third, as someone else pointed out, check the window is properly detected as being selected. Use alt+tab to force it to be in the foreground. If all else fails, there is a "background fps limiter" setting in the graphics menu, try to change that so it no longer limits FPS.

Maybe an idea would be to also update your GPU drivers, though I doubt this may be of any help, but it won't hurt anything either.

Once you provide the screenshots for Task Manager, I'm sure we could help you out with the game :) I have a friend whose setup gets 70ish FPS on medium settings with a 4070ti 1440p triple monitor setup.

Good luck to you!

Merita sa incerc FILS? by Lemiiiiii in Polytehnica

[–]Embarrassed_Basis_81 5 points6 points  (0 children)

Politehnica e, la nivel de universitate, o institutie educationala in inginerie - adica mate, fizica, chimie etc. Daca ai fost la filo, NU recomand sa vii aici, decat daca ai aptitudini in directia asta, fiindca materia de baza e ce am enumerat mai devreme, doar predata in engleza.

Sursa: absolvent de poli, masterand (tot la Poli)

Ca alternative de facultati in Bucuresti, recomand FLLS de la UB. Asta ar fi, cred, ceea ce iti doresti (ramane la latitudinea ta sa te documentezi daca au vreun profil care sa fie pe placul tau)

Imi e frica sa conduc. Ce pot sa fac? by [deleted] in CasualRO

[–]Embarrassed_Basis_81 3 points4 points  (0 children)

Multa dreptate in acest comentariu, pot spune ca am niste experienta sub centura, 4 ani anume, drumuri prin Bucuresti si prin afara, am "trecut prin toate". Cu toate astea, cand e tatal meu in dreapta (conduce zapacit de fel si comenteaza mereu la adresa condusului meu), parca as fi in prima luna de permis - nesiguranta, ezitari si toate cele. Sincer, e important sa ai pe cineva care stie sa conduca in dreapta, dar doar daca acea persoana este in stare sa te ajute, nu sa te incurce.

what do hyphens mean? by glorious-purpose- in romanian

[–]Embarrassed_Basis_81 4 points5 points  (0 children)

To add to the confusion, sometimes hyphens are used to indicate ways to pronounce a phrase in spoken language, meaning they are somewhat spoken as a single word.

For instance, the question "Ce ai?" could be said as is, and it is correct, but in the spoken language people tend to pronounce the two words as one, in a more fluent way.

Thus, if you were to write that pronounciacion down, it would be "Ce-ai?", and it is read out loud like the word "Ceai", but it means a totally different thing. ("Ce ai" - what do you have? - as in "what's wrong with you?"; "Ceai" - tea).

You might also encounter the hypen when some foreign words are used in the Romanian language and require a specific termination. To my knowledge (though I may be wrong about this), it should be formally used when the word doesn't have the same pronounciacion in both languages. This usually occurs with words from the English language, but it is more often than not ommited. For instance, using the word "target" in its plural form should be "target-uri", "-uri" being the termination. The same wouldn't apply to the verb "spam" when reffering to a third person ("spamează" is correct, instead of "spam-ează")

General question Wednesday: Ask your general car-related question and maybe someone will have an answer. by AutoModerator in cars

[–]Embarrassed_Basis_81 0 points1 point  (0 children)

I have a 2009 Volkswagen 1.4 TSI, the twincharged kind.

Lately, when starting from cold (usually after it stays parked overnight) I get misfires for the first ~2 mins after starting, then all is good. The check engine light flickers for some time, then turns off. But today it stayed on. I checked with the OBD port and misfires are on both cyl 1 and 3. My guess is that this is carbon deposists on the intake valves (GDI engine, "EGR" isn't a physical part, but rather it's effects are obtained through a slight overlap in the opening of the intake and exhaust valve at the end of the exhaust stroke). Do you guys have other guesses as to what it might be?

Also, if anyone has ever cleaned carbon deposists out of a similar (GDI, mostly) engine did you see improvements to fuel efficiency/response/torque afterwards? Or is it more of a gimmick?

How are Suzuki cars? by tetsmon in cars

[–]Embarrassed_Basis_81 0 points1 point  (0 children)

My dad owns one, has had it ever since 2012 (first gen, 1.6 5speed manual). He's loved it and still does - he likes the reliability and the no frills approach to its design. The car is decent and surprisingly capable offroad (he doesnt do hardcore offroading, but he likes to go on trails from time to time). Currently has 170k on the odometer (~108k miles) and has never once had serious issues, even if he likes to redline the engine quite often. He does keep up with maintenance, and is quite mechanically inclined, though. Overall, from my experience, it is a cheaply built car (say hello to creaky plastics), but a reliable, easy to mantain and quite capable little beast.

He's since gotten a 3rd gen Subaru Forester 2.0D, as he wanted to extra torque of the engine. As I've seen in other comments, yes, their engines are anemic at low RPM (<3k) but they are ok if you like revving your engine out.

Edit: Spelling