#ot2-the-original-pubsta
652 messages · Page 62 of 1
From who??
Oh damn
apparently just gives every message
Yeah 17m messages is WILD
@wide totem Can you give me that ID?
I want to check other servers
just find a deleted user lol
You can just do after:0000
innersloth only has 5m
LOL
@daring jay what's one of the firefox dev only features?
where's that option?
6 million in staff channels what the fuck lmao
this also includes archived public channels
ah
but yea, staff channels have a lot
Effort
And partner channel, how I miss it
No, channel for partners
how was it?
Where? 😄
Ah, PyWeek isn't made by Python Discord
;-;

u just said you were smth else a few minutes ago
I can be a cat and a pleb
lol
interesting ..... pfp
me too
lmao i tried to reupload it but
@limpid fern what is your pfp!?
It me
most accurate robots my ass
it just looks like a purple filtered selfie
Owner of Python \😳
lol
since the server is named pythot
aaaaaaaaaaaaaaaah
i mean named python
not pythot sheesh
pythot 😳
i mean that's @limpid fern's nickname smh

This pink #EC87C0
oh that's a very nice pink
It's the best pink
I'd view it on lancebot but i haven't actually finished that command yet
xith I'm not dead just busy
was it rgb lighting or post processing?
Best pink
Huh?
like did you light with the pink or filter the image afterwards
Yeah, greyscale, then I overexposed it, then added a layer on top with pink and set it to blend mode multiply so white becomes pink and black stays black
what's the worst color
in hex
I need to make a new pfp
so whatever color, that's my new pfp
#0000ff
#787142 vomit green
that's not half bad
Hmm, too good
I'm trying
#3EFFA7
because it looks like a ribbon
If you can put it on a background of #70DDFF 
I thought you were trying to go for something that looked bad
how are you creating these so fast?
gimp and colorize
this one i actually took a file and loaded it in, then rotated it and merged the layers by masking
hm, what about recolouring pycharm logo? 🤔
hm, that's what pycharm's logo looks like under the black square part... 😮
decided to play on raster because vector gradients annoy me
Nice!
Could you try a rainbow one?
Disgusting ngl lol
It just dawned on me that I can recolor Firefox dev as well so I can easily tell it apart from nightly lol
I'm disappointed in Firefox's, top, text rendering, it looks horrible. Compared with Brave on the bottom. I have played around with some CSS properties but no difference, there are no settings that address this
(Site is Zoe's https://color.koya.io/)
Who's Zoe
A friend I work with
O
oh yes. black and black
playing with vectors and just replacing the shapes into rainbows separately would probably be better
lol
That looks pretty cool actually
wow smh
Hey @wide totem!
It looks like you tried to attach file type(s) that we do not allow (.ico). We currently allow the following file types: .gif, .jpg, .jpeg, .mov, .mp4, .mpg, .png, .mp3, .wav, .ogg, .webm, .webp, .flac, .m4a.
Feel free to ask in #community-meta if you think this is a mistake.
🤔
that's interesting lol
they preview before upload but don't preview after upload
@delicate lion ^
rainbow pycharm while keeping shape but not original gradients (because I hate vector gradients)
also, those "gradients" here are just colours blurred together, I was lazy
how the fuck can one change the icon on windows
did that
when i open it , its still the old icon
closed and its okay
open and bad
ah, you mean on the taskbar?
yeah
like
its fine when closed
and i even restarted explorer
and the program itself too
vsc insiders fwiw
By right-clicking a program icon in the taskbar, right-clicking the name of the program in the pop-up, selecting "Properties" then "Change Icon" I was able to change the icon in the taskbar as long as the program isn't running. However
I'm not really customising my windows or anything, so idk .-.
I also found this older thread that suggests changing icon in two places for taskbar stuff - https://www.tenforums.com/customization/27489-how-change-windows-10-taskbar-icons.html
any way to do that? please link me. thanks a lot.
omg, since I checked that icon with osu, I decided to open it... I haven't played it in years
nicky
made it to an icon on windows. Unfortunately it ruined the resolution a bit
changing the shortcut icon also changes the image on taskbar
How do you change the icon of something?
I imported the image in GIMP and exported it as .ico
Is there a better way to do it with good resolution? @tribal tinsel
Also if you want to create .ico files I would take all of them ❤️ feel free to DM ^^
on shortcuts: right click>properties>change icon
Doesn't work if I right click on one of my icons
this is how it looks for me
y it is confusing the first time I know what u mean
https://drive.google.com/drive/folders/1EP5MQmYqRxHZyf25RoHvxFFfqC4SNvAO?usp=sharing scaled it to 256x256 (ico size) while still was a vector layer in krita, so quality should be better, I think
uploaded .kra files as well as 256x256 .ico and .png, so it should be also better scalable to smaller icons
if people have a specific flag on specific icon requests (or, like, different flags on different parts of logos?), I can do them tomorrow
I can see your full Real Name in the Share Folder. You might want to change that
why? Joe has his full name on stuff yet he's way younger than I am
also, "real name" is a nice thing to hear 'cause it's not my legal name yet ❤️
made my own rendition of the pycharm logo
your decision, just wanted to warn you in case it wasnt intentional.
this came out better tahn i expected tbh
very nice
Hey @wide totem!
It looks like you tried to attach file type(s) that we do not allow (.ico). We currently allow the following file types: .gif, .jpg, .jpeg, .mov, .mp4, .mpg, .png, .mp3, .wav, .ogg, .webm, .webp, .flac, .m4a.
Feel free to ask in #community-meta if you think this is a mistake.
VSC
wait wrong vsc
vsc
except its actually not the vsc logo lol
its the vsc insiders logo
because the insiders logo is better lmao 😄


the gap is very nice
horrible when small, great when large
it was intentional because .ico format 😛
and, well, my whole discord history can link me to my name XD
like... my discord account was originally made for SkySaga server (I've never ever changed my username - I was Foxy there, I'll be always Foxy on discord), I worked in their crowdsourced translation project. my profile on the crowdsourcing translation website has the same name and my usual username
if you dig better, you can use that info to get my current legal name (although to get more from it, it would be hard because it's a really common combination)
i attached an ico file to the folder where the icons are
but it won't
find it
nvm it does
but it gets really pixelated
dammn it
Well, you are able to get my name cause I host a website so by law have to have private information in the impressum, but I think thats the only link.
But it is a "cost" thing - if sb wants, they can get private information about me. But the cost is high - so someone might as well get the private information about x other users.
It is like making a website secure - you don't have to make it 100% safe - you just have to make it more save than the competition.
And I am sure someone is screaming at me rn for that sentence.
*safe
because it's not straightforward to bundle several sizes together into one ico, so we have one big... and windows sucks at scaling
I just found that ImageMagick can bundle icos nicely, I'll try that tomorrow
Do you guys know a lot about windows 10
@tribal tinsel ?
@wide totem?
@crude trail?
uh yeah why
Ok I need help
@jovial island I can’t open run I can’t use administrator and I can’t open settings
I understand you might be in a bit of a panic but please refrain from pinging many people uselessly.
And when it gives me the option would you like this app to make changes to your device the only option is no
Sorry
sounds like organization managed rules to me, is your account administrator?
if the only option in the UAC prompt is "no" yours is probably not admin
my suggestion: reinstall Windows if you can
I can’t open settings
Also tbis pops up
this operation has been cancelled due to restrictions in effect on this computer. please contact your system administrator
and were you able to open settings before? or you don't know?
Yea
so yes, as root said, account administrator (do you have school accounts?) must've changed something
if it's a computer managed by school or your employer definitely organization rules
It’s my personal pc
and only you use it?
Yea
have you downloaded anything fishy the past few days?
Yea
Uh, what?
@wide totem wym
What did you install ;-;
get usb-bootable linux, scan your windows from there
I forgot
^ ideally flash it from a different device
right... disabled either firewall or antivirus software?
It was in windows security
Tl;Dr you done fucked up
How do I fix it
Imma just come right out and say that
get other computer, back up data
get windows 10 downloader tool, flash USB with windows image
boot a CMD with it, run check disk and other image recovery tools
It’s gonna say do you want this app to make changes to your device I can’t press yes the only option is no
see if problem fixes itself, if not reinstall Windows from scratch
How do I reinstall
get another computer, get a USB flash drive
Is there another way
without administrator privileges, no.
i personally wouldn't do that
you allowed some shady thing to get into your system and get administrator privileges because you disabled windows security measures put there in place against stuff like that
yeah that's the gist of it
Yup
only way out now is to pull the plug and reinstall
I’m a dumbass
without admin privileges you can't modify disks so
you can't write a windows iso to a USB drive
that's where you need another computer
they will tell you that you will need to reinstall system, but only after several hours of trying to do something. if you cannot do the reinstall, they probably could do it
also, it's not safe to do anything on this windows right now
^
although highly doubtful, malware could intercept writing of a windows install media and inject malware, yes
change all passwords you had saved anywhere (of course change them from another device) and you may have entered in the last day
its fine we all make mistakes
i've fucked up many a OS install.…
Ok
So if I go on my laptop and go on my pc acc on my laptop and reset the account will it work
dude, we messed up ram on server once when applying thermal paste to cpus. I don't even know how XD
i bent the pins on a brand new ryzen 7 cpu once
lol
Is 2070 super good
no, 3080 is super good
nothing is good for the machine you currently have
the 2070 is good.
2077 is shit, they still haven't given us the promised patches
they meant is "2070 super" good?
wait are we talking about cyberpunk or graphics cards
[I know nothing about hardware, so I'm just going with number theme and mentioning a game]
XD
since we don't know what malware is on that storage medium, you could fuck up anything connected to this device
"2070" was so close to 2077 and I know shit about hardware, so I decided to go with it and see what happens XD
don't worry I agree with the sentiment, 2077 is shit.
i highly recommend this video if you have time
🎮 TWITCH: https://www.twitch.tv/LukeStephens 🎮
🐤 TWITTER: https://twitter.com/LukeStephensTV 🐤
Time Stamps:
Intro - 0:00
Act 1 - The Press - 00:07:42
Act 2 - The Bugs - 00:17:21
Act 3 - Nota Bene - 00:28:19
Act 4 - The Story - Prologue - 00:56:02
Act 4 - The Story - Main Campaign - 01:57:05
Act 4 - The Story - The Endings - 03:14:51
Act 5 - Clos...
found my old message about that broken ram
and one of the further messages sums it up perfectly:
"I have no idea what is inside this. I only run stuff on Vcenter on that machine. Or even not. Idk which machine is that. I'm just here for fun XD"
A message by @jovial island was deleted that said: ****
oops
in the future I would highly suggest to backup your PC regulary.
Perhaps you dont have the buck for it, but I can suggest getting a NAS - you can set it up in a way so it automatically backups every file change (with history - meaning if a virus cryptos your files, you can use an earlier version)
A message by @jovial island was deleted that said: wait what
A message by @jovial island was deleted that said: thing thinf
!mute 822264639022039051
:incoming_envelope: :ok_hand: applied mute to @gray compass until 2021-06-06 03:20 (59 minutes and 59 seconds).
i love that realization lol
Go back to your regularly scheduled programming 😛
why thank you very much
the supposed play previews in promo videos are not in the game. they were supposed to fix stuff and give the promised experience by February. they released a small patch in Feb and promised another "part" of it in March. I don't even know if they did it and how it is now - last time I heard, it was still shit for supposed triple A game but would be good for just some game in cyberpunk setting (that price doesn't make it the latter)
you know a game is shit when stores are trying to get rid of their stocks of it
1 hour mute for a self bot is rather mild imo
happened with fallout 76, is currently happening with cyberpunk on last gen consoles
they got either kicked or banned after the mute
weren't self-bots normally banned, not even tempbanned?
We permanently ban self-bots, yes.
ah, no mutual servers already
So let that be a lesson to you, kiddos
perhaps mute > deciding what to do/ check evidence > ban
huh that's weird i still see python as mutual server with the dude.
your cache will refresh eventually, I guess.
I solemny swear I will not break any rules daddy
I'm not falling for that one
damn it
was about to day - that link looked oddly familiar
i clicked it and, lo and behold, it was.
A message by @upbeat sandal was deleted that said https://pydis.com/.env
i also know that one dude.
shush
if you send a rick roll link, delete it and send another people won't fall for the second one
the first was not a rickroll tho
sure it wasn't
I still choose to fall for it. I know it is a rickroll, but the link is blue and glows in a nice way. So I click it. Just like I did with that totally not virus link
look at my boy, there ain't nothing isopropyl alcohol and time can't fix
thermal pads went to shit tho, gonna need new ones
fixed my phone that I lost in the WC this way
i don't know that one but my gut tells me it's rick
guess I will pass out in 10 mins then
I will complain about my missing AMZN gift card in the meantime
we use futures in this language, and your tainted promise has no future
ha jokes on you this is offtopic
so what language
if its py related, use #python-discussion
all other languages, this channel 😄
I will await the introduction of Promises.
Promises feel like they were just wacked together
I like being able to read "the Future is cancelled" in an async manual and giggle, though
You talk about JS here. What part of JS would you not call "just wacked together"? ^^
i might need to replace this fan :(
ES modules
does Node.js still mainly use callbacks for stuff instead of coroutines, or was that changed in recent years?
for context on my question,
In the JavaScript world, there is some debate between advocates of simple callbacks and
proponents of various competing higher-level abstractions. Early versions the Node.js
API used Promises—similar to our Futures—but Ryan Dahl decided to standardize on
callbacks only. James Coglan argues this was Node’s biggest missed opportunity.
as Fluent Python (2016) says
I am currently writing a project in Node, didn't have to do any callbacks so far but maybe I am not deep enough so far
homer simpson wrore the manual.
afaik many functions allow the use of callbacks - but if you dont provide a callback, that function is a Promise
Mmm
Typescript and rust seem fun
Why learn one language when you can learn 2! + 1
All at once too
I'm 67% certain that @echo fern would've made a factorial joke when I said 3!
I am learning JS now and will later jump to TS. If you know JS well, TS shouldnt be much harder
Nope lol
2! + 0!
Just python
I wasn't looking 😛
Boo.
okay, 10 minutes are over I will pass out now
like many things in javascript there's a high probability thats exactly what happened
I tried learning TS a few days ago, but the problem was that I sat with an open editor for 5 minutes and realised that, uhh
I don't actually want to do anything in JS?..
This is why TS is better
lol no its not
promises dont get better by using ts
theyre still just janky js post transpilation
JS got a lot better with time tho.
What is promises
update: putting my baby back together
And is it possible to not keep promises?
Learn JavaScript Promises in 100 seconds, then follow my new IG account for even more content https://www.instagram.com/fireship_dev/
Reference MDN https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise
#javascript #100SecondsOfCode
Upgrade to Fireship PRO at https://fireship.io/pro
Use code lORhwXd2 for 25% ...
BRB posting on Prosus Overflow
if fulfilled, call .then, else .catch
How to break a JS promise?
reject()
but consider:
if task not in tasks_to_futures:
raise KeyError("This task has no future.")
doesn't have builtin (like, in the syntax) stuff for it
tokio is the popular async framework
Oh that sucks
actually, nevermind, lol
it does have async/.await, apparently
async lifetimes? that sounds like normal lifetimes but 100x worse, yikes
looks good right
pretty clean, repasted, changed thermal pads
shouldn't sound like a jet anymore
Oh good
Yes if rust did not have it naturally it would have dropped on my good languages instantly
(completely subjective list from py point of view)
*my
Rust is at the top for now due to @limpid fern
Do you use rust, @echo fern
What languages do you use, and what languages do you know?
yeah, I can probably say I do at this point
it's a bit complicated because I dabbled in a lot of languages but I can't say I truly know many of them
Also please list your subjective favorite languages and for what
And please also give a cv and a list of former jobs
And name, dob, and ssn
But seriously, I'm actually curious which are your favorite
And what for
(and if Python isnt on the list we will kick you for being a heretic)
I guess I can say I truly know Java (that's the language I got taught as roughly my first GPL in high school, so the years of going competitive programming in it better count :/ ), Python, Rust... maybe C# a bit, since I did make a full-ish project in it, if a simple one
I tried and loved Kotlin as a replacement for Java, but I haven't really written anything serious in it, only learned some beginner minecraft modding. The problem is that I don't really need to program anything on the JVM, so both of them I don't really have a use for at the moment - but if I go looking into minecraft modding again, I'll be using Kotlin. It's just nice.
mostly I used Python and Rust over the last ~6 months, basically
What are the advantages of rust vs python? Not interpreted vs compiled, I already know the inherent difference there, unless there's a special one
What's kotlin?
I've heard of it before
I don't think it's correct to compare them any more than this for this reason 😛
Ah, then what are the differences in coding style?
Java in good
Like, more than the brackets, but I hear rust is strict typing again?
they just don't compete with each other, at all. Rust mostly competes with C++, and Python... closest would be JS and Ruby
Well yeah
I would like to know some of the differences because I want to learn a bit of rust at least
well, yes. (is it even possible to have a non-strictly-typed compiled language?)
At least a bit
I guess the feature of Rust I long for the most in Python is enums
Rust has amazing enums; C++ doesn't have anything as good, say
it's very tied with Rust's match (meaning that we might get something enum-like after 3.10 when match drops!), but basically
in Rust, the way you handle several different returns from a function is:
fn my_cool_function(<various args...>) -> Result<ResultValue, MyError>
ResultValue is the type the function returns if everything goes well. What's Result and MyError? well...
3.10 it's basically ==
That looks like python except for the fn
Which is literally def - > fn
basically, Result is a rust enum - a tagged Union. Each instance of Result<A,B> is either an A or a B. This is done, under the hood, by making instances of Result store a value describing what type it is, then the value itself. (this is how all enums in Rust work)
And what MyError is? Well, in practice, you'd make it, too, a enum of as many types you like
so it'd look kinda like:
enum MyError{
FileNotFoundError(PathBuf),
InvalidValueError,
ConnectivityError,
// I'm lacking in imagination
}
now, each of these is a variant of the enum. Two of these are unit-like variants - they don't carry a value, while the first of them has a Path inside (in this example, specifying what path wasn't found)
But what is the concept of an enum itself?
How does this work under the hood? The size of the enum is the size of the tag describing what variant it is (one byte, unless you have more than 256 variants, lol), plus the size of the biggest variant. Here, 2 of the variants are zero-sized and one is the size of a PathBuf, which is 24 bytes. So 25 bytes (but actually ends up 32 for probably alignment purposes)
now, the beaty is how these are used. When you call the function, you match on the return value:
let res = my_cool_function(<various args...>);
match res{
ResultValue(r) => {
// handle successful result
}
MyError(e) => {
// handle error
}
}
how would you handle the error? Well, match on it too, of course:
let res = my_cool_function(<various args...>);
match res{
ResultValue(r) => {
// handle successful result
}
MyError(e) => {
match e {
FileNotFoundError(path) => {/*...*/}
InvalidValueError => {/*...*/}
ConnectivityError => => {/*...*/}
// Perhaps the other ones aren't expected and so we want to panic when they happen:
_ => panic!("Got unhandleable error type from function: {}", e)
}
}
}
In very few other languages can you handle different kinds of results this way. Mostly, if you want to "fail in different ways", your only way is to throw various exceptions.
! is because it's a macro, but yeah. Panics are unhandleable errors, basically, that stop the program
But then, the caller needs to know (by reading your function's docs, there's no other way in most languages - except Java, where what exceptions a function can throw is part of its very signature) what exceptions your function can throw. What if they forgot to handle some cases? Welp, then once the function throws an exception they didn't expect, it would not get caught and instead crash the program.
With enums meanwhile, it's enforced at compile time. When you match on a enum, you must handle all variants (using a wildcard match counts, of course).
.bm
.bm
so you get safety. You basically can't mishandle the output of a function.
not sure why the hell i bmed the first one
after learning Rust, I want this in every language I use
pipes? ah, lol, it might be cool I guess, but I haven't dabbled in functional languages enough
i confused that with f#
you already have the good iterator syntax in Rust
i should read the book before i can read any more of this conversation
pool =
pool
.iter()
.map(...)
.filter(...)
.collect();
yep sorry you lost me already lol
as opposed to pool = [val for val in (map_fun(x) for x in pool) if filter_func(val)] like it'd be in Python
and that's listcomps/genexprs, which are nice too
with Python's functional programming functions, it'd look like:
pool = list(filter(filter_func, map(map_func, pool)))
so basically, the cool safe things in Rust is lack of null and exceptions
instead, you do everything using enums.
Want to represent a value that may not actually be present? In Java, it'd be a "normal" value that just can be null. In Rust, it'd be an Option<T> - which is a builtin enum that's either Some(T) or None. In Java, if you forget to check for null, you'll get a NullPointerException. In Rust, you just can't forget - you can't use an Option<T> as a T without unwrapping it first.
C++ technically has enums, but they aren't like Rust ones and aren't nearly as good (the main problem is that instead of doing "maximal size of variants", C++ enums really are variable-size, which pretty much meas you can't pass them around except by pointer). https://smallcultfollowing.com/babysteps/blog/2015/05/05/where-rusts-enum-shines/
Kotlin actually has good enough enums (well, "sealed classes") to allow using them like Rust enums
which is pretty awesome, even though unlike Rust it's if-you-want-to and not the normal way of doing things (which would be exceptions)
Kotlin also has nullable types - it has T and T? (like, say, Int and Int?) - the difference is that T is guaranteed to not be null. This is way better than Java, where anything can be null and you have to live in fear of it.
what about java's enums
they are like Python enums, I believe, basically a class with a bunch of predefined constant instances
I don't think Java has an alternative to Kotlin's sealed classes
oh, it does apparently... in Java 15 as a preview feature:
https://www.baeldung.com/java-sealed-classes-interfaces
the reason you need sealed classes (a sealed class is a class for which all subclasses are known at compile time, basically) for this is so you can match on a sealed class and be sure, at compile time, that you handled all cases
well, it's called when in Kotlin instead of match, but same thing
there's so much stuff in java 10+ i have no idea about
yeah, same
asdf
why can't we just have one language and all just use that?
rather than have languages which literally can compile into javascript
lol
admittedly, having actually good languages that compile into JS is a decent solution
like, it should just die at this point, but it's not going to happen, so compiling to JS it is
just website stuff?
same problem, lol
no like what is js used for?!
like, node.js exists to run general/backend stuff without browsers being related
but that always seemed like a nightmare to me
I feel like the main reason node.js exists is because the JS ecosystem had so many libraries, that it was easier for people to start running JS serverside too (to allow using such libraries on the server as well) than use, well, literally anything else
well, at least JS isn't that slow. Faster than Python, at least after V8
well python can be compiled into js so..…
I think it can*
idk i've seen quite a few people say discord.js is as good as discord.py
lol
good luck compiling arbitrary Python into JS, with Python's reliance on libraries 😛
nothing beats rust enums
hm
Why r u using canary
DDR5 RAM 12.5 GHz unveiled
Imma post my cat pics ig
why do you not use canary
wait this is confusing me
Haha the grey cat’s body is behind the white’s
Hey anybody's up?
yes
Nah, because it's difficult to take picture when they are in crazy mode. Coz they run randomly inside the house
o
coding in feline waves
guys
what are some things i can do with windows task scheduler
i want to use it but idk what ill use it for
I use it to start automation scripts on start up
You could use it to run a python scheduler, if it runs a specific script every minute, that script could compare the time against a json and act accordingly
I mean if you're bored, and wanna use talk scheduler to alleviate that...
yes
problem is i dont have any automation scripts
i only have one authotkey script that runs on startup but its the shell:startup folder
Using task scheduler as an engine,
And various text, binary and/or json files for data, variables, memory, etc...
Make a brainfuck interpreter that executes an instruction every 10 seconds
Writing output to a target file, optionally taking input from a specified file, etc..
are graphics possible with brainfuck
Ascii graphics
Due to ANSI escape sequences, technically yes
It's just really low quality
And takes a long time to parse
Alternatively, you could write to pixels instead of terminal
In which case, yes.
with modern gpus?
So redirect output to something that parses bytes into pixel graphics
Exercise for the reader
but you're more or less just drawing with it vs actually writing to pixels
it compiles to binary tho right?
It could
what does? brainfuck is a language specification, like Python, not a specific implementation like CPython
Actually
it should be pretty easy to make a brainfuck compiler though
like, you can just compile it to C and then compile that
is Python still Python if it's compiled? 😛
you could probably use it to hook to a cuda or even metal framework too
that'd probably be the closest you can get
ikr
Challenge: make an uncompiler to brainfuck
challenge denied because I value what little sanity I have left
I have no sanity remaining
whaaa
You don't need it
hmm
how big are brainfuck programs for hello world, say?
yeah, I'm wondering too if you can, say, genetic-algorithm your way into brainfuck
++++++++++[>+++>+++++++>++++++++>++++++++++>+++++++++++<<<<<-]>>++.-->>+.+++++++..-------->+.-<<<<++.-->>+++++++.------->>+.+++.----<++++++++.--------.<<<+++.
Comments lol
Lmao i accidentally typed py instead of bf
lol
Idk it's a bit dinky
highlight.js needs some PRs
discord needs some PRs in general
That is hello world
can I talk about how clean + beautiful betterdiscord is for a sec or is that an insta ban
Insta ban
Probably? Rule 5 is not that specific when it's not providing or requesting help
it does mention breaking tos though
Yeah; this is more-or-less pedantry
rule 2 is tho ig
just a lil
Oh, yeah
who else was listening to lil loaded
hi jod
Howdy
joe*
my pings work
yes
Your pings work?
was anyone here while i was trying to diagnose why my /48 couldn't receive pings
thise are some nice pings
2a0f:85c1:23:: could receive pings, but not 2a0f:85c1:23::1
those*
and the reason was
I was running sudo ip -6 addr add local 2a0f:85c1:23::/48 dev ens3
when i should be running sudo ip -6 route add local 2a0f:85c1:23::/48 dev ens3
addr only added the gateway IP to the routing table, route, obviously, added the whole subnet to the ens3 device
http://[2a0f:85c1:23:1234:5678:9abc:def0:1234]/
yeeeeehawwww

understand
you know you can put more than one word per message right?
Are you trying to bypass the voice channel check?
Stop then
OK
Can you make recurring types?
they are lol
look at their messages
!tvban 849318515298140192 14d Spamming messages to try and get past voice verification- don't do that.
:incoming_envelope: :ok_hand: applied voice ban to @split sluice until 2021-06-20 15:04 (13 days and 23 hours).
why
pain
Because youre being obnoxious
i wanted to ask a question in vc
Also just don't spam anyway. It's not appreciated
Like: ```py
Dict[
str, Union[
str, Dict[
str, Union[
str, Dict[
str, Union[
str, Dict[
str, # I want to recurr once more
]
]
]
]
]
]
]
Basically my type is a dict with keys being a string, but the value can either be a string or a similar dict
Lmao
pyright supports this with
MyDict = Dict[str, Union[str, "MyDict"]]
```but mypy does not
um... Why would you want it to recur like that?
it probably represents a tree of sorts
I see
Basically yeah
di = {
'a': 'b', # Dict[str, str]
'c': { # Dict[str, Dict[str, Union[str, Dict[str, str]]]]
'd': 'e', # Dict[str, Dict[str, str]]
'f': { # Dict[str, Dict[str, Dict[str, str]]]
'g': 'h',
},
# Continue until unknown length
},
}
# di final type:
dictionary: Dict[str, Union[str, Dict[str, Union[str, Dict[str, str]]]]] = di
psst syntax highlighting
Yeah that's what I sadly have done so far Dict[str, Union[str, Dict[str, Any]]]
like i just feel if ur gonna use any u might as well not type hint
it is an escape hatch in cases where the type system is too weak
most programming languages have such a thing
If you have to use any in one spot, that's because the linter has been configured to requires the type hints
Everything is implicitly Any
like thats not really helping other ppl by telling ur returning any
Oh yeah that's true
unless ur trying to pass lint where u must provide type hint
but yeah, if you run into any a lot, it may be time to switch type checker or just not use type hints
Dict[str, Union[str, Dict[str, Any]]]
```in this case it is somewhat useful
It also works for stuff that can literally take any, do stuff to it, and return the new any
especially since you can just comment that it is a recursive type
I can just add in my function doc-string that Any is where the type recurs
For that there's Type variables
yeah, that is mostly useless
hype
thats asn is valid 💯 😩
which means that now using warp shows the actual public ip?
damn :/
wdym
well, if you tripped a firewall event using warp it used to display the internal IP of the warp PoP
yeah
now it displays the legit IP in the firewall
darn
but sites are still given the public ip anyways, right?
example: https://ipchicken.com/
yeah
Cloudflare WARP won't hide your public IP from the end site
it just hides the SNI and other sensitive protocol items between you and Cloudflare, which protects against invasive ISPs or other MITMs between you and CF
I think it does from sites not on cf network
pardon the caps, accident
yeah, but they can't really stop that
there isn't anything they can change to inject that in there
@vital bramble i dont want to shit up your help channel w/ this, but just wondering what you plan to do? what good is reading only? sounds interesting
stuff like blitz just uses post game data not immediate data. i can think of maybe like, for streaming? if you kill someone it could notice and pop something on a stream up?
I would like to get live CS in Stream Deck
ah yea streaming. fair enough!
currently building the StreamDeck plugin but i can't get live CS very well so i asked Riot if i am allow to they said yes
sounds like a cool project
but idk how to memory reading or get the address so i can thats why i am trying to ask for help xD
ya idk anything about how to do that haha
wut
if you're using wsl, use wsl --shutdown in pwsh or cmd to close it when you're done
@reef kayak
hello
wtf
are these random characters
they have nothing in them
i'm tempted to just delete them and hope for the best
It costs $99 to buy Sublime? Damn
just exported the registry
now to delete these 4 keys
why did i export the entire registry
just the branch
ok so far nothing has happened
so far
they did look sketch
hmm
if you are worried about those keys, would deleting them really solve everything?
its fine everyone gets hacked at least once
no, not at all
BRUH WTF
these ones have stuff in them
what yhe fuck
[HKEY_CURRENT_USER\㡀ǽ]
[HKEY_CURRENT_USER\妐㐔ʋ]
[HKEY_CURRENT_USER\庐봪Ǖ]
[HKEY_CURRENT_USER\蠰版ǰ]
[HKEY_CURRENT_USER\⢆ǝ]
those are them in the current_user
sigh
lemme just
tl;dr fuck windows
[HKEY_CLASSES_ROOT\䐻ᾡᤀ老]
@=".ahk2_auto_file"
[HKEY_CLASSES_ROOT\眣븅ἀ耀ܐ]
@=".7z_auto_file"
[HKEY_CLASSES_ROOT\隭ű]
@=".vwx_auto_file"
[HKEY_CLASSES_ROOT\ꧠឺȿ]
@=".ahk2_auto_file"
yeah
its the stupid autofile stuff
either way, they can recreate those keys if they want them
but its typically the text encoding lol
Looks like someone messed up the converstion from ascii
Did you ever run/install autohotkey on your computer?
yeah lol
Its likely just that
Does anyone know why discord sometimes randomly doesn't let you select things for a while?
It hasn't happened before but now just randomly keeps happening
Discord is a piece of crap on the front end.
The back end guys are real awesome, serious pros. The front end guys are crayon eating highschool java class dropouts
Consider what discord is and how many users it has, and their seemless updates
Cache issues are going to happen
Haha, I guess
The fact that discord works at all, let alone how good it does (on the server side) is nothing short of miraculous
That's fair
lmao
if i want to equate
points = [1, 2, 3, 4, 10, 23, 43]
letters = [A, C, E, F, G, J, L]
A = 1
C = 2
E = 3 ...
can i equate the two arrays?
yes we know
len('what') = 4
len('sometimes') = 9
len('never') = 5
wdym by "equate"
setting variables?
lets say i have the word ACE
it would be 1 + 2 + 3 points
ah i see
its better if you make a dict instead
and use that dict to calculate the scores
are you familiar with dicts?
yeah
so a dict like:
points_by_letters = {
'A': 1,
'C': 2,
'E': 3,
...
}
then you loop over your word, find the points corresponding to that character from the dict, and add it to the sum
@woven hornet look into zip
ok thanks
how do i convert a string to integer in c?
{
string s = "22";
int x = atoi(s);
printf("%i", x);
}```
this isn't allowed?
is that C?..
my bad
nope no java
Imagine namespaces in C
kinda character array lol
that looks like what google gives me for string to integer C, except that atoi should take a char* I think
https://stackoverflow.com/questions/7021725/how-to-convert-a-string-to-integer-in-c
thats the answer for the what to use.
yeah, I too am surprised by this
it's kinda a fake one
oh yes how string
they have the ide cs50 library
nvm that's not allowed lultypedef string char* 
yeah, string doesn't seem to exist, is that a user-#defined alias for char* or something
atoi should work though, or maybe strtol as well
can always write your own atoi 😉
sounds like "a toy"
a tua
ascii to integer
I still resent C's function names
Which part of strpbrk means search
they are named as if the developers code exclusively in notepad and so can't rely on stuff like autocompetion... oh wait 😔
I understand it's legacy names from the time when you'd want them shorter, but like... bruh
Prove to me pbrk isn't just a random assortment of letters
substr? Nah, strstr is where it's at
string pop break
wtf are these names
bruh
No
no
ok
no
😔
strtol is generally the best way
Anyone interested in this repo?
anyone know a good program to add transparent background to image
I want to specify it myself and not auto transparently
pls ping
..gimp?
@grim seal #846514617261621292 message
how do you literally get more workers by asking cf
other people have to pay
yes
oh, you are actually registered as a non-profit?
i assume waiting for you to turn 18
how
it's just not top of our priorities right now
you don't need to be 18 for a company registration
I've got a company registration
i think i can use it to get cool usernames actually lol
on like what?
well
i have a trademark on it
so any platform that respects trademark law
twitter, github, domain names, etc.
ah
does https://www.python.org/downloads/ look busted for anyone else?
yup
oh dear
Notice: While Javascript is not essential for this website, your interaction with the content will be limited. Please turn Javascript on for the full experience.
😕 I have JS on
uhoh
what happened?
yearly tradition to make website look cringe? 😂
thonk
yeet
ankit go to slep
hmm
last I tried the experimental branch had so many breaking changes you literally could not use it since it was not documented, macros were half depracated with no resources on what is not depracating and I got the compiler to segfault, so not the best look. I did use the language to learn openGL though.@lone ferry
fair. I'm using it to learn it as my first compiled language.
I'm not good with the advanced concepts it allows so it's hard for me to break it
I loved the bitsets
but bitsets are not enough to make up for just being kind of meh overall
can you finally typecheck ranges?
or is that still a WIP
also, does func actually enforce purity?
lol you already lost me. I'm that new. I just know that I liked the idea of it being close enough to python to be able to write code
yeah, for that it is nice
but once I started running into issues with the compiler itself, I gave up on it
Yeah fair. Not much you can do about that.
also y'know, the whole not having libraries
@round moss which language?
nim
holy shit i can't type today
I do like it well enough to hope it will continue to grow tho. I'd like to see it get bigger and more popular
i sent just someone this "unrelated why the hell do British youtubers are be better?"
i cannot type rgith nwot
yeah, it would be nice to have nim as a viable option for anything but financial systems
Just change your layout to dvorak and everything gets fixed
qwerty
I've been using it as my goto when I want to make engines for games and bots
I was working on a tetris engine, and the one I wrote for python was struggling for speed because the simulations took too long to do their checks right
yeah, for personal projects, it is nice due to the pleasant syntax
I was only able to reach a depth of 2 😢
Haven't used those, I only have experience in python, nim, and technically lua. Also what would you consider large?
weeks of work with multiple people
the point where you stop caring about how nice the syntax is and start caring about having libraries and resources to fix problems that will always pop up
like yes, I love apl syntax and totally will use APL to write some things in the future
but I am not going to use it for anything that I need to actually have finished
same with raku and pony
languages matter less than ecosystems
which is why I like java
God I wish I had reasons to do bigger projects. I just keep doing small personal ones
whats the rust ecosystem like
really good
rust is good enough that people actually want to create good libraries for it, and general purpose that everyone can find one to make
How's the Rust ecosystem in comparison to Python's?
without looking into it
i would say that python probably has more
literally because rust is 5 years old and python is older than that
5-6 years since the first stable release
That was beginning of development
I assumed so, but I was more referring to how much people like it
Like, how enthusiastic people are about it
<@&831776746206265384> .exe
And it's gone.
Not sure if @tribal cape deleted it or if staff did
OK that makes its obvious
Rust is a wonderful language
I've all be ceased using C/C++ for most things because of it
I'm still way worse at rust than C/C++ but
the real big thing rust gives you is safe concurrent programming
which helps a lot with pretty much the hardest problem in software development
yeah, python has more ecosystem than rust
Wdym
Explain
Do you mean real threading?
yeah, threading, and even async
there are lot of things that can go wrong once you start using threads
and most IRL applications do use threads
data races and deadlocks are often the issues and rust eliminates them
it still doesn't avoid race conditions, since those are based on the halting problem, but it makes it a lot, and I mean a lot, easier
rust was designed from the ground up to be good at handling threads
