#voice-chat-text-0
1 messages ยท Page 1038 of 1
sounds great!
I guess only light theme, unless you add extension theme for browser.
Integrate your service with Discord โ whether it's a bot or a game or whatever your wildest imagination can come up with.
The Mini Delta V2 is an update of the bestselling Mini Delta 3D Printer from Monopriceโข, the world's best selling brand in 3D printing. We've gathered customer suggestions and feedback since the original Mini Delta's release and are proud to offer a printer designed with those customers in mind. ...
buy cheap 3d printer for $100
print better 3d printer with cheap one
repeat
???
profit
i am writing a desktop application is there anyway to know a user is authenticated like using jwt for web based applications
There should be a header param for the authentication code, check the application API docs for more info
best advice ever
Jeffrey Lionel Dahmer (; May 21, 1960 โ November 28, 1994), also known as the Milwaukee Cannibal or the Milwaukee Monster, was an American serial killer and sex offender who committed the murder and dismemberment of seventeen men and boys between 1978 and 1991. Many of his later murders involved necrophilia, cannibalism, and the permanent preser...
The lagomorphs are the members of the taxonomic order Lagomorpha, of which there are two living families: the Leporidae (hares and rabbits) and the Ochotonidae (pikas). The name of the order is derived from the Ancient Greek lagos (ฮปฮฑฮณฯฯ, "hare") + morphฤ (ฮผฮฟฯฯฮฎ, "form").
There are 110 recent species of lagomorph of which 109 are extant, includ...
Kangaroo rats, small mostly nocturnal rodents of genus Dipodomys, are native to arid areas of western North America. The common name derives from their bipedal form. They hop in a manner similar to the much larger kangaroo, but developed this mode of locomotion independently, like several other clades of rodents (e.g. dipodids and hopping mice).
It's Jerry's fault.
Music: https://soundcloud.com/querflote/5-audio-track-1
Additional footage licensed from Pond 5
this is so cute #930555497071923210 now
hi
yo
i am writing a desktop application is there anyway to know a user is authenticated like using jwt for web based applications
i am writing a desktop application is there anyway to know a user is authenticated like using jwt for web based applications
Keasbey Nights by Streetlight Manifesto
@rugged tundra
So apparently it's a cover of a Catch 22 song
Sick
When I write desktop applications with a userbase, I use auth.gg for user authentication. It has its own pip API as well.
i need help
opal
my html image wont load
<!DOCTYPE html>
<html lang="eng">
<head>
<title>Image</title>
</head>
<body>
<img src="file:///C:/Users/####/OneDrive/Pictures/85246.jpg" alt="85246.jpg">
</body>
</html>
do u think u can help me opal
dangit
ive been searhing all day
ig ill try
class Solution {
public:
vector<int> twoSum(vector<int>& nums, int target) {
if(nums[] + nums[] = target)
{
return
}
}
};
@whole bear hey, can you post in here please
yes
_PyEval_EvalFrameDefault returned NULL without setting an error
the problem is the thing i am running this off of is obfuscated
and i cant edit the code
Can you post the full error/traceback?
What is on line 3?
Oh... What is CloudAim? Is this an aimbot?
!e py for letter in "abc": print(letter)
@somber heath :white_check_mark: Your eval job has completed with return code 0.
001 | a
002 | b
003 | c
Upon doing a quick Google search, this appears to be an aim bot. We do not provide help with cheating here.
oh myb
ill delete it, sorry
No worries. If you are interested in learning Python and have legit coding questions, please feel free to ask. Maybe give the #rules and #code-of-conduct a review ๐
I sure will : D
!e py if True: #Always triggers print("Hello") print("Bye")
@somber heath :white_check_mark: Your eval job has completed with return code 0.
001 | Hello
002 | Bye
import random
x=random.choice('head','tail')
print(x)
!e py for i in range(5): print(i)
@somber heath :white_check_mark: Your eval job has completed with return code 0.
001 | 0
002 | 1
003 | 2
004 | 3
005 | 4
!e py for i in range(5, 11): print(i)
@somber heath :white_check_mark: Your eval job has completed with return code 0.
001 | 5
002 | 6
003 | 7
004 | 8
005 | 9
006 | 10
!e py text = "abcd" result = len(text) print(result)
@somber heath :white_check_mark: Your eval job has completed with return code 0.
4
!e py text = "abcd" for i in range(len(text)): print(i)
@somber heath :white_check_mark: Your eval job has completed with return code 0.
001 | 0
002 | 1
003 | 2
004 | 3
!e py text = "abcd" print(text[0])
@somber heath :white_check_mark: Your eval job has completed with return code 0.
a
!e py text = "abcd" for i in range(len(text)): print(text[i])
@somber heath :white_check_mark: Your eval job has completed with return code 0.
001 | a
002 | b
003 | c
004 | d
!e py text = "abcd" for i in range(len(text)): print(i, text[i])
@somber heath :white_check_mark: Your eval job has completed with return code 0.
001 | 0 a
002 | 1 b
003 | 2 c
004 | 3 d
!e py for a in range(3): for b in range(3): print(a, b)
@somber heath :white_check_mark: Your eval job has completed with return code 0.
001 | 0 0
002 | 0 1
003 | 0 2
004 | 1 0
005 | 1 1
006 | 1 2
007 | 2 0
008 | 2 1
009 | 2 2
!e py text = "abc" for i, v in enumerate(text): print(i, v)
@somber heath :white_check_mark: Your eval job has completed with return code 0.
001 | 0 a
002 | 1 b
003 | 2 c
@autumn forge ๐
!voice
Voice verification
Canโt talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
Hi everyone
Hello!
But I do not have permission to speak .
The most importance in python is OOP. Do you have any suggestion for starting learning it?
I refer beginners to Corey Schafer's Youtube playlist for Python Beginners.
!e py text = "Hello!" result = text.upper() print(result)
@somber heath :white_check_mark: Your eval job has completed with return code 0.
HELLO!
thank for your sharing. Everything in python is object, Right ? in your example text is String built-in classes
๐
!d str
class str(object='')``````py
class str(object=b'', encoding='utf-8', errors='strict')```
Return a [string](https://docs.python.org/3/library/stdtypes.html#textseq) version of *object*. If *object* is not provided, returns the empty string. Otherwise, the behavior of `str()` depends on whether *encoding* or *errors* is given, as follows.
If neither *encoding* nor *errors* is given, `str(object)` returns [`type(object).__str__(object)`](https://docs.python.org/3/reference/datamodel.html#object.__str__ "object.__str__"), which is the โinformalโ or nicely printable string representation of *object*. For string objects, this is the string itself. If *object* does not have a [`__str__()`](https://docs.python.org/3/reference/datamodel.html#object.__str__ "object.__str__") method, then [`str()`](https://docs.python.org/3/library/stdtypes.html#str "str") falls back to returning [`repr(object)`](https://docs.python.org/3/library/functions.html#repr "repr").
!e py text = "abc" result = type(text) print(result)
@somber heath :white_check_mark: Your eval job has completed with return code 0.
<class 'str'>
๐
tks a lot
I hope i can contribute for sharing about technical while learning ๐
import socket
s = socket.socket()
print("Socket created")
s.bind(("localhost", 9999))
s.listen(3)
print("Waiting for connections")
while True:
c, addr = s.accept()
name = c.recv(1024).decode()
print("Connected with ", addr, name)
while True:
c.send(bytes(f"Hello, {name}, welcome to the world of coding", "utf-8"))
output = c.recv(1024).decode()
print(output)
if int(output) < 12:
print(f"Client {name} not eligible")
c.send(bytes("Folks it looks like your age is a bit lower than expected.", "utf-8"))
else:
print(f"Client {name} with age: {output} accepted")
c.send(bytes("Folks your age is enough to countinue."))
c.close()
Error:
Socket created
Waiting for connections
Connected with ('127.0.0.1', 52248) Vivek
Traceback (most recent call last):
File "C:\Users\Pytho\IdeaProjects\socks\server.py", line 19, in <module>
if int(output) < 12:
ValueError: invalid literal for int() with base 10: '\x00\x00\x00\x00\x00\x00\x00\x00\x00'
Client Side code
import socket
c = socket.socket()
command = ""
c.connect(("localhost", 9999))
name = input("Enter your name: ")
c.send(bytes(name, 'utf-8'))
print(c.recv(1024).decode())
age = int(input("Age: "))
c.send(bytes(age))
Corey Schafer, YouTuber. Playlist for Python Beginners.
wait what
are you saying somethign @somber heath
okay what is that
some animal >
?
okay
yea
i have it
your accent is bit hard for me
sorry
it's just accent man np
yea first one was better
haha
lol
๐
okay gotta go guys
cya
need to study haha
can i call you opal
you are funny man
so i finished something like Corey Schafer, i know the basic now and oops
right now i am trying to learn django and go projects in django
i am stuck with something dont know what to do next
its something like this
yes i wanna add something more but little confuse
also should i learn machine learning ?
like what
other things?
actually i dont know much bro i started this week only
haha
ok ok
i am good with maths
data science channel u said right?
hmmmm
thanks for help i will go study now
it was fun listening to you ๐
Hooroo
mate
haha
Hey
Nice to meet you sir
I wish to
I got type 50+
To accomplish
Voice verification
Me
I wish to talk
Yep
Hold on brb
Lingering.
can I talk to ya?
@somber heath baby
Please explain yourself.
Why did you say baby? Are you referring to a baby? A baby animal? Are you referring to me as baby? Are you calling me a baby?
no you asked a riddle in the voice chat so i answered it
and the answer is babay
What riddle?
I posed no riddle.
But very well. Though I'm curious as to what you thought the riddle was.
@lavish rover i will use this chat
ok
ok
ok
what is your ping
@timid mossfa
do you use
arduino
@lavish rover do you use arduino
do you use arduino @lavish rover
sorry
is this on your door to your room?
Asperger syndrome (AS), also known as Asperger's, was the name of a neurodevelopmental disorder no longer recognised as a diagnosis in itself, having been merged into autism spectrum disorder (ASD). It was characterized by significant difficulties in social interaction and nonverbal communication, along with restricted and repetitive patterns of...
bathroom
Asperger syndrome (AS), also known as Asperger's, was the name of a neurodevelopmental disorder no longer recognised as a diagnosis in itself, having been merged into autism spectrum disorder (ASD).
remove the whole thing and put it on your door
nein
y
bcuz bathroom
Is vegan chicken substitute called chicant?
no
hemlock just made the joke!
I missed it.
Past me was an asshole
O pal, mist the joke.
ALDI's
Aldis jokes are tiring me.
@rugged root https://www.youtube.com/watch?v=K6BRna4_bmg
what the hell
these fuckers glued this thing on the ceiling
.ipa = iphone application file
backronym:
best available comeback killing random online noobs, yo mama
Arbyโs and Old Spice are launching a collab of epic portions. To announce the meatiest, unsweatiest partnership of all time, weโve created an Arbyโs commercial thatโs an Old Spice commercial thatโs an Arbyโs commercial thatโs an Old Spice commercial thatโs an Arbyโs commercial. Did we mention itโs an Old Spice commercial?
Boba Confetti.
https://subslikescript.com/series/Through_the_Wormhole-1513168/season-1/episode-1-Is_There_a_Creator
Transcript for Tv Show Through the Wormhole - Season 1 Episode 1 - Is There a Creator?
Right?
@amber raptor how do you feel about web 5
web 2: runs on central servers
web 3: runs decentralized
web 4: runs only on iot devices
web 5: doesn't run at all
๐คฃ
Donโt care, we are on web 2 right now
don't think you'd be caring for a while now then meanwhile web 10 will come out
We are still on Web 2
Iโll care when itโs proven we have moved on.
@amber raptor what do you think about andrew yang
can somone please help me
i cant uplaod an image in html
<!DOCTYPE html>
<html lang="eng">
<head>
<title>Image</title>
</head>
<body>
<img src="file:///C:/Users/ghp/OneDrive/Pictures/85246.jpg" alt="85246.jpg"/>
</body>
</html>
can anyone let me know if i did something wrong
I dislike the person but some of his points are spot on.
His points about technology just removing jobs and not replacing them might be right.
If so, this is going to be bad.
the jpg directory is written wrong it look like this: C:\AMD\address\bigpp.jpg
more jobs should be made for replacing jobs. a person works 8 hrs. if machine can reduce jobs from one side then that 8 hr shift should e replaced with 2 ppl working 4 hrs each
so hw do i fix it
<img src="C:\Users\ghp\OneDrive\Pictures\85246.jpg" alt="85246.jpg/>
@sand lotus there just write the directory ( file address) in proper formate
yeah it was a formate mistake don't worry i recommend you just coppying it instead of typing it out
i mean the address
like from your own pc. ( i didn't mean you to coppy my text)
yeah... and what about his solution to that? how much would you agree with his counters
I'm overall in support of UBI. I'm not sure his method is best but I haven't really studied it deeply. I didn't get deep on Andrew Yang despite liking him because pie in sky candidates are interesting, I didn't get too invested. I only watched a few long form interviews he did. Rising interview, Joe Rogan interview and NPR interview.
I supported Bernie in primaries
same
bernie seems too hopeful in humanity
I agree but downside of primaries is you have to make a choice who best represents your views AND has a chance of winning. I might have supported Andrew Yang if Bernie wasn't available but he was.
very true
I thought cats walk themselves!
Mm. Very different to cats around here then.
Never had a cat.
We did have a visiting cat.
class Particle {
constructor(ctx, x, y, size) {
this.ctx = ctx;
this.x = x;
this.y = y;
this.size = size;
this.xVel = this.getRandomVelocity();
this.yVel = this.getRandomVelocity();
this.color = this.getRandomColor();
}
getRandomVelocity() {
let vel = Math.random() * 10 - 5;
(function () {
console.log("normal function");
console.log(this);
console.log("\n");
})();
(() => {
console.log("arrow function");
console.log(this);
console.log("\n");
})();
return vel !== 0 ? vel : this.getRandomVelocity();
}
}
I've had multiple
they are killer machines
our first one caught mosquitoes midair which was kinda practical
jumped up in the air and caught them in his paws
What if the arrow function is in a variable, and used in a different scope? Which this does it capture?
it will default to again the parent namespace which in the case of not being in a class would be the global one
which again for your browser is window and for node.js is global
Take care!
So this is determined when the arrow function is called, and not when it is defined?
Ah okay.
Good to know!
So it keeps a reference to the object.
Eeh..
Does it, like, error if you try?
Or just have no effects?
Adding edge cases to edge cases.
Just to make sure, you are are using Python, right?
Ah..
I think you have to special case 12 first before adding.
That might not pass the given examples
!e
for i in range(10):
print((i + 1) % 4)
@woeful salmon :white_check_mark: Your eval job has completed with return code 0.
001 | 1
002 | 2
003 | 3
004 | 0
005 | 1
006 | 2
007 | 3
008 | 0
009 | 1
010 | 2
why not? ๐ฎ
Sorry. Bluetooth headphone out of battery.
12PM would give 12+12, which mods to 0. But the question wants 12
^
Festivalis Baltijos Garsas 2008. Programeris atvaลพiavo iลก kito galo Lietuvos ir kalba apie savo gyvenimฤ .
Can you search for "3 demons through the looking glass"
Hi
QUIC from 2013
GRPC from 2015
HTTP/3 from 2018
GRPC = Go Read Pratchett, Charlie
^
ah, I knew I heard a ping ๐ I'm doing pretty good! how are you
@burnt rampart If you're wondering why you can't talk, check out the #voice-verification channel
That'll tell you what you need to know
Im trying to avoid vc0 chats I feel creepypasta vibes starting from this
ai creating cursed images that humans have never imagined before
ty
...
Look at the selected answer
Top left and middle right both have watermarks or signatures marked out
Strange
Send it to me
Hemlock some of those nuts you showed me are fleshy o.o
Well, given the input...
I think top right really fits it
when the picture is more vague its easier to fill it in in your head
Yep!
You tried CoffeeScript, rewrote it in TypeScript, then went back to vanilla JS. Now it's time for JJQuery, the new de facto Javascript standard for the web.
cute cat
A memory-mapped file is a segment of virtual memory that has been assigned a direct byte-for-byte correlation with some portion of a file or file-like resource. This resource is typically a file that is physically present on disk, but can also be a device, shared memory object, or other resource that the operating system can reference through a...
Linked list
zucc moment
Probably was planning layoffs, easy way to cut staff without the costs
@teal flower If you're talking, I can no longer hear you.
@somber heath can you help me with socket, I will send you the code: Server Code ```py
import socket
s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
print("Socket Created")
s.bind((socket.gethostname(), 1234))
s.listen(5)
print("Socket is now listening")
while True:
client_name, addr = s.accept()
questions = ["Name: ", "Age: ", "Country: "]
def send_message(message:str):
client_name.send(bytes(message, "utf-8"))
print(f"sent message to client: {client_name, addr}")
for question in questions:
send_message(question)
Client Code :
import socket
import time
c = socket.socket()
command = ""
c.connect((socket.gethostname(), 1234))
print("Connected successfully")
while True:
question = c.recv(20).decode()
I expect it too well say questions one by one
@somber heath perhaps I will do it myself like I used to before having discord.
yes the third option
class Hashtable:
def __init__(self):
self.max = 10
self.arr = [[] for i in range(self.max)]
def get_hash(self, keys):
sum = 0
for c in keys:
sum = sum + ord(c)
return (sum % self.max)
def __setitem__(self, key, val):
h = self.get_hash(key)
found = False
for index, element in enumerate(self.arr[h]):
if element[0] == key and len(element) == 2:
found = True
self.arr[h][index] = (key, val)
if not found:
self.arr[h].append( (key, val))
def __getitem__(self, key):
h = self.get_hash(key)
for i in self.arr[h]:
if i[0] == key:
return i[1]
return self.arr[h]
def __delitem__(self, key):
h = self.get_hash(key)
for index, element in enumerate(self.arr[h]):
if element[0] == key:
print(f"delete element in {index}")
del self.arr[h][index]
def avg_temp(self,firstdays,lastday):
total=0
try:
for i in range(firstdays,lastday):
total=total+self.arr[i][1]
except IndexError:
pass
avg=total/lastday-firstdays
return avg
def max_temp(self,firstday,lastday):
temp=0
max=0
for i in range(firstday,lastday):
if self.arr[i][1]>self.arr[i+1][1]:
max=self.arr[i][1]
# a=max(self.arr[firstday:lastday][1])
return max
filename='nyc_weather.csv'
f=Hashtable()
count=0
with open(filename,'r') as fileobj:
for line in fileobj:
try:
date,temp=line.split(',')
temp = int(temp)
except TypeError:
pass
except ValueError:
pass
else:
f.arr[count] = (date, temp)
count += 1
print(f.arr[0])
print(f.avg_temp(0, 7))
#print(f.max_temp(0, 10))
hello @somber heath
how are you
opal my debugger is not stopping on breakpoint
this one?
ok thanks for the direction
hy @somber heath
hello @somber heath
i am in library can't talk
need your help
are you familiar with Hashtable
i went but couldn't find any
ok give it a try
@somber heath
sorry thy this
*try
i want only temp to be printed
@somber heath
yes but the assignments are based on hash values
ok no problem
i think i am on my own today
๐ฉ
by @somber heath
take care
!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.
The legality of abortion in the United States is subject to individual state laws. In 1973, Roe v. Wade made the first abortion case to be taken to the Supreme Court, which had made it federally legal. In 1992, Roe was partially overturned by Planned Parenthood v. Casey, which stated that states cannot place legal restrictions posing an undue bu...
https://www.independent.co.uk/news/world/americas/premature-baby-curtis-means-birthday-b1958097.html
Hello
Hi Percy
Renowned Italian tenor Pavarotti (1935โ2007) sings the aria from the final act of Puccini's opera Turandot, live in concert with The Three Tenors in Los Angeles in 1994. Watch the full performance, newly available in digital video: https://w.lnk.to/The3TenorsLY
The Three Tenors (Josรฉ Carreras, Plรกcido Domingo, and Luciano Pavarotti) are joined ...
Download scientific diagram | 9. Vagus Nerve Stimulation [24].ย from publication: Design and Simulation of a Nerve Tracer System for Vagotomy Surgery | The vagus nerve is one of the most important nerves in the human body. It is associated with a plethora of functions one of them being acid secretion inside the stomach to aid in digestion. The c...
What happens in Vagus stays in Vagus.
How's Taiwan?
Food is awesome, however still in quarantine, won't be out till the 6th
at least you have good food in quarantine, that's something
Guwuafiks
.uwu graphics
gwaphics
gwafiks?
-1 points to prose
Molasses () is a viscous substance resulting from refining sugarcane or sugar beets into sugar. Molasses varies in the amount of sugar, method of extraction and age of the plant. Sugarcane molasses is primarily used to sweeten and flavour foods. Molasses is a major constituent of fine commercial brown sugar. It is also one of the primary ingredi...
opal keeping it ๐ฏ
?
ๅไบฌ้ฆๅฎไฟกๆฏๆๆฏๆ้ๅ ฌๅธ๏ผๆฏๅฝๅ ้ฆๅฎถ่ดๅไบๅฎๅ จ็ไบงไฟกๆฏๅ็ง็ ็ไบ่็ฝ+ไผไธ๏ผไธญๅ ณๆโๅฝๅฎถ่ชไธปๅๆฐ็คบ่ๅบๆ ธๅฟๅบโๆๅๅไฝ๏ผๅทฅไฟก้จไธคๅ่ๅ้็น็คบ่ไผไธใๆไปฌ่ดๅไบไธบๆฟๅบใไผไธใๅญๅบๆไพๅฎๅ จ็ไบงไฟกๆฏๅ็ณป็ปไบงๅๅๆๅก๏ผๆฅๆๆบๆณฐใไผๅฎ้ใๆๅจใๆฟๅฎไบ็ฝ็ญๅคไธช็ฅๅๅ็๏ผๅ ฑ่ทๅพ็้จ็บงๅฅ้กน11้กนใ่ช2009ๅนดไปฅๆฅ๏ผๆไปฌๅ ๅไธ100ไฝๅฎถไธญๅคฎไผไธใA่กไธๅธไผไธใๆฟๅบๅญๅบไปฅๅ1000ไฝๅฎถไธญๅฐไผไธ่ฟ่กไบๅไฝ๏ผๆๅๆกไพๆถๅ่ช็ฉบ่ชๅคฉใ่ฃ ๅคๅถ้ ใ็ณๆฒนใๆฐ็ใๆธฏๅฃ็ญๅคไธช่กไธ๏ผๅ ฌๅธๆฌ็โไฟกๆฏไผๅ็ฎก็ใ็งๆ้ธๅฐฑๅฎๅ จโ็็ๅฟต๏ผๆฟไธๆจ็ฒพ่ฏๅไฝ๏ผๅ ฑ่ตขๅฎๅ จใ
those look reasonable.
these are actually quite efficient
@midnight agate did you want to schedule time to go through the book?
hi there
Ctrl+shft+N opens a new window in VS
do you have the ability to set a schedule?
oh....
do u have an idea of cool coding project for a college portfolio?
in the terminal in vscode you can go to a directory and type the command code . to open a new workspace window in that directory
I know. I will try to keep up, if you want to do it everyday.
it is less of a cool kids club, and more of a place to wait until people with open mikes leave.
it could also be a cult.
serls
is this the one?
join back @zenith radish
Voice verification
Canโt talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
anyone here?
You need fifty messages and three days on the server.
i think it's been a year since i've been here
still not 50 messages
no i really don't have 50 messages on here
i haven't been on much
anyway you guys talk, i'll just listen
question
how do i get a job in one month
Are you a college student?
Just graduated or currently in-school?
Rising?
I doubt you can currently get an internship since it's the middle of summer.
just started my sophomore year
Try reaching out to professors or grad students regarding research opportunities.
yeah i applied on this one post on linked in
Or try finding a part-time internship.
Assuming you're in the US.
If you're in a pretty big uni, you should have a good amount of resources for research opportunities.
Try emailing grad students regarding possible projects they're doing and how you can contribute.
would it be a good idea to learn react and laravel during my break and apply for an internship or an entry level job in a month?
I'm scared >w<
You're currentlyin uni so I doubt they'd accept you for an entry position.
darn it
Unless you're taking a gap semester for a full time internship, stick to a part time one during the school year.
I'd assume you'd do a full-time internship during the summer.
okay okay part time
Are you located in the US or elsewhere?
I'm actually not in the US
Got it.
my break is only for a month
elsewhere
Paid research is a possibility as well.
If you have the skills, part-time internship shouldn't be an issue.
I don't know if i dooo
i get too distracted
Heck, if you know your basic data structures and programming conventions, you should be fine.
i did this one Facebook clone with php and mysql a year ago
Seems like a good project.
As long as you're willing to learn and you can show some results with past projects, you should be fine.
yayyy thank youuu... okay i'mma make them pity into submission
i am dedicated
passionate
and if you give me a chance, i will learn anything you need me to
does that sound too desperate?
bruh mannnn
I'm not sure if i remember correctly
but
umm
i think i heard you and someone else talking in a voice channel
yesterday
about python?
Prolly not me.
okay yeah prolly not
anyway what are you doing
can i be of any help to you?
are you learning any new technologies?
thanks a lot for talking bruh-man... I'm a lot closer to getting voice verified
woohoo
Eh, trying to.
Nah, it's nothing much.
my pc is almost certainly quieter than yours
happy now?
@lavish rover yo, question
so im doing a test on if my webpage is responsive to different resolutions
and
and how much inches does ur monitor have?
๐ inspect element
yeah
alright , thanks!!!
in india it's snack time aka evening
ayeah
helllo
how are you doing
not that good bhai
kya hua
trying to learn django in 2 days and do a invoice system tracking project haha
going crazzzzy here
bro you are done
but enjoying it
seriously in 2 days
maine bhi pichle tuesday hi start h
youtube
ohh nice keep it up bro
you also
chalo milte hae fir kabi back to django
@teal flower hello
@low basin we are doing fine
why is no one talking
I don't have a mic
no windows
ok
@wind raptor good
how about you
what did yo just ask
trying to make rocket fuel
on a small level
to fly rocket
why would you ask that

no
trying first
time
yep
from pvc
wine glass
i cut out the tip
yep
you can use it multiple times
6 years ago
tutorial
i'm going afk
i'll be back soon
@dark lotus In here. ๐
!voice
Voice verification
Canโt talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
i have no permission to unmute my mic
If McDonald's became a publishing company, would Apple sue?
"Introducing the McBook"
"LAWYER'D!"
@opal mulch Your auto quality sounds like it's suffering from network jitter or audio processing issues.
hi opal,mindful,programmer
oh
hehehehehe
web scrapping is cool
we scrapped our school exam paper that way last year :>
beautifulscoup and some danjo
p = process(["gdb","./otp"])
p.recvuntil("(gdb)")
p.sendline("break strncmp@plt")
p.recvuntil("(gdb)")
chars="0123456789abcdef"
sofar=""
for j in range (100):
for i in chars:
p.sendline("run "+sofar+i+"1"*(99-j))
p.recvuntil("(gdb")
p.sendline("x/s $rsi")
first=(p.recvuntil("(gdb)"))
p.sendline("x/s $rdi")
second=(p.recvuntil("(gdb)"))
if first [18+j]==second[18+j]:
sofar += i
print(sofar)
break```
this is the code
and the error is
if first [18+j]==second[18+j]: IndexError: index out of range [*] Stopped process '/usr/bin/gdb' (pid 17433)
on line 17 btw
if first [18+j]==second[18+j]:
aint that what i typed though
!rule 5
5. Do not provide or request help on projects that may break laws, breach terms of services, or are malicious or inappropriate.
@rugged tundra Craig is super cringey though
the man with the wig
XD
except for apple supposedly
@rugged tundra yeah but google's main source of revenue is ads whereas apple has built itself on the premis that it is a privacy first focused company
everyone in apple bald or what
question what editor do you guys use?
visal stupido code
studio*
visual*
I use vscode + vim emulation
y vim
cause its faster to edit with imo
than constantly having to go back and forth between mouse and key board
oh and i also use codeblocks for c and c++
yeah I use visual studio for c/c++ I hate it though
yeah but im kind of forced to use it since my company uses it
code it in codeblocks finish it. then coppy and past to vs code. no one gonna know
Voice verification
Canโt talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
you @wind raptor any chance you can hook me up with that voice verification XD?
yow*
Everyone has to pass the voice gate. Go to #voice-verification
ah i see
You have 18/50 msgs
guess i need to hit the message count
Please don't spam though
def q(spam):
print(", ".join(spam))
for i in range(len(spam)):
if i == len(spam) - 1:
print("and " + spam[i])
q(["moose", "dog", 'cat','mouse'])
Just talk in here
you are printing the list items joined by comma space and in you loop you are only handling the last item. what you want is maybe drop the print at the begining and just add an else
clause
in your for
def q(spam):
print("\'")
print(", ".join(spam))
for i in range(len(spam)):
if i == len(spam) - 1:
print("and " + spam[i])
print("\'.")
q(["moose", "dog", 'cat','mouse'])
you can drop the for loop all together
by subsetting your spam list
in your join
spam[:len(spam)-1]
my_list[1:7]
[:-1]
yep
but your implementation still uses a bit more memory than you need
you could simply print that
good job
print(", ".join(spam[:-1]) + " and " + spam[len(spam)- 1])
you could use -1
its a shorthand
no not really since the minus 1 thing can mess you up
and have some weird indexing issues
def q(spam):
print("\'")
print(", ".join(spam[:-1]) + " and " + spam[-1])
print("\'.")
q(["moose", "dog", 'cat','mouse'])```
It will still throw an error either way.
so you can just handle that case with an if guard
try is much slower
than if
around 200 times or so
if i remember correctly
def q(spam):
print(", ".join(spam[:-1]) + " and " + spam[-1])
if spam(len) < 0:
print("Your list has no values")
q([])
actually not sure about the 200 times thing would be interesting to do a quick bench on like 1 million elements to see
brb
!e
print(bool([1, 2, 3]))
print(bool([0]))
print(bool([]))
@wind raptor :white_check_mark: Your eval job has completed with return code 0.
001 | True
002 | True
003 | False
?
The truth value of an empty list is False
Oh
Wait
I did it
look
def q(spam):
if len(spam) < 1:
print("Your list has no values")
else:
print(", ".join(spam[:-1]) + " and " + spam[-1])
q([])
actually it could
using a for loop
nothing
thats the point
it also teaches you more instead of over reliance on python functions
What does it want for a list with one item?
!e ```py
def q(spam):
if len(spam) < 1:
print("Your list has no values")
else:
print(", ".join(spam[:-1]) + " and " + spam[-1])
q([1])
you could probably clean this up with f-string
def q(spam):
if spam:
print(f"\'{', '.join(spam[:-1])} and {spam[-1]}\'.")
else:
print("Your list has no values")
hu
pps running the bench on the try vs if
!e
def q(spam):
if spam:
print(f"\'{', '.join(spam[:-1])} and {spam[-1]}\'.")
else:
print("Your list has no values")
q([])
q(["Apple", "Pineapple"])
q(["Apple", "Pineapple", "Blueberry"])
@terse needle :white_check_mark: Your eval job has completed with return code 0.
001 | Your list has no values
002 | 'Apple and Pineapple'.
003 | 'Apple, Pineapple and Blueberry'.
also never realized until now how long it takes for you to send 50 messages
!e assert None
@terse needle :x: Your eval job has completed with return code 1.
001 | Traceback (most recent call last):
002 | File "<string>", line 1, in <module>
003 | AssertionError
def q(spam):
if spam:
print(f"\'{', '.join(spam[:-1])} and {spam[-1]}\'.")
else:
print("Your list has no values")
q([])```
btw it isn't good practice to name your function single letter names or your variables for that matter
you should use descritptive names
so def commaCode(inputList):
!e
def q(spam):
if len(spam) == 0:
print("Your list has no values")
return
print("\'", end="")
if len(spam) > 1:
print(f"{', '.join(spam[:-1])} and ", end="")
print(f"{spam[-1]}\'.")
q([])
q(["Apple"])
q(["Apple", "Pineapple"])
q(["Apple", "Pineapple", "Blueberry"])
@terse needle :white_check_mark: Your eval job has completed with return code 0.
001 | Your list has no values
002 | 'Apple'.
003 | 'Apple and Pineapple'.
004 | 'Apple, Pineapple and Blueberry'.
An assessment of the performance of several methods of string concatenation in the Python progamming language.
!e
def q(spam):
buffer = "\'"
if len(spam) > 1:
buffer += f"{', '.join(spam[:-1])} and "
if spam:
buffer += f"{spam[-1]}\'."
if len(spam) == 0:
buffer = "Your list has no values"
print(buffer)
q([])
q(["Apple"])
q(["Apple", "Pineapple"])
q(["Apple", "Pineapple", "Blueberry"])
@terse needle :white_check_mark: Your eval job has completed with return code 0.
001 | Your list has no values
002 | 'Apple'.
003 | 'Apple and Pineapple'.
004 | 'Apple, Pineapple and Blueberry'.
@terse needle backend ? go : javascript
ty for the help
for a backend either go or js yeah
go is just as easy but much faster so i'm now almost always using go
!e
def q(spam: list):
if spam:
print(f'{", ".join(map(str, spam[:-1]))}{" and " if len(spam) > 1 else ""}{spam[-1]}')
else:
print("N/A")
q([])
q(["apple"])
q(["apple", "banana"])
q(["apple", "banana", "cherry"])
q([1])
q([1, 2])
q([1, 2, 3])
@wind raptor :white_check_mark: Your eval job has completed with return code 0.
001 | N/A
002 | apple
003 | apple and banana
004 | apple, banana and cherry
005 | 1
006 | 1 and 2
007 | 1, 2 and 3
either golang with gin or nest.js with javascript
would a list comp be more pythonic
I prefer the map here
Hmm, not sure here
I wish python have good lambdas and nice maps
I don't mind python's. I like them better than JS's
so much worse than rusts
Ahh
clojures in rust are so neet too
let my_lambda = |x| x + 1;
is the same as
my_lambda = lambda x: x + 1
i prefer javascript syntax over either of them as map is supposed to be for functional programming and simple and that's what the js version is
look how clean the first one it
I would prefer lambda calc lambdas though \x. x + 1
const my_lambda = (x) => x + 1
js
better than python imo
agreed
worse than rust
wanna see c# btw? ๐ (x) => x + 1
lol no its not that
there
its same as javascript
also for either the () around the x are optional
they're not awful but you have to curry them I think
good
anyone up for some typeracer
?
i still like to have it as to my brain its easier to see oh that's a parameter list
maybe I am crazy biased to rust
you know what
js and c# are fine
ocaml is nice too fun x y -> x + y
also i don't think there's any currying involved
\x.\y. x
๐ข ??
I said true in curried lambda calc
ah lol i thought that was another esoteric language
anyways btw this is alternate syntax in javascript
const myLambda = function(x) { return x + 1 }
you can even do classes
const myClass = class { ... }
https://www.google.com/search?rlz=1C1ONGR_enUS994US994&tbs=lf:1,lf_ui:1&tbm=lcl&sxsrf=ALiCzsbtDFwVvhdRevLzu3oCmJRgcnCSrg:1656860900272&q=taiwan+night+market&rflfq=1&num=10&sa=X&ved=2ahUKEwjjopzr_9z4AhU1UPUHHevPAY4QjGp6BAgJEAE&biw=1410&bih=670&dpr=1.5#rlfi=hd:;si:;mv:[[25.1364977,121.76989669999999],[24.982426099999998,121.2797436]];tbs:lrf:!1m4!1u3!2m2!3m1!1e1!1m4!1u2!2m2!2m1!1e1!2m1!1e2!2m1!1e3!3sIAE,lf:1,lf_ui:1
Surely you can ask hemlock to disable them except for in #off-topic-lounge-text
@rugged tundra >-> btw i use doom emacs
i don't think i promote it at all
i do help people who wanna use it get it
but don't go on promoting it without reason
the cult shall grow passively 
yeah, doom emacs supremacy
to be fair i'm not fully dedicated to it yet xD i switch back and forth between neovim and doom emacs depending on how big the project i'm working on is
EXACTLY
@peak copperhttps://ms-paint-i.de/
echo {code} >> code.ext is the best ide
"It looks like you are in Pain[...]"
"Planned Features
MS Paint IDE is rapidly growing, with many planned features along the way. The following are just a few of the planned features for the IDE.
Gradle/maven support
Improving PaintInjector to provide with an image modification API
Live debugging with line highlights from MS Paint
Autocompletition
Auto updater/checker
Acquire JetBrains"
Gaming Market is poised to grow at CAGR of 8.92% by 2027. Factors driving Gaming Market are rising internet connectivity, increasing adoption of smartphones, and the advent of high bandwidth network connectivity.
got a bounce see ya
@molten pewter Actually i change my answer
my prefered language is the one that gets a particular job done fast but robust way
which for me usually ends up being typescript and golang
Hi VC0
one thing i hate in windows is the user management system
personally I hate smudges
and dead flies
ah
but hi!
hiya
i am currently working out pylint
aha
pylint Attempted relative import beyond top-level package Pylint (E0402:relative-beyond-top-level)
even though the import works just fine
soooo i'ma just ignore this error in the settings
that's always the easiest solution
i kinda hate it
but
if pycharm isn't yelling at me
i think vscode should not be allowed to :P
it's not that this time
i've disabled this specific error, but this is my proj structure
I see no great weirdnesses
if answerNumber == 1:
return 'It is certain'
elif answerNumber == 2:
return 'It is decidedly so'
elif answerNumber == 3:
return 'Yes'
elif answerNumber == 4:
return 'Reply hazy try again'
elif answerNumber == 5:
return 'Ask again later'
elif answerNumber == 6:
return 'Concentrate and ask again'
elif answerNumber == 7:
return 'My reply is no'
elif answerNumber == 8:
return 'Outlook not so good'
elif answerNumber == 9:
return 'Very doubtful'
@errant sand we can't talk in a voice chat ???
!kindling
Kindling Projects
The Kindling projects page on Ned Batchelder's website contains a list of projects and ideas programmers can tackle to build their skills and knowledge.
so
- create a Human class that creates a dict human and gives it an address, phone number, profession, and a random RFP
- create the classes Woman and Man, respectively, inherited from the Human class, which should add the first name, last name to human
3 the Human class must have a show_info method that will display all the information in a readable form. Important! the show_info method should not throw an error, no matter where and when I use it
The readable view is something like
Name: ...
Address: ....
I only start to work with OOP and donโt know any thinks how to do
So maybe u can help ?
@restive cliff u help ?
Yea
Also all of info like adress and other
U can take from Faker
It must be done before 15:50
Plssss
20 minutes
Now
That all, i donโt know more what to do
Yes
class A:
pass
class B(A):
pass```
!class
Classes
Classes are used to create objects that have specific behavior.
Every object in python has a class, including lists, dictionaries and even numbers. Using a class to group code and data like this is the foundation of Object Oriented Programming. Classes allow you to expose a simple, consistent interface while hiding the more complicated details. This simplifies the rest of your program and makes it easier to separately maintain and debug each component.
Here is an example class:
class Foo:
def __init__(self, somedata):
self.my_attrib = somedata
def show(self):
print(self.my_attrib)
To use a class, you need to instantiate it. The following creates a new object named bar, with Foo as its class.
bar = Foo('data')
bar.show()
We can access any of Foo's methods via bar.my_method(), and access any of bars data via bar.my_attribute.
from faker import Faker
fake = Faker('uk_UA')
class Human:
def init(self):
self.human = {}
self.human['ะฐะดัะตั'] = fake.address()
self.human['ัะตะปะตัะพะฝ'] = fake.phone_number()
self.human['ะฟัะพัะตััะธั'] = fake.job()
self.human['ะะ'] = fake.random_int(500, 100000)
Man.mname()
Woman.wname()
def show_info():
class Man(Human):
def mname(self):
self.human['ะ.ะะผั'] = fake.first_name_male()
self.human['ะ.ะคะฐะผะธะปะธั'] = fake.last_name_male()
class Woman(Human):
def wname(self):
self.human['ะ.ะะผั'] = fake.first_name_female()
self.human['ะ.ะคะฐะผะธะปะธั'] = fake.last_name_female()
@somber heath @restive cliff
I donโt know what I may to put in show_info
How to print dict
I donโt understand some of u say, Iโm from Ukraine
Okay
and put it in show_info
it's a keyword
async def foo():
await asyncio.sleep(5)
print("hello after 5 seconds")
?
like what does it do
this looks like a function that says hello after 5 seconds
is there a difference between a function as asnyc function?
async*
yes
synchronous and asynchronous functions are different stuff
but i dont understand what makes them different
when you started saying what is self
first you need to understand what synchronous is and what asynchronous is
@restive cliff I do that thank
How can I print dict and some of keys on new line ?
print(dict.keys()) ?
!e ```py
#The meaning of self
class MyClass:
def find_self(self):
return self
mc = MyClass()
print(mc)
print(mc.find_self())```
@somber heath :white_check_mark: Your eval job has completed with return code 0.
001 | <__main__.MyClass object at 0x7efcb8f01c30>
002 | <__main__.MyClass object at 0x7efcb8f01c30>
No
On new line !
So standard text only add /n
Were I to create another instance
mc2 = MyClass()
print(mc2)
print(mc2.find_self())``` would print a different address.
My Programm Print like this :
Name: Alex, Female: Depp, Adress: Mayami โฆ
But I want
Like this
Name: Alex,
Female: Depp,
Adress: mayami
ohh
How ?
You can do multiline f-strings.
print(f"{i}: {dict[i]}")```
!e py name = "Alex" age = 18 food = "apples" result = f"""Name: {name} Age: {age} Food: {food}""" print(result)
@somber heath :white_check_mark: Your eval job has completed with return code 0.
001 | Name: Alex
002 | Age: 18
003 | Food: apples
!e
code
!eval <code, ...>
Can also use: e
*Run Python code and get the results.
This command supports multiple lines of code, including code wrapped inside a formatted code block. Code can be re-evaluated by editing the original message within 10 seconds and clicking the reaction that subsequently appears.
If multiple codeblocks are in a message, all of them will be joined and evaluated, ignoring the text outside of them.
We've done our best to make this sandboxed, but do let us know if you manage to find an issue with it!*
"Female": "Depp",
"Address": "mayami"
}
for i in dict:
print(f"{i}: {dict[i]}")```
Though docstrings (multilines) can be awkward to do this with in functions.
@ebon cradle There's quite a bit of background noise coming through your mic. Can you adjust your sensitivity, enable Krisp noise suppression or use push to talk please.
!e```py
import time
time.sleep(5)
print("done")
Set up IMAP and change your SMTP settings to read Gmail messages in other email clients, such as Microsoft Outlook and Apple Mail. When you use IMAP, you can read your Gmail messages on multiple devic
@lavish rover they did get rid of it
you now need to use their api
they're just trying to make people use their api
check this gist
https://gist.github.com/greyblue9/08a3fc48700f821a0d21273cbddb2af0
for SMTP