#ot1-perplexing-regexing
1 messages · Page 179 of 1
@granite tree Hi
no selfies plz
@loud coyote i think (most) parents just want good for their kids , maybe they dont know how to express their love/appreciation properly , maybe they dont "get you" , but i believe their intentions are for you to just have a good future
They are also humans and just like how you might struggle with some things, they might struggle with some
yeah
i dont mean to say what you feel is wrong or unjustified , its totally fair what u said and totally valid , but we also have to look at it from the other side
Is there some standard way to describe binary file formats? (to humans, not computers/automatic parsers or something like that)
Or is it just: make a long markdown document using informal language? (which is what I'm currently doing)
I don't think there is such a standard. If I'm writing a spec, I usually just look at the other specs out there and copy them take inspiration.
Apparently my markdown document was good enough for DeepSeek to generate a parser on the first try
Haven't tested it on edge cases, but it seems to understand valid files
unfortunately it failed at generating a Rust program, only the Python program worked
The reasoning includes this line for example:
Let me write a small Python script to parse it.
Is that some kind of hallucination? Or does that mean that it's actually writing a program and running it on the server?
honestly, being given a more formal thing would be useful to me as a human
something like
https://docs.werwolv.net/pattern-language/
can be pretty neat to describe a format
Are there some examples for this language?
probably somewhere, the docs don't seem to have too complete examples
idk which format is an example of a simple format
probably you could, but it wouldn't be overly useful
the tool is more geared towards binary formats
because it was written for a hex viewer
Here's the TLDR of my format:
- the file defines a fixed number (currently 5) of sections (let's call them
static,strings,foo,bar,baz) - the file starts with a magic header and an offset table, specifying where each section starts and how long it is
- the
staticsection defines some fixed fields laid out in a non-dynamic way - the
stringssection defines a list of "entries" (consisting of anoffsetand alength) that point into a shared buffer blob. The buffer is located right after the list of entries. Strings may be empty and may overlap in the buffer (e.g. if you havebananaandban, they could share the same location in the buffer, and the entries will look like420 6and420 3) - the
foo,barandbazsections each define an array ofFooItem,BarItem,Bazitem, each prefixed with a count. Each item is fixed width. Items sometimes refer to a "string" by the position of its "entry" with various validity requirements. A string ID must always be present. Sometimes a string is expected to be valid UTF-8. Sometimes a string is expected to be a valid array of(f32,f32)(i.e.: its length must be divisible by 8)
for some details BazItem is a tagged union
that sounds like something that the pattern language should be able to describe
from what I remember from last I played with it, it can describe things like "at the offset read here, there is a Foo"
I guess for context, the language is made to allow coloring of sections and stuff for ImHex the hex viewer
Fancy, I just usually throw stuff at serde/bincode (tho I might need to do something custom soon due to a major limitation with them that will cause a lot of disk and memory bloat)
||protobuf||
well, bincode isn't really around anymore it seems
Wait really? I still use it
I know I could've just used postcard or something like that, I just wanted to make a fun format
there's been some... drama with it
Does it handle Rc well? My problem is I'm saving and loading a lot of entire which point to a lot of duplicated data, and when it's generated at runtime it uses rc to share that data etc, but serde/bincode just duplicates the rc data for each entry. Which I suppose is kinda fair, but for my use case causes a lot of data duplication
what's this format for?
Game levels
Which when loaded back into ram also causes a lot of extra ram usage
postcard or even JSON would probably be fine for this purpose, the level size will be completely dwarfed by the executable size
but I was thinking of porting my game to some exotic platforms later
Googled that, that's huh.... Guess I'll switch to serde with some binary format then
e.g. if I want to run this on a microcontroller, fitting a level into 10k of RAM and making it zero-copy-ish would be great
You wouldn't get anything for free like with serde, you need to define the structure you are storing. Presumably you would have some repeated field for your data and then have integers to point into it for this kind of deduplication
Yeah that's what I was assuming, I'll figure something out
actually, if I was optimizing for size, it might make sense to lean into variable width stuff. E.g.: it's very common for f32s to be integers, in particular integers that are multples of 6. So I could define some shortcuts for that, idk
Just wondering, what's your magic header? Something fun?
Here's the format description https://github.com/decorator-factory/penguin-game/blob/trunk/docs/level-binary-format.md
Ah so just a good old what it is header
yeah, like PNG
I went for danger noodle for my recent communication protocol
the previous level format is: Rust code generated by a Python script. So any format is probably an improvement
Btw i really love LDtk for level editing in 2D games, but ofc depends on the project wether you wanna use that
it doesn't support arbitrary polygons
Ah
I went with Tiled, which seems alright
or rather, that's the only option besides 1) Inkscape 2) writing my own editor
Most of my games are grid aligned so was never really a issue for me
yeah, people are hesitant to even add slopes sometimes
I can understand why
my physics are low key super janky
Slopes are easy enough, I generally let LDtk handle their rendering then on the code side I just attach a different collider
the only reason the game is (arguably) playable is because it's running at 240 ticks per second
The bevy plugin makes that super easy
Also btw here's my format https://github.com/Serpent-Tools/serpentine/blob/containerd_rewrite/book%2Fsrc%2Fsidecar.md
This project also has a caching format I need to refactor so haven't documented it yet
The sidecar will send a u8 representing the length of the following path
I'd upgrade that to a u16
Pretty simple thing, generally just magic header, request kind, maybe some metadata, and then streaming binary data for the rest of the connection
Well we control the exact path generation logic, I think atm it's always around 50 chars so
But yeah not the most complex thing, just a header maybe some simple metadata, and then streaming arbitrary binary data
that's...certainly something
Could make it a varint
That way it would probably be 1 byte in most cases anyway
status update, this test file is now 45k lines
Is splitting into multiple files not allowed?
even as an avid small file hater, I admit that 45k may require some design reconsideration...
it's ok, the implementations of the utils are only ~8-9k
I love the "stuff it all in utils" trope
don't need a unity build when everything is already in one file
Found some of my mother's books from the 80s
nice!
Wowwwwwwww that’s super cool
!user
You are not allowed to use that command here. Please use the #bot-commands channel instead.
!server
@nova wyvern tho admittedly the main package in this project has 392 dependencies, but it also has a good amount of direct deps and does a lot more ```toml
shell-words = "1.1.0"
uuid = { version = "1.18.1", features = ["v4"] }
ignore = "0.4.23"
tokio = { version = "1.48.0", default-features = false, features = ["rt", "fs", "signal"] }
futures-util = { version = "0.3.31", default-features = false }
bollard = { version = "0.19.3", default-features = false, features = ["http", "pipe"] }
async-tar = { version = "0.5.1", default-features = false }
containerd-client = { version = "0.8.0", default-features = false, features = ["connect"] }
oci-client = { version = "0.15.0", default-features = false, features = ["rustls-tls"] }
serde_json = "1.0.145"
oci-spec = { version = "0.8.3", default-features = false, features = ["runtime"] }
prost-types = "0.13"
tokio-util = { version = "0.7.17", features = ["rt"] }
tower = { version = "0.5.2", default-features = false }
bumpalo = { version = "3.19.0", default-features = false, features = ["collections"] }
sha2 = { version = "0.10.9", default-features = false, features = ["asm-aarch64", "std"] }
bincode = "=2.0.1"
thiserror = "2.0.16"
strip-ansi-escapes = "0.2.1"
log = "0.4.28"
miette = { version = "7.6.0", features = ["fancy"] }
ratatui = "0.29.0"
clap = { version = "4.5.47", features = ["derive"] }
directories = { version = "6.0.0", default-features = false }
fern = { version = "0.7.1", default-features = false }
layout-rs = "0.1.3"
ctrlc = "3.5.1"
heapless = "0.9.2"
hyper-util = "0.1.19"
392???
transitive dependencies, yes
wow
it pulls in the tonic and tokio ecosystems so theres a lot there
yeah id imagine
Is this a group for learning Python?
its more generally a group about python, but yes we are more than happy helping out new learners by answering questions or pointing them towards good resources.
@timid latch I'm in my first month of learning. I've learned the basics and I'm striving to learn how to organize my thoughts and write code without logical errors.
viv
is your pfp someone wearing a mask or someone smiling
Merry Christmas everyone, Jesus loves every and each one of you, have a blessed day and don’t forget to show love - the thing that keeps us going. Love yall 🫶
💔 this thing is of ZERO HELP 🙏
Chatgpt based formatter?
is anyone exprienced in open cv tommorow is my project pls help
Smart quote from the Internet: lack of planning on your part does not constitute an emergency for us.
You literally joined the server today - why not when the project was assigned? You could've gotten help and did the project when there was still time. But no, you joined today, a day before your deadline...
it was assigned to me today my friend changed last minute so ihad to do it
andmy wifi was not here it came like 2 hrs ago
What do you mean you had to do it?
Just tell your friend what I told you with lack of planning ;P
my school told me to do bcuz his relative died i wasnt doing it at first(likethe wholeproject thinggy cuz uk i should study but here i am)
i am close to solving myproblem btw
That sounds weird. Your school told you, on Christmas Day, to do this project with just one day until deadline (which is also a holiday)?
i dont live in usa or any country where christmas is a big thing btw do you guys open present this night or the next night
it is a holiday tho
You said "cuz uk" above 
("you know")
Then how did they assign you to do it when it's holiday? You're not at school, you're not required to check your email/teams/whatever when it's a day off school
I just love how much time such shorthands save. /s, obviously
Especially since now we're spending even more time explaining they didn't mean a country
my keyboard is garbage XD thats why
that's yk 😭
i fixed the issue
it took a me while, but i swapped the LF and RF angular velocities each timestep. i put a 1 instead of a 0 on an index
6 hours of my life wasted
"yeah bro, remove the brackets here so the interpreter can do BEDMAS. it'll solve the bug"
burp exponent division multiplication addition subtraction
bedmas
I still learning Python slowly but never stop it,
why hand-write the code?
I’m strong and joyful in my journey 🔥
Due to don’t forgot it
Nothing stop me only death it can
typing it would help memory more i supect. it would also be more likely to show your error
that's actually not true
I know I do it some time on terminal and paper
Why ?
well, the first part at least. writing on paper will probably make it harder to find errors
surely using a pen or such is not significantly more contributory to memorization of an action almost invariably performed with a keyboard (i.e. without a pen)
I knew it, but that in beginner only, just for fundamental of Python
Thank you to your advice.
I love this community, it gives me power to continue my dream before I dead, much appreciated.
Before you dead
"before I die"
"before I am dead"
you've killed him
I assumed they're practicting for a test, a lot of schools and even unis do coding tests on paper
Hello everybody.
Please help me.
Head of Infrastructure is Operation function or Information Technology function?
much appricated Teacher OpalMist
Please don't spam the same message to multiple channels.
use the channel help, do you're question there, then you will find answer
It's not a python question.
Yea it sounds more like a #career-advice
btw does anyone knows what he is talking about
Any guesses?
I'm guessing he's probably applying for it and wanted to see if his qualifications match
Another guess could be to understand what the role's main duties are
Either more towards operations/devops kinda work or more towards architectural and software development work
All guesses
hi
I think the answer is probably largely dependant on the individual role
nice handwriting btw
it appears research is inconclusive but handwriting *may* be better
memory wise
The systematic review resulted in identification of 33 eligible reports containing 42 independent samples and 88 effect sizes, all evaluating whether there are recall differences — almost always operationalized as scores on a quiz given after exposure to lecture material — between participants taking notes by handwriting vs. typewriting, that is, the modality effect. A statistically significant overall meta-analytic average was found g = +0.144 [0.023, 0.265], p = .021, benefiting handwriters over typewriters. This is a small effect; on average, in the typical study typewriters scored about 50% on the recall quiz. The effect size of g = +0.14 translates into an average percent correct of about 57% in the handwriting group. There is some evidence that providing participants with an opportunity to review their notes might substantially reduce the observed advantage for handwriters.
so yesnt, it is better
depends on the subject (i.e. almost everytime) but i generally like the freedom of handwriting
i can write symbols and graphs easily and the speed of writing can be solved by shorthand or missing unnecessary letters
on the subject of code though, code should be typed
especially for code in a specific language
pseudocode is fine for handwriting but typing code should be preferred if possible
Handwriting is tedious
25 wpm handwriting or 100 wpm typing
Typing wins every time
You are not going to be typing something like latex at 100wpm for extended periods of time
I'm not gonna be handwriting latex very fast either
My classes aren’t hard enough for latex
I've had to do Ocaml by hand a couple times until I finally passed the course
learn cursive
Not gonna make me any faster
cap
they taught cursive when i was in school
my cursive wpm is probably less than 1
unironically, probably maybe 10ish
6 Seconds a word in cursive? I can do like one a second if I lock in
so you can never hit a word per second for cursive, then.
good to know 
the trick is to not give a shit what your writing looks like
My handwriting is pretty terrible and I'm not even that fast, it's truly tragic
isn't writing faster what cursive is for
Yup
if you do real cursive and not what most people do
which is just connect everything randomly
palmer cursive
I was taught cursive in school exclusively, and honestly it feels like it could be improved, e and l look too similar, for example
there are plenty different types
look at spencerian
cold take
cursive Qs that look like 2s are incorrect
yeah..
generally if cursive is done right nothing looks too similar to be confusing
Which isn't really good enough.
i guess everyone is doing it wrong
thats how it works man im sorry
Most cursive text is pretty illegible tbf
i exclusively wrote cursive throughout highschool, and i'm honestly not sure if i'm faster with it
you also need to learn how to read it
There is just more lines per area than the more common scripts
Which makes pattern recognition hard
I don't think cursive is faster if you try to get the same legibility out of both, and if speed is what you want learn shorthand
grew up with cursive in school.
gods i hate it when puzzle games use cursive diaries. like yeah it makes sense in context but can you at least make it so folks can read the thing without spending 5 minutes per page
chatgpt rewrite this cursive text in normal letters
I have no idea what that says
like sure that's getting killed by compression, and being a google images screenshot from a youtube video, but absolutely no
man my grandma always writes cards in cursive
I have to ask her what certain words are
@carmine apex WTF game are you playing?
ah fug somebody transcribed it
close, but not quite, though
a profit on the work of others is
distasteful. I find much more
value in the act of creation.
Not that I have yet created
anything, I've only ever under-
stood more closely the world that
is laid out plain for all to
see. I understand why most
find it so diffuclt to find the
substance, The true matter of the
universe for all of the distrac-
tions. These people are not
short sighted, there is simply
too much to be seen.
that's from near the ending of the 27th nancy drew game, the deadly device
Wonder if I have that one
as a bonus, there's probably like 10 pages of that cursive stuff
"oh yea, i guess i know what i'm doing for the next 30 minutes"
They made so many they literally don't fit on my screen
Oh yeah there it is in the middle
pro tip:
right click -> properties -> customiation -> scroll down to "custom sort name" -> 🥳
wait what
these are in the correct order doggo
not only do i have a ton of categories, i have multiple category types
I'm saying that's not worth the effort for me
That's a thing?
sorta
you can have membership in as many categories as you want
so i have categories for names per starting significant letter (meanign the game is under G)
and achie progress
Wow collections are confusing to delete
- campaign completed is when a storyline/etc is finished, but the game has no achies
- imperfect means i don't foresee ever getting all achies (multiplayer or dead achies, for example)
- perfect is steam's name for having all achies
- awaiting means storyline is done but a significant amount of achies are still left
- imminent means only a few achies left (for large numbers, probably 80%+ completion)
I only have two perfects in all my time on steam. I don't think these were on purpose either. 
I should replay Thomas Was Alone. I could use a good cry.
I don't know that one
Masterfully narrated game.
I couldn't get into Subnatica
I'm just floating in the water, and... thats it
gimme something to shoot at



What do I got for narration?
Have you tried The Stanley Parable?
i'm not all that far from 10k achies and a thousand games tbh
Yeah, very good.
one of these i actually perfected yesterday
The Roottrees are Dead - The year is 1998. A private jet belonging to the Roottree Corporation has crashed. On it were the Roottree Sisters and their parents. Combined, they were worth over a billion dollars. Now, due to the eccentricities of their great-great-grandfather Elias, their money must be redistributed to the rest of the family. But wh...
"geneology mystery puzzle game" is one of the things that's a lot better than it might sound
Maybe you should try https://store.steampowered.com/app/1379550/The_USB_Stick_Found_in_the_Grass/
It is a bit difficult to classify The USB Stick Found in the Grass as a game; it is more of a combination of a literary work and a forensic puzzle. If you liked A Normal Lost Phone or Her Story, you will probably like TUSFitG. You are given a virtual representation of a USB stick that was found at a scene of a possible crime and you play a police…
Price
$9.99
I haven't played it yet
game reocmmended by doggo
6th image in the buy-me pictures is a cat
My uncle said catholics are a heresy
i recognize exactly one of those achies
I am seething at your pronunciation of that word
middle row far left is the russian solitaire thingy from the biopunk zactronic iirc
Most of those are from the same game, human fall flat
ah. exapunks. and it's not from ПАСЬЯНС, but the other minigame
hack*match
exapunks
The one achievement missing in that game
That would be an improvement over my current look
I automated a solver for the molek syntez one
That was at least fun compared to playing it
rabid dog
heard pydis has one
perhaps an ot channel

*rainbow dog
easy mistake to make
up there with
"naval insurance investigator mystery puzzle game"
i.e. ||Return of the Obra Dinn||
I decided to check my sib's steam and it seems you're more no-life than them with their 16yo account... ~5.5k/55/51% FYI for their profile
Meanwhile I'm a noob with 404/2/59%
sib is?
Ah okay
in tutorials for deploying self-hosted services with docker, i see some of them suggesting to use a strong password for the database, even though
- it's only in that service's network (in the case of docker compose)
- it's not exposed to the internet
if an attacker takes over the side that's exposed to the internet, or even the host OS, it won't matter if a strong password is used since they can just read it
so: why? why change the password for something that shouldn't ever be messed with remotely anyway
Could it just be a habit or best practices when picking a password? Even if it's not exposed
wait till i give you my gtav savefile
I suppose it's a case of "why not?", like it's easy enough to do and it does add extra security in the rare edge case there is a limited form of rce on the internet exposed part, or you mess up the network isolation down the line, or...
@stiff robin if we want to look at the brighter side, the ability to actually get shit into orbit might revitalize it
Consider being able to have a 1000$ orbital telescope
The expense of putting big things in orbit and the expense of maintaining them is high. Ground based astronomy has many logicastic advantages. Not to mention people as a whole rather than the few high profile enormous telescopes.
Yes, but I'm more referring to stuff like cubesats
Yeah, but they're toys for the big observations.
The atmosphere is a major observational barrier
I would expect slightly better quality with a different perspective from small space telescopes compared to ground ones
generally only a few wavelengths can make it through the atmosphere, and even then you need adaptive optics in order to deal with the atmosphere
Does discord have a todo list function?
Some people abuse !remind in #bot-commands
But no, Discord doesn't have a native feature for it
If only they did have it I could use that on some personal servers just for saying reminders because with all my coding projects and everything I have todo
Have you tried GitHub Issues?
No I could probably code a command although I would prefer it to be a slash command! Always gives me a headache for some reason I don't know why
the interactions api exists
why does this need to be in discord?
no, personally i use external sites, like todoist…
Worm mode
When I think of living under a rock, I think of patrick. That mf is the happiest I've ever seen for not working, and is still surviving as he is and I'm jelly
We should all be as simple as patrick star
Just in general so you can set reminders for yourself because Google keeps gives you a list but it never reminds you when it has to get done you have to set a separate timer
that's how most reminder apps work
Google tasks has reminders
You can set them to recur too
you can set a reminder, and optionally set a deadline
I would prefer one that does those, and also allows me to set them into four categories:
- Urgent and Important
- Important but not Urgent
- Urgent but not Important
- Neither Urgent Nor Important
And then put them on a 2x2 matrix for me to see.
Google hates me so I'm hoping that they add such functionality to discord so I can use it that way
urgency-importance alignment chart
-# As someone currently working on a todo app for themself
what effects would those have?
Look up the Eisenhower matrix
the Matrix movies as imagined by Dwight Eisenhower
I kinda want to learn graphics programming. Any opinion on what resources I should investigate? I am considering one of:
- WebGPU: https://google.github.io/tour-of-wgsl/ and https://webgpufundamentals.org/
- WebGL2: https://webgl2fundamentals.org/
- wgpu (cross-platform Rust library): https://sotrh.github.io/learn-wgpu/
I am a bit confused about the state of graphics programming. Is OpenGL still alive and used by new applications? Is there anything wrong with it?
WebGPU seems cool and shiny but it doesn't work in Firefox on Linux yet. Still it seems like it will be relevant in the near future.
From a brief overview learn-wgpu looks a bit shallow and more of a tour of the library rather than something that would explain the more general concepts. So I might just cover all of these in order?
Nothing really uses OpenGL no
Web stuff in general is pretty meh
If you want to learn how it works intrinsically, look into Vulkan
Vulkan is really really complicated
And its not going to be much better it unless you are writing software for AMD gpus specifically
OpenGL has much better performance on nvidia and is much easier to get into learning graphics
But it's pretty dried up
it depends
And Vulkan is the way forward
I also don't think Vulkan is that complicated
More boilerplate but
OpenGL is alot better to start learning. C++ is used everywhere, still a high learning curve
OpenGL is still perfectly fine, and a ton of more Cross-Platform GPU stuff uses OpenGL-like APIs. Vulkan is a bit of a nightmare to get going, but also viable. DX12 is common as well, but very proprietary
Who is running DX12? I thought DX11 was still the windows standard
I see it pretty regularly
Guess i need to upgrade
It's very different from dx11, and the challenge is adapting to the performance characteristics of the thing
AFAIK it's pretty much the same as Vulkan, so draw calls are cheaper
Ok
do you have a TL;DR of why a new API was created after OpenGL and what its use cases are?
does Vulkan just give more control and such?
OpenGL doesn't work like GPUs do
Vulkan is alot more direct to the gpu
So drivers have to do a lot of work to make OpenGL efficient
Some say Vulkan also doesn't work like GPUs do, but that's getting a bit too deep into the weeds of it for my knowledge
Is OpenGL implemented as a wrapper around Vulkan with modern GPUs?
I doubt it
If you wanted to learn web graphics specifically, would webgl or opengl be better to start off?
Most GPU manufacturers probably have OpenGL driver code that predates vulkan
Maybe Intel GPUs do this
well, as I understand it, WebGL is the OpenGL API adapted to JavaScript
you can't call native code directly in the browser
Ok
Yea, webGL is "just" OpenGL, similar to googles ANGLE
Oh, OpenGL also has versions
WGSL finally allowed float literals without dots. Enough reason to switch imo
||123e0||
Basically, I have a Rust program that uses macroquad, and for various reasons I want to at least attempt moving to a more cool and shiny set of dependencies while also not bringing in the entirety of crates.io. So far it seems like my options are (glow or wgpu) + winit
Ye, that seems like reasonable picks
If it's a full on 3D game it may be worth looking at Vulkan directly IG
It's a 2d game and I want it to work in the browser
Ye, glow should largely just be the openGL API copied as closely as feasible
https://github.com/Alex-Velez/raybit
The official (non-official) Brainfuck bindings for Raylib
you can't make a bf superset smh
all byte sequences are a valid bf program (outside of misbalanced parens unless you have the weird variants)
yeah, it's kinda inaccurate
we need a strictfuck that makes it possible to do extensions
but admittedly +-, -+, <> and >< is a pretty clever extension mechanism
yea true
I'm currently reading Tour of WSGL and it's a bit uhh circular
https://google.github.io/tour-of-wgsl/variables/var-workgroup/
var<workgroup> declares a mutable variable in the workgroup address-space.
The memory of a var<workgroup> variable is shared between all the invocations of the workgroup, but cross-invocation accesses must be synchronised with the use of atomics or workgroupBarrier().
the tour never explains what a workgroup is so it's very funny to read. It's like "var<asdfgh> declares a mutable variable in the asdfgh address-space."
classic
Here's a programming language problem: most useful code is in functions. Because programmers like indenting blocks, most of the code ends up indented at least one level. Is there a good way to delimit functions such that that extra level of indentation is not needed? Maybe it's a deficiency of editors rather than a fundamental thing?
no
there is no good way to delimit functions
jk lol idk
And if it's in a class or other similar thing, it's another level. And if there's a #define or something like that, yet another level
though I think C programs sometimes skip indentation for preprocessor stuff sometimes?
"Ahhh, warm vent" ahh blud🥀
"What is blud anyway" ahh blud 🥀
The children speak an incomprehensible language
it was originally british slang before the internet picked up on it
Slang for what though
I can't think of anything that blud could be short for
At least not in English
it was derived from "blood"
So it's just a misspelling?
Intentionally?
So it's just stupidity?
it's not a misspelling it's just british slang
and it's what it happens to be spelled like
it's used like "mate" or "friend" informally, like "whats up blud"
But that's blood though
Like blood as in family
Like fam
We don't say what's up fæm
We day fam
Because that makes sense
You save one letter and look dumb by misspelling blood :s
it doesn't really mean "blood" as in family
like how british people say "oh bloody hell"
Created in Multicultural London English, of Jamaican origin. Has since spread around England, and thence Anglosphere and online. Claimed to be, via eye dialect spelling, from Caribbean Creole blood (“family relation, close friend”) (compare blood brother). Possibly derived or reinforced from brother; compare bro, bruh, brudder etc.
Derived terms
Diddy blud
what is this diddy blud doing on the calculator?
well it might be at least
it's since broadened from family
It's still "blood"
yes
So it's still spelled wrong
That's all I needed to know
I now know I'm just looking at an incorrectly spelled word and not a borrowed word from another language
So I understand the meaning
it is a misspelling, in the sense that "bro" is a misspelling of "brother"
and the like
it's just informal
Thats a shortening though
There's no U in blood
There's a bro in brother.
Nowhere near the same.
'ya sure young blud?'
how do you feel about the spelling of missus, usually used in a nominative form (i.e. "the missus") a synonym for "wife"?
AAVE has a wide set of established rules as well.
Miss 
I have been educated
"blud" ahh blud
is blud einstein?
Raku has unit sub foo which declares the entire file as one function body.
which is probably not super practical as a core policy
Use larger font sizes for function names
Zig has a similar feature but with structs
GDScript too apparently? (with classes)
src/DiagnosticsCollection.zig line 26
const DiagnosticsCollection = @This();```
all the fields above this line are struct members
I'm actually confused why Java doesn't have this from the beginning. Doesn't it have a restriction of one public class per file?
what the hell
don't tell me zig has some dumb naming convention like Go
why is it mixing snake_case and camelCase
src/DiagnosticsCollection.zig lines 352 to 355
const src_loc = eb.getSourceLocation(err.src_loc);
const src_path = eb.nullTerminatedString(src_loc.src_path);```
probably just variables snake_case, methods camelCase
I can confirm that is the case
Some variables can be PascalCased tho
Like comptime types (basically generics)
yeah I think that'd be better suited as an editor thing than a language level construct
an editor feature letting you focus in on some function/class and automatically dedenting could be interesting
you either need an end symbol or significant identation or some other kind of recursive start symbol, right?
unless you can do something like define amount of lines on the signature
If you could do anything, you could also use double lines to mark scope ends, or use formatting, maybe every method gets a color, and submethods get a different shade of that color
but i guess on a more abstract level it should be either an explicit end symbol, a way to encode scope in the start symbol, or a way to delimit length of scope on the method's signature
another way would be just going outside the usual text-based thing, and doing something like visual programming does, where each method is a box/card
@dapper shell have you enjoyed cooking?
i do very very little cooking, why do you ask?
(or, you know, ask a question and then disappear 😄 )
Randomly pinging nedbat is crazy
Is randomly pinging you crazy?
do you find any kind of difference between programming and cooking?
Cooking is so much better
You follow instructions instead of give them
And the end result is potentially delicious
or potentially dangerous
not true:)
you can definiteIy use other ppIs recipe to make software
&&
you can definiteIy use other ppIs aIgorithm to make food
Most often you dont tho
mar how do you bring ai to your kitchen
I walk in?
depends on the programmer/chef?
how do you vibe code in the kitchen
yeah there's a robot that cooks now
I prompt the gf
a person who knows his craft couId def come up with something more interesting!!
are we comparing vibe coding to vibe cooking now? 💀
Shes a gpt
she said she was a calculator
Wtf is a gemini
icl I spent peak times with cortana
thermomix has existed for...a long time
not really she forced her way into my life and forced her way out
don't question my authority
All she needs is the sexy models from the halo games and im going all in on ai
master chief master chef
master chef
ones a game and ones another game
Master chef your pasta is overboiling
peak
whats the limit
It's probably a context limit rather than A hard message limit
I looked into it and it appears chatGPT does have an 8000 token context limit which is surprisingly low
hi. if i want help/feedback on a project, but don't have really any problems that need help at the moment, can anyone tell me where I can go/ask?
sounds like you want a code review?
make a post in #1035199133436354600 with the code review tag
sounds good, thank you
You what
You keep a single thread for scratch?
As the threads get longer it gets “confused” and context goes out the window
Keeping smaller more concise threads helps a lot with helping it “stay focused”
wrangling a llm like it's a 5 year old
I may have uh… a bit of practice
Close enough
i was pretty bummed with google's year in review
243.6k em dashes is insane
I didn’t even know they had one
What’d they do?
usually they compile the top searches & present it a lot better.
this year felt a little too disconnected
It’s so weird to me to see myself be in the “top 1%” on Discord and Gippity
I only use Discord after work for the most part
And while I’m on and off Gippity all the time, it’s normally a “keep my hands busy” filler while I’m watching some batch process tick through records, so I don’t feel like I’m “on it”
Everyone’s overall?
usually takes trends from trends.google.com but this time it felt like their ai-intellisense or whatnot was overriding the actual intended searches
Here is a direct link to their 2025: https://trends.withgoogle.com/year-in-search/2025/us/?hl=en
hm, they seem to have been doing this since 2001
interesting
I saw it for the first time in 2019, theyve continued to gain traction with their videos (especially 2020), but to me it felt less connected this year. it didnt feel as political or as 'hot'
It's pretty big on gpt5, I've been sending random stuff for months in that thread
I don't think those ideas need a enpugh thinking for that
But I do agree that I have 9293994924994 other much threads for smaller tasks :')
what was your motivation?
wow
morning
Good evening
bad evening to you
first code i've ever wrote was in basic aswell just taking user input i jokingly thought thats how facebook is made aswell and i could do the same
but i wasn't surrounded by very techy ppl so i wouldn't know
I didn't meet any other techy people until I got into high school
then i tried python in 2022
Which was like 6 years later
this is was high school for me tho
I'll probably never ever meet another linux user irl
go to coffee shop
they always sit by the window
linux users are always on the go, search planes
do you still write C for fun?
i have done some coding at the coffee shop before
himm
perhaps a bigger coffee shop next time
i don't think i could code when people are like on dates around me or just yappin
I wish I could code and game somewhere with better vent
i think i should just start applying for jobs
r u in your late 30s?
sometimes i post up in my local coffee shop and just do chess puzzles. always a fun vibe
dem is unc
Yes, I'm 37
unc
is that supposed to funny or insulting? 😭
insightful
but he is a good unc
he never tell us to pick our self up by our bootstraps
I'm not an uncle yet, my brother doesn't seem interested in having kids
does he code
for living?
yep
he's the head dev
what line of work tho
We're both in fintech
lol
The stone cold Steve austin of money tech
you referred him to your boss or smth?
I think he got a new job recently though, I don't remember what exactly
No, we're at different places
i remember when my sister came out of the closet:
"Mom you won't get any kids from me but onedisabledfromprinterfromhell will knock someone up in the 7th grade"
And different types of fintech
?
he ain't in finland?
Did you?
Neither one of us is
lemme guess
But I meant he's at a different employer
Nah I invested in a smart doctor
wiat you're not in FINlland 😭
the last time I was in a class room I saw girls I knew since kindergarden 6 or 7 months pregnant
that was sure something
Antinatalism verse Natalist.
People are not allowed to make pragmatic decisions about children
it either
or
I couldn't take 2 strokes off my dad's golf & he definitely suffers as a result
there is not a sfw gif I could send
I usually just leave servers muted to avoid notifications & then open the channels im in most often
wym?
i need it to read me the whoIe chat
As in audibly read you or just mark as read?
yeah
oh I see what you mean now, the speak message lol
Iooking at screen for too Iong is bad
aIthough its voice is not as naturaI its robotishh + i have voices for everyone in my head anyways:<
Might legitimately spell the end of civilization as we know it
Do you have a balanced news diet? Go to https://ground.news/KiN to see reporting from a variety of sources and perspectives around the world. Subscribe for 40% off their unlimited access Vantage plan through our link.
Sources & further reading:
https://sites.google.com/view/sources-korea-is-over/
South Korea is heading toward a demographic col...
@terse harbor
Six sept?
Japan is cooked too
All developed countries are, to a lesser or greater extent
what's an africa anyway
South Korea is just the country that's in the worst situation
what exactly is this rest of humanity anyways
🙏🥀
have you ever bee struck with a doubIe decker bus?
Mr philisophery here
at what point the does humanity end and the rest of the world begin?
what about russia?
I didn't say humanity will end
Or even civilization as a concept. Just civilization as we know it.
who?
semantics then I should of read the of A civilization
is there a movie about it?
2012
tom cruse?
never watched that movie never will
why IoI?
I don't touch anything live action with dwayne the rock johnson
not since the wwe
you can't predict when the worId wiII destroy
not past 2010
maybe it wiII be 2012 maybe not
I think Russia is actually extra cooked because all their young men are dying in the war.
maybe in 2013 we never know
🤣
??
al Gore lied to use
And their economy is a post-apocalyptic wasteland.
he promise newyork city would be underwater by 2020
he was wrong and if he was right it would of been the cleanest the city has been in dedcades
are they... what about ukraine then?
I don't think the war is that bad for em, But I did not know russia assembles armies the same way europe used to back in the fucking 13 century
RU's meat grinder is much different than Eisenhower's.
and what way is that 👁🗨 👁🗨
RU's meat grinder is just young men being thrown to the front.
You eventually run out of those resources (& heroin).
feudal army
👁🗨 👁🗨
👃
👄
Ukraine is also taking a beating, but on a much smaller scale than Russia.
no
I recall either nations capital being effected yet
The relative losses are much greater on the Russian side.
Nothign makes me cackle more than when top brass in RU gets replaced
i.e. fall out of a window
There was a list somewhere of leading RU officials who have fallen out of windows lmao
they just don't make windows well in that country
windows by Conor Clapton
So guys new year has come for some happy new year, how has this place been over the years?
youve been here early?
The good old days are over
I was here for a very very long time yes
i do remember the early days joseph was a true guy
do you remember when lemon was activate
I've never seen him speak in a normal channel
no ive been not around only in the early days of this server
now I'm wondering if it was 10k members or 100k members, it looks like I joined in 2020
though I swore I was here earlier on my previous account, but my first messages suggest otherwise.
And yeah I do remember lemon being around.
PRIME LEMON?
he surely is doing background work you just dont see him there is always a staff channel :)
I miss lemon, he's a nice guy.
Hes still here no?
is he still alive?
I mean, he's not active like he used to be. I think maybe I've seen him speak once in the last several months.
Several messages 24d ago, then 3m ago
is the relative date stuff mobile-specific?
damn we acted like bro was dead
bro is dead
joe killed him
you know who else is dead?
that's not what i expected
i expected an epstein reference
Eleven because the duffers can't write a storyline to save their life
Ladies and ladles
Today is the 1st day of the new year
And
I've broken my arch installation
🥂
(caelestia sucks ass)
Is that sure, since it does seem to be nuanced?
great start to the year
https://gate.rotur.dev/c2whFIQ
someone with time on there hands make a runner in your most proficent lang
the code is centered??
and... are you asking people to implement your language for you?
i reckon claude or chatgpt could do it
not well
and i cant code in any rlly usable langs well like python or java
that was an accadent
Chaotic evil programming
Yh but more ppl should have died like will is connected to vecna and feels the same pain so why didn't he die when vecna dieddd
I thought Joyce would have been a suitable candidate to die, she would have caused enough emotional response and impact, without hurting the fan base too much
I'm working on a TCP server in Go, there's a bunch of different packet types I need to parse, and I have unit tests for each one. When I wrote it, I initially was planning on using websockets, however decided to change to raw TCP.
The new function signature for the parser is as follows:
func Parser(conn *net.Conn) (*common.Packet, error)
The initial signature was:
func Parser(conn *websocket.Conn, stream *bytes.Buffer) (*common.Packet, error)
The new signature doesn't have to be that, it just made the most logical sense to me. The parser needs to be able to read from the TCP stream since packet lengths are dynamic.
Originally in the unit tests I just made an empty websocket.Conn and passed in a stream. What would you guys recommend be the method for adapting either the Parser, or unit tests to work with this new setup?
I suppose I could abstract away the net.Conn.Read so it can read from either a network connection, or byte stream.
Also some more background, the only methods from net.Conn the parser uses is net.Conn.remoteAddr(), and net.Conn.Read(), so both of them can relatively easily be abstracted away
Yeah I would suggest using only the interfaces you need
And make a mock impl for tests
!cleanban 708149848163090442 spam
:incoming_envelope: :ok_hand: applied ban to @heady lance permanently.
Hi all, I just started learning python yesterday via the codecademy python 3 course. I've never really been good at math, but a lot of the intro material is math-related, so I'm struggling a little bit. Learning lists atm and just asked the AI learning assistant what was wrong with my code and I got this:
Guys, I'm gonna break my monitor, I swear
Alright, back to lurking.
bye
you dont need to know much maths while learning a programming language in general. You just need to know arthmetic operations and knowing basic algebra will also be very useful. Also I wouldn't recommend AI to complete beginners because they don't know how to use them correctly as its very easy to misuse. I'd recommend you to stick with whatever course you're doing and when you get stuck, feel free to ask in this server #❓|how-to-get-help
Oh, I wasn't trying to overestimate the abundance & difficulty of math in coding basics, I was understating my math ability. I am absolutely terrible at it, but only because it's a skill I've never really practiced (I was a big knucklehead in school). Feels as though I'm learning to drift a car without ever having learned to drive a stick shift lol.
where you the head of Knuckles
The king, perhaps. Certified class clown, and my grades surely reflected
Don't worry, its common for beginners to face such problems when starting out. Just keep practicing and you'll get the hang of it
"Instead of doing vx += sin(st)+cos(st) you should be doing the proper rigid body rotation vx += sin(st)+cos(st)" ahh
You should swim there and get back to us
We need a scientific answer
Crocodiles don't swim there, obviously
Does this mean
A) there are crocodiles and you shouldn't swim there
B) there are no crocodiles that swim there
C) crocodiles are not allowed to swim there
Maybe they forgot a comma
Corcodiles, do not swim here
Any ethical crocodile would read that sign and turn back so I don't see any problem
Absolute tumblr dialog
Crocodiles! Do not swim here
Crocodiles do not. Swim here!
D) There are crocodiles, but they aren't swimming there
Maybe Crocodiles!Don't swim here
or E) Crocodiles are advised not to swim there for their own benefit
@round pendant do you stiII do competitive programming?
I have a project I'm working on that uses both Redis & Postgres. I also have a github action to run unit tests, however I'm wondering what the best way to go about that is when it needs a redis and postgres instance. During development I've just been running both locally.
Speaking of unit tests, suddenly a completely random test is failing... fml
I <3 git bisect
are you familiar with mocking?
the goal with unit tests is to be as pure as possible, test some portion of code that has no dependencies. when those dependencies exist, you want to write "mocks" that return some predetermined value. that will allow you to test only the unit, no dependencies
sometimes you do want to test your unit and your dependencies, which is called an integration test. I think the best bet for Postgres and Redis is to spin up a docker environment. Have to be careful to reset the databases after each test
https://github.com/marketplace/actions/docker-compose-action
note that these tests are time consuming. you might want to put them in a separate manually triggered stage of your tests. even better, run them locally so you know it'll pass
I haven't heard the term mocking, but it sounds like what I was already doing. These tests I need to run are testing that some database utility functions work properly.
Perfect, and I have used act before because I hate the fact github actions loves to document all of my failures 💀
looks like python has a builtin which is awesome
yeah python has a builtin: builtins.pyi
I would avoid unittest.mock and pytest.monkeypatch if it's possible. As stated above, to launch an actual instance of a database. Mocks are useful but also giant footguns.
you can also look into testcontainers: automatically managed docker containers for services you need
Solving for AI, we can see AI = 0
Okay but does it mean A = 0 or I = 0 or both
Who's Al and why is everyone so excited about him?
I've heard he's weird
Who are y'all talking about
Weird Al Yankovic
Ohh
I. e., if there is intelligence, it's not artificial, and if it's artificial, there's no intelligence.
But of course, there's also regular old human stupidity, where both are 0.
such wisdom
We ourselves often don't think in language.
Some people report having an inner monologue and others report not having one.
And even the ones that do usually don't always think in words.
language is symbolic
the way we write is not really our language, is it?
It's a representation of language.
no yeah i do not mean the literal symbols
so called A so called I
Xd
???
I need to get some cute outfits
For what
I'm wearing black pants with a black sweater and a pink camo jacket LOL
In general, but like, for going out
I hate black clothes
Stop that shit
Had to buy some black things recently for a funeral and its just ugh
Depressing
Color good
I've been a depressing person for a very long time
my entire outfit is black because my mom didn't want stains to be seen easily
😭😭😭
Like all my pants are blank because I had to have them for work and I couldn't afford extras.
Black*
But now I work at a place that doesn't care
i had to negotiate for a lighter color on my backpack too, but it ended up just being gray..
I wear my furry shirt to work xD
The people here in the uk love their black and dark grey
And then they wonder why theyre so depressed all the time
I got a huge paycheck coming with holiday pay from Christmas and new years
Going up get a few outfits
I never cared about fashion or anything until recently
Now I'm going on a date and I realize man I really need a better wardrobe lol.
Crop tops all the way
I am not confident in my body for that.
Good luck 🍀
Thanks haha
I had to restrap the watch
The leather one was too big for my girly arms
So I swapped the NATO strap to it
Hmm
Hit gym trust me
I need to. I wanna get some tone on my abs
nah am lazy
But I'm really REALLY self conscious about being a trans woman in a gym Especially around where I live.
We're not a super LGBTQ friendly state.
U can try calisthenics with some minimal equipments
At home
Yeah I'll figure something
Especially now that I'm really feeling better mentally and physically
Hi
I mainly work out with dumbbells at home cause I can't be arsed to go to the gym
They're very flexible and easy to store
gentlemen
Someone noticed and commented on my watch today :3
*watches
next time they will compliment you on all your watches
No
Reconsider.
No.
aun
Нет
why not
Dumb
I had a bunch of trouble with my laptop constantly picking the wrong resolution when connected to my dock. I ended up fixing it by enabling GPU bypass in the bios settings. So now my NVIDIA GeForce RTX 2060 with Max-Q Design (discrete) doesn't have to go through the Intel® UHD Graphics (integrated).
I can even run at a higher resolution/refresh rate now.
laptops suck when this isn't enabled
cool
I used to need this dance when starting my laptop.
- Start pc, resolution is all messed up
- Open screen so the next step doesn't make it go to sleep
- Unplug dock so the monitor disconnects
- Replug the dock to a different port, making the system rescan the monitors.
- Close the lid, wait for the screen to rearrange.
Now when I open and close the lid, it's seamless
For reference, my monitor's aspect ratio is 32:9. It would get messed up by setting the aspect ratio to 21:9
I can even set my monitor's screen size to "auto" and it just works
Dang, hybrid sleep still doesn't work
I'm using S3 sleep. Hibernation also works.
I trusted you
Bro after complemented
Diamond watches are fire
Diamond watches are gaudy
so if i Vote the uparrow am i accepting the fact that diamond watches are gaudy or is it the inverse
?
ok so I made the right choice
sorry I'm not a helldiver
Also frankly
Smart watches are kinda gaudy too. Expensive, useful sometimes ( but even I'll admit I barely use mine to its full potential )
But overall more of a money symbol than anything unless you're really REALLY making use of it all
I use it to track my heart rate primarily as I have some heart conditions that I like to be aware of.
But I could do that with a watch that costs 1/10 the price...
yes but I don't think it would be as accurate as a watch that costs more, unless you buy a watch that it is specifically made for monitoring your heart rate
I mean, heart rate monitoring is a solved problem and it's pretty cheap
I'd trust just about any of the normal little fitness watches
I don’t fully trust the cheap ones to be accurate all the time.
I have an old fitbit that's not even supported by the official app anymore for tracking my heart rate when I run, and it's basically all I need.
^
I would say its more for style than as a money symbol
yes true,
And the pro is even more expensive
well thats just apple being apple
Only reason I got it is the massive discount because I bought the iphone 16 pro
And the trade in of my pixel watch
Which I got it for half price because I got it with the pixel 6 pro
I find it incomprehensible that people wear and carry expensive gadgets so openly
Here if you show up with one of those fancy smartwatches youd get robbed instantly
well I was looking at the Nothing watches cuz they are just soo minimalist
I cannot abide by ow ass tech.
Slow*
Plus battery life on the high end models
The watch is just a bonus, really. Does have some things I like
Such as making calls if something happens to my phone...
Which i have made use of once when my pixel 6 pro got dropped and shattered along with its case
And once when my charger broke and my iphone was 3%
Soil turned it off
My $50 backup phone CAN do all the basic things I need daily. It's a 2024 Moto G Play.
It's just slow and miserable.
Wait half a minute for a web page to load miserable
well me personally I hate apple products except for there macbooks
its just to overpriced but I don't have any problems with there product but its there price
When my pixel 7 pro (less than 6 months old) had total hardware failure, after my pixel 6 pro had the GPS chip die
Samsung was the only company making a really attractively specced flagshio
And they were more expensive, and I hate Samsung's bs
All the flagships are $1000 anyway. iphone 16 pro was the same price as the pixel 10 pro through Verizon
I'm paying $5.36/month for 24 months on the 16 pro because device trade-in and the grandfathered upgrade plan from 2017
Verizon also just straight up gives me anything I ask for. Perfect payment history since December 2017 non-stop
On a family plan with multiple lines
Like the trade in for the apple watch on top of the discount for the apple phone. You're not supposed to be able to stack those but I just called and said "hey been a customer for 8 years can I have this" and they're like "yeah sure done"
36,442
377,885


