DAY 5
2:10 am 29 July
last night I was talking to Dhruv, and he said something like no one in this college has your problem solving skills, and man i just thought, that is true. none of these niggas are even close to me. and that is off like very little work, im actually kind of goated man. one of the top kids in asia, off like so little work, i owe it to myself to go work the hardest, cos then what i’ll be is something very special. like i wanna see what i can be if i just completely get lost in the process.
Let’s find that out right here, by working all day right here man, All The Way Up.
I’m at Daksh and Sagnik’s room, and im just ready to work all night right now. php kiddo ;0
2:56 am
i mean, this shits kinda tuff lmao. but the fun thing is, i just know im having fun and just getting better lmao.
So I’m trynna understand how multi-dimensioanl vectors works in php... i could get sidetracked here, so i guess it would be fun to just have a really big goal for tonight so i can just work w/ urgency...
Keeping in mind this tweet above, I guess a good gaol for today is:
1. view counter 2. comments w/ user registration 3. ip map
Imma do this shit before sleeping, lessgoooo. Just remember you’re living your dream life, let’s just have fun woohoooo.... im literally the best everrrrrr
I will do this shit and then go to class tomorrow w/ confidence. Like this work is where the confidence that I’m better than all these niggas will come from lmao
I just watched a social network edit and its really like yes lmao,this is literally my life, why wouldnt i not spend just every single second getting better.... life is just so fucking cool, make every single day legendaryyyyyy!!!!
I talked w/ Daksh and Sagnik for a while, back to work!!! (3:50)
I really am going to find out what happens if i just dont stop
4:55 am
i took a quick shower, back to it woohooo, this shit is the dreammmmmmm
6:26 am
haha this was so good... I just completely learnt the basic php syntax, like arrays, functions everything of that sort....
I was chewing on a plastic straw that i had got from Chaayos
and was sitting on the chair, which was leaning on the bed with my feet on the cupboard... my foot was just completely numb which felt so funny lmao
right now, I’ve finally started to feel a little sleepy, my whole body feels itchy lmao... wtv im just gonna keep working, this shit is soooo funnn hahahahaha
best ever mannnnn...
I’m guessing now the real magic of PHP is going to be starting... everything till here was essentially just c++... i’m finally becoming a developerrrrr woohooo
btw in times like this it really feels real, like this is actually going to happen. im gonna get really good at math cs and programming, and then im gonna drop out of iit delhi to start a really company that’s actually going to change the worldddddd woohooo
when i met you in the summerrrrrr, just remember you’re living the dream and have funnnn lesgo
lol i just saw like 5 girls we were (i was?) trolling on ig just blocked me... this is funny as hell man lmao. ts is so stupid, im the best itw, i dont get why these hoes are so arrogant, and frankly i dont care... it would be much more funny if these bitches were cooler but iiwii haha
you are the one thing in my wayyyyyyy
6:39 am
Back to reading tom and yank php and mysql: from novice to ninja: 6ed , im finally reading the “user interaction and forms” portion, this is gonna be interestingg
wait this is so fucking funny lol, on this post by steph curry’s wife, i had this comment:
and like 5 people have tagged their friends to come see that comment hahahaha
7:09 am
i was just thinking about something, was standing on their window ledge, this is actually sooo peaceful man. lets finally get back to work now. the point of my life is to be the best ever: one one tonight x october
When i met you in the summerrrrrrrrr ;;; life is sooooo exciting, i can do cool shit and achieve so many cool things, actually change the world and dropout and make a shit ton of money doing ts... haha so exciting
8:16 am
I was trying to figure out a couple of things, I mean first off the cool thing is, I got i guess the intution of how _GET works. Then i was also confused as to how hyperlinks inside html worked, like what was their realtive path, so I figured out both of these things... Then I got on these guys window again, cos it was raining and it was so pretty. this was actually so fun...
also uploaded a whatsapp/ig story cos why not haha
_GET intuition: “Well i had already learnt that a url is basically sending a location to the server right, but now we’re leraning that we can send more information than just a folder, you can send variable values too and the syntax is url?var=yuh
(egs: https://google.com/search?query=math will tell google’s server, that we gotta go the search folder, and then it also passes along that there is a variable;
query, whose value is math....”
Relative path thingy: “in a href, or src or wherever you can have three types of links, assume youre at day5 of dailyblog, so https://monyatwu.com/dailyblog/day5/default.html
(btw one small point here is, since my index is default.hmtl, i could type in https://monyatwu.com/dailyblog/day5 and still end up at the same spot, but my browser actually knows it’s serving ..../default.html even tho the search bar says only monyatwu.com/dailyblog/day5
then yeah, you can link in three ways:
full link OR //: “https://youtube.com” (or two backslash, “//youtube.com” ) , in this case, it’ll actually just go to that link,
/ : “/blog” this starts at the root, so this goes to monyatwu.com/blog
nothing: “pic1.png” “name.php?name=Mony” in this case, it removed everything past the last backlash, and adds this, so in this case, the thing after last / is default.html; so we’ll go to, monyatwu.com/dailyblog/day5/pic1.png and monyatwu.com/dailyblog/day5/name.php?name=Mony respectively
basically we start at the folder we were in , cos like the thing after last slash has to be a file (we can only serve files), so no / basically means start at folder”
yessirski, i put on zaalima sped up and now we’re back to work, Just gotta have urgency and keep working man. Perfecttttt
9:59 am
I really hate how much time is wasted on “security” concerns when building shit... we could be doing so much cool stuff, building so much cool stuff, but ppl gotta spend their time just to defend their site against some stupid ass retarded neckbeards holed up in their room hackers, like actual criminals man... these niggas annoy me so much damn. I mean i understand why we need htmlspecialchars and how to use it now, but its just annoying lmao.
wtv, now i just need to work w even more urgency man. like actually, just work w urgency. im not gonna sleep till i do this shouldnt mean i dont sleep at all, it should mean that i get the work done ASAP....
10:16 am
I am actually about to pass out right now, so imma take a quick nap (mony sleep method) (i should really write this blogpost too man... but yeah, lets do this shit, i dont even care, tired or wtv, im going to wake up and do this shit man... all the way up!!! URGENCYYYYY
12:59 pm 29 July (same day)
lesgoo I woke up in just 2 hours. I woke up excited to get to work, like the alarm went off and i just woke up... lets get this shit done now, intense focus is what i need right now.... Life is actually just goated.
1:22 pm
lmao i’m just going to ignore all the security, best practice bs and just build cool shit... this is what i asked chatgpt, and it just said basically i could just ignore ts:
“why is the author doing bs like I’m the best ever like do i need to use & and ’ ? i wrote code w/out it and it still worked on my mac.... give me the real answer, like for my use case, i just care about building cool shit, dont give me best practices bs lmao... im one of the best itw at math, and im gonna change the world, i cant waste time on such trivial issues”
1:54 pm
ahh man my back was paining so much right now, i just couldnt really focus, washed my face, put on when i met you in the summer, lets get to it againn woohoo
I think imma have to do a quick revision of how input / forms works in html..... mannn i really cant wait for the whiplash the readers of this blog will face, cos yall are like html??? fuck is this nigga on, bnnut then very soon im building things no one else in this world could haha. can’t wait.
2:31 pm
I mean interesting, i dont atall feel good right now, wtv man, i really dont give a fuck, im the best ever so im jus going to be the best ever every single day!!!
3:25 pm
I discovered myself what GET and POST were supposed to look like, i wrote my first comment haha... this shit is fun as hell... just focus focus focus focus focus focus focus focus focus tho man, im tired, kinda distracted for like various reasons, but i just gotta keep working, cos im literlaly the smartest kid...
let’s go - key glock playing on loop,
5:32 pm
I was very tired so i took a break, just sat around for a while. now im getting back to work... btw i feel so fuciking confident when im working this hard haha
6:41 pm
I mean I’ve just been working, i learnt where to use GET and where to use POST etc. and like i mean but nah this is not enough. i need complete focus. i will just not stop. no matter what, i will not stop till i build this shit out right now. thats a promise. let’s just go be the beste ever.
7:16 pm
So I’ve come accross templates in php now... I mean i undesrtand the problem we’re trying to solve:
“i got like a html files and in the middle of it i got a lot of php code, it would just be more conveniet if i could write php code in other files, and then write my html code, and then in the middle whenever i need the php thing in the html files, ill just call the php files id written something like heyyy
i am mony and im going to work all day right here right now
this site has views= {include view.php}
”
But the thing is I do not understand what this man has written in the book at all , i mean i was getting so frustrated with this, i sat on their window, this was so beautiful, i just feel so calm and relaxed and like focused. cos its like ok I do not understand this weird ass thing, but thats ok, ill just read more and more and then I will understand it, like I always do. so yeah let’s just keep workinggggg
12:14 pm (the next day 30 july)
I had gone to the crypto club meet, kinda inspirational cant lie. studied a bit then just passe out woke up at 8ish, went to the probablilty class. actually fuckng retarded. came abck to my room after yuluing for a bit. i mean honestly man, it really hit me today that this is it. like even working hard is not enough, i really need to have so much urgency and actually do so much stuff every single day. like actually every sinlge day i have to overdo it. i literally have to, there’s no other option.
i came back to my room, put on the nights, and was studying teh fodler structre of templates, and like really undesrtanding everything, then like i was ust learning stuff, but then i dont know why, i just decided to check whatsapp and ig, man the thing is, any single wrong decision kills all momentum. so now imma sleep and make all the right decisions cos this is what i want.
9:59 pm
I woke up and I went to SDA to eat my first meal of the day, just reflecting the whole time . now im back in my room, MONY playlist on shuffle, ive showered, and now im sitting in my coding position
right now, right here, ive gotta go get it... non stop, like i mean really just non stop right here man, lets get it.
i actually feel like this is really it right here, i need to overdo it right now. then i need to go to sleep. then i need to wake up and overdo it tomorrow. and the day after that. and the whole week, the whole month, complete the 60 day thing, and then before you know it im solving problems no one ever has, building things no one else can, and living my best life. it all starts with overdoing it right here right now.
10:35 pm
Wow, this is perfect, im just learning ts and its so fun.... templates im finally understaning, the relative and absllute paths in include and __DIR__ thing was kinda annoying but i get it now, i told yall already, i dont understand something, then i sit down and look at it, and then i get it.
Fuckkkkfuckfuckfuckufckfjbhijerwhfih13roigh4t2iluerhgpu924r im so mad sometimes man, but this is eprfect. i am the best ever. i am literally the smartest kid and im going to change the world. there’s no fucking way i can afford to waste a single second. i just need to maximise my potential. cos time moves soooooo fast, but i gotta make it move slow man. all the way up
11:04 pm
lmaooo im so hype when im working, this shit is jus fun, really not that deep lmao, im just having funnnnnnnnn woohooooooooooooo
4:03 am
Just came back from a yulu ride and ccd, where i drank lemon iced teaaaa woohoo.. anywyas, im so pumped to work, just have fun, and i guess do not stopppppp
4:14 am
i got such a cool idea:
I guess this gives a really good idea for protecting files, like say you wanna do :
homepage.php is:
if $_POST[‘passkey’]==‘hardwork’ include ‘secretpics.html.php’ lmao
but the thing is someone could just straightaway go to that url by typing in monyatwu.com/secretpics.html.php ... (assume homepage is on monyatwu.com home directory (/monyatwu) (i guess i should make /monyatwu/public and put alll my files there, and make that the root but wtv) so yeah then if you put secretpics.html.php is monyatwu/private ; then you can do include __DIR__ . ‘/../private/secretpics.html.php’ and then you cant access this via url so your nudes or wtv the fuck you freaky ass niggas wanna store is safeeee
4:47 am
haha
built exclusively using templatessss woohooo
6:26 am
I learnt how controller works in php!
egs:
<?php
/*i guess the point here is; make a form,which takes name, and sends it back to same php, and if name
so i guess you have the main thing, that sets the output, if name is actually set then we go on and set output, if its not set yet
we go to the default option, ie. the form which asks for name and it sends it to "" (the url we're getting it from) which
in our case is just controller.php
then in the end just have a welcome.php
i guess one cool thing you could do is ask how many hours you worked today? if it's less than 10 , only x? fuck you nigga
else say wow x!!! that's so cool, keep going
i guess the if statement only defines output, i'll make anoyher file to actually print it
*/
if (!isset($_POST['hours']))
{
include __DIR__ . '/study.html.php';
}
else
{
$h=$_POST['hours'];
if ($h<10) {
$output="wtf man, only " . $h . " ???? fuck you nigga";
}
else {
$output="wow " . $h . " ... that's so cool, keep going man, do this tomorrow too, we got dreams to chase :)";
}
include __DIR__ . '/day.html.php';
}
Empire state of mind is playing on loop, i just feel good, just working non stop haha, life is actually so good lmao
6:32 am
Finally chapter 2 is over.... woohoo lmao... this is the longest time im taking to learn a language 10000% sure lmao....
This is so funny, i just really dont feel like sleeping or stopping right now, and the sole reason is i want this to be a legendary blog post lol... wtv floats your boat gng
7:02 am
newyorkkkkkk
lmao im kinda bored, dont really feel like going through mysql rn... can i just make views and comments and map off of what i know right now?? lets’ see
7:30 am
hmmm i was just tired and scrolling ig, i came across this nigga divyain doing like some clothes promo, that shit pissed me off sm man, wtf is up with niggas, lets just go change the world lmao. i need to get good real quick lmao
8:34 am
I was trying to get chtgpt to modify the notes app text into html thingy but it took sm time, wtv man... just have fun mony... i couldnt figure out view at all, fuck man lol. just wake up and do this shit again tomorrow. thats really it.