#voice-chat-text-0
1 messages Β· Page 796 of 1
Also the reaction to everyone pings, it's so childish
You're a gamer?
@rugged root ok thanks I understand it now thanks Sirπ
surely
bye
we have teachers here?
Anyhow, my cynicism is showing
yeah
"Introvertism 101"
how we can see avatar?
@amber raptor is just a π guy

huhhh
Nani?
Do you mean next to people's names in chat?
yes
Profile pics?
i mean the pfp
ooooooooooh
Settings > Appearance > Cozy mode
there is no command ?
Nope
oh okay
oh my eyes...
yeah
cool man
it's still going online
I never visited my uni
bad I study by myself
Would you feel a difference if you went on online courses?
online is fun
like Edx courses?
anyone use this at work?
at least I have plenty of time
nop3e
Guys Can you help me to choose framework to deploy on AWS using python??
I took some on coursera
noice
quora
hm, quora, never heard
with center-assessed grades from "controlled assessments"
no no no I mean
@sacred lichen You should qualify now if you want to verify
What did you mean?
you can ask the same question on quora if no one knows here
idk how
!voice
Go to #voice-verification, that'll tell you what you need to - that

LOL, tyty hemlock
I'm a giver, what can I say
speak
lmao
haha
If it doesn't let you unmute, you may have to hop between channels or disconnect/reconnect so that the permissions sync up
okayy
Yeeaaah I fuullly agree, Teams soo lagging sometimes
yeaah laggy
Bandwidth
ag
ok, understand
Thanks
aha, okey, fully agree with free service needed
How to send around 50 messages in 30 minutes!? xD
idek
you do not have to send 50 messages w/in a 30 min time span
its not that hard
if your just talking normally you will get it
And yeah what mina said I don't know what the exact number is but its like you have to send a certain amount of messages in three, ten minute blocks.
Yeah, okey, I'll try not to spam)
yes please don't
You actually just hit the message quota
oh look at that lol
Why does @olive hedge sound like fisher?
idk maybe a deepfake
who knows
π₯Ώ π§βπ
π¨βπ
always has been
welp your dead...
Why a shoe?
psvm which are you
i'm quirky ~
its a flat~ish object
i swear to p-
oh god, I am scared after seeing this
:3
fisher which are u
idek, that was too much reading
........ you don't know off hand your MBTI ?
wait waht
You mean the bullshit test that means nothing?
yes but FUN bullshit
my Male Body Type Index?
it's like astrology, but more official
Guys, can someone help me use a boxdev API? I need to do a Chunked Upload but I am not able to follow the steps in the documentation for python.
https://developer.box.com/guides/uploads/chunked/create-session/
Explore the Box APIs and SDKs to use for app development,
API documentation, developer support resources, and access
the Box Developer Console
I'm starting on programming
!otn a jake's hd eyeballs
:ok_hand: Added jakeβs-hd-eyeballs to the names list.
!otn s jake
β’ honored-to-witness-jake
β’ jakeβs-hd-eyeballs
lul
It turns out Microsoftβs browsers are the only ones to allow full HD Netflix streams on your PC - the others squeeze your net tubes down to only let a 720p flow through.Twiddling your thumbs watching Netflix, waiting for the next wave of games? Check out the new PC games scheduled to hit the digit
This article claims it has to do with DirectX 12, not DRM....
!user

Created: 4 years, 5 months and 19 days ago
Profile: @olive hedge
ID: 233481908342882304
Joined: 1 year, 1 month and 12 days ago
Roles: <@&542431903886606399>, <@&518565788744024082>, <@&463658397560995840>, <@&764802720779337729>, <@&505040943800516611>, <@&267630620367257601>, <@&787816728474288181>, <@&267629731250176001>
Total: 28
Active: 0
!user
You are not allowed to use that command here. Please use the #bot-commands channel instead.
!otn s fisher
β’ fisher-hates-teaspoons
β’ fisherβs-flight-lessons
β’ π₯isher-has-not-taken-over
β’ π₯isherβs-lethal-potatoes
This article says that it's a DRM issue: https://www.forbes.com/sites/barrycollins/2020/07/24/whats-the-best-browser-for-netflix-clue-its-not-google-chrome/?sh=954729355030
yes it is
Anyone mind helping me in help popcorn?
what's it about
a simple function idk how to start cause im new
what's the function?
Did you change your name or did someone else
it is what it is
i just need help with understanding the first function
Well no, I need to know, because we've had a serious conversation about it to mods+
oh lol, i did
Okay, good
damn your name is sad java now
idk how to start the function lol
def get_flowers(n):
...
Java is big sad
hellu @shy ridge
lol yes yes
this is why I don't go on Reddit cause I see this dumb shit
Hellu
my function is ```def get_flowers(flower):
flower_name = []
for name in flower:
name = input('Enter flower name[with color]: {}, {}'.format(name))
flower_name.append(name)
return flower_name
this is so industrial, I love it
How do you get a job for the first time?
but look completly wrong
look at the comment lmao I just noticed it
I like your pfp
I like yours
aw what you learning right now
you guys are having job ?
hahahha
Making mom proud by attending data structures classes vro
why you going personal
i love dsa
omg vmro
Are you done with dsa
wow
no
Then
I really want to get some experience.
and he loves dsa i see
contribute to open source projects
Are there any sites with a lot of those?
exposure to different dark scenarios of engineering
umm yes you can check on github like you can start at anytime
how often you guys do coding
F Bachelor of technology
roger
0.000001 sec
tending to 0 ig
vmro no limits plz
idek
@honest pier So where might i start?
i donβt think if i know you @sacred lichen
we do competitive programming on hackerearth
same neither do I know myself
you're already pretty close, check hte instructions again
@shy ridge try to pronounce fwooooosher
hello i am a beginner so i was setting up a virtual environment for python using conda but after setting it up when i try to activate it, it gives me error that YOUR SHELL IS NOT PROPERLY CONFIGURED
flower_list = []
for i in range num_flowers:
flower = input('Enter flower name[with color]: {}, {}'.format(flower, i))
flower_list.append(flower)
return flower_list
this is my current code but idk what wrong
check the instructions and see if you're following them correctly
lol thats the sad part... I think i am but idk if this is the right way to write it
Can i setup a virtual env using Jupyter too?
yes
Yea
so can you send me any documentation or video so i can follow the steps
ok wait i can google it myself
thnks
nvm
thanks π
Ah, much calmer in here now
you should probably use vs code @queen saffron
If you're just starting out, I also suggest Thonny
my college is making me use Anaconda 3
it have bugs
but they also not troubleshoot my problem
Oh ick
don't use it
Anaconda drives me insane
XD
ok Sir, I will do so thanks for the information π
just do your assignments on anaconda and your practice on vscode(college problem solved) or just copy paste your friends assignment
it works fine but setting they taught me how to setup virtual environment and it was the only thing that was giving me error
i will do so thanks for helpingπ
Is webstrom for TS?
can be
It supports it, yeah
Is it ideal?
Coding in C can actually be a lot of fun π
ye, it's ideal
anyone know any good python books?
!resources We've got a whole page full!
The Resources page on our website contains a list of hand-selected learning resources that we regularly recommend to both beginners and experts.
im just gonna use vsc
Also a good choice
for maths khan academy and 3blue1brown
I've never heard of the second one
3Blue1Brown is amazing
Yeah, he's pretty cool
he teaches maths i actually understand
he is so fuxkin good i love his videos so much
Anyone want to watch live boat-building? π
you guys listen to podcasts?
Welcome to the Whisky Plank Live Stream!
Donate / Support; http://www.sampsonboat.co.uk/support
Become a Patron; http://www.patreon.com/sampsonboatco
There may be no audio on this livestream (play your favourite album in the background!)
Make sure you tune in on Saturday to watch the full edited video in much higher quality, and with audio.
...
@rugged root you know vsauce
for npm you have to cd into that directory right?
like joe rogan
@sacred lichen lmao i created a virtual environment using conda and now i cant remove it π
uh I don't use conda
lmao
Hahh thanks admin for verifying me
anybody here is so kind that he will dedicate a little of his time for me to create my resume
wowowowowowowowow
We dont do that here
π
ask on linkedin lmao
make a sudoku solver
haha
it makes the perfect resume
Language
XD
I did that
no fucking cursing
alright
ironic isnt it
XD
so this mean no one can help?
search youtube there will be plenty of indians who will help
So true
π π π
youβve to do it on your own
I will but I need help
true
surry vmro
grab some ideas reach out to your seniors
we don't do that here
I have a medium easy task for u
We noob
That u prob be able to make
I have no seniors I am existing in the most stupid place
that's why I come to ask everything here
π
go to some freelance site pay any guy and he will do it for you
no no
we first year students
I ain't going pay
oh are you
ok mb
I thought
I am talking with
people who is already working
1st year me too
That doesnβt make any sense paying for what can be done for free
I am only 18 idk anything
but he dont wanna do that π
exactly that's why stupid people go to white hat junior lmao
lmao you indian
We all started somewhere. I don't think I took my first programming course until I was either 20 or 21
no
Ask the mentors for extension and figure smth out @fair citrus
Are you
yus
haha
I know only 2 languages but my batch mates already building stuffs :/ why hhaha
I was on a discord server and they were making anime sites and hosting it and earning at 15, but they dont even know the formula for area of circle
they spent time somewhere else we did at another so you cant compare
haha I don't understand mathematicians going deep into this cs filed yk
Lmao ever heard of Vecotrs Matrices
you need to study maths
i think to become a great coder
how dare have you gone in programming
far *
@rugged root you need to learn maths to become a great coder or am i wrong about that
what?
bruvv I feel like dropping out XD
lmao from what?
university
Far****
I am doing a cpp course online and some python courses
but I gotta do both get back at 6pm and work till 2am then graduate with 4.3
idk what to say about this
rn I'm contributing to some open source project based on ML
Not necessarily, it all depends in what field you're aiming to work at
ohk but in my college its a hype that if you are great at maths you are a great coder, like you can solve double and triple integration problem
but yes the education system is broken
i know 15 year old kids these days make sites
but ik maths cuz engineering shii
animaey.xyz
The same thing they say in my university, meanwhile the same teachers who say this have no skills in programming whatsoever
they broked
this site is made by 15yr old kid lmao
yus
making a website isn't as hard as it looks tbh, HTML is a straightforward language most of the time, imo
html css js then boom
he was talking about webscrapping
and i dont even know what it is
tf why you compare huh
My first time hearing about it as well lol
i am learning them so i dont know the work
Lightning strike just hit our datacenter
work on yourself smh
reallly
gone, reduced to atoms
No shit, alarms are screaming at work
That's gonna leave a mark I bet
the probability of that happening is so low, but your luck
What are you focused on learning at the moment?
@slim raft if i can study online for free why do i need to pay clg just for a certificate
being Zeus' favorite
neural networks
i am starting to learn python and web devellopment
ML
becuase i finised cpp course but i was not able to solve any git issues so i looked on github but most issues are of python and javascript so i am starting on that
efficiently banging my head on a rock
xD
suits my situation
ok bye getting late here
k bye
I'm trying to figure out where I can practice coding python, Edabit was a good place till it became a paid service :/
good luck
you can try to dso some codewars
thats a webside wich gives u problem you have to solve
I know about codewars, but I find myself struggling even with 8 level katas
What helped you progress?
and if u unlock solutions and google if u dont understand the solution
also u can realy improof if u do some personal projekts
yeah, after I unlock the solutions, I find that I miss writing the silliest last code that makes me pass it...
well I made a few very little projects based on the banking app, but it was very simple, I'm currently watching the tutorials I have from udemy
when it comes to doing things they show in the video, I just end up staring at the screen like an idiot lol
its really important that u are not just watching turtorials
u need to practive what u learned
yep, guess only practice and time will make a difference
i honestly just make random shell scripts to help with things when i'm bored
how long are you coding?
@sick dew Not tryng to crash the party or anythyng but be careful with making malware.
I started learning since last summer, and still learning
you cant finish learning how to code
@sick dew what was the ipconfig command?
i ve been coding for a year now and i still think im a beginner
ipconfig /release
ty
what are we talking abt ?
ipconfig /renew
Yeaah, it's a long road ahead, I know
just keep going
what happend
probably internet or something
ethernet
Hello i am making a wallpaper engine using python
https://github.com/p0lygun/wallpaper-engine
this is a wallpaper for it
it got real quiet XD
that's really neat
it just stopped my discord but chrome worked fine
why?
@rugged root what does this command do can you explain pleaseπ
ngl I don't know exactly, but I was using it to disconnect the wifi with bat files
are you hacker?
no, I used to mess with my friends and send files that mess with them
understandable have a great day
you too :)
bye
yes you are stuck in the 1980 we can help
@stuck furnace π
!warn 731975149787545611 do not post copy-pastas here
:incoming_envelope: :ok_hand: applied warning to @urban hamlet.
cute cat
.exe
hello
hey
can somsone please help me?
@whole bear what was the command you actually ran?
I see none of your input and only half of your output
and ur mom
nou
yes u
nou
breuh
i literaly just randomly checked this chat and u are here... what is this coincidence.
it makes you a stalker
YES I KNOW BRUH LOL
They do.
Everywhere except a couple of channels, of which #bot-commands is one such.
It's ultimately a mercy.
Better this than having randoms wandering in "off the street" as it were and screaming, blowing into the microphone, laughing obnoxiously to their friends on their end "Hurr, listen to us being disruptive and annoying. Hurr hurr hurr, we're so funny." or playing music.
I dislike the barrier it presents to legitimate participation, however, it, on balance, protects that.
It's a speed bump.
what the hell is that command
what?
in terminal
why are you doing that
what is it supposed to do
what is the purpose of it's having been written there and entered
What is the ultimate goal of it, having been typographically transferred letter by letter into the box known as "terminal" after which the key known as "Enter" was pressed?
I was paraphrasing r/increasinglyverbose
CBT
π
But I never seen you at mars , I live there.
i haven't seen you too, neither
have a nice day
lol
they should go to Greek
i did not make it
MONKE
Can this be 3d printed?
Never knew monkeys were mesh
if you have a slicer application and a printer, sure
hi guys!
idk
hello
what time is it there?
4pm
oh its 11pm here
Hi
hi
what is better whiskey or champagne?
what is easier c language or python?
really?
python is easier to learn, work with, and everything else you can think + easier
oh thanks
I'll go ahead and say, python's the easiest programming language to learn
its just really hard to understand if its c language i have difficulties with it
you don't have to start with C
but i'll say start with some static language over python
if you don't know any language
What?
you mentioned something earlier about games, lol
Oh right right. I was talking about how I could go on for hours about older video games

psvm and mina sitting in a vc~
π€
Who cares? They got tired of our bullshit and I donβt blame them.
lmao
Β―_(γ)_/Β―
Agreed
@stuck furnace i got the latest update now
1.1.55.498.gf9a83c60-a
Oh right. Notice any difference? π
Yeah, not really a fair experiment π
i will test on a song that i listened to a lot
this year
i like that we get album art in the song lists now
I just noticed that I could hear details in songs that I hadn't heard before.
π€’
Ah right.
This might be the elusive XOR question π
So you have list(range(n)) but missing one of the numbers?
counting sort π
reduce(xor, nums + range(n))
ohhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhh
Thanks π
I don't actually know
Yesss, finally I get to use that piece of knowledge.
You might have to use itertools.chain to make it truely O(1) memory.
oh maybe
Back in a bit π
γ°οΈ
@stuck furnace :)
although there is a cooler way
return reduce(xor, (i ^ x for i, x in enumerate(nums)), start=len(nums))
i think that works π€
yes it is
i was learning it
OOOOOH
there was a problem like this in advent of code
salt solved it in a cool way i remember
it's just sum of n natural numbers - sum of the array
which also fits the constraints
it was the uhhhhhhh
airplane seating one
π
def part_two():
l = len(data) + 1
return l * (l - 1) // 2 + l * min(data) - sum(data)
``` π
Hey @ocean panther
Currently trying to free up help channels as we've run out π
Ah
It's the dragon fractal
I can send you the code to generate it...
You're getting it whether you like it or not π
from turtle import Turtle
from colorsys import hls_to_rgb
from itertools import cycle
shelly = Turtle()
shelly.screen.colormode(1.0)
shelly.screen.bgcolor('black')
shelly.screen.tracer(0, 0)
rainbow = [
hls_to_rgb(hue/1000, 0.5, 1.0)
for hue in range(1000)
]
F, R, L = 'forward(5)', 'right(90)', 'left(90)'
path = [F]
for i in range(13):
path = path + [R] + [
{F: F, R: L, L: R}[command]
for command in reversed(path)
]
shelly.speed(0)
for command, color in zip(path, cycle(rainbow)):
shelly.color(color)
eval(f"shelly.{command}")
shelly.screen.update()
input()
That's the cool thing about fractals.
Ah right π
The teacher's bluff...
Show no weakness.
I'm joking... kind-of
Yeah, CS people can be pedants
It uses the turtle library.
Yeah, it's been around since the 70s I think, in one form or another.
Did you ever use the Logo robot?
Ah right.
Nice
@stuck furnace did you see what i wrote about the problem we did π
Yep, looks like it would work.
Or you mean the n * (n+1) // 2 solution? π
idk, both lol
Not sure why I didn't think of that.
I will live with the shame for the rest of my life π
Going to see what's going on in the other channel. Hopefully one of Rabbit's TED talks π
!user

Created: 4 years, 10 months and 7 days ago
Profile: @honest pier
ID: 182894631921516545
Joined: 8 months, 12 days and 1 hour ago
Roles: <@&542431903886606399>, <@&463658397560995840>, <@&764802720779337729>, <@&267630620367257601>, <@&799041111573266503>
Total: 2
Active: 0
You are not allowed to use that command here. Please use the #bot-commands channel instead.
@rugged root sir how i install a specific python version on my virtual environment the command venv doesnt work
if i want 3.8 and 3.7 i need to install both of them?
@rugged root ok thank you sir
@noble copper fix your mic
ooh cool gang vc is awesome
the og gang
damn cant believe rabbits still down in the other one
How to get permission to talk?
#voice-verification
yo carbon is so cool
Easy code screenshots
main_file = None? wont the variable just be deleted after the function
is memory that important to you?
just use a context manager for that lol
wasnt sure about how returns work
got it my bad
with context managers
what if you return from within a context manager?
will it close everything for you?
was way too lazy to search it up
so i just implemented it like that
hehe sperm
beautiful
last time hemlock continued learning typescript was in 2019
π π’ π
I am sorry for disturbing again, So if we use conda to setup our virtual environment it automatically installs the python version we want but for setting up virtual environment using virtualenv library we need to manually download the python version we want
.gif, .jpg, .jpeg, .mov, .mp4, .mpg, .png, .mp3, .wav, .ogg, .webm, .webp, .flac, .m4a.
looks cool
So I made Noob mistake and forgot to put "." in my reg expression
My personal github is a mess. There's nothing really useful there. I primarily used it as a drop box so I can try things both at work and home
Talk about fuckin shit up until I realize what I did lol
ooh nice
eyy rabbits joined this vc
hi rabbit! π
Yea, other VC died
true lmao
"i cause traffic jams" XD
Does anyone have any good VSCode color themes
apparently @ Mr. Hemlock doesnt like saying it because it makes him sound cocky(which it really, really does, not sure if i respect him anymore smh)
!voice
Voice verification
Canβt talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
im using one dark pro from atom currently, but looking for some new, possibly better ones
I know its weird but I use "Atom One Dark" on vscode lol
hows this
Thats a cool looking fish , but he must be lying lol
lol yes
i use Dark+material
Looks like Apple Watch face
maths is love
yeah i'm using desmos for a long time.
is anyone else hearing intermittent hissing or is it just me?
phyllotaxis
I don't have headphones on so I can't really tell
its like the golden ratio video
yup golden ratio
@ebon flume ok sir
@ebon flume can i ask your college?
https://youtu.be/ayQFzLKk4cU
@ebon flume it's really nice bro
im in first year
college?
me too
Lmao you are smarter than my brother at BITS
golden ratios are evrywhere in nature
yes i watched veritasium video
BITS students are more like inclined to entrepreneurship
"At its heart, pi refers to a semicircle, whereas tau refers to the circle in its entirety. Mathematician and poet Mike Keith once wrote a 10,000 word poem dedicated to the first 10,000 digits of pi. He is now a proponent of tau. According to a PBS article from last year, he said that thinking in terms of pi is like reaching your destination and saying you're twice halfway there."
yes and some of my friends who are from iit they focus on Competetive coding. Well i am happy to find that if dont get selected in JEE i can still prove myself
they have an edge. Google, Goldman Sachs & all other top notch companies look for a good coder and so they recruit through Codejam, Kickstart etc. Makes sense
yes, but i am stupid to label someone intelligent based on their college
so sorry
JEE is not the end π
yeah i am sorry to make that a point.
bye
overall ig
!paste
Pasting large amounts of code
If your code is too long to fit in a codeblock in discord, you can paste your code here:
https://paste.pydis.com/
After pasting your code, save it by clicking the floppy disk icon in the top right, or by typing ctrl + S. After doing that, the URL should change. Copy the URL and post it here so others can see it.
Bruh he is correct
longest_word = max(dictionary.keys(), key=lambda a: len(a))```
Don't lose hope
Practice Data Structures, English and Aptitude. U can get a higher package than them.
we can pass a key to max?
yeah
interesting
Max has a key parameter which accepts a function to which each element checked by max is passed.
i just need to be am iterratable
Which is used to assess which element is max.
i was just wishing for max to have a key lol
!site
Can also use: s
Commands for getting info about our website.
Subcommands:
!site faq
Info about the site's FAQ page.
!site help
Info about the site's Getting Help page.
!site home
Info about the website itself.
!site resources
Info about the site's Resources page.
!site rules [rules]...
Provides a link to all rules or, if specified, displays specific rule(s).
!site tools
Info about the site's Tools page.
!bot source
!bot
Bot informational commands.
!bot
!bot
Bot informational commands.
So in the above example, instead of a named (def) function, I've used a "lambda" function, which is like a def, but all self contained within that one section in the line.
!source
may i know who you saying these to?
I'll be back later, I have to concentrate on figuring out how to do this Excel formula
see you
@scenic wind Note also that this example will only return one word. If you have multiple words of the same length, the others will not be included.
do anyone know where the mute command is put in the source code for the bot
ok thankyou
OHhh excel that some tuff stuff
what should i know before being able to understand the sys module?
Yeah it's going to be a bit of a bear considering the format of the report
π
@rugged root bruh i finally figured out everything it was a space in my folder name that was causing the error thanks for helping π
π
surely nothing can go wrong
sue me
for what?
!bot
!bot
Bot informational commands.
Saitama vs. Crablante - Saitama's first battle!!! [60FPS 1080p]
oh someone showed me
it's
called premid @flat sentinel
tbh i don't know if i trust it lol. will have to read the fine print more closely
lmao
@molten pewter i do AR for a software company and a lot of ad-hoc processes/reporting
lol
only one joe
what a flex
holy shit joe have a HEAVY voice
I thought my voice was heavy enough
joe's mama
I should grow up
I thought everyone nearly had covid atleast once by now
Like I got it in december
BEST 7 DAYS OF MY LIFEEEEEEEEEE
better now?
I am alive
lol
best time β€οΈ
you can eat, can't feel it
you can fart, can't smell it
my weight reduced
so belly fat reduced
we had age + medical field agents
π¦
the wall is similar
krisp don't even work how I want it to be
it don't filter out stuff
my brother shouting in background
yes
it suppress my voice instead of cutting the bg part out
at fair point I speak terrible
numpad format is sooooooooooooooo gooooooooood
789
456
123
calculators are inverted i think
!e 10+10
123
456
789
@tiny socket :warning: Your eval job has completed with return code 0.
[No output]
Lol I saw that @silver notch
it looks like a cool program
this guy knows whats up
but yeah just press the play button smh
isn't it tax season
or is that all seasons
I used premid like A LOT
Isnβt that like a discord status tool?
!eval "fuck" * 100_000_000
@whole rover :warning: Your eval job timed out or ran out of memory.
[No output]
!eval ```py
while True:
print("eeeeee")
@whole rover :x: Your eval job has completed with return code 143 (SIGTERM).
001 | eeeeee
002 | eeeeee
003 | eeeeee
004 | eeeeee
005 | eeeeee
006 | eeeeee
007 | eeeeee
008 | eeeeee
009 | eeeeee
010 | eeeeee
011 | eeeeee
... (truncated - too many lines)
Full output: too long to upload
Do you wanna run our bots for us π
@whole rover did linode reached you out for sponsor or you approached them ?
Back later (possibly)
we approached them & renew with them
cool
curl -X POST
Iβll be back in a bit
[CmdletBinding()]
param (
# Parameter help description
[Parameter(Mandatory=$true,HelpMessage="Execution")]
[ValidateSet('build','up','stop','down')]
[string]
$Action
)
switch($Action){
"build" {
Start-Process 'docker-compose' -ArgumentList 'build --no-cache' -NoNewWindow -Wait
}
"up" {
Start-Process 'docker-compose' -ArgumentList 'up -d --build' -NoNewWindow -Wait
Start-Process 'docker' -ArgumentList 'system prune -f'
}
"down" {
Start-Process 'docker-compose' -ArgumentList 'down' -NoNewWindow -Wait
}
"stop" {
Start-Process 'docker-compose' -ArgumentList 'stop' -NoNewWindow -Wait
}
}```
Describe "Check for server online"{
Context "Ping Check"{
It "Primary app is online"{
$testuri = "$($URI)/ping"
Write-Host $testuri
Invoke-RestMethod $testuri | Should -Be "pong"
}
It "Calc Router is Online"{
$testuri = "$($URI)/calc/ping"
Invoke-RestMethod $testuri | Should -Be "pong"
}
It "Weather Router is Online"{
$testuri = "$($URI)/weather/ping"
Invoke-RestMethod $testuri | Should -Be "pong"
}
It "Greet Router is Online"{
$testuri = "$($URI)/greet/ping"
Invoke-RestMethod $testuri | Should -Be "pong"
}
}
}
Describe "Calc API Tests" -Tags "API"{
Context "Calc Tests"{
It "Adds 5+5"{
$testURI = "$($URI)/calc/add?number1=5&number2=5"
(Invoke-RestMethod $testURI | ConvertTo-Json) | Should -Be (@{result = 10} | ConvertTo-Json)
}
It "Subtract 20-10"{
$testURI = "$($URI)/calc/subtract?number1=20&number2=10"
(Invoke-RestMethod $testURI | ConvertTo-Json) | Should -Be (@{result = 10} | ConvertTo-Json)
}
It "Multiply 2*5"{
$testURI = "$($URI)/calc/multiply?number1=2&number2=5"
(Invoke-RestMethod $testURI | ConvertTo-Json) | Should -Be (@{result = 10} | ConvertTo-Json)
}
It "Divide 100/10"{
$testURI = "$($URI)/calc/divide?number1=100&number2=10"
(Invoke-RestMethod $testURI | ConvertTo-Json) | Should -Be (@{result = 10} | ConvertTo-Json)
}
It "Expo 5^5"{
$testURI = "$($URI)/calc/expo?number1=5&number2=5"
(Invoke-RestMethod $testURI | ConvertTo-Json) | Should -Be (@{result = 3125} | ConvertTo-Json)
}
It "Calc JSON Post / Adding 5+15"{
$testURI = "$($URI)/calc/calc"
$body = @{
op = 'add'
number1 = 5
number2 = 15
}
(Invoke-RestMethod -Method POST -Body ($body | ConvertTo-Json) -Uri $testURI | ConvertTo-Json) | Should -Be (@{result = 20} | ConvertTo-Json)
}
}
}```
#!/bin/bash
echo "Name: "
read name
cd /home/vcokltfre/projects/python_discord
git clone https://github.com/vcokltfre/yatb $name
cd ./$name
rm -rf .git
git init
git commit -m "feat: initial commit" --allow-empty
poetry install
code .
exciting
the day where the internet is just mostly shit
how is that resolution going
seems to be going lol
need to hop π
cya
!user
Created: 3 years, 3 months and 24 days ago
Profile: @silver notch
ID: 386599446571384843
Joined: 1 year, 10 months and 3 days ago
Roles: <@&463658397560995840>, <@&764802720779337729>, <@&295488872404484098>, <@&267630620367257601>, <@&787816728474288181>, <@&721459198839357490>, <@&587606783669829632>, <@&267629731250176001>, <@&815701647526330398>, <@&267628507062992896>
Total: 16
Active: 0
[CmdletBinding()]
param (
# Parameter help description
[Parameter(Mandatory=$true)]
[string]
$Name
)
Set-Location -Path '/home/vcokltfre/projects/python_discord'
if ($null -eq (Get-Command git)){
#Install Git
throw "You need to install git"
}
Start-Process git -ArgumentList "https://github.com/vcokltfre/yatb $($Name)" -NoNewWindow -Wait
Set-Location ./$($name)
Get-ChildItem -Path .git | Remove-Item -Confirm:$false
Start-Process git -ArgumentList "init" -NoNewWindow -Wait
Start-Process git -ArgumentList 'commit -m "feat:initial commit" --allow-empty' -NoNewWindow -Wait
Start-process poetry -ArgumentList "install" -NoNewWindow -Wait
Start-Process code -ArgumentList "."```
ooh nice
I didn't test
so maybe some editing needed
and yes, it's very verbose language but some people see that as benefit as you can understand what's going on
one thing that irks me about windows/ps is that you can do -LongArg whereas imo it should be --long-arg
yea
and there is probably a git module you could download
that's really benefit of the language
Factorio is a game in which you build and maintain factories. You will be mining resources, researching technologies, building infrastructure, automating production and fighting enemies. In the beginning you will find yourself chopping trees, mining ores and crafting mechanical arms and transport belts by hand, but in short time you can become a...
$30.00
90493
90
hmm Price is here 30 dollars
and in my region its like 10 dollars
Where are you located AG?
Sure, 30 bucks to American isn't a ton
@dense ibex stay in school
its 6pm how could I be in school lol
I meant as general advice. I am just doing my civil duties
Thank you kind sir π
also the school system is bad
There we go. Balanced, as all things should be
I mean you have a point.
I can't say your wrong. But some teachers are good but only some. But the system is poopy
wait slack has been bought
Play Fishington.io - An online fishing game where you can relax, chat and fish with up to 24 players! Coming soon to PC, iOS and Android.
Play Fishington.io - An online fishing game where you can relax, chat and fish with up to 24 players! Coming soon to PC, iOS and Android.
Ah, that sucks π
Handmade and handpainted in Germany in a tradition of porcelain figurines from the world famous Meissen, Europe's oldest porcelain manufactory. Board measures 20ΒΌ" square. King measures 3ΒΌ" h.
@uncut meteor
wow
i'll try : last time you taked to me about something to try, it was quite magic ^_^
@uncut meteor π
well, it is a 2D (or 3D isometric) game editor isn't it ?
Yep. I need to learn how to use it for pyweek π
ok
That's alright. Me neither π
oh, i'm writing a typing test in python
too many pixels π
GUI?
π€
I'm mildly addicted to diet coke tbh
approximation of OS logos :
macOS : O
debian : (
windows : [are you sure you want to print the logo ?]
well, just use gimp in this case ^^
but the white background destroy eyes while i have only dark backgrounds
mina $10, jake $0
Play Fishington.io - An online fishing game where you can relax, chat and fish with up to 24 players! Coming soon to PC, iOS and Android.
Play Fishington.io - An online fishing game where you can relax, chat and fish with up to 24 players! Coming soon to PC, iOS and Android.
Play Fishington.io - An online fishing game where you can relax, chat and fish with up to 24 players! Coming soon to PC, iOS and Android.
Join the challenge or watch the game here.



