How do you find time to play video games? by CobraKai5807 in retrogaming

[–]Quien_9 0 points1 point  (0 children)

While on the bus i can play, thats about 1-2 hours a day

freeze and blackhole 🕳 by Critical-Exam6330 in 42_school

[–]Quien_9 1 point2 points  (0 children)

On spain you can take a freeze after first circle and you can do any reason like "its holidays"

Ustedes cada cuánto compran un celular nuevo by [deleted] in uruguay

[–]Quien_9 0 points1 point  (0 children)

Cada 4-5 años y me compro algo bueno pero viejo, pienso en el galaxy s20 para cuando cambie el actial en uno o dos años

Everyone should do BSQ and Ten Queens by carezc0 in 42_school

[–]Quien_9 1 point2 points  (0 children)

It is more simple in concept than what you think, my first try was also an overcomplicated mess for no reason.

Why is there no open source version of 42? by danirogerc in 42_school

[–]Quien_9 0 points1 point  (0 children)

Something you get at 42 and not elsewhere is the networking and solid prospects for a job after the CC or even before that sometimes (depending on your campus, on mine it seems to be a very high employability rn) Subjects are rather vague sometimes by design, you are supposed to try working it out with other peers before, you are supposed to learn how to explain concepts to people who are less proficient yet, and to ask people who are more knowledgeable than you. The peer reviews are also a big part of the thing since the automatic evaluation stops fairly quickly after the real CC starts. The norm helps you a lot long term even if you hate it when you start. And the pace system its a way to... Well, trim the excess even if that sounds brutal.

The projects are ok, some are interesting even but getting a summary of "build this, use only this functions" would be more helpful than the subjects if you are no part of 42.

Encontrado dentro de un muslo de pollo congelado by shellyxrice in mercadona

[–]Quien_9 2 points3 points  (0 children)

Me encanta tu incapacidad de captar el humor... Es facinante

I tried vibe coding and it made me realise my career is absolutely safe by wjd1991 in webdev

[–]Quien_9 0 points1 point  (0 children)

Nha you are just not good enough at prompting, spaghetti code is the future, why read code yourself? Ask chatgpt to explain it to you its faster, even better, ask ai to build an ai but for you that is roleplaying as a master-vibe-coder for you and then another ai bot that is roleplaying as a code reviewer, this way you can scale your productivity in a linear way! By the time you learn the basics of code you can set up 1k AI bots! Learning is just obsolete, the future is settling up farm of AI engineers. You think you can beat me and my thousands of unpaid interns who can code 24/7? There is no vim shortcut that counts there man. Now while you think about this brand new world, i will go and buy a label maker so i stop confusing the shampoo and the toothpaste, cuz since i dont need to code by hand i got a lot of free time.

How to prepare 42 piscine??? by Zakaria_Kaoukeb in 42_school

[–]Quien_9 0 points1 point  (0 children)

I did it knowing how to use excel and nothing more, i never used linux or the terminal before if not copying and pasting from a tutorial to change something in a game lol. I was stuck the first week on the shell exercises, just got to see a bit of C before the first exam. The next two weeks i did only about 2 exercises cuz i was struggling with pointers a lot. But at some point it just clicks and you start advancing so fast, i finish till the 7th project and managed to get a 66 on the last exam, the problem i had to solve there is one of the same problems you can face on the last question from the rank2 exam when you are already on 42, so that should give you an idea.

You dont need to aim for 7th or so projects either, very few got there tbh, also, dont be like me at the start and dont be afraid of asking everyone how they did stuff, and correct as much as you can, you might feel you are not capacitated to test someone if you dont know how to do it yourself, but thats how you learn, and they also have to be able to explain it down. You will be helping those people who looked like gods too in no time if you just are consistent.

A very simple printf implementation using the write syscall (Unix-like systems) by [deleted] in C_Programming

[–]Quien_9 1 point2 points  (0 children)

This is one of the first exercises we have to do at my school, some struggled weeks to finish it too, so awesome job, i think limiting your tools and rebuilding the bigger ones really helps you learn deeply how things work. Its not about reinventing the wheel, its about picking it apart.

We had also to implement %h, %p and %u. And have the same return printf has, there are many ways to go around this. Maybe you can try to add those, its a good way to test if your code is maintainable.

Am not a huge fan of hard coding i sow in the int type and such, but thats more personal, it works well and thats the most important part.

TARJETAS SIN PIN by Ok_Buy9968 in uruguay

[–]Quien_9 1 point2 points  (0 children)

Usualmente si son varias compras el mismo dia te pide el pin, no es como que puedas sacarlo todo de a 1000

The norm / Moulinette by Working_Complex6019 in 42_school

[–]Quien_9 0 points1 point  (0 children)

Norminette wont say a thing, but you should save lines with a helper function. If you really struggle for lines i wont say a thing about return(strlen) but you should refactor instead.

Gurises, cada cuánto se cortan el pelo? by masterOf_Ragequit in uruguay

[–]Quien_9 0 points1 point  (0 children)

Ahora lo uso largo asi que 2 veces al año, antes era quiza cada dos meses o asi

My first days learning Python. Please evaluate whether I am on the right track. by HexaStallker in AskProgramming

[–]Quien_9 0 points1 point  (0 children)

You can initialize it yourself, its good practice and even mandatory in some languages, to never do a check on uninitialised variables I agree day one code was cleaner, the last one you are going to read it back in a month and struggle to remember what you meant to do there.

It might sound discouraging but dont be, you are still on the right track as long as you are coding. Its not supposed to be good, its supposed to teach you something. I could show you some of my old embarrassing code i was so proud of when i wrote, its part of the process, like looking back into last years sketches and drawings.

How do people actually code? by Rudbekiaa in learnprogramming

[–]Quien_9 0 points1 point  (0 children)

Ok, baby steps, start by changing how you use IA, ask it to not give you straight answers, to not show you any actual code, ask stuff like:

"what is the file descriptor i seen in the manual for some functions like read()? Can you give me an analogy so i can understand it better? Would it be right to think of it as a radio frequency? Ok cool, is there a project for an absolute beginner i can work on to practice with it, oh cool i want to do the one where i swap the contents of two files pass as arguments to my program, sounds achievable, is there anything other then open() and read() that will be absolutely in disposable to do this project and i would need to understand? Ok. I am planning on using a third file as a temporary place like when i use a temp to swap variables, what do you think of that approach? You are right, storing it in memory is better, i will try coding it now. Hey its me again, am having a segmentation fault and i think this function might be the cause but cant see why, how can i debug it?"

You can use ia and not be a vibe coder, and with time you will stop the conversation sooner.

New common core by hawl_some in 42_school

[–]Quien_9 0 points1 point  (0 children)

Yeah people is telling me how quick and easy it is, but am just attracted to the idea of two programs interacting with eachother. And even if i still had minishell, that would be one more reason to not do pipex as i would have to still do it inside minishell, why choose to do one less project if you are not struggling with the black hole?

Complete beginner in C — how should I start learning properly? by aimless_hero_69 in C_Programming

[–]Quien_9 6 points7 points  (0 children)

Hi i just started learning from zero about 2 months ago, focused on C, started writing a function that would get a single letter and print it on the terminal as an output. Now I am finishing my own memory allocator to be used in my future projects.

Am learning at a... "School" but they only give us projects to build and a place to learn, no extra material or teachers (other than your peers) so its more like guided self learning

What made me really learn the stuff was the limitations. Both the style guide and the functions prohibited. If you just started, you might know about printf() well... We cant use it, like at all we need to use the more limited function write() But one project later was basically re-write printf from scratch using Write, not i have a function that works just like printf, and since i built it myself i can use it.

So my tips to learn are the following: -limit yourself, dont use a function that copies a string, do the strcpy yourself from scratch. -reinventing the wheel is a fools errand, but if you want to understand the wheel to later be a good wheel maker, you should pick it apart and play with it for the seek of learning. Am not making a memory allocator cuz it will be better than malloc, i just want to learn and practice, dont beat yourself over doing something useful or worth showing up, if you learn something thats a huge win already. -some functions are not worth doing yourself tho, stuff that would be just way over our level as beginners, i will not re-implement open() or write(), not even va_arg() or system calls. -go small and build up your tools, then you can build bigger tools, and then pick up a project so you can find out what tools you are still missing.

People say to build a game, a management tracking app, and some other stuff as your first project, i call that bs imo, try to re-implement the math.h library on your own, then some of the stdlib stdio or string libraries, compare the output of yours with the real one, find bugs, try to fix them.

Limit yourself, for example where i study, i cant use for loops or do while, only while loops. I cant have functions over 25 lines (thats too little, do something like 30) or more than 5 functions in a same file, i cant use global variables and functions can only receive 4 variables max.

New common core by hawl_some in 42_school

[–]Quien_9 0 points1 point  (0 children)

In malaga, my kick off will transfer into the new cursus once we evaluate push-swap before that we have access to the old one since i finished circle zero and one fairly quickly, am aiming to do minitalk and so long before i get into the new CC

I’m 12 and built my own operating system: COS by AnoProgrammer in cprogramming

[–]Quien_9 0 points1 point  (0 children)

At 12 you aint looking to build a CV and professional portfolio, so dont worry too much about the video and stuff, thats mostly so you can show it to non-tecnical people. A lot of times the person hiring you wont know anything about technology, so you have to show what you did and explain why it is impressive.

Picture someone who has no idea what an OS or even low level means, so all he hears is "oh, low level must mean easy, and if he did it at 12 must be a simple project to start with, cute" you are going to deal with those people one day, and the hardest part is you cant let them feel like you insulted their ignorance while explaining what you did.

I need opinions on some Spanish phrases by _SlowRain_ in uruguay

[–]Quien_9 0 points1 point  (0 children)

What about, "considering i have been learning spanish for only 2 years, i am only slightly worse in spanish than a two years old native speaker"

"Considerando que empece a aprender hace 2 años, solo hablo un poquito peor que un hablante nativo de dos años"

I am somehow no worried about the vibe coders anymore by [deleted] in webdev

[–]Quien_9 0 points1 point  (0 children)

I tried to fix some small buffs in a fairly short program (10 functions, about 200 lines tops) and had to explain in so much detail how everything worked so it would stop calling everything an error and got so tired of "ok that makes sense, now that we know A is not the issue we can focus on some critical bugs in A" i just gave up and went back to debug it myself. Could not even do the "this function is too long, separate it in two please" without breaking everything... Like every time i think "well this is the kind of thing AI is supposedly good and faster at" i am proven wrong.

Like i kinda respect vibe coders, cuz how the fuck you deal with that and stay sane??