#ot1-perplexing-regexing
1 messages · Page 46 of 1
dnf
source for what? that video games are addictive ? lol..
It is. I told you I do not train for strength 🤷🏽♂️
again, he won't listen
!silence
✅ silenced current channel for 10 minute(s).
new topic, favorite cookies
I made some bussin thick choc chip cookies recently
!unsilence
✅ unsilenced current channel.
nutella biscuit
white macadamia
correct answer
wrong answer
i guess so
you didn't tell me. But I will not assume anything 😶
!mute 304627882075095041
:incoming_envelope: :ok_hand: applied timeout to @clever blade until <t:1690726801:f> (1 hour).
I should make them again, maybe I'll do a white choc macadamia version
!mute 241962659505766402
:incoming_envelope: :ok_hand: applied timeout to @round pendant until <t:1690726866:f> (1 hour).
brownies are inherently superior
I like ice cream with brownie chunks
but are they cookies?
cookie is a state of mind
Truthy
oatmeal raisin when
cookies overall aren't that great tbh
old person take
I want like a piping hot chocolate cookie and brownie on some vanilla ice cream
i want like a piping hot brownie thats melted on the inside
Let's go to chili's then!
cookie-brownied-general
dessert general
someone make that an otn pls
we need more desserts in general
Corner gang
corner obv
edge
nothing
Maybe they like Microsoft Edge a lot
i am asserting dominance
yes i do
i love microsoft products
except for azure
fuck azure
Yeee Microsoft is the greatest!!!!
lol
send cookies plz and thank
jack will track you using those cookies
be careful
I accept this kind of telemetry
yiu can get them freshly baked at mcdonalds
for a good price too
problem is, you get tired of them pretty fast, and then you're just sitting there contemplating why did you buy 12 cookies when you only ate two
I also made brownies today 😋
need some help with HTML, should I ask here?
sure
okay, one sec
need to re-run the project. It's actually Django but it's not a Django issue
Think I screwed up something with my styling
Followed off w3schools and changed it to my liking. 4th card should be in the next column
<div class="column">
<div class="card_2">
<h3>Value</h3>
<p>Value</p>
<p><a href="Value">Some text</a></p>
</div>
</div>
.column {
float: left;
width: 30%;
padding: 0 10px;
}
.row {margin: 0 -5px;}
.row:after {
content: "";
display: table;
clear: both
}
@media screen and (max-width: 600px){
.column {
width: 75%;
display: block;
margin-bottom: 20px;
}
}
.card_2 {
box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
transition: 0.3s;
border-radius: 5px;
margin: 0 0 15px 35%;
width: 60%;
background: white;
display: inline-block;
padding: 16px;
text-align: center;
font-size: 25px;
}
is it a problem with any of this?
yikes, that's long
maybe I should do text message insted
followed this, for context
https://www.w3schools.com/howto/howto_css_column_cards.asp
wait, is that because I need to create another column for each row?
...oops?
Not sure it's my first time hearing that, but why?
ahh, MDN
they provide blatantly misleading examples
all they really care about is being #1 in the google searches
@ebon plinth you should use Flexbox. here's an example https://css-tricks.com/snippets/css/a-guide-to-flexbox/#aa-examples
Our comprehensive guide to CSS flexbox layout. This complete guide explains everything about flexbox, focusing on all the different possible properties for the parent element (the flex container) and the child elements (the flex items). It also includes history, demos, patterns, and a browser support chart.
hmmm
that looks promising
I want to list things and have it look like cards, and being able ot adjust to different window or screen sizes is also a must. That one checks all the boxes it seems
yes
I use Django to put that data out and etc
can't just edit the page and upload, that won't work very well
if you want something that does it all for you, there's this https://mui.com/material-ui/react-grid/
- the grid abstracts the Flexbox stuff
- the Card component would be of interest as well
oh yeah that uses React too. not sure you are using that
not using react, no
is it bad practice to rely on libraries and stuff like that all the time? I've heard it is. I'm also kinda trying to relearn by writing most things from scratch
learning as I go
saves time, yes, but...
for CSS?
every browser supports flexbox nowadays, its like relying on a builtin or stdlib in python
in this case not neccessarily but basically any language
like jQuery in JS
but i might want to implement something myself to learn it
im not sure why you would use jquery regardless
I'm not but that was one example
you could implement a virtual dom react-style and see how it works
but youre not doing that for anything that matters
much smarter people than you or I are on it
yeah
you should just use css grid and flexbox together for sweet and easy layouts
no use table layouts instead for absolutely no reason
thats what corporations do
enterprise development, stuff everything in tables
perhaps that is what they do. but that is not what they should do. as I said, they should use css grid + flexbox
I think our html templates predate flex and grid
for some reason UI, the team im on, is the last one to migrate to anything modern
then consider this an opportunity to re-implement them and increase department headcount
which is wild imho, cause its the easiest to upgrade
all in the name of efficiency, of course
cant do that
all changes need to be part of a jira ticket and nothing gets created unless the client wants it
as per company policy, feelsgood to work in a big corp
so say that "multiple clients" wanted it
there's a bajillion layers of liaisons and project managers between any client and myself
that makes it even better
@thick ore microsoft simp :sotrue:
ayo my note almost feels like π
it has a 3 and a 4 in it ?
yeah
actually should be pi/10
oh wait got the wrong screen
was supposed to be 0.314 etc
how do i stream in the vcs
You have to ask mods for access
Ask for permission with the modmail
i must be blinder than a blind man because i cant find the modmail area
Im blind too
so I did Flexboxes for my stuff. Still learnign but everything is pretty much the way I want it. Except... my button and my text...
why is the button noticably off-center?
<div id="container_1">
<div>
<a href="../"><button class="button" id="home_btn">Go to homepage</button></a>
<h1 style="color: white;">My list of stuff:</h1>
</div>
</div>```
well that looks odd due to the intends but whatever
freakin copy paste
#container_1 {
height: 100px;
display: flex;
justify-content: center;
}
.button {
background-color: #0B6AFF;
border: none;
color: white;
padding: 18px 20px;
text-align: center;
text-decoration: none;
display: inline-block;
font-size: 16px;
margin-top: 5px;
margin-bottom: 5px;
cursor: pointer;
}```
oh, speaking of which I think I need to change my margin stuff but
margin is now just margin: 5px;
oh, and also height: 100px; shouldn't be there
copy pasted that from somewhere in my file...
so that's gone now too
can your windows package manager do this?
yes i am running rn without a kernel (installed)
i shouldnt reboot tho
i'm not 1337 enough to know what packages you are removing. 😛
linux-zen is the package for linux kernel
(with zen modifiactions)
are you emphasizing installed because you still have one in memory type deal?
just linux package is pure* linux kernel
yes
btw
i wonder if my deb box has linux or linux-zen
you can update entire system here, and you dont need to look for few tens minutes at "Updating your PC..."
*depending on how the kernel gets packages for your distro
hey i'm not saying that there are no advantages to linux PMs over mac PMs and windows PMs. i'm just saying linux only snobs are being disingenous or malinformed when they continue to push the line that windows has none.
just run neofetch and there you should see that
agreed.
i need to boot it up. i had it turned off because the last couple weeks have been especially hot so running 3 computers was a bit much. 😛
windows actually got 3 PMs iirc?
3? choco, winget, ??
snoop?
i dunno snoop
scoop apparently
ahh you found it too. 😛
oh oops. i accidentally switched wo my mac not to my linux machine for a second there. 😛
neofetch you said. aye?
yes, i'm a nerd who uses os girls to distinguish which os is loaded on the kvm.
and yeah i'm installing it. was just showing you it wasn't

i'm guessing kernel...so since it doesn't have that word you had i'm guessing it's vanhilla?
perhaps?
?
another way
is to look at what package you got installed
linux or linux-zen
just try uninstalling one or the other
it shouldn't let you uninstall kernel due to dependencies tho
apt list isn't the command for that is it?
um...do i not have a kernel?
what distro uses pacman? i was thinking that was an arch thing but recently saw something else mentioned for arch.
you obv do
it is arch
was a joke since neither package was found.
i understood lol
neofetch is pretty cool...ooo i just realized the logo is distro specific. does neofetch have all the logos?
no
i think
whatever distro packages neofetch, sets according logo in it
you can change that logo if you want to
the logos are hardcoded in the neofetch source.
oh
woah... your kernel is newer than mine. i mean yeah i'm using debian. but someone was complaining at me recently that bookworm was bleeding edge for debian.
arch is rolling release
ie there is not debian 22.04 (no versions)
it is just arch, all the time
i'm kinda tempted to try out that vanhilla os that is like all the distros in one.
I'm on 5.15.0-78-generic lol
oh wow
mm yes security vulnerabilities
tasty-tasty
is that as bad as continuing to run win8 after EoL?
i dont think so?
eh, its from 2021
yeah i dunno how old different kernels are.
and in linux i can only do one screen so my multitasking is severely limited.
my server is apparently on 6.1.31
in neofetch is the little pallet at the bottom your terminal colorscheme?
yes
is it lame that i now kinda want new terminal windows to open up to neofetch(and something similar on my mac and win machines)?
i suddenly want to make a linux distro
go for it
gotta love router based adblock
opinions on
if cond:
return X
return None
vs
return x if cond else None
i personally dont like using ternaries if one of the ops is None
Former is slightly nicer I suppose since it looks like implicit return
people already said that to me
font?
it looks like the minecraft chat font
Kinda
Ah, I like pyenv for my Mac...
With iTerm2...
And it seems VSCode does not support that font..
i like fira code
minecraft's font is pixelated
this one is not
behold, fira code
nvim: no process found
emacs is goofy
use helix and transcend
https://vscode.dev/ or bust
love-hate relationship with VSC
python in VSC is horrible tbh
i mean it is OK
but... pycharm is a lot better does job at static checking
and code suggestion
python is horrible in general, i avoid it whenever possible
actually, i have started to switch from python as well...
to rust
man i wanna linux compatibility
it does
dude .net core got released liike 6 years ago
NO!
Light mode in macOS be like: 
why do so many people think .net is windows-only?
It is not
It supports other operating systems as well
I'm just concerned that C# is tied to the Windows environment
exactly
love-hate relationship with C#
i don't like how old it is
😭🙏
rust is new btw
only 14 years old
for comparison C is 50 years old
rust is older than me 🙏🔥

ok rust is older than me by some much
@thick ore rust is not 14yo, it is 17yo
oh cool
still older than you i suppose
skill issue
do you know where the logos are stored?
neofetch line 5524
get_distro_ascii() {```
wow they got a ton.
Does anyone have the python discord paste bin link that I can share code ?
!paste
If your code is too long to fit in a codeblock in Discord, you can paste your code here:
https://paste.pythondiscord.com/
After pasting your code, save it by clicking the Paste! button in the bottom left, or by pressing CTRL + S. After doing that, you will be navigated to the new paste's page. Copy the URL and post it here so others can see it.
dang better than mine
how do people feel about usage statistics and such in open-source python libraries
- opt-in v. opt-out (thinking about golang)
- transparency and privacy (obv. anonymized)
- how to get value from stats w/o asking for too much
seems like Rustc is getting a lot of positive attention for its approach
my personal opinion is that usage stats/telemetry should be opt-in but in practice that seems to be rare
iirc fedora's telemetry will be/is opt-in
rustc doesn't do telemetry
perhaps you meant cargo?
cargo doesn't either
ok then idk what they meant
rustc is just a compiler why would it even need a telemetry ._.
oh i guess i saw this headline and parsed it incorrectly https://estebank.github.io/rustc-metrics.html
owo esteban proposal?
I love OwO
this is interesting, thanks
?
a few things:
- awesome wallpaper.
-
uptime: 13 days
- i have never heard of that processor before. as a ryzen 7 shouldnt it be 7700x?
- is the memory calculated as free/max or as used/max? i find it weird how it says 89% used
wow my cpu is underclocked af
wth samsung
7k is 7th generation. i have 1st generation
memory must be free/max
and yeah it willusually be around 90% usage. i keep alot of chrome and sublime tabs.
oh wow there's even android neofetch. 😛
also ty about the wallpaper. i've got one like that for max, win, and lin.
to clarify, a ryzen 3 will be N300, with N being the generation of cpu. a ryzen 5 will likewyse be N500, a ryzen 7 N700. then if there's an X at the end it means extreme edition and is slightly better. an M at the end means mobile and means it's worse.
basically the breakdown is first digit is generation, second digit 1-4(3),5-6(5),7-9(7) tells if it's entry, midtear, highgrade. dunno if the other two numbers mean anything and then the letter at the end is bonus.
one of the terminals of all time
🥴
why do mac users post their neofetch output as if it were any different from the others
mine is kinda different. considering my mac was supposed to stop getting updates like 8 years ago.
also if you check the backscroll i posted my windows and linux newfetches too.
usually mechanics
my aim is good
but i believe the main reason is cus i main reyna and jett as a bronze player
I got M2 Pro
that looks like the default terminal not iTerm
BRuH
Bc the processors are better for compiling C++ code
i'm new to apple. what's iterm?
he was saying neofetch is kind of pointless on mac since each year's model is identical. they don't have different GPUs, or CPUs, and rarely even different ram and storage. the things neofetch is intended to show off. however as i stated mine actually shows off that they aren't all identical since i'm rocking a 2011 mac mini that lost support in 2016.
well i mean a xeon is a server grade processor innit? and you have double the ram i have. being paired witha xeon it's probably ecc too.. so only your gpu is worse than mine.
pro is the giant cheese grater one right?
Nah
lmaoooooooo the biology course outline is wild
like
the only electron configuration i know is package.json
Our House
Our House
Our House
Our House
Our House
Our House
"Our House" by Madness
"Our House" by Crosby Stills Nash & Young
"Our House" by Barry Kramer
Our House
Our House
Our House
Our House
Our House
Our House
in the middle of our house our house
have you ever heard of this lang? https://en.wikipedia.org/wiki/Malbolge
Malbolge () is a public domain esoteric programming language invented by Ben Olmstead in 1998, named after the eighth circle of hell in Dante's Inferno, the Malebolge. It was specifically designed to be almost impossible to use, via a counter-intuitive 'crazy operation', base-three arithmetic, and self-altering code. It builds on the difficulty ...
Can we play roblax
So I've been programming for a while, but I dont really have anything to show for it. I feel like my github has barely anything interesting, and I'm never interested in doing like the basic calculator projects, but also the advice I keep hearing is to come up with something original/really unique but I havent been able to think of anything, so I feel my progress has largely stagnated for a while, do you have any advice on how to overcome this?
and also to add onto that, I hear contributing to FOSS projects on github is great, but its really daunting and feels a bit advanced when I try
a few rules that help me:
- you don't have to "finish" anything
- work on what is fun to you in the moment
- it's okay to commit broken code
- any progress is better than no progress
thanks for this, I'll check it out
There has to be a special place in help for those that create makefiles to call docker-compose
dawg
dont @ me
someone i know creates "Make.ps1"s
no.
@uneven briar
Heyyy
Do try and lemme know 🙂
I smol want OAuth experience
if its working or not...Google OAuth
im pretty sure im not going to try OAuth
okie...ig ...I'll take on normal user opinion too 🙂 but umm...registering with a valid email andd stuff is smol painful and stuff
overall it looks good, some streched images on the login page but other than that everything is good, privacy should be improved
OooO
you didnt even registerrrrrr
it's not about the site
you don't have a ToS page
so i don't know how my data will be treated
...it is present...in the registration section...
terms and conditions...in a nice txt file
how are passwords stored internally?
good.
the encryption on the backend looks a little bit useless
so it will look like this
its so users know that even our own employees cant impersonate them 🙂
ehhhh mongodb be good tho
lol, I've never seen this offtopic name before.
deitydork
that doesn't really make sense to me
NhilistNerd
do the offtopic names change>
yep, daily. There's a list that's rotated through
There are three off-topic channels:
• #ot0-psvm’s-eternal-disapproval
• #ot1-perplexing-regexing
• #ot2-never-nester’s-nightmare
The channel names change every night at midnight UTC and are often fun meta references to jokes or conversations that happened on the server.
See our off-topic etiquette page for more guidance on how the channels should be used.
What deitydork
class Main {
public static void main(String[] args){System.out.println("hello world")}
}
Public static void
main(String[] args)
doesnt java 21 allow for this?
class Main {
void main() {
System.out.println("Hello, World!");
}
}
deitydork lmao
It does?
Yeah, new feature
Doesn’t make me any more likely to use it but still pretty nice
Although I think it might allow it without the class?
yeah
i actually just noticed
i wrote println!
rust overtakes me
fixed.
public shaming
a bit more than 3 days... in a row
or is it not a row?
not in a row
oh
then it is really nothing
i got on space engineers ~150 hours?
and i wouldnt say i played a lot of them
nope
!off-topic-name
There are three off-topic channels:
• #ot0-psvm’s-eternal-disapproval
• #ot1-perplexing-regexing
• #ot2-never-nester’s-nightmare
The channel names change every night at midnight UTC and are often fun meta references to jokes or conversations that happened on the server.
See our off-topic etiquette page for more guidance on how the channels should be used.
is it automated? probably but thats pretty cool actually
Not auto mated the mod add name to a list n then
Itll make channwl glhave name like thst
Sadly list channels is mod only
The names are changed automatically
^thats pretty dope
Add or list items from the off-topic channel name rotation.
how long is the list by now?
One sec
There is actuall a name list cmd that mod can use
1767 names
oh you wanted processed
this image is cut 4 different parts from it and i have it process gimme me a sec
very good
i have one massive tip for you my friend
scale all incomeing text to the OCR to make sure that the characters are 21 pixels tall
how do i make them 21 pixels tho im scaling the image also wont that do it?
# Scaling parameters
scale_percent = 300 # percent of original size
width = int(cropped_img.shape[1] * scale_percent / 100)
height = int(cropped_img.shape[0] * scale_percent / 100)
dim = (width, height)
# Resize image
resized = cv2.resize(cropped_img, dim, interpolation = cv2.INTER_CUBIC)
smaller text is better, up to a point. there is a drop off in accuracy either side of ~20 - 30 pixels in hieght.
you can use pytesseract to tell you the height of the letters, then do some math and scale the image based on that, then run it through a second time
i know i can dilate, erode, add borders, remove noise but not sure if any those will benefit me more or just make it worse. My usual problem is that ocr sometimes just cant detect the space between words
you're doing everything right, those images are very good, but they are wayyyyy too scaled up
just try scaling them down to like 25%
i heard it has to be 300dpi and i hear its 3000pixels by 3000pixels
well i've never heard that, i looked at a study that had a graph, and 21 pixels tall was peak accuracy for pytesseract
i try to check the text size first
@fierce bramble i cant figure it out how to get text size, is it really posible?
yes it's possible, i do it. give me a moment to find my code and ill send a snipet.
thanks
i dont understand what you mean by that but the images a scraped from game
i mean you should be able to read the memory directly, and get way more information than whats visible
i still dont understand
hook into the games text renderer and just read what its writing, skip the ocr part?
or read literally any other data
im no expert and its tricky stuff, but cool to know
its multipayer game and i do not own it
its like 3rd party helper tool
not malicious
hmm, idunno if the owners of the game would agree
well there is a tool already that takes data from the game itself and they dont care, and if they care when i take data from image at least i have a good experiencie
i know that actual data is 100% accuracy
for the future il never try ocr again cuz its hell to make it work
@fierce bramble when i zoom in i can see a lot of those pixels around the text and i think it can be problem too
omg sorry i forogt
dont worry
for reference, here is my function:
def ocr(loimage, ltol = 185.62976795499998, lerode = 4.3):
image = clean_image(loimage, ltol, lerode)
data = pytesseract.image_to_data(image, config=f'--psm 6 --oem 1', output_type='data.frame')# --tessedit_char_whitelist {char_whitelist}')
rows = []
for i in range(len(data)):
row = data.iloc[i]
rows.append(row)
heights = []
for i in rows:
h = int(i['height'])
heights.append(h)
text_height = most_common_number(heights)
scaled_image = scale_image(image, text_height)
data = pytesseract.image_to_string(scaled_image, config=f'--psm 6 --oem 1')#, output_type='data.frame') # --tessedit_char_whitelist {char_whitelist}')
return data
def scale_image(image, float_value):
width, height = image.size
scale_factor = 30 / float_value
new_width = int(round(width * scale_factor))
new_height = int(round(height * scale_factor))
return image.resize((new_width, new_height))
also make sure your text is black on white background, i see you already have this but just in case.
what about those pixels? can i remove em somehow
they are fine
i run into issues where i dont get a space sometimes
yes i believe that is due to overscaled text
i scaled it a lot lower
use that scale image function
and give it the text height
it will scale it correctly
so float value is 21?
no
float value is just whatever height the text happens to be
that function scales it to 30 pixels tall
anything around 21-30 is fine
also
def most_common_number(numbers):
return Counter(numbers).most_common(1)[0][0]
if you needed it lol
what does it do?
returns the most common number from the heights
since the heights vary alot, you just want the most common one
btw so how i check the text size since i have to give it to scale it
.
it's all done there
so these numbers as the arguments should i change em?
what numbers?
in there
def ocr(loimage, ltol = 185.62976795499998, lerode = 4.3):
that's just for the cleaning, you've already done the cleaning, you can skip that
ok so these commemnted out line has any significance if i use em like white list char?
@fierce bramble
what is counter?
counter is a default library in python
bro just ignore everything other then what you need, you just needed to extract the character height and scale the image right?
anyway i'm going to bed
it's 5:30 am
theistictwerp
it is not a library
i disagree
it's not even a thing
Yeah
maybe you're reffering to the Counter class, which is from the collections module
!d collections.Counter
class collections.Counter([iterable-or-mapping])```
A [`Counter`](https://docs.python.org/3/library/collections.html#collections.Counter "collections.Counter") is a [`dict`](https://docs.python.org/3/library/stdtypes.html#dict "dict") subclass for counting [hashable](https://docs.python.org/3/glossary.html#term-hashable) objects. It is a collection where elements are stored as dictionary keys and their counts are stored as dictionary values. Counts are allowed to be any integer value including zero or negative counts. The [`Counter`](https://docs.python.org/3/library/collections.html#collections.Counter "collections.Counter") class is similar to bags or multisets in other languages.
Elements are counted from an *iterable* or initialized from another *mapping* (or counter):
```py
>>> c = Counter() # a new, empty counter
>>> c = Counter('gallahad') # a new counter from an iterable
>>> c = Counter({'red': 4, 'blue': 2}) # a new counter from a mapping
>>> c = Counter(cats=4, dogs=8) # a new counter from keyword args
Counter is a class 💀
:incoming_envelope: :ok_hand: applied timeout to @fierce bramble until <t:1691129421:f> (10 minutes) (reason: mentions spam - sent 6 mentions).
The <@&831776746206265384> have been alerted for review.
thanks mods
Hey, any data engineers here?
I have 1 year experience as a data analyst and I am trying to break into data engineering.
I know python, sql, hadoop, spark and azure(adf, databricks) and aslo basics of airflow.
Is this enough to land a job?
you might try #career-advice
OKay, thanks!
hey guys im kind of sad right now, im a good student and all my grades were A
but there are one professor who is a irresponsible, in 3 months just went 4 times to attend classes and i recive my grade today and it was a C
and sad, because my friends told me just ignore that, but in my last examn i got a 100/100 and i hand all my grades on time
i dont know what to do in this moment
i texted to the professor but she doesnt text me back
dont talk to the professor, talk to your counselor instead
or the head of your program
throw hands
the chad way
the only way
There is a heavy thunderstorm outside right now 4 me
and in a 5x5km area round my house 25 thunderbolts hit
in my town and a city nearby, the main roads were hit by them bolts
god...just changed router, i had port forwarding setup before for my mc acc server, but this new router somehow has worse software and i cant manage to set it up, anyone willin to call and help?
🎮 ❌
📚 ✅
Lol tech with Tim discord server
INSERT INTO guilds (guild_id, confession_channel_id)
VALUES ($1, $2)
ON CONFLICT (guild_id) DO UPDATE
why does this give me a syntax error
postgres btw
oh nvm a SET was required after
🎮 ❌
📚 ✅
This is an example of #ot0-psvm’s-eternal-disapproval message

!help
That feeling when you open a help thread, see a glaring mistake, but you can't fix it because the op closed the thread
I was probably wrong anyway

I feel this every day i see bad code on master that i cant fix without a jira ticket
This is how i prepare the image for ocr
# Image path
image_file = "im_bw4.jpg"
# Laoded imgae
img = cv2.imread(image_file)
# Inverted image (not needed for 4.0? fact check it)
inverted_image = cv2.bitwise_not(img)
# Gray scaled image
gray_scaled_image = grayscale(inverted_image)
# Binaryse the image (make it black and white)
thresh, im_bw = cv2.threshold(gray_scaled_image, 128, 255, cv2.THRESH_BINARY)
ocr = get_tesseract_data(dilated_image)
This is the result i get
CRIDmg +15%
ATK +23%
SPD +6
Accuracy +11%
This is what i want
CRI Dmg +15%
ATK +23%
SPD +6
Accuracy +11%
The results are very good but i have no clue why only the text on first line never the space between CRI and DMG occurs. I tried erode, dilate nothing helped
Im showing the preprocess image im using for ocr
The gap is clearly there
If anybody got clue please help. Else my other option is to remove all spaces and prepare text myself
TBH I'd consider fixing the text afterwards, but googling, it looks like there's some relevant settings you can tweak: https://stackoverflow.com/questions/47314024/how-to-keep-tesseract-from-inserting-extra-whitespace-in-words
thank you but this thing didnt helped
@jaunty wraith quick make up a word
blarg
right, blarg is now a word
dont want to say anything but you guys are weird 😂
thats such a blarg thing to say
uhytio
i can make up words too
...otyra
betern
macupallo
jervunero (tho doesnt seem as englishy?)
abynios
torveas
here's yer made up word:
spaceginner
🙂
sorry none of your made up words count
only moyen
since he has the power
of the otn

whois moyen
of what?
the one and only big MC of course
/whois moyen
oh man, the IRC days...
How to out the old people: make an IRC reference. Bash.org is still regular reading for me.
it's worth scrolling back through, bit of a trip down memory lane
hmm, doesn't load for me
it was http only the last time I checked.
truly a relic of a bygone era
ah no it seems to be down again, you're correct.
Shame.
archive.org has it.
<erno> hm. I've lost a machine.. literally _lost_. it responds to ping, it works completely, I just can't figure out where in my apartment it is.
Ahh that's the good stuff.
their top200 is still the same as when I was 12 😔
You're 25
I don't actually know but for giggles I figured I'd throw it out there in the off chance that I was correct.
for infosec reasons i will not comment
I lost a machine once
Granted it was in AWS, not a tiny apartment, but I can relate
aws moment

1,712 votes and 129 comments so far on Reddit
Time to use PyCharm like real devs
cool
maybe it wants to revert reverting the first commit?
Me accidentally pushing to main instead of my branch.
REVERT REVERT REVERT REVERT REVERT REVERT
rem is the kinda guy to force push to main
revert is not a real word anymore
I have never force pushed to main.
force pushing is handy to fix bad commit messages and stuff
but only on your own branch
amend?
sure, git push force after amend
If only there was a simple branch protection option to stop you from doing that.
imo force pushing is fine if you're on your own
If only...
Someone should PR that to GH.
I PR'd my first Python related... thing 
rem contributed to github?
Tis a joyous day. It did absolutely nothing to fix many of the issues, but lazily fixed a single instance of it occuring.
at least you have something to put on your resume
wym I made a website, I can throw full stack developer on there now right? That's how that works.
probably
"full stack" pishposh. DevOps Developer
server mainframe... and client.. full stack!
I've got commits on our server infrastructure, but I'm not getting anywhere close to the Rust abomination that Robin has cooked up.
Oh, Devops Engineer! A Dengineer if you will.
let him cook
y revert
how about "the kubernetes guy"
No, it's self flagellation
It's actually the source of my yeeted git files from the other week.
I needed to be punished for using Hugo and not a real framework.
why not
smh
it's go
o-oh.
Because it's not good
But let me have it explained to me again why commit history is important for job applications. :|
is it important for job applications?
I wouldn't think so-- I feel like anyone worth their weight would recognize that it's easily overinflated.
According to the last scout I was unfortunately enough to interact with. :)
eugh.
Them: That's a lot of holes in your history, what's the story behind them?

Explain the gaps in your resume... and the gaps in your commit history.
"Well ya see, I don't get paid to commit to my own repos."
Gaps in my resume are easy. Memorize this one:
Them: Can you explain the gaps in your employment?
Me: No. I'm under NDA.
"you don't have the neccesary security clearance to view my commits"
I forgots, I can reacts here.
I'm proud of this docstring. It's somehow longer than any of the logic in the code itself.
https://github.com/import-pandas-as-numpy/snakehook/blob/main/snakehook/snakehook.py#L8-L26
These are truly effective commits.
nit: The docstring is not declarative. "Perform" over "Performs" plzkthx.
marks changes requested
ruff? Not touched it.
It has a warning for non-declarative docstrings.
Honestly, fairly good. I enjoy it. I've made it a part of my general workflow. Enabling all rules is asking for trouble though.
I just use the tools ruff shoved into one box. Wasn't a fan of TV + DVD combos either.
heh.
"propensity" ... heck, you had the Scrabble dictionary open didn't you?
To preface this before I begin, I have absolutely no idea if other tools (aside from Cmake/make I guess) do this but...
I've recently been using npm to do a lot of the logic behind things like npm run dev npm serve etc.
And it has made me kinda' lean towards trying to implement a similar structure to my pyproject files with poetry.
I'm incapable of not sounding pompous when I talk. Which has the wonderful added benefit of making me sound really dumb when I misuse a word.
I was educated to appreciate big words, but not educated enough to know what they mean.
"Haha they use long word, they must be smort."
I like the word. It's a good word.
I'll never forget the day I used the word "robust" at work and immediately got asked, by my manager, "Robust? That's a rather big word isn't it?"
I don't miss working for that donkey.

I got flak for "digress" once.
But I'm pretty sure I used the word acquiesce when rephrasing the sentence and they didn't seem to mind it. Language is weird.
I think we should go back to grunts.
You spell better than I do, that's for sure.
The internal method os_exit() will still
cause us to lose our dictionary, but this shouldn't happen in regular use.
I would have a field day with you in an office. Oh my goodness the lack of definitiveness!
You've done government work, haven't you?
About 8 years of it 
More options than my hedge fund in this wording. /tease
I need to revisit this project with some new and exciting ideas at some point. system audit events are really cool. 
Now that's the fun stuff.
I'm a little project paralyzed lately. A lot of really cool project ideas that require pretty tedious setup and testing environments, and that saps a lot of the energy away from... actually writing the code.
I've been meaning to learn Ansible as well, but... setting up an environment to actually effectively test Ansible playbooks is annoying.
Automate the testing environment.
Not a terrible idea. I'm still getting my head around the idea of writing tests.
I can explain unit/integration testing reasonably succinctly. Writing them is another story entirely.
Lissen. If you keep focusing on automating all the things you need to focus on the things you need to focus on.... someone else will write the tests. :3c
But then I don't learn 
There's so many things out there to know. Brain is not big enough for it all.
Unit test: Does this one thing (function/method) do what I expect?
https://github.com/Preocts/walk-watcher/blob/main/tests/watcheremitter_test.py#L257-L262
Integration test: Does this one thing (service/app) do what I expect?
https://github.com/Preocts/walk-watcher/tree/main/smoketest
EZ
tests/watcheremitter_test.py lines 257 to 262
def test_to_oneagent_early_exit(mock_config_false: MagicMock) -> None:
emitter = WatcherEmitter(mock_config_false)
with patch.object(emitter, "_emit_lines") as mock_emit:
emitter.to_oneagent(["empty"])
assert mock_emit.call_count == 0```
i've read this like 10 times and i'm still not sure how to parse it
with Python.
Same hat.
I'm just a simple egg who sometimes plays a writer. You expect me to know what I'm typing?
that would be nice, yes
I'll work on it.
In the meantime I'm going to eat dinner and pretent I understand what I wrote down for myself before I fell asleep last night.
G a fallen god on the battle that consumed the land. Trapped by the spell that created that shared dream
Bladed Wing, a forgotten name for the Raven Queen
Okay... this made a lot of sense to past me but they have failed to provide now me with any context for future me to work with.
If you continue this pattern of jotting notes as you nod off, perhaps you can craft a story with a plot line that you don’t know.
One of my many notebooks lives next to my bed with a pen physically attached for just that purpose.
Basically:
I have this problem as well. I cant get around the feeling that im wasting my time. One thing im trying to do is at least write a test when there is fixed regression, to make sure it doesnt come back
getting into the habit of writing testable code is hard
I've gotten better at writing comprehensive tests for some recent stuff, and it has saved me so much mess when refactoring
parametrized tests my beloved
I regularly have the thought, "If I was good at writing tests this problem wouldn't be back again," but I just fix it and move on. Idk if i will ever learn tbh
"here are curated sets of prefixes, content text and suffixes, test all combinations"
how do you know the expected outputs for those tests tho?
a main reason I'm often too lazy to write tests is because I have to go through stuff by hand a lot first
that is fun part: you just compute manually
dynamically generated tests 🥴
but now we gotta test dynamically generated tests
that they generate valid tests
I would be down to take a course entirely on writing tests, like... the class is, "We have this finished project. It breaks everytime we update it. Our job is to write tests." I would take that class.
Yes we need an entire semester dedicated to PyTest
By time you finish school you have learned the basics of python
And make it not cost $200,000
and less studying, more partying
You mean we have to pay and work our ass off?
No you pay me
why spend time and money when you could just learn it on your own
idk, it's something Ive tried to do, and I just feel like I don't know what to test. When I finish writing tests, I feel like, "Wow I just spent an inordinate amount of time wrtiing that and idek if that was worth doing. Did I test something that even needed to be tested?" Like I said above, the only time writing tests makes sense to me is if I see a bug that Ive fixed multiple times keep coming back.
Then it makes sense.
I feel like if I could watch someone's YouTube video where they spell out the TDD mentality would maybe help me to grasp how to write good tests that are worth writing.
idk
Ive basically never walked away from writing a test feeling like anything was accomplished.
It feels like I spent too long jumping through hoops that possibly didn't even need jumping through
you add the expected answer, in the case I'm talking about it was one answer per content text
same test cases augmented with a bunch of half-evil prefixes/suffixes
so you do still have to do it by hand?
automated tests do take some effort to set up at first, but the benefit is that you don't have to manually run them ever again
fair
i've done a bit with pytest but nothing substantial
so still a bit new to writing tests
testing is goated
the repo i've been doing the most stuff on is one where i do stuff when i have time
which is like once every weekend
so it's hard to justify spending the time on writing tests
but i am trying
sometimes you can have parametrized tests like "this should be true for all these cases" and a corresponding false version with a different set of parameters
oh that's a smart way of doing it
i think rust server can be as friendly as this server
iirc it is as friendly
maybe I should read a book on it. Reading a book on OOP is what made me finally understand that when I was new. Maybe a book would be good.
I feel like understanding the concept and benefit of writing tests doesn't necessarily equate to writing good tests, and I think you can be a pretty experienced programmer that never took the time to get good at writing tests.
Rust server might be a littlw more friendly
Huh
I dont think in this world there is a person moar friendly than Edd
Um pick who to put on the gap
Nou i know a person moar friendly than him
My fav 3 helpers here are shenanigans, robin, and gorian
I've found my guilty pleasure. Watching this guy https://youtu.be/QJDpwY5MGjs
I'm sorry im so awesome
my fav is public static void ,opalmist, rem , thuriastic , unalivejoy
Nou
Edd is the best of em
Damn, no ned.
I put edd on the gap
what about me
🥹
With the pfp's and the 'R' names, people regularly confuse me with you. Wouldn't surprise me if you were the intended individual in that list.
Oh no
Based
I love you rem as well
I didn't even see that
Aboo is an OG
code bullet is great
I've binged so many of his videos today 😭
U have a role higher than mod i afraod u will ban me if i mention u in any context
@grave cove is a notorious power mod 😔
Hi, is there anyone who knows Javascript and is aware how to use it in web browser games?
I don't have mod perms
I am also a very nice person
anyone who has to say they're nice.....
what's your question?
what is going on
that isn't normal is it
why is it appending that .in-addr.arpa thing
It's a reverse lookup. You're trying to resolve the host google.com
mh
same
idk how this works but the .in-addr.arpa wasn't there yesterday
the more you know 
Did you reset your DNS or host files?
Also, coincidentally, I've been having issues with DNS. Interesting that you poke that up here.
I am the google 
yup, the google servers were confiscated as part of the American Rescue Plan Act of 2023, sorry you had to find out that way
Ah yes, ARPA.
what
Something cute, note that the IP address in the arpa leaf is backward.
so is what's going on normal
Nyes.
It shouldn't happen in a way that's visible to you, but that particular transaction happens... virtually every time you open anything ever, at least for the first time.
also it's not only google
oh wait
i had a spelling error in /etc/hosts 
127.0.1.1 ArchLinux.localdoman
In computer networks, a reverse DNS lookup or reverse DNS resolution (rDNS) is the querying technique of the Domain Name System (DNS) to determine the domain name associated with an IP address – the reverse of the usual "forward" DNS lookup of an IP address from a domain name. The process of reverse resolving of an IP address uses PTR records. r...

Note IPv4 reverse resolution article.
i want to learn sum networking, at least the basics to know my way around but idk where to start tbh
same
robin suggested community college courses but we got no community college herw 
I've just kind of accumulated knowledge by reading and watching videos lol.
🐜 🕙 🇦
ant clocka?
ant 10 a?
antenna, probably
https://www.youtube.com/watch?v=3QhU9jd03a0
https://www.youtube.com/watch?v=AEaKrq3SpW8
I had to watch both of these recently as start of a prep course thingy.
Frankly, it's not... bad.
john green my beloved
It's not comprehensive, but if you're coming in with absolutely zero networking background, I think it does a good job of covering some concepts that you'll build off of.
.bm
someone pinged me
Anyone know about pentesting and grey hat
I wanna learn those, but there really aren’t many resources on it
https://discord.gg/Wug7tWBZ
https://discord.gg/mSsfEeuv
Grey hat and black hat are no different though so write that down. Unauthorized access to a system is a crime, no matter what morals you think you might be operating under.
got it
what are these
OffSec is more or less the highest quality course provider for red teaming education.
They're asking what courses you might be interested in in their catalogue.
You're not compelled to reply, and there's plenty of information to sponge up in there.
Sorry I tabbed out of this.
https://www.offsec.com/
They're very expensive. If you just want to pick up some cool parlor tricks, start with basic networking, Linux, web vulnerability enumeration, etc.
You can get plenty of practice safely in TryHackMe/HackTheBox.
There's also VulnHub (also chiefly maintained by OffSec).
Are the XXX-100 courses free?
Holy shit thats expensive wtf
I assume the server is useless without the course?
What are the topics you mentioned here?
I have had this profile picture for 4 years
Ur pfp on message n pfp on profile is not similar
well my real pfp
Probably nitro pfp on server
The cat one is nitro pfp on thus server
This
Server
SMH I used grammarly bur still
Couldn't fix that issue
I made my profile picture in like 7th grade in photoshop and it just stuck lol
Based
Ur real name is Robin?
I don't think so
I should make a pfp
But i like this one
it is indeed
my dad was an avid bird watcher when I was born
Wow










