#voice-chat-text-0
1 messages Β· Page 946 of 1
you would think they would have a fix for it by now π¦
my ears
def nomeserver(update, id):
print(id)
id.edit_text(text="aasfafsaf")
nome = update.message.text
if "https://" in nome.lower() or "@" in nome:
update.message.reply_text("β Caratteri non consentiti!")
return NOME
else:
update.message.reply_text("1")
return PROVA
def button(update, context):
query = update.callback_query
query.answer()
choice = query.data
if choice == "server":
keyboard = [
[InlineKeyboardButton("β Annulla", callback_data='annulla'),
InlineKeyboardButton("β‘οΈ Avanti", callback_data='ciao')]]
reply_markup = InlineKeyboardMarkup(keyboard)
query.edit_message_text(text="*1*",parse_mode=telegram.ParseMode.MARKDOWN, reply_markup=reply_markup)
if choice == "ciao":
keyboard = [
[InlineKeyboardButton("β Annulla", callback_data='annulla'),
InlineKeyboardButton("β‘οΈ Avanti", callback_data='ciao')]]
reply_markup = InlineKeyboardMarkup(keyboard)
id = query.edit_message_text(text="*done*",parse_mode=telegram.ParseMode.MARKDOWN, reply_markup=reply_markup)
return NOME
AttributeError: 'CallbackContext' object has no attribute 'edit_text'
C:\Users\Stefano\AppData\Local\Programs\Python\Python39\lib\site-packages\telegram\ext\conversationhandler.py:287: UserWarning: If 'per_message=False', 'CallbackQueryHandler' will not be tracked for every message.
warnings.warn(
2021-12-15 18:59:45,629 - apscheduler.scheduler - INFO - Scheduler started
<telegram.ext.callbackcontext.CallbackContext object at 0x00000258930A64A0>
2021-12-15 18:59:53,466 - telegram.ext.dispatcher - ERROR - No error handlers are registered, logging exception.
Traceback (most recent call last):
File "C:\Users\Stefano\AppData\Local\Programs\Python\Python39\lib\site-packages\telegram\ext\dispatcher.py", line 555, in process_update
handler.handle_update(update, self, check, context)
File "C:\Users\Stefano\AppData\Local\Programs\Python\Python39\lib\site-packages\telegram\ext\conversationhandler.py", line 626, in handle_update
new_state = handler.handle_update(update, dispatcher, check_result, context)
File "C:\Users\Stefano\AppData\Local\Programs\Python\Python39\lib\site-packages\telegram\ext\handler.py", line 198, in handle_update
return self.callback(update, context)
File "c:\Users\Stefano\Desktop\Files\nuovo\main.py", line 47, in nomeserver
id.edit_text(text="aasfafsaf")
AttributeError: 'CallbackContext' object has no attribute 'edit_text'
May be. I was throwing a random r2l joke into the dark.
ekoj doog a saw ti thguoht I
he called you a relux?
!ti tog nosrep eno tsael tA |uoy knahT
?tahc ni secnetnes driew eseht era tahW
racecar
they own the company and pay themself with shares >:)
someone had to be
big sadge
I laughed π¦
fun fact - "bit" is a portmanteau for "binary digit"
@rugged root https://github.com/apache/logging-log4j2
yes
me
I DO
how does it taste?
@alpine path wdym by expensive?
it takes too much time?
π i'm gonna go sleep now goodnight
thx for explaining
somebody is here ??
:incoming_envelope: :ok_hand: applied mute to @whole bear until <t:1639607507:f> (9 minutes and 59 seconds) (reason: mentions rule: sent 6 mentions in 10s).
:incoming_envelope: :ok_hand: pardoned infraction mute for @whole bear.
lmfao
@terse needle https://www.mcmillen.dev/sigbovik/2019.pdf
lol has KJ harvested every ella pic there is
brainfuck#
enterprise level OOP
interpreter.py line 5
from typing import *```
lmao
roasted
elif tokens[cursor] == "<":
pointer -= 1
to
pointer -= tokens[cursor] == "<"
!e print(True - 2)
@strong arch :white_check_mark: Your eval job has completed with return code 0.
-1
@whole bear do you know why those gifs were deleted?
p -= t[c] == "<"
yeah i'm just making sure you know why
im just going through post from fisher that have an image
I dont save this shit on my pc
smallest bf interpreter
a=__import__("sys");b=__import__("os");b.system("bf {a.argv[1]}")
where bf is the bf binary
you guys know some site like leetcode, but free? just for practicing?
codewars?
@terse needle https://www.codewars.com/kata/58b617f15705ae68cc0000a9
The UK gets to keep DST?
from the way the site looks, I thought it was paid content...
thanks!
Im gonna have a look
this one is the highest tier
ignore this
I usually do rank 8-7
yeap, I saw it
good good
I work whit database administration
and know its time to improve my knowledge hehe
thanks mate
np, gl
make files aren't so hard
CXX_SRC = ./source/*.cpp
CXX_FLAGS = -lraylib -lGL -lm -pthread -ldl -std=c++20
CXX_COMPILER = g++
DEST = test_build
BINARY = tetris
all: compile
compile:
mkdir -p ${DEST}
${CXX_COMPILER} ${CXX_SRC} ${CXX_FLAGS} -o ${DEST}/${BINARY}
wait wait
pΓ₯ en / pΓ₯ ett

where u put this letter
β
StΓΈd
fita
Welcome to IDEA, the internet's best source for primary-source recordings of English-language dialects and accents as heard around the world.
!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.
!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.
!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.
Given an array of integers nums and an integer target, return indices of the two numbers such that they add up to target.
You may assume that each input would have exactly one solution, and you may not use the same element twice.
You can return the answer in any order.
Example 1:
Input: nums = [2,7,11,15], target = 9
Output: [0,1]
Output: Because nums[0] + nums[1] == 9, we return [0, 1].
Example 2:
Input: nums = [3,2,4], target = 6
Output: [1,2]
Example 3:
Input: nums = [3,3], target = 6
Output: [0,1]
Constraints:
2 <= nums.length <= 104
-109 <= nums[i] <= 109
-109 <= target <= 109
Only one valid answer exists.
def __init__(self, nums, target):
self.nums = nums
self.target = target
def twoSum(self, nums):
for i in range(len(nums)):
if nums[i] + nums[i+1] == target:
return nums[i], nums[i+1]
if __name__ == "__main__":
nums = [2,7,11,15]
target = 9
print(Solution.twoSum(nums,target))```
!d enumerate
enumerate(iterable, start=0)```
Return an enumerate object. *iterable* must be a sequence, an [iterator](https://docs.python.org/3/glossary.html#term-iterator), or some other object which supports iteration. The [`__next__()`](https://docs.python.org/3/library/stdtypes.html#iterator.__next__ "iterator.__next__") method of the iterator returned by [`enumerate()`](https://docs.python.org/3/library/functions.html#enumerate "enumerate") returns a tuple containing a count (from *start* which defaults to 0) and the values obtained from iterating over *iterable*.
```py
>>> seasons = ['Spring', 'Summer', 'Fall', 'Winter']
>>> list(enumerate(seasons))
[(0, 'Spring'), (1, 'Summer'), (2, 'Fall'), (3, 'Winter')]
>>> list(enumerate(seasons, start=1))
[(1, 'Spring'), (2, 'Summer'), (3, 'Fall'), (4, 'Winter')]
``` Equivalent to...
!e py text = "apple" for i in range(len(text)): print(text[i+1])
@somber heath :x: Your eval job has completed with return code 1.
001 | p
002 | p
003 | l
004 | e
005 | Traceback (most recent call last):
006 | File "<string>", line 3, in <module>
007 | IndexError: string index out of range
!e py for i in range(10): if i == 5: continue 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
006 | 6
007 | 7
008 | 8
009 | 9
!e py things = ["a", "b", "c"] for i, v in enumerate(things): 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
!e py for a in "abc": for b in (1, 2, 3): print(a,b)
@somber heath :white_check_mark: Your eval job has completed with return code 0.
001 | a 1
002 | a 2
003 | a 3
004 | b 1
005 | b 2
006 | b 3
007 | c 1
008 | c 2
009 | c 3
!e py nums = 1, 2, 3 for a in nums: for b in nums: print(a, b)
@somber heath :white_check_mark: Your eval job has completed with return code 0.
001 | 1 1
002 | 1 2
003 | 1 3
004 | 2 1
005 | 2 2
006 | 2 3
007 | 3 1
008 | 3 2
009 | 3 3
!e py a, b = (1,2) print(a) print(b)
@somber heath :white_check_mark: Your eval job has completed with return code 0.
001 | 1
002 | 2
class Solution:
def __init__(self, nums, target):
self.nums = nums
self.target = target
def twoSum(self, nums):
for i, v in enumerate(nums):
for f, n in enumerate(nums):
if __name__ == "__main__":
nums = [2,7,11,15]
target = 9
print(Solution.twoSum(nums,target)) ```
for a, i in enumerate(nums):
for e, i in enumerate(nums):
ai, a
bi, b
!e py nums = 2, 7, 11, 15 for ai, a in enumerate(nums): for bi, b in enumerate(nums): print(f"{ai = }, {a= }, {bi = }, {b = }")
@somber heath :white_check_mark: Your eval job has completed with return code 0.
001 | ai = 0, a= 2, bi = 0, b = 2
002 | ai = 0, a= 2, bi = 1, b = 7
003 | ai = 0, a= 2, bi = 2, b = 11
004 | ai = 0, a= 2, bi = 3, b = 15
005 | ai = 1, a= 7, bi = 0, b = 2
006 | ai = 1, a= 7, bi = 1, b = 7
007 | ai = 1, a= 7, bi = 2, b = 11
008 | ai = 1, a= 7, bi = 3, b = 15
009 | ai = 2, a= 11, bi = 0, b = 2
010 | ai = 2, a= 11, bi = 1, b = 7
011 | ai = 2, a= 11, bi = 2, b = 11
... (truncated - too many lines)
Full output: https://paste.pythondiscord.com/unegateyeq.txt?noredirect
def __init__(self, nums, target):
self.nums = nums
self.target = target
def twoSum(self, nums):
for ai, a in enumerate(nums):
for bi, b in enumerate(nums):
if ai == bi:
continue
elif a == b:
continue
elif a + b == target:
return [ai, bi]
if __name__ == "__main__":
nums = [2,7,11,15]
target = 9
print(Solution.twoSum(nums,target))```
class Solution:
def __init__(self, nums, target):
self.nums = nums
self.target = target
def twoSum(nums, target):
for ai, a in enumerate(nums):
for bi, b in enumerate(nums):
if ai == bi:
continue
elif a + b == target:
return [ai, bi]
if __name__ == "__main__":
nums = [2,7,11,15]
target = 9
print(Solution.twoSum(nums,target))```
!e ```py
def two_sum(nums, target):
for ai, a in enumerate(nums):
for bi, b in enumerate(nums):
if ai == bi:
continue
elif a + b == target:
return [ai, bi]
if name == "main":
nums = [2,7,11,15]
target = 9
print(two_sum(nums,target))```
@somber heath :white_check_mark: Your eval job has completed with return code 0.
[0, 1]
!server
import subprocess
tsharkCall = [r"C:\Program Files\Wireshark\tshark.exe", "-a", "duration:2", "-i", "2"]
tsharkProc = subprocess.Popen(tsharkCall,
bufsize=0,
shell=True,
stdout=subprocess.PIPE,
stderr=subprocess.PIPE,
stdin=subprocess.PIPE)
print(tsharkProc.communicate()[1].decode('utf-8', errors='replace'))
2x8 GB DDR3L-1600
Core i7-4790K, 4,0 GHz (4,4 GHz Turbo Boost) socket 1150 processor
Mugen 4 PCGH Edition cooler
Z97S SLI Krait Edition, socket 1150 mobo
Zalman ZM400B-APS 400W PSU
no
Cardboard retains too much heat
needs more leds.
is ur cooler blocking ram slots?

and the ram does fit underneath it, you only need to take off the fan to insert the ram
"who cares about the architecture"
just use a toaster
@gentle flint what graphics card did ur wifes boyfriend give you?
which gpu was it?
she's a friend of mine
they were
GT210
GT740
HD7850
I'm currently using the GT740 because my current psu didn't support the HD7850
but now with the newer PC I'll try the HD7850
Giant columns of fire shooting into the clouds...
From Toms hardware, around 2005, this video is very old.
What happens when a CPU heatsink is removed.
That's a spicy meatball.
overcooked
Computational gastronomy.
looks good
by noodle
any idea i cant add my modules in vs code although i have downloaded the packages
@gentle flint
@trail mural
it wont let you import?
yeah it says there's no any module
by pip from cmd and also tried from terminal
windows
@gentle flint Increase mic gain a touch, maybe?
Try: py -m pip install <package here>
....
Friday for me.
g'evening
Import "youtube_dl" could not be resolvedPylance
!ytdl
Per Python Discord's Rule 5, we are unable to assist with questions related to youtube-dl, pytube, or other YouTube video downloaders, as their usage violates YouTube's Terms of Service.
For reference, this usage is covered by the following clauses in YouTube's TOS, as of 2021-03-17:
The following restrictions apply to your use of the Service. You are not allowed to:
1. access, reproduce, download, distribute, transmit, broadcast, display, sell, license, alter, modify or otherwise use any part of the Service or any Content except: (a) as specifically permitted by the Service; (b) with prior written permission from YouTube and, if applicable, the respective rights holders; or (c) as permitted by applicable law;
3. access the Service using any automated means (such as robots, botnets or scrapers) except: (a) in the case of public search engines, in accordance with YouTubeβs robots.txt file; (b) with YouTubeβs prior written permission; or (c) as permitted by applicable law;
9. use the Service to view or listen to Content other than for personal, non-commercial use (for example, you may not publicly screen videos or stream music from the Service)
Looks like a catalytic converter.
Two factor is too hard
cries in small business
In a city as old as Philadelphia, construction crews are bound to occasionally stumble on something of historical interest when they begin digging. Such was the case in early May when workers replacing a water line along the 900 block of Spruce Street encountered what appeared to be buried tree trunks. An alert passerby realized [β¦]
Actually - I have a question
Due to compliance issues, most employees can't have personal cell phones in the building
I was considering trying yubikeys for them
Would there be any issues with only having them?
What happens when an employee loses theirs?
Can the key be deleted from the AAD admin portal?
Backup keys?
Who has the budget for backup keys?
I don't necessarily need super duper security
I just need something without a screen that will pass a safety audit
Google has Titan
I bought Titan first, because I was starting with Google accounts
Turns out Titan doesn't support [whatever the main standard is called], so it can pretty much only be used with Google accounts theses days
Physical safety audit not digital safety audit*
They don't want anyone hit by a forklift while walking and texting
I just want to be able to enforce MFA
Yubikeys are looking pretty nice, most employees stay at the same computer for the entire day, so they could just leave them plugged in
Sounds nice
Now to convince purchasing
Who has the budget for SSO?
!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("Sup, dawg?")
@rugged root :white_check_mark: Your eval job has completed with return code 0.
Sup, dawg?
!eval
!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.
We've done our best to make this sandboxed, but do let us know if you manage to find an issue with it!*
See instructions for eval here
!e
spam = "ham"
a, b, c = spam
print(a, b, c)
@rugged root :white_check_mark: Your eval job has completed with return code 0.
h a m
!e
def idk(hu, hi):
print(hu,hi)
idk("da")
idk([4,5])
idk(*(1,5))
@limber helm :white_check_mark: Your eval job has completed with return code 0.
001 | d a
002 | 4 5
003 | 1 5
!e
spam = "ham"
pork = (*spam,)
print(pork)
@rugged root :white_check_mark: Your eval job has completed with return code 0.
('h', 'a', 'm')
!e
*pork, = "ham"
print(pork)
@woeful salmon :white_check_mark: Your eval job has completed with return code 0.
['h', 'a', 'm']
def idk(x, y):
print(x,y)
!e
first, *pork = "ham"
print(pork)
@woeful salmon :white_check_mark: Your eval job has completed with return code 0.
['a', 'm']
!e
*pork = "ham"
print(pork)
@rugged root :x: Your eval job has completed with return code 1.
001 | File "<string>", line 1
002 | SyntaxError: starred assignment target must be in a list or tuple
!e
x,y,z = "dsa"
print(x,y,z)
@limber helm :white_check_mark: Your eval job has completed with return code 0.
d s a
!e
foo = "filename.txt"
filename, _, extension = foo.partition(".")
print(filename)
print(extension)
@woeful salmon :white_check_mark: Your eval job has completed with return code 0.
001 | filename
002 | txt
c++ i guess..
developing different games or in gaming engines...
im about to in Seneca college
Jan intake..
You sound super excited about it
how can I hear some one isn't here?
Ctrl + R. It's a client bug
kinda yeah.. i mean im from Nepal, and studying in abroad country sounds kinda fun π
π Thanks
Which
no offense, "Can anyone help with selenium?" __
And now for your daily dose of
I used be one of them lol,,
!ytdl
haha
NASA can be hacked by css and html
it was a really famous meme
@rugged root So is there no any way to import the module?
problem asked in help.cheese
occasionally pycharm pukes when it looks at windows
that usually manifests itself as a system crash
I'm considering buying more for everyone else
Aww
I saw that
But then I saw this: https://docs.microsoft.com/en-us/azure/active-directory/authentication/howto-authentication-passwordless-security-key-windows
Don't laugh at beginners
Everyone starts somewhere
I followed the instructions for the Intune option
Maybe it takes time to sync?
I did gpupdate /force and restarted, but it still didn't work
I requested a policy sync from Intune, and I'll give that a bit to take effect, and try again
Somewhat interesting that gpupdate still works with Azure
Why not both?
Without the target it checks for updates to both computer policies and user policies
Fair enough
I just wait a month for people to actually get around to restarting
So I don't have to deal with the complaints about forcing restarts
YES
God bless OneDrive and autosave
It was around that long ago?
huh
Now I can't confirm
sorry my bad
Learn how to say "cyka blyat" with the American Pronunciation Guide ("APG")!
APG is devoted to descriptive linguistics--i.e., the study of the internal phonological, grammatical, and semantic structures of languages without reference to the history of the language or comparison with other languages. We believe that the best way to learn how to...
Version 1707
Released July 27 2017
Excel: Feature updates
AutoSave: Changes are saved automatically for workbooks stored in the cloud, and you can see othersβ updates in seconds.
Where if you forget to save or it crashes
Not the cloud saving
I just can't think of the term
i can understand hindi but have bit trouble while speaking
OH NICE
π π Pardon.
This is the speed I type at when going at high speed, but I'll stop now so you don't all go mad in vc
Which one are we looking for?
https://docs.microsoft.com/en-us/office/troubleshoot/excel/autorecover-functions-in-excel
Description of the Auto-Recover functions in Excel
Applies to: Excel 2010, Microsoft Office Excel 2007, Microsoft Office Excel 2003
Summary
Microsoft Excel now has a built-in Auto-Recover feature that has replaced the Auto-Save add-in that exists in versions of Excel that are earlier than Microsoft Excel 2002. The Auto-Recover feature saves copies of all open Excel files at a user-definable fixed interval. The files can be recovered if Excel closes unexpectedly, for example, during a power failure.
I can't even find the release notes - they only date back to 2017
Because Windows hates us
backwards compatability
β @woeful salmon can now stream until <t:1639676689:f>.
π¦
this is some scary shit if you ask me
extern int print_val();
extern void set_val(char* data, int len);
int main(){
set_val("Test", 4);
print_val();
}
Testβ
set_val:
ret
print_val:
push rsi
push rdi
mov rax, 1
mov rdi, 1
pop rsi
pop rdx
syscall
But do you agree?
do you concur?
Hemlock, you there? π
@hard spruce I concur,
do you concur?
:/
CERN, the European Organization for Nuclear Research, is one of the world's largest and most respected centres for scientific research.
i've been
The web yeah
That's pretty cool though
Did you actually go down into the collider?
i did i did
no π¦ I was too young at the time
I remember going to the Cadbury's factory once when I was little. I also remember being violently ill afterwards from all the chocolate π
Ohh KJ too.
I literally burn my mouth every time I drink any hot drink. I'm too impatient 
What'd I do
Anyway, I was going to recommend Khan Academy, in case you don't know about it: https://www.khanacademy.org
It pretty much got me back into maths after I left school.
Hello π
I probably won't be much help, but what're you trying to do?
Nah Hemlock.

That's how they get you. It was their plan all along.
π
Got to eat sorry π

Online multiplayer puzzle game
git clone -b <branch> <remote_repo>
git clone --single-branch --branch <branch> <repository>
<!-- html tag -->
<tag></tag>
<!-- self closing tag -->
<tag />
that squeaking lol
ERROR Python/python-testing/programs/test_count.py
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Interrupted: 1 error during collection !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Python\python-testing\programs\test_count.py:1: in <module>
import count
E ModuleNotFoundError: No module named 'count'
@gentle flint what was the thing that polishes the pots again? barros borross boros
Brasso?
Hello OpalMist
I can't talk yet π¦
Yeah I use it for background noise while I practice
hlo OpalMist
You said you were using machine learning Opal?
@willow lynx
Above, a manipulation of the original (not shown). Below, the reconstituted, corrected version.
That's wonderful.
Are you a software developer now @somber heath ?The things you're doing seem light years ahead of me. I'm currently writing a program to find whether a word is a palindrome or not.
!e py text = "apple" print(text[::-1])
@somber heath :white_check_mark: Your eval job has completed with return code 0.
elppa
okay I wasn't aware of slice.
obj[index] (subscription)
obj[start:] (slicing as belows)
obj[start:end]
obj[:end]
obj[start:end:step]
Ill show you my monstrosity now π
def palindrome():
for char in word:
word_list.append(char)
for i in word_list:
pali_list.insert(0, i)
try:
for x in word_list:
x = int(x)
print("No numbers")
except:
if word_list == pali_list:
print('That sir is a palindrome. ')
else:
print('That maam is not a palindrome')
return word_list, pali_list
print(palindrome())
if you used your code would it recognize numbers as palindromes?
I can help. Im at a top uni for cs.
hello
Someone give me voice privileges
!voice
Voice verification
Canβt talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
I understand. I just am just impatient
I suppose so
What are the backgrounds of most members?
Oh really? lol
I see.
What is your role in this server in which you're able to see these analytics?
I see
We're all boring over here
How many members are hobbyists?
lol
Yes
I suppose.
I was looking for a concentrated group of more experienced developers (one where I could ensure a certain measure for quality). I do have those in my university but I am of course looking for people further along in their careers.
Well of course there is a spectrum of quality in being a developer, and I wanted to find some measurable way to determine the quality of some group. I unfortunately have not found such a medium.
Servers like these are nice but it's hard to measure the quality of members.
I guess its a matter of being around those who are not only further along but also those that are higher on the spectrum. It's a matter of getting the most quality experiences out of my time. Maybe this is something trivial but I am unsure
I believe that. I am simply asking how I may determine those individuals among the others
Sure, but when there are 100's of members I'd like to believe there is a more efficient way to isolate these individuals
lol
Maybe that's the only way.
Whats going on in your life?
Other than giving me breathing asmr
π
I assume you're working in the software industry?
And what is it then?
I make pallets π lol
and for what reasons do you avoid it?
Currently in school and only just decided to do cs
I would have assumed this was automated
These.
Why would you assume its automated?
For efficiency purposes
Yeah that would be cool.
I just got my associates in gen ed and havent started cs classes. But I heard that they don't teach coding or anything, just maths you could use. Is this true?
Programming is coding
computer science is theory of computation. algorithms, etc
Programming is simply a medium for cs
You can think of porgramming as english, and the theory of english (how words are formed, different constructs, etc) as cs
I will show you an entry level cs course from my university
Okay
so this is the comparison of the intro programming course and intro cs course
constructs vs concepts
CS is what separates someone from someone who simply understands a language, and instead demonstrates the conceptual understanding that makes the language useful
Okay, and I'm guessing there is benefit in that? Do people who go to bootcamps generally write less efficient or worse code than those who take all these classes?
Do people have have a CS degree generally get paid more?
You can think of most boot camps of someone being trained to do a few specific jobs. Someone who truly understands cs will be able to do most jobs without ever being trained.
Without a doubt.
Interesting, I've been considering doing a boot camp instead but I do like to know how things work... and I do like money
If you want a career in software and not just some decent entry level job, I recommend you get a cs degree. Especially if you want the top tier jobs.
hello
@upbeat parrot Hello
I can assure you there is a great difference between those in bootcamps and those in cs. Of course you can go to a school that is poor quality and you can not take it seriously - then maybe a bootcamp will be on par, but if you utilize the cs program it will without a doubt be better in most cases
Technically you can learn the same as a CS student independently, but thats not that youre paying for in a degree, The structure and resources are unmatched
Anyways, I am tired. If you want you can add me and I can teach you python (since I would like to practice it anyways)
I'll leave you with some high quality problems
Hello again Opal
I have enough of those, already.
If you say so.
@somber heath π
Hey @whole bear!
It looks like you tried to attach a Python file - please use a code-pasting service such as https://paste.pythondiscord.com
No I agree
You're just starting programming right?
Yes. About a week and I know the basic syntax
Bay sick sin tax.
Is there a better way of sharing this?
@somber heath lol You are the party
@somber heath supppppp.................
Before I sleep. let's see the keyboard setups
!stream @limber helm
β @limber helm can now stream until <t:1639737713:f>.
Djangular.
oh lord
!voice @torn patio
Voice verification
Canβt talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
yes?
should chat
i cant speak but i need help
i need help with pip
what is the issue?
what's the problem?
i ran tha update command and it just stoped intracting
can you post a screenshot?
wait
k
no
it's just done
but when i run pip install soemthing it give no output
that's interesting
welp
what if you run python -m pip
python should have come installed with pip
so I'm anyway not sure why you're trying to reinstall it
in cmd right ?
i installed a module and it asked to update
and i ran the command and something happned and nothing's going right since then
yes
@uncut meteor
AF_BLUETOOTH supports the following protocols and address formats:
BTPROTO_L2CAP accepts (bdaddr, psm) where bdaddr is the Bluetooth address as a string and psm is an integer.
BTPROTO_RFCOMM accepts (bdaddr, channel) where bdaddr is the Bluetooth address as a string and channel is an integer.
BTPROTO_HCI accepts (device_id,) where device_id is either an integer or a string with the Bluetooth address of the interface. (This depends on your OS; NetBSD and DragonFlyBSD expect a Bluetooth address while everything else expects an integer.)
Changed in version 3.2: NetBSD and DragonFlyBSD support added.
BTPROTO_SCO accepts bdaddr where bdaddr is a bytes object containing the Bluetooth address in a string format. (ex. b'12:23:34:45:56:67') This protocol is not supported under FreeBSD.
was it this?
hey! wassup!
ima gr8 here..
wbu?
cold π₯Ά
xD
where r ya frm btw
im in the uk
Ohh nice
hbu?
India Rn
Varanasi
thats really close to where I live
I say really close but like 30+ mins away π
ohh
Varanasi is kinda near Bangladesh!
yea
thats where my parents are from
ohh nice
that means we're frm same homeland
like INDIA once covered Bangladesh soo..
β€οΈ
Hey wassup noodle?
Hi
hey!
ig REPO
or repl?
referral
ohh
referral: an act of referring someone or something for consultation, review, or further action.
how does that works?
basically if i refer you to a company, I'm telling you about a certain job opportunity or vacancy at the company which you might be itnerested in
so like u would tell the company to hire me?
yea
ohhc
they'll suggest
so can i have multiple referral ? like for same company?
umm yeaa if many people know you and your work abilities (if they help in the growth of company!)
Yes, for different groups. different projects.
it's unlikely that you'll know multiple employees at a company well enough for them to all refer you tho
I know 2-3 guys
but how well do you know them
so does that increases my chances?
well enough that they give me a reff
yea somehow if they are seniors
in the company?
yea
like they shall be at some higher repo to suggest your name for that particular job
like if i try for sde intern
and one is sse and other is sde2?
Hey there
@hard magnet #voice-verification
hahaa
Just joined this group yesterday. I wish I can have Voice verification. I guess I have to wait.
Yeah, it takes time but if you're planning on sticking around for a while, it's a drop in the bucket
And on the plus side you're still able to contribute to the convo
hate moreπ
A hunstman spider has interrupted a press briefing from Queensland health minister Yvette D'Ath. Speaking as Queensland registered 22 new Covid cases, D'Ath stopped in the middle of an answer after she was told a spider had crawled on her leg. 'Can somebody please get that spider off?' she said before the hunstman eventually scurried away
Subsc...
Buy first then research. best way π
I've bought tech like that
"The fuck did you say to me?"
which pokemon is that?
cool
why is that frog pink?
"Feels good, man"
When was voice verification added 0.o
sea otters are cute
#voice-chat-text-0 message So I did a thing.
!otn a Hemlock's-shrimp-surplus
HA
Finally someone read the message π
Sorry, juggling work emails
Been on this sub for years bu apparently I don't have 50 messages to join voice.
Interesting.
I used to be a contributor to the bot and all too.
So it may be that you had enough messages but they were before the epoch
@hollow isle https://zeppelin.gg/docs/introduction
Right?
Thanks Jake.
You been well?
We all live in a yellow submarine... π΅
Doing well thanks.
@rugged root What are you guys using for hosting the bot, api and site?
Still Azure or moved over to AWS?
!voiceverify
Isn't it 78 characters?
For sure
π π π π
@rugged root
x marks the spot remover
the cure for the common cold shoulder
boston cream pie chart
!source
Flaming sword. It doesn't do fire damage, it's just a super flamboyant intelligent item.
"Yaas, slay!"
..............................
does it usually takes this long to Integrating
Hey guys
I am trying to find the length of a linked list when i do
len(head)
it doesnt work
I get
TypeError: object of type 'Solution' has no len()
if len(self) < 2:
is len not the proper way to find the length ?
It is but it's saying it's not a string or container that would have that property
you need to setup obj lenght
Is Solution a class you made?
Its the solution class for a leetcode problem
# Definition for singly-linked list.
# class ListNode:
# def __init__(self, x):
# self.val = x
# self.next = None
class Solution:
def hasCycle(self, head: Optional[ListNode]) -> bool:
if len(head) < 2:
return false
if pos < len(head):
return true;
Heres the whole thing
can you join code/help0?
voice
sec
@proud token If you're wondering why you can't talk, check out the #voice-verification channel
That'll tell you what you need to know about our voice gate system
Burretzel.
Nerak
Nerak, the Devourer.
Flart.
Ah true
Oh that kind of sounds like those cups of goo you can buy that make fart noises
what does it mean if you have a variable like lets say cur, and you say
while cur:
#argument here
When is the while loop executed
While cur is "truthy".
You can see if things are truthy or not by passing them to bool.
True is truthy. False is falsy.
Nonzero is truthy.
So this is a problem im working on and this is the code.
what would while cur do in this scenario?
# Definition for singly-linked list.
# class ListNode:
# def __init__(self, x):
# self.val = x
# self.next = None
class Solution:
def hasCycle(self, head: Optional[ListNode]) -> bool:
seen = set()
cur = head
while cur:
if cur in seen:
return True
seen.add(cur)
cur=cur.next
return False
I basically understand the solution except for this line
Empty strings are falsy. Strings with stuff in are truthy.
Lists with things in are truthy.
I'm feeling tricked into this.
LOL
Im not joking
but this makes sense now
because the return function stops the loop
The function/method entire.
Return keyword.
also thanks
"Did you hear any of that?" Dangerous questions for 500, Alex.
Especially when an admin is near
hlo vc Guys
hi there
a bit frustated tho but fine
i forgot integration
whixh i was quite good at months ago
integration in mathematics
can anyone explain me how LSP functions both the server and the client
....................................................................................................................
write a new function called
βgenerate output(path to python program, path to input file)β. This function
takes a path to a python program as an input, runs it based off the input file,
and redirects the output to a new file called actual output file.txt, and returns
the path to this file. You can assume this program reads from standard input
and writes to standard output.
...................................................
can someone explain what i have to do here
i don't understand the question
def check_output(expected_output_file, actual_output_file):
try:
file_a = open(expected_output_file)
except:
print(False)
content_a = file_a.read()
try:
file_b = open(actual_output_file)
except:
print(False)
content_b = file_b.read()
if content_a == content_b:
print("true")
else:
print("false")
check_output('demo1.txt', 'demo2.txt')
def generate_output(path_to_python_program, path_to_input_file):
take_input = open('pset4.py', 'path_to_input_file')
Hey @whole bear pls mute your mic if ya r not sayin anythin
i am just going to clarify it and coming back
oops network
yea go ahead
@whole bearhttps://askubuntu.com/questions/797418/how-to-set-a-image-as-background-of-the-gnome-terminal
no background option
Great
can any one will hellp me understanding class
they're a blueprint to create objects
in Python
good bye guys need to go
hey
i am trying to deploy my django application on hostinger vps hosting
i just made a directory dumped the zip file extracted added folder n path n them in the startup added wsgi
so application started running
but when im trying to add domain on the mapping option it's showing an error
The project has no ports that cannot be mapped. The uwsgi mode does not support sock file mode mapping at this stage
kyaa bhai Aadyan! yahan kahan sey! @hollow prawn
ok thanks
Yup! chill
Well that's a thing
thats scary.
Back later, delivery time
π
π
The percentage of people that don't get a job in what they got their degree in is in interestingly high number
Only 27 percent of college grads have a job related to their major
People always throw around different numbers
But it's an interesting concept
@rugged root - look - the total open order count is under 1,000 orders for the first time since.... May
Give it like a month, I'm sure they'll duck up getting us inventory or something, and we'll be all off schedule again
But I'm going to enjoy it while it lasts
So, what is '11' + 1 - 1?
blows up computer
INSERT INTO users (id, name)
VALUES
(123, 'abc'),
(789, 'xyz')
ON CONFLICT (id)
DO
UPDATE SET name = EXCLUDED.name;
@dense ibex
!codeblock
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.
``
PRINT
h(k) represts the smallest m such that m consecutive integers will always have at least one number not congruent to 0 mod the first k primes
f(x) = 2x + 2^y-2
5 % 2 = 1
parabola
2 + 2 = 4 - 1 thats 3 quick math
19
0.000000000000000000000000000000000000000000001
2 3 5 8 13 21 34 55 89 144
@dense ibex whyd u run away from vc
you can look that up
h(k) represts the smallest m such that m consecutive integers will always have at least one number not congruent to 0 mod the first k primes
hbar(k) represts the smallest m such that m consecutive integers will always have at least one number not congruent to 0 or 2 mod the first k primes
@rapid crown
p = [5, 7, 11, 13, 17, 19, 23, 29, 31, 37, 41, 43, 47, 53, 59, 61]
core = 0
max = 0
k = 6
q = 0
product = 1
while q < k:
product = product*p[q]
q += 1
print(product)
while core < product:
length = 1
add = 1
while 1 == 1:
q = 0
i = 0
while q < k:
if (core*6 + 1 + 6*add) % p[q] == 0 or (core*6 + 1 + 6*add) % p[q] == 2:
i = 1
break
q += 1
if i == 0:
if add*6 % p[k] == 0 or add*6 % p[k] == 2:
length += 1
add += 1
else:
break
else:
length += 1
add += 1
add = -1
while 1 == 1:
q = 0
i = 0
while q < k:
if (core*6 + 1 + 6*add) % p[q] == 0 or (core*6 + 1 + 6*add) % p[q] == 2:
i = 1
break
q += 1
if i == 0:
if add*6 % p[k] == 0 or add*6 % p[k] == 2:
length += 1
add -= 1
else:
break
else:
length += 1
add -= 1
core += 1
if max < length:
max = length
print(f"hbar({k+3}) = {max*6 + 6}")
while True: > while 1 == 1:
1 7 13 19 25 31...
1616615
n
n % 2,3 = 1
n % p = (core*6 + 1) % p
n % pmax = 0
n + 6
n + 12
n + a*6 that is not congruent to 0 or 2 mod the first k primes
n - 6
n - 12 .....
n + b*6 that is not congruent to 0 or 2 mod the first k primes
73 103
30
6n + 1
79 85 91 97
73 79 85 91 97 103
91
<3
n % 2,3 = 1
n % p (5) = something
n % pmax (7) = 0
rip
rip
@earnest crag
class Solution:
def removeDuplicates(self, nums: List[int]) -> int:
counter = 0
for i in nums:
for j in nums:
if i == j and counter == 1:
counter = 0
nums.remove(j)
continue
elif i == j and counter != 1:
counter += 1
return len(nums)
silence
ah asmr breathing guy is back
hello there
I
need
to
get
unmuted
What are you up to @somber heath
I see
Yes
Thats always nice haha
Sometimes it a matter of letting time pass
hes just trolling
...
{taco:["meat", "lettuce", "brown sugar"]}```


!e
taco = "taco"
foods = {taco:["meat", "lettuce", "brown sugar"]}β
result = foods[taco]
print(result)
!e py taco = "taco" foods = {taco: ["meat", "lettuce", "brown sugar"]} result = foods[taco] print(result)
@somber heath :white_check_mark: Your eval job has completed with return code 0.
['meat', 'lettuce', 'brown sugar']
Which character
I typed the same thing as your but it is giving error
I mean I copied
Ok :)
Message count too low, at the least.
!e
from tabulate import tabulate
taco = "taco"
foods = {taco: ["meat", "lettuce", "brown sugar"]}
print(tabulate(foods))```
@stable axle :x: Your eval job has completed with return code 1.
001 | Traceback (most recent call last):
002 | File "<string>", line 1, in <module>
003 | ModuleNotFoundError: No module named 'tabulate'
ah
hey
I can probably do it for you but it'll be within 24hr since I wont prioritize it
2 6 12 30 42 66 108 150 204 258 348 528 546
5*7*11
0 1 2 3 4 5... 5*7*11 - 1
n*6 + 1 mod 7 = b
n*6 + 1 mod 11 = c```
a or b or c == 0 or 2
May I ask why you are doing this?
hbar(k) represts the smallest m such that m consecutive integers will always have at least one number not congruent to 0 or 2 mod the first k primes
2 6 12 30 42 66 108 150 204 258 348 528 546
5*5 - 6 = 19
30 < 19
42 < 7*7 - 6 which works
5*5 - 6 < x < 7*7 - 6
I saw
What is the principle for wanting to be the first to prove this for the sequence?
lol
π
I just finished first semester cs at the university of toronto
I'm sure someone will do so.
You've mentioned the possibility of intriguing some people to help.
That is what im referring to.
Of course. I suppose the topic is not seen as "glorious" too most.
It is my personal observation that because mathematics itself is fundamentally flawed, we will always find these occurrences. I am always interested to see why those few choose to pursue in investigating them.
It's hard to explicitly say why. I guess because it's fundamentally limited by our understanding (and in some ways it fictional).
I respect your interest in it. I personally do not value these occurrences the same.
What's currently going on in your life as of now?
yes
Honestly your tasks are similar to mine. I personally would like to learn mandarin. I also have to take calc 1.
I assume this is a music highschool?
Although you made it sound as if your highschool and where you study compositions are different places
So how did you end up completing highschool and university at the same time?
53,393
235,320

