#voice-chat-text-0
1 messages Β· Page 128 of 1
homing pigeons do over 100
but doubt this one is a homing pigeon
nahh i read a thing @nova prawn
even then I'm outspeeding him now
there is a command
you write
and then it gives you the access to restricted content
i forgot what it was
!rule 5 sharing bypasses of chat models is probably not appropriate here
5. Do not provide or request help on projects that may violate terms of service, or that may be deemed inappropriate, malicious, or illegal.
i wont be doing it here fosho
when i find it imma dm him
anyways whatsgood AF
hey
hi
Hru?
nice sir
oh yeah i got you
my connection is weak , my vc is still showing 'connecting'
@eager owl π
Try restarting discord?
sometimes it's a discord issue, not connection issue
its on web π€ let me refresh it
lol I have no permissions to chat but hello world π
!voice
Canβt talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
hope one day Discord introduce "this user is not connected" icon or something
I need someone to help me decode this:
pspffdopspddsopspsdapoodsopspffdxopsphasapopspsdapoodsss
@somber heathyou should be a admin of this server
public key?
what do you mean by "locked out"?
i don't think so i apparently if i decypher the meaning it reveals a seed
why do you think so?
its looks like "random.choice() ..."
if you get the seed I will give you 5%
doesn't look like it
!rule 9 stop.
god people on the internet are such hardasses for no reason
rules are rules.
can you prove you own the wallet?
( i mean it looks like random typing on his keyboard )
no
like sadhashasbdhas
but apparently there's like 500k if you decypher the meaning:
pspffdopspddsopspsdapoodsopspffdxopsphasapopspsdapoodsss
if it's potentially not your wallet, then what business do you have trying to get access to it?
i tried googling it but i dont think that will work
ew you're kind of a disgusting personality i don't like you
i bet you get really offended easily Alisa
oh yeah yeah LMAO
:|
where did you get that text from?
why do you think it can be decyphered?
π±
apparently something called VPNET idk
ur guess as good as mine at this point
apparently something called get out of here?
these are my only three clues:
VPNET
qwerty
pspffdopspddsopspsdapoodsopspffdxopsphasapopspsdapoodsss
ok my bad
500k to the person that decyphers the last string
oops
not VPNET
ohh
i figured it out
βοΈ
it's a rick astley joke
(even if this was true, sharing the key would be kind of dumb)
i knew it was a rick astley joke the whole time
i wanted to see if someone would spend a lot of time
only to discover it
but I realized
it's too hard of a puzzle
i didn't give the right clues
I need something that reveals virtualpiano.net more readily
it's too unreasonable of a premise to disguise the joke as
i disagree
someone used a cryptic naming thing to remind them of a seed
and this naming thing was made public
i think it makes sense
people do all kinds of weird shit to keep their wallet seeds
me and a rich guy I know hammered holes in a piece of metal that corresponded to the first letter of each word of our seeds
someone with the faintest curiosity and desperation would give it a shot imo
i love the idea of making someone think they're about to get rich but they actually just get rick rolled
and you get sad when someone refuses to fall for it, I get it.
"me and a rich guy "
π
no i got sad when i realized i did a bad job giving clues
parzi i like you more than alisa
π
I MEAN IT
talk to me parzi
i aint allowed
hell nah
thx
if you're so keen on solving puzzles
dsfhafshpoxhdfsdaoahhosxppdhpasxdophpaxfdod
hold on
b8f60dd5f28a99f796fa0b7d8b334feb7f788c405f889c31959f100b0b0d27c4eefb69bcaf6bac44fbfb32fd601b0796eb0a66d0486411decb8566d2a7cb0d76
if you're so keen on solving puzzles * 2
@quiet nova π
... and now I'm code-golfing the solution
@quiet nova
@jade salmon Yup yup
oh he's back
@somber heathCan i ask u something?
ok alr
so
do u have a github profile?
I should start moving stuff I have to GitHub at some point
yeah yeah
though I'd need to clean up everything before uploading
I already have a self-hosted instance of Gitea, so the only reason I upload to GitHub is to make it public
that could be an option but it probably would involved rewriting your repo's history
oh yeah
PyCharm projects directory has 201 entries
it's going to take some time to figure out which of those make sense getting published
Pyright is a superior language server
and, what's more important, VS Code's remote/docker support is not paid
i use emacs
I'm such a noob that I even failed to scroll the help menu in emacs
idk if it's a good idea to use it over ssh
almost every place tells to run emacs locally
(quite reasonable)
Okok, btw i gotta go sya y'all
bye
emacs has a package called TRAMP where you can use ssh / sftp or whatever and the filesystem is transparent to emacs (hence the name) so you can edit files remotely without having to directly work with ssh
its sort of hard to use and i don't use it
but i should be using it
as in:
local computer doesn't have emacs installed at all
only the remote does
this is what I meant by "use it over ssh"
no its only the transport protocol for tramp
I'd expect this to be possible from a terminal-based program
you have the local computer running emacs and sshing into the remote host and your local emacs presents a filesystem like interface to the remote machine
or, like, at least a message saying something like "you seem to be running emacs in an unsupported environment"
does TRAMP allow per-remote/per-container use of plugins/extensions/packages/config?
/ssh:r2q2@100.94.109.72:/home/r2q2/Projects/ thats all i had to do
TRAMP is for transparently accessing remote files from within Emacs. TRAMP enables an easy, convenient, and consistent interface to remote files as if they are local files. TRAMPβs transparency extends to editing, version control, and dired.
TRAMP can access remote hosts using any number of access methods, such as ssh, scp, telnet, and related programs. If these programs can successfully pass ASCII characters, TRAMP can use them. TRAMP does not require or mandate 8-bit clean connections.
TRAMPβs most common access method is through ssh, a more secure alternative to ftp and other older access methods.
TRAMP 2.6.0 User Manual
thats all i had to do in the first picture every other feature of emacs is available
VS Code allows installing and managing whatever additional parts it needs in a remote-only way
TRAMP is just designed to be like: hey remote access protocol ill be your shim for emacs and it says to emacs hey well look at this thing its exactly like your local system
if emacs has per-workspace plugins/settings (dir locals, seems like), then it probably has that to, I'd guess
i don't know if you can disable and enable parts of emacs based on the tramp connectioni
"workspaces" is not really a thing in emacs but like you could add it
Directory Variables (GNU Emacs Manual)
emacs is 47 years old and someone crazy enough to do it probably did it
i haven't used that
I prefer the less transparent way to manage remotes, which is provided by VS Code
for example, it has a clear separation between "client-side" and "server-side" extensions
and, something like this is also possible:
create a container
attach VS Code
install all the necessary extensions
do the work
remove the container, burning down all the extensions with it
most of Rust development I do is containerised, because (re)installing rust on the host machine is somewhat of mess
i think i have run emacs inside of vscode or something stupid
I don't even know how exactly I have the Rust installed on the host
I think it's via snap
but I'm not sure
trying to uninstall it
hi
@whole bear π
turns out, it wasn't
guys i need help im a noobie and im trying to build a small program that shows the name of a typed number
I removed everything except for libstd-rust-1.65
1 β¦ one, 21 β¦ twenty one?
@modest tide π
TIL "β¦" is called "maplet"
it TeX it's \mapsto
seems like there are two different maplets
"β¦" -- maplet arrow
"A β¦ B" -- maplet expression
hello
diving into the dread and horror of multithreading
https://doc.rust-lang.org/nomicon/send-and-sync.html
The Dark Arts of Advanced and Unsafe Rust Programming
the original code was in Python
now I'm translating it into Rust
I've only moved the core part of the code for now
no data structures/algorithms yet
it will fail a lot
- the code I have is extremely experimental and new
so ChatGPT is just unfamiliar with what it does
rarely
depends on the language
it might work if the translation is between something like JS and Python
one of the features of Rust, Generic Associated Types, which I use almost everywhere, was stabilised after ChatGPT's training data was frozen
and it was exclusively made for single-threaded async
how many time for day you spend for learning/coding?
in general, for programming
depends on a specific day
idk what the average/median is
(I don't track it)
the only metric I have is 503 contributions in the last 9 months, on Gitea (GitHub analogue)
which isn't a lot
last time I properly dedicated time to working on a project, it was 500 commits in two months
@kindred granite
Getting your own attention?
@timber oriole π
hello @somber heath
I baited you into pinging me on reply 
It would appear as though you have bested me.
@upper adder π
@quartz heath @tranquil magnet π
hi
i only use wired , keyboard / mouse , because RF devices have a sleep delay that chops off first few letters of what i type
I haven't experienced that. Maybe your wireless keyboard is a bit shit.
it was $12 dollars - so it may be
Wired mouse, yes, because the drain on wireless mice is constant when on.
@whole bear @grim axle π
@cedar glacier π
yo
Hi, do you think you should start learning Rust and if so why?
@vale smelt π
if you need to build systems level software, with requirements for performance and memory safety, it's probably the best option
And if I already know C++ for these tasks, is it worth switching?
depends on how large the existing code base is
if you're starting from scratch, probably go for Rust
if you want to use C/C++ libraries a lot, then it becomes somewhat more compilacted
Fair enough, thanks for the reply
Rust does allow calling into C
but it's neither absolutely simple nor safe
It's quite simple with bindgen
And you can assure safety pretty well
it's me
@somber heath openCV as a gesture monitor ?
I was thinking touchscreen.
Copilot is great
But yeah, maybe, for some things, prop.
It's trained on code people put into GitHub. Which is pretty good for the most part when multiple instances of similar things are aggregated.
there was a tv show , f/x : the series , they had a giant transparent screen , with hand capture interaction
is was just eye candy for the show - but the idea is great - now very old
1996
@somber heath you want to use a giant , 4k screen yes
@somber heath hmm last time i looked they made a 27 inch touchscreen , no idea now
Like Jarvis for Ironman lol
@frigid dove @viral granite π
π
ππΌ
if you loop , chat GPT to chat GPT - does it go bonkers?
What happens when you hook up a Furby skull to a Rasberry Pi and connect it to ChatGPT?
(Video Courtesy of Jessica Card)
Subscribe: https://www.youtube.com/c/NBCLX?sub_confirmation=1
YouTube Channel: https://www.youtube.com/c/NBCLX
Find us on TikTok: https://www.tiktok.com/@nbclx
Find us on Instagram: https://www.instagram.com/nbclx
Find us o...
If they don't watch out they'll end up with Ultron
just lovely....
Very Interesting
i have a furby from a garage sale --- on standby to be BORGized
Do it, that would be awesome
mmmmm , Z80 inside ??
chat GPT --> talking like star trek borg ---> via furby , with a laser eye and and ...
Post it and we'll see what can be said.
!e py a = 'apple' print(a) print(b)
@somber heath :x: Your 3.11 eval job has completed with return code 1.
001 | apple
002 | Traceback (most recent call last):
003 | File "/home/main.py", line 3, in <module>
004 | print(b)
005 | ^
006 | NameError: name 'b' is not defined
I defined it in the 2nd part of the code and I imported the 2nd page on the 1st page, I trigger something with the signal, but it does not recognize the information variable that I defined on the 2nd page.
i found a ,Fitbit , it needs a iphone to change settings ---- it may become a box of parts for , GPS , inertia , ...
Have you saved your project? Sometimes you can run an older version of your code than what you see on screen.
Oppo find n2
You know what I mean by LEGB? @onyx lagoon
Δ±Δ±Δ± what is LEGB ?
Are you talking about local variable?
Yes.
@somber heath touch screen for digital scope interface , synths , x y z
a = 0
# can access a
def f():
b = 1
# can access a, b
def f2():
c = 2
# can access a, b, c
# cannot access c
# cannot access b, c
how to convert to global
fall overboard sensor - or wireless mic
You generally don't.
yes, it's almost like I've just started
Stuff you specify within an instance should be of that instance. You can ask that instance for that data if you need it.
i understand what you're saying, but I've already imported the second page, can't I use everything on the first page because I've already imported it
okay guys i find it @somber heath
So umm, I'm new to coding and I really don't understand what parameters are. Can someone please explain
do you understand functions @clever bluff ?
Kinda
here is a simple explanation
you know print right?
functions are blocks of code that you can easily use to run a specific block of code, maybe something that you have to repeat multiple times
def function(parameter):
...
function(argument)```
imagine print without any parameters
how would you make it do different things?
it would always do the same thing
parameters are the data you pass into a function to get something done
/get some result
@clever bluff look at this real world example
Parameters are the inbox. Arguments are given to the parameters.
I get what it does based on this example but I still don't really understand in the context of a function
In this way, the parameters point to the same objects as the arguments do.
!e
def bottle(liquid):
print("I am drinking", liquid)
bottle("water")
bottle("apple juice")
bottle("propane")
@kindred granite :white_check_mark: Your 3.11 eval job has completed with return code 0.
001 | I am drinking water
002 | I am drinking apple juice
003 | I am drinking propane
@clever bluff functions are used to avoid repeating code and keeping a clean code base
I know that
parameters are just confusing
here is a trivial example
def add(number1, number2):
return number1 + number2
parameters specify things that are different between those repeated sections
of a function add, where it takes two parameters number1 and number2
because not every section will be exactly the same
its hard to help people when 3 people answer at once too
then stop answering
i started answering first. just helping him
no reason to be so toxic, if this is how you act this discord isnt for you
and what do you think we are trying to do besides help
flooding this channel with messages when im already answering him @kindred granite

I am still very confused
look at my example
trival example of an add function that takes 2 parameters
and you would use it like this
result = add(1,2)
result would be 3 in this case
Ok, I kinda get it now
Do you know any small projects that I might need a function with parameters for
quite honestly @clever bluff anything
I'll try
bussluis
A bus trap (car trap in the UK) is a metal grate placed over a ditch or pit in the road with tines (sides) spaced far enough apart that small (shorter axle) vehicles fall between the tines but close enough that larger-diameter-wheeled vehicles, such as buses, may pass. Cycles may cross broader sided examples.
Different versions exist for restri...
from england and i have no clue what a bus trap is
John Oliver and JoJo Fletcher as Lola in the fantasy fantasy of love and the passion of love, concept art, concept art, concept art, concept art, concept art, concept art, concept art, concept art, concept art, concept art, concept art, concept art, concept art, concept art, concept art, concept art, concept art, concept art, concept art, concept art, concept art, concept art, concept art, concept art, concept art, concept art, concept art, concept art, concept art, concept art, concept art, concept art, concept art, concept art, concept art, concept art, concept art, concept art, concept art, concept art, concept art, concept art, concept art, concept art, concept art, concept art, concept art, concept art, concept art, concept art, concept art, concept art, concept art, concept art, concept art, concept art, concept art, concept art, concept art, concept art, concept art, concept art, concept art,
a nightmare, cloudy, dark, darkness, dark, evil, dark, dark, dark, dark, dark, dark, dark, dark, dark, dark, dark, dark, dark, dark, dark, dark, dark, dark, dark, dark, dark, dark, dark, dark, dark, dark, dark, dark, dark, dark, dark, dark, dark, dark, dark, dark, dark, dark, dark, dark, dark, dark, dark, dark, dark, dark, dark, dark, dark, dark, dark, dark, dark, dark, dark, dark, dark, dark, dark, dark, dark, dark, dark, dark, dark, dark, dark, dark, dark, dark, dark, dark, dark, dark, dark, dark, dark, dark, dark, dark, dark, dark, dark, dark, dark, dark, dark, dark, dark, dark, dark,
jellyfish, giger, kawaii, aka, giger, character, happy, happy, happy, happy, happy, happy, happy, happy, happy, happy, happy, happy, happy, happy, happy, happy, happy, happy, happy, happy, happy, happy, happy, happy, happy, happy, happy, happy, happy, happy, happy, happy, happy, happy, happy, happy, happy, happy, happy, happy, happy, happy, happy, happy, happy, happy, happy, happy, happy, happy, happy, happy, happy, happy, happy, happy, happy, happy, happy, happy, happy, happy, happy, happy, happy, happy, happy, happy, happy, happy, happy, happy, happy, happy, happy, happy, happy, happy, happy, happy, happy, happy, happy, happy, happy, happy, happy, happy, happy, happy, happy
@slate light it needs some work I think
A high-tech robot called a "genesis" of the human race, designed by the king of the demons, intricate details, colorful, surreal, intricate, fantasy, octane render, cinematic, unreal engine, unreal engine 5, 8k, 4k, ultra realistic, volumetric lighting, dramatic lighting, cinematic, cinematic, cinematic, dramatic lighting, octane render, volumetric lighting, dramatic lighting, cinematic, cinematic, cinematic, dramatic lighting, cinematic, dramatic lighting, 8k, octane render, volumetric lighting, dramatic lighting, dramatic lighting, cinematic, cinematic, cinematic, cinematic, dramatic lighting, cinematic, cinematic, dramatic lighting, 8k, 8k, ultra-realistic, volumetric lighting, dramatic lighting, dramatic lighting, dramatic lighting, cinematic, cinematic, dramatic lighting, 8k, 8k, ultra-realistic, volumetric lighting, dramatic lighting, dramatic lighting, dramatic lighting, cinematic, cinematic, cinematic, cinematic, cinematic, cinematic, cinematic, cinematic, cinematic
Stable Diffusio Online Demo. FREE forever. Create beautiful art using stable diffusion ONLINE
Traceback (most recent call last):
File "/home/laszlo/Desktop/cyber sycurite/python/compiti/file.py", line 15, in <module>
i=open(a,'r')
FileNotFoundError: [Errno 2] No such file or directory: '12'
!pep8
PEP 8 is the official style guide for Python. It includes comprehensive guidelines for code formatting, variable naming, and making your code easy to read. Professional Python developers are usually required to follow the guidelines, and will often use code-linters like flake8 to verify that the code they're writing complies with the style guide.
More information:
β’ PEP 8 document
β’ Our PEP 8 song! :notes:
a
@mint pier
VideoCompiler Ventrillo Harassment I AM NOT THE REAL VIDEOCOMPILER Please donate to the real VideoCompiler via PayPal to VideoCompiler@gmail.com
I AM NOT THE REAL VIDEOCOMPILER
Please donate to the real VideoCompiler
via PayPal to VideoCompiler@gmail.com
there appear to be certain violations happening
They've been dealt with
yeee
π
^ is also hilarious
im on their discord π
This jerk of a landlord acts like it's MY fault that the downstairs neighbors have a bunch of water in their apartment. I know my rights, dammit! This call was inspired by a news story about a couple of guys turning their living room apartment into a swimming pool. Here's that story:
http://www.news.com.au/finance/real-estate/russian-teenage...
π π π
my kitty
Netcat (often abbreviated to nc) is a computer networking utility for reading from and writing to network connections using TCP or UDP. Netcat is designed to be a dependable back-end that can be used directly or easily driven by other programs and scripts. At the same time, it is a feature-rich network debugging and investigation tool, since it ...
228 votes and 29 comments so far on Reddit
"Write your next Ethereum Contract in Pyramid Scheme"
if I was to fly to Estonia and back, that'd cost me around $400~$1'000, excluding bribes required to leave the country in the first place
Russia
Not sure. Sorry.
did you try restarting discord?
It could be the server that the VC is connected to vs your server
The region is set to whoever connects to the VC first
that would also involve some time passing for the VC to switch servers
Hello yes, could I have Buzem in Baker Street please?
Subscribe for more: http://bit.ly/hattricksub
Visit Our Website: https://www.hattrick.co.uk/
Follow Hat Trick: https://twitter.com/HatTrickProd
Like Hat Trick: https://www.facebook.com/pages/Hattrick-Productions/114980688515764?nr=108383925853313
thats very racist of you PLOME
you're one to talk
I cannot make everyone move to another channel bro
sup
whats this code do
what's
lol
why cant i talk
it says supressed
!voice
Canβt talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
dang 50 mags?
msgs
whats that import function?
you have to pay for co pilot right
?
wait where?
i am a student
on github?
found it
telling me i gotta give more info
@whole bear π
Canβt talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
@spiral flume π
what up...
woops. the reply context was still set π
wat!erm!elo!n
import random
import string
base_string = input("Input text:")
jump = input("Input jump size:")
cipher_string = ""
count = 0
for i in base_string:
cipher_string += str(i)
count += 1
if count % int(jump) == 0:
cipher_string += random.choice(string.ascii_letters)
print(cipher_string)
watermelon
3
base_string = user_input("Input text: ")
jump = to_int(user_input("Input jump size: "))
letters = ""
for i in range(code("a"), code("z"))
letters = letters + char(i)
end for
for i in range(code("A"), code("Z"))
letters = letters + char(i)
end for
cipher_string = ""
count = 0
for i in base_string
cipher_string = cipher_string + i
count = count + 1
if count % jump == 0 then
cipher_string = cipher_string + letters[floor((rnd * letters.len))]
end if
end for
print(cipher_string)
!e ```python
import random
import string
base_string = input("Input text:")
jump = input("Input jump size:")
cipher_string = ""
count = 0
for i in base_string:
cipher_string += str(i)
count += 1
if count % int(jump) == 0:
cipher_string += random.choice(string.ascii_letters)
print(cipher_string)
!e
code
!e -i ```
import random
import string
base_string = input("Input text:")
jump = input("Input jump size:")
cipher_string = ""
count = 0
for i in base_string:
cipher_string += str(i)
count += 1
if count % int(jump) == 0:
cipher_string += random.choice(string.ascii_letters)
print(cipher_string)
!voice
Canβt talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
Corey Schafer's YouTube playlist for Python beginners.
Downloadable Python documentation available from python.org. Specifically, the zip of pdfs, and within that, library.pdf.
!e
code
!eval [python_version] <code, ...>
Can also use: e
Run Python code and get the results.
This command supports multiple lines of code, including formatted code blocks. Code can be re-evaluated by editing the original message within 10 seconds and clicking the reaction that subsequently appears.
The starting working directory /home, is a writeable temporary file system. Files created, excluding names with leading underscores, will be uploaded in the response.
If multiple codeblocks are in a message, all of them will be joined and evaluated, ignoring the text outside them.
By default, your code is run on Python 3.11. A python_version arg of 3.10 can also be specified.
We've done our best to make this sandboxed, but do let us know if you manage to find an issue with it!
/home
!code
print('hell')
import random
import string
base_string = input("Input text:")
jump = input("Input jump size:")
cipher_string = ""
count = 0
for i in base_string:
cipher_string += str(i)
count += 1
if count % int(jump) == 0:
cipher_string += random.choice(string.ascii_letters)
print(cipher_string)
!e py a, b = 1, 2 print(a) print(b)
@somber heath :white_check_mark: Your 3.11 eval job has completed with return code 0.
001 | 1
002 | 2
!e def make_word():
word = ""
for ch in "spam"
word +=ch
yield word
print(list(make_word()))
@whole bear :x: Your 3.11 eval job has completed with return code 1.
001 | File "/home/main.py", line 3
002 | for ch in "spam"
003 | ^
004 | SyntaxError: expected ':'
def make_word():
word = ""
for ch in "spam":
word +=ch
yield word
print(list(make_word()))
!e def make_word():
word = ""
for ch in "spam":
word +=ch
yield word
print(list(make_word()))
!e
code
!eval [python_version] <code, ...>
Can also use: e
Run Python code and get the results.
This command supports multiple lines of code, including formatted code blocks. Code can be re-evaluated by editing the original message within 10 seconds and clicking the reaction that subsequently appears.
The starting working directory /home, is a writeable temporary file system. Files created, excluding names with leading underscores, will be uploaded in the response.
If multiple codeblocks are in a message, all of them will be joined and evaluated, ignoring the text outside them.
By default, your code is run on Python 3.11. A python_version arg of 3.10 can also be specified.
We've done our best to make this sandboxed, but do let us know if you manage to find an issue with it!
!e
print('oof')
!e py for iv in enumerate('abc'): print(iv)
@somber heath :white_check_mark: Your 3.11 eval job has completed with return code 0.
001 | (0, 'a')
002 | (1, 'b')
003 | (2, 'c')
!e py for i, v in enumerate('abc'): print(i, v)
@somber heath :white_check_mark: Your 3.11 eval job has completed with return code 0.
001 | 0 a
002 | 1 b
003 | 2 c
!e for i, v in enumerate('abc'):
print(i, v)
!e py i = -1 for v in 'abc': i += 1 print(i, v)
@somber heath :white_check_mark: Your 3.11 eval job has completed with return code 0.
001 | 0 a
002 | 1 b
003 | 2 c
@whole ledge π
hi
Hello
dose any on know data science programing in python
did ask but no response / no interaction
what is that?
got it
ok
!e py my_dict = {'apples': 1, 'pears': 2, 'oranges': 3} print(my_dict['pears']) print(my_dict['apples']) print(my_dict['oranges'])
@somber heath :white_check_mark: Your 3.11 eval job has completed with return code 0.
001 | 2
002 | 1
003 | 3
This is an example of the instantiation and population of a dictionary and subsequent retrieval of data from that dictionary.
A dictionary is made up of entries called items. Each item is made up of a key:value pairing.
The value is referenced by specifying the key.
In this way, a dictionary is like a collection of variables pointing to objects.
!e py my_dict = {} my_dict['key'] = 'value' print(my_dict)
@somber heath :white_check_mark: Your 3.11 eval job has completed with return code 0.
{'key': 'value'}
This is an example of subscription by key.
I am creating the empty dictionary, subscripting it with the key 'key', and assigning that key's associated value as 'value'
Keys of a dictionary may only appear once as keys of that dictionary. No duplicate keys.
a = 1
a = 2```For the same reason a can't point to both 1 and 2 at the same time.
a = [1, 2]```You might do this if you needed to.
The values of a dict are arbitrary. They can be any object.
The keys must be "hashable".
Typically, this means immutable objects, but more strictly, things which implement __hash__, ideally correctly.
!voice
Canβt talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
Enjoying it?
um
you can't really be using discord
if you're 12 years old
but you're not 13 now
meaning you should't be using discord
That's like saying I'm 17, but nearly 18 so I can drink
At the very least, I wouldn't advertise your age
But yeah, you should hold off on using Discord until your birthday
See you then!
Anita Faye Hill (born July 30, 1956) is an American lawyer, educator and author. She is a professor of social policy, law, and women's studies at Brandeis University and a faculty member of the university's Heller School for Social Policy and Management. She became a national figure in 1991 when she accused U.S. Supreme Court nominee Clarence Th...
Hi guys, can you guys please tell me what is an 'f string'?
Creating a Python string with your variables using the + operator can be difficult to write and read. F-strings (format-strings) make it easy to insert values into a string. If you put an f in front of the first quote, you can then put Python expressions between curly braces in the string.
>>> snake = "pythons"
>>> number = 21
>>> f"There are {number * 2} {snake} on the plane."
"There are 42 pythons on the plane."
Note that even when you include an expression that isn't a string, like number * 2, Python will convert it to a string for you.
Yep!
!e
code
!eval [python_version] <code, ...>
Can also use: e
Run Python code and get the results.
This command supports multiple lines of code, including formatted code blocks. Code can be re-evaluated by editing the original message within 10 seconds and clicking the reaction that subsequently appears.
The starting working directory /home, is a writeable temporary file system. Files created, excluding names with leading underscores, will be uploaded in the response.
If multiple codeblocks are in a message, all of them will be joined and evaluated, ignoring the text outside them.
By default, your code is run on Python 3.11. A python_version arg of 3.10 can also be specified.
We've done our best to make this sandboxed, but do let us know if you manage to find an issue with it!
age=13
print(f"SonicGamer is {age} years old.")
!e
age=13
print(f"SonicGamer is {age} years old.")
@dense meadow :white_check_mark: Your 3.11 eval job has completed with return code 0.
SonicGamer is 13 years old.
nice
It's super handy
is it a new feature in 3.11?
Nah, that's been a thing since 3.6
Prior to f-strings, there were 3 other ways to format strings
!e
spam = "ham"
print("I love %s" % spam)
print("I love " + spam)
print("I love {}".format(spam))
@rugged root :white_check_mark: Your 3.11 eval job has completed with return code 0.
001 | I love ham
002 | I love ham
003 | I love ham
The first one is a carry over from how C does string formatting
Yeah it's not ideal
Hello there
Der Volkswagen Polo VI ist die sechste Generation des Polo von Volkswagen. Er wurde am 16. Juni 2017 vorgestellt. Am 17. Juli 2017 lief im Werk Pamplona der Volkswagen Navarra S.A. die Serienproduktion an. Produktionsorte sind das Werk in Pamplona (Spanien) sowie das VW-Werk in Uitenhage (SΓΌdafrika). Seit dem 29. September 2017 prΓ€sentieren ihn...
Congrats
"Oh god what have I done..."
ooooyyyy
Did you see this? π https://www.reddit.com/r/CasualUK/comments/139uzc8/i_like_vagina_camilla/
Just cracks me up
Like
hey , you gotta looooicines for dat
How did anyone keep a straight face
Tough economy
indeed
@rustic yew Yo
charlie thinks everybody in the world is a peasant
That'll be me one day
no pot but you can pop pills from your dokteer
TIL
clinton lost his law liscence
I have a stupid question to Hemlock
should incidents like this get reported?
#voice-chat-text-0 message
practicing deviant
I would yeah
Then Governor Bill Clinton playing sax on The Arsenio Hall in 1992 (one song played is Heartbreak Hotel).
though the obvious rule break there was repeated rule 9 violation
True. But yeah, would rather us be able to nip toxic attitudes like that in the bud
funny how they just gave up trying to troll (because they realised they're unable to)
#voice-chat-text-0 message
From the final part of the academic decathlon in the movie Billy Madison. The actor is Jim Downey, formerly of SNL. I could not find a good version to use for a sound board, so I decided to upload my own.
What you've just said is one of the most insanely idiotic things I have ever heard. At no point in your rambling, incoherent response were y...
Hope everyone enjoys this nostalgic track as I do :)
edited in to start at 0:12
Codec for texts
@rugged root remember , Information Society , the singer makes music for video games - last i heard
Name doesn't ring a bell
Only pack the essentials on vacation
Music video by Information Society performing What's on Your Mind (Pure Energy).
Download/Stream: https://tommyboyrecords.lnk.to/InformationSociety_InformationSocietyWE
Tommy Boy Records is a legendary Hip Hop & Electronic record label founded in New York City in 1981. The label is credited with launch...
cats get into everything
Btw if you are ever in Brunswick ME in the morning, go to flip. Their menu is insane.
Those are so pricey
$4 USD , 1 pancake ?
Fair
Hubcap of a tractor trailer
@rugged root did you see Uncle Buck - John Candy
Also if you ride your bike there you get a massive discount
Mm.... security trainings...
I know the movie, never saw it
Ugh, back in a sec, gotta do a KnowBe4 security training thing
Maine in general is very expensive because it is full of really old people who never travel and therefore think these prices are normal, and very few young people who know better are around to make a difference.
And by never travel I mean they think if they ever leave Maine they will become communists.
Or see a dark skinned person. Ever.
@peak copper Do they allow this during test taking? https://www.youtube.com/watch?v=s-y_lnzWQjk
This video explains the function of the mechanical integrator, a mechanism crucial to the development of mechanical analog computers throughout the twentieth century.
This video is part of a project I have been working on in collaboration with Professor Michael Littman of Princeton University. One of the goals for developing this specific machi...
wassup~
I'm very glad that this lets me view these videos at 2x speed.
Yoooooo, how goes it Chamchi?
I'm currently working part-time and studying in between shifts. How about you?
From the 1989 comedy movie,"Uncle Buck", where John Candy cooks up a huge pancake birthday cake for his nephew.
737 ? problems ???
Specifically the 737 MAX
what specifically ???
fox guarding the hen house
one sec
Nifty, thanks
UC Berkeley 
I'd say they're up there with Stanford, MIT, etc. for computer science.
ye
"Enable a strong and secure systems platform for taxpayer-facing applications
Expand the digital conversion of paper case files and documentation"
"Reinvest savings to keep technology current and expand digital services consistent with similar trends in the private sector"
AKA. A free file system.
"More web tools, online applications"
@whole bear Message in here next time. Do no rush in without listening to hear if there's an ongoing conversation
It's incredibly rude
I think school careers advisor are pretty much universally terrible π
lithp
o
()lisp
are you ringringring
(((((
@rugged root #voice-chat-text-0 message
Oh like the cpython source
struct Node {
NodeKind kind; // Node kind
Node *next; // Next node
Type *ty; // Type, e.g. int or pointer to int
Token *tok; // Representative token
Node *lhs; // Left-hand side
Node *rhs; // Right-hand side
// "if" or "for" statement
Node *cond;
Node *then;
Node *els;
Node *init;
Node *inc;
// "break" and "continue" labels
char *brk_label;
char *cont_label;
// Block or statement expression
Node *body;
// Struct member access
Member *member;
// Function call
Type *func_ty;
Node *args;
bool pass_by_stack;
Obj *ret_buffer;
// Goto or labeled statement, or labels-as-values
char *label;
char *unique_label;
Node *goto_next;
// Switch
Node *case_next;
Node *default_case;
// Case
long begin;
long end;
// "asm" string literal
char *asm_str;
// Atomic compare-and-swap
Node *cas_addr;
Node *cas_old;
Node *cas_new;
// Atomic op= operators
Obj *atomic_addr;
Node *atomic_expr;
// Variable
Obj *var;
// Numeric literal
int64_t val;
long double fval;
};```
β @lime vale can now stream until <t:1683560455:f>.
It's like I don't exist ;-;
your messages certainly don't π
Fair enough
We do? π
I don't think I've ever felt refreshed after a nap.
Yeah that's a bit of a tautology
There's one where you're just really heavy
# Oh merciful lord, please forgive me for what follows
A small C11 compiler. Contribute to wgtdkp/wgtcc development by creating an account on GitHub.
A imports B. B imports A
Have patience
Cory?
Oh ok @rugged root
Erm, you're probably right
Corey Schafer, YouTuber, playlist for Python beginners
Ok thanks
That "Jay Z" song is pretty good π
New AllttA Out Now : http://linktr.ee/AllttA
Imagine that...
#alltta #notjayz #notonalbum #aimusic #ai #experiment
Produced by 20syl, written by Mr. J. Medeiros :
You tell the young they can never become what they aspire to
Born in a cell with no one who can inspire you
Your highs are never as high as those who li...
It's the land of the living, not the land of the dead.
Patreon to support this channel, Hi-res images or just for prompts: https://www.patreon.com/user?u=87233464
Instagram: https://www.instagram.com/demonflyingfox
Twitter: https://twitter.com/demonflyingfox
#ai #harrypotter #balenciaga
Daniel something, but I've forgotten now lol
Well that's kind of always been the case.
We just have to treat video/audio the same way we treat textual information with regards to provenance.
LX, halp. I don't know what to make and it's making me insane
Like, what to code?
Yeah
!pypi zest.releaser
Please no
why not
Containers are much better solution in 99% of the cases
We can just fight in Text π
git allows to do things distributed-ly
things like svn seem to do the opposite way (at least, from what I've heard/read)
Sounds likely
Emacs+Magit makes interactive rebase very bearable
all the time I rebased was:
I unintentionally initialised a remote repository with readme/stuff
now I need to somehow put local commits on top of it
No need for this. Just fix it and leave the old commits
@quasi condor Yo
In software development, technical debt (also known as design debt or code debt) is the implied cost of future reworking required when choosing an easy but limited solution instead of a better approach that could take more time.Analogous with monetary debt, if technical debt is not repaid, it can accumulate "interest", making it harder to implem...
at least it's an internship not an "interview"
You do have a kind of deep voice π
Flask is not front-end
like,
Flask has nothing to do with GUI
well
templates might be somewhat
but not really
"introducing latency to each GUI action is definitely great,
let's have everything server-side processed"
web sucks, go native
Scrolling the server list on the left is always super laggy for me.
I have enough folders to not have that problem
discord app (desktop electron) in a problematic state lags the whole system sometimes
> pretty much every action [requires waiting for the server]
that "pretty much every" qualifier is incorrect.
discord.py is built on top of aiohttp
like what?
@willow light join vc
right clicking on a message does, switch servers does, switching channels does, sending a message obviously does
it was breakfast haha. haven't had lunch yet.
or if you're being pedantic - a ws message rather than a distinct request
most of the handling of right click doesn't.
if I right click on a message, it will make a request unless it's cached whatever it needs to cache
not sure exactly what that is
but it's at the server level at least
Just your ordinary, average week in the farms of New Zealand. An ad that stirred up a fuss at first, this word having not been uttered in a NZ commercial break before, but soon changed the meaning of "bugger" for the whole country forever. Australia would air this ad with no setbacks whatsoever. Directed by Tony Williams at Zero Filmes.
Neem een rode bal, een brug, een boot, een brugwachter en een hond. Het speelse hondje veroorzaakt een traditionele 'Even Apeldoorn bellen'-scène in een oer-Hollandse setting. De fraaie driemaster die de bijtijds opgedraaide brug wil passeren, groet de brugwachter met een fluitsignaal. Voor de hond is dit echter het sein dat zijn buurmeisjes met...
> sending a message obviously does
no, waiting for a confirmation from a server, that the message was sent, is not a part of the process of "sending a message" action
UI does a lot of work after the message was sent out and before it even arrived to the server:
resetting the text box
adding the message to the list of those displayed in the channel
no, waiting for a confirmation from a server, that the message was sent, is not a part of the process of "sending a message" action
UI does a lot of work after the message was sent out and before it even arrived to the server:
please o wise one - enlighten me as to how my text gets to the server without Discord sending something to the server
is it magic?
or does the client in fact have to send the ws message
as I said
can you read?
there is a specific word
waiting
Ladder is life insurance youβll love to get. Answer a few questions online and voilΓ ! If you qualify, weβll cover you with the click of a button. There are no hidden fees, and you can cancel or adjust your coverage anytime. Zero hassles, 100% love. Visit ladderlife.com to learn more.
you're the one that brought waiting into it
I have no idea where it came from - all I said is that pretty much every action sends a request
then clarified to include ws messages
as far as I heard the original phrasing of what you said
and even then - when I send the message, the message will render as grey until I get some sort of ack from the server
so it still waits for the server to render it as properly received*
otherwise it will stay grey
it's a fundamentally network-bound UI action
but you tried to argue against a statement about waiting anyway
because you're wrong on two accounts
two separate accounts.
A) I didn't mention waiting
B) It does wait anyway
If memory serves the original thing was like "has some sort of interaction with the server" which I would say covers both cases
MilitΓ€ra underrΓ€ttelse- och sΓ€kerhetstjΓ€nsten (MUST) Γ€r en verksamhet inom FΓΆrsvarsmakten som dels utgΓΆr Sveriges militΓ€ra underrΓ€ttelsetjΓ€nst, och dΓ€rmed har huvudansvar fΓΆr att ta fram militΓ€rt relevant information om frΓ€mmande makter, dels ansvar fΓΆr militΓ€r sΓ€kerhetstjΓ€nst. MUST ingΓ₯r i HΓΆgkvarteret och sorterar direkt under ΓB. Verksamheten...
The Swedish Chef is my favorite Muppet so Enjoy!
Part 2 https://www.youtube.com/watch?v=DDHyXxITass
Part 3 https://www.youtube.com/watch?v=MxhyxpN-thI&t=4s
He is my favorite Muppet
Zig is to C as Rust is to C++
Why would it not? 
@woeful wyvern https://docs.rust-embedded.org/book/
there is no_std Rust
@woeful wyvern usually, the same way as you'd compile C to it
there are specifics
but anyway
Rust has no fundamental barriers against it
what you often won't get with C,
is using and composing packages for embedded
"if there's a garbage collector, why don't just remove the garbage producer"
cargo allows creating packages that don't depend on the standard library
@rugged root you can make one for it
like
Rc but actually GCd not only reference-counted
that would require each GC-able type to list all of its references
"just think"
and create a proper type architecture for the project
I had an equivalent of Any in some code I had
"I spent time thinking"
and now I don't have an equivalent of Any there
generics are useful
@woeful wyvern Rust uses constructs on top of a pointer
and one of the only few reasonable ways to use these raw pointers is to build such wrapper constructs
Box, Rc, etc.
Smart pointers
Ref counting, heap allocation etc...
or under Pins
Box allows mutability
Rc doesn't (by default)
@woeful wyvern Box and Rc are generic
Reference-counted
You alright there, asi?
Box does heap allocation for you
let mut bool_box = Box::new(true);
*bool_box = false;
You can just enum it
Any
Utilities for dynamic typing or type reflection.
to code what?
some specific project?
Yeah i need a python project
!d sqlite3.Connection.create_function
create_function(name, narg, func, *, deterministic=False)```
Create or remove a user-defined SQL function.
just use a priority queue
if stuff fails, send it to be used way way later
not log
set
Alastair Penman performs Thinking Out Loud by Ed Sheehan for a quartet of carrot clarinets!
Carrot clarinets created using a design by the incredible Linsey Pollak.
SQLite isn't for speed
SQLite is for when you just want a local database then and there
if you want something embedded and fast, probably something custom like just manually handling B-trees
it won't be reliable
but it will be fast
Wait is the one I linked built in?
no
Lame
Rust is kinda stingy with builtins
It has cool stuff like b-tree maps/sets though
Rusqlite is an ergonomic wrapper for using SQLite from Rust.
the more used one
Neat
and the one mentioned in
https://rust-lang-nursery.github.io/rust-cookbook/database/sqlite.html
Collection of useful Rust code examples
SQLite itself is kind of "it's wrong but who cares"
some checks are disabled by default
iirc, that includes foreign keys
"sure the developers aren't going to make mistakes"
foreign
Assuming the library is compiled with foreign key constraints enabled, it must still be enabled by the application at runtime
with this
PRAGMA foreign_keys = ON;
Foreign key constraints are disabled by default (for backwards compatibility), so must be enabled separately for each database connection.
did they not support FKs at all at some point?
Careful developers will not make any assumptions about whether or not foreign keys are enabled by default but will instead enable or disable them as necessary
"Careful developers"
don't forget, SQLite can run in-memory
Why are we still helping him with this?
(this is response supporting what Rabbit said, not an attempt to help anyone)
"and this is just flexing on someone who, I'm kind of sure, can't implement it correctly"
I used Sphinx but didn't look into theming much
5.3.0 -> 6.0 changed stuff
Re-inventing the wheel, no?
what Spinx version?
there was version
so, yes, 5->6 change happened
(it's not backwards-compatible)
"rst-versions" is the class for it
!pypi sphinx
docs.python.org is on Sphinx 4.5.0
I came back again.
for some reason I though py3.12 docs were Sphinx 5.3.0
but, not, it's 4.5.0 too
(though they have a new theme for py3.12 docs)
"rare sight: dark theme, authors of which didn't forget to properly handle the search bar"
just a joke about people often forgetting to do it, for some reason
(there are a lot of less-than-carefully-made dark themes in existence)
is API reference on the home page supposed to list everything without a depth limit?
idk if there's a way to separately set it for "User Docs" and "API reference"
.. FlightplanDB-python documentation master file, created by
sphinx-quickstart on Wed Mar 10 18:01:47 2021.
You can adapt this file completely to your liking, but it should at least
contain the root `toctree` directive.
Welcome to FlightplanDB-py's documentation!
===============================================
Welcome
------------------
If you're new, check out the :doc:`user/introduction` or :doc:`user/quickstart` sections.
.. toctree::
:maxdepth: 4
:caption: Docs
user/userdocs
api/main
Indices and tables
------------------
* :ref:`genindex`
!stream 500168097852948482
β @desert wolf can now stream until <t:1683577480:f>.
Well now I know how I will be debugging this week
How is that related?
circle with lines
wasgud
@bleak copper π
Hello
@somber heath Yo man
How are you guys doing today?
Hope it's good
I have learnt all types of variables
Yes, I know how your days is. It is chilly
Would you like to show off your new knowledge?
Mhm. Those are object types/classes.
variables are signposts/proxies to objects
Like True False shit i still don't understand
Mhm. Well, True and False are objects, keywords and singletons. Objects, as in they're a Python object of a given type. That given type/class being bool.
They are keywords, as in Python treats them in a special way. You can't make a variable out of them, for example.
!e py True = 'abc'
@somber heath :x: Your 3.11 eval job has completed with return code 1.
001 | File "/home/main.py", line 1
002 | True = 'abc'
003 | ^^^^
004 | SyntaxError: cannot assign to True
They're singletons, as in there's only ever one instance of them in existence.
@dense meadow :warning: Your 3.11 eval job has completed with return code 0.
[No output]
Yes, but that's assigning the variable, abc, to the boolean singleton object, True.
I was demonstrating how you can't use True as a variable.
A variable isn't the object, itself.
It's a reference to one. It's a proxy.
The variable is the name.
Not the object.
!e py a = [] b = [] c = a print(a == b) #True. a points to an empty list. b points to an empty list. They are equal. print(a is b) #False. a points to a list. b points to a different list. They're not the same list. print(a is c) #True. a points to the one, same list that c points to.
@somber heath :white_check_mark: Your 3.11 eval job has completed with return code 0.
001 | True
002 | False
003 | True
The most frequent use of it is one you won't see.
!e py if 1 + 1 == 2: print('Hello, world.')
@somber heath :white_check_mark: Your 3.11 eval job has completed with return code 0.
Hello, world.
In this example, I'm asking Python a question. What is one plus one? The answer is 2. Does 2 equal 2? True.
1 + 1 == 2
2 == 2
True```
if True:
print('Hello, world.')```
The expression I used evalutates / boils down to True.
True is truthy. False is falsy.
All objects have a truthiness/falsiness.
0 is falsy. Nonzeros are truthy.
Empty lists are falsy. Lists with things in them are truthy.
Empty strings are falsy. Strings with characters are truthy.
!e py if '': print('A') if 'abc': print('B')
@somber heath :white_check_mark: Your 3.11 eval job has completed with return code 0.
B
Can you solve this real interview question? N-Queens - The n-queens puzzle is the problem of placing n queens on an n x n chessboard such that no two queens attack each other.
Given an integer n, return all distinct solutions to the n-queens puzzle. You may return the answer in any order.
Each solution contains a distinct board configuration o...
@lunar haven
@lime quiverπ
π
@sinful phoenixπ
sophisticated
@muted flint π
@whole bear