#voice-chat-text-0
1 messages Β· Page 272 of 1
ππΎ
SUP
@obtuse cape
no sadly
learning
27
blockchain development
languages no
yes funny enough
what do you do?
sick that cool bro
databases
say again?
yes
thatll be great
youtube
In this Python Beginner Tutorial, we will start with the basics of how to install and setup Python for Mac and Windows. We will also take a look at the interactive prompt, as well as creating and running our first script. Let's get started.
Mac Install: 1:25
Windows Install: 5:44
Installs Complete: 8:37
Watch the full Python Beginner Series he...
using pycharm
ok
US
Voice verifivation settings
1st day on the serveer
lol
yes
was writing that down my b
but yes
one sev
sec*
how often do people collaborate in the server?
do many new comers join everyday?
yea im looking to learning from all skill levels
seems like the fastest way to achieve goals
1300
yea
afternoon
awesome think
ok
one sec
yea theres one thats 149.99USD π π
lol what!π€―
i must need a vpn to access that ?
??
veto map and game lol
lol
I need something like @lavish rover
i agree with that
most of these design decision making knowledge comes from experience not education
@shrewd ibex have you been in the blender discord?
different person my b
@chrome jewel π
I don't have 50 messagesπ
Indeed
I'm great

sup
@wind raptor π
t
@verbal zenith Let me know when you get back
why cors at all
shouldn't it be in the server
@wind raptor it is publicly accessible
https://discord.com/api/v9/guilds/267624335836053506/widget.json
but that still doesn't mean it's okay to put in web frontend though
@verbal zenith is this some framework on top of React or just React?
I think this should be compatible for React generally, not Next.js only
https://swr.vercel.app/
/guilds/<serverid>/widget.json
async function fetchDiscord() {
return await fetch('https://discord.com/api/v9/guilds/267624335836053506/widget.json')
.then(response => response.json())
.then(data => console.log(data));
}
good!
I was just curious to whatcha you were streaming π
I should really get ready for bed soon, so I'll hop out. glad to see you around though!
@rapid cargo π
@somber heath Hello it says that I cannot currently speak because I have sent less then 50 messages and spent less than 3 10 minute blocks which is reasonable to stop bot spams
Im just here to listen
I really just want to learn to program in python not anything else so if you have any suggestions how to learn im all ears
I commonly recommend Corey Schafer's YouTube playlist, Python for Beginners.
!resources
The Resources page on our website contains a list of hand-selected learning resources that we regularly recommend to both beginners and experts.
I have recently learned Variables, Integers, Sets, Functions, Tuples, and Lists. I did start working on a python PokΓ©mon bot with someone but I took a step back and realized that I didn't really know anything so I wanted to start from scratch again.
@whole bear π
A type of I guess name, maybe thats too vague but like an example is Age = 109 that would be a variable and and int
I don't really understand
I got stuck on learning functions becuase I didn't understadn that a person kept saying that a function called on a line of code (I later found out that it meant to just check a line of code) Now i understand
!e py a = [] b = [] c = a print(a == b) print(a is b) print(a is c)
@somber heath :white_check_mark: Your 3.12 eval job has completed with return code 0.
001 | True
002 | False
003 | True
Yes
Is the "is" a type of check to see if a is b?
oooooooooh
omg
Wow
Yes
So a variable is like a sing post becuase there can be multiple pointing to the same thing?
!e py a = [] b = [a, a, a] print(b) a.append(123) print(b)
@somber heath :white_check_mark: Your 3.12 eval job has completed with return code 0.
001 | [[], [], []]
002 | [[123], [123], [123]]
so b prints a that prints 123
because you appened it to the list to print 123
100%
?
anything else?
int str boolean
like that
name would be a str
100 would be int
Im so sorry could you repeat that please someone else pinged me and it was a long messgae sorry
Sorry
Thank you I couldnt really understand what you were saying
!e ```py
class MyClass:
pass
a = MyClass()
b = MyClass()
print(id(MyClass), id(a), id(b), sep='\n')```
@somber heath :white_check_mark: Your 3.12 eval job has completed with return code 0.
001 | 94895152854400
002 | 139774148638480
003 | 139774148638336
I'm off to bed. Have a great night!
!e ```py
class MyClass:
def hello(self):
print('Hello, world.')
instance = MyClass()
instance.hello()```
@somber heath :white_check_mark: Your 3.12 eval job has completed with return code 0.
Hello, world.
i am undersdtanding probably like 20% of what you are saying rn
its not you i just dont understand
hi
!e ```py
class MyClass:
def say(self, obj):
print(obj)
instance = MyClass()
instance.say('Hello, world.')```
@somber heath :white_check_mark: Your 3.12 eval job has completed with return code 0.
Hello, world.
my question is are calsses jsut str int boolean float
and other things
we can create our own str or int
thats what the class thing is?
oh
is programming in python mostly using built in classes or creating your own classes?
and data science?
programming in general is as if you're using English to talk, but with a computer, the same way you have an alphabet which helps you create words and with those words you can create sentences, generally the idea of programming isn't as far stretched as something simple as we do in our everyday life. there's types of sentences, sarcastic, funny etc, try to draw a map of your understanding on things by researching and learning first and go from there, you don't have to feel pressured to go right into the letter Z when you've to learn your ABCs
!e ```py
def func():
return 'Hello, world.'
print(func())```
@somber heath :white_check_mark: Your 3.12 eval job has completed with return code 0.
Hello, world.
I have to go soon btw.
Thanks sorry for interupting you
isnt it the same thing as changing the return to a print?
print('Hello, world')```
i dont understand
print('Hello Mist')
!e ```py
def func():
print('A')
return 'B'
result = func()
print(result)```
@somber heath :white_check_mark: Your 3.12 eval job has completed with return code 0.
001 | A
002 | B
so when you call the function it prints it and when you print it only the return prints?
How does taht make sense?
!e
def func():
print('i'm being printed by the print line inside the function!')
return 'i'm being returned and assigned to result!'
print('i'm calling func() and assigning output to result!')
result = func()
print('i'm going to print the contents of result!')
print(result)
wait say that agian?
@somber egret :x: Your 3.12 eval job has completed with return code 1.
001 | File "/home/main.py", line 2
002 | print('i'm being printed by the print line inside the function!')
003 | ^
004 | SyntaxError: unterminated string literal (detected at line 2)
goddamnit
but can you explain it?
Printing informs the screen. Returning informs the program.
Printing just displays stuff. Returning, you get an object you can work with.
!e
def func():
print('im being printed by the print line inside the function!')
return 'im being returned and assigned to result!'
print('im calling func() and assigning output to result!')
result = func()
print('im going to print the contents of result!')
print(result)
@somber egret :white_check_mark: Your 3.12 eval job has completed with return code 0.
001 | im calling func() and assigning output to result!
002 | im being printed by the print line inside the function!
003 | im going to print the contents of result!
004 | im being returned and assigned to result!
!print-return
I think I would understand it but I am really tired can you ping me to that video and ill take a look at it tommorow?
Thank you though I understand variables way more professionally (for lack of better word) and ye ik
ok
the first way i understood functions is it's kinda like "copy pasting" the code where the func call is, flawed concept but it helped me understand initially
it kinda means "go here and do this code, then come back"
return just allows you to carry the output of a function back to where you were, if that makes sense
how long did it take for you to be fluent
This is my first language that I actually was serious in learning
easy to grasp, a lifetime to master π
yes
how long did you use python for?
for me about maybe at most 2-3 months in which most of the time I didn't learn much so around a month
sweet, my most proficient language is authotkey i've been using it for about 12 years, python i've been using for about... 3 weeks on and off over the past couple years rofl
learned .net, c++, java and a few others at college, @rapid cargo it's just getting the structures down in your brain, and the best part is a lot of it is transferrable between languages which is cool
not to mention the elitism in various channels π¦
discouraging for many
In java which I did a 4 hour youtube course some things are similar
proficiency is literally time served, just keep throwing dookie at the wall until something sticks, and suddenly 300 things make sense and it's amazing haha
so what you're saying is you're an 8 year tall pile ?
hahaha
yup, and your point quality of time served makes a huge difference, but it doesn't invalidate "babbling", i learned blender to a high level of proficiency in 2 months but i've been taught very efficiently by a good friend of mine π
having a good teacher makes a big difference
a lot of support channels seem to hate helping people oddly enough, it's strange, i'm sure you've experienced elitism or priggardism
rofl yes haha
So what I can take away from this because im gonna go after I say this, is that I should keep chipping away at this keep getting in calls and trying to "steal" information from them and ask them questions untill I become the best that I can be?
i'm op on ahk irc, i've seen many folk come in with some awful code and are lowkey just asking someone else to code it for them free of charge, those are understandably annoying, but the likes of the js channel on the same server omfg they are insufferable
what do you think of what i said
there's guidance then there's rude dismissal yes
yess
i started coding by copy/pasting other peoples code and making it work, so much copy pasting, until i had looekd at enough code it started to make sense... it's far from efficient, but it shows just working with the code in any capacity WILL work... in the end lol
i was 12 years old when i was doing this, now 31
2018 uk i was in 45c in a valley, used to work in forestry, awful temperature, next to a river 100% humidity, workmate had a seizure, MET red warning danger to life, you wouldn't think we're the same latitude as alakska
that's hard pass for me
When you were explaining the thing that i still dont understand, I could barly hear you
Quiet and I think it was that I wasnt udnerstanding so maybe that played a part too
I did
i hear you fine but i have audio compression processing so it's all the same volume lol
i don't understand koala srry
i use fxsound, it's free π
yes mine do the same, so theres' two adapters you need bl 4.3 or above or something
so the second adapter is "headset" but it goes to mono audio
second audio channel is used for mic
it'd be much the same, it has "hq audio" for stereo or "LQ headset" thing
not worth it generally though ye
the audio bitrate sucks, this is why most wireless headsets use 2.4ghz/wifi not 800mhz bluetooth
espressif really
bose QC45 here
96khz over bluetooth is nuts wtf
sounds proprietary lol
rofl yes mine has fw updates too, dissapointed with my qc45 tbh, the mic audio is awful
neon you're welcome to ask me questions too if opal aint around
in the uk we have no AC
but variables are like signs that point to a name but there can be multiple signs pointing to the same name?
so when it's hot we fill the bathtub with cold water and sit in it
I have a question
What football team do you support
and a object is like s string and an int?
an object is a thing ~ opalmist 2024
^^
multiple variables pointing to the same thing is byref no?
same football sucks
oh god why you bring uk into this
and programming is a bunch of men and women being overpaid to press plasitic on a computer keyboard
that's terrifying hahah
π€·ββοΈ
caught in 4k
we are indeed primates haha
@somber egret ^^
@onyx hill π
no those are basement dwellers
Hi!!!
opal gets all the birds
Haha, just came back from a long break.
crows, hummingbirds yk, pigeons
Agreed.
awww
wife lives in usa i go there first time i saw a hummingbird i FREAKED OUT
i thought it was a dragonfly
yess feral pigeons
I'm joking its about taste I understand if you don't like the beautiful game its fine im not that type of fan just dont mention arsenal. @somber egret
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...
did you know pigeons are the most aerobatic birds on earth?
there's a reason they colonise every continent except the poles
Alr im actually gonna go birds are not my thing so variables are a type of sign that points to an object, classes, str int bool, etc and there can be multiple
@somber heath
alr cya
sup opal
i do some wildlife photography
gn!
i've seen those white cockatoos that invade every yard
they poop on everythign too hahah
if it's horizontal and grabbable expect it to become crusty and white
rOFL pigeons have started using anti bird spikes to build nests in the uk
they just build nest in the spikes
yo why did everyone ignore me π¦
thanks cya
sorry to bother
thank you agian
aye byees β€οΈ
bye
@clever turtle π
hi
can u help me in my thing
@somber heath
How can I know if I'm in a position to help you with your thing?
That sounds like a good plan.
You're missing a key arg in your object initialization.
i cant stream its not letting me
I can help you with this from a Python perspective, but not a bot perspective.
You don't need to. Just put your code here.
!paste
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 Paste! button in the bottom left, or by pressing CTRL + S. After doing that, you will be navigated to the new paste's page. Copy the URL and post it here so others can see it.
!e ```py
def func(*, obj):
pass
func()```
@somber heath :x: Your 3.12 eval job has completed with return code 1.
001 | Traceback (most recent call last):
002 | File "/home/main.py", line 4, in <module>
003 | func()
004 | TypeError: func() missing 1 required keyword-only argument: 'obj'
!e ```py
def func(*, obj):
pass
func('argument')```
@somber heath :x: Your 3.12 eval job has completed with return code 1.
001 | Traceback (most recent call last):
002 | File "/home/main.py", line 4, in <module>
003 | func('argument')
004 | TypeError: func() takes 0 positional arguments but 1 was given
!e ```py
def func(*, obj):
pass
func(obj = 'argument')```
@somber heath :warning: Your 3.12 eval job has completed with return code 0.
[No output]
@clever turtle This is the mechanism you're dealing with.
The argument needs to be provided via a keyword.
hmm
For information specific to Discord.py, ask in #discord-bots.
A Bowden cable ( BOH-dΙn)
is a type of flexible cable used to transmit mechanical force or energy by the movement of an inner cable relative to a hollow outer cable housing. The housing is generally of composite construction, consisting of an inner lining, a longitudinally incompressible layer such as a helical winding or a sheaf of steel wire...
such as a helical winding or a sheaf of steel wire
sheaf
just edited the article to be sheath, as it should be
Hii
I think it's actually supposed to be sheaf, in the sense of a collected bundle of long thin objects
@tight girder π
that would be longitudinally compressible
because they're lots of steel wires distributed around the cable
no it's not
look
you can see the wires from the end
they don't compress because of the lining on the outside and the inside
unless you squeeze too hard, which is why they aren't used for brakes
sheath refers specifically to wheat,
a bundle of grain stalks laid lengthways and tied together after reaping.
that is a sheath,
a close-fitting covering to protect something
An enveloping tubular structure
Any collection of things bound together.
https://en.wiktionary.org/wiki/sheaf
second definition
does not refer only to grain
i mean if you want to be pedantic its just a long bushing
not really
that's the plastic lining inside the sheaf of wires
the wires are for structural support
Hello
the types of stuff they were doing was https://firstroboticscanada.org/ftc/sim/
!e
import numpy as np
# Your original array
original_array = np.array([[0.70710678, 0.70710678],
[0.70710678, -0.70710678]])
# Convert to complex array with imaginary parts set to zero
complex_array = np.array(original_array, dtype=complex)
print(complex_array)
@upper basin :white_check_mark: Your 3.12 eval job has completed with return code 0.
001 | [[ 0.70710678+0.j 0.70710678+0.j]
002 | [ 0.70710678+0.j -0.70710678+0.j]]
hello
was fine
you're up late?
that is good news
sorry i didnt catch that
good.. eat n refill ur health
yeah.. i'm just trying to make a dark mode toggle.. using pure css
π
i cannot give them
ask hemlock
PLOMEEEEE
I'd join vc but my headphones broke
so have a nice evening everyone
Bye π
bai
Hi yo!
@late dragon π
@late dragon π
lol i cant talk
i have to wait 3 days
i just needed help with something
its my first time using python
boo
!rule 5
5. Do not provide or request help on projects that may violate terms of service, or that may be deemed inappropriate, malicious, or illegal.
what does facebook scrapping even really do, i'm just trying to archive someone's facebook account + posts
this is way too complicated lmao
curl? π
does it still save it if the account or post gets deleted
yeah its public
does it really seem that suspicious if its just copying post text and saving image
alright well i guess i'll probably end up doing this manually then
thx for all your help
!pypi beautifulsoup4
@whole bear π
alias: Control HVAC and Fireplace based on Ambient and Target Temperature
description: ""
trigger:
- platform: state
entity_id: sensor.d828c9b11dff_ac_target_temperature
action:
- choose:
- conditions:
- condition: template
value_template: >-
{{ float(state_attr('sensor.d828c9b11dff_ac_target_temperature',
'state'), 0) >
float(state_attr('sensor.d828c9b11dff_ac_ambient_temperature',
'state'), 0) }}
- condition: state
entity_id: climate.ge_air_conditioner
state: "off"
- condition: state
entity_id: input_boolean.manual_hvac_fireplace_control
state: "on"
sequence:
- service: climate.turn_on
entity_id: climate.ge_air_conditioner
- service: switch.turn_off
entity_id: switch.fireplace
- conditions:
- condition: template
value_template: >-
{{ float(state_attr('sensor.d828c9b11dff_ac_target_temperature',
'state'), 0) <
float(state_attr('sensor.d828c9b11dff_ac_ambient_temperature',
'state'), 0) }}
- condition: state
entity_id: switch.fireplace
state: "off"
- condition: state
entity_id: input_boolean.manual_hvac_fireplace_control
state: "on"
sequence:
- service: switch.turn_on
entity_id: switch.fireplace
- service: climate.turn_off
entity_id: climate.ge_air_conditioner
- conditions:
- condition: template
value_template: "true"
sequence: []
i am not familiar with this strain of weed
hi
I don't know. Do you have a problem I can look at so I can gauge what my answer may be to that question?
I was installed package google search result ,after that tryed use it at vsc
But the vsc not identity it
You probably didn't install it into your project's environment.
Talk to #tools-and-devops for vsc related questions, or see #βο½how-to-get-help.
I don't use vsc so any advice I may have on the subject should be treated as unreliable.
@lost tapir π
@stray sentinel π
!stream @whole bear
β @whole bear can now stream until <t:1710106971:f>.
the only luau/lua difference I remember is compound assignment
regular lua doesn't have it
idk if there's any single place listing the differences
!stream @whole bear
β @whole bear can now stream until <t:1710107479:f>.
Tabletop Simulator is modded with Lua too
but the sad part about that is default IDE integration being with Atom
and Atom is no more
VS proper has slightly better instrumentation support than VS Code
for C#/C++
(especially on Windows)
there might be a chance that my first code editor/ide was Turbo Pascal
or whatever clone thereof there could've been
it's, like, text-only
given how old it is
well if the filesystem did shallow clone, copying per version could be okay
(doesn't ZFS support that?)
(this for Rust crates)
yes
haven't encountered that yet
(though I guess one PR to ocen docs might count as such)
((mustafa said to submit a single commit))
hi
.prettierrc.yaml
but that just works with whatever
I need help
I have a project you can fix the error for me
what error?
as GitHub alternative, there are GitLab and Gitea which are self-deployable
and with CI/CD support
I don't remember any else somehow
I'm suprprises the Gogs three isn't deeper than it is
https://github.com/ianchanning/awesome-github-alternatives?tab=readme-ov-file#go
(Gitea got forked because the product got handed over to a for-profit org)
the only other one I recognise from the list is gitbucket
@vocal basin
@brazen elm π
hey
YEAH
Per Python Discord's Rule 5, we are unable to assist with questions related to youtube-dl, pytube, or other YouTube video downloaders, as their usage violates YouTube's Terms of Service.
For reference, this usage is covered by the following clauses in YouTube's TOS, as of 2021-03-17:
The following restrictions apply to your use of the Service. You are not allowed to:
1. access, reproduce, download, distribute, transmit, broadcast, display, sell, license, alter, modify or otherwise use any part of the Service or any Content except: (a) as specifically permitted by the Service; (b) with prior written permission from YouTube and, if applicable, the respective rights holders; or (c) as permitted by applicable law;
3. access the Service using any automated means (such as robots, botnets or scrapers) except: (a) in the case of public search engines, in accordance with YouTubeβs robots.txt file; (b) with YouTubeβs prior written permission; or (c) as permitted by applicable law;
9. use the Service to view or listen to Content other than for personal, non-commercial use (for example, you may not publicly screen videos or stream music from the Service)
Do you play chess?
!rule 5
5. Do not provide or request help on projects that may violate terms of service, or that may be deemed inappropriate, malicious, or illegal.
yes but i am not really strong
I want to fix that error how to fix it
Wanna play?
let's go ! I will try
- you didn't send the error
- read rule 5
The errors are identified in the picture I sent
@brazen elm https://lichess.org/qXqoYVWs
Join the challenge or watch the game here.
these are breakpoints not errors
@brazen elm https://lichess.org/Wv3Dv0wi
Join the challenge or watch the game here.
No, no, sir's mistake, that's an error
depends a lot on a specific community, yes
no
i dont have play since my 17'
years
no
yes
and you do you play often ?
i'm not very focus in the party sorry ^^
I've been playing a bit more seriously since I was 17
interesting numeric coincidence
Re2 might've been one of the worst moves
gg
free knight and free rook
i will play again with u tomorrow if you want
yeah
knight isn't defended by the pawn
then g3 is forced which leaves the rook undefended too
i would like to try https://huggingface.co/spaces/mlabonne/chessllm
it's several AI
i think we can download it
AI
good night ! And thanks you again
bye
Bye ! I'll come back
yeah, seems like they are indeed using some level of stockfish as a benchmark
definitely not at its fullest capacity
@regal thunder π
Hi
wsp
@near marsh π
@dark lantern π
?
i see
Sorry, only curses and ncurses for me
No problem Happy to help
ty imma go now
platformer
like mario
i have already started coding my game
im nearly there as well i just have a bug that i need help with
@hallow warren
hey could anyone anwser a quick question im fairley new to python and i dont understand what this error mean
What's up?
so im trying to build a simple trash collecting app and i keep getting this error
Reverse for 'trash-update' with arguments '('',)' not found. 1 pattern(s) tried: ['trash/(?P<pk>[0-9]+)/update/\Z']
May I see your code? Regex isn't a strong point for me.
Oh, so not Python.
In any case, maybe talk to #web-development.
oh ok sweet thanks
Every image was generated using midjourney AI: https://www.midjourney.com/
It's Gonna Get Weird was originally intended to be in Gravity Falls special "Weirdmageddon Part 1," but it was cut for time.
All rights to the song belong to Neil Cicierega
Please be sure to show your support for Toby Fox who is behind the popular game Undertale that this channel is mainly based on by listening to his music here: https://materia.to/undertaleID
Follow me on my Socials:
Instagram: https://instagram.com/game.guard?igshid=ZDdkNTZiNTM=
Tiktok: @gameguardyt
The song megalovania, from the indie RPG...
@scenic wren π
π
do you think one of you guys can help me with this one thing in python
I need help with something, Basically, I have a script that plays a video (moviepy) changes a wallpaper (i believe using just os). and its exported as an executable using auto-py-to-exe. It runs perfectly and all, but when its ran with windows task scheduler as a scheduled task... it doesn't display the video. It still runs everything else I've put in the script like an audio message I added (an mp3 that plays in pygame) but it doesn't change the wallpaper or play the video I had it set to play. I need it to run just as it would normally, in windows task scheduler.
Yes
correct good sir
Its embedded
It does the same thing
i asked chatgpt and it gave me garbage answers to try to fix it, and i tried all of them and they didnt work
thankkks opall
@cerulean bloom π
fr fr
Hi.
sweet tysm opal
it is wonky, ive tried fixing it for 3 days troubleshooting lmao
it uses a resource path thingy thats relative
i tried to error log like that but there was no errors it threw
nope
my game theory on the issue is that windows task scheduler doesnt run files the same as it does as when you just click it as a user, so essentially it thinks its running the file right, because some aspects of the file are running correctly, but its just the video and the wallpaper parts that dont work when ran in task scheduler
question, is there another python to executable converter i could use perhaps, other than auto-py-to-exe?
oh okay okay
ill try to export it in pyinstaller to see if it changes anything for this
kinda a strech but an idea yk
oh also another thing, when i make the video play in mediaplayer, it works fine when ran in task scheduler, but its when i use any imports to play a video, like cv2 or moviepy
it doenst work
the imports are bundled and do work in the exe.
this is actually top 10 mysteries of all time
haha well thanks anyways opal π«‘
you use mac?
linux?
ohhh
linux is so much better
what im teven rying to do with this all this is to make a python script that schedules a task to run in the system that in 3 days it will play a video of mario stealing your liver from upon running it
my antivirus goes insane with this script if its on
@mossy canyon π

Vaaaalid
i am an attack on titan / them male
Daaangg
bros an og
OMG OPAL I FIGURED IT OUT
Dude come back pls
What was the fix?
Basically, it was running the task as the system directory instead of as a user, so some of the files that it was dependant on to run werent there. so you just have to change two things in the code π
I had a feeling it was environmental.
You said you'd bundled the imports and I thought, hm, okay.
@rare cedar π
@stark river Hey
maybe later
@tawny moth π
Cannot speak on mic, it is supressed @somber heath
Thanks π
ok, I guess I need to send 50 texts, Don't wanna spam the chat :3
somehow i can't mount my drive via thunar.. mount still works though.. strange
@surreal geyser π
#!/bin/bash
docker stop blitzcrank
wait
docker rm blitzcrank
wait
docker rmi blitzcrank
wait
docker build -t blitzcrank .
wait
docker run -d --name blitzcrank --restart always -t blitzcrank```
hi
hi
How's it going
hey guys
@obsidian dragon @wind raptor
Can you please explain what kotlin is?
pretty sure its a programming language for developing android apps
correct me if im wrong
@whole bear
pretty sure theres also a kotlin language for minecraft modding but i dont think its official
Yeah it's a superset of Java used mainly for Android app development
Can you please explain what kotlin is?
https://github.com/Spelis/CatSh cool compiler for my new programming language (compiles to scratch .sb3 file)
yeah
Are you looking into doing some Android dev?
since when
Ahh, gotcha.
@sick flare That threw me off a sec. "Wait, when did Discord add a new voice icon..."
yea sorry?
np
π
Why can't I turn on the mic?
The #voice-verification channel has details on that
writing codes is a complex task
thanks
We've had issues with hit and run trolls. People who join the server, join voice chat, scream, and then leave
That was happening like... 8 or more times a day.
The voice gate has helped
It's annoying, I know
its necessary, its okay in my opinion
Yeah, they are a bit loud today or my noise cancellation is not working as well as normal.
I appreciate it when people are understanding about it
Late teens early twenties I would think.
Do u guys work per contract or per hour (provided that u guys work)?
I'm hourly but I'm not in the industry. Coding is a hobby for me
Welcome to VC
Where you have no idea what the next topic is going to be
Programming comes up from time to time, but isn't always the majority
I used to bodybuild
no way u do mmma
MMA is the best
show us ur build
LOL
its hard to comeback isnt it?
Yeah, I got sick, so haven't been able to do it for a few years now.
DAMMMM that chest π
Thank you!
When people ask if I lift, I say hell yeah
I was actually 1 year into my sickness here, was just recovering from hospitalization and being wheelchair bound.
i actually forget that u can live stream
I imagine you as this massive chad in the park, where your kids swing from your calves.
That's flattering HEHEHE
y is that taking so long
It takes a while to load the imports locally.
Can you isolate Cirq and Pennylane, just try and see if you get different result?
@upper basin
gwt use to it
Co-worker is here, so I'm back to just typing
@desert vector You doing good?
@upper basin It's not a rule. But it's what you SHOULD do
And it'll look incredibly bad if you don't
Gotcha!
Incredibly incredibly bad
It's an unspoken rule
Now, having said that, they are under no obligation to give you that same amount of time when they let you go or lay you off
real
Rust why
Why do you want there to be only one new line between functions
Give it room to breathe!
That's the Skat Man, right?
no
You see it though, right?
Yes you do
his head is too wide
I'll turn you into a wide screen you motherfu-
Hawt

the only logical choice
Only pew pew for you you
MAN
i wish i had a DP
Guys let me know who wants the book.
late to the party - which book?
Can you share that algebra book with me too, thank you.
brb
I'm exhausted
There hasn't been as much call for it @astral marlin
I think you're the first one to even mention it
Not against it, just hasn't really been brought up before
i'm not even sure how the conversation would go - but we've hired enough interns over the years and one of the recurring conversations that comes up is a general Q&A about career
True. But I wonder if it'd be more beneficial then to have a set of questions or a FAQ that gets pinned to the channel
And people just have follow up questions
i like that
Hi
It's been many a moon since I've seen it
My approval isn't that important I assure you
If you're craving approval from a hobbyist coder....
That... no?
You've never seen my code
"Those who can't do, teach"
That's me
I'm good at the general knowledge, but my implementation is where I get too anxious to actually write it
What's the context?
Seems to be a handful of potential meanings
@whole bear Famous last words
@fast sparrow Yo. Good, you?
Back in a moment
Are we really back to singing
Very convincing
Come back to a full on broadway show
I'm kidding
Get ready to dive into the fiery depths of battle with the highly anticipated release of HellDivers 2! In this action-packed sequel, you'll join the elite squad of intergalactic soldiers known as the HellDivers as they fight to protect humanity from the relentless onslaught of alien threats.
Synopsis:
Set in a dystopian future where humanity is...
Babye Hemlock!
Back later
wsg @astral marlin
@whole bear chill out buddy, we can hear you
π
Are you super dev's brother?
no, i starting π
sorry, for my english, my native language is not english
...
wait
β
Maybe that was temporary.
@serene locust π
hi π
hi π
What happened to your video perms?
dunno
im just an "imposter", pretty new to coding and python π but i like it, its fun, i miss other people around to talk about "noobish" questions and stuff so i can revisit the learnt stuff and understand it
@lusty kayak π
stuff like ```#pc_hands = random.randint(0,len(hands)-1)
pc_hands = random.randint(len(hands[0,-1]))````
why wokrs the commented line but not the "other" one.
I'm leaving.
@stark river The probate period expired. Just instated your perma
ok
hello guys
kirppu and piuku. 
Hey @stark river what are you working on?
I've saved their photos.
an app using web components
@whole bear Hoy hi. I'm not on voice at the moment, but this is the associated text room to the voice chat.
In case you hadn't found it already.
okay thank you
Also, #voice-verification for unmuting.
okay thank you so much
im just tryna figure out a few things
@somber heath im tryna figure out how to set up vs code
Hey
@brazen elm π
Good hbu?
nice ! Me too
Are you joining Vc today?
π
@steep gust π
yo
hello everyone
Curse of the Golden Flower (Chinese: ζ»‘εε°½εΈ¦ι»ιη²) is a 2006 Chinese epic wuxia drama film written and directed by Zhang Yimou. The Mandarin Chinese title of the movie is taken from the last line of the Qi dynasty poem written by the rebel leader Huang Chao who had revolted against the Tang dynasty.
With a budget of US$45 million, it was at the time ...
@proper plume π
@fair dawn π
@karmic obsidian Your audio is very difficult to listen to.
Volume is OK.
oh sorry
Clarity indistinct.
I'll better be on the chat here
hey @somber heath
would be the most fastest way to get a job
given that someone's tech stack is related to
data science, (publishing modules in python)
working with data and all that stuff.
I'm not qualified to answer.
why is the level of Beer constant?
Because life is amazing
or Maybe coz life is unfair
A Pythagorean cup (also known as a Pythagoras cup, Greedy Cup, Cup of Justice or Tantalus cup) is a practical joke device in a form of a drinking cup, credited to Pythagoras of Samos. When it is filled beyond a certain point, a siphoning effect causes the cup to drain its entire contents through the base. The cup can be used to learn about greed.
if message.content.split(' ', 1)[0] != f'<{bot.user.id}>':
return
@Vanity
What is the value of the second word above
if message.author == bot.user:
return
if message.content.split(' ', 1)[1] == None:
return
if message.content.split(' ', 1)[0] != f'<{bot.user.id}>':
return
@true siren π
is None is a bit (~50%) faster than == None
!d str.split
str.split(sep=None, maxsplit=-1)```
Return a list of the words in the string, using *sep* as the delimiter string. If *maxsplit* is given, at most *maxsplit* splits are done (thus, the list will have at most `maxsplit+1` elements). If *maxsplit* is not specified or `-1`, then there is no limit on the number of splits (all possible splits are made).
If *sep* is given, consecutive delimiters are not grouped together and are deemed to delimit empty strings (for example, `'1,,2'.split(',')` returns `['1', '', '2']`). The *sep* argument may consist of multiple characters (for example, `'1<>2<>3'.split('<>')` returns `['1', '2', '3']`). Splitting an empty string with a specified separator returns `['']`.
For example:
@golden sleet π
@Vanity how are you?
!e py print(''.split())
@somber heath :white_check_mark: Your 3.12 eval job has completed with return code 0.
[]
!e
text = "Hello World"
print(text.split()[1])
@obsidian dragon :white_check_mark: Your 3.12 eval job has completed with return code 0.
World
!e
text = "Hello World"
print(text.split()[2])
@obsidian dragon :x: Your 3.12 eval job has completed with return code 1.
001 | Traceback (most recent call last):
002 | File "/home/main.py", line 2, in <module>
003 | print(text.split()[2])
004 | ~~~~~~~~~~~~^^^
005 | IndexError: list index out of range
@urban flower π
!e
text = "Hello World"
if (text.split()[2]) is None:
print("oops")
@obsidian dragon :x: Your 3.12 eval job has completed with return code 1.
001 | Traceback (most recent call last):
002 | File "/home/main.py", line 2, in <module>
003 | if (text.split()[2]) is None:
004 | ~~~~~~~~~~~~^^^
005 | IndexError: list index out of range
if message.author == bot.user:
return
split_content = message.content.split(' ', 1)
if len(split_content) < 2:
return
if split_content[0] != f'<{bot.user.id}>':
return
@dense meteor π
import discord
from discord.ext import commands
from gpt4all import GPT4All
@bot.event
async def on_message(message):
username = str(message.author)
user_message = str(message.content)
channel = str(message.channel)
split_content = message.content.split(' ', 1)
prompt = ""
if message.author == bot.user or \
len(split_content) < 2 or \
split_content[0] != bot.user.mention:
return
prompt = " ".join(split_content[1:])
response = model.generate(prompt, max_tokens=200)
await message.channel.send(response)
print(f"Q {prompt}")
print(f"A {response}")
just use lua as your glue language lol
@jovial lichen here
OKAY I GET IT NOW WHY I CAN'T SPEAK OR WRITE , THANK'S
!voice @jovial lichen
Canβt talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
i can't because i enter here less than 3 days and i didn't finish my messages
correct
Them's the rules.
pip install gpt4all
Documentation for running GPT4All anywhere.
model = GPT4All("orca-mini-3b-gguf2-q4_0.gguf")
My RTC is not connecting
One sec
Greetings Anokhi!
?
Have you closed and re-opened Discord?
Restart the computer!
And are you on browser or app
I moved to the app
Looking for an itertools func or alternative for doing the following. Andybody know one?
list=[1,2,3,4]
products = [ [1,[2,3,4]], [2,[1,3,4]], [3,[1,2,4]], [4,[1,2,3]] ]
I was on browser
this voice chat is never talking python π
Am I misreading your code or are you missing a few brackets?
yep... fixed
because it's updating package on root
Just testing my idea, JSON
this is why you use micromamba
half of my Q is trying to see if i'm missing a name the way i'm trying to product
Missing a name as in in your actual usecase?
what's the solution to that?
as in if there's a nice itertools name for what i'm doing. there's lots of different product funcs in there. https://docs.python.org/3/library/itertools.html
Thanks
π‘
I'll wait
so it's never gonna finish is it?
Is it doing anything?
check computer resources
network, cpu
does it look idle or?
!pip cachetools
I could reverse engineer it to avoid a dependency, but that violates the Work Smarter Not Harder principle.
what's that old C joke? we don't use libraries/packages, we write everything ourselves.
it seems like it is doing something
Salut, j'ai besoin d'aide ya t'il un franΓ§ais ici ?
Idk why python showsup even tho I am not doing anything related python
or I am not even using python interpretor for anything
Sorry, it's an English only server
!rule 4
4. Use English to the best of your ability. Be polite if someone speaks English imperfectly.
Ok well I'm going to speak with Google translate
That is perfectly acceptable π
I need someone to help me please with my discord bot
#βο½how-to-get-help is your best bet, the help system here is neat, #discord-bots is also good
Ty
