#ot1-perplexing-regexing
1 messages Β· Page 125 of 1
I personally do not understand C entirely, but yes, I can read it.
Is this Texas
It's got pieces of a few states
Texas is on the left
But the bulk is Louisiana
<@&267629731250176001> bullying
i mean texas has a lot of weird city and town names
there's literally a town called ferris by dallas
Yes
Thereβs also the very clear border line
Up to Texarkana at the tip of the panhandle
yeah im not seeing it
maybe i see it a bit
hi
banan
here this should make it easier
either way, time to see if there are any webcams near there since the eye wall is just about to hit
I am still seeing people not knowing that the Facebook company is called meta now, despite the fact that the rename happened 3 years ago and only affected the owning company
shits going great for Twitter probably lol
No one cares enough
Most people donβt know alphabet owns google and no one cares
Like, most people donβt know it has a parent company
indeed 
OK maybe it is falicoius to compare an owning company to a product rename, I do still hate that I have to explain to boomers that the tweeter is called eks now
anyone have experience with duck dB? I'm not asking for help I just think it's cool and want to hear people's thoughts on it
@granite tree
everytime I've used duckdb it just worked at adequate performance with no fuss.
and everyone I've recommended it has shared that experience
neat 
i havent worked a serious data science project in a year so ig ill just wait to find a use case for it
duck dB
very loud quack
wait till you hear ~~ about~~ duck B
I'm a total duckdb nerd, what do you want to know?
just your opinion is enough 
I love it. Using it professionally. It's crazy ergonomic.
I've not heard of it before but I am intrigued. What would you compare it to?
Context: I'm considering alternatives to MongoDb for my lab software stack. We do a lot of data analysis and visualization in Python and the current solution... is a bit rough. I could have the opportunity to switch things up. (MongoDB was originally chosen for political reasons.)
political?
On the small scale, yes
It's worked out so far and the cloud services are pretty good, so I'm not really complaining, but always interested in improvements
It's like SQLite in terms of ease of use, like clickhouse or a mini snowflake in terms of analytics, like polars in terms of performance and data ergonomics. You can work with csvs, parquet, external dbs (ie: data that lives in PostGres), etc all equally easily.
I do nearly everything in sql, with dbt to keep my code from spaghetti
yeah i like mongodb, i dont get all the hate
the few real concerns i've had with it were improved by learning more about how mongodb worked under the hood and optimizing that way
do you dream in sql?
That's not even scratching the surface of its awesomeness... geospatial extensions, partial parquet reads from s3, seamlessly reading parquet and polars tables, etc
Heck. OK, that is quite an endorsement. I'll add it to the list of things to consider.
I am really not a database guy but the more I learn the more I realize things could be better if we had known to do them differently 2-3 years ago
Late is better than never I suppose
If it's a work thing, def hire a db consultant... especially someone who knows dbt, to help you get started. If you start with good practices, it'll save you a lot of aggravation
A lot of my work ends up being rewriting pandas code into a clean pipeline
I'll see if I can push on that angle. It would be great to have someone smarter than me handling this stuff
Altho, tbh, getting good at sql is attainable. There's some good practice sites
Sqlbolt, for instance
Thanks. I've been learning a bit more SQL lately. (Used it some in college, barely since) I'll check that out
I saw a job application a while ago that asked you to write a query and use the derived result to answer a question in the form. I thought that was cool
but what about duck daB
neat, ty 
rn im using opensearch for analytics at work but I'm considering duckdb cuz sql is easy for most people
not as a replacement but for newer projects where OS would be overkill
i just learned how to put in my earphones the correct way
and the sound quality is
amazing
its pretty fast for me
6s for me
which seems redicilous to create a predefined set of 1032 files
and operating system
ya it's slow
by slow its not instant, takes few seconds
amd fx6100 16gb ram on cpython 3.12.4
linux
yeah
which seems a bit odd
like it just does cp
by looking at its folder structure
it seems it also precompiles all of the .py files..?
hm
what if i
profile venv
what
exec
i wanted same venv for a similar project, copy pasting it was way faster than creating a new one
β¬
dunno but array or object wouldnt work?
in react ts
yeah array or object sounds good
object cuz you can map with a human readable key
wont it be broken tho?
because of hardcoded paths
it makes
@young shoal
for fun I started listing languages that could go into a second roulette round π₯΄
Totally feasible
Array languages
- APL
- Uiua
- J
Old school - Awk
- B
- Ada
- Cobol
- Pascal
- Smalltalk
Modern - Roc
- D
- Odin
- Zig
- Nim
- Gleam
- V
- Pony
Misc - Erlang
- R
- Octave
- Swift
- Forth
- Tcl
- Haxe
Obscure - Futhark (or other ML)
Maybe?
- Maxima (this probably won't work)
- Postscript (can ps even read input?)
- SQL (because pain)
- TeX (oh god)
- VimScript (would be hilarious)
Unlikely
- Jai (if it's out, it probably won't be)
- Scratch (probably not feasible)
- Carbon (probably not feasible, an interpreter exists, but no compiler afaik)
- (mojo, is this even available?)
that would be terrible though
missing pony π¦
idk how you say that but want us to do APL
didn't seem so, I thought that at first and tried, no problems
vimscript is brutal
at least uiua is typeable
.uwu
at weast u-uiua i-is typeabwe
better use vimscript to lua cross compiler
.uwu
missing p-pony π¦
I'm just dumping languages, more ones are welcomed
added pony
how about z#?
.uwu
@young shoal
fow fun i s-stawted wisting w-wanguages that couwd go i-into a second wouwette wound π₯΄
totawwy feasibwe
awway w-wanguages
- apw
- uiua
- j ^^ owd schoow
- awk
- b
- ada
- cobow
- pascaw
- smowtawk
modewn - woc
- d
- odin
- zig
- n-nim
- gweam ΚwΚ * v
- pony rawr x3 misc
- ewwang
- w
- octave
- swift
- fowth
- tcw
- haxe
obscuwe uwu * futhawk (ow o-othew mw)
maybe?
- m-maxima (this pwobabwy won't wowk)
- postscwipt (can ps e-even wead input?)
- sqw (because p-pain)
- tex (oh god)
- v-vimscwipt (wouwd be hiwawious)
u-unwikewy ^^;; * jai (if it's out, it pwobabwy won't be) OwO * s-scwatch (pwobabwy nyot feasibwe) ^^ * cawbon (pwobabwy nyot feasibwe, an intewpwetew exists, but nyo compiwew afaik)
- (mojo, i-is this even avaiwabwe?)
because it's important to you
Important information
Q#
.uwu
@young shoal
fow fun i s-stawted w-wisting w-wanguages that couwd g-go i-into a second wouwette wound π₯΄ -.-
totawwy feasibwe
XD awway w-wanguages
- apw
- uiua rawr * j-j ^^ owd schoow
- awk
- b-b
- ada
- c-cobow
- pascaw
- smowtawk
modewn - woc
- d ^^ * odin
- z-zig
- n-nim
- gweam ΚwΚ * v
- p-pony wawr x3 misc
- ewwang
- w
- octave
- swift
- fowth
- tcw
- haxe Γ²ΟΓ³ obscuwe uwu * futhawk (ow o-o-othew mw)
maybe?
- m-m-maxima (this pwobabwy won't wowk)
- p-postscwipt (can ps e-even wead i-input?)
- sqw (because p-pain)
- tex (oh g-god)
- v-vimscwipt (wouwd b-be hiwawious)
u-unwikewy ^^;; * jai (if it's out, i-it pwobabwy won't be) owo * s-scwatch (pwobabwy nyot feasibwe) ^^ * cawbon (pwobabwy nyot feasibwe, an intewpwetew exists, but nyo compiwew afaik)
- (mojo, i-i-is this even avaiwabwe?)
@young shoal test with silent
.uwu
@young shoal test with siwent
I'm guessing that pings
that'd ping him for sure
wack
aha i wanna do it
I wonder if the silent everyone mention would be filtered immediately by some filter in the bot
cringe
@evewyone
fuck
ha

@evewyone
get filtered
its almost instant for me
i dont know what the problem could be
.uwu
do you have @evewyonye pings t-tuwnyed off?
aww
i'm gonna clone sir lancebot and find a way
it's not sir lancebot that does it
giving away secrets smh
did my dumb ideas summon a bunch of mods and devs? π
I'm guessing that everyone and here mentions are special
i am special
they are
they ping a lot of people
I know that
i know
source?
but special in how they are handled
roh, you didn't get the joke
@hewe
dammit
uwu makes them safe
break it
granted idk if making the bot write @everyone would even do anything
I can maybe get around the initial filter by doing the edit stuff again, but even they things would be uwuified
i can't I'm on dinner having phone
i'm reading discord.py clean_content rn
why
fancy
bold of you to assume you aren't already
fair enough
(it wouldn't, discordpy and discord has a default not-ping-everyone flag unless you explicitly override)
too many staff typing
!e print(f"{'@'}everyone")
:white_check_mark: Your 3.12 eval job has completed with return code 0.
@everyone
its how the ping gets filtered
oh wait
bruh break code block
at least I found the fun bypass of emoji and newline limits
print "`"*3
though I guess that'll be fixed soon enough
at start and end
!e print(f"{'`'*3}{'@'}everyone")
:white_check_mark: Your 3.12 eval job has completed with return code 0.
Code block escape attempt detected; will not output result
Full output: https://paste.pythondiscord.com/DRKTIQ6Y3DEXY2SJLE6SMOWXAA
haha
damn
lmfao I was waiting for that
brooooooo
lol
I tried that a long time ago, it's decently locked down
this shit is harder than the rsa
if you try hard enough you can escape, but even if you escape it won't ping
i will clone the python bot then
but at least I can have an army of crabs
π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦
π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦
π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦
π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦
π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦
π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦
π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦
π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦
π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦
π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦
π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦
π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦
π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦
π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦
π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦
π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦
π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦
π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦
π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦
π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦
π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦
π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦
π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦
cuz of member privileges in discord huh?
there is no ping in ba sing se
we have to override the specific messages to get it to ping and we default it to off for all of our bots. I think the only bot that we do override for any messages at all is Sir Robin, maybe.
(granted, the newline bypass is far more disruptive, let me not try that again)
.uwu
but at weast i can have an a-awmy of cwabs
π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦
π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦
π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦
π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦
π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦
π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦
π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦
π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦
π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦
π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦
π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦
π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦
π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦
π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦
π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦
π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦
π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦
π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦
π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦
π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦ >w< π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦
π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦
π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦
aww, is the bot not eligible to be silenced for emoji spam?
bro
The moderators cannot control us.
lol we don't scan for messages against bots
it would have been very funny if I managed to ban lancebot
eeey my super giant CAD model managed to load in overnight! I can do work today!
Nice, what is it a model of?
i will now do it
A rocket booster, full size, with every. single. part.
Like every single fucking bolt.
can i see π
No π is proprietary data
the end is near
are u a robot
Wow, cool
It's not specifically this, but it's in the same realm as this: https://www.northropgrumman.com/space/gem-63-updates
katj1 through 8 were bots
katj9 is not
allegedly
allegedly
i suspect
Can confirm
knew it
god the robot pfp for this server specifically was the best decision I've made
says a robot trying to sound human
I liked the old one
did the other one encourage dms
it's still my discord-wide pfp
what was it
the brain damage pfp attracts DMs?
yeah and blatant misogyny. Now I just get uncertain misogyny
π
lmfao yeah, it was weird

based


no, yes
on my way to dm this instant
lmao
what kind of stuff misogynist say?
I'm new here
i need tis
tips

wait haven't i seen this duck somewhere
few moments ago
IT WAS YOU
they fell in the pool
my message requests are mostly boring
mostly random help requests
one "fuck you"
no birds
!e print('`'*3)
:white_check_mark: Your 3.12 eval job has completed with return code 0.
Code block escape attempt detected; will not output result
Full output: https://paste.pythondiscord.com/2IE2DKJCICLY4SIQDU3OBW4A24
what the dave doing
!source e
Run Python code and get the results.
i will search how to break it
delivering a ring to his wife for their anniversary
well I'm on phone i can't damn code
now I want to try triggering this
https://github.com/python-discord/bot/blob/main/bot/exts/utils/snekbox/_cog.py#L429
bot/exts/utils/snekbox/_cog.py line 429
return await ctx.send("Attempt to circumvent filter detected. Moderator team has been alerted.")```
hello
they have been alerted π¨
wow what did you do
why doesn't sir lance have .env.example
should i search for the variables or is there documentation
@viral parrot remembered our argument on AI when I came across this, wanted to share with you
https://youtu.be/7GaKl6HwZ50?si=3HVoESiSz6_rgvmT
Say hello to OpenAI o1βa new series of AI models designed to spend more time thinking before they respond. This new series of AI models can reason through complex tasks and solve harder problems than previous models in science, coding, and math. More here: www.openai.com/o1
Looking to contribute to Open Source Projects for the first time? Want to add a feature or fix a bug on the bots on this server? We have on-going projects that people can contribute to, even if you've never contributed to open source before!
Projects to Contribute to
- Sir Lancebot - our fun, beginner-friendly bot
- Python - our utility & moderation bot
- Site - resources, guides, and more
Where to start
- Read our contribution guide
- Chat with us in #dev-contrib if you're ready to jump in or have any questions
- Open an issue or ask to be assigned to an issue to work on
@undone granite
bot/exts/utils/snekbox/_cog.py lines 262 to 264
if ESCAPE_REGEX.findall(output):
paste_link = await self.upload_output(original_output)
return "Code block escape attempt detected; will not output result", paste_link```
we have a pretty good setup guide on our website
aha
the regex is [`\u202E\u200B]{3,}
i think i should break into bot host server and remove the regex
200B is zero width space

β β
β β
β β
!e
print("\u200B"*3)
:white_check_mark: Your 3.12 eval job has completed with return code 0.
Code block escape attempt detected; will not output result
Full output: https://paste.pythondiscord.com/TF66WPQDGE2N3GUYQGMZWVMFKI
that's silly
idk why you would want to filter that, unless discord strips it or something
!e
print("``\u200D`")
:white_check_mark: Your 3.12 eval job has completed with return code 0.
``β`
aww
!e print(f"`{'@'}everyone")
!e
print("``\f`")
:white_check_mark: Your 3.12 eval job has completed with return code 0.
001 | ``
002 | `
!e print(f"\033[1,1H{'@'}everyone")
!e
print("``\a`")
:white_check_mark: Your 3.12 eval job has completed with return code 0.
```
huh, not the character I expected
i found a fun toy https://youtube.com/shorts/mOAv_pVHolU?si=5y8lDEiQjv4uB8cF
BolaWrap is a revolutionary non-lethal restraint device. It launches an 8-foot Kevlar tether to disable targets up to 25 feet away! With its electronic deployment system, it's a game-changer for law enforcement and security professionals around the world
Credits: @WRAPTechnologies / YT
#technology #safetydevice #amazing #interestingfacts #tech
bro get that shit away from here
we're busy, cant u see?
\s
!e print(f"{'@'}everyone")
!e print(f"{'`'*3}{'@'}everyone"*20)
!e print('\r')
:white_check_mark: Your 3.12 eval job has completed with return code 0.
Code block escape attempt detected; will not output result
Full output: https://paste.pythondiscord.com/4RUGDYNVNKF2GIOZAUV37732QU
which slash is it I forgot
:warning: Your 3.12 eval job has completed with return code 0.
[No output]
or just move to #bot-commands
#bot-escape-room
whats the downside? cheaper than in-store irons with more features and higher max temp. is it the quality?
im a beginner and will use it rarely, would you recommend i avoid this one?
You really don't want to cheap out on the thing that gets really really hot and needs to work around precise electrical things
or should it work for what i need
Spend $50 and get a reasonable one that will work well
That's *really* cheap.
Like there's protections missing kind of cheap. Maybe it's roughly at cost, but I wouldn't really be super confident that it's set temperature would be accurate over long term use.
That said, my entry soldering iron was 3 dollars and while it was bad, I got into electronics. So if you're unable to afford better, it's a start. But if you're able to afford better, "better" means safer at this level so I'd go for better
ill get this one for what i need at the moment and invest in a higher quality one in a couple of days
i only need to solder 3 wires to a cheap pcb rn and dont have the budget for anything greater today. ill be especially careful when i do use it though
thanks for the responses, ill look to replace asap
If you're doing that fast of a turn around get something better
what better can i get for $10?
If you can do the $50 price point I'm seeing recommendations for the Pinecil Pine64, though I've never used it
If you can't, just be super cautious with the device and make sure it doesn't stay plugged in when you're not actively using it
if its one without the temp control and lcd i guess i could just use one i got from harbor fright but it takes a long time to heat up + im pretty sure ive ruined the tip somehow
and yeah i absolutely do not leave it while plugged in
I read "invest in a higher quality one in a couple of days" as you had the budget to put a good amount into the iron this week, and it doesn't make sense to throw away even $10 at that point
couple of days as in if i get a job soon lmao
ive been applying but nothing yet π¦
Before you go for this iron, read up on $10 irons on reddit or eevblog just to see if it's worth the quick use for you.
For 3 wires, yeah it might be. Like I said my first one was $3.
But it also made me hate soldering for years until I used a good iron
theres also the same day delivery that i have to factor in, id like to get this done today since i wont be free this weekend
ill still search a bit, but that one i already placed the order for since same-day delivery was expiring, might be able to cancel if i find a more preferred one though
Yeah, and honestly, if it works it works. There's nothing wrong with that.
Cheap irons just also have a tendency to cause problems in addition to working (I melted a lot of boards while just trying to soldering pins on my old iron, and am too delicate with the new one now because of the bad habits I learned). So the posts might help you avoid 'common issues' of the cheap irons and highlight what isn't your fault
ah ok that makes sense
now that I finally have a good GPU, I can play the horribly optimized "low-poly" unity 3D games
unturned
I have tried cosmic
and I've come to the conclusion that it seems like it's kind of...not the smoothest experience right now
settings app keeps crashing on me, and I can't figure out how to switch workspaces without using the overlay menu thing
wdym? isn't there a keybinding for that in Gnome?
cuz its in incomplete pre-alpha stage?
man, people now a days are really re writing everything in rust
they'll really rewrite themselves in rust one day
not gnome, but the new DE the pop OS guys are making
yeah that's fair
I have high hopes for it at least
seems like it'll be really nice
Does anybody here use mobile data as their source of internet for their laptops/PCs too
Or does everybody here use a router
whats the matter?
I'm just curious
I see
average alpha software
I'm probably going to buy a 50 gig packet and use it
it's in rust too lol
average Rust software
nah rust software is the best software /hj
why not unlimited?
theres a limitation to how much you can use per day
and how much you can hotspot
you can use as much data as you want, and pay for how much you've used (postpaid plan)
oh right ive heard of that
π€
that actually sounds good
why dont i just do that, is that more expensive or something
shouldnt that be perfect for everybody
hm?
bro should just use windows fr
linux desktop π
How tf they detect and calculate collisions of polygons or smth, there is no like point?
cuz the bills will just escalate very quickly
polygons are composed of points
Yes but on line between points, or on plane between lines no points
What collides
why
How to collide a cube
like, wouldnt it charge how much i use
as a heavy internet user, the bill will pierce the roofs for me
there's a lot of algorithm/math behind it
and i dont wanna see how much i've used
i'd just pay the unlimited plan in prior to just enjoy with the internet
but if you wanted to use so much internet, doesnt having a max of like 2 gigs a day make it inconvenient for you?
damn bro
hyprland π₯Ί
Hyprland just crashed
Fan speed went to 100%
Stoped responding
And its just the third day using it

use windows
rejected
pop os is based
Hey hey! Quick video summary about seventh element on periodic table Nitrogen. New episode in series where I am giving a quick summary of every element on the periodic table.
If you like what you see, please leave a like and subscribe, it is greatly appreciated. All comments are appreciated as well
#science #periodicelements #100seconds #nitro...
my boy still uploading
π₯π₯π₯
friendship ended with fireshp
honestly even tho it does make sense chemically to sell gas per kg
it just intuitively doesnt
uh, yes?
mass is a measure of mass
it tells you how much of something you got
are you confusing it for weight? or whatever ?
no i meant intuitively (at least to me) it makes more sense to sell by volume
but then ofc pressure and stuff like that comes in
while mass is the literal count of something you got
cuz like avogardos number and stuff

have you ever carried a gas tank?
like cooking gas?
i carry those all he time
the weight diff between a full and empty one is VERY obv
but basically multi-store living buildings
(actualyl very simple)
so we dont have to deal with that
i live in a shit hole with no infrastructure lol
damn
Hi guys
this one looks good
petition to ban ghost.ops_
hehehe
also, no alt accounts
that's not allowed?
therefore ban @thick ore and @tight granite
bro thought he cooked
Saying it's a joke doesn't make the sexism suddenly okay. Also maybe don't showcase that you're using a modified client
but now you know the culprit
for waking u up
I'm a moderator and we have a message change log
Also the context makes it pretty fucking clear
and tbh, half of the edit log is probably me making tiny adjustments
Does UserScript and Userstyle fall under modded client
deadline driven development LMFAO
Wistoria wand and magic is beautiful
which one almost died?
you?
ur pc?
or that python?
anaconda π£οΈ
they make those
guys, which one should i go for?
the classic if-else?
const handleSelectFilters = useCallback((event) => {
if (event.target.checked)
selectedFilters.current = [...selectedFilters.current, event.target.value]
else
selectedFilters.current = selectedFilters.current.filter(item => item !== event.target.value)
})
or the ternary operator
const handleSelectFilters = useCallback((event) => {
selectedFilters.current = (event.target.checked)
? [...selectedFilters.current, event.target.value]
: selectedFilters.current.filter(item => item !== event.target.value);
});
which one would u guys choose and why?
the first one for readability
If else yes
ok, but why?
first one
Tho if thats all the function does just return
So you dont have to indent your else
if (cond)
return [...]
return arr.filter(...)
end the function with an empty return then
idk i prefer not to have weird indentation
i forgot mar blocked me (so no reactions)
but that'll still give u same amount of lines of code
with same number of indented and unindented lines
Also weird to have an expression do assignments
What did you do to get blocked
Who cares about lines of code
I told him to block me
It all gets minimized anyway
mar did you block me too π₯Ί
no, you're talking about indentations
thats why
No
yay
Youre the one posting questionable frieren gifs lol
I don't post them anymore 
u sure?
I'm barely even active these days π₯²
I shall unblock you then
π
I'll be sure to tread lightly in ot2 (as it's your home turf ig)
frieren driven socializing
I think its easier to read if you treat one branch as the default one in these cases
if cond:
x = y
else:
x = z
``` looks weird to me, i'd rather have
```py
x = z
if cond:
x = y
π€·ββοΈ
depends on the vibe
i feel like that should only be done when one of the operations are "harmless"
z can be expensive to compute
^^^
You can dump it in a function and return early
You should prefer what looks good to people anyway, in js youre bundling and minimising and doing all sorts of things
And in general you should prefer guard clauses
guys
im making a tristate checkbox
in react
and idk how to let the user(myself) to handle the state change
export default function TriStateCheckBox(props) {
const {
valuesArray = ['true', 'false'], defaultState = 2, onChange, onStateChange,
inputProps, ...extraProps
} = props
// onStateChange: (currState: int, currVal: any) => void
im thinking of passing down the current state and value to the onStateChange function
but im also in need of the previous value sometimes
should i just supply the function call with its previous value too?
ok nvm
solved the issue already
Is this really a mistake?
it depends
it depends is, of course, right
π€
but usually you don't want json in a relation database
most modern SQL databases can indeed work with JSON.
mongodb π
it just depends what you're doing with it. if you're treating it as an atomic value, there might be nothing wrong with it
what doe atomic value mean?
atomic means not further divisible
ok again, what does it mean?
typically it'd be something like a jwt token
where yes, there is further data in a jwt token that can be split, but your database just cares that it is a jwt token
using it as a one whole value, rather than using it as a combined form of multiple attributes?
yea
icic
i think i've used sql for this situation
for storing a json data as json, and retireving it back for one single value
but the json is not that long tho
am i cooked?
maybe?
its cuz i was just then started to learn sql
and i've decided to split the data between multiple tables, rather than storing them all in 1 table
cuz idk how to use the id to refer to values in other tables in a single sql statement
so i just decided to store all the values in 1 db, under 1 table
but now, i'd rewrite it to store values in separate tables
That just looks like some guy trying to sell a course tbh
also, performance is not the problem here
i'm not sure what performance they're talking about. do they mean the first parsing into binary data?
don't most databases with support for json use a BSON type thing
I think they just say performance because it's something non-technical people understand
wack
am i sounding like a sales man there?
Im talking about linkedin guy
He's definitely a salesman
He might even travel for it too
who's that linkedin guy?
π€·ββοΈ
is it a convo resumed from another channel?
Its a keezy post
^this guy
ic
fr
guys, why cant i reuse this?
import { useCallback } from 'react'
import { useForm } from 'react-hook-form'
function CustomComponent() {
// ...
const { unregister, setValue } = useForm()
const f = (name) => { // why cant i reuse this function to create multiple useCallbacks?
return useCallback((_, val) => {
if (val === null) unregister(name)
else setValue(name, val)
}, [name])
}
}
any ideas?
it says im rendering more hooks that it previously had
What's up
hey
What do you have above this code
Early returns?
Its not a joke
The most common cause for this error is early returns above your hooks
..no?
the error was i was creating way more hooks than i should have
i wasn't reusing hooks
i was creating duplicates
thats the problem
does anybody know how can you replicate this example from diesel async?
the issue i am having is that, since .get_results takes an &mut AsyncPgConnection
i cant really call second .get_results until i await first one
(since first's future will hold ref to the conn)
replicate in python?
no
i meant still do that in rust
its just that according to borrow checker rules that example shouldn't be possible
but i might be just stupid so figured to ask
and rust server is just a bit asleep rn
so
here some people also know rust
which one
oh i see you there
well, goodluck
chat I need your help, what's the easiest way to access my Windows 11 desktop from my Linux laptop on the same network? my room is so noisy it's gonna make me fucking kill myself so I'm gonna go sit in the attic instead
access in what sense?
Can't you ssh into it
long keyboard wire
I assume I need a 50 meter hdmi cable too? 
yeah
You should invest into noise cancellation technology
longest I have is 15m
but realistically you can do it with one or two usb-c
I just tried it a few days ago and it blew my mind
not good enough
I guess I haven't tried it with a room full of talking people yet
At this point there's only one solution
either I have the most annoying shit heads in the world around me or I'm too easily irritated
ik this app but I don't think this is what I need 
oh sounds simple enough
thanks
Python stone age confirmed?1!1!1!1!
OK so RDP worked nicely after i figured out windows password shit fuckery
ty guys
it seems crappy over bad WiFi tho
ig I'll just drag some ether net cables around
WLWCCS
weally long words created combining sounds
proprietary π
or wait 
apparently the thing I actually use is a fork pf synergy 1 which is the one version that's open source
most serious devops meeting
after figuring out a dictionary in other language, and being able to see the dictionary via visual debugging, I finally get it
i suspected dictionary worked something like that, but seeing it makes appreciate how it really works
these meeting notes are too amusing to be real π₯΄
A minute passes in the United Kingdom. 60 seconds pass in Germany.
Unfortunately all of the four fully grown software engineers on call are incapable of reading and understanding a manual page.
Bella blasts in (because of his explosive personality). The team is shocked by this, as it was known that Bella was currently on his anti-celibacy trip and thus his Brothers From Another Mother were not on the priority list.
Joe and Johannes discuss Dovecot and realize that it is probably a too complicated solution. Chris is still browsing car pictures. Judging by the reflection in Fredrick's sunglasses, he appears to be staring at a white screen.
Brothers From Another Mother...
any recommended free email that you can read with IMAP?
Itβs frustrating when directors at my company arenβt following my technical advice
have you expressed your concerns in a way that they understand? perhaps it's less a matter of them not following it and more a matter of bad communication
No. What itβs like is that I propose solutions to their concerns and offer the best technical advice that I can give them. As the directors, they ultimately make the final decision if they want to follow through with my advice or follow through with their own solution and I have to carry on whatever solution is instructed by them. Which makes my job more harder than it needs to be.
In actuality, they donβt have to listen to my technical advice. Hence them being above me but itβs indisputable that I have far better understanding of software development and the architecture of our software out of everyone in my company.
Itβs essentially like a doctor who has the specialized knowledge in the medical field writing up a prescription and offers the best advice for their patient. The patient actually doesnβt have to listen to them no matter how effective the prescription is. Itβs the same thing with my situation here.
maybe they are considering things that you haven't
You also shouldnt compare yourself to a doctor...
I think the point flew over your head. Point is, whatever the advice, or solution a professional is suggesting to you, you are not obligated to follow as their client
Youre not an expert, you dont have years and years of training and medical experience
Your technical advice is not worth as much as a doctor's and theres definitely stuff your bossman is considering that you dont know about
Also youre the client
Theyre hiring you
why did you lead with
Itβs frustrating when directors at my company arenβt following my technical advice
it sounds like you're complaining and asking for solutions
If your boss isnt going with your suggestions, a mature developer would first look inward
It sounds like you're assuming your advice is 100% the correct choice, but is it?
mar, no one thinks that. they first ask why, lol
Wdym no one thinks that
Keezy does
i meant the "first look inward" part. why would you do that if you don't know why they didn't listen?
I would ask "whats wrong with it"
I dont think keezy has asked this
I think he went straight to frustration and the doctor-patient analogy lol
He's welcome to correct me
Doctor thing kinda triggered me lol
Doctors get second guessed all the time, ever heard of the phrase "second opinion"?
I don't think they take it personal
id like a second opinion on that
cool
You still gotta pay for this first one lol
I'll undiagnose you so fast
Again, youβre overly focusing on the example rather than the premise of my argument but I digress
Did you ask why
No. I usually just follow instructions and not ask questions
Lmao @young shoal thoughts?
But I think what I am saying is true. They donβt have to follow every technical advice I give them, they are above me
For better or for worse
No they dont, but you getting frustrated and doing nothing to troubleshoot this is the problem
You cant be annoyed and also not do anything about it
Pick one
isn't this the opposite of being disagreeable
Yes its very agreeable in fact
Subservient, you could say
Youre not a slave keezy, ask questions, damn
Thanks. I will check it out
I ask you all whatβs the solution?
The solution is to ask your boss why he doesnt like your solution
This is what I have been wrestling with. I have a technical profession and I have a non-technical manager
that's a copout
How do you know what their understanding is if you dont ask questions
That's a non sequitur.
As rational agents, if two people disagree, it comes down to them not having the same information or not prioritizing for the same factors. Asking why is someone making a particular decision could help give you insights about their thoughts process and aligning better with them
So that in the future, your thoughts and your director's thoughts are more aligned
Related to that, if you understand better the thought process, context they have or what your director is optimizing for, you may also get insights into information they may not account for and help them correct for that
the simplest example is some miscommunication happening and they don't understand your proposal properly. you can't figure that out if you don't ask
In actuality, they donβt have to listen to my technical advice. Hence them being above me but itβs indisputable that I have far better understanding of software development and the architecture of our software out of everyone in my company.
Pub has already pointed that possibility out, but perhaps it could be your communication? Soft skills are tremendously important when talking to clients - ultimately, it's your responsibility as a developer to translate the "nerd stuff" (on the sense of, technical details that are only relevant to you) into something they understand and is relevant to them
That's something worth looking into
Oh yes. I studied this in my IT Project Management course in college.
My directors are definitely the decision makers
tbh that's much earlier than i expected
yes..?
the bros wrote unix without syntax highlighting
you can't really color punchcards' holes can you?
bro thinks screens had colors back then
oh true
..can you?
Jake Chudnow - Moon Men plays
a hole is an absence of (solid and liquid) matter, but light passes through it as well
this implies that a hole could technically contain "color" in the form of visible light
but since it is the absence of material, there is nothing to reflect it back to the eyes
Btw to put more in context, i have advised my directors to never delete data on the front end because the deleted data is still referenced on the back-end. They didnβt listen. So now the software creates HTTP 404 error response tickets on the front end because the software was trying to fetch them
Were they made aware of the consequences of such action?
Were they then okay with the consequences?
I iterated this in a few meetings
No they donβt want the 404 http error response created tickets anymore
might be worth asking them why it's not okay for it to happen when they were fully aware it would happen?
They said they thought it would be okay to delete data
I think they were dismissing my advice
That's only half the story though. Being okay to delete data implies you are okay with the consequences of deleting data
whoa to think screens didnt have color only 60 years ago
we're an advancing civilization
we're the aliens π½
guys, i have a code like this
if (a && (b && c))
throw new Error("err 1")
else if (!(a || (b && c)))
throw new Error("err 2")
else if (!a && (b && c))
// do some other stuff, and proceed with the rest of the code
should i make it like this?
if (b && c) {
if (a)
throw new Error("err 1") // edited to differentiate, after confusing the crowd
else
// do some other stuff, and proceed with the rest of the code
}
else if (!a)
throw new Error("err 2") // edited to differentiate, after confusing the crowd
or is there a better way to do this?
which one would u guys choose? and why?
I don't know what's better, but if (a) ... else if (!a) is redundant
we
oh shi-
sry removing that
how about now?
It's okay now
but which one should i go for?
no nested if's
or nested if's?
I feel like either the first or```js
if (b && c) {
if (a)
throw new Error("...")
}
else if (!a)
throw new Error("...")
// do some other stuff, and proceed with the rest of the code
ok hold on
keep all guards before the main logic
which way of structuring it works best can vary depending on your actual conditions
another option is just making const bc = b && c; then doing the first with that instead
if (b && c) {
if (a)
throw new Error("...")
else
// do some other stuff that does require b and c to be true, and proceed with the rest of the code
}
else if (!a)
throw new Error("...")
that is the one I would recommend the least
ok but the commented part relies on b and c to be true
if thats the least, then whats the best to be recommended?
uh
is the first two checks not just an xor check?
bruh what?
const bc = b && c;
if (a && bc)
throw new Error()
if (!a && !bc)
throw new Error()
if (bc)
// do some other stuff that does require b and c to be true, and proceed with the rest of the code
if both true -> error
if neither true -> error
that is error if not xor
i guess you are right
you may still want different error messages in each case to be fair
but the error stmt's are not having the same msg
my bad guys sry
something like "exactly one of these must be true" is a pretty sensible error message
Not if what "one of these" represents is opaque to the caller
but yeah, like most things there are too many 'it depends' to give a concrete answer
in most cases it might make enough sense, but I can imagine some cases in which it wouldn't
you could rewrite as
bc = b && c;
if (a && bc)
throw new Error("...")
if (!(a || bc))
throw new Error("...")
if (bc)
...
that said, I feel like in a lot of cases knowing if both are true or if both are false would be essential to help the end user debug, if it's an issue the end user can resolve
if it's just an error within a library that should never happen thus it'll be the responsability of another developer to go debug their code, it should matter much less
ugh, I'm kinda tired. I formulated that very poorly
because you know exactly one of the cases is true

I had to grow an enormous amount of patience having non-tech highers up
No you havent
Keezy you act like we wipe our memories of you after every conversation you start
keezy just use Twitter
keezy i miss the LFOTD
How much patience have they had to grow having a much-tech lower-down?
What is lfotd?
logical fallacy of the day
βLogical fallacy of the dayβ
I donβt do that anymore. It doesnβt fit the demographics of this server
aw
What do you mean much tech?
Theyβre a non-technical manager
Youβre a technical employee
If you had to grow patience
Surely they did too?
If they did, I wouldnβt know for what. With my knowledge and technical skills, Iβm trying to guide them on the right path towards their requested destinations and frustration comes in when they donβt listen and become dismissive
Theyre probably equally frustrated that their "technical" employee is coming up with solutions that dont fit business needs
Every solution has to qualify both technical and business needs in software development
Every good solution
If youre frustrated they dont get the tech part of the solution then theyre frustrated you dont get the business part of it
Andβ¦this is why I said months ago that every employee in a company should have a basis fundamental understanding of what every employeeβs role is in the company
I doubt they're posting on discord about their dev employee not getting it and how frustrating it is
Have some humility, guy
You'd be better received if you asked questions on how to deal with it rather than just make statements
I donβt think I have a shred of ego in me
Bro you literally compared yourself to a doctor
Every time you mention your "non-technical" manager you talk about them like theyre idiots
I'm curious if you've found a community where it fits
Yes I have
you do.
where?
A philosophy server
link?

a fundamental understanding wouldn't help at all. they can know that you write code, but that isn't going to help then understand a complex solution that you suggest
Are you trying to get me banned?
a philosophy server in my racist app?
I honestly forgot links were auto removed
Rule 6,
Do not post unapproved advertising
no its not
it's not advertising lmao
im guessing
bro's into scientology
there's a whitelist
Good morning orange name
gud eve woof
Youβre wrong
that's certainly the impression you give
every time you describe interactions with people in your company it doesn't paint them in a positive light
I never even slightly made that insinuation
you did. in more ways than one
So that made you conclude that I think theyβre idiots?
Please do not strawman me
your description of them.
With my knowledge and technical skills, Iβm trying to guide them on the right path towards their requested destinations and frustration comes in when they donβt listen and become dismissive
this sounds so condescending as well
No offence but you're not exactly an expert
How would you describe one who doesnβt have a tech profession?
How so?
Letβs set the definitions
No π‘
trust him homie
The job is making a bunch of http requests
This honestly sounds ridiculous. I am literally the only developer in my company whoβs responsible for the back-end as well as responsible in deploying our software to our virtual server.
Keezy should stop talking about himself like he's a world renowned expert
.
I am using several technologies to make our software run successfully and I am not technical? π€
Docker
Linux
Python
Linode
π€¨
You dont refer to yourself as non business, dont call your manager non technical and then say youre frustrated at them
But I am non-business though
I am not a manager
So you understand there may be business things you dont have a clear understanding of
Yes I am aware
what you just described sounds basics to me
Are you sure you're aware?
You said earlier you have a basic business understanding
Where?
But you dont afford your manager this
So you can help fill in for the day if BobbySue in accounting calls in sick?
What about Jane in HR?
Absolutely not. The keywords here are basis fundamental understanding
Define those keywords please
I know that HR talks to people
I know that accounting makes spreadsheets
Do I understand the fundamentals?
So⦠do I have that?
.
keezy makes sarati look sane
Keezy you should go ask your manager for feedback right now and dont post about this topic again until you do so
If you canβt define it then how do you make sure people have it?
Im curious about what it is youre messing up with your solutions
Go ask for me please
@true flax
Fine. Maybe you guys are right. Perhaps I am not a good technical consultant for my company
Are you a consultant?
I thought you were the sole developer?
I am a developer but I obviously have to advise my company on the best routes to take to get to their requested destinations
Advising is consulting
Meetings. If youβre in a meeting about the companyβs finances, have a fundamental understanding of finances regardless of your profession.
If youβre in a meeting about software, have a fundamental understanding of software development regardless of your profession.
that's not how it works.
You donβt have to be super advanced
This is my βshouldβ claim. I am not explaining what is the reality
I produced an automated program that creates an excel spreadsheet of the finances of my companyβs different projects. I clearly needed a fundamental understanding of finances in order to produce the spreadsheet
It updates daily
not really, i can do the same without understanding the underlying stuff as long as i get a good explanation of what the end user wants
Just curious, where to?
Email? SMB? S3?
To our companyβs OneDrive
Did you use the Graph SDK or some third party module?
Iβve been getting really frustrated with Graph
I donβt think most of the third party ones even work anymore though, so canβt use them
No. Windows task scheduler. Lol
that's orthogonal to the question
Use for what? The automation?
How?
The interaction with OneDrive
Did you⦠is the scheduled task running Python that outputs the XLSX into your OneDrive folder so that OneDrive syncs it to the rest of the company for you?
No itβs running the Docker image
ah, yeah that's basically what I do
So... to restate the original question, do you interact with OneDrive from your code? Or do you have your code save the file to your OneDrive folder to let the OneDrive desktop app upload it?
I am looking at the icon of a folder and itβs a building. The type is βSystem Folderβ. The excel spreadsheet gets overwritten each time it automates and I think this system folder is the OneDrive
I use a batch script
The batch script is whatβs being automated and batch script runs the docker command
Docker run command binds both the directory of the program inside of the Docker container to the directory of the OneDrive system folder
I think you all have otherworldly patience to engage in this conversation
look up orthogonal
In elementary geometry, orthogonal is the same as perpendicular. Two lines or curves are orthogonal if they are perpendicular at their point of intersection. Two vectors v and w of the real plane R^2 or the real space R^3 are orthogonal iff their dot product vΒ·w equals 0. This condition has been exploited to define orthogonality in the more abstract context of the nβdimensional real space R^n. More generally, two elements v and w of an inner product space E are called orthogonal if the inner product of v and w is 0
very useful
why are you using docker if you need to bind mount for output all the time. just install Python instead of docker and it'll be way easier
You have a point. The original plan was to update the spreadsheet overnight. Which means I would need to push the program into our virtual server and download something on the server that grants the virtual server access to our companyβs system folder because nobody works during the night time. That plan was changed so I just kept the Docker image
changed to what?
To updating every morning
that doesn't sound like it needs docker either
Three containers running on three different VMs are involved in making my reports
Actually only two now*
But my point is -- docker run taking away the need to deal with installing Python and keeping venvs up-to-date on servers is absolutely glorious
if the python script is just ran in a single machine forever, i'd try to compile it down to an exe
or i'd just opt out for smth like pola.rs
python is a one big memory hog
Do you.... know what polars does?
imo
mimic the powers of pandas, right?
oh wait
ok idk whats the equivalent of openpyxl
in rust
What does that have to do with exe(s)?
i'd go for bundled exe's rather than having python installations in vms
The VMs are Linux
though it costs little to nothing, premature optimization is in my blood
though they are alpine, i'd premature optimize it
cuz its in my blood
I dont see how thats a good idea
No one thinks it is
idk man
it always tempts me to not to do such micro optimizations
is there any cure for this?
i always do such acts
You're not optimizing anything
Yeah
You're having multiple installations of Python
wat
That makes it take up way more space
Optimizing would be making all of your programs share a single venv
doesnt companies stick with a single python version for a long time?
mmmmmmmmmmmm not really how it goes, usually it's the code base that sticks with a version, new code bases have no issue with picking up a new version, but old legacy code might be hard to update
at least AFAIK
sometimes I open the code for an aws lambda and it's in some archaic version of node js
ghost ping
