#ot1-perplexing-regexing
1 messages ยท Page 1 of 1 (latest)
Do any lights come on?
Just a Cloth
Like the MOBO boot LEDs
Yes there's a green light on the back and blue on the cpu button
Alrighty. Did you remove the GPU during the cleaning?
Just ram
Alrighty, and the RAM sticks are fully depressed and clicked in?
Make sure to turn off the power supply
and then disconnect it, and press the power button again to discharge any capacitors
Ok
ayy sup
Then when you take out / put back the RAM sticks make sure they are in the right channels and are clicked in. Then make sure the GPU is fully set, and all power cables from the MOBO are seated. Then make sure all peripherals are disconnected (any usb things) except for the keyboard / mouse and the GPU output (HDMI / VGA etc)
Once its all connected again, plug in the power supply, flip its switch, and then try to power on again
Wdym right channels?
If you have a dual channel MOBO (4 slots) but only have 2 RAM sticks, there should be one in each channel
I have 4 slots with 4 sticks
Then the order doesn't matter
Oh ok
Also i didn't even turn on the pc, just plugged in the cables and turned on power
And it says monitor going to sleep
And i didn't even press the button
That means the monitor is getting a signal from the GPU probably, but the PC isn't on yet
Can you turn on the PC and hold down the Delete key as it boots to get to the boot menu?
Are there any fans spinning in the PC?
Yes
Or boot LEDs on the MOBO?
Might try other output ports from the GPU / cables from the GPU or another monitor
There's a green light on the back of the cpu
I don't know if there even if a light in the mobo
Oh man I'm screwed
Depends on the MOBO. I know that mine has 4 LEDs and depending on which ones are lit up it gives different statuses
hey so im trying to code again after at least 5 months and my vsc is slow as fuck. like it used to run normally but now i have like 2 seconds of delay whenever i type/click anything. i have one dark pro, and the two official python extensions thats it. and i have nothing else open. why is it SO bad?
Heck yeah, what was the eventual fix?
Apparently the ram wasn't inserted correctly
Ahh, well I'm glad it was a simple fix like that
@dapper dew noticed another problem
Windows is showing 6GB installed, and only 1.9GB of it is usable
And i have 12GB ram total
Ah
Try going to your boot screen and verifying
But it could be that the RAM sticks themselves are damaged, the RAM slots on the MOBO are damaged, or the BIOS / boot menu isn't configured to use all of the RAM
I do have to go though, good luck with the troubleshooting!
Alright thanks, bye
is there a service where you can plug in specs for a laptop and get a list of products with similar or better hardware?
looking to upgrade from this:
CPU
Intel Core i5 6200U @ 2.30GHz 57 ยฐC
Skylake-U/Y 14nm Technology
RAM
16.0GB Dual-Channel Unknown @ 1064MHz (15-15-15-36)
Motherboard
Acer Ironman_SK (U3E1)
Graphics
Intel HD Graphics 520 (Acer Incorporated [ALI])
2047MB NVIDIA GeForce 940MX (Acer Incorporated [ALI]) 52 ยฐC
SLI Disabled
just about anything you can buy today with a DGPU will be better than this.
reasonable considering i've had it for about 6 years now lol
@thin flower moving the conversation here as it'd be off-topic for #community-meta
I am on Android too
Oh
have you enabled Developer Mode?
do you see a DEV ONLY section in the settings?
All I see is this:
Of Discord?
yep
Oh ok, how do I get it?
just from the Play Store IIRC?
I mean, you'd need to first "Join the beta"
Where is that?
scroll down a bit
Ahh
it's not that buggy
discord in a nutshell๐ฅด
wait really?
on mobile and i know i should refresh and clear its cache but idrc๐คทโโ๏ธ
also i thought voice channels are forced to be on botton of categories
is that not the case?
Yes that's right afaik
@jaunty wraith I was able to get the beta version of Discord and found the clear caches option and that fixed it, thanks so much!
@wraith hound it's langjam again ๐ https://github.com/langjam/jam0003
my life is a liehttps://youtube.com/shorts/-h1zWQf-bKI?feature=share
Ye. I'm in the discord, but I can't participate because I'm on vacation.
ah, alright
i think my mom thinks that linux is for hackers and programmers and that stuff
basically average linux stereotype
o i went to ot0 mb lol
lol
its for anyone who likes freedom and wants to own the stuff on their computer
correction: its for anyone
like android
its the most used operating system but it runs on linux
yea, linux is the most used kernel in the world when considering android and all the servers
by far
and yet my mom thinks that linux is ultra hard for beginners
It's different and variable.
yeah but if you install something like popos i doubt many people can tell the difference between that and macos with a changed background
show her linux mint lol
linuxes lol
lol
Distros, then.
I'd argue installing ubuntu was far easier than windows 11
Flavours, variations, spins.
i wouldnt go that far but i'd say that for pop
click next a bunch of times, enter a username and password, and hit setup, then reboot after it loads. windows had like 4 install screen steps or smth and took me nearly twice as long
mm
This part is specific to me, cuz i did it in a vm, but i had to add some reg keys to bypass the secureboot/tpm checks or it wouldnt install
but like windows doesnt give you a demo before install
and the install screen looks like it was made the same time as unix was
and its not open source
yea, and theres telemetry
and like the design is so inconsistent
tbf there is some in ubuntu, but that's opt in and disabled by default
and its not as creepy
one main issue i had w/ windows tho was the lack of customizability
Now I can overcustomize to my heart's content lol
i'd rather try to install arch before installing windows
ngl installing arch was more fun than installing windows lol
never tried it
if you use archinstall, it could also be easier
i can't seem to get wifi working on linux (and i got a touchbar macbook ew gross)
Installing arch is, for lack of a better word, overrated in difficulty. If you can follow a step by step guide, you can install arch
i've watched mental outlaw's video on archinstall lol
I installed it the cmd line way, honestly wan't hard, just took a while
Which distro?
i tried manjaro, pop, ubuntu
Does it not connect in the install process?
it just didn't connect even whe n i installed it
and linux doesn't have support for touchbar
doesnt seem right, linux can run on almost anything
it runs
it just doesn't work with wifi
hmm
and the touchbar wont work
So does it pop up with the available networks and ask for a passwd?
ah rip
it should work, iirc on ubuntu the second install window is getting internet, does it just skip that or smth?
apparently it odes
Could try installing drivers on a wired connection
does
dont have an ethernet port
well rip, internet is pretty important to say the least
Through USB?
@craggy crypt
bruh
You better start moving
no, i will eliminate each and everyone of them!
You cant eliminate what you cant reach๐
๐ณ
Lasers
i'm not not moving
i'm moving 1 micrometer per second because i'm breathing and keeping my balance
excuse me sir this is a wendy's
You live at Wendy's?
why not ๐
That's why it tastes so Rusty
Can I has 10 bacon cheezeburgers im hungry
๐
Nom
you dont live at Wendys?
sad life youre living
What if they lived at KFC
a more sad life
hahahahaha so funny /s
Hi nim guy
@shell void
didn't work, had a friend send the same thing. i clicked off and wrote this message in a different server then pasted here
@shell void
lol
capybad
more like cap
they cap, i dont ๐
more like your statement is cap
no its not
๐
It would be funny if we had to pay tax for sinning. Syntax.
sintax?
nvm im slow
ah yes
Guess who's lonely?
no
better watch who he eating๐ค
I have decided to build my own custom pc
Just to use program.
And for enjoyment of course.
very bad
definitely not you, what are u doing with 31376 souls
Oh no, you're on to me, I gotta run- wait, I have an Idea! ||$sudo run /kill @e||
It's 31377 now.
*3316.2421
help, how do i stop spamming sarcasm speech, it's getting worse recently
escape the sarcasm \/s
ohh
at first i gave it
but i change my mind. i give you 
Off topic non python question.
Parrot os on raspberry pi Bluetooth not working or showing up. Any idea wtf is going on?
Ty btw what ever you name was
!mute 919836105472368680 
:incoming_envelope: :ok_hand: applied mute to @vestal tiger until <t:1658687521:f> (59 minutes and 59 seconds).
its a beard
yea maybe put some more thought into your comments next time, idk
it does look like soil once they mentioned
yeah only an insane person could think lemons dont have beards
Theres literally a mouth drawn over it lol
Also that tone was disrespectful imho, yall know what the fuck is on that lemon real well
check out his website https://lemonsaur.us/
you can make your own lemon avatar
santa claus lemon

one time i had 31 iirc
I just never check mine
I cannot stand the red number icon
UwU so many friend requests
e-e-eweryone, pwease swend fwend weqquest (tax evasion purposes)
Evl scheme...
you guys get friend requests?
Jack does all the time. I resend my weekly. 
smh, jack not cool
you get used to it after a while
not as much as Jack but Iโm getting there
my goal is 100 but thatโs gonna take a looooong time
Lmao you can ask people to help with that goal
Guys please help Robin accomplish his goal lmao
famous
for me i went from ignoring it to caring about it
I doubt there is, because there are few things us humans all agree on ๐ฎ
You might like this though: https://www.un.org/en/udhrbook/index.shtml it comes close at least the UN nations (and maybe more) agreed on it
holy fuck
i can't handle those pings
i have 0 pings and 0 friend requests
๐
UwU
weird flex but ok
that's not a flex
+1 rq
now u should have at least 1 ping and 1 frd rq
i really jsut go through mine
lol same^
or just leave the server which is pinging that much๐ฅด
yeah i just left a lot of servers where i was inactive
Oh like zero inbox
Here's a present, it's a ping
๐
lmfao
using bad words is not good here sir,
ping (inhales)
there are 14 y.o. children here 
please refrain from using foul language in this holy discord, thank you.
holy discord, where there hackers who makr servers to hangout
ah yes, totally
fact check
high school students like their ping and friends request to be taken care off ๐
like me and UwU
๐คจ
fyi I'm in high school
jee done innit
what college will you get into
got jee tomorrow kekw
(2nd attempt)
good ans- ill try my best to get into a nit
facts- a 2nd teir college or worse๐
whats wrong with tier 2
๐คจ
you don't get high package jobs with teir 2
if u wanna get CSE admission,
it's like very hard
acpc- top 150 rank out of 30K
jee- 95 percentile, in 10 lakh studnets
for teir 2 colleges
lmao its not like you chill in tier 1 colleges and companies come to you and give away packages for free
also no point in package hunting
tell that to indian families ๐
i wanna learn, not earn
but Indian mentality is, earn earn and then learn
understandable
i literally had a coaching for 2 years (coaching institute) for jee
and got <70 percentile in 1st session of jee
do you have hopes of 95%+ in second round?
not a chance tbh
maybe 80+
still not sure
is IIIT tier 1 or 2?
teir 1
well i don't have goals of getti5 into iit now
no im talking about IIIT
but the college i could get admission with ACPC
their highest packages are 5-8 lakhs ๐
not it's hard
need very high percentile
did you try bitsat
Holy discord Batman!
no offense to aby fellow Indian
but we gotta accept, Indian Education System is F'd up
any*
gave you one
rule 1. don't be a jerk
ignore geneva conventions, just follow this
which shift
Excuse me sir, never say f*ck check ever again
Not in this holy Christian Discord server
(or whatever your religion is)
1st shift
gotta wake up early tmr๐ฅถ ๐ฅถ
but it's fact check, father
Amen.
geneva conventions arent ethical rules
should we ask aliens ๐?
good luck
you should ask me instead
mariosis are geneva conventions ethical rules
ty when's urs๐
no they are not
thanks
thanks, next question please
2nd shift tomorrow
but you're class 3 planet's human
we need someone from class 10 civilisation
good luck ๐
RIP
how come aliens learned our primitive English
wow aliens use lmao too
new discovery (NASA)
ayy lmaooo
Thank you for your help.
I think I am jerk.
And this is true.
ok
ok-eing your ok
superglue the shift key
you can use an onscreen keyboard to press whatever key you need, including caps lock
disable the caps lock key
ye
or convert it to an escape key
switching the mapping ig
well cheap membrane rgb leads to this
i have used it for 2 yrs anyway
rgb membrane smh
bc looking like a mechanical is what matters :P
haha right
and the sound
#ot0-psvmโs-eternal-disapproval message this is how it sounds
isnt it like mechanical lmao
well you can build a mechanical keyboard so yeah lol
top or bottom
I would say that the concavity of the keys is what matters 
hey, that's my country lol, what are the odds
Top because dark blue has poor contrast with the already dark map
i've got this colour it allows you to see the borders still which is important
this or top
You say to the 14 yo
i bunked my shift ๐

yay!
geometric progression geometric progression geometric
kitten sandwich
Kittens are ugly and look disproportionate
Grown cats look better
Puppies for some reason dont suffer from this phenomenon
lol cause there are 14 y.o.
i have been following py dis from longtime,
i think there are even 12 y.o. lmaoooo
i disagree
Man. I need some weird help T_T
I'm trying to simply convert a jpeg2k to .tiff
I'm using pillow library but it says my jpeg2k decoder is not available.
So I try updating everything (linux), and nothing
So I go to install this package OpenJPEG, but I only get to the cmake part, when I try 'make install', it does not work :/
Has anyone gone through a similar problem and has fixed it in any other way, found a way to install a jpeg2000 package easier or something like that?
The thingy I used
just so you know, alzheimers can kill you because your brain forgets how to breath, or keep your heart beating. good night
Thanks for that
pls rate this logo of python pls
was it made with an AI?
lol
most AI art has some very distinct ai quirks
so it's easier to spot
your dp one?
@young shoal i was watching a video on the merits of <language here> and as a side note the presenter explained interactive shells and things like notebooks for various languages, and said "to learn more about this talk to your local data scientist to learn more" and the way he delivered it was like a punch to the gut lmao
lemme find it
edited ping ๐
A lightning talk explaining my observations of how in other languages it's easy to START projects, but in rust, it's easy to FINISH them.
Start your Rust journey here: https://doc.rust-lang.org/stable/book/
Transcripts for all videos here: https://github.com/0atman/noboilerplate
All corrections are in the pinned ERRATA comment.
CREDITS & PRO...
mobile, idk
lol rust
did you watch the whole thing?
not really, just like 2 mins
better link with exact timestamp https://youtu.be/Z3xPIYHKSoI&t=6m24s
A lightning talk explaining my observations of how in other languages it's easy to START projects, but in rust, it's easy to FINISH them.
Start your Rust journey here: https://doc.rust-lang.org/stable/book/
Transcripts for all videos here: https://github.com/0atman/noboilerplate
All corrections are in the pinned ERRATA comment.
CREDITS & PRO...
tyty
@lusty widget
Hey, what's the question?
this pully system
i need to calculate the magnitude of force P
i thought it was f=mg
but thats not giving me a correct answer
Consider the force at point A, can you split it into a horizontal component and a vertical component?
So the mass, m (I'm assuming it's C) is downwards yes
correct
But the rope isn't vertical relative to the system
and force on a is up
Therefore not all of the weight is acting exactly vertically
right correct
Ok I'll try to simplify a bit
so are u saying it requires less force on p to hold it?
Consider the rope section from A to B, what is the "total" weight it's supporting?
Kinda, because it's at an angle
I take the mass of C is 75kg?
correct
Ok, do you know the lengths w and h as well?
Sweet alright
Is it possible to "split" the force in AB into a horizontal component and a vertical component?
Two separate, perpendicular forces
One force in the direction of x, one force in the direction of y
If you consider the angle between AB and the horizontal line
12 minutes but this channel is very very good
@short robin I would recommend this video if you're really stuck
i got an angle of 63.435
then i can work out force AB
i got 732
which is pre much just mg
so i believe its wrong
cause i thought i knew this stuff
but obiously not
I get something slightly different
Think about it this way: the rope between A and B "contains" all of the weight mg
So we have a force, W (where W = mg), but it's at the angle you found
The horizontal component of this force would be W * cos(angle)
But P is downwards, so we need W * something(angle)
What could that something be? It's very similar to cos
I think it's W*sin(63) yeah
Since if you think about P, it's just the downwards component of the weight that is acting on the angled rope
So it can't only be mg as some of that weight is also being supported horizontally
Another way you can sense check that it's sin(angle) is that as the angle increases between 0 and 90ยฐ, sin(angle) also increases
The more angled your rope becomes, the greater the weight on the vertical component
right okay i get that now
only thing that im slightly confused about
is why the p downwards is sin(angle)
I think the magnitude of P is W*sin(angle), can explain my reasoning
yea thats correct just wondering why its sin
Your weight, W (W = mg) is supported fully between A and B
yep
So there is a force of W acting on point A, in the direction of AB
If that makes sense?
I can't draw it rn as I'm on my phone
i think i understand yea
so lets say
the maximum force on P was 395N
how would u find out how much mass would me attatched to prevent movement
is there a formula?
Do you have a copy of the question? And for which module/class is this
If it's an intro to engineering physics then I think I get what you're asking
But different modules have different answers
yea its an engineering physics paper
if the maximum braking force P was 395 [N], how much additional mass must be attached to the collar to prevent movement?
thats the question
same like diagram
as the one we just did
Is this an exam you're doing right now?
nah
homework questions
i have tutorials i can go to
but they clash with my other lectures
The answer depends on the required complexity
Maximum braking force doesn't say anything about the function of the force profile
Adding a 395N weight could be good at the max force, but would oscillate the system out of stability at lower forces
not rlly understanding
This is a question that has different answers depending on the original wording
Such as it could be a straightforward "the max force is 395N so the additional mass should only balance this out"
Or it could be "the max force is 395N with an oscillating force profile, the additional mass should have a stable solution"
Since a max force of 395N can also imply that -395N is possible, potentially oscillating
it says to prevent movement
.
If you can screenshot the question and put it here maybe?
if the maximum braking force P was 395 [N], how much additional mass must be attached to the collar to prevent movement?
thats the full question
Right, is there any more context to the question
A mass, C, is attached to a frictionless collar with negligible mass, that is able to freely slide on a vertical pole. An unknown braking force, P, is applied to prevent the mass from moving.
It was about 650N
How much more do you need to add to 395N to get ~650N?
Since (395N + extra weight) must balance out the 650N force
Yeah around that I reckon
what if i had two pulleys
like this
ive worked out the angles
looks interesting
since the system is in equilibrium in y axis , you can equate weight with tensions to figure out T1 and T2 , and you know the angles , so to find P you need to do
(force in dir of P) - (force opp to P)
so T2sinalpha - T1sintheta shall be the P vector
i right i got it
yep
could u help me with one more question?
sure
correct
just a min
break everything in components of sin and cos
along x and y axis
lemme show
there ya go
equate all +y axis forces to - y axis
and same for x
since the net is zero since its in equilibrium in both axis
so 200sin15 +T = FaCOS45?
does that look right
i dont see any 15 degree angle
its 25 45 right
ah ive drawn my diagram wrong
take your time!
(9.81 * 30) + Tcos25
thats the equation i have at the moment
and
Tsin25 + 700 = Facos45
do those 2 look right
looks good to me
how would i eliminate T ?
now to eliminate T you would have to divide both eq by separating T ig
that would cancel T
because in the second part of the quetsion i am to solve for T
Tsintheta = x + y
Tcosalpha = t
so if you divide em you get sintheta/coslapha = x+y/t
an example ^
thats also something you can do
solve for T then put in other
you can divide two equations and the equality still exists (unless denominator is not 0)
Fasin45 = 9.81 * 30 + Tcos25
ye
so to separate Tcos25 you will send 9.81 * 30 thing to other side
and for first eq , 700 to other side
then divide both eq
right so
Fasin45/(9.81 * 30) = Tcos25
and
Tsin25 = Facos45 - 700
then divide by T
that cancels the T's on both sides?
ah yep
now do i rearrange one for Fa
or both for Fa
i got Fa = 1332
which is not correct
switch the side of second eq then divide
Tsin25 is lhs , Tcos25 at rhs
so that wont cancel
wait what
you would have to write it as Facos45 - 700 = Tsin25
and Fasin45 - 9.81*30 = Tcos25
then divide 1 by 2
Yes is my profile pic made by a ai?
(Facos45 - 700)/(Fasin45-9.81*30) = tan25
wont that cancel out Fa?
no
its a whole different expression in numerator and denom
that would only cancel T
.wa (xcos45 - 700)/(xsin45-9.81*30) = tan25
1491 ๐
when it says to 3sf?
what
3 significant figures
um
you will round of till ones
so you have to drop 1 by rounding of till ones place of 1491
that would be 1490
gotcha
thats not easy
lmao
now to solve for T
the calculation made it a bit uneasy ๐
yup
.wa x(sin(25))+700 = 1490*cos(45)
.wa (xsin(25))+700 = 1490*cos(45)
try there#bot-commands
my x just gives a weird number?
why would this be?
i get 766
and -2700 as answers?
goodness me you guys are still at it?
I have found Holy C
Heya anyone here
I need help with 2 things
First my wifi driver has gone mad๐ฅฒ can anyone help to fix it? Tho I have applied some steps but haven't worked yet
Second, which java module I should develop from the 3 given in pic below
Ohh, okay, what's in the compressed version?
Oh okie
looks like the edited carbon logo off r/programmerhumor
if you're on windows, go to device manager, find the wifi driver and update it
click the "browse my computer" and "let me pick from a list of options"
Yeah I did this, and for now it's working fine, thx dude
use std::io::{stdin, Read};
fn main(){
let INPP_STR: Option<i32> = std::io::stdin()
.bytes()
.next()
.and_then(|result| result.ok())
.map(|byte| byte as i32);
new_func(INPP_STR);
}
fn new_func(mut param: char) {
println!("{param}");
}
``` Ask the user for one char input, pass it into the function and print it
why is it so hard
oh god
first of all
fn new_func(mut param: char) {
param should be a reference, not just taking ownership of the whole var just to print the value?!
where... where did you get it
I don't remember
I need to figure out how to ask the user to enter only one char as input
as in something like getch?
I don't have an idea
Someone said that this converts it to a char
or some like that
ok wait why do I have to write 4 lines just for input
๐
Python:
input("Enter your name: ")
Rust:
use std::io::stdin;
fn main() {
println!("Enter your name: ");
let mut input_string = String::new(); //1
stdin().read_line(&mut input_string) //2
.ok() //3
.expect("Failed to read line"); //4
}
the things you have to do for memory safety
What you write in Rust doesn't really usually involve taking user input from the command line
Can't wait to learn CARBON

I am a starter and it is making it hard for me
how am I supposed to start
with this
I am wasting your time ik sry
i suggest you learn Python first
Around Chapter 12 is when you start to write interactive programs
huh
I said starter in rust not starter in programming in general
or if you have already learnt Python, jumping into Rust (immediately) is not something i'd do
I will not be able to understand it that is the problem
I am learning c++
I have experience in C
HTML+css
A variable in rust is not mutable which means that its value cannot change unless you make it mutable
idk what that exists
make it just immutable with const
I am so used to it
yes, but in Rust, everything is immutable by default
you'll have to get used to it
see
everything is immutable but if I try to reassign 6 to x=5 I will get an error
just doesn't make sense to me
i don't know what you mean by reassigning 6 to x=5
do you mean something like
let mut x = 5;
x = 6;
let x = 5;
x = 6
you forgot to make it mutable
that throws an error
that's what I'm saying
doesn't make sense to me
it is exactly the opposite of const
that made things worst ngl
but then there's also const in Rust
๐
the fact that I have to write input in a different way everytime depending on the expecting input?
like
I gotta write different things
Making mutability explicit reduces the number of surprises you'll get when writing programs
if I wanna take an one char input
I will give you that one
fine
I don't say it is bad don't get me wrong
I say it is confusing for people like me who are used to Python and c++ and these types of languages
another thing is the i32 and stuff
that is confusing as hell
Unfamilar concepts don't necessarily mean that the approach is terrible
see I don't mean that
C++ has confusing numeric types too, so I don't get what you're trying to say
I'm not trying to "defame" the language
ofc c++ is confusing as hell too
i32 is an integer i.e. positive/negative 32-bit number
u32 is an unsigned integer i.e. positive 32-bit number
imagine dealing with a memory leak every 3 mins
f32 is float
f64 is double
alright wait
nvm
I still don't get that => thing in functions
that points to one of these
That specifies the return type
I gotta specify the return type
fn add(x: i32, y: i32) -> i32
int add(int x, int y)
it's really similar to Python's typehints, no?
Yes, it's a statically-typed language
you didn't specify return in the second example
I mean yk
OH WAIT
what if I use i64
?
if you specify i64 as the return type? then you have to return an i64
You can do that
does that allocate more space?
Yes, it's 8 bytes
i32 is 4 bytes
usually I stick with 32 bits if I don't need anything special
I didn't think of it stupid question
alright
Most times you just want to use isize or usize, which are either 32 bits or 64 bits depending on the platform you're developing for
Anything that you don't need negative numbers for, go and use usize
unsigned?
Yes
The size doesn't matter since we're not in the 80s anymore
what doesn't make sense is how u use it
8 bytes is pretty cheap unless you have reasons to use smaller types like u8, u16
u8 is smaller?
Yes, it's 1 byte
oh it's 8
u - unsigned
8 - 8 bits
okay
and so on...
alright
so
I will try to make a simple program
if I face any issues I will send here
I made this simple thing @topaz aurora @tight granite
use std::io::stdin;
fn main() {
println!("Enter message: ");
let mut input = String::new();
stdin().read_line(&mut input)
.ok()
.expect("Failed to read line");
if input.trim() == "hello"{
println!("Hello!");
} else if input.trim() == "hi"{
println!("Hi!");
} else {
println!("Something else happened");
}
}
why do I use mut here?
The mut is needed so that the internals of read_line can add stuff onto input
right
okay so
fn five() -> i32{
5
}
fn main() {
let x = five();
}
``` right here
how can I put only 5
in the func
What do you mean by "put only 5"?
inside the func "five" I only have written a 5
without a var
in other languages that would throw me an undefined error right?
I don't see what you mean
if theres no semicolon after the last expression it becomes the same as return 5;
ohhhhh
I didn't know that
I thought I needed to do like let y = 5; or sum
okay you know what
I might be wrong
it seems kinda fun
how long are you all doing this?
I wanna learn now ngl
I always liked the syntax, like it gives you that feeling that you are programming
but it seems confusing
you get used to it
haskell looked incredibly arcane to me before
now it looks just arcane
I wish fcc makes a complete tutorial on rust
ye
They have one "for beginners" but the guy there teaches gui stuff
lol
anyways
that you all for explaining me stuff
have a great day
u2
meh
maths and chemistry were both pretty hard
27th second shift
yeah physics was ok
dunno
possibly JU
or BITS
no jadavpur university
ye
lol
hardly new info
yeah lol
hopefully i get some electronics there
same
you're giving second attempt?

second attempt is in august
yes
same
which shift
lol first attempt chemistry was full of biomolecules bs
fucking same
although i heard
cutoffs have been falling for the past few years
?
im not looking for cse
im happy with electronics
(which is also not certain)
absolute best case scenario for me is electronics at kgp
which is incredibly unlikely
hmm i wouldnt
mm
what colleges are you looking at
oh damn
ah
relu doxx ๐
or so you think
i have kiit as a backup backup lo
ecse
f
i didnt give vitee
e
nit trichy is great
lol wtf
i suppose i also have iiser as backup
though i dont want to do basic science
hm
theres one in pune and one in bhopal
one in kolkata
idk if there are more
you too relu you too
idk
j want this entrance exams nightmare to get over first
fr
https://m.youtube.com/shorts/n67GNqggLgY what a nice GPU
Porsche... Why?! ๐ข
...........................................................
Instagram โ http://www.instagram.com/carwow
Tiktok - https://www.tiktok.com/@carwow
Facebook โ http://www.facebook.com/carwowuk
Twitter โ http://www.twitter.com/carwowuk
no rgb? 
hsp you okay?
3rd party client exposed?
no, no i'm not
me chatting while my friends are in vc
๐ฅฒ
there is far to many acronyms there ๐
half are uni names
gmail looks so ugly now
iiser backup
kiit backup backup
What next?
I only had like one uni down on my preferences
idk how your system works but we only have to finalize our preferences after we get our results
So I knew I was getting in
the problem is universities have different time frames. Say you have uni1 and uni2. uni1 offers you admission but it begins in august and uni2 starts in september. If your target uni is uni2, you have to decline the admission in uni1 and now if you don't get into uni2 you are screwed. so many people have backup uni's so that if you are screwed you get into something else
oh, here it's more standardised
All uni's go through the same system and offers all come out at the same time
wish it was that standardized
