#Programming & Computers

1 messages · Page 2 of 1

sick storm
#

and why recursive

#

yeah

near shuttle
#

hm interesting the thing doesnt say that it needs to be a sorted list at the end

sick storm
#
[1,2,3]
['odd','even','odd']
#

is how i interpret it after reading 3 times

near shuttle
#

but can be even odd even too

#

ig one way is to build two lists recursively and then combine both of them

sick storm
#

wha

near shuttle
#

because we dont know how many odds and evens there are at the beginning right?

sick storm
#

i dont see why that matters

#

the list will be in same order as input

near shuttle
#

wdym by same order as input confused_dog

sick storm
#

idk how to explain this simpler LOL

#

first element is 1 in the input so first element of output is odd

#

and so on

near shuttle
#

omg okay

#

i get it

#

LMAO

#

i had to re-read again jesus

#

aight makes sense now KEKW

#

the wording is so odd

sick storm
#

one line solution

['even' if i % 2 else 'odd' for i in n]
worthy lintel
#

what in the everloving fuck is that disgusting syntax

near shuttle
#
def recursion(arr, l = []):
    if len(arr) == 0: return
    num = arr.pop(0)
    l.append("even" if num % 2 == 0 else "odd")
    recursion(arr, l)
    return l
    
print(recursion([4, 5, 10, 29, 30, 11, 9]))
def odd_even(arr):
    l = []
    for i in arr:
        l.append("even" if i % 2 == 0 else "odd")
    return l
#

this going by the rules that ur question is asking for a recursive implementation

sick storm
#

semicolon in python wtf

near shuttle
#

OOPS

#

i mistyped hAHAHA

#

a little bit of that typescript habit creeping through

near shuttle
#

joine's answer works but needs u to know list comprehension for python

sick storm
#

which you should definitely learn its awesome

near shuttle
#

yep, simplifies things by a lot

vast aurora
#

i’m gonna cry just thinking abt this lab you guys are saviors

near shuttle
#

but my first answer i gave should be the most accurate to your question

#

since ur question asks for recursion

vast aurora
#

oddly enough i can understand what the code does but i cannot for the life of me read what it’s asking for and being able to interpret it

sick storm
#

yeah this is just question being really bad

vast aurora
#

yeah i really dislike this course and it’s a mandatory one so i’m just toughing it out

#

it doesn’t even give an example which it does for every other step

#

thank you both for your help seriously 💗

sick storm
#
[i*y for f in h for i in f]
worthy lintel
#

disgusting

arctic lava
#

me

raven mist
sick storm
#

this is really cool btw

worthy lintel
arctic lava
#

I made such a crap bot for my nlp project

#

but i only kinda worked for less thsn 10 hours on it

faint mortar
#

You should consider using a splay tree

worthy lintel
#

bots are easy

#

just put everything in a setTimeout function

#

:^)

arctic lava
#

the bot part of it is pretty trivial, just read messages from twitch chat and moderate.

#

There's a freaking ML model on the server that craps out shitty predictions, i didn't bother to optimize

sick storm
#

(spoiler: its not)

#

it sure is

raven mist
#

If you play games on your laptop (probably not) then Maybe not ChoerryNervous

#

Im still not used to be being able to use CTRL + ALT on the left side instead of the right ALT on linux

obtuse coral
#

i use an android emulator, and the ones i saw for linux apparently aren't that good

raven mist
#

Yes you do, you play games with my heart hyewonmyheart

obtuse coral
#

maybe i'll look into it later tho, like when i'm on break from school

raven mist
#

I just use linux on my work laptop

#

Or well, thats how i got it

#

Is the microsoft suite available on linux?

#

Just Thought if u Maybe used that

#

I mean there are other Tools but still

sick storm
#

google suite does same shit but better and its free

sick storm
#

that doesn't sound like anything to do with linux

arctic lava
raven mist
waxen arrow
#

do i submit my unfinished code and bank my grade on my last test?

#

theres 5 HW thats 20% total while 3 exams are the other 80%

arctic lava
#

How much time you got?

waxen arrow
#

uhh its 1 day late so i have -5 penalty

#

2 days late is -15

#

i dont wanna go past more than a day

arctic lava
#

Ah geez

#

You're safe if exams have such high weight

#

But

#

what criteria do you get graded on if your progam don't run?

waxen arrow
#

im confident i can get at least an 80 on exam 3

#

uhh

#

i think if it compiles and has some logic you auto get a 40

#

or a 50

#

the gradings been really inconsistent tbh

#

but if it compiles and works somewhat you get a 50ish

arctic lava
#

Ah, so you get atleast that?

waxen arrow
#

ye but it doesnt compile 🥲

#

BST

#

i can get away with partial credit tbh

#

ill just tell them in comments that it doesnt compile and im going for partial

arctic lava
#

If you can get partial, you might wanna submit it. Taking another late day would only help if you can get it to work and expect a really good score such that the -20 doesn't tank your score to go lower than the partial credit

#

Like my roomate had a really poor performing model, which would fetch him a 60. He took like late days, got a 94. But the late day penalties added up and he got a 40 on that assignment

#

So it might do more harm than good

#

I really like auto graders

waxen arrow
#
//Command to compile on OMEGA: "This code doesn't actually compile I wanted to get partial credit for this lab if possible.
#

💀

#

this is my comment

arctic lava
#

Are you sure they give partial credit😭

waxen arrow
#

yeah

#

i got some for my other 3 hw's

arctic lava
#

Then i guess its fine

#

Pray that the graders are nice

waxen arrow
#

theyre fair

arctic lava
#

Do they give you a grading rubric along with the assignments?

waxen arrow
#

no lol

#

due a week from today

#

💀

arctic lava
waxen arrow
#

yeah this prof is not that great

#

he speaks like hes constantly in 0.75 speed

arctic lava
#

Kruskal i see

waxen arrow
#

and hes monotone

arctic lava
#

Lol

#

Most are

waxen arrow
#

and according to my classmate who took this in a dif uni (my uni didnt accept his uni's version of the class) this prof teaches outdated stuff sometimes

arctic lava
#

I have this class this sem where two profs rotate. One of them is literally the best prof, the other speaks so slowly even at 2x and is always dead inside

waxen arrow
#

idk this class is just

#

ugh

#

if i pass this class

#

im going to go to one of my friends sections whos taking it next semester and sit in on their class

arctic lava
#

My uni don't even allow us to audit courses

waxen arrow
#

audit? nah im just gonna go to the levcture hall like a normal student

#

but i wont actually be enrolled

#

ik its not allowed but

#

🤷

arctic lava
#

ah

worthy lintel
#

if you can write out a super detailed comment of what you want a function to do, i can run it through github copilot soullaugh

proven lynx
#

do we talk tech support here too? is a big black dot on the screen als just dead pixels? the circle was suspiciously close to perfection

waxen arrow
#

You can test it with a dead pixel tester

arctic lava
#

guys

#

chatGPT is here

#

snippets:

#

Sorry for the spam, here's another one, then i peace out

waxen arrow
#

woah

#

so many structs tho

#

😭

arctic lava
#

are you familiar with STLs?

#

Oh this is C nvm

waxen arrow
#

yeah i tested it it was ok

deft shadow
#

sorting algorithms are a pain

faint mortar
#

are they?

#

please write a proof that shows quick sort is on average O(N log N)

#

and how if you want to get the K-th largest number in an unsorted array, you can achieve so by modifying the ideas of quick sort into what's called quick select for a runtime of O(N)

#

hint: quicksort has to traverse both sides of the recursion of the pivot, whereas if you only want to find the K-th largest number, you can leave one side of the pivot completely unsorted

#

bonus extra credit: assuming instead of a bounded array of known length, you have an unbounded infinite stream of integers, at any point you may be asked what is the K-th largest number you've seen so far. How do you efficiently compute this using O(K) memory and O(N) time?
Hint: What if you do a batched version of quick select? Read in the stream until you have 2K elements in your buffer, then use quick select to eliminate the bottom K elements, repeat infinitely. Why is this O(N) runtime?

#

2nd bonus extra credit: Compare and contrast the runtime of batched quick select with a simple min heap solution keeping the Top K elements in a min heap. While the min heap has higher average runtime O(N log N) vs O(N) of that of batched quick select, explain why for practical purposes, the amortized cost of the 2 approaches are essentially equal.

#

final bonus extra credit: which current kpop group mentions a popular well-known shortest path algorithm involving path augmentation and edge relaxation?

waxen arrow
#

what the

#

wait isnt O(N) bigger than O(N log N)

#

oh nvm

deft shadow
#

instead of just making a lecture video like a normal prof, my prof decided to just give us a geeksforgeeks link, and told us our assignment was that we make an explainer video explaining 5 different kinds of sorting algorithms

waxen arrow
#

💀

deft shadow
#

so that's my life story

#

and for the life of me i do not get what "iterated merge sort" is and how it's different to normal merge sort

#

as it stands merge sort is just

#

how tf does that work

waxen arrow
#

OH

#

i read over it just now

#

ok so think of this

#

a deck of cards

#

unshuffled

#

merge sort is basically

#

uhh

#

splitting that deck of cards in half

#

until theres only sets of single cards (in this case 52)

#

then you look at each adjacent set of single cards (ie the 1st and 2nd cards)

#

find which ones smaller then merge those in order (first card is a 4 and 2nd card is a 2 so you put 2 first then 4)

#

rinse and repeat with each set and eventually you merge all the cards back into the deck

#

kinda sorta?

#

idk im still new to algo so idk much 😔

waxen arrow
#

yeee linux is nice to use

#

im still new to it tho

#

but the terminal is 😩

#

i can do anything from terminal its great

#

ye

#

youll get the hang of it

#

i mean i think you can do the same on windows with pwoershell/cmd

#

but its not the same

#

ah yeah

#

i keep mine simple though just the system default dark theme

#

and the custom wallpaper ofc

#

my code is trash tho 💀

#

ah this is jsut baseline code form the prof

#

the yellow parts what i edited

#

im trying to multithread but i cant get the logic down 😔

sick storm
waxen arrow
#

ah anyone know what this error is

sick storm
#

do you need instance of the class first

#

just guessing i dont do java

waxen arrow
#

i think so

#

OKAYYYYY

#

LETS GOOOO

#

i actually have to see if the logic works tho

#

oh wait i forgot to sync the arraylist where im putting my results

#

its gonna be corrupt 💀

worthy lintel
#

we desktop posting?

waxen arrow
#

yeah this aint working

left aurora
#

babychoerry 2hr cs exam tmr cant wait to write in textboxes and have no compiler yaho,,,,

elfin coral
#

Good luck

#

Remember all ur syntax commas if u need it

deft shadow
#

godspeed

waxen arrow
#

you can see my descent into madness

left aurora
#

I am now lactose intolerant

#

good shit

waxen arrow
#

Yeah it was a java GUI project where we had to make an ice cream store

#

That particular part of it we had to implement file saving/loading

sick storm
#

is anyone going to participate in advent of code

#

if so join my leaderboard :D 465956-403441ec

worthy lintel
#

I am a dumb code monkey so not me

sick storm
#

i mean its not that difficult they're just leetcode questions mostly

waxen arrow
#

I opened up an easy problem on that website and got stuck 💀

sick storm
#

it starts with literally elementary school math question so you shouldnt have issues lol

waxen arrow
#

I guess it's worth a try but exam week 😔

sick storm
#

ok maybe prioritize exams over this lmao

arctic lava
#

this is scary

sick storm
#

amazing

sick storm
obtuse coral
worthy lintel
#

javascript

#

I might actually do that

raven mist
#

i can win a 3090 ti at my company

faint mortar
#

I already have a 3090 ti. Big flex

#

It’s unfortunate I’m using it to play persona 5 a massive overkill

raven mist
#

i need a 4090 to chat on discord

arctic lava
#

I use a toaster oven

raven mist
#

explains a lot of things

#

i mean what

faint mortar
#

Originally bought it for cp2077 which was worth but now there’s nothing worth playing that actually requires top of the line graphics card

#

Find a sugar daddy

raven mist
#

why am i getting the urge to build another custom keyboard

raven mist
#

very tempting

#

@sick storm do you bring your custom keyboard to work?

sick storm
#

no because i cba carrying it around

#

lenovo laptop keyboard is pretty good

raven mist
#

I see

#

I do...

#

I was gonna Ask if you use a case or something but Nvm oliviakek

raven mist
sick storm
#

it's not a thinkpad

#

yoga pro something

#

but lenovo always good

raven mist
#

Oh

#

Close enough

#

Not always, but keyboards are usually yeah

sick storm
#

if I had to pick one laptop brand it would be Lenovo easy

#

but ofc they have their bad products too

raven mist
#

I havent tried many

#

I cant say HMMM

#

But id rather bring my keyboard than have to use the $20 shitty keyboard i got there

#

Maybe if it was mechanical

sick storm
#

ok yeah if i had to use one of those default office keyboards...

raven mist
#

Yeah LMAO

sick storm
#

i often don't even plug in a mouse

raven mist
#

Trackpad?

arctic lava
#

office keyboard and mouse so shit I use the laptop kb and trackpad

raven mist
#

Oh Yeah

sick storm
#

yeah

raven mist
#

True i would too

sick storm
#

it's more comfortable somehow

raven mist
#

I had an old gaming mouse so i just use that

#

My laptop is docked or what its called

sick storm
#

and I have keyboard shortcuts for almost everything anyway

raven mist
arctic lava
#

I use Rectange to map switching/stacking apps to my mouse buttons,

#

Really sucks to work with a trackpad or with mouse that don't have programmable buttons

sick storm
#

you mean like alt tab

arctic lava
#

That and snapping windows, mimizing or moving to other dekstops

sick storm
#

ah yeah i have all of those on the keyboard

arctic lava
#

Man

#

just finshed an exam

#

i am drained. I will miss an A by 0.4 marks

#

😭

#

why does a web dev exam have mcqs where you need to select code outputs

#

I have a 92.528, and 93 is A 😭

worthy lintel
#

thanks copilot

#

that worked

left aurora
#

Cs exam finished i think i fucked up the fibonnaci seq but wtv

#

I probably passed

sick storm
sick storm
worthy lintel
#

it worked for part2 as well gowonkek

sick storm
#

maybe kinda overkill but I made whole ass CI/CD pipelines and tests for this advent of code lmao

deft shadow
#

what's advent of code

sick storm
deft shadow
#

thanku!

raven mist
sick storm
obtuse coral
sick storm
#

just do it yourself its fun

raven mist
sick storm
#

yeah

raven mist
#

ill give you half of the 3090 ti if i win it

#

im too lazy tho, i havent done the first 2

obtuse coral
#

i built a whole new pc, and then when i plugged it in it couldnt use the internet because the wifi here requires you to login to the internet in a browser, and I couldn't login to windows because because the motherboard changed, tpm stuff i guess

#

tfw you only have Ethernet but it's not good enough

sick storm
#

how can ethernet be worse

obtuse coral
#

well

#

if i had a wifi card, i could set up a hotspot on my phone, and then connect to that to login to windows

#

rn i just have ethernet but since that routes to my apartments internet and they require you to register in a browser to use internet, I'm literally locked out of windows

sick storm
#

o

#

never seen apartments use that public wifi thing where you log in

obtuse coral
#

yeah, it's definitely dumb. I don't know why they do it

raven mist
#

thats definitely weird HUH

obtuse coral
#

i5 12600KF and rtx 2060 s are the ones u probably care about

raven mist
#

not too bad

#

not the newest, but still really good

#

especially the 12600k

sick storm
#

also

#

this is why i use local account for windows

#

not microsoft account

obtuse coral
#

yeah, I'm starting to understand that

raven mist
#

or well

#

if you reinstalled windows

obtuse coral
#

well, i went to reinstall Windows already

raven mist
#

you should be able to do

#

then

obtuse coral
#

and the Win11 installer turns out to require wifi

raven mist
#

ah

#

im not sure about win 11

#

on win 10 you can Sadge

#

did you try pressing create an acc with no internet?

#

seems stupid to need internet for the setup

sick storm
#

win 11 installer only allows you to make local account if you dont have internet lol

raven mist
#

Oh HMMM

#

Plug the ethernet out rina

sick storm
#

tfw you keep switching between rust and python

obtuse coral
raven mist
#

ooooh

#

shit

obtuse coral
#

however there's one last solution... i had someone make me an ubuntu usb today

raven mist
#

go on..

#

we going linux? pogkermit

obtuse coral
#

maybe

raven mist
obtuse coral
#

i could login to my apartments public wifi using ubuntu, and then switch back to the Windows 11 installer though

raven mist
#

oh

#

hope it works

obtuse coral
#

i could switch to linux completely, but idk how the file management works

#

windows is dummy easy in comparison

#

i have like... extra harddrives plugged into my pc and i have no idea how I'd access it in Linux

raven mist
#

i think its just the same as in windows

#

should be in the file manager

#

or explorer

obtuse coral
#

hmm, maybe

#

I've only used Linux from a command line oliviaha

raven mist
#

otherwise you can mount them

obtuse coral
#

but can u mount an existing partitioned drive?

#

y'know this is probably better questions for google

raven mist
obtuse coral
#

ooo

raven mist
#

it might be NTFS tho

#

the drives?

obtuse coral
#

hmmm

#

is that bad

raven mist
#

dont think you can write to NTFS drives on linux

#

no

#

its just what windows uses

#

i think most linux distros use ext4

obtuse coral
#

i just remember Arch lets you pick from a few in the installer

raven mist
#

yeah

#

think ubuntu does too

#

just that ext4 is default

#

as for the mounting, i dont think it should be an issue

#

even if its already partitioned

#

youre basically just assigning a folder or directory to your drive

#

if i understand it correctly ChoerryNervous

#

but if i were you, i would just stick with windows

obtuse coral
#

me too

raven mist
#

i use windows as well

#

i just use linux at work

#

because thats what the laptop came with

#

also for vps

obtuse coral
#

maybe I'll drop a few dollars into backblaze, wipe my drives, and switch to arch someday

raven mist
#

then you can go around telling people you use arch btw

obtuse coral
#

now we installing windows

#

i clicked on "try ubuntu" and my screen turned a sickly shade of green

raven mist
#

uh oh

obtuse coral
#

i wonder if this is a linux Nvidia gpu support moment

#

on second thought, maybe trying linux can wait until next year

#

when i buy an amd GPU

raven mist
#

yes

obtuse coral
#

it's funny cause it was just like

#

you could still read the screen

#

it was just green

#

Greenscale

#

somehow windows also just made me a local account

raven mist
#

i think linux is trying to tell you something

#

hop to haseul

obtuse coral
#

you're always on that Haseul propaganda, and you're right

raven mist
obtuse coral
#

now it's time to buy a wifi card so this can never happen to me again

#

it's funny cause the Ubuntu installer pulls up a browser when you need to take action to login to wifi

#

but the windows one is just like

#

action needed!!!! but pressing the button doesn't do anything cause it's ethernet

#

honest proof that windows is 🅱️ad

raven mist
#

true

#

windows is a coinflip

#

either you have a lot of problems

#

or none

obtuse coral
#

Linux is like you will have issues no matter what

#

but since they don't discriminate, it's better

raven mist
#

linux: you have nvidia gpu? lmao glhf

#

or idk really how well supported nvidia gpus are now

#

maybe mostly for ml

obtuse coral
#

it's probably ok

#

but you'll be a more effective Gaymer on windows with nvidya i think

#

unless your cpu is just trash

raven mist
#

yep ofc

#

gaymin on windows is still king

obtuse coral
#

if your cpu is really bad, linux might be better just cause it's more lightweight unless you run kde or some shit

raven mist
#

cant gacha on genshin in linux

obtuse coral
#

you might be able to with Genymotion

raven mist
obtuse coral
#

hey though

#

i feel like lower end older stuff might have better support than newest and best

#

so it might even out on the gpu side anyway

#

i dunno

raven mist
#

i mean a few years older cpusmight have better support

obtuse coral
#

Windows: You need to activate windows in order to change your wallpaper

#

shenanigan'd

waxen arrow
#

:O

obtuse coral
#

Deadass tho, i'm kinda surprised that worked

#

like you think... they'd find that in testing

#

or maybe the engineer designing it just didn't give a fuck maybe

sick storm
#

you can read ntfs drives on linux but it's not recommended to write to them as the file permissions work differently

#

and yeah nvidia + linux you might run into issues with the drivers especially if you are using the open source variant

obtuse coral
#

why did 2 years ago me think getting an nvidia gpu would be so cool

sick storm
#

lmfao

obtuse coral
#

actually it was like 1 year ago me

sick storm
#

i mean it should work fine with the proprietary nvidia drivers

obtuse coral
#

will it be slow tho?

sick storm
#

no

obtuse coral
#

maybe i could try then, i dunno

sick storm
#

just install on another hard drive

#

got nothing to lose

obtuse coral
#

i think i'll think about it more after i have this pc in its case, it's still sprawled out over my desk

#

and this does have room for more drives to be plugged in, seems like a fun idea

#

hey just a random question but

#

is it normal for new computers to ... smell a bit if you leave them open and didn't put it in a case yet?

raven mist
obtuse coral
#

i might just be smelling the thermal paste

#

idk

raven mist
obtuse coral
#

honestly it smells like the inside of a new car

raven mist
#

like burnt plastic?

#

hmmmm

#

maybe?

obtuse coral
#

not really like burnt plastic tho

raven mist
#

i got mine a really long time ago

#

but new electronics usually have smell/scent

sick storm
#

you can

obtuse coral
#

boraNote yeah

raven mist
#

you sure you didnt sniff some thermal paste?

obtuse coral
#

LMAO

#

i have no idea what thermal paste smells like

#

Lemme open the the thermal paste thingy again to see

#

Jk

#

this computer feels so fast somehow, idk if it's just the fresh windows install thingy

#

but even booting is so much faster

raven mist
#

what did you have before?

obtuse coral
#

uhh... just some OEM shit

raven mist
#

fresh installs usually feels faster

sick storm
raven mist
#

did you have an SSD aswell?

sick storm
#

its just not installed by default

raven mist
#

i see

obtuse coral
#

yeah i actually have the same two drives from my old build

raven mist
#

alright, just that going from HDD -> SSD is insane

obtuse coral
#

i def know that

#

going from SSD -> HDD is pain

raven mist
#

LMAO

#

true

sick storm
#

I havent touched hdds in years

raven mist
#

i dont know my friend did it

#

i told him to get a like a cheap ass 64gb SSD

#

"nah its fine"

obtuse coral
#

How is that even possible

sick storm
#

did you get a windows image from 2015 or what lol

obtuse coral
#

Uhhhhhhhhhhhh

raven mist
#

but its windows 11

obtuse coral
sick storm
#

oh

obtuse coral
#

idk tbh lol

sick storm
#

yeah what the hell

obtuse coral
#

all of these parts were made in like 2020 at the latest

#

i dont understand it

raven mist
obtuse coral
#

anyway i'm starting to get hungry, and i made a rule for myself that i shouldn't eat near my open pc until i put it in a case

#

cyall

obtuse coral
sick storm
#

that sounds painful to type on

raven mist
#

it looks painful aswell

#

this is bad

#

im getting keyboard videos recommended to me

#

making me wanna buy a new one

obtuse coral
#

i think i bumped my gpu's fan ChoerryNervous

#

i should put this thing in its case soon

sick storm
#

perhaps

obtuse coral
#

i also bumped the gpu and accidentally unplugged it

#

was a bit spooky oliviaha

sick storm
#

how'd you manage to do that is it not screwed in

#

with the little tab

obtuse coral
#

uhh ... no comment

sick storm
worthy lintel
#

i got my starlink this week and ipv6 got enabled today

#

thought ipv6 was pretty widespread already but apparently not

sick storm
#

nope it's barely used

sick storm
#

I have a weird obsession in trying to do everything in one line of code

#

(almost)

worthy lintel
#

yeah im guilty of the same thing

sick storm
#

this actually runs slower than my for loop approach but it looks cooler so..

sick storm
#

linux uses a lot less resources than windows so it makes sense

#

and is usually very well optimized for older hardware

#

i would also pick kde out of those

wicked garnet
#

im dying in python

#

where is fraser

near shuttle
#

has anyone used Google Cloud Pub/Sub before?

#

struggling with getting the permissions right its so annoying

near shuttle
#

nvm its a bug that Google hasn't solved yet 💀

raven mist
#

troubleshooting for an hr and its just a "bro my bad we havent fixed it yet"

sick storm
#

💀

near shuttle
raven mist
#

bruh

near shuttle
#

after 2 hours i realised that i forgot to turn on the permissions for one of the service accounts that google made

#

turned that on

#

but didnt work

#

turns out that bug is there

#

when u use a user made service account to call a google made service account to publish messages in a topic it fails

#

kek

raven mist
#

how long has it been there

near shuttle
#

im making some new stuff for orbot too, pretty simple so far so maybe it'll be released this week

raven mist
#

maybe its low prio

near shuttle
#

oh its a pretty new thing

near shuttle
#

like in September it was confirmed and forwarded internally

raven mist
near shuttle
#

according to the google workspace bug report logs

raven mist
#

alright then

raven mist
#

anything else you can do meanwhile?

near shuttle
#

my PR anyways oliviakek

#

yeah i can fix it

#

just need to use a different auth method

raven mist
#

time to comment "Looks good 👍 "

sick storm
#

what are you trying to do

arctic lava
#

lgtm👍

near shuttle
#

Then that functionality can be extended in the future by making it event driven, so when a certain form receives a response it sends an event which attaches the corresponding actions that can be taken alongside the form response

#

That's the current plan anyways oliviakek

sick storm
#

interesting

near shuttle
arctic lava
deft shadow
#

wahoo

sick storm
#

video??

deft shadow
#

video

obtuse coral
deft shadow
#

yeah my prof sucks innit

worthy lintel
#

🅱️ideo

wicked garnet
#

i wrote TSL as TLS in my exam

waxen arrow
#

took my final for my OOP class and i skipped over the entire c++ section 😭 at least it was only 10 points worth of questions

#

rest was java, i was lucky there wasnt any swing/gui on there

wicked garnet
#

i think i’ll get 100% on my CS test

#

W

obtuse coral
raven mist
waxen arrow
raven mist
waxen arrow
#

yeah kinda, but im not the one who decides what we learn 😭

raven mist
#

true lmao

#

idk if your courses have any feedback thing after youre done with them, but maybe give some feedback about that chuukek

eager forge
#

Java OOP was one of the most horrible things I ever encountered in CS

obtuse coral
#

how do y'all use Discord on Linux? i tried the official app and it is very very bad

worthy lintel
#

apparently the flatpak version is good

#

someone at work has the same problem with the official one

obtuse coral
#

somehow i managed to segfault that

#

2nd program i segfaulted today

#

off to a great start

#

ooh one of the segfaulting ones seems to work now after a restart

wicked garnet
#

the coding exam today was easy LOL

#

mostly database pseudocode and flowchart shit

wicked garnet
#

are most of you CS majors btw

arctic lava
#

would assume so

worthy lintel
#

i didnt go to uni

obtuse coral
#

im a cs major

sick storm
#

i was for a year before I dropped out

arctic lava
#

I did the same mistake twice pensive_wiggle

obtuse coral
#

that's a mood

#

today i made the mistake of installing proprietary nvidia drivers

#

(don't do it)

arctic lava
#

I tried to get tensorflow running properly on an older nvidia gpu on a mac

#

(Dont do it)

obtuse coral
#

this is why i'm gonna switch to amd next year

arctic lava
#

amd all good until you need cuda

obtuse coral
#

install 2 gpus

obtuse coral
raven mist
#

gl youre gonna need it

obtuse coral
#

nah the pc just didn't launch

raven mist
#

yeah thats them shutting it down

obtuse coral
#

it was actually brought up on the arch wiki

raven mist
#

hmmm

arctic lava
#

Have you tried throwing it out of the window? Trust me I have a year of it support experience

obtuse coral
arctic lava
#

Sometimes the best thing to do is to yeet it

raven mist
obtuse coral
#

on Windows i was punished for having an amd cpu

#

now i'm punished for having Intel

#

can't believe this shit

worthy lintel
#

amd + nvidia wsl gang

raven mist
# obtuse coral

i never really used linux on a good pc before so i havent encountered those issues

obtuse coral
#

kairu...

#

is your pc ok

#

WSL made my pc bluescreen regularly on amd

arctic lava
#

huh

worthy lintel
#

other than my cpu idling at 83c yea

obtuse coral
#

by regularly i mean after about 18 hours of uptime

#

wtf is your cooling situation

worthy lintel
#

nzxt h1

raven mist
obtuse coral
#

i mean idk how hot my cpu gets

worthy lintel
#

i probably need to repaste

obtuse coral
#

sounds a lot like it

raven mist
#

idling at 83c is really concerning

obtuse coral
#

my cooler is the uh... uhh... i forgot the name already

worthy lintel
#

its only 19c right now so its not a weather thing

#

just sff pc things

obtuse coral
#

sounds similar to what u have tho

raven mist
#

i think i have a h100i gtx or smth

#

i only have a 8600k tho

worthy lintel
#

probably doesnt help that i only reboot maybe once every few weeks

raven mist
#

probably not

sick storm
#

I was playing some demanding games and cpu and gpu both went to 95c...

arctic lava
#

water boiler

raven mist
#

do u have a 4090

sick storm
#

with the memory hotspot reaching 105c

raven mist
#

bruh

sick storm
#

no i have a 5700xt

raven mist
worthy lintel
#

sounds like my old 6700k, poor thing would choke itself on heat in the summer and just crash every other day

sick storm
#

but the cooling situation in my case isn't that great I need to get a water cooler for my cpu

worthy lintel
#

you probably dont need water cooling tbh

sick storm
#

oh yeah idk wtf the problem is but my display drivers just crash every few days

worthy lintel
#

noctua air coolers are generally just as good

raven mist
#

they are

sick storm
#

i have one

raven mist
#

seems like an airflow issue maybe

sick storm
#

probably

#

i keep my side panel slightly open now...

#

helps with the temps 💀

sick storm
obtuse coral
#

i didn't try it actually, since nvidia-open works well enough for me

#

maybe i'll go back to it some other day tho

sick storm
#

oh

obtuse coral
#

i'm kinda not too sure about opening my device to any vulnerabilities at all since im on public wifi ChoerryNervous

sick storm
#

yeah I guess it works fine

#

good point

obtuse coral
#

nvidia-open only had one issue where the audio output to a monitor sometimes stops for like <100 ms

#

but only when doing gpu intensive stuff

#

it doesn't happen with nouveau, but that's slow af at running games lol

#

nvidia open is kinda crazy considering i can get like 30 fps on windows

sick storm
#

30??

obtuse coral
#

yeah

#

and with nouveau, i get about 40 fps in a normal world

sick storm
#

that's crazy

obtuse coral
#

this has like, 10 optimization mods added

#

nouveau had it too, though, so it's a fair comparison there i think

#

i capped around 150 fps on Windows

sick storm
#

oh

#

rigged test

obtuse coral
#

i got like 120 fps w/ no mods with nvidia-open

#

so to be fair

#

it's still at least 4 times faster

#

it's crazy to me that Linux is so good for gaming

worthy lintel
#

well

#

in selected games

#

yea

sick storm
#

when you have a game that is actually optimised for it like Minecraft

worthy lintel
#

anything with anticheat and youre sol

obtuse coral
#

Genymotion also pretty good, except i don't like the watermark

sick storm
#

with a native Linux build

obtuse coral
#

im gonna try editing the binary to edit that string to be just spaces tho and see what happens

sick storm
#

what's that

obtuse coral
#

genymotion is an android emulator

#

it's like, apparently the only one that's actually good on Linux

#

it's meant for development, but somehow it's faster than any android emulator i used on windows before

sick storm
#

why tf they have a watermark

obtuse coral
#

"Free for personal use"

sick storm
#

right

obtuse coral
#

its' sadly proprietary

#

the single proprietary software im gonna install on my pc

sick storm
#

you are currently using a proprietary chatting platform

obtuse coral
#

yeah, but in a browser

sick storm
#

damn

#

dedicated to the cause

obtuse coral
#

It's more that i tried installing discord and it was just so terrible idk if they even have a developer who checks if it runs

sick storm
#

i think they used to have like.. 2 linux devs but neither work at discord anymore so no

obtuse coral
#

i heard of this thing called webcord while scouring the internet, but im kinda iffy on third party discord clients

#

even if it's open source

#

i saw what could happen with some 3rd party mc launchers

sick storm
#

also you can get your account banned because it's against tos

obtuse coral
#

that too

#

tho, webcord seems to be less about adding features and more about... making it run lol

sick storm
#

yeah

obtuse coral
#

so that's prob not gonna raise any red flags on Discord's end

sick storm
#

probably not if they reverse engineered the default client well enough

worthy lintel
#

ripcord is another one but its a complete reimplementation rather than injecting code like webcord does

#

that said ive heard of people using these things long term without bans

obtuse coral
#

me too

#

no one really gets banned for it

#

if you self bot you might get your acc banned

sick storm
#

yea it's pretty rare but I don't wanna risk it

obtuse coral
#

do you use browser discord too?

sick storm
#

no

obtuse coral
#

the real meta is to run a windows vm

sick storm
#

LOL

#

desktop discord works for me

#

from arch package

obtuse coral
#

maybe i should actually use it too...

#

I was just really bothered about how middle click pasted

sick storm
#

I never use that

#

ctrl+shift+c/v

#

the more difficult part was creating a system font config that makes emojis work in the discord client

deft shadow
arctic lava
#

curvery wurvery

wicked garnet
#

do u guys find CS interesting?

sick storm
#

yeah

wicked garnet
#

welp time to take coding seriously now

#

i wanted to do biotech at first but now i will give CS a try

deft shadow
wicked garnet
deft shadow
#

why would you do that to yourself

wicked garnet
#

interesting tbh

worthy lintel
#

the heat is suffering

wicked garnet
#

@arctic lava which subjects do u need for being a compsci major when u take ur a-levels or equivalent? compsci and what else

vast aurora
#

it already is

#

but i’m gonna bite the bullet

#

but why be happy at job when can be happy when rich

#

python is making me cry and it’s one of the more intuitive language

#

taking java next sem

#

i’m not really excited

sick storm
#

not worth if you don't like it

arctic lava
#

Yeah

#

Say ❌ to java

sick storm
#

cs i mean

arctic lava
#

ah lol

sick storm
#

you dont want to work a job you don't like for 50 years

arctic lava
#

Well that's a given

waxen arrow
#

ye

waxen arrow
#

anyone know a potential fix for this

#

oh wait nvm

#

i just needed to add /F after the command

sick storm
#

yeah I mean it says that right there

obtuse coral
#

it's hard to read

#

i do that with clis too

#

and honestly any interface, i sorta just don't read

waxen arrow
#

tbf i saw that the disk was "corrupted or unreadable" when i opened the disk and i searched google for it to tell me to do the chkdsk command thats when i saw the /F

obtuse coral
#

you add an F to pay your respects to the disk

waxen arrow
#

why cant cmd auto-run as admin 😭

obtuse coral
waxen arrow
#

i got the disk back by doing /F

obtuse coral
#

running stuff as admin can be dangerous

#

one sudo command on linux can make your whole install get bricked

waxen arrow
#

true, but most of the stuff i do in cmd requires admin privledges cause im either fixing system or messing around

#

i cant really do anything without admin

obtuse coral
#

tbh they should just add sudo to windows

#

and remove opening cmd as admin

waxen arrow
#

running as admin is essentially using sudo on the app right

obtuse coral
#

yea

waxen arrow
#

i guess its a safety measure

#

although needing to type sudo is also a safety measure

obtuse coral
#

technically on linux you run as root, which can do anything

#

i think

waxen arrow
#

ah yeah

#

i had to do that for my vm to fix some things

sick storm
#

sudo rm -rf / --no-preserve-root

#

makes your computer fast :D

sick storm
obtuse coral
sick storm
#

i do like how they added that option

#

so you can have your package manager handle it

#

oh yeah that brief moment when discord has update but no one has updated the package yet

#

I use canary in the meantime

wicked garnet
#

codecademy is what i use for learning code and shit

eager forge
raven mist
#

will do this on my work pc

#

its a bit slow

obtuse coral
#

back when i started learning code i tried codecademy and couldn't finish the python tutorial

#

like 7 years ago i think

#

not even google could help me ... idk what was wrong anymore

waxen arrow
#

Me a year ago ngl

#

That was when we could return values that weren't 0 or 1 and I was shocked

#

Nvm that was codewars

sick storm
arctic lava
#

lol

obtuse coral
#

amazing

arctic lava
wicked garnet
wicked garnet
arctic lava
wicked garnet
wicked garnet
#

aka machiej code

eager forge
wicked garnet
eager forge
#

You can just paste that code into your editor and it should run fine. I see your point though, but it’s a good starting point (at least for me) and it eliminates some questions beforehand.

arctic lava
waxen arrow
#

You should learn machine code

#

The only keys you'd need are 0 and 1

#

And space

arctic lava
#

ngl i messed up some pointer shit on friday and my error output had assembly code

arctic lava
#

it would be 0, 1 and backspace

raven mist
#

i only code in loona

wicked garnet
#

W

worthy lintel
#

sometimes i really hate being the go-to guy for api integrations

#

you know how when you send a bank transfer, there's a reference field?

#

for some reason, transferwise ignores that in their ui

#

it uses the particulars and code fields instead, yet labels it "reference" in their ui and api

#

and even then its not exactly what you put in, it's like "Deposits /BAC/BPC/referencehere"

#

so i've had to spend today reworking a bunch of wise api stuff to work with that..

wicked garnet
#

i asked my computer science teacher how i did and he just said i did okay at least i didnt fail so im scared of getting something like a C

arctic lava
#

don't tell me im the only one

waxen arrow
#

im the right one for both

worthy lintel
#

or when you’re stuck on an issue and as soon as you screen share, the issue resolves itself

left aurora
#

or ;

wicked garnet
wicked garnet
#

wow

#

oh wait i think i shown my face

#

ok not clearly

#

cool

wicked garnet
#

got 98 in compsci today

worthy lintel
#

when your fintech product goes live and you make profit first day capitalism

arctic lava
#

noice

gloomy cape
#

For those that wanna start programming, just let gptchat by openAI i think assist you guys if you dont understand the terms or jargon. It also can do some basic ideas for your coding or even code for you.

#

just ask it "how to make a simple tic tac toe game using python" and yeah your assignment is done.

#

even your essay can become book if you know how to ask

#

cheer up~~

arctic lava
#

i feel so dumb

#

I worked on fix some uts for hours yesterday and couldn't get anywhere

#

a 5 min huddle with my staff engineer fixed three of those

sick storm
#

💀

sick storm
#

what the fuck I just tried to rename a folder in vscode and it failed and deleted the whole folder...

#

like its gone gone

undone thorn
#

do you have any git tracking or cloud sync?

#

there may be hope for your files that way chuupray

arctic lava
#

you might be able to save it

sick storm
#

yeah i had just commited to git so i could just git checkout but wtf man

undone thorn
#

shouldausedjetbrains smh 😎

sick storm
#

💀

#

jetbrains stuff just feels horrible to use after being used to vscode

#

not to mention how slow and bloated their ides are

undone thorn
#

Well I like both 🙃
I use VScode for notebooks and then Webstorm/Pycharm for full project editing. I do find the autocomplete, debugging and documentation support much better and more straightforward personally

arctic lava
#

I use neovim (I have never used neovim)

sick storm
#

I actually use neovim for smaller stuff

#

i never learned how to use ide debugging tools so I just... print()

arctic lava
#

honestly i prefer print to the built in debugging tools

#

then i just ctrl+f "print"

sick storm
#

yea print works great so I never bothered to learn how "real" debugging even works

#

vim is the best general purpose text editor but sometimes you just need vscode for that intellisense and extensions

arctic lava
#

I would die if somone took the debugger away from me

#

Would quit programming and open a bakery

sick storm
#

what does it even do

#

that you can't just print

arctic lava
#

Give it a go

#

you'll find it useful

sick storm
#

I've tried but I don't get it. maybe I need to watch some video about it

undone thorn
#

Debuggers let you do so much - like see which function calls you're in, what the whole state if the program is at that point, evaluate expressions in context

worthy lintel
#

a proper debugger is basically the same as spamming prints every line

#

but you get to see state changes in real time

undone thorn
#

Exactement

worthy lintel
#

its a pain in the ass to setup with php but it made work 10x easier once i had

undone thorn
#

At least (in Python) you can replace your prints with breakpoint() in 3.6 upwards I believe

#

That'll give you a taste of debugging

arctic lava
#

Also find conditional breakpoints to be extremely useful

undone thorn
sick storm
#

perhaps i will give it another shot

undone thorn
#

You'll never go back once you've got the hang of it until you start using a language where they're harder to setup and then old habits will return 🙃

sick storm
#

I barely use any ide functions because I used to write everything in vim for the longest time

sick storm
#

like there's probably so much you can do with vscode but i just don't know about it

undone thorn
#

just experiment clicking on things (when working on smth non-critical)

#

seriously

#

just open menus and see what options you have and you'll stumble on things where you're like, huh, that sounds kinda useful

#

like automated test runners yvessalute

sick storm
#

no way

arctic lava
#

testing is supercool in goland

undone thorn
#

i have yet to ascend to the go plane although I keep being encouraged to

#

that and rust

sick storm
#

I like running tests I don't like writing them

undone thorn
#

i too am a green tick enjoyer

arctic lava
#

i have been fixing so many tests because i added new middlware

#

Everything is borked now

undone thorn
sick storm
arctic lava
#

Basically all the tests with garbage values needn to change

undone thorn
#

roughhhh

worthy lintel
#

the problem with relying on vscode for everything is that you're at the mercy of people writing plugins for whatever you need it to do

#

like at work i use vue 2.x which has a support plugin, but i'm also using a compatibility layer that implements vue 3 syntax

#

and the plugin for vue 3 only like half supports that layer

#

whereas if i swapped back to phpstorm or whatever jetbrains ide, it would just recognise that i'm using vue "3" and work