#ot1-perplexing-regexing

1 messages · Page 138 of 1

low chasm
#

fair enough

strange blade
#

We'll end it here, you seem like it's very urgent.

scarlet peak
#

how the fuck

spare oriole
median domeBOT
#

how the fuck

scarlet peak
median domeBOT
#

you'we a-a disgwace

fringe rain
fringe rain
#

ty

fringe rain
#

pygame

torn pier
#

someone know any alternative to flowrun? i have no time and big code to make…

unkempt python
#

(i just deleted the command mesage)

quasi blaze
#

Who's that user who has a dog as their pfp and introduced me to Microsoft Graph API?

carmine apex
#

dog that shills microsoft products sounds like @vale raven

vale raven
#

Ping

carmine apex
#

pong

vale raven
carmine apex
quasi blaze
#

I can’t find the POST section in their documentation

vale raven
#

Uh….
Probably
Do you want a group with it or do you just want the communication site?

vale raven
vale raven
#

See the link above that

#

First link is group creation
Second link is querying the group to get the generated SharePoint site URL

quasi blaze
quasi blaze
vale raven
#

Research?

#

To actually use?

#

There's a permissions section on each docs page telling you what permissions you need

#

Group creation is enabled for all users by default, so if your admins haven't disabled it, you shouldn't need to be admin for this

low wraith
quasi blaze
#

I want to use it

#

And create sites from the front end

#

Btw you can ping me by replying. It’s not an issue

vale raven
quasi blaze
vale raven
#

You're losing me, I don't understand what you want

#

But just give it a try
What admin perms you need depend on how your org has things configured, so I can't tell you for sure what you need

scarlet peak
scarlet peak
#

wow, 42 million messages

harsh tundra
scarlet peak
vale raven
#

lots

scarlet peak
#

42 million?

#

how

vale raven
tardy rain
#

Dog yapper

vale raven
#

TF

tardy rain
#

🗣️🗣️🗣️🗣️

vale raven
#

And that's not including all the mod channels with logs and alerts for deleted messages

scarlet peak
green pelican
frozen crane
#

@quasi blaze did you figure out the docker thing you were asking about?

unkempt python
#

arch linux config started

fringe rain
#

id definitely get bored at like 3 million

vale raven
#

These messages are from tons of different people

fringe rain
#

ohh

#

ah you have ~100k

#

thats sane

vale raven
#

!eval

message_count = 45_000_000
user_count = 400_000
average_messages_per_user = message_count / user_count 
print(f"{average_messages_per_user=}")
royal lakeBOT
vale raven
#

And that's a conservative estimate on users
Who knows how many more users than that have joined and left over time

hearty vigil
#

@round pendant yo!!! it's like fifth time i ping you for no reason, but check this out 😎

round pendant
#

huh
pretty cool
wouldnt use it for a language though, but yeah, if you have some simple rules to parse with this is a nice abstraction on regex ig

hearty vigil
wicked haven
wicked haven
#

Like

if True:
    pass
```to```If Bool Colon Indent Pass Dedent EOF```
hearty vigil
#

and not like i want to make a language with indentations anyway...

wicked haven
#

Sad.
Indent and dedent tokens let you make things like

enum Result T E
    Ok T
    Err E

:3

wicked haven
acoustic moss
#

imagine using languages with indentation

wicked haven
#

I dunno why but I like that

hearty vigil
wicked haven
hearty vigil
hearty vigil
#

oh

#
// @generated by pegen from python.gram
#

💀

small coral
#

comments are there for a reason

#

lexer is also partly autogenerated, but that's only for non-whitespace tokens of length 2+

hearty vigil
#

though generating those files also seems kinda complicated

solemn tulip
wicked haven
wicked haven
solemn tulip
wicked haven
solemn tulip
#

I initially thought you intended this to have one indent per line

if blah
  foo
  bar
#

but I guess not

rough sapphire
#

you guys literally always think about how cool a language it could be and it's literally haskell code

#

yet nobody wants to use it 😂

#

biggest haskell haters ong

rough sapphire
#

nice

wicked haven
#

I just refuse to use a language without namespaces.

rough sapphire
#

bruh

wicked haven
#

-# STOP PUTTING THE DARN TYPE CONSTRUCTORS IN THE GLOBAL NAMESPACE

graceful basin
#

import qualified Data.Map.Strict as S or what was it

rough sapphire
#
data Result a b
  = Ok a
  | Err b
wicked haven
rough sapphire
#
instance Show Result where
  show (Ok a) = show a
  show (Err _) = "Err"

or something

#

or you can just

data Result a b
  = Ok a
  | Err b
  deriving Show
#

or something

#

i dk

round pendant
rough sapphire
#

I HAVEn't touched haskell in centuries bro

#

wtf is this language

round pendant
#

lean4 better

wicked haven
#

I like it

#

but I don't use it

round pendant
rough sapphire
#

yes

#

i now see the funy problem

round pendant
#

what is it?

rough sapphire
#

it can't do that

round pendant
#

cant do what

rough sapphire
#

doesn't know the type of a and b

round pendant
#

no its fine it will generate

instance (Show a, Show b) => Show (Result a b)

(a constrained instance)

rough sapphire
#

so that's te problem

#

just tell me bro i've been trying to find out for the last 5 mins or so i am a bit frustrated

round pendant
#

a problem with curried type arguments is that the order starts to matter a lot

#

with Result a b, you get to * -> * after applying a (the Ok value)
so if you wanted to make a functor instance for this type, it'd be functorial over.. b (the error value.. which is stupid, you obviously want to fmap over Ok a)
so what you'd have to do is Result b a = Ok a | Err b

rough sapphire
#

ok

#

bruh just putting paranthesis around it fixed it

#

🦍

#

ok why does this work for me but it doesn't work on a discord code ocmpiler

#

i swear i'm losing more and more braincells

#

when did i get so udmb

green pelican
#

put parens on everything 😈

wicked haven
low chasm
#

@slate cobalt I know you were looking for a distro to use 👀 I've had enough of NixOS at this point, it's started actively blocking my productivity, and so I've decided to switch out as well. I came across https://projectbluefin.io, which looks fantastic, and has more or less a no frills ready-to-go setup.

#

it's based off of Fedora Atomic, so it's an immutable system.

#

software is all installed isolated and separate from the base system (which itself is immutable), exclusively via flatpacks and with homebrew for CLI tools.

#

and all development is done through devcontainers (or your choice of tooling like distrobox)

slate cobalt
#

I was? I think you may have mixed me up with someone else

low chasm
#

oh you're right, it's not you

green pelican
#

wait only flatpak?

low chasm
green pelican
#

yikes

low chasm
#

for GUI apps

#

why?

green pelican
#

i just find the sandbox fucks shit up sometimes

green pelican
#

i fought demons on flatpak steam

low chasm
green pelican
#

and i just dont really like flatpak too much tbh

#

id much rather apt or portage

low chasm
#

the big idea behind this is avoiding apt and any similar package manager

#

e.g no changes to the base system, it's read-only

#

you can layer packages on top of it if you wanted to, but that's considered an antipattern

uneven pine
#

I see I see

green pelican
#

interesting

low chasm
#

it's kind of like a chromebook

green pelican
#

oh lord

low chasm
#

but supercharged for like, actualy usage.

uneven pine
#

if I go back to Linux it'll probably be back to Nobara tbh

#

I am not huge on the atomic thing

#

It is a great idea and absolutely has its place

#

just not for me

low chasm
#

fair enough

uneven pine
#

I now know what MOST of the issues were on bedroom PC

#

bad RAM

low chasm
#

I've been playing with it on a virtual machine for a bit now

#

it's been incredibly straightforward, and the stability is a nice bonus.

uneven pine
#

which it turns out, is actually way easier to diagnose on Windows because the bluescreen dumps are actually helpful CakeW

#

2 minutes into memtest86 and it was failed

low chasm
#

apparently drivers are practically painless as well

#

the computer I use shipped with some sort of funky audio card which clashed with my nvidia one

#

so for the past like, two years, I've had random blue screens

#

like, twice every day

#

no predicting them 😩

#

just figured out what the issue was like, this week, after actually sitting down and troubleshooting it

uneven pine
#

I am going to be pulling out the spare motherboard and CPU from boxes next week

low chasm
#

had to turn off some weird driver

uneven pine
#

5800x and a X570 board

#

just need to buy RAM, a new CPU cooler, couple of case fans, and a GPU

#

maybe a new PSU too honestly. Actually, for sure

#

that thing is pretty old and it's time to retire it

#

I should be getting my roomate's Arc A770 since they're planning on upgrading to the B770

low chasm
#

oh neat, is that a capable GPU?

uneven pine
#

right now it has a GTX 1070 laying in a box because all the linux errors were pointing to nvidia driver failures and I never put it back in

#

It's like 3060 Ti level. @low chasm

low chasm
#

I see

#

oh that's pretty decent, actually

uneven pine
#

it's going to be a streaming rig, running my VTuber software and all of my bots

low chasm
#

I see

uneven pine
#

so it needs some oomph

low chasm
#

have fun 👀

glossy niche
#

let's fucking gooooooooooo

tardy rain
#

Based

young shoal
#

weird

grave cove
#

hype

uneven pine
#

Let's go

#

Thank you daddy donaldine

wraith hound
#

AFAEO

uneven pine
#

Assigned Female At Executive Order?

grave cove
#

💀

wraith hound
tardy rain
#

Next goal ban current existing men

carmine apex
#

but the men don't exist anymore apparently?

tardy rain
#

Is everyone grandfathered into this

carmine apex
#

they're grandmothered
come on mar pay attention grandfathers don't exist anymore

uneven pine
#

According to the language it seems so yes

tardy rain
#

Im sorry im still getting up to speed

#

This is all new to me

torn pier
#

there was a film about women-only world… sadly not in english…

harsh tundra
#

Movie from 80s and they already thought about forcing people trans then!

torn pier
#

yup…

carmine apex
#

matrix 1 was gonna have a trans character (switch) but people probably would've been hella confused

harsh tundra
#

https://en.m.wikipedia.org/wiki/Sexmission at least there's wiki article
With very detailed plot section

Sexmission (Polish: Seksmisja) is a 1984 Polish politically satirical cult comedy science fiction action film. It was directed by Juliusz Machulski based on a screenplay he co-wrote with Jolanta Hartwig and Pavel Hajný. Sexmission has earned the title of a cult film over time, although due to the film's association of women's emancipation with t...

tardy rain
#

im ok with this

#

the amazons had a flourishing society

green pelican
#

dont go on reddit and you will convince yourself everyone is dying in 4 years

glossy niche
#

reddit fights tooth and nail against trump supporters but they will lose their shit if you criticise dems

#

because a better world isn't possible ig

green pelican
#

the state of US politics

glossy niche
#

trump probably wearing this shit rn

carmine apex
#

men don't exist any more so they thus cannot be killed

green pelican
#

true

glossy niche
#

damn

#

he already finished em off

grave cove
#

they really just thanos snapped half the population

green pelican
#

kill all men was a crazy moment in history ngl

glossy niche
grave cove
torn pier
#

trump is a girl…

glossy niche
green pelican
#

i mean i cant say im shocked

glossy niche
#

like bruh im a dude let me say deranged shjt

#

it's not even in the top 10 worst things I've said

green pelican
#

💀

torn pier
glossy niche
#

which would lead to this

#

like it's not right, it's an assumption, but I think a lot of us are guilty of this

green pelican
glossy niche
#

oh, that

green pelican
#

because no matter how you slice it, if half the population is conservative then there has to be some sort of truth to them

#

and vice versa

#

in the same way i think im right, everyone who disagrees with me thinks they are right

#

so its hard for me to just say "fuck all {policital party}" becuase who am i to say who is objectively correct

glossy niche
#

he has a bunch of vids criticising this "winning and not understanding" shit

#

Man fuck discord mobile ihope this company goes broke

torn pier
# glossy niche Man fuck discord mobile ihope this company goes broke

yeah? i use desktop browser (wild browser possibly based of old safari) discord version on my phone cause there is no discord for the OS i have… and i need to switch to landscape twice cause it bugs and zooms to unusable level… each time for 5 secs… (aka - 20 secs to just open discord where chat is visible) PLUS i don't see what i type cause keyboard overlays input… so well… app isn't that bad tbh…

glossy niche
#

this is pretty surface level but I personally find it worth watching because sometimes u get so carried away that u forget how to talk normal

glossy niche
torn pier
glossy niche
#

e.g lifting farming

torn pier
#

yeah. and today this crap even logged me out…

#

yep. even in browser…

#

Yup, and these glitches

#

And smol kbord

#

Yeah. App better i think...

harsh tundra
# torn pier And smol kbord

That's for all horizontal big screens, sadly. I couldn't play some games with quite dynamic chat on my phone because I couldn't read anything with keyboard open in horizontal mode

torn pier
#

glitches above better

#

there is sometimes even a glitch that screen zooms nth times if i rotate phone too quickly

harsh tundra
#

Discord glitches for me even in their official android app, so 🤷 just discord being discord.
...Who even chooses a name that means chaos for an app and want it stable?

torn pier
#

literally i feel like discord is done whole on canvas like a game…

harsh tundra
#

That's how the app looks in horizontal, btw.

torn pier
harsh tundra
#

That was my point, keyboard in any horizontal app looks awkward 😄

torn pier
#

well then… mine even looks better if to look closer as it doesn't cover bottom of input xD

#

but maybe it's that buttons on kbord smol…

solemn tulip
torn pier
#

you are on a tablet, yep?

solemn tulip
#

no

torn pier
#

write 1234

carmine apex
harsh tundra
carmine apex
#

also why do you have 2 cell tower connections

harsh tundra
solemn tulip
#

don't get me wrong, I'm not actually using that in landscape

#

yeah, dual sim

#

personal and work

solemn tulip
harsh tundra
#

Where? /j

carmine apex
solemn tulip
#

separate

harsh tundra
solemn tulip
#

crunchy jpeg

harsh tundra
#

Idk why someone thought saving phone screenshots as jpg is a good idea...
But those artifacts are discord's fault, it's a small image and displays correctly even when zoomed in in my gallery, but discord messed it up with some additional compression and weird zooming

#

In gallery zoom

#

Vs opening the pic above in discord zoom

solemn tulip
#

my phone saves screenshots as png pithink

scarlet peak
harsh tundra
#

I thought those were png before today as well, because they're always crisp in gallery/before sharing to discord... But I checked and they're all jpg.

solemn tulip
#

eww

scarlet peak
gritty zinc
#

screenshots are png on my phone

harsh tundra
#

Not charging, it's + icon, meaning power saving

solemn tulip
#

if nicky disappears we'll know why

harsh tundra
#

I just plugged it in

scarlet peak
harsh tundra
#

I have a fast charger

harsh tundra
gritty zinc
harsh tundra
harsh tundra
scarlet peak
#

THEY will be here a while

#

i forgot you have neutral pronouns

#

oops no reply

scarlet peak
gritty zinc
#

advanced features > screenshots and screen recordings

#

this is on a samsung phone

solemn tulip
#

yeah I don't have that

#

maybe the default outside samsung is sane?

torn pier
#

i have samsung & i don't have… no android there ;p

harsh tundra
gritty zinc
#

seems "advanced features" is a oneUI thing, so samsung only, probably

solemn tulip
#

someone was asking about jpg conversion and this was a response

#

expert

gritty zinc
#

⭐Diamond Product Expert

harsh tundra
#

🌠 Diamond Product Expert

harsh tundra
scarlet peak
harsh tundra
#

Ultra-fast charging ftw

scarlet peak
#

nicki, can you review my fish list wait

scarlet peak
harsh tundra
#

OnePlus
Super vooc or whatever their fast charging tech is called

#

Newer have even more powerful chargers, I believe

torn pier
harsh tundra
torn pier
#

yipp!

grave cove
gritty zinc
#

woah, 80W or 100W wired

harsh tundra
#

I think I got this photo off r/foxes ages ago

gritty zinc
#

my samsung does 25W wired and that's already a bit scary

glossy niche
torn pier
glossy niche
#

a victim of the sprout

harsh tundra
quick ledge
#

oneplus 12/13 has 50W wireless charging, too

harsh tundra
grave cove
#

ios does that too

quasi blaze
#

(I said it’s okay to ping me also)

vale raven
vale raven
quasi blaze
#

30 minute meeting is not needed

#

There’s video tutorials too

#

But w/e. he’s my manager

grave cove
#

"this could've been an email" moment

vale raven
#

Heh

#

My boss FINALLY put in a ticket with a decent description instead of calling me into his office to ramble about it the other day

#

But when I asked him to prioritize that project he said "IDK what you're talking about, show me where wer discussed this"

#

So I linked him the ticket to which he said "IDK what was going on with that ticket"

#

it's YOUR ticket

grave cove
#

business major gameplay

quasi blaze
#

Archetypal to my personal experiences i mean

civic pasture
#

Omg your boss seems to be an angry person @vale raven

#

Does he always get aggressive

#

Rambling sounds unfair

honest star
#

I fucking hate azure jesus fucking christ. The record I want to edit is behind the goddamn "Scroll Back To Top" button.

robust zephyr
#

Haha

#

Nice UI

#

Is this a web UI? Maybe you can just delete it with the inspector

frozen crane
narrow coral
plush sun
honest star
lofty heart
#

That style that button has looks weirdly out of place as well

#

I don't think i've ever seen one in azure

vale raven
glossy niche
#

ux so good you have to open dev tools and delete shjt to make it usable

quasi blaze
# vale raven Here's a free ping
import os
from azure.identity import ClientSecretCredential
from msgraph.core import GraphClient


def build_graph_client() -> GraphClient:
    """Build authenticated GraphClient."""
    client_secret_credential = ClientSecretCredential(
        tenant_id=os.getenv('ms_tenant_id'),
        client_id=os.getenv('ms_client_id'),
        client_secret=os.getenv('ms_secret_value'),
    )

    return GraphClient(credential=client_secret_credential)
from pl.gh_resources.microsoft_graph_api import microsoft_graph_client

graph_client = microsoft_graph_client.build_graph_client()

MICROSOFT_SHAREPOINT_SITE_URL = 'https://graph.microsoft.com/v1.0/sites/myexample'

response = graph_client.get(MICROSOFT_SHAREPOINT_SITE_URL)

print(response)

The value assigned to MICROSOFT_SHAREPOINT_SITE_URL is the correct way to send a get request to a SharePoint site right? Because I am getting 403 as a response code and I don't know what's going wrong

vale raven
quasi blaze
#

ChatGPT is saying

From your screenshot, the configured permissions include the following:

Mail.Send (Delegated and Application)
SharePointTenantSettings.Read (Application)
SharePointTenantSettings.ReadWrite (Application)
User.Read (Delegated)
Observations:
While you have SharePointTenantSettings.Read and SharePointTenantSettings.ReadWrite, these are related to tenant-level SharePoint settings and not for accessing site content.
To interact with SharePoint sites and retrieve content, you need one of the following permissions:
Sites.Read.All (Application or Delegated)
Sites.ReadWrite.All (Application or Delegated)
Sites.Manage.All (if managing permissions or settings at the site level)

Since it's ChatGPT their suggestions are not always correct so I am posting it's response here to confirm if they are correct

vale raven
#

Yeah that's not right

quasi blaze
#

Damn

vale raven
#

I think ChatGPT is right

quasi blaze
#

Ohh

quasi blaze
vale raven
#

The docs will [should] always tell you what permissions you need

#

Your code right now, just looking at the site, should only need Read
But if you want to start changing the site, you'll need ReadWrite

vale raven
grave cove
quasi blaze
quasi blaze
#

There’s progress

vale raven
#

Progress is good

glossy niche
#

oh wait I just remembered azure is a Microsoft product, I missed a chance to complain about it

fringe rain
#

wheres microsoft defender

glossy niche
#

my discord nick name was "GNU Windows Offenderd" for like 2 months 🗿

#

interps nick name is part of the bit, he's just more committed than I am

grave cove
#

he defends Microsoft

tardy rain
#

Absolutely based opinion

#

Microsoft only has great products

#

Like teams

#

Or that weird xbox game overlay

grave cove
tardy rain
#

I love edge's vertical tabs

young shoal
vale raven
scarlet peak
#

i'm 18 hours late but who cares

solemn tulip
steady gale
#

do you guys think its weird if i have nothing else to talk about other than programming?

torn pier
#

idk too…

#

my family have enough of me cause i can't talk about other things that computer-related for example…

#

but i feel like in these times i just should…

torn pier
tardy rain
#

I fuck with edge vertical tabs and tab groups

torn pier
#

tab containers even better cuz blocking cookiez…

vale raven
#

Dumb but funny or just dumb?

grave cove
#

dumb

carmine apex
# vale raven

jpeg artifacts
do you really have to ask

side note:

Eduardo Ordax, Generative AI Lead @ AWS

carmine apex
#

don't i what

torn pier
lament cairn
low chasm
#

conversations also don't inherently need to have like, a structured topic.

glossy niche
#

and it's funny to watxh them struggle

fleet oyster
#

hi

civic pasture
#

HI

#

HOI

unkempt python
#

wer

torn pier
#

hi :|

gritty zinc
# vale raven

this is a great meme because it sounds like a shitpost but stuff like that actually does work as a prompt (which I suspect the mememaker knows)

#

(in particular, I've seen some recent research that modern models can tell when they're hallucinating and telling them to not hallucinate improves quality)

glossy niche
#

the joy of life has left the eyes of yet another youth

#

how many more must lose their spark to Microsoft

harsh tundra
#

I don't think windows installer asked me to set my computer name, so today I got spooked "wtf is this weird 'DESKTOP-8K...' connected to the network"

anyways, the computer's name used to be Samuel before the ssd broke... should the resurrected Samuel keep the same name? maybe it's time to switch themes... 🤔

harsh tundra
#

but that suggests a child pithink

#

as for the theme... masc names starting with S for computers was an accidental theme from high school dorms - two people already had laptops with such names and some other people including me joined in. I've used Stuart for a few years of uni as well, until I bought Samuel

but at the time I haven't realised yet that I'm nonbinary, so now that I stopped to think, it kinda feels weird using clearly gendered names

solemn tulip
#

well, it's the offspring of a senior

#

but might not be a child

harsh tundra
#

I meant child of the previous Samuel, not child as in age
it would make sense if I used some parts of the old one... but it's only disk swapped and new system install

willow narwhal
solemn tulip
#

arguing Samanthics

#

computer hostnames are fun

#

my chain of hostnames between computer migrations went
nemesis → phoenix → firebird

#

I also have my nas/server qb now

willow narwhal
#

I used to have fancy computer names (pretty much changed the naming scheme for every new computer), but now retconned everything to just be called I, II, III, ...

#

(That's for my main personal machine, I do have a "classic" naming scheme for servers)

harsh tundra
harsh tundra
gritty zinc
#

otn a nemesis the printer

harsh tundra
#

I have a friend who does insect names. from what I remember their main machine was butterfly

solemn tulip
gritty zinc
solemn tulip
harsh tundra
solemn tulip
harsh tundra
#

pretty good name, then

solemn tulip
#

apt

harsh tundra
#

arch nemesis
and considering how arch is hard/annoying to set up...

willow narwhal
#

Apt? I thought you used arch?

solemn tulip
harsh tundra
#

Polish uncyclopedia had a quite nice take on arch linux
(it helped that one of the admins was cs student at the same time as me, a lot of tech topics were done then, lol)

#

https://nonsa-pl.translate.goog/wiki/Arch_Linux?_x_tr_sl=pl&_x_tr_tl=en&_x_tr_hl=pl&_x_tr_pto=wapp google translate of the page if anyone's curious

Arch Linux – a Linux distribution designed for people who have memorized all the system configuration files. For more advanced users, Gentoo is recommended – there you have to compile everything yourself, which means that inhuman skills are as necessary as an efficient processor.

It is characterized by the fact that installing any graphical environment is practically impossible. That is why the most popular browser on this system is Lynx , and the IRC client is irssi.

gritty zinc
#

?_x_tr_sl=pl&_x_tr_tl=en&_x_tr_hl=pl&_x_tr_pto=wapp
lemon_eyes

fringe rain
#

the arch hate is crazy 😭

#

it all just comes off as elitism to me

harsh tundra
solemn tulip
#

I'm trying to follow a naming scheme of "is a"

#

a bit like what fedora does

harsh tundra
solemn tulip
#

nemesis is the name of a fictional bird, a phoenix is a fictional bird

a phoenix is a fire bird

#

I wonder what my next name will be 🥴

#

maybe it will be a plane

stark prawn
solemn tulip
#

more like molquatro

#

moltres has some interesting localizations

German Lavados
French Sulfura

#

sulfura goes pretty hard

willow narwhal
harsh tundra
#

Charizard is also Fire/Flying types, same as Moltres and those two

#

Oricorio Baile style is also Fire/Flying https://m.bulbapedia.bulbagarden.net/wiki/Oricorio_(Pokémon)

Bulbapedia

Oricorio (Japanese: オドリドリ Odoridori) is a Flying-type Pokémon introduced in Generation VII.
While it is not known to evolve into or from any other Pokémon, Oricorio can change forms by sipping the Nectar of certain flowers.

If Red Nectar is used on Oricorio, it will change into Baile Style, where it becomes Fire/Flying-type.
If Yellow Nectar is...

#

And Ho-Oh is also Fire/Flying

stark prawn
harsh tundra
#

If you don't mind 'looks like flying but is not Flying type', then Volcarona. Also has paradox Pokemon associated with it, the future version is really cool looking

stark prawn
#

reminder that charizard is on average only 170cm tall

#

tiny dragon

harsh tundra
#

Not a dragon 🤓

stark prawn
#

They're still dragons in my heart

harsh tundra
#

Also, anime doesn't really keep the height and weight stuff from pokedex... Especially weight

stark prawn
#

72kg isn't unrealistic if ash works out a bit

#

ash must be tiny though

acoustic moss
harsh tundra
stark prawn
#

That's impressive

harsh tundra
strange blade
#

Jessie was able to stop a dragonite with a frying pan

#

must be getting those gains

harsh tundra
#

If you hit almost any creature at the right spot on their head, you will stop them...

strange blade
#

That's like stopping a seaplane sized bullet with a frying pan

stark prawn
strange blade
#

dragon deez coconuts looking tree

vale raven
tardy rain
civic pasture
#

Who plays TCG here?

civic pasture
grave cove
stark prawn
#

trading card game

nova meteor
#

When stream started?

stark prawn
civic pasture
stark prawn
#

i play the pocket tcg sometimes

#

and mtg

civic pasture
#

Mtg?

#

Main trading game?

stark prawn
#

the og

#

magic

tardy rain
#

Is it time?

#

To d-d-d-d-d-duel?

stark prawn
#

My grandpa's deck has no pathetic cards.

#

(except kuriboh)

jovial oriole
#

cooked

#

bombed the exam

#

how do i disapear into the woods forever and never be found again?

magic leaf
#

brisket?

glossy niche
#

@round pendant this is why you should try TS

its full of 50 line generic expressions like this

round pendant
glossy niche
#

hmmmmmmmmmmmm real

#

there are some TS alternatives that have this btw

#

whats it calle

#

civet?

#

heres one such langauge

#

it has pipe operators and shit

#

oh wait this isnt the one

#

i think it was elm

round pendant
glossy niche
#
type User
  = Regular String Int
  | Visitor String
glossy niche
#

i thought u just meant synctatic sugar mb

#

but i love sugar tbh

round pendant
#

well, it is a syntactical decision, just not sugar

glossy niche
#

all language is synctatic sugar

#

@ idiots who claim "TS is just a linter" because it does not compile to assembly

thick ore
#

wgat

#

are we deadass

glossy niche
#

yeah theo t3 made a viddeo just to claim this

#

dude anything that is turing complete and compiles is a proggy langauge to me

#

no actually

#

doesnt even have to compile

#

it just needs the spec

thick ore
#

bro fuck theo

glossy niche
#

this is what happens when you dont take compilers clas

#

look i like some of his takes but he reeks of didntreadtheory syndrome

#

i bet hes never written a compiler

#

ive only ever written a shitty one for a class

thick ore
#

i wrote a compiler that compiles "python main.py" to "Hello, world!"

round pendant
glossy niche
graceful basin
#

V moment /hj

glossy niche
#

huh

graceful basin
#

early V was largely a naive translator to C

glossy niche
#

python 2

#

wait that exists

#

(python) 2

solemn tulip
#

or is that pypy?

glossy niche
#

pypy absed

#

basd

graceful basin
#

thoughts on this notation?

young shoal
glossy niche
#

What a delightful lady taking care of her son, I wonder what kind of career he got into since

#

I can't stop laughing at this shit man 😭

gray oriole
#

to be fair, it only says its unfounded :3

#

like a rumor! we like rumors, right?

crystal spruce
graceful basin
rough sapphire
#

It’s not a compiler

rough sapphire
#

It’s a layer of abstraction that’s then delegated and handed off to JS, TS is transpiled into JS

#

There’s a distinct difference between compilation and transpilation

timid latch
#

Is there tho?

rough sapphire
#

Typically has to do with the level of abstraction difference between the source language and the target language

rough sapphire
#

They also have completely different implications

timid latch
#

I mean... Compilation is a form of transpiling

rough sapphire
#

But once again, they have drastically different implications and they differ in terms of abstraction translation

timid latch
rough sapphire
#

All good

#

When you say compilation, you usually assume some sort of lower level code generation, which can reflect on the design of your application

#

For instance, instruction selection

#

That can heavily influence IR/IL designs & formats, which can then influence your backend

#

Simply put, compilation has a heavier emphasis on synthesis and transpilation has a heavier emphasis on analysis

#

And for the record, these definitions are rather arbitrary and it’s just how I view it from my perspective as someone with a profound interest in compilers

crystal spruce
graceful basin
#

yea, I'll probably do something else

solemn tulip
#

high level to high level, or maybe low level to low level

#

while (traditional) compilers are going from higher to lower abstraction levels

solemn tulip
#

Q = {1, 2, ..., n} seems like a sensible formulation, especially if you care at all about the size of the thing

graceful basin
#

yea, that's what I went with eventually

solemn tulip
civic pasture
#

Hi

#

I came here to say hi

#

And bye

#

Cuz I’m getting breakfast

rough sapphire
#

That’s generally how people conceive it

glossy niche
#

Unlike for example a VM

#

It might be a bad definition

#

I haven't thought much about it

glossy niche
tardy rain
#

Its not funny if its made up

glossy niche
#

Mmm, true

#

Its like finding out your favorite art is AI

#

But

#

I dohave the ability to delude my self into finding made up thing funny

icy gate
#

looking for someone who is good at mongoose (nodejs) and could answer me some questions and might even help with something

harsh tundra
icy gate
#

sorry

#

but i'm so lost

#

and i've been looking for someone

#

to help

#

for 3 days now

#

like i can even pay

#

😭

harsh tundra
royal lakeBOT
#

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

icy gate
harsh tundra
icy gate
#

i'm so lost

#

like i'll do everything

icy gate
#

i've even joined a mongodb server

#

which is even more dead

jovial oriole
#

Real

scarlet peak
compact saddle
#

Hi all, new to here and to python. Currently trying to wrap my head around classes. Did anyone else take a mental prolapse learning classes? I

thick ore
compact saddle
thick ore
compact saddle
#

So how they communicate and utilise inner functions and when to know a function is better served as a different class. What hierarchy changes and utilisez other class functions.

#

Is the self.() Stuff attributes? Or parameters?

#

I've read the python docs tutorial, done zed a shaws book and for the life of me it's like being able to hear a word you can't spell 🤣

thick ore
#

something like self.health refers to an attribute: health is an attribute of the class

compact saddle
#

Yea and it binds that attribute to itself? Hence self.?
I created a class that had sel.health and self.stamina and had (action) functions that removed stamina. I struggled with being able to change the attributes from outside sources. Such as an NPC class taking away health. It's that getting the 2 to communicate better

thick ore
compact saddle
#

So if the player_character attacked with a function that said did 10 damage how would that call the take damage function inside the box class

#

NPC*

thick ore
#
# Let's say Bob has 100 health
bob = NPC("Bob By", 100)

# Bob is attacked by a zombie (ouch)
bob.take_damage(10)

# Internally, the above function call does:
self.health -= 10
# ...where self is bob (the instance of NPC), so it's technically:
bob.health -= 10
# Therefore, if we print bob.health:
print(bob.health)
# ...we get 90
compact saddle
#

Ok I think I understand just gotta get on the comp and do it. Thanks for taking the time man appreciate it

sterile epoch
#

can anyone suggest me a community server like this for web development?
mainly for js and stuff

quasi blaze
#

The knowledge gap of software development and how computers work between my manager and me is a lot and it’s overwhelming sometimes smh

granite tree
quasi blaze
dapper dew
#

Can you frame it in terms of cost and time?

Or just a simple pros and cons

#

Also remember the triangle of business:

Fast
Cheap
Quality

Pick two at the detriment of the third

quasi blaze
#

Also to add what I said previously: I guess this is part of being a specialist. System designers in my company also deals with the similar challenges as me. For example, they speak with consultants of the client and tell them “the measurements out of place” and the consultants respond “just keep them.”

This is challenging because if a client makes a complaint about the installations from the drawings, It falls back on the system designers.

dapper dew
#

If the client is providing the drawing and they do not accept the feedback, that usually goes into some meeting minutes with who decided it

Later if they are demanding a fix for free, you can show who made the decision and when

granite tree
dapper dew
#

OneNote's integration with Office meeting minutes is great for this. It usually includes the invited participants as a checklist

dapper dew
granite tree
#

My predecessors were gone -bc- the quality was terrible.

#

Mind you: this was a huge engineering organization that should've known better. Everybody four levels above me were far more experienced than me/etc.

#

Anyway, the conjoined triangle of success is all I believe in now. (before someone looks it up, this is a joke, from the great documentary: Silicon Valley)

glossy niche
#

I find my self less happy with deepseek and more happy with openai losing their shot over it

#

Its a cool project, I am trying it out

uneven pine
#

The problem running local AI models is how much power they need

#

Even tiny 8b models max out a 3070ti/5800x3d combo

rocky trellis
#

Anyone want a python buddy

uneven pine
#

Nope, especially not someone spamming the same message across channels

torn pier
#

is that quite understandable thingy? just been thinking of a thing and it very lacks scripting… yk…

main(){
in() <- inp;
thing = "abc" + inp + (6 - 0x1 / 2.7*6);
arr = [];
x = 0;
<5>|
arr[x] = x*#;
x++;
|;
<thing>:(
out() <- thing;
)?(
out() <- "error";
);
};
willow narwhal
torn pier
#

so what it does? and what doesn't?

willow narwhal
unkempt python
#

wait if our world is an object, that means "world" is a class --which means that the possibility of there being lots of "world" instances is...high

torn pier
#

second is a bug, which i fixed

lament cairn
# glossy niche

do the locally ran models self-censor when you tell them to output "Xi Jinping"?

glossy niche
#

22 trillion dollar market just to make an ai that prints photos of tankman

lament cairn
#

because funny

glossy niche
#

ask Chinese model about 1989
ask American model about 2001

Billions of training dollars well spent

lament cairn
#

just like john ai intended

lunar shore
#

Considering P is a large prime number, would this work as a decent hashing function?

def hash_str(a: str) -> int:
    return sum([ord(character) * P ** (i+1) for i, character in enumerate(a)])
graceful basin
#

what is the purpose of the hash?

lunar shore
#

Used in a hashmap

graceful basin
#

too expensive

lunar shore
#

ooo, is it because of the **?

graceful basin
#

I'd at least do pow(P, i+1, 2**64)

#

which will keep you from overcalculating

#

since you probably don't need hashes over 64 bits

lunar shore
solemn tulip
# lunar shore Considering P is a large prime number, would this work as a *decent* hashing fun...

A rolling hash (also known as recursive hashing or rolling checksum) is a hash function where the input is hashed in a window that moves through the input.
A few hash functions allow a rolling hash to be computed very quickly—the new hash value is rapidly calculated given only the old hash value, the old value removed from the window, and the ne...

#

polynomial rolling hash in particular

harsh tundra
#

Rolling hash is useful when, well, you roll it. Calculate next hash from previous

lament cairn
solemn tulip
civic pasture
#

whats up everyone

#

where are my friendsw

rough sapphire
#

as in you were not allowed to use regexes if your codebase wasn't GPL'd or something

#

why are all of the incidents twitter links

lament cairn
#

because blogs are for old people

unkempt python
#

is there any gtk theme for catppuccin that isn't archived

unkempt python
#

nvm

#

found it

torn pier
glossy niche
#

I absolutely fucking detest the js class names package

#

my Co worker keeps installing it

#

dude its only a bit more complex than is-number

#

what the fuck is wrong with front end devs man

#

they love verbose code that does nothing

tardy rain
#

The what package

glossy niche
#
#

their implementation is 50 lines

#

but you can do it in 1

glossy niche
#

heres my 20 line impl of it

function parseClassNames(...args: (string | (null | undefined | false| string[]) | null | undefined | false)[]) {
    let seen: Set<String> = new Set();
    args.forEach(arg => {
        if (!arg) return;

        if (Array.isArray(arg)) {
            parseClassNames(...arg).forEach(seen.add.bind(seen));
            return;
        }

        arg.split(' ').forEach(seen.add.bind(seen));
    })  

    return seen;
}

const classNames = (...args: (string | (null | undefined | false| string[]) | null | undefined | false)[]): string => (
    Array.from(parseClassNames(...args)).join(' ')
);

console.log(classNames('asdas', 1 === 2 && 'bong', 1 === 1 && 'bing', ['saba', 1 && 'amogus', [], null, undefined, 'sus amogus', 'sus']))
robust zephyr
#

I thought you said it could be done in 1

glossy niche
#

you can do it in one but its cleaner this way

#

here is a 1 line impl but it does not deduplicate classes in the same string nor does it recurse

those arent necessary tho tbh

function classNames(...args: (string | false | null | undefined | string[])[]): string { return Array.from(new Set(args.flat().filter(Boolean))).join(" "); }

console.log(classNames("btn", "btn-primary", "btn")); // "btn btn-primary"
console.log(classNames("alert", "", null, "active", "alert")); // "alert active"
console.log(classNames(["header", "bold"], "bold", "fixed")); // "header bold fixed"
tardy rain
#

Why the fuck would you need a package like that

#

Js devs make packages out if anything nowadays

graceful basin
#

Probably a classic case of "I have no idea what the rules are here beyond space separated words, so I'll let a library figure it out"

#

Maybe there's some sneaky edge case which needs to be handled properly

grim flicker
#

I've commented so much code today...

#

Endless testing.

carmine apex
#

@vale raven firBazooka

vale raven
shadow jetty
carmine apex
vale raven
carmine apex
uneven pine
#

@harsh tundra

harsh tundra
lament cairn
rough sapphire
#

i have not read The Fine Tweets but if it's short enough to fit in a tweet (or thread) surely it could be embedded into the incidents webpage

lament cairn
quick ledge
glossy niche
robust zephyr
#

Yeah it’s way more efficient to just write everything on your own

glossy niche
#

yeah it's also great to keep adding depencies that we absolutely do not need

#

especially when we ship shit to the client and bundle size matters

tulip forge
#

dude its so annoying

#

import tkinter as tk
from pynput import keyboard

class KeyCounterApp:
def init(self, root):
self.root = root
self.root.title("Key Counter")

    self.key_count = 0
    self.key_count_label = tk.Label(root, text=f"Key Presses: {self.key_count}", font=("Helvetica", 16))
    self.key_count_label.pack(pady=20)

    self.reset_button = tk.Button(root, text="Reset Counter", command=self.reset_counter, font=("Helvetica", 14))
    self.reset_button.pack(pady=10)

    self.quit_button = tk.Button(root, text="Quit", command=self.quit_app, font=("Helvetica", 14))
    self.quit_button.pack(pady=10)

    # Start listening to key presses
    self.listener = keyboard.Listener(on_press=self.on_key_press)
    self.listener.start()

def on_key_press(self, key):
    self.key_count += 1
    self.key_count_label.config(text=f"Key Presses: {self.key_count}")

def reset_counter(self):
    self.key_count = 0
    self.key_count_label.config(text=f"Key Presses: {self.key_count}")

def quit_app(self):
    self.listener.stop()
    self.root.destroy()

if name == "main":
root = tk.Tk()
app = KeyCounterApp(root)
root.mainloop()
is this keycounter lowkey ok?

#

wait how do I paste like a copy thing

#

im a idiot

#

sorry guys im a begginer

glossy niche
#

you s so this to make your code neat

glossy niche
tulip forge
#

oh

glossy niche
#

this prevents discord from messing up markdown

tulip forge
#

silly me i am deeply sorry

glossy niche
#

npnp

tulip forge
#

im stupid

#

im stupid x2

#
import tkinter as tk
from pynput import keyboard

class KeyCounterApp:
    def __init__(self, root):
        self.root = root
        self.root.title("Key Counter")

        self.key_count = 0
        self.key_count_label = tk.Label(root, text=f"Key Presses: {self.key_count}", font=("Helvetica", 16))
        self.key_count_label.pack(pady=20)

        self.reset_button = tk.Button(root, text="Reset Counter", command=self.reset_counter, font=("Helvetica", 14))
        self.reset_button.pack(pady=10)

        self.quit_button = tk.Button(root, text="Quit", command=self.quit_app, font=("Helvetica", 14))
        self.quit_button.pack(pady=10)

        # Start listening to key presses
        self.listener = keyboard.Listener(on_press=self.on_key_press)
        self.listener.start()

    def on_key_press(self, key):
        self.key_count += 1
        self.key_count_label.config(text=f"Key Presses: {self.key_count}")

    def reset_counter(self):
        self.key_count = 0
        self.key_count_label.config(text=f"Key Presses: {self.key_count}")

    def quit_app(self):
        self.listener.stop()
        self.root.destroy()

if __name__ == "__main__":
    root = tk.Tk()
    app = KeyCounterApp(root)
    root.mainloop()
is this keycounter lowkey ok?
#

yay

#

i figured it out

#

im finnaly not stupid anymore

#

well kinda

#

bruh im still stupid

#

im giving up

tulip forge
sleek hull
quasi blaze
#

Has anybody use DAKBOARD? How can I use Python to send API requests to a service to display the data on the DAKBOARD?

vale raven
#

You can click change the code samples from curl to Python

quasi blaze
vale raven
#

👍

quasi blaze
#

You can use a Raspberry PI as a device for this

quasi blaze
# vale raven 👍

One of my co-workers uses DAKBoard for it but I have a hard understanding how the Raspberry Pi gets incoroporated into the whole thing

vale raven
#

Yeah that’s not super clear to me either just looking at this

quasi blaze
vale raven
#

Could be fun

glossy niche
#

thsi song is fire

#

heads will roll on the floor

rough sapphire
frozen crane
#

@elfin holly how would you feel about a merger between romania and moldova?

elfin holly
frozen crane
#

Interesting.
I was just visiting family in Ireland, and for the people there who want to unify the island, it seems to be a matter of principle more than anything else.

elfin holly
#

Well yeah, we had problems getting in Shengen because of illegal ciggarate traffic at our borders

elfin holly
#

they would end up making 4000 euros a month, where the minimum salary in my country is around 500 euros

frozen crane
# lusty widget Wdym by principle?

they want ireland to be unified because they disagree with the reasons it wasn't unified initially. not because (for example) they think it would be better economically, or some other reason like that.

elfin holly
#

Nowadays, a great part of my country just seeks it's better and own interest

wary barn
#

Ah

#

Seems the whole world is going into isolationist mode kinda

#

Wait we talking about politics?

#

Or just me?

#

Or am I being dumb?

#

I know politics isn't for everyone and it doesn't help fuelling the fire and all

elfin holly
#

Oh well you could argue it's psychology because Stelercus was interested in the motives of people from my country to merge with Moldova

wary barn
#

Ah

#

What's your country again?

elfin holly
#

but usually people around this server are quite wise and could actually hold a real debate in politics without getting offended much

elfin holly
wary barn
#

Ah

wary barn
#

America seems to be in the news alot around the world

#

Well cause of the 47th president

wary barn
#

Alaska

#

In the US of A

tulip forge
#

how can I start my coding career?

elfin holly
royal lakeBOT
#
Resources

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

tulip forge
#

wait I should type this in career discussion

elfin holly
tulip forge
#

yeah :P

elfin holly
wary barn
#

Yeah

tulip forge
#

Is someone here from Romania?

#

well I am from Romania

elfin holly
wary barn
#

Depends how crazy you are

#

If you born here in Alaska +10 crazy, +20 if you remain here all your life

elfin holly
#

and which type of crazy are you?

tulip forge
#

im the type for crazy that when he types print(smth) forgots to put the "

wary barn
#

Born here, raised here so +20 crazy

#

You either like it here or you can withstand the coldness

elfin holly
#

and what's stopping you from moving out to another country?

wary barn
#

Alaska is apart of the US

#

Also money

tulip forge
#

can someone give me a side project ideea?

elfin holly
royal lakeBOT
#
Kindling Projects

The Kindling projects page on Ned Batchelder's website contains a list of projects and ideas programmers can tackle to build their skills and knowledge.

tulip forge
#

oh

#

i didint know those exist :))

elfin holly
#

heh now you do

tulip forge
#

ya

elfin holly
tulip forge
#

should I do my english homework?

wary barn
#

My german isn't the best

elfin holly
elfin holly
tulip forge
#

je parle francais

tulip forge
#

idk if I will do it

#

i mean i kinda hate english in general but yeah I gotta do an exam on it so i gotta study

wary barn
#

A couple types of English Speaking American English, British English, Irish English and Australian English

elfin holly
wary barn
#

Well English speaking types at least

#

American English is Hella basic

tulip forge
#

well I speak british english but I dont have the pronountiation

elfin holly
tulip forge
#

ya

#

sadly

elfin holly
#

so you do not have much a choice

tulip forge
#

but I know it pretty well

#

well its a second language for me

#

my base language is Romanian

elfin holly
#

do you have any certifications for it?

tulip forge
#

cambridge B2

elfin holly
#

good

tulip forge
#

wait sorry B1 I HAD 159 POINTS

elfin holly
#

dayum

tulip forge
#

and I needed 160 to get b2

#

I was so mad

elfin holly
#

how unlucky

tulip forge
#

and im still mad

elfin holly
#

maybe you can get the C1 next time

tulip forge
#

yeah next year

#

hopefully

#

atleast I have a degree :))

elfin holly
#

heh yeah

tulip forge
#

I would also like a degree in fench

elfin holly
#

eh focus more on practical skills

#

you can pick up a language almost at any time

tulip forge
#

well Kinda

elfin holly
#

if you spend a few of months in a foreign country you will learn common words easily

wary barn
#

An old saying "practice makes it perfect"

tulip forge
#

indeed

elfin holly
#

yeah, but you would need a job in order to keep practicing what you like

#

otherwise dying of hunger isn't that pleasent

wary barn
#

Yeah

tulip forge
#

yeah you need the financial support

tulip forge
elfin holly
#

do you have any passions you could make a living from?

elfin holly
#

do you have a portofolio?

tulip forge
#

yes

#

but im a begginer

#

so its nothing much

wary barn
tulip forge
#

2 or 3 discord bots made in javascript and many many side projects

wary barn
#

So working on vehicles is good

tulip forge
wary barn
#

Was a computer geek back in school now I'm a car guy geek

tulip forge
#

:)))

wary barn
#

Lost my touch of coding

#

I'm more of a hands on learner now than a book worm

#

So working on vehicles is a better learning outcome than reading a book

tulip forge
#

less physical work and more money better then more physical work and less money

#

I mean you do whatever you wanna do

unkempt python
#

setting up emacs language servers with eglot is the most tedious yet satisfying task ever

#

peep the wip

opal trout
#

and rather than starting clangd you can just use eglot-ensure

#

here is mine

(use-package eglot
  :hook ((haskell-mode . eglot-ensure)
     (c-mode . eglot-ensure)
     (racket-mode . eglot-ensure)
     (python-mode . eglot-ensure)
     (rust-mode . eglot-ensure)
     (java-mode . eglot-ensure)
     (clojure-mode . eglot-ensure))
  
  :config
  (setq completion-category-defaults nil))
#

There is almost certainly a better way to write this but I never became proficient enough in elisp to know how to reduce the eglot-ensure's and map them to all of my different modes

unkempt python
#

ty

paper plover
#

idk but this is really bad text

granite tree