#voice-chat-text-0
1 messages Β· Page 322 of 1
: misparses
That's such a weird parsing issue
one parser catches : as URL therefore doesn't filter it out
which is why embed
the other parser consumes the message URL
(successfuly)
they stopped
finally
Nice
no more unwanted Hawaiian Banana Nut Bread repices
Project MKUltra was an illegal human experiments program designed and undertaken by the U.S. Central Intelligence Agency (CIA) to develop procedures and identify drugs that could be used during interrogations to weaken people and force confessions through brainwashing and psychological torture. It began in 1953 and was halted in 1973. MKUltra us...
huh
short description doesn't even sound that concerning for that time
20 years, no good enough results, skill issue
"me, in wherever I am, hearing people complain about freedom:"
@primal shadow just a reminder that Chechnya exists
"thank all gods and not gods that I don't live there"
@primal shadow any of what you said about US doesn't even remotely come close to what I'm witnessing around me where I live, have some decency
it's bad elsewhere so I can't complain about here, sorry
when you run out of RAM/CPU
or disk space
π
That was what Stranger Things was based on
never watched that show
Oh huh, didn't realize that
heard good things
It's very good
extrapolation says it's going to be 300 containers when it happens
I might wathc it one day
(I'm a mathematician, trust me, don't trust me about numbers, I can't count)
I've never used MongoDB myself
I β€οΈ me some SQL
but had it running in the background on windows for quite some time because I frequently debugged mongo-related code for others
there are services (e.g. docker containers) that auto-call certbot when new subdomain requires a certificate
but for Mongo, you likely have to play with OpenSSL to split it up into multiple files and tell MongoDB to use it
Trump just got found guilty on all 34 counts
no
openssl may be quite a pain to figure out the first time
and second time and third time
yeah, I mead all that
not just openssl itself but actually figuring out what and why tf
@verbal zenith via DNS records?
yes
manual or automated?
It wanted a txt record
Why can't you run binary executables on all operating systems?
I don't yet want to dig into the API of where I have the domain registered at
@deep forge MiTM mitigation
also
in Russia, for example, MITM is proven to happen
it's not a potential threat
and I don't mean spying
because not all OS APIs are alike. There is POSIX and Windows are two big one but even not all POSIX OSes implement entire POSIX APIs.
I mean disruption of traffic
MiTM attack migration is generally against non government actors.
yes, and the thing I have to deal with is non-govermental

if you think ISPs are clueless and decent enough no to read what you send/receive, you're probably a bit naΓ―ve
ISPs can't read HTTPS connections unless government is assisting them
Oh yea, they can read HTTP which is primary reason to enable HTTPS everywhere
TLS for protocol, SSL for library -- as far as I see it used
as a non-nerd yet a programmer most interaction with SSL you'll get is linking issues
"libssl is always broken and never works"
ftps -- tls
sftp -- ssh
My head hurts now
have you tried turning it off and on again
Back later
In 2021, FTP support was dropped by Google Chrome and Firefox, two major web browser vendors, due to it being superseded by the more secure SFTP and FTPS; although neither of them have implemented the newer protocols.
amazing
I'd be surprised if they weren't sending it
Rust doesn't
(but that's, like, almost "C doesn't support something" type of statement)
okay so Docker support lied
@novel moon blockchain assumes transactions can't be cancelled which is very far from reality
F
cancelling a transaction in a blockchain is either a "rebase" or appending "<that> was cancelled"
and lookup costs and latencies there are high
damn true
as claimed by what Docker claim to be their geolocation provider
revilement?
Asylum seekers to a Australia in descending order of population: Malaysia, China, "Other", India, everyone else.
bbl
@north cliff π
hope everyones day is going pretty good where ever you are in the world.
Oh, the world is burning, but we're still alive, so there's that
come on down to the voice chat
haha yeah i feel that.
im supressed unfortunately
I thought they already created their own currency
?
Just like the US
ITS NOT SUNNYYYY
SONNE
SONNY
YES
lol
he got convicted for suspended license while driving
what if he had an appointment for the doc but couldnt be late but also had to answer the call for court bc it would be considered failure to appear
?
The Judge didnt have that same idealism
He did not care
He was given no bond. if he were rich i dont think the reaction he gave was accounted for that
our childen of the future are screwed until 3 or maybe the 4th generation after us. just how it is,
.
when you say super extremely heavy vehicle?
what do you mean?
@sullen hare @charred lance π
Question, if I deleted some directories from my remote git repo as I added them to my gitignore, when I pull the remote repo back to my local repo, how do I make it so that it doesn't remove the directories from my local repo?
Merge, rebase, fast-forward?
A wax tablet is a tablet made of wood and covered with a layer of wax, often linked loosely to a cover tablet, as a "double-leaved" diptych. It was used as a reusable and portable writing surface in antiquity and throughout the Middle Ages. Cicero's letters make passing reference to the use of cerae, and some examples of wax-tablets have been ...
KnOwLeDge iN mY GarAge
Multiview of the evolving situation in Reykjanes.
Chat may on occasion be closed temporarily until such time and circumstances dictate the necessity of its reopening. Please enjoy the live streams.
The Icelandic Meteorological Office is the primary source for reliable information: https://vedur.is/
Icelandic Instititute of Earth Sciences: ...
hola hemlocka
When checking if something is equal to one thing or another, you might think that this is possible:
# Incorrect...
if favorite_fruit == 'grapefruit' or 'lemon':
print("That's a weird favorite fruit to have.")
While this makes sense in English, it may not behave the way you would expect. In Python, you should have complete instructions on both sides of the logical operator.
So, if you want to check if something is equal to one thing or another, there are two common ways:
# Like this...
if favorite_fruit == 'grapefruit' or favorite_fruit == 'lemon':
print("That's a weird favorite fruit to have.")
# ...or like this.
if favorite_fruit in ('grapefruit', 'lemon'):
print("That's a weird favorite fruit to have.")
!true
It's tempting to think that if statements always need a comparison operator like == or !=, but this isn't true.
If you're just checking if a value is truthy or falsey, you don't need == True or == False.
# instead of this...
if user_input.startswith('y') == True:
my_func(user_input)
# ...write this
if user_input.startswith('y'):
my_func(user_input)
# for false conditions, instead of this...
if user_input.startswith('y') == False:
my_func(user_input)
# ...just use `not`
if not user_input.startswith('y'):
my_func(user_input)
This also applies to expressions that use is True or is False.
Corporate hiring procedure.
Dancing circles around things.
The front-end vs the codebase.
I mean, it's like signing up to date someone for 2 years but you only get 3 hours to figure out the person
hiring sucks
being hired sucks
Ill see you guys
!d collections.Counter
class collections.Counter([iterable-or-mapping])```
A [`Counter`](https://docs.python.org/3/library/collections.html#collections.Counter) is a [`dict`](https://docs.python.org/3/library/stdtypes.html#dict) subclass for counting [hashable](https://docs.python.org/3/glossary.html#term-hashable) objects. It is a collection where elements are stored as dictionary keys and their counts are stored as dictionary values. Counts are allowed to be any integer value including zero or negative counts. The [`Counter`](https://docs.python.org/3/library/collections.html#collections.Counter) class is similar to bags or multisets in other languages.
Elements are counted from an *iterable* or initialized from another *mapping* (or counter):
```py
>>> c = Counter() # a new, empty counter
>>> c = Counter('gallahad') # a new counter from an iterable
>>> c = Counter({'red': 4, 'blue': 2}) # a new counter from a mapping
>>> c = Counter(cats=4, dogs=8) # a new counter from keyword args
@somber heath hello! ill be right back
@stable sparrow
ty :)
@rigid brook π
hi
Hope everyone has a great night!
Top 10 most interesting algorithms ever created in computer science. Learn how software engineers have innovative techniques to solve real world problems.
#science #programming #top10
π¬ Chat with Me on Discord
π Resources
Wave Function Collapse demo https://jaxry.github.io/wave-function-collapse/
Cryptography c...
"A handsome devil dressed as a nurse playing guitar while playing music while running outside."
This is an AI Image Generator. It creates an image from scratch from a text description.
@still hinge π
HELLO
hello
Australia. π¦
Hot take.
hablas espanol?
ss
I don't follow soccer, so I honestly don't care. π
Kangaroo boxing was an exploitative abuse of the animals in question.
just like cock fights
Not as bad, but...not great.
ok
how many world cups does brazil have on league of legends
So, up the hills as well as down.
We don't like games, but rather vaquejadas
northeast at the top
Thanks, long live the koalas
what is the best way to learn English?
Necessity driven by cultural immersion.
Do you know other languages?
Download transcriptions at https://georgecolliermusic.com and check out the Discord!: https://discord.gg/3qxNDA3NCy
Original video: https://www.youtube.com/watch?v=3xQmJ_vxHB4
Performed by: Tim Minchin
Piece: Dark Side
Transcribed by: the fantastic Tony Williams
faq:
Q: how are you related to jacob collier? / A: i'm not, we just have the same...
'Prejudice' taken from the Australian 'Ready For This?' DVD.
@polar kraken π
Is there any way to stream in a channel?
Yes.
Streaming permissions are available upon request of voice-regular moderator-and-above level users at their discretion.
The best time to ask is when you see them in the voice chat.
3 min I'll be back
hello
hello
which language do you want to code?
python
do you want 100% free thnigns only as source or also paid things?
as a course or as projects to self-learn?

here are some free things
I self use projects to create my skills, but the problem I have now is that I don't have a project idea to make
i already know that
The Resources page on our website contains a list of hand-selected learning resources that we regularly recommend to both beginners and experts.
i wanna program like make something
a todo list, snake etc?
you can make a bank
to sit on? with turtle?
I am talking to @stark oxide
k
as a website and python to make the database
hello @somber heath
I'm good you?
what do you want to print?
like designs
It will sharp your skills on python ig
try to make some basic shapes
like for school i need to use vscode to make the code using python
are the requirements for the project?
or is it just make some things to show your skills?
yea
@whole bear hi
hello guys
import turtle
... # Drawing takes place
screen = turtle.Screen()
canvas = screen.getcanvas()
postscript = canvas.postscript()
print(postscript)```
is programing in minecraft a good way to learn proraming?
I mean I made a bunch of automation programs using python and C++
what you do with programming doesn't really matter
the important thing is to somthing that you enjoy and stick with
make a program that builds platforms or something along the lines
cause I'm still at school and want to learn programming in a fun way and tought maybe minecraft java is a good way to learn it, you can program in many different language like python
wait you want to recreate minecraft?
no but you can make add-ons/mods for mc
yeah fair enough then
that's why the question to learn it
do anything you enjoy
I like to do fun projects and I start after the summer break softwarde dev on school and want to learn things now cuase I have a lot of free time now
does someone here nows how to do it, or can help ig I encounter a problem
What is ultimate goal?
I want to leanr programming in a way I like now and do stuff with it already cuase i like it to do and it feels good to me to do it
A great use of the summer IMO
what's that?
learning programming when still in school
I go to some freelancer stuff but they go with gamemkaer etc for my age
I used to waste mine on videogames, but programming videogames, there's a life skill that'll add value
@dense meadow hi
what's the life skill? or is it for evry person different
hey @calm snow sry mate my voice is supressed
goto #voice-verification and verify yourself
it's python related
this AI gen?
yes, tesching my discord bot things
Hi @somber heath π
merry go round
!stream 425552190283972608
β @peak depot can now stream until <t:1717161635:f>.
curl/wget aren't pre-installed often
@deep forge many API docs provide examples of using curl with them
I think the thing that FastAPI generates has that too
nvm it doesn't
wait it does
I'm bad at reading and looking
this thingy
if you're using a minimal installation, those aren't needed generally
I'm thinking of the get web request thing
curl has a higher chance of being installed because it's also a library
β @near niche can now stream until <t:1717163390:f>.
Invoke-RestMethod for APIs
@rugged root #voice-chat-text-0 message This is supposed to be me.
Ah that's right. Thanks, it's been a while
So wait, you're white Jesus?
Well I'm not black Jesus, am I?
You got me there
@topaz coral @distant gyro π
π
Are you interested in a code review?
@autumn valve π
Hi
yea sure
How to verify
No.
why did you ask thenn?
!rule 9 ?
You were asking about promoting your work. I was suggesting you could ask for one in lieu of promotion/advertisement.
sorry i didn't read the rules
The vc is still in indian server?
sup guys
lieu?
why cant i turn on my mic
instead
ok
@quartz hedge π
what do i do then??
I've made my suggestion.
!stream 217691138696413187
β @near niche can now stream until <t:1717164795:f>.
hi, how do i unmute?
Hii
hi
I joined the meeting But I have not heared any sound's
oh it doesnt let me because i wasnt active yet
There is audio. A problem may exist on your side.
You're deafened
You need to hit the headphones icon to undeafen
That would qualify.
ok know I"m heared Thakingyou @rugged root and sorry also bcoz I'm new in discord
All good! No reason to apologize
ok @rugged root
Hello guy's I'm currently learning in python, If anyone have interacted in work with me.
As in you're looking for resources?
@onyx surge @limpid fossil π
Best example of English being bullshit: Though, tough, and through
yes, And then I need a some people in python developer, Becoz know I'm currently do some python project and I have face some errors, And i need to discussion with them and then I have improved my programming skill also.
You can always ask for help with your errors here in the server. We have a help system that's designed to help with stuff like that. See the #βο½how-to-get-help channel for more details on that
just a noob question, like we write code in English, can every other language speakers can write code in there language, or they have to learn english?
Only insofar as the relevant keywords are concerned and the documentation.
ok thanks for replying
Because learning the language without the documentation to refer to would be miserable.
There are some languages that are in languages other than English.
yes @rugged root I need a resource.
Hello guys, If anyone please explain me what is REST API.
Happy Pride Eve
Looking forward to watching a bunch of people lose their minds when the icon changes.
is also "usa hosting its 1st cricket world cup" month
texas, ny
func _devDatabase() {
devQuery := `
INSERT INTO users(server_id, identity_id) values(?, ?)
`
var err error
_, err = db.Exec(devQuery)
if err != nil {
log.Fatal(err)
return
}
}
Back to meeting
kieran@MSI:~/repos/rw-api-go$ curl -X POST http://localhost:8080/check-whitelist \
-H "Content-Type: application/json" \
-d '{
"server_id": "1cdfa108-0ba6-45fc-9756-22e76304e8fa",
"identity_id": "465c3a56-743b-4755-bad0-2c60c625a779",
"player_id": 123,
"player_name": "playername"
}'
{"whitelisted":true}
@rugged root Could I get permission to stream please?
Give me a bit
safg.site
ONE PER CUSTOMER
More info
wackitude.com 10.28$
β @deep forge can now stream until <t:1717171646:f>.
Compare the prices of 3,489 domain extensions from 54 registrars. Check domain availability, discover free features, and find the best domain registrar.
infor.mom = 1.80$
someone able to help me set up TLS Client
wge0wkrgkw0rg("sus",uwrg0we9k0rhr0wh("c++ Is A Programming Language"))
tr3g04gkrjgej(4)
paegwrh5eth(lrgkwk9rgwoko("TEST TEST TEST"))
paegwrh5eth(rgrjg39rtg3g3("sus"))
c++
Hello there,
sorry to interrupt,
I'm kinda overwhelmed and confused by where to start from,
can somebody suggest me a channel to go and get started with python, i wish to learn,
if I make a mistake, do guide me.

Oh sure, we can point you in the right direction
!resources So we have a bunch of resources linked on our site. I typically recommend "A Byte of Python", which is free on its respective site. There's also a couple YouTube channels linked in there if you prefer videos.
The Resources page on our website contains a list of hand-selected learning resources that we regularly recommend to both beginners and experts.
And we're always happy to answer questions or clarify concepts and the like
thank you for the guidance, will proceed to that now.
Happy to help! But most importantly, don't hesitate to ask questions. Programming can be intimidating with all the various terms and it's hard to know what to search for when you start out
!e
print("My band name is", "stripper"[::-1])
:white_check_mark: Your 3.12 eval job has completed with return code 0.
My band name is reppirts
What is Adoption?
Hello
How goes it
Hanging in there. Just life stuff
I prefer not using that extension, even though I know it exists
for tests too, I dislike having in-IDE display of errors
idk why
(annoys me for some reason)
yes
in-terminal
@rugged root I see it as : notation without : rather than flipped order
no character between makes it difficult if you remove a type/name
which makes it all shift?
(idk if go is free form or whatever that's called)
free-form
so is a slice like a reference to part of an array in c terms
An array has a fixed size. A slice, on the other hand, is a dynamically-sized, flexible view into the elements of an array.
sounds just like Rust slice tbh
go docs feel a bit weird to me
language being too simple takes some time to take in
rusts slice is just statically allocated though isn't it
an array may be statically allocated
* +length
I can't write
or, rather, &slice is pointer+length
slice itself is a dynamically-sized type
in that sense each array's memory is a slice
@rugged root did
it without noticing I accidentally wrote "slice" instead of "length" lol
I mean
You fixed it
Making it right eventually
I wasn't wrong, just slowly correct
"no, you predicted the future"
That's a lot
Fair
AI would slow me down
just as looking up everything on stackoverflow would
google is using AI to sort results, you use google, you use AI
as in GPT
or other LLMs
(used directly by me by querying it)
@rugged root eh, for intellisense both microsoft and intellij try to do it
like a very reduced LLM
little language model
little large medium
I need to pull python:2 and sharelatex/sharelatex:with-texlive-full somehow
hmm
markov chains?
@rugged root
"eniac running those gpt 0.1 pre-releases"
I wonder how loud it was
"Sun created Java
Oracle created Java 8"
idk what mf after tex stands for there but reading this in obviously-not-intended way is funny
I hate this. Why are they shutting it down?
ICQ was the shit man
Russia bought it
it was quite popular in Russia in late 00s
then it got absorbed by mail.ru/vk
gradually
so technically now mail.ru/vk messagers are ICQ descendants
share your favourite memes with friends and KGB
i π«Ά vk
garbage company
imagine facebook with its power on what people see, but state-run
also owning a lot of services all across the runet
I'm sad that it's not roonet and it's run by kangaroos
@rugged root @peak depot that talk about random ads reminded me of this:
"Interested in a nitrogen generator?"
I'm not NOT interested
I wonder what it generates from
if water, then it's also a hydrogen generator
ed.: ignore this, it's incorrect
Long britches.
or, called other way, water electrocution machine
Air?
"I'm not your pal, buddy!"
wait I can't chemistry
Just gnomes in there sorting the molecules
"I'm not your buddy, guy!"
Dude
"I'm not your guy, friend!"
legsleeves
yeah, water doesn't contain nitrogen, my brain is dying
Okay BUD.
BRUH
It's good.
Though, we usually have it with lemon in it, so not sweet.
You can represent any color using a linear combination of RGB channels.
cyan majenta yellow black
@silk dust look at your private
ok
red pigment mixed with green migment will get anything from black to dark yellow/brown
depending on specifics
pretty good, switched back to linux after sometime. its great just having printing/bt problems
i suppose thats a mint thing
make it fail efficiently
what?
yo hem tbh tho mint on my 6 year old laptop was great
i never had a single issue
seems to be with newer electronics for me atleast
* numpad mode for the touchpad
i mean i loved win11 and im still dual booting
but common ~170 vscode extensions with intelijj and 20 youtube tabs with 8% cpu is crazy
@deep forge linux provides better isolation mechanisms so that viruses can't affect anything
app isolation:
windows < non-android linux < android < ios
i mean isnt andriod vague ?
if windows tries to isolate apps, everything breaks, likely
and microsoft don't like when things break
@thorn wharf macos is unix and linux isn't unix
that's why some want it for unix features
dude who makes viruses for osx
besides most people on osx arent gonna be downloading alot of shady stuff like cheat labs
Arch
> three or four
if only...
Alt Linux uses a hybrid of apt and rpm, iirc
as far as I saw, that's quite a popular opinion
channel axioms are broken
specifically send to closed causing a panic
that's inexcusably bad
its concurrency is pretty good i have my mail servers go based never had an issue
C++ π«Ά
i kinda do regret it , i wish i just used java but i mean its pretty good
C++ has its own problems or suboptimal decisions, but those are footguns not fundamental incorrectness like close-send-panic
have you guys seen that 5 words with no repetitive letter?
scale up: throw more hardware
scale down: throw more hardware out the window
for genericity over architectures/systems there is also WASI
whenever it becomes stable enough
speaking about python being slow https://github.com/davidad/five-letters
i mean its bad code primarly anyways but still
classic
close enough
even javapackager
@whole bear Python is compiled
python is compiled?
yes, to bytecode
CPython is the main implementation of Python written in C
Cython makes binding C code to Python easier
there's a way to write Python modules directly in C
Cython is basically the same but with less boilerplate
boilerplate crap
nowadays even some C compilers themselves don't output machine code, but instead an intermediate representation in LLVM
difference between LLVM and other VMs being that it's a compile-time abstraction not an interpreter
I use clang, gcc, msvc or zig cc depending on the situation
no i wanted to know about the vscode ext
ah, you mean which extension I used?
and they interfere , but for embedded i found the c++ one to way be easier , i was wondering if it would be worth swithing and just working with clang
python since 3.13: compiled, interpreted and jitted
java since (idk when): compiled, interpreted and jitted
but there are so many nuances
BLOODY FINALLY: https://peps.python.org/pep-0744/
I mostly use C++ for Rust interop nowadays, and C++ extension has been quite good so far
C++ now has concepts, basically Rust's traits
important:
configure ignores and indexing priority
otherwise it will consume so much CPU
completely opposite for how I use it: compared to Python and C++, there's way less things I need to keep in mind when working with it
allows for more localised control of correctness
templates in C++ do almost no checks at their definition
generics in Rust ensure they're actually correct
tbh i only use c++ for embedded
i wouldnt even bother trying to learn something else for virtually the same thing
Rust is quite powerful for embedded too
but if you need to link a lot of big-interface C/C++ libraries, might as well use C/C++ directly
never seen anyone use rust for embedded myself tbh
Still in draft form. It'll be interesting to see if it goes through
Or no wait
their entire stack is Rust
C++ has an issue for being embedded which is the standard library
and stuff like new/delete
a lot of C++ assumes there's an allocator
afaik there are dialects of C++ that don't assume it
(whatever Arduino uses?)
((as in their IDE/whatever))
Rust core doesn't have a notion of a memory allocator
yeah, I said specifically that, whatever they chopped C++ into, is better for embedded than C++ proper
on my ARMs i pretty much always use it, but ARMs are quite expensive, so i'd rather work with stms
are you running on top of an OS?
no
i mean i dont buy it from aliexpress cause its too expensive
but same processor
"stms"?
(id what specific acronym that is)
STMS = Super Technical Monkey Science
pretty much use this for all my projects
good php code is just as easy just not as standardized
+1 to what Rabbit said
@deep forge don't commit and don't push
simple as that
@deep forge you can also tag versions of software that are tested to work so you can rollback
branches are only good for PRs, from what I had to use them within last few years
like if you need to submit two independent changes to a public repository
why are people launching fireworks again
Summer? Friday? Saturday?
what are they even celebrating
no fireworks
you'll never learn java
i dont see any
(in Russia)
which part?
it's not even legal I think
horray, I get to replace my VMware with next company to be bought by Broadcom
and I have to buy their hardware
which oblast*
Well, as it is open-source, I'll want a dev branch for stuff to be fully tested on, then that way I'll always have a stable version to fallback on.
they specifically target companies who would've been using custom hardware (switches and other) anyway
Who does that? (Besides Azure/Google/AWS)
System.out is just an instance of https://docs.oracle.com/javase%2F8%2Fdocs%2Fapi%2F%2F/java/io/PrintStream.html
and then out is just the method
wtf is the fibonacci opening
no clue, I find chess boring as hell
at least one of Oxide investor's does (who? no idea, they don't disclose)
Tech is filled with people who do stupid things, like design GraphQL endpoints
graphql is shit
no bios/uefi
cool I guess
like at end of day, I don't care if uses Unicorn Bootloader if Ubuntu will load
yeah, I look at it kind of the same way
not like I'll ever be working at a company that uses these anyway
so it has no firmware?
almost all firmware they have they wrote themselves
ah
IT'S CLASSES, ALL THE WAY DOWN
was about so say ew for w3schools
but then I remembered
what even is there as an alternative? oracle?
alot of alternatives
(not seriously)
Oracle docs aren't that bad either
Java: How am I going to give a program ability to use something? Use a class, if that don't work, use more class. If that doesn't work, mount it on tripod class and use more class.
hello
{
"C_Cpp.files.exclude": {
"**/.git": true,
"target": true
},
"C_Cpp.workspaceParsingPriority": "medium"
}
GraphQL is an incredible piece of technology that has captured a lot of mindshare since I first started slinging it in production in 2018. You wonβt have to ...
"you can't trust online tests
download them, turn off the internet, and then do the test"
the best extension ive by far had is error lens
America World Series: We hit a ball with a stick. European World Series: We sing.
i used it with error gutters aswell and its great
!e
e = 0,
print(e)
:white_check_mark: Your 3.12 eval job has completed with return code 0.
(0,)
I think I'm heading some insane anprim route where I don't want any extra error displays in code except for underline
Yeah, that's what I thought
I have breadcrumbs turned off, I have minimap turned off
tbh i hate terminal errors more https://snipboard.io/GYZ3Lt.jpg is way easier for me atleast
Remind me what breadcrumbs are in this case?
module > class > method
at the top
"breadcrumbs" that you leave in your "trail" while getting deeper into the scope
as in where the analogy comes from
oh, and seeing "committed/edited by ... at ..." annoys me too a bit
I somehow don't remember if I have it enabled
I don't, in VSC
bro you should just use text editor lmfao
i know something you might like
and type hints/whatever it's called
inlay hints
but I've limited their length
after seeing an inlay hint that was something like 200 characters long
pretty much lets you minimize everything and just see code
dude what are you saying
This is how I made a chess engine in Minecraft using only command blocks, this shouldn't be possible.
Also gotta love that 110 day wait between uploads lmao
anyways hope you enjoy
β¦ Join My Discord For Maps βΎ https://discord.gg/EFNmDnCgK7
β¦ Subscribe To My Second Channel βΎ @KiddyKeneButWorse
β¦ Follow My Twitter βΎ https://twitter.com/KiddyKene...
I can make it look like this without that extension
also there, config for the thing I have that is rare-ish, multiple editor rulers, so I'm not just removing stuff from UI
@vocal basin , you might end up working with a company using something similar to Oxide....
where I work, we're making custom hardware but we don't have that much in terms of budgets
"making" designing
Their stack is open source and it could get adopted by companies seeking to reduce licensing fees. The arm platform got adopted under similar circumstances
(5 to 10 years away)
Would I have a function docstring on my main() function?
I would recommend it, in general
Understood, thank you
"""The entry point for this module, :doc:about"""
if it's importable and usable, docstring makes sense
with description of what it actually does or "see module documentation" note
> why not linux
microsoft office
and other random pieces of "eh, we can't use something else, even though alternatives exist" software
if people are willing to pay for it, why wouldn't then they be willing to use windows over linux for it
@rugged root continuous surgery
if something is to happen in >5 years, that already makes it unlikely for me to witness lol
at the boundaries of knowledge, there is no structured learning
like, you will have to work with stuff no one made a course for
Which is best for Python file names?
checkPlayer.py
check_player.py
second
understood, thank you!
!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:
if all your "software" "job" is entirely described by existing guidance, it's not much a useful job likely
(this way you're not learning, and the company is probably wasting money on you instead of using existing solutions)
natural languages can't be learned in their entirety either
MIT neuroscientists have found reading computer code does not rely on the regions of the brain involved in language processing. Instead, it activates the βmultiple demand network,β which is also recruited for complex cognitive tasks such as solving math problems or crossword puzzles.
> not reviewing before saying
"yeah, we can hear that" would be a funny response to that lol
I'd expect "also ask any linguist about how languages are thought in their country and they'll probably say it's not comprehensive and/or is deceptive" to be quite close to truth
it for sure is true in Russia
Fair
half the language teaching later on in school is politics
and if you think that, at least, mathematics can be taught systematically...
oh do we, mathematicians, have a surprise for you
"""
argparse => Used for parsing command line arguments.
re => Used to check player identifiers using regex.
sqlite3 => Used for interacting with the database.
json => Used for interacting with a JSON.
time => Used for heartbeat function.
os => Used for paths and directories.
datetime => Used to generate date and time for logging.
threading => Used to create threads per player checks.
logging / logging.handlers => Used for handling the logging functionality.
rcon.battleye => Used for executing kick commands on the server.
"""
import argparse
import re
import sqlite3
import json
import time
import os
import datetime
import threading
import logging
import logging.handlers
from rcon.battleye import Client
I've not done this right have I? I thought you were meant to have a module docstring to describe why you imported those modules.
!d pathlib
Added in version 3.4.
Source code: Lib/pathlib.py
This module offers classes representing filesystem paths with semantics appropriate for different operating systems. Path classes are divided between pure paths, which provide purely computational operations without I/O, and concrete paths, which inherit from pure paths but also provide I/O operations.
If youβve never used this module before or just arenβt sure which class is right for your task, Path is most likely what you need. It instantiates a concrete path for the platform the code is running on.
Pure paths are useful in some special cases; for example:
use this for paths instead of os
doesn't logging have datetime built in?
as in through formats or whatever
I don't remember, since I used it a long time ago
so useful lines from there are these
re => Used to check player identifiers using regex.
time => Used for heartbeat function.
os => Used for paths and directories.
datetime => Used to generate date and time for logging.
threading => Used to create threads per player checks.
rcon.battleye => Used for executing kick commands on the server.
os line hints at that whatever you're doing with it shouldn't be the way it is
datetime -- check whether logging does that already
threading -- you can write in docs to make sure whoever runs your software (that includes you, presumably) knows the performance implications of using it
it might be an implementation detail, but a very leaky one
modules and packages rarely ever do that
https://github.com/python/cpython/blob/3.12/Lib/random.py
https://github.com/tiangolo/fastapi/blob/master/fastapi/__init__.py
So I am assuming I don't need the docstring at the top of my script as I am not making a package/module?
describe what the module does/what it is about
describe implementation details only if they matter to the user of the package
(user being programmer importing the module/operator deploying the service/end user/etc.)
@deep forge You here?
I just use the system-wide installer
important: add to path
check
check
check
check
optional
optional
optional
I'd do that
powershell
command prompt is pain, no command prompt
I recently found out I couldn't do something because Git is outdated
@rugged root guess what that something was ^
Hello
wait that's, like, in four months from now
@rugged root have you ever seen git push open a web browser before?
okay so this is not what I updated Git for
@rugged root this means no password for login
it just happens to come with all these upgrades
boop
2017?
2019?
the feature was added in around 2022 I think
or a bit earlier
commit signing with SSH keys
it's easier than GPG
in my experience
VSCode forwards keys all the way from host to the container
via ssh-agent
whatever you're formatting, format it with ZFS
""
rewrite ReFS to be on top of ZFS, and by that I mean get rid of ReFS and just use ZFS
I might have to migrate the system, so I need to figure out how to move LVM partitions
yo hemlock
LVM has, like, 5 notions of what a drive is
physical device, physical volume, volume group, logical volume, and whatever the mount is
I don't even remember why I have that as a project
can u unmute me?
i dont wanna stay another 3 days
just too talk
ive been in this server before
ah, I remembered
them two fighting over covariance
?
i used to code a game called call of booty
i gave up
ssh-keygen
from git bash, yes
use ed25519
(not rsa)
long slow less secure
it requires a bigger key to be as secure
ed25519 with 256 bit is considered ok
rsa with 4096 bit is considered ok
ed25519 key generation is instant
rsa key generation is "I'm gonna start scrolling twitter while it happens and never remember to come back to work" long
key size and everything speed are the main reasons for ed25519
initials of creators
there is also non-ed (just ec) version of ed25519
which is just slower and less secure
Most Linux users middle click for copy and paste I think
I prefer right click but Linux forces me to middle click
Which Iβve found out by pasting random shit where it shouldnβt be pasted
VSC terminal has an option to right-click-copy
Heyyy
but it fails sporadically
mirroring the entire docker hub
@deep forge python
or py with some arguments for what version to use
I should also pull all sources
Use py
so I can rebuild as much as possible in case everything dies again
Errrrm
venv\Scripts\activate.ps1 or something
28GB of stuff so far
@deep forge you also need to select the venv in VSC
ctrl shift p select interpreter
Whatβre you working on Kieran?
that
0) tells it where to find packages
- pastes activate into the terminal; or, if you're lucky, just alters the env
Yeahhh,is it the one that compiles into makefiles?
and by "lucky" I mean I have no clue when and why it happens
the stars aligned for me when it was:
python 3.12
inside docker
.venv created through ctrl shift p create environment
cmake?
cmake cmakes cmakelists into makefiles
You did
install extensions inside docker run -it --rm'd container so all server-side ones get burned down each time
Lol
Alright one second
@deep forge youβre the one who wants to stream right?
!stream 609675647203409942
β @deep forge can now stream until <t:1717193589:f>.
why do you have a json extensions
I hope I typod that and it's singular
@rugged root lunatics
Hey conch
I have 12 extensions enabled in the last window I have opened
12 I have:
better c++ syntax, c/c++ themes (I have no idea what this is), dev containers, draw.io integration, remote - ssh, remote - ssh: editing configuration files, remote explorer
even better toml, live preview, markdownlint, prettier - code formatter, rust-analyzer
I hate the fact that it actually is - not mdash or whatever
You should try treacle tart if you like pumpkin pie
"high alert, we have an incident, the venv has been git added"
@deep forge "all hope is lost, you've pushed the venv"
Sex Drive ( 2008 )
When they have trouble on the road with the car, the Amish Ezekiel offers to help them in his community. Seth Green Funny Character
In the suburb of Chicago, the eighteen year-old Ian is a naive and virgin teenager that is mocked by his homophobic brother Rex and his schoolmates; his best friends are Felicia and the wolf ...
wait, it was there before
tragic
wait what
I just read the readme
the line about argparse is, uh, ????
no, just, like, where does pip install argparse come from?
!d argparse
Added in version 3.2.
Source code: Lib/argparse.py
Tutorial
This page contains the API reference information. For a more gentle introduction to Python command-line parsing, have a look at the argparse tutorial.
The argparse module makes it easy to write user-friendly command-line interfaces. The program defines what arguments it requires, and argparse will figure out how to parse those out of sys.argv. The argparse module also automatically generates help and usage messages. The module will also issue errors when users give the program invalid arguments.
okay so that is some new GPT failure
I knew it used to suggest non-existent packages
but now, I guess, it also suggests to install parts of the standard library
@deep forge you can compile it to a single executable with no dependencies
(Go)
Lol hemlock that accent is amazing
this I mean no .so dependencies
on Linux it can statically link the C library
shared objects
DLLs
on Linux, you normally depend on a DLL of glibc
(C standard library)
debugging is more than just stepping through the program
dtrace is a debugger too
but a completely different
(different to something like gdb)
you can't gdb into something like async python and expect to understand what's happening
I really just typed docker docker pull, what is wrong with me
import logging
!d logging