#voice-chat-text-0
1 messages · Page 653 of 1
There's no reasona game engine can't be text-based
I've worked with a few, liek glulx
basically completely software-driven
oh neat
pygame uses SDL
I think pygame was transitioning to SDL2?
Me too, pygame is awesome
yeah its kinda stalled
I think its pygame 1.9 and pygame 2
F
It was used in civ 4
It's scripted in python
Its got a c++ renderer I believe
brb
Switchcars is a vehicular roguelike arcade set in a broken spacetime. Escape alien beasts through procedural environments, using more than 1,000 vehicles. All you need to do is reach the year 2055. In theory.You are probably not going to make it. Not the first time, not the se...
$8.99
107
Drawn Down Abyss is a platformer card game that takes a unique action oriented approach. Travel down The Abyss, build a deck of cards for abilities, and defend yourself from the local wildlife on your way.Features:Action packed combat based on the effects of cards.Tons of card...
$4.99
ohcool
Integrate your service with Discord — whether it's a bot or a game or whatever your wildest imagination can come up with.
E
o/
long phone call 😢
Discord's Electron, which is Chrome
It's required for the presence stuff
Like how Pycharm has game activity, you can see it interfacing within the dev console so that's probably one reason why
They probably should disable it outside of canary
I wouldn't lmao its terrible
You can use it to steal some emojis you can't access otherwise
Like reactions
Wasn't there a big betterdiscord hack recently?
message-2qnXI6 cozyMessage-3V1Y8y
string[:-1]
['T', 'A', 'G', 'C', 'T', 'A', 'A', 'C',]
!eval ```python
"Hello, World!"[:-1]
You are not allowed to use that command here. Please use the #bot-commands channel instead.
for i in xseq:
if i == "A":
new_dna.append("T")
elif i == "T":
new_dna.append("A")
elif i == "C":
new_dna.append("G")
elif i == "G":
new_dna.append("C")
return new_dna```
concatenate = lambda l: reduce(lambda x,y: x + y, l[1:], l[0])
print(concatenate(['a', 'b', 'c']))
@kind crescent
nucleotides
dna = ''
nucleotides = ['a', 'b', 'c']
for nucleotide in nucleotides:
dna = dna + nucleotide
print(dna)```
Couldn't you use ''.join(nucleotides)?
It's a C method, so is fairly fast.
.join is nice because you can use any delimiter, like ', '.join(...)
Mechatronics?
You can do functional programming in Python! 😄
def curry(fn):
return lambda x: lambda *xs: fn(x, *xs)
from operator import add
print(curry(add)(1)(2))
I find it's easier to solve hard problems with functional programming.
It puts less of a burden on your working memory.
Because you don't have to mentally simulate the changing state of the machine in order to understand what a program does.
You could learn Haskell as a first programming language, if you have the right learning resources.
-- Author: Jeremy Gluck
import Data.List (intersect)
range = [1..100]
fizz = [ n | n <- range, (n `mod` 3) == 0]
buzz = [ n | n <- range, (n `mod` 5) == 0]
fizzbuzz = fizz `intersect` buzz
main = print fizzbuzz```
My university insisted on teaching the first programming course of the degree in Haskell. 😄
what level of calculus do you think is sufficient? past integral?
You mean, what level of calculus do you need for functional programming?
Yeah, lambda calculus refers to something different.
When people say "calculus", that's usually short for "integral and differential calculus".
a
The word calculus comes from the latin word for stone, I think. Because people used stones to do calculations.
I particularly like Haskell's structural pattern matching.
There may be a similar feature coming to python in version 3.10
i love how
i need to get
like 50 messages
this is fun
wait do messages in here count?
Yeah, please don't spam messages to meet the requirement.
instead program a bot to do it for you its more fitting
im not this is honestly just how i type im sorry
It's better if you just hang around in the server for a bit, maybe try answering some questions.
It's better if you just hang around in the server for a bit, maybe try answering some questions.
@stuck furnace Im new to coding i really cant answer questions
Ah right
also
im not this is honestly just how i type im sorry
@hearty cypress
i type in sentences
like this
idk its been a habit ive had
also anyone wanna have a chat or?
-- Author: Jeremy Gluck
{- Description:
Look here's the story. I'm in CSE 4510 Applied Quantum Computing this semester and
I have to do a lot of linear algebra. Long story short these are big matrices.
Shoutout to https://www.matrixcalc.org/en/ for having almost exactly what I need.
I must also typeset all of the work done for the class in LaTeX. matrixcalc has the
ability to output whitespace seperated values of complex numbers. All I must do is:
1. Put '&'s in between matrix row elements
2. Put '\\'s at the end of each line except the last
3. For all tokens a/b replace with \frac{a}{b} -}
import Data.List
import Data.List.Split
(+&+) :: String -> String -> String
(+&+) a z = a ++ " & " ++ z
(+\+) :: String -> String -> String
(+\+) a z = a ++ " \\\\" ++ "\n" ++ z
add_separators :: [String] -> String
add_separators (stuff:stuffs) = foldl (+&+) stuff stuffs
add_terminators :: [String] -> String
add_terminators (stuff:stuffs) = foldl (+\+) stuff stuffs
fracify :: String -> String
fracify stuffs
| stuffs == "" = ""
| "/" `isInfixOf` stuffs = (\ss-> "\\frac{"++(head ss)++"}{"++((head . tail) ss)++"}") $ (split (dropDelims $ whenElt (=='/'))) stuffs
| otherwise = stuffs
latex_marks :: String -> String
latex_marks stuffs = "\\(\\begin{bmatrix}" ++ "\n" ++ stuffs ++ "\n" ++ "\\end{bmatrix}\\)"
program :: String -> String
program = latex_marks . add_terminators . (map add_separators) . (map (map fracify)) . (map words) . lines
main :: IO ()
main = interact $ program
-- Author: Jeremy Gluck
{- Description:
Look here's the story. I'm in CSE 4510 Applied Quantum Computing this semester and
I have to do a lot of linear algebra. Long story short these are big matrices.
Shoutout to https://www.matrixcalc.org/en/ for having almost exactly what I need.
I must also typeset all of the work done for the class in LaTeX. matrixcalc has the
ability to output whitespace seperated values of complex numbers. All I must do is:
1. Put '&'s in between matrix row elements
2. Put '\\'s at the end of each line except the last
3. For all tokens a/b replace with \frac{a}{b} -}
import Data.List
import Data.List.Split
(+&+) :: String -> String -> String
(+&+) a z = a ++ " & " ++ z
(+\+) :: String -> String -> String
(+\+) a z = a ++ " \\\\" ++ "\n" ++ z
add_separators :: [String] -> String
add_separators (stuff:stuffs) = foldl (+&+) stuff stuffs
add_terminators :: [String] -> String
add_terminators (stuff:stuffs) = foldl (+\+) stuff stuffs
fracify :: String -> String
fracify stuffs
| stuffs == "" = ""
| "/" `isInfixOf` stuffs = (\ss-> "\\frac{"++(head ss)++"}{"++((head . tail) ss)++"}") $ (split (dropDelims $ whenElt (=='/'))) stuffs
| otherwise = stuffs
latex_marks :: String -> String
latex_marks stuffs = "\\(\\begin{bmatrix}" ++ "\n" ++ stuffs ++ "\n" ++ "\\end{bmatrix}\\)"
program :: String -> String
program = latex_marks . add_terminators . (map add_separators) . (map (map fracify)) . (map words) . lines
main :: IO ()
main = interact $ program
@slender bison what is this
it's a script to perform one specific textual manipulation
english
we're discussing haskell in voip
the details are in the top comment
lmao
Erm, @hearty cypress, maybe have a look at one of the off-topic channels, or the general discussion channel. See if you can get involved in the conversation there.
the details are in the top comment
@slender bison oh i see now
i dont know where that is
It will be a bit hard to follow what's going on here without being able to hear what's being said in the voice channel.
even then i imagine its still difficult
i have one message left so i guess this is the message? idk
String -> (String -> String)
Here's the equivalent in python:
def add(x):
def addx(y):
return x + y
return addx
So, you can do add(1)(2)
Or map(add(10), numbers)
To add 10 to every number.
The key thing is to understand that every function has one input and one output.
If you want to give two arguments to a function, you can create a function that takes the first argument which returns another function that takes the second argument and returns the answer.
(=='/')
Python has a tool you can use to partially apply a function.
functools.partial I believe
But it's more practical than pure 😄
Yeah, so say you call a function many times throughout your program, and you always set the same keyword argument. You could use partial to set the argument once.
Hard to think of a good example.
This is the example from the documentation:
>>> from functools import partial
>>> basetwo = partial(int, base=2)
>>> basetwo.__doc__ = 'Convert base 2 string to an int.'
>>> basetwo('10010')
18
So, you know how you can do int('10010', base=2)
This just creates a new function basetwo that always sets the base keyword argument to 2
Yeah, there's just a reference to the function stored somewhere, and a dictionary containing all the filled-in arguments.
Python usually takes a more simple approach to things.
https://hastebin.com/wucawemuki.lua calculates the quantum fourier transform matrix for n qubits
There are some really good databases courses by Stanford on edx.org @gilded rivet
Did you guys get on to talking about structural pattern matching? I wasn't really listening sorry.
unfortunately not
Oh yeah, I think I mentioned this, but they might be adding it to Python.
hello gj
@fiery hearth did u get the permission?
nah not yet
hello opal mist
@somber heath hey mate
@pliant atlas not yet mate
i dont't have the permission to speak.....need to reach 50 txts @somber heath
Not talking, just testing campus WiFi
Certain AP over here outright blocks Discord VC (RTC connecting --> No route)
sounds scary @somber heath
def main():
pass
if __name__ == '__main__':
main()```
looks like I need more than 50 sent messages to use voice chat. Is that something new?
I can't hear either which is odd
I'm looking for some help with a few lines of code in regards to File Access. Anyone able and interested in helping?
Yeah you need 50 messages but you should be able to hear
if you're loooking for code help you could post your question in code help section
I would but it's due tonight. I'm almost there but can't figure out two lines
Is this 50 message thing new?
How do I see how many messages I currently have?
Yeah they made the rule like 2-3 days ago
I have no idea on how to see the count
probably @rapid crown could help
@regal quiver this is how you would see the count: https://cdn.discordapp.com/attachments/717280473218285588/768335100445851668/unknown.png
hm
i dont may be a while
hi
# 5. Save Data.
def saveData(members):
outText = ()
filename = input("Filename to save: ")
print("Saving data...")
outFile = open(filename, "wt")
for x in members.keys():
name = members[x].getName()
jersey = members[x].getJersey()
phone = members[x].getPhone()
outText += (name + "," + jersey + "," + phone + "\n")
outFile.write(name + "," + jersey + "," + phone + "\n")
print("Data saved.")
print(name, jersey, phone)
outFile.close()```
outText += (name, jersey, phone)```
outText += name + "," + jersey + "," + phone + "\n"```
for x in members.values():
name = x.getName()
jersey = x.getJersey()
phone = x.getPhone()
def saveData(members):
outText = ()
filename = input("Filename to save: ")
print("Saving data...")
outFile = open(filename, "wt")
outText = ''
for x in members.keys():
name = members[x].getName()
jersey = members[x].getJersey()
phone = members[x].getPhone()
outText += name + "," + jersey + "," + phone + "\n"
outFile.write(outText)
print("Data saved.")
print(name, jersey, phone)
outFile.close()
outText = "{}, {}, {}".format(x.getName(), x.getJersey(), x.getPhone())
not required:
outText = ''
# 5. Save Data.
def saveData(members):
filename = input("Filename to save: ")
print("Saving data...")
outFile = open(filename, "wt")
for x in members.keys():
name = members[x].getName()
jersey = members[x].getJersey()
phone = members[x].getPhone()
outFile.write(name + "," + jersey + "," + phone + "\n")
print("Data saved.")
print(name, jersey, phone)
outFile.close()```
class TeamRoster:
def __init__(self):
self.roster = dict()
def Add(self, member):
def Remove(self, member):
def Edit(self, member):
class Player:
def __init__(self, name, jersey, phone):
self.name = name
self.jersey = jersey
self.phone = phone
# accessor methods
def getName(self):
return self.name
def getJersey(self):
return self.jersey
def getPhone(self):
return self.phone
def displayData(self):
print("")
print("Team Roster: ")
print("------------------------")
print("Name:", self.name)
print("Jersey #: ", self.jersey)
print("Phone #: ", self.phone)
Word of the day: Antipattern.
@somber heath I don't know if you're interested, but I went through that stuff I posted last night and commented it. If you're curious, you can see the commented polar trigonometry at the following paste-bin:
https://pastebin.com/03uX6fvq
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.
Math does have more than one right answer, sometimes, but sometimes your right answer is not the right answer that the teacher wants.
7x8 vs 8x7 in a solution, for example.
I love Primer
He's working on a video for the best election system
I can't verify yet
Need 50 messages
Yeah I'm just going to keep writing
Quantum Mechanics proves unpredictability in the atomic level
There's this proof where it's like you can't tell the future state of the particle
Do I have permission to spam so I can use VC?
spam
:incoming_envelope: :ok_hand: applied mute to @whole bear until 2020-10-21 08:26 (9 minutes and 58 seconds) (reason: duplicates rule: sent 4 duplicated messages in 10s).
Whoopsiedoodle, you're a noodle.
@whole bear do not spam so you can use the VC
just dont?
Ok just counting to 50 messages
path('forgot/password/', auth_views.PasswordResetView.as_view(template_name='registration/password_reset.html'), name='password_reset'),
path('forgot/password/reset/', auth_views.PasswordResetDoneView.as_view(template_name='registration/password_resets.html'), name='password_reset_done'),
Ok
Does exurb1a make scientific videos?
not really
Is it philosophy, because I barely understand the videos....
I was watching that epsilon video
thats one of the most abstract ones
<center>
<div id="backlog">
<br>
<form id="loginform" method="post" action="" style="padding:20px;margin-top:0px; color:black; font-family:'oswald', san-serif; font-size:16px">
{% csrf_token %}
<input type="text" name="email" id="inputEmail" placeholder="Email address" required autofocus><br>
<input id="submit" value="Recieve link to reset password" type="submit" style="width:300px;margin-left:2px;border-radius:4px; border:none; padding:10px; font-family:'oswald', san-serif;"/>
<br><br>
<div style="font-size:14px;color:silver">Go back? {%if request.user.is_authenticated%}<a style="color:whitesmoke" href="{%url 'home'%}">Home</a>{%else%}<a style="color:whitesmoke" href="{%url 'login'%}">Login</a>{%endif%}</div>
</form>
<br><br>
</div>
</center>
<h1 style="margin-left:9.8vw;color:Grey;font-family:'oswald',sans-serif;letter-spacing:-8px;font-weight:100">Reset Password</h1>
<div class="container" style="margin-left:10vw;margin-top:-20px;color:grey;font-family:cursive">
<div class="d-flex flex-column">
<p class="m-auto p-2">
We sent a reset password email to {{}}. Please click the reset password link to set your new password.
<br><br>
</p>
<p class="m-auto p-2">
Didn't receive the email yet?
Please check your spam folder and make sure you entered the correct email address.
</p>
<p class="m-auto p-2">Return to <a style="text-decoration:none;color:rgb(114, 62, 163)"href="{% url 'home' %}"> Home?</a></p>
</div>
</div>
My headphones are about to run out of battery so I might have to leave VC anyways
@whole bear https://www.youtube.com/watch?v=n__42UNIhvU this is the one i would recommend
But I'm almost at 50
yea
It worked
class PasswordResetView(PasswordContextMixin, FormView):
email_template_name = 'registration/password_reset_email.html'
extra_email_context = None
form_class = PasswordResetForm
from_email = None
html_email_template_name = None
subject_template_name = 'registration/password_reset_subject.txt'
success_url = reverse_lazy('password_reset_done')
template_name = 'registration/password_reset_form.html'
title = _('Password reset')
token_generator = default_token_generator
@method_decorator(csrf_protect)
def dispatch(self, *args, **kwargs):
return super().dispatch(*args, **kwargs)
def form_valid(self, form):
opts = {
'use_https': self.request.is_secure(),
'token_generator': self.token_generator,
'from_email': self.from_email,
'email_template_name': self.email_template_name,
'subject_template_name': self.subject_template_name,
'request': self.request,
'html_email_template_name': self.html_email_template_name,
'extra_email_context': self.extra_email_context,
}
form.save(**opts)
return super().form_valid(form)
INTERNAL_RESET_SESSION_TOKEN = '_password_reset_token'
class PasswordResetDoneView(PasswordContextMixin, TemplateView):
template_name = 'registration/password_reset_done.html'
title = _('Password reset sent')
I might be back later, battery's out
path('forgot/password/', auth_views.PasswordResetView.as_view(template_name='registration/password_reset.html'), name='password_reset'),
path('forgot/password/reset/', auth_views.PasswordResetDoneView.as_view(template_name='registration/password_resets.html'), name='password_reset_done'),
@restive hill here
from django.contrib import messages
messages.success(self.request, form.cleaned_data.get('email'))
{% for message in messages %}
@whole bear What's up?
i need to do this mission
and i did half
but i dont know how to do the other part
The computer repair company employs 286 technicians. Write a plan that will record for each of the technicians the name and number of repairs he made on a particular day. If the technician made more than 25 repairs that day, the program will print his name and message "BONUS". The plan will also calculate and print the total repairs made by all the technicians in the company that day.
sum=0
for item in range (2):
name=input("insert ur name")
fixes=float(input("insert ur fixes amount"))
if (fixes>25):
print ("the name of the fixer is", name, "bonus")
sum=sum+1
print ("the total fixes per day is :",fixes)
i dont know how to do it im getting crazy
@somber heath can u help me pls 
Let's see.
im suppose to do this with for loop
Have you covered dictionaries yet?
no
Why don't you go ahead and claim one of the help channels in the Python Help: Available category.
@faint ermine Noted.
@fiery hearth did u get your 50 msges done
nope
i mean, i have not got my 50 messages yet, as well.
@pliant atlas i thought you asked me.
Well, have a good day, bye.
ok imma spam until i can talk
yay
rjh
sfcjhb
sd bfh
fdjks
IM TLKING
WOWWOOWOWO4
QWOW
WOW
SO
HOW P
TALKING YAYA
still not enough
@hollow basin I mean if all you're doing is spamming and not actually contributing to the server we can also revoke the permissions as well
Just have a conversation with someone, help out in a help channel.
Plenty of constructive ways to meet the quota
Nice try.
!paste @whole bear
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.
list_of_potential_friends = ["Liam", "Noah", "James"] # and so on and so forth for the rest.
list_of_friends = []
user_to_add = input("Who do you want to add to your friend's list?")
if user_to_add in list_of_potential_friends:
print(f"Sending friend request to {user_to_add}")
time.sleep(2)
print(f"{user_to_add} accepeted your friend request.")
time.sleep(1)
list_of_friends.append(user_to_add)
print(f"You and {user_to_add} are now friends!")
else:
print("Person not found.")
https://paste.pythondiscord.com/gemafinolo.py
@whole bear why
Because he's learning?
I mean yes
Why shame someone for not knowing how to do stuff initially
mfw my mic volume was at 43%
Called it
Sounds good
@swift valley
idk u, but join vc
Gimme a minute
Ez bookmark
@candid venture they fold
@gentle flint Hey
hello
btw i need to type 50 messages
o
how many do you have so far
let me check
@gentle flint it dosen't say how many i need to still type
😦
But
i
since which date does it count
wait
25 august right
10/11/2020
yeah
So
i have to type around 40 messages
awwman
will it not count if i just type random thing's?
I believe it's expected to come from conversation
it wouldn't
yeah
but mods monitor this chat
and they can remove the permission again
somewhat
Oh alright do you like node.js?
how about you
i am good
i like this system that there won't be people ear raping poeple but people like me who where in this discord server for like 1 year now can't speakkkkk
i hate this
@candid venture yeah
it is kinda sad
yeah
same with the programming server
i was there
along time
but now i can't see any voice channel
9 messages left
why don't you guys go to the DevCord discord server?
As commits are pushed to your project on GitHub, you can keep your local copy of the project in sync by pulling from the remote repository.
wowo did you count how mny msg i sent?
yes
50
at this point i am saying what ever i can think of
you already reached 50
try verifying again
Do an interactive rebase and drop the commits
meh, might as well stream in the meantime
Vim
It's my LISP project lol
what is lisp?
a programming language
oh is pure making a language?
are you trollling me?
me no?
it's from 1958
ohh, I didn;t know that
assert checks if a condition is true, otherwise, it'll raise an error
@mighty owl what's the issue with VC?
Not entirely sure what noise you're talking about
Okay sure but what were you complaining about in #python-discussion?
me?
Yes you
I didnt complain
omg its ear rape in the vc help meee
@mighty owl that isn't complaining?
it was simply sensual voice communication
sorry boss, I'll learn from my mistake
don't tell me you don't appreciate that
anyone can tell me?
ok boss 👍
😦
why im can speak something?
master?
new member
aight
voice verify @whole bear
@frigid panther Ohhh my gosh, i dont look it
Oh yeah (oh yeah), Yeah (yeah), yeah (yeah)
Master (master), of (of), puppets!
thanks bro.
It's a GUI for Neovim
where do i do the verify command?
git, vim and all those other "useful, easy tools" when I try to use them:
End of passion play, crumbling away
(I'm your source of self-destruction)
Veins that pump with fear, sucking darkest clear
(Leading on your deaths' construction)
i miss python. My school went on to C sharp and I am hating it
@rugged root kewl animations
js selectively cares about a semicolon
I will leave it to my auto formatter
anyone can help me, install Visual studio code for C++
i think you missed css in your list @mighty owl
just install CE 2019 of vs
@mighty owl its not work
how to install python
i've been install MINGw
import python
Ek-ma script 
thats it bois we going x86 assembly
C# vs C/C++ 
i would say cpp is better than csharp
tox is gonna take a while
my favourite program language is scratch
so satisfying
i might need help with C# (maybe)
@frigid panther sir, i want to invite my friend. Can you make invite link for me?
that is moon rnes
I can stream the new event management system I am working on, maybe I can get some feedback
sure
holy so close to 100k
Lmao, do some giveway
wow invited to python from python
like aaaa intel processor
@rugged root thanks mr
hahaha
I wish they made it for linux
@frigid panther Linux Mint the firts
aaah, I can't stop sneezing
gratz on your helper role @hollow haven 🎉
thank you~
@mighty owl where you from?
Charlie and friends go to the mysterious Candy Mountain.
Support FilmCow on Patreon! Get BTS access and more:
http://www.patreon.com/filmcow
The FilmCow Shop:
https://www.etsy.com/shop/filmcow
Twitter:
http://twitter.com/filmcow
Facebook:
http://facebook.com/filmcow
Twitch...
Repl.it is a simple yet powerful online IDE, Editor, Compiler, Interpreter, and REPL. Code, compile, run, and host in 50+ programming languages: Clojure, Haskell, Kotlin, QBasic, Forth, LOLCODE, BrainF, Emoticon, Bloop, Unlambda, JavaScript, CoffeeScript, Scheme, APL, Lua, Pyt...
@brisk current #❓|how-to-get-help
when did the user events channel open 🤔
it was probably left open by accident
how do you usually arrange methods in a class? is it alphabetically or .. ?
!e print("\yasdffasd")
u wot m8
You are not allowed to use that command here. Please use the #bot-commands channel instead.
open('yourfile', 'r', 'utf-8')
@mighty owl
post your code here
just the line where you're opening things
using (StreamWriter sw = new StreamWriter("D:\Programs\PRG2\Week 1 Part 2\PhoneDirectory.csv", true))
{
sw.WriteLine(data);
}
probably in the path
"D:\\Programs\\PRG2\\Week 1 Part 2\\PhoneDirectory.csv"
hI
Gonna get some chips
was so bored earlier this afternoon that I recorded myself drumming the table for 1.5 minutes
using (StreamWriter sw = new StreamWriter("D:\Programs\PRG2\Week 1 Part 2\PhoneDirectory.csv", true))
{
sw.WriteLine(data);
}
rabbit triggered
Import-Csv -Path C:\path\to\file.csv```
not related to the current topic, but who has the best looking terminal theme
this is clearly the best

sugar rushed rabbits are not safe
Enterprise Content Management with Django
The open-source CMS used by thousands of websites since 2007
👀
what is square space
Am I wrong for saying "not for profit" as opposed to "non-profit"?
You host it
You get a domain from a provider and point the domain to where you're hosting it
oh
Corporate is just like this
hi i want to know how to create a luncher in python
to lunch 2 scripts
@atomic edge
Thx
I just started about a week ago in Python
Def.
Definitely
I made a mad libs with a user interface. But it was in the running thing I don't know the exact wording.
So that was fun.
Sadly I forgot to put it into a separate project folder and I messed up because of that.
Because then I deleted it.
And then I cried in a corner.
lol
man getting two monitors soon in order to increase productivity so im excited about that
Lol really?
im also getting 144hz
so getting two huge upgrades
Do you know anyone that can help me if I have any problems with my current free courses?
For learning Python.
Thnx
S T A C K O V E R F L O W
Gotcha.
Thanks btw for accepting me
Well I'm kind of young and not many people accept me or they did for like 10 minutes then block me for no reason otherwise than being young
Thanks. once again.
Should I use Mac or Windows for programming?
I currently have a windows and after doing a bunch of research I found Mac to be amazing for programming
lol
How much storage should I use for programming? And HDD or SSD?
A bit high end but I also game
: P
Sata
Sata SSD
Windows is fine for most programming
Gotcha.
No
But thats including monitora
monitors
Got it for a deal
Why not?
should I get the same monitors?
or just the same monitor size?
Freak well that was the last one in stock.
rip
nvidia
But I'm going to have on in portrait
thts why I chose the 29"
OK.
Deranker is is g sync compatible just not listed
Join us on Patreon: https://www.patreon.com/hardwareunboxed
Disclaimer: Any pricing information shown in this video was accurate at the time of video production, and may have since changed
Support us on Patreon: https://www.patreon.com/hardwareunboxed
Merch: https://crowdmade...
vsync = ew
anyway the pc is value not the setup
Hemlock do you touch type?
Qwerty
Yes
ye
I learned that in a month but trying to get 100wpm
just as a fun challenge
I'm participating in a competition.
I need to come up with some innovative ideas to make a safe college campus during this period of covid19
id say if they r similar specs and stuff then ye its fine
lemme see that cheap acer monitor
Let's see, one monitor I have is 19 inches (1280 x 1024) and that one is also my portrait monitor, 24 inches (1920 x 1080) for the middle (and primary) and 21.5 inches (1920 x 1080)
but if you care aout aesthetics then ye id say get 2 of the same
If i cared about aestheics
I wouldnt get one with red highlets
i cant spell
lol
Well its too late
Well I thought making it one 29" and one with 24"
Just because I thought making one in portrait for programming would be very useful.
I am using an ultrawide monitor 20:10
I have found my family a pc and coding place
random qn, can python code a vst pluin?
VST?
like audio plugins
Oh... huh I'm not sure, actually
@atomic edge Oh, while I have you here:
!resources
The Resources page on our website contains a list of hand-selected learning resources that we regularly recommend to both beginners and experts.
would be interesting to code and use my own vst plugins
We've got a whole slew of awesome resources on our site
I mean I think there are some libraries for stuff like that but I'm not 100% sure
probably is
at this point, there are libraries for anything
oh unfortunately i think its C that does these plugins
hmmm
i use wifi
0.1mbps
lets go
i mistakely downloaded python 2.7 nooo!!!
How
idk , this is my new pc and i downloaded python and thought that it was 3.8.6 but apparently not
well gotta downlaod 3.8.6
@tiny seal did you're render finish?
i have like 6-7 computers at home and inly 1 ethernet port
i have like 6-7 computers at home and inly 1 ethernet port
@mighty owl use a switch?
if y have 1 outlet and just run a cable to your pc and make them to use wifi
and another thing is my family loves google wifi for some god forsaken reason
and another thing is my family loves google wifi for some god forsaken reason
i cant port forward or have decent connection because im on the other end of the house
they though putting the main router in the corner is better than in the center of the house
not being able to port forward sucks
Switches for days
ill buy some from you
They're dirt cheap anymore
not being able to port forward sucks
i cant run minecraft server XD
In a departure from both 10BASE-T and 100BASE-TX, 1000BASE-T and faster use all four cable pairs for simultaneous transmission in both directions through the use of telephone hybrid-like signal handling. For this reason, there are no dedicated transmit and receive pairs. 1000BASE-T and faster require either a straight or one of the crossover variants only for the autonegotiation phase. The physical medium attachment (PMA) sublayer provides identification of each pair and usually continues to work even over cable where the pairs are unusually swapped or crossed.
ooOOoh
that looks very good
thx
imma head out, cuz its 2am and i have school 8)
bye @mighty owl
Thanks
https://github.com/Nyr/openvpn-install/blob/master/openvpn-install.sh
this is the one I used
but I think these are all forks
Hi People
😄
waow
Im unmaried
should ı have a best friend ??
😄
kjfghjgfjhn
I know I've been chaty but it was nice to be alowed to talk in this channel 😄
I mean ıts hard to type evrythin in my mind
use your mic
sry diditn see it 😄
@radiant marten What do you need
OK ı saw those conditions
but ı do know ı cary those conditions ??
thats what she saids
go d
ı cant 😄
Hmmm
Hey @candid venture!
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:
@tiny seal script solved all my problems. Thanks
no prob
spend time in help channels
import requests
from bs4 import BeautifulSoup
#NFL
URL = 'https://www.nfl.com/schedules/'
page = requests.get(URL)
soup = BeautifulSoup(page.content, 'html.parser')
soup.prettify
div_list = soup.find_all('a', {'class': 'nfl-c-matchup-strip__left-area'})
#print(soup.title)
print(div_list)
thoughts on why print(div_list)only comes up with []
@rugged root
/give @candid venture @helper role
not sure if its same as in venv, but in pipenv , you do pipenv --python 3.7 , try in venv too?
@candid venture
@candid venture
@477870815581569034
@frigid panther
Omg xD
@pliant atlas
Ima try
@pliant atlas
hahha
@frigid panther hey where are u from ?
India
hmm
whats wrong?
Like Gurkan name 😄
Can we swear here?
ý̸̅0̷͂̈n̷̉͂ĺ̵̇i̶̍̒d̵͆̉u̷̎̋
my names does not have to be related to anything, lol@stoic ore
i cant speak i am muted?
now thats a yoink
yeet
verifi
poggers
sad champ
start typing
im
still
typing
i
t
is
sad
Just have a conversation
You can still be in here and listen and we can still talk to you and what not
@frigid panther Yeah , İts just I like it
The Gurkan Cult
Umm guys Im sorry but im new to python this might sound stupid but wwhere exactly do I write the code in Vscode
create a new file
Oh are you saying the nfl website doesnt let you scrape ?
and then start typing
Api would probably be easier
i was thinking of using google api for nfl
but im new to apis
True
sad champ
skirt?
@whole bear #tools-and-devops
he dmed me
Hi, guys!
hello o/
Okay Thank you didn't know that yall had a channel for this
what about you hemlock, any sports?
I'm sorry, but does anyone know C++ language? I have some troubles and I need advise.
Thx ❤️
GET https://<domain>/v1/games
https://api.nfl.com/docs/global/playbook/index.html
this is great
if they had examples, it would be the best
examples as in programming langs
Oh, I almost forgot. Has anyone worked with CoppeliaSim Player? It's just that when I worked with Open CV, he did not determine the colors of objects. What could be the reason for this?( I used RGB to work)
https://api.nfl.com/games
xD
Thank you yo every single one of you who bared my dumb questions and helped me... this is such a great community Im excited to learn Python now 🙂 @frigid panther @rugged root @pliant atlas
Tor Browser
!resources @spring kraken
The Resources page on our website contains a list of hand-selected learning resources that we regularly recommend to both beginners and experts.
I must leave now Cya you guys are geniuses every single one of you
@spring kraken #❓|how-to-get-help
Coding was boring for me too at the starting, until I came across web dev n other software dev stuff
or try linux
i was fed up with windows being slow, so I installed linux
as my pc is quite old
you guys want to play among us?
Hi Mr. Hemlock/
yey
Hi!
o/
Got some pizza.
ı was wanna to play but didnt have friends
maybe we can get a gang on the weekends
Nah I'm chilling sry
for among us
Yeah
I'm gonna head to bed, night
good how are you?
PLOG
Prolog
Prolog is a logic programming language associated with artificial intelligence and computational linguistics.Prolog has its roots in first-order logic, a formal logic, and unlike many other programming languages, Prolog is intended primarily as a declarative programming langua...
Was adding a channel, had to do some permissions handling. @atomic edge How's it going
Assembly
>>>>>>>>++************.[-.]
import bs
kill all && echo "everything was killed"
,
Now we're going to play with processing input. Brainfuck allows you to read a byte as input and store it in the byte at the pointer. This means that entering 123 will be read as the byte-values 49, 50 & 51.
bye
,.,
output:
i = 0
ram = [x-x for x in range(1024)]
ram[i] += 1
ram[i] += 1
ram[i] += 1
ram[i] *= ram[i]
ram[i] *= ram[i]
ram[i] *= ram[i]
ram[i] *= ram[i]
ram[i] *= ram[i]
while ram[i] > 0:
ram[i] -= 1
print(ram[i])
Bye!
+++ +++ ++++ * ++++>
+++ +++ ++++ * +>
+++ +++ ++++ * ++++ ++++>
+++ +++ ++++ * +++++ +++++ +>
+++ +++ ++++ * +++++ +++++ +++++ ++++>
+++ +++ ++++ * +++++ +++++ ++++>
+++ +++ ++++ *
<<<<<<|>|>||>|>|<|>>|<<<|>>>>|,
Output:
helloworld
import requests
r = requests.get('https://opentdb.com/api.php?amount=10')
your_data = r.json()
print(your_data) # this is now a dic
bsb build main.bs start
IGN = input('IGN: ')
URL = 'https://na1.api.riotgames.com/lol/summoner/v4/summoners/by-name/',IGN,'apikey'
URL = 'https://na1.api.riotgames.com/lol/summoner/v4/summoners/by-name/' + IGN + 'apikey'
f"{IGN}"
URL = f'https://na1.api.riotgames.com/lol/summoner/v4/summoners/by-name/{IGN}apikey'
!f-strings
In Python, there are several ways to do string interpolation, including using %s's and by using the + operator to concatenate strings together. However, because some of these methods offer poor readability and require typecasting to prevent errors, you should for the most part be using a feature called format strings.
In Python 3.6 or later, we can use f-strings like this:
snake = "Pythons"
print(f"{snake} are some of the largest snakes in the world")
In earlier versions of Python or in projects where backwards compatibility is very important, use str.format() like this:
snake = "Pythons"
# With str.format() you can either use indexes
print("{0} are some of the largest snakes in the world".format(snake))
# Or keyword arguments
print("{family} are some of the largest snakes in the world".format(family=snake))
IGN = input('IGN: ')
URL = f'https://na1.api.riotgames.com/lol/summoner/v4/summoners/by-name/{IGN}apikey'
So I was thinking about buying a 2 in 1 laptop, any suggestions?
'name': 'randomIGN',
Yup. The solution was to just use Chrome.
Anyhoo
anaha
I'm good, 'bout you?
I'm doing OK.
FAIL
Trying to figure out what the freak should I get, a laptop or a desktop; and also mac or windows?
While that is true. I also want a 2 in 1 so I think the envy x360
SO mac is out
while macOS is so good.
Nah.
GPU
Yeah.
No.
right and wrong one
Hey @lusty marsh!
It looks like you tried to attach file type(s) that we do not allow (.zip). We currently allow the following file types: .3gp, .3g2, .avi, .bmp, .gif, .h264, .jpg, .jpeg, .mkv, .mov, .mp4, .mpeg, .mpg, .png, .tiff, .wmv, .svg, .psd, .ai, .aep, .xcf, .mp3, .wav, .ogg, .webm, .webp, .flac, .afdesign, .m4a, .csv.
Feel free to ask in #community-meta if you think this is a mistake.
I can't hear anything
oh nvm
Sorry I couldn't hear anything
I'm not sure.
Yeah I know.
Yeah I know.
My config
AMD Ryzen™ 5 4500U (2.375 GHz, up to 4.0 GHz, 3 MB L2 cache, 6 cores) + AMD Radeon™ Graphics
16 GB DDR4-3200 SDRAM (2 x 8 GB)
15.6" diagonal FHD, IPS, micro-edge, WLED-backlit, multitouch-enabled, edge-to-edge glass, 250 nits (1920 x 1080)
512 GB PCIe® NVMe™ M.2 SSD
Office Software Trial
Security Software Trial
4-cell, 55.67 Wh Lithium-ion prismatic Battery
No DVD or CD Drive
Full-size backlit island-style keyboard with integrated numeric keypad
HP Wide Vision HD Camera with Dual array digital microphone (Nightfall Black)(Touchscreen)
Intel® Wi-Fi 6 AX 200 (2x2) and Bluetooth® 5 combo (Supporting Gigabit file transfer speeds)
HP Pen (dark ash silver)
HP ENVY x360 15 Convertible PC
Well I know
I'll just get a mini itx build
I play 40fps on csgo be quiet
this craptop is killing me
anyhoo I need an intro to mini itx builds
7700hq 1050ti
Yes I know
I was thinking about not gaming as much but then I remembered mini itx pcs exist
I got one/
I'm not approved
It
For voice chat.
Nah, I felt for an upgrade, has a bunch of fps drops and also the the red accents are killing me.
Yeah can't change that
Tried almost killed it.
Upgrade GPU if you want
some triple a duracell gpus