#ot1-perplexing-regexing
1 messages · Page 144 of 1
Is it?
yes bro
Ig i can gift it to other addicts and make friends that way :3
or start a business..
The girl who fangirls u did ask me for 10 kg coffee not too long ago
Too much legal complication honestly
Ot channel names are funny stuff from server history, bot changes them once a day (midnight UTC I think). In 8h it should change to something else.
Coffee beans usually come in 1kg and 0.5kg bags. So 500-1000 bags.
i can fit 10 in a box
maybe more if i lay them horizontally
lets just say 10
so
50 boxes
yep, thats a room full lol
10 is not bad, 10kg is not bad to lift
What does advanced tetris entail?
a double triple cannon on a TSZ base continuing into a perfect clear
4D tetris
tsz base?
To discuss advanced Tetris techniques like the O spin
idk i just copied the first opener i saw on wiki
interesting because the usual bases are LS or JZ
I only ever do LS, JZ and a weird OL setup myself, but that's because I do DTPC loop and I need to be able to do a dt on any bag
because of the loop, I usually don't like to go directly into a PC after the DT
because 3 bags + 4 pieces means you're left with 7th PC patterns and I don't know 7th PC patterns well enough yet to consistently PC
usually anchor set/kaidan is more viable in pvp anyways since you aren't always gonna have no garbage to actually PC
so at least you get a quad and maybe a tsd out of it
OL, JZ and LS bases
dt pc loop forces this continuation of DT cannon
and you can either do a kaidan like this
PC into a 7th PC bag
which puts you back at the starting bag with an empty board so you can restart the loop

or you can do this anchor set
either way you get a tsd, anchor set is harder to get a quad with but easier to continue PCing
mhm mhm
yeah I'd rather study for school than for tetris...
there's a few ways to rearrange the OLI/OJI for anchor set/kaidan that is bag dependent, and some continuations have higher PC chances than others
I've only PC'd once before and it was a complete accident
i PC regularly because it's part of my opener
i can PC in 4 wide 💪
yeah i still havent figured out how to play that
JZ bag is the most flexible bag in terms of being able to do it from the opener because of cool spins btw
like you can do a 180 spin here to slot the J in place
The + piece really sucks
bruh
you really have to make good use of your allowed spins
there are quite a few you can do
this game mode sucks
fr
yo i hit 50
bet
don't cook me too hard
unc status achieved
@terse harbor Here you go. I rewrote it a little and tested it, still works, just has less clutter. https://gist.github.com/wilson/d9b9d16281e98ba127ecb6a7bf41bd06
(Open to suggested improvements of course)
I guess I could support Windows better, I'll work on that.
Word
Just slap it on .zshrc and it should be good to go?
I should check for .venv/bin/activate AND .venv/Script/activate
Yeah, just put that at the end of your .zshrc
enjoy!
My old one had this going on:
local venv_locations=(
"$project_dir/.venv"
"$HOME/.local/share/uv/venvs/${project_name}"
"$HOME/.local/share/uv/venvs/${project_name}/.venv"
)
``` and my migrated pyenv envs were under ~/.local/share/uv/venvs/
but I've since cleaned that up so I removed it
Yeah uv is crazy
ok i did not expect that
to be fair it was like, light packages
but it still took pdm a solid second
ok this is awesome
Oh you'll want this too in your .zshrc, can go above that other stuff or after, doesn't matter
# Load UV completion
eval "$(uv generate-shell-completion zsh)"
Should go after wherever you have:
autoload -Uz compinit
compinit
Is this a Mac by any chance?
Even if it's not (I think you just said you use Endeavour), this might help as a concept:
# Add autocompletion setup for zsh
# First try Homebrew locations if available
if command -v brew >/dev/null 2>&1; then
# Homebrew is installed, use its completion directories
brew_prefix=$(brew --prefix)
brew_completions=(
"$brew_prefix/share/zsh/site-functions"
"$brew_prefix/share/zsh-completions"
)
for dir in "${brew_completions[@]}"; do
if [[ -d "$dir" ]]; then
fpath=("$dir" $fpath)
fi
done
else
# Fallback to common system locations if Homebrew isn't available
system_completions=(
"/usr/local/share/zsh-completions"
"/usr/local/share/zsh/site-functions"
"/usr/share/zsh/site-functions"
"/usr/share/zsh/vendor-completions"
)
for dir in "${system_completions[@]}"; do
if [[ -d "$dir" ]]; then
fpath=("$dir" $fpath)
fi
done
fi
For you you don't need the 'if/else', but you can do that if you're not automatically picking up all your installed shell completion functions.
hi
Guys if I'm not really good in math, can I still be a software developer?
And what are the skills I need
Depends on what kind of software development
Wdym?
You mean web development, game development, security software development, ect.
yes
Yep, some use more math than others. Like in web dev you likely won't touch much math, while in game dev you should at least be familiar with basic vector math, for security it can be nice to be familiar with cryptography. And for other areas there might be other math concepts that are useful
Data Science often requires a understanding of statistics for example
I seee
But also you have Google
Like sure it's nice to know off the top of your head when the dot product is useful, but it will also likely just show up as a solution if you Google for the problem
Sorry wdym
The dot product is a math thing that tells you certain things about vectors, but my point is that you don't really need to know it as Google will just tell you
Oh okayy
If you Google for
how to know if two vectors are over 90 degrees apart
The first result is "use the dot product"
I didn't know what you meant by dot product that's why I was asking
I don't really know alot about vectors
So that's why
there's a possibility if you are product-wise
otherwise you are always competing for a job with guys who are good in maths
but the goal is making money, not solving math problems
so
I hope thing will work out in the future
Yes exactly lol
if you actually put work in it, it will
True
for real doe, most money problems are of organization
at least on the micro-scale
macro-tier like "how does a country make money" thats a lot
Yhe my current project is rather complex, and there's no math
(Except you know simple addition)
but on the micro is usually an issue of lack of proper sight
what are you doing?
Writing a frontend framework in rust with a custom build pipeline that does stuff like tree shake css based on the final optimized wasm
(except if you are entrepeneur, then its other rules)
frontend as in web frontend?
Yep
It executes rust in the browser
oh
so you write css/html, and it translates to rust, and that runs in browser
?
You write rust that (via framework abstractions) calls document.createElement and friends
aah
that sounds good if you can come up with good abstractions
is there anything like it, or are you the first to try it?
There are other rust frontend frameworks, but afaik I'm the first to do it exactly with this API style
that sounds cool
i would guess the most important part is the abstraction choice, right?
or am i wrong?
That is the main thing that is different from other frameworks yhe
Because ofc at the end of the day they are all calling the same js apis
Oh really? I suppose that is a reasonable thing to like, personally I like a more code oriented setup
well, i do not do frontend, but i'd assume that the best frontend people are actually graphic designers, right?
not programmers
Well
There's the job of designing the web page, then the job of actually writing the html/css/js to actually make it a reality
So actually "web developers" mainly write code
the designer draws the idea for the UI, then the frontend programmers make it real
however, if the language were built with the design in mind...
The challenge in UI is usually more around changing the layout in response to user input, not just "here's what it should look like, make it happen"
I once worked on a freelance gig where we had 3 weeks to implement 300 pages of Photoshop comps, and there it kinda WAS about making it look right fast enough, but that was definitely an outlier.. lakmatiol has it right for the 99% case
I dont agree
That was for these guys.. bizarre company, take care if you work for them haha https://www.akqa.com/
i think UI is one of the most important things
Like just pure layout and looks is a solved problem for the most part (html + css), it's the interactivity that's different between frameworks
AKQA stands for All Known Questions Answered lol
and i think its one of the less worked upon
Yea, but even I with my awful frontend skill can probably take an sketch of a page and make it exactly like that.
designing the UI is difficult, turning it into html+css is not
100% on this
and human-written html+css is generally easier to manipulate with a program
the issue is
I've worked with generated html+css, and it was kind of miserable.
are we really exploiting computers, in terms of UI
i guess for now we can keep being lazy, everything uses a keyboard and mouse
Anyway I was gonna say, Most rust frontend frameworks do a DSL and signal heavy style (i.e react like), what I'm doing is more callback and builder focused
but when we go vr i wanna see that
VR UI is going to be interesting, yea
no more boxes and lists
I mean, even IRL we use boxes and lists
yep i know, but when you think of say
"wheres the button?",
"It's on the back of the pop-up, no not that side, the other side, "
in vr, how do you show "the markets" for example?
thats one ive been thinking about
a simpler one is music production i guess
but the markets its interesting cause its A LOT of data
and we arent exactly primed for looking at 100 graphs
it would require A LOT of bio-psychological studies, but i believe VR lends itself to displaying data in other ways
"data-jungle"
Yea, there is certainly something to be done with it.
you get what i mean?
like how we are primed for our eye to instinctually catch the snake/moving-thing in the jungle
Hey anyone know how anti redpage works?
maybe theres a way we can display data in a 3d way over our kitchen, where our primitive instincts focus on the important part immediatly
dunno though if it would mean we already know whats important, if we do then its moot
maybe we always know whats important, so we never do such UIs, and we keep with the 2d graphs
why does every word mean something sexual nowadays?
yeah no, im just gonna red flag the person who tells me that a word as innocent as cruising means something sus
Because society generally has looked down upon sex and the lgbt
That's actually a pretty old term
Slang is around so you dont out yourself
Dont be as oppressive and people wont have to make up new meanings to casual sounding words for it 🤷♀️
I was today years old when i realized lmaoo
makes sense why i hadnt heard it before
i mean, the former does carry some heavy implications in a straight relationship
and since straight was the mostly socially accepted form in western society for quite some time in the modern era, it just sticks to the term itself
you can probably get any word to mean anything if you scroll far enough down the dictionary
the infamous f slur is also the name for cigarettes and a British dish
it also is a cognate with the word fascist and also means bassoon in like half of Europe
ig we can blame the fact that humans love to reuse words
Anybody ever run into this? https://www.nasuni.com/product/hybrid-cloud-architecture-platform/
lmaooooo
wait f slur
yes, it very much is
thats new to me as well
very well said btw
it could be a like a wikipedia game
yk the one where u start off at a random wiki page and make ur way to a particular one
Where do I find beginner course s
!resources filter by experience level
The Resources page on our website contains a list of hand-selected learning resources that we regularly recommend to both beginners and experts.
not everyone finds it offensive, same as every other slur
ty
For some reason I was just reminded of the most horrifying text editor/shell I've had to use in my career, a thing called CANDE for what used to be the MCP operating system, now known as ClearPath (and yes, that's the system the first Tron movie takes place inside.)
https://public.support.unisys.com/aseries/docs/ClearPath-MCP-19.0/86001500-510/86001500-510.pdf
EBCDIC not ASCII of course
It's bad when you'd rather use ed as your editor.
Tyy
Potentially interesting https://schani.wordpress.com/2010/04/30/linear-vs-binary-search/
yeah that interesting
peak web design
@harsh tundra @tropic ore i have new sad face ascii emoji
:©
How awful does it look lol
I hate it.
Also, this is not ascii. Ascii is 7-byte, 0-127 characters. This is Unicode 169 - one-byte but not ascii-compatible
!charinfo ©
\u00a9 : COPYRIGHT SIGN - ©
Huh
Block: Latin-1 Supplement, U+0080 - U+00FF
Nope. Ascii is very basic. That's why there's a lot of one-byte encodings to use the remaining half of the byte
https://en.m.wikipedia.org/wiki/Copyright_symbol
Because the © symbol is not available on typical typewriters or in ASCII, it has long been common to approximate this symbol with the characters (c)
Char type in many langs will be whole byte, but the interpretation of that second half will depend on encoding.
Apparently those encodings are sometimes referred to as "extended ascii" https://en.m.wikipedia.org/wiki/Extended_ASCII although even wiki says use of that term is sometimes criticised as it's not ascii anymore
Extended ASCII is a repertoire of character encodings that include (most of) the original 96 ASCII character set, plus up to 128 additional characters. There is no formal definition of "extended ASCII", and even use of the term is sometimes criticized, because it can be mistakenly interpreted to mean that the American National Standards Institut...
:¢ should be 🤐
Tho this cannot be typed using a keyboard :p
Maybe in a tty
: \b lowercase_L
Alt+numpad enters the chat
Does anyone remember that?
The codes
I'll just use the uh
Emoji picker thingy instead at that point
Which reminds me that I don't have an emoji picker installed on my current arch installation
I remember a few of the codes but not anywhere near as many as I once did
Alt-0255 will live forever in my memory of course
Interesting
Oh damn its a physical key
Physical key as in you assign an existing key (or combo of keys) to serve as the Compose key
on my system I have Shift+RightAlt as the Compose
some people use CapsLock
That's neat, I've always just done different keyboard 'layers' but compose sounds fun.
There r keyboards which has a dedicated compose key
Old school keyboards
Ig it must have been imp back in the days
oh, I've never seen one which has it
would be cool
holyshit google gemini is very good at transliteration
even with accents taken into account
it used to be a physical key on some keyboards
what are we composing
also, TIL alt gr means alternative graphic
characters, of course
I just never questioned what the gr stood for, ok? 🥴
smh
also, does alt gr even mean anything to US keyboard enjoyers?
Basic ass alphabet users
I know it's on the US international keyboard
but on the typical US layout it's just two alt keys
TIL
https://hackaday.com/2025/04/08/turning-old-cellphones-into-sbcs/ I'm adding this to my list of many side projects that I'll eventually finish
@final radish An MRE is a "minimal reproducible example" - https://en.wikipedia.org/wiki/Minimal_reproducible_example
In computing, a minimal reproducible example (abbreviated MRE) is a collection of source code and other data files which allow a bug or problem to be demonstrated and reproduced. The important feature of a minimal reproducible example is that it is as small and as simple as possible, such that it is just sufficient to demonstrate the problem, bu...
Wtf
MRE is meal ready to eat, smh
The stuff russian hacker guy makes videos about
Russian Military MRE - http://amzn.to/2jfRRoG
Subscribe to my 2nd channel https://www.youtube.com/user/origami768
follow me on:
instagram https://instagram.com/crazyrussianhacker/
facebook - https://www.facebook.com/CrazyRussianHacker
CrazyRussianHacker Playlists:
Science Experiments - http://bit.ly/1Rnyw2m
Life Hacks - http://bit.ly/22HUYIM...
list.insert() is (approximately) the same performance as element assignment????
Which of these numbers refers to element assignment?
list.insert will be O(n) if it's at the beginning, because every other element has to be moved. Assigning to an existing position (my_list[i] = value) is a constant-time operation.
preinitialized is where i initialized the array with 5000 elements before
arr[i] = i```
What's the list like otherwise? Empty?
im just surprised that .appendI() isnt slower since it has
yeah
i just wanted to see the performance of appending and inserting compared to assignment because they have to create new indexes of the list
Yes, but it matters where they have to make space for that. If it's at the end, most of the time there is empty space where you can put the new spot. If it's at the beginning you need to still create a space at the end, and then move every item one position over.
what exactly is being compared here
element assignment and insertion are 2 different things
i wanted to see if i should use assignment or insertion in cases where I could use either
also just curiosity
assignment and insertion don't do the same thing
assignment would replace the value at the index, while insertion would move everything after the index by 1 spot and then put the value in the spot that was created for it
whoopsie meant appending
Could a multithreaded application have the potential to cause a server to respond with a 520 http error code?
those aren't really related
Weird. I get the same 520 http error response coming from the same API endpoint
Google says its a cloudflare thing
And the function that fires off that GET request is multithreaded
that doesn't mean it's the cause of the issue
Most web servers are multi threaded, thats not the issue
i bet that function uses if statements too. doesn't mean if statements are the problem
I see. Okay
I want all of you to please stand up during the night to save a Little girl thank you
how does that help a little girl?
im sure everyone already stands up a little bit during the night
Yeah i sleep standing up
When I have to go pee, I normally stand and walk to the toilet.
I should try this
it would probably go well
Depending on the time in the night and my eepy status i sometimes crawl to the toilet
I quit drinking back in '19, so that's not an issue for me anymore
2019 being referred to as '19 is wild
Fr
maybe he stopped in 1919?
hi
wheres this from 
the fact that on a normal day, that shit would've been £1.79 for probably a week of 100GB storage is wild
yeah I spent £0.99 for 50GB iCloud
why?
also this reminds me i gotta back up the rest of my phone 
eeeeeehhhhhh
you can do 20 a year I think
photos, used to use Google photos until they scrapped unlimited
or changed my settings or something
oh yeah this reminded me to backup my photos
thank you
lol
good god
1259 files
copying from a shitty charger off to a network drive
this is hell
one wrong file and thats it
is it though
cameras are getting higher and higher quality
not really great to appropriate what someone's library size should be
for me it is
we dont own expensive stuff
my mom has a budget samsung a10+
for me it isnt (i have a lot of cat pics)
i avoided having to pay google for my own storage by self hosting
instead i pay with my time and patience and eventually money for new drives
yeah the idea of my own 'cloud' storage wasn't exciting to me and £0.99/mo pays for the time very well
Try taking pictures of YOUR OWN cat one of these days
Instead of everyone elses
what about both
Can anyone suggest a python project to me to make. I am a beginner.
!projects
The Kindling projects page on Ned Batchelder's website contains a list of projects and ideas programmers can tackle to build their skills and knowledge.
TIL jq is a programming langauge and not just a CLI program with a fancy DSL https://en.wikipedia.org/wiki/Jq_(programming_language)
jq is a very high-level lexically scoped functional programming language in which every JavaScript Object Notation (JSON) value is a constant. jq supports backtracking and managing indefinitely long streams of JSON data. It is related to two programming languages Icon and Haskell. The language supports a namespace-based module system and has so...
or maybe it is but the DSL broke free of its DS
The original implementation of jq was in Haskell[3] before being quickly ported to C.
Ofc, and should be considered for addition to AoC language pool
real
Theres also a jq implementation in jq
i was trying to find a mathematical formalization of mongos query language (for autism reasons) and JQ was mentioned as a possible alternative
i found this tho
gonna download this pdf and not read it, shoot me if i read it
tho, looking deeper at it, it can just be rewritten as SQL, so nothing new there besides the syntax
jq is badass, really nice design IMO
The authors aren't big on comments but the code is pretty nice https://github.com/jqlang/jq/blob/master/src/compile.c
Imagine ignoring jq’s use as a programming language and just piping json into it to format
Omg it’s a programming language
Sweet heaven https://github.com/wader/jqjq
Mmmm, we are so back
skibidi drone 🔥
wtf is jq
- j for java, s for shit
excuse me?
you heard me
java is fire
kopi luwak (java edition)
!e
from datetime import datetime
print(datetime(year=10_000, month=1, day=1))
:x: Your 3.12 eval job has completed with return code 1.
001 | Traceback (most recent call last):
002 | File "/home/main.py", line 2, in <module>
003 | print(datetime(year=10_000, month=1, day=1))
004 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
005 | ValueError: year 10000 is out of range
Weird
I think they handle only up to 9999... Yep. That makes sense. Date formats have 2 last digits or 4 digits, so it's impossible to know how to handle parsing/printing (since they should each handle each other's output)
no fucking way
i was surprised by the fact that someone did this rather than it being possible
its a pretty feature-rich language after-all
how is javascript just a bunch of dicts?
json query (i made ts up)
Same way Lua is a bunch of tables
Python is too :p
What in python is not a dict?
oh yeah, __dict__
an integer
thats an array of 32-bit unsigned integers
It is an object type and objects r dict
i love how dicts have a __dict__ that is also a dict
Lmaooo
!e ```py
print(type(dict.dict))
:white_check_mark: Your 3.12 eval job has completed with return code 0.
<class 'mappingproxy'>
!e ```py
mp = type(dict.dict)
print(mp.bases)
:white_check_mark: Your 3.12 eval job has completed with return code 0.
(<class 'object'>,)
!e print(3.dict)
:x: Your 3.12 eval job has completed with return code 1.
001 | File "/home/main.py", line 1
002 | print(3.__dict__)
003 | ^
004 | SyntaxError: invalid decimal literal
!e ```py
print(type(int.dict))
:white_check_mark: Your 3.12 eval job has completed with return code 0.
<class 'mappingproxy'>
oh they're all mapping proxies
!e ```py
T = type(dict.dict)
class A: ...
print(set(dir(T)) - set(dir(A)))
:white_check_mark: Your 3.12 eval job has completed with return code 0.
{'__ror__', '__ior__', 'items', '__class_getitem__', '__reversed__', '__contains__', '__getitem__', '__len__', '__iter__', 'copy', 'values', '__or__', 'get', 'keys'}
!e ```py
class A: ...
print(set(dir(dict)) - set(dir(A)))
:white_check_mark: Your 3.12 eval job has completed with return code 0.
{'setdefault', '__ror__', 'popitem', '__ior__', '__len__', '__getitem__', 'items', '__reversed__', 'get', '__iter__', 'fromkeys', 'clear', 'keys', '__class_getitem__', 'values', '__or__', 'update', '__setitem__', '__contains__', '__delitem__', 'pop', 'copy'}
hm
.uwu
:white_check_mawk: youw 3.12 evaw job has compweted with wetuwn code 0.
!e ```py
T = type(dict.dict)
class A: ...
a, b, c = map(lambda x: set(dir(x)), [T, dict, A])
print(a - c)
print(b - c)
what
:white_check_mark: Your 3.12 eval job has completed with return code 0.
001 | {'values', '__reversed__', 'copy', '__contains__', '__getitem__', '__len__', '__or__', 'get', 'items', '__class_getitem__', '__iter__', 'keys', '__ior__', '__ror__'}
002 | {'values', 'setdefault', '__contains__', 'items', 'popitem', '__delitem__', 'keys', 'update', 'clear', '__reversed__', 'copy', '__or__', '__ror__', '__getitem__', 'get', 'fromkeys', 'pop', '__class_getitem__', '__ior__', '__setitem__', '__len__', '__iter__'}
!e ```py
T = type(dict.dict)
class A: ...
a, b, c = map(lambda x: set(dir(x)), [T, dict, A])
x, y = a - c, b - c
print(x - y)
:white_check_mark: Your 3.12 eval job has completed with return code 0.
set()
wow they're literally the same thing
I simply wasn't familiar with jq's name
jquery really is incredible
I can't do anything because of multi factor authentication can someone help
try assigning a key to both
:x: Your 3.12 eval job has completed with return code 1.
001 | Traceback (most recent call last):
002 | File "/home/main.py", line 4, in <module>
003 | mp["hi"] = "hello"
004 | ~~^^^^^^
005 | TypeError: 'mappingproxy' object does not support item assignment
wait if it's read-only, how the fuck does it get updated
or does it just get reassigned
it's an internally updated thing..
what is the context?
I found my lost headphones after months i'm very happy 😭
OMG I love easyeffects and all these pulseaudio modules
I GOT 52 MILIMETRES SPITFIRE
SPITFIRE
fuck you spotify advertises
my premium expired
it keeps a reference to the dict, and just accesses stuff through it
class mappingproxy[K, V]:
def __init__(self, mapping: Mapping[K, V]) -> None:
self.mapping = mapping
def __getitem__(self, key: K) -> V:
return self.mapping[key]
ah i see. is the inner dict a private C attribute?
yes, but it's surprisingly easy to access
oops
!e ```py
d = dict.dict | type('',(),{'ror':lambda _,x:x})()
d['ham'] = 5
print({}.ham)
:white_check_mark: Your 3.12 eval job has completed with return code 0.
5
That's a hilarious use of __ror__ wow
Edit: It occurs to me much later that this is the “I combinator” in practice.
🥯
advertisements*
All three OT channel names are about food right now.
what is an I combinator
It's always like that when you are hungry enough
All the best
uhh people who here has some experience on Linux and nvp
I wanna use VPN but when I wanna connect it open window with this provide the secrets for the VPN connection "vpnprofile" and asking for password and idk what password
i typed the VPN password but it didn't work
kubuntu btw
Objects/descrobject.c lines 1064 to 1074
static PyObject *
mappingproxy_or(PyObject *left, PyObject *right)
{
if (PyObject_TypeCheck(left, &PyDictProxy_Type)) {
left = ((mappingproxyobject*)left)->mapping;
}
if (PyObject_TypeCheck(right, &PyDictProxy_Type)) {
right = ((mappingproxyobject*)right)->mapping;
}
return PyNumber_Or(left, right);
}```
fixed?
no, the ->mapping is the issue
but im not sure if it can be fixed? idk if things that implement ror would be fine with getting a mappingproxy rather than the dict
i just thought the ifs were new for some reason
🥯
Here's a pretty damn dry take on it https://en.wikipedia.org/wiki/SKI_combinator_calculus
Maybe this is less awful https://esolangs.org/wiki/Combinatory_logic
Hey at least you got out of bed today probably! That's an achievement in the grand scheme.
It means you carried on, at least.
I feel that at the moment. I've been struggling with motivation.
Mostly I'd rather just go sleep in a lake.
Dunno. It varies by the day.
Let everything work out for you 🤞
what does that mean?
It means I've been grappling with depression. Good times etc.
Never heard that but sweet metaphor (my first interpretation was quite drastic and a little worrying)
Anyways I feel u bro
been having misanthropic tendencies lately as well lol.
It’s like hard to care abt people shiiish
I had the most 1-star delivery experience yesterday, I'm still pondering how to write the review. Maybe I'll engage ChatGPT on it.
They canceled everything in my order as out-of-stock except an iced coffee, but didn't call me.
They just gave it to the delivery driver to take to me.
did you order directly from them or use smth like doordash?
if it's the latter, check if you can report the store
Sadly it was Doordash.
yeah, mfs who claim to empathise with anyone and everyone always strike me as dishonest, it takes effort to care about someone and actually help them, if your empathy is free it might be cause it's worth 0$ 
that's
the definition of free
absolute cinema
What is the average rating requirement of a hotel for you guys from 1 - 10?
10 scale isnt that common for hotels
But stars also wildly vary
I'd say 3star and up
On Expedia, the 10 scale is used
We dont really use expedia tbh
That's hotel standard for that country, not user scores tho.
I've recently browsed some offers from travel agency and they have their own standardised "stars" (they use sun icons to not confuse people) because country regulations vary a lot... And their 5 "star" one has lower reviews than 4 "star" for the same country. Tbh after reading the reviews, I'd go with the technically-lower-standard hotel as well
Theres also google reviews which are stars and out of 5
In Egypt, 4-star hotel is like European 3-star.
bold claim
That's literally what people travelling there before told us... And considering what one of our "4-star" hotels had, some elements are even lower than European 3-star... That bathroom was just disgusting.
I say "one of our" because we had a trip down the Nile, so we were in total of 4 hotels. After arrival, then boat hotel on Nike, then after we got to the coast we got to yet another hotel (some people transferred to airport from there), and then final hotel for last few days of chill (that's the only one we could choose, so we chose 5-star)
Whats so bold about it?
IDK, have been to 4-5 both European and Egyptian hotels, didn't get to have the disgusting bathroom experience so far.
Like, I literally said different countries have different standards for assigning stars. European 4-star is higher standard than Egyptian 4-star, it's just a fact. Egyptian 4-star is just closer to European 3-star. And I mean actual quality points, not "has a pool" checkbox for some points that they easily score.
sure.
So u shrugged off a statement explained in detail with just your anecdotes?
I couldnt have phrased it any poorly
I hope the message came across tho
IDK how his statements are any more authoritative than mine, so cry me a river ig.
Hi everyone! I’m new and really need help. I have a Python file (deriv_autotrade_bot.py) for a Deriv trading bot, and I want to run it as a .exe on Windows. I don’t know Python, can’t install anything, and have no money. I tried Stack Overflow, Reddit, and #python-bot-help, but got no .exe. Can someone kindly convert it to .exe for free or share a free Deriv bot that’s already .exe? File: https://drive.google.com/file/d/1U_BS9UBwxw6vQxXbSFUbE0ARpLrY2DYy/view?usp=drive_link
Thank you so much!
No
And use github to share code next time
And use nuitka
For .exe conversion
It is dangerous to share and accept .exe files from strangers
Who "his"?
If you don't know python, how did you get that file? And why make an exe when you could just learn to run the file as-is, ie learn the literal most basic things in python?
u seem to have missed the point of what i said
after that retorting with coping is funny lol (those who saw the unedited msg will know)
anyways
Fedora 42 has removed eza. Time to ditch fedora.
eza is?
modern ls replacement
It's probably only temporarially removed for licensing reasons.
Why would anyone need a replacement for ls?
waa!
I ditched fedora when i got lib264h issues
It's also a replacement for tree
Oh interesting
.EXEs (or packaged scripts) are often labeled as malware, there's no merit to this.
The better question is "Why do you need to make an exe?"
just pack it into EXE.. I don't know how.. please
did you just ignore everything that has been said?
I don't understand English.. I use a translator.. I don't have time
so? is the translator doing a bad job?
Yes.. the translation is not clear.. the wording is not precise
why do you need to convert it to an exe?
Again:
If you don't know python, how did you get that file?
And why make an exe when you could just learn to run the file? That is, learn the literal most basic thing in python?
I don't understand at all... the person tried for me... and didn't finish... disappeared and doesn't answer
hm...
How do you know that person didn't try to hack you?
This is my friend.. he disappeared
disappeared as in vanished, dissolved, ran away, kidnapped?
It's not funny guys.. I'm from Ukraine
try your luck in #python-discussion.
Ок
Why would anyone be okay to share a bathroom?
With a stranger?
It's not so unreasonable
does everyone at work have their own private bathroom
No
(Unless if you're working from home)
are you ok with that
Yes
even if there are people you haven't met?
Yes
why?
Because there's a substantial difference in using the washroom at your work vs using the washroom where you sleep (particularly in this case a hotel)
At the hotel, the shared washroom will be used for showering. There's no showering at work so you don't have to worry about seeing your co-workers pieces of hair. You won't need to worry about your co-worker leaving smeared toothpaste on the sink. You will need to be careful on not using the wrong towel for showering because it could be the one being used by the person you are sharing the washroom with. That's why it's there's a difference in using a shared bathroom at work vs at a hotel
tfw my college dorm has the entire floor share one bathroom
Yuck
to be fair they're large bathrooms
multiple shower stalls
and like, you don't keep your stuff in the bathroom, you might have a bag or something with your personal stuff that you carry around
I share a bathroom with my sister at home, so I'm used to hair 🥴
learn to deal with it
they force a lot of college kids to do this so they learn to deal with it
yeah if it's like, a couple of nights at a hotel, you can probably just deal with it
if college kids can deal with it for a full year you can deal with it for a few days
college kids notorious for their high standard of living
real
Can anyone think of a terser idiom for this kind of deal?
echo $PATH |tr -s ':' '\n' |grep -i node
I mean, this works but ugh
echo $PATH | awk -F: '{for(i=1;i<=NF;i++) if(tolower($i) ~ /node/) print $i}'
Hotels really offer travellers to share a room with strangers. That's crazy
isn't that also what hostels do
idk
My mind is blown with this
Why would they allow this?
Without any kind of proper screening
they're a cheap way to stay somewhere (maybe you're traveling solo/backpacking/whatever), you'll share a room with a bunch of other people and amenities
what sort of screening?
also I don't think I'm aware of any hotels that do this 
Well when you're sharing a unit with a complete stranger, You can't really screen each other to see if you've shared a room with a nutcase
sure, that's a risk you're taking.
but like, do any hotels actually do this?
I'm aware of hostels and the like
"Hi, nice to meet you, I'm Keezy."
"Warbutcher."
yeah idk I'd be willing to wager that most people are at least mostly sane
I was looking at a hotel room that has a twin bed, it costs $0. So I asked my friend who frequently travels if I had to share the room with someone else if I booked the room and he said I do
the room costs $0?
that doesn't seem right
maybe it depends on how many people you're booking for, so it can't tell you the actual price until you've put in how many people are staying.
One person
I kind of doubt that they're going to give you the room for free
have you tried seeing if anything changes if you select the room?
common people arent important enough to do all that
I'm definitely paying the overall amount. it just shows $0 for the room
Keezy really do be the kid calling all the $1 car ads on craigslist asking if it's still available for $1
Stop mischaracterizing me
is there anything there that indicates that you'll need to share the room if you book it?
Stop being so easily
mischaracterizable
Why are phone keyboards like this
I just read the description. it says "private bathroom" as part of anemeties
But then why would there be twin beds for one person
well, hotels don't stop one person from booking a room with multiple beds
all of my cousin's work trips compensate her with a hotel room with two beds
even though it's just her
(on the other end, I've also shared a single room with two beds with my five person family)
I think thats most hotel rooms
yeah actually, single beds might just be less common
Even if you ask for one bed its usually actually 2 beds pushed together
2 beds in a fitted sheet
Generally hotels are 2 double or queen beds, or 1 king size. They won't really do 1 queen unless it's a boutique or micro hotel
There needs to be a software that predicts the fluctuations of flight prices and that determines whether I should buy or wait
I used to actually use a service that did this but I guess it got shut down, I can't remember the exact ending of the story.
Aha kayak.com still does it, and can alert you via email when prices drop
Aha, this seems to be what the thing I used to use evolved into https://www.skyscanner.com/
flights.google.com still does this too
As a beginner how can I start learning python for free
!resources
The Resources page on our website contains a list of hand-selected learning resources that we regularly recommend to both beginners and experts.
ty
I saw this Asahi Lina drama
And i was like "is Asahi Lina the one who made Asahi linux?"
And nope
Chat is this a fire timestamp format
5:59AM
though that is not the correct time
it is currently 2pm for me
No
An inconsistent number of characters will choke any parser that needs specific formats
Me?
ISO 8601, always
are you writing an init?
yessir
they're different standards that have some overlap in syntax
this is a picture I've seen in a couple different places
so basically just a stricter iso 8601
I get nervous booking flights because if I do, it’s a point of no return (I can’t cancel it)
Yes, flying sucks in almost every way
that's what insurance is for
You would rather drive towards your destination?
lol
I wish you could make transactional bookings
As in: you choose flights/train rides/hotel rooms etc. including prices and then you click on a commit button that buys all at once, and it either succeeds completely or doesn't book anything.
That would be awesome
depends on how far it is
road trips are fun
I've driven 15 hours to Chicago and Florida
Jesus
I philosophically believe that time is also currency
So if you think that the time to drive from point A to B is worth more than flying to B from
A then more power to you
What do you do with the extra currency that you didn’t have to spend because you flew?
You could have arrived to Miami, Florida a lot earlier if you took the plane from Chicago
Right
And have more time on your vacation
I arrive 6h earlier, I now have, for example, $60 extra
Where do I spend that $60?
How would you have $60 extra if flying is more expensive?
Using your analogy that time is currency
Say 1 hour ~= $10
Each day is 24 hours or $240
If the flight is 6 hours shorter than the drive, then I save 6 hours — or $60 in analogy terms — by flying instead of driving
Where do I reinvest that?
Send it over i'll keep it safe
I think you’re misunderstanding the analogy. i think you are taking word “currency” too literally when I say time is also currency
The time in driving to Florida from Chicago (it’s actually 22 hours according to Google)
Flying from Chicago to Florida (almost 3 hours)
If money is more valuable to you than time, then driving may be your option, if not then flying would be your option.
It’s going to cost you time to drive there so therefore, it’s metaphorically currency to me
What about gas money
trip = 1207 miles
avg american car does 26.4 mpg (from 2022)
1207 / 26.4 = 45.72 gallons
avg $3.07 per gallon of gas = $140.36 in total of gas for trip
gas money would be £105.99
so already there's a flight option that's miles cheaper
and miles quicker
What about the mental cost of preparing for air travel
mental cost?
as in packing your suitcase like a day or two before like a normal person?
and then
Yea dealing with airports and sitting in a shit seat for 3h or however long
pirate some movies or TV shows
carry a battery pack or two
could bring an offline game
or two
or three if you really are that bored
journal something, read a book
airports arent that bad
🤨
the waiting can be passed with all sorts of methods
You just said youre british
You been to a uk airport?
yeah
They suck
😩
Absolutely terrible take
But ok
Every time we go on holiday the airport part makes me wanna rip my hair out
30min walk to station
30min train to next station
10min wait
20min train to stansted
push past slow ass families and groups through security
no working toilets nearby in terminal
burger king as cheapest food option
overcrowded
water fountains always red or closed down
Our biggest issue is stansted is the closest airport
We should try london city some time but no ryanair flights from there
Actually our biggest issue is we chose to move to this island
maybe i have rose tinted glasses
we'll see
i'll go on a flight with a friend somewhere and see how it goes
i'll see if this is a terrible take
Try luton and report back
I mean, yes, sometimes
Sometimes the roadtrip is part of the vacation
They are airlines that don’t allow a carry-on luggage to the cabin for basic fare passengers. Do you guys advise for those passengers to buy a tracking device their carry-on bag incase the airport workers lose their luggage?
depends on the company, and the destination- but there wouldn't be any harm placing an air tag just in-case O.o
heard that place is a piece of shit so absolutely not
Yes but what can you do if your checked bag gets flown across the world
Last time i checked a bag it was at the gate so i could see it get on the plane
But if you cant, youre kinda fucked
we always have something to track our bags if we're checking them in
but yeah you can't protect against everything
the roadtrip is fun too, which is the thing
granted not everyone likes driving long distances
I'd like to do a drive across the U.S. at some point
I think the longest roadtrip we have done is driving basically in a circle around Scandinavia, Norway -> Sweden -> Denmark -> Norway, stopping at some really nice spots along the way
we drove to chicago for a wedding, I think that was right around 15 hours
we had this huge rental car since it was my immediate family, uncle's family, and two additional cousins
Oh no this kid doesn't screw around with the jq: [.. | objects | keys[]] | unique]
(as seen in the rather chonky cookbook https://github.com/jqlang/jq/wiki/Cookbook )
chat should i make my init system use microservices?? 🔥
gRPC
systemd will finally have a competitor
mfw distributed init system
separation of concerns guys
i will have nodejs microservices each for mounting filesystems and managing services
I've hurd about it
how did you get from sweden to denmark? i thought that place was just islands and shit
or is there some tunnel and im just monumentally stupid
Tunnels
And bridges
Also Denmark is not an island, it literally has a land border with Germany
yeah i knew that. idk why i said island
i think its just between denmark and sweden is water
you cant drive on water
so island

Im sure denmark would rather be an island than border germany
They have more defensive castles than trees
And guess who they were defending against
or can you
OK but how will you init the network service
The Øresund Bridge is an option
Have fun with this code
a = True
b = False
if a:
b = True
Half of an OR gate
We built a very large bridge so you can drive across from Sweden to Denmark.
Lol
vba in vscode is kinda yikes
i need auto complete and intellisense
The excel editor has autocomplete
didnt seem like it when i was typing(didnt autocomplete the Private keyword 🙁 )
my bruteforce program has been running for a couple hours 😭
I am trying to brute force one magic number I need for another number.
Also I am not hacking anything, I am just brute forcing some math
also the program is written in c++ for better performance. and it's been running for around 4 hours. it is calculating 100 B numbers
weird flex but ok
What is the number you are trying to solve?
is it multithreaded?
This is understandable. I used this structure before.
Hmm. Curious. What is the problem?
!cban 1002287045605064844 Ad, spam
somehow it stopped after posting in the 3 ot channels
:incoming_envelope: :ok_hand: applied ban to @amber trench permanently.
Thank you!

channel name
technically u are a typo but u could work too
since i dont see any other luna(s) online

why not just use existing magics?
-# or is this not for a chess engine?
100B numbers?
name the 7th one
@wooden silo used the free version of GPT
it never tells me that im wrong 💀
i think bad for ppl who are new to coding, they could be thinking about something entirely unrelated to the problem if they are using this tool to debug?
It does say that line won't work, though
wym?
its valid python
the line should work
Ah, right
gpt caught you 😭
So you mean it doesn't contradict you when you say it's wrong
yeahhh
Ok, let me try with o3
how much did you pay for it tho..
damn
Plus is 20 bucks a month
so worth it?
do you use it when you are learning too?
what about the good old we gonn look at docs
or read the source code
explaining it to yourself instead of having a tool doing it for you?
Looking at the docs has a very specific use case for me, which is looking up some individual exact detail in some kind of library API for example
Like, what does this particular parameter do, or what parameters does this function take, etc.
Not conceptually learning how to use a library in a broad sense
have you ever thrown like thousands of lines to it?
to debug?
I got some key I am trying to crack, and I solved all the equations except the one that requires some kind of magic number, so I am bruteforcing math to get the number so I can reverse it.
I don't typically use it like that, but that's becoming more viable now with agent mode.
Yeah
damn.. so for now you know your code
Well, a little more. Let's say its 128B
I mostly ask it to like generate some function where I already know more or less how to do it but I want to save myself time by having the AI write the first draft for example
I may throw an error message in there to see if it can give me some ideas of what it means or how to solve it
But it's like exploratory, I don't accept the output wholesale, I review and maybe modify it
so the saying is true that if you dont use it you're gonna left behind?
I'm not sure if that's the case, but I don't see why you wouldn't use it when it's helpful
It feels like it's still early days with regard to integrating LLMs into our workflows
So it's hard to say what it'll turn into in the long run
do you need to bruteforce the math
like lets say 2x=7, i wont go through every single number to find x
I just put lots and lots of different formulas and equations and all the other weirdness and bit shifting
I just packed a program with everything that came to my mind while I also bruteforced magic numbers and bytes and idk what I did anymore
bro made a whole lotta nothing
Lmao, it's not really like that .
It's more like
Try this: (number << bitshift) * magic number
Nope
Try this: ((number * magic number + bytes) >> bitshift) - magic number
Nope
And then different stuff
Then it becomes something like
Try this: (((sum of magic numbers * bytes) >> bitshift) - (magic number << bitshift) / 2)
Nope..
128B is probably gonna take a few hours
It did take a few hours
It took me around 5 hours, then I gave up and tried a different approach
Ok I have to go.
Please don't ping me anymore unless it's not important
Ok, we'll only ping you if it's not important.
What is a 100b number?
And what were you trying to calculate?
17 seconds is alot btw, you've also checked the reason button right?
Oops, I mean
Ping me only if it's important
Magic number which is the last number I need for my key I am trying to crack
No, o3 always does that
It's a little slow, but very smart
Anything cooler than py-spy I should be using for profiling?
@surreal blaze are you online these days?
long way to go
hi i need help with something. My uncle challenged me and my brother at who can program the best game. the winner gets $200. Can someone help me?
What type of help are you looking for?
Hey guys wanna go to youtube.com/dWqakjfhntotarandomurl
no
https://pydis.wtf/numbers is also not a rickroll
@next vessel i'm just looking to implement a method by hand, because i want to do some cool things alongside each evaluation of the integrand
what kinda methods have you done?
i'm looking at this one currently https://www.youtube.com/watch?v=dQw4w9WgXcQ
ah gotcha
i am just wondering about the methods themselves
have you looked at runge kutta methods by chance?
Doesn't ring any bells
ok np
i guess the simplest one is "Euler's method"
y = y + f(t, y) * dt
t = t + dt
i'm needing to use something that's accurate to a higher order in dt though
f(t, y) = dy/dt(t, y) is the integrand
hmm, this is a bit beyond what I know sadly. Looks interesting tho
@lyric forge like a partial derivative? Check your math here over at the math server. Can come back and we break it down in code
I agree, great site
https://youtu.be/e0AIkYrXAYE the TS wizard revising his takes on "TS feature considered harmful" for the millionth time
AI Hero: https://www.aihero.dev/
Total TypeScript: https://www.totaltypescript.com/
Types Vs Interfaces: https://www.totaltypescript.com/type-vs-interface-which-should-you-use
Become a TypeScript Wizard with my free beginners TypeScript Course:
https://www.totaltypescript.com/tutorials/beginners-typescript
Follow Matt on Twitter
https://twit...
might as well write a research paper on this
things-i-need-and-would-be-very-happy-if-they-happened-:3-uwu:
- codeforces having dark mode
- bigger music list
- not being depresed
the first step to a bigger music list is to widen your taste
listen to something else other than japanese songs man 💀
And the first step to not being depressed is having something bring you joy
Like new music
tru
Took the dog on a walk because I was upset
Then this thing came on https://open.spotify.com/track/5qU65Gw7v1U498o1rb6NAq
And by the end of it I was too busy laughing to remember what I was upset about
idk i listen to queen ig
lol
it's unique, aint it?
May i introduce you to my friend, DJ X?

major event? 
