#voice-chat-text-0

1 messages · Page 409 of 1

primal shadow
#

the bot agrees

upper basin
#

That would be refreshing.

#

Hell, I have people who still continue to be mean and even use what I say to hurt me back.

#

Like at this point I feel it logically doesn't make sense to vent because I'm showing weakness, and I am lowering myself in other people's eyes at best and getting hit with my own words later at worst.

primal shadow
#

but others see strength in being able to vocalize oen's struggles

#

and share

upper basin
#

It's not what I think it's what I see.

#

I show weakness, I get mocked.

primal shadow
#

some see weakness in the inability to seek help from others

#

Because then you just hold yourself back, over the fear of others thinking poorly of you

willow light
#

it's def that time of year again lol

upper basin
#

AF, on a lighter note, I have been fiddling with different implementations.

#

I need one that would have q0 and q1 be the roots (so that we can calculate max depth of each qubit).

The children approach from what I understood require a bottom-up construction so it makes q0 and q1 the leaves (which in turn doesn't allow for max depth of each qubit, just the overall max depth).

somber heath
#

@vapid spruce @ashen trout 👋

#

@vestal saffron 👋

vocal basin
upper basin
#

So, was wondering if we could modify the children approach to reverse the arrow direction (so that we can calculate the depths from each qubit).

somber heath
#

!voice @ashen trout

wise cargoBOT
#
Voice verification

Can’t talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.

tacit crane
somber heath
#

Suwubauwu.

vocal basin
#

you can also store all path length (node-to-node)

upper basin
#

I tried using repr as a caching mechanism, but it's suuuuper slow.

#

I am trying to find a boolean approach for tracking changes to a node (which is mainly through its grandchildren).

#

Like if the grandchildren have children, that is changing the grandparent's depth.

vocal basin
#

epoch counter

upper basin
somber heath
#

@elder fjord 👋

peak depot
elder fjord
upper basin
elder fjord
upper basin
#

He's a rare human specimen. Known as "polite".

elder fjord
#

What are you guys doing tho?

somber heath
#

Speak for yourself, nobody has changed my battery in years.

elder fjord
upper basin
elder fjord
#

Are you guys all coders?

somber heath
#

Sometimes.

elder fjord
#

I feel like you’re being sarcastic

vocal basin
#

!e

from functools import partial

class EpochRef:
    def __init__(self):
        self.epoch = self.__epoch = 0

    def __enter__(self):
        del self.epoch
        self.__epoch += 1
        return self

    def __exit__(self, et, ev, tb):
        self.epoch = self.__epoch

class CachedValue:
    def __init__(self, ref, factory):
        self.__ref = ref
        self.__factory = factory
        self.__epoch = None

    @property
    def value(self):
        epoch = self.__ref.epoch
        if epoch != self.__epoch:
            self.__epoch = epoch
            self.__value = self.__factory()
        return self.__value

def main():
    ref = EpochRef()
    items = [1, 2, 3, 4]
    total = CachedValue(ref, partial(sum, items))
    print(total.value)
    with ref:
        items[2] = 5
    print(total.value)

main()
wise cargoBOT
vocal basin
#

first try

somber heath
#

No, if I am anything at the moment, it's not sarcastic.

willow light
#

oooh, topical!

elder fjord
upper basin
#

Just reminded me of this.

elder fjord
#

Lol no I mean the code what does it do

upper basin
#

Essentially if you have calculated the depth of a node, and the node and its children by extension have not changed, then the depth has not changed so you cache it to not recalculate it multiple times.

elder fjord
#

Ahhh understood

#

It’s been a mintue since I’ve had to deal with nodes

#

I’ve watched it

#

And wow that guys story went nowhere

#

Yes the old witch lady

#

Oh he meant her alright

vocal basin
#

@somber heath the only wood nymph I know is the Alameda Research CEO

elder fjord
#

Whaaaaaaaaat

charred rapids
#

Hey Guys, i am making a application like basic paint. i have to use turtle. i did make a canvas and add event listeners for dragging the turtle. but i want the turtle to follow my Computer cursor, is there any way to do that?

elder fjord
#

Nahhhh I never seen that scene

upper basin
vocal basin
#

mutably borrows the state, destroys all caches on exit

upper basin
#

I am still not sure I understand how it would track the grandchildren of each node.

elder fjord
#

It’s crazy yu don’t see the difference with this argument

upper basin
#

Like we have this:

#

Then we calculate the depths:

#

Then we add the new node:

upper basin
#

Which would need to prompt a recalculation of the entire DAG.

#

But I don't understand where the context manager would be placed in to track the changes in the grandchildren.

vocal basin
#

around each change

upper basin
#

So inside the node's to method?

primal shadow
#

Not sure about literally

#

man inherited half a billion? from his old man

#

he knew his fater

#

father*

#

a bastard does not know their father

upper basin
#

But then it wouldn't propagate throughout the entire nodes I feel. Because let's say you do A.to(B), A.to(C) (which implicitly does B.to(C) essentially), and then C.to(D) which no longer is calling .to for A.

#

It would track changes for the first two, but the third needs to also cause all parents of C to recalculate as well.

vocal basin
#

uh

#

I might be getting trolled by lambda scoping

#

!e

test = [(lambda: i) for i in range(5)]
print(*(f() for f in test))
wise cargoBOT
vocal basin
#

yes I was

willow light
#

trying to work with Jupyter Notebooks that other people made are the main reason I switched to marimo

#

!pip marimo

wise cargoBOT
#

A library for making reactive notebooks and apps

Released on <t:1739224700:D>.

upper basin
vocal basin
#

it's auto-modded

#

!e

class EpochRef:
    def __init__(self):
        self.epoch = self.__epoch = 0

    def __enter__(self):
        del self.epoch
        self.__epoch += 1
        return self

    def __exit__(self, et, ev, tb):
        self.epoch = self.__epoch

class CachedValue:
    def __init__(self, ref, factory):
        self.__ref = ref
        self.__factory = factory
        self.__epoch = None

    @property
    def value(self):
        epoch = self.__ref.epoch
        if epoch != self.__epoch:
            self.__epoch = epoch
            self.__value = self.__factory()
        return self.__value

def main():
    ref = EpochRef()
    value = 1
    partial_sums = [CachedValue(ref, (lambda i: lambda: value + sum(x.value for x in partial_sums[:i]))(i)) for i in range(5)]
    print(*(x.value for x in partial_sums))
    with ref:
        value = 2
    print(*(x.value for x in partial_sums))

main()
wise cargoBOT
vocal basin
#

@upper basin ^ cascading cache invalidation

somber heath
#

@drifting dune @full moss 👋

vocal basin
#

in my experience, the performance of function/class vs comprehension/loop is completely unpredictable

willow light
#

takewhile() is very situational. In my code, it works quite well, but I decided to switch back to normal while loops for readability reasons

#

e.g.

def decode_string(stream: BytesIO) -> bytes:
    """
    Decodes a bencoded string from a byte stream.

    Bencoded strings follow the format `<length>:<string>`, where `<length>` is the
    number of bytes in the string. This function reads the specified length and extracts
    that many bytes as the string.

    Args:
        stream (BytesIO): Byte stream containing the bencoded string. `BytesIO` is used
        here to enable efficient sequential reading of bytes, which mimics reading from
        a file-like stream and makes handling the data easier during decoding.

    Returns:
        bytes: The decoded byte string.

    Raises:
        ValueError: If the encoded value is invalid or ends unexpectedly.
        TypeError: If the input isn't a byte stream.

    Examples:
        >>> with BytesIO(b"5:hello") as stream:
        ...     decode_string(stream)
        b'hello'
        >>> with BytesIO(b"10:hello12345") as stream:
        ...     decode_string(stream)
        b'hello12345'
        >>> with BytesIO(b"3:hi") as stream:
        ...     decode_string(stream)
        Traceback (most recent call last):
            ...
        ValueError: Decoding error: specified length doesn't match actual string length.
    """
    # Reads the length of the string in bytes until `:` is found
    length_bytes_list = list(
        takewhile(lambda c: c != b":", iter(lambda: stream.read(1), b""))
    )
    assert length_bytes_list, "Decoding error: missing length specification"
    length_bytes: bytes = b"".join(length_bytes_list)
    assert (
        length_bytes.isdigit()
    ), f"Invalid character in length specification: {length_bytes}"
    length = int(length_bytes)
    string: bytes = stream.read(length)
    if len(string) != length:
        raise ValueError(
            "Decoding error: specified length doesn't match actual string length."
        )
    return string
chilly wolf
primal shadow
#

I was about to say, come a long way

vocal basin
primal shadow
#

but that is the inspiration

willow light
#

yes I am a big fan of doctests

primal shadow
#

not the result

vocal basin
#

(deleted now)

primal shadow
#

Push to talk is your friend

#

Love this side

#

Clari, I can hear you typing, wanna just say it?

#

I bet it is

#

but it's not

#

and we're all enjoying the sounds of keyboard

#

instead

#

how about push to talk?

chilly wolf
primal shadow
#

though I guess mute is always a good alternative if the objective is to annoy 🙂

chilly wolf
#

couldn't be more visually appealing

primal shadow
#

the offer of the mech keyboard for more noisE?

#

is to make things better for us?

#

I do understand the concept of push to talk as a consideration for the ears of the others 🙂

#

The whole chat?

#

cut off the nose to spite the face

chilly wolf
primal shadow
#

good times

chilly wolf
upper basin
#

AF, what does this mean?

lambda i: lambda: value
vocal basin
#

moves i

#

into scope of the inner lambda

#

out of the generator

willow light
#

interesting, my neighbor's space heater seems to be picked up as speech and that's why the mic keeps going through when it shouldn't

upper basin
willow light
#

for the record, the keyboard is only intended to be annoying for when I am forced against my will to go into the office for a cloud-based job

upper basin
#

The way I understood it was that we are defining a function that takes i, and returns another function (which has no parameters and uses i). I tried to remove the inner lambda and it gave this error.

willow light
#

and thus am forced to interact with extroverts

upper basin
willow light
#

especially 65 year old extroverts. the absolute worst part of office work. zero indoor voice, incapable of using headphones, and insists on talking at you while you're trying to work.

upper basin
#

I won't lie, it's new to me.

vocal basin
#

slight correction of CachedValue:

@property
def value(self):
    epoch = self.__ref.epoch
    if epoch != self.__epoch:
        del self.__value
        self.__epoch = epoch
        self.__value = self.__factory()
    return self.__value
upper basin
#

I would have made a temporary variable (I didn't know you could iterate over a variable as you're defining it, feels a bit odd to me).

tacit crane
vocal basin
#

calling the function creates a new variable i inside the lambda

primal shadow
#

lemon

willow light
vocal basin
#

@willow light the context menu button, "the one that no one uses"

willow light
vocal basin
#

in my case it's fn+search

#

I use it for quickly opening context menu when I typo a word to pick from autocorrect

willow light
chilly wolf
#

How about this one?

vocal basin
#

my laptop has calculator button on the touchpad

chilly wolf
#

I love the calc button

#

I use it all the time

vocal basin
#

just for fun, when I rewrote the driver in Rust, I did implement that too

tacit crane
vocal basin
#

that one reminds me of a very cursed Logitech keyboard

willow light
vocal basin
# vocal basin

this one is pow-profile but not as low as laptop keyboards

#

the best keyboard I had so far

#

I wish I could program the lighting on it

#

because it has that per-key

full moss
willow light
#

Some of my layout is a little cursed

full moss
#

What ????

vocal basin
wicked quartz
#

can someone help me i cant install pygame

full moss
#

I have logitech mx master 3s mouse

wicked quartz
#

can someone help pls

full moss
upper basin
#

!e

value = 1
a = [(lambda x: value + sum(a[:x]))(i) for i in range(5)]
print(a)
wise cargoBOT
# upper basin !e ```py value = 1 a = [(lambda x: value + sum(a[:x]))(i) for i in range(5)] pri...

:x: Your 3.12 eval job has completed with return code 1.

001 | Traceback (most recent call last):
002 |   File "/home/main.py", line 2, in <module>
003 |     a = [(lambda x: value + sum(a[:x]))(i) for i in range(5)]
004 |          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
005 |   File "/home/main.py", line 2, in <lambda>
006 |     a = [(lambda x: value + sum(a[:x]))(i) for i in range(5)]
007 |                                 ^
008 | NameError: name 'a' is not defined
vocal basin
#

you're trying to evaluate it before it's defined

full moss
#

bye bye

upper basin
#
partial_sums = [
        CachedValue(
            ref,
            (
                lambda y: lambda: value + sum(x.value for x in partial_sums[:y])
            )(i)
        ) for i in range(5)
    ]
vocal basin
#

!e

value = 1
a = [(lambda x: lambda: value + sum(f() for f in a[:x]))(i) for i in range(5)]
print(*(f() for f in a))
wise cargoBOT
upper basin
#
partial_sums = [
            (
                lambda y: lambda: value + sum(partial_sums[:y])
            )(i)
        ) for i in range(5)
    ]
willow light
upper basin
#

!e

value = 1
a = [(lambda x: lambda: value + sum(a[:x]))(i) for i in range(5)]
print(a)
wise cargoBOT
willow light
#

In addition to the mouse lighting up with color coding based on volume level

tacit crane
vocal basin
willow light
#

I usually don't have it react when I keypress, though, since I found it to be distracting. So I just use the colors to highlight certain keys that I have programmed macros into.

vocal basin
#

I just use the static one

willow light
vocal basin
#

128bit

tacit crane
#
async def generate_session_id():
    return ''.join(random.choices(string.ascii_lowercase + string.digits, k=128))
vocal basin
#

128 bits not characters

#

or, since you're basically on a single thread because of Python, snowflake (64 bits)

upper basin
#

AF, the f() in your original code would be this?

self.__value = self.__factory()
vocal basin
#

yes

upper basin
#

Okay, thank you.

#

I'm starting to understand it now.

#

I apologize for the slowness.

tacit crane
#
import secrets
import base64

async def generate_session_id():
    random_bytes = secrets.token_bytes(16)
    session_id = base64.urlsafe_b64encode(random_bytes).decode('ascii').rstrip('=')
    return session_id
vocal basin
peak depot
tacit crane
#

Its Decent?

vocal basin
#

!d secrets.token_bytes

wise cargoBOT
#

secrets.token_bytes([nbytes=None])```
Return a random byte string containing *nbytes* number of bytes. If *nbytes* is `None` or not supplied, a reasonable default is used.

```py
>>> token_bytes(16)  
b'\xebr\x17D*t\xae\xd4\xe3S\xb6\xe2\xebP1\x8b'
upper basin
#

Very slow.

vocal basin
#

ah, it is indeed just os.urandom

#

a few layers of inderections away

tacit crane
#

isn't it too small

upper basin
#

AF, I feel what you wrote could be generalized to a ABC for caching arbitrary data structures, right?

tacit crane
#

should i increse the bytes from 16 -> 32

stuck furnace
#

👋

upper basin
#

I feel for circuit_log (the list of dictionaries, where dictionaries represent the method called with its parameters) this could be useful.

vocal basin
#

it's you who's signing the session id, it's not the users generating it

#

your only potential issue is collision, which is extremely unlikely

#

"if you're rolling your own auth, might as well make a custom binary format"

willow light
#

I've been sitting at the keyboard for too long, time to go to the gym. Anyone want to spot for me?

upper basin
willow light
upper basin
#

Like imagine adding chinese, korean, japanese, russian and arabic letters in there.

vocal basin
#

I have no clue what primeagen opinions on anything are anymore

#

yeah, was about to say "my boomer brain cannot follow it"

tacit crane
primal shadow
#

Musk never made anything of his own, he just buys other people's ideas

upper basin
#

Like we're born past 2000.

#

Right?

vocal basin
#

I had too much Soviet influence

upper basin
#

Ah.

#

Da.

#

Mother Russia pushed you back a few generations then.

vocal basin
#

I'm only recently starting to be influenced by intl zoomer stuff

peak depot
willow light
vocal basin
#

@tacit crane Musk's AI thing is only one letter off from another one

upper basin
#

I only use content-specific stuff on youtube, and my shows are all old ones that I periodically rewatch.

vocal basin
#

my only vector for acquiring that is Discord

upper basin
#

True, discord is a bit mixed.

tacit crane
upper basin
#

Oh I love this one.

#

Stop loving my love goddammit.

willow light
upper basin
#

Yay Shi-'

vocal basin
#

just A

upper basin
#

A corporated

tacit crane
#

"The AI"

vocal basin
upper basin
#

Y corporated (pun intended)

primal shadow
#

he sold x.com a long time ago

vocal basin
#

X was a company

primal shadow
#

then he bought it back

vocal basin
#

maybe even was a founder

#

definitely claimed to be

primal shadow
vocal basin
#

@willow light idk if you saw this one before

#

wait, I have a Java clip

#

and by wait I do mean wait, the VM is starting up

vocal basin
tacit crane
#

just add this

# type: ignore```
upper basin
#

Would it make sense to substitute my lists of dicts with a Pandas dataframe?

upper basin
upper basin
#

I feel bad, he did something good, but as always took it to an extreme.

upper basin
stuck furnace
#

🤔

#

¯_(ツ)_/¯

upper basin
#

To improve speed of manipulations.

vocal basin
#

democracy

chilly wolf
upper basin
tacit crane
stuck furnace
tacit crane
willow light
upper basin
chilly wolf
upper basin
#

It's the simplest approach I feel, and maybe the most pythonic to some sense, but feels quite slow.

chilly wolf
#

would've taken me like 5x longer to draw that sand path there without

upper basin
#

Like if I can improve the speed of this, it would propagate throughout my entire codebase given how much I use this feature.

chilly wolf
#

we love optimization

tacit crane
chilly wolf
#

C

vocal basin
#

A and B and C

#

never works on my machine

peak depot
#

Scrum masters: D

vocal basin
peak depot
#

Please dont make me laugh 😅

#

I die...

chilly wolf
#

my machine is a binary full adder with steam pipes and turbines

#

pip install pygame pytmx pillow <3

vocal basin
#

@upper basin docker docker docker

upper basin
peak depot
#

Use it!

willow light
upper basin
#

My issue is that depending on OS, I get some floating point error for Windows and Mac Os.

chilly wolf
#

someone should use N++ and cmd

tacit crane
vocal basin
#

Obsidian
so only they get to see "the whiteboard"?

chilly wolf
vocal basin
#

@upper basin cached value is generic

#

it's not a base class

willow light
#

I hate Notion with a passion, but Notion for Enterprise seems like a good usecase for "I want to use overpowered notes apps for my kanban boards"

vocal basin
#

@upper basin try and measure

#

I don't know what's more performant

vocal basin
#

@upper basin where is the hardware dependency coming from in your case?

#

* OS, yes

#

are you using randomness?

upper basin
vocal basin
#

e^-17 or 1e-17?

#

seems like GH added relationships between issues

vocal basin
#

whereas Forgejo has dependencies

#

i.e. "issue A is blocked by issue B"

primal shadow
#

it got quiet

stuck furnace
#

back later 👋

primal shadow
#

oh no!

#

the leavers

#

are leaving

#

I'm working

#

at the office

#

wfh = talk, in office = listen and type

vocal basin
#

@past hill part 1 or part 2?

normal geyser
# tacit crane

Contestant (new programmer): C.
Host: Are you sure? Final awnser?
Contestant: Final Awnser C

primal shadow
#

work work work time

vocal basin
#

yeah, only weekends

primal shadow
#

Yea

#

them's the rules

#

Happy for?

#

it's just another hallmark holiday

tacit crane
#

@chilly wolf

#

@chilly wolf

vocal basin
willow light
#

Update on The Pile

Anyone up for a snowhike?

#

More snow Thursday btw, so the pile will continue to grow 😛

rugged root
#

I'm here just can't talk

#

Was on the phone with our MSP since I got to work

vocal basin
#

!stream 842190918165594114

wise cargoBOT
#

✅ @past hill can now stream until <t:1739296363:f>.

rugged root
#

We stream stuff that isn't Python all the time, no worries

topaz ermine
#

why is LLD in python so confusing

peak depot
vocal basin
#

my first thought was lld

#

the linker

#

and that does indeed sometimes get in the way when installing Python packages

rugged root
#

@gentle flint Yo

vocal basin
rugged root
#

Hello to everyone

topaz ermine
#

low level design (LLD) i mean

rugged root
#

Man I cannot type today

flat heart
#

hello

topaz ermine
#

give me few links from where i can learn oops in python,
i am java developer

vocal basin
#

Java-style OOP translates more or less directly into Python

#

so most of the learning would just be about finding more pythontic ways to do the same things

topaz ermine
#

java is comfortable for me, i have been put in the new team where i have to code in python 😂

gentle flint
rugged root
#

... take out the trash
Confirmed, @chilly wolf is a crime fighter

topaz ermine
#

i cannot speak , my voice is muteed why?

#

muted

vocal basin
#

is Effective Python still up-to-date enough pithink

#

!voice

wise cargoBOT
#
Voice verification

Can’t talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.

rugged root
#

We have a voice gate

vocal basin
#

okay it is

rugged root
#

Sounds like a conspiracy. "Voice Gate"

#

Probably is

short owl
#

chopping veggys - net show

vocal basin
#

Hemlock conspired with Hemlock, and Hemlock forgot about that

rugged root
#

Probably

#

I'm very forgetful

short owl
#

I dont recalll - is a way out of it

vocal basin
peak depot
#

hemlock 👉 pithink

rugged root
short owl
#

zubba zubba bubba

vocal basin
#

2019, but this is 3rd edition seems like

#

match is there

short owl
#

match / case

rugged root
#

Wait that's not right. Match was later than that, right?

peak depot
#

hemlock 👉 ducky_concerned

short owl
#

3.10 ???

rugged root
#

Was it 3.10?

topaz ermine
#

i wish i could speak but i think i have to wait!

rugged root
#

My memory is indeed shit

vocal basin
#

1st edition in 2019

#

3.10 is late 2021

rugged root
vocal basin
#

because

"""
"""
```technically fits that
rugged root
#

If you plan on hanging out in the server for a while, the amount of time it takes to meet the criteria will feel like a drop in the bucket

rugged root
vocal basin
#

I prefer leaving things explicitly undocumented when there is no better way

#

so that you can see the percentage

short owl
#

Which version of Python introduced the match-case statement? a) Python 3.8 b) Python 3.9 c) Python 3.10 d) Python 3.7 Answer: c) Python 3.10 Explanation: The match-case statement was introduced in Python 3.10 as part of the language’s support for structural pattern matching. This feature allows developers to write more expressive and readable co...

rugged root
#

I just couldn't remember the year it became a thing

vocal basin
#

@rugged root time for random trivia:
do you know about semver prime?

rugged root
#

Brother of Optimus Prime?

#

Semantic Versioning but I haven't heard the prime bit

vocal basin
#

when you have, for example, separately ABI versioning and API versioning, you can combine them in one number

rugged root
#

Remind me what ABI stands for

vocal basin
#

binary

#

type layouts in memory, calling conventions

rugged root
#

Gotcha

vocal basin
#
(
f"{2**(ABI_major) * 3**(API_major)}"
"."
f"{2**(ABI_minor) * 3**(API_minor)}"
"."
f"{2**(ABI_patch) * 3**(API_patch)}"
)
#

incrementing ABI version part means multiplying total version by 2
(and for API it's 3)

#

just as an example

#

generalises to arbitrary number of things needing to be versioned semverly

vocal basin
rugged root
#

@peak depot Sleep well

short owl
vocal basin
#

Beware of Exception Variables Disappearing
what a clickbait

short owl
#

ask AI how many cats in the room - maybe funny response

vocal basin
#

@peak depot
"cat haven"
"feline conference"

short owl
#

show it the vid

rugged root
#

Fuuuuu okay I have to hike to someone else's computer

#

Back momentarily

topaz ermine
#

who is the best python tutor in youtube?

short owl
#

many

vocal basin
#

Corey Schafer's content is often recommended

topaz ermine
#

name 1

vocal basin
#

a bit outdated but still okay

short owl
#

find a 8 hour video - watch all of it or parts

vocal basin
#

you'll need to follow non-video tutorials too

#

e.g. official Python tutorial

short owl
#

yes true

vocal basin
#

it's a bit more up-to-date

short owl
#

a structured course outline is helpful - with a time index to topics

#

a PDF book recommendation is difficult - so many out there

primal shadow
#

I quite enjoyed automate the boring stuff

#

the basics are still the basics

short owl
#

there are many undocumented ( maybe i just cant find them ) things in python

#

Tkinter has hidden feature

#

Color picking wheels ...

vocal basin
#

tkinter's docs are terrible

#

you need to actually find external documentation for it

short owl
#

I find some stuff by accident , while looking for other things - so , I wish upon a star for a book of hidden feature

#

Sometimes a PDF book will have a tidbit , but need to comb entire book

#

All hail the coffee gods , even Juan Valdez

#

would you put DeepSeek on a isolated machine to see what it can do @chilly wolf @unreal thicket

tacit crane
#

@vocal basin

#

do you save datetime in database or timestemp

vocal basin
#
timestamp with time zone DEFAULT (CURRENT_TIMESTAMP) NOT NULL
tacit crane
#

I KNOW

#

I AM HAVING ISSUE WITH LIKE

    Column(name="created_at",type=DataType.TIMESTAMPTZ().default('CURRENT_TIMESTAMP')),
#

SAVING UTC TIME

#

LOCAL IS UTC +6

#

So i need todays total revinew

#

based on local time zone

#

so i am doing like this

        dhaka_now = datetime.datetime.now(dhaka_tz)
        dhaka_start_of_day = dhaka_now.replace(hour=0, minute=0, second=0, microsecond=0)
        dhaka_end_of_day = dhaka_start_of_day + datetime.timedelta(days=1)
        
        utc_start_of_day = dhaka_start_of_day.astimezone(utc_tz)
        utc_end_of_day = dhaka_end_of_day.astimezone(utc_tz)```
vocal basin
#

!e

from datetime import datetime, timezone
print(datetime.now(timezone.utc))
wise cargoBOT
tacit crane
#

i know this

#

i am doing

                SELECT id, price, buy_price 
                FROM orders 
                WHERE completed_at >= '{utc_start_of_day}' 
                AND completed_at < '{utc_end_of_day}' 
                AND status = 'completed'```
topaz ermine
#

put this in deepseek

tacit crane
#

But problem is

vocal basin
#

yeah, another reason to use proper SQL argument passing instead of string formatting

primal shadow
vocal basin
#

that has been told before already

tacit crane
#
            todays_orders_data = await orders.query(f"""
                SELECT id, price, buy_price 
                FROM orders 
                WHERE completed_at >= $1
                AND completed_at < $2
                AND status = 'completed'
            """,
            utc_start_of_day, utc_end_of_day)```
primal shadow
#

Just another tool inthe SQL toolbox, it's good stuff

vocal basin
tacit crane
#

Main issue it

#
                                    await orders.update(
                                        {"id": order_id},
                                        status="completed",
                                        reason="ভুলক্রমে আপনার অর্ডারটি ক্যান্সেল হয়ে গেছে কিছু ফলোয়ার বা কিছু লাইক যাওয়ার পর বাকি টাকাটা আপনার একাউন্টে জমা হয়ে গেছে",
                                        quantity=quantity_done,
                                        buy_price=recalculated_order_buy_price,
                                        price=recalculated_order_price,
                                        completed_at=datetime.datetime.utcnow()
                                    )```
#

Heres how i am updating it

#

but the uts is getting 1 hour behind

topaz ermine
#

yeah, diff time zone

tacit crane
#

not that

vocal basin
#

utcnow is naïve datetime

tacit crane
vocal basin
#

it's not with UTC TZ

#

that's why it's deprecated

#

!d datetime.datetime.utcnow

wise cargoBOT
#

classmethod datetime.utcnow()```
Return the current UTC date and time, with [`tzinfo`](https://docs.python.org/3/library/datetime.html#datetime.datetime.tzinfo) `None`.

This is like [`now()`](https://docs.python.org/3/library/datetime.html#datetime.datetime.now), but returns the current UTC date and time, as a naive [`datetime`](https://docs.python.org/3/library/datetime.html#datetime.datetime) object. An aware current UTC datetime can be obtained by calling `datetime.now(timezone.utc)`. See also [`now()`](https://docs.python.org/3/library/datetime.html#datetime.datetime.now)...
tacit crane
#

should i use this

datetime.datetime.now(datetime.timezone.utc)```
vocal basin
unreal thicket
#

@chilly wolf @primal shadow @tacit crane this is the label studio for yolo tutorial i was talking about for anyone interested in getting started with annotating images for yolo vision models:

https://github.com/HumanSignal/label-studio
https://youtu.be/r0RspiLG260?si=26XVYe0_fH75_72G

GitHub

Label Studio is a multi-type data labeling and annotation tool with standardized output format - HumanSignal/label-studio

Learn how to train custom YOLO object detection models on a free GPU inside Google Colab! This video provides end-to-end instructions for gathering a dataset, labeling images with Label Studio, training a YOLO model, and running it on a local computer with a customizable Python script. The video shows how to use YOLO11, but it also works with YO...

▶ Play video
tacit crane
#

so i should use this

#

datetime.datetime.now(datetime.timezone.utc)

vocal basin
#

yes

#

@unreal thicket

#

speed is almost never the problem for containerisation

#

it's not hardware-level virtualisation

topaz ermine
#

recently devop team routed wrong so 2 mili req failed xD

tacit crane
#
pm2 start main.py --name="SMM_WEBSITE_PROTOTYPE" --interpreter="venv/bin/python3"```
unreal thicket
#

@vocal basin

tacit crane
vocal basin
#

"only 17 microservices"

vocal basin
#

also careful with the list of things there

#

docker and alike provide more isolation

#

that's the core thing

#

they actually do use it, quite a lot

#

databases belong in containers

short owl
#

just use a SSD like a video game cartridge - experimental OS on full hardware , no extra layers

vocal basin
#

just mount host's directory

#

you don't have to use a docker volume for data

#

(and you almost never should)

#

if you run more than one service using a database, all those services and all those databases almost definitely belong in containers

#

if it's not a separate machine per service, this has been the only sane way to share compute across services

#

@unreal thicket Solaris Zones

#

no. no. no.

#

if you claim performance, show the numbers.

#

this is not hardware virtualisation.

#

that is unrelated to docker

#

entirely

rugged root
#

I'm back, what'd I miss?

vocal basin
#

it's only default k8s installation that ubuntu server has that I've ever seen to cause performance issues

rugged root
#

Neat

#

Your mom is a Python

unreal thicket
rugged root
#

An attempt was made

vocal basin
#

never trust canonical with defaults

short owl
#

if you had a isolated Linux machine would you try DeepSeek to see what can be seen @rugged root

rugged root
#

That tracks

#

I already use a service that has it hosted

#

So I'm futzing with it a little

#

But it doesn't work well for what I'm doing

vocal basin
#

containers are the main reason we get any adequate performance

#

because the alternative is VM

unreal thicket
#

we need python themed snake game

primal shadow
short owl
#

there are multiple models - did you use a tiny version @rugged root

vocal basin
#

especially in the cloud

unreal thunder
tacit crane
vocal basin
#

VMs are way way slower, and not even necessarily more secure

short owl
#

kitty gotta gun ( singing )

vocal basin
#

good luck with securing your floppy drive that you're having to provide to your VMs

rugged root
#

These are the ones I have access to

#

What is Groq again?

short owl
#

hmmm

vocal basin
#

it's "becoming ..." instead of that

rugged root
#

@potent root Having fun with it?

vocal basin
#

iirc Forgejo provides Vagrant package support

potent root
vocal basin
#

oh, it's single file

#

that sounds suspicious

#

non-layered presumably

potent root
rugged root
#

Nothing wrong with using what you're familiar with

#

Python is quick to write

#

I don't, no

#

I've messed with a couple of them but... eh

#

I'm not in the industry so I don't really need to focus on those

vocal basin
#

0 Attempting

tacit crane
vocal basin
#

truly readable

rugged root
#

How does it look zoomed in?

#

"Ah yes, we have the option to go from 100% zoom to 101% zoom"

vocal basin
#

btw it renders those separately

tacit crane
vocal basin
#

zooming in re-renders it

rugged root
#

Those are terrible to read

tacit crane
#

color contrast

vocal basin
tacit crane
#

looks like potion bottle

vocal basin
#

I've 100%d free random, concurrency and doubly-linked list ones

#

but that thing includes paid

rugged root
tacit crane
rugged root
tacit crane
vocal basin
#

that cat looks sad

rugged root
#

@haughty pier Yo

vocal basin
#

was it 400 on http.cat?

rugged root
#

@unreal thicket Only when I have to

vocal basin
#

@haughty pier * problems

rugged root
#

If you don't use regex101 you're insane

vocal basin
#

this one, yes

#

doesn't go the other way

rugged root
#
#

It's old and powerful

#

Very powerful

#

It's like Gandalf

#

The method, yeah

#

It's actually pretty fun

#

It's backwards

#

You fill in letters or characters based on the regex

#

Or just google it

#

If you have a pattern you need to find, that's the use case

#

Like a nice regex cheatsheet?

#

Reference sheets are handy

#

Some can already read through sites like that

tacit crane
#

are you in work?

rugged root
#

Me?

tacit crane
#

yah

rugged root
#

Always

#

If I'm on here, I'm at work

#

Back, sorry

#

Had to check something for a co-worker

vocal basin
#

"write your data access layer in Rust, live a happier life"

#

Rust-async-async-Python integration is okay-ish

#

these are the ones that I considered for Python:

  • SQLAlchemy
  • Tortoise ORM
  • Pony ORM
  • PyPika
#

I've just realised I want multicursor in discord

#

@rugged root also why do you want async sqlite

#

that is not the way

#

it's threading-based

#

might as well do your own threading

#

just have a queue of requests that async code writes to, and read from it in a thread

#

task stuff

tacit crane
vocal basin
#

you can also do in-process ZeroMQ request-reply for that

#

since that's both sync and async

tacit crane
#

Just the thing for you @rugged root

rugged root
#

I disagree with that line

#

I love IT

tacit crane
#

which one

rugged root
#

Still do

tacit crane
rugged root
#

@unreal thicket Suuuuuuuuuuuuuuuuup

#

Go for it

vocal basin
tacit crane
rugged root
#

That'd be pretty sick

#

Some neat AR kind of stuff

#

Focus on slowly

tacit crane
vocal basin
#

make sure the projection does not mess with detection

rugged root
#

I don't really need anything fancy

vocal basin
#

:memory:

#

or whatever sqlite names it

rugged root
#

I'm wanting it to be persistent, though

#

Because I'm planning on having it mapping out the systems so that it's easy to have it go through and get the new prices for the markets or to figure out the shortest path to a given destination

#

And considering the rate limit it has (2 per second and 30 per 60 seconds), it'd be a bad idea to have to get it all from scratch each time

#

And you're probably right, the async ORM probably doesn't make sense, but I'm thinking that I'll have it mapping out the systems in the down time it'll have and toss them into the database while still allowing me to grab information I need and potentially mapping out my next moves to systems I'm going to and what not

vocal basin
#

@unreal thicket there's a bot called sesh

#

are you describing roughly that thing?

unreal thicket
#

yus this seems like it

rugged root
#

Still would be fun and worth doing

vocal basin
#

just use discord's built-in time-to-local-time functionality

primal shadow
#

<t:1739303820>

rugged root
#

@stuck furnace Yo

tacit crane
#

<t:timestemp:F>

unreal thicket
#

<t:timestemp:F>

#

<t:1739303880:F>

vocal basin
#

!e

from time import time
print(f"<t:{time() + 60:.0f}:R>")
wise cargoBOT
vocal basin
#

<t:1739304001:R>

primal shadow
#

<t:1739303820>

vocal basin
#

embeds have their own datetime thing

unreal thicket
vocal basin
#

is default bicubic?

#

looks like it

#

doesn't look bilinear

unreal thicket
vocal basin
tacit crane
#

In this video we learn how to upscale images in Python by a factor of four using ESRGANs.

◾◾◾◾◾◾◾◾◾◾◾◾◾◾◾◾◾
📚 Programming Books & Merch 📚
🐍 The Python Bible Book: https://www.neuralnine.com/books/
💻 The Algorithm Bible Book: https://www.neuralnine.com/books/
👕 Programming Merch: https://www.neuralnine.com/shop

💼 Services 💼
💻 Freelancing & Tuto...

▶ Play video
vocal basin
#

the goal isn't really upscaling with detail, just resizing the image so it doesn't get auto-upscaled by whatever it's viewed through

#

original (pixelated) and result are supposed to look the same

chilly wolf
timid iris
unreal thicket
#

I think I need image downscaling to pixelated art instead

somber heath
#

@lament grove 👋

somber heath
#

@whole bear 👋

whole bear
upper basin
#

He misunderstood Opal.

#

Please join back.

upper basin
#

Loveeeee that episode.

#

And he did teach them sth good.

somber heath
main comet
#

@somber heath Im sorry mate. I was not prepared for imediate critisism. I got a bit to defensive. Please come back, I need you to translate what this guy is saying, I can barly understand hum.

somber heath
#

@main comet The first time, you came into a helping session in the Code/Help voice and begun speaking over the existing conversation I was having with my helpee. You were demanding.

Just now, same thing but with the conversation I was having with Ace, and completely off the subject at that.

main comet
#

(no offence ace)

somber heath
#

You did not wait to listen to the conversation. You were not respectful of it. You barged in and were, as said, obnoxious.

main comet
#

I can leave the vc if you dont want me in here right now

somber heath
#

You say that now. Before it was "That sounds like a you problem."

#

You'll forgive me if I don't take you at your word.

#

I'm uninterested in apologies. Do better.

main comet
somber heath
#

@deep grove 👋

main comet
deep grove
#

Hi mi bros

#

Im new here 😦

#

You speaking spañish?

#

Speak*

somber heath
#

Not I, sorry.

deep grove
#

Ohh sure, i need talk english

#

Please

somber heath
#

!voice

wise cargoBOT
#
Voice verification

Can’t talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.

atomic nebula
#

i can't talk from this account

#

hey @somber heath

deep grove
#

Hey but i will have

atomic nebula
#

is chris online?

#

@wind raptor

deep grove
#

I love the lenguage python 🙂

atomic nebula
#

hey opal

#

i am human object

#

i need voice acces

#

can someone else give me

deep grove
#

I want permiss for voice

atomic nebula
#

hey @vocal basin could you give me voice access

deep grove
#

Really?

atomic nebula
#

i studied that in my high school

#

forgot

#

😭

deep grove
#

I studied ing of software

atomic nebula
#

i have talked here multiple times

deep grove
#

I need to learn of the bests programers

#

Hey snufkin? What are you from?

atomic nebula
#

its @forest zodiac

atomic nebula
#

hbu

#

hey opal i have an interesting topic to talk about

deep grove
#

@somber heath access for me for voice

somber heath
#

!e py print(object())

wise cargoBOT
somber heath
wise cargoBOT
#
Voice verification

Can’t talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.

deep grove
#

A pleasure*

atomic nebula
#

because i am a Human object in the computer simulation's memory we are living in

deep grove
atomic nebula
deep grove
#

You, What years programing?

atomic nebula
#

why have a ruling authority?

atomic nebula
deep grove
#

Wow you are crack

somber heath
#

@grim iron 👋

deep grove
#

What language specific?

#

You liked

atomic nebula
#

hmm

deep grove
#

@somber heath what are you doing?

atomic nebula
#

have you watched monty python and the holy grail movie

#

opal

#

😂 😭

deep grove
#

Yara mano 😄

atomic nebula
#

funniest scene

#

nawh

#

its about king

#

arthur

#

getting the holy grail

#

i didn't find that one funny

#

wtf that's accurate

#

at the end he says alright now FUCK OFF

#

that gets me everytime

grim iron
main comet
#

Greek prefix that conveys "stupidity" or "lack of intelligence," "mor-"

#

Greek suffix for "woman" or "female" is "-gyn"

#

mor-gyn

#

Morgin

atomic nebula
#

I CAN FINALLY TALK

main comet
#

be back in 45 to an hour

#

@chilly wolf I UPDATED THE READ ME!

chilly wolf
#

make the file paths relative with os.path.join or something, you crazy bastard

golden crown
#

Hey guys I want to learn python 0%-100% what should I start learning

#

Should I start learning Variables first or what. Thanks

karmic rain
#

🫡

minor nest
#

@main comet thanks dude, yeah I read the rules and all. but thanks again for going through them

#

not sure if I can use this as just a place to chat lol

#

yeah thanks!
got it!

#

you seem to be awake late at night, work or trouble falling asleep?

#

XD

#

yeah wise words. XD

#

so do you use a particular stack? 🙂

#

or working on something related to a particular stack?

#

oh no problem!
like Django is a stack.
like the technologies for front end and backend

#

most products or web technologies have a stack
like whatsapp as an app will be using something as their UI, something for their servers, something for the databases where they store user date/messages. 🙂

#

I can hear you buddy!

#

yeah no issues

#

haha

#

no problem! haha its late at night anyways XD

#

what are you working on? if its okay to ask? 🙂

#

happens to the best of us XD

#

@somber heath yeah good definition! to the point!

#

@main comet oooh lua scripts for gaming mods huh! what games did you mod? XD

#

programmable micro controllers

#

damn

#

working with game engines, bruh, my head could never lol

#

I ran away from game dev because of all the maths involved 🤣

#

well you are built different then

#

O.o

#

you are literally a rocket scientist

#

dude

#

that's amazing!

#

ooh its on a repo?

main comet
minor nest
#

sure! I won't be able to understand anything haha

#

haha not talking about your ability to showcase it, talking about my ability to comprehend rocket science 🤣

main comet
minor nest
#

is there a way to run the project at my end? 😮

#

if I download the repo?

#

yeah read the readme lol

#

@main comet is a rocket scientist! XD

main comet
frosty garnet
minor nest
#

@main comet since I am kinda dumb, what file do I need to start in python to start the project? 😅
does it need anything else apart from python3

somber heath
#

!resources

wise cargoBOT
#
Resources

The Resources page on our website contains a list of hand-selected learning resources that we regularly recommend to both beginners and experts.

frosty garnet
#

vscode.dev

minor nest
#

@main comet I am talking about your project Jet-Engine-Sim project, haha
what file do I need to start to start the project. XD sorry didn't clarify the questions

minor nest
# somber heath I misunderstood.

yeah read the readme file, it didn't point to a procfile or anything, I tried starting various files, it returns some modules being missing, so probably I am not pulling the actual file that has the main function or something 😅

#

push to main, damn daring XD

#

yeah bash is the gateway to linux

#

you are halfway there lol

#

damn gentoo too XD

main comet
#

JET ENGINE STARTER MOTOR! FUCK YOU

minor nest
#

as a dev you gonna be using everything under the sun, even mac 💀

main comet
#

💀

minor nest
#

@frosty garnet do you work in devops?

frosty garnet
minor nest
#

you can run anything inside docker

#

okay I guess 8 more messages

#

before I can talk lol

frosty garnet
minor nest
#

docker in docker lol

vocal basin
minor nest
#

its like a never ending russian doll

vocal basin
#

normally, less so

vocal basin
#

io_uring is one of the common examples of stuff not working in docker by defaut

#

tbf that's more of a io_uring problem than a docker problem

main comet
unique sorrel
#

dang 41 msgs...

#

i don't say 50 things in a day

minor nest
unique sorrel
#

stuff

minor nest
main comet
unique sorrel
#

90% job 5% personal growth 5% sleep

main comet
#

@hasty orbit

unique sorrel
#

they keep blocking my actrivity :*(

minor nest
main comet
minor nest
unique sorrel
#

lol don't function well anymore

main comet
unique sorrel
#

must refactor

unique sorrel
#

when i go out sometimes, people think there's something wrong with me

minor nest
unique sorrel
#

lol

minor nest
#

I think you have 50 messages now

#

lol

unique sorrel
#

you'll soon find out

minor nest
#

finally!

minor nest
main comet
#

pip install PyQt5 numpy

somber heath
#

@indigo parcel 👋

last wigeon
#

@vocal basin can i have streaming perms please

minor nest
#

@main comet is this it? working? 😄

somber heath
#

@radiant salmon 👋

minor nest
#

@frosty garnet instead of creating a separate directory you can just change the path for the csv file.

vocal basin
unborn flame
#

@main comet are you controlling a real jet engine with python software?

minor nest
#

(I can be wrong though)

unborn flame
minor nest
#

@vocal basin 👋 sorry kinda new here! Is there a place where I can read up on where I can get started to get various permissions to use text is some channels? 🙂

indigo parcel
last wigeon
#

@vocal basin do you play jtoh

minor nest
#

@main comet @frosty garnet great meeting you guys, unfortunately have to go!
😄

vocal basin
last wigeon
vocal basin
#

I don't play roblox

last wigeon
vocal basin
#

why would I ever play it

last wigeon
#

the obby mechanics are cool I think

vocal basin
#

I don't respect the company even remotely enough to install their software

main comet
main comet
chilly wolf
tacit crane
primal shadow
sweet sorrel
#

lol

peak depot
somber heath
#

@feral dove 👋

vocal basin
#

I truly have a way with diagramming

#

only one letter off of looking like a typical late 2022 startup

#

win shift s

vocal basin
sweet sorrel
vocal basin
#

@sweet sorrel there is lightshot for insta-upload

#

not recommended

#

giraffical image format

#

(both halves thereof)

tacit crane
#

How is it?

vocal basin
#

why /my-account and not just /account?

tacit crane
#

i know

somber heath
vocal basin
#

if it's image-er, where's image-est

sweet sorrel
unique sorrel
vocal basin
tacit crane
#

ping yourself -> 300ms

vocal basin
#

@peak depot I did spend a few seconds choosing whether to reply to first or second image

#

I still have dual name on linkedin, maybe I should just replace with what I have here

tacit crane
#
orders = Table(
    name="orders",
    connection=connection,
    columns=[
        Column(name="id",type=DataType.SERIAL().primary_key().unique().not_null()),
        Column(name="user_id",type=DataType.BIGINT().references("users","id")),
        Column(name="order_number",type=DataType.VARCHAR(length=50).unique().not_null()),  # Unique order reference number
        Column(name="status",type=DataType.VARCHAR(length=255)),
        Column(name="total",type=DataType.DOUBLE_PRECISION().default('0.0')),
        Column(name="subtotal",type=DataType.DOUBLE_PRECISION().default('0.0')),  # Before tax and shipping
        Column(name="tax",type=DataType.DOUBLE_PRECISION().default('0.0')),
        Column(name="shipping_cost",type=DataType.DOUBLE_PRECISION().default('0.0')),
        Column(name="discount_amount",type=DataType.DOUBLE_PRECISION().default('0.0')),
        Column(name="coupon_code",type=DataType.VARCHAR(length=50)),
        Column(name="paid",type=DataType.DOUBLE_PRECISION().default('0.0')),
        Column(name="payment_method",type=DataType.VARCHAR(length=255)),
        Column(name="payment_status",type=DataType.VARCHAR(length=255)),
        Column(name="payment_id",type=DataType.VARCHAR(length=255)),
        Column(name="payment_response",type=DataType.TEXT()),
        
        # Shipping Details
        Column(name="shipping_address",type=DataType.TEXT()),
        Column(name="shipping_city",type=DataType.VARCHAR(length=100)),
        Column(name="shipping_state",type=DataType.VARCHAR(length=100)),
        Column(name="shipping_country",type=DataType.VARCHAR(length=100)),
        Column(name="shipping_postcode",type=DataType.VARCHAR(length=20)),
        Column(name="shipping_phone",type=DataType.VARCHAR(length=50)),
        Column(name="shipping_email",type=DataType.VARCHAR(length=255)),
        Column(name="shipping_notes",type=DataType.TEXT()),
        Column(name="tracking_number",type=DataType.VARCHAR(length=100)),
        Column(name="shipping_carrier",type=DataType.VARCHAR(length=100)),
        
        # Billing Details
        Column(name="billing_address",type=DataType.TEXT()),
        Column(name="billing_city",type=DataType.VARCHAR(length=100)),
        Column(name="billing_state",type=DataType.VARCHAR(length=100)),
        Column(name="billing_country",type=DataType.VARCHAR(length=100)),
        Column(name="billing_postcode",type=DataType.VARCHAR(length=20)),
        Column(name="billing_phone",type=DataType.VARCHAR(length=50)),
        Column(name="billing_email",type=DataType.VARCHAR(length=255)),
        
        # Additional Order Info
        Column(name="currency",type=DataType.VARCHAR(length=10).default('BDT')),
        Column(name="ip_address",type=DataType.VARCHAR(length=45)),
        Column(name="user_agent",type=DataType.TEXT()),
        Column(name="notes",type=DataType.TEXT()),  # Admin/Customer notes
        Column(name="estimated_delivery_date",type=DataType.TIMESTAMPTZ()),
        Column(name="points_earned",type=DataType.INT().default('0')),
        Column(name="points_used",type=DataType.INT().default('0')),
        Column(name="gift_wrap",type=DataType.BOOLEAN().default('false')),
        Column(name="gift_message",type=DataType.TEXT()),
        
        # Timestamps
        Column(name="payment_date",type=DataType.TIMESTAMPTZ()),
        Column(name="shipped_at",type=DataType.TIMESTAMPTZ()),
        Column(name="delivered_at",type=DataType.TIMESTAMPTZ()),
        Column(name="cancelled_at",type=DataType.TIMESTAMPTZ()),
        Column(name="refunded_at",type=DataType.TIMESTAMPTZ()),
        Column(name="updated_at",type=DataType.TIMESTAMPTZ()),
        Column(name="created_at",type=DataType.TIMESTAMPTZ().default('CURRENT_TIMESTAMP')),
    ],
    cache=True,
    cache_key="id",
    cache_ttl=300,
    cache_maxsize=1000
)
#

Did i miss anything

vocal basin
#

why are timestamps separate and not grouped with stuff they're related to

tacit crane
#

What do you mean grouped

vocal basin
#

(if that was split across tables, timestamps would be near things they relate to instead of one separate table)

tacit crane
#

all are in 1 table

#

its 1 table

vocal basin
#

i.e. might be because you want to index all timestamps, and this helps keep track of that

#

@sweet sorrel @chilly wolf
"you're both new"

#

first time I joined was 2019

chilly kiln
#

suree

tacit crane
vocal basin
chilly kiln
#

show me your game

tacit crane
#

same 0 activity until dec

vocal basin
#

Netherlands?

#

I will do that joke again and again

rugged root
#

When are they going to pay for their bills

#

WHEN!?!?

somber heath
rugged root
#

Yeah that's about right

somber heath
tacit crane
rugged root
#

Trying to learn how to use tortoise properly

vocal basin
#

"you can donate that money to Bezos"

rugged root
#

LEAVE BEZOS ALONE

rugged root
ivory stump
rugged root
#

I love that vid

vocal basin
#

I still have the funny domain resolving to 127.0.0.1

rugged root
#

Legit forgot that was the loopback

vocal basin
#

127.0.0.0/8

#

127.?.?.?

ivory stump
#

the size of the mask

vocal basin
#

255.0.0.0

#

@sweet sorrel I already have a 4TB SSD like that installed

ivory stump
#

Yeah that sounds tempting

vocal basin
#

it was the second most expensive

ivory stump
#

I'm on a 2tb one rn

vocal basin
#

@rugged root should probably just do it in software, yes