#voice-chat-text-1
1 messages · Page 101 of 1
@charred creek :white_check_mark: Your eval job has completed with return code 0.
2017-08-14 16:31:00
@mild flume I am able to use opencv by importing it but my vscode says Module not found
any idea?
anyone?
!pypi dateh
?
I love it when my bluetooth stop working
HHhhHh:HHhhhh:HHhhHh:HHhhhH:HhHHhH:HHhhhh:HHhHHh:HhHHhH:HHhhhh:HHhhHh:HhHhHhh:HHhhhH:HHHhhh:HHHhHh:HHhhhH:HHhhHH:HHHhHh:HHhHhh:HHhhhh:HhHHHh:HHhhhh:HHhhhH:HHHhhH:HHhHhH:HHhHHh:HHhhHh
there we go
Dewit Jake. Get ahead of the curve 😄
my bluetooth is working
@wintry sinew On the h server, do all messages get automatically translated to h, or are people just very consistent at playing along 😄 I'm too afraid to try it and get cast out from the community.
Ahh
h
The complete table of ASCII characters, codes, symbols and signs, American Standard Code for Information Interchange, ASCII table, characters, letters, vowels, consonants, signs, symbols, 20210602
Æ
Ascii has a load of useful blank characters that no one actually uses 😄
¾
Like it has special characters for separating rows and columns in files of data, but everyone just uses CSV instead.
■
>>> a = 1
>>> def b():
... hh a
... a += 1
...
>>> b()
>>> a
2
gtg have a good day y'all
oh are we "post-COVID" now? i did not get the memo lol
It seems to be post covid for some, but not all
@ripe cedar What are you needing to be unmuted early for
I just got into the server and thought I could get some tips I've started learning python and then i thought Oh maybe there's a discord So I'm checking it out.
@digital cradle here
Back later, sorry. Work needs me
No problem
i need help making a change
should i go over to a game engine or like a library
cause currently i know python, some C# and i am learning Java
hi guys, im kinda new here and i would like help, which of these chat i need to go?
@mild flume Can you help @coarse hare
Thanks

Oh sorry i forgot
sunglasses buddy 😎
@coarse hare go to #❓|how-to-get-help
thanks!
Disk /dev/sdb: 232.9 GiB, 250059350016 bytes, 488397168 sectors
Disk model: Samsung SSD 870
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: C3D3F064-062C-4DDE-B79D-F7284C20AE2B
Device Start End Sectors Size Type
/dev/sdb1 2048 1050623 1048576 512M EFI System
/dev/sdb2 1050624 2050047 999424 488M Linux filesystem
/dev/sdb3 2050048 488396799 486346752 231.9G Linux LVM
the /dev/sdb bit is what's important
what does it show for your disk you're trying to work with
oh
that's... interesting
/dev/nvms0n1
oh, it's an nvm of course
/dev/sda
yeah, so which code does it show for the disk you're backing up
it seems to list all my hard drives
Disk /dev/sda: 465.8 GiB, 500107862016 bytes, 976773168 sectors
Disk model: WDC WD5001ABYS-1
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: C2C95896-4252-49DE-8BFD-91DF8EC8CA51
Device Start End Sectors Size Type
/dev/sda1 2048 206847 204800 100M EFI System
/dev/sda2 206848 239615 32768 16M Microsoft reserved
/dev/sda3 239616 975735436 975495821 465.2G Microsoft basic data
/dev/sda4 975736832 976771071 1034240 505M Windows recovery environment
/dev/sbd1 is the linux install
so the partition is /dev/sdb1 and the ssd is /dev/sdb
does it not show any more partitions under /dev/sdb?
so I should: cryptsetup luksOpen /dev/sdb1
is there no /dev/sdb2 or smth
uh
interesting
hang on
how does that work
right, so you need to do it slightly differently
I thought you had a separate unencrypted boot partition
hang on
it says; Disk /dev/sdb: 931.5 GB
perfect
and under that it says device: /dev/sdb1
try this
cryptsetup luksOpen /dev/sdb1 linux
then it'll ask for the encryption passphrase
vgscan
mount /dev/sdb1 /your/folder/path
ecryptfs-mount-private
udisksctl
background-color: rgb(26, 28, 29);
background-color: rgb(24, 26, 27);
ok so I typed: udisksctl mount -p /dev/sdb1 what am I doing wrong?
tried that also
error mounting
already mounted
Error mounting. GDBus.Error
72c282db-dcc8-4d99-a576-a4c94aa48d22
is the file name under /media/root
sdb1
Thomas the tank engine was only following orders, "it was just a job".
Support me on patreon for exclusive content: https://www.patreon.com/Ethereal_Snake
Merch: https://teespring.com/stores/ethereal-snake
unless manjaro
o/ lx
👋
The best time to submit coursework 😄
was there a deadline 🤔
of course
tomorrow
ah okay
but I work better in the evenings
I submitted my phy assignement today, 10min before deadline, lol
I've done that sometimes
now I only need to pass my exam on Tuesday and I'm all set 'til February
oof, I have never been awake all night, I atleast get 2 hours of sleep,
closest I've ever gotten is 3 minutes
We had a 24-hour computer lab at uni which helped me stay awake...
ninja
I prefer coffee
What course is it?
would you be awake all night or sleep and wake up super early?
the EMA was for T312 electronics signal processing stuff
the exam is for T356 nano engineering
awake almost all night and wake up super early
fair
sleeping from 5 to 7
damn
Oh, that sounds interesting. Like microchip design?
sensors at nanoscale and stuff
also molecular motors and working with them
there was a lot of biology, which I detest
open source torrent client
cipher
Is it CLI?
``` @true valley
Bye oof 👋
gn o/
Hello Laundmo 👋
Ah, working in different bases is surprisingly hard 😄
I remember having to do that in maths.
@misty sinew
https://community.linuxmint.com/tutorial/view/2061 I am putting this here for my reference
Linux Mint - Community
What's the issue?
!stream 191683640118214656
@arctic iris
✅ @arctic iris can now stream.
Just wondering, why are you using gdb rather than pdb?
A dik-dik is the name for any of four species of small antelope in the genus Madoqua that live in the bushlands of eastern and southern Africa.
Dik-diks stand about 30–40 centimetres (12–15.5 in) at the shoulder, are 50–70 cm (19.5–27.5 in) long, weigh 3–6 kilograms (6.6–13.2 lb) and can live for up to 10 years. Dik-diks are named for the alarm ...
Here’s another great video: https://youtu.be/dQw4w9WgXcQ
You can thank me later
Phy assignment?
nop
also why are embeds gone here
I got a 5 page communications assignment due next Thursday
I surrounded it with <> so no embed was displayed
right but all my links dont have embed
!stream @arctic iris 30M
@arctic iris
✅ @arctic iris can now stream.
Discord is bugging out right now, so maybe it has to do with that?
ah maybe
Check #helpers as well
This is definitely a rickroll 👀 https://youtu.be/dQw4w9WgXcQ
Rick Astley's official music video for “Never Gonna Give You Up”
Listen to Rick Astley: https://RickAstley.lnk.to/_listenYD
Subscribe to the official Rick Astley YouTube channel: https://RickAstley.lnk.to/subscribeYD
Follow Rick Astley:
Facebook: https://RickAstley.lnk.to/followFI
Twitter: https://RickAstley.lnk.to/followTI
Instagram: https:/...
Oh alright 👍
i3status-rs
py-list; up
@arctic iris what is the problem you are dealing with? just out of curiosity.
I have a running Python process, I'm trying to extract the size of a queue from it
Without restarting the process
!voice
Voice verification
Can’t talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
oh that sounds annoying haha
yeah I got a notification when I joined the call about the voice thing
hahaha yeah well where wasnt a message to me when I checked but I got a notification in the voiceverication chat
is there many ML people in here I've not seen much but I havent been around that much??
We look at chat so don't feel like you're not included in the conversation.
Plus you can chat in #python-discussion and that will still count towards your messages.
Okay
You already have 50 messages though...
@mild flume just wondering this is the place for that kind of thing?
We have the #data-science-and-ml channel
oh
They'd be the folks who would do all that stoof
brb gonna update Discord for the 3rd time today
!server
Oh naw i forgot that I'm in "the park", now if i speak I'm going to sound like bxjwowbxkwlwb;@[×&$bwkwodn^×>#&:bdkwp92u
@willow kernel same here this is the same for me
yeah yeah
thats the one problem with running linux :,(
Right?
otherwise I'd just uninstall that 40gb piece of malware xD
Voice verification
Can’t talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
That'll tell you what you need to know
i've been anti-windows radicalised over the last couple of years hahaha
wrong reply lol
ye igy
final straw was 4gb of ram usage making a perfectly working laptop unusable
e-waste generator 🥴
wdym?
oh yeah
depends on your work I think
100%
yes
lol
everyone should just use latex for test editing change my mind
hahaha
thats fair honestly
i've heard markdown is actually v good
yeah I've never used it
I mostly write research stuff tho
lol
how bad do sleep schedules for people here ahaha?
getting up at like 8pm is the worse thing in the worls
Yeah. God I don't miss being graveyard shift
i have to send at least 50 messages :(
hello
can you guys help me so i can choose a place to write python?
@charred creek
im have just started learning
sorry for bad english
vim in a terminal
but you will need something to run the code not sure if it can do that by defauly
i installed python 3.9
is that ok?
yeah
the one that comes with python?
The colorized background is for pride month! The pixelation of the logo is for the ongoing #846514617261621292 event 😄
We merged the logos for the two events into a single server icon
aaaaa okey thanks
How do people make logos like that? I'm trying to do that with my servers
Boost level;
You get 2 boosts when paying for Nitro, guess you can boost your own server, giving you Level 1
whoa, lots of help-* channels active
Yeah it's a really busy day today
#voice-chat-text-0 in other news the StackOverflow got acquired but will continue to operate independently. 1.8 bil
https://techcrunch.com/2021/06/02/stack-overflow-acquired-by-prosus-for-a-reported-1-8-billion/
Makes sense. Wait, does SO actually turn a profit?
Never heard of Prosus
Very sus
Hello...
I don't even know 50 words, but I'm fine with creepin'
@mild flume It does makes sense btw, we already have the habits in place from years of schooling
Passive income
True enough
Anyone can bypass icloud iphone XR?
@mild flume Hello sir do you guys also facing problem with google meet
helo
helo
halo
how you doing
great hbu
if you want to
...
fine
F
!docs json.dumps
json.dumps(obj, *, skipkeys=False, ensure_ascii=True, check_circular=True, allow_nan=True, cls=None, indent=None, separators=None, default=None, sort_keys=False, **kw)```
Serialize *obj* to a JSON formatted [`str`](https://docs.python.org/3/library/stdtypes.html#str "str") using this [conversion table](https://docs.python.org/3/library/json.html#py-to-json-table). The arguments have the same meaning as in [`dump()`](https://docs.python.org/3/library/json.html#json.dump "json.dump").
Note
Keys in key/value pairs of JSON are always of the type [`str`](https://docs.python.org/3/library/stdtypes.html#str "str"). When a dictionary is converted into JSON, all the keys of the dictionary are coerced to strings. As a result of this, if a dictionary is converted into JSON and then back into a dictionary, the dictionary may not equal the original one. That is, `loads(dumps(x)) != x` if x has non-string keys.
Hi
I am new to python so if I ask dumb questions sorry so is ubuntu good to code or should I go for kali linux?
{
"predictions": [
{
"x": 327.0,
"y": 113.5,
"width": 122,
"height": 83,
"class": "a",
"confidence": 0.686
},
{
"x": 333.0,
"y": 240.5,
"width": 110,
"height": 97,
"class": "k",
"confidence": 0.719
},
}
!e
from dataclasses import dataclass
@dataclass
class Prediction:
x: float
y: float
width: int
height: int
_class: str
confidence: float
@property
def center(self) -> tuple[int, int]:
return (self.x + (self.width//2), self.y + (self.height//2))
json_data = {
"predictions": [
{
"x": 327.0,
"y": 113.5,
"width": 122,
"height": 83,
"_class": "a",
"confidence": 0.686
},
{
"x": 333.0,
"y": 240.5,
"width": 110,
"height": 97,
"_class": "k",
"confidence": 0.719
}
]
}
predictions = [Prediction(**prediction) for prediction in json_data["predictions"]]
for predicition in predictions:
print(predicition)
print(f"Center is {predicition.center}")
@charred creek :white_check_mark: Your eval job has completed with return code 0.
001 | Prediction(x=327.0, y=113.5, width=122, height=83, _class='a', confidence=0.686)
002 | Center is (388.0, 154.5)
003 | Prediction(x=333.0, y=240.5, width=110, height=97, _class='k', confidence=0.719)
004 | Center is (388.0, 288.5)
Voice verification
Can’t talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
this explains how to get voice verified ^
response = request.post("url")
response structure
response - headers
- content
so you do response.content.json() to get access to the json part of the response.
!e ```py
import requests
resp = requests.get("https://www.google.com")
resp1 = requests.get("https://www.google.com/not-existing-arguments")
json = requests.get("https://www.google.com/not-existing-arguments").json()
print("response", resp)
print("response that errors", resp1)
print("response", json)
@charred creek :x: Your eval job has completed with return code 1.
001 | Traceback (most recent call last):
002 | File "<string>", line 13, in <module>
003 | File "<string>", line 11, in __init__
004 | TypeError: object.__init__() takes exactly one argument (the instance to initialize)
class Prediction:
def __init__(self, data: dict) -> None:
self.x = float(data["x"])
self.y = float(data["y"])
self.width = int(data["width"])
self.height = int(data["height"])
self._class = data["class"]
self.confidence = float(data["confidence"])
@property
def center(self) -> tuple[float, float]:
return self.x + (self.width // 2), self.y + (self.height // 2)
@olive sable you may need to hide your logins, I see your AWS DB password
for prediction in response.get("predictions"):
pred = Predictions(prediction)
# do something with pred
!e
import time
def timeit(func):
def timed(*args, **kwargs):
ts = time.time()
result = func(*args, **kwargs) # Actual function call
te = time.time()
print(f"{func.__name__} took {te-ts:2.4f} seconds")
return result
return timed
@timeit
def do_stuff():
time.sleep(1)
do_stuff()
@charred creek :white_check_mark: Your eval job has completed with return code 0.
do_stuff took 1.0033 seconds
import os
load_dotenv(".env")
token = os.getenv("token")
!e
from __future__ import annotations
class Prediction:
def __init__(self, data: dict) -> None:
self.x = float(data["x"])
self.y = float(data["y"])
self.width = int(data["width"])
self.height = int(data["height"])
self._class = data["class"]
self.confidence = float(data["confidence"])
@property
def center_x(self) -> int:
return self.x + (self.width//2)
@property
def center_y(self) -> int:
return self.y + (self.height//2)
@property
def center(self) -> tuple[int, int]:
return self.center_x, self.center_y
def in_range(self, other: Prediction) -> bool:
return abs(self.center_x - other.center_x) <= 0.10 or abs(self.center_y - other.center_y) <= 0.10
json_data = {
"predictions": [
{
"x": 327.0,
"y": 113.5,
"width": 122,
"height": 83,
"class": "a",
"confidence": 0.686
},
{
"x": 333.0,
"y": 240.5,
"width": 110,
"height": 97,
"class": "k",
"confidence": 0.719
}
]
}
predictions = [Prediction(data) for data in json_data["predictions"]]
first_pred = predictions[0]
second_pred = predictions[1]
print(first_pred.in_range(second_pred))
@charred creek :white_check_mark: Your eval job has completed with return code 0.
True
Production line is the new car factory management/simulation/tycoon game that pushes your organisational and entrepreneurship skills to the limit. Can you build the ultimate optimised, free-flowing car production line whilst beating the competition and still turn a profit?A modern car factory is a near perfect example of efficiency, process-mana...
$24.99
2532
!stream @olive sable 30M
@olive sable
✅ @olive sable can now stream.
Wanted Raccoon is a story about a raccoon that lived a peaceful life in the forest until one day people invaded it. They cut down the trees and built their own houses instead. Animals families were taken away from them and all those who couldnt hide were placed in animal shelters. Our Raccoon met the same fate. Help the raccoon get free, find ...
$19.99
145
🙂
"forward" "a"
res = []
for p in predictions:
# searching for "a"
if p._class == "a":
res.append(p)
elif p._class == "z":
res.append(p)
elif len(res) >= 2:
break
you guys working on this might want to go down to #751592231726481530
!stream @olive sable 5M
@olive sable
✅ @olive sable can now stream.
robot wars!!!!
!stream @olive sable 5M
❌ @olive sable can already stream.
!stream @olive sable 5M
@olive sable
✅ @olive sable can now stream.
@charred creek The perms ran out
!stream @olive sable 5M
@olive sable
✅ @olive sable can now stream.
🙂
It is working, thanks for the help
!voice @wise grail
Voice verification
Can’t talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
!e
for i in reversed(range(10)):
print(i)
@charred creek :white_check_mark: Your eval job has completed with return code 0.
001 | 9
002 | 8
003 | 7
004 | 6
005 | 5
006 | 4
007 | 3
008 | 2
009 | 1
010 | 0
!e
for i in range(10, 0, -1):
print(i)
@hidden cliff :white_check_mark: Your eval job has completed with return code 0.
001 | 10
002 | 9
003 | 8
004 | 7
005 | 6
006 | 5
007 | 4
008 | 3
009 | 2
010 | 1
!code
Here's how to format Python code on Discord:
```py
print('Hello world!')
```
These are backticks, not quotes. Check this out if you can't find the backtick key.
!e print(''.join([str(i) for i in range(10, 0, -1)]))
string = python
for char in reverse(string):
print char
@random minnow :white_check_mark: Your eval job has completed with return code 0.
10987654321
!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.
!e
string = "python"
print(''.join(reversed(string)))
@charred creek :white_check_mark: Your eval job has completed with return code 0.
nohtyp
str() instead of join ?
I am asking not sure
!e
string = "python"
print(str(reversed(string)))
@charred creek :white_check_mark: Your eval job has completed with return code 0.
<reversed object at 0x7feb17a7ec10>
!e
fruits = ["Apple", "Banana", "Cherry"]
print(', '.join(fruits))
@charred creek :white_check_mark: Your eval job has completed with return code 0.
Apple, Banana, Cherry
string[::-1] does the same according to this https://www.educative.io/edpresso/how-do-you-reverse-a-string-in-python
!e print("hello world"[::-1])
def Apple() -> bool:
print("Cool")
@random minnow :white_check_mark: Your eval job has completed with return code 0.
dlrow olleh
you can just s[::-1] instead of reversed
its a negative step
Yep
!e print('Hello'[::])
@random minnow :white_check_mark: Your eval job has completed with return code 0.
Hello
@charred creek, what's the game?
Space Engineers is an open world sandbox game defined by creativity and exploration.It is a sandbox game about engineering, construction, exploration and survival in space and on planets. Players build space ships, wheeled vehicles, space stations, planetary outposts of various sizes and uses (civil and military), pilot ships and travel through ...
$19.99
76291
Heyy 👋
No MacOS version unfortunately 
I have a PC that I use as a footrest 😄
But god knows if it's powerful enough to run anything.
Yeah, true that 
It's a computer that I bought second hand on Ebay 10 years ago 😄
what did you mean it can run anything
the hardware itself or the control he can exercise over powerful machines
It has a relatively recent graphics card, as it was going spare.
get it, like crysis
i mean ten years ago if your computer ran crisys it meant it was a good pc
Mina 👋
erm, LX 
a code source is constantly changing? like, can be insanely different if acessed by some know id
looks like cpp lambdas
Get started using Docker with this end-to-end beginners course with hands-on labs.
Docker is an open platform for developers and sysadmins to build, ship, and run distributed applications, whether on laptops, data center VMs, or the cloud.
In this course you will learn Docker through a series of lectures that use animation, illustration and so...
This is a nice short tutorial: https://www.youtube.com/watch?v=YFl2mCHdv24
Docker is all the rage right now. In 12 minutes I'll give you comprehensive introduction to docker, covering:
- What is Docker
- Virtual Machines vs. Docker
- Introduction to Dockerfiles, images and containers
- The Docker Hub
- Writing a Dockerfile
- Building an image
- Running a container
- Mounting volumes
- One process per containe...
If you can't focus for 2 hours 😄
(like me)
I had this weekly 2 hour economics lecture at university. It was torture 😄
But the econ students had a 4-hour lecture 
2 hours directly after the 2-hour elective lecture.
Yep.
Cya KJ 👋
All the games.
Yeah I kind of agree actually.
Saying that it's a controversial opinion is kind of back-handed though... 😄
pro bot
The Company reserves the right to modify or discontinue, temporarily or permanently, the Service (or any part thereof) with or without notice. The Company reserves the right to refuse any user access to the Services without notice for any reason, including but not limited to a violation of the Terms. If you violate these Terms, the Company reserves the right to issue you a warning regarding the violation or immediately terminate or suspend any or all Accounts you have created using the Service. You agree that the Company need not provide you notice before terminating or suspending your Account(s), but it may do so.
im good at python
Hi Batch 👋
hi
How goes?
what?
how goes it?
goes what
or in other words, how are you doing? is what we're asking lol
lol
!paste
Pasting large amounts of code
If your code is too long to fit in a codeblock in discord, you can paste your code here:
https://paste.pydis.com/
After pasting your code, save it by clicking the floppy disk icon in the top right, or by typing ctrl + S. After doing that, the URL should change. Copy the URL and post it here so others can see it.
@peak frigate joinnnn
it's wayyyy too hot to be in my room
just make it not hotttt
GPS:iron:-266437.04:-2464275.2:382297.29:#FF75C9F1: @elder wraith @charred creek @raw wren
oh ok
git ac, then git gud :C
i wish str objects supported item alignment
I need a minacave in a basement or cellar
You can live in my shed outside if you want
i can be the programer
It's hot as shit in there so idk if it will help your situation.

this is literally my life goal, buy cheap house in kansas, get amazing basement
I'll take the basement ty
hellll nah, basement is the best part.
I am going to have two ultrawide monitors, a mini fridge, and hot coco, that basement will be lit af
☹️
should i finish my batch paint?https://github.com/Dragon-Batch/Paint
type hinting is the fucking best
Batcave 🦇
What game are you guys playing?
GPS:iron silicon magnesium:-267326.21:-2463669.7:383617.67:#FF75C9F1: @charred creek @autumn raft @elder wraith
space engineers
@hidden cliff I constantly have to have you at <20% bc of your screaming
pls
no your range of decibels in volume is too loud lol
bc when you talk normally it's fine
GPS:nickel cobalt:-266600.76:-2462632.07:384892.31:#FF75C9F1: @elder wraith @autumn raft
Yeah, imagine 👀
lots of lebaur
!otn a jake's child leighbor
:ok_hand: Added jake’s-child-leighbor to the names list.
!otn s jake
• honored-to-witness-jake
• jake’s-child-leighbor
• jake’s-hd-eyeballs
• jake’s-little-mustache
lol @ honored to witness
@ jake has too many heccin otns
vote for permanent ella cam
no it's not
it's 10pm how is that late
also your apartment is a ghost building
he has his own
@autumn raft ur doggo is very cute
tyty
When I’m eating a meal, I never stick my chopsticks upright in my bowl. When I’m walking home at night, I won’t whistle. And when I sign my name, I remember not to do so with a red pen. Growing up in my Malaysian American household, I’ve gotten used to living with superstitions. If I accidentally
I just found a pic when we first got scout
awwwwwwwwww
the voice channel is for asking questions or is something private
!voice
Voice verification
Can’t talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
oh, I am sleepy, sorry
because this server its too obscure for me
This is a general, casual chat. You are free to ask questions here, but many people here are not here to answer
sometimes we talk python, but not always
if you need help, I suggest #❓|how-to-get-help
i just like to hear people talking with that intuition of programming logic
right now we are playing video games, haha. Weekdays are more "programming talk" time
Hi guys 👋 do you know of a interesting python project that you can do on a phone?
Thank you 👍 @haughty gulch
everybody needs a wombat sometimes
What that means?
If you know you know
@raw wren Sorry for the question, how old are you?
15 iirc
hello
@raw wren, have you slept tonight?
o/ jake
that's a bad symbol, hehe
dead inside 1000-7
y'all just sitting there muted with a nontalking jake
that voice chat must be real interesting
@raven orbit im pretty sure jake fell asleep at his pc or smth
Can anyone help me solving this problem guys?
Find substrings containing an e-mail address
Task:
You are given a set of strings separated with line feed characters. Find the longest substrings that can be considered e-mail addresses.
An e-mail address consists of three parts: the name of the local part, an "@" character, the domain name of the server.
The local part name can contain latin letters, digits and underscore characters "_".
The server domain name consists of the name itself (digits, latin letters and dash symbols "-") and names of all other domain it belongs to, each separated with a period. The fully qualified domain name should not exceed 66 symbols.
In this task, we'll take the top-level domain as a string of latin letters from 2 to 4 (inclusively) characters long.
The local part name should be separated from the domain name with an "@" character.
Input:
A set of strings separated with line feed characters.
Output:
All the longest correct substrings in the order in which they appear in the text, separating each with a line feed character.
Example:
Input
a@b.cde
Va$ya123@shmail.ru
Output
a@b.cde
@cursive turretis this a graded asignment
@misty sinew hai
how you doin'
hurrah
lol
wish I could do that
ah
I stopped the meds 7 years ago
'cuz of bad side effects
currently cramming for exam
well, the main side effect for me was to almost die of malnutrition
not really an option
ah yes
ice cream al italia
mmm yes
O_O
gonna be the new c++ huh
I kinda like oop tbh
as you may have seen from my code
yeah true
true
and what are you writing it in
ah
so another c wrapper basically
oh ok
wait
you're writing your own compiler?
that might get interesting
is the repo public
I'd be interested
sure
is typing dynamic
so you overwrite your types or smth?
I see
ah
J know rather little about generics
I see
it's a bit difficult for me to get a grasp on this coming from python
types were never a big consideration
lol
perhaps I should learn c++
or whatever that Java derivative is called which they write android apps in
kotlin yeah
jake still afk?
yep
alright
@random minnow https://en.cppreference.com/w/cpp/language/typedef
typedef enum
{
false = 0,
true = !false
} bool;
typename is other of the constructs that is used with templates to define new data types. 🙂
And typedef is C and a bit outdated.
@tardy ice you can screen share now
:incoming_envelope: :ok_hand: applied mute to @cursive turret until 2021-06-06 19:01 (9 minutes and 58 seconds) (reason: duplicates rule: sent 6 duplicated messages in 10s).
AL lib: (EE) alc_cleanup: 1 device not closed
UTF-8
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by org.lwjgl.LWJGLUtil$3 to method java.lang.ClassLoader.findLibrary(java.lang.String)
WARNING: Please consider reporting this to the maintainers of org.lwjgl.LWJGLUtil$3
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.
self.suivant = pygame.image.load("./Menu/suivant.png")
self.suivant = pygame.transform.scale(self.suivant, (50, 50))
translate all in English
get rid of all the self-overwriting attributes
Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.
insert some spaces
return coordinates[y%len(list_coo_x)][x%list_coo_x[y%len(list_coo_x)]]
try pycodestyle
or flake8
or black if you cba to fix it
@raven orbit @true valley
@sleek parrot where'd you go
An electret microphone is a type of electrostatic capacitor-based microphone, which eliminates the need for a polarizing power supply by using a permanently charged material.
An electret is a stable dielectric material with a permanently embedded static electric dipole moment (which, due to the high resistance and chemical stability of the mater...
What have you done, @raven orbit ?
deleted random files from a game I have installed
which were meant to make the game runnable on windows
I'm on linux
now the game runs faster for some reason
goodness knows why
You start it with wine or analog?
it's java
another minecraft clone? hehe
nope
OpenTTD is a business simulation game in which players try to earn money by transporting passengers and freight via road, rail, water and air. It is an open-source remake and expansion of the 1994 Chris Sawyer video game Transport Tycoon Deluxe.
OpenTTD duplicates most features of Transport Tycoon Deluxe and has many additions, including a range...
0 A.D. is a real-time strategy video game under development by Wildfire Games. It is a historical war and economy game focusing on the years between 500 BCE and 1 BCE, with the years between 1 CE and 500 CE planned to be developed in the future. The game is cross-platform; playable on Windows, macOS, Linux, FreeBSD, and OpenBSD. It is composed e...
it's looks cool
russian....
huh
so why have you got the settings in Dutch
it's from 2004
it's just screenshot from wiki
I have problems only with unknown people, maybe that's the reason why I haven't get an internship
para param
Introductory cartoon scene plus theme song of the movie of "The Pink Panther"
this
yep
right
hahaha
one night before the exam
hello, @slim swift
yeah, I need some messages to verify 🙂
Have somebody cocked a pistol?
there was a sound like "clck"
@winter crag it was a lighter
good smoking then
@misty sinew hello
hi
@sage cloud hello
working on a nextcloud serveur
for myself
can you repeat
nope
haha
sry
can you explain
wat it is
dot?
wat is the name of this algo
insertion sort
ok thx
ILOVEYOU, sometimes referred to as Love Bug or Love Letter for you, is a computer worm that infected over ten million Windows personal computers on and after 5 May 2000 when it started spreading as an email message with the subject line "ILOVEYOU" and the attachment "LOVE-LETTER-FOR-YOU.txt.vbs". The latter file extension ('vbs', a type of inter...
Hey @icy dirge!
It looks like you tried to attach file type(s) that we do not allow (.filenames). We currently allow the following file types: .gif, .jpg, .jpeg, .mov, .mp4, .mpg, .png, .mp3, .wav, .ogg, .webm, .webp, .flac, .m4a.
Feel free to ask in #community-meta if you think this is a mistake.
Hey @icy dirge!
Uh-oh! It looks like your message got zapped by our spam filter. We currently don't allow .txt attachments, so here are some tips to help you travel safely:
• If you attempted to send a message longer than 2000 characters, try shortening your message to fit within the character limit or use a pasting service (see below)
• If you tried to show someone your code, you can use codeblocks
(run !code-blocks in #bot-commands for more information) or use a pasting service like:
@upper dragon ssh root@127.0.0.1
@misty sinew Up?
hlo
Could you read regex?
so if i write it without it what would happen
This code will hust get out the @ as this
if the user enter 192.168.1.1 it will get it out like 192.168.1
Can I call privately? I cannot use the mic here
no prob
please share the code
import time
import os
import sys
import json
class GetFileNames():
def __init__(self, PlayerDatabasePath='PlayerDatabase'):
self.files = os.listdir(PlayerDatabasePath)
self.filenames = []
def getFileNames(self):
for file_name in self.files:
pureFileName = file_name.split(".", 1)
# 排除子目录、非word类型文件及隐藏文件("~"for MacOS,"." for Windows)。
if (len(pureFileName) == 1) or (pureFileName[1] != 'json'
or pureFileName[0][0] == "~" or pureFileName[0][0] == "."):
continue
self.filenames.append(pureFileName[0])
return self.filenames
class BankingFile:
def __init__(self, steam64ID_file, steam64ID):
self.steam64ID_file = './' + steam64ID + '.json'
self.steam64id = input("user:")
if self.steam64id in self.filenames:
continue
else:
return```
ok
Check to see if there is a relative file in the folder. If so, proceed. If not, return
for which sort of files u wanna make a check
json
self.steam64id = input("user:")
and this i don‘ know the line is right or wrong
so basically this line pureFileName = file_name.split(".", 1) gives list of file name and extension
yes
so u can pureFileName = file_name.split(".", 1)[0] will give u file name only not a list of file name and extension json
u are cared about extension in if statement so whynot u just take only filename only
Because I'm afraid of getting mixed up with other files
class GetFileNames():
def __init__(self, PlayerDatabasePath='PlayerDatabase'):
self.files = os.listdir(PlayerDatabasePath)
self.filenames = []
def getFileNames(self):
for file_name in self.files:
pureFileName = file_name.split(".", 1)[0]
# 排除子目录、非word类型文件及隐藏文件("~"for MacOS,"." for Windows)。
if (len(pureFileName) == 1) or pureFileName[0][0] == "~" or pureFileName[0][0] == ".":
continue
self.filenames.append(pureFileName)
return self.filenames
class BankingFile:
def __init__(self, steam64ID_file, steam64ID):
self.steam64ID_file = './' + steam64ID + '.json'
self.steam64id = input("user:")
if self.steam64id in self.filenames:
continue
else:
return
i mean this
self.files = os.listdir(PlayerDatabasePath)[0]```
oo i think i got u
add,this it will be check this folder at the beginning?
u can also use ```py
if os.path.splitext(filename)[1] == 'json:
continue
!voice
Voice verification
Can’t talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
hi i saw you ask this several times, but you've not hit the minimum message count of 50. to see what requirements you have or haven't met, go to the voice-verification channel linked above and type !voiceverify
also participating in normal conversation in channels throughout the server will help you get to the required message count, instead of spamming
@cursive turret You may also want to check any messages you've received from @coarse hearth in your DMs
@true valley wanna hop into a help channel so I can help you setup the project?
sure
do u write linux drivers @misty sinew
Oo
I was thinking of learning linux device drivers dev
That's why@sleek parrot recommended me this
interesting pathway if you are not bored by C and following specification.
Hmm
lol
channel switching channelflicking
yes
Anyone can help me in #help-chili
Nope, not on this server anyway. They typically violate YouTube's terms of service, so we steer clear of them
No reason to be sorry!
class py_parser : public mathparser{
public:
void _appendvariable(std::string name, double value){
double* heap_var = new double(value);
appendvariable(name, *heap_var);
}
};
void appendVariable(std::string name, double &value){
externalVariablesMap[name] = &value;
if (!inVector(name, externalVariables)) externalVariables.push_back(name);
}
[array, array, int]
type vector3d = [float float float]
[array [float float float] ]
type matrix2D = [array<array<int>> float];
define struct vector3d{
float x;
float y;
float z;
}
age: int = 18
!e python age: int = "Hemlock"
@elder wraith :warning: Your eval job has completed with return code 0.
[No output]
but it's not enforced
from typing import Callable
def long_str(s: str) -> bool:
return len(s) > 5
my_func: Callable[[str], bool] = long_str
do this
its good idea
combo
I still think it's a better idea to not have the on/off commands
Cracker or pretzel tube that's typically filled with cheese
I've never actually had that kind
@sleek parrot Preferred ways to store data
👍
!e
class Jake:
def __len__(self):
return -9999
print(len(Jake()))
@charred creek :x: Your eval job has completed with return code 1.
001 | Traceback (most recent call last):
002 | File "<string>", line 5, in <module>
003 | ValueError: __len__() should return >= 0

👏
You should generate random usernames by adding strings to each other
import random
Usernames = {
1:"ImInMyMumsCarBromBrom12",
2:"Potatoeater5126",
3:"Meowie54",
4:"Yourcat_exe12",
}
num1 = random.randint(1,4)
print(Usernames[num1])
@digital cradle, take a look at this: #voice-chat-text-0 message but don't just copy it, make sure you understand it
list
Exactly, you want a list of usernames. There is no need for a dict
!set
self
seek
!e
import random
usernames = {"ImInMyMumsCarBromBrom12", "Potatoeater5126", "Meowie54", "Yourcat_exe12"}
print(random.choice(usernames))```
@warped wind :x: Your eval job has completed with return code 1.
001 | Traceback (most recent call last):
002 | File "<string>", line 5, in <module>
003 | File "/usr/local/lib/python3.9/random.py", line 347, in choice
004 | return seq[self._randbelow(len(seq))]
005 | TypeError: 'set' object is not subscriptable
Use a list or tuple
!e
import random
usernames = ("ImInMyMumsCarBromBrom12", "Potatoeater5126", "Meowie54", "Yourcat_exe12")
print(random.choice(usernames))
@warped wind :white_check_mark: Your eval job has completed with return code 0.
Meowie54
!stream 689087720018280478 15min
Could not convert "duration" into Duration or ISODateTime.
15min is not a valid ISO-8601 datetime string
!stream <member> [duration]
Can also use: streaming
*Temporarily grant streaming permissions to a member for a given duration.
A unit of time should be appended to the duration.
Units (∗case-sensitive):
y - years
m - months∗
w - weeks
d - days
h - hours
M - minutes∗
s - seconds
Alternatively, an ISO 8601 timestamp can be provided for the duration.*
!stream 689087720018280478 15M
@digital cradle
✅ @digital cradle can now stream.
Question, which uses the least amount of memory, a tuple or a list?
Oh really?
And uppercase for classes
You're using []
You have to use ()
It's a function
You need to use ()
Not []
No need to pass a list in a list
Run code locally?
I think we can check with sys.getsizeof
Oh yeah I'll take a look real quick
!e
import sys
print(sys.getsizeof((1, 2)))
print(sys.getsizeof([1, 2]))```\
You were right
@warped wind :white_check_mark: Your eval job has completed with return code 0.
001 | 56
002 | 72
But, which one is faster to use...
depends on your usage
use tuple if the data will not be changed
and list otherwise
then there won't be confusion on which one to use
so you should never run into a problem of selecting between a tuple or list, it has to either one, not both
ah
you could start using tuples in place a lists where you know the data will not change in those collections
I'll think about it next time I create a list
Why does that look like a class to me
it does work like one
if we take the example from the docs
>>> # Basic example
>>> Point = namedtuple('Point', ['x', 'y'])
>>> p = Point(11, y=22) # instantiate with positional or keyword arguments
>>> p[0] + p[1] # indexable like the plain tuple (11, 22)
33
>>> x, y = p # unpack like a regular tuple
>>> x, y
(11, 22)
>>> p.x + p.y # fields also accessible by name
33
>>> p # readable __repr__ with a name=value style
Point(x=11, y=22)```
its same as
class Point:
def __init__(self, x, y):
self.x = x
self.y = y
Damn, this is cool! I wish I'd learned this ages ago
There are so many modules
Tip, use TAB
import random
usernames = [
"H3lloworld_",
"Meowie12",
"YourCat_exe",
"yourdog12",
"Meowieeeee12",
"BananaLov3r12",
"_PythonCoder_",
"CatLover12",
"_Cats52",
"Oops123_",
"Password1234",
"print(\"Hi\")",
"ProPlayer12",
"Hey1222",
"_CatsAREcute_",
"__init__(self)",
"Meow123",
"Doggo12",
"pingu12",
"Capitaine Iceman", # Iceman#6508 on discord
"Mr.Hemlock", # Mr. Hemlock#2740 on discord
"JakeyMonkey", # _jake#6143 on discord
"CatFood_12"
]
print(random.choice(usernames))
#Credit - Faty Caty#0717 on discord
I just noticed griff has a spinning pikachu on a chair

saves on computer
I'm gonna head to bed, cya tmw o/
DROP TABLE JAKIETABLE
UPDATE
config
SET
chan_1 = $1,
chan_2 = $2
WHERE
guild_id = $3
i cant talk because i have less than 50 messages
So please someone talk to me so that i can to those 50
Well we look at chat so feel free to join in on the conversation.
why is no one talking anymore
i see
Jake is a tiran
he is oppressing the system
We demand democracy
So magnets
How do they work?
that is annoying picture @night lake dude.
!e ```py
print(1)
@barren bear :white_check_mark: Your eval job has completed with return code 0.
1
Smarter Shopping, Better Living! Aliexpress.com
They control sensors, robots parts?
I mean you can make a fake one with a bunch of buttons
probably not very good though
@barren bear @shell brook Look at your life and see how you can use electronics to solve a problem
Eh maybe just build a robot car or something
@barren bear WTF
yeah can use servos and distance sensor
me when
head
head too large
cancer
terminal
i have terminal cancer
big head
huge head help help extreme pain
death
death aproaches oof ouch owie my head
@barren bear Go through a day of living and see how you can implement certain tech projects. The brain storm
@shell brook It something done in stages
have never used bluetooth, but I think some of them you can register the boards on a cloud platform and control it there?
I don't know whether your arduino has wifi capabilities though
Oh I didn't hear the first bit lol, yeah esp has wifi
If you make just to make it will slowly use its excitement but if you make something that solves a problem in your life it will mean so much more
@shell brook
lose
yes
Biggie
Yes
@shell brook Once I can talk in VC
I will talk with you if you want to
Anything that involves a sensor, or can be built on eletronic bits
50 messages
Yeah I can't talk in VC either, need to be here 3 days lol, only been for 2
@shell brook Yes you are on the right track.
Now is it practical?
You see the mindset you had @shell brook its like your a kid in a candy shop
possibilities are endless
It's just called Ring I think
@normal bane dont be a party pooper
lololol
yes personalize it to you customers needs
Nah just me spamming buttons lol
Ehh different people learn in different ways
self control app?
Also if you use chrome, maybe set up multiple accounts. Use one desktop only for work, and one only for leisure.
256KB.. that's a lot of RAM!
Yeah, mostly before computers and the internet the growth was much slower
Is this related to the Social Dillema?
It’s so funny when I hear people being so protective of ideas. People who want me to sign an NDA to tell me the simplest idea.
im looking
Add me as a friend lolol
Bro you sound like someone ive met before
Maybe u r him LOL
is ur name Nasir
Me
Hi, my name is Dagogo Altraide and I create and narrate all the videos on here.
This channel aims to let you experience the cutting edge of the world around us in a relaxed atmosphere.
Learn the captivating stories about how our world came to be and also learn what's happening in the cutting edge today.
--- New Thinking Book written by Dagogo A...
@misty sinew tbh, uni for CS isn't really good... In my experience it's way more theoretical than acc practical
Yea
its not what people think
I think Software engineering is A MUCH BETTER OPTION
MUCHHHHHHHHHH better
lol
@misty sinew College doesn't take money away???
scholarships
ey
😎
39851
168437
