#voice-chat-text-0
1 messages · Page 996 of 1
Forbidden creme brulee 👀
Forbidden? Sounds like someone just didn't have the balls to try it /j
I rate it a 6/10, better than most food I have at home but you can taste the carcinogens wafting at you before you even take a bite
@zenith radish https://www.youtube.com/watch?v=ryhdDblDZnM
hi
can anyone tell me how the f sum is 5050
@strong arch @gentle flint @zenith radish
oh sorry
okay got it thanks
i think the result is good. wait a while
h ¯_(ツ)_/¯
4950+100=5050
The question is, what are you trying to achieve? if you want to add up all the steps, then you have the wrong code.
no i am learning python and found that i am not getting what that code is doing
n= 4, sum = 0, i = 1
0+1 =1
1+2 =3
3+3 =6
6+4 =10
the result is 10
in your program
I'm trying to learn too
if you're trying to add it all up, you have to write something there.
i am not trying anything
thanks man byee
you are welcome 🙂
i do not know everything 🙂
lol
thank you i'm not drunk
Initial setup
anyone know how to create a loop for my code. the code uploads an image and then does a bunch of stuff to it. i want the code to keep running and taking the next image from my laptop
Bruh
cant talk I am server muted
i am aware
I am new and just happy listing to coders and hoping to learn
I don't want to spam 50 low quality just to be able to unmute
lol
I just started to learn to code i was told i would be good at i.
I am intrested in netsec
yep or some form of backend
I have built a website before.
hrmm.. I started updating my code a little.. just cause right.. well, introduced a bug that seems almost impossible to find.. i can revert back.. but I need to add the new feature anyways, so more the likely will happen again.. so expecting another 12 hrs to spent for it :(
That is the kind of thing i make sure i learn. I want to have good clean code
form function rather then function from form
the data goes through 4 filters, before landing in my db.. none raising errors.. so I onno, they be big asslong filters running for loops 100's of time, even when debuggin 1 item.. so ya.. gonna take awhilento find out im dumb
ya the simplifying is the hard part. but that is something that interesting. like the challange to make it run faster
what do you do?
That is beautiful. ai?
I am not sure who is talking it is not lighing up
yep
And the 10 other users disapeareds
do you sell your art
Why not sell it as NFT or as images for websites
hahahha
Money?
Ya good idea but was def manipulated for profit
How do we own stuff now?
I am have mixed feels around it
That does seem like it has turned into
What makes you want to make a wallet?
Sounds like a good idea
hahhah
I have hot sauce does that count?
XD
Happy what do you do with you programing abillitys?
Don't short yourself
database sounds repatative
I am doing great!
Your mic sounds very nice
‘Happiness is a cookie that your brain bakes for itself.’
Sounds like you are well versed
some really ridiculous requirements lol
It does seem a bit stoung
how about id verification or something
votemute and votekick is great idea
no they arent
i used to run it in game servers
it worked flawlessly
a better system could be verification with github, linkdin, and a face picture, then allow a vote kick and vote mute
does anyone have cheatsheets for python
i dont wanna go on the rust server anymore too many toxic people
is python really as fast c++
how do i learn python quickly
im coming from c++ to python, c++ too hard on the m1 mac for me
i tried to learn rust but its also difficult for my uses
Corey Schafer, YouTube, playlists, Python for Beginners
ii know 3 other languages
@raven breach @Voice Verified
i left all the other languages because its hard to put together a full program
!voiceverify
Here you can go and verify your voice. @raven breach
!voice
Voice verification
Can’t talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
is there a way to get voice verified faster
Yeah.
im willing to show my id
I wouldn't dwell on it.
Just let it happen organically.
Micromanaging it or forcing it is going to be more stressful than it's worth.
For what?
utilties
I'm fond of a few. Depends on what you're wanting to do.
i want to make bots, websites, and automation for it
is there a good linter for python
i wish i could share my screen
Cassowary
Do you currently have a programing job?
do people use pycharm for python?
nope im very broke, my grandmother died 3 weeks ago
im desperate trying to get income
cant even bury her
That sucks.
For money?
yea, i want a programming job asap
yeah its too expensive
Hmm that seems like a hard goal
But why so expensive? I would like to request you, please tell me in details.
yeah its very stressful, i kinda know how to code, i just cant make likea. full working programming
ok i added your persistent
Flask and Django are two web frameworks that people like.
Discord.py is liked for Discord bots.
What kind of things have you done. I had built a discord bot and I found that was helpful to help learning?
i made a eth wallet checking bot in selenium with c++
Very cool
i made a rust bot to check a wallet with etherscan
api
bother projects were less then 150 lines of code, its not a full big program
nice what did you use to learn
The crested pigeon (Ocyphaps lophotes) is a bird found widely throughout mainland Australia except for the far northern tropical areas. Only two Australian pigeon species possess an erect crest, the crested pigeon and the spinifex pigeon. The crested pigeon is the larger of the two species. The crested pigeon is sometimes referred to as a topkn...
from skimage import io, img_as_float
import numpy as np
image= io.imread(r'C:\Users\guest\Dropbox\con1_outfolder_split_30sbeforepeak2min30safterpeak\part_1.png')
image = img_as_float(image)
print(np.mean(image))
!e py nums = [str(v) for v in range(30)] nums.sort() print(nums) #Beware
@somber heath :white_check_mark: Your eval job has completed with return code 0.
['0', '1', '10', '11', '12', '13', '14', '15', '16', '17', '18', '19', '2', '20', '21', '22', '23', '24', '25', '26', '27', '28', '29', '3', '4', '5', '6', '7', '8', '9']
!e
end = [str(n) for n in range(91)]
end.sort()
print(end)
something where it does like +1 maybe
1 => 10, 11
part_[i+1].png or something like that
!e py nums = [str(v) for v in range(30)] nums.sort() print(nums) nums.sort(key=lambda a: int(a)) print(nums)
@somber heath :white_check_mark: Your eval job has completed with return code 0.
001 | ['0', '1', '10', '11', '12', '13', '14', '15', '16', '17', '18', '19', '2', '20', '21', '22', '23', '24', '25', '26', '27', '28', '29', '3', '4', '5', '6', '7', '8', '9']
002 | ['0', '1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12', '13', '14', '15', '16', '17', '18', '19', '20', '21', '22', '23', '24', '25', '26', '27', '28', '29']
ah isee
!e print(ord("a"), ord("A"), ord("z"), ord("Z"))
@loud karma :white_check_mark: Your eval job has completed with return code 0.
97 65 122 90
!e py n = "part_1.png" n = n.split("_") print(n) n = n[1] print(n) n = n.split(".") print(n) n = n[0] print(n)
@somber heath :white_check_mark: Your eval job has completed with return code 0.
001 | ['part', '1.png']
002 | 1.png
003 | ['1', 'png']
004 | 1
okay will try
Hello @somber heath!
gonna grab a snack
@midnight finch Your other alternative would be to make sure your filenames are zero padded on the left up to the character width of the greatest number in the folder.
eg 001 002 003 ... 999
See str.zfill.
okay i dont know how to do that. i can try
!e py print("999".zfill(3)) print("1".zfill(3))
@somber heath :white_check_mark: Your eval job has completed with return code 0.
001 | 999
002 | 001
!e print("".zfill(3))
@somber heath :white_check_mark: Your eval job has completed with return code 0.
000
!code
Here's how to format Python code on Discord:
```py
print('Hello world!')
```
These are backticks, not quotes. Check this out if you can't find the backtick key.
!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.pythondiscord.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.
So I would like your help with like a really simple coding project that is due tonight.
if you do not mind
<3
Fair enough
"Write a program with a loop that asks the user to enter the number of years they intend to attend the university. Based on the number of years, calculate and display the projected semester tuition amount. Assume there are 2 semesters in a year."
Yeah
Well I was testing some things
Right
But its like a new topic
Yeah I know that stuff I am more or less just stuck on where to go with what I have
¯_(ツ)_/¯
Yeah its a new topic
They want us
to write a loop
At XYZ University, tuition for a full-time student is $9500 per semester. It has been announced that the tuition will increase by 4% each year for as many number of years as entered by the user.
Write a program with a loop that asks the user to enter the number of years they intend to attend the university. Based on the number of years, calculate and display the projected semester tuition amount. Assume there are 2 semesters in a year.
In addition, calculate and display the total projected tuition that the student will pay. Display your output in a table. Format currency to have dollar signs and in 2 floating points. You are not required to use functions in this assignment.
Submit flowchart in pdf, .py file following course naming standard.
Sample input and display (shown below in bold):
Enter number of years to attend school: 2
The following is a table showing your projected tuition:
Semester Tuition
1 $9,500.00
2 $9,500.00
3 $9,880.00
4 $9,880.00
Total estimated tuition: $38,760.00
This is the entire thing
Yeah
Its like a refersher thing he is making us do
Its a fixed percnet
so the thing I am stuck on is the operator after the range
Yes
projectedTuition = 9500
years = input("How many years will you attend?")
for years in range(_):
projectedTuition * .04
print(projectedTuition)
Yeah I know
I am trying to find it
:D
oh
LMAO
Oh sweet that worked out Ok so now I have that but the output never changed
Right I fixed that
Sorry
!e py v = 5 v = v * 3 print(v)
@somber heath :white_check_mark: Your eval job has completed with return code 0.
15
!e py v = 5 v *= 3 print(v)
@somber heath :white_check_mark: Your eval job has completed with return code 0.
15
!e py v = 5 v * 3 #Does the calculation, but doesn't alter v. print(v)
@somber heath :white_check_mark: Your eval job has completed with return code 0.
5
it did something
projected_tuition = projected_tuition * .04
Yeah I just cied it lol
Ok well
projected_tuition = projected_tuition * .04 + projected_tuition
It did something
OH SHOOT
I just relized something
4% each year for as many number of years as entere
So this isnt right then
for years_ in range(years):
This is multiplying it no matter what it is
Semester Tuition
1 $9,500.00
2 $9,500.00
3 $9,880.00
4 $9,880.00
Total estimated tuition: $38,760.00
This is what it should look like
Ok so how do we make an exception for the code so that it skips the first itteration.
If you look
the prompt says
2 semesters in 1 year
projected_tuition*(.04**X)
So how could you skip on
It only did it once now
Output the line
no it did
but
ok
so
Semester Tuition
1 $9,500.00
2 $9,500.00
3 $9,880.00
4 $9,880.00
This is the table
the starting semester should just be 9500 no matter what
print(thing)
for _ in range(n):
thing *= 1.04
print(thing)```
then the second year it goes up .04%
so the first year it is ignored in the output table
the second is affected
9500+9500+9500*.04X+9500+9500*.04X
I feel like it should to Either way this has been am amazing help to say the least. I think from here I just need to figure out the range operators so I can figure this out.
ok
yo
i wont lie i looked a while back how to unlock vc but i cant even find it
one chat above
ffs
There are a lot of rooms.
No, my point being I can understand why finding the verification room would be tricky.
Lots of rooms.
!voice
Voice verification
Can’t talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
yep i get it
Would you mind showing me how to export a print / forloop data to a table?
idk how i can collect 30 msges
cuz there's not much discussion going on here
i mean usually
i'm still trying collect:)
ok get it
@dawn crane What does your data look like?
9500
9500
9880.0
9880.0
10275.2
10275.2
10686.208
10686.208
11113.65632
11113.65632
11558.2025728
11558.2025728
Oh, right right.
Semester Tuition
1 $9,500.00
2 $9,500.00
3 $9,880.00
4 $9,880.00
Total estimated tuition: $38,760.00
Needs to look like this
how do u think how soon famous libraries will be available for python 3.10 (switch case)
Docs on how?
text = ""Hello, world."
with open("output.txt", "w") as file:
file.write(text)```
!d open
open(file, mode='r', buffering=- 1, encoding=None, errors=None, newline=None, closefd=True, opener=None)```
Open *file* and return a corresponding [file object](https://docs.python.org/3/glossary.html#term-file-object). If the file cannot be opened, an [`OSError`](https://docs.python.org/3/library/exceptions.html#OSError "OSError") is raised. See [Reading and Writing Files](https://docs.python.org/3/tutorial/inputoutput.html#tut-files) for more examples of how to use this function.
*file* is a [path-like object](https://docs.python.org/3/glossary.html#term-path-like-object) giving the pathname (absolute or relative to the current working directory) of the file to be opened or an integer file descriptor of the file to be wrapped. (If a file descriptor is given, it is closed when the returned I/O object is closed unless *closefd* is set to `False`.)
!d str
class str(object='')``````py
class str(object=b'', encoding='utf-8', errors='strict')```
Return a [string](https://docs.python.org/3/library/stdtypes.html#textseq) version of *object*. If *object* is not provided, returns the empty string. Otherwise, the behavior of `str()` depends on whether *encoding* or *errors* is given, as follows.
If neither *encoding* nor *errors* is given, `str(object)` returns [`object.__str__()`](https://docs.python.org/3/reference/datamodel.html#object.__str__ "object.__str__"), which is the “informal” or nicely printable string representation of *object*. For string objects, this is the string itself. If *object* does not have a [`__str__()`](https://docs.python.org/3/reference/datamodel.html#object.__str__ "object.__str__") method, then [`str()`](https://docs.python.org/3/library/stdtypes.html#str "str") falls back to returning [`repr(object)`](https://docs.python.org/3/library/functions.html#repr "repr").
opal I joined can you like really quickly explain
!e py iterable = "abc" result = "*".join(iterable) print(result)
@somber heath :white_check_mark: Your eval job has completed with return code 0.
a*b*c
can someone explain how can i set up my pycharm to automatically use venv (when it is possible)
!e py my_list = [] print(my_list) my_list.append("Apple") print(my_list) my_list.append("Fix") print(my_list)
@somber heath :white_check_mark: Your eval job has completed with return code 0.
001 | []
002 | ['Apple']
003 | ['Apple', 'Fix']
chatting so terrible((
and is there some command that will remove venv from project automatically or i must do it manually?
!e py g = ["apple", "fix", "pear"] result = "*".join(g) print(result)
@somber heath :white_check_mark: Your eval job has completed with return code 0.
apple*fix*pear
!e py a = "apple\npear\ngrape" print(a)
@somber heath :white_check_mark: Your eval job has completed with return code 0.
001 | apple
002 | pear
003 | grape
Ok this helps
I should be good
Thank you so much!
Have a great night man <3
bye bye
@eternal bough its so quiet in here ...Talk............
@somber heath whats up?
anyoneeeeee
damn
thank god
PEOPLE ARE ALIVE
it says theirs 9 people in here 🤣
damn lmao
Thats so funny
i just tagged someone for no reason
Ok my bad man
Thanks for telling me
ok so i should CTRL + R instead of closing discord and reopening?
yea im on my laptop on the app
yea its just me and you 🤣
👌 you're smart opal
yea its annoying man
yea true
Opal you would hate what im doing right now 🤣
no🤣
im spellchecking a report i wrote thats due in 5 days
i cant wait until this is over
this is the last step
yea but it was that security audit opal
it was the most boring work ever
im so happy its done with
Exactly🤣
@somber heath what are you working on? Matplotlib? or something to do with graphs and visualisation?
@somber heath so would you call what youre doing as what you would do in a career, where does it fit into what people would do?
data scientist?
@somber heath youve said this multiple times
art
you always call it art
do you view it as art, because youre CREATING Things
or could you take screenshots and it actually looks like art
🤣
@somber heath can you send a screenshot?
or is it confidential?
damn you werent lying. This first image is really cool
not the orange one
but like the blue/purple/green one
slight orange on the sides
hold up
ill send it in here
this is beautiful
i had to save it to my desktop
I want to print this up, and put it in a frame on my wall
its very peaceful
it does look paler
im not sure why
like im looking at the imgur
and when i took the pic on my mac
and copied it in here, it looks weirder (not as sharp) on my file
like the oranges and greens are all gone
ok 1 sec
dude you have so many images 🤣
i cant find it when i click the profile lmao
ok i think i found it
ok i copied image address
here it goes opal
there
that looks so good
sup @lyric pawn @somber heath
oh this one moves
@somber heath so whats this made off?
or what does it represent in num py?
Worley noise.
yea this one kinda is weird
it feels mysterious
like some dark energy
the way it moves, seems devilish
like a horror movie
the black smoke
yea im not sure opal
this is kind of scary
the longer you look at it
@whole bear what you working on?
@whole bear you remind me of the coding version of robert de niro
not much man, just spell checking something that im happy is over with
@whole bear dont talk about that
anyone in selenium
jimmy youre a friendly guy. Thats why i like you
you dont let people get into your head
same ngl
youve got confidence
no we met in this server vc
@whole bear youre the react and angular genius
@whole bear what about python or php for backend?
no man, im not really into web dev yet
oh cool
lol
doing kali linux gui
using wsl
php is little tough
but best for verifications
@whole bear so you like flask or django for framework?
hi!
What the hell is pyweek
hewo
hi
yes?
we are being?
oh
my bad
yes i am eating some dry fruits
and fruits as well
apples
yeah
gotta get fit
hahah
yeah
both physical exercise and
well nutrition is required
to achieve the goal i think
anyways
do you watch animes
Doraemon?
ah yes it is a masterpiece
ive watched it twice
ah
Do you play cards?
the
playing cards which have diamond spades
and other 2
oh haha
oh i used to play it alot in my dads computer back in 2000s
i was very young
i never won
but i won yesterday which made me so happy i literally screamed
and
that made neighbours to come by
and complain lul
oh
yeah it happens frequently here doe lul
they get speakers and put on some song + this happens during nighttime
yeah the same neighbours who came by yesterday
and
we never complain but they do i hate em
tbh
yeah 😆
hi
2nd one i think
yeah the accent difference
XD
hows the weather there
oh
its sunny here
sounds nice its like 37 degrees here
celcius
sunny days look pleasant tbh
@somber heath u in the UK
ah
oh
im a mediocre as well
oh about php... i meant i started learning it 4 months before i got sich and the day before i got sick the teachers started teaching...
and boom the very next day
i got sick
lemon also uses ubuntu
and havent opened any software for 4 months
programming software*
except c
Yeah
what you working on @zenith radish
who likes java
i dont like java
my mom likes java
i like python as it's ez
same
YES
yea true java is more for games like mc
but still its tough
for making apps
i think
android apps.....maybe not
i think
kotlin and java
ios apps
use C#, C or C++
dont know bout the difference in all 3
who's made a game from python in this vc rn
Its Wenuja_' know' i think
hi
hi
how i talk to you
!voice
Voice verification
Can’t talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
Hmmm?
go on
@zenith radish you gave me the java developer role and now here i am >->
^^ can we do in an hour?
ye!
here
!voice
Voice verification
Can’t talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
I rate this pie eight out of ten.
yeah that is just to prevent people screaming into their mics with new accounts just to be annoying
have a nice day cya l8r
mm
i think you joined the server today
guys i need to know who is the best python langauge adviser in voice chat 0
i have been a member of this server since march 2021
because people who come here just to troll in vc are usually not patient enough to get verified
is that you coffe?
idk either o- o we rarely talk about python
its more about politics here
uuh
im developing mining programme these days
and i already done version 1 in yesterday
my english little bit bad
i used electron js and python for backend
do you guys know the meme that pakistan hates india and they want to destroy us
who intrest with it
@woeful salmon POODLE DOG
Voice verification
Can’t talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
stop pinging
a
random people
im sory
yesss
bitcoin mining
i have own farm
with 30 + gpus
yes i can send pic
give me 10min
yeah
theese days
little bit low profit
and i use 2 gpus to build my own AI network
using python
wait what
no
im not liar
wait a sec
i send pic
no im not spaming
i swear
We weren't talking about you and nobody mentioned spamming.
They were talking about me.
you can speak
aagh
damn it
im in misunderstand
@somber heath
yes i also use python with Hive os Api with python to build my own code to take rigs updates
with raspberry pi 4
ar u talking to me?
aah good idea
I have some trouble with my throat
Ok
Wait, I gotta go
can you hear me
@somber heath can u accept my request pls
why
wooooah
damnnn
and charlie?
@tawny canyon that's an unexpected meeting
"howmuch of python do you have under your belt" ~ Opalmist
"if i feel hot and bothered" ~ Opalmist
🙂
i'm collecting opalmist innuendos now
Neither of those were intended as such.
Just to be clear.
that just makes them better 🙂
...agreed.
Yeah long time since I've heard from you. How are you?
Why don't you take me to that Fn key town?
@quasi condor probably just ask in here now to not distract verboof
or he'd forget what he's talking about xD
good, how about you?
hey do you guys have any idea how can i convert this output 2022-03-21 11:07:00.513000 to epoch
the reason I asked was because I was being a bastard and it was faster for me to shout the question than it was for me to google/type
try strftime
it gives same output
depends how you format it
i actually always get output like 2022-03-21 11:07:24.301000 its kinda pre formatted
another way is just use V to select all lines and press : then type s/^/thing-to-add/
@zenith radish 😅 do you know if with glfw we get mouse4 or mouse5 in the mouse press callbacks or the key ones?
@gentle flint 2pi or tau?
?
@whole bear turn it down a little
that was too high
in user settings > voice and video you can do an audio test
play around with that until it sounds good
also on desktop (windows) you can turn on crisp here
@quasi condor put it on your pc and use an app to control your pc from your mobile
and add a script to move your mouse randomly every few seconds
welcome! everyone
anyone? @gentle flint @zenith radish @quasi condor ?
1 game
did I miss out?
we just had a quick single game
charlie and verboof had to go so
i mean verboof is still here but he said he had to so xD
how about you?
My love
yes
My darling
yes?
I am pregnant
nice
You are gonna become a father
I already am...
why can't you call me
Party with frnds yo
smh...
Oh, You forgot to recharge my phone darling
So go nd do it
So that we talk
🥰🥰
@zenith radish https://youtu.be/Pfof8hGZIt8
Marcin arranged and performed "Asturias" & "Innuendo".
➤TABS, Merch and CDs available on https://marcinofficial.com/shop
➤Monthly livestreams & tutorials: https://patreon.com/marcinguitar
Marcin played on Ibanez's new prototype guitar and used a Fishman Loudbox Artist amplifier & Fishman PowerTap Earth pickup for this session.
The hoodie worn ...
noodle u gna play with me?
sure ig xD
come join in xD
I'm in
These Egyptians have a funny way of starting wars
demihemisemidemisemiquaver?
hello
Cannabis has been reported to produce acute psychiatric reactions, among these panic anxiety and derealization, which are self-limited. We report on three patients who experienced an initial panic attack during cannabis intake. Anxiety attacks reoccurred after the cessation of intake. Two of these p …
"we have the strong impression that cannabis may trigger the development of
recurrent anxiety attacks and uncover latent panic
disorder in vulnerable persons. " From the above article.
Huge manatees student
How big does a manatee have to be to be considered huge?
1.5x larger than average?
Depending on where you're coming from... you could be targeted
Uh oh
It's kicking in
@rugged root you say you need caffeine, just curious, how long ago did you wake up?
Hour and 45 min ago
apparently
a better way of managing your caffeine requiremtns
Which always screws with me
is to try and not have any caffeine til at least 3 hours after you wake up
Try to not have your mom until 3 hours after..
and this tracks with my experience for the last few weeks that I've been doing it
@celest junco @molten pewter This guy
Well the good news is that nappy nappy time is coming
19 dollars now
@rugged root, if you don't stop being mean to Asians, I'm going to send you to your room
to adjust for inflation
@dark sable I grant them on a temporary basis
from random import randrange
random_num = randrange(0,101)
print(random_num)
num = 0
count_guess = 0
while num != random_num :
if count_guess == 0:
num = int(input("Enter the number to guess (0 - 100) : "))
if abs(random_num - num) <= 20:
x = abs(random_num - num)
print('Warm')
else:
print("Cold")
else:
guess = int(input("Enter the number to guess (0 - 100) : "))
num = int(input("Enter the number to guess (0 - 100) : "))
if abs(guess-random_num) < abs(random_num - num):
print('Warmer')
else:
print('Colder')
count_guess += 1
'''
!code
Here's how to format Python code on Discord:
```py
print('Hello world!')
```
These are backticks, not quotes. Check this out if you can't find the backtick key.
from random import randrange
random_num = randrange(0,101)
print(random_num)
num = 0
count_guess = 0
while num != random_num :
if count_guess == 0:
num = int(input("Enter the number to guess (0 - 100) : "))
if abs(random_num - num) <= 20:
x = abs(random_num - num)
print('Warm')
else:
print("Cold")
else:
guess = int(input("Enter the number to guess (0 - 100) : "))
num = int(input("Enter the number to guess (0 - 100) : "))
if abs(guess-random_num) < abs(random_num - num):
print('Warmer')
else:
print('Colder')
count_guess += 1
```py
your code
```
That SO answer is amazing
Those people have waay to much time on their hands
Healixir
Bytecode fragment
Cheap shot glass
Unmarked bill
Zero-ohm resistor
Candy gram
Vuvuzela song book
List of endangered monster species
Drawing of a conclusion
Misplaced forget-me-not
Robocup
Philosopher's scone
Mime control device
Illegal notepad
Cease-fire extinguisher
Bottle in a ship
Coy fish
Split personality test
Stereotypewriter
@rugged root
Soo many things
There is a problem in this code
What's it doing vs what are you wanting it to do
So its a number guessing game
Right
Hey @rugged root can you join the live code for a sec
Good luck @zenith radish
❤️
Can someone join livecode for a min
Welcome back, @rugged root , standard edition™️
Settle – Trade – Build. Enjoy the original board game on your smartphone, tablet or PC – at home or on the go!
Netrunner: https://www.jinteki.net/
Dominion: (Magic like deckbuilding alternative): https://dominion.games/
Dominion Online Web Client
what website is this?
Microsoft 365
https://boardgamegeek.com/boardgame/69789/ascension-deckbuilding-game
https://play.google.com/store/apps/details?id=com.playdekgames.android.Ascension&gl=US
https://store.steampowered.com/app/320430/Ascension_Deckbuilding_Game/
Secret Hitler looks fun: Secrethitler.io
https://tabletopia.com/ is a competitor to Game Board Arena
this will be our first piece.
Ok. Clarinet Led Zeplin Cover band.
minus Stairway to Heaven.
Inspired by the '88 Frank Zappa reggae version of this great Led Zep song, we did a rendition with four-part clarinet harmony, tenor- and bass ukulele and drums. We hope you enjoy!
Eckhard Petri: clarinet, bass clarinet, soprano sax, kalimba, temple bells, shaker, woodwinds arrangement
Marc Prietzel: drums
Kiki Schmidt: vocals, ukulele, uke arr
...
Get The Free Sheet Music and Recording:
https://gum.co/creep
- - - -
The classic Radiohead song, 'Creep,' arranged for a Clarinet choir containing:
• Bb Clarinet 1
• Bb Clarinet 2
• Bb Clarinet 3
• Bb Clarinet 4
• Bb Clarinet 5
• Bass Clarinet
• Contrabass Clarinet
By Thom Yorke
Arranged By Liam Rosenfeld
...
Radio head Clarinet cover band?
"Why is it all foggy and wet in here?"
"Oh, first time in our data center?"
Yep, they tried to get into Office market
Amazon WorkDocs Drive
Oh
It's part of that crap
Got it
What happened was.....
@rugged root https://aws.amazon.com/neptune/
@rugged root https://en.wikipedia.org/wiki/SPARQL
SPARQL (pronounced "sparkle" , a recursive acronym for SPARQL Protocol and RDF Query Language) is an RDF query language—that is, a semantic query language for databases—able to retrieve and manipulate data stored in Resource Description Framework (RDF) format. It was made a standard by the RDF Data Access Working Group (DAWG) of the World Wide W...
@rugged root - s/interesting/sad/g
Wait - let me put that in Python for you
"interesting".replace("interesting","sad")
Yes
PREFIX people: <http://stuf.stuff>
SELECT ?name ?department ?manager_name WHERE {
?employee a people:Employee .
?employee people:hasName ?name .
?employe people:hasDepartment ?department
?department people:hasManager ?manager .
?manager people:hasName ?manager_name
}
sparql example ^
it operates against data which is stored in triples
a triple is a set of three things
<subject> <predicate> <object>
<person> <hasDepartment> <department>
so it's all in the format <thing> <hasThing> <otherThing>
What's wrong with Jenkins?
Is there anything that Jenkins can do that GitHub Actions can't?
youre one of the smartest people in here shenanigans. I guess everyone dosent know everything ehhhh
Get compromised
It’s just so powerful, it can do just about everything. It’s basically a Swiss Army knife around trigger Jenkins and do something.
And since you can run agents on just about anything, it’s ultra powerful
M1 best processor
@rugged tundra is also very smart. Atleast in terms of information based stuff
you are man
👋
you're atleast underrated
I self hosted Jenkins for about six months when I was just starting out.
It seemed nice, but I didn't know enough to take advantage of it.
Once I found out about GitHub, I started using GitHub Actions, and I've been using that ever since
you can answer questions right alot of people on here cant, so i view that as smart
Most companies are moving in that direction but those still using Jenkins are likely so tightly wrapped around it and coming off of it would be insanely expensive.
@lyric pawn what are you up to today?
literature review 👿
just taking a break on here, about to go to the library
what are you doing man?
the library sounds chill
The library is a good place to be
yea i like coming on here though
alot of smart people on here, smarter than real life people i meet
but yea, the library is more a productive thing
it gets easy to procrastinate /get off course 🤣
Do you want to start a consulting agency around helping companies move to cloud?
We'd be rich
i just wrote a report on cloud architecture last night and powerapps. Its finished
im so happy thats over with 🤣
No, it’s awful
I've been doing this job for years at this point. How fucking hard is it for our folks to realize that I need more than "Is anything wrong with this printer?" when asking for help?
@rugged root , Singing Edition ™️ -
Welcome back, I'm going to need you to quit your job. You're coming to work with Rabbit and I at our new consulting agency
Irritable Inc?
No, Im not doing this
Back later. Going to go have to figure this out
yea i just finished a security audit on that stuff, it was alot of reading
and me basically telling people to take Microsofts word for it...
i felt like such a failure 🤣
what is this/the purpose of this...that you ask for help and people dont come to help?
or is this a more personal joke/something i should be realising?
People text me and ask me to come help them, and I go to their desk to help them
I've tried asking them what they need before going to them, but....
lmaooooo
ok i got you. Makes sense in relation to what hemlock said
Ok guys gtg talk later. Have a good day ❤️
sorry gtg to all hands meeting
A fallacy is reasoning that is logically incorrect, undermines the logical validity of an argument, or is recognized as unsound. All forms of human communication can contain fallacies.
Because of their variety, fallacies are challenging to classify. They can be classified by their structure (formal fallacies) or content (informal fallacies). Inf...
"There are three types of Lies, Lies, Damned Lies, and statistics"
-Mark Twain
"What's measured, improves" -Peter Drucker
one of my fav quote
When we say Kyiv is winning the information war, far too often we only mean information spaces we inhabit.
Pulling apart the most obvious RU info op to date (as we did using semantic modelling), very clear it is targeting BRICS, Africa, Asia. Not the West really at all.
20830
8639
Goodhart's Law: "When a measure becomes a target, it ceases to be a good measure"
I need to send fucking 50 messages 😢
I don't talk very much, pretty much just lurking here lol
i use linux mint 🙂 clean and simple
Excuse me
This picture is offensive
Arch Linux should be on the bottom
Please fix immediately
КУ
hello
im russian programmer. im in 8th grade
who can help with anaconda?
delete him from this server
русские есть?
!mute 642007583208636416 🔍
:incoming_envelope: :ok_hand: applied mute to @foggy wing until <t:1647891270:f> (59 minutes and 59 seconds).
Thanks🙏
please dont
hi vc0
hello
impossible to say without knowing your background
What sort of projects do you recommend I try to build my portfolio
so you could try to go down the data engineering route
We’ve introduced a new way to find and apply for an apprenticeship in England.
@mild quartz I would really like to get into Data Engineering, but I understand it requires a masters degree.
Do you know of a way to get into the role.
I got in with a bachelors but have machine learning publications in journals and conferences
if you have no machine learning background and are a beginner in python then you need to get experience or a degree
leverage your skills and try to get involved with the data team at your company maybe
a good litmus test about whether you could get a machine learning job is whether you understand most of the content in this book https://www.microsoft.com/en-us/research/uploads/prod/2006/01/Bishop-Pattern-Recognition-and-Machine-Learning-2006.pdf
def encryption(input_string):
all_punctuation = """!"#$%&'()*+,-./:;<=>?[\]^_`{|}~"""
first_char_pos = len(input_string) % len(all_punctuation)
first_char = all_punctuation[first_char_pos]
second_char_pos = len(input_string) % 5
second_char = all_punctuation[second_char_pos]
third_char_pos = len(input_string) % 10
third_char = all_punctuation[third_char_pos]
encrypted = ""
for char_pos in range(int(len(input_string))):
print(char_pos)
index = char_pos % 3
char = input_string[char_pos]
print(char)
if index == 1:
encrypted += (first_char + char + first_char)
if index == 2:
encrypted += (second_char * 2 + char + second_char * 2)
if index == 3:
encrypted += (third_char * 3 + char + third_char * 3)
result = "^^^" + encrypted + "$$$"
return result
print(encryption(input(">>")))
wait
password
^^^
firstCHARfirst
secondsecondCHARsecondsecond
thirdthirdthirdCHARthirdthirdthird
^^^)a)$$s$$)w)$$o$$)d)$$$
!e
def encryption(input_string):
all_punctuation = """!"#$%&'()*+,-./:;<=>?[\]^_`{|}~"""
first_char_pos = len(input_string) % len(all_punctuation)
first_char = all_punctuation[first_char_pos]
second_char_pos = len(input_string) % 5
second_char = all_punctuation[second_char_pos]
third_char_pos = len(input_string) % 10
third_char = all_punctuation[third_char_pos]
encrypted = ""
for char_pos in range(0, int(len(input_string))):
index = char_pos % 3
char = input_string[char_pos]
print(index)
if index == 1:
encrypted += (first_char + char + first_char)
if index == 2:
encrypted += (second_char * 2 + char + second_char * 2)
if index == 3:
encrypted += (third_char * 3 + char + third_char * 3)
result = "^^^" + encrypted + "$$$"
return result
print(encryption("password"))
^^^)a)$$s$$)w)$$o$$)d)$$$
@broken harbor :white_check_mark: Your eval job has completed with return code 0.
001 | 0
002 | 1
003 | 2
004 | 0
005 | 1
006 | 2
007 | 0
008 | 1
009 | ^^^)a)$$s$$)w)$$o$$)d)$$$
!e
def encryption(input_string):
all_punctuation = """!"#$%&'()*+,-./:;<=>?[\]^_`{|}~"""
first_char_pos = len(input_string) % len(all_punctuation)
first_char = all_punctuation[first_char_pos]
second_char_pos = len(input_string) % 5
second_char = all_punctuation[second_char_pos]
third_char_pos = len(input_string) % 10
third_char = all_punctuation[third_char_pos]
encrypted = ""
for char_pos in range(0, int(len(input_string))):
print(char_pos)
index = char_pos % 3
char = input_string[char_pos]
print(index)
print(char)
if index == 0:
encrypted += (first_char + char + first_char)
if index == 1:
encrypted += (second_char * 2 + char + second_char * 2)
if index == 2:
encrypted += (third_char * 3 + char + third_char * 3)
result = "^^^" + encrypted + "$$$"
return result
print(encryption("password"))
@broken harbor :white_check_mark: Your eval job has completed with return code 0.
001 | 0
002 | 0
003 | p
004 | 1
005 | 1
006 | a
007 | 2
008 | 2
009 | s
010 | 3
011 | 0
... (truncated - too many lines)
Full output: https://paste.pythondiscord.com/ufohoqiqam.txt?noredirect
then free bsd
def encryption(input_string):
all_punctuation = """!"#$%&'()*+,-./:;<=>?[\]^_`{|}~"""
first_char_pos = len(input_string) % len(all_punctuation)
first_char = all_punctuation[first_char_pos]
second_char_pos = len(input_string) % 5
second_char = all_punctuation[second_char_pos]
third_char_pos = len(input_string) % 10
third_char = all_punctuation[third_char_pos]
encrypted = ""
input_len = int(len(input_string)) # lenght of the user input
for char_pos in range(input_len): # loop with index for every char in input
occurence = char_pos % 3
# The First loop => 0
# then => 1
# then => 2
# then it goes back to 0
char = input_string[char_pos]
# what is the actual character we will add
if occurence == 0:
encrypted += (first_char + char + first_char)
if occurence == 1:
encrypted += (second_char * 2 + char + second_char * 2)
if occurence == 2:
encrypted += (third_char * 3 + char + third_char * 3)
result = "^^^" + encrypted + "$$$"
return result
print(encryption(input(">>")))
=>
!zen
Beautiful is better than ugly.
Explicit is better than implicit.
Simple is better than complex.
Complex is better than complicated.
Flat is better than nested.
Sparse is better than dense.
Readability counts.
Special cases aren't special enough to break the rules.
Although practicality beats purity.
Errors should never pass silently.
Unless explicitly silenced.
In the face of ambiguity, refuse the temptation to guess.
There should be one-- and preferably only one --obvious way to do it.
Although that way may not be obvious at first unless you're Dutch.
Now is better than never.
Although never is often better than right now.
If the implementation is hard to explain, it's a bad idea.
If the implementation is easy to explain, it may be a good idea.
Namespaces are one honking great idea -- let's do more of those!
!e
import this
@broken harbor :white_check_mark: Your eval job has completed with return code 0.
001 | The Zen of Python, by Tim Peters
002 |
003 | Beautiful is better than ugly.
004 | Explicit is better than implicit.
005 | Simple is better than complex.
006 | Complex is better than complicated.
007 | Flat is better than nested.
008 | Sparse is better than dense.
009 | Readability counts.
010 | Special cases aren't special enough to break the rules.
011 | Although practicality beats purity.
... (truncated - too many lines)
Full output: https://paste.pythondiscord.com/wohidapaqe.txt?noredirect
