#ot2-the-original-pubsta

652 messages · Page 95 of 1

wide totem
#

aaaaaaa

tribal tinsel
#

There's fix just below :P

#

Btw, idk if I will get used to you being soooo pink. You're basically glowing XD

wide totem
#

at the rebrand, they were gonna switch to a modulus 6 for default avatars

#

rather than modulus 5

#

this pfp would have been a default pfp

mental idol
#

Bingo rooDerp That's what I get for making a method that takes three possible types as input.

#

I do like pink rooAwwClap

wide totem
#

!e print(8028%6)

clever salmonBOT
#

@wide totem :white_check_mark: Your eval job has completed with return code 0.

0
wide totem
#

off by one

#

I would have the blurple default one if they had modulus 6

tribal tinsel
wide totem
#

neat

tribal tinsel
#

Or 7

#

This is from some theme preview, using default colours for avatars

#

This is with some other preview

hazy laurel
#

that looks exactly like Gmail lol

pliant trench
#

isn't that gmail tho..

hazy laurel
#

um... I don't think so

#

context implies telegram

tribal tinsel
#

Different theme

tribal tinsel
echo flower
#

what is koobernoots
is it kubernetes but better™️

shrewd lance
#

yes

#

koobernoots

#

🐧

wheat rock
#

ubernetes

sinful sun
#

Goobernetes

tribal tinsel
#

k00bern00ts

#

k👀bern👀ts

hazy laurel
#

k bern ts

shrewd lance
#

omw

mental idol
#

rooDuckDance Dance_Choco rooDuckDance That rewrite got merged today at work. Immediately needed to go back into that library and build a new data model. What took most the day last time took 30 minutes with full tests. Freaking joy.

dusky cliff
#

nice

slate leaf
#

egggcelent

cursive willow
radiant socket
#

koobernuhtees

grim seal
#

you mean the dig output as in regular dig

#

it's intentionally displayed that way

#

A Domain Name System (DNS) zone file is a text file that describes a DNS zone. A DNS zone is a subset, often a single domain, of the hierarchical domain name structure of the DNS. The zone file contains mappings between domain names and IP addresses and other resources, organized in the form of text representations of resource records (RR). A zo...

#

dig outputs a zone file

#

then other than that format however you like, though bullet points aren't going to work for all RR types

#

LOC, HTTPS, MX, NAPTR, SSHFP, etc.

#

anything which is KVVVVVVVVV and so on

#

sure, mx isn't

#

mx is KVV

#

go take a look at SMIMEA

#

in fact, LOC is actually uhhh

#

KVVVVVVVVVVVV

#

geographic location

#

rarely used

#
➜  ~ dig LOC jb3.dev +noquestion +noedns +nostats +nocomments

; <<>> DiG 9.16.23 <<>> LOC jb3.dev +noquestion +noedns +nostats +nocomments
;; global options: +cmd
jb3.dev.        253    IN    LOC    38 57 6.120 N 77 8 48.120 W 0.00m 0.00m 0.00m 0.00m
jovial island
#

wat

rustic harborBOT
jovial island
#

.wa location 38 57 6.120 N 77 8 48.120 W 0.00m 0.00m 0.00m 0.00m

rustic harborBOT
jovial island
#

...

grim seal
#

huh?

jovial island
#

Sit down kid! 🦍

daring jay
#

Make sure you're set to 3.0.0-beta.5(?) in cargo. toml

#

And make sure that rustc is the one dying, not analyzer

languid osprey
#

Hsp pineapple 👀

fluid plank
#

pineapple py

dusky cliff
#

yo what

#

i dont remember this name being added

dusky cliff
#

pineapply pizza

mental idol
clever salmonBOT
#

src/twitterapiv2/search_recent.py lines 22 to 35

self.field_builder = Fields()
self.http = Http()
self._next_token: Optional[str] = None
self.start_time = self.field_builder.start_time
self.end_time = self.field_builder.end_time
self.since_id = self.field_builder.since_id
self.until_id = self.field_builder.until_id
self.expansions = self.field_builder.expansions
self.media_fields = self.field_builder.media_fields
self.place_fields = self.field_builder.place_fields
self.poll_fields = self.field_builder.poll_fields
self.tweet_fields = self.field_builder.tweet_fields
self.user_fields = self.field_builder.user_fields
self.max_results = self.field_builder.max_results```
radiant socket
#

@jovial island it depends on how you define what "oop" is. rust has many oop features

jovial island
radiant socket
#

because it was off topic

#

and there's no slowmode

slow valve
#

@dusky cliff explain

#

you or imposter

pliant trench
#

hsp's pineapply lol

thorn shadow
pliant trench
#

pineapply

thorn shadow
#

no

pliant trench
#

ye

thorn shadow
#

pineapple

pliant trench
#

pineapply

thorn shadow
#

pineapple.

pliant trench
#

link the thing

shrewd lance
#

hot sausage pizza pineapply???

pliant trench
#

yea

thorn shadow
pliant trench
#

pineapply

thorn shadow
#

can i send a video file

pliant trench
#

why would you

thorn shadow
#

(it isnt gore or weird thing)

pliant trench
#

don't send those cringe vids

thorn shadow
#

are you calling me cringe because im red?

dusky cliff
thorn shadow
pliant trench
thorn shadow
#

its pineapple pizza

pliant trench
#

bcuz you sent that cringe penguin vid

thorn shadow
thorn shadow
pliant trench
#

c'mon

thorn shadow
#

penguin is cool

pliant trench
#

this is so fucked up

thorn shadow
#

i send better one

pliant trench
#

no pls

thorn shadow
#

this time it aint cringe

#

its far beyond cringe

#

cool video right?

pliant trench
shrewd lance
thorn shadow
#

i dont know how its so long

#

but after a few tests

#

i learned that its an infinite loop

shrewd lance
thorn shadow
#

i found this in my discord server

#

someone sent it

#

decided to download it and see why its so long

#

and the weird thing is its only 7.9mb

shrewd lance
#

reusing frames is incredibly cheap

thorn shadow
#

idk how that works

#

but cool

shrewd lance
#

together with small res that's fairly easy to achieve

thorn shadow
#

turn down ur volume a bit

#

if u decide to watch it

#

what do u rate it

slow valve
thorn shadow
slow valve
#

deal with it.

thorn shadow
#

how did you do that...

slow valve
#

bot command

thorn shadow
#

tell the bot cmd

slow valve
#

not in this server

thorn shadow
#

which bot

slow valve
#

gurkbot

shrewd lance
#

I should start spending more time there

thorn shadow
#

grr alright

shrewd lance
#

bonk is epic

thorn shadow
slow valve
#

hsp made it

thorn shadow
#

oh wait really?

dusky cliff
#

mayhaps

thorn shadow
slow valve
#

he did.

thorn shadow
#

no

slow valve
#

bruh

thorn shadow
#

Hsp did

slow valve
#

ok

shrewd lance
dusky cliff
#

LOL

fluid creek
#

I feel like an idiot for doing real name verification on bilibili pepewhy

fresh yarrow
#

hello

rustic harborBOT
#
**What is your favourite color?**

Suggest more topics here!

radiant socket
#

fuchsia

ionic locust
#

apple green 🍏

radiant socket
#

say apple, have you listened to the song 'heart attack'?

ionic locust
radiant socket
#

😔

ionic locust
#

Oh this one

#

@gilded herald shared this with me the other day

#

It's amazing

radiant socket
#

ikr

radiant socket
fluid plank
ionic locust
ionic locust
hollow heart
#

@ripe pierhow is that face o_O?

ripe pier
hollow heart
#

aaaaaah i see it now

ripe pier
#

yay lol, i was worried

hollow heart
ripe pier
#

LOL

hollow heart
#

if you ever see someone spam ㅋㅋㅋㅋㅋㅋ @ you that means they're laughing at you :P

ripe pier
#

hahah really??? oh dear

hollow heart
#

now you know ;)

ripe pier
#

thanks, i'll be on the look out [O_O]

clever salmonBOT
#

failmail :ok_hand: applied mute to @buoyant hawk until <t:1637810688:f> (9 minutes and 59 seconds) (reason: newlines rule: sent 19 consecutive newlines in 10s).

hollow heart
#

..

magic atlas
#

Ok then...

radiant socket
#

lul

hollow heart
#

we could extend the mute

radiant socket
#

😳

fluid plank
#

how do i remove the cat??

#

seems like a question that i did every time a cat sleeps on my tummy

#

i end up not removing it and just sleep even if i have lots of stuff to do

mental idol
fluid plank
#

cats > people

mental idol
#

people forgive. Cats do not.

fluid plank
#

hmmm

mental idol
#

+229 −132
Not a bad start to a vacation.

dusky cliff
#

noice

exotic crystal
#

Hi guys!

jovial island
#

In a nutshell well it usually provides the information about your extension for this context.

exotic crystal
#

ahhh i see thank you!

rotund python
#

that headache to combine ssl certificates properly to have the working ones for specific web server

jovial island
#

@orchid sentinel btw for i in file also works. It's kind of better approach for lazy reading.

orchid sentinel
#

Kk

hollow heart
#

@ember oar have you been to page, arizona?

hollow heart
#

my family is still trying to pick a place to go, either the week before christmas, or the first week in jan

#

i'm not enthralled at the idea of 5 of us packing winter clothes though or going to a place with lots of snow\

#

what about new orleans?

ember oar
#

page, AZ is quite nice though

#

there are a few tours there that go through the colorado river I think

hollow heart
#

what about arches, in utah?

ember oar
hollow heart
#

how have you been everywhere ._.

radiant socket
#

oh same

ember oar
#

so i've visited quite a few places in the west

hollow heart
#

just your family unit? or was it like a group of families

hollow heart
#

props to whoever that drove lol

dim root
#

preocts you got a twitter dev star your repo 👀

ember oar
hollow heart
#

did you ever say "are we there yet?"

ember oar
hollow heart
#

LOL

hazy laurel
#

weirdos who don't just stalk Google Maps

hollow heart
#

good good. you should be a kid while you can

ember oar
hazy laurel
#

you just need GPS once the map has been downloaded

ember oar
#

ah, so do i just have the map pre-downloaded then I can access it anywhere?

hazy laurel
#

AFAIK yes

radiant socket
#

now i'm old ;-;

hazy laurel
#

true

radiant socket
#

yeah

carmine herald
radiant socket
#

idt that's how that works

carmine herald
#

it works that way lol

radiant socket
#

hmmm, idts

wide totem
#

@lusty brook context of the second message is the first message, since I weren't clear

lusty brook
#

ah

tawdry fog
#

I hate myself, the way I've learned every programming language I know is just by learning the ABSOLUTE basics (a little more then how to print Hello World as in maybe assigning Hello World to a variable) so the way I'm teaching myself Java is, well uh; making a search engine...

#

That being said, surprisingly I haven't ran into too many issues.

elfin vine
#

Java... search engine?!

#

lol

tawdry fog
elfin vine
#

I get that you stopped, but how far did you get?

tawdry fog
#

All because I got bored yesterday and coded a terrible darkweb search engine and now I want to make a genuine one.

tawdry fog
elfin vine
#

Oh great!

tawdry fog
#

Yeah it's surprisingly going pretty well for my first Java project.

#

It has only taken like 2-3 hours so far, so not that bad.

jovial island
#

Been a while

elfin vine
#

Hello, can you remember me where we've met before?

jovial island
#

Help channel you helped me learn all about pythonyert

elfin vine
#

I feel like we may have seen each other before, but I don't remember where

jovial island
#

I was learning about dpy and i didnt even know python and i wasnt starting well when you set me on track

hazy laurel
elfin vine
jovial island
#

Understandableyert

elfin vine
#

No I think I do!

#

I am trying to find the conversation hold on

#

@jovial island how has it been going then?

jovial island
tawdry fog
#

@elfin vine I love when people remember me helping them, it's the best feeling ever.

elfin vine
fresh yarrow
#

hai okimii

jovial island
#

Because of you i learned all about python and about dpy and its forks and ive been doing it for 7months now im known in the dpy chat as a smort person but im not but because of you im pretty good at what i do and i appreciate it pithink

jovial island
#

@elfin vine ive been doing lots of bots and mostly helping others in the discord bot channel and i basically know all about python now

fresh yarrow
#

me just not knowing most of stuff

#

🤣

jovial island
elfin vine
#

Yeah?

jovial island
#

Well i can easily answer them nowpithink

elfin vine
#

lemon_hyperpleased I am genuinely so proud

#

You cannot see it through the screen but that makes me so happy lemon_long

jovial island
#

Couldn't do what i love without you and i appreciate it pithink

#

I appreciate all you dolemon_hyperpleased

tawdry fog
#

@jovial island I give you a ton of credit, I've done that for people tons of times and not a single one of them actually stuck with it and followed through.

jovial island
tawdry fog
#

You're the 1 in 1000 :P

jovial island
fresh yarrow
#

You're all amazing 🙂

tawdry fog
fresh yarrow
#

I need to credit the people who helped me with my bot

#

@jovial island is it ok if I include you?

jovial island
fresh yarrow
jovial island
#

This got so wholesomepithink

fresh yarrow
#

If i dont do my maths im gonna be screwed

#

ahhhhh

#

wait I can just make a python code

jovial island
fresh yarrow
#

but im too not bothered to use it

#

I used it for my HW as well tho

jovial island
#

Smort

fresh yarrow
#

I got 3/10 because I didnt show working

#

damn

jovial island
#

😭

fresh yarrow
#

The teacher will never know

jovial island
#

Yes

#

Im going back to the discord bots chat so laterpithink

brazen jacinth
#

anyone know how to check the OS a device is running on using the os or sys modules?

#

like checking if its linux, windows or mac

hazy laurel
#

!d platform

clever salmonBOT
#

Source code: Lib/platform.py

Note

Specific platforms listed alphabetically, with Linux included in the Unix section.

hazy laurel
#

um...

brazen jacinth
brazen jacinth
#

Can anyone give me example of file paths from linux and mac?

round moss
#

wdym? Both use / as path separator and / as filesystem root

brazen jacinth
#

idk if linux and mac do that

round moss
#

no

brazen jacinth
round moss
#

it looks like /var/www/index.html

brazen jacinth
round moss
#

both mac and linux

brazen jacinth
round moss
#

or well, a modern-ish mac

brazen jacinth
#

thnx again

jovial island
#

@inland drift @paper osprey lmao

#

wanna continue your break up?

paper osprey
#

@inland drift the doctor is in

#

come, sit down on the couch
tell me about your troubles

tawdry fog
#

can I have some context :P

jovial island
#

Discord psychologists > discord programmers xD

tawdry fog
#

fair enough xD

paper osprey
#

we were asking questions about our code in #help-* when we really should've been asking questions about our hearts

jovial island
tawdry fog
jovial island
#

Lmao

inland drift
#

oh

#

again.. being a laughing stock

paper osprey
jovial island
paper osprey
jovial island
#

@inland driftWhy don't you text your gf through a fake social acc instead?

inland drift
jovial island
paper osprey
jovial island
#

Love it man 😂

inland drift
#

social media put the messages from unknown ppl to some spam list or whatever they have

#

they dont see msg until they accept

jovial island
#

Why is this message so important? can't you just send it to her tomorrow?

paper osprey
#

ya but when you message her from your random number it'll show it's from (123) 456-7890
not from "John Smith" or "Majnu" or whatever in her contacts...

jovial island
#

Is this a emergency or just you not being able to hold your feelings? If it's a emergency thing idk call 911, otherwise just wait

inland drift
jovial island
#

through your friend

#

and after you send it, remove the conversation

inland drift
#

I'm not going to give her contact no to my friend?

paper osprey
#

do it and then delete the conversation on the phone?

jovial island
#

well first of all, stop being insecure, and you can delete the conversation

paper osprey
#

they can't find it after you delete it...

paper osprey
inland drift
#

what if she reply lately

paper osprey
#

tell her to message you on YOUR phone

jovial island
#

Ask her to reply to your phone number

grim flower
#

What if you stop overthinking every little detail?

paper osprey
#

you're using friend's name's phone

paper osprey
jovial island
#

and consider this, is this "friend" really a friend if you can't trust him with yo girls digits

#

@inland drift If I were you, I would stop thinking and continue my life.. I mean, how old are you? 13-17? You probably still a kid, you ain't need no girls fam just do your thing, girls comes and goes, nothing u can do bout it

inland drift
#

i'm 21

#

bruh

#

end this

#

u r not going to help

#

ill try to find a way

jovial island
#

Bruh that shit even worse, ur 21 yet u trynna make a py script to text ur girl? U should be mature enough to go through stuff like this

#

If she aint want you and blocked you, accept it as it is bruv

paper osprey
jovial island
jovial island
# inland drift u r not going to help

Well we've helped you enough, you're asking for help in your personal life in discord, we can't do shit here, but I also try to think of your girls situation, idk what you did so she blocked you, but if she blocked you just accept the situation and move on

inland drift
#

brother, I can understand you but look you don't know the reason actually.

#

behind blocking..

#

so, its ok leave it

#

thanks anyways

#

❤️

jovial island
#

Yeah therefor we can't do anything, if ur down that bad sign up to twilio, or just wait until tmrw and borrow a friends or a family members phone 🤷

#

Good luck tho dude

inland drift
#

TY

tawdry fog
# elfin vine Oh great!

Update: I knew parsing all the words on the page would be hard since I'm trying to not use any external libraries, that being said I didn't expect it to take 2 hours

fluid plank
echo flower
#

isnt this my accidental ot

fluid plank
tawdry fog
#

Okay I really shouldn't have used wikipedia as the seed for it, the thing has ran for no joke 2 minutes and is already 5 mb in size

echo flower
#

wanna catalogue the entire database of wikipedia

tawdry fog
#

Not really :P sounds like that would take a shitton of storage lmao

echo flower
#

's

#

did u apply the optimization where it skips pages already seen

tawdry fog
#

though that could be fun to do as a second project in Java

tawdry fog
#

This was my first project I've ever made in Java

echo flower
#

this is really good

#

i have no idea how to make one anywhere

tawdry fog
#

This was legit my stepup from a addition calculator

echo flower
#

niiiice

tawdry fog
# echo flower i have no idea how to make one anywhere

I mean that itself is just a crawler but the searching is pretty easy, the algorithm im going to implement is just counting how many times one of the words you searched for comes up on the page and whatever page has it pop up the most it picks that one

tawdry fog
#

That being said it's pretty cool watching the # of sites it has indexed go up

echo flower
#

's

#

i should get back to programmin soon

tawdry fog
#

Okay so I messed something up lmao

#

I'm taking a break I've been coding for 9 hours straight

#

well not 9 hours straight but 9 hours in total with a 1 hour break

upbeat sandal
#

@errant seal

echo flower
#

my eyes

#

are

#

forever cursed

upbeat sandal
#

no

tawdry fog
#

pls

dim root
#

Finally 😄

echo flower
#

nice

tawdry fog
#

Just saying

#

I rest my case

echo flower
#

wow we should destroy birds asap

tawdry fog
onyx kelp
# tawdry fog

(highlighted)no birds, no death. also: no birds, no life... 🤔

clever salmonBOT
#

Hey @jovial island!

Uh-oh! It looks like your message got zapped by our spam filter. We currently don't allow .txt attachments, so here are some tips to help you travel safely:

• If you attempted to send a message longer than 2000 characters, try shortening your message to fit within the character limit or use a pasting service (see below)

• If you tried to show someone your code, you can use codeblocks
(run !code-blocks in #bot-commands for more information) or use a pasting service like:

https://paste.pythondiscord.com

mental idol
jovial island
#

Isn't an endpoint the other way around?

mental idol
#

oh. "endpoint client". missed a word there.

jovial island
#

dunno, my terminology on web stuff is not good hahah, i was under the impression an API's endpoint refered to one of, say its a web API, the "location" part of the urls, say, weather.com/city?id=120390, or, weather.com/planet?q="earth", in those cases city and planet would be endpoints

#

at least thats what i thought an endpoint was

#

basically, a door

mental idol
#

You are correct. The code I wrote is a client that uses said door.

jovial island
#

oh okay

#

looks like a cool project btw

mental idol
#

another term would be "provider". Meaning the class provides the methods to use the endpoint.

#

rooHappy It's been fun. I've gotten to play around with a few neat patterns for the first time with this.

jovial island
#

wdym patterns? like design ones?

mental idol
clever salmonBOT
#

src/twitterapiv2/tweets_lookup.py lines 20 to 27

# Define field builder methods
self.expansions = self.field_builder.expansions
self.media_fields = self.field_builder.media_fields
self.place_fields = self.field_builder.place_fields
self.poll_fields = self.field_builder.poll_fields
self.tweet_fields = self.field_builder.tweet_fields
self.user_fields = self.field_builder.user_fields
self.ids = self.field_builder.ids```
mental idol
#

Not quite the Director/Builder by-the-book pattern, but still learning.

clever salmonBOT
#

src/twitterapiv2/fields.py line 5

from typing import Literal```
jovial island
#

from since_id() to max_results() can be refactored

#

all of them are self._fields[--KEY--] = --VAR-- if --VAR-- else None

#
 def func(self, key_name: str, var_name: Optional[str]) -> None:
        """
        TODO: Document
        """
        self._fields[key_name] = var_name if var_name else None
#

There's probably a better way to do it an retain the .function_name() for ease of reading, but my point is all those functions are the same code

#

You might even be able to put all functions in a single one (except .fields()) if you do some nasty initial checkup

#

In fact, now that i read it, why don't you use a class inhereted from a dictionary?

#

You are basically wrapping a dictionary with a few specific insertion checks

mental idol
# jovial island You are basically wrapping a dictionary with a few specific insertion checks

You are correct, Fields is basically a dict with custom setters. The benefit from having each setter being a unique method is the doc-strings here. The API options are quite verbose and I saw packing the value points of each field into the doc-string as a win for any dev using the library.
At this point I could make Fields a subclass of dict. It would gain the value of the dunders without lift.
Certainly good food for though rooAwwClap which is why I even ramble on about these!

mental idol
#

Hey, um, Go-lang.... what the heck? I literally built hello world with you.

shrewd lance
#

go moment

pliant trench
#

it's around 1GB lol

sinful sun
#

Go more like gone

mental idol
pliant trench
#

elecbloat

#

how did that get there lol

mental idol
#

I haven't touched the stuff for two years so I don't remember. I remember doing hello world, mucking about with data parsing, and trying to get on the "just make an app" GUI wagon. That's, apparently, where I fell off and never looked back.

pliant trench
#

ic

slim verge
#

I need some help

#

Just updated my Windows 10 and it keep asking me to the sign In into Microsoft account everytime i turn it on, how do i change it back into using Just an offline password?

mental idol
mental idol
#

@rare moat It entirely depends on the person you ask, you're right.

#

@languid osprey Yes, there are TONS of things you can do to vim, neovim, and emacs. None of them are efficient unless, again, you are used to them.

languid osprey
#

indeed

rare moat
#

i just do not see how 'you are used to using them' is a good argument.
like i said earlier, you need to learn to use any tool.

mental idol
#

That's the thing about "is it better". My point was just that vim is more likely to be there over others in the case that you are working on remote boxes (like I do).

rare moat
#

yes it definitely will

mental idol
#

Given a random programming task and vim (which they don't use), my senior at work would out code me any day. They've been coding for 20+ years. They just see things differently. Would they be using vim efficiently? Hell no.

languid osprey
#

Vim is probably unfamiliar to most people

#

they'll opt to learn a GUI editor first

#

hence making it less user friendly

mental idol
#

Is vim a good thing to at least learn the bare value of? I think so. Especially in a full-stack environment.

#

I count it in the toolsets like git

#

You don't need to be a pro. You will benefit from just being able to enter/exit insert mode and save.

languid osprey
#

Its there pretty much by default, and its easier than installing and opening an entire IDE just to mess with config files

mental idol
#

Now, the moment you use a :s/find/replace/g, make a macro, or leverage vim's/emac's suite of tools... you might go looking for that in your VSCode and wonder why it's not there rooDerp

#

Your first dap is magical

rare moat
#

just accept that all non-Vimmers will die from crippling carpel tunnel

mental idol
#

vim killed my wrist, but that was more the keyboard than anything. Got a ego model and never looked back. even though I can literally not type on my laptop anymore because I can't find the damn keys

rare moat
#

I HATE LAPTOP KEYBOARDS

languid osprey
#

mechanical keyboards >>

rare moat
#

i am working on making something to hyper compress a C source file into something that is semantically identical but much smaller.

#
# Compress this library into a single source and header.

rm -f libfs.c

cat `find src/ -type f -name '*.c'` | grep '^#include' | awk '{print length " " $0}' | sort -n | cut -d' ' -f 2- | uniq | sed 's/#include\s*/#include/g' >> libfs.c
cat src/*.c | grep -v '^\s*\/' | grep -v '^\*\/' | grep -v '^ \*' | grep -v '^\s*$' | grep -v '^#include' |
              sed 's/^\s\{1,\}//g'          |
              sed -E 's/\s*\+\s*/+/g' |
              sed -E 's/\s*-\s*/-/g' |
              sed -E 's/\s*\*\s*/*/g' |
              sed -E 's/\s*\)\s*/)/g' |
              sed -E 's/\s*\(\s*/(/g' |
              sed -E 's/\s*,\s*/,/g' |
              sed -E 's/\s*;\s*/;/g' |
              sed -E 's/\s*&\s*/\&/g' |
              sed -E 's/\s*=\s*/=/g' |
              sed -E 's/\s*!\s*/!/g' |
              sed -E 's/\s*:\s*/:/g' |
              sed -E 's/\s*\}\s*/}/g' |
              sed -E 's/\s*\{\s*/{/g' |
              tr --delete '\n' >> libfs.c

# Replace macro constants

for key in `cat src/libfs.h | grep '^#define' | sed -n '3,$p' | awk '{print $2}'`; do
    value=`cat src/libfs.h | grep "^#define $key" | awk '{print $3}' | tr --delete '\n' `

    sed -i "s/$key/$value/g" libfs.c
done
#

this is so fucking cool i love it

mental idol
rare moat
#

fuck yeah

#

second preprocessing step

#

something else i should do is convert all non-public variables into one letter variable names.

#

that would not be too difficult.

jovial island
rare moat
#

here we go

neat light
#

!ban 899462053570428998 Just here to troll, "i hate LGBTQ+"

clever salmonBOT
#

:incoming_envelope: :ok_hand: applied ban to @misty pier permanently.

vital crown
#

Well then

wide totem
#

thanks wookie, that was fast

slim verge
#

And when I revert my update

#

They give me lot of errors

wide totem
#

i saw a way to get around that but not sure where it was

slim verge
#

One of them is i cant update

#

i saw a way to get around that but not sure where it was
@wide totem yes, you need to go through the groups policy blah blah blah

#

but they removed it too

wide totem
#

nah it was killing something in task manager

slim verge
#

i ended have a update and shut down stuck

#

And cant update

wide totem
#

like the network services or something

slim verge
#

No, I have checked the place where it should be. And its not there

#

Im not that sure if they removed the group policy or something goes wrong when I revert

#

Right now i am re installing my Windows, hope they still acknowledge my account

#

And i hope i still get my Microsoft office :'

#

And i hope i still get my Microsoft office :'
@slim verge bout this, im not really sure how to activate

#

nah it was killing something in task manager
@wide totem you mean killing the Windows update?

#

Service?

steel eagle
#

Hey this otn is from nilered

#

And now it changed

fluid plank
#

lelouch of the rebellion 🤔

cursive willow
#

Why i am unable to scroll with 80% in discord with vimuim
i have 100% scalling for 500%
with 1336x768 Resolution
Pls anyone tell
Vimium in browser at discord

molten hazel
cursive willow
#

Hmm

#

Sty

#

Sry

molten hazel
#

get a help channel and ask your question there

cursive willow
#

Ok

tacit wagon
#

looks like you're trying to expand out #defines using find and replace of tokens?

#

what about #defines with arguments?

#

say c++ #define max(a, b) ((a>b)?a:b) is something I encountered recently

#

what if that's used in the code? your code would fail to properly substitute it

#

then say I had a #define without arguments

#define name "value"

void print_name() {
  printf("Name: %s\n", name);
}
void main() {
  print_name();
  printf("%s\n", name);
}```
#

your code would replace print_name with print_"value", which is a syntax error

#

Don't try to parse C Preprocessor Macros without using a tokenizer. This is like parsing HTML using RegEx!

#

just use cpp <file.in> > <file.out> to handle the macro parsing for you please

lethal matrix
#

im making an app

edgy apex
#

Cool

#

Electron?

tacit wagon
#

Wait does GCC not use cpp?

#

That can't be, pacman reports that /usr/bin/cpp is owned by the gcc package

round moss
#

cpp does the same thing as gcc -E more or less

#

And yes, the preprocessor works on tokens, so you need a Lexer to use it

rare moat
#

i did not intend to expand macro functions.

round moss
#

well, it is wrong regardless, since

#define A 4
AB A
```should produce
```c
AB 4
#

so you do need a C tokeniser

rare moat
#

probably yes

#

honestly if i wanted to anything outside of ad-hoc stuff i would not even be using Bash for this.

round moss
#

what seems more fun is autogenerating defines in cases where they make the code shorter

#

but that seems quite painful

rare moat
#

that i might save disk space at first but it would be expanded out by the C preprocessor into the same amount of space i think

#

the reason why i replaced constants is because their values are often shorter than the constant names themselves.

#

so even if the C preprocessor processed them, it would always take up less disk space.

#

oh well

#

ah wait, you said “in cases where they make the code shorter”

cursive willow
#

Hey ,guys i have one doubt
I have flashed my arch_linux.iso file to usb and now how could i get it in bios

#

To install arch linux

echo flower
#

change boot order

cursive willow
#

But i can;t see arch thee

#

there

echo flower
#

change boot order to ur usb

cursive willow
#

and i have unallocated space for arch

cursive willow
#

Ok, lemme try it

#

Thanks

jovial island
#

linux user

cursive willow
#

Hey I got your computer will not be given [My USB Name] due to security policy

#

What it means

cursive willow
jovial island
#

an*

cursive willow
#

What

#

Now it will work???

#

After getting my usb to first position

#

Pls tell

#

@echo flower

hazy laurel
#

Why are you using Arch?

echo flower
cursive willow
#

Gonna to use arch

cursive willow
echo flower
#

it will boot to arch linux on the usb

hazy laurel
#

If you don't know what you're doing, I'd strongly advise you pick something else

#

Booting into the USB is literally the least of your problems and you're already struggling

cursive willow
hazy laurel
echo flower
#

uh thats not true but you do you buddy

cursive willow
#

Hmm

hazy laurel
#

And I have my doubts that you could give me a shred of proof in that regard

cursive willow
#

Actually I don't have a lots of gui like any other os

#

So if I use bswpm

hazy laurel
#

You can get bspwm on went distribution

echo flower
#

whats bspwm hmmmm

hazy laurel
#

I frankly don't imagine you having a system that lasts more than a week

hazy laurel
#

Like i3 and whatever

cursive willow
#

Nope

echo flower
#

window manager?

hazy laurel
#

Yuh

cursive willow
#

Yea

echo flower
#

ah i c

cursive willow
#

Mostly I like pacman

hazy laurel
cursive willow
#

Than apt

hazy laurel
cursive willow
hazy laurel
#

Don't have what

echo flower
#

as i said, u do u buddy
but if ur just beginning to use linux i'd suggest debian

#

but whatever its ur choice

hazy laurel
#

Not Debian tbh

#

But Ubuntus are great

echo flower
#

or a debian based os

hazy laurel
#

Eh

echo flower
#

like ubuntu

hazy laurel
#

Only Ubuntu

#

Nothing else based on Debian is worth it

echo flower
#

hm ok

hazy laurel
#

I can't even make any other than Kali

echo flower
#

doesnt matter tho finally it's the person's choice

hazy laurel
#

Name*

hazy laurel
echo flower
#

's

cursive willow
#

And arch is very in size compared in iso

hazy laurel
#

Than*

echo flower
#

dont u have to do more stuff to set up arch

hazy laurel
#

Yes, plus the fact that Arch doesn't split packages

cursive willow
#

And arch is even evetually handling it from the scratch

hazy laurel
#

Each package also includes it's development headers

cursive willow
#

i actually take it as advantage

hazy laurel
#

Arch has no advantage

cursive willow
#

Hmm

hazy laurel
#

It's just doing things the hard and annoying way

cursive willow
#

Wait''

hazy laurel
#

The only thing it has going for it is the bleeding edge from the rolling release

cursive willow
#

What you mean

hazy laurel
#

When you install Arch, you're doing the same stuff that other distributions already do for you

#

The difference is... You're not a professional pursuing stability

cursive willow
#

Should i need to choose ubuntu

#

As a begginer to linuxx

hazy laurel
#

I'd very highly recommend it

echo flower
#

as i said u do u buddy
but if you really wanna go arch atleast go for manjaro it's atleast more user friendly
or that other one i forgot the name

hazy laurel
#

What

#

You're joking right 😿

#

Surely we've talked about this before

echo flower
#

no not really
atleast the initial user setup is gui understandable

echo flower
hazy laurel
#

Manjaro literally sucks so much

echo flower
#

it does

hazy laurel
#

It breaks more than Arch

#

I'd sooner recommend Endeavor OS, but literally all the derivatives have their flaws

hazy laurel
#

Just conceptually, even

echo flower
#

thats if they really want to use arch

hazy laurel
#

But no reason should Arch be preferred just because it's Arch

echo flower
#

i would just go use fedora / ubuntu

#

i have no reason to use arch

hazy laurel
#

Literally nobody does

#

It's all UNIX porn propaganda

cursive willow
#

Anyway bye jumping to install

hazy laurel
#

Arch users will forever struggle to give me an objective advantage for the so called best distribution

hazy laurel
#

I don't know what 's means

echo flower
#

's == yes

hazy laurel
#

I see

carmine herald
#

linux on a desktop is already a meme just go along with it and install arch lol

hazy laurel
#

If I ever use Arch, it's because I'm testing newer software on something practically designed to break

echo flower
#

lmao

hazy laurel
#

I love my KDE Neon and my openSUSE

carmine herald
#

ur being too dramatic

hazy laurel
#

I'm upsetti

echo flower
#

even so the desktop experience for linux is still not enough for most people

hazy laurel
#

Meh, I'll disagree

echo flower
#

since u have tht one program that only runs on windows

hazy laurel
#

I feel like it is enough for most people

echo flower
#

like my textbook cd

carmine herald
hazy laurel
#

It's literally not bad at all

echo flower
#

i never said its bad

#

i said it isnt complete

hazy laurel
#

How do

#

So

cursive willow
#

How to solve this error

hazy laurel
#

Because frankly and imo, is is complete

echo flower
#

tht annoying work software that only has a .exe version

carmine herald
#

i said it's bad you end up with a funny vm running windows anyway and questioning your life choices

echo flower
hazy laurel
cursive willow
hazy laurel
#

AFAIK

cursive willow
#

Hey

#

Actually

hazy laurel
#

Wait I might be wrong

cursive willow
#

It's from bios

hazy laurel
#

I think it used to but it doesn't anymore

echo flower
hazy laurel
#

Hmph

cursive willow
#

First off all the bios is not accepting my usb to boot

hazy laurel
#

Arch kind of annoys me tbh. I just can't understand why people are so obsessed with it and I don't know why I care so much

carmine herald
#

but tbf the vm experience in Linux is better pithink

cursive willow
#

And I didn't even launch arch too

echo flower
#

in bios

cursive willow
#

Ok

cursive willow
#

That's what

hazy laurel
#

Nothing like stinky Windows VM software

echo flower
#

tbh yes

#

qemu is amazing

hazy laurel
#

but... They're not totally accessible

#

It requires investment

carmine herald
# hazy laurel KVMs can be godly

yes but that's because there's incentive to make money in vms lol nobody makes money off of the desktop experience so it's popo

echo flower
#

uh what no

hazy laurel
#

I mean KDE makes money off of their computers

cursive willow
hazy laurel
#

They sell phones even

#

I probably nudibranch what your point was

#

Wtf...

#

what is nudibranch

#

Misinterpreted

cursive willow
carmine herald
echo flower
hazy laurel
#

I wonder if there are people who license their VMs

#

I could see myself doing that if I had the hardware

lethal matrix
echo flower
#

as in sell vms to people

hazy laurel
#

As in activate Windows

lethal matrix
#

im making my own programming language

cursive willow
#

Wow

echo flower
cursive willow
#

Nice

cursive willow
lethal matrix
hardy citrus
#

Hej

carmine herald
cursive willow
lethal matrix
#

yes

#

im pro

cursive willow
#

Ohh

#

Wowowwwww

hardy citrus
#

He speaks the language of gods

echo flower
cursive willow
#

Lol

lethal matrix
echo flower
cursive willow
echo flower
#

he cant be bothered to activate bcuz he's gonna tear it down anyway in a few hours

hazy laurel
#

I don't like LTT anymore 😤

carmine herald
cursive willow
#

Full form of ppl???

echo flower
#

people

hazy laurel
#

People

lethal matrix
cursive willow
#

Ohh

cursive willow
echo flower
lethal matrix
#

yea

hazy laurel
#

Can't even compute

lethal matrix
#

ngl in my school i had to memorize 30 formula's for math exam

echo flower
#

which ones

lethal matrix
#

as soon as i entered the exam i forgot every single one of them

cursive willow
hazy laurel
#

Could you solve this one

#

Because frankly I don't think I understand adding a formula

echo flower
#

u can add formulas to formulas

hazy laurel
#

You know what I mean

echo flower
#

's

hazy laurel
#

Smh you keep hissing at me

#

sss

echo flower
#

s

hazy laurel
#

boom

cursive willow
#

-300
Lol

cursive willow
hazy laurel
#

Like the amount of brain cells I have

echo flower
#

i now have i brain cells

#

as in root(-1) brain cells

cursive willow
lethal matrix
# echo flower which ones

1 foot square
1 meter square

  • 10 more

(a+b)squ. = a squ. + 2.a.b + b squ.
ab = (a+b whole squ. /2) - (a-b whole squ. /2)

  • 8 more

Area = l * b
Perimeter of area = 2x(lxb)
Triangle = 1/2 * (l*b)

  • others
cursive willow
#

What it means

#

Why this???

#

As I said hek for asking

echo flower
cursive willow
#

Becky heck

lethal matrix
#

they r easy

#

except for the algebra ones

echo flower
#

example pretty sure u dont need to study
ab = (a+b whole squ. /2) - (a-b whole squ. /2)

#

tht can be derived in seconds

cursive willow
lethal matrix
#

try memorizing 30 formula's in 1 day and remember all of them

cursive willow
#

Ik

#

All of them

lethal matrix
#

i didnt study the entire year

cursive willow
#

Anyway nice to meet tou

#

You

lethal matrix
#

cuz i thoguht covid = no exam

cursive willow
#

Hmn

#

So

lethal matrix
#

but those mf's

cursive willow
#

U didn't study

lethal matrix
#

i was studying for the next grade

cursive willow
#

My age is 14

cursive willow
lethal matrix
#

im also 14

cursive willow
#

So, nice

lethal matrix
cursive willow
lethal matrix
#

i love science and meth

cursive willow
#

You do binary programe

#

That's interesting

#

I like it

lethal matrix
#

ty

cursive willow
#

So weird

lethal matrix
#

ty

cursive willow
lethal matrix
cursive willow
#

Ohh

hazy laurel
#

Y'all young

lethal matrix
#

ok papa

cursive willow
#

Which country

lethal matrix
#

ur 15

hazy laurel
#

I'm not

lethal matrix
hazy laurel
#

What the

lethal matrix
#

ur pfp is a cat...

hazy laurel
#

When did I say that

cursive willow
lethal matrix
#

i thought it was a girl

hazy laurel
#

Uh

lethal matrix
hazy laurel
#

O.o

echo flower
cursive willow
#

Ohh nice

#

Age???

hazy laurel
#

Why are you dreaming about another version of me

cursive willow
#

State??

lethal matrix
#

imagine if reality is just someone whose in a coma and is dreaming

cursive willow
echo flower
lethal matrix
cursive willow
#

Ohh

echo flower
cursive willow
#

Pk

#

Ok

echo flower
#

rat for da win
or mongoose i think

hazy laurel
lethal matrix
#

the cat ate the rat and took over its discord acc

lethal matrix
#

without the sapien

#

|| jk dont mind ||

hazy laurel
#

Guys are kinda hot

#

Who can deny

lethal matrix
#

me

#

girls r hot

echo flower
#

lmao

hazy laurel
#

Meh

lethal matrix
#

Scientific name must be in English or Latin or a Latinized language

echo flower
#

stupidus cypherielia

hazy laurel
#

Excuse me

#

Calling me a stupid disease

lethal matrix
#

If i ever make a scientific theory it will be called Stupidus Cypherielus

echo flower
lethal matrix
#

:(

hazy laurel
#

Is this another Harry Potter spell

echo flower
#

might be

lethal matrix
#

01100001 00100000 00111101 00100000 00100010 01101000
01100101 01101100 01101100 01101111 00100010 00001101 00001010
01101001 01100110 00100000 01100001 00100000
00111101 00111101 00100000 00100010 01101000 01101001
00100010 00111010 00001101 00001010 00100000 00100000 00100000 00100000
01110000 01110010 01101001 01101110 01110100 00101000 00100010 01001110 01101111
00100010 00101001 00001101 00001010 01100101 01101100 01101001
01100110 00100000 01100001 00100000 00111101
00111101 00100000 00100010 01101000 01100101 01101100 01101100 01101111 00100010 00111010 00001101 00001010
00100000 00100000 00100000 00100000 01110000 01110010 01101001 01101110 01110100 00101000 00100010
01100111 01101011 00100010 00101001 00001101 00001010 01100101 01101100 01110011
01100101 00111010 00001101 00001010 00100000 00100000 00100000 00100000 01100101 01111000 01101001 01110100

hazy laurel
#

Maybe don't

lethal matrix
hazy laurel
#

Call exit

lethal matrix
#

deez nutz

echo flower
hazy laurel
lethal matrix
cursive willow
#

What is key map in arch

#

S tel

#

Pls tell

#

@echo flower

hazy laurel
#

Yikes

hazy laurel
#

Good luck

lethal matrix
cursive willow
#

Pls say

echo flower
#

wdym key map in arch

#

like keyboard layout?

cursive willow
#

This

#

What's this

lethal matrix
#

@hazy laurel I WILL
01001110 01100101 01110110 01100101 01110010 00100000 01100111 01101111 01101110 01101110 01100001 00100000 01100111 01101001 01110110 01100101 00100000 01111001 01101111 01110101 00100000 01110101 01110000

cursive willow
#

And why

echo flower
#

u might want to follow the link

hazy laurel
#

Beacon

cursive willow
#

Pls tell me

#

Beackn

hazy laurel
#

Can you translate that byte code for me

cursive willow
#

Beacon

echo flower
hazy laurel
#

Me on mobile

lethal matrix
echo flower
#

he said frick u to that

#

that should give u an idea

hazy laurel
#

Wot

cursive willow
lethal matrix
hazy laurel
#

It's nothing to do with layout

lethal matrix
#

Learn BrainFuck Today!(in 5 years) at the price of only 500$ per minute

hazy laurel
#

things like qwerty and colemac can have the same key map

echo flower
radiant socket
#

bf takes like 10 mins to learn how to use

lethal matrix
hazy laurel
#

what

lethal matrix
radiant socket
#

?

echo flower
#

uh wat

lethal matrix
#

u said bf

#

brainfuck

echo flower
#

bf == brainfuck

lethal matrix
#

but also boy frien

carmine herald
#

how u use your boyfriend

radiant socket
#

use context clues

hazy laurel
radiant socket
#

ew

hazy laurel
#

ouch

lethal matrix
hazy laurel
#

LMAO

carmine herald
lethal matrix
#

@radiant socket what you use ur bf for ?

carmine herald
#

shipped idc

echo flower
#

uh wtf

#

what the fuuuuu

carmine herald
#

what

hazy laurel
#

Um

lethal matrix
#

Uh

jovial island
#

uh

lethal matrix
#

this is awkward

echo flower
#

uh™️™️

lethal matrix
#

im earth

hazy laurel
#

Uh

jovial island
#

Hi

lethal matrix
hazy laurel
lethal matrix
echo flower
#

dont think u can put loyalty on hoes

jovial island
#

iii?

lethal matrix
#

who wants free kis

hazy laurel
jovial island
#

ew herpes

lethal matrix