#ot1-perplexing-regexing
1 messages · Page 575 of 1
wow nice stealing
idk what you're talking about
https://www.codingame.com/multiplayer/bot-programming/coders-strike-back
currently writing a bot for this... well, will be after my quantum mechanics exam
oh i have seen this one
it's the popularest on the site by a wide margin
unfortunately i am that stubborn guy who wants to do the graphics too
pretty hard too because it's multiagent
oh yeah i recently figured out compute shaders in unity and now i can make cool visual stuff by representing an agent with a pixel
I came here just to know the age of joe does anyone know the age of Joe
17
who's joe
dunno, what's joe with you?
j-j-joe m-m-mama
That would've been very interesting had it been true
Why would they sell this as nft
Wouldnt it lose all value instantly if it was taken off youtube
this is joe
pro editing
dude 5 minute paint job
this was yours?
i had it saved
bruh lmfao
@bleak lintel what is thy opinion
sadge
he probably saw the image and went offline
a work of art
nft
Lmfao
What's a good color for strings in VSCode? The brown is kinda ugly.
maybe more reddish?
I'd argue that no other colors would really match the color scheme... so in that case, I'd say just get another color scheme lol
teal would be too much blue
f-strings are blue, variables are blue, operators are blue, arguments/parameters/attributes are blue
I just saved myself some hour+ of homework by making a script to automate calculating coefficients for angular momenta addition
🤔
angular momentum is mass * velocity * radius right
i also dont understand what those | > symbols mean 
same
in quantum mechanics it is, for one, a discrete and not a continious quantity
| > is the so-called bra-ket notation
these are all kets (vectors).
each equation here relates an angular momentum vector in the sum-of-two reference system (|j1,j2,j,m>, where j1,j2 are the momenta of the two particles, j is the total momentum of their sum and m is its z-component) to vectors in the systems of the two particles (|j1,j2,m1,m2>, where m1,m2 are the z-components of each particle's momenum)
All of these past the first one are just obtained by successively applying the lowering operators: J_- on the left side and J_1- + J_2- on the right side
yes i agree the brown one is kinda ugly tbh
o quantum mech
git clone https://github.com/git/git clone https://github.com/git/git clone https://github.com/git/git
iirc sexypistol is studying that hmm
D: what's this
yes
lol
your profile picture should be the logo of python
is c and c++ is the same as java and javascript or I need to learn c before c++
just learn java if you want to mod minecraft simple. Why do you want to learn something other than java?
ohh oops wrong server
😅
c and c++ are similar to java. c is limited as it has no concept of generics. java c and c++ are statically typed languages and are compiled while javascript is interpreted.
Oh tell this to guido 
and you dont need to learn c before learning c++
great
oh my
windows 11 cpu compatibilities are the worst thing microsoft ever published
1 Ghz? that's not that bad
its not the specs of the cpu
they literally ignored 7-8th gen intel cpus and ryzen 2000
they ignored it
doesn't mean it won't run
well i mean if they restrict users from installing windows 11 because of cpu incompatibility then it'd be a disaster
ive hit a wall in my minecraft modding journey
no one knows an easy answer either
yeah, that happens sometimes
\🤔 is it?
it is
wot
wot
And it’s made by such a cool company, Brand
absolutely
absolutely yes
It’s so cool and great and good and cool
you seem like you haven't bought a single thing in 10 years
¯_(ツ)_/¯
@rough sapphire
ye
Please just ask your question
Don't just ask who knows js in every ot channel
I've made a discord bot and it is malfunctioning, can you help ?
hey can u remind me whats the name of this server
Python or Python Discord
Can you show the code?
yes ofc
Does anyone know how to find out what variables in python script use what memory?
stackoverflow answers aren't enlightening
hmmm
never thought of this
Hey @rough sapphire!
It looks like you tried to attach file type(s) that we do not allow (.js). 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.
maybe try getting the ammount of bytes when u pickle.dump it?
for every object?
import pickle
print(pickle.dumps("your data here"))
!e
import pickle
print(pickle.dumps("your data here"))
@rough sapphire :white_check_mark: Your eval job has completed with return code 0.
b'\x80\x04\x95\x12\x00\x00\x00\x00\x00\x00\x00\x8c\x0eyour data here\x94.'
sys.getsizeof(object)
Hey @rough sapphire!
Uh-oh! It looks like your message got zapped by our spam filter. We currently don't allow .txt attachments, so here are some tips to help you travel safely:
• If you attempted to send a message longer than 2000 characters, try shortening your message to fit within the character limit or use a pasting service (see below)
• If you tried to show someone your code, you can use codeblocks
(run !code-blocks in #bot-commands for more information) or use a pasting service like:
hmm
Post it as a codeblock please, not a file
I kinda feel bad that
there are over 150,000 people in this server
but only 100 joined the bootcamp broadcast(?)
so kinda like a decent terminal view showing the most mem heavy objects
try enumerating alll the variables in the script one by one, somehow then do pickle.dumps
they don't care about it?
A lot of people just join and never talk
And not everyone is available right now
yeah, this is mostly beginners git tutorial anyways 🤷♂️
Like I can't join vc at the moment
this may be of help @strange musk https://stackoverflow.com/questions/42530194/list-all-variables-used-in-a-python-script
I don't know git but I don't care either 🤷
how to write in code block ?
nah mate, some quick and easy lib
!pypi memory_profiler
```js
code goes here
```
yeah, nothing better than copying pasting your code over and over again in your secret external storage 🤫
i've used that before
this looks promising
Then only post the relevant parts
how did you write that without making it a code block? 
dm would be better
backslash escape
no thanks
u can dm me if you want @rough sapphire
```js
code goes here
```
ok
@wraith hound sir/ma'am I need it to be fixed please help me
Like I said, post the relevant code parts and we'll try to help
ok leave can you give me a mod mail code in python ?
https://github.com/kyb3r/modmail is the code that powers @polar knoll
the real mod mail ?
if by real you mean the one running in the server, yes
yes the discord certified Mod Mail
wrong error bud
ModuleNotFoundError is a subclass of ImportError
:incoming_envelope: :ok_hand: applied mute to @rough sapphire until 2021-06-26 22:29 (9 minutes and 59 seconds) (reason: mentions rule: sent 85 mentions in 10s).
now that's a lot of pings

Wow
User has been completely annihilated.
Some user decided to ping 85 people
oh
?
That’s a server invite
u might get in trouble for posting that invite as it is not a pydis partnered/approved server
@rough sapphire please dont post unapproved invite links on the server 🙂
but i didnt..
oh sorry wrong, ! ...
@rough sapphire ^
@woeful quiver What do you mean by "one side"
one vertical line of pixels on a screen
Those are dimensions
As in, you'll have x amount of pixels along the x-axis, and y amount along the y-axis
Multiply those together and you get the total number of pixels
So my monitor for example has a resolution of 3440 x 1440
Which equates to...
!e print(3440 * 1440)
@tranquil orchid :white_check_mark: Your eval job has completed with return code 0.
4953600
4.95 million pixels
for the whole display?
Yep
That's a resolution
It means that horizontally, the display has around 4k pixels
Vertically it's usually about 2.1 thousandish
but many TVs are 4k with different sizes
That's where pixel density comes in
The larger the screen with the same resolution, the more spread out the pixels, the lower the density
PPI is something else?
yeah
wouldnt the density be measured by meters squared?
*inches
lol
I mean it could be in pixels per square meter sure
Doesn't matter what it is, so long as it's pixels per some unit of area
i meant squared inch
Yeah, just infer it to mean pixels per square inch when you read pixels per inch
yeah
¯_(ツ)_/¯
still sounds odd to me that the x axis can only has 1080 pixels 
Yeah that was just a random number by me
well
kind of
You'll find a lot of screens with a 1920 x 1080 resolution
Often just called 1080p
!e
0.26*100
@lunar nexus :warning: Your eval job has completed with return code 0.
[No output]
Although there is relatively new technology that's made pixels a lot smaller
interesting
@icy tapir have you considered Rust over C++
lul
naw just spam std::unique_ptr and u get sth similar to ownership /s
No I have not? Is it like Python and C++ and Java and all that?
What areas is it better than C++?
It's on the same kind of level as C and C++
Probably it's most major advantage over C++ and C is it's memory safety. Rust was designed with safety in mind, it won't let you mess things up in terms of memory
Also just the fact that its modern
C and C++ are old, they have a lot of new and old legacy features which make them fairly bloated
In a lot of situations I would consider it to be better yeah
then ill probably learn it :D
https://doc.rust-lang.org/stable/book/ is the go-to resource
The book is amazing
They look to be the same
ok
Plus the built in package manager is really nice
@tranquil orchid have you looked at the cpython or PyO3 crates?
I haven't yet
for pyo3
another one bites the rust
And another one gone and another one gone
Another one bites the rust
Hey I'm gonna get you too
nice one
aha

Suggest me a thriller movie
Carrot
why isit sometimes for casting it is int() while sometimes it is (int)
for c? how about python is there both ways
for C, there is int() in the standard library
and (int) converts a numeric type into int
in python int() will convert any type with __int__ into an int
oh wait but whats the difference between int() and (int)
okay
int() is for python, and (int) is for C
well, strictly speaking you can do (int)(5 + 5) in python, but that is just int(5+5) written weird
yea
ok thx
anyone good at physics if so could someone asnwer this question please
the actor is under yellow light btw
plz ping me if u have an answer
if it's pure yellow light (or even RGB yellow, so R+G), then black?
because blue doesn't reflect yellow (and with RGB - not R nor G)
Yeah, that makes sense
There are two switches and yellow is formed with two colors
https://github.com/python-discord/bot/blob/main/bot/exts/info/stats.py
do stats also save date of stat? So you know how much per month/day etc
I'm thinking that would be wasteful? I assume whatever is in the backend also has separate month/day counters for each value, for example this message would increment counter instance for message where month = 6
new month comes create new counter instance with month 7 etc
I' asking because I want to do basic stats for my bot but also want to have information how much per month/day the command has been used. Saving date for each would be wasteful. I think I actually answered my question with the above example, I'll go with something like that
ok i was right in the first part, but i said that the shirt is black because there is no colour that the shirt can reflect as the shirt is not exposed to like white light which is the whole colour spectrum
It wouldn't have to be white, tho. Any mix of blue+something (eg magenta ff00ff) would make it blue.
well fucking rip
i said it was black
the shirt would appear but i said there is no colour for the shirt to reflect therefore appearing black to the human eye
helo
hello
hi
idk if it makes sense to change these 2 140mm for 3 120mm
like where would the air of the lowest 120mm fan go?
into the hard drive cage?
Well, yes
It contributes to the general flow
You usually want to have more intake than outtake
I was thinking of moving the two 140mm intakes to be outtakes on top
and 3 noctua NF-A12 as intake
so 3 in and 3 out, the rear out being a stock fan
but idk of that would give it more positive pressure
sorry negative as i think these 140mm are powerful
test
sus
u self bot?
Fuck it let's find out
🎉 GIVEAWAY 🎉
Prize: Nitro
Timeleft: Infinity
React with 🎉 to participate!
lol
@quick ledge is always lurking lol

where nitro
Just because you have nitro doesn't mean you need to use animated emojis everywhere.
Just because I don't have nitro doesn't mean I can't use animated emojis everywhere.
What

How
||spanish inquisition||
God dammit

||nobody expects the spanish inquisition!||
|| never gonna give you up, never gonna let you down ||
|| @acoustic moss what have you started ||
stop spoilers!!
yes
||sorry about that||
damn
||sus||
||omg he used damn pls ban this monster||
wht is this chat
||welcome to #ot1-perplexing-regexing , duck||
bruh
||use spoilers or else......||
this is getting opposite of based now
i loved your previous pfp
its now bad
vinam getting darker
ok
sed
that cartoon stick guy with fire on his head
didnt ask
||not based||
i got bored of it
i have one more but later
nice
lol
man how

lol it's a gif
if fine == "hm":
print("===> You are dumb <===")
print(" ^ ")
print(" / \ ")
print(" / \ ")
print(" / \ ")
print(" /_______\ ")
print(" | __ | ")
print(" | | | | ")
print(" | |--| | ")
print(" | | | | ")
print(" | -- | ")
print(" | | ")
print(" | | ")
print(" | | ")
print(" _| |_ ")
print(" |___________| ")```
use a multiline string man, why u suffer with those print statements
makes a oneliner
print("""
USE DIS LMAO
DIS IS COOL
LOOK AT DIS
""".strip())
leading and trailing newlines 😔
imagine
fixed it

don't bully me alright
hahastinkypoop was a nice guy
follow in his footsteps, hsp
nevre
wtf
wut is this chat lol
wtf is that lmao
Who even makes these videos
ikr
.uwu beenie weenie
beenie weenie
this room locks its entrances and spawns enemies. Once the enemies are defeated the room unlocks letting the player proceed.
command blocks... youch
I like working with them but i do plan on remaking this feature as a mod
how do i not get this list of names?
https://media.discordapp.net/attachments/336642776609456130/859032386414444544/unknown.png
when was the last time you slept
@rough sapphire as the admin said, we can discuss in OT if you'd like to discuss the rules of the server
but the server is in its right to make its rules
and one of those rules is no breaking TOS
!ytdl
Per Python Discord's Rule 5, we are unable to assist with questions related to youtube-dl, pytube, or other YouTube video downloaders as their usage violates YouTube's Terms of Service.
For reference, this usage is covered by the following clauses in YouTube's TOS, as of 2021-03-17:
The following restrictions apply to your use of the Service. You are not allowed to:
1. access, reproduce, download, distribute, transmit, broadcast, display, sell, license, alter, modify or otherwise use any part of the Service or any Content except: (a) as specifically permitted by the Service; (b) with prior written permission from YouTube and, if applicable, the respective rights holders; or (c) as permitted by applicable law;
3. access the Service using any automated means (such as robots, botnets or scrapers) except: (a) in the case of public search engines, in accordance with YouTube’s robots.txt file; (b) with YouTube’s prior written permission; or (c) as permitted by applicable law;
9. use the Service to view or listen to Content other than for personal, non-commercial use (for example, you may not publicly screen videos or stream music from the Service)
they even have a special thing about YTDL specifically
i condenm my own act
3. access the Service using any automated means (such as robots, botnets or scrapers) except: (a) in the case of public search engines, in accordance with YouTube’s robots.txt file; (b) with YouTube’s prior written permission; or (c) as permitted by applicable law;
This one speciically says no automated access
the content does not matter
it is YT's server you are accessing
we will not help write code to violate TOS
it's that simple
You can disagree until you turn blue in the face AND the cows have come home
I think they get the idea
check general
sorry
they kept it going and I did not want to continue there
so I wanted it to go away from general
oww
i wanted to ask one more thing!
is manually translated content still copyright of source of content?
.
its like inspiration... and i read inspiration is allowed
just because hte original source was free doesn't mean the newly formed phrases are
You can be inspired all day
but you cannot take what someone else made unique whilst inspired
just because the source of inspiration is free
hmm got it
so the content you make is yours
the contnet that inspired you is free to inspire
your content can inspire
but your unique content is yours alone
until the lawyers show up and change things
and kelloggs actually owns that thign you did
👀 😆
One of my favorite things about this server is the strict enforcement of hte rules
keeps the place happy
not illegal
like I said, you can translate all day
and breaking TOS is generally not illegasl
but they violate google terms..... they are automated tools made by reversing api of goole
we just don't help with it
America doesn't give a shit about the ToS of Google
Neither does North Korea
or Iran or England
ToS are for users and companies
Laws are for people
no one take copyright seriously until action is taken
I can make my ToS say you must not wear pants while using my app
and I can rightfully ban people for wearing pants while using my app
doesn't mean your government will punish you for wearing pants while using my app
we have to enforce TOS because discord rules require us to
but it does mean we won't help you circumvent wearing pants while using my appo
I am not very happy about it either, some TOS is really dumb
as silly as it sounds
google has right to ban me from their service... not legally binding though until i request like i am doing DDOS
😆
uh
if you said I LOVE THIS APP and amm working on ML to put pants on me, since it wants to see me pantless we'd have to pass
hopefully that silly example makes sense
i am quite amazed by world of API's
👀 and mostly reverse engineered
after I just finished building a tool for my wife
which tool
so now I need to actually learn to access it if someone doesn't make a wrapper quick
it loads her receipts
actually
which technologies you used to make it possible?
from key_getter import etsy_login
from etsy_utils import get_receipts, get_transactions, gather_the_data, listify
from sheets_utils import get_sheet, get_sheet_data, fill_sheet
if __name__ == "__main__":
etsy = etsy_login()
sold_items = get_receipts(etsy)
active_receipts = get_transactions(sold_items, etsy)
the_data = gather_the_data(sold_items, active_receipts)
the_list = listify(the_data)
sheet = get_sheet("Water Balloon Orders", "To Make")
data = get_sheet_data(sheet)
fill_sheet(data, the_list, sheet)
so I login using the etsy2 python package
grab all the receipts from her unshipped queue
get the transactions from the receipts (each listing is its own item)
process the data
COOL
organize the data
How old are you sir?
grab the google sheet, figure out what's on the sheet, add the new data to the sheet
30's
def gather_the_data(sold_items, active_receipts):
the_data = {}
for item in sold_items:
name = item['name'].split()[-1]
message_from_buyer = item['message_from_buyer']
date = datetime.date.fromtimestamp(item['creation_tsz'])
is_gift = item['is_gift']
ship_by = datetime.date.fromtimestamp(item['shipped_date'])
usps = item['shipping_details']['shipping_method']
transactions = []
the_data[item['receipt_id']] = dict(name=name, message_from_buyer=message_from_buyer, date=date,
is_gift=is_gift, ship_by=ship_by, usps=usps, transactions=transactions)
for idx, transaction_ in enumerate(active_receipts[item['receipt_id']], 1):
# pprint(transaction)
transaction = transaction_['transaction_id']
product = transaction_['title'].split()[0]
quantity = transaction_['quantity']
variation = transaction_['product_data']['property_values'][0]['values'][0].split()[0]
cost = transaction_['product_data']['offerings'][0]['price']['currency_formatted_raw']
_dict = dict(transaction=transaction, product=product, quantity=quantity, variation=variation, cost=cost)
the_data[item['receipt_id']]['transactions'].append(_dict)
return the_data``` here's where I process some of the data
US
don't mind sir... I just laugh at everything
NICE
I wish I started programming earlier than last year
Jealous of all the young kids that come here
really it's just been a year?
and 2 months
but yea
late april
of 2020
decided to start learning programming
i actually started a year ago..
i learned full stack web dev.. python as general purpose language
ah yeah I started in August of last year
cool
even though our brains are less malleable as we age, it seems our discipline and ability to hunker down is much better
I used to be too distracted by games to study and learn
now the games are for the kids
👀 yes sir
ya
cool
Just got them a computer, so they get to use my decade old steam library and the countless games I've collected from Epic
there's actually a few gems in ther efor hte kids
that I didn't even know I had, haha
and some other games that have blown up in popularity
I picked up Fall Flat in a humble bundle like 4 years ago
it's their favorite game
In Asia almost all of games are pirated.. really no one has money to even buy windows
Indian subcontinent to be specific
quite the generalization to make for a 1.3b population
https://worldpopulationreview.com/country-rankings/median-income-by-country you say that, but it's a fair one it seems
I imagine people prefer food and needs to expensive video games
Microsoft can disable their access but no one wanna loose most techy population in world...
Microsoft knows not to care
they make more money with consumers learning their platform and being proficient employees of companies that pay for licenses
that's why it's so easy to run unactivated windows
yes also because if it will care Linux market share will grow with lots of programmers
it's all part of their busines plan, it's not allwoed but they don't give a shit
yes really
Which is why I use Linux, because Fuck MSFT
😆 cool sir
started linux in september
absolutely love it\
I always hated windows, things are just so easy on linux
I used Linux later I left just for gaming and drivers support
steam has amazing gaming support now
in linux?
i might soon switch if that's the case
EAC is the biggest issue
there's certain EAC that requires windwos
Most of the games I play work on Linux
but those are the games I play, haha
👀 fair price to pay for using linux
Yea, if anything Linux helped pry me away from games
nice
yep
which city are you from in the US?
but now i just type factorio in the shell and it loads
between philly and nyc
not a city, haha
a town
pretty sure I'm the only krzysztof here
haha nice
but there's bound to be a few in the metros
metro city?
yea, it's not a common name in America
lol
but near certain ethnic centers it'll be more common
namely around the polish areas
hmmm i see
👀 i'll someday come to the US
hopefully
it's not all that great, but I guess it's worth a visit
lots to see if you're just visiting
Yo did you buy one more dog? @eternal wing
lmao 🐕
and congo for Certified Moderator! 🔨
Fisher is actually a fusion of two dogs, like from Steven Universe
me thinks Fisher is... away
lmao, he changed the status
how is he away?
oh gone offline
now*
typing llol
👀
haha, no just the one dog. I Just thought it would be nice if I had another, then I could disguise them as one human in a trench coat
and I dont buy dogs
Rescue only haha
best mattress for scoliosis?
oops. I read that as "best mattress for Scaleios"
haha I am laughing at this
@limber mantle
is it some popular devops organization for hire?
huh
Scaleios is an admin in the server
Scaleios has been successful in providing dominant technical solutions throughout the years, thus becoming the MOST TRUSTED CLOUD PARTNER among SMEs in God’s Own Country. In the recent past, we have extended our operations to rest of India, Australia, Middle East, Singapore & UK, favouring a wider customer base. The formula to
google failed me
why Scaleios? 😉 I always thought it is root
I…don't really know 😄
do you have any link somewhere that provides the right definition?
hmm... ScaleIO is actually even a soft
https://kubernetes.io/docs/concepts/storage/storage-classes/
found even kubernetes instructions for that
lmao
lol
there's a mushroom on your shirt
what
gotta say, non monospace fonts are quite nice for programming.
the terminal also uses monospace right?
not unless you tell it to
the terminal does get broken if you do this
but my program doesn't do terminal output anyway, so idc
That's cursed
it just looks wrong to me
communism
hot take: things aligning columnwise in code makes parsing it harder
since code is always read line by line
unbased
unbased indeed
so your perception seeing a column is harmful
you usually scan code for blocks, monospace helps identify blocks quicker
I generally don't like seeing code as rectangles
imagine typing
In [1]: array = [
...: [1, 2, 3],
...: [4, 5, 6],
...: [7, 8, 9],
...: ]
and it doesn't align
i'd collapse
That would crack the shit out of my gears let alone grind them
next u will suggest that it should auto-justify instead of left align
In [1]: array = [[1,2, 3], [
...: 4,5 ,6],[
...: 7 ,8,9]
...: ]
Array hell
hmmm
that will align in a non monospace font, since all digits are generally the same width
Now go into #854363982738358302 with table (eg local tests) screenshot :D
Uh. No
1.
2.
fair
funnily enough, the tables would be monospace, since this config breaks the terminal and it does this
best font choice
this looks weird with header info - all those numbers 😮
I typed the text while using wingdings, so the line was printed short, it adds to the weirdness XD
this looks fancy
i think joe likes italics
speaking of fonts, I've recently given up ubuntu mono, which used to be my favourite mono font
after many years I simply concluded it looks like shit
Ye Olde Python
the last font is called Old English Text, and Joe is British (English?)... 🤔
joe's british, not sure if english
Joe is Welsh
ty
I only knew about British part, hence English is inside parens and with question mark 🙂
windows terminal is pretty good
I wonder if there’s a practical purpose to wingding
pranking your friends
it used to be for icons on websites, before it was reasonable to include a whole image in it
I agree, I think that either Windows Terminal or hyper.js would be the best terminal for Windows
Windows terminal seems great, the only issue is I can't use it on Linux and OSXI
yeah, if you need cross platform, you probably want alacritty
alacritty is no slower than wt, and I would be willing to bet it is faster, but I don't have data for it
alacritty is super lightweight
but it's a boat to configure which is why I avoided it
yeah, that's fair
can confirm, the defaults are bad
I want lots of eye candy, with acceptable performance
and getting alacritty to that, especially with a single config that'll just work regardless of platform is well
an undertaking
I had trouble getting the eye candy part to work well on linux, by itself
so i have been keeping a tty open
what is just an actually nice terminal for linux with no configs
windows terminal defaults are good enough for most things
because i don't wanna integrate a service for the irc client i'm making
what's the gnome shell default one?
whatever it is that comes with gnome shell is quite nice out of the box
Konsole, by comparison, despite KDE being way more eye-candy oriented is GOD AWFUL
isn't "gnome terminal" a standalone application
I will probably be stuck with st, I need very very lightweight and no GPU dependency
you'll have to excuse me as I hate gnome.
i share the same sentiment
since this laptop can't run alacritty
yeah, I don't really want to pull in gnome here
i used a suckless dwm + st combo for a long time, not a bad terminal app
even tho you have to edit the source and recompile for changes which
yeah, that's what I would rather avoid
uh, sux
me too but i wouldn't daily drive it
it was okay, but just didn't really seem like it was a good use case for day to day use
yeah def
I'd use it on my home server
to have monitoring stuff up on
a passive display, basically
I like it because I often need to split things between reading docs and coding etc
oh yeah, that is also a great usecase
i did like pop os
because it has a toggle between tiling windows and just normal
yeah, other things do it fine as well
windows 11 is making that even better, too. I'm excited for it
buuuut it uses gnome
but I also like that i3 improves on alt tab
I don't hate gnome as a concept, if something else makes gnome better like Pop!_OS I'd consider it
I just hate the default gnome shell
because alt tab is nice, but i3 does do it better
Titlebars on windows are too big, icons are too big, everything is too big
eh it doesn't work too well for me anyway
it's a UI clearly designed for a tablet
also, window focus on hover
except it's not optimized at all for tablet use
I do like large fonts
this is what the application menu looks like on pop os
i don't dig it
Windows has a setting for this, actually. So does Plasma. I accidentally turned it on one time and was very confused/frustrated why things were breaking
I use discord 2 zoom levels in and have 18 point fonts in all my editors
I'm the type of person to move my mouse cursor out of the way when I'm doing something
so I was getting loads of input on the wrong software lol
yeah, I can imagine that getting annoying
doesn't sound like a feature i'd use
standard gnome shell apps menu...aka a menu for tablets. lol. But what do the actual titlebars of apps like?
in gnome default they're like 12 inches tall
i suppose that'll vary from monitor 2 monitor but
yeah, see, that's huge
i do think they're on the chonker side
why would you have such a small button in such a large space
...which is strange because
large buttons are good
system76 sells computers preloaded with pop os
All I hear from gnome users when I point that out is that "gnome sucks on tablets it's keyboard oriented"
Which I never really got tbh
Like, I've used gnome shell a bit, I think it'd be fine on a tablet
out of the box it's probably the best environment for a tablet, normal use case wise, if you ask me
like, look at the windows buttons, they are the size of the entire header
again, because everything is 2 to 4 times bigger than it needs to be
i do like this product from them https://system76.com/desktops/meerkat
Adorns your desk without consuming it. Small but fierce, Meerkat is the perfect combination of performance and efficiency. System76 desktop computers are custom-built to run Linux flawlessly.
hard to afford for me tho, but it's on the back burner
yeah I desperately need a new laptop
mine has a broken screen and it costs more than the laptop is worth to replace it
3rd gen mobile i3s did not age well at all, it's barely even usable for basic web browsing
with a lightweight linux distro
doesn't help that it only has 6gb of RAM, which again, is barely usable for all but the most basic tasks these days
oh man my dream is a zephyrus duo 15
I just want a mid-range laptop
something with a good processor, like a 4800H
and a mid range RTX card
so I can game a bit in my room rather than go downstairs
and not worry about performance
usually those run at like $1k flat
if you have good internet, you may want to look into cloud gaming depending on what category of games you play
i got a free trial for this service, nware
it also doesn't work at all for most of the games I play (FPS that require ultra-low-latency)
ah yeah, no cloud gaming for you
it works pretty great, allows you to allocate 100gb on a machine and you can install whatever as long as you own the license
Yeahp, unfortunately I'm not a casual gamer :(
i hear nvidia geforce now works great but
latency is gonna be a deal breaker for fps anywhere
I generally play slow RTS like hearts of iron 4, so cloud gaming works pretty ok for me
i have a playstation vita with custom firmware and this tool called moonlight
allows me to stream pc games to it using geforce experience
works pretty great, even over the network with proper configuration
but it is a bit too pricey and I do have a computer powerful enough for most games I want to play
nware's pro subscription which i vouch for starts at 11 usd mo/
actually make that 12, tax
I have used an app to sream my PC to my phone
while being hundreds of miles away
on mobile data
and managed to play minecraft to good success
when i said "over the network" i was refering to idk
friend's house with 5ghz network wifi
streaming anything over mobile data doesn't sound gud
however i do live in a third world country
with overpriced plans and terrible service
even 4g is rare to find
eek
that just sounds like mobile data with extra steps
My little sister had one of those
my mom uses smth like that for her laptop because our wifi goes down a lot
Actually used to play League with one of these lmao
.uwu oo wee you
oo wee yuw
.uwu hastune miku
hastune miku
hastune
hatsune miku
Don't we have a channel to spam bot commands in?
#bot-commands and #sir-lancebot-playground
Totes
hm ?
Totally possible. Pretty fun to make too
What kind of concepts would you need for that?
you could use prompt-toolkit
i mean, it's literally in the docs first page pictures (a ui like that)
:L
that's curses
what should I do now ?
why can't you use curses on arch
unsupported os
bs ?
bullshit
yes
hmmm
Actually you have to use it along with some other modules
Since rich can't take user inputs sadly
https://www.codingame.com/replay/566923144
genetic algorithms go brrr
no clue what happened but looks like you won
I did! I can't believe how much better my first version of a genetic algorithm works compared to what I had before
https://www.codingame.com/replay/566883139
Here's an older replay when I was using random search. This one I didn't win, and more generally it shows how much worse it used to play
(note that the opponent here that the random search lost to has a rating of 36.33. For comparison, DarthBoss from the first replay (the boss of the Gold league that you need to be better than to progress to Legend) is 41.85, and my new GA solution is 45.01)
what is codingame?
a competitive programming site which I'm mostly on for the Bot Programming and Optimization tasks
this one is the former.
though right now trying to find a shader on the internet which i can yeet in my code to make circles glow
sounds interesting
imma check it out
I love how the current algorithm is already good enough for emergent behaviour
my own pods sometimes collide with one of them enabling its shield to repulse the other - usually the hunter pod boosting the runner towards its next checkpoint, but sometimes the opposite - the runner boosting the hunter to a position where it can intercept the enemy pods
so is it a website where you design bots to fight against other people's bots?
well, that's what the Bot Programming section is, yeah
basically short multiplayer competitive programming matches.
like <15minutes (15min is the time limit, you can finish faster)
is it like hackerearth's code arena
dunno, didn't play that
no, std lib
oof
why
wont installing libraries just
ruin the purpose
Not quite, a certain set per language
uhh, that was meant as a reply to @opaque bronze, whoops
o really?
for example, for Rust there's a few crates like rand, so you don't have to implement your own XORShift like I did initially as I didn't find that page
ah, right
hopefully there's numpy right
i don't think so
wow
yeah, that's a surprise
that's actually... may well be better than compiled languages for many problems
looks look i have to code my own neural network 
like, numpy uses Fortran linalg libraries and the like
grrrrr i have to backpropagate manually
I thought about that myself
but I feel like the main problem would be how to train it
imagine not using autograd
like... what'd you do, log each round, then train locally?
think about it
either that, or you'd have to build a completely local simulator
i think you can train locally and then paste the weights
yeah, that's my idea too
can you make more than one file
nope
oof
I do believe that some people use NNs
you did WHAT
I've seen top-something people say they did Search Race using q-learning
...
Rust 1.51.0
Includes chrono 0.4.19, itertools 0.10.0, libc 0.2.93, rand 0.8.3, regex 1.4.5, time 0.2.26
I wonder what the hellchrono,libcandtimedo
maybe I should learn them if they are apparently common enough to be available here
oh heck yeah itertools
imagine not having itertools in the stdlib 🥱
so python programs compete only against python right?
uh i doubt that
nope
because python programs would get rekt by c++ and rust lol
all compete with their entire league
that's true, in most cases you need a compiled language to reach Legend
so python fights only against python?
no
yeah, cause almost all the useful tools are already built-in
THEN
i think the best way to alleviate this is to take compiler time into consideration
but reaching middle Gold is totally possible with just heuristics, which can be done in Python
the only new itertools are wild ones like interleave
for that matter, you can train a neural network in Python, and implement the actual agent (which only needs forwardprop) in Rust 😛
yeah, but rust have ndarray?
how do you move a neural network between languages
do you just ctrl c ctrl v the weights and biases lol
or else you have to code your own matrix library 👀
you would, yeah
damn
that slightly concerns me because quick matrix mul is already not easy
like, numpy's is in Fortran
exactly
actually, why not do it in Python now that I think of it
can someone explain codingame
looks like it can become my next addiction
so yeah, just everything in Python
It's a pretty normal competitive programming site, but it has two unique categories which I love: Bot Programming and Optimization.
huh
the former is basically games in which you write an AI that competes against other players' AIs.
I do have an account
but I've never played
the latter is solving some task that can't be solved exactly as well as possible.
nice
Coders Strike Back is the one I'm doing right now and is easily the most popular thing on the entire site.
https://www.codingame.com/ide/puzzle/coders-strike-back
it's pod racing (complete 3 laps over a bunch of checkpoints before your opponent)
step it up
But, you control two pods and so does your opponent
and only one needs to finish the race
so you are free to use the other to mess with your opponent
oh damn
how many players are there per 'match'
and in addition to thrusting and rotating, there's also shield, which disables your engines for 3 turns, but makes you be 10 times heavier for the purposes of collisions - so it's often a good idea to enable it to yeet your victim harder
two always
