#ot0-no-stealth-portals-please

3246 messages ยท Page 19 of 4

rough marsh
#

for college credits I mean

#

ok

mortal hull
#

some schools don't even accept the creds ๐Ÿ˜ฉ

rough marsh
#

yeah

mortal hull
#

MIT literally does not care ๐Ÿ˜ฉ

rough marsh
#

but if you go to a school that does and you plan smart you can literally graduate in like 2.5 years lol

#

can't say I recommend it but it can be done

mortal hull
#

maybe ยฏ_(ใƒ„)_/ยฏ

#

you have to take a lot of APs though

rough marsh
#

I entered with 32 credits thanks to IB diploma

#

equivalent at my school to 2 semesters of full coursework

mortal hull
#

wowww

rough marsh
#

if I knew what I wanted I could have started major-related coursework really quickly and graduated a year early

#

saved some $ too

mortal hull
#

kind of a flex

rough marsh
#

could have been

mortal hull
#

i don't have that many good ap scores that colleges i'm applying to care about, so ๐Ÿ˜”

rough marsh
#

report back! I'm curious

oak hemlock
#

school :(

neat sparrow
#

kde can suck a face. I'm gonna try out a twm

#

now that I'm done with my second SAT, I can focus on driving and college applications

#

gotta get 10 in my list. I have 5 right now

copper nimbus
#

bruh AP AB BC IB wtf

rough marsh
#

mhm

#

IB HL & SL, TOK, EE, CAS

copper nimbus
#

ez 1 year

rough marsh
#

still attended for 4 years tho

copper nimbus
#

hmm

rough marsh
#

I didn't know what I was doing/had no plan

neat sparrow
#

Y'all remember biting into food as kids and feeling a tooth come out?

static trout
#

no actually

#

cuz i played with each tooth (when it would shake) till it fell out

neat sparrow
#

I would use my tongue to make the tooth sort of rotate, then lock my jaws so that it got ripped off

static trout
#

๐Ÿ‘€

#

i would just shake it with my finger

hollow holly
static trout
#

baccalaureate i think

hollow holly
#

Yes, that

static trout
#

very weird spelling indeed

rough marsh
#

yes that

#

or as someone once called it: International Bachelorette

upper turret
copper nimbus
oak hemlock
#

I think I hate Linux

#

spot the problem

dusty aspen
#

why

#

Different vendor/renderers?

stone gyro
#

do you have 2 video cards?

#

...of different vendors?

hollow holly
#

Then I remembered

oak hemlock
#

It's an iGPU and a dGPU

#

the iGPU is the AMD

civic elk
#

dude that's why i gave up on linux

oak hemlock
#

the problem here is that my iGPU is somehow performing better than my dGPU

#

4 times faster

civic elk
#

im not good enough to troubleshoot most common linux issues, let alone issues because of the fact that i have an nvidia dGPU and an intel iGPU

#

so i think ill stick to WSL for now

oak hemlock
#

this isn't even common

civic elk
#

yeah ik

oak hemlock
#

like there's nothing on it anywhere

#

and it's so dumb

civic elk
#

i tried like 5 distros and went on a billion forums but none of the solutions would work

oak hemlock
#

:(

tepid echo
#

What's the problem?

pastel moss
#

i just think if the defaults aren't good and/or it can cause issues, it's trash

#

eliminates about 90% of the distros

civic elk
#

idk if its an nvidia problem or just that i suck at linux, but i legitimately couldn't get my displays to work properly

civic elk
#

it would display on my laptop's integrated display and one external monitor but not the other one

#

it worked fine on manjaro for like a day then it stopped again

pastel moss
civic elk
#

tried all the prime shit, both the xorg drivers and the nvidia ones, literally wouldn't work

pastel moss
civic elk
#

yea

pastel moss
#

@ pycereal

civic elk
#

tried to use KDE neon as well but there seemed to be a bug on dell laptops, other people were reporting the same issue on reddit

#

oh speaking of dell laptops

#

i couldnt get the fans to work properly either

#

granted, i didn't try as hard to get it solved, but i heard they dont play well with linux either because its software controlled on dell laptops or something? i dont remember the specifics but i know there was something about dell laptops that made them different in terms of fan control

#

so yea WSL for life

#

or until i get a laptop that'll play well with linux

neat sparrow
#

what twm do you guys recommend?

#

minus bspwm

#

Imma try awesome

pastel moss
#

wm?

#

awesome is poggers

#

it's only one i like :P
i3 was nice but didn't have as many themes

civic elk
neat sparrow
#

watchu tryna do?

copper nimbus
#

I use i3 gaps

civic elk
neat sparrow
#

bruh

civic elk
#

the hdmi output just refused to work

neat sparrow
#

laptop or pc?

civic elk
#

laptop

#

with an nvidia dGPU and intel iGPU

neat sparrow
#

do you have this?

civic elk
#

as if it didnt exist

neat sparrow
#

I'm not connected to anything but I get this display

civic elk
#

yeah nope nothing like that

neat sparrow
#

I've dealt with that sort of thing before tho

civic elk
#

at least not that i remember, ive deleted opensuse from my laptop

neat sparrow
#

I usually load up this baby

#

takes some trial and error but I got the hang of it

civic elk
#

i ran that command that listed all the display outputs too but it didnt show the hdmi

#

xandr yeah thats it

prime girder
#

xrandr

civic elk
#

mb

#

xrandr

neat sparrow
prime girder
#

one of its child dependencies was removed from AUR, and so it literally just breaks your desktop if you try to run it

pastel moss
#

when did that happen?

prime girder
#

to me, 2 weeks ago YEP

pastel moss
#

ah

neat sparrow
#

tryna keep wayland as my compositor

pastel moss
neat sparrow
#

aight I'll try it

pastel moss
#

lmao

neat sparrow
#

I wanted wayland for the sake of my wacom tablet

#

my laptop screen is basically a wacom tablet* (uses the touchscreen drivers and stuff)

#

can't have two mouses showing up on my screen at once you know

sick olive
#

This is coding lol

prime girder
#

Yes, it just means the ones who see it as #deleted-channel can't access it.

neat sparrow
#

for some reason window managers just don't work for me

#

always crashing as soon as I try to login

neat sparrow
#

the screen uses wacom drivers I believe

prime girder
#

wow that keyboard doesn't look comfortable

neat sparrow
#

yeah that's not my model

#

This is

#

Has two IR cameras for who knows what. I might be able to code some cool shit with that though. Might be for facial recognition though

#

yeah, I'm going to look for libraries that let me do some cool shit with that

sick olive
prime girder
#

This keyboard is comfy

neat sparrow
#

yeah you hear the sounds, they're just not as thicc

#

Took some time to readjust to a standard keyboard layout after using a macbook during the pandemic

fathom yew
#

couldn't find a mars/space mod for the latest version of Mincecraft so assuming badlands pleatue as Mars...

#

well no concerns how I can burn a campfire on mars ๐Ÿ˜…

prime girder
#

pog

#

revolutionary discovery

oak hemlock
fathom yew
#

wdym?

pliant canyon
#

why not

oak hemlock
#

because modded Minecraft sucks beyoind 1.12

fathom yew
#

uhh yeah

oak hemlock
#

hardly any of the good mods

#

1.12.2 rn is the sweet spot

#

1.16.5 is still kinda bad but it'd be better than 1.17

oak hemlock
fathom yew
#

hmmm

oak hemlock
#

but still only 1.12.2

fathom yew
#

I wish I could play No Man's sky, the map's so huuuge but my pc doesn't support it lemon_angrysad

oak hemlock
#

tbh No Man's Sky is boring after a while

#

idk, I always found it too repetitive

fathom yew
#

hmmm I guess I should play on 1.12.2 and spice it up with mods instead of playing on 1.17.1 ๐Ÿ˜‚

oak hemlock
#

good idea

fathom yew
oak hemlock
#

I'm serious

fathom yew
#

oh okay

#

hmm gotta create my own modpack with a lots of space mods and play on 1.12.2 forever.

oak hemlock
#

nah don't do that

#

well you can

#

but it's not as easy and/or fun as it sounds

fathom yew
#

eh?

#

how? why?

oak hemlock
#

look through some of the modpacks on Curseforge

fathom yew
#

why?

oak hemlock
#

wdym why

fathom yew
#

why should I do that?

#

oh wait you mean I should use a modpack instead of making one?

oak hemlock
#

yuh

#

I mean no offense but the curseforge people will be making better packs than you will

#

unless you actually put a bunch of effort into it

fathom yew
#

yes good idea

oak hemlock
#

wtf is this website

#

don't use that website

#

just use Curseforge

#

easiest way to get mods

fathom yew
#

hmm I saw a vid by dantdm using that mod and I went to the description and found this link

#

can you give me the link because I can only see modifications of the mod and not the real one

oak hemlock
#

._.

fathom yew
#

wot?

oak hemlock
#

that is the first link from Google

fathom yew
#

okay

hearty prawn
#

GUYS

#

@oak hemlock CY CY CY CY CY CY CY CY CY

#

VBGFRGBY

#

DFBDE

#

@fathom yew HELLO

#

I NEED HELP

#

that's like an instant rejection

still pike
#

Which is something that you have to accept

pliant canyon
hearty prawn
hearty prawn
pliant canyon
# hearty prawn that's like an instant rejection

Provided to YouTube by Universal Music Group

That's Life (Remastered 2008) ยท Frank Sinatra

Nothing But The Best

โ„— 2008 Frank Sinatra Enterprises, LLC

Released on: 2008-01-01

Producer: Charles Pignone
Studio Personnel, Engineer: Eddie Brackell
Studio Personnel, Engineer: Lee Herschberg
Composer Lyricist: Kelly Gordon
Composer Lyricist: D...

โ–ถ Play video
hearty prawn
#

welp another one gone

tepid echo
#

that's life

#

but god dam, I thought the oldest vid on yt is 12 years old

vast valley
#
apt-cache search dev|grep "\-dev"|sort > available_devs.txt
icy fern
dusky inlet
tepid echo
#

oh fuck

#

i thought this one is 12 years old

dusky inlet
#

well it was

tepid echo
#

wdym

dusky inlet
#

in 2017

tepid echo
#

hmm?

burnt tinsel
tepid echo
#

what happened then

dusky inlet
#

it was 12 years old in 2017

burnt tinsel
#

@sick olive

tepid echo
#

that's right

#

for some reason, i thought this vid remains 12 years old lol

sick olive
#

hi

sick olive
tepid echo
#

hey

burnt tinsel
#

You wanted to know how to change pypi pfp?

sick olive
#

no

#

i wanted someone to help me finish the coding for my bot

#

can u help? @burnt tinsel

#

rip the old logo

#

it was the best one we've ever had

abstract peak
#

mhm

pliant canyon
#

lol

sinful frost
#

xd

sick olive
#

I remember I once tried to learn CSS in a single day

#

"html was do easy! can't wait to see how this CSS thing works..."

#

sweet little dead bunny plays

mystic mauve
warped widget
#

can we have monorepos in python?

sick olive
pliant canyon
#

yes

solid prawn
#

yes

still pike
#

*insert bri'ish*

pliant canyon
#

hey probably do

quasi cape
#

color >>>>

#

say no to british english

sick olive
#

"ou" is way too French

quasi cape
#

they say d instead of t lmfao

#

waderofboddle

#

๐Ÿ›

near raft
#

is it weird that in this gif she was wearing a yellow hoodie

#

but suddenly shes wearing a pink one

tepid echo
#

the slap was so powerful that they traveled in time

prime girder
#

no they drink it

tepid echo
#

right

stone gyro
#

Convenient expression

sick olive
#

6TGMG-TH67P-2JWKT-TVTRM-MWM3Z

#

for anyone who wants

#

scam?

static trout
#

hmmm

sick olive
#

probably legit

#

huh

#

i wont try

#

You can have mine too 6TJ2K-KM9XQ-3QQDQ-4HWPQ-HC7DZ

static trout
#

i feel like this has a catch

sick olive
#

it is for new members and requires a CC

static trout
#

do you need to give ur credit card

#

ahhh i see

sick olive
#

that's the whole catch, you get auto billed if you don't cancel it

#

sooo

#

if i cancel it when i have 1 month and 29 days remaining

#

will i not need to put?

static trout
#

no, you'll need to put one regardless

sick olive
#

oh

#

well that didnt work

#

almost

#

rip

static trout
#

dont u just love it when you spawn on powder snow

sick olive
#

lol

#

that's luck right therre

oak hemlock
#

what am I looking at

summer robin
#

Haven't played minecraft in ages, but I must say it's amazon's best game ever.

sick olive
neat glen
sick olive
#

That's my question

neat glen
#

it is a snapshot, no mods work for snapshot, right?

sick olive
#

Oh nice

static trout
#

wow my next world

#

as i just spawned a pack of wolves finished off a pack of sheep

#

i guess free wool ยฏ_(ใƒ„)_/ยฏ

oak hemlock
#

unless this a joke I don't get

static trout
#

have to say the new caves look amazing

summer robin
static trout
#

and ms bought mojang tho

oak hemlock
#

I think around 1.9 was when that happened

#

or maybe 1.10 or 1.11

#

\๐Ÿค” some time around there

static trout
#

1.8 -> 1.9 i think

oak hemlock
#

oh yes

1.8 was the last major update to be released before Mojang Studios' acquisition by Microsoft.

#

y'know i'm convinced that NVIDIA hates me

#

tell me if y'all can notice this problem -_-

solid prawn
oak hemlock
#

oops

solid prawn
#

this is one of the problems

oak hemlock
#

don't look at that

#

damn. didn't even realize

clear root
dusty aspen
oak hemlock
#

we're talking about it again because it's worse now

#

my dGPU used to be 4x slower

dusty aspen
#

oh right, 10 times now

oak hemlock
#

it is now 10x slower >:(

#

I'm suing NVIDIA

#

rn. loss of sanity

#

I'm up at 3AM trying to solve issues

#

and getting nowhere

#

well the places I'm getting are behind me. literally working backwards

#

UGH

#

y'know my only real solution now is moving back to Windows

#

that or buying a new laptop without optimus

static trout
#

woah iron is rare

#

i spent like 20 min searching for iron and found 1 piece

#

just may be my bad luck tho

oak hemlock
#

ugh

#

if you think that's bad luck

static trout
#

...searching in these caves with no armour is tuff

oak hemlock
#

nvm. don't get me started

#

I am go cry myself to sleep now

#

I guess maybe tomorrow I work on... removing all of Linux that I have

#

and dreading my existence, having to live with Windows

summer robin
#

Are you aware of the magic of refind.

#

It's just great, dual booting your laptop to only choose windows once every 3 months

oak hemlock
#

I don't get it

deep heath
clear root
#

I think the problem here is NVidia drivers being a nuisance a ending up vastly slower than they should be.

oak hemlock
#

indeed

#

this happens on both KDE Neon and openSUSE Tumbleweed

#

with that, I'm almost certain it'd happen on every other distribution

static trout
#

i found lapis and i still havent found iron

oak hemlock
#

shame

clear root
#

yeah, iron can be a pain to get

static trout
#

FINALLy

oak hemlock
#

I really do not wish to go back to Windows

#

๐Ÿ˜” I sleep now

#

whatever that means

fathom yew
static trout
#

im at y12 and i still dont have iron tools

fathom yew
#

ahhh sed

clear root
#

did you try arch, it has quite good drivers for stuff due to being arch

summer robin
fathom yew
pliant canyon
static trout
#

i finally found iron

pliant canyon
#

lapis comes way earlier than it should

static trout
oak hemlock
#

I really kind of don't want Arch, though

clear root
#

well, if you find out arch works, you can figure out what to do from there

static trout
#

i mean the bedrock layer is at y-64 now

fathom yew
# static trout at y12

damn dude how could you get that deep without iron tools!! Are you really in a random world and survival?

clear root
#

if this is an issue that was ever reported and fixed, the fix will be on arch or nowhere

summer robin
oak hemlock
#

._.

summer robin
#

And according to internet lore each install of arch comes with a free trilby.

deep heath
oak hemlock
#

you're right

#

do I really want to become another ArchBTW nerd

#

is this a train I want to fall onto

clear root
oak hemlock
#

idek what a trillby is

#

is that a hat?

fathom yew
clear root
#

you can use arch and not be an elitist prick about it, yknow

#

it is hard

#

but it is possible

oak hemlock
#

I may just use Windows, tbh. I think I might prefer it over Arch

clear root
#

fair

oak hemlock
#

I really don't think I want to worry about the rolling release

#

I've had problems in the past and apparently this setup is proving to be more volatile than my last

#

I'm afraid even to update openSUSE Tumbleweed every week

#

imagine Arch :faint:

summer robin
#

I wouldn't use arch either. That's why I'm on manjaro.

static trout
#

good news - i got enough iron for a set
bad news - im at y0

clear root
#

well, you could just see if arch works at all, and then at least have some more info on the issue. But I can see the advantage of just using a normal OS that works.

prime mist
#

Hi mates is there anyone who uses Emacs?

oak hemlock
#

I doubt the issues I have are the only ones

clear root
#

I do use emacs every once in a while

oak hemlock
#

idk, I feel like it's not worth it

prime mist
clear root
#

I tried for a while, but I wanted drawing tablet support and couldnt get it working in a useful manner

#

so I am just using OneNote now

prime mist
oak hemlock
#

I should really get to sleep now

#

the time is Not Found ๐Ÿ˜”

clear root
#

you may want to try some IRC channel tbh, I dont think many here have gotten that deep into emacs

oak hemlock
#

I hope someone eventually gets that

timid beacon
#

new open source project?

dusty aspen
#

!e print(type(type))

obtuse swallowBOT
#

@dusty aspen :white_check_mark: Your eval job has completed with return code 0.

<class 'type'>
dusty aspen
#

very nice

summer robin
#
>>> isinstance(type(type), type)                                                                                        
True ```
abstract peak
#

!e print(type(type(type)))

obtuse swallowBOT
#

@abstract peak :white_check_mark: Your eval job has completed with return code 0.

<class 'type'>
abstract peak
#

mhm ๐Ÿ‘€

#

!e

print(type(type(type(type(type)))))
obtuse swallowBOT
#

@abstract peak :white_check_mark: Your eval job has completed with return code 0.

<class 'type'>
summer robin
#

I've always found it odd how type is a type instead of a function

gleaming void
#

there is some funky code somewhere that lets type be its own class

#

which, conceptually, I guess a circular dependency is inevitable, otherwise you'd have a class with no class of its own, which would be weird

sick olive
#

@ruby trellis hey

#

buckeroo its time to bulk

ruby trellis
#

๐Ÿ”ซ

sick olive
#

do you have muscle or fat ๐Ÿ˜ 

ruby trellis
#

i can see my elbow

sick olive
#

like how much

#

because we all have fucking elbows lol

ruby trellis
#

like none of both visibly.

sick olive
#

so like chubby elbow?

ruby trellis
sick olive
#

true

ruby trellis
#

i think chubby?

sick olive
#

ok so listen here

ruby trellis
#

oh no

sick olive
#

lean bulk ez you'll get gains

dusty aspen
#

this is a really weird conversation to be having on Discord

sick olive
#

do high compound exercises

ruby trellis
dusty aspen
#

yes

sick olive
#

no please

ruby trellis
sick olive
#

stop

#

im gonna tall terry davis on u

dusty aspen
#

C is actually pretty fun

sick olive
#

haha fuck you

ruby trellis
#

damn fucking right it is

sick olive
#

i hate you

#

its fucking hell to program in c

ruby trellis
# sick olive its fucking hell to program in c
long extract_nth_bit(long x, int n) {
    return (x >> (n - 1)) & 1;
}

int main() {
    int index;
    FILE* mp3 = fopen("./example.mp3", "rb");
    long sync_word = 0;

    fread(&sync_word, sizeof(long), 1, mp3);
    printf("%li\n", sync_word);
    fclose(mp3);

    for(index = 0; index < 16; index++) {
        printf("%li", extract_nth_bit(sync_word, index + 1));
    }

    printf("%s", "\n");

    return 0;
}
sick olive
#

sure this is fine but listen

clear root
#

the worst object oriented language out there.

ruby trellis
#

truly

sick olive
#

as the project gets more advnaced, the anti-deppresent pill usage gets higher

#

oh my god oop in c is nonexistent

clear root
#

no, you have to use oop

ruby trellis
#

that is the joke

sick olive
#

but c++ is yk ๐Ÿ˜ณ

#

cute

clear root
#

you dont get a choice, every other paradigm is just even worse in C

ruby trellis
#

C is object based.

#

as in, based.

#

its objects are based.

sick olive
#

OKAY LOL

ruby trellis
#

just like C is based.

sick olive
#

thsi guy lmfao

clear root
#

just about every codebase you find will be doing OOP in some form. Most at least have the dignity not to handroll inheritance

ruby trellis
#

in C?

sick olive
#

polymorphism ig

clear root
#

ye

ruby trellis
#

if so, yeah pretty much.

clear root
#

you do need polymorphism

#

but you can get away with tagged unions for a long while

ruby trellis
#

though it is more emulating OOP than anything, if you can even call object-based programming emulation of OOP.

sick olive
#

true

clear root
#

I mean, OOP languages arose from C patterns

ruby trellis
#

checks out

sick olive
#

โœ… seems about right

ruby trellis
#

was it Modula-2 or ML that did OOP first?

clear root
#

people in C were making methods and implementing vtables by hand and then someone was like "we can do better" and made it a language feature

ruby trellis
#

one of the two.

clear root
#

probably modula

sick olive
#

hell if that aint right

clear root
#

ML didnt really do OOP until OcaML

#

if we mean the same ML

ruby trellis
#

ooooooooooooooooooooooooooooooooooo ocaml

sick olive
#

you know this sounds like a lot of history and yk i dont like history ew yucky get away!

clear root
#

smalltalk is really the big old language for OOP

sick olive
#

hah

ruby trellis
#

implementing OOP in C is not that difficult as far as i can imagine its implementation.

sick olive
#

@clear root are you a he or a him ๐Ÿ˜ณ im confused

clear root
#

yes

sick olive
#

understandable

ruby trellis
#

though assuming you want to tell type safety to fuck off, you will need a lot of void pointers and custom tagging systems.

sick olive
#

ofc

ruby trellis
#

however you can just do something like storing fields in a hashtable, and methods in an array.

sick olive
#

but like why do all of that when you can use beautiful o'le c++ ๐Ÿ˜ณ

ruby trellis
#

that way you can get run-time inheritance and stuff.

ruby trellis
sick olive
#

i was tought in school that a C+ is better than a C so thats why i use C++ cuz its like c+ but + more

clear root
#

well, in a very basic form, you just do

typedef struct whatever Whatever;
w_new(Whatever* self);
w_free(Whatever self);
w_add(Whatever* self, int elem);
w_remove(Whatever* self);
sick olive
#

yeah typdef safety go brr

ruby trellis
#

type safety is for the weak.

sick olive
#

true aka u :hehehetroll:

clear root
#

you can use macros to wrap around the void pointer hell you unleash with inheritance

ruby trellis
#

macros are obviously the solution to everything.

clear root
#

though in an even more basic form, you can do inheritance safely

#

indeed, you can even do rudimentary lambdas

ruby trellis
#

you can store everything in a FUCKING STRING.

clear root
#

and do FP

sick olive
#

strings are cool, that doesnt sound like a bad idea. what could go wrong? ๐Ÿ˜ณ

clear root
#

shudders at my microkanren in C abomination

ruby trellis
#

BAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA

sick olive
#

๐Ÿคฃ

ruby trellis
#

this is why C is the Most Based Language Ever.

sick olive
#

ofc

clear root
#

when half your code is macro invocation, you truly are doing something right

sick olive
#

oh absolutely

ruby trellis
#

if half your code is macro invocation you are not using enough macros.

sick olive
#

well im gonna head off and go stuff my face with yummies, toodaloo! have a nice night both of u beautiful beasts ๐Ÿ˜˜ ๐Ÿ˜˜ ๐Ÿ˜˜

ruby trellis
#
#define SCOPE_OPEN {
#define SCOPE_CLOSE }

int main SCOPE_OPEN
    return 0;
SCOPE_CLOSE
#

good night

sick olive
#

๐Ÿ˜˜

teal storm
#

then you're FUCKED

#

and you gotta write it in asm

ruby trellis
#

who needs closures when we got FUNCTION POINTERS.

teal storm
#

??

#

wat

ruby trellis
#

??

teal storm
ruby trellis
#

when has anything i said ever made sense

teal storm
#

idk

#

probably at least twice

ruby trellis
#

you give me too much credit

clear root
#

@teal stormyou can make that work with macros

#

it just kind of sucks

ruby trellis
#

wut

#

?

ruby trellis
#

yeah of course lol.

ocean walrus
#

It can be any character??

teal storm
ruby trellis
#

more or less

ocean walrus
teal storm
#

also, re: c macros

clear root
# teal storm <:doubt:851471422953357342>

the api ends up sth like this. You essentially construct a struct with a function pointer and a struct of captures, allowing you to copy the captures out of their original scope. Don't have a ready to use impl rn sadly.

CREATE_CLOSURE(add, int a, int b, { return a + b;})
addt create_adder(int n) {
    return NEW_CLOSURE(add, n);
}
int main() {
    addt a = create_adder(10);
    printf("%d\n", CALL(a, 54));
}
ocean walrus
#

Lmao

clear root
#

the cpp is intetionally weak

#

though with c++20/GNU17 you do get pretty simple recursion at least

ocean walrus
teal storm
#

there is two kinds but macros are just the start

ocean walrus
#

O OK

teal storm
#

there is the %define kind called "single line macro" which is basically the same as C macro

teal storm
#

there is the %macro kind which
is calle "multiline macro" and it pretends to be an instruction

ocean walrus
#

Oh

teal storm
#

you can do stuff like pass condition codes to make different jump if instruction or even innver the cc that was passed to the macro

ocean walrus
#

Ok

teal storm
#

there's a way to make (kind of l hygienic labels within a macro

#

actually there's a stack of "contexts" so that you can share hygienic labels between macros but not all macros

#
%macro retcc 1 ; define macro retcc taking 1 argument
        j%-1 %%skip ; jump to skip if inverse of passed cc
        ret
    %%skip: ; hygienic label
%endmacro
ocean walrus
#

Hm

teal storm
#

then given that macro you could say like

#
thingy:
    test rdi, rdi
    retcc z
#

which would return if the rdi register is zero

fair geyser
#

Where do I ask for help on the pyautogui library

clear root
#

#unit-testing is probably the closest topical channel, but a help channel is probably your best bet

neat sparrow
#

Fuck daylight savings

#

Almost thought I was 1 hour late for school lol

pliant canyon
#

promptly fucked.

onyx ice
#

It was sorta nice driving to work in the light, but definitely weird

neat sparrow
#

Why can't people accept that the sun is going to rise a bit earlier lol

#

Or later idk which way it goes

onyx ice
#

I think a large part of it is energy use, and it is a way to reduce energy consumption

hollow holly
#

Walking to the stop in the dark can be a bit sketchy, it feels like walking late at night

sinful frost
#

im too lazy to make my 3.4 gpa to 3.5 ๐Ÿ˜ฆ im so admiring people with 3.9 gpa on berkeley and stuff lol. i even cant do 3.5 on regular university

lofty cypress
#

Just like

#

Study harder bruh

ocean walrus
#

my gpa is infinite

onyx ice
#

C's get degrees

ocean walrus
#

lmao

peak cairn
#

halloween is over oof

ocean walrus
#

been so for more than a week now

peak cairn
#

yea i know the log of the server

#

am revising ict oof

sinful frost
# lofty cypress Study harder bruh

ye but problem is some of my courses is like i dont care XD but i have to since its important course. one of them is about assembly and stuff

#

so i get distracted lot xd

hearty prawn
#

ah

#

someone help, i want to make money

sinful frost
#

then make it

#

๐Ÿ˜‰

hearty prawn
#

lmfao

#

i had an idea but then again i can't speak of it in this server

peak cairn
#

mind joining my game making team?

onyx ice
#

Or get a basic job, I worked in restaurants up until I graduated from college and got a "real" job

peak cairn
#

if you are interested in making money

peak cairn
hearty prawn
peak cairn
#

Our current team has 4 people, 3 model creators, and me as the main scriptor

onyx ice
peak cairn
peak cairn
#

i am

hearty prawn
#

it's india

#

i can't rerally WORK at 14

peak cairn
onyx ice
#

Sure you can, just dishwashing at a local restaurant

ocean walrus
#

amateurs, imagine not being every age at once

hearty prawn
#

no sorry, i don't want to work with roblox haha

lofty cypress
#

If you cant pass a boring class youre a child

onyx ice
ocean walrus
#

ofc ofc

sinful frost
peak cairn
solid prawn
#

aboo is a worm??

ocean walrus
#

I'm aboo

lofty cypress
#

A job is like 70% boring shit, what are you gonna do then

ocean walrus
peak cairn
onyx ice
peak cairn
hollow holly
#

You can work at 14??

solid prawn
#

ye im currently paying to do boring shit
cant wait to get paid for doing boring shit

sinful frost
lofty cypress
hearty prawn
lofty cypress
#

You pay to go to uni

onyx ice
peak cairn
#

oh oh, if you paying its ultimately your decision

peak cairn
#

sad to say, but im from china and i really dont think that's a no

#

but now usa top companies are moving to india

onyx ice
#

Best thing to do is to avoid buying products from those companies, because they only pay attention to their profit

peak cairn
#

China is getting rich f

serene dagger
#

imagine paying to go to uni lemon_smug

ocean walrus
hollow holly
hearty prawn
#

i was thinking of making a random blog website

hearty prawn
#

and add a lot of ads

#

lIKE A LOT OF ADS

ocean walrus
#

apparently they're making community college free

hollow holly
#

I think one of the most atrocious industries is the cruise ship industry, their wages are non existent, like 1 or 2 dollars an hour

dim flicker
#

Well it's community collage for a reason

ocean walrus
#

yes

peak cairn
#

sorry if thats insulting

hearty prawn
#

welp time to make a blog website with react and django tonight

hearty prawn
#

alSO get a ad thing setup

dim flicker
#

They're more for people who can't afford to spend 75k a year on collage

ocean walrus
#

I know a few people who're doing two years in community college, and are transferring to a better uni for the rest of their degree

peak cairn
dim flicker
#

Doesn't matter

peak cairn
#

then they come out and work to pay it off

hollow holly
#

Enlighten me, what happened with the chocolate factory?

ocean walrus
#

and then get fucked over by debt later

dim flicker
#

That's like, 15k max

still pike
dim flicker
#

And you end up paying 100k back in 20 years

peak cairn
teal storm
ocean walrus
peak cairn
#

every year america needs to borrow money from other countries oof

teal storm
ocean walrus
#

In my state, the in state price for Virginia Tech is 17k per year

dim flicker
still pike
#

What the fuck

hollow holly
ocean walrus
#

let me double check that

teal storm
dim flicker
ocean walrus
#

yeah it is

solid prawn
hollow holly
ocean walrus
#

In state is 13,691

solid prawn
#

im smart that way

peak cairn
dim flicker
ocean walrus
solid prawn
#

aha

ocean walrus
onyx ice
peak cairn
dim flicker
#

POV: your state is for lovers yet everyone who lives in Virginia is sad

teal storm
ocean walrus
#

so I guess you could throw in another 10-15k for all that

serene dagger
peak cairn
onyx ice
peak cairn
#

for more students i mean

dim flicker
#

America is bad

ocean walrus
#

I might just live at home, but if I do that, my only option is George Mason, which is twenty minutes away

peak cairn
#

i dunno whats it called in english

dim flicker
#

That's not even an argument

hollow holly
#

Did the motto โ€œVirginia is for loversโ€ come from the SCOTUS case Virginia vs. Lovers or is that a coincidence

ocean walrus
#

i dunno

hollow holly
#

Or maybe Iโ€™m mixing it up with Georgetown

dim flicker
#

If you live in Virginia go George Town if you can afford it and get in

ocean walrus
peak cairn
#

any examples of no relational databases?

solid prawn
#

nosql

onyx ice
#

Virginia Tech isn't bad either

teal storm
peak cairn
dim flicker
#

Isn't US debt over 1 trillion dollars?

peak cairn
#

At my place hardly students have to lend to go to university

peak cairn
hollow holly
#

In state here I have a few good options, UMD is probably the best option as itโ€™s 16th in US for CS

onyx ice
ocean walrus
#

Penn state is closer than VT, but its out of state, so its more expensive

teal storm
solid prawn
#

me

peak cairn
ocean walrus
#

amateurs, I pay the US government

solid prawn
#

usa owes me a couple trillion

teal storm
peak cairn
solid prawn
teal storm
#

the us debt is not owed to other countries

peak cairn
#

that's true, a fact

onyx ice
teal storm
#

it is owed to the american citizenry

peak cairn
#

yet china holds over 60million of usa bond

ocean walrus
peak cairn
onyx ice
teal storm
ocean walrus
#

60 million isn't that much when you have a trillion

#

lmao

peak cairn
#

oof, plus i dont remember the exact number

#

but debt isnt a problem for the time being

lofty cypress
#

Debt is aleays a problem wtf

peak cairn
ocean walrus
#

wat

peak cairn
#

after all its the next president's problem

#

not the current one lol

hollow holly
#

Then itโ€™ll never be anyoneโ€™s problem, and itโ€™ll keep growing and growing and making things worse for everyone

peak cairn
#

that's what has been happening

#

growing usa debt

lofty cypress
#

Ofcourse you can solve it

#

Stop printing money for no goddamn reason

ocean walrus
#

imagine using money

hollow holly
peak cairn
#

just keep borrowing

ocean walrus
#

just dont elect presidents ez

peak cairn
ocean walrus
#

lmao

peak cairn
#

always fight

#

everyone is never gonna agree

onyx ice
lofty cypress
#

Investopedia
BASED

onyx ice
#

They are going to be bullish, of course

static trout
#

my smp is getting very heated up

static trout
#

one person griefed me and 2 other friends (lost 30 totems)

onyx ice
static trout
dim flicker
#

Why are people outside the US (I assume) commenting about what is and what isn't a problem in the US

onyx ice
#

Beats me

onyx ice
#

But I think it is a decent convo

peak cairn
#

but not our problems as long as we happy we save we good

serene dagger
dim flicker
#

Fair enough.

onyx ice
solid prawn
#

usa might have its problems but its easily one of the better countries to live in today

peak cairn
#

though high taxes

onyx ice
#

Huh?

peak cairn
#

usa is one of the countries with the highest taxes

onyx ice
#

No, you are thinking of the Scandinavian countries

#

And most of Europe

onyx ice
#

I don't know, I feel like we have some of the lower tax rates

peak cairn
#

though i would love to leave my city f

hollow holly
#

Itโ€™s the 24th country with the highest taxes

#

(Income tax at least)

lilac wren
upper turret
#

bruh

peak cairn
#

๐Ÿ˜ฆ

lilac wren
#

peter higgins?

peak cairn
#

you dont know who jarad higgins is?

lilac wren
#

ahh, juice wrld

onyx ice
peak cairn
#

Jarad Anthony Higgins, a.k.a juice wrld

lilac wren
#

how am I hating?

hollow holly
peak cairn
#

can i download microsoft access for free?

lilac wren
#

and even then it is a discount iirc

#

why do you want access in the first place?

peak cairn
#

ITS FUCKING SHIT

pulsar yarrow
#

lol

lilac wren
#

wtf

#

lol rip

peak cairn
#

so

pulsar yarrow
#

yes

peak cairn
#

i have no choice but to practice <#1/1/1996# > on access

#

ITS FUCKING BULLLSHITTTT

sinful frost
#

i am the alpha and the omega, the beginning and the end.

serene dagger
#

i eat stickers

sinful frost
#

also god

lucid crest
#

Hi
As you all are expert with computers, I have a question.
So basically I have an issue with DHCP and I found this POSSIBLE solution on the microsoft website:
https://docs.microsoft.com/en-us/windows-server/troubleshoot/how-to-use-automatic-tcpip-addressing-without-a-dh
There, it says to follow this and on the registry editor:
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\VxD\DHCP. I followed the path, but I couldn't find anything as "VxD"

#

No folder as VxD

pulsar yarrow
deep heath
sinful frost
deep heath
#

Which 'mightest one'?

#

A lot of cultures claim one of their gods is 'mightest'?

fathom yew
#

mightIEst not mightEst

thick widget
#

i wanna round a number to the nearest 30. how do i do that in py code?

thick widget
#

sure

fathom yew
#

is anything there in py to find the int with the smallest value in a list @thick widget ?

thick widget
#

yeah you could iterate over the list and do min(i)

fathom yew
#

whatever, I found this

#

alright figured out, basic math

#

lemme check if it works

thick widget
#

mhm

fathom yew
#

oh wait

#

ah got it

royal jetty
#

my mom just noticed the result of my last Swedish exam (that I failed) she is mad af

#

oh boy I'm in trouble

fathom yew
#

sorry wrong ping

deep heath
fathom yew
#

@thick widget I don't think my method is efficient enough because it is kinda lengthy.

thick widget
#

oh\

deep heath
#

Or they cannot, idk, my spellcheck knows both and idk which is correct

royal jetty
fathom yew
#

wtf there is something like round() ๐Ÿคฃ @thick widget

deep heath
thick widget
#

i thinj it rounds decinmals to nearest ints

fathom yew
#
number = int(input('Enter a number :'))
rounded = round(number/30)*30
print('Rounded Number :', rounded)

check this @thick widget

royal jetty
#

!d round

obtuse swallowBOT
#

round(number[, ndigits])```
Return *number* rounded to *ndigits* precision after the decimal point. If *ndigits* is omitted or is `None`, it returns the nearest integer to its input.

For the built-in types supporting [`round()`](https://docs.python.org/3/library/functions.html#round "round"), values are rounded to the closest multiple of 10 to the power minus *ndigits*; if two multiples are equally close, rounding is done toward the even choice (so, for example, both `round(0.5)` and `round(-0.5)` are `0`, and `round(1.5)` is `2`). Any integer value is valid for *ndigits* (positive, zero, or negative). The return value is an integer if *ndigits* is omitted or `None`. Otherwise, the return value has the same type as *number*.

For a general Python object `number`, `round` delegates to `number.__round__`.
fathom yew
royal jetty
#

indeed

thick widget
#

wait

deep heath
#

!e print(0.1+0.2)

thick widget
#

so i can use it to round to nearest 30?

fathom yew
#

yes

obtuse swallowBOT
#

@deep heath :white_check_mark: Your eval job has completed with return code 0.

0.30000000000000004
short oyster
#

3.10 error messages are so clutch

deep heath
#

!e print(round(0.1+0.2, 2))

obtuse swallowBOT
#

@deep heath :white_check_mark: Your eval job has completed with return code 0.

0.3
fathom yew
#

coding in vim is just heaven

royal jetty
#

What is best way to handle that I got a 4 (failed) at swedish exam. All I did was reply "ok" and I think that was a mistake

#

I might need to explain that to my parents somehow

fathom yew
fathom yew
deep heath
fathom yew
#

But I wonder how you can use Discord while getting scolded by your parents @royal jetty ๐Ÿคฃ

royal jetty
#

Im upstairs waiting for that to happen

fathom yew
#

๐Ÿคฃ

royal jetty
#

Like extra classes

deep heath
royal jetty
#

I think my parents will most likely force me there

fathom yew
#

I'll pray for you. However, I'd suggest studying better next time and pay attention because your parents are paying for it! well me using Discord and coding while online classes is fair but you SHOULD focus!!!!

royal jetty
fathom yew
#

oh

#

same with me I am not as good in Hindi than I am in English

odd mural
#

Hey

#

Any good discord py developer?

fathom yew
#

Hello!

royal jetty
odd mural
#

I'm looking for Dev's in my small startup

fathom yew
sonic glacier
obtuse swallowBOT
#

9. Do not offer or ask for paid work of any kind.

fathom yew
obtuse swallowBOT
#

9. Do not offer or ask for paid work of any kind.

fathom yew
odd mural
#

Its not paid work I'm literally 15

#

I got no money im doing it out of fun

fathom yew
#

startup means money, doesn't it?

royal jetty
#

But ye I will study for next time

rain cloud
#

Hey guus

#

I got a question

odd mural
fathom yew
#

oh

odd mural
#

Rn no money but if things work out in future

fathom yew
#

I don't think you'll get one

sick olive
#

Hello

odd mural
#

This server literally is full of Python devs

fathom yew
sick olive
#

How you all doing

golden lynx
#

Depends on the server and amount of members too

sick olive
#

@odd mural nope

fathom yew
golden lynx
odd mural
#

So any discord.py dev wanna Collab pls uk contact me or ping me

sonic glacier
#

@odd mural "of any kind" includes future payment, we don't allow recruiting anyway, and I doubt anyone wants to work for free

sick olive
#

@golden lynx panda library

fathom yew
deep heath
sick olive
#

@odd mural Ok

odd mural
#

Bru I'm going

fathom yew
odd mural
#

I literally got cancelled coz I messed up collaborator with startup

sick olive
golden lynx
sick olive
sick olive
fathom yew
sick olive
fathom yew
#

hmm stress for what?

sick olive
#

Some Exam stuffs

odd mural
#

U indian?

fathom yew
#

ah I had guessed

sick olive
#

Electromagnetic wave

golden lynx
fathom yew
sick olive
#

That subject is bullisht

odd mural
#

My bot's my pypi packages

#

Everything is open source

odd mural
sick olive
#

@odd mural we all what's your problem

odd mural
deep heath
sick olive
#

We all Indian here, any problems with that's

odd mural
#

No bro

sick olive
#

If you have anything just must yourself

rain cloud
odd mural
#

I'm one coz and u said exams do I thought ur in 10th grade in india so

sick olive
#

Okay ๐Ÿ˜‚

odd mural
#

I just asked r u an indian and ppl refer to it as racism

sick olive
#

I'm already stressed out and someone telling some racism that's why

odd mural
#

Nvm

#

TF ur pinging me everywhere @rain cloud

golden lynx
#

I'm an European :)

odd mural
#

Nice

rain cloud
sick olive
#

@golden lynx that cool, raining now?

odd mural
deep heath
golden lynx
sick olive
#

Ikr๐Ÿ˜‚

odd mural
#

Lol

odd mural
golden lynx
deep heath
sick olive
#

GitHub

odd mural
#

Aight wait

#

I'm hiring no one

odd mural
#

I want a collabor guy

#

Good with dpy

#

Nothing else

golden lynx
#

'collab' meaning contribute.

odd mural
#

If no one I'm good still I just asked

deep heath
odd mural
#

Aight I apologise

deep heath
golden lynx
#

Asking for contributors or help with an open source project on github is allowed here last time i checked.

golden lynx
thick widget
odd mural
#

For everything I wrote
Literally 10 mins of me talking in the server for the first time and getting cancelled for

My messed up words with startup
hiring

And suspected racism which I didn't do

Well sorry

deep heath
odd mural
#

Aight I'm sorry

#

I want no contributor

#

Or any guy leave it all

deep heath
odd mural
#

I said sorry

#

Don't ban me now fgs