#voice-chat-text-0
1 messages Β· Page 810 of 1
bruh
yes
Oh right.
Yeah, I tend to avoid modifying any of the main mappings.
As far as possible, I try to modify vim as little as possible, so I'm not confused when I use vim on another computer π
Erm, want to move down to the other VC?
Ah right. I understand π
Oh yeah.
Erm, recently I gave in and installed CoC
For code completion.
I tried to use a language server, but couldn't figure out how to get it set up properly, so CoC seemed like the easiest option.
part of the new system of relieving mods of their duty for some time(for breaks)
they can remove one of them so they dont get pinged
im pretty sure thats how it works...
Yes, I'm a double-mod π
It's been pretty handy so far.
Particularly real-time static type-checking.
Like for python annotations.
With PyRight.
Although I agree with the "do one thing well" principle.
@stuck furnace can i have le stream role?
I don't even use Vim's window system, or the terminal's splitting system.
Nah, that's too fancy for me π
Erm, why do you need it?
for logisim, its about logic simulation and stuff
This is what my vim looks like currently @unborn storm
wait a sec
Moving down to VC1 π
can anyone suggest good source for C++
Umm this should be offtopic I guess
@viral elm try asking in offtopic channel
!offtopic
Off-topic channels
There are three off-topic channels:
β’ #ot0-psvmβs-eternal-disapproval
β’ #ot1-perplexing-regexing
β’ #ot2-never-nesterβs-nightmare
Their names change randomly every 24 hours, but you can always find them under the OFF-TOPIC/GENERAL category in the channel list.
Please read our off-topic etiquette before participating in conversations.
oo nice i see pls dont do random chat i want genuene ans
Umm π§ confusing??
Erm, the most I've used my mic is saying "pasta" once 6 months ago @whole bear π
Sup
I've got "phone fear" π
What
Telephone phobia (telephonophobia, telephobia, phone phobia) is reluctance or fear of making or taking phone calls, literally, "fear of telephones". It is considered to be a type of social phobia or social anxiety. It may be compared to glossophobia, in that both arise from having to engage with an audience, and the associated fear of being crit...
Ok then.....
Not great for a mod of a discord server, but whatever π
it doesnt allow
numba
length = int(input())
numbers = list(map(int,input().split()))[:length]
count = 0
for i in numbers:
numbers.count(i)
print(numbers.count(i))
if numbers.count(i) == 1:
count += 1
print(count)
Ah, this would be Ξ©(n^2) in the length of the list.
What is the return key? π
Yeah, KIX, that's because numbers.count(i) iterates through the entire length of the list.
And that happens for every number.
.?
So the run-time grows with the square of the size of the list.
Good Morning π
So, if you double the size of the list, you multiply the run-time by four.
good morning jake
Can't listen and think/code
np
Sorry, I didn't catch that. I was distracted.
Yep
Hmm. I think you're on the right track with using a set.
But there's actually a fairly simple solution using a set.
The goal is to count the number of unique items, right?
Converting to a set removes the duplicates.
Ah, right.
That's a slightly different problem from what I thought.
could i have some tkinter help? i don't want to interrupt you guys
Erm, the key thing is to remove the loop within the loop, if you get what I mean.
numbers.count(i) has to look at all the numbers in the list.
So it contains a loop.
Right, the key is to keep track of the number of times you've seen each number as you go.
You could use a dictionary for this.
Yep, exactly.
Yep, that's the benefit of using a dictionary.
The keys can be arbitrary.
Brb, one sec...
from collections import Counter
characters = 'aabc'
alpha = Counter(characters) #dictionary-like count of element:frequency of characters
beta = Counter(alpha.values()).get(1,0) #how many times were those a frequency of 1?```
Good Morning Hemlock!
Nice use of .get!
@rugged root Singer of @2021
And using a counter on a counter's values is neat.
The issue is the asymptotics.
Because the run-time grows with the square of the length of the list.
If an list of size 1000 take 1ms, then a list of size 1,000,000 will take about 1,000,000ms (one thousand seconds).
It was a happy little lightbulb.
I was going to do a sum comprehension with an if.
!e
from collections import Counter
numbers = 77391441
spam = Counter(str(numbers))
total = sum([number == 1 for number in spam.values()])
print(total)
@rugged root :white_check_mark: Your eval job has completed with return code 0.
2
9
1 2 3 4 2 5 1 6 7
@stuck furnace Plus, if we're bringing Counter out of its box, we might as well use it twice, given its suitability to both cases.
Seems a bit rude, otherwise.
!e ```py
values = "1 2 3 4 2 5 1 6 7".split(" ")
small_set = set(values)
res = dict.fromkeys(small_set)
for k in small_set:
res[k] = values.count(k)
print(res)
@paper tendon :white_check_mark: Your eval job has completed with return code 0.
{'5': 1, '2': 2, '7': 1, '3': 1, '6': 1, '1': 2, '4': 1}
!e
values = "1 2 3 4 2 5 1 6 7".split(" ")
small_set = set(values)
res = dict.fromkeys(small_set)
print(res)
@cerulean moth :white_check_mark: Your eval job has completed with return code 0.
{'1': None, '2': None, '7': None, '5': None, '4': None, '6': None, '3': None}
for v in values:
res[v] += 1
Scandalous!
!eval ```py
import random, timeit
def KIXs_code(numbers):
count = 0
for i in numbers:
numbers.count(i)
if numbers.count(i) == 1:
count += 1
return count
num_runs = 2
multiplier = 1
for i in range(6):
problem_size = 10 ** i
average_time = sum(
timeit.timeit(
stmt = "KIXs_code(numbers)",
setup = f"numbers = random.choices(range(1000), k={problem_size})",
number = multiplier,
globals = globals(),
)
for _ in range(num_runs)
) / (num_runs * multiplier)
print(f"{problem_size:>10} {average_time:>10.2} seconds")
@stuck furnace :x: Your eval job timed out or ran out of memory.
001 | 1 1.9e-06 seconds
002 | 10 7.7e-06 seconds
003 | 100 0.00038 seconds
004 | 1000 0.036 seconds
!eval ```py
import random, timeit
from collections import Counter
def Opals_code(numbers):
alpha = Counter(numbers)
return Counter(alpha.values()).get(1,0)
num_runs = 2
multiplier = 1
for i in range(6):
problem_size = 10 ** i
average_time = sum(
timeit.timeit(
stmt = "Opals_code(numbers)",
setup = f"numbers = random.choices(range(1000), k={problem_size})",
number = multiplier,
globals = globals(),
)
for _ in range(num_runs)
) / (num_runs * multiplier)
print(f"{problem_size:>10} {average_time:>10.2} seconds")
@stuck furnace :white_check_mark: Your eval job has completed with return code 0.
001 | 1 3e-05 seconds
002 | 10 1.6e-05 seconds
003 | 100 3.1e-05 seconds
004 | 1000 0.00015 seconds
005 | 10000 0.0012 seconds
006 | 100000 0.011 seconds
Thanks Hemlock π The formatting took the most time to figure out tbh.

Yeah, it's like a whole mini-language π
!e ```py
values = "1 2 3 4 2 5 1 6 7".split(" ")
small_set = set(values)
res = dict.fromkeys(small_set, 0)
for v in values:
res[v] += 1
print(res)
@paper tendon :white_check_mark: Your eval job has completed with return code 0.
{'4': 1, '2': 2, '3': 1, '5': 1, '1': 2, '7': 1, '6': 1}
what? idk wha u mean
Marko, are you sure that's correct?
Erm so:
1is10**010is10**1100is10**2- etc.
@stuck furnace Are you also doing Hemlock's?
lets just not talk about it you makin me feel like stupid
Tkinter is American jelly.
@paper tendon urs didnt work
i fixed it a bit to give me the output that i need
but it didnt wor
work
!eval ```py
import random, timeit
from collections import Counter
def Hemlocks_code(numbers):
spam = Counter(str(numbers))
return sum(number == 1 for number in spam.values())
num_runs = 2
multiplier = 1
for i in range(6):
problem_size = 10 ** i
average_time = sum(
timeit.timeit(
stmt = "Hemlocks_code(numbers)",
setup = f"numbers = random.choices(range(1000), k={problem_size})",
number = multiplier,
globals = globals(),
)
for _ in range(num_runs)
) / (num_runs * multiplier)
print(f"{problem_size:>10} {average_time:>10.2} seconds")
@stuck furnace :white_check_mark: Your eval job has completed with return code 0.
001 | 1 3.5e-05 seconds
002 | 10 2.9e-05 seconds
003 | 100 7.7e-05 seconds
004 | 1000 0.00066 seconds
005 | 10000 0.0073 seconds
006 | 100000 0.063 seconds
Oh really. I didn't know that.
!e ```py
import random, timeit
from collections import Counter
def Opals_code(numbers):
alpha = Counter(numbers)
res = dict.fromkeys(set(numbers), 0)
for v in values:
res[v] += 1
return res
num_runs = 2
multiplier = 1
for i in range(6):
problem_size = 10 ** i
average_time = sum(
timeit.timeit(
stmt = "Opals_code(numbers)",
setup = f"numbers = random.choices(range(1000), k={problem_size})",
number = multiplier,
globals = globals(),
)
for _ in range(num_runs)
) / (num_runs * multiplier)
print(f"{problem_size:>10} {average_time:>10.2} seconds")
@paper tendon :x: Your eval job has completed with return code 1.
001 | Traceback (most recent call last):
002 | File "<string>", line 16, in <module>
003 | File "<string>", line 17, in <genexpr>
004 | File "/usr/local/lib/python3.9/timeit.py", line 233, in timeit
005 | return Timer(stmt, setup, timer, globals).timeit(number)
006 | File "/usr/local/lib/python3.9/timeit.py", line 177, in timeit
007 | timing = self.inner(it, self.timer)
008 | File "<timeit-src>", line 6, in inner
009 | File "<string>", line 7, in Opals_code
010 | NameError: name 'values' is not defined
!eval You might not be able to see the difference, due to random-error ```py
import random, timeit
from collections import Counter
def Hemlocks_code(numbers):
spam = Counter(str(numbers))
return sum([number == 1 for number in spam.values()])
num_runs = 2
multiplier = 1
for i in range(6):
problem_size = 10 ** i
average_time = sum(
timeit.timeit(
stmt = "Hemlocks_code(numbers)",
setup = f"numbers = random.choices(range(1000), k={problem_size})",
number = multiplier,
globals = globals(),
)
for _ in range(num_runs)
) / (num_runs * multiplier)
print(f"{problem_size:>10} {average_time:>10.2} seconds")
@stuck furnace :white_check_mark: Your eval job has completed with return code 0.
001 | 1 3.1e-05 seconds
002 | 10 2e-05 seconds
003 | 100 6.5e-05 seconds
004 | 1000 0.00054 seconds
005 | 10000 0.0063 seconds
006 | 100000 0.064 seconds
from functools import partial
basetwo = partial(int, base=2)
basetwo.__doc__ = 'Convert base 2 string to an int.'
basetwo('10010')
18
!e ```py
import random, timeit
def markos_code(numbers):
res = dict.fromkeys(set(numbers), 0)
for v in set(numbers):
res[v] += 1
return res
num_runs = 2
multiplier = 1
for i in range(6):
problem_size = 10 ** i
average_time = sum(
timeit.timeit(
stmt = "markos_code(numbers)",
setup = f"numbers = random.choices(range(1000), k={problem_size})",
number = multiplier,
globals = globals(),
)
for _ in range(num_runs)
) / (num_runs * multiplier)
print(f"{problem_size:>10} {average_time:>10.2} seconds")
@paper tendon :white_check_mark: Your eval job has completed with return code 0.
001 | 1 5e-06 seconds
002 | 10 1e-05 seconds
003 | 100 4.1e-05 seconds
004 | 1000 0.00023 seconds
005 | 10000 0.00096 seconds
006 | 100000 0.0078 seconds
Zoomy.
gm~
o/
Hey Mina π
gratz on mod @stuck furnace
Thanks π
!e ```py
import random, timeit
def markos_code(numbers):
res = dict.fromkeys(set(numbers), 0)
for v in numbers:
res[v] += 1
return res
num_runs = 2
multiplier = 1
for i in range(6):
problem_size = 10 ** i
average_time = sum(
timeit.timeit(
stmt = "markos_code(numbers)",
setup = f"numbers = random.choices(range(1000), k={problem_size})",
number = multiplier,
globals = globals(),
)
for _ in range(num_runs)
) / (num_runs * multiplier)
print(f"{problem_size:>10} {average_time:>10.2} seconds")
@paper tendon :white_check_mark: Your eval job has completed with return code 0.
001 | 1 3.9e-06 seconds
002 | 10 6.4e-06 seconds
003 | 100 3.2e-05 seconds
004 | 1000 0.00031 seconds
005 | 10000 0.0022 seconds
006 | 100000 0.022 seconds
gm mina
sounds like spanish
lol
oo et la bibliotech?
Yo is I and Tu is you el and ella he and she usted is you more formally nosotoros nostotras both mean we
that was a song
Whatever you do, don't mistake "aΓ±os" for "anos".
"ΒΏCuΓ‘ntos anos tienes?" "Errr... uno?"
about 5
so why this runs faster?
because we are iterating only once over the given array of numbers. We are running once a set to get unique values of nums for keys and then creating dict with default values of 0 for numbers in set.
The main advantage is we are passing only once through the numbers so there are no multiple iterations.
That is why is faster.
Sensible.
Americans seem to love cinnamon π
The smell instantly reminds me of being in America.
So do I, but at the same time, I have an aversion to snorting it.
I think it's just all the Cinnabons π
Cinnamon is like "American airport smell" for me.
And coffee.
For me it was the smell of filth and shame
There is a starbucks in every airport in america
Idk if thats true but most have one prob
where are you from @dense ibex ?
America more specifically East Coast.
You sound like my older brother π
Haha
Yeah, I found school got much better from 16-onwards, because everyone actually wanted to be there and learn (compulsory education ended at 16 in the UK when I was at school).
I was amazed at university when I actually enjoyed doing a group project for the first time π
group projects have never been good for me
Who's our resident Swede? Vester?
ye
if you get a good group they are fine, but if you don't then good luck.
vester is in sweden
We should ask him what he thinks π
@icy axle Okay, question. Are you familiar with The Muppets?
hopefully a good one next time π
Ah, the Swedish chef
I was wondering if you would consider him offensive
Hahah
Or any Swede would for that matter
Yeah. It's not so much about liking your group-mates personally, but whether they are competent and take it seriously.
I canβt speak for the entire country, but Iβm not offended by it
Okay good
Because he may be my favorite Muppet of all time
And I love singing songs in his voice
So
Yeah
Hahaha yess heβs so weird
Yeah, like if I don't get along with them that's fine. But we have to at least get the work done and get a decent grade.
hey anyone have experience in selenium?
#web-development or #unit-testing might be the place to ask.
Devops prob
any would be fine yeah
So many possibilities
Niceee
Yeah, it's an ongoing discussion tbh.
Discord may introduce a feature soon that might help with this.
What is the said feature? or do you not know yet.
Erm, that's all I'm saying 
Gotcha
Brb
Scenario: Swedish Chef is cooking at a state function next to the Births Deaths & Marriages office. Calamity of calamities, the croquembouche catches fire, burning down three city blocks.
The Swedish Chef is rendered stateless, no longer able to be referred to as the Swedish Chef.
π
lul
what did you have?
have you heard of paneer?
Yeah, my mom made it once its like that chicken in sauce right?
i thought it's cheese
its a type of cheese/milk product
oh then no lol
palak paneer is yum
hmm now i want indian
looks good I like cheese
today, we just made regular paneer curry, with tomato
you can always order, lol
I definitely will, I love Indian food.
π
y'all ever had milk
where does chocolate milk come from
.>
brown cows
where are the apple juice cows π§
lul
have you watched start-up @vivid palm ?
nope
My mum is obsessed with potatoes from Jersey π
hotel del luna?
nope, but that one i actually am considering watching one day bc iu and yeo jingu
cool cool
lol
^ make gif
d u s t
mhm
well actualy i shouldnt complain. mine is probably worse.
I just commited a bunch of changes into 1 commit, hopefully I won't regret it π
@somber heath https://moogooskincare.co.uk/full-cream-moisturiser
!voice @winter pilot If you're wondering why you can't talk, check this out
Voice verification
Canβt talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
sure
My camera appears to have died momentarily
pog
crab rave
i need help with files on android (pydroid)
not sure how the hell it managed that
i dont know what to put after --directory
I'll try and see if I can track something down about it. Never used it before
thanks!
https://pypi.org/project/pydroid/ Is this the library?
Pydroid 3 is the most easy to use and powerful educational Python 3 IDE for Android.
Features:
- Offline Python 3.8 interpreter: no Internet is required to run Python programs.
- Pip package manager and a custom repository for prebuilt wheel packages for enhanced scientific libraries, such as numpy, scipy, matplotlib, scikit-learn and jupyter.
...
@jaunty pendant you probably play that FSX a lot more than I do, lol
ues
its taking for ever to load
rip
@midnight agate #tools-and-devops #web-development #unit-testing Not sure which of these would be the most appropriate. I think in that order.... But I'm not really sure
got a glitch where the main windows doesnt show up
I NEED HELP!!!
@vivid palm #community-meta lul
pls someone help me i cant access email
i installed this on a phone with a broken screen, im a beginner, i want to play with http.server and pinging and stuff
someone ddosed mail.google.com server in sydeny
where are the files stored?
it doesn't work for some reason
I love how apt upgrade is actually faster on my phone, with wifi, than my desktop, with ethernet
i think its on the root folder
comes of having an HDD in my desktop
i have termux installed on that phone but i have no idea how to work with linux
that phone is on the way to the trash anyway is there a benefit to root it?
its a s8
Decompressing.
If you're having to reboot the bootloader, does it become a rebootloader?
you can talk @frail aurora
I'll be back later, delivery run
cya
reflashloader
reflash the bootloader
can someone help me with complex math?
potentially
i need to make a python script to give me each x and y position between two points
why though
line drawing tool for my paint
ok, just use point slope form to calculate the equaation for the line
then interpolate as many points as you need
what?
*equation
i didnt understant andything you just said
well
given two points you can determine a equation for a line that passes through both of them
right?
yes
that's the idea
ys
ys
ys
got it?
it's not a python problem right now
could you tell me the basic math of it so i can implement it in batch
wtf is point slope
y - y1 = m(x - x1)
then i don't know what basic math is
is theresomething wrong with turtle??
it says, given the slope and a point that is on the line, you can determine the equation of the line
you'd need a tuple
or as maybe
import math, turtle
def get_heading(xy_a,xy_b):
x,y = xy_b[0]-xy_a[0], xy_b[1]-xy_a[1]
return (math.atan2(x,y)*180/math.pi) % 360
def get_unit_vector(heading):
r = math.radians(heading)
return math.sin(r), math.cos(r)
start = (0,0)
end = (50,70)
unit_vector = get_unit_vector(get_heading(start,end))
dist = math.dist(start, end)
points = []
for i in range(int(dist)):
new_point = int(start[0]+(unit_vector[0]*i)), int(start[1]+(unit_vector[1]*i))
if new_point not in points:
points.append(new_point)
points.append(end)
for point in points:
turtle.goto(point)
huh, you can make links to voice channels
#751591688538947646
Here you go Batch: ```py
def dist(xs, ys):
return math.sqrt(sum((x - y) ** 2 for x, y in zip(xs, ys)))
interesting
Erm, just change math.dist to dist
Actually, you can use this vector class I wrote, if you like: ```py
from typing import NamedTuple
import math
class Vect(NamedTuple):
x: float
y: float
@classmethod
def from_polar(cls, magnitude, angle):
return magnitude * cls(math.cos(angle), math.sin(angle))
@property
def norm(self):
return (self.x ** 2 + self.y ** 2) ** 0.5
@property
def unit(self):
return self / self.norm
def __mul__(self, scalar):
if not isinstance(scalar, (int, float)):
raise NotImplemented
return Vect(self.x * scalar, self.y * scalar)
__rmul__ = __mul__
def __truediv__(self, scalar):
if not isinstance(scalar, (int, float)):
raise NotImplemented
return Vect(self.x / scalar, self.y / scalar)
def __add__(self, other):
if not isinstance(other, Vect):
raise NotImplemented
return Vect(self.x + other.x, self.y + other.y)
__radd__ = __add__
def __sub__(self, other):
if not isinstance(other, Vect):
raise NotImplemented
return Vect(self.x - other.x, self.y - other.y)
I haven't tested it π
who needs to test when it's LX
π€©
do you know where in the code i sent it adds ( ) around the numbers?
So, you would use it like this. py u = Vect(1, 2) v = Vect(3, 4) You can add/subtract vectors together, and multiply/divide vectors by scalars: py w = u + v w = u - v w = 10 * u w = u / 2 You can get the "norm" (length) of a vector: py u.norm The vector that points from one position vector to another is just the difference of those vectors: py w = v - u The distance between those points is the norm of the difference vector: ```py
distance = (v - u).norm
If you do spam = ham, pork, it'll pack those values into a tuple for you
You can get the unit vector: ```py
w = u.unit
assert math.isclose(w.norm, 1)
yay got it work
Nice!
how would i remove the brackets? ()
x, y = *point
You want to print them out like this? ```
32 45
33 46
...
yes
That will unpack the tuple - or no wait, LX knows what's going on
I'm gonna do the shush thing and actually do my run
you don't need the star btw
ye
Very cool
You could do print(*vector) instead of print(vector).
you only need the star where it is ambiguous
k ill try
!eval
a, *b, c = (1, 2, 3, 4, 5, 6, 7)
print(a)
print(b)
print(c)```
@frigid panther :white_check_mark: Your eval job has completed with return code 0.
001 | 1
002 | [2, 3, 4, 5, 6]
003 | 7
@rugged root
weird it doesn't pack it into a tuple though?
way to use star while unpacking π
nop
I wonder if it's appending as it goes along, checking to see if it's the last entry in the container
maybe they expect us to mutate it
cya o/
(I always do this)
I have an API the returns an image, how do I retrieve the image with AIOHTTP? Since it's not a JSON.
Can I not do it with aiohttp?
are you geting the image url?
no it's an actual image that's the problem.
I am trying to get the URL. I was thinking a webscrape but I was hoping there was a different solution.
that sounds terrible
API returning images is weird
Yeah I know its Wolfram
which api
Anyways, AIOHTTP should be able to read the response
lancebot uses the wolfram api also, you could check that out
can you send the api endpoint
Can I send you the demo one?
NYEWM
@frail aurora ah, you're back
we have that too
.wa short point slope form
Oh ok
The pointβslope form of a line through the point (x_1,y_1) with slope m in the Cartesian plane is given by y-y_1 equals m(x-x_1)
.source wa
cute π₯Ί
@rugged root charlie yankee alfa lima alfa tango echo romeo
@molten pewter as a 13 year old shiter i would recommend not beeting the sh*t out of us
could you elaborate? noone was talking about beating kids/young adults?
they were tho.
the guy in the call
yes? he was talking about how kindergarten kids havent learned not to attack each other yet?
oh so...
i was saying that most , but not all, adults have learned that lesson
where they talking about mobbing? then i would recommend punching the other kids in the face
how would i turn this into a int and not a string?
no it was just how kindergarten age kids may literally attack others when they get angry because they havent learned that violence is not the best way to get what they want
use int() on it
oh yeah uou right
you*
just atacking isnt good
if you are ever confused by any text i recommend https://deepl.com its quite a good translator
@whole bear haha i thought u meant me
same with any language though
thats not an ipgrabber right?
laundmo is a helper he is trusted
oh
no, no. its a actual company website, i just stopped discord from embedding it
no because last time i heard mr hemlock would share ip grabber links so he sees ho pased or nah
hi
ultimately IPs are quite useless, since any home ip will change after a while
i have vpn
same
where did you hear that?
a bad vpn...
i think 2 days ago?
no
i heard hhe was testing people
i heard that from someone
Shush psvm π
but i dont remember the name
that never has happened
we where like 5 people or 4
Can you clarify what you mean?
no they said mr hemlock would test the pople to see if they click on links
that they dont know
No that has never nor will ever happen
You mean rickrolls? π
lmfao, nice one rabbit

someone talked in the channel 2 days ago
i dont wanna cause problems but i just heard that
if anyone claims that, they were lying
oh ok than i am asking for sorry
as always, file your complaints about admin abuse with modmail so they can be investigated
entschuldigung
Don't worry about it @whole bear π
how do i make the sys.argv lines into tuples
that is a tuple
Yeah you're fine lol @whole bear
it says it is a string
I file all my complaints about Joe there so they can be properly shredded
okay huhhπ
basically, i confused hemlock. thats all that happened.
you want them to be ints
oh but youre german right?
you have strings there, not any numeric type
how do i change this????
i dunn understand what youre doing i am a beginner at coding
me too
for example float(sys.argv[1])
or int(xy_b[0])
ohhh
because you only know batch
no?
that was youre name when i joined the server
nope π
i only know batch``
i mean, it was, but if you want to distance yourself from that statement thats okay
He's messing with you. Yes, he was called that originally π
oh okπ
thanks for everything guys!
like.. you can do cool things sometimes like a fake matrix
ok?
No problem π
i didnt do anything but no problem.π
@molten pewter i have wireshark but i dont accutaly know the definiton
bye guys i am out of hhereπ§
jk
hehe
but tf you sus
@faint ermine diskoteke you thought ha?
"man in a discotheque" π
dance. dance .danece ...
discotheque is the english spelling
hi @hoary inlet 
I think you might have heard Hemlock talking about at work. They'll send "phishing" emails to see who at the office would actually click on those emails since they would be susceptible to actual phishing scams. If they click they then have to go to training
!e ```py
a, b = (1, 2)
print(a)
print(b)
@faint ermine :white_check_mark: Your eval job has completed with return code 0.
001 | 1
002 | 2
tΓΌple
how would i do that because this is what it looks like:
(10, 10)
(11, 11)
(12, 12)
(13, 13)
(14, 14)
(15, 15)
(16, 16)
(17, 17)
(18, 18)
(19, 19)
(10, 10)
(11, 11)
(12, 12)
(13, 13)
(14, 14)
(15, 15)
(16, 16)
(17, 17)
(18, 18)
(19, 19)
(20, 20)
!e ```py
a = [(1, 2), (3, 4)]
for x, y in a:
print(x, y)
@faint ermine :white_check_mark: Your eval job has completed with return code 0.
001 | 1 2
002 | 3 4
!e ```py
for x, y in range(1, 21):
print(x, y)
@cerulean moth :x: Your eval job has completed with return code 1.
001 | Traceback (most recent call last):
002 | File "<string>", line 1, in <module>
003 | TypeError: cannot unpack non-iterable int object
π€
I DID IT
@faint ermine :white_check_mark: Your eval job has completed with return code 0.
[1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20]
It would take them in pairs
nah, its just tuple unpacking in a loop var, not specifying how many it gets.
@faint ermine i have the question is there any secret government in germany?
!e ```py
for x in range(1, 21, 2):
print(x, x+1)
@cerulean moth :white_check_mark: Your eval job has completed with return code 0.
001 | 1 2
002 | 3 4
003 | 5 6
004 | 7 8
005 | 9 10
006 | 11 12
007 | 13 14
008 | 15 16
009 | 17 18
010 | 19 20
if you want to take things in pairs you can
a = [(1, 2), (3, 4)]
for x, y in a:
print(x, y)
is the same as
a = [(1, 2), (3, 4)]
for _ in a:
x, y = _
print(x, y)
isnt it called bundesnachrichtendienst
for x, y in zip(L, L[1:]):
print(x, y)
Me ?
Yeah, zip is really helpful when it comes for grouping things in pairs
Hi
been a while
mac os best
what do u mean theres no colegge in germany
not everyone here is from germany
YESSS
and yes, there is college in germany
i know but i am trying to understand what she means?
whats that?
Batch paint ig
is it legal to code a art bot for skribble?
nope
lol
ill brb
i am back
what is gohst pinging?
When you ping a person and delete it
@severe pulsar what theme on vscode?
material theme palenight high contrast
thanks
WOWWW
how you do that screenshot with the cutout i cant do this
and on mac?
oh i dont know about that π
i know the screenshot
but how do you do the cutout
use 4 instead of 3
It's very quiet π
You can capture the entire screen, a window, or just a portion of the screen.
GUys dont talk about any malicios THE FBI is in the channel
https://skribbl.io/?xsXjSRiQFZbf
anyone wanna play?
oh yeah bebe
i am in why you not starting
smoky barbeque sause
yikes
The closest we have is Ceasar dressing (horrible spelling, I know)
Ah, I made like five attempts and didn't get it π
I think I might have tried the same spelling three of those times.
Β―_(γ)_/Β―
I think Dominoes pizza does π€
i can eat some from my fridge and describe it for you if you want
erm
Pizza Hut, Dominoes, Papa Johns, and then the sketchy local place that gives you food poisoning every time π
cool original sounds so tepid lul
how about Cæsar
Β―_(γ)_/Β―
I know right. Apparently we can't fathom the concept of ranch so they had to come up with another name...
No offence Batch, but I wouldn't be running anything you sent me π
i mean, in a VM maybe
what happens if you play a virtual box in a virtualbox in a virtualbox in a virtualbox in a virtualbox in a virtualbox in a virtualbox in a virtualbox in a virtualbox
run out of resources
idk maybe
"when life gives you lemons, squirt them into someones eyes."
sad
but if you play? a virtualbox in a virtualbox in a virtualbox in a virtualbox in a virtualbox in a virtualbox in a virtualbox in a virtualbox in a virtualbox in a virtualboxin a virtualbox in a virtualbox
it would still work
in a virtualbox ok in a in a virtualbox in a virtualbox in a virtualbox in a virtualbox in a virtualbox in a virtualbox in a virtualbox in a virtualbox in a in a virtualbox in a virtualbox in a virtualboxvirtualboxin a virtualbox
idk
i jsut wanna know what happens
Your computer will slow down to a crawl
to a ...*
but if you have n trx 3090?
I mean this is the infinity + 1 argument at this point
Eventually you're going to hit a wall
yeah\
Hmm, well a Docker container is just a process, right?
It is
F*** i just wanted to take a cup of milk and hit my llittle finger of the foot π
Kind of?
It's weird hybrid between virtualization/single process
i am bored
risky click
What is it and should I be annoyed that it's here
its netlify you can make a webserver out of html
you can make websites
you can make websites
Right, but I'm not keen on dropping a random mysterious link that our users could stumble upon
I'm aware what it is, that's not my concern. It's still a sketchy as shit link
oh yah i understand wait i am deleting
lol i cant delete
Apparently it's already gone
you mean little toe
you mean little toe
lemme mute the voice chat real quick i gotta listen to spotify premiumπ \
oh ok than its my internet
Eh, kind of. But yeah, it's just a glitch. It happens

Docker is a set of platform as a service (PaaS) products that use OS-level virtualization to deliver software in packages called containers. Containers are isolated from one another and bundle their own software, libraries and configuration files; they can communicate with each other through well-defined channels. Because all of the containers s...
!user

Created: 5 years, 6 months and 17 days ago
Profile: @rugged root
ID: 98195144192331776
Joined: 2 years, 11 months and 12 days ago
Roles: <@&542431903886606399>, <@&463658397560995840>, <@&764802720779337729>, <@&295488872404484098>, <@&585529568383860737>, <@&267630620367257601>, <@&797891034906099752>, <@&587606783669829632>, <@&277914926603829249>, <@&831776746206265384>, <@&267629731250176001>, <@&807415650778742785>, <@&267628507062992896>
Total: 18
Active: 2
Virtual Desktop Infrastructure
Virtual Desktop Infrastructure site:https://irclogs.ubuntu.com/2009/
Yeah, when laundmo wants to win an argument, he will go to extraordinary lengths π
is that a virtual maschine?
@unborn storm u use vim?
i do use vim XD
@strange maple what logs?
lol
someone tryed to run windows 95 on virtualbox?
Gtg. Chinese food has arrived...
@rugged root wonder if you've ever tried these kinds of scanners?
do you think it'd be better or worse than things like fujitsu scansnap iX
Vastly different use cases
For books, magazines, periodicals, etc., that kind of scanner would be good.
For bulk document scanning, you need something with a hopper
i'm guessing you need duplex scanning?
do you use scansnap manager
oh right
But yeah, if I had to do each page individually like that, I would be 5% as fast as I am now, and that's being incredibly generous
lol
Anyone here good with RegEx?
decent, why?
I am writing a bash script to filter out numbers specifically.
Needed help with that.
yeah
its a text file and from that i need to filter out numbers
can I Dm that file?
@faint ermine
yeah
grep "^[0-9]*$"
Electronic mail is a method of exchanging digital messages between computer users; such messaging first entered substantial
use in the 1960s and by the 1970s had taken the form now recognised as email. These are spams email ids:
08av , 29809, pankajdhaka.dav, 165 .
23673 ; meetshrotriya; 221965; 1592yahoo.in
praveen_solanki29@yahoo.com
tanmaysharma07@gmail.com
kartikkumar781@gmail.com
arun.singh2205@gmail.com
sukalyan_bhakat@us.in.y.z
These are incorrect:
065
kartikkumar781r2#
1975, 123
This is an example
The output should be -
Number of lines having one or more digits are: 4
Digits found:
29809
165
23673
221965
065
1975
123
sorry can you repeat that?
or maybe write the what could the command would be.
yeah
like see for example the first number in the output is 29809
its between or after the commas
so how do i specify that
is there anything as a regex reverse tool?
you put in the text and then it shows that regex command π
like i would highlight the text in the file or strings and accordingly the regex is made
hello nerds
hello spotify
best chrome wallpaper
@pastel plover YAH I GOT BANNED FROM PYTHON
LOl
HOLD ON
@pastel plover i will
length = int(input())
my_list = []
new = []
k = 0
for i in range(1,length+1):
num = int(input())
my_list.append(num)
print(my_list)
while k != length-1:
new.append(my_list[k])
print(sorted(new))
k += 1
5
3
4
2
8
7
it says no such file or directory
hello
@dense ibex
u downloaded malware?!?!
bro playing valorant π
@dense ibex u have a USB???
to save youre data lol
oh
What lol
i got an 128 gb sd card
theres an 2 tb flash drive for 38 dollars very good actulay
The webpage is gone they took it down
i will not call you evan
Ok
Lol
OK*
LOL*
@runic forum stop or i am reporting you
thats spa,
spam
ok
fine.
i am white
@wispy idol german/
@wispy idol whats a caos monkey?
like a rootkit?
imagine on the server theres like bananas
Vue-Js
Default recursion example
def factorial(num):
if num == 0: return 0
return num * factorial(num - 1)
hi, can any one help me with a django project?
i cant talk cause i havent send 30 messages
i need to create a DB for users
Is it? Something is probably wrong with my internet today. Anyway, I said, starting with Python is not a bad idea and it is a transferable skill. So, should you find out along the way that python wasn't the right decision, then learning another language just became a lot easier
anyone?
if youre thinking to spam so u have 30 msg dont
im trying to find a programming language to be able to handle 4 to 10 people concurrent connections as part of a SD-WAN.
i wasnt thinking to do this
ok haha
@strange maple 4 to 10 concurrent connections.. Pretty much any language
can anyone verify me so i can talk?
@unborn storm Yes bro, how is it going?
?
hi
more messages is what is needed.
Hey
just spam msg xD
well
i want to learn doom emacs
Oh, why?
What do you mean? Is this the max concurrent connection for any program language?
You can do a lot more concurrently. 4 to 10 is no issue. That's all I meant
oh... ok
So what is the resource requirements for this 4-10 concurrent connections in python in a docker image?
This is part of an SD-WAN
SD-WAN is something amazing that we human-created
I don't understand your question
please
mix environment, arm64 and x86_64
I don't think I can give you an answer to that. Not which out research. I mean, I don't think that the processor architecture matters, because you will be only dealing with network communication. But I cannot answer that
Its running in a docker image, that s controlled by kuberneties
Docker is (almost) no overhead on every system where you do not need a virtual machine to run it. So you can ignore docker for this question
Well I want to make mentioning of it, so there is a context within my ideal end game.
sc-im
vim
gvim
vimtutor
@whole bear vimtutor
vimtutor en
@fair citrus : look at this channel : #discord-bots
@whole bear https://www.youtube.com/watch?v=jGWjzjfzths
In this video series, we will be doing a "Let's Play" of "vimtutor"; a utility that comes with Vim that is meant to get you to a base level of proficiency in the Vim editor.
"Let's Plays" tend to be passive, in that you observe the player playing the game, but I hope you join and play along on your own computer (as that is the best way to actu...
i think he wont let me speak today
my family is around
waht
@paper tendon my grandpa used unix
i was just wondering has anyone did the pcep exam
me too π
how good is leet code?
(we are in #voice-chat-text-1 )
o/
How goes it
happy friday
ye, I wrote everything from scratch except the OTConverter
Oooh new embed img
random.choices*
oof windows keeping yelling that my license is gonna expire
I'm gonna commit that algo rn @icy axle
See if you can get a student license or student prices
Usually can get a better deal
lemme see
If you're in Uni you might be able to go through their bookstore or something. Your school might have a place for deals
hemlock did you buy sublime π§
my uni already gives me free office account
I'm not sure with windows
I need only license not an entire laptop
btw, has anyone here tried to expand their linux storage?
I have 250gb of ext4, I wanna convert 250gb NTFS to ext4 and merge it
I cannot backup the ext4
it has OS
I don't care about whats in 250gb NTFS
kinda intimidating to try
but will try
oh no, no no to konsole
Heyo π
o/
I too stole Mina's cat...
Gparted has a nice gui interface.
konsol
A livecd/usb with it may be an asset
I guess I have to do it form windows?
Unfortunately there's no way to work it into my username in a punny way 
Don't get me started on 'w' 
which switches
The worst letter.
Outemu Reds
white
ah
vhite
hwite
winter
I have blue switches, wanna hear them?
vinter
hwite
vinter
I was gonna go for blues but I figured I couldn't afford the noise
lul
Yeah they are Swedish
Vintergatan
Also I'm not used to my spacebar being this light
I wear headset 24/7 so I wouldn't mind it
Wintergatan
My old membrane one took twice as much effort
Usb liveboot a linux distro, gparted, shrink the partition (absent an external backup option), copy stuff over.
Just don't move any boot partitions.
I already have linux
@stuck furnace π say i have to try 2 things that may cause value errors, but i only need one of them to succeed. what do i do π
Any boot partitions that have their starting positions shifted get cranky.
Try within a try?
huh
Stop the steal spam
ah
how and why would that work?
I think I have a live bootable usb lying around
Β―_(γ)_/Β―
I think they have to be unmounted
Jk, what do you want to happen if both have a valueerror?
cry because input is invalid
actually no
just ignore it
oh i can just give default values then check
my room isn't exactly soundproof :v
not everyone wears a headset 24/7 though lol
ah okay
I mean, I wear it when I am in front of my pc
I don't have speakers

π
π
I might buy some keycaps soonβ’
π
I might buy some kneecaps soonβ’
nico nico kneecaps
It's a risk I'm willing to take 
lmao
God damn it, DuckDuckGo. That's not what I meant and you know it.
or