#ot2-the-original-pubsta
652 messages · Page 60 of 1
package manager
tl;dr virtual env manager that is easier to configure, can push to pypi, build wheels, and more
better version of pipenv
nah not even a version of pipenv
the only thing is that they do the same thing, which is venvs
but poetry can have multiple envs for the same project
poetry env use 3.8
poetry env use 3.9
so nice
maybe i should look into that stuff
honestly use pyenv first
and then deal with venvs
although you don't need poetry or pipenv to deal with venvs
currently don't use envs at all
New in version 3.3.
Source code: Lib/venv/
The venv module provides support for creating lightweight “virtual environments” with their own site directories, optionally isolated from system site directories. Each virtual environment has its own Python binary (which matches the version of the binary that was used to create this environment) and can have its own independent set of installed Python packages in its site directories.
See PEP 405 for more information about Python virtual environments.
python3 -m venv
literally that easy
you don't even need poetry or pipenv
i've used venv before when on windows lmaoaoaoaoao
python3.9 -m venv for me. I didn't install the python3 package but built from source
since at the time the python3 package wasn't updated fully yet
check out that
basically you don't need to build from source if its been released
it even has beta builds
man i want to try django out one time, but my server uses plesk which i couldn't figure out how to get working with django
i actually installed 3.10.0b2 with pyenv
so for now it only runs discord bots so i just use the global site-packages
no envs
hmm looking online it probably is possible
Awwwww
Birdbrain
so fuzzy
@limpid fern
(photo taken 2 years ago, back when I was home. I don't have the windows anymore and my headphones are now Steelseries Actis Pro, I kicked that wire too many times. Also my computer is not directly on carpet, it's on top of a chopping board.)
Wtf
More screens = more productivity
.bm 850052146698125352
This is my upgrade plan, 6 monitors (needed to make a diagram to get my fiancée on board)
WTF
Just need Microsoft to both announce and then make Surface Monitors
money smh
tbf, my monitors were only £180 each and I got £45 refund from the lower 3 due to a small defect I don't actually notice. People spend more on a single monitor than I do on 4
The top monitor is awful, the colours are terrible and I didn't know how bad it is when I only had it (I also didn't have a graphics card that could do full resolution so everything was slightly blurry)
damn
O, UK?
Yee
wtf
bruh
that is going to be one mega workstation
Expensive too
My eyes are so shit lol
Yeah, I'm expecting the monitors to be £4-600, I also will probably want to get a custom stand made to hold them perfectly and arms tall enough don't exist to hold the top screen. I might need to make a custom desk and have the bottom of the monitor go below the level of the desk. I also will need to have at least 2 powerful GPUs to power it.
I'm going to be throwing a lot of money at this and it's still going to be cheaper than a MacPro
Hullo!
hello

hi
how do you have money? 🤔
that's a very specific emoji name
That's exactly what she says in the anime
well, she says that in Japanese, and it's properly "conversation" but emoji name length is a thing
lol
hello
Why am I here?
Just to suffer
Checks out
I'm here to help people over at #discord-bots
why are pixel people here
Why not
because we were told to come here
Lol
that's... not how physics work where I live
lol
hello json!
We were told to come here but @grim seal stayed on #846514617261621292. He just wanted to get rid of us
"json!"
hahahahahaha, I was trying to keep #846514617261621292 on topic to pixels, and move off topic stuff to here
But can you at least buy an RTX 30xx at MSRP here?
not a chance lol
that reminds me, I should think about getting something more powerful than this macbook
probably a thinkkpad
The new iMacs are cheap for what they are
But I'm in no rush, I have a maxed out 15" MBP 2018
Will probably get an M2 if not M3
The biggest limitation of M1 is its built-in memory which at 16GB is a little tight in 2021
yeah, I need something portable to take around uni this september, which is why I'm hesitant to go down the desktop route
I have worked freelance (almost entirely backend) since I was 13. I plan to never do freelance work after uni though
It's not bad until you run Docker
I have 64GB solely for Brave/Chrome (DDR3 tho, which is fine)
I can't live with being limited on the number of tabs I can have open
Are we game yet?
use firefox
smh
No, because I would then have to upgrade my CPU
why?

windows or linux?
Firefox uses more CPU, Chromium uses more memory (I prefer higher memory usage than CPU usage)
Windows
ah
wtf lmao
I have 4 "servers" lol
i opened all of them, ran a command on all of them at the same time
between the time the first one checked for updates verse the last one
there was an update released for the gh cli
and the first two didn't actually update it
the second two did update it
It randomly spikes too
which means i reran it on the first too
i7-4820K all 8 cores unlocked
i7-4820K is 4 cores, but 4 are software locked (may potentially be damaged but mine were fine)
ah
So it's basically an i9-4820K or whatever has 8 cores in the same generation
oh yeah i watched a video about that
they lock them because they might have gotten damaged
so a core i5 is basically a damaged i7 lmao
and a core i3 is a really fucked up i7
Yeah, basically all of the chips for the same generation are the same but if some cores are damaged they are locked either through hardware or software and sold as a lower grade chip. It's cheaper for production to do them all the same
Pretty much
no, ryzen is better
i have a laptop lol
so uh, AMD is impossible
im also gonna try out a lot of linux too
and cli
cli is great lol
AMD is better, but Intel does what results in less e-waste. AMD uses chiplets as an alternative and produces more e-waste (I mean it's like a few percent as there are a lot of complete rejects with all chips as a baseline, but if something doesn't work 100% then it is waste, while intel can just lock off broken parts and sell it for cheaper)
oh?
I really want to get a threadripper but I have no practical use for it
ah fuck
i messed up my path
>>> pyenv update
zsh: command not found: pyenv
because i changed my path
[AFK]
well, i didn't change my path
i changed my default shell to zsh
w/out changing the bash profile scripts to zsh stuff
i should probably change it back until i fix it
incase i fuck up one of the files and start a permanent loop
Yeah it's fucked up
FYI you can use a gitattribute file to make linguist (the tool github uses to generate code stats) ignore this file/folder
gitignore?
?
No, gitattribute
Lemme give you the docs
hey, you might be interested in this ^
Tailwind is just a more verbose shitshow bootstrap, at that point you may as well just use CSS
thanks
Nah, I just need more Rust or ASM code haha
It isn't auto-generated code
ah
😔
why
ugh fuck zoom
it made half of my windows always on top
@urban sun @runic obsidian since you're on ubuntu 20.04 you could also try updating to 21.04 since it uses Wayland
Hmm yeah I suppose I should try that
do you know what /usr/lib/xorg/Xorg is supposed to be running and how to reset / clear memory from it by any chance?
i'd imagine restarting your DE might help
Whats a DE?
desktop environment i think
GNOME :/
I'd not suggest using 21.04
Too problematic for people, from what I've seen
and if we're talking GNOME, and you've got a problem... The simplest solution is to not use GNOME
aight, just made the file
seb's action embed is super nice lmao
@keen burrow yay.

No F#? What's the point?
what does one actually use F# for in practice?
F# more like press F to pay respect
Smh it's a discord bot and site smh
F# can be used for anything C# can do, but there's 0 job potential (I have used it professionally, so I'm like the 1 person who has made money from it). It's a very fun language to use, it's easier than Haskell. I made https://github.com/teenangst/Imp-Maps-Downloader (2 in 1) and https://github.com/teenangst/maploader
Map downloader for TF2Maps.net imps. Contribute to teenangst/Imp-Maps-Downloader development by creating an account on GitHub.
I mean, like, for what is it nicer to use than C#?
Like, the bot and site are in the same repo
Felt good, might delete
Indents rather than brackets,
, don't have to define types but it is strongly typed, and pipes (this should have been first)
With C# if you have 3 functions first, second, and third you would do third(second(first())) while in F# you would use a pipe |> (passes 1 argument from left to right, functions can return multiple arguments and can pass 2 with ||>) and use first |> second |> third. Pipes are something I want in all languages
[copied from DMs]
let return_one () =
1
let return_tuple () =
(1,2)
let multiply_by_n n m =
n*m
let multiply_by_2 m =
multiple_by_n 2 m
let value1 = return_one () |> multiply_by_2 //1 |> multiply_by_2 // multiply_by_2 1
let value2 = return_one () |> multiply_by_n 2 //1 |> multiply_by_n 2 // multiply_by_n 2 1 <- 1 is moved to the end
let value3 =
return_tuple ()
||> multiply_by_n
|> multiply_by_2
//(1,2) ||> multiply_by_n |> multiply_by_2 // multiply_by_n 1 2 |> multiply_by_2 <- tuple moved together and spread across parameters, after only 1 value needs piping
Pipes are something I want in all languages
agreed, left-to-right composition is very nice
Also I wish languages would never have statements, everything should be an expression
welp. time to not learn F#
Oh... So pipes are basically arguments that come from the left?
no opinion on the terminology for me; I'm just saying that it's ugly to write f3(f2(f1(x))), and it's nicer to do it in a way where functions are mentioned in order of application
like, consider Rust's let b:Vec<_> = a.iter().map(|x| x*2).collect(); as opposed to Python's b = list(map(lambda x: x*2, a))
the former is Fluent syntax, it reads left-to-right, can be naturally spread into lines:
let b:Vec<_> = a
.iter()
.map(|x| x*2)
.collect();
and is way nicer IMO
Or from the right <| (however the creator of F# later said to never use them because the rules are weird and you can end up with something like
foo |> bar ||> baz <| qux |||> quux <| quuux
``` - it's not clear what stuff goes where)
Ouh
anyone here
What
Bro
yeah
Just ask
Why not #❓|how-to-get-help
Be patient
Show what you've done already
Show your errors
Explain what you want your code to do and what its currently doing
woooooo DNSSEC on jb3.dev
Domain Name System Security Extensions
so you got your adrress
it authenticates DNS records as being legitiate
further reducing the risk of hostile takeover through DNS
so DNS clients don't accept forged data
so DNS clients don't accept forged data
https://dns.google/query?name=lmfao&rr_type=A&ecs=&show_dnssec=true says AD: True here too
yeah
because you hit the roots
who certified "yeah ain't got shit" with their DNSSEC keys
oh
DNSSEC doesn't mean there was a correct response, it just means that the response you got was signed by the server that gave you it
ah
@grim seal Talking about the Pride Month, would you say the new Icon was on the Agender?
not sure I follow?
ah just a pun: Agenda - Agender as in... its a gender definition a bit like asexual but for gender
ahhhhhhhhhhh hahhaha
I am sorry my brain does this thing sometimes xD
hahahaha you're good
❤️
yooooo what the heck that's dope, you can request a cache flush from google DNS
that's actually super cool
I love that
I mean I know you can flush local cache, but not ask 8.8.8.8 to flush cache
but I don't use 8.8.8.8, because it's not secure, lol
they pass on EDNS client subnet info
they have a nice browser UI
what does that mean exactly?
Tell google DNS "hey my IP has moved, perhaps update it"?
yes imma call it fireflox now
oh cloudflare have it too hahahaha https://1.1.1.1/purge-cache/
yeah, when you lookup jb3.dev with google, they store a copy of the IP so that next time someone looks it up they don't have to do the same journey
so that site just asks them to reset their records
temporarily store obv
yeah, cache
y I know a bit how DNS works, you basically tell them "dont wait for TTL to expire to update, do it NOW" if I got you correctly
yep
oh did google turn off EDNS?????
whaaaat
oh no they didn't
didn't think so
shame
whats that again?
if you use google as a resolver your subnet is passed on to the site you are resolving
EDNS is part of DNS spec which passes along your IP details to the nameserver that you are looking up
which is used for geo stuff
buuuuuut a lot of privacy "ehhh" as well
it's not really necessary
wdym
do dig AXFR @iad.xfr.dns.icann.org .
oh different reply
cloudflare pull a copy of the root zone and store that, so that when they want to resolve com they don't need to go to the root servers, they've already got a copy on board
so there they have all the nameservers for .dev, .docs, .diy, etc.
saves them one DNS query
this is way too high level for me.
I just get some domain, say "internet go beep boop" and thats enough for me
hahahaha
there is a little magic going on with jb3.dev
it's uh.... hosted on 1.1.1.1 lol
LOL
You should go through the configuration files of random Github users to get a better idea of what each file should contain.
how?
🙂
nope
nope
what about nope?
it's just some anycast magic
i'm uh, think i need to read the sd card to reset this
so uh, how?!!
why does the PID being 10174 indicate bad stuff, lol
lol???
i thought i fucked something up
because i learned that while editing my vim config
lets just say, just in case, i started a bash shell
in case i need to chsh
lets be honest, you tried to exit it and accidentally learned how to use it.
ahhhhhhh
i meant zsh
not vim
wtf is wrong with me
guys.… I'm turning into a linux user
😔

cute
lol
no comment
i wrote a nifty little worker today
it authenticates members into a certain private server based on membership of another private server
guilds.join scope is cool
can you just tell me if its paid or not?
*for the normal user
what languages are workers?
nope, it's just some hackery
this one is typescript
i wonder if I can publish this
yeah I probably can
no, just uses a bot token
no bot
yeah, just for guilds.join
most of it is the oauth2
which gets three scopes, identify, guilds.join, and guilds
This reminded me of this shortie: https://www.youtube.com/watch?v=epH4QvLUXlY
I use arch, btw
#linux #comedy #shorts
LOL
that's the worker, ended up fairly neat
An unexpected error occurred while joining you to the guild.${msg},
bruh
lol
where is the space after . before $?
you telling me guild 112233445566778899 doesnt exist?
😦
!sf 112233445566778899
You are not allowed to use that command here. Please use the #bot-commands channel instead.
holy
i should delete this folder
back when i built python from source
now i use pyenv
i still have the entire cpython repo downloaded
sadly, every commit
the entire repo
how big is the folder?
how do i check lmao
du -sh folder
right click>properties xD
683M
you said you were "slowly becoming a linux dev" so I thought you were on win, perhaps with wsl
what, why did that show everything
i am confused
also what is sort and -h
my entire stuff takes up 14GB
sort sorts the input, -h tells it the input is sizes in human format (1G, 100M, 20K)
lmaooooo
-h, --human-numeric-sort, --sort=human-numeric
Sort by numerical value, but take into account the SI suffix, if present. Sort first by numeric sign (negative, zero, or
positive); then by SI suffix (either empty, or `k' or `K', or one of `MGTPEZY', in that order); and finally by numeric
value. The SI suffix must immediately follow the number. For example, '12345K' sorts before '1M', because M is "larger"
than K. This sort option is useful for sorting the output of a single invocation of 'df' command with -h or -H options
(human-readable).
you can tell how fast an ssd is in comparsion to a sd card
my pi is taking a long time
the ssd powered devices, 1 second
btw all of this could've been figured out fairly easily looking something like sort --help
22G and 19G for the ssd devices
* not so much, but... it's just one of those bash things
ah
¯_(ツ)_/¯
ya, man and tldr are very nice for stuff like this 🙂
what's tldr?
I was gonna suggest man but I never use man myself because it's always so much work
wait, there is a tldr command? I only know man
tldr seems like a man pager
man with a search is pretty alright
but... with a TLDR
you need to install it
yeah tldr is just highly summarised examples sections from mannpages
it's nice
sudo npm install -g tldr
Dunno, just got that from https://tldr.sh/
Simplified and community-driven man pages
wtf?
npm WARN npm npm does not support Node.js v10.24.0
npm WARN npm You should probably upgrade to a newer version of node as we
npm WARN npm can't make any promises that npm will work with this version.
npm WARN npm Supported releases of Node.js are the latest release of 4, 6, 7, 8, 9.
npm install -g npm
to update iirc
something like that
oh wait. no the issue would be node not npm
i recall node on rpi being hellish
tldr's a bit slow huh lol
tl;dr tldr is slow
So if I understand correctly, tldr is an npm package but it works for manpages? How?
alias tldr="tldr -t ocean"
\😩
I think it's a pager for man pages
like you can use neovim to page man pages
and it's really nice
I am confused why it is npm and not apt or whatever the linux package manager is called
because it'd be easier to install it like that cross-platform
instead of having to manage deps for each distribution
you got a point there
lol you can use bat as a man pager
I've wanted to make an alias for it
and call it batman
has robin as a dependency
this is genius
lol
yes
AHHHHHHHH
my settings.json
{
}
oh right
i deleted vscode server two days ago
the entire folder
which would include the config
nice joe
#reddit worked four days in a row
i keep forgetting that that channel exists
lol
country code iso's
The International Organization for Standardization (ISO) created and maintains the ISO 3166 standard – Codes for the representation of names of countries and their subdivisions. The ISO 3166 standard contains three parts:
ISO 3166-1 – Codes for the representation of names of countries and their subdivisions – Part 1: Country codes defines code...
time to sleep LOL
did u install it?
it says docker-compose not found, try install it again
alright
well yes, but also permission denied LOL
@wide totem sudo chmod +x /usr/local/bin/docker-compose
you probably forgot the second step
but still needs a reinstall
in Linux section
yeah will tomorrow
I knew joe worked for the mafia
Just read an article from 2014
This is disturbing
Editor’s note: This report has been updated to remove the reported amount of cyanide used.
interesing
Do Banks suck though? I believe they are nice guys
@keen burrow Happy Birthday, ig its the right day for your timezone 🎉
😔😔✊🙏🙏
dang dude
can't believe no one got the joke
thnx for the info
guys
AS211224 (Joseph Banks)'s is a small BGP network that is peering with 0 other networks and has 0 upstream carriers
i don't click on your links
damn
but i'll risk it this one time
same
same
what is an ASN
and whats the global routing table
what are u routung
where is the table
we need answers joe
no bro this isn't that kind of table
ASN so I can publish my IPs to the world
"Hello I am AS211224 and I have the routes for x.x.x.x/y here"
it'll end up going through a route which I announce through my ASN
lol why u have your own AS
i mean ig why not
still
on another note, how much did that cost?
shitposting at the ISP level
around £50, it is free for RIPE members to sponsor ASNs to others, so I pay a maintenance fee and that's it

lol nice
do you remember it by now or are you copying it? 😛
hahaha I normally have a tab up that has it in, but I'm starting to remember it
i quite like ipv6
I used to think it was pretty ugly but I'm a large fan of it now
i still think its pretty ugly 
lol
yeah I have plans for minesweeper
not sure what protocol to do it over
ICMP is out because I want the result to be visible, telnet isn't a bad shout, alternatively I could do HTTP
I might use ICMP for the LED lights
whats AS?
the identifier used for routing on the internet
ah
this basically
you use it to identify yourself when talking to other routers
so when i go to pydis, it would send that to the server? that's how they connect?
so right now I'm planning on pushing my routes upstream to Vultr, so I connect to Vultr's router and announce the routes there
yeah so
say I announce the IP 7.7.7.7 is accessible at that router
That gets pushed to Vultr, who then push that to someone like Telia, Telia are a tier 1 ISP meaning they see routes directly for every other network on the internet, so then Telia distribute those routes down to ACME ISP or whoever your ISP is
so when you visit 7.7.7.7 it goes to your ISP, then to Telia's router, then to Vultr, then to me
and that's what trace route is
it's the hops to get from you to destination and shows all the routers inbetween
ooh i get it
(This isn't for Python Discord, because I don't trust myself not to go bonkers with that in prod, so it's just for education/fun 😄)
like that one ot name said recently, you have too much free time
lol
I need to buy you that tamagotchi I promised you, then you'll do something beside tech stuff...
why not go straight to a tier 1 as 
also i love the fact that the only thing keeping cogent and hurricane from becoming tier 1 is themselves
anyone know of a bash autocomplete for vscode?
ya u install xonsh and then u write shell code in python with python autocompletes
:^)
google it
so its a bash format that also interprets python?
i'll check it out, thanks
works perfectly, thank you
👍
neither of them will make the first move because they'll end up having to pay transit costs to the other, which is worse than not being a tier 1 lol
iirc cogent also doesn't have routes to google
I don't think HE has NTT either
jup
yeah, or they could just agree on settlement free peering
yeah HE is missing NTT/AS2914, Cogent/AS174, and Tata/AS6453 which it purchases the routes from Cogent/AS174
and Cogent is missing Google/AS15169 nor Hurricane Electric/AS6939
so could you make a pr for me? you can include your code
lol, we'll see
HE have been trying for years
in the end neither of us really cares
lol yeah
not sure who I upstream to from vultr
I might also get to upstream from a friends colo in london straight to BT
lol for gpt3?
yeah
its actually pretty scary
i feed it some snippets of conversations and the result is more or less something the ppl involved would say
lol yeah it's wild
applied for it like a month or so, didnt expect that i'd actually get accepted 
lol ya I got accepted in 3 days I was really confused
actually a kinda fire ASN two double digits
neat
Which pr? I can guide you through it
the pr for the rps and toss command
i have no clue how to use github
someone already made a pr ig, also #dev-contrib is the right place for this
alright
I run a server and we have a massive problem with people asking to ask questions even in sections that are clearly marked as places to ask questions.
Have taken inspiration from Python server but we’re missing a certain magic that is causing people to ignore the multiple attempts to tell them that they need to just ask their question (we could not tell them any more, it’s rule
, welcome screen outlines rule
and also says to read rule
twice, in the description of the help channels it says to just ask and that they can ask here and also mentions rule
).
What do newbies need in order to just ask their question? Because currently I made a bot that uses natural language processing to identify those that ignore it and it’s kinda a waste of processing (but it does make me happy when it works and I like seeing it, however there are false negatives and false positives that aren’t that uncommon).
The server can offer support on basically all topics and it isn’t language specific
hot damn
(95% of people will then actually ask, 5% will keep asking to ask until someone tells them yes. Also title links to http://sol.gfxile.net/dontask.html, it is also available in the rules)
Hmm. I feel like there can be something better to say than "don't ask to ask, just ask"
code monkey is your server 👀
Not sure what, if they haven’t read the first rule they can’t really be trusted to read anything that isn’t short. There’s also a link in the title and with rule
that explains further and why better than we could without spam
I think there's a question to be made whether that should be considered a rule, and whether that should be the first rule
"Recommendation" can be more proper, rather than a rule
maybe something like the embed there is in every help channel when it becomes available
It is a rule because it’s improper behaviour to not just ask the question, it’s just that you don’t get any warnings and nobody has been kicked or banned for breaking it
We also expect users to read the rules, especially the first one
I think that might make the other rules less impactful
People don’t have a problem not breaking the other rules even the no username hoisting rule which is the only non-standard one other than 
Will try making it a recommendation and changing the wording and see if it changes anything
I think an embed like this might be more informative and direct: ```
<@tag> Feel free to ask directly! (Feel free to ask directly in the future, too)
i think there was nice command in a server
dontasktoask
Although I guess you should take this with a grain of salt
Probably links to http://sol.gfxile.net/dontask.html which explains the problem really well
If only Discord had A/B testing 😹
I feel Discord could benefit from actually visible pinned messages
Which could help with your problem, assuming that feature exists
There are bots that keep a message at the bottom of a channel at all times
As some way to actually make people pay attention
Does it work?
Yeah, probably will need to do that
You just have to post, then delete and repost when it isn’t at the bottom
Better than normal? Yeah
Perfectly, nah
People don't always pay attention
Anything that can cut
breakers in half would reduce it a lot
that sounds pretty distracting ngl
imagine trying to have a conversation with a bot messaging every time you say something
Well it wouldn’t necessarily be done after every message but rather once the problem is resolved for the next user.
It’s what Python Discord does but we have many help channels rather than dynamic ones, but might need to go with dynamic
Ah
hey, i'm writing a school assignment about USBs, but i'm having issues wrapping my head around how they work. specifically what the different pins are for, and how data is transferred. would anyone be able to explain it to me?
i'm looking at the USB-A 3.0
Have you looked at the wiki page?
There are 4 pins +5V, Data-, Data+, and ground. The +5V and ground supply power. Data- or Data+ can be pulled to a certain voltage depending on the direction of data (there are fixed clock cycles at different speeds, there isn’t a clock pin). The other Data- or + pin transmits the data.
i found the wikipedia page a bit confusing when it came to the actual function of the plugs
so the data - and + pins are part of the same circuit?
I think data pins are connected to the +5V and ground loop, but there’s always draw through the data pin when in use. But only take what I said as a brief overview, wiki will know
is there anybody that can get 200wpm within 1 second ? lol
what the heck is this challenge
perhaps a little harder than anticipated
200wpm
I got 180 but not 200
you wrote a py script ?
lol
can you share pls?
wanna see the logic
closer
I don't understand how it's physically possible for people to get like 270 in 60 second tests
but like, is data sent through both data- and data+ individually?
It depends on the direction, so for instance for one direction data- might be pulled to -3.33V and then data is sent +3.33V through data+, and for the other way data+ is pulled to -3.33V and data sent on data- at +3.33V (I can't remember which direction is which). Also the pulled voltage depends on the speed of the clock
so they send data in different directions?
so they send data in different directions?
It allows for 2 way communication but only 1 at a time (but they can swap quickly). It is a serial bus
mi nithe
@cobalt tiger did you really make a py script ?
wait what is
universal serial bus
It was a joke, just a bad one
It is a serial bus
universal serial bus
oh ;-;
JavaScript, just read the words and then for the first one I set the input to the whole word with a delay and then simulated pressing the enter key, for the second I did the same but each letter (the delay also gradually increased)
I went back to the site and the extension I was using for the script had deleted it
.innerHtml i assume?
Yeah, selected all of the word elements, mapped with innerText and for the first left it as words, for the other I reduced with els.reduce((acc, el) => [...acc, ...el.innerText], []) or something
I mean, how did you attach your javascript code to brave?
well that's how it is....
hm, ok, no preview
it's only 48 bytes 
Brave 
brave is gross
been told about the ceo.
Edge then
These are our current web browser recommendations and some tweaks you can use to preserve your privacy.
Yes Firefox
I don't like FF because it's so FF slow and uses too much CPU
Dev tools are awesome
The dev tools are why I do use FF despite hating it
i mean i see that, but i also dont really put any faith into your anecdotal evidence while also having a hundred different extensions installed
ff is just as fast as chrome
It's much slower, it's noticeably slower with every click
i can see that much in your video, i believe you are experiencing this
im just telling you that you are wrong
thats not normal
look up any benchmarks
When I made those videos last year other people did side by side comparisons and while I did have it worse everyone found that FF was slower by between a little and a lot. So I know that while my experience is the worst it's not that far off normal
Anyone who is planning to move to FF should do a side by side comparison and see if they're willing to waste a second for every click
I use Vivaldi
it's chromium-based
currently, the best chromium-based is brave
As long as you believe in death of the author and have ads completely disabled. I don't support the CEO's actions at all
but the browser itself is the best
Firefox is a lot faster now
I have tested FF's speed a couple days ago and it is still slower than Brave by a noticeable amount and I can't put up with it.
Have a song from my 2nd favourite album https://www.youtube.com/watch?v=avy91JCB_YM (brave > FF when it comes to performance)
Provided to YouTube by IIP-DDS
I Believe In Immediacy · Black Bear
The Cinnamon Phase
℗ Baskerville Hill
Released on: 2006-06-06
Artist: Black Bear
Auto-generated by YouTube.
I reset Firefox once to speed it up lol
Also sometimes Firefox gets slower being open for a while....
EVEN slower?
No, my phirephox is really fasst
I use Firefox nightly.
My dns server is set to cloudflare 1.1.1.1
And I'm using cloudflare warp
Im on my 5GHz network band for wifi, so my speeds are around 67MB (yeah not that great)
Pages load in about 1-2s
NextDNS tho (tbh, NextDNS is the reason I'm considering going back to Chrome)
Adblock on the DNS level, so it works with mobile and mobile apps (you can get a trial without signing up) https://nextdns.io/?from=ex8cfq9y [it is a referral link, I get 30% off]
It's basically pihole
I do, but I keep being distracted
Closing Discord now 
It's basically just a cloud based pihole
It's decent enough, you have to trust the company though will all your DNS browsing history...
Imo just buy a rpi and set up pihole
NextDNS is great
hello joe
hello
it's great
hm, what don't you like about it then?
lol
were you actually not being sarcastic when you said its great?!
Is there?
hey yall watch cornhub
Sigh.
i do
What's that?
CornHub is the number one site for Corn Pictures and Videos.
Ah
man of cultury.
Probably shouldn't be here regardless
Corn?
yes
Sheesh
That shit needs a filter
why
Bruh
||/j||
i registred 😎
whats happening 👀
ty
I'm disappointed in the lack of videos
😳
It's an interesting..... website
With a FAQ page why lol
FAQ
WTF is this?
This is a parody site I made. It's not affiliated with them in any way.
Why did you make this?
I have too much free time.
Your corn puns are awful.
That's not a question. But I agree.
Lmao
is ascii art allowed here?
Nope @languid osprey didnt respond.
@limpid fern
Yo
It's fun, fast, powerful, and can be used for basically anything (with a bit of JS to fill in web front-end gaps)
Python
Python python python?
Rust == python
No, Rust is better than Python
Rust is not perfection
I wish Rust was a tiny bit simpler
Rust has been old since it was first created. The name is rust ffs
In terms of syntactical sugar
Yeah with Rust it's all or nothing, but with editions it has the possibility of having large structural changes
If when I ever use another language, it's gonna fucking suck for whitespacing to mean nothing
Rust editions are like it's version of major versioning, right?
Does whitespace mean anything in rust?
You only know 1 language? That might be what’s warping your view on Python being the best
Python is great, don't get me wrong, but other langs do other things better
Kinda, basically any compiler in the future will understand what 2018 edition is so there are never any breaking changes
The last coding language I used was autohotkey and before that bbtag so I've used the most worstest of all languages tyvm
Therefore python is great in comparison to both of those
Also used Java once
I recommend trying other languages and broadening what you know
I'll
Try
One
Maybe not rust lol
But uh I do need to get into some front end dev stuff sooner or later
Rust is a bit hard mode coming from a scripting language, but give it a go first
Also i haven't even been using python for a while
Try TypeScript (for front end) and then Rust
Haha.
What does ts do?
It's essentially a typed version of JavaScript, as well as a smattering of extra features and polyfills
🙂
Like in the TypeScript compiler
i = "hewwo"
console.log(i)```wouldn't be valid, which is good
Since sadly, that's valid in JavaScript
Oh. Way too many devs overuse js
wat
CSS should be used as much as possible when applicable over js
wat
In what way do you think they "overuse js"?
you shouldn't be using inline style attributes, so the argument is redundant
It might be a good idea to learn CSS (SCSS), HTML (Pug), and JS (TS) first - oh yeah front-end web nobody uses all 3 vanilla HTML, CSS, and JS
That's not really true. There are many things that are much easier to implement in JS than CSS
@wide totem If you love whitespace so much, learn Sass
It's basically CSS based on whitespace
Just be my teacher why don't you smh
Any questions you can ask in CM and I will help you out
why_so_many_languages.jpg
Because it's a whole other world out there
True
They're pre-processors that make HTML, CSS, and JS better (there's many of each of them too, but Pug, SCSS, and TS are most popular)
Let's just say I have enough trouble with github and git right now, which are just tools.... Not even languages.
We haven't even mentioned languages like JSX, Vue, Angular, Svelte, all which make things a lot easier
they're not the same thing... at all
git is haaaaaard
I agree, but ARU said CSS should always be used if it can over JS
so what you said made zero sense
Fwiw typescript has always felt fun
CSS can't be used in place of JS
For styling stuff, yes
if you're creating elements with javascript you just add a class and css handles it
if you are using inline style attributes you're doing something very wrong
Like, you can do some pretty complex animation with CSS keyframes. But should you really do that all the time instead of using JS? No
Someone sent me this
Thoughts on web development, open source, software architecture, and the future.
Javascript can be horribly misused
You might like my tic-tac-toe that doesn't use any JS, it's all CSS https://codepen.io/z-/pen/LYPqaME
The page hasn’t finished loading the JavaScript needed to control its DOM.
Well duh, use a bundler and maybe some SSR/SSG kids
Ah cool
without opening the link is it talking about putting javascript just before </body> or something?
That's very cool! Like they say, HTML/CSS is Turing complete
Seriously though, JS should be used for things. You shouldn't for instance use a masked checkbox to open a menu, you can without JS, but it's not good practice
CSS isn't Turing complete, but it is a programming language, while HTML is a coding language
You can't go backwards with CSS
That's why frameworks like React, Vue, Angular, and Svelte are nice. They make it easier to use the two languages together.
you're supposed to make a functional website with js turned off, then add the js on top. a lot of people don't even bother with this step and jump straight into js
If you can't make a semi-decent website with HTML/CSS, you have no business learning JS for the sake of reactivity or whatever
Checkboxes isn't a real solution, it's a toy
Hm, if @rapid zinc is there they would be very interested in this conversation
Honestly, you should never load everything on the site (unless it's simple and won't stress the DOM) when your user initially loads it. You either need to use a bundler like Webpack or do some serious lazyloading.
Fact of the matter is that while it would be amazing to make a website that didn't need any JS while having interactivity, the hacks required are not stable and they aren't accessible. Most websites require JS for actual functions on top of basic interactivity, you can rely on expecting users to either use the website with JS enabled or are full screen with JS disabled, you really only need JS enabled in most cases for navigation which is only an issue with narrow viewports.
What did we do before bast?
This is true. You can use checkboxes and radiobuttons to maintain interactivity, and while it can end up hacky, amazon.com uses radiobuttons for their tabs and views for graceful degradation
I do not agree with lazyloading
I don't like lazyloading either, but some people do it 🤷♂️
People do it far too much
I mean Javascript
Images is fine, images are expensive, but as soon as you start lazyloading things that are not images you have other problems
Absolutely. JS is mostly used (in frontend) since there are things you'd rather do client side than server side.
I like lazy loading for images, everything else I just want to have been done fast
Brotli compression which is supported by effectively everyone compresses page contents, javascriot, and css by about 90%
If you're lazyloading content that's not images, you're doing something wrong imo.
This means that in 100kb you can transfer a full megabyte of text
Websites with progress bars first thing, nope
I kinda love this site: https://kryogenix.org/code/browser/everyonehasjs.html
https://www.spacejam.com/ like why
holy crap
a progress bar
to load
a youtube video overlay?
On top of some text and an image??
Yeah


