#voice-chat-text-0
1 messages · Page 916 of 1
Play Chinese Mahjong🀄 together with friends online. Practice against bots or compete with others. Invite friends and start playing now for free!
I'm converting my tests from unittests to pytest
ok
Hi
gg
I don't have a mic on this computer
@scenic wind try turning on push to talk
@scenic wind I am gay
but I also don't have a mic
lol
@scenic wind you can tell us via @rapid crown if you object to another user's behavior.
@gentle flint @scenic wind I can't figure out what all was said after the fact, but let's drop this "spank me daddy" discussion.
Girl, how do you expect to take to the stage without a microphone?
looks speak louder than words
just watch his pfp
@scenic wind when did I silence you?
All the sequins in the world don't make up for that if they can't hear you.
that was the stupidest comeback I've ever heard.
Anyway I'm leaving now. Please behave.
leave the voice chat if you don't want to behave.
i never said i wasn't
i said i make no promises
😉
@dire folio how do i pronounce your name?
It's like "Eiffel" but with a V instead of an F.
Are you just going to hit up random admins and ask about their names? if so I'll provide you with a phonetic transcription of each
thankyou 😉
dɜnəs
eɪvl
zɪθɹiʌs
zɪg
ahh thanks
There you go. Now you can leave them alone.
@leaden comet how do i pronounce your name?
zɪθɹiʌs
gzɪθɹiʌs, surely
not even going to ask me how I pronounce my name smh
yeah but your name is easy to pronounce
Anyway, please stop pinging random people.
they aren't random
i selected them for a reason
Which is?
!ban 589497499174043800 "1 day" We apparently can't trust you to behave in either the voice or text chats when we aren't looking, so feel free to come back when you're ready.
:incoming_envelope: :ok_hand: applied ban to @scenic wind until <t:1634514809:f> (23 hours and 59 minutes).
leh-ohn sand-eyh
!resources
The Resources page on our website contains a list of hand-selected learning resources that we regularly recommend to both beginners and experts.
thank you
int sum = 0;
for (int i = 1; i < n; i++) {
for (int j = 1; j < i * i; j++) {
if (j % i == 0)
for (int k = 0; k < j; k++)
sum++;
System.out.println()
The answer is: 1 then 'n - 1' to infinite
if n = 3
The answer will be:
1
2
1
2
1
2
...
hhhh your teacher is insane
That's your code in JS:
`var sum = 0;
var n = 10;
for (let i = 1; i < n; i++) {
for (let j = 1; j < i * i; j++) {
if (j % i == 0)
for (let k = 0; k < j; k++) {
sum++;
console.log(sum);
}
}
}console.log(`'sum');
IF n=10
The final rewsult will be from 1 to 870
👋 buddhist
@whole bear is this the keyboard asmr channel?
Hello
!voiceverify
s-te-le-r-kus
morning
time i get to work with kai
i do need help with it though
im just gonna wait to see if anyone will arrive and help me
though ill try do more if i can
?
@umbral frigate call your crush
lol
yes very deep voice
@umbral frigateimma ping u until u call your crush and sing for your crush
(╯°□°)╯︵ ┻━┻
no
just add more testosterone, deepens your voicebox 👍
omg
how did I hear "wooly" earlier >w<
Anyways, it reminded me of this: https://youtu.be/sYdLuc7CwRk
Want more shorts in-between longer videos?
Download the Official Element Animation App!: http://bit.ly/1mhikQe
Our Official Minecraft Server:
server.elementanimation.com
Support us on Patreon! - http://www.patreon.com/elementanimation
Created and voiced by Dan Lloyd
...at 4AM for his new twitter followers but it was so awesome, we had to make i...

that is awesome
The power of Python and a little cheating in GIMP.
I want to lay on that image
Internal Server Error: /returns/
Traceback (most recent call last):
File "C:\Users\Penlo\.virtualenvs\returns_master\lib\site-packages\django\core\handlers\exception.py", line 47, in inner
response = get_response(request)
File "C:\Users\Penlo\.virtualenvs\returns_master\lib\site-packages\django\core\handlers\base.py", line 181, in _get_response
response = wrapped_callback(request, *callback_args, **callback_kwargs)
File "C:\Users\Penlo\PycharmProjects\returns_master\Returns\views.py", line 25, in returns
returns.walmartorder_set.all()
AttributeError: 'QuerySet' object has no attribute 'walmartorder_set'
Love you guys, bye bye
def returns(request):
returns = Return.objects.all()
returns.walmartorder_set.all()
returns_distinct = returns.filter(returnOrderLineNumber=1).order_by('-returnOrderDate') ## Apply filter
myfilter = ReturnsFilter(request.GET, queryset=returns_distinct)
returns_distinct = myfilter.qs
total_returns = returns_distinct.count()
returns_completed = returns_distinct.filter(status='COMPLETED').count()
returns_initiated = returns_distinct.filter(status='INITIATED').count()
context = {'returns': returns_distinct, 'total_returns': total_returns, 'returns_completed': returns_completed,
'returns_initiated': returns_initiated,
'myfilter': myfilter}
return render(request, 'Returns/returns.html', context)
def returns(request):
returns = Return.objects.all() # A QuerySet containing all objects, even if there is just one
returns.walmartorder_set.all() # You are trying to use this on a QuerySet object
class Return(models.Model):
poipoln = models.CharField(max_length=100, null=False, primary_key=True)
returnOrderId = models.BigIntegerField(null=False)
customerEmailId = models.CharField(max_length=100, null=False)
customer_firstname = models.CharField(max_length=50, null=False)
customer_lastname = models.CharField(max_length=50, null=False)
customerOrderId = models.BigIntegerField(null=False)
returnOrderDate = models.DateTimeField(null=True)
returnByDate = models.DateTimeField(null=True)
refundMode = models.CharField(max_length=50, null=True)
class WalmartOrder(models.Model):
poid = models.ForeignKey(Return, null=False, on_delete=models.CASCADE, primary_key=True, default=1)
SamsClubOrderId = models.BigIntegerField(null=True)
.
def returns(request):
all_walmartorder_set = []
for return_obj in Return.objects.all(): # Iterate through every Return Object
all_walmartorder_set.append(*return_obj.all())
returns_distinct = returns.filter(returnOrderLineNumber=1).order_by('-returnOrderDate') ## Apply filter
myfilter = ReturnsFilter(request.GET, queryset=returns_distinct)
returns_distinct = myfilter.qs
total_returns = returns_distinct.count()
returns_completed = returns_distinct.filter(status='COMPLETED').count()
returns_initiated = returns_distinct.filter(status='INITIATED').count()
context = {'returns': returns_distinct, 'total_returns': total_returns, 'returns_completed': returns_completed,
'returns_initiated': returns_initiated,
'myfilter': myfilter}
return render(request, 'Returns/returns.html', context)
SELECT Returns_return.*, Returns_walmartorder.SamsClubOrderId
FROM Returns_return
JOIN Returns_walmartorder
ON Returns_return.poipoln = Returns_walmartorder.poid_id
roughly how it should look in SQL
.
helooo
someone needs to teach me how to do those colors
its the only formatting thing on discord i dont know 😦
@dense ibexhttps://www.pythondiscord.com/events/code-jams/8/frameworks/
We're a large, friendly community focused around the Python programming language. Our community is open to those who wish to learn the language, as well as those looking to help others.
I am a mathematician looking to learn code sometime in the near future
!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.
This?
@tall badger . Wake Up.
i believe i have found a new type of prime number sieve and want to test it but i cant write numpy
i have the algorithm all written out i just need help implementing it
also
i love how every fucking programmer has a list of languages they shit on on a regular basis
i've made 2 c extensions for python and 1 go extension for python
i'm basically an expert
jk
time = timeit.timeit("sort(seq)", setup = "from __main__ import sort, seq", number = 1)
@dense ibex
F
yeah?
alright
can i have some help with somethin?
have you read my messages?
jesus christ how did this happen
alec warned you
You can use the help-channel system, see #❓|how-to-get-help
@dense ibex run this code: ```python
import asyncio
async def main():
count = 0
while True:
asyncio.create_task(asyncio.sleep(float('inf')))
count += 1
if count % 1000 == 0:
print(count)
asyncio.run(main())
!voice
Voice verification
Can’t talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
@thin dawn
thanxx
dude
ya i did
@wind raptori said u
thnx
mm's there
mom
doing hw u knoww
hey hey : D
See here if you are wondering why you cannot use voice.
hi guys
!=voice
Voice verification
Can’t talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
!!voice
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!voice
Voice verification
Can’t talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
so I'm new to coding I get demotivated when I just want to start do you have any tips?
kinda
you were close
let me google it XD
yeahhh
thnx
so its how; I just google it :So-roosh The R is pronounced the way it is in Spanish. Make sure your tongue taps the roof of you mouth near the alveolar ridge, but don't make your R sound really strong like in the Scottish accent (and don't making a rolling R sound).
@primal yacht how can i start a vm with a mobile phone remotely?
ok yeah but as a mod myself even i think that these restrictions are too long
the 3 day one is most frustrating
its honestly not alot considering ppl mostly join at start or just to learn more about python which can both be done in normal / help / topical text channelws
make sence
i have android
i dont wanna access it i just wanna boot it other stuff is automated
shud i make a discord bot to boot it
and keep it running on my pc
cuz it wont take much memory
hey
what if
i make overdrive file and change its values to true and false
from phone
hmmmm
yeah
my bad
onedrive
this is best we got ig
thx
oops
i am super new
am sorry
remember it word by word?
(lol)
how much exp do you have?
experience
(bruhhh why bully me)
i am just kidding
i will leave
thx for help btw
In my language we put 😂 emoji to say its a joke
i don't use emojis
how angary crying ?😂
:)
how did you do that?
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.
you're not in the VC anymore
import time, os
Menu ={
"Hot Brew": 4.25,
"Latte": 4.75,
"Mocha": 4.99,
"Cold Brew": 3.95,
"Cappuccino": 4.89,
"Donut": 1.50,
}
OptionMenu='''
***SCC Coffee Shop***
---------------------
Options:
1. Menu
2. Order Item
3. See Total
4. Checkout
5. Cancel Order
'''
def AddItem():
selection = input('item')
itemprice = int(Menu[selection])
return itemprice
def PrintMenu():
for Item, Price in Menu.items():
Price = '${:,.2f}'.format(Price)
print(Item,Price)
def RepeatOrder():
print('a')
def CheckOut():
print('b')
def CancelOrder():
print('c')
while True:
customerName= input('Name')
print(OptionMenu)
while True:
option=input('Option')
if option == '1':
PrintMenu()
elif option =='2':
AddItem()
elif option== '3':
RepeatOrder()
elif option== '4':
break
else:
CancelOrder()
time.sleep(3)
print('Goodbye!')
# Pauses Program
time.sleep(10)```
u miss me? (😂 )
guys I have to go bye 👋 👋 👋
ping me if you want me back ....
@terse needle completed the tetris?
still working on it
this is how you'd do it without poetry or pipenv
py -m venv .venv windows
python3 -m venv .venv mac / linux (debian based distros need python3-venv installed using apt)
py -3.1
^ type this
Wtf is that?
Hello all
She sells C shells by the C shore.
Wir bauen einen nagelneuen Amiga 500+!
Von der blanken Platine bis zum funktionierenden Rechner, das ist unser Ziel - bei 344 Bauteilen keine Kleinigkeit. Wir zeigen Euch, wie man seinen eigenen Amiga bauen kann und geben dabei Tipps und Hinweise.
Aber denkt daran: NACHBASTELN AUF EIGENE GEFAHR! Im Zweifelsfall bitte einen Fachmann zu Rate ziehe...
Find out more here - https://retrogames.biz/thea500-mini
Regular Crazy Videos - Games, family fun and laughs.
With Dad, EliteColeyBoy, Millie Monster & Cheeky Cade
We love Xbox, PlayStation, Nintendo, Retro, PC & Mobile Gaming!
Crazy Burger enjoy days out to trampoline parks and Soft Play.
We also love Florida, Disney World & Universal!
We...
Es ist ja schon verrückt, was man alles im Internet findet und für günstiges Geld bestellen kann. So fand Wolfgang Rudolph für knapp drei Euro ein Interface zur Fahrzeugdiagnose, das via Bluetooth die entsprechenden Daten über die OBD2 bzw. ODB II Schnittstelle im Auto an ein Android-Gerät übermittelt. Mit der passenden App läßt sich das geheime...
One day, during a long road trip without any music, I decided I had enough of silent driving. Then, I embarked in a quest to put music in my car. A quest, that was quickly sidetracked by a flurry of ideas... Meet my new carpc!
By popular demand, a version of this video with lower background music: https://youtu.be/BHgvsuFUqlw
Have fun,
Kradion...
i'mma sleep now goodnight
k gnight
tha work foine
import googlesearch
import sockety
import re
# constants
site_list = list()
number_list = list()
topics = ('jo cox news', 'Sir David Amess news')
# loop through topics and search google for them, return list with a
# hundred results
for topic in topics:
site_list = googlesearch.search(topic, num_results=100)
for site in site_list:
site_data = sockety.access_site_data(site, site)
line_list = site_data.splitlines()
for lines in line_list:
num = re.findall('(terrorist)', lines)
if len(num) < 1:
continue
number_list.extend(num)
that smells good and tasty
there are lot
@zenith radish do checkout extremely north india
jammu and kashmir
checkout jammu
where i live in
hari singh palace
lonar lake?
munnar smh
its formed due to meteor
Meteorite*
Google : Lonar Lake, also known as Lonar crater, is a notified National Geo-heritage Monument, saline, soda lake, located at Lonar in Buldhana district, Maharashtra, India. Lonar Lake was created by a meteorite collision impact during the Pleistocene Epoch
imagine wasting time typing that
bro
what
lonar is real
which conf are u talking about @woeful salmon
hello
how are u doing
The first generation Mustang defined the Muscle Car and started a revolution. eGT-Systems revolutionize the Mustang with tire shredding torque and the efficiency and reliability of a modern EV. There are Ford V8 swaps that can deliver good performance, but few that can match the smile inducing performance of EV power. NOTHING can keep up with th...
@woeful salmon REFRESH?
CUwUDA
👀 i'm bored so i'm gonna make a todolist application with ts and express cuz why not
got nothing to do anyway
what about the emoji messaging system?
that i've postponed for now
just cuz if i complete that i'm gonna put it on the app store
and if i put it on the app store then i'm gonna have to spend time bug fixing and maintaining it for a while
and i just can't do that rn
UwUberEats
Breakfast: The moist, important meal of the day.
i made a float to emoji converter
Meat
its what a sasage dog looks like
That's pretty cool, actually
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.
Broccoli.
shhhh
they dont need to know im bad at spelling (its bad for my job references) (i have none)
lol
disadvantages of office working
I can't go in vc
i wonder in the future if i will be able to talk once again
Hemlock, glazier.
In computing, a virtual desktop is a term used with respect to user interfaces, usually within the WIMP paradigm, to describe ways in which the virtual space of a computer's desktop environment is expanded beyond the physical limits of the screen's display area through the use of software. This compensates limits of the desktop area and is helpf...
!stream 128610011810234368
✅ @ashen oar can now stream until <t:1634569195:f>.
🩳
WASHIINGTON (AP) — Colin Powell, who served Democratic and Republican presidents in war and peace but whose sterling reputation was forever stained when he went before the U.N. and made faulty claims to justify the U.S. war in Iraq, has died of COVID-19 complications. He was 84. In 1989 Powell became the first Black chairman of the Joint Chiefs ...
Oh holy shit
root:admin?
@stiff hawk It's given out on a discretionary, as needed basis.
Oh.
!pypi pype
Heh.
Firefox is acting up
Decaf backwards is "faced". Which is almost "faked".
HA
renaissance mug ? wtf is that
@rugged root I'm planning to write a small language to practice type checking
But otherwise, I'm busy with college
By small I mean actually tiny
Like, a None type, ints, booleans, and functions
It’s a beautiful afternoon at Tesla GigaTexas, home of @Tesla’s HQ! Here’s a drive-by view of the amazing factory taken just a few minutes ago! @elonmusk @omead https://t.co/A5n2grkxEz
123
1672
does anyone know anything about apache on windows?
👋
What about it?
xampp
Here's the link for XAMPP from that page
https://www.apachefriends.org/index.html
im making a simple website where theres a html login system and i want to use php to transfer the uname and psw to a data base
so does apache come pre configured?

so @zenith radish do i have to mess around with the apache to do that?
like after i install it
nice thankyou
HEIC
High Efficiency Image File Format
@rugged root, have you tried this?
https://www.microsoft.com/en-us/p/heif-image-extensions/9pmmsr1cgpwg
@zenith radish
when i started mysql
it asked me whether i want it to be allowed on public network servers
and private servers
and i accidently didnt check private network box
how do i go back and check it
@rugged root can you ask LP please
oh
@sweet lodge I think I used that one previously and it didn't quite work. I feel like I had to get this one instead: https://www.microsoft.com/store/productId/9PLK42WD0RC0
But I may be looking at the wrong one
Maybe. I've never needed it.
Was just suggesting it in case it helped
brb
my dream job is where i have 12 and each one gives me a month break @gentle flint
then in each break you are doing 11 others
no because i tell them im on break cause of my other job
but i still want pay from the job im on break for
therefore i get paid without doing anything @gentle flint
yeah then im on break for my second job
and i get paid for that second job
then the third month im on break for my third job
and i get paid for the third job
etc...
lmao
what you mean is that you have 12 jobs and each have 11 months break
nope
12 jobs that each have a 1 month break
each
but not on break for any of the others
whats 12*1????
yeah but i ring up the owner of the other companies and say im on break from my other job
I was just reminded of
Guys, what do you recomend for learn the syntaxis of python, i mean, to familarize with the language, im coming from using C++
Oh, yes
that
@zenith radish do i have to code the php through the xampp or can i code the php in vs code????
even the sql?
nahh im fine lol
learn as i go
thats part of my html
i learnt how to do all that in half an hour
We're a large, friendly community focused around the Python programming language. Our community is open to those who wish to learn the language, as well as those looking to help others.
@zenith radish can you look at the hastebin code i sent can you please just briefly show me the php code ill need to do to get the username and password input in the html and send it to the xampp mysql database?
if its not too much
@gentle flint can you ask LP to check the comment i put above
oh ok its fine sorry
A Brainfuck interpreter written by Brainfuck. Contribute to SuperSodaSea/BfBf development by creating an account on GitHub.
<t:0>
yeah you're right
The examples in this page import
Literalas well asFinalandTypedDictfrom thetypingmodule. These types were added totypingin Python 3.8, but are also available for use in Python 2.7 and 3.4 - 3.7 via thetyping_extensionspackage.
@primal yacht Not really, it just contains backports
urgh, I should learn pattern guards in Idris
A bunch of pattern matching
@molten pewter As an example, this is the classic "Hello World" program:
>++++++++[<+++++++++>-]<.>++++[<+++++++>-]<+.+++++++..+++.>>++++++[<+++++++>-]<+
+.------------.>++++++[<+++++++++>-]<+.<.+++.------.--------.>>>++++[<++++++++>-
]<+.
Brainfuck is an esoteric programming language created in 1993 by Urban Müller.Notable for its extreme minimalism, the language consists of only eight simple commands, a data pointer and an instruction pointer. While it is fully Turing complete, it is not intended for practical use, but to challenge and amuse programmers. Brainfuck simply require...
Any language made in the 60s is pure sorcery
JSFuck is an esoteric subset of JavaScript, where code is written using only six characters: [, ], (, ), !, and +. The name is derived from Brainfuck, an esoteric programming language that also uses a minimalistic alphabet of only punctuation. Unlike Brainfuck, which requires its own compiler or interpreter, JSFuck is valid JavaScript code, mea...
I love how Idris colorizes the names
Blue is syntax
Red is data constructors
Green is regular terms
<t:8640000000000> / <t:-8640000000000>
8640000000000
8,640,000,000,000
# foo.py
def foo():return 200
# main.py
import foo
print(foo.foo()) # prints out: 200
question:
let's say I have a module, with many commands, which are grouped in classes
class someStuff:
def command_one():
pass
def command_two():
pass
class someMoreStuff:
def command_foo():
pass
def command_bar():
pass
With lots of commands per class this is gonna be very long. However, if I put each class in a separate file, I have double namespacing, like mymodule.mysubmodule.someStuff.command_one() where I could, for access purposes, just use mymodule.someStuff.command_one() or mymodule.mysubmodule.command_one() because there is only one class per submodule anyway.
I also would like my Sphinx autodoc to work properly and reflect the preferred way of accessing each function.
What should I do in such a situation?
x = mymodule.mysubmodule
y = mymodule.mysubmodule.someStuff
class API(FlightPlanDB):
def _header_value(self, header_key: str, key: Optional[str] = None) -> str:
"""Gets header value for key
Parameters
----------
header_key : str
One of the HTTP header keys
Returns
-------
str
The value corresponding to the passed key
"""
if header_key not in self._header:
self.ping(key=key) # Make at least one request
return self._header[header_key]
Lib/random.py line 792
# ----------------------------------------------------------------------```
@primal yacht a singleton is when a class only has 1 instance regardless of the valaue
x = {}
class A:
def __init__(self, value, /):
pass
def __new__(cls, bln, /):
bln = bool(bln)
if bln in x:
return x[bln] # return existing instance
x[bln] = ins = super().__new__(cls) # whatever
ins._b = bln
return ins
def __eq__(self, x, /):
return x == bool(self)
def __bool__(self, /):
return self._b
def __str__(self, /):
return 'truthy' if bool(self) else 'falsy'
a = A(True)
b = A(True)
print(a == b)
print(a is b)
Meat The Machine from Mainz has been around since 2008. With its eclectic mix of alternative, stoner and psychedelic rock they are, above all, as a live act worth seeing and hearing and impress with t
@dire folio I call upon thine knowledge
It's about that Sphinx thing oof was talking about
Output:
True
True
My first type checker works!
λΠ> infer context term
Just (TinyLamType TinyNatType (TinyLamType TinyNatType TinyNatType),
[("x", TinyNatType), ("y", TinyNatType)])
1/1: Building AST (AST.idr)
λΠ> check context term type
Just [("x", TinyNatType), ("y", TinyNatType)]
Basically if I tell it
term = lambda x: lambda y: 0
and the context is
context = [("x", "nat"), ("y", "nat")]
Dr. Mahadevan explains how South Indian naming differs from North Indian or Western naming
Yes
South Indian Naming, specifically. Likely Tamil.
term basically has the type (nat, nat) -> nat
def decorator(function):
def procedure0():
f = function()
print(f)
return procedure0
@decorator
def create_msg():
msg = input("input :")
return msg
create_msg()
output
~/Python$ /bin/python3 /home/frostysmags/Python/mylibrary/decorator.practice/decorators.py input :test test
def decorator(function):
def procedure0():
f = function()
print(f.msg)
return procedure0
@decorator
def create_msg():
msg = input("input :")
create_msg()
output
~/Python$ /bin/python3 /home/frostysmags/Python/mylibrary/decorator.practice/decorators.py input :test Traceback (most recent call last): File "/home/frostysmags/Python/mylibrary/decorator.practice/decorators.py", line 11, in <module> create_msg() File "/home/frostysmags/Python/mylibrary/decorator.practice/decorators.py", line 4, in procedure0 print(f.msg) AttributeError: 'NoneType' object has no attribute 'msg'
ahaHhHhHhHAHAHAHAHhaHAhaHAhaHAhahA
!stream 770032295595737098
✅ @near island can now stream until <t:1634586633:f>.
!e
import time
def timer(func):
def wrapper(*args, **kwargs):
begin = time.perf_counter()
func()
end = time.perf_counter()
print(f"Function took {end - begin} seconds to run.")
return wrapper
@timer
def wrapped():
time.sleep(3)
wrapped()
@rugged root :white_check_mark: Your eval job has completed with return code 0.
Function took 3.0148985609412193 seconds to run.
!e
def run_again(arg):
def inner(func):
def wrapper(*args, **kwargs):
for _ in range(arg):
func(*args, **kwargs)
return wrapper
return inner
@run_again(3)
def say_hello(name):
print(f"Hello, {name}!")
say_hello("Greg")
@rugged root :white_check_mark: Your eval job has completed with return code 0.
001 | Hello, Greg!
002 | Hello, Greg!
003 | Hello, Greg!
from focusrite import FocusriteMessage, udp_get_client_ip, details_string, id_xml
from time import time
import socket
from evdev import InputDevice, categorize, event_factory, ecodes, InputEvent, KeyEvent
VOLUME_MIN = -128
VOLUME_MAX = 0
VOLUME_STEP = 1
volume = 0
event_factory[ecodes.EV_KEY] = KeyEvent
if __name__ == '__main__':
muted = False
# noinspection DuplicatedCode
client_info = udp_get_client_ip('172.31.0.90')
port = client_info.etree.get('port')
client = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
client.connect(('172.31.0.90', int(port)))
client.send(FocusriteMessage(details_string).msg_bytes)
client.send(FocusriteMessage(id_xml).msg_bytes)
client.send(FocusriteMessage('<device-subscribe devid="1" subscribe="true"/>').msg_bytes)
client.send(FocusriteMessage('<set devid="1"><item id="442" value="S/PDIF"/></set>').msg_bytes)
def adjust_volume(set_volume):
client.send(
FocusriteMessage('<set devid="1">'
f'<item id="35" value="{set_volume}"/>'
'</set>').msg_bytes)
def toggle_mute():
if muted:
client.send(
FocusriteMessage('<set devid="1">'
'<item id="37" value="true"/>'
'</set>').msg_bytes)
else:
client.send(
FocusriteMessage('<set devid="1">'
'<item id="37" value="false"/>'
'</set>').msg_bytes)
last_keep_alive = time()
dev = InputDevice('/dev/input/event0')
while True:
len_msg = client.recv(14)
if len_msg:
msg = client.recv(int(len_msg.decode('utf-8')[7:14], 16))
ev = dev.read_one()
if ev:
cev = categorize(ev)
if isinstance(cev, KeyEvent):
if cev.keystate == cev.key_down and 'KEY_MUTE' in cev.keycode:
print('toggling mute')
toggle_mute()
muted = not muted
if cev.keystate == cev.key_down or cev.keystate == cev.key_hold:
if cev.keycode == 'KEY_VOLUMEDOWN':
if volume > VOLUME_MIN:
volume -= VOLUME_STEP
elif cev.keycode == 'KEY_VOLUMEUP':
if volume < VOLUME_MAX:
volume += VOLUME_STEP
print(volume)
adjust_volume(volume)
if time() - last_keep_alive > 4:
client.send(FocusriteMessage('<keep-alive/>').msg_bytes)
last_keep_alive = time()
Hi my hemlock and verbose i now have made a fully functioning website lesss gooo
@timer
def wrapped():
...
But anyways im going to go now have a good day everyone!
def wrapped():
...
wrapped = timer(wrapped)
One sec, sorry
Double checking my work, don't want to tell you the wrong thing
Okay, so it's like doing 2 re-assignments
say_hello = run_again(3)(say_hello)
# or
intermediate = run_again(3)
say_hello = intermediate(say_hello)
!e
def spam(func):
def wrapper(*args, **kwargs):
print("Entering spam")
func()
print("Leaving spam")
return wrapper
def eggs(func):
def wrapper(*args, **kwargs):
print("Entering eggs")
func()
print("Leaving eggs")
return wrapper
@spam
@eggs
def wrapped():
print("Entering and leaving function")
wrapped()
@rugged root :white_check_mark: Your eval job has completed with return code 0.
001 | Entering spam
002 | Entering eggs
003 | Entering and leaving function
004 | Leaving eggs
005 | Leaving spam
this name has weird associations
https://en.wikipedia.org/wiki/Pernis,_Netherlands
Pernis is a neighborhood and submunicipality (since 3 March 2010) of Rotterdam, Netherlands. The district has a population of 4,845 (2018) on a total area size of 1.60 km² (0.62 sq mi). Pernis is thus a full submunicipality of Rotterdam, but the former independent municipality had its own district council already. Although surrounded by ports, P...
bot/exts/moderation/stream.py line 92
@commands.command(aliases=("streaming",))```
bot/exts/moderation/voice_gate.py line 121
@has_no_roles(Roles.voice_verified)```
def has_no_roles(*roles: t.Union[str, int]) -> t.Callable:
"""
Returns True if the user does not have any of the roles specified.
`roles` are the names or IDs of the disallowed roles.
"""
async def predicate(ctx: Context) -> bool:
try:
await commands.has_any_role(*roles).predicate(ctx)
except commands.MissingAnyRole:
return True
else:
# This error is never shown to users, so don't bother trying to make it too pretty.
roles_ = ", ".join(f"'{item}'" for item in roles)
raise commands.CheckFailure(f"You have at least one of the disallowed roles: {roles_}")
return commands.check(predicate)
Bleh, sorry I butchered all of those explanations. Decorators aren't one of my usual lectures. Going to work on some better examples
!e
name = "Steve"
def verify(func):
def wrapper(*args, **kwargs):
if name != "Greg":
print("Invalid user")
return
else:
print("User verified!")
func()
return wrapper
@verify
def spam():
print("We made it to the function")
spam()
@rugged root :white_check_mark: Your eval job has completed with return code 0.
Invalid user
def example(n : int)
My previous video: When Spreadsheets Attack!
https://www.youtube.com/watch?v=yb2zkxHDfUE
Check out Gemma Arrowsmith (voice and star of Spreadsheets ad) on YouTube: https://www.youtube.com/user/gemmaarrowsmith
Details about her courses and everything else she does here: http://gemmaarrowsmith.com/
Seth's shout-out is at 14:15 here:
https://yout...
this is the issue
but sphinx makes it an issue
https://stackoverflow.com/questions/26867683/one-class-per-file-causes-double-names-in-python
2021/10/01から、クロス新宿ビジョンで放映を開始した『猫ちゃんねる』のうち、毎時00分の回のCG動画です。
『猫ちゃんねる』は、毎時00分、15分、30分、45分に流れる2分半のスペシャルバージョン。
各回少しずつ内容が違います。
実動画は、ぜひ現地でご確認ください!
https://vision.xspace.tokyo/
patreon: http://patreon.com/billwurtz
spotify: https://play.spotify.com/artist/78cT0dM5Ivm722EP2sgfDh
itunes: http://itunes.apple.com/us/artist/bill-wurtz/id1019208137
twitter: http://twitter.com/billwurtz
instagram: http://instagram.com/notbillwurtz
donate: http://paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_but...
Flask is a micro web framework written in Python. It is classified as a microframework because it does not require particular tools or libraries. It has no database abstraction layer, form validation, or any other components where pre-existing third-party libraries provide common functions. However, Flask supports extensions that can add applica...
Learn the Flask Python web framework by building your own e-commerce website with its own authentication system.
💻 Full code: https://github.com/jimdevops19/FlaskSeries
💻 Get code snippets used in the course: http://www.jimshapedcoding.com/courses/Flask Full Series
✏️ Course created by Jim from JimShapedCoding. Check out his channel: https...
[tool.poetry]
name = "repl_python3_Deathstroke-Moderator"
version = "0.1.0"
description = ""
authors = ["Your Name <you@example.com>"]
[tool.poetry.dependencies]
python = "^3.8"
python-dotenv = "^0.18.0"
Flask = "^2.0.1"
discord.py = "^1.7.3"
components = "^1.2.8"
lib = "^3.0.0"
config = "^0.5.1"
utils = "^1.0.1"
discord-components = "^2.1.2"
[tool.poetry.dev-dependencies]
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
!stream @native pollen
✅ @native pollen can now stream until <t:1634593695:f>.
Voice verification
Can’t talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
I have a Ubuntu server running but I don't know how to run a discord bot written in python on it so it runs also while I am not having my pc running?
I don't use ssh 😅
Per putty
9 dont
main answer is good
OK thx
for more details see https://linuxconfig.org/how-to-create-systemd-service-unit-in-linux
In this tutorial we analyze the structure of systemd ".service" units, and examine the most common options which can be used to modify how the service behaves. We see how to set dependencies for a service and how can we specify the commands to be executed when it is started stopped or reloaded. The various type of services and their differences ...
which goes into exhaustive detail
Yeah. I started using the sever 3 days ago
And do you guys know a good MySQL explanation in either very good English or German?
Or a good website?
It doesn't need to be MySQL. Can also be another table management system. I need something like MySQL. Only thought it would be the easiest
SQL
Not yet. But I need to do something with sql and I want to learn how to use it
no, i have a bot, who can store message parts. And per command they read it out. There is a date in the message and a Subject. Its a homework saver and reminder
so i need to store the homework and if there are any pictures i need them to get saved too. And there is a date in the term the user inputs and i want to be able to say that i want all the homeworks which are todo until ...
with which age did you start coding? In general? So also Server Managment?
for your job or because you wanted to learn it?
which ones?
which bots
no
@uncut meteor Would you happen to know the name of the apprenticeship program/Company. I am in the US and know very basic Python, but would like to find a way work in the UK while also improving my code
does anybody know if you can use <> to make seperate websites?(if that makes sense)
not element tags
its for flask ```py
@app.route("/matches/<match_name>/refresh")
@app.route("/matches/<match_name>/refresh")
def function(match_name:str):
...
the problem is that I don't get seperate website for different link*
found a random git command I'd never heard of before
https://git-scm.com/docs/git-send-email
I am not sure how to explain it
yeah
I have different links that are supposed to construct a webpage from ```py
@app.route("/matches/<match_name>/refresh")
async def refresh(match_name):
and then produce it but it seems that it will always end up as the last page constructed for each link, I can't tell if that's because of the construction or the <match_name>
I also have noticed how clicking on a bunch of links really quuick breaks
oh, you know what
I just realized I am puttinbg <match_name> in the redirect instad of f"matches/{match_name}/refresh"
ok, its definitely the constructor
this is going to be a nightmare to implement
well the refresh part is the biggest function in the code
!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.
this would be the refresh part of the code
not sure how I wanna go about doing this
2.5 years
my account got hacked so I gotta wait one more day before voice verification
no
looks poopy
@uncut meteor do you know a way to load a html file and redirect after a certain amount of seconds?
@app.route("/matches/<match_name>/view")
async def match(match_name):
time.sleep(60)
return render_template(
'Current.html', # Template file
#recent = player_recent
current_mode = match_data.mode,
time = time,
match_data = match_data,
players = players_sorted,
teams = teams_sorted
#teamcount = teamcount
)
JAVA SCRIPT
<script>
function reload() {
setTimeout(function(){
console.log("reloading data")
location.reload();
}, 60000);
}
reload()
</script>
I don't know js
my friend helped me with this
<script>
function reload() {
setTimeout(function(){
console.log("reloading data")
location.replace("/matches/{{ match_data.match_name }}");();
}, 60000);
}
reload()
</script>
this should work
<script>
var delayInMilliseconds = 10000;
setTimeout(() => location.replace("/matches/{{ match_data.match_name }}"), delayInMilliseconds);
</script>
hmm
let me try
ok
so
it should work
one thing
can I make queue?
in the progream?
because #1 code gets messed up if player data refreshes over another and #2 api requests
ah poop
it always goes back to the same website
Voice verification
Can’t talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
I don't know how to bypass
!voice
nooooooo
like there are multiple matches but the website only displays 1 of them depending on which one was loaded last no matter the url
@lyric tanglehttps://www.youtube.com/watch?v=ygc-HdZHO5A
hi @fathom grail
wow
how can I do a dicionary
in python
and order them by indexes
sorting certain way tho?
Hello
!voice
Voice verification
Can’t talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
@lethal turret
what that check for dm
gstreamer is always a good time
I can confirm that this is quantifiably false
@zenith radish I'm inclined to disagree, since freedesktop and khronos does a lot with the libraries. Then again, I'm also under the impression most issues can be attributed to buffer rate & cache size. Maybe I really just dislike choppy audio on my pipelines. 😄
if I ever visited PARC, I'd have to drop by khronos 100%
palo alto research center
it was
the new m1 chip brags about 16 gpu cores
...but what about the ALU's? Just my 2 cents
the m1 diagram (when it was reversed engineered) does not include pci support
so you can't use it as an fpga
fuck yesssssss
i am a mathemetician trying to connect pythagorean triples with the primes
and finally
finally
after banging my head against numpy not knowing how anything works
i coded a new type of prime number sieve based on my mathematical results
FUCK YES
Erastothenes?
nope
erastothenes is linear
it goes 2: then crosses out 2k
4 6 8 10
then 3: then crosses out 3k
and then is left with the primes
i do a similar thing
but the sieve isnt finding primes
its finding inputs to the quadratic 2n^2 + 4n + 1
that will BE prime
so it grows at a faster rate
at a quadratic rate
make sence?
I'm not mathy.
basically
egg
chicken
erastothenes if you test numbers up to 10,000 you find primes up to 10,000
my thing you find primes up to
2*10000^2 + 4*10000 +1
you find primes up to 200040001
but you dont find every single prime
yes
only certain ones
potato?
well LP if i could be voice verified this would be easier to explain
so what im saying is
bigger prime numbers
at the same speed as erostathenes
your fucking cat
amazing
its back 🙂
are you guys legit not understand this
cat
Hey guys
Voice verification
Can’t talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
when we here talkin, do you by any chance know how to use scikit-learn python, numpy for analysing data? 😄
yeah
yeah, ML .. but really basic ML
i posted Brocolli Support - help channel
Examples using sklearn.model_selection.train_test_split: Release Highlights for scikit-learn 0.23 Release Highlights for scikit-learn 0.23, Release Highlights for scikit-learn 0.24 Release Highligh...
oh nice
thanks
yeah
So
the task is
from all the columns
predict the Math_Grade
categorical
So ... i did some research and.. i converted into numerical yeaaaah
i used get dummies
pandas method get_dummies
not sure if its right tho
so
after this
Oh
I see
okay okay
thats true
how to condense the "same type" features into one ahaha method for this would be aswesome
like.. all the GENDERS into one
all the RACES into one etc
Guys do you wanna go somwhere where we can talk ? 😄
yeah so
i converted only the categorical
nono
its not entire dataset, but all NOT numerical columns
this is the"categories"
which I converted
df_csv['column'] = column
is it possible for someone to give me voice permission haha ? 😄
nope not really
voice verification 🙄
try:
client.create_test_order(
symbol = symbol,
side = 'BUY',
type = 'MARKET',
timeInForce = 'GTC',
quantity = '10',
price = buyprice,
takePrice = target,
stopPrice = stoploss)
print('intrade')
except:
pass
louie ? @mystic lily
yh
yo
wtf 😄 😄
thats nasty
lottery won
okay guys 😄 it makes me angry, that i cant talk rn
yeah well
i also bought some crypto 😄
yeah 3 fffing days
yeah
i texted you pm
Temporal Anomaly is so good! I love that the author @lime hinge inaugurated "The Marty McFly award for promotion of awareness of time travel dangers" lol! https://youtu.be/nmPQ6ByO6ZY
Playthrough of "Temporal Anomaly", my entry for PyWeek32, September 2021 for the theme "Never-ending".
whats up guys
@rugged root
emotional lift ticket
the common cold beer
blow off a little steam engine
baseball diamond ring
from os import path
path. ...
from os import path is fine
just don't do
from os import *
also i repeat for the millionth time
its not structured english query language anymore thus its SQL not SEQueL
Squeal
I believe you mean squeal
dou-ble-u-S-L
@somber heath you changed your dp
'Tis the season.
Why do we need so many different terms for being mean to people in the first place?
its hard to notice you in the vc now
Why can't we all just get along?
because we are humans
is microagression when china violate Taiwan airspace?
I thought the best way to pick up women is from her center of gravity?
why does china do that? @zenith radish
Llanfairpwllgwyngyllgoger-ychwyndrobwllantysil-iogogogochynygofod
@crystal fox :Our glorious green land!
The green land in question: https://www.youtube.com/watch?v=GVYpM3RTCII
Just a random video of a kid in england mciing in the middle of tesco lol
like and share
tesco mix
mcing in tesco
makina mix
drum and bass
united kingdom
chav mciing
hardy scumbag mciing
rapping in tesco
comment: This is the UK equivalent to the Walmart yodelling kid.
🐴
wiffmon
Brad Bird hit that role out of the park.
ghoti
SUBTITLES ADDED!
The official Klenginem music video - see the lyrics here:
http://www.klenginem.de/e/lyrics10.html
Original Music by Eminem! "Without Me"
Also follow me on Facebook:
http://www.facebook.com/Klenginem
From wikipedia: The Nazi Party,[a] officially the National Socialist German Workers' Party (German: Nationalsozialistische Deutsche Arbeiterpartei[b] or NSDAP)
Nazi, the informal and originally derogatory term for a party member, abbreviates the party's name (Nationalsozialist [natsi̯oˈnaːlzotsi̯aˌlɪst]), and was coined in analogy with Sozi (pronounced [ˈzoːtsiː]), an abbreviation of Sozialdemokrat (member of the rival Social Democratic Party of Germany).
hemlokia
More from wikipedia: Under Comintern directives, the Communists maintained their policy of treating the Social Democrats as the main enemy, calling them "social fascists", thereby splintering opposition to the Nazis.[e] Later, both the Social Democrats and the Communists accused each other of having facilitated Hitler's rise to power by their unwillingness to compromise.
is in`t cool
No
?
srry i didn't listen on time
also been very long since i watched 3 idiots
Lawyery driver.
got it
Huh, lifespan went down with the bike thing
Guess that makes sense. People less able to get to job opportunities and what not
Does banning cars mean you've also banned ambulances?
I keep hearing http drivers.
Honk honk, tcp/ip packets, coming through.
Hemlock shown as muted & deafened in AFK until I just [Ctrl]+[R] on Discord
@deft idol if you want to know why you cannot speak, see the bot message below
Voice verification
Can’t talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
Don't Marry Her - Official Video
Music video by The Beautiful South performing Don't Marry Her. (C) 1996 Go! Discs Ltd.
listen / download Fatboy Slim's: The Greatest Hits: Why Try Harder: https://Fatboyslim.lnk.to/whytryharderYM
follow Fatboy Slim Essentials on Spotify: https://Fatboyslim.lnk.to/essentialsYM
Follow Fatboy Slim:
http://www.youtube.com/fatboyslim
https://www.facebook.com/fatboyslim
https://twitter.com/fatboyslim
https://www.instagram.com/officialf...
► TetraBitGaming MERCH: https://www.tetrabitgaming.com/
► Support me and get extra perks by becoming a member!: https://www.youtube.com/channel/UCT_dB4i0Jz971GVTA-D2Tbg/join
Is it possible to beat Super Mario 64 with DK Bongos? In this challenge video, we will find out just that as we try to get 70 stars and beat Super Mario 64 with some bongo...
Super Mario 64 DS TAS Speedruns Explained ► https://youtu.be/e_HO1M3B5ng
New Merch ► https://crowdmade.com/collections/nathanielbandy
See my Videos Early! ► https://www.youtube.com/channel/UCRwczJ_nk1t9IGHyHfHbXRQ/join
Bathaniel Nandy's Channel ► https://www.youtube.com/channel/UCwlRVT6TQBXsh_uX3GTvaTw
Merch ► https://crowdmade.com/collections/...
Mikey And His Uke presents:
Millencolin - No Cigar
Cover
The soundtracks for the ‘Tony Hawk Pro Skater’ games are always amazing, and the song No Cigar is one of my favourites from those incredible song selections. What an honour to have the Birdman himself, Tony Hawk, singing lead vocals on this one. To make it extra special, we have Nikola S...
http://almostawebsite.com/
http://www.facebook.com/almostskateboards
Rodney's part from the Globe video "Opinion"
Catch a Wave:
https://www.youtube.com/watch?v=X_CBWxmTlRI
Sidewalk Surfin':
https://www.youtube.com/watch?v=4LJ0OBJb8QE
Evening
👋
- w3sp strafes -
A Quake3 Defrag movie made by KOS (Dec 2007) featuring my demos.
Disclaimer:
All runs were performed in cpm and vq3 settings with 125 fps unaltered physics (Standard pmove settings). Some runs were done online, some offline. Everything is also reproducable in the OSP mod without any modification.
PS: This is also a widescreen...
brb
jamming
and trying to decipher whatever this is
It's just hieroglyphs at this point
NO
NO
NO
type theory
I'm way out of my depth for this but I'm pushing through lmao
@rugged root https://www.youtube.com/watch?v=CPD8pxjf2mI
this your kinda theory?
Subscribe to become a Food Theorist! ►► https://bit.ly/2CdCooV
Watch our BRAND NEW episodes! ► https://bit.ly/30HHOk0
Hello Internet! I'm MatPat and welcome to FOOD THEORY, where brain food is always on the menu! Are you ready to debunk food's greatest myths? Does using science to save money at your favorite restaurants sound appetizing to ...
it sure is my kinda theory
If this is too hard, maybe you should start from something easier like category theory.
Bea what's your major again?
I have some background-ish on CT
I know we've talked about it before but my memory is garbage
Looks like a frog just judging
I'm gonna get some hot cocoa
I think Detective Conan was the localization for most countries
I haven't seen it referred to Case Closed
Also I'm pleased to announce we have a cat now
Ginger-ish
I have no idea lol
I mean the parents are expensive that's all I know
Goddammit
Okay for real this time, I'm getting cocoa
I'll brb
Get me some
American actor and comedian Robin Williams (1951–2014) starred in films, television and video games throughout his career.
Williams studied acting at the College of Marin in California and later at the Juilliard School in New York. Williams' first acting role was in the revival of Laugh-In in 1977, before he portrayed Mork in Mork & Mindy from 1...
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<title>Dummy page</title>
<meta name="viewport" content="width=device-width" />
</head>
<body></body>
</html>
Hi I'm back
A logic bomb is a piece of code intentionally inserted into a software system that will set off a malicious function when specified conditions are met. For example, a programmer may hide a piece of code that starts deleting files (such as a salary database trigger), should they ever be terminated from the company.
brb hopping on phone
CPUs dying again for whatever reason
You running anything?
Current [modern] Microsoft Edge uses Chromium like Google Chrome and Brave both do
found this random file
cool
Long story short, the other account I made when I accidentally forgot this account's login ... and after enough time, I decided to use two phones (since no laptop) so I can watch a screen AND type in chat.
Now I can keep one account on my phone and one on my laptop
It takes over 5 seconds to switch between chat & watching a stream
is the shared screen on linux?
... shared screen? what?
on the voice chat 0
do you mean lp's screenshare
yeah
I believe it's macos
really?
LP is using Mac AFAIK
just to command prompt says arch
but I could be wrong
my memory is #fail
btw why ping me in here while I'm not in this VC at this time?
I didn't ping you
... er.... at @gentle flint
oh
idk, you were in vc recently
is it a big problem?
.... idk .... my brain is not working properly atm .... either sunlight or the stress from reading those two messages
Walken...
no
rip
I only found out it wasn't going to work after I ordered it
this one I can't connect a relay to
so I'll try to get a different one with a switch
oh okay
How's your type?
I'll give it some time to sink in
Maybe theory is not your type.
Practical languages are not my type lol
^^
If anything, this should be indicative of that
Which is a LISP
Damn, it's been a year
!resource
The Resources page on our website contains a list of hand-selected learning resources that we regularly recommend to both beginners and experts.
Or that yeah
You can connect peripherals on an iPad right?
Like mouse + keyboard
I've never owned an Apple product
and I'll keep it that way
Get a iPhone SE it’s really cheep and if you don’t like it you can just return it, try it first before judging
I love android but I use iPhone becouse the iPhone suits me more but I still tried both before picking one
u don’t have too do it but I’m just saying try it first before deciding
for(;;);
``````js
while(1);
I like Android better
Not as much as I've used Android
hi
Last I looked at it, it is costly due to branding, and horrible at performance + reliability (read: screen cracking) after falling a short distance compared to some similar-cost Android phones
My only experience with iOS is with my partner's devices
for i in itertools.count(1):
print(i)
for i in itertools.repeat(None):
...
@haughty pier I'd argue that it's a bad benchmark :P
!e Fear me
for _ in (x := [lambda: x.append(None)]):
print("Hello, World")
x[0]()
@swift valley :x: Your eval job has completed with return code 143 (SIGTERM).
001 | Hello, World
002 | Hello, World
003 | Hello, World
004 | Hello, World
005 | Hello, World
006 | Hello, World
007 | Hello, World
008 | Hello, World
009 | Hello, World
010 | Hello, World
011 | Hello, World
... (truncated - too many lines)
Full output: too long to upload
@past hill Or you can use that, instead of google colab. Both are good. You should try both and see which one you like more. It is good familiarize yourself with more than 1 tools when you are learning.
I sure do all of that thanks with the help!!
@gloomy vigil how is it going?
but then again, it won't matter since you're not meant to host discord bots on repl.it
Since I can't sleep I've decided to do some writing
@rugged root I've yet to write it haha
Yes-ish
// Called by: main, countNestedLoopsContainer.
public server static str countNestedLoops(int _numOfLoops)
{
int runningSum = 0, ii, kk;
for (ii = 0; ii < _numOfLoops; ii++)
{
for (kk = 0; kk < _numOfLoops; kk++)
{
runningSum++;
}
}
return "Final sum is: " + int2str(runningSum);
}
Is that a PDF?