#ot1-perplexing-regexing

1 messages · Page 70 of 1

young shoal
#

create zombie humans by creating another reference to it in the finalizer

solemn tulip
#

leaky allocations are basically lost souls

#

only reaped when the process exits

#

I guess soul goes better with reaping

ruby fox
#

Maybe we should consider what does it mean as "object is dead"

young shoal
#

it's not really a garbage collector in the normal sense 🤔. the OS just cleans everything up after a process exits

#

with some stipulations for zombie processes

tulip falcon
#

Garbage collection gets around to it when it feels like it, you might get turned into a fossil object or might degrade entirely

ruby fox
ruby fox
tulip falcon
#

Primitive garbage collection process

lament cairn
tulip falcon
#

It's fossil dung

ruby fox
#

And ghosts posses living things 🤔, so ghost objects make the undestroyed objects act with thier parameters of the ghost object 🤔🤔

tulip falcon
#

Earth is running its own python process

#

Some objects it claims for fossil to be destroyed at end of runtime

#

When the sun process turns into a red giant

solemn tulip
ruby fox
# tulip falcon

(it didn't blow my mind as the post says, but it blowed up someone's intestine)

solemn tulip
#

quantization is clearly floating point issues

tulip falcon
#

I experienced quantum entanglement

#

Of two objects which were never together in space time

#

Thought of my acquaintance and he texted me an hour later brainmon

#

after like two weeks since we talked

ruby fox
tulip falcon
#

Let's just get an entanglement going and telepathically communicate , this texting is too slow

ruby fox
#

Guess what, i thought of a person after he messaged, does this mean quantum entanglement goes reverse in time too???

tulip falcon
#

Hopefully you thought of me 😊

#

entanglement,gg/python

ruby fox
tulip falcon
#

"Texting faster than light"

ruby fox
tulip falcon
#

How do we know we got entangled?

ruby fox
solemn tulip
#

(entanglement doesn't really help with communication much)

young shoal
#

it actually cannot help

ruby fox
#

Forget GB per second, we will be measuring reality's frame rate

civic pasture
civic pasture
#

Hiiii

ruby fox
#

Hi 👋👋

ruby fox
#

Is he the same person 🤔

glossy niche
#

Alr deactivated my twitter tho

#

The website keeps boosting fascists, its unusable now

solemn tulip
#

and they are single use

ruby fox
#

And transport the particle to other side

solemn tulip
ruby fox
solemn tulip
#

to send one potential bit?

ruby fox
#

And how fast you can read from it

solemn tulip
#

that's not how it works 🥴

#

observing one fixes the other, entanglement broken

ruby fox
lament cairn
solemn tulip
#

we know how to entangle stuff

#

but entanglement isn't some forever thing

lament cairn
ruby fox
young shoal
#

it's not that observing one sends state to the other particle

solemn tulip
#

well it kinda does

#

once

jovial oriole
#

Humans discovering a method to transmit information faster than C (god is not happy)

#

time to preach end of times

gritty zinc
jaunty wraith
#

@gloomy tusk I thought that was in DMs

#

also messed up the ping, sorry other rex

#

@high haven ^

high haven
#

???

#

^ thats on the other rex's behalf

jaunty wraith
#

thanks rex

high haven
#

other rex: yw

jaunty wraith
#

plot twist: it's your alt

high haven
#

alt-rex: squint

ruby fox
solemn tulip
honest star
#

peped productive downtime while temp conditioning happens, got my work inbox from 650 items down to 250

dapper dew
#

Very nice

solemn tulip
#

at least I have most of the worst spammy offenders filtered

#

one particular service has sent...142k emails

honest star
#

A lot of the emails I get are suuuuper in-depth technical discussion. So I like to keep it around until I have time to synthesize into my own notes

jovial oriole
#

Why the hell do washrooms at my school not get tp

young shoal
#

if they care then they should email again

solemn tulip
#

the mummies needed them

tardy rain
#

i need smol projector recommendations

#

ideally with builtin speakers

harsh bone
high haven
#

ok im done

young shoal
#

😩😩

high haven
#

also i just saw miltary

#

this is rex-level spelling

young shoal
#

military discount is reasonable I guess

#

ah

#

[sic]

high haven
#

not the [sic]

lament cairn
#

miltary

low chasm
#

@rough sapphire let's move here further sat discussion here

#

costs money to take it in general. Your school might pay for the first test, though - it varies.

grave cove
#

there are many dates to take it

#

schools often pay it for you

low chasm
#

whenever, there's a bunch of dates, yeah.

#

typically you'd take it in your junior year of high school

#

the more you take the sat, the better you'll get at it

#

you were a freshman, right? You've got a bit of time before needing to stress on it

grave cove
#

just stop then

#

it's ez

low chasm
#

a 1500 would make my year 🥺

grave cove
#

when I was a freshman in high school I was still an npc without sentience

grave cove
low chasm
#

apparently the digital test is easier

#

so yay me

grave cove
#

rip curve

low chasm
#

my weak point, by far, is math

#

but that's probably just cramming

young shoal
#

frosh 👎

grave cove
#

😭

crystal spruce
next vessel
#

Find a group of nerds people who have similar interests, for me it was marching band

#

There'll be jerks in any school as well

tulip falcon
#

I haven't done shit yet , a year of this is nothing, not like I went and killed terrorists

#

Hi @foggy jungle

foggy jungle
wanton delta
rugged owl
high haven
high haven
#

cute doggos

wanton delta
#

yes sacrifice your hand to the god spelled backwards

vale raven
#

If I poke I just get licked

wanton delta
#

does a fresh-out-of-bath dog smell like clean towel

vale raven
wanton delta
#

even with shampoo and the like?

vale raven
#

Yes

#

Seriously
It’s a whole thing

wanton delta
#

routine baths and laundering
put him in the laundry wtf is this wording

#

💀

#

iron your dogs

#

this sentence is in a poor sequence

pulsar berry
latent wolf
#

link ^^^

#

for coc

twilit temple
#

yippers

latent wolf
twilit temple
#

||pun intended||

latent wolf
#

💀

#

what just happened

twilit temple
#

why does the timer freeze

latent wolf
#

idk

#

should I start it

tropic ore
#

when you left and rejoined it unfroze for me

latent wolf
tropic ore
twilit temple
#

kinda buggy ngl

#

it works if i reload it just the right way

#

and ask nicely

tropic ore
#

oop-

twilit temple
#

dammit

#

typing BARLEY instead of BARELY cost me like 10 seconds

latent wolf
#

😭

twilit temple
#

i need to warm up with monkeytype

latent wolf
#

was wondering why it wasn't working

twilit temple
#

bro is the flash

tropic ore
#

oof

twilit temple
#

they looked like uppercase to me

#

lmao

tropic ore
#

is he stil trying to understand..?

#

mos optimal solutin ```py
for _ in[0]int(input()):print(input().replace('ox'))

tropic ore
tropic ore
#

oki

latent wolf
#

@twilit temple

#

u there

twilit temple
#

no im here

latent wolf
twilit temple
#

why am i so slow

#

maybe i just dont have enough clashing practice

tropic ore
#

which i think is betr than being 3rd

latent wolf
#

@twilit temple @tropic ore

twilit temple
#

lmao, forgot negative nums

tropic ore
#

there's surewy a betr solutin than what i wrote

#

hmm

twilit temple
#

0else is valid??

tropic ore
#
t=int(input())
print('ftarlusee'[t%3<1::2]*(t>=0)or"no negative numbers")
tropic ore
#

but stuck togethr :3

tropic ore
#

str(...).lower() is shortr

twilit temple
#

why are you golfing

#

this is a time challenge

tropic ore
#

i like to

twilit temple
#

lmao

thick ore
#

ftarlusee moment

wanton delta
tulip falcon
#

And still rated most aggressive/intrusive data collection

#

Plus I think you're required by US law to retain info longer than that

#

If they get a subpoena the data will magically be there

tardy rain
#

Lmao

#

Based animal based lib names

wanton delta
#

i personally think this is kinda shady, not allowing special characters (the symbols !@#$%^&*()_+=- etc)

what do you guys think

tardy rain
#

I think password rules often do much more harm than good

#

Length rules are ok, thats about it

tulip falcon
#

Sounds lazy and or shady

dapper dew
#

shazy

wanton delta
#

i'll probably make a throwaway

tulip falcon
plush sun
#

Probably not, on second thought

#

8 seems too low though

thick ore
#

challenge: write script to solve password challenge

#

games

#

like uhh

#

minecraft, cs, and stuff

#

counter strike?

#

W

#

easy

#

windows compatibility layer

#

😎

#

in pygame?

#

then it wouldnt technically be an operating system

#

yes but very hard

#

😟

#

testosterone????

#

into a computer??????????

solemn tulip
#

I mean sure, something stupid large maybe

tardy rain
#

inb4 1000char password

solemn tulip
#

but I've seen limits at like 12

tardy rain
#

Banks?

#

Banks are always so sussy with their shit security policies

solemn tulip
#

possibly, I can't really recall where

solemn tulip
tardy rain
#

You wouldnt but i imagine the tech people behind it would

solemn tulip
#

why?

tardy rain
#

idk, just guessing

solemn tulip
#

they aren't storing it

#

or at least they shouldn't

#

they would store a hash

#

so what does it matter to them other than having to hash a slightly larger string

#

a limit at 256 or 1000 wouldn't really hurt anyone

tardy rain
#

🤷

#

I trust my password manager thingy

high haven
foggy jungle
#

I made it catgasp

high haven
#

you made it

foggy jungle
#

I need to go find my Yubikeys and finish adding them to some crap that I don't really care about, but couldn't possibly suffer from having them paired.

thick ore
#

you guys don't save your passwords in a password.txt?

high haven
#

plain text gang

thick ore
#

and encrypt securely with rot13

foggy jungle
#

I host them on a static page on github pages.

#

That way I can get them anywhere.

high haven
#

.io

thick ore
#

link?

high haven
#

OP

tardy rain
#

Post-it on my monitor

high haven
#

classic

#

or better have it on one of those digital post-its

#

that way

tardy rain
#

Yes!

high haven
#

when you share your screen everyone can see

#

👏

tardy rain
#

Microsoft Sticky Notes ™

high haven
#

now i just need a feature that lets me do this but digitally

young shoal
#

I have all my job application sign up things on a single password

ruby fox
#

🤔

young shoal
#

********

ruby fox
#

let me ask another question, if your credit card's number is your soulmate's distance from you, tell us how far is your soulmate away from you?

#

😇

lament cairn
#

itd be cool if like

#

one could use a phone as a passkey

#

probbly a bad idea?

young shoal
#

that's called 2 factor

lament cairn
#

but itd be cool
many phones have a good security chip in them anyway

tardy rain
ruby fox
wanton delta
tardy rain
#

27 meters

#

Wait what

#

You're in my building?

ruby fox
ruby fox
#

😇

tardy rain
#

I dont think i let my phone die

ruby fox
harsh tundra
# young shoal `********`

Ah, yes, Polish politics
Although it's usually written with the space - ***** *** - but it's referred to as just "eight stars"

glossy niche
#

I heard the fart right lost in Poland so thats cool

harsh tundra
#

"fart right" sounds about right

high haven
low chasm
#

my phone dies occasionally

#

I don't charge it overnight 😔

high haven
harsh tundra
#

They won't have majority in parliament (half seats), but idk about the "lost" as they still have the most seats

high haven
glossy niche
#

Yeah I saw the chart thing pithink

low chasm
#

pshht, it works out

harsh tundra
low chasm
#

at school I just plug it into my chromebook

glossy niche
#

Parliamentary system lemon_glass

jaunty wraith
#

overnight charging 👍🏼

high haven
#

jk

glossy niche
high haven
low chasm
jaunty wraith
#

skill issue

high haven
low chasm
#

it's an irrational fear

high haven
#

¿

glossy niche
jaunty wraith
glossy niche
#

I set my phone.up to stop at 85

high haven
low chasm
#

yeah, it's not an issue, hence why it's irrational

#

mine does it too

harsh tundra
low chasm
#

I don't like sleeping near charging electronics or batteries

#

it's irrational, but I won't be able to sleep 🥴

young shoal
#

bruh

jaunty wraith
low chasm
#

I'm on my phone before bed too lol

young shoal
#

imagine being on life support

high haven
jaunty wraith
low chasm
#

reading manga, some book, or whatever is part of my night routine 😤

young shoal
#

modern phones charge quickly to to about 80% then charge very slowly up to 100

young shoal
#

they also take into account your schedule of using it

#

yeah

harsh tundra
# jaunty wraith you know that messes up the sleep

I already have messed up sleep. I can't fall asleep because my mind is racing.

It's been better lately, maybe because I'm drinking coffee (I make it not taste like coffee tho) - that would kinda self-medicate my possible-adhd

high haven
#

coffee

edgy crest
#

and sleep

high haven
#

drinking some rn

young shoal
#

I'm quite bad at sleeping actually

tardy rain
#

Skill issue

low chasm
#

skill issue

#

same braincell

high haven
jaunty wraith
#

sleep issue

high haven
#

why sleep

low chasm
#

I can sleep on coffee 😤

high haven
#

when you can not sleep

jaunty wraith
tardy rain
#

I just lay there

#

And sleep takes me

high haven
#

for example i played that fishing game yesterday

#

instead of getting good sleep

jaunty wraith
#

that fishing game

high haven
jaunty wraith
#

the one

young shoal
#

well it's not that I'm trying not to sleep

high haven
#

it was fun

jaunty wraith
#

mar made a game?

harsh tundra
high haven
jaunty wraith
harsh tundra
high haven
#

???

low chasm
#

i have perpetual kind of eyebags it's terrible

high haven
jaunty wraith
low chasm
#

I don't drink coffee too often

#

maybe every few days

jaunty wraith
#

I've always had them though

#

like, it's a thing

high haven
harsh tundra
#

Btw mobile games - If you like games with plot, I can recommend Path To Nowhere. Without the lore it would be boring fights, but there's a lot of lore and character backstories

I think I spent half of the first night playing instead of sleeping because it was so good. XD

jaunty wraith
#

I saw an ad for it

high haven
#

aboo maybe youre immune to caffeine

low chasm
low chasm
high haven
#

for science

low chasm
#

we dont have a coffee machine lol, I drink instant

#

I've had tea before bed before, I can still sleep fine 🥴

high haven
low chasm
#

i gotchu

jaunty wraith
#

maybe you're really sleep deprived

high haven
jaunty wraith
#

so you sleep even when high (on caffeine)

low chasm
#

however I get enough sleep

jaunty wraith
#

how much?

low chasm
#

like around 7 hours on the weekdays

jaunty wraith
#

maybe you need more

high haven
#

i still think we should do the experiment

#

but thats me

knotty cloak
#

Yo whatsup

jaunty wraith
#

IIRC, ideal hours of sleep are roughly inversely propotional to age

young shoal
#

I usually get like 7

high haven
#

aboo's body works so different than mine so im curious if hes actually immune

knotty cloak
#

7 hours should be the bare minimum

high haven
jaunty wraith
#

lol

low chasm
knotty cloak
#

Also, isn't too much sleep harmful as well?

harsh tundra
#

I'm gonna go afk, I gotta sort the carrots.

high haven
#

but how high

low chasm
#

perhaps, although I don't have it that much

high haven
jaunty wraith
jaunty wraith
#

👀

low chasm
#

I don't ever really consume ungodly amounts of caffeine

knotty cloak
jaunty wraith
#

heh, ass-carrot

high haven
#

at most

glossy niche
#

I fucking love carrotw

harsh tundra
#

I said tetris because I try to put as much of them there. So I form lines and try to fill in the places between them

jaunty wraith
#

do they disappear?

harsh tundra
knotty cloak
harsh tundra
high haven
glossy niche
#

I go ape shit on caffeien

knotty cloak
glossy niche
knotty cloak
#

I like tea

jaunty wraith
#

slurp

high haven
#

im jk

low chasm
#

hi jk, I'm aboo

glossy niche
#

Johnf kennedy

#

It is an honnor

knotty cloak
#

Suggest some motivational movies

high haven
knotty cloak
#

Tomorrow is holiday

low chasm
knotty cloak
#

So, it's movie night today

high haven
low chasm
#

what kind of movies are you into

low chasm
jaunty wraith
high haven
low chasm
#

sure I can

jaunty wraith
#

thanks rex

high haven
low chasm
#

your welcome

high haven
knotty cloak
high haven
#

you also spelled youre wrong

jaunty wraith
high haven
jaunty wraith
#

oh, you

#

how's the rewrite coming along?

glossy niche
jaunty wraith
#

dog

high haven
high haven
#

also

#

i was baited

#

🪤

#

was expecting doggo

glossy niche
#

That IS a dog

jaunty wraith
#

it is dig

low chasm
#

I've been meaning to watch that new shah rukh khan movie, for like a while now

jaunty wraith
#

wdym

high haven
low chasm
#

however I'm not completely confident in being able to understand it without subtitles, and I'm not sure if the theater offers those 🥴

#

yeah

glossy niche
jaunty wraith
#

async Python is hard btw

glossy niche
#

he's like in 1/3 of bollywood

knotty cloak
jaunty wraith
#

ong

grave cove
knotty cloak
jaunty wraith
brittle void
#

guys, how can i store my db in encrypted form in mongodb community edition
can't find amy method to do it so far

crystal spruce
jaunty wraith
#

pretty good

#

should be getting call backs

grave cove
glossy niche
#

you want to encrypt it on dusk?

grave cove
#

Async await 👍

glossy niche
#

disk

#

fuck you auto carrot

brittle void
#

i mean, locally, yeah

jaunty wraith
brittle void
#

can i do that?

knotty cloak
#

Posture issues are real with desk jobs

jaunty wraith
crystal spruce
#

asynchronous threading 🥴

brittle void
brittle void
knotty cloak
brittle void
glossy niche
#

tho u can always just encrypt manually

knotty cloak
glossy niche
#

2 very different databases

knotty cloak
#

Unstructured data

#

Semi

glossy niche
#

both nosql yes

#

but mongo is document orientated and cassandra is columnar or something idr

#

different paradigms

harsh tundra
glossy niche
#

also cassandra might scale better cuase of some shit about architecture

#

discord migrated from mongus to cassandra years ago

glossy niche
#

they have a blog post about ut

glossy niche
#

are*

knotty cloak
#

Then there's hbase

#

Why so many of the same kind

brittle void
smoky forge
#

Hello

glossy niche
smoky forge
#

im on linux right now

#

and

#

when i install packages

glossy niche
#

idk much about encryption tbh

smoky forge
#

it often needs some pip packages

harsh tundra
#

I'm stuck. Catto showed belly, I am a cat servant

smoky forge
#

and tells me i should use virtual environment

#

or something

#

how should i install pip packages correctly?

glossy niche
young shoal
glossy niche
jaunty wraith
jaunty wraith
knotty cloak
brittle void
brittle void
grave cove
jaunty wraith
#

wobin

#

widiculous

#

wust

brittle void
solemn tulip
smoky forge
#

like lets say i wanna install telegram

#

and it contains some python packagses

#

should i install python packages with package manager too?

solemn tulip
#

how are you installing telegram?

#

if it's something installed through your package manager it should pull in all the needed dependencies already

glossy niche
#

I don't really know if it's correct or not but just wanted to illustrate that there are many dB paradigms

glossy niche
glossy niche
brittle void
glossy niche
#

depends on a lot of things

#

I think it's usually slower cause of joins

brittle void
#

does it encrypt the db?

glossy niche
#

there's probably an extension for that

brittle void
#

not gonna use any set operations

glossy niche
high haven
#

i mean

brittle void
high haven
high haven
solemn tulip
#

pretty cloudline

grave cove
#

i recognize that tree

#

omw

high haven
#

bring me with you

young shoal
#

playdate at fenix's?

high haven
#

wheres the slide

glossy niche
brittle void
#

ok sry

glossy niche
#

sorry i jsut dont have that much exp with databases, i do use mongo a lot but still a newb

glossy niche
high haven
grave cove
#

what if

#

the database wasn't so based

high haven
#

what if

glossy niche
#

datacringe?

high haven
#

people underestimate the power of databases

#

oh wait

grave cove
#

they do?

high haven
#

they really do a lot of heavy-lifting

grave cove
#

so true

brittle void
grave cove
#

its based

high haven
#

since the '80s

glossy niche
#

80s had some wild stuff

#

object oriented DBs, network DBs, hierarchial

grave cove
#

wild hair and big collars 👍

tardy rain
#

Cocaine

high haven
# grave cove so true

yeah if you can push as much as you can to the db layer, its better to have the sql engine do a lot of work rather than the app layer

glossy niche
#

most dead but theres an OO DB made by mongo

brittle void
#

my favourite db is actually adb

high haven
#

but you already know this robin

#

im saying for the lurkers

#

that i know are lurking

grave cove
high haven
grave cove
#

its about finding a balance

high haven
#

for sure

grave cove
young shoal
#

it's also a thing to move business logic into the db layer as well

high haven
#

are we talking classic data modeling or

#

more modern approaches

#

like semantic layers

#

and such

young shoal
#

not only that. if you have multiple apps talking to the db that need to maintain some constraints, you don't want to implement that logic multiple times

high haven
#

the problem is the business can never decide

#

"what IS a customer"

#

"how should it be defined, etc"

young shoal
#

yeah. so now you only update the stored proc instead of all the apps

high haven
#

its def a better way of doing things

#

can you imagine trying to update that many apps if one definition changes

#

esp in microservices world

young shoal
#

😩

glossy niche
#

my fizzbuzz cluster is down fuckkkkkkkk

high haven
#

#meetings

#

literally once was yesterday

proven ermine
#

I need to try that

high haven
#

i used the words "middle ground"

grave cove
#

lmao

#

works every time

proven ermine
#

Fancy

high haven
#

gotta mix it up

proven ermine
#

Never let me guess your next move

solemn tulip
high haven
grave cove
#

they all have advantages and disadvantages

high haven
#

business people want it both ways

grave cove
#

its about finding the right tool for the job

young shoal
#

both ideas have pros and cons

high haven
#

its never just "A" or "B". its always both.

#

i promise you that

#

you give them 2 options, this is what happens

solemn tulip
glossy niche
high haven
solemn tulip
#

RTUEN?

jaunty wraith
#

trune

young shoal
high haven
#

async fail?

proven ermine
# glossy niche

"sir, would you please explain to the chat where you were on the morning of November 12th?"

glossy niche
#

:pithg

jaunty wraith
#

async 👎🏼
sync 👍🏼

glossy niche
#

distributed systems are a mistake

high haven
#

"it was never built for this use case"

glossy niche
high haven
#

gl

glossy niche
#

ow

high haven
#

break a leg

glossy niche
#

good luck dude

high haven
#

or two

glossy niche
#

break their legs too

young shoal
high haven
jaunty wraith
#

why break leg

glossy niche
#

insurance clai

jaunty wraith
#

break a lego instead

glossy niche
#

m

jaunty wraith
#

rejected

high haven
solemn tulip
#

where? any place interesting?

jaunty wraith
young shoal
#

they technically compete with my company

high haven
high haven
young shoal
#

actually they're the biggest company in a few of their domains

jaunty wraith
young shoal
#

what

high haven
#

youre just an intern. so it doesnt matter

#

but what do i know

jaunty wraith
#

what

high haven
#

not like you signed a non-compete clause

#

or did you

young shoal
#

what if I get a noncompete

#

lol. I had an NDA for roblox

high haven
#

yeah but its not a noncompete

young shoal
#

yeah

jaunty wraith
#

are non-competes enforceable?

young shoal
#

depends

solemn tulip
#

the original message being gone doesn't exactly help the convo

young shoal
high haven
jaunty wraith
#

I see

#

rex, the deleter

high haven
jaunty wraith
#

we have logs

young shoal
#

they're also usually area and industry specific I think too

high haven
#

only those who know, know

#
  • mods
young shoal
#

so like, maybe it's only in a certain area of finance or something like that

high haven
#

finance is huge

young shoal
#

idk IANAL

jaunty wraith
jaunty wraith
#

1 nance = 54.32 dollary-doos

high haven
solemn tulip
#

if non-compete covered all my company did I would be basically screwed for a while

high haven
#

hmm are there any other ones

#

these 2 are aight

high haven
glossy niche
#

oramg car

grave cove
#

sir that's no car

solemn tulip
grave cove
#

or rather

solemn tulip
#

how tf did that happen

grave cove
#

why does ubuntu use the font used in a bunch of memes

glossy niche
#

i deleted what you saw

glossy niche
#

WARFRAME PLAYER DETECTED

onyx mist
#

errr... anyone knows what this means

high haven
#

is WF warframe?

glossy niche
#

GO GO GADGET DEODORANT

onyx mist
#

💀

high haven
#

oh nvm

jaunty wraith
low chasm
#

what is going on

proven ermine
solemn tulip
young shoal
#

war funder

high haven
low chasm
#

was I just ghost pinged

high haven
#

no it was me

low chasm
#

pulling logs

high haven
#

i thought you were here

#

but ig not

low chasm
#

I was here

solemn tulip
#

I can't remember which arrow key is \e[A

onyx mist
jaunty wraith
jaunty wraith
onyx mist
#

im also quite concerned since I had to terminate the file several times

proven ermine
onyx mist
#

because i didnt have storage

#

once i freed up the storage it looked like that

high haven
onyx mist
#

wdym

solemn tulip
high haven
jaunty wraith
#

we goin up

grave cove
proven ermine
#

Your code has a couple thousand balloons attached to the top of it

onyx mist
jaunty wraith
onyx mist
#

im just gonna rewrite it

jaunty wraith
#

JoJo × UP would be fun

onyx mist
#

I think I found out why

#

thx for the help

solemn tulip
proven ermine
#

Does Dave have a metric for deleted messages?

jaunty wraith
#

you'd have to ask Dave

proven ermine
#

@wide verge do you have a metric for deleted messages?

jaunty wraith
proven ermine
#

Lmao wait it looks like it does log if a message was deleted

#

So theoretically you could make a graph of when and where messages are deleted on this server

jaunty wraith
#

mayhaps

solemn tulip
#

graph being an overloaded term is always fun

jaunty wraith
#

graph a graph on a graph paper using digital graphics

#

bonus points if you pronounce it as giraffe

young shoal
#

the call will be on teams 🤮

solemn tulip
jaunty wraith
#

uhhh

#

I'm not creative enough

brittle void
#

guys, im making a password manager, and i already have all the data in a json file like this

{
  mail: {
    website: {
      pwd: 84q79er09084hgerjiijru
    },
    ...
  },
  ...
}

the question is, do i have to store this data in a db json type db (like mongodb), or table type (sqlLite, postgres), or anything else?
i need to store the db locally in encrypted form
i do data retrieval more than anything else
which one would be better to use here?

glossy niche
#

the database paradigm depends on what your application needs are

#

if its a local application, sqlite for sure

brittle void
#

man, im already getting oerwhelmed with databases

glossy niche
#

what are your needss?

#

if you already know how to use one databse

#

just go with that

brittle void
brittle void
#

which is not good at all

glossy niche
#

postgres seems to support many encryption options

#

postgres is neat but super complex at times

brittle void
#

but i need to retrieve passwords from the db
so the data must be decrypted while acceessing it

glossy niche
brittle void
#

that is, just decrypt when the user has the credentials/authentication

#

thats what i have in my mind

glossy niche
#

you can do that in the application itself

#

store the encrypted password or whatever in the DB

#

pull it out

#

decrypt it

#

not sure how safe that is tho

brittle void
#

ok, but still, what kind of db should i have to use here?

high haven
#

but im not a mac person so

#

🕯️

young shoal
#

anyways i kinda got rolled

#

no new internship this summer i guess 😩

solemn tulip
#

how you store data is what matters

brittle void
solemn tulip
#

so do that

brittle void
#

but how?

#

which db does that?

#

i have 0 knowledge on this db stuff

young shoal
#

encrypt -> write
read -> decrypt

solemn tulip
#

you don't need a db that does that

#

that's my point

#

you are in charge of what data you put in/pull out

#

the storage medium is secondary

brittle void
#

wait, that actually makes sense

#

im stupid

young shoal
#

there are things that encrypt the entire database, but that's an additional thing

solemn tulip
#

right, there are kinda two ways of doing this

#

you encrypt individual data entries and decrypt on fetch

#

or you encrypt the entire file and decrypt the thing on first load

#

and keep it in memory

brittle void
#

but doesn't a db store it as multiple files?

solemn tulip
#

depends

#

sqlite wouldn't

#

json wouldn't

brittle void
#

so by that if the only file that has all the data gets corrupted or smth, i'll lost my data

#

im just overthinking

young shoal
#

that's what backups are for

solemn tulip
#

I mean, that's always a risk, no?

young shoal
#

and the WAL

#

@high haven

solemn tulip
#

I should set up a nice NAS for backups...

#

currently I have basically zero backups...

brittle void
#

ok, but you know how mongodb returns values for the keys that are passed in like this
key1.key2.key3
i can't find a convenient way like this in pymongo

solemn tulip
young shoal
glossy niche
#

so you just dict that dict around

#

idk

solemn tulip
#

why not build something that's storage agnostic?

brittle void
brittle void
#

u mean, hashed keys for dicts?

solemn tulip
#

unless you have like 100s of thousand of logins

brittle void
#

yep, i have only like 10-15 mails

high haven
brittle void
#

thats not a problem for now ig

high haven
solemn tulip
#

I meant linear search through smallish data isn't really slow

#

you're probably storing like 100s of entries

#

1000s tops

#

lookup time isn't really going to be an issue

brittle void
solemn tulip
#

that your main code doesn't care about what the storage format it

#

e.g. create some interface with the operations you need

brittle void
#

u mean, an interface for any kind of db?

solemn tulip
#

and then you can implement that for some formats, e.g. json

#

right

young shoal
#

repository pattern 🥺🥺🥺

solemn tulip
#

abstracting the exact storage details away

solemn tulip
glossy niche
#

nested dict

#

json

young shoal
solemn tulip
#

I swear, I do not remember names of most patterns

brittle void
#

ok, then i'll just hash the db like this

hashed_db = Hash(PrivateKey2 || Hash(str(DB) || PrivateKey1 || Username))

and idk if this is too much or stupid

glossy niche
#

dependjection

young shoal
#

in c# you just slap interfaces everywhere then DI things

solemn tulip
#

I just remember some of the principles

brittle void
#

singleton

solemn tulip
#

and apply them when they seem fitting

glossy niche
#

theres a design pattern i use often that i dont know the name of

#

sometimes i have a bunch of related logic in a function

solemn tulip
#

often giving a pattern a name is almost giving it too much credit

glossy niche
#

and i group it together in one class

#

so that i dont have to look around for when it was implmented

#

idk whats the nam,e of that

brittle void
#

also, lets say i have a similar system like this in an another system
and if i let them sync together by merging the db, it should merge such that the latest update to a key's value should be the one that got updated at the most recent in either of the db, or show it like a merge conflict
and im thinking of doing this by implementing separate log files for the insert/update/delete operations in the db
how is this idea? is this ok-ish, or it can be done better than this?

young shoal
solemn tulip
glossy niche
solemn tulip
#

and obligatory "classes aren't namespaces"

glossy niche
#

you can refactor something ot use a specific pattern

glossy niche
#

zero cost abstractions bro

#

optimization bro

brittle void
solemn tulip
brittle void
solemn tulip
#

archive history of individual entries

#

I think keepass does this and it can be occasionally useful

#

(granted, I don't tend to merge dbs often anyway, this is mostly a non-issue for me)

brittle void
#

so, like enabling git for the db file?
but i have to reimplement git to make it work specifically for my encrypted db file

solemn tulip
#

that's more overkill than I would imagine it

brittle void
#

then how?

young shoal
#

git is not going to be useful for a db

solemn tulip
#

conceptually just keep the history as a list

#

and the dumb merging algo would be to just concat, and sort by time

young shoal
#

hmm

solemn tulip
young shoal
#

I mean like, versioning something like postgres's data

high haven
#

data versioning is its own thing

#

dont ask me

#

plenty of podcasts though

young shoal
#

the data

glossy niche
#

i wanna test something

#

someone ghost ping me

high haven
#

pick your poison

glossy niche
#

hmmmmmmmmmm

#

it doesnt show in the inbox after you ghost ping

solemn tulip
harsh tundra
#

@limpid dove I took a look at your StackOverflow question and replied. Tl;dr: Your dictionary contains original non-decorated version of the function

limpid dove
#

I never thought that could be the issue

harsh tundra
#

My first reply was gonna be discord-only asking whether you saved your file because it worked for me - because I run the function directly instead of the dictionary version XD

limpid dove
harsh tundra
# limpid dove You've probably saved me 10+ hours, thank you so much 🥲

Don't worry, It's not uncommon.
I once spent probably around 2 hours only to realise that at some point I uploaded my files in the wrong place (I used filezilla and i must've accidentally dragged the project files into some directory, then I entered it and started uploading whole project there instead of normal location). I thought flask had some weird caching stuff because no changes I did were visible. XD
Once you have your first situation like that, you'll start understanding the missing/misplaced semicolon memes XD

tulip falcon
#

🥹

jovial oriole
#

Who has python as a dependency

#

Show yourselves

wanton delta
#

no

drowsy fable
#

Why isn't this video rendered HD? I waited for YouTube to process it.

#

Its OBS problem. It doesn't record fully HD.

#

For some reason...

bright grove
#

1080p