#ot2-the-original-pubsta

652 messages ยท Page 71 of 1

fervent lance
#

But if the inverter is on the right side of the 'gate'

#

When you pass 0,0 on the right side it's 0+0 = 0

#

You add them up right? For example of it was

#

0, 1 being passed it would turn into 0 correct?

elfin vine
#

How do you guys write the doc-string for classes?

hazy laurel
#

Horribly...

class World:
    """
    World class, whose object will hold entities, components and processors.
    """
elfin vine
#

I've always found it so hard. For me it has boiled down to either: ```
Represents something that can do this, and we get it from that.


Or I do more like.. ```
A thing that can do this and we get from that.
#

But "represents", "holds", "calls" is usually pretty bad practice to use.

#

For example, with function you always do "calculate", "send", "configure" not "calculates", "sends", "configures"

fervent lance
#

My truth table for my NAND gate and my AND gate with two inverted inputs looks the same

fervent lance
#

What would it be for

#

0, 1

#

@fast wyvern

fast wyvern
#

for 0, 1 AND with inverted inputs returns 0 while NAND returns 1

daring peak
#

Yes I know

#

.

echo fern
#

wdym pointless?

daring peak
#

Compex logical expression are super hard to read

#

Yes, that's why I said that my previous sentence wasn't true

supple pond
#

There is a town in Michigan called Hell

mental idol
#

It's not that bad of a place. Real nice in the autumn

paper ruin
#

@light void I thought python had a workaround for this

light void
paper ruin
soft quiver
#

there's also math.isclose(a, b) to check if 2 numbers are close like that

vocal raven
#

For floats we check that if they are close to each other or not

#

There is precesion error

echo flower
#

__str__

odd sphinx
#

__str__ this is a wendy's

slow valve
#

underunderstrunderunder

balmy storm
#

Right so

#

First your text formating of Come back later is messed up in

#

Also, instead of using the normal chromium pdf viewer that looks like shit

#

You could potentially make a better one of your own

slow valve
balmy storm
#

Yeah

slow valve
balmy storm
#

I see

slow valve
#

just don't have much time

balmy storm
#

Well any which ways

slow valve
#

thanks

balmy storm
#

And the best one

slow valve
#

I will look into that

balmy storm
#

Awesome!

sharp spoke
#

!code

clever salmonBOT
#

Here's how to format Python code on Discord:

```py
print('Hello world!')
```

These are backticks, not quotes. Check this out if you can't find the backtick key.

sharp spoke
#

@livid raft

livid raft
#

yes

#

kaisa

#

!code
print("hello")

#

f

sharp spoke
#

use the " ` " three times

#

before and after the code

#
print hello
livid raft
#

ohh " ' "
print("hello")
" ' "

sharp spoke
#

gods

livid raft
#

'''py
print hello
'''

#

bye

dusky cliff
#

backticks not quotes

sharp spoke
#

backticks bru

#

the one beside 1 key

livid raft
#
print hello
#

o

#

no

livid raft
sharp spoke
#

1 backtick instead of 3

livid raft
#

dem

#

tks

civic plank
#

cutest lion cub ive ever seen xqcAYAYA

tranquil ridge
#

hmm

#

looks kind of unreal idk

median blade
#

yeet it

civic plank
#

D:

slow valve
median blade
#

lol

foggy egret
#

mmm sleep deprivation ๐Ÿ’€

pliant trench
#

it looks like it is mixed with an adult lion

fast wyvern
#

cries in normally writes python

inner shell
#

tiling beard manager yes

jovial island
#

Trying to fix my image editor
it aint goin well

#

The issue is somewhere in here, as this deals w/ drawing the canvas (sorta, it's a bit weird.)

local function setPixel(x,y,char,fg,bg)
  char = char or ram.char.char
  fg = fg or ram.col.fg
  bg = bg or ram.col.bg
  local blitLine = image.data[y]
  local charLine = sUtils.splice(blitLine[1],x-1,char,true)
  local fgLine = sUtils.splice(blitLine[2],x-1,fg,true)
  local bgLine = sUtils.splice(blitLine[3],x-1,bg,true)
  wins.canvasWin.setCursorPos(1,y)
  term.blit(charLine,fgLine,bgLine)
  image.data[y] = {charLine,fgLine,bgLine,y}
end
#

I think it's something to do with my splice calls.

#

(fyi, i'm not looking for help, this is a python server, not a CCLua server :p)

jovial island
#

Aha! I'm a fucking idiot!

#
  wins.canvasWin.setCursorPos(1,y)
  term.blit(charLine,fgLine,bgLine)
#

That term.blit draws where the term cursor is, not the canvasWin cursor

#

Problem solved!

blissful coral
#

^^^ how hacking according to hollywood looks like

rigid echo
#

not really hacking bruh

blissful coral
#

as in random multi-colored screen with random characters that the guy types a million wps on

odd sphinx
crisp vessel
#

Yow guys I was thinking about what if we make python classes for every object irl but then I thought how do we make energy then?

frank rock
#

what's an object

crisp vessel
frank rock
#

that's kind of complicated lol

#

quarks aren't made of anything, they just are

#

there's also all the other elementary particles to worry about
https://en.wikipedia.org/wiki/Elementary_particle

In particle physics, an elementary particle or fundamental particle is a subatomic particle with no (currently known) substructure, i.e. it is not composed of other particles. Particles currently thought to be elementary include the fundamental fermions (quarks, leptons, antiquarks, and antileptons), which generally are "matter particles" and "a...

dense abyss
#

hot

#

ight we in elementary school

#

nice i always wanted be in 5th grade

sudden swallow
livid raft
sudden swallow
livid raft
daring jay
#

Ah, the beauty of JavaScript

#

Oh, I put two braces instead of one

#

But still, that's one ugly undescriptive error-like thing

frank rock
#

I don't think it's really unexpected tbh

#

python's almost-json-dump dict representation is somewhat unusual

median blade
dusky cliff
#

hm

tranquil ridge
#

hm

daring jay
median blade
#

good

daring jay
#

That is definitely not beautiful

median blade
#

bruh

tranquil ridge
#

fail

dusky cliff
#

wheez

viral hare
#

imagine having nitro

#

literally couldnt be me

odd sphinx
#

sure

viral hare
#

yup for sure

steel eagle
#

Getting a good system installed again

#

No more distro hopping uwu

hazy laurel
#

openSUSE :D

steel eagle
#

Yeah I've confirmed that tumbleweed is the best rolling release distro hands down

hazy laurel
#

How so? lol

steel eagle
#

Arch and arch based still constantly break, Solus has an amazing package manager but make questionable choices that cause problems in their "curated rolling release" system. Siduction is just debian minus the stable, rolling rhino is a horrific idea and I'm trying to move away from canonical anyway.

#

Tumbleweed is stable, doesn't break when you update it, runs quick, and has a good community

hazy laurel
#

Jeez, I didn't even know there were that many rolling release distributions

#

For the most part, it's just Arch vs Tumbleweed

steel eagle
#

That's not even all of them, but those are the big players

#

Unless you're specifically trying to learn how to use and troubleshoot Linux problems in a fast paced, constantly evolving broken environment in a very advanced and hands on way, arch or anything arch based is not for you

#

That's my hot take

#

I've used vanilla arch, Manjaro, and endeavorOS

#

They're all the same, some just break more

odd sphinx
#

seems legit

#

if i get linux

#

ill probably get either tumbleweed or ubuntu

crisp vessel
#

#bot-commands

steel eagle
odd sphinx
#

yes

#

i was thinking of that too

steel eagle
#

Tumbleweed, or indeed even leap, are not good beginner OSes

odd sphinx
#

ubunt seems more beginner friendly

steel eagle
#

By a large margin yes

odd sphinx
#

but this is all if i get linux

#

ill keep that in mind

steel eagle
#

I recommend trying it out at least, it can be fun and even surprising in some ways

#

Before windows 11, Linux was almost always snappier and quicker in general system use

odd sphinx
#

damn

viral hare
#

once wsl has gotten the gui feature working and stable i doubt i will need a native linux install

hazy laurel
#

We don't use Linux because it gives us access to Linux programs

odd sphinx
#

yes

#

we use it to flex

hazy laurel
#

uh... no

odd sphinx
hazy laurel
#

only Arch users tbh

odd sphinx
#

lol

round moss
#

I have adopted a slightly different approach where I do most of my dev remotely over ssh on a linux machine

hazy laurel
#

For all that I do, Windows is completely useless

#

I just use Linux because what I do use it for feels much better than on Windows

#

Perhaps I've fallen into the trap of "I know more or less what goes into my system and so I feel far more comfortable with it"

round moss
#

honestly, I could just switch to linux at any time, but I have no real reason to do so

#

if I got a new desktop, I would probably put a linux on it just to try it out

hazy laurel
#

as long as you've not got hybrid graphics, usually all is well

round moss
#

yeah, these days it feels like desktop linux is viable

#

but I am still in awe at the complexity of scroll height or remaping keys

hazy laurel
#

wdym by remapping keys?

round moss
#

if you want to change caps lock to ctrl on windows, you set a registry key or download an app to do it for you

#

on linux, you download xmodmap, set it to run in xinit, learn its weird dsl and hope it owrks

hazy laurel
#

Why would you even want to do that O.o

#

oh, you'll like what I just discovered on accident

round moss
#

because my keyboard has ctrl in a really unwieldy place and pressing caps lock makes it nicer

#

it is also really nice for emacs

#

oh, that's nice

#

see, that's what I mean by seems viable, it's now in settings

#

didn't know that

odd sphinx
hazy laurel
#

yes that's hybrid

odd sphinx
#

fuck

#

why's that bad

hazy laurel
#

it's not bad but sometimes it can be a pain in the butt

odd sphinx
#

my laptop has hybrid drivers

#

and it's hp

hazy laurel
#

especially if you have AMD + NVIDIA

odd sphinx
#

I have intel + nvidia

hazy laurel
#

but Intel/NVIDIA is fine as long as you don't mess around with bumblebee

odd sphinx
#

o nice

hazy laurel
#

on Ubuntu, it'll usually work fine mostly out of the box (from my experience)

odd sphinx
#

damn

hazy laurel
#

on openSUSE for me it was also fine

#

until the broken NVIDIA update

#

but even then, it works fine now (with NVIDIA direct driver)

steel eagle
#

Broken Nvidia update never affected me

#

:^)

hazy laurel
#

D:

#

have you checked?

steel eagle
#

I'm using it right now...

#

Only issue I have is completely unrelated to the driver

#

My main monitor is a 165hz gsync/freesync 1ms IPS

#

1440p

#

It's a wonderful monitor, but its startup time is insane

#

It takes longer for the monitor to turn on than it does to boot into a desktop environment

#

Which leads to my OSes not detecting it sometimes without me turning it off and on

real forum
steel eagle
#

Since when is 1440p 4k

real forum
#

Ohh

#

I'm dumb

#

I miss read it

steel eagle
#

God almighty damn

#

I just had to use gimp again and I was reminded how truly awful it is

#

Fought with it for 10 minutes for something that would've taken me 10 seconds in Photoshop

hazy laurel
#

prime-run is just a script I made to prime-offload

#

and uh... it wouldn't work. and xrandr wouldn't acknowledge my card

#

and so I found out that other people were having the same issue, and that there was a workaround floating around

steel eagle
#

Yeah it seemed pretty random who got it and who didn't

hazy laurel
#

How bizarre

steel eagle
#

I've even seen someone else with a 1070 have issues while I don't do

#

So who knows ever the exact cause is

hazy laurel
#

The issue'd happened on both of my laptops

#

One which had a GTX 1660 Ti Mobile (Max-Q) and my other which had an RTX 2060 Mobile

steel eagle
#

Well you're dealing with hybrid graphics...that's just asking for trouble on ANY OS lol

hazy laurel
#

I am... annoyed

steel eagle
#

by?

hazy laurel
#

WoeUSB-ng

steel eagle
#

Ah, yes those are letters

hazy laurel
#

I wanted to install Windows 10 on my old laptop so that my younger brother could play games on it

#

WoeUSB is for making Windows installer bootable drives

#

and so idfk why but this stupid program thought it wise to get rid of GRUB

#

and I was able to boot into the installer, which would've been fine... if it worked properly

#

but I forgot to partition the drives and so now I need to reformat the USB and make it Linux live so that I can partition

#

but then from there I need to reformat it again with Windows installer

#

and that took absolute ages...

steel eagle
#

oofer nanners

hazy laurel
#

It's going to take 2 hours just to download Xubuntu live so that I can repair GRUB

#

I'm so mad, man

hazy laurel
#

I'd opted for the smaller openSUSE Live Recovery image, and GRUB has been fixed

#

now... time to wait a few years for WoeUSB-ng to finish making a bootable USB

#

and pray nothing breaks again

cedar leaf
#
NAME                                 READY   STATUS    RESTARTS   AGE
calc-main-deploy-867c975786-25qhn    1/1     Running   0          15m
calc-micro-deploy-794899f87f-8xbz4   1/1     Running   0          69m
date-main-deploy-7779b564f9-gdzwd    1/1     Running   0          15m
date-micro-deploy-645d56ddfd-ljktr   1/1     Running   0          15m
name-main-deploy-5c6dc58844-zj86l    1/1     Running   0          15m
name-micro-deploy-6d4bf47d77-q4sc9   1/1     Running   0          15m``` @wheat aurora Rabbit SRE DURR HURR KUBES!
cedar leaf
#

it has Ingress as well

frank rock
#

wish there was a nonbinary emoji flag but i can live with ๐Ÿณ๏ธโ€โšง๏ธ for now

hazy laurel
#

why does this disk even have MBR... this laptop is like 3 years old

#

and I accidentally just wiped my drive anyways

#

ffs

#

today I learned that even if you select a single partition and not a disk, Windows decides to wipe the entire disk without warning

sharp spoke
hazy laurel
#

how sad

#

Oh well. At least my brother can play his games

#

at the expensive of all my older files

sharp spoke
#

brother be like : a small price for salvation

hazy laurel
#

for salvation that is not my own

sharp spoke
#

but the price is

hazy laurel
#

all my files

sharp spoke
#

or should i say was

hazy laurel
#

:(

#

Windows better not take more than 25 minutes to install

#

I've been at this for like 6 hours

sharp spoke
#

are u... being honest to urself?

daring jay
#

@dusky cliff I was dealing with your nickname today

#

It was painful

odd sphinx
#

bryg

dusky cliff
#

lol

jovial island
sharp spoke
hazy laurel
#

:(

hazy laurel
#

but without sound

#

and the activation key must've been yeeted

sharp spoke
#

what do u mean without sound

hazy laurel
#

there's no sound

#

and this "Get Help" app is mean and just says

sharp spoke
steel eagle
#

install the audio driver from the vendor website lmao

hazy laurel
#

"no sound device found or something sorry"

sharp spoke
hazy laurel
sharp spoke
#

also @steel eagle u forgot :((

steel eagle
#

never use mfr programs lol

hazy laurel
#

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

steel eagle
#

OH YEAH

#

I didn't forget, my system wasn't booting when the notification went off lol

#

then I had D&D with my rfiends which got cancelled

#

long day

sharp spoke
#

lol its okay

#

and what is D&D

hazy laurel
#

Dungeons and Dragons, if I had to guess

sharp spoke
#

ah makes sense

hazy laurel
steel eagle
#

... the vendor website

hazy laurel
#

the vendor of who?

steel eagle
#

assuming it's your average sound device...realtek

#

the vendor of the hardware you numpty

hazy laurel
#

oh. but I mean like

#

other things I may not know about

steel eagle
#

Device manager should tell you what you have.

sharp spoke
#

that reminds me why i love microsoft.. their help docs are full of suggestions like use third party wizard/driver

steel eagle
#

perfectly reasonable considering they aren't the devs of it

sharp spoke
#

but wouldnt it have been better if they just gave the third party thing earlier as the default ?

steel eagle
#

yeah man let them give you 600GB of drivers by default

hazy laurel
#

:| I tried downloading the Realtek driver

#

and it says "The driver you're trying to install is older than the existing one"

#

how convenient

sharp spoke
odd sphinx
#

yes

hazy laurel
#

hate Windows

steel eagle
#

what do you mean? they're not even similar letters

#

they make completely different sounds

hazy laurel
#

they're still letters

jovial island
#

i take that back.

sharp spoke
#

some stuff seems yeeted :thonk:

jovial island
#

bruh the sticker thing is annoying

#

i wanna use a emoji and all i get r stickers in the suggestions

sharp spoke
#

do away with the nitro

sudden swallow
jovial island
jovial island
sharp spoke
#

dont kill me

median blade
#

wait a minute

jovial island
#

i am hornier than the average programmer

odd sphinx
#

debatable

tranquil ridge
#

ikr

sharp spoke
halcyon barn
#

true

hazy laurel
#

๐Ÿ‘€

jade bolt
#

wait a second, the first channel is the owner lemon
the next is the owner joe
does that mean this offtopic channel is....

sudden swallow
sharp spoke
#

No comments

jade bolt
#

there's three owners

#

["joe","lemon","sebastiaan"] so uh

#

this ot is probably

dusky cliff
#

oh no

jovial island
#

nice

proper python
#

but why

#
{
    "python.analysis.extraPaths": [
        "./escape-room/games"
    ]
}

well doing this fixed it but

rigid echo
#

all the snakes

thin cave
torpid silo
#

Lol

odd sphinx
#

bruh

sharp spoke
torpid silo
sharp spoke
torpid silo
#

Idk

#

๐Ÿ˜ถ

floral nexus
hazy laurel
#

that's like... 12 hours worth of downloading

median blade
#

ok

proper python
#

shut up shut up shUT UP SHUT UP GET OUT GET OUT GET OUT OF MY HEAD GET OUT OF MY HEAD GET OUT GET OUT GET OUT SHUT SHUT SHUT FUCK FUCK GET OUT GET OUT OUT OF MY HEAD MY HEAD MY HEAD MY HEAD

hazy laurel
#

imposter

tranquil ridge
#

sus

proper python
#

DIE DEIE LEAVE GET OUT TOUT KILL KILL KILL DIE DIE LEAVE DIE

sinful sun
#

Lmao

proper python
#

bro

#

i saw your funny comment

hazy laurel
tranquil ridge
sinful sun
#

Just remember it could all be so much worse

proper python
hazy laurel
#

D: wot

proper python
#

GET OUT GET OUT OUT KILL RED GET OUT GET OUT OGE=GO SFF

sinful sun
#

You gotta choose between being aware of how little you know and being unaware of how little you know

proper python
#

i know how stupid i am (:

sinful sun
#

Welcome to the world

proper python
#

oop, what did he send?

sinful sun
#

Also its impostor not imposter

tranquil ridge
proper python
#

i just see this, discord is glitching out

sinful sun
#

Lmao

odd sphinx
#

lmao

sinful sun
#

Idk why you'd block reptile, theyre one of the most wholesome easygoing active helpers here

#

But go off i guess

odd sphinx
#

confusing

viral hare
#

just join a server and block everybody in the server

sinful sun
#

Especially the staff

#

That'll show them suckers

odd sphinx
#

ikr

sinful sun
#

Blocking joe immediately results in a permaban from here and a decrease of your social status

proper python
#

whatever you say bud

sinful sun
#

๐Ÿ†—

viral hare
#

i think ima try that

real forum
exotic hound
#

can you use vscode extension in vim(or neovim)?

round moss
#

you can

#

I had a bad time with the neovim one

#

but the vim one worked great

exotic hound
#

How?

odd sphinx
#

wait

#

u want a vscode extension inside vim?

#

or vim inside vscode

exotic hound
#

yes

round moss
#

ah, I see

#

that I misunderstood

daring jay
#

You can get VSC extensions inside Neovim?

round moss
#

you can use onivim2 for vscode extensions inside real vim

#

I misread it as "do the extensions to get vim inside vscode work"

exotic hound
#

so i can't use the vscode extension in vim?

round moss
#

no, that is more or less impossible

exotic hound
#

oh

round moss
#

what specifically do you want, there is generally a vim alternative

exotic hound
#

just asking, otherwise i will keep googling for useless stuff

#

thnks for the answer

languid osprey
#

You can use VSCode LSP's with vim iirc with something like coc

viral hare
#

everybody i see with the default green pfp i think its the same person

sinful sun
#

We are hive

wild compass
#

We are hive

viral hare
#

this is cursed

wild compass
#

baguette cat is cursed

sinful sun
#

Join us

viral hare
#

hell no

sinful sun
#

J O I N U S

viral hare
#

fuk hive mind

steel eagle
#

@viral hare J O I N U S

viral hare
#

wait are ppl literally just changing their pfp

steel eagle
#

what do you purple literally?

wild compass
#

awoo green mind with the og discord pfp

viral hare
#

imagine using the green pfp

#

couldnt be me

wild compass
#

imagine using a baguette cat pfp

#

couldnt be me us

viral hare
#

definately couldnt be u ppl

real forum
#

It's the default green cult

halcyon barn
steel eagle
#

uppl? you mean apple?

upbeat sandal
#

hey @subtle raft
im ur biggest fan

#

||notice me senpai||

worn sluice
#

opal senpai

real forum
#

(I apologize for the cursed emoji)

echo flower
round ferry
#

wo opalmist be a celeb

#

and i found this

round ferry
sharp spoke
round ferry
#

breh

jaunty wadi
#

surely it's assigning 6 to foo[2]

native cobalt
#

the rare ot2 conversation

jaunty wadi
#

oh wait

native cobalt
#

but it should be assigning 3 to foo[1]?

wheat rock
#

me an intellectual went to ot1

jaunty wadi
#

no, it's assigning 6 to foo[1]

#
int x = 1;
foo[x++] = ++x + x++;
native cobalt
#

how is it assigning six if x = 1

#

++ only increments by 1

jaunty wadi
#

you forget that it's modifying x

#

the first x++ is evaluated, 1 is returned, x is now 2

#

the second ++x is evaluated, 3 is returned, x is now 3

#

the third x++ is evaluated, 3 is returned, x is now 4

wheat rock
#

is it a loop thingy

#

๐Ÿ‘€

native cobalt
#

3AM BRAIN

#

FUCK

wheat rock
#

is a language

#

sleep

#

!e

class sleep:
  def __str__(self):
    return 'sleep'
print(sleep())
clever salmonBOT
#

@wheat rock :white_check_mark: Your eval job has completed with return code 0.

sleep
jaunty wadi
#

holy crud it's undefined

native cobalt
#

you love to see it

wheat rock
#

foo is undefined

dusky cliff
native cobalt
#

not foo, the behavior of the operations done

wheat rock
#

wait what happens after 4

jaunty wadi
#

this is what I did

#include <stdio.h>

int main(void)
{
  int x = 1;
  printf("foo[%i] = %i\n", x++, ++x + x++);
}
#

this is the output

#

foo[3] = 5

wind wadi
#

for me it assigns 6 to foo[3]

dusky cliff
#

oh ffs i can't do addition

shadow elk
#

It is indeed undefined behaviour

round moss
#

It can do literally anything as far as C is concerned

shadow elk
#

yeah, clowns jumping out of the fridge etc.

jaunty wadi
#

wait we started with x = 2?

native cobalt
#

no, x = 1

shadow elk
#

doesn't really matter what the initial value is

native cobalt
#

_>

#

this really explains things

#

what's that darned bookmark command again

#

.bm

rustic harborBOT
#
I can't believe you've done this

Your input was invalid: You must either provide a valid message to bookmark, or reply to one.

Usage:.bookmark [target_message] [title=Bookmark]

dusky cliff
#

.bm

#

ye

shadow elk
#

The only thing in C that doesn't have undefined behaviour is comments

native cobalt
#

.bm 463035268514185226-865136399447490561 read this later

dusky cliff
#

lmao

native cobalt
#

it's quality content

jaunty wadi
#

i need glasses because I can't C

#

ba dum tss

#

...

wheat rock
#

lmao

jaunty wadi
#

i'll be on my way now

native cobalt
#

get the hell out

#

๐Ÿšช

#

the door is right there

hazy laurel
#

your boyfriend is a door

dusky cliff
#

i need glasses because i can't C sharp

hazy laurel
#

is that how the song goes

dusky cliff
#

:yeye:

tranquil ridge
hazy laurel
#

wot

wheat rock
#

you can classes

native cobalt
#

can classes help me see

dusky cliff
#

bad joke, worse execution

jaunty wadi
#

undefined laughter

tranquil ridge
hazy laurel
wheat rock
#

time to attend classes

native cobalt
#

laughter data type >_>

hazy laurel
#

404 laughter not found

#

because that's how C works

native cobalt
#

C sits down and then combusts into memory leakages

wheat rock
#

to form co2

native cobalt
#

and

#

w a t e r

wheat rock
#

water

hazy laurel
#

So many leakages, that's why it's called C

wheat rock
#

and heat

hazy laurel
#

(sea)

native cobalt
#

the caspian c

#

it's all memory leakages

hazy laurel
#

dihydrogen monoxide

native cobalt
#

I believe it's also called oxidane

#

by the... IUPAC?

hazy laurel
#

Checks out on Google

dusky cliff
#

thanks a lot freedictionary

#

really cleared that up for me

native cobalt
#

because the -phobia suffix needed to take a vacation >_>

#

oh, and -philia too

wheat rock
#

hydro_feelic_

#

hm

final sable
#

When you drink water, it hits you right in the feels

median blade
karmic dagger
#

does a central ac still save money if some vents are closed?

steel eagle
#

depends on where the thermostat is, if you close all the vents except for the room in which the thermostat is in...then yes, that room will cool down and shut the unit off.

karmic dagger
#

Shut the whole unit down? I've never used a central AC before so I don't know anything about it. Does each room have a separate AC unit even though it's central?

steel eagle
#

yes, correct and no

#

The unit itself provides the cooling to the whole house

#

the thermostat alone determines whether the unit will run or not, and in all but very few cases, there is a single thermostat that controls the temperature for the whole house

karmic dagger
#

So basically if you turn on the unit for just one room you're wasting money to cool every room. That's really expensive in electricity cost.

steel eagle
#

a central unit is not meant for one room

#

get a window unit or a good portable unit if you just want to cool one room.

jovial island
karmic dagger
karmic dagger
steel eagle
#

AC units are not that inefficient, generally once you get the house to a reasonable temperature it doesn't take much to maintain it

#

the big deal is cooling it down to the desired temperature in the first place

#

and then doing other energy-saving practices, such as good blackout-style curtains that shield heat

karmic dagger
#

Ok. Thanks for the input and help.

steel eagle
#

but yes otherwise, aside from closing vents in unimportant rooms, the only other option would be a window unit or portable unit in a specific room

#

but the second you need more than one room cooled, the central unit makes more sense

karmic dagger
steel eagle
#

maybe for 2 rooms at most, really

#

window units are not extremely efficient and not designed to be used for multiroom cooling

#

you have to take into account air leakage as well

#

and the cost of a good window or portable unit

#

you're paying hundreds of dollars upfront already

karmic dagger
steel eagle
#

average window unit is ~200

#

well there's a huge difference if you're considering GETTING central vs already having it

#

I'd say it's almost never worth INSTALLING central if you don't have it

karmic dagger
#

Yes I don't have central. Was just trying to look at the pros and cons and decide if that's better.

steel eagle
#

yeah that changes a lot

#

if you're only ever going to be occupying 2 rooms at any given time, 3 max, window units are pretty much a no brainer

#

assuming your house already has the ventilation system, central would likely be lower energy cost in the long run assuming you want the majority (3+ rooms) of the house cool at any given time

karmic dagger
#

Thanks for the info.

steel eagle
#

racism frog indeed

sharp spoke
#

but coolers are cool >: (

karmic dagger
#

And racist to which race?

steel eagle
#

the majority of people will say no, not inherently
but a couple of groups have taken to using it as their "masot" of sorts, and I rarely ever see one outside of emojis that isn't racist, *phobic, or some other form of hate

sharp spoke
#

oh wait u are awoo right?

#

what's with the look change

steel eagle
#

a meme earlier

karmic dagger
steel eagle
#

wrong reply?

karmic dagger
#

Nope. I think the frog is cute.

steel eagle
#

I mean, the message you replied to was about my profile picture not the racism frog

karmic dagger
#

Oh

#

Ah sorry

steel eagle
#

after all the twitch/4chan memes from it I can never not see the pepe as an object of hate

sharp spoke
karmic dagger
#

I wonder how younger generations would see things we see as racist

steel eagle
#

younger generation brains are potato mush at this point

sharp spoke
#

define younger generation ๐Ÿ‘€

steel eagle
#

they only know "poggers" "fortnite" and salt nic vapes

karmic dagger
#

๐Ÿ˜‚

#

I promise they know more than us

steel eagle
#

maybe more than you

#

I'm still young enough to be ahead of the curve

karmic dagger
#

That's how the world works

steel eagle
#

we're a generation away before the knowledge gap is big enough for that

#

or at least, I am

#

Kids today don't know shit, in general

#

'course you got the smart ones

steel eagle
#

all ya got is blocks that have to fit into rectangles or squares, despite not being shaped that way

#

lots of clipping things together to get it to look correct

#

and now I have to hide all the detail of blocks used for far different than their original purpose

daring jay
#

How can you get plugins like zsh completions without OMZ (Ubuntu 20.04)?

odd sphinx
#

what be omz

daring jay
#

Oh my zsh

odd sphinx
#

i dont think i have oh my zsh

#

just follow the manual install instructions

#

on their github

daring jay
#

Oh okie

#

What are some other good plugins?

hazy laurel
#

For example, git clone https://github.com/zsh-users/zsh-autosuggestions ~/.zsh/, echo "source ~/.zsh/zsh-autosuggestions/zsh-autosuggestions.zsh" >> ~/.zshrc

odd sphinx
#

ye

hazy laurel
#

https://github.com/zsh-users/zsh-syntax-highlighting is also a good plugin

#

Beyond that, I dunno of too many but you really don't need more than these

odd sphinx
#

yea

#

i only hae those two

#

good enuf

daring jay
#

ty

hazy laurel
#

zypper recommends zsh completions to me quite frequently, so I just installs those too

#

like docker I think has docker-zsh-completions

odd sphinx
#

bruh

#

zypper recommends stuff?

hazy laurel
#

Yeah

odd sphinx
#

damn

median blade
proper python
#

mon s

frigid pollen
#

๐Ÿฅณ

dusky cliff
#

OMG ITS OPALMISTT

frigid pollen
#

Yes, it is I.

round ferry
#

hey

#

big fan here

frigid pollen
#

Blessings on this channel and its inhabitants.

dusky cliff
#

๐Ÿ™‡

tranquil ridge
frigid pollen
#

What are those? They look like pandas...sort of.

tranquil ridge
#

i guess they are pandas

#

its named porz

#

panda orz

proper python
#

lmao whos opal

#

im pretty sure its the fairy type gym leader from pkmn sword/shield

dim root
#

The one who leads you

frigid pollen
proper python
#

yeah, but who are you?

tranquil ridge
#

opal mist

proper python
#

huh

cinder sigil
#

hi

cinder sigil
frigid pollen
proper python
#

hold on there's no fucking way that python doesnt have pointers

daring jay
#

Pretty sure it does, just under the hood

proper python
#

theres no way in a million years that one of the most popular modern programming languages doesnt have one of the basic elements of programming

frigid pollen
#

It does, but it's kind of under the hood...

#

damn it

#

beat me

proper python
#

yeah, but i need it above the hood

frigid pollen
#

There's probably a dunder.

proper python
#

fuck it, shallowcopy it is

frigid pollen
#

Any variable an object is assigned to will point to that object.

proper python
#

thats what a variable is, i get that, but fucking

dusky cliff
#

python is either
"there are no pointers"
or
"everything is pointers"
depending on how you look at it

proper python
#

all modern programming languages call pointers variables

#

which yeah

#

that's because thats what they are

#

sort of

#

well no

#

thats besides the point

languid osprey
#

Python variables are more or less just references to their corresponding values, yes?

dusky cliff
proper python
#

make a function from another script use a passed in variable from another function that updates the variable

frigid pollen
#

Ah. An in-place operation.

proper python
#

i just wanted to use a pointer so that it would be easier to read

frigid pollen
#

Unless you're working with a mutable, that'll be tricky.

#

You're probably coming at things from an awkward direction.

proper python
#

is an int not a mutable?

round moss
#

python more or less doesn't have pointers

#

or well, it is not useful to think about python in terms of pointers

proper python
#

if i was passing in a tuple, i could just pass in a list instead

frigid pollen
#

Not in the way a list is mutable.

round moss
#

int objects are immutable, the object 5 will forever remain 5

frigid pollen
#

cough ctypes...cough

proper python
#

but a variable is actually a pointer to a box

#

so with shallowcopy, i could say hey fucker, make your pointer also point towards that box

round moss
#

not really, no. Every python object is of the C type PyObject*, but you can't ever do *obj = sth from inside python, since doing that is very very unsafe

#

breaks refcount, the doubly linked list of all objects, the GC.

proper python
#

then what the fuck does shallowcopy do then?

round moss
#

it asks the copy method of the object to produce another object that has the same contents

proper python
#

that's deepcopy

round moss
#

no

proper python
#

hold on

round moss
#

deepcopy then also asks all members of the object to produce their own copies recursively

proper python
#

im going to test this

round moss
#

this is why you can't copy an arbitrary python object

proper python
#

what in the fuck

#

python is

#

huh

#

so it didnt work

#

wait so how would i do that then?

round moss
#

you more or less can't, the simplest way is to just return the variable

#

alternatively, pass a setter closure, but that is not exactly the cleanest solution

proper python
#

well then

round moss
#

!e

my_variable = 5
def set_my_variable(v):
    global my_variable
    my_variable = v
set_my_variable(10)
print(my_variable)
clever salmonBOT
#

@round moss :white_check_mark: Your eval job has completed with return code 0.

10
proper python
#

the more i use python the more i realize how much was sacrificed for simplicity

round moss
#

but if you can, just use the return value, it makes things much easier to test

proper python
round moss
#

yeah, if you try to think about python in terms of low level details, there is a whole mess

sinful sun
#

you can import

dusky cliff
#

you want to modify a variable in file1 by calling a function in file2 from file1?

proper python
#

correct

#

well no

#

i just want to read the value

round moss
#

why not just

import file1
file1.variable = 45
proper python
#

its in the function

#

but i guess at that point if im forced to do that i would use globals

frigid pollen
proper python
#

yeah, ill do a workaround

#

i just have a ui function and thought it would be nicer to call it once and move on

balmy cape
#

in dms instead

round moss
#

@balmy capeplease contact @vapid maple with your report

balmy cape
#

dm him?

round moss
#

yes

wheat aurora
balmy cape
#

taggeds mods here, conversation moved to modmail and seems to be solved now

wheat aurora
#

Ah, okay

cedar leaf
#

Did you make become Joe @wheat aurora?

#

all containers that make up Micro Micro Service including load generator

final sable
#

Eivl is made of indestructible glass, okay

vagrant stream
#

People use fax?

mental idol
#

fax is used heavily in fintech world still. It's rather secure

#

I would believe you do

#

There are online fax solutions but you're trading out one of the qualities of a standard line-land fax

#

My knowledge of this expired back in 95, the last time I set one up (or there-abouts). rooOld

wheat aurora
wild compass
#

god im so pissed at windows rn

echo flower
#

why

wild compass
#

if i my laptop is turned off while its charging, it automatically restarts

echo flower
wild compass
#

i have updates disabled for the next week

wild compass
#

if i turn the laptop off while its not charging, everythings fine

echo flower
#

it's specific to you and soem others

sharp spoke
wild compass
#

ok

#

im now pissed at my laptop

#

windows gets a bit of a break

#

god i had a bunch of tabs open, and now i cant get them back ffs

echo flower
#

h i s t o r y

wild compass
#

no, was on incognito

echo flower
#

oof

#

never mind then

wild compass
#

how do you turn on windows safe mode

echo flower
#

and then just choose safe mode

wild compass
#

also, it seems everyone with my problem is on windows 7 -_-

echo flower
#

oof

odd sphinx
echo flower
odd sphinx
#

advanced options > restart

echo flower
#

ah yes

odd sphinx
wild compass
#

advanced startup?

odd sphinx
#

yes

echo flower
#

yes

wild compass
#

ok i saw it, but didnt realize that was it

#

ty

echo flower
#

ah okay

odd sphinx
#

lol

wild compass
#

um, cyall on the flip side

#

what does security mode do?

odd sphinx
#

?

wild compass
#

*safe mode

odd sphinx
#

opens windows with the bare minimum

echo flower
#

it disables apps not needed

odd sphinx
#

for troubleshooting

wild compass
#

hmm

echo flower
#

not essential*

odd sphinx
#

yes

echo flower
#

you can try and reproduce the problem there

#

if it does reproduce successfully (which i think it will)

wild compass
#

but how would i know whats causing it and how to fix it?

echo flower
#

then it's windows or its the hardware

echo flower
echo flower
odd sphinx
#

thts some weird shit

#

try reproducing in safe mode, yes

wild compass
#

ok, cya in a bit

echo flower
#

ok

odd sphinx
#

if u do get the problem in safe mode

#

then somethings wrong with ur install

echo flower
#

hmmmmmm i might not be so sure

#

first do this:
try and get a 8-16gb usb and flash a linux iso to it

#

and try to reproduce the problem there

odd sphinx
#

what

#

this is clearly a windows issue

echo flower
#

if that doesnt work
windows
if it does
hardware

odd sphinx
#

i mean

echo flower
odd sphinx
#

sure

wild compass
#

ok im back

#

dk if yall are still here

#

and yes, it still restarted in safe mode\

echo flower
#

okay

echo flower
wild compass
#

hm maybe later

#

its past midnight, and i dont have a flash drive at hand

echo flower
#

okay

wild compass
#

ok, wait

#

a few weeks prior, this laptop wasnt charging

#

(not the chargers fault, tested multiple and it worked on others)

echo flower
#

hmmmmmm

#

and it spontaneously worked?

wild compass
#

however, wasnt sure if it was software or hardware issue

#

my dad fixed it

echo flower
#

but h o w

wild compass
#

i think it was software, and im not sure how

echo flower
#

wow

wild compass
#

he had to smth with the lenovo (this computer) setup or smth

echo flower
#

hmmm

#

which laptop is it tho

wild compass
#

lenovo flex 5

#

it was two weeks ago, in fact

echo flower
#

thats the same thing i have

wild compass
#

damn wow

wild compass
#

i can go to search history to see what he did to fix it

echo flower
#

that was a firmware update pretty sure

#

strange it's on mune too

wild compass
#

hmm

echo flower
#

it's some lenovo service thing

#

ignore i guess

wild compass
#

i clicked on it, but nothing happened

echo flower
#

exit setup

wild compass
#

wait no nvm it seems to be a background process

#

idk what the other three are

echo flower
#

ignore those

#

those are bloatware

wild compass
#

whats that

odd sphinx
#

lol

#

nice dad

echo flower
#

actually they're useless

echo flower
wild compass
#

ic

odd sphinx
#

uc

echo flower
#

icu

#

icucicuc

thorn eagle
#

what

wheat rock
#

wait

#

two ots with the name eivl

odd sphinx
#

ive seen people asking how to remove suggestions

#

just press the x button ROFL

dim root
#

rust of wheat pithink

rigid echo
#

ooof diseases

#

smut

rigid echo
#

in wheats

real forum
#

My god

#

Good morning everyone

jovial island
#

Good morning

wheat rock
#

morning

real forum
#

So I don't know how

#

Or why

#

But my auto correct is being very very weird rn

#

I'm having to manually click the new new words

jovial island
jovial island
#

I think it might help to just disable autocorrect

#

I find it to cause quite a headache

real forum
#

True

#

I already have a huge headache

jovial island
#

โ€ฆCan I ask why? I'm quite curious what happened earlier

real forum
#

Uhhh

jovial island
#

No pressure, though, feel free to decline

real forum
#

I may have gotten a bit more than slightly buzzed.

jovial island
#

Ah

dim root
#

how do you disable autocorrect on iOS Ipad? i literally have it popping weird words that i don't need

median blade
#

lol

exotic hound
#

this person really exists

odd sphinx
#

lol

exotic hound
#

he doesn't have a banner ๐Ÿคฃ

dusky cliff
#

positively hilarious

exotic hound
#

amogus

lunar basin
exotic hound
#

idk maybe someone created an account with the same name after discord made the ad

rigid echo
#

oh ye makes sense

subtle pine
odd sphinx
#

circles

viral hare
#

like post malone circles

marble wigeon
#

sheeeeeeesh

wild compass
quiet depot
#

interesting

#

let's say I wanna make a program that matches me with the closest person and I can't have talk to that person in specific applications

frosty mountain
rigid echo
#

@storm birch Awww new pfp! sweet!

silver fable
#

joe mother

dire kindle
#

@every one here

jovial island
tranquil ridge
#

who pinged

remote widget
dire kindle
dire kindle
tranquil ridge
dire kindle
proper python
#

whyisnoneofmyteamonline ๐Ÿฅถ

sinful sun
#

Cant you complain to a codejam mod?

proper python
#

i mean, they aren't doing anything wrong

#

its just worrying that they aren't saying anything

sinful sun
#

Communication is key in a group project, if they didnt want to talk to their team they shouldnt have signed up for a code jam

#

I feel that its a valid complaint

proper python
#

they were talking before

jovial island
#

Anyone here want to help me create a discord bot?

Name: CanvaBot
Description: CanvaBot isnt a discord bot, but the a discord bots code. Im trying to design a bot for people who dont know how to program but want to make their own bot. I have the discord, github, the basic bot file and trello all setup.

DM if intrested

quiet depot
#

I'm always impressed by programmers

#

even non-relate things, I tell people that's programmable like a waterfall

elfin vine
#

Do you guys know how to use asterisks haha*

*Upper case?

*do not know how to write them

#

I am writing documentation and want to get it right

sinful sun
#

wdym

#

what kind of use are you trying to get

elfin vine
#

Well I have this:

All commands should inherit from the abstract class Command -
which can be imported with import Command from "."; - and override the
name and description properties along with the run method*.

The reason for the asterisk is because I want to refer people to this note:

*See Subcommands

Inside that subheader I have this:

The abstract class Command will automatically detect if your
options triggered subcommands and will run the same method. This can only
happen if you do not override the run method.

#

But I am not sure if it's supposed to be:

*See

  • See

*see

  • see
sinful sun
#

are you trynna make a bullet point?

elfin vine
#

No

#

See the asterisk at the end of method*

vague shadow
#

I've always gone for superscript numbers

sinful sun
#

oh

#

yea superscripts are the way

vague shadow
#

unless you have a tool autogenerating annotations for you?

elfin vine
elfin vine
vague shadow
#

[ยน]

sinful sun
#

i wouldnt mix the two tbh

vague shadow
#

oh lol the bracket didn't really show up nice there

sinful sun
#

either plain superscript or square brackets normal text

quiet depot
#

there is autogenerating annotations tools?

severe ice
#

@night pike but it doesnt work with Input : COMB ๐Ÿ˜† ๐Ÿ˜† ๐Ÿ˜†

night pike
proper python
#

its way easier than we let on

tawny hatch
#

hello, i wanted to ask this one question relating trading. would i be profitable if i was day trading bitcoin for example and my strategy would simply be entering any position, long or short, and simply having 1:2 risk and reward ratio that way if i lose, i lose 2 times less than i win and since price of an asset can either go up or down, meaning there's 50/50 chance, if my winnings are bigger than losses, on paper, imo, i think i would be in fact profitable

#

this is more of a mathematical question btw

echo fern
#

If there a 50/50 win/loss chance, the price will already be such that the reward/loss is 1:1