#ot1-perplexing-regexing

1 messages Β· Page 87 of 1

rough sapphire
#

my pet mouse died πŸ˜”

#

rip

glossy niche
#

rip lil guy

royal lakeBOT
#

:incoming_envelope: :ok_hand: applied timeout to @sleek kernel until <t:1706970888:f> (10 minutes) (reason: duplicates spam - sent 4 duplicate messages).

The <@&831776746206265384> have been alerted for review.

near gull
#

rip jerry

fresh basalt
fading gazelle
#

I found the solution. In brief, what is wrotten here only seems to work on linux

- name: Install platform-specific requirements (Windows)
  if: runner.os == 'Windows'
  run: |
    choco install mkvtoolnix --no-progress --yes
    Import-Module $env:ChocolateyInstall\helpers\chocolateyProfile.psm1
    refreshenv
    $mkvmergePath = (Get-Command mkvmerge).Source
    $mkvtoolnixPath = Split-Path -Path $mkvmergePath -Parent
    echo $mkvtoolnixPath | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
  # We need to conserve mkvtoolnix in the PATH env variable.
  # From https://stackoverflow.com/a/73981698/15835974
drowsy rose
thick ore
#

damn gpt gatekeeping

wanton delta
#

What does pulling a p4 look like

thick ore
#

get the person, a 4

lament cairn
#

g

zealous comet
ancient minnow
#

hey so I have a mysql database with over 15 million rows

#

and a simple query like this one

#

takes over 30 seconds to finish

#

anyone an idea how I can speed up such a process

young shoal
#

make an index

#

and don't use a string for that column pithink

ancient minnow
#

i have an index

#

but for example

#

this query

#

takes up over 18 seconds

young shoal
#

yeah, that needs a full table scan

ancient minnow
#

because 4-byte integers MAX_INT is smaller than that one

#

so what would u sugges

#

t

young shoal
#

do you often need how many rows there are ?

ancient minnow
#

no, this was just for checking

ancient minnow
#

i need to pull of often

#

but also

young shoal
#

i mean an index on that column

ancient minnow
# ancient minnow but also

smth like this also takes up a lot of time

SELECT *
FROM flight
WHERE scrapeDate = (SELECT MAX(scrapeDate) FROM flight);```
young shoal
#

then you should use more indexes

ancient minnow
#

im very new to sql so i dont completely understand how to use it correctly yet

young shoal
#

you said you have an index on the hash column already?

ancient minnow
#

like i said im new

#

i dont have any indexes yet

young shoal
#

oh ok. then you want to make indexes for those two columns

#

an index basically lets you find things faster

#

so in your case, when you want to find the max, or you want to find a specific hash, those will be much much faster, probably a few milliseconds rather than 30 seconds

marble bay
#

my interest has been piqued, anyone know of the convo behind the name

lament cairn
#

Half price appetizers and violence.

ancient minnow
#

Like why don't they get indexed automatically

#

Because from what I've read it makes sense to index each column in my db

#

Ohh and last question, if I index a column, and then add new entries, do I have to index it again?

rough sapphire
warped sentinel
#

Plus sometimes, you want an index that covers multiple columns. So you may end up with a combinatorial issue

ancient minnow
#

also is there a way when adding new entries to check quickly if exactly this entry already exists in a subset of the database

#

I would imagine just hashing the row I want to commit (except for the primary_key) and comparing it to hashes of all the other rows in the db

#

couldnt find anything bout this on the internet

warped sentinel
ancient minnow
#

great thank you

thick ore
#

maybe i'm going insane

#

i'm starting to think that typehints are just noise

timid latch
thick ore
#

i know they are

#

but perhaps it's just the syntax

#

what if it was int def add(int a, int b):

timid latch
#

I dont really see how thats better

#

and the current one matches the order I usually think about them, I first think about what I need (i.e the name), and then I can think about what type it will need to be

small coral
thick ore
small coral
#

like def add(a, b): would not have to backtrack

thick ore
#

i think i need to rest

timid latch
#

πŸ’€

thick ore
#

ok another question

#

when is it okay to use relative imports

small coral
#

why do i even try to create a programming language

small coral
small coral
timid latch
small coral
#

i need to rewrite my language

#

why did i distinguish tuple and list

thick ore
small coral
#

even though they already have frozen/unfrozen versions

timid latch
#

you know, thats one big benefit of tuples, you can give each element a specific type

small coral
#

i remember describing the difference as "one of them is always sorted"

#

which is so niche

timid latch
small coral
#

the tuple one is just inconsistent

#

all the rest (list, set, dict) has : if frozen, none if not

left sierra
#

Is there a way to combine different bash commands with same parameter

#

like touch open foo.java

graceful basin
left sierra
#

why, it's a good solution for long chain commands

cursive salmon
#

thanks I suppose

acoustic moss
#

aleks

graceful basin
rough sapphire
#

Boys I'm 500

fresh basalt
#

if you do something like $ cmd arg1 arg2 then on the next line you should be able to do $ ^cmd^newcmd and substitute

rough sapphire
fresh basalt
#

also you can do like $ !! to repeat the last command

#

all sorts of neat stuff you can do

cursive salmon
#

I remember havin an aleksei in class 10 years ago

#

idk if it's the same

harsh tundra
# cursive salmon is that russian name for alex?

ks is just for languages that don't have x naturally. Like I had both Aleks and Aleksander in my year at uni, both Poles - there's no x naturally in Polish

For Russian and other languages written in other alphabets it's a bit more complicated because you might use different rules to transcribe Cyrillic to Latin alphabet - like international rules are based on English, but Slavic languages that use Latin alphabet might have direct translations
E.g. I had a Ярослав (Ukrainian) in my year at uni. Official international transcription made him Iaroslav, but in Polish we just have the name JarosΕ‚aw...

Now that I'm checking, international transcription from Russian uses ks instead of x, probably because Russian uses кс, there's no one letter that's like x.

tulip falcon
#

I suppose X(twitter) is called KS in Poland then πŸ˜‚

tardy rain
#

Eks dee

urban holly
#

we call it

#

||twitter||

glossy niche
#

what the fuck is an X

uneven pine
#

Someone you went out with before but don't anymore

tulip falcon
#

Oh so that's what the X app is for

graceful basin
#

@shell raptor re: Roc. Sure, it can be fast, but why is that the most interesting thing about the language? And if it isn't, why is it the first thing on the page?

#

It does look neat though

sick nexus
graceful basin
#

You dont make a fast language by saying it is fast

sick nexus
#

That is true!

graceful basin
#

python says it is fast on its homepage as well

#

somewhere

sick nexus
#

Go developers claim Go is "fast" too

#

by which they mean it's faster than Java

graceful basin
#

I am just very allergic to A fast, friendly, functional language. being the tagline

#

The important bit there is functional

sick nexus
#

I agree

#

I could see friendly too

#

there are languages that are very much not designed to be beginner friendly

tulip falcon
#

Python: a fast and working language

graceful basin
#

it's all over rusts garbage and good libraries both - the fast linter, the fast library, the fast webserver

#

if fast is the most important thing about your project, maybe it's kind of a bad project.

young shoal
#

you mean, πŸš€ blazingly fast πŸš€

graceful basin
#

sure

sick nexus
#

Jai is a meme but I like that its design prioritizes experienced and knowledgeable programmers

graceful basin
#

Is Jai real yet?

sick nexus
#

I don't think so

graceful basin
#

makes sense

#

but yeah, I'll go ahead and write some Roc

sick nexus
graceful basin
#

people handle advanced requirements in python all the time

#

I do agree that randomly doing inconsistent things to make easy things easy is questionable

#

but there is more about a language being suitable for "advanced" projects than just ... not having beginner-focused features

sick nexus
#

That's not what I'm saying. There is nothing inherently wrong with beginner focused features. But making things more intuitive and friendly for beginners does tend to come at some cost to making things more useful for experts.

#

Jai wants to cater heavily to the types of people who write game engines from scratch in C++

#

So the tradeoff is very intentionally made to prioritize what will be most useful to that type of person

#

I think it's fine to advertise a language as friendly if that's legitimately a design goal of it

#

I don't think friendliness is a given

#

Or even necessarily highly desireable

graceful basin
#

Fair enough

#

though I don't think they actually mean anything by it

sick nexus
#

If so then I agree they shouldn't advertise it

graceful basin
#

I think familiar would fit

#

It's mostly caml

graceful basin
#

Odin is a real programming language you can download and use

hearty violet
#

I hate since jai projects on github
u're open source coding I cannot even compile

#

and u just want me to trust u that ur compiled binary is safe to use

graceful basin
#

they have gotten to a beta at this point, which is ... good

hearty violet
graceful basin
#

indeed you do

hearty violet
#

which makes it pointless to use for anything other than ur own private project

graceful basin
#

to be fair, that's what its for

hearty violet
#

like the Focus editor

graceful basin
#

They are of course free to do so

#

but yeah, won't have any contributors

#

which is probably fine

hearty violet
hearty violet
#

but personally I'd prefer odin to jai
syntax is nicer, it's open source and the compiler takes seconds to build

the creator is nicer and less condescending

#

but to each their own :)

#

also odin is actually used in production

graceful basin
#

really?

hearty violet
#

there's like over 500K lines of code in odin in production at JangaFX

graceful basin
#

holy hell

hearty violet
#

it's used to write a particle simulation software that's used by big hollywood studios

graceful basin
#

I truly put it on the level of like... V

hearty violet
#

lol

#

V stands for Vaporware

#

Jai is closed source and invite only

graceful basin
#

V is a real programming language

hearty violet
#

Odin is free open source and in production

graceful basin
#

it's not at all the V that was promised

#

but you can use it and get programming done

hearty violet
#

sure ig

#

I haven't taken a look at it in a while

graceful basin
#

it's a decent GCd language with cross compilation

hearty violet
#

but to be honest it doesn't interest me much

#

also I'd take a language like odin that's proven by having software used by many

#

than V

graceful basin
#

ye, that's why I was surprised

hearty violet
#

EmberGen if u curious

#

it's written in odin

dusky turret
#

@granite tree billy! how are u

#

long time we haven't talked

granite tree
dusky turret
#

:) glad to hear that

#

u've been working on something interseting lately?

thick ore
#

the 24th letter of the alphabet

#

oh my god the messages just loaded in

dusky turret
#

i think

#

nvm i talk about something else

thick ore
fathom musk
cursive salmon
cursive salmon
timid latch
fathom musk
#

πŸ‘†

fathom musk
timid latch
#

oh god it is super annoying at hitting space at the wrong time doesnt jump you to the start of the next word, I keep getting desynced and getting a bunch of it wrong

#

it leads to stuff like this, this is correct, it was just shifted to the left one

fathom musk
#

lol

cursive salmon
#

fuck this shit

#

you cant even ctrl backspace

fathom musk
#

ctrl d backspace probbaly works

#

wait nah ctrl backspace works for me

#

but ctrl d doesnt

cursive salmon
#

it just deletes once

fathom musk
#

u want to delete 1 word right?

latent scaffold
cursive salmon
fathom musk
#

lmaooo

cursive salmon
#

compile what is that

latent scaffold
#

not a word you wanna split into its two syllables

fathom musk
cursive salmon
#

in that website because I can do it anywhere else

#

idk why I just popped into my head to code an html source to DOM tree converter

jaunty wraith
low chasm
#

hi cypheriel

#

how've you been

latent scaffold
latent scaffold
#

great. I'm not even gonna bother with that one

low chasm
#

junior year, so the workload is kinda more than it was before

#

I got selected to go to regionals for my school's debate team, though πŸ‘€

latent scaffold
#

Oh, that's fun

#

Meanwhile, I'm facing the trials of adulthood

low chasm
#

I'll be 18 this year πŸ₯΄

latent scaffold
low chasm
#

rip

latent scaffold
#

Hopefully I soon have the resources to move out

#

... again

low chasm
#

good luck πŸ‘€

#

I've got to jump for now, I've got class

latent scaffold
latent scaffold
#

Nice talking 😩

lament cairn
#

shh

#

dont disturb the snop

fresh basalt
#

Nobody ever mentions how stinky wild animals are.

lament cairn
#

I've heard fox piss smells like death

fresh basalt
#

All of the guides on this live safari I used to watch say that predators especially are pretty filthy and can actually carry some infectious stuff.

#

stinky kitties

vale hull
#

How do you guys find motivation to do software projects? Software design is not really one of my interests but I do it because some of the things I make are useful for myself (and potentially others).

fresh basalt
#

It's probably different for everybody.

#

But I think developing a tool that you actually use (and thus are invested in) is a good thing.

lament cairn
#

money
boredom

vale hull
fresh basalt
#

no, what are you interested in?

#

those are two very broad categories

#

I mean you don't need to tell me per se, just figure it out yourself.

#

But if you spread yourself out too thin that's a recipe for burn out.

#

It's also okay to move from thing to thing.

#

because interests change

jovial oriole
#

Wtf, im paying for this shit why is just turning off

#

my data keeps saying no service randomly throughout the day

rough sapphire
#

um hello

fresh basalt
#

@jovial oriole maybe it doesn't like you?

#

what's turning off?

jovial oriole
jovial oriole
fresh basalt
#

oh, turned off by your carrier

#

who is your carrier?

vale hull
# jovial oriole O

Android on my ASUS sometimes shows that when there is no cellular service somewhere

#

weird thing for the system to assume

fresh basalt
#

@jovial oriole in times of network congestion a carrier may reprioritize services

#

I've seen both AT&T and T-Mobile do it.

rough sapphire
#

Rate my desktop πŸ˜„

#

1/10

vale hull
glossy niche
rough sapphire
glossy niche
#

robe locks

naive igloo
rough sapphire
naive igloo
tardy rain
#

Scarier than this?

#

First thing you see is shit about being billed

#

@placid warren forgot to ping lmao

placid warren
#

click on the x and youre done

tardy rain
#

This is less intimidating to a newbie than idle or py shell?

young shoal
grave jackal
#

hey idk where to ask this but ive been wondering this. Im using pycharm rn and i was wondering if this setup looks right? is the app.py in the right spot?

young shoal
#

app.py? i don't see it

grave jackal
young shoal
#

looks like a reasonable spot

grave jackal
#

it wont cause any problems down the road with files, etc?

young shoal
#

not inherently

grave jackal
#

alright thanks

fresh basalt
#

in ```py
def fun(num: int) -> None:
pass

#

is num actually declared?

#

where is it documented?

#

!pep typehint

royal lakeBOT
#
Bad argument

Converting to "int" failed for parameter "pep_number".

fresh basalt
#

be smarter bot :P

young shoal
fresh basalt
#

I mean is it instantiated as a thing in memory

#

no that doesn't make sense

#

nevermind, I'm an idiot

#

I was reading somebody's question in #1035199133436354600 and got stuck in a rabbit hole I guess. a dumb rabbit hole.

#

@young shoal do you know where typehints are processed/discarded in the cpython implementation?

young shoal
#

no

fresh basalt
#

thanks anyways

#

You ever get so distracted by stuff you turn into a complete moron?

#

I sometimes think that is the base state and when you're distracted it's what you return to, like a ground state of an electron

#

or conversely it's because all your energy is gone

#

idk

naive igloo
fresh basalt
#

godlygeek answered my question ivan

#

it is stored in __annotations__

#

I mean godlygeek answered it indirectly

naive igloo
fresh basalt
#

it's not instantiated as a thing in memory

naive igloo
#

at least here

#

they didnt answer

fresh basalt
#

no it's okay

naive igloo
#

ah right

#

ok

fresh basalt
#

it's in bytecodes.c in the cpython distribution

jovial oriole
#

My data just stops working through out the day and starts 10 minutes later

fresh basalt
#

What carrier?

jovial oriole
jovial oriole
#

Im in canada

#

Its essentially a subset of bell

fresh basalt
#

I'm curious if you're roaming when it happens.

#

LTE?

#

@jovial oriole Do you get charged for incoming sms?

#

f that

#

I'll get a flip phone and a pager.

royal lakeBOT
#

:incoming_envelope: :ok_hand: applied timeout to @lament cairn until <t:1707275446:f> (10 minutes) (reason: attachments spam - sent 7 attachments).

The <@&831776746206265384> have been alerted for review.

honest star
#

!unmute 589779308063490055 fewer spam pics pls

royal lakeBOT
#

:incoming_envelope: :ok_hand: pardoned infraction timeout for @lament cairn.

lament cairn
#

Oops.

sacred cove
#

Does anybody knows p5js?

grave cove
blazing hemlock
#

anyone know how i can get the heart to overlap with the gray and the white in CSS?

thick ore
blazing hemlock
#

Sure

blazing hemlock
#

Don't mind the console.log('xdd'); its just me testing if some stuff works

thick ore
#

alright

#

ill take a look

blazing hemlock
#

Ty

#

I was hoping to achieve something like this:

thick ore
#

i think it's because your heart is made out of the before and after pseudo elements

#

setting z-index to the actual element doesn't make a difference

blazing hemlock
#

How would I go around it, I'm fairly new at CSS πŸ˜“

thick ore
blazing hemlock
#

For each of the pseudo-element?

thick ore
#

yeah

blazing hemlock
#

but would that do anything due to me attaching the heart object onto the note object?

thick ore
#

idts

thick ore
#

whoever is receiving this site is lucky asf

cursive salmon
#

@blazing hemlock you'll need to update us once you send that

blazing hemlock
#

I have ironed it out

#

Noww time to add the message

north igloo
#

is anaconda fr malware?

lament cairn
north igloo
#

Just asking

#

Was afraid heard some stuff abt it in reddit

lament cairn
north igloo
#

Thanks!

swift portal
#

today my age: ??. :β€ŽD

rough sapphire
naive igloo
#

woah... pypy is a lot faster

#

also that message sucks

lean abyss
#

whats this

#

guys!

naive igloo
#

?

#

you mean pypy?

#

@lean abyss

glossy niche
naive igloo
# glossy niche pypy is nice but kinda fucky to work with sometimes, library support and stuff

well here it was just speeding up a very hacky script i made

#!/usr/bin/python3

import json


with open("result.json") as f:
    conversation = json.load(f)


def find_message(id_: int) -> dict | None:
    global conversation

    for message in conversation['messages']:
        if message['id'] == id_:
            return message
    else:
        return None



message_topics = 0

from_id: int | None = None
last_from_id: int | None = None
for message in filter(lambda m: m['type'] == "message", conversation['messages']):
    last_from_id, from_id = from_id, message['from_id']

    try:
        reply_id = message['reply_to_message_id']
    except KeyError:
        pass
    else:
        if (
            (reply_message := find_message(reply_id)) is not None and
            reply_message['from_id'] == from_id
        ):
            continue

    if last_from_id != from_id:
        message_topics += 1


print(f"Total approximate message-topics in conversation: {message_topics}")
lament cairn
#

oh pypy supports 3.10 now ??

#

crazy

naive igloo
lament cairn
#

finally pypy isnt ancient

naive igloo
#

while also

naive igloo
#

collapes

#

such

#

messages

#

so that like if you send 3 messages but you have to read as 1 message it will be counted as a single message

naive igloo
glossy niche
#

pypy is goated for hacky scripts

naive igloo
#

i wonder should i put functools.cache on this...

glossy niche
#

lets you rightfast stuff without the pain of having to actualyl write better code

glossy niche
#

cause the hash isnt always worth it

#

ngl python performance is rly rly weird

naive igloo
#

wait

#

let me check how many are there

glossy niche
#

this looks like something that can be improved with some DSA tbh

naive igloo
#
>>> with open("result.json") as f: messages = json.load(f)['messages']
... 
>>> len(messages)
33336
>>> 
glossy niche
#

likee why not just use a hash table from the start

naive igloo
#

i dont think iterating over 33336 items is fast

#

even with pypy

#

cuz its python

glossy niche
#

well, a has can do that fast

#

you are only doing an equality check here

#

hash tables can deal with that

#

if it was an inequality check like an < it would be adiff story

tardy rain
#

Is conversation["messages"] a list? 🀨🀨🀨

naive igloo
#

ask telegram

#

not me

tardy rain
#

Oh, not your code?

naive igloo
tardy rain
#

The api

naive igloo
#

the api is not

#

telegram's api is frekaing wild

#

TBH

tardy rain
#

Unbased telegram api

glossy niche
#
{id_: message for message in conversation['messages'] if message['id'] == id_}

why not do something like this

#

single pass

#

API problem?

naive igloo
glossy niche
#

theoretically, its O(n^2) -> O(n)

naive igloo
#

its a mess of HTTP and not HTTP

#

at least for bot api

granite tree
#
PubMed Central (PMC)

To examine the effect of automatic communication notifications on performance and strain. Because of the benefits of communication, we expected this effect to be moderated by fear of missing out (FoMO) and social norms of responsiveness, expressed in ...

#

"The results showed that interruptions increase more time to complete
in cognitive tasks and produce more errors in skill tasks. Also, similar types of primary-interrupting
tasks were more susceptible from interruptions. Thus, based on task composition of work process,
we can estimate different effects from the interruptions and memory load, and task similarity in
primary-interrupting task relationship were considered a main factor"

#

The interesting point here is similarity: if you're coding, and someone asks you a question about a football game, it's probably not as disruptive as a coworker asking you a coding question.

rough sapphire
#

so simply put long story short if my absolute care is just maximizing focus basically no music

outer sundial
#

Interruptions were found to cause more annoyance and anxiety, increase stress and frustration, and lead to errors in the primary task, less task accuracy and to longer task competition times or to the use of suboptimal strategies as well as to forgetting about the primary task.
Can confirm, my phone buzzing in my pocket is a massive source of anxiety, since it usually means I have to deal with something.

granite tree
#

Ever work in an office with zero background noise? We installed white noise generators in our office, and it was so much better

#

again, for me, I don't notice the background music I have playing. I can sleep to heavy metal.

rough sapphire
granite tree
#

My wife, tho, can't. But, she can work with the TV on, and I can't.

tardy rain
#

I have chill downtempo music usually
Stuff with no or few lyrics cause i find myself singing along and getting distracted

low chasm
#

I just have the same playlists for everything

granite tree
low chasm
#

I think that goes to show I have the best music taste and my choice of songs are universally applicable to every situation

granite tree
#

Hmm, is my spotify linked? I don't really know how that works.

low chasm
#

through discord? Nah, can't see it

#

you can link accounts through settings

#

what sort of music do you listen to? πŸ‘€

tardy rain
granite tree
#

Oh, i thought it was linked. Oh, that's cuz I was invislb.e maybe?

tardy rain
#

#1 highest grossing domestic artist gang

granite tree
low chasm
granite tree
#

I thought if it's linked, it'll show what I'm listening

low chasm
#

I was on mobile, that might've been it

#

I'm on my desktop now, and I can see it

#

just discord being discord, I suppose

granite tree
#

ah, ok interesting

fresh basalt
#

In a browser I can see your Spotify status @granite tree

tardy rain
#

I can see it on mobile

outer sundial
#

I usually listen to the same thing on repeat, though I usually end up less exhausted if I listen to calm music vs intense music while coding.

rough sapphire
#

this might be super stupid, but do you guys think through human evolution, high frequency or lower frequencies increase alertness?

tardy rain
fresh basalt
#

Anybody remember that?

low chasm
#

I have 5 playlists

granite tree
fresh basalt
#

Never heard of 'em.

low chasm
#

and I mostly just cycle through those

naive igloo
#

@glossy niche its holy shit faster like this:

#!/usr/bin/python3

import functools
import json


with open("result.json") as f:
    conversation = json.load(f)

messages: dict[int, dict] = {message['id']: message for message in conversation['messages']}


message_topics = 0

from_id: int | None = None
last_from_id: int | None = None
for message in filter(lambda m: m['type'] == "message", messages.values()):
    last_from_id, from_id = from_id, message['from_id']

    try:
        reply_id = message['reply_to_message_id']
    except KeyError:
        pass
    else:
        if (
            (reply_message := messages.get(reply_id)) is not None and
            reply_message['from_id'] == from_id
        ):
            continue

    if last_from_id != from_id:
        message_topics += 1


print(f"Total approximate message-topics in conversation: {message_topics}")
fresh basalt
#

Same idea?

low chasm
#

although I've kind of just been listening to hindi/urdu music exclusively recently

naive igloo
#

holy hashmap πŸ™

granite tree
naive igloo
#

has confidential info

outer sundial
#

The factorio ost is built different.

naive igloo
#

its a literal dump of a chat with me and my gf

fresh basalt
#

like how different?

tardy rain
naive igloo
#

i was just curious how many messages we sent each other

naive igloo
fresh basalt
#

You can count that with awk probably

glossy niche
#

ivan did u try studying DSA?

#

leetcoding

outer sundial
glossy niche
#

or did u go straight to rust

tardy rain
#

4s for 18k messages still sounds kind of a lot?

naive igloo
naive igloo
tardy rain
#

Measure-Object

naive igloo
#

i am on linux

tardy rain
#

Wait, is that it?

naive igloo
#

thankfully

tardy rain
#

Holdup

fresh basalt
#

@outer sundial It's a nice OST

naive igloo
fresh basalt
#

@outer sundial I have blown hours on that game.

tardy rain
#

time*

#

Smh

naive igloo
fresh basalt
#

like hundreds

naive igloo
#

there we go

naive igloo
glossy niche
#

data structures and algorithms

naive igloo
glossy niche
#

short hand for leetcoding lol

tardy rain
naive igloo
#

like 2 major languages

glossy niche
#

its a language agnostic thing

naive igloo
#

in which i actually invested time learning

#

and aside some time was learning C/C++ and Java and C#

#

eh

glossy niche
#

i suggest you do some leetcode easy/mediums, they are fun and teach you a lot

naive igloo
#

didnt find use for them

naive igloo
#

i dont have that motivation

tardy rain
#

You can swap out the try except with dict.get btw

outer sundial
# fresh basalt maybe pavlovian response?

Peak pavlovian response is reproducing the state you get in when playing games to get the same effect. I suppose that may be part of why I like using the cadence of hyrule and ultrakill osts for work, since when I'm playing them it demands 100% of my focus.

fresh basalt
#

ultrakill is bananas

naive igloo
#

so doubt there would be any perfomance gains

outer sundial
#

So far just missing P-2 before I have all levels P-ranked sharpshooter only.

naive igloo
#

aside from more if-statements

naive igloo
#

and wulrnuses

#

quite intersting: pypy is now actually slower than cpython

#

with that script

#

~0.6 vs ~0.55

glossy niche
#

JITs work better for long processes

#

there is a sunk cost

naive igloo
#

ic

glossy niche
#

try pyinstrument

#

its pretty easy to use

#
from pyinstrument import Profiler

profiler = Profiler()
profiler.start()

print(do_shit(1, 2, 3))

profiler.stop()

profiler.open_in_browser()
naive igloo
reef geyser
digital oracle
#

Β‘ban brainmon (sp)(h)am in multiple channels

soft violet
# reef geyser

I'm reminded of the "design your own burger" app image montage.

#

The one that I oughtn't post here.

tardy rain
#

Is it just a stack of patties

glossy niche
#

HOW IS WINDOWS EXPLORER SO PATHETICALLY SLOW

#

PIECE OF SHJTI

#

IM GOING TO STOP WHO EVER MADE IT FLAT

timid latch
glossy niche
#

what exactly is the alternative here? linux?

#

or a different file manager?

#

ok fuck it im gonna go back to the FOSS one

#

its unusable

#

on an NVMe SSD

glossy niche
#

hmmmmmmmmmmmm windows store has AI summaries for review new, neat use for LLMs

thick ore
#

please AI developers never make them better

#

i dont want them to steal my job

rough sapphire
lament cairn
lament cairn
#

Oh, yeah unless you're a Pro/Business customer you're outta luck

dusty narwhal
#

apparently I've heard negative reviews on trust pilot and reddit about their name registrant customer service being wack

#

it's not blowing-out-of-the-water type of mark up

#

ok i can kinda now see why people would pay just a little more to have a better service

lament cairn
#

Yeah, CF is cheaper but not by much

#

I considered Porkbun while moving my domain but wasn't sure - I also thought the massive amount of support from selfhosted and other places was suspicious

#

I use Cloudflare DNS anyway so I thought might as well go all in

glossy niche
lament cairn
honest star
#

My kindle finally bit the dust after 10 flawless years πŸ˜”

fresh basalt
#

I have an iPod classic gen 6 and it's still kicking

#

the lock button is broken though

#

I keep it in a pretty severe case

bright turret
#

what do you think guys about short wave radio

fresh basalt
#

In general?

#

It's neat.

bright turret
#

@fresh basalt if I got a friend in another country lets say USA and am in Spain and both of us have short wave radio so we can talk freely ?

young shoal
#

directly? no

fresh basalt
#

Well you can encrypt a signal before you send it out.

#

But it's still radio

#

Also you want to check your country's laws beforehand because some governments frown on encrypted transmissions by citizens across the globe.

#

@young shoal what's the lovefest role about?

#

was that an event?

young shoal
#

indeed

fresh basalt
#

ironic

young shoal
#

🀨

fresh basalt
#

πŸ˜†

honest star
fresh basalt
#

RIP

#

Now you have to pay extra to get the ad-free model.

honest star
#

we really live in a capitalist hellscape

fresh basalt
#

I was either going to get that or get a Nook

#

But then I just got a samsung tablet on the cheap from ebay

honest star
#

I require e-ink for reading books, otherwise the eyestrain is too much for extended periods of time

fresh basalt
#

TBF I haven't used to to just read for extended periods of time yet.

#

I got it so I can put it on my digital piano and follow along with lessons.

#

I'd presume I probably would have issues with eye strain.

lean abyss
naive igloo
young shuttle
#

And your conversations can be heard by anybody else with a receiver

bright turret
bright turret
young shuttle
#

short wave radio can be just a receiver for listening to Voice of america, BBC world service etc.

bright turret
#

so short wave radio cannot be used for input voice ?

young shuttle
#

Amateur radio is about tranceiver where you can transmit as well as receive, which you can do in HF (i.e. Shortwave), VHF and other bands, depending on your licence

#

Short Wave is a frequency band, within that frequency band there are broadcast bands, amateur bands, ship to shore and air to ground communications etc.

bright turret
#

also with Amateur it comes with a plugged white antenna on it, no need to add another one right ?

young shuttle
#

If you want to speak to people within 50 km maybe you get away with a handheld and the antenna on it

#

you were talking about transatlantic contact

#

there you definitely need a serious set up with a good antenna

bright turret
young shuttle
#

with a shortwave (HF) receiver no. With a shortwave (HF) tranceiver maybe, if you have a good setup, use the correct frequencies for the time of day, the propagation is favourable for the country you are trying to talk to etc.

weary moat
#

Do I detect a fellow amateur licence holder?

bright turret
#

we just talking about how things works

young shuttle
#

A lapsed one, I was always more of a shortwave listener πŸ˜‰

#

These days not even that

weary moat
#

Me too. I don't use it much these days but I keep it anyway.

bright turret
#

wow

young shuttle
#

you can get a shortwave radio for $20

bright turret
weary moat
#

No, Ive only ever owned cheap uhf and vhf sets. I rely on other people for hf kit!

young shuttle
#

receiver

bright turret
#

I saw they cost 160$ on Amazon

#

I think it should be the transceiver

young shuttle
bright turret
young shuttle
#

means 'transmitter + receiver'

bright turret
bright turret
weary moat
young shuttle
#

well, you can always connect computers and use data modes

bright turret
#

ah

bright turret
young shuttle
weary moat
young shuttle
#

usually with an exam

weary moat
#

Again, differs between countries

young shuttle
#

yes, nothing is free in this world

bright turret
bright turret
young shuttle
#

Spectrum is regulated, transmitting is serious business, you can't let everybody transmit on any frequency with any power they want and interfere with legitimate users

bright turret
young shuttle
#

there are license exempt options in some countries PMR 446 etc.

#

But that won't get you across the atlantic

bright turret
#

or too far

young shuttle
#

To be honest with you, the easier level of the license (talking about UK where I know better) is VHF only

#

you need to be effectively an advanced radio amateur to be licensed for HF (shortwave)

weary moat
#

You're both going to need licences, decent hf transceivers, very good antennae, an understanding of how weather and reflection off water and atmosphere affect radio propogation and a big slice of luck.

young shuttle
#

It's not a substitute for Discord let's sayπŸ˜‰

bright turret
young shuttle
#

like chatting with voice on discord

weary moat
#

It's doable, but there's a lot to learn and that will take time. The kit you need also isn't cheap.

young shuttle
#

there is a much higher barrier to entry

bright turret
#

voice on discord using voice over ip i think

bright turret
#

or I need an antenna like this:

young shuttle
weary moat
bright turret
young shuttle
#

Sorry all, need to go

bright turret
young shuttle
#

good luck, it's an interesting hobby to get into

#

but transatlantic contacts is on the advanced side, you got to walk before you run

#

Good night

upbeat pelican
#

guys its not c++ but stick with me, im using vsc for da first time

feral crown
#

I've used it, got used to it went to Linux

#

Now it's lagging like a complete tumorware

#

Cause Wayland

#

Plus buggy Nvidia drivers

#

If you planning on moving to Linux ever, seek native IDE

#

I beg you

feral crown
fresh basalt
steel cloak
#

hi

brazen ingot
#

hell

#

o

civic pasture
#

Hello

#

How's you

#

How's loge

royal lakeBOT
low chasm
#

happy birthday (again) @grave cove

grave cove
#

thank

#

!remindme 364d birfday

royal lakeBOT
#
ROGER THAT

Your reminder will arrive on <t:1738909355:F>!

grave cove
#

Buh

#

!reminders delete 6555

royal lakeBOT
#
Affirmative!

Successfully deleted the following reminder(s): 6555

grave cove
#

!remindme 365d birfday

royal lakeBOT
#
Affirmative!

Your reminder will arrive on <t:1738995785:F>!

grave cove
#

Neat

crystal spruce
digital oracle
#

I just realized too

#

!help remind edit

royal lakeBOT
#
Command Help

!remind edit
Can also use: remind change, remind modify

Commands for modifying your current reminders.

Subcommands:

!remind edit content <id_> [content]
Edit one of your reminder's content.
!remind edit duration <id_> <expiration>
Edit one of your reminder's expiration.
!remind edit mentions <id_> [mentions]...
Edit one of your reminder's mentions.

ancient minnow
#

Hi can someone please explain me why the following query takes 4 seconds

#

while this one only takes 0.2 seconds

#

all columns in the queries are indexed

#

altho its weird that direction_index has such a low cardinality

tardy rain
#

Your first stop when debugging a query should be its execution plan

ancient minnow
#

Im sorry, im pretty new to sql

tardy rain
ancient minnow
#

mysql

tardy rain
#

Your db should offer functionality to explain the execution plan for each query

#

This can be hard to understand at first, you could post your plans for the two queries in #databases

ancient minnow
#

should I make an index for the combination of these columns maybe?

shell raptor
#

I recently acquired the Sennheiser HD250BT headphones
I very quickly found out that they do not work (as a sound emitting device) while charging. This is stupid and annoying. Is there a way to override that? Is there some good reason why it is like that?

lament cairn
graceful basin
tardy rain
#

Sennheisers arent really supposed to be cheap

graceful basin
#

Wouldn't surprise me if they used all their budget on sound and just cheaped out on the rest

young shoal
#

πŸ’€πŸ’€πŸ’€

#

average engineer

thick ore
#

i wonder what would happen if AWS was down for just 24 hours

lament cairn
#

nukes start flying

glossy niche
#

i had to google his name because i cant tell tim and jim curry apart

lament cairn
tardy rain
#

Certified yanderedev moment

fresh basalt
#

get a wired backup pair? that's what I did

young shoal
#

average snob product actually just being terrible πŸ˜”

fresh basalt
#

it's the BT module

#

I mean a lot of things with Bluetooth like that are a little dodgy.

#

And you can get really good Senns

lament cairn
fresh basalt
#

Blame the human spirit.

granite tree
#

@young shoal doesn’t seem worth engaging in that discussion, imo. Likely an alt, if I were to guess

young shoal
granite tree
lament cairn
#

account was also in the server for a while
if it's an alt that's a lot of dedication and patience

fresh basalt
#

You don't ditch school when class is boring?

#

That's what I did and look at me now! :P

young shoal
#

boring doesn't mean I don't have to learn it

fresh basalt
#

Are you really learning it though?

young shoal
#

of course

civic pasture
#

o.o

fresh basalt
#

I can use that because I know what cap means now.

willow narwhal
lament cairn
jovial oriole
glossy niche
#

bruh, aws is serious about its js runtime yert

rough sapphire
#

Hi

#

How are youll doing?

tall crypt
#

after some searching what Iam locking about is "Semantic token provider"

#

also called as "Semantic Highligting"

#

for some reason (sadly) it requirs typescript

fresh basalt
#

What is it you're trying to do?

tall crypt
#

my problem is... i dont even know where to put the typescript file xD

fresh basalt
#

oh for syntax highlighting in vs code?

#

neat

tall crypt
#

i created this

#

but the problem as you see in line 9 for example "result" and "num" is not colered

fresh basalt
#

I haven't watched it so I don't know how helpful it will be.

tall crypt
#

ok let me check it

fresh basalt
#

I don't use vs code.

tall crypt
#

what do you use then

tardy rain
#

nano

tall crypt
fresh basalt
#

vim

tall crypt
#

ok

tardy rain
#

Notepad++

tall crypt
fresh basalt
#

I used Notepad++ a bit a long time ago. It's probably changed a lot.

#

What are you trying to do specifically?

tall crypt
tall crypt
#

tring to color the defined thing outside the definition line

fresh basalt
#

Right, are you trying to learn how to define keywords to be highlighted or have you already done that but don't know where to put the configuration or what is it you're trying to do?

tall crypt
fresh basalt
#

That link that l3viathan gave you has a section on semantic highlighting.

#

Is that not sufficient?

#

It seems fairly thorough.

#

MS documentation is usually fairly good fwiw.

tall crypt
#

do you mean this link ?

tall crypt
tall crypt
fresh basalt
#

for what it's worth, Microsoft

#

That's what I see

#

on the left, under syntax highlight guide there is semantic highlight guide

tall crypt
#

no its not a guide.....

#

it sais what does it do

#

that is REALY complicated

fresh basalt
#

What you want to do is complicated.

tall crypt
#

yes

fresh basalt
tall crypt
#

i know........

#

rn

fresh basalt
#

oh. when you said "no its not a guide" I thought that's what you were referring to

tall crypt
#

i thogh you meant the text itself

#

also i just realized that rn

#

that will take lot of time to make

glossy niche
#

I womder if I can use any of these APIs to make.it so that my editor turns the keyword true into adachi

#

this image basically

old geode
#

hello

#

how yall donig

#

doing*

#

oh

#

nvm

#

Just realised its a dead chat lol

dusky turret
#

<@&831776746206265384> normally i wouldn't ping u for this

#

but i dont want this to keep happening so

open fern
#

Could you use @polar knoll instead? Presumably this is occuring in DMs?

dusky turret
#

i just dont want him to continue doing it

#

he said in the group that he made a website

#

sent me link in private

cedar musk
dusky turret
#

sorry if that disturbed u lily

honest star
dusky turret
cedar musk
dusky turret
#

just wanted to flood it up in here

dusky turret
honest star
#

Don't bring drama here if it isn't necessary. If you have a moderation concern, then DM Modmail

latent scaffold
#

for this report

dusky turret
honest star
#

If you want moderators to handle it, DM ModMail

dusky turret
#

yea he meant for this report to report it also to modmail

#

i'm pretty sure its not needed anymore

#

but next time i will, sure

#

anyhow i'll be back to python discussion

latent scaffold
dusky turret
honest star
#

I am talking about now.

dusky turret
#

uh

#

ok i'll pm modmail then

#

alright sent modmail a message

civic pasture
#

πŸ˜„

#

WHADDUP HOMIES

sterile sapphire
civic pasture
#

wooo

acoustic fern
vale raven
#

oh

#

People love themes

acoustic fern
#

Basically just a JSON file though

#

In terms of like to effort ratio, this was pretty high up there

thick osprey
thick osprey
#

Me: Why the heck is my venv breaking all the time!?
Also me: oh....

tribal vigil
#

@manic coral lol, they left the server 🀣

acoustic fern
latent scaffold
#

It's on the right

acoustic fern
#

Oh yeah that’s what you get when you have Right-To-Left text inside Left-To-Right text

#

A mess :)

low chasm
glossy niche
#

discords support for bidirectional text is horse shit

#

unusable at times

tardy rain
#

Do you write right to left often 🀨

glossy niche
#

yes?

#

Arabic is my native tongue

#

ΨͺΩƒΨͺΨ¨ يسار Ψ₯Ω„Ω‰ Ψ§Ω„ΩŠΩ…ΩŠΩ† yert

tardy rain
#

Porque?

fresh basalt
#

What's it like having multiple tongues?

young shoal
#

how do they fit

fresh basalt
#

Maybe it's like a tongue extension

tardy rain
#

Stacked tongues

young shoal
#

DI tongue?

fresh basalt
#

Maybe it's like that isopod that replaces a fish tongue

#

@glossy niche Do you have an isopod for a tongue?

glossy niche
fresh basalt
#

Have you seen the video of isopods attacking a shark?

glossy niche
#

no, do u have it? pithink

#

sharks and isopofs r interesting things

glossy niche
#

one day I'll finish that show

fresh basalt
glossy niche
fresh basalt
#

Let's all go down to the deep.

glossy niche
#

or this is one small shark

fresh basalt
#

longest confirmed was ~20 inches

tardy rain
#

What about girth

fresh basalt
#

cuddly

#

They're meaty.

#

I wonder what they taste like.

#

Probably not good because they feed on anything.

tardy rain
#

Pigs eat trash and yet theyre so yummy

fresh basalt
#

pigs don't eat trash

tardy rain
#

You dont know my diet

young shoal
fresh basalt
#

The logical implications of that statement are not anything I wish to investigate.

near gull
#

Most other meats taste better

jovial oriole
near gull
lament cairn
#

look at this dumbass

uneven pine
#

Snep

fringe rain
crystal spruce
#

anyone know of a nicer way to prove that for any integer k and a function f with the property that f(x)=f(x+Ο„), we have that

#

without separating into different cases for negative and positive k

grave cove
#

proof:

  • just trust me bro
#

QED

crystal spruce
#

honestly

digital oracle
#

proof by knowledge handed down from on high

crystal spruce
#

i was planning on just replacing it in the working because it is kinda trivial

#

but having to split into negative and positive is just nontrivial enough that i was a bit iffied about it

#

like i know to do that now, but maybe later on i forget or something

brazen ingot
crystal spruce
brazen ingot
#

er then use u-sub to make the bounds same for all the integrals

crystal spruce
#

i'm implicitly already doing that

#

the issue i'm asking about is that that method doesn't work if k is negative

#

because you end up having to invert the integrals, but the identity still holds because it's negative

#

i'm asking if there's a better way to do it that doesn't involve separating into k positive and k negative

brazen ingot
#

oh concise solution lemme thing

#

will direct u-sub yields f(1/k)lnk dk = k f(t) dt with integral with bounds 0 and tau on both sides help

#

stickie

#

@crystal spruce

#

nevermind k is the constant πŸ₯΄

#

have u tried kings theorem

#

@crystal spruce

covert flame
#

πŸ‘€

steady jacinth
#

So the song doesn't have lyrics as such, but if it did have they would be 0000 0001 0010 0011 0100 0101 0110 0111 1000 1001 1010 1011 1100 1101 1110 1111

covert flame
#

Sounds good so far

covert flame