#ot1-perplexing-regexing

1 messages ยท Page 158 of 1

upper flower
#

eh i couldnt care less :/

paper quest
#

So what you're saying is, you're not fundamentally opposed to relationships (assuming it wouldn't conflict with your religion I guess), and if one felt right you'd go for it? ๐Ÿค”

#

Fair enough, I guess.

thick ore
#

Nah that's fine

#

CMake on the other hand

thick ore
#

you need to expand your gif stash

upper flower
#

gib me sum ๐Ÿ˜„

thick ore
#

no way dude

#

i won't just give you my prestigious gifs

#

you gotta earn them

upper flower
#

how

thick ore
#

hunt for gifs

upper flower
#

how bruh

#

idk how

#

i hve plenty but

#

the best one that fits in every chat is this:

#

i could put it anywhere blindly and somehow it would fit in

brittle void
thick ore
#

nuh uh

raven cipher
#

I know a funny gif

#

you won't like it gri

brittle void
raven cipher
#

but it's funny atleast for me

brittle void
#

i asked for the gifs son, SHOW ME!

raven cipher
#

the boykisser gifs meme

#

It's funny because it became a meme

#

and I don'tget why

upper flower
thick ore
#

i think you know exactly why ๐Ÿ˜ญ

glossy niche
#

you need gifs like this one

raven cipher
#

There is this gif

#

Where jesus was at the last supper

raven cipher
#

and a terminator came

upper flower
#

wait this isnt really like

#

funny

thick ore
#

it's context specific

raven cipher
#

and decided to shoot the traitor,

glossy niche
upper flower
#

@thick ore gib me gifs ๐Ÿ˜ก

upper flower
#

saved

thick ore
#

i think i steal some from pizzer man

#

occasionally

glossy niche
#

I womder how many gifs I have

glossy niche
#

Probably well over a thousand

upper flower
#

.

#

java

#

gib more

#

anyone want this

raven cipher
#

Nvm, I don't have gifs

upper flower
#

more more

upper flower
#

this for gojo fans

upper flower
#

saved

glossy niche
#

this better not be a spoiler or I will block you

upper flower
#

u havent watched jjk?

thick ore
upper flower
#

saved

glossy niche
thick ore
#

this one i definitely stole from pizzer man

upper flower
glossy niche
glossy niche
upper flower
#

wait anyone want this

glossy niche
raven cipher
#

why do you guys saves gifs anyway when you can just google em and download em

upper flower
#

hold on

glossy niche
#

slacked on finishing that

thick ore
#

slack mentioned

thick ore
#

this one i also stole from pizzer man

upper flower
#

i dont understand the context

thick ore
#

bro

upper flower
#

๐Ÿ˜

thick ore
#

it is a wooden fireplace

glossy niche
#

wooden fire place

upper flower
#

not funny

#

):

glossy niche
thick ore
#

a WOODEN

#

FIRE

raven cipher
#

It's amusing

thick ore
#

place

upper flower
glossy niche
#

fire place from wood

upper flower
#

i need funny ones

upper flower
#

WAIT

#

LOL

#

I GET IT

thick ore
raven cipher
#

SRSLY

thick ore
#

there it is

upper flower
#

I GET IT

raven cipher
#

bruh

thick ore
#

LMAOO

upper flower
#

how could i...

glossy niche
#

wdyd in this situation

upper flower
#

which situation

glossy niche
#

this gif is good yeah

thick ore
#

Hey Dhar Mann fam

upper flower
#

im not

thick ore
#

I hope you loved that message

thick ore
#

no

upper flower
#

i have like 5

glossy niche
#

this gif I love

thick ore
#

Lmao i remember this scene

glossy niche
#

I shoudp rly finish this show

#

I have to blcoj like 40 ppl every week

#

cuz they discuss spoilers

#

this isn't sustainable

upper flower
#

java this one

glossy niche
#

I forgot about it

thick ore
#

WHAAAAT

upper flower
#

XDDD

#

LMAO

raven cipher
#

I remembered that there are some people in my local online store that sell air

#

some bought it

upper flower
#

air...

#

how

#

why u but it ๐Ÿ˜ญ

raven cipher
#

idk

#

it's in a plastic bottle btw

#

not the gas tank type

raven cipher
#

dude, if someone sell air in a gas tank, than it makes sense

#

this guy sold air in a plastic bottle

turbid heron
#

Say what now ๐Ÿ˜ญ

turbid heron
#

Just make a real game ffs

brittle void
#

i replied to it

brittle void
turbid heron
#

With actual physics

brittle void
turbid heron
#

And like stab em with the knife

thick ore
#

Fire.

#

Do you know what happens when fire touches wood

turbid heron
#

But moving ships

#

Mehh

brittle void
turbid heron
#

Anyway I'm eating lychee rn

brittle void
#

wait
whats the point on making a fireplace out of wood?

turbid heron
#

Thinking of mixing Pepsi in lychee

small coral
#

teto

raven cipher
scarlet peak
#

what the fuck

solemn tulip
#

we should rescind gri's image privileges

thick ore
#

i sign the petition

upper flower
#

saved

#

oh wait

#

man not funny enough

#

i should ragebait u in posting more gifs

scarlet peak
upper flower
#

lightnings like sit down vro

lament cairn
#

Whoever asked me for a snow leopard pic, here it is

carmine apex
#

@upper flower the greatness you summoned has arrived

solemn tulip
lament cairn
brittle void
upper flower
#

whats that thing near its mouth

thick ore
#

another ones tail

upper flower
paper quest
#

It's much funnier to imagine that it's its own tail it's eating tbh

upper flower
lament cairn
paper quest
#

Maybe it's hungry

bronze token
#

how close is c# to c++ and which is better for game development because of unity id say c# right but doesnt c++ give you so much control

green pelican
bronze token
green pelican
#

It's fun

#

And just for complete control over what your computer is doing

bronze token
#

oh nice how useful is it tho

bronze token
green pelican
#

I do it because I'm just a tad autistic and find it fascinating

bronze token
round pendant
# bronze token oh nice how useful is it tho

the practical usefulness of this only really arises when you develop software that has to run in resource constrained environments
other than that its mostly just a "yeah ok i suffered a bit more to make the program use a little less memory, but its not like it would matter"

willow narwhal
#

||are there resource-unconstrained environments?||

bronze token
bronze token
round pendant
# bronze token a microcontroller

thats constrained, they wrote unconstrained, which is not a thing in the real world because each computer has limited computational resources, basically being jokingly-pedantic
i meant like, really constrained environments, where if you used an automatically managed language, it would geniunely not fit the requirements

bronze token
round pendant
#

still constrained, by your brain

bronze token
bronze token
lament cairn
#

she sees you.

bronze token
#

wait every thing i say is on topic to off topic but this is off topic so eheheehehehehehe

lament cairn
upper flower
#

๐Ÿฅบ

#

gib snow leopard pic

lament cairn
#

snow leopard machine broke

#

cougar instead

upper flower
#

only snow leopard

brazen ingot
lament cairn
#

fuck

#

computer

brazen ingot
#

bro where do u fetch these

#

besides the point a lynx inside a home? wtf

#

that screw looks utterly huge

lament cairn
#

i had a lot when i was in love with lynxes and before i discovered snow leopards

#

lost most of it in a failed backup

brittle void
lament cairn
#

i will slow down snow leopard posting to not be too spammy

#

i did get warned about it before i think

#

not like a proper warn, but

#

yknow

upper flower
#

k

glossy niche
#

abysmal dogshit defeated

upper flower
#

Web developers โŒ
Frontend web developers โœ…

green breach
#

Yo the licensing for FFMPEG is wild. What is with GPL? Like, if I understand it right, if I make a game using a GPL library and I sell it on steam, I have to provide the source code and anyone that uses it can distribute it freely. Like no company, indie dev, or application maker could ever use this

woeful phoenix
#

That's the point of the GPL, yes.

#

But uh
ffmpeg is available under the LGPL, which is an important distinction

green breach
woeful phoenix
#

You can disable those during compilation and obtain a pure LGPL build.

willow narwhal
#

FFmpeg is licensed under the GNU Lesser General Public License (LGPL) version 2.1 or later. However, FFmpeg incorporates several optional parts and optimizations that are covered by the GNU General Public License (GPL) version 2 or later. If those parts get used the GPL applies to all of FFmpeg.

green breach
#

Also is there some rational behind the GPL licensing? I can't really understand what actual advantage that would hold.

plush sun
#

Free software culture

plush sun
#

There's a thing with the Creative Commons Sharealike license where if you use Sharealike material in a larger project, that material is the only part that is Sharealike. I wonder if GPL also has that

woeful phoenix
plush sun
green breach
woeful phoenix
#

Which is fine. A lot of people are like that.
Even I've changed my views on FOSS over the years a lot.

green breach
#

Like if people want to use what I make (I haven't contributed to Open-Source, I should at some point, still learning) to make a game and then sell, that is fine by me. If they want to make an accounting app what is it to me? But yeah, what are your views on FOSS, I am curious now.

woeful phoenix
#

I used to be more of a FOSS purist, and I generally saw it in moralistic terms like Stallman.
Now I think it's okay if some software is proprietary. I still very strongly prefer open source solutions, but if a proprietary one is really superior I don't have that much problems with using it, provided it's not going to lock me in.

plush sun
#

I remember there being two different definitions of "free" in "free software"

#

The adjective free in English is commonly used in one of two meanings: "at no monetary cost" (gratis) or "with little or no restriction" (libre). This ambiguity can cause issues where the distinction is important, as it often is in dealing with laws concerning the use of information, such as copyright and patents.
The terms gratis and libre may ...

green breach
#

I mean to be fair to everyone Copyright laws in the US are insane. Like 70 years after the authors death? That's crazy. Pokemon suing palworld because they infringed on the patent of "Throwing a Sphere and having a creature appear? Crazy.

plush sun
#

I feel like other countries also copied US copyright laws

#

But yeah, they are insane

woeful phoenix
#

Software as a field is young enough that I think most people who own relevant copyrights are still alive ๐Ÿ˜„

plush sun
#

I feel like I'd be okay with 40 years after publication, not even after death

green breach
#

Yeah; I think I'd personally rather copyright on code-software/everything online/maybe everything ending after ~20 years after publication. That is more than enough to make money, (especially with the scale/speed of the internet), but is allows kids who grew up playing Pokemon (or whatever) can make something feasably within their lifetime

green breach
plush sun
#

I'm kinda okay with 20 too

green breach
#

I mean patents only lasts for like 25 years max. I'm still confused under what article Palworld is suing Pokemon on (for the U.S. one).

plush sun
#

I feel like 40/50 is already too long, and then now we have to wait after death?

green breach
plush sun
#

Fair assumption

#

I feel like Disney is a major force in how it became very long

woeful phoenix
green breach
willow narwhal
#

Probably under trademark law?

woeful phoenix
#

I see

tropic ore
#

shark child mackerel

tropic ore
vale raven
bronze token
weak peak
lament cairn
#

i hate how github education applications require users to put their full legal name on their public profile info

spare oriole
#

or maybe they do but they don't really enforce it

lament cairn
lament cairn
#

yes, image related

#

I think you can remove it after being approved, but still

#

wtf

spare oriole
green pelican
lament cairn
#

in my case I was rejected because I was actualy uploading the wrong document like a dumbass

green pelican
#

ig i dodged a bullet though i dont like ms

#

did you guys know i dont like ms

#

little known fact about me

lament cairn
# lament cairn

but its still dumb that they have this as a possible rejection reason

lament cairn
bronze token
#

yo

bronze token
spare oriole
bronze token
lament cairn
upper flower
#

@barood

#

shit sorry

glossy niche
tardy rain
#

not theo on the wall

thick ore
#

are we gonna ignore the elephant in the room

brittle void
tardy rain
#

theres no elephant in that room

rough sapphire
#

but i changed he name later

golden solar
#

Does js have classes?

scarlet peak
#

it, like python, adheres to the "everything is an object" paradigm

raw depot
#

it actually didn't have classes for a long time

#

which isn't to say it didn't have objects

#

it just uses prototype based oop rather than class based

golden solar
#

As I worked with it and it did not had.

#

Yes. Objects have.

raw depot
#

2015 is when they were added

graceful basin
scarlet peak
vale raven
#

"hey what you think of my project" is totally fine
we just don't want people pasting the same GitHub link in six channels with no comment other than "plz give stars"

#

You can edit the tags I think

timid latch
#

I setup a little CI pipline to combine test results from multiple runs into one overview!
Next on my to do list is getting my end to end tests into this, as well as all the linters.

brittle void
#

does anyone even use the linux find command?
or does people just give up?

timid latch
#

yhe i can never get the arguments right

tardy rain
#

find --name=<somename> . then i give up and go to man page when this errors

glossy niche
timid latch
glossy niche
glossy niche
#

whats the CI in here?

glossy niche
timid latch
glossy niche
#

icic

#

ty

timid latch
brittle void
#

very beautiful way to show titles

#

i'd replace :: with >

timid latch
#

so basically I have a dagger pipline that runs a bunch of tests in containers, inspects the stdout and generates allure report files, then spins up another container to run allure on all of them to generate a combiend webpage, and then writes that out to disk

#

(I learnt dagger yesterday, so don't take anything in there as best practice)

brittle void
#

guys, im making a newsletter subscription based webpage where user enters their url to subscribe to the newsletter
i receive email id and i send verification code to their email to confirm their mail id
here's the question

when the user enters their email while registering, should i check whether they're already registered or not?
or should i just send a verificaiton id and go through that process anyway? (i'd have to check for duplicates in anyway)

and also, same question for unsubscribing
should i check whether that user is subscribed or not before sending verification code via email?
cuz rn im sending a msg via webpage to the user that such email id is not found

rancid haven
#

omg the otn is hilarious ๐Ÿ˜‚ ||deadline-driven-development||

vale raven
#

It stops being funny after it actually happens to you ๐Ÿ˜ญ

spare oriole
#

ikr

spare oriole
#

@sullen delta ask @vale raven doggo here what my name is

sullen delta
#

what if doggo said johnny

spare oriole
#

they wont

sullen delta
#

DOGGO PLEASE

#

say johnny

#

do it

#

we love u

vale raven
#

I used to say Kurt because I was bullying and I didnโ€™t have any idea anyways
Now I have heard it but I still say Kurt anyways because I never remember it

vale raven
spare oriole
#

doggo admitting to bullying, colorized, 2025

sullen delta
#

like go ask doggo

#

๐Ÿ’…

vale raven
#

I hope not

#

My name memory is already overflowing

sullen delta
#

i prollly have happened in past u js dont remember

spare oriole
sullen delta
#

hes taking advantage of u

spare oriole
#

let's leave it at that.

vale raven
sullen delta
vale raven
#

It appears that will make you happier

sullen delta
#

johnny

spare oriole
granite tree
vale raven
#

My brother is Johney with 1 n
I get it wrong every time

sullen delta
#

with an e too?

#

is he bri ish?

granite tree
#

A good friend of mine's last name is connolly, or conolly? or connoly? or connely? I have no idea half the time.

spare oriole
granite tree
sullen delta
#

nice dodge

#

im not a url ๐Ÿ˜ญ

granite tree
sullen delta
#

nah 5 was the last there wont be no more johnny's

vale raven
sullen delta
#

dog rosie?

spare oriole
sullen delta
#

its rosie

vale raven
spare oriole
scarlet peak
#

no problem bro

crystal spruce
#

@round pendant #python-discussion message
Honestly type theory is basically just a branch of algebra. For example, I've been reading up on coalgebras recently for programming stuff, and it's just algebra
The overlap is mainly just algebra with programming because algebra is a great way to reason about structures, which you do in programming. There's definitely still distinctions, like I don't think you'd end up learning group theory for programming, and when it comes to category theory for both disciplines the focus is different: Programming afaik doesn't have much use for universal properties, and I daresay monads wouldn't come up very often in math unless you are specifically studying monads. But at the end of the day, the distinction is artificial and the fields are close enough that if you're fairly well versed in type theory i don't think you'd have much trouble learning like group theory

#

analysis is a different beast tho

#

well i say that, but topological type theory exists

solemn tulip
scarlet peak
#

whats CRLF and LF?

left jewel
#

I'm pretty sure the U+FEFF U+FEFF at the start is a UTF8 identifier, though let me check.

scarlet peak
#

as in the file content or what?

#

if it's a byte-order mark shouldnt it be skipped?

#

and what error message are you even getting

left jewel
# left jewel yep, a byte-order mark

What is odd is that the BOM appears twice, so something probably tried encoding the thing twice (as UTF-16 big endian, presumably, which is what this BOM is for).

lament cairn
spare oriole
#

this looks very cursed

upper flower
crystal spruce
#

what kind of math are you looking to study?

sullen delta
#

analysis

timid latch
crystal spruce
#

real? complex?

upper flower
#

im staying lol

#

especially when a collab is ahead

timid latch
#

vim motions
Which you can get in VsCode as well

upper flower
#

oh..

#

erm how

sullen delta
timid latch
sullen delta
upper flower
#

name?

timid latch
#

Vim ... Something

#

You will find it just searching for vim

crystal spruce
#

have you done group theory?

sullen delta
#

i just never have learned how to study that way, for programming its just poke it with a stick

timid latch
#

But again, vim motions is a steep learning curve

timid latch
#

But it let's you be really efficient.

Like to delete everything inside a string it's just di"

sullen delta
#

multi and single variable both + linear algebra

#

and now i dont wanna do it just to pass exam

upper flower
timid latch
#

Yep

sullen delta
#

so ci(

#

allso works?

timid latch
#

Yep

sullen delta
#

dang cool

crystal spruce
#

with treesitter text objects you can even select syntax related stuff

sullen delta
crystal spruce
#

like i have cio to change function parameters

timid latch
#

One of my best qol plugins is one that adds sub word motions

sullen delta
#

qol?

timid latch
#

Quality of life

sullen delta
crystal spruce
timid latch
#

So like you can use w (or any binding you pick ofc) to jump between "words" in FooBarBaz, foo_bar_baz, etc

crystal spruce
#
        local txtobj_keys = {
            ['@function'] = 'f',
            ['@class'] = 'c',
            ['@loop'] = 'l',
            ['@parameter'] = 'o',
            ['@conditional'] = 'y',
            -- ['@call'] = 'c',
            ['@comment'] = 'm',
        }
sullen delta
#

what book r u gonna read for this?

crystal spruce
#

well i mean i just know that proof

#

idk where i first saw it

sullen delta
#

ik you can just give proof right away but what if its something new to you?

timid latch
#

Yhe (n)vim is super customizable.
Like one thing that always annoyed me was the d commands overwriting the copy buffer, as I would usually delete something to paste something, so I just made it not do that

crystal spruce
#

i would probably just quote the wikipedia page

#

it's a fairly famous result

crystal spruce
sullen delta
crystal spruce
#

i used a 20 hour video course + paul's math notes

sullen delta
#

or just problems and googlin

#

ah

sullen delta
crystal spruce
#

multivariable calc would be mainly from paul's math notes

#

along with my own experimentation outside of that

sullen delta
#

multiple rienman integrals

crystal spruce
#

i mainly just got interested in solving integrals, and swapping integrals/sums are fairly useful in doing that

timid latch
#

Like I have a keybind that toggles between virtual text and virtual lines for Diagnostics.

vim.keymap.set("n", "<leader>E", function() 
    config = vim.diagnostic.config()
    vim.diagnostic.config {
        virtual_lines = not config.virtual_lines,
        virtual_text = not config.virtual_text,
    }
end)

(Virtual lines makes the file annoying to navigate, but is easier to actually read diagnostics with when there's a lot)

crystal spruce
#

so naturally you pick that up

sullen delta
crystal spruce
#

another 20 hour video course

sullen delta
#

also do u think its a good idea to use these concepts like gussian blur effect?

crystal spruce
#

followed by a copious amount of other linalg study

#

because linalg is massive

#

wdym use these concepts

sullen delta
#

like in graphics apply them

#

as you learn

#

for eg do backprop as you learn derivatives?

crystal spruce
#

i'm more on the pure side of maths

sullen delta
#

i see so like proofs?

crystal spruce
#

not particularly interested in applications, though i do know them

#

yeah

sullen delta
#

or phd?

crystal spruce
#

bs

sullen delta
#

theoretical computer science?

crystal spruce
#

math and cs

sullen delta
#

๐Ÿ’€ must be alot

sullen delta
crystal spruce
#

double degree

sullen delta
#

lol cool

brittle void
#

any php devs here??

upper flower
#

me

#

but im not at ur level yet i think

#

๐Ÿคท

brittle void
#

im just now starting into it

#

i have a problem

#

can u help me in it?

upper flower
#

i can try

brittle void
#
/**
 * Register an email by storing it in a file.
 */
function registerEmail(string $email): bool {
  global $emailsFilePath;
  // $ok = file_get_contents($emailsFilePath); //, $email . PHP_EOL, FILE_APPEND | LOCK_EX);
    $emailFile = fopen($emailsFilePath, 'r+');
    $ok = !($emailFile === false);

    if (!$ok)
      goto exit_check;

    $emailAlreadyExists = false;

    while (!feof($emailFile)) {
      $line = trim(fgets($emailFile));
      if (strcmp($line, $email) === 0) {
        $emailAlreadyExists = true;
        break;
      }
    }

    if ($emailAlreadyExists) {
      echo "You are already registered.<br>";
    } else {
      // $ok = file_put_contents($emailsFilePath, $email . PHP_EOL, FILE_APPEND | LOCK_EX);
      $ok = fwrite($emailFile, $email . PHP_EOL);
      if (!$ok)
        goto exit_check;
    }
    $ok = fclose($emailFile);

    exit_check:
    if ($ok === false)
      echo "An error occured while registering your E-mail. Try again.<br>";
    else if (!$emailAlreadyExists)
      echo "Your E-mail has been registered successfully.<br>";

    return !($ok === false);
}

does this look like a valid use case for goto statements?

upper flower
#

goto is generally discouraged in modern php

#

theres better options available

#

u can use if/else instead

stark prawn
#

Seems like early return would be better here

brittle void
#

how about now?

function registerEmail(string $email): bool {
  global $emailsFilePath;

  // $ok = file_get_contents($emailsFilePath); //, $email . PHP_EOL, FILE_APPEND | LOCK_EX);

  try {
    $emailFile = fopen($emailsFilePath, 'r+');
    if ($emailFile === false)
      throw new Exception();

    $emailAlreadyExists = false;

    while (!feof($emailFile)) {
      $line = trim(fgets($emailFile));
      if (strcmp($line, $email) === 0) {
        $emailAlreadyExists = true;
        break;
      }
    }

    if ($emailAlreadyExists) {
      echo "You are already registered.<br>";
    } else {
      // $ok = file_put_contents($emailsFilePath, $email . PHP_EOL, FILE_APPEND | LOCK_EX);
      $ok = fwrite($emailFile, $email . PHP_EOL);
      if (!$ok)
        throw new Exception();
    }

    if (!$emailAlreadyExists)
      echo "Your E-mail has been registered successfully.<br>";

    return true;

  } catch (Exception $_) {
    echo "An error occured while registering your E-mail. Try again.<br>";
    return false;

  } finally {
    $ok = fclose($emailFile);
    if ($ok === false)
      echo "An error occured while registering your E-mail. Try again.<br>";
    return !($ok === false);
  }
}
#

using try catch this time

#

also, is this looking good to add an email to a file, while checking for duplicate?
or should i just read the whole file at once and do the checking on the file content stored as a string?

stark prawn
#

Do you have a db for this project?

stark prawn
#

!clban 1352081893713248318 you are only here to advertise

royal lakeBOT
#

:incoming_envelope: :ok_hand: applied ban to @unkempt schooner permanently.

tardy rain
#

Ohno YATDL

#

Yet another to-do list

brittle void
#

just for now, im using a text file as db

timid latch
scarlet peak
#

as god intended

#

@timid latch whats a box dyn thingamabob

timid latch
scarlet peak
#

i think box types are like a pointer to an owned value or something? i have no idea

timid latch
scarlet peak
timid latch
scarlet peak
#

wait so it's the data itself, not a pointer or reference to it

timid latch
#

The important thing is it's owned

scarlet peak
scarlet peak
#

"welcome to rust"

timid latch
placid warren
#

because no one else can touch the allocation (in theory) other than the Box

timid latch
#

So a dyn Foo is what's called a trait object, it's a way to store different types that all implement the same trait in a way that lets you determine the method calls at runtime, using a vtable

#

For example it let's you store different types together in the same vec by basically saying you only care about calling specific trait methods on the data

scarlet peak
#

so it's a pointer to the data instead of a pointer to a reference of the data?

scarlet peak
timid latch
sharp jasper
#

the best way I've found to think about ownership is "duty to destroy"

#

When a Box<T> goes out of scope, it drops the T (and cleans up the allocation)

#

same with Vec<T>, which is responsible for cleaning up all the Ts it may contain (as well as freeing its own allocation)

#

&T doesn't have a duty to destroy the T because it's not an owner, just a borrower

#

But it's a semantic distinction. Box<T> and &T are identical on a structural level (pointer to T)

brittle void
#

do i have to read the whole file, operate over the file content thats stored in a string, then write it to a file?
or just read it line by line, and when the desired email is read, i have to do smth to erase the email
so, any ideas?

scarlet peak
bronze token
#

hi

round pendant
crystal spruce
#

hey i've seen that recently

glossy niche
#

I wish I could dockerize food ๐Ÿ˜ฉ

stone zealot
glossy niche
grave cove
scarlet peak
round pendant
# crystal spruce

eh its more of a syntactical similarity in here, the actual type of the "function" (dynfoo constructor) is forall a. Foo a => a -> DynFoo a, where the lhs of => are constraints, though they are passed by-value as method dictionaries (vtables, basically), so you could say its forall a. Foo a -> a -> DynFoo a but the Foo a is inferred from the typeclass instances context
you could then say E x = Foo x ; F x = x -> DynFoo x but thats kind of a reach as then F x is a type alias, not a unique type

glossy niche
glossy niche
#

what we usually do is bake a huge batch of pastries, enough for a month, then we freeze that

#

believe it or not, some pastries freeze very well

glossy niche
#

oh yeah speaking of reproducible food, I made this the other day and it turned out great and I have zero baking experience like literally my first time baking lol https://cakesbymk.com/recipe/easy-moist-banana-bread/

Cakes by MK - Simple, quality tested recipes to satisfy your sweet cravings!

If you're looking for a banana bread recipe that is super moist and bursting with banana flavour, then this recipe is it! It comes together so easily, and is finished off with an optional topping of walnuts that add great crunch and texture to the banana loaf - so so good! What I love about this banana bread recipe One of my main issues with ban...

#

I think that's a testament that this recipe is good

robust zephyr
#

you can also add plain yogurt to improve the moistness

#

it's quite good

glossy niche
trim elk
#

Hey Everyone, just wanted to share with you my fullstack webapp is live now and is made for you all.

Errorhelp - https://errorhelp.pythonanywhere.com

I couldn't see fellow developers share error screenshots and then code also in the chats asking for help for an error they got into, So I made a No login chaos, simple and powerful webapp, where you can:

**Put Everything At one place and then just share the Errorframe to the helpers easily and smartly - **

  • Has Code snapshot
  • Has The Terminal Error message
  • Has clean VS Code-like view of your code
  • Has anything more that can help the helper understand the error
  • Helpers visitng Errorframe can leave help comment there for the fix.

MVP version - Built with Django + Vanilla JS + Traditional CSS, hosted on PythonAnywhere!

๐Ÿ‘จโ€๐Ÿ’ป I started coding 6 months ago and built this wiith learning so i know it's not perfect.

Would love your feedback ๐Ÿ™Œ

Create an Errorframe with code + terminal error + context. Share in one link. Fast help, better debugging.

sturdy cobalt
trim elk
#

errorframe has the uploaded code files and helper can view them like in vscode with colors

sturdy cobalt
#

pictures? screenshots?

scarlet peak
trim elk
trim elk
#

i need to add this

sturdy cobalt
#

are you saying a snapshot is different from a screenshot?

trim elk
#

but do you think this is cool and useful?

sturdy cobalt
trim elk
sturdy cobalt
#

ah

trim elk
#

from the error terminal message to the code

sturdy cobalt
#

maybe clarify that when presenting this to people

trim elk
#

okay

sturdy cobalt
#

otherwise this looks pretty great

trim elk
#

you can go to home and see the example errorframe

sturdy cobalt
#

no other complaints

#

I did

timid latch
#

It's basically a fancy pastebin with folder support and a dedicated terminal/error output section

trim elk
#

you will get the idea in a minute

sturdy cobalt
#

yeah

#

a good project for learning how to make that kind of thing for sure

trim elk
#

This is the MVP

#

This can be taken to a whole bug tracker level

trim elk
trim elk
sturdy cobalt
trim elk
#

just look and read that

sturdy cobalt
#

It's nice

trim elk
#

should i

#

in the cases of mobile auto remove the drag and drop box and turn that in to the manual code writer

trim elk
sturdy cobalt
#

light mode could be useful for accessibility reasons or for looking at it through a projector (dark text on white background appear better on older projecters)

#

like when teaching to a class

sturdy cobalt
trim elk
#

i have done all ther responsive coding thati know

#

i am still leanring responsive design

timid latch
#

I'm always a fan of making errors easier to deal with

sturdy cobalt
scarlet peak
#

i cannot do web dev for the life of me

sturdy cobalt
#

looks like that on a phone which is not the best

scarlet peak
#

so this is really impressive

sturdy cobalt
#

but i assume on a PC it would look better

trim elk
#

why the menu toggling blue icon is not appearing in scrrenshot?

sturdy cobalt
#

I'm not sure, I'm no webdev

timid latch
#

I mean to be fair, how often you debugging errors on phone

sturdy cobalt
#

I mean

#

I do have termux

#

and I do use it to edit and ssh on my home servers

sturdy cobalt
#

but hey

#

not that often ig

#

just not at my computer rn

trim elk
#

last week i also deployed one silly but kind of cool project

timid latch
#

@trim elk oh one nice feature would being able to download the code as a zip, makes it easy for people to debug the code locally

trim elk
#

it's the webapp that allow you to talk on the online voice calls by typing

#

and not speaking

sturdy cobalt
#

text to speech?

trim elk
#

but willl it not make the uploader's code insecure like what if they want just to show code and not let anyone copy?

timid latch
sturdy cobalt
#

if it's an image anyone can just write it all down

trim elk
#

no outside noise

sturdy cobalt
#

that's nice

trim elk
#

and also let's you talk with fun voices

#

by changing settings

#

but it's not for the phones

trim elk
#

so should i add the download feature?

timid latch
trim elk
timid latch
trim elk
#

that if a person is needed to take other's help

#

then they have in mind to share the code

#

If you find anyone who is sending error screenshots , then please recommend them this website

timid latch
#

I mean.
Generally a discord code block is better than a link

#

Assuming the error fits in one

trim elk
trim elk
timid latch
#

We do have our own pastebin that supports multiple files (but admittedly not a folder structure)

#

Not saying it's not a useful project, just not my first choice for people on this server

trim elk
timid latch
trim elk
timid latch
trim elk
#

but can you tell me one thing that can truly make this thing better than your own pastebin

trim elk
#

security is the thing

timid latch
#

But again the folder thing is a really good feature.
Just slightly feels like at the point that gets useful is also the point you already have a GitHub repo.
But maybe that's just me, I suppose other people don't always make repos for their projects

trim elk
#

In starting i felt fear that what if someone copies the idea and make website better than me

#

and i have that fear today also, but seems like no one cares and they critisize everything instead of thinking of how to make their own thing

timid latch
#

Yhe I have a tendency to play devils advocate a lot.
I should prolly tone it down a bit.
It's genuinely an impressive project, and not something I have seen exactly like this before.

sturdy cobalt
green pelican
#

nothing wrong with your opinion or whatever being challenged anyways

#

*not to be confused with being a dick

sturdy cobalt
#

:D

green pelican
#

ok?

#

it can definitely be helpful

#

most opinions i hold have drastically changed from people challenging them

#

it also helps do be one sometimes because you view your own opinions through an opposite view point

#

if you need an example as to why that might be useful. look at US politics

bleak lintel
#

๐Ÿค”

green pelican
#

im gonna need an elaboration chief

low chasm
tropic ore
#

happy july

#

i got greeted with an internet outage..

granite matrix
#

Wow

#

Happy july

brittle void
#

why happy july?

tropic ore
dreamy ingot
#

.quiz

median domeBOT
#
Quiz game Starting!!

Each game consists of 7 questions.
Rules :
1: No cheating and have fun!
2: Points for each question reduces by 25 after 10s or after a hint. Total time is 30s per question
Category : cs

#
Question #1

In functional programming, a function with identical return values for identical arguments and no side effects is called?

woeful phoenix
median domeBOT
#

20s left!

dreamy ingot
#

impure

median domeBOT
#

10s left!

woeful phoenix
#

idempotent

median domeBOT
#

Better luck next time...

#
The correct answer is **`Pure function`**

Let's move to the next question.
Remaining questions: 6

#

No one has made it onto the leaderboard yet.

#
Question #2

On Linux systems, the fork system call returns what value in the parent process?

dreamy ingot
#

Lol

woeful phoenix
median domeBOT
#

20s left!

dreamy ingot
#

0

median domeBOT
#

10s left!

#

Better luck next time...

#
The correct answers are **`PID, child PID`**

Let's move to the next question.
Remaining questions: 5

#

No one has made it onto the leaderboard yet.

#
Question #3

The name server with the original zone records for a domain is called the ________ name server.

#

20s left!

carmine apex
#

root

thick ore
#

apex

#

wait

#

no

median domeBOT
#

10s left!

dreamy ingot
#

Dns

thick ore
#

main

median domeBOT
#

No one answered correctly!

thick ore
#

nx

median domeBOT
#
The correct answer is **`Authoritative`**

Let's move to the next question.
Remaining questions: 4

#

No one has made it onto the leaderboard yet.

thick ore
#

Aaaaa

median domeBOT
#
Question #4

Under what locale does making a string lowercase behave differently?

woeful phoenix
#

Turkish

median domeBOT
#

@woeful phoenix got the correct answer :tada: 100 points!

#
You got it! The correct answer is **`Turkish`**

Let's move to the next question.
Remaining questions: 3

#
Score Board

bharadwajraju: 100

#
Question #5

What does SASS stand for?

#

20s left!

carmine apex
median domeBOT
#

10s left!

thick ore
#

syntactically awesome style sheets

median domeBOT
#

@thick ore got the correct answer :tada: 50 points!

#
You got it! The correct answers are **`Syntactically Awesome Stylesheets, Syntactically Awesome Style Sheets`**

Let's move to the next question.
Remaining questions: 2

#
Score Board

bharadwajraju: 100
interrrp: 50

#
Question #6

A database index that reorders the data to match the index is called a ________ index.

thick ore
#

order

median domeBOT
#

20s left!

thick ore
#

sort

dreamy ingot
#

btree

thick ore
#

sorting

#

bruh

median domeBOT
#

10s left!

#

No one answered correctly!

#
The correct answer is **`Clustered`**

Let's move to the next question.
Remaining questions: 1

#
Score Board

bharadwajraju: 100
interrrp: 50

#
Question #7

What does the "a" represent in a HSLA color value?

carmine apex
#

alpha

woeful phoenix
#

alpha

median domeBOT
#

@carmine apex got the correct answer :tada: 100 points!

#
You got it! The correct answers are **`transparency, translucency, alpha value, alpha channel, alpha`**

Remaining questions: 0

#
Score Board

bharadwajraju: 100
thurisatic: 100
interrrp: 50

thick ore
#

apacity

#

lol

median domeBOT
#

The round has ended.

dreamy ingot
#

alpha

median domeBOT
#

@woeful phoenix @carmine apex Congratulations on winning this quiz game with a grand total of 100 points :tada:

thick ore
#

HEY

carmine apex
#

rip

dreamy ingot
#

๐Ÿ˜ญ

carmine apex
#

here's yer quiz: what does the L in HSL and HSLA stand for

thick ore
#

lightness

#

ez

#

give me my lemons

carmine apex
#

false, but also true

thick ore
#

FUCK

#

what

carmine apex
#

luminance/lightness/etc

thick ore
#

how is it not lightness

#

ok so it is lightness

thick ore
#

what does the C in oklch stand for

carmine apex
#

chrominance?

thick ore
#

nope

#

you are close

woeful phoenix
#

chroma

thick ore
#

correct

carmine apex
thick ore
#

so when raju gets it correct, he gets aura

#

but when I

#

win a 30v1

#

i lose aura?

#

wow... i see how it is...

carmine apex
#

you got only 50 because you answered after lancebot declared 10 second left

#

50 points for correct, and 50 extra for quick answers

thick ore
#

fair enough

brittle void
#

.quiz

median domeBOT
#
Quiz game Starting!!

Each game consists of 7 questions.
Rules :
1: No cheating and have fun!
2: Points for each question reduces by 25 after 10s or after a hint. Total time is 30s per question
Category : wikipedia

#
Question #1

Guess the title of the Wikipedia article.

**** ****** is an American animator, illustrator and ceramic artist based in New York City.

brittle void
#

john f kennedy

median domeBOT
#

20s left!

brittle void
#

martin luther king jr.

median domeBOT
#

10s left!

brittle void
#

walt disney

median domeBOT
#

Better luck next time...

#
The correct answer is **`Rama Duwaji`**

Information
Rama Duwaji is an American animator, illustrator and ceramic artist based in New York City.

Let's move to the next question.
Remaining questions: 6

#

No one has made it onto the leaderboard yet.

#
Question #2

Guess the title of the Wikipedia article.

******** ********* was a Japanese serial killer and rapist. He was also known as the "Twitter Killer", which he was labeled as in most media reports at the time of his sentencing. In Zama, Japan, between August and October 2017, he murdered nine people, eight of them being young women, including three high school girls.

#

20s left!

brittle void
#

what are these questions man

median domeBOT
#

10s left!

#

No one answered correctly!

#
The correct answer is **`Takahiro Shiraishi`**

Information
Takahiro Shiraishi was a Japanese serial killer and rapist. He was also known as the "Twitter Killer", which he was labeled as in most media reports at the time of his sentencing. In Zama, Japan, between August and October 2017, he murdered nine people, eight of them being young women, including three high school girls.

Let's move to the next question.
Remaining questions: 5

small coral
#

wikipedia articles

median domeBOT
#

No one has made it onto the leaderboard yet.

#
Question #3

Guess the title of the Wikipedia article.

Dame **** ******* is a British-American media executive, who served as editor-in-chief of Vogue from 1988 to 2025. ******* has also served as global chief content officer of Condรฉ Nast since 2020, where she oversees all Condรฉ Nast publications worldwide, and concurrently serves as artistic director. ******* is also global editorial director of Vogue. With her trademark pageboy bob haircut and dark sunglasses, ******* is regarded as the most powerful woman in publishing, and has become an important figure in the fashion world, serving as the lead chairperson of the annual haute couture Met Gala global fashion spectacle in Manhattan since the 1990s. ******* is praised for her skill in identifying emerging fashion trends, but has been criticised for her reportedly aloof and demanding personality.

#

20s left!

carmine apex
#

this is widely considered the worst quiz category

brittle void
#

dame dame dameyo

median domeBOT
#

10s left!

brittle void
#

how to switch it to programming?

median domeBOT
#

Better luck next time...

#
The correct answer is **`Anna Wintour`**

Information
Dame Anna Wintour is a British-American media executive, who served as editor-in-chief of Vogue from 1988 to 2025. Wintour has also served as global chief content officer of Condรฉ Nast since 2020, where she oversees all Condรฉ Nast publications worldwide, and concurrently serves as artistic director. Wintour is also global editorial director of Vogue. With her trademark pageboy bob haircut and dark sunglasses, Wintour is regarded as the most powerful woman in publishing, and has become an important figure in the fashion world, serving as the lead chairperson of the annual haute couture Met Gala global fashion spectacle in Manhattan since the 1990s. Wintour is praised for her skill in identifying emerging fashion trends, but has been criticised for her reportedly aloof and demanding personality.

Let's move to the next question.
Remaining questions: 4

#

No one has made it onto the leaderboard yet.

#
Question #4

Guess the title of the Wikipedia article.

******* ****** *** is a 2025 Indian Hindi-language sports comedy drama film directed by R. S. Prasanna, and produced by Aamir Khan and Aparna Purohit. It is a spiritual successor to Khan's 2007 film Taare ****** ***, and stars him and Genelia Deshmukh. It is an official remake of the 2018 Spanish film Champions, and follows a suspended basketball coach who must serve community service by helping a team of players with disabilities prepare for a tournament.

small coral
#

stop it and start the quiz with the topic

carmine apex
#

whoever called it has to .quiz stop

woeful phoenix
#

Sitaare Zameen par

median domeBOT
#

@woeful phoenix got the correct answer :tada: 100 points!

#
You got it! The correct answer is **`Sitaare Zameen Par`**

Information
Sitaare Zameen Par is a 2025 Indian Hindi-language sports comedy drama film directed by R. S. Prasanna, and produced by Aamir Khan and Aparna Purohit. It is a spiritual successor to Khan's 2007 film Taare Zameen Par, and stars him and Genelia Deshmukh. It is an official remake of the 2018 Spanish film Champions, and follows a suspended basketball coach who must serve community service by helping a team of players with disabilities prepare for a tournament.

Let's move to the next question.
Remaining questions: 3

#
Score Board

bharadwajraju: 100

#
Question #5

Guess the title of the Wikipedia article.

***** *** is a 2025 American science fiction action film written and directed by Gerard Johnstone from a story by Johnstone and Akela Cooper. A sequel to ***** (2022), the plot follows ***** being rebuilt to combat a humanoid military robot built using *****'s technology that is attempting an AI takeover.

#

20s left!

small coral
#

robot one

#

e.

median domeBOT
#

10s left!

brittle void
#

robot two

median domeBOT
#

Better luck next time...

#
The correct answer is **`M3GAN 2.0`**

Information
M3GAN 2.0 is a 2025 American science fiction action film written and directed by Gerard Johnstone from a story by Johnstone and Akela Cooper. A sequel to M3GAN (2022), the plot follows M3GAN being rebuilt to combat a humanoid military robot built using M3GAN's technology that is attempting an AI takeover.

Let's move to the next question.
Remaining questions: 2

#
Score Board

bharadwajraju: 100

carmine apex
#

wat

median domeBOT
#
Question #6

Guess the title of the Wikipedia article.

Matthew Timothy ***** is an English singer-songwriter and record producer who is the lead vocalist and principal songwriter of the pop rock band the 1975. He is recognised for his lyricism, musical eclecticism, provocative onstage persona characterised as performance art, and influence on indie pop music.

small coral
#

james

#

awh.

median domeBOT
#

20s left!

carmine apex
#

.wiki the 1975

median domeBOT
#
Wikipedia Search Results

The 1975
The 1975 are an English pop rock band formed in Wilmslow, Cheshire, in 2002. The band consists of Matty Healy (lead vocals, guitar, primary songwriter)

1975
1975 January February March April May June July August September October November December Wikimedia Commons has media related to 1975. 1975 (MCMLXXV)

carmine apex
#

healy

median domeBOT
#

10s left!

brittle void
#

healy

carmine apex
#

Matthew Timothy Healy

median domeBOT
#

Better luck next time...

#
The correct answer is **`Matty Healy`**

Information
Matthew Timothy Healy is an English singer-songwriter and record producer who is the lead vocalist and principal songwriter of the pop rock band the 1975. He is recognised for his lyricism, musical eclecticism, provocative onstage persona characterised as performance art, and influence on indie pop music.

Let's move to the next question.
Remaining questions: 1

#
Score Board

bharadwajraju: 100

#
Question #7

Guess the title of the Wikipedia article.

The **** *** **** **** ******* ******** is scheduled to occur on November 4, ****. The incumbent, Mayor Eric Adams, was elected mayor on the Democratic Party line in 2021 but is seeking re-******** to a second term as an independent. He was indicted on federal corruption charges in September 2024 and has faced calls to resign from office. The Department of Justice ordered prosecutors to drop the charges against Adams in February ****, and the case was dismissed with prejudice in April ****.

carmine apex
median domeBOT
#

20s left!

small coral
#

wha

brittle void
#

im gonna commit war crimes after this

woeful phoenix
median domeBOT
#

@woeful phoenix got the correct answer :tada: 75 points!

#
You got it! The correct answer is **`2025 New York City mayoral election`**

Information
The 2025 New York City mayoral election is scheduled to occur on November 4, 2025. The incumbent, Mayor Eric Adams, was elected mayor on the Democratic Party line in 2021 but is seeking re-election to a second term as an independent. He was indicted on federal corruption charges in September 2024 and has faced calls to resign from office. The Department of Justice ordered prosecutors to drop the charges against Adams in February 2025, and the case was dismissed with prejudice in April 2025.

Remaining questions: 0

#
Score Board

bharadwajraju: 175

#

The round has ended.

#

@woeful phoenix Congratulations on winning this quiz game with a grand total of 175 points :tada:

woeful phoenix
#

lmao

carmine apex
#

i was typing that you thief

brittle void
#

mods ban raju for keyboard tapping on thuri

small coral
#

the problem with arbitrarily random is that it is arbitrarily random

carmine apex
#

huh?

small coral
woeful phoenix
# median dome

I should look at how the answer matching algorithm works

carmine apex
#

is that actually supposed to be random

#

.quiz help wikipedia

median domeBOT
#
The available question categories are:
  • General: Test your general knowledge.
  • Retro: Questions related to retro gaming.
  • Math: General questions about mathematics ranging from grade 8 to grade 12.
  • Science: Put your understanding of science to the test!
  • Cs: A large variety of computer science questions.
  • Python: Trivia on our amazing language, python!
  • Wikipedia: Guess the title of random wikipedia passages.
carmine apex
#

.src quiz

median domeBOT
#
Command: quiz

Start a quiz!

Source Code
brittle void
#

.quiz C++

median domeBOT
#
The available question categories are:
  • General: Test your general knowledge.
  • Retro: Questions related to retro gaming.
  • Math: General questions about mathematics ranging from grade 8 to grade 12.
  • Science: Put your understanding of science to the test!
  • Cs: A large variety of computer science questions.
  • Python: Trivia on our amazing language, python!
  • Wikipedia: Guess the title of random wikipedia passages.
woeful phoenix
#

.quiz Cs

median domeBOT
#
Quiz game Starting!!

Each game consists of 7 questions.
Rules :
1: No cheating and have fun!
2: Points for each question reduces by 25 after 10s or after a hint. Total time is 30s per question
Category : cs

brittle void
#

.quiz assembly

median domeBOT
#

Game is already running... do .quiz stop

#
Question #1

What is an interpreter capable of interpreting itself called?

brittle void
#

.quiz stop

median domeBOT
#

@brittle void, you are not authorised to stop this game :ghost:!

woeful phoenix
#

self-hosting

median domeBOT
#

20s left!

woeful phoenix
#

recursive

brittle void
#

self interpreter

median domeBOT
#

10s left!

brittle void
#

auto interpreter

#

compiler

median domeBOT
#

No one answered correctly!

#
The correct answer is **`metainterpreter`**

Let's move to the next question.
Remaining questions: 6

#

No one has made it onto the leaderboard yet.

woeful phoenix
#

huh

median domeBOT
#
Question #2

In quantum computing, what is the full name of "qubit"?

woeful phoenix
#

quantum bit

thick ore
#

quantum bit

brittle void
#

quantum bit

median domeBOT
#

20s left!

brittle void
#

wow

#

queue bit

thick ore
#

qubit smith

median domeBOT
#

10s left!

woeful phoenix
median domeBOT
#

Better luck next time...

#
The correct answer is **`quantum binary digit`**

Let's move to the next question.
Remaining questions: 5

#

No one has made it onto the leaderboard yet.

#
Question #3

What standard provides the basis for Wi-Fi networks?

thick ore
#

wifi

#

uhh

woeful phoenix
#

IEEE 802.11

median domeBOT
#

@woeful phoenix got the correct answer :tada: 100 points!

#
You got it! The correct answers are **`802.11, IEEE 802.11`**

Let's move to the next question.
Remaining questions: 4

#
Score Board

bharadwajraju: 100

thick ore
#

fuck

median domeBOT
#
Question #4

What is the name of the memory cache that stores recent mappings from virtual memory to physical memory?

#

20s left!

woeful phoenix
#

page table

median domeBOT
#

10s left!

woeful phoenix
#

translation lookaside buffer

median domeBOT
#

@woeful phoenix got the correct answer :tada: 50 points!

#
You got it! The correct answers are **`TLB, Translation lookaside buffer`**

Let's move to the next question.
Remaining questions: 3

#
Score Board

bharadwajraju: 150

#
Question #5

Which newline sequence does HTTP use?

thick ore
#

Bruh

woeful phoenix
#

\r\n

median domeBOT
#

@woeful phoenix got the correct answer :tada: 100 points!

thick ore
#

CRLF

median domeBOT
#
You got it! The correct answers are **`carriage return line feed, CRLF, \r\n`**

Let's move to the next question.
Remaining questions: 2

#
Score Board

bharadwajraju: 250

#
Question #6

Which Turing Award winner created a typesetting language based on Tex?

thick ore
#

ok

#

wow

#

John Latex

woeful phoenix
#

Donald Knuth

brittle void
#

yo mama

median domeBOT
#

20s left!