#voice-chat-text-0
1 messages · Page 648 of 1
I am alive and I am breathing, but for the world for which I am seething.
I am how I am and how I am is quite uncertain. I feel fine, but I walk a line and that line is behind a curtain.
@somber heath thats very poetic ^^
So you want to play, "Oops, I stuffed my ballot boxes with more ballots and they exploded."? What do you do next?
@somber heath Do you play among us?
I am not among those who play Among Us.
Who will win or who will "win"?
"SCOTUS rules Constitution is unconstitutional. News at 11."
hey guys
Back in a sec. Not even at work for half an hour and I already have to call IT to get a password for someone reset
During this live stream, we'll be taking a look at the 10 best projects the teams have submitted during Python Discord Summer Code Jam 2020: Early Internet.
At the end, we will announce the winners of the code jam.
The projects: https://git.pythondiscord.com/summer-code-jam-...
evening!
hallo
just working on the parser frontend for my project
Might do the REPL as well later
!resources @unborn wagon
The Resources page on our website contains a list of hand-selected learning resources that we regularly recommend to both beginners and experts.
big?
like in scripts
you mean, increase font size?
ye
██║ ██╔╝██║██║ ██║ ██╔════╝██║ ██║██╔═══██╗╚══██╔══╝
█████╔╝ ██║██║ ██║ ███████╗███████║██║ ██║ ██║
██╔═██╗ ██║██║ ██║ ╚════██║██╔══██║██║ ██║ ██║
██║ ██╗██║███████╗███████╗ ███████║██║ ██║╚██████╔╝ ██║
╚═╝ ╚═╝╚═╝╚══════╝╚══════╝ ╚══════╝╚═╝ ╚═╝ ╚═════╝ ╚═╝ ```
like this
or another type
no difrnce
I wouldn't suggest doing that on Discord though
thanks
did someone call me?
me2, I forgot
it sounds fine
last time was louder actually
ooookaaayy there is a diff
oof it keeps saying RTC connecting
finally
You are not allowed to use that command here. Please use the #bot-commands channel instead.
@rugged root https://www.youtube.com/watch?v=isEXevVeGOE
Louis Van Gaal says he has to spealk to Anthony Martial in French because the teenager speaks no English, but is delighted with the way the striker has started for Manchester United
HaytersTV brings you closer to the action, with unrivalled access to the biggest names and clu...
cuz i thought u from EU or US
why is that, lol
never heard ur voice so mostly contributors here are from US ig?
@somber heath stiil can hear u when ı deafen myself
do u have snow in India
@atomic zodiac I guess on the mountains
@somber heath thats scare me 😄
hemlock has heard me
except on mountains
hemlock has heard me
i see
@stoic ore Well, I'm not doing anything special.
I'm just jamming lol
@somber heath ı think u special for all from begining D:
@stoic ore You're sweet.
@somber heath TY
has anyone here been in brugge before?
only gone past it on the motorway
Do you guys think it would be nice if we would have a Python-Django related channel?
looks so damn good
Didn't know hooking into pyparsing would take more effort
@somber heath when would you recommend to make a nested dictionary?
@severe elm When you hate yourself.
@severe elm You can do it, it can just make your life more complicated.
python editor suggestıon for ML ? ı have problem with mines
@severe elm You can do it, it can just make your life more complicated.
@somber heath alright i will have that in mind, i'm going to give it a try
codeblocks is for C languages
@rugged root pyparsing is a parsing library for Python
nice
@rugged root Lemme look up the name
Yeah nah I should just create my own pyparsing subclass at this point haha
I've been watching videos on boat-building and apparently putting iron in wooden boats causes something called "iron sickness".
That's probably the same thing.
@eager pumice hi Ryan how are u
Hey Hemlock 😄
with books, the iron itself starts rusting even though the book doesn't contain much water
the rusting iron stains the paper
One is a structural iron problem
the other is a visual paper problem
Oh interesting
be right back, getting chips
😄
Yeah, your connection is pretty bad FabCode
one by one they leave
I don't know if that's what it's expecting you to do, though
It made for largely uninteresting plotting, anyway
I agree
someone made a drug dictionary man
wth
i found this on stackoverflow
that dude really made a drug-dict
well, maybe they are chemists
or drug addicts
I mean, it is a-dict
i was a little suprised tbh
Why? All those drugs are legal in certain circumstances
The pay was terrible 😄
But I was like 12.
Why don't you log into the website and check?
@tiny seal I think ~£1000 for the first years insurance on like a normal 1.0-1.4l hatchback. Right now I pay £400 after 3 years of driving
Rather than clicking the link.
@quasi condor ye your insurance sucks
James Veitch?
So, I'm an idiot
Forgot that it was Columbus Day, and therefore the banks are closed, and also that I should wait to do deposits until tomorrow
So....
That happened
If you ever aren't sure about the veracity of an email, don't click on any links in the email, but go to the website of the company to verify the information.
posts random church
"on accept"
?
So, @whole bear, what steps did you take prior to this email?
I think the meaning of "charged" may be ambiguous.
We doing a car and house collection here?
sure man
"Should I accept?"
"No."
"I accepted."
"..."
lol
"Contact support"
"What do I do?"
"Contact support"
"It's not a scam. What does it say?"
"Contact support!!!!!!"
Hemlock: "Calm down"
"It's not a scam!"
literally everyone: "Contact support"
Yep, that's not a problem @hybrid moon
3.8 is mostly backwards-compatible with 3.7 I think
I'm no economist, but I think having a market for insurance might be a good thing.
If only for the sheer range of insurance products you can get, which probably wouldn't be provided by the state.
What comes to mind when consider insurance? Car insurance? House insurance? Well, sure. But there's another world of weird, wacky and bizarre insurance out there. Afraid you might turn into a vamp
I think general elections are supposed to be fixed to every 5 years now, but that really hasn't happened 😄
We've got Lord Buckethead @somber heath
This report presents road deaths and road death rates for Organisation for Economic Cooperation and Development (OECD) nations and Australian states and territories.
That might actually be the only one
I vaguely remember something about it being removed soonish
Some random guy set up a toll road without permission once.
The one Tom Scott did a video about?
http://tomscott.com - @tomscott - Welcome to the Kelston Toll Road: Fed up with a 14-mile diversion caused by a landslip, businessman Mike Watts has taken a £300,000 risk and set up his own private toll road. It costs £2 for cars to travel the 400 metres -- which is slightly l...
Yep 😄
According to Wikipedia... the UK has 3.4 fatalities per billion vehicle km, and the US has 7.3
It would definitely be perceived as paternalistic in the US 😄
us drivers exam is nothing tho
I actually quite like it that the US does things a bit differently from Europe.
One thing that might make a difference is that road speeds tend to be slower in the UK because of the old irregular roads, and there are fewer intersections, more roundabouts.
See ya Hemlock!
It would be interesting to do a factor analysis to try to find out which factors contribute most.
I think Rabbit is right to be skeptical. Without the data in front of you it's hard to say which factors are most important.
It's somewhere in this document: https://www.itf-oecd.org/sites/default/files/docs/irtad-road-safety-annual-report-2018_2.pdf
"The infrastructure was all trains." Roads? Nope. Trains. Telecommunication? Nope. Mail trains. Flushing your toilet using sewers? Yep, you guessed it...Trains.
@scarlet perch I'm the only speaker from the UK
LXNN is also from the UK I believe - but doesn't use his mic
Yep 😄
Not really paying attention though sorry.
In the UK, train is probably the fastest way to get between any two major cities.
That's only true if you're going North to South
if you want to go east to west, driving is much faster
and we also have relatively few major cities
Oh yeah, I once went to Penzance by train from London 😄
Literally takes longer than getting to Edinburgh.
See ya!
I might go as well.
you should use your mic next time you're in voice
I probably will do actually 👍
Hello
Hello
@broken steeple hi
smh, i toggle unmuted myself thinking i was already unmuted
👋
Let’s groom some stories!
lets groom some what now?
🚓
@cosmic lark
oh sure - enjoy
JIRA calls it stories
I can't imagine much more thrilling
So we are grooming the stories
s'long as yo are not grooming mino-
# Default Flywheel robots file
User-agent: *
Disallow: /calendar/action:posterboard/
Disallow: /calendar/action:agenda/
Disallow: /calendar/action:oneday/
Disallow: /calendar/action:month/
Disallow: /calendar/action:week/
Disallow: /calendar/action:map/
Disallow: /calendar/action~posterboard/
Disallow: /calendar/action~agenda/
Disallow: /calendar/action~oneday/
Disallow: /calendar/action~month/
Disallow: /calendar/action~week/
Disallow: /calendar/action~stream/
Disallow: /events/action~posterboard/
Disallow: /events/action~agenda/
Disallow: /events/action~oneday/
Disallow: /events/action~month/
Disallow: /events/action~week/
Disallow: /events/action~stream/
🚓
@quasi condor umm nope i wasnt
@quasi condor Just got set up, should be live in a moment
@quasi condor Can you give the command a shot real quick?
.statuscat 503
works @rugged root
Good
@hybrid moon opalmist moved channels if you want voicechat help
I'm here~
Yes! The glitch effect looks super nice
yeah, a bit hard to see on desktop but on mobile for me it looks nice
It's really solid
There is a PR to fix the centering issue that Mark and Scragly pointed out
Can you link it?
aren't there any moosic bots here?
nope
No, not really in scope for us
and for a good reason for the most part
also sorta against yt tos
ohh
no i had school today
oof
Colonizer Day
Columbus Day, it's a regional holiday
In more places it's getting changed to Indigenous people's day
wait but why
Cause fuck Columbus
xD
@hollow haven Done and changed
=D Thanks!!
is everyone in school here?
I work full-time, go to grad school part time
i meant school school (not college or etc)
ooooh, the drama
😳
but that definition is subject to country
In the UK university is very much not school
people get mad if you refer to uni as school
🤔
where I go would qualify as high school
Weird thing to balk at. I mean you're going there to learn, that's a school right?
middle school is terrrrible for everyone always
but college is a school of higher studies
uhhhhhhhhhhhh
drugs only came into play at my school in high school
high school
^
middle school
^
primary school
ez
rich side of town did muuuuch heavier stuff than the poorer side of town
what qualifies as heavy?
prescription pain killers, heroine, cocaine, that kind of stuff
poorer side mostly did weed and molly
hmmm... unsure
what did you do? kat
oh neither
👀
I was a dweeb and was "straight edge" in high school
party animal kat
nah thats cool
lsd was banned for political reasons
among others
lol
Theaters have opened in Saudi Arabia
it counts for helpers too
I've seen people muted/banned for not listening to helpers
Black Panther was the first film to be played in a public theater
theeere's the line
for science
#bot-commands
👋
hmmmm... I usually close them immediately. I honestly try not to use ModMail as much because I feel like I'm bothering mods with inconsequential issues >_>
I've had at least ... 3? creepy messages this month
I've had like 13-ish modmail threads
🥵
trollers
I don't actually get that many creepy DMs, it's just stepped up the past 2 months for whatever reason
and you know hormones of some ppl
Well, not for whatever reason, since I've started joining VC
Sure, probably joining VC and streaming
Also stepped up a fair amount of rude comments about my voice -_-
stereomix is easy
are you really a girl @hollow haven
egh it's fine. I'm fine calling those people out and making them feel real bad about being dicks
@honest pier no I'm 7
i kne wit
identity verification is a complex gov based process
country to country this will be a problem
You can ask in off-topic?
"alright buddy"
tethics
You can ask in off-topic?
@hollow haven if someone is nice sure I guess but it's a nice excuse when someone comes in with an attitude
I meant in the off-topic text channels, cause none of us had a clue and we were having an active convo
Yep
nvm then
And coming in to interrupt our conversation is pretty crap
I would have been less bothered if he'd just listened.
Or just taken a second to listen to what I had to say. Just irritates me
i have a question, one sides says internet should be free and without censorship and then another side of using filters and stuff to regulate harmful content. both of these things are contradicting as well as correct
Yeah, and I don't think there's one answer
do such public forums exist on the dark web?
I’d argue Youtube is Public Forum
if you get on a street and shout profanities than this streets administrator is not responsible for things you said, bc they are not responsible for moderating contents on this street. Technically it's a public forum only limited by general laws
time to get some late lunch~
bye
ah fuck i'm at the top of the list again
lol
it's exactly 32 chars tho
Road rules aren't stifling cars from moving people around. They stop dangerous drivers and road hogs and roadblocks.
Road rules promote the usability of the roads for everyone.
Same principle applies to corporate regulation.
I can't speak ;-;
kivy
LMAO
I know
Sweet
@blazing mountain
the Headset Works
But in my defense! My old county extended tax stuff until mid December
Nvrm, reset the settings I played with it a little too much.
RIP battery
F
Going to talk to wife about dinner
@blazing mountain #❓|how-to-get-help
no
Remove Chicago and it goes down to 0.7%
Maybe I have watched too many Britian drug docuentaries and gotten a bad rap about u guys.
@amber raptor are you done talking to our wife?
Seriously, stop
why mute?
@whole bear Don't know if how awful your mic was was intentional, but it's very loud, very screechy, very painful
Very
Your mic makes me ears bleed @whole bear
:((
I only tell the truth.
I'm sorry
No worries.
Boris going to Boris
Cualquiera aquí habla español?
welp, my boyfriend is now a walking python help channel
No importa decir todas las palabras inapropiadas como una mierda.
... that would be painful for all involved
Como esta nuestra esposa? @amber raptor
English only server, Tim
set a rate. like 150 usd /hr
Bromeando no me silencien.
@rugged root How did you know?
If I see it again, there will - because esposa is pretty obvious
It's creepy, he's already asked you to stop. If it happens again, it'll result in a mute
We clear?
Dang, I only know two languages. Cant say w*fe in another language.
Do you understand what I said
@left plume dont worry my country is worst
!warn 446069851576991775 Since you don't seem to be paying attention to what I said, DO NOT harass our users. If they ask you to stop, you stop. Consider this your one and only warning.
:incoming_envelope: :ok_hand: applied warning to @silk marten.
Huh?
lol
Sorry, got the wrong user id
Mr Hemlock, you didn't
I see that now
and their gone
Yeah I see that now
@covert shadow try #❓|how-to-get-help and #databases
Une erreur d'activation de fichier s'est produite. Le nom de fichier physique ' C:\walid\Ikram1.mdf' est peut-être incorrect. Diagnostiquez et corrigez les erreurs supplémentaires, puis recommencez l'opération.
but we cant right
Thanks Hemlock, sorry to annoy all the mods but I was done
@covert shadow mute your self
There's nothing to apologize for
yourself
That's literally why you have that pipeline to us
DAD JOKES
What isn't an American issue?
sentdex
guys I have a genius idea
it's called text summarisatino
that's not a field of research which has been growing for the last 20 years
oh but don't worry
this is a unique idea
i'll only summarise the research that matters
christ
lol
def sumFourAndNine(arr):
return arr[4] +arr[9]
hey guys
@whole bear mute your mic
Cross-platform? Pff. Angry platform.
@west cradle did you get help?
Trying to connect, but computer says "no". 🤷♂️
bad computer
Did I join spam?
I don't get past RTC connection, then it reauths and tries again.
rip
{{user.username|safe}}
@somber heath still not working?
Usually you will use {{ foo|safe }} or {% autoescape off %}{{ foo }}{% endautoescape %} in your templates as django programmer, which is more clear when the string is declared as being safe.
So, where is mark_safe used? When you write own templatetags or filters, then you need to mark the string as safe from python, because the developer will assume, that {{ foo|mylinkifyfunction }} does the right thing (i.e. it escapes the url foo, but does not escape the <a href=""></a> around the url).
@craggy zephyr
@gentle flint I suspect it might be Discord or...something. Other stuff is okay.
I have the same at times
@somber heath is the problem fixed?
Nope.
what does it say ??
It seems to fail at the RTC connection stage, it loops back to auth then back to RTC.
I've cleared Discord's cache, restarted the app, the phone, the modem and it was working earlier. I don't think I'm the problem.
I've yet to attempt connection using the Desktop, however.
DM calls work.
yeah
Welp, for whatever reason, it's working now.
Congratulations!
x-y/1-y = int
@severe elm Are you able to do man git or git --help?
yeah i jsut did git --help
it says "clone" Clone a repository into a new directory
so i believe i have to write something like this
git clone "LINK"
nvm i will look it up
Said he during an Australian evening.
@somber heath , @severe elm says that you ride kangaroos to reach school
Anon is saying u told him that
There's plenty of me to go around.
destory kimchi
bro do you have some gore fetish?
hahahaha
@somber heath have you used github to upload your work before`?
i would like to follow you on github
I have not. I don't use github.
git clone https://www.github.com/kimchiGore/virus.git
wth
I've an account, with one bit of code I wrote when I was more toward the beginning of learning Python.
There would be no point in following it, however.
git clone https://www.github.com/kimchiGore/virus.git
@slate sluice he is posting fake links
AI researchers from the Ludwig Maximilian University (LMU) of Munich have developed a bite-sized text generator capable of besting OpenAI‘s state of the art GPT-3 using only a tiny fraction of its parameters. GPT-3 is a monster of an AI system capable of responding to almost a...
text me
no
k
What if we trained a trillion-parameter GPT-like model on all the movies ever made and asked it to predict the next audiovisual frame of... anything? What if we used all the YouTube videos instead and run reality continuations starting from any given point in any video?
Maybe that dog looks back into the camera again. Maybe the camera then zooms out. And the dog jumps off the couch the AI has hallucinated under it from all the other couches it's seen before. And jumps into... where?
What if we trained a trillion-parameter GPT-like model on all the movies ever made and asked it to predict the next audiovisual frame of... anything? What if we used all the YouTube videos instead and run reality continuations starting from any given point in any video?
@left plume I think this might explain how there are nine Saw movies.
HAHAHAHAHAHAAHAHA
One was arthouse. More was just gratuitous.
taken from "And The Other Way Is Wrong"
Smell ya later. Text me, o mythical Python-knowers
Fucking Anning...
I voted above the line last election just so I could number him last.
Koo koo kachoo.
neonazi
Thank you @onyx geode very much appreciated and you too @zealous vale
@somber heath https://hastebin.com/gesewasila.rb
I am not
@celest spruce Alas, I do not.
@somber heath ok thanx
hello
o/
@somber heath i have problem
@celest spruce Hm?
mid-meow
while True: #While conditon is True
pass #Do a thing```
oh it's cute
Boobs.
Wat
@gentle flint
Preparing wheel metadata ... error
ERROR: Command errored out with exit status 1:
Getting requirements to build wheel ... done
Installing backend dependencies ... done
Preparing wheel metadata ... error
ERROR: Command errored out with exit status 1:
WARNING: The project does not specify a build backend, and pip cannot fall back to setuptools without 'setuptools>=40.8.0' and 'wheel'.
שלום
Btw I speak English don't kick me
async can do things simultaneously
It's better than usual since it doesn't run your code one-by-one like usual
this is wrong. async doesnt run code simultaneously.
async can do things simultaneously
@whole bear
@subtle orchid https://www.djangoproject.com/start/
@obsidian vector which one i should read
@subtle orchid I think this is the link he was wanting to send http://greenteapress.com/thinkpython2/html/index.html
back soon
for i in occurances.values():
ratio = i / len(xlst)
return (ratio)
```
s1 = [’a’,’b’,’a’,’b’,’a’,’b’,’b’,’b’]
11 s2 = [(1),(2),(3),(4)]
12 s3 = [1]
13 s4 = [1,2]
14 xlst = [s1,s2,s3,s4]
occurances = collections.Counter(xlst)
xlst = [s1,s2,s3,s4]
for i in occurances.values():
ratio = i / len(xlst)
return (ratio)```
return [occurence_val / len(xlst) for i in occurances .values()]
list_before = ["a", "b"]
new_list = []
for elem in list_before:
# do stuff
new_list.append(elem)
return new_list```
@whole bear With bells on.
I'm such a child. I keep wanting to say "hard fart" instead of "hard fault"
That darker version is better - but maybe slightly too dark
Yeah that's too dark
also - clearly it's not yet finished, but some stars or something in the background might help it seem a bit more alive
Maybe like..... 75% of the original?
no idea how hard that is htough
75-80, I think that'll be the sweet spot
ok, just gimme next 6 minutes to rerender
Sure, sorry to make more work for you
how much VRAM do you have?
That was my initial thought - but in terms of new graphics cards, is it?
sure, but my ideas about GPU are like 4 years out of date because that's when I followed hardware stuff religiously
my 970 has 3.5gb
3090 has 24 gb and it's supposed to be a gaming card
isn't 3090 an enterprise card with muddled branding?
The GeForce RTX™ 3090 is a big ferocious GPU (BFGPU) with TITAN class performance
that's from their site - Titan's were enterprise cards
https://www.nvidia.com/en-gb/geforce/graphics-cards/30-series/rtx-3090/ Yeah - branding is quite gamery, so I guess I misheard
If that doesn't fix it, git.txt contains the phone number of a friend of mine who understands git. Just wait through a few minutes of 'It's really pretty simple, just think of branches as...' and eventually you'll learn the commands that will fix everything.
So good
guys I'm trying to import numpy but I 'm receiving this error
install the tools
how?
Just wait through a few minutes of 'It's really pretty simple, just think of branches as...' and eventually you'll learn the commands that will fix everything.
This tbh
@west cradle hello (и тебе привет)
join the anarchy
i need help with something
@hollow haven py -m ensurepip
@whole bear If you have a question, you're going to have a better chance getting help by using our help system. See #❓|how-to-get-help for more details on that
k
#async-and-concurrency @pastel lance
def printstatus1():
if printstatus == 1:
printstatus -1
else:
printstatus +1
while True:
account = client.get_entity('AboLeLe')
time.sleep(2)
if not isinstance(account.status, UserStatusOffline):
status = 1
else :
status = 0
printstatus = 0
if status == 1:
if printstatus == 0:
print('Logged On at : '+ str(datetime.now))
printstatus1()
continue
elif status == 0:
if printstatus == 0:
print('Logged Off at : '+ str(datetime.now))
printstatus1()
continue
printstatus = False
while True:
account = client.get_entity('AboLeLe')
time.sleep(2)
if not isinstance(account.status, UserStatusOffline):
status = 1
else :
status = 0
if status and not printstatus:
print('Logged On at : '+ str(datetime.now))
printstatus = True
if not status and not printstatus:
print('Logged Off at : '+ str(datetime.now))
printstatus = True
<built-in method now of type object at 0x7f305be01060>
In [6]: datetime.now()
Out[6]: datetime.datetime(2020, 10, 13, 21, 12, 48, 71198)
can only concatenate str (not "datetime.datetime") to str
str(datetime.now())
print(f'Logged Off at : {datetime.now()}')
In [3]: from datetime import datetime
In [4]: datetime.now()
Out[4]: datetime.datetime(2020, 10, 13, 21, 12, 40, 703113)
In [15]: print(f'Logged Off at : {str(datetime.now())[:19]}')
Logged Off at : 2020-10-13 21:16:46
printed_online_status = False
printed_offline_status = False
while True:
account = client.get_entity('AboLeLe')
time.sleep(2)
if not isinstance(account.status, UserStatusOffline):
status = 1
else :
status = 0
if status and not printed_online_status:
print('Logged On at : '+ str(datetime.now))
printed_online_status = True
printed_offline_status = False
if not status and not printed_offline_status :
print('Logged Off at : '+ str(datetime.now))
printed_online_status = False
printed_offline_status = True
@pastel lance right now your code won't work for users going online/offline a lot - this version will
```
!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.
!code-block
Discord has support for Markdown, which allows you to post code with full syntax highlighting. Please use these whenever you paste code, as this helps improve the legibility and makes it easier for us to help you.
To do this, use the following method:
```python
print('Hello world!')
```
Note:
• These are backticks, not quotes. Backticks can usually be found on the tilde key.
• You can also use py as the language instead of python
• The language must be on the first line next to the backticks with no space between them
This will result in the following:
print('Hello world!')
```python
def printstatus1():
global printstatus
printstatus = not prinstatus
if not isinstance(account.status, UserStatusOffline):
status = 1
else:
status = 0```
if isinstance(account.status, UserStatusOffline):
status = False
else:
status = True
if status == 1:
if printstatus == 0:```
if status == 1 and printstatus == 1:
if status == 1 and printstatus == 0:
print(f'Logged Off at : {datetime.now()}')
printstatus1()
continue
elif status == 0 and printstatus == 0:
print(f'Logged Off at : {datetime.now()}')
printstatus1()
continue
False False = False
False True = False
True False = False
True True = True```
api-version: 1.16
xtmp = []
i = len(xlst)
y = 0
while y < i:
if xlst[y] != x:
xtmp.append(y)
y += 1
else:
y += 1
return xtmp
when x = 1 and xlst = [1,1,2,1,2]
why does it give [2,4]
for i, elem in enumerate(xlst):
git pull -X theirs
[[for j in range(5)] for i in range(25)]
@quasi condor
git merge devel -X theirs
oh
If that doesn't work I'd suggest re explaining to Hemlock because he's gonna be better at this than me
with theirs being the full git path of the repo, I presume
git remote -v
origin git@github.com:PH-KDX/flightplandb-python (fetch)
origin git@github.com:PH-KDX/flightplandb-python (push)
My git knowledge is not near good enough to solve this I'm afraid
rip
oh well
frick
discord voice decided to die
same error as OpalMist had this morning
works again
git remote add whatever https://github.com/user/repo.git
git pull new -X theirs (possibly with a --force)
Small chance that fixes your issue
From git://github.com/adarshmelethil/flightplandb-python
* branch devel -> FETCH_HEAD
CONFLICT (modify/delete): flightplandb.py deleted in e903c2026b1d95e579b8831354eed144ecc726bc and modified in HEAD. Version HEAD of flightplandb.py left in tree.
Automatic merge failed; fix conflicts and then commit the result.
@tiny seal
mkdir /a-new-directory-please-dear-god-work
cd /a-new-directory-please-dear-god-work
git clone your-git-repo-url
everything now works
Linux be like
Seriously, WTF? I made the mistake of doing multiple merges
back-to-back with the intention of not doing a full allmodconfig build
in between them, and now I have to undo them all because this pull
request was full of unbelievable shit.And why the hell was this marked for stable even IF it hadn't been
complete and utter tripe? It even has a comment in the commit message
about how this probably doesn't matter. So it's doubly crap: it's
wrong, and it didn't actually fix anything to begin with.There aren't enough swear-words in the English language, so now I'll
have to call you perkeleen vittupää just to express my disgust and
frustration with this crap.
no wonder git is so annoying to use
Linus is simply attempting to let us share his frustration.
easy to build arduino controlled automatic recharge catapult
it uses 3 servos to control tension, angle and trigger.
Tension and angle are controlled but two potentiometers.
and the trigger is controlled by a push of a button which also resets automatically!
all powered by Arduino and a custom shield.
find out more here:
http://www.hap...
4 votes and 4 comments so far on Reddit
I’ve used git and SVN. They both have their warts
Building good source management tools are hard
Audible Free Book: http://www.audible.com/computerphile
Recursion; like something from the film "Inception". Even Professor Brailsford says it can be hard to get your head around - watch him make it much easier to understand...
EXTRA BITS: http://youtu.be/0pncNKHj-Sc
Openin...
hi
Chain rule is fun
chain rule sucks
no
I <3 chain rule
.wa d/dx sqrt((3x)/(2x-3))
pog
lol
just checking my work
i don't need the work ¯_(ツ)_/¯
oof
!server
Server information
Created: 3 years, 9 months and 5 days ago
Voice region: europe
Features: INVITE_SPLASH, MEMBER_VERIFICATION_GATE_ENABLED, PARTNERED, DISCOVERABLE, WELCOME_SCREEN_ENABLED, PREVIEW_ENABLED, VANITY_URL, BANNER, COMMUNITY, VIP_REGIONS, RELAY_ENABLED, NEWS, ANIMATED_ICON
Channel counts
Category channels: 35
News channels: 8
Text channels: 196
Voice channels: 78
Staff channels: 62
Member counts
Members: 96,910
Staff members: 79
Roles: 126
Member statuses
22,454
74,455
🤔
@quasi condor @amber raptor You should mute Slither code (on your side) instead of getting "pisted off"
It's not really me that's getting annoyed
@quasi condor I mostly joined so I could understand the context of the above image... what is the context for that?
That's just an overview of the entire field of reinforcement learning
Reinforcement learning (RL) is an area of machine learning concerned with how software agents ought to take actions in an environment in order to maximize the notion of cumulative reward. Reinforcement learning is one of three basic machine learning paradigms, alongside superv...
Got it directly from wikipedia
POGG CHAMP
@hidden cove sorry gtg. have skype meeting. brb
ok
I'm missing some pedals on there
from telethon.tl.types import UserStatusRecently ,UserStatusOnline, UserStatusOffline, ContactStatus
from telethon.sync import TelegramClient
from datetime import datetime
import time
### Client Side ###
phone = "+"
api_id =
api_hash = ""
client = TelegramClient(phone, api_id, api_hash)
client.connect()
if not client.is_user_authorized():
client.send_code_request(phone)
client.sign_in(phone, input('Enter the code: '))
else:
print("Logging Complete")
def printstatus1():
global printstatus
printstatus = not printstatus
printstatus = False
while True:
account = client.get_entity('AboLeLe')
time.sleep(8)
if isinstance(account.status, UserStatusOffline):
status = False
else :
status = True
if status == 1 and printstatus == 0:
print(f'Logged Off at : {datetime.now()}')
printstatus1()
continue
elif status == 0 and printstatus == 0:
print(f'Logged Off at : {datetime.now()}')
printstatus1()
continue
@pliant atlas
while True:
user_data = data[id]
if(not user_data['is_running'] or len(contacts) < 1):
break;
print(f'running {id}: {counter}')
counter+=1
for contact in contacts:
print(contact)
account = await client.get_entity(contact.id)
if isinstance(account.status, UserStatusOffline):
if contact.online != False:
contact.online = False
await event.respond(f'{utc2localtime(account.status.was_online).strftime(DATETIME_FORMAT)}: {contact.name} went offline.')
elif contact.last_offline != account.status.was_online:
if contact.last_offline is not None:
await event.respond(f'{utc2localtime(account.status.was_online).strftime(DATETIME_FORMAT)}: {contact.name} went offline after being online for short time.')
else:
await event.respond(f'{utc2localtime(account.status.was_online).strftime(DATETIME_FORMAT)}: {contact.name} went offline.')
contact.last_offline = account.status.was_online
elif isinstance(account.status, UserStatusOnline):
if contact.online != True:
contact.online = True
await event.respond(f'{datetime.now().strftime(DATETIME_FORMAT)}: {contact.name} went online.')
else:
if contact.online != False:
contact.online = False
await event.respond(f'{datetime.now().strftime(DATETIME_FORMAT)}: {contact.name} went offline.')
contact.last_offline = None
delay = 3
if('delay' in user_data):
delay = user_data['delay']
sleep(delay)
await event.respond(f'Spy gonna zzzzzz...')
customer = customerFactory.get_something('my thing')
customer.buy()
Icustomer class
buy()
femaleCustomer
maleCustomer
class customer:
def __init__(self):
In this beginner object oriented programming tutorial I will be covering everything you need to know about classes, objects and OOP in python. This tutorial is designed for beginner python programmers and will give you a strong foundation in object oriented principles.
◾◾◾◾◾
...
גבעתי
yeah bro ofc
!resources
The Resources page on our website contains a list of hand-selected learning resources that we regularly recommend to both beginners and experts.
library.pdf From the downloadable documentation zip from python.org.
sentdex
Corey Schafer
@whole bear
!code
Discord has support for Markdown, which allows you to post code with full syntax highlighting. Please use these whenever you paste code, as this helps improve the legibility and makes it easier for us to help you.
To do this, use the following method:
```python
print('Hello world!')
```
Note:
• These are backticks, not quotes. Backticks can usually be found on the tilde key.
• You can also use py as the language instead of python
• The language must be on the first line next to the backticks with no space between them
This will result in the following:
print('Hello world!')
`
` on the ~
data = [1, 2, 3, 4,5,6,7,8,9]
filters = [data[:5] for i in range(25)]
predict the output
get the first 5 element from the list
it would make nested list of like 2 rather than 25
The Resources page on our website contains a list of hand-selected learning resources that we regularly recommend to both beginners and experts.
please send me the python program to create pascal's triangle
import math
# pascals_tri_formula = [] # don't collect in a global variable.
def combination(n, r): # correct calculation of combinations, n choose k
return int((math.factorial(n)) / ((math.factorial(r)) * math.factorial(n - r)))
def for_test(x, y): # don't see where this is being used...
for y in range(x):
return combination(x, y)
def pascals_triangle(rows):
result = [] # need something to collect our results in
# count = 0 # avoidable! better to use a for loop,
# while count <= rows: # can avoid initializing and incrementing
for count in range(rows): # start at 0, up to but not including rows number.
# this is really where you went wrong:
row = [] # need a row element to collect the row in
for element in range(count + 1):
# putting this in a list doesn't do anything.
# [pascals_tri_formula.append(combination(count, element))]
row.append(combination(count, element))
result.append(row)
# count += 1 # avoidable
return result
# now we can print a result:
for row in pascals_triangle(3):
print(row)
please send me the python program to create pascal's triangle
@whole bear ^
I would recommend this
[[1,2,3,4,5] , [1,2,3,4,5],[1,2,3,4,5]...(25 lists of [1,2,3,4,5])]
!user
You are not allowed to use that command here. Please use the #bot-commands channel instead.
Python art https://imgur.com/gallery/OJaqKvR
Watch salmon battle through traffic on their way upstream to spawn. 11/14/2016 Part 2
Jukin Media Verified (Original)
- For licensing / permission to use: Contact - licensing(at)jukinmediadotcom
Frederick Douglass and Thomas Jefferson collide in this episode of Epic Rap Battles Of History. Who won? You Decide!
Want to help ERB? Support us here: http://patreon.com/erb
Download this song ► http://hyperurl.co/DouglassJefferson ◄
If you are interested in joining our ne...
wait wut
no barbers but rapping
oh wait was my mic on, glad i didnt say anything

🤔
wait is that a face? i thought it as a mushroom
look at this
neofetch + lolcat == epic
hemlock how are you listening to songs while listening to voice chat?
he can do anything
true True
The music gets quieter whenever someone talks
wow
It's an option in Discord
Really helpful
yep
Although it's a bit... jarring
yeah lol,
hehe
"...at x university, but that's neither here nor there."
Well, presumably it's at least there.
it's in an alternate universe
You are not allowed to use that command here. Please use the #bot-commands channel instead.
come on harvey, let's go party
>>> def double_inputs():
... while True:
... x = yield
... yield x * 2
...
>>> gen = double_inputs()
>>> next(gen) # run up to the first yield
>>> gen.send(10) # goes into 'x' variable
20
>>> next(gen) # run up to the next yield
>>> gen.send(6) # goes into 'x' again
12
>>> next(gen) # run up to the next yield
>>> gen.send(94.3) # goes into 'x' again
188.5999999999999
def interval(lower_limit, upper_limit):
lower_limit += 1
while lower_limit < upper_limit:
"""
Yield intercepte une valeur qui est envoyée avec send() lors de l'itération
du générateur. On peut donc influencer la boucle pour redéfinir, à la volée
le comportement de celle-ci
"""
received_value = (yield lower_limit)
if received_value is not None: # Notre générateur a reçu quelque chose
lower_limit = received_value
lower_limit += 1
"""
On appelle la méthode send() pour influencer le déroulement
de l'itération sans devoir attendre que celle-ci ait fini
sa progression.
"""
generator = interval(10, 25)
for number in generator:
if number == 15: # On passe directement à vingt
generator.send(20)
"""
Le paramètre end=" " remplace le passage à la ligne
par un espace, afin que l'ensemble des valeurs soient
afficher sur une seule ligne
"""
print(number, end=" ")
I don't understand this syntax (yield lower_limit) and why we use the lower_limit parameter instead of another name for the parameter
The name lower_limit isn't a key thing. It's just whatever variable name you need
yield help u to pause and receive
you could also call it a or b or whatever
lower_limit is a better name tho
makes it easy to follow
There are a lots of engineer
https://www.youtube.com/watch?v=rp8hvyjZWHs
Trust me, i'm an engineer !
There are many parodys to this song now, this is a nice one in TF2 style !
https://www.youtube.com/watch?v=mnJiAF9jsFw
come and visit my book of faces !
http://www.facebook.com/vilkaz.zebigwan
or birdy site
https://twitter.com/#!/Vilkaz
you can d...
yesterday i watched equaliser
I need your thoughts on this,
x = dict(name="example") VS x = {"name": "example"}
Which method is prefered and why and why not the other method
I feel, the {} is easier to read, but I have seen dict() being used in a few places, hence the question
Thanks people for help 😄
evening
Bon Anniversaire Aeden
@frigid panther I prefer the latter, it's like 0.5s faster for me to recognize what's happening
gotcha
Just one thing people : why parentheses around (yield lower_limit)?
I prefer the former, but it's more limiting because you can't add either non-string keys, or keys that are one variable
I know that it's necessary around a list comprehension, to make it a generator, but in this case, I didn't get it.
key_we_want = "we want this as a key"
x = dict(name="example") # Can't add key_we_want here
x = {"name": "example"} # Can add key_we_want here
Ooh
In [12]: def interval(lower_limit, upper_limit):
...: lower_limit += 1
...: while lower_limit < upper_limit:
...: """
...: Yield intercepte une valeur qui est envoyée avec send() lors de l'itération
...: du générateur. On peut donc influencer la boucle pour redéfinir, à la volée
...: le comportement de celle-ci
...: """
...: received_value = yield lower_limit # Don't need braces around here
...: if received_value is not None:
...: lower_limit = received_value
...: lower_limit += 1
...:
In [13]:
(2 + 5) * 2 vs 2 + 5 * 2
does python not honor math rules?
