#ot1-perplexing-regexing

1 messages Β· Page 626 of 1

lost vortex
#

whats the legnth of each

#

ep

thorny wigeon
#

~23 mins, but the opening is super long sometimes so they end up being more like ~16 mins

lost vortex
#

ah

thorny wigeon
#

they have been making episodes since before I was born and still haven't stopped πŸ’€

lost vortex
#

and i was born 2001.

#

that's insane

thorny wigeon
#

yep, I was born in 2002. they wont give up

#

fuck

#

pasting gif didn't work

lost vortex
#

at this pace it might continue even after we all die xqcKek

thorny wigeon
#

Β―_(ツ)_/Β―

lost vortex
#

im also thinking of watching death note after i complete hxh

#

is that any good

thorny wigeon
#

I enjoyed it, I watched it some time ago, and I dont think I actually finished it either.

lost vortex
#

ahh

#

im basically just gonna follow the "most popular" tab from myanimelist lol. But i'll skip some very large shows like one piece

thorny wigeon
#

Probably a good idea

#

Cowboy Bebop is a really good one.

lost vortex
#

all the good ones seems to be a decade or older

thorny wigeon
#

usually I don't like the art style of many of the older ones, but there are some that are really good.

lost vortex
#

do u like the art style of hxh

#

something about it feels cozy to me lol

thorny wigeon
#

Usually if i don't notice the art it means it's good to me, and I don't remember thinking anything about the art. So IG I liked it.

lost vortex
thorny wigeon
thorny wigeon
#

Probably the only time i have ever saved songs from an anime.

#

to just listen to

lost vortex
#

only ost i currently have saved is OPM seigi shikkou

#

pretty good hype up song for me xd

thorny wigeon
#

That one is pretty good, I haven't watched One Punch Man in a while.

lost vortex
#

if there isnt a season 3 by end of 2022, ill just read the fking manga

#

According to The Awesome One, Season 3 of β€œOne Punch Man” will be published in the summer of 2022

thorny wigeon
#

I actually ran out of good shows and did that... I forgot how much I can enjoy reading.

lost vortex
#

reading is fun when the thing im reading actually interests me

thorny wigeon
#

only issue is turning your brain into hyperdrive trying to read some pretty bad translations sometimes.

lost vortex
#

lmao

wraith hound
#

@bleak lintel How were you able to get Notion on a custom domain for pixels? I can't seem to find the ability to do that anywhere. Thank you!

rough sapphire
#

It's from weheartit lol

manic storm
#
import java.util.Arrays;
class Main {
  public static void main(String[] args) {
    int[] a = {1, 2, 3, 4};
    heap(a, 4);
  }

  static void heap(int[] arr, int size) {
      if (size == 1) {
          System.out.println(Arrays.toString(arr));
      }
      else {
          for (int i = 0; i < size; i++) {
              heap(arr, size - 1);
              if (size % 2 ==1 ) {
                  swap(arr, 0, size - 1);
              }
              else {
                  swap(arr, i, size - 1);
              }
          }
      }
}
  static void swap(int[] arr, int a, int b) {
      int temp = arr[a];
      arr[a] = arr[b];
      arr[b] = temp;
  }
}```
#

can someone step thru the recursive heaps algorithm? how shd we trace eg. for the case [1,2,3,4] and n = 4

#

heap([1, 2, 3, 4], 4)

then for i = 0
**heap([1, 2, 3, 4], 3) **

then swap

but after that isit
i = 1
**heap([4, 2, 3, 1], 3)? **

then swap

i = 2
heap([3, 2, 4, 1], 3)

steady thunder
#

hi

#

need help?

steady thunder
manic storm
steady thunder
manic storm
steady thunder
manic storm
#

its the size of the array?

#

so we can do it recursively?

steady thunder
#

sorrry i dont understand your problem

manic storm
#

showing the steps

#

like how is the recursion process

steady thunder
#

a func that calls it self

manic storm
#

yea i know

#

nvm

vapid nymph
#

no, they did some really weird stuff

bleak lintel
bleak lintel
rough sapphire
#

I installed rust today
and I want to know what all can it be used for?

#

also some major applications in rust

tardy rain
#

its a systems lang like c/c++/go/zig/whatever

#

uses are similar to those

topaz aurora
#

It's also high-level enough to be general-purpose

#

So there's frameworks for writing web backends and such

wraith hound
heavy pawn
#

So you can write a whole computer in Rust (with some assembly?) πŸ€”

topaz aurora
heavy pawn
#

Not just compiler, I mean whole computer

topaz aurora
#

ah, lol I misread

#

Technically yes, you can have embedded systems running Rust code underneath

#

Rust allows you to build programs w/o the standard library, which basically strips off the majority of what makes Rust, Rust

jovial oriole
#

Yooo

#

This otn name reminded me of some xmen movie

#

Or whatever it was

#

Anyway cya

tardy rain
#

bruh what

#

how old are you

jovial oriole
tardy rain
#

ahem

jovial oriole
#

hmmmm

#

hmmmmmmmmmmmmm

tardy rain
#

hmmmmmmmmmmmmmmmmmmmmmmmmmmm?

jovial oriole
#

im keeping 3 eyes on on you sussy pfp

tardy rain
#

im just a default profile picture

jovial oriole
#

py -m pip install black

#

what would that do?

tardy rain
#

install black

jovial oriole
#

???

tardy rain
#

yes, that one

jovial oriole
#

nice

#

imma try it

#

if i didn't have a phobia of everything

heavy pawn
#

So that's written in Java

#

And needs to run on another OS

graceful basin
#

well, the hard part of making a computer is building it

#

not really writing the software for it

plucky ridge
#

In an issue in a given repo, are you able to refer to a branch in a different repo if they aren't in the same org? Never mind it got answered elsewhere. ❀️ @frozen coral

zealous imp
#

god is dead, cursed networkx

vapid nymph
bleak lintel
#

in future we'd probably do sphinx for docs

distant hazel
#

@jade stream do you need something?

#

please use the channels according to their channel topics/descriptions

thick osprey
#

2 files changed, 108 insertions(+), 44 deletions(-)
Not bad for a slow day. moto testing framework removed from one of three test suites. Begone buggy thing! Got a small coverage increase too with the way I was forced to restructure the tests.

jovial oriole
#

Anyone else recognize this?

noble niche
#

@sand inlet saw em and immediately thought of u (stg its less creepy than it sounds)

sand inlet
#

well it doesn't sound that creepy, they're bees and i'm a bee so

noble niche
#

🐝

stark prawn
#

I'm reading over it in my head and it sounds like it's telling me to have those emotions.

#

"It's gonna be alright, you just have to bee happy."

harsh tundra
sand inlet
harsh tundra
#

... Okay XD

#

Uh. I think I broke Etsy. It shows up old price as lower than supposedly 10% lower price...

#

Also for other stuff, it shows eg 50% off and the current price is not actually 50% off...
It all fixes itself when I go into the item, but it makes browsing a pain

acoustic moss
#

@low chasm

bold moat
#

yes

rough sapphire
#

yes

woven moat
#

Hi

rough sapphire
#

heye

burnt magnet
#

Hi Riki

#

Johns here, I've got Riddick

rough sapphire
#

what

burnt magnet
#

I'm bringing him in for the bounty

rough sapphire
#

0.0

burnt magnet
#

Minecraft was never meant to become popular

#

And was a rip off of another block game

#

don't look to much into Minecrafts art design, Notch didn't really care

#

my dreams are cubed

#

forever and ever

#

amen

fleet aurora
#

who wants to place bets on which day is more profitable for this swedish restaurant chain

#

in january, 2022

fleet aurora
rough sapphire
fleet aurora
rough sapphire
#

wdym

fleet aurora
#

what hour of the monday is most profitable

rough sapphire
#

6pM

rough sapphire
fleet aurora
#

top left, around noon

rough sapphire
#

Aaaaa

fleet aurora
#

you need to keep in mind sweden is very cold, I don't think many people stay out 6 pm

rough sapphire
#

Ohhh

solemn leaf
#

Deja Vu moment

fleet aurora
edgy crest
rough sapphire
fleet aurora
#

almost, november, but how do you know these things lol

rough sapphire
#

idK

#

im Superised

fleet aurora
#

0.07 difference

rough sapphire
#

i just thought that june is the most hottest month in my country so yea

fleet aurora
#

yeah true

fleet aurora
#

lol

lusty wedge
#

Hi Guys
I am Bash, I have made a Project Using Computer Vision, and A.I, and i would like to show it to you.

#

Well that link for my project is

rough sapphire
livid coral
robust turtle
robust turtle
low chasm
serene matrix
#

yooo does anyone know how to get your first job/internship

#

i have a ton of projects but no job experience :/

wraith hound
brazen ingot
#

@rough sapphire that was fast, offline moderating is spooky πŸ‘»

rough sapphire
#

I didnt even realise I was on invis lol

brazen ingot
#

lol

rugged echo
#

oops sorry

#

that actually pinged

#

ahhhhhhhhhhhh

#

sorry linda

graceful basin
#

OK, so then a step back: I have some "graph-like" structure that I need to access from several threads. What's a good pattern for it?
poor soul about to have their rust dreams crushed

acoustic moss
#

Rc or something idk

inland wolf
#

reference counter

wheat lynx
#

rc in rust is not thread safe iirc. Would want a mutex, or rwlock for multiple readers at once I think

#

I don't know

#

I did decide to make my first rust project something involving threads though lol, an interesting decision given I had no experience with threads in pretty much anything and no experience with rust

tardy rain
#

Arc<Mutex<...>> all the things

wheat lynx
#

lol exactly

#

recently realised you could use atomic types for things like bools or integers which was nice

#

damn what are the chances

#

not even joking

young shoal
#

all you have to do is make the compiler stop yelling at you, and boom your code works

#

*correctly

#

actually that applies to pretty much everything in rust

graceful basin
#

Off by one errors are omnipresent still, sadly

young shoal
#

just don't use numbers

graceful basin
#

I am not using numbers

young shoal
#

how do you get off by one without numbers

frozen coral
#

i*i

young shoal
#

that's a number

karmic gust
#

i hate it when you mean to use 0 numbers but you accidentally use 1

graceful basin
young shoal
#

oof

karmic gust
#

0 is an honorary NaN

graceful basin
#

And the last digit in an escape sequence

young shoal
#

oof x2

graceful basin
#

The former being way more annoying to fix

#

But yeah, gotta say, now that I have written a bit more rust, I can generally get the colors right first try.

#

And type safety is neat

tight granite
#

hi linux experts, is ~/.local/share/flatpak safe to remove? specifically the repo/objects dir

#

~/.local/share/flatpak/repo/objects is taking 3.3GB

zinc loom
#
#SingleInstance force
Loop
{
    WinWaitActive, Desktop.txt
    {
            Send, !{Tab}
        WinWaitNotActive, Desktop.txt
        {
            Send, #d
        }
    }
}

Anyone know what programming lang is this ?

distant hazel
#

looks like autohotkey

rough sapphire
#

Looks like AutoHotKey

distant hazel
#

jinx!

zinc loom
#

Ah thanks

rough sapphire
distant hazel
#

i was struggling with AHK earlier today lol

#

there's a server

rough sapphire
#

I don't really use AHK that much; not that I don't think it's useful, though

#

But I have used it

zinc loom
#

Didnt know theres a scripting for hotkeys. Might be useful

distant hazel
#

i haven't used it much beyond text expansion

rough sapphire
#

I think it's the same for me

distant hazel
#

oh and for writing dates formatted in various ways

#

very handy

manic storm
#

i have a qn on memoisation for this dynamic programming qn, is it better to use a vector or an array to cache our result for java?

#
static boolean helper(boolean[] arr, int speed, int P) {
      if (P < 0 || P >= arr.length) {
          return false;
      }
      else if (arr[P] == false) {
          return false;
      }
      else if (speed < 0) {
          return false;
      }
      else if (speed == 0) {
          return true;
      }
      
      else {
          return helper(arr, speed, P + speed) || helper(arr, speed - 1, P + speed - 1) || helper(arr, speed + 1, P + speed + 1);
      }
  }```
here i'm not sure how to include memoisation cuz idk the size of the array i would want to initialise?
topaz aurora
tight granite
#

i removed flatpak because it's useless for me

#

as in sudo apt autoremove --purge flatpak

#

so i can remove it?

topaz aurora
#

Sure

dapper dew
#

!rule 6 fyi

royal lakeBOT
#

6. Do not post unapproved advertising.

jovial oriole
#

anyone dip their protein bars in protein powder for extra protein? (i find the powder quite delicious)

#

the bars are shit tho

olive remnant
#

how to set qss stlysheet as default in dolphin

rough sapphire
#

can nim use c, c++, and javascript libraries? if not, nim is fake as f***

rough sapphire
#

I don't know nim, but if it could, wouldn't that defeat the point of nim?

#

Being a language that is supposed to compile to other languages

graceful basin
#

you can actually write C++ inside nim, C is how half the ecosystem works, JS I never tried, but it does also likely work

broken dew
#

Trying to debug WebGL shaders feels like I'm staring at a tiny resolution display, praying for the pixels to show any sign of intelligent activity, or do anything remotely like what I told them to do.

#

Anyway I got it working and now I have a semi-functional slime mould simulation. The bug was WebGL forcing you to use 2 different units for everything...

jovial oriole
#

The skills just happen

#

But it just... Works.

young marlin
wraith hound
#

@broken summit I like your website, that's really cool

burnt magnet
#

When push comes to shove, the push keeps shoving!

gleaming gull
#

I wanted to get help

icy canyon
#

Im still here

gleaming gull
#

@lucid raptor

lucid raptor
#

!mute 822070877704814592

royal lakeBOT
#

:incoming_envelope: :ok_hand: applied mute to @icy canyon until <t:1642654175:f> (59 minutes and 59 seconds).

graceful iris
gleaming gull
lucid raptor
#

But we're dealing with it.

gleaming gull
lucid raptor
#

Qwerty did it.

inland wolf
#

fun

dawn tangle
#

@rough sapphire

#

pls check your dms

#

please!!!!

graceful basin
#

what happens if you do print("currently at $_LINE$")

#

I see, that's kind of neat

jovial oriole
blazing compass
#

@obtuse rose just saw your response
No, what I meant was round(float, n) rounds your float to n digits like you'd expect
math.truncate truncates a float to a round number i.e 0 digits after the decimal point
so in order to truncate a float to n digits you have to do a bit of math with it

#

It would be nice if there was a truncate_float(float, n) that acted almost like round but just... didn't round and truncated to n digits instead

obtuse rose
#

🀷

#

a standard library can't have everything

#

where would you put it all?

blazing compass
#

true

ionic light
#

Guys recommend me some low level languages to learn

wraith hound
wraith hound
latent scaffold
#

Oops

mild abyss
#

dead

#

oh wait i already responded to that

thorn lagoon
#

hmmmmmmm

#

ok

blazing compass
#

!e

print(f"{104.46:.1f}")
royal lakeBOT
#

@blazing compass :white_check_mark: Your eval job has completed with return code 0.

104.5
blazing compass
wraith hound
#

Ah, I'm not sure of the details of what that does

tame terrace
#

just slice the string instead?

#

the format specifier is a nice solution but if you don't need the math, you can just treat the number like text and slice off those additional decimal numbers.

#

here's a super ugly one-liner example that should be refactored.

#

!e

decimal_number = 0.242626155262
num = str(decimal_number)
print(f"{num.split('.')[0]}.{num.split('.')[1][:2]}")
royal lakeBOT
#

@tame terrace :white_check_mark: Your eval job has completed with return code 0.

0.24
clear plume
#

I know you've probably been getting this a lot recently, but congrats on admin @distant hazel!

distant hazel
#

haha thanks chili!

#

how's school?

clear plume
#

It's been alright

#

Had to stay home today due to a Covid scare, but I tested negative so it's all good

distant hazel
#

oh that reminds me

#

there's something in the US about claiming up to 4 at home covid tests or something

wraith hound
#

yeah

#

4 rapid antigen tests per household iirc

clear plume
#

That's crazy

distant hazel
#

i thought there was a huge shortage of tests though, how are they sourcing this?

#

or is it only certain tests that are in low supply

clear plume
#

Government things ℒ️

wraith hound
clear plume
#

Speaking of Covid, it's really bad here

#

9/10 people are testing positive

wraith hound
#

where is "here"?

#

yikes

#

hope you're okay

clear plume
#

Yeah I should be

#

My school requires a PCR test every week to go to in person so it's hard for me to be exposed very often

wraith hound
#

that's nice

#

my school's covid protocols are pretty bad

clear plume
#

I heard public schools, especially in red states, are bad

wraith hound
#

I don't know if my state is red or not (NC)

#

but yeah

#

like, contact tracing happens three days after someone reports a positive test or smth absurd (or so I've heard, I haven't been contact traced yet)

clear plume
#

That sucks

thin cloak
distant hazel
#

that was easy

rough sapphire
sonic wagon
#

Anyone knows the BASH coding language ???

#

SCRIPTING LANGUAGE

tardy rain
#

no need to use caps like that or to ask for experts, just ask your question

acoustic moss
#

very nice

shut ermine
#

ive been using them as bread

#

\o/

#

now i must figure how to make them faster

bold moat
rough sapphire
rough sapphire
#

what if for a week the channel name is the first thing to be said on the current day

latent scaffold
#

I don't like that idea

rough sapphire
#

Guys what's the best way to protect my videos on website from being pirated?

#

Vimeo was a good option until i discovered it can be downloaded even if i have max privacy

#

Is there a python script? WP plugin? Anything that can do it?

#

Or any other provider than vimeo

shut ermine
#

yes its just coliflower cheeze and egg im figuring out the ratios i think 1 cup/1cup/1 egg kinda works but too much cheez

#

mozarella and goat cheez has worked for me tho

rough sapphire
#

i guess UTC

#

or whatever most of the server's timezone is

gray herald
#

@livid rapids get on

livid rapids
shut ermine
#

man i think windows is kinda cool but you miss out on heavy DRM protected games like super tux cart and if you even try to run them Richard shows up to your door and breaks your knees

topaz aurora
#

@rough sapphire Any and all media on the web will eventually get ripped

#

Unless you have some fancy DRM system or something

shut ermine
#

Richard DRM stops ppl very effectively tbf, I'm sure that's the main reason things like gcc barely work on windows :^)

dire siren
#

need a good name for a waifu app

#

it also works on husbando, if file format is correct

#

i just can't think of a good name

mild abyss
#

heat seeking cucumbers πŸ€”. cucumbers in heat? @narrow pecan is this allowed?

opaque bronze
#

wot @acoustic moss is mod??

#

very naice hsp

acoustic moss
#

true

heavy pawn
#

Hehe

mild abyss
#

see that pfp there?

#

no way he is a mod

rough sapphire
#

oh god this off topic name

royal lakeBOT
#

:incoming_envelope: :ok_hand: applied mute to @drifting zodiac until <t:1642842511:f> (9 minutes and 59 seconds) (reason: duplicates rule: sent 4 duplicated messages in 10s).

bold moat
#

also are you Indian?

rough sapphire
#

nah

#

im just very stupid

#

i said utc cause thats the default timezone for the epoch

bold moat
#

nah i saw that you said that at midnight in india

rough sapphire
#

i guess that's just a coincidence then

bold moat
#

ye

wanton whale
rough sapphire
#

k

#

Hm

floral apex
#

Hey @wraith hound you're the one with the experience

#

If there's a free plan, once I've exhausted the resources they gave me it'll just stop right?

#

The service is credit cardless for free tiers

#

And that's true for most services, right?

#

About free tiers

#

Even if you provided a credit card it's not gonna surprise you by charging extra, right?

dire siren
#

idk honestly

#

nvm "enforced"

floral apex
# dire siren nvm "enforced"

I'm gonna assume unless I upgrade (which I can't), they won't charge me even if in the event I finally do have a credit card

#

And for whatever I use on Cloudflare, once I reach the limit I'm assuming service stops

#

And probably the same for other services

wraith hound
#

Joe might know though, I think he's used it somewhere

floral apex
#

Uncertainty about the pricing of services gives me anxiety

floral apex
wraith hound
#

I don't give my credit card to cf

#

You can get pages and workers without

#

My site is on the pages free tier

floral apex
#

I should just relax and not get too worried about all of this

#

Since I don't even have any form of payments

#

I'll just go with my assumption of once I reach limits, it'll just stop for any given service

sturdy igloo
#

me when head seaking cucumber

mild abyss
#

@narrow pecan stop heat seeking

narrow pecan
distant hazel
#

@smoky turtle please move the conversation here

#

@mortal spindle

mortal spindle
mortal spindle
#

@distant hazel I have nothing else to say

distant hazel
#

ok

mortal spindle
#

@distant hazel you sussy baka

#

You outsmarted the whole server

smoky turtle
# mortal spindle sussy baka

Haha, maybe we know each other, just you disguise another person, here to use the translator, nine out of ten is a liar

mortal spindle
distant hazel
#

yeah a lot of people lie, it's unfortunate

smoky turtle
karmic gust
#

community meta is a channel for discussing the community itself

mortal spindle
distant hazel
#

also pretty much ever server has users with nicknames starting with symbols like !

mortal spindle
#

totaly no sarcam

distant hazel
#

you're being pretty rude, please stop

mortal spindle
#

What? What did I do

karmic gust
#

you are being pretty rude

smoky turtle
mortal spindle
#

and besides they have a good point, I should do other stuff than just staring at a computer this whole day

distant hazel
#

maybe you guys should stop talking to each other

mortal spindle
#

bye

smoky turtle
sturdy igloo
distant hazel
#

@smoky turtle so what's your native language if you don't mind me asking?

smoky turtle
smoky turtle
karmic gust
mild abyss
#

slimy tubes...

#

🀣

#

scofflaw and his slimy tubes πŸ˜”

lost vortex
#

thoughts on my system architecture course for spring 2022

#

week 6,7,8, 12 and 13 seems rly challenging. tf is a flip flop 🀨

thorn lagoon
lost vortex
#

pithink oh

patent dragon
#

Heyyy guys

#

Do you know what font resemble Consolas on Linux?

wanton whale
rough sapphire
#

fun theory video to watch but also interesting

shut ermine
#

it just keeps a logical value stored for later

#

logic gates are fun

#

thoughts on it: you will survive since they ain't gonna make you actually prototype the stuff, if they did you would figure a million ways to break it due to not having electronics background Β―\_(ツ)_/Β―

distant burrow
elfin pawn
#

okay so I have a table for my users where I store their username, password hash and all that. One of the features I want to implement in my timer site is the ability to create custom timers and that would require storing a purpose for the custom timer as well as the length of the custom timer in a new table. The only issue I have is how I would link the custom timer created to each user so that I only display their custom timers. Anyone know how I would go about solving this issue?
this is for sqlite

lost vortex
#

ive never really dug deep on these topics, so should be a fun class. Hopefully πŸ˜…

molten herald
#

!resources

ionic light
#

Guys what do I need to convert a flutter project into a apk?

latent scaffold
shut ermine
latent scaffold
#

No idea what that even is

shut ermine
#

programmable hardware

#

im old school Β―\_(ツ)_/Β―

#

theyve been getting popular nowadays since they got to a point where they can literally replicate shit like a snes in hardware cost efficiently

latent scaffold
#

Huh, cool

shut ermine
#

so many ways of prototyping your logic, but they usually end in a loud pop and the magic smoke leaving your chips

latent scaffold
#

πŸ‘€

mild abyss
#

doubt

mild abyss
ebon plinth
#

so this is more of a vent, kinda, than most other things... but today I had to turn off my web servers....

#

I kept procrastinating on maintaining and changing things. I felt that the longer I procrastinated, the more likely my server would probably be hit with an exploit. So I turned them off.

#

I have a bad procrastination problem that I am REALLY struggling to figure out and solve :/

#

not sure if it is procrastination or executive dysfunction...

fervent beacon
#

does anyone have experience on getting DAML Associate certificate?

thin cloak
#

That will lead to a tea soaked muppet lol...

mild abyss
#

doubt

rough sapphire
mild abyss
#

whats learning?

#

im curious

floral apex
#

Now I want iced tea

shut ermine
#

ice tea is kind of undrinkable without sugar for me so i cant have it

tranquil orchid
#

I can go either way

#

Though I generally prefer no sugar

shut ermine
#

i just go with lukewarm no sugar tea, also less steps

tranquil orchid
#

Green tea is best

rough sapphire
#

W/ honeyπŸ’―

shut ermine
#

ran out of green tea a few months ago πŸ’€

floral apex
#

I like the ones with an added lemon, honey or both flavor

thin cloak
#

Earl Grey Hot

#

Captain Piccard approved

clear plume
#

Unpopular opinion but cold rooibos is so good

elfin pawn
#

<tr onclick = "customtime({{ timer.time }})">
<td>{{ timer.purpose }}</td>
<td>{{ timer.time }}</td>
</tr>

#

is this valid html

soft violet
#

The best tea is the sort you enjoy the most, even if you haven't yet had it.

elfin pawn
#

using flask

dire siren
floral apex
lost vortex
#

Gazelle escapes from hyena and cheetah by playing dead

#

i found this rly funny even tho it was life and death situation xqcDespair

#

also didnt know gazelles were smart enough to pull off something like this

shut ermine
#

sips

#

i think theres at least 200-300 more lemon teabags to go Β―_(ツ)_/Β―

shut ermine
#

dude i already drank half of it im so sick of lemon tea

#

actually cant believe that before 2019 literally all i drank was coke, sugar addiction is quite scary

jovial oriole
#

what's that?

#

they don't have a person called "sugar" where i live, on the treadmill

shut ermine
#

if we counting ectopics it already got 4 kills, yeah avoid it if you wanna have babies Β―_(ツ)_/Β―

#

or if you wanna not get degenerative diseases in your 40s

wraith hound
#

What guarantees that functions are mathematical in Haskell? Is it it's purity or it's lack of mutability? I am confusing myself with all this FP.

graceful basin
#

not all haskell functions are mathematical, they are just close enough

#

but ye, it's the fact you can't mutate things

#

or even do any IO

#

unless you put yourself in an IO box

#

but you can still create infinite loops, which a pure function can't do

wraith hound
graceful basin
#

well, a function that does readLine is hardly pure

#

since well, its output changes depending on what line is read, with the same input

wraith hound
#

Ahh, I see

#

So functional languages as a whole make it "easier" to make mathematical functions

#

But usually they don't completely enforce it

graceful basin
#

yeah, full enforcement isn't super useful

wraith hound
#

Yeah, that just sounds like a pain

graceful basin
#

since at that point you have to prove that recursions terminate and such

#

Coq and Agda make you do that

#

and well, a turing machine is not a mathematical function

#

so you are stuck being not-turing-complete

floral apex
#

Ha, Coq

latent scaffold
#

hah

floral apex
#

Why is it called Coq

#

Yknow why I'm asking it

latent scaffold
#

ah yes

#

oh

#

that's actually apparently where the name comes from \πŸ€”

floral apex
#

Bol or whatever

latent scaffold
#

\😩

dire siren
#

coq = cock?

dire siren
graceful basin
#

Yeah, cock is the pronunciation

rough sapphire
#

can someone help me fix my keyboard issue?
so ctrl and windows key arent working properly ever since I spilled water on it
ctrl key is now opening groove music for some reason
Id like to find out if its software or hardware issue
maybe spilling water couldve toggled some kind of setting on for windows 10 by accident

dire siren
#

turn off your computer, clean the water

#

turn it back on

#

try the keys then

#

if it doesn't work find a specialist

vestal wraith
#

Hey cna someone help me type theese things , , , , but upside down ones?

#

I dunno what they are called

#

Not these ones ``

#

the ones with a tail

dire siren
#

why tho

vestal wraith
#

so i can google them, so i can know how to type them on my kyboard

#

cuz i dunnohow with this weird german keyboard lol

dire siren
#

here: ’

vestal wraith
#

wrong one

dire siren
vestal wraith
#

also wrong

dire siren
#

the upper one

vestal wraith
#

''Β΄`'

#

nope wrong one lol

dire siren
#

eh

#

ever tried OCR?

vestal wraith
#

no?

dire siren
#

try then

vestal wraith
#

well i only have a pic..

#

’ wrong one! i need the mirror of this! really close now! :b

#

β€˜ this one is upside down lol

#

it needs to be upside down

#

there, i need it like this

#

i need it like this

#

nvm found it, thanks! :b

wind badger
#

is this using a greedy algorithm?

graceful basin
#

it seems like a binary search of sorts

wind badger
wind badger
#

we want to deduce the positions of the 'X'

#

i cant rly see how binary search can be used here since there's multiple 'X' and their positions are quite random?

graceful basin
#

well, it takes 10 pushes to find one, so you can find all of them in 170, but you can reuse some results from your previous pushes

#

but I am a bit too tired to write it up fully rn

wind badger
#

it's like if the correct keys are A, B, C
then if u use A, B, C, D or A, B, C or A, B, C, D, E
it'll open

#

but then we need to find the exact A, B, C

graceful basin
#

Yeah

#

Imagine 1 lock, 1024 keys

#

You try 512 keys, if it opens, it's one of the 512, otherwise it's one of the other 512, halving your search space

#

Repeat 10 times

wind badger
#

but wait, we can't individually find the keys?

wind badger
graceful basin
#

Oh, are there multiple keys per lock?

wind badger
graceful basin
#

Or do you mean, there are 17 keys that need to be pressed at once?

wind badger
#

yes

graceful basin
#

I see

wind badger
#

it's like that

wind badger
graceful basin
#

Slightly, you can still binary search, just differently

#

Press 512, the door doesn't open, so there os at least 1 key within the keys you pressed. Then press 512+256 and repeat 10 times until you find a single specific key

#

But the reuse rules are still not exactly clear rn.

wind badger
graceful basin
#

More or less

wind badger
#

oh should we keep trying in multiple of the number of locks?

elfin pawn
warm pasture
#

ik this is python

#

but I need help with c#

#

I want to do calculations

#

with

#

floats in a calculator

#

but it won't work

mild abyss
#

there is a c# serber

rugged echo
#

@gilded prawn sorry for the ping, but I absolutely LOVE your status lmao

rough sapphire
onyx mist
mossy mango
#

hello again

rough sapphire
mossy mango
#

what package did you install

rough sapphire
mossy mango
#

basically youre missing "discord-ui"

#

try to pip install that and you should be good there

onyx mist
rough sapphire
#

ok i have it

mossy mango
onyx mist
rough sapphire
#

wtf is wrong its not working i have installed discord.ui

mossy mango
#

oh so we gotta figure out why you still can't import despite it being installed

#

is discord. ui different than discord-ui

rough sapphire
#

the same

#

i think

mossy mango
#

the one on pypi had a hyphen

#

are you running from console or ide

rough sapphire
#

ide

mossy mango
#

which, vscode?

#

can you take s screenshot of the bottom left corner where it shows the python you're using

#

@rough sapphire

rough sapphire
mossy mango
#

all the way bottom left

rough sapphire
#

this is all i have

mossy mango
#

which ide is this?

rough sapphire
#

vs code

mossy mango
#

ok so ctrl+shift+p

#

type python interpreter

#

do you have the python extension?

rough sapphire
mossy mango
#

ok

#

select interpreter

rough sapphire
#

then

#

python...

#

3.9.8

mossy mango
#

do the one with the star

rough sapphire
#

ok i will try now

mossy mango
#

ok

harsh tundra
# rough sapphire

It's discord_ui when importing. - is treated by interpreter as minus, hence bad syntax

#

There's example in there

#
import discord
from discord.ext import commands
from discord_ui import UI, SlashOption
rough sapphire
#

I think you wanna install dpy 2.0?

viscid hemlock
#

No, the above is different ^^

rough sapphire
shut ermine
#

hello nerds i objectively have the best beard just give up no point on trying anymore, goodbye

#

oh nvm that was just a hairball

mild abyss
#

man... i want to squeeze

distant hazel
#

omg lol

rough sapphire
#

id by them just to melt them

rugged echo
distant hazel
#

^ that server is public

#

ah wait you don't have nitro

acoustic moss
dire stream
#

!e

royal lakeBOT
#
Command Help

!eval [code]
Can also use: e

*Run Python code and get the results.

This command supports multiple lines of code, including code wrapped inside a formatted code block. Code can be re-evaluated by editing the original message within 10 seconds and clicking the reaction that subsequently appears.

We've done our best to make this sandboxed, but do let us know if you manage to find an issue with it!*

dire stream
#

!e

await ctx.send("hi")
distant hazel
#

we do have an internal eval command but it's admins only

harsh tundra
#

Because the one above was mochi

#

But Google doesn't index Instagram and it suggested kirby mochi instead

#

But I was pretty sure Amy did marshmallows as well, so I manually searched ig

jovial oriole
#

aw man didn't work

manic storm
#
public static boolean isPrime2(int n) {
  if (n<2) {
    return false;
  }
  for (int i=2;i<sqrt(n);i++){
    if (isDivisible(n,i)) {
      return false;
    }
  }
  return true;
}
#

for this function, if the order of growth of isDivisible(n,i) is O(i)
how do we get the order of growth of isPrime2(int n)?

acoustic moss
manic storm
acoustic moss
#

πŸ‘

manic storm
#

yep but

#
public static boolean isPrime3(int n) {
  if (n<2) {
    return false;
  }
  for (int i=2;i<=sqrt(n);i++){
    if (isPrime3(i) && isDivisible(n,i)) {
    return false;
    }
  }
  return true;
}```
#

this is similar to sieve of eratosthenes i think

#

but im not sure what the complexity would be

acoustic moss
#

pithink the number of primes less than n is proportional to n/ln(n) iirc so the condition wouldnt short circuit in those cases

graceful basin
#

this is a tough one

acoustic moss
#

Yeah

manic storm
acoustic moss
#

What isnt πŸ₯΄

graceful basin
#

oh wait, isPrime3 is O(n), so adding the sqrt(n) to it shouldn't matter

#

so it's just Sn = S1 + S2 ... Ssqrt(n)

#

which I still don't know how to solve

acoustic moss
#

isPrime3 is O(n)?

#

Worse, surely

graceful basin
#

oh wait, yeah, mb

#

well, regardless, if S is worse than sqrt (which it pretty trivially is), then we can probably disregard that part

acoustic moss
#

ye true

graceful basin
#

oh wait, I am pretty sure it is linear actually

#

since summing 1...sqrt(n) yields n, as we concluded above

quiet tusk
#

Anyone on here able to do a spot check on my answer to a boolean algebra question?

acoustic moss
#

Looks good to me

quiet tusk
#

πŸ™‚

young shoal
#

@stark night that help channel you're in is claimed by someone else

#

!resources see these

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.

stark night
#

oh ok how do I claim a help channel???

#

thanks

mild abyss
#

shenhe thicc

left onyx
#

yooo

manic storm
verbal glen
mild abyss
broken dew
mild abyss
#

what?

#

i got two Yun Jin too

#

and im sad

#

it got me 2 Yun Jins and 3 ningguangs instead

#

now i have C2 Yun Jin and C5 Ningguang

#

because the last one is another yun jin

#

:((

solemn leaf
#

and i thought defeating the thunder manifestation second time would be the same

#

bruh

#

time to get help from coop

mild abyss
#

hmmm

#

thunder manifestation is easy to beat if you have a shielder

#

but i dont use a shielder, i just use yanfei

solemn leaf
#

oh i have yanfei

#

but lvl1

#

heh

mild abyss
#

just use a catalyst as well, and just dodge. imo thunder manifestations are way easier than oceanid

dire siren
#

lv60

#

:D

#

will genshin reset gacha count

#

i got like 50 gachas before 2022

#

i still didnt get zhongli after 40 gachas

bold moat
mild abyss
#

u need 90 pulls to get 1 pity

#

and it is not guaranteed

dire siren
#

does that count refresh each year

mild abyss
#

it refreshes every 90 pulls

#

also dont pull x10

#

always pull x1

tardy rain
bold moat
inland wolf
#

lol

latent scaffold
solemn leaf
#

my

latent scaffold
#

It's very weird 😩

solemn leaf
#

3 of em are 5 stars so feelsgood

latent scaffold
#

No

solemn leaf
#

ok

#

yes i need one sniper

#

amber bad

latent scaffold
#

A decent team of 4-stars would be much better

#

Who do you have

solemn leaf
#

rosaria

#

:d

#

also ninguangg

latent scaffold
#

Keqing and Rosaria are fine if you build Keqing for physical damage

#

But Jean and Albedo is weird

solemn leaf
#

albedo idk

latent scaffold
solemn leaf
#

lol i thought its another website similar to manjaro controversies

latent scaffold
#

Nah

solemn leaf
#

kequing main controversies ℒ️

latent scaffold
#

It's a guide for Keqing

solemn leaf
#

going thro

#

thanks

mild abyss
#

my keqing can do 200% crit dmg now hehe

#

time to focus on shenhe and Chongyun next

latent scaffold
#

Lol I don't even have Keqing

#

C1 Jean and C1 Diluc

onyx mist
#

sacrifice childr- chickens

young shoal
#

πŸš™

lost vortex
#

πŸ˜„

dapper dew
#

Might need to chat in ot1 for a day, hang out in the basement

lost vortex
young shoal
#

@warped sentinel nice color :O πŸ’›

warped sentinel
#

thanks!

rough sapphire
#

yrdy

next locust
#

What's docker for? In github bot

dull turtle
next locust
#

When would you want to use it?

#

Also On github py bot why not just put stuff on multiple jobs?

#

Nope πŸ˜”

dull turtle
#

That's another reason

next locust
#

Oh wait yes

#

So it solves that by running a virtual machine so I can run stuff that normally doesnt work on my machine?

dull turtle
#

Because it uses no interface

next locust
#

Pog

dull turtle
#

@west zephyr I know how to make virtual containers/etc, but I am unsure if you use docker, you can run the program with the GUI itself. is it only command-line applications you can run or am I wrong?

next locust
#

Is docker easy to activate? And close?

dull turtle
next locust
#

No don't

#

Don't @dull turtle

dull turtle
#

Ok

next locust
#

I might fall into another pit πŸ˜”

#

I'm currently on github action pit

dull turtle
next locust
#

Configuration pit

dull turtle
next locust
#

Speaking of pis

#

Pit

#

Do you know github action?

dull turtle
next locust
#

No?

dull turtle
#

Oh.

next locust
#

It's a ci cd tool but better

dull turtle
#

I was thinking of ci/d

#

cd*

wraith hound
#

It's the textbook definition of a ci/cd tool

next locust
#

On github py bot why not just put stuff on multiple jobs?

dull turtle
next locust
winter terrace
#

why are there so many html files

sand inlet
#

@next bison the normal way to get a console on windows is to ask the OS for one (AllocConsole), which launches conhost.exe to (i assume) handle the details of actually making that window

#

so what they probably did was set up something that looks like a console

#

but the windows api, completely unaware of that, looked for a real console and found that there wasn't one

next bison
#

yeah I'm not surprised

#

are windows terminals still fixed width?

sand inlet
#

nope ```py

os.get_terminal_size()
os.terminal_size(columns=151, lines=30)
os.get_terminal_size()
os.terminal_size(columns=127, lines=30)
os.get_terminal_size()
os.terminal_size(columns=117, lines=30)
os.get_terminal_size()
os.terminal_size(columns=121, lines=30)
os.get_terminal_size()
os.terminal_size(columns=120, lines=30)```

next bison
#

hm, the stackoverflow answer you linked to is from 2011 though, terminals were definitely less flexible back then

#

maybe now it would be easier to implement this properly, and intellij just haven't bothered

graceful basin
#

you can actually do that now with conpty

#

but it is a fairly recent feature

opaque bronze
#
Sus Main {
  Sus.Impostor.Eject "Hellow, world!"
}
last mantle
#

πŸ—Ώ

rough sapphire
#

Ok

inland wolf
#

^

rough sapphire
#

So you are given a square with sidelength 2^n

#

alright

#

And that square has discrete tiles

#

Imagine a grid

#

Proof that if you mark any one tile on the square, you can fill out the rest of the square with triangular hooks for any n

#

Let me give some examples

#

Let n=1

#

Mark any square

#

Now you can lay a triangular hook (no clue how else to call it) on the remaining three squares

#

Those can have any rotation

#

so for any square you mark, you can always fill out the rest with a triangular hook

#

Let n =2

#

It may look like this

#

Understood?

#

Tell me if you have any questions πŸ‘€

#

il try it later

#

I highly recommend you give it a try πŸ˜„ It's probably my favourite proof by induction & immensely satisfying

runic wigeon
rough sapphire
#

So first of, this isn't a correct proof by induction

runic wigeon
#

isn't 2 ^ (2n) - 1 always divisible by 3?

rough sapphire
#

And secondly for this to work you would also have to prove that the statement you've proven is equivalent to the question, which I don't think it is

#

It is, but you don't proof that

#

You proof that it is divisible by 3 for n in {1, 2, 3}

runic wigeon
#

oh ok

#

lemme think of more of a mathematical approach

rough sapphire
#

And again, you are proving a different statement. I would only accept your proof if you also showed that (2 ^(2n) - 1 divisible by three) => square can be filled with triangular hooks

runic wigeon
#

I mean if 2 ^ 2n - 1 is divisible by 3 then it can be filled with triangular hooks

rough sapphire
#

Why is that true?

runic wigeon
#

so

rough sapphire
#

It's not an obvious fact for me

runic wigeon
#

area of square = 2^n * 2^n

#

which is 2^2n

#

and if we mark one square then area left = 2^2n - 1

#

and a single triangular hook would cover 3 tiles

#

so if 2^2n - 1 % 3==0 then it can be filled

rough sapphire
#

That does not follow

runic wigeon
#

why tho

rough sapphire
#

How do you know that the triangular hooks can cover the square if the area is divisible by 3?

rough sapphire
#

They only have 4 possible orientations

#

How do you know there isn't any tile you can mark such that the rest is impossible to fill it up with these triangular hooks?

#

Just to clarify, those are all the shapes you have^^

runic wigeon
#

mhm

rough sapphire
#

il try it after my games

#

very cool

runic wigeon
#

so if I just prove that 2^2n - 1 is divisible by 3 wouldn't that be enough?

rough sapphire
#

No, because you also need to show that such a square is fillable with this specific shape

runic wigeon
#

oh ok

rough sapphire
#

seems pretty hard

#

The proof is very geometric and understandable

#

so we need 4 triangle hooks and fill in 4 squares

#

But probably not very easy to arrive at

rough sapphire
#

Read the question statement above

#

Oh and for a proof by induction you have to show that for some statement S(n), where n is a natural number:

  1. S(1) is true
  2. Show that S(n + 1) is true under the assumption that S(n) is true
quiet tusk
#

Anyone get any good coding music? (nothing too grimey)

graceful basin
#

I tend to listen to four seasons and similar classical music

rough sapphire
#

I listen to eminem, dr dre, snoop dog, stormzy

#

jay z

#

For anyone that wants to spoil themselves with the proof, I wrote it up here

dire siren
#

interesting

rough sapphire
#

Strange πŸ‘€

frail badge
#

mspaint is on computer tho

astral sedge
#

β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•—β–‘β–ˆβ–ˆβ•—β–‘β–‘β–‘β–ˆβ–ˆβ•—β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•—β–ˆβ–ˆβ•—β–‘β–‘β–ˆβ–ˆβ•—β–‘β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•—β–‘β–ˆβ–ˆβ–ˆβ•—β–‘β–‘β–ˆβ–ˆβ•—
β–ˆβ–ˆβ•”β•β•β–ˆβ–ˆβ•—β•šβ–ˆβ–ˆβ•—β–‘β–ˆβ–ˆβ•”β•β•šβ•β•β–ˆβ–ˆβ•”β•β•β•β–ˆβ–ˆβ•‘β–‘β–‘β–ˆβ–ˆβ•‘β–ˆβ–ˆβ•”β•β•β–ˆβ–ˆβ•—β–ˆβ–ˆβ–ˆβ–ˆβ•—β–‘β–ˆβ–ˆβ•‘
β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•”β•β–‘β•šβ–ˆβ–ˆβ–ˆβ–ˆβ•”β•β–‘β–‘β–‘β–‘β–ˆβ–ˆβ•‘β–‘β–‘β–‘β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•‘β–ˆβ–ˆβ•‘β–‘β–‘β–ˆβ–ˆβ•‘β–ˆβ–ˆβ•”β–ˆβ–ˆβ•—β–ˆβ–ˆβ•‘
β–ˆβ–ˆβ•”β•β•β•β•β–‘β–‘β–‘β•šβ–ˆβ–ˆβ•”β•β–‘β–‘β–‘β–‘β–‘β–ˆβ–ˆβ•‘β–‘β–‘β–‘β–ˆβ–ˆβ•”β•β•β–ˆβ–ˆβ•‘β–ˆβ–ˆβ•‘β–‘β–‘β–ˆβ–ˆβ•‘β–ˆβ–ˆβ•‘β•šβ–ˆβ–ˆβ–ˆβ–ˆβ•‘
β–ˆβ–ˆβ•‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–ˆβ–ˆβ•‘β–‘β–‘β–‘β–‘β–‘β–‘β–ˆβ–ˆβ•‘β–‘β–‘β–‘β–ˆβ–ˆβ•‘β–‘β–‘β–ˆβ–ˆβ•‘β•šβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•”β•β–ˆβ–ˆβ•‘β–‘β•šβ–ˆβ–ˆβ–ˆβ•‘
β•šβ•β•β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β•šβ•β•β–‘β–‘β–‘β–‘β–‘β–‘β•šβ•β•β–‘β–‘β–‘β•šβ•β•β–‘β–‘β•šβ•β•β–‘β•šβ•β•β•β•β•β–‘β•šβ•β•β–‘β–‘β•šβ•β•β•

#

idk i just found it

shell raptor
#

Does anyone have any idea how to translate "issue" (as in: GitHub issues) into Russian? all the people I've heard say it just say "issue" (literally, the English word)

harsh tundra
shell raptor
harsh tundra
#

Ah, jira issues are not only issues but all tasks, right.
I'd say 'problems' would give the best translation for github type of issues. ΠŸΡ€ΠΎΠ±Π»Π΅ΠΌΡ‹

shell raptor
#

that does sound like a better translation

#

but it sounds weird, idk

#

донос πŸ‘€

harsh tundra
#

Well, github issues are for reporting problems... But idk if those would be the same in Russian as in Polish XD

shell raptor
#

When I'm explaining something to a non-technical person, I just say "I filed a bug" instead of "I filed an issue"

harsh tundra
shell raptor
#

it is the same in Russian

harsh tundra
#

So problemy sounds much better to me for that. But I always use just issue for that

shell raptor
#

yeah

#

I think we just have to accept to use English terms for computer stuff. Translations tend to be really awkward.

harsh tundra
#

I talk too much in English... or in Polish but about not translated software. So it's always "tickets", "workflow" and such... It's hard to make a plural of workflow when borrowing the work, tho, because y (Russian Ρ‹) makes the end weird to pronounce. XD

shell raptor
#

workflowy πŸ€”

harsh tundra
#

I'm talking a lot in Polish about workflows in system I write scripts for...

#

At least "ticket" is easier. I can use all forms normally

#

It would also work nicely in Russian. Π’ΠΈΠΊΠ΅Ρ‚Ρ‹ XD

shell raptor
#

yeah, in Russian we just say "ticket" as well

harsh tundra
# shell raptor workflowy πŸ€”

If historically Poland got baptised from East, Polish would probably be written in Cyrillic. A lot of sounds we have are just there in Cyrillic alphabets. But because we use Latin alphabet, i sometimes have problems transliterating into Cyrillic, because I have no idea how tf do I differentiate between L and Ł. Both are just Π›

shell raptor
harsh tundra
#

You use yo in there? Damn. I'd say ye

shell raptor
#

well it's complicated

#

mΚ²ordzh

harsh tundra
#

I'm shit at learning languages and I don't remember anything from my Russian class

harsh tundra
shell raptor
#

ah

shell raptor
harsh tundra
#

I can read Cyrillic just fine, I also wrote some above and mentioned doing transliteration when explaining stuff :P and I like theoretical linguistics

shell raptor
harsh tundra
#

Ł is English W sound. Like in water.

#

L is just... L.

#

Ł would be probably classified as soft L or something? Idk. I'm not that much into theory XD