#ot1-perplexing-regexing
1 messages Β· Page 626 of 1
~23 mins, but the opening is super long sometimes so they end up being more like ~16 mins
ah
they have been making episodes since before I was born and still haven't stopped π
1999 
and i was born 2001.
that's insane
at this pace it might continue even after we all die 
Β―_(γ)_/Β―
I enjoyed it, I watched it some time ago, and I dont think I actually finished it either.
ahh
im basically just gonna follow the "most popular" tab from myanimelist lol. But i'll skip some very large shows like one piece
all the good ones seems to be a decade or older
usually I don't like the art style of many of the older ones, but there are some that are really good.
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.
I really think Cowboy Bebop actually has the best sound track https://www.youtube.com/watch?v=XtxsYF4e3uM&list=OLAK5uy_kvwTMBhcntGHVYrPrTlmQ9RgME0ybctpU&index=2
Provided to YouTube by The Orchard Enterprises
Rush Β· Seatbelts Β· Yoko Kanno
COWBOY BEBOP (Original Motion Picture Soundtrack)
β 1998 SUNRISE Music
Released on: 1998-05-21
Auto-generated by YouTube.
it's good. sounds like jazz
only ost i currently have saved is OPM seigi shikkou
Theme Song Arrangement, Music :
Miyazaki, Makoto
pretty good hype up song for me xd
That one is pretty good, I haven't watched One Punch Man in a while.
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
I actually ran out of good shows and did that... I forgot how much I can enjoy reading.
reading is fun when the thing im reading actually interests me
only issue is turning your brain into hyperdrive trying to read some pretty bad translations sometimes.
lmao
@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!
It's from weheartit lol
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)
could i ask why you need it that way? and whats the algorithim?, that information may help
its the recursive heap algorithm for permutations
what is the second numbers purpos?
which one
in the heap func()
sorrry i dont understand your problem
do u mind
showing the steps
like how is the recursion process
a func that calls it self
no, they did some really weird stuff
Perfect for your portfolio, blog, landing page, or business site. Features: pretty links, custom domains, Google Fonts, SEO support, script injection.
I wouldn't call it weird lol
I installed rust today
and I want to know what all can it be used for?
also some major applications in rust
It's also high-level enough to be general-purpose
So there's frameworks for writing web backends and such
Thank you!
So you can write a whole computer in Rust (with some assembly?) π€
Well, you can write a compiler on any language really
Not just compiler, I mean whole computer
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
Yooo
This otn name reminded me of some xmen movie
Or whatever it was
Anyway cya
Older than you
ahem
hmmmmmmmmmmmmmmmmmmmmmmmmmmm?
im keeping 3 eyes on on you sussy pfp
im just a default profile picture
sussy pfp
py -m pip install black
what would that do?
install black
yes, that one
oooh
nice
imma try it
if i didn't have a phobia of everything
well, the hard part of making a computer is building it
not really writing the software for it
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
god is dead, cursed networkx
i remember something wonky with the redirection and it breaking....
there were a few oddities with middle mouse click, but that's to be expected with something non-standard like that, but the oddities were all explainable, hence I'd say not weird
in future we'd probably do sphinx for docs
Β―_(γ)_/Β―
@jade stream do you need something?
please use the channels according to their channel topics/descriptions
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.
Anyone else recognize this?
@sand inlet saw em and immediately thought of u (stg its less creepy than it sounds)
well it doesn't sound that creepy, they're bees and i'm a bee so
π
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."
I don't remember if I asked you this... But who made those emotes you use? @@ They are so cute.
Those cheeks @@ cute
a person called AAAAAAAAAAAAAAAAAAA
... 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
@low chasm
yes
yes
Hi
heye
what
I'm bringing him in for the bounty
0.0
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
who wants to place bets on which day is more profitable for this swedish restaurant chain
in january, 2022
monday
you good
i just guessed randomly..
alright what hour
wdym
what hour of the monday is most profitable
6pM
6PMMMm
Aaaaa
you need to keep in mind sweden is very cold, I don't think many people stay out 6 pm
Ohhh
This is the second time
Deja Vu moment
alright, what month is most profitable in 2021
lol
June

idK
im Superised
0.07 difference
i just thought that june is the most hottest month in my country so yea
yeah true
august
lol
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
ah this is so funny
ok
top tier sticker
Perhaps
yooo does anyone know how to get your first job/internship
i have a ton of projects but no job experience :/
#career-advice might have some advice
@rough sapphire that was fast, offline moderating is spooky π»
I didnt even realise I was on invis lol
lol
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
Rc or something idk
reference counter
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
Arc<Mutex<...>> all the things
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
threading in rust is so nice
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
Off by one errors are omnipresent still, sadly
just don't use numbers
I am not using numbers
how do you get off by one without numbers
i*i
that's a number
i hate it when you mean to use 0 numbers but you accidentally use 1
0 numbers? 
I was skipping the first token of a stream
oof
0 is an honorary NaN
And the last digit in an escape sequence
oof x2
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
hi linux experts, is ~/.local/share/flatpak safe to remove? specifically the repo/objects dir
~/.local/share/flatpak/repo/objects is taking 3.3GB
#SingleInstance force
Loop
{
WinWaitActive, Desktop.txt
{
Send, !{Tab}
WinWaitNotActive, Desktop.txt
{
Send, #d
}
}
}
Anyone know what programming lang is this ?
looks like autohotkey
Looks like AutoHotKey
jinx!
Ah thanks
Dammit π
I don't really use AHK that much; not that I don't think it's useful, though
But I have used it
Didnt know theres a scripting for hotkeys. Might be useful
i haven't used it much beyond text expansion
I think it's the same for me
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?
If you use flatpak it's probably a bad idea
i removed flatpak because it's useless for me
as in sudo apt autoremove --purge flatpak
so i can remove it?
Sure
!rule 6 fyi
anyone dip their protein bars in protein powder for extra protein? (i find the powder quite delicious)
the bars are shit tho
how to set qss stlysheet as default in dolphin
can nim use c, c++, and javascript libraries? if not, nim is fake as f***
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
not all at once, but yes
you can actually write C++ inside nim, C is how half the ecosystem works, JS I never tried, but it does also likely work
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...


@broken summit I like your website, that's really cool
Thank you :x
When push comes to shove, the push keeps shoving!
I wanted to get help
Im still here
@lucid raptor
!mute 822070877704814592
:incoming_envelope: :ok_hand: applied mute to @icy canyon until <t:1642654175:f> (59 minutes and 59 seconds).
now you aren't
ban cz it keeps rejoining and rejoin remove the muted role
It doesn't, there are just multiple accounts.
But we're dealing with it.
can u unlock #python-discussion now or its unlocked
Qwerty did it.
fun
who's dat
@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
true
Guys recommend me some low level languages to learn
rust
binary
Rust, C
You can do that using the string formatting mini-language
Oops
is there a way to truncate and not round though? I briefly looked over the format docs but they're a bit crummy so I didn't learn anything I didn't know already about float formatting
!e
print(f"{104.46:.1f}")
@blazing compass :white_check_mark: Your eval job has completed with return code 0.
104.5
I think this was the example given, truncating 104.46 to 1 decimal place would be 104.4 but :.1f seems to round
Ah, I'm not sure of the details of what that does
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]}")
@tame terrace :white_check_mark: Your eval job has completed with return code 0.
0.24
in response to this btw
I know you've probably been getting this a lot recently, but congrats on admin @distant hazel!
It's been alright
Had to stay home today due to a Covid scare, but I tested negative so it's all good
oh that reminds me
there's something in the US about claiming up to 4 at home covid tests or something
That's crazy
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
Government things β’οΈ
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
I heard public schools, especially in red states, are bad
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)
That sucks
Lol sound like some terrible ad like 9/10 dentist use and recommend this toothbrush
you became admin nice
no need to use caps like that or to ask for experts, just ask your question
very nice
is that cheese holding them together
tf
recipe!
what if for a week the channel name is the first thing to be said on the current day
I don't like that idea
Blinai
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
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
@livid rapids get on
im on
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
@rough sapphire Any and all media on the web will eventually get ripped
Unless you have some fancy DRM system or something
Richard DRM stops ppl very effectively tbf, I'm sure that's the main reason things like gcc barely work on windows :^)
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
true
Hehe
no. he is a dog
see that pfp there?
no way he is a mod
oh god this off topic name
: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).
if they set up a bot to do that, someone could say messed up stuff every other morning, which would not work out very well.
also are you Indian?
nah
im just very stupid

i said utc cause thats the default timezone for the epoch
nah i saw that you said that at midnight in india
i guess that's just a coincidence then
ye

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?
probably will if you reach limits
idk honestly
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
I've never actually used Fauna
Joe might know though, I think he's used it somewhere
Uncertainty about the pricing of services gives me anxiety
How about Cloudflare, never been charged by surprise?
I don't give my credit card to cf
You can get pages and workers without
My site is on the pages free tier
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
@narrow pecan stop heat seeking
sure
sussy baka
The conversation is already over
@distant hazel I have nothing else to say
ok
Haha, maybe we know each other, just you disguise another person, here to use the translator, nine out of ten is a liar
I dont even know what community meta is
yeah a lot of people lie, it's unfortunate
Has the attack started? Why be so rude
community meta is a channel for discussing the community itself
thanks my brain is now getting more bigger over this knowledge that i don't need
also pretty much ever server has users with nicknames starting with symbols like !
totaly no sarcam
you're being pretty rude, please stop
What? What did I do
you are being pretty rude
I advise you to get out of here, no will believe you
cool I don't care
and besides they have a good point, I should do other stuff than just staring at a computer this whole day
maybe you guys should stop talking to each other
bye
Nice, persistence will win, but it does not seem to be for you
Sussy obama balls
@smoky turtle so what's your native language if you don't mind me asking?
Finally let you go, it's time for me to go too
It's better if we don't know each other, good luck
heat seeking gurkans
aren't we all just slimy tubes
searching for some warmth
thoughts on my system architecture course for spring 2022
week 6,7,8, 12 and 13 seems rly challenging. tf is a flip flop π€¨
plainly from mc redstone i think a flip flop is a switch
oh
Nice
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 Β―\_(γ)_/Β―
sick
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
ah wow
ive never really dug deep on these topics, so should be a fun class. Hopefully π
!resources
Guys what do I need to convert a flutter project into a apk?
There was a YouTuber who created a website for creating circuits, I wonder if I could find the link
Apparently not a website but https://sebastian.itch.io/digital-logic-sim
idk about the usefulness of logic simulators i like to just dump stuff into fpgas lol
No idea what that even is
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
Huh, cool
so many ways of prototyping your logic, but they usually end in a loud pop and the magic smoke leaving your chips
π
doubt
odd
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...
does anyone have experience on getting DAML Associate certificate?
That will lead to a tea soaked muppet lol...
doubt
how are you suppose to learn, if u lack curiosity?
Now I want iced tea
ice tea is kind of undrinkable without sugar for me so i cant have it
i just go with lukewarm no sugar tea, also less steps
Green tea is best
W/ honeyπ―
ran out of green tea a few months ago π
I like the ones with an added lemon, honey or both flavor
Unpopular opinion but cold rooibos is so good
<tr onclick = "customtime({{ timer.time }})">
<td>{{ timer.purpose }}</td>
<td>{{ timer.time }}</td>
</tr>
is this valid html
The best tea is the sort you enjoy the most, even if you haven't yet had it.
using flask
y not dump that to about:blank and see
I just want my sweet drinks
Gazelle escapes from hyena and cheetah by playing dead
i found this rly funny even tho it was life and death situation 
also didnt know gazelles were smart enough to pull off something like this
i want my green and black teas but im not allowed to have more until i finish an industrial ration of lemon tea that we got on error REEEEEEEEEEEE
sips
i think theres at least 200-300 more lemon teabags to go Β―_(γ)_/Β―
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
sugar?
what's that?
they don't have a person called "sugar" where i live, on the treadmill
my drug of choice until it destroyed my family
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
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.
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
I see I see.
What does that have to do with it?
well, a function that does readLine is hardly pure
since well, its output changes depending on what line is read, with the same input
Ahh, I see
So functional languages as a whole make it "easier" to make mathematical functions
But usually they don't completely enforce it
yeah, full enforcement isn't super useful
Yeah, that just sounds like a pain
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
Ha, Coq
hah
Does French have a word called "bal"
Bol or whatever
apparently bal is ball and bol is bowl
\π©
not to be r18, cock there meant like bird/chicken stuff
Yeah, cock is the pronunciation
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
um, you might've broke your keyboard physically
turn off your computer, clean the water
turn it back on
try the keys then
if it doesn't work find a specialist
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
why tho
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
here: β
wrong one
here: '
also wrong
it is the one with trial, just discord font goes weird
the upper one
no?
try then
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
is this using a greedy algorithm?
it seems like a binary search of sorts
yeah i thought so too
do we see it as like if we have 5 locks, 3 keys
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?
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
oh but the lock works such that you don't need to find the individual lock and key
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
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
like it won't open if not all the correct keys are present
Oh, are there multiple keys per lock?
i think the order of the key and lock doesnt matter. but for x number of locks, there's x number of correct keys
Or do you mean, there are 17 keys that need to be pressed at once?
yes
I see
it's like that
that makes the problem harder right?
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.
u mean like in a set of ABCDE keys, we first try
ABC - we know there is at least one key in ABC.
if it opens, 3 keys are present.
if it doesn't open, we add D. if it opens, D is a key.
Otherwise, add E. if it opens, E is a key?
More or less
what does ur 512 and 256 represent
oh should we keep trying in multiple of the number of locks?
Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.
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
there is a c# serber
@gilded prawn sorry for the ping, but I absolutely LOVE your status lmao
uwu
WOAHHHHHHH
hello again
what package did you install
discord.ui should be inside discord.py
basically youre missing "discord-ui"
try to pip install that and you should be good there
I said discord-ui π
well i am agreeing then
ok π
wtf is wrong its not working i have installed discord.ui
oh so we gotta figure out why you still can't import despite it being installed
is discord. ui different than discord-ui
ide
which, vscode?
can you take s screenshot of the bottom left corner where it shows the python you're using
@rough sapphire
all the way bottom left
which ide is this?
vs code
do the one with the star
ok i will try now
ok
It's discord_ui when importing. - is treated by interpreter as minus, hence bad syntax
A discord.py extension for sending, receiving and handling ui interactions in discord - GitHub - discord-py-ui/discord-ui: A discord.py extension for sending, receiving and handling ui interactions...
There's example in there
import discord
from discord.ext import commands
from discord_ui import UI, SlashOption
I think you wanna install dpy 2.0?
No, the above is different ^^
yeah, my point is that from discord.ui import Button, View is a thing in dpy 2.0
hello nerds i objectively have the best beard just give up no point on trying anymore, goodbye
oh nvm that was just a hairball
man... i want to squeeze
there should be kirby marshmellows
id by them just to melt them
i want blob emote so bad
not a problem 
!e
!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!*
!e
await ctx.send("hi")
we do have an internal eval command but it's admins only
Ah ok
Oh, I found the marshmallows https://www.instagram.com/reel/CT2ROS7Kmkj/?utm_medium=copy_link
Welcome back to Instagram. Sign in to check out what your friends, family & interests have been capturing & sharing around the world.
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
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)?
Thats O(2+3+4+...sqrt(n)) = O(sqrt(n)*(sqrt(n)+1)/2) = O(n), i think?
yeah i got that too thx
π
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
the number of primes less than n is proportional to n/ln(n) iirc so the condition wouldnt short circuit in those cases
this is a tough one
Yeah
oh its some mathematical thing?
What isnt π₯΄
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
oh wait, yeah, mb
well, regardless, if S is worse than sqrt (which it pretty trivially is), then we can probably disregard that part
ye true
oh wait, I am pretty sure it is linear actually
since summing 1...sqrt(n) yields n, as we concluded above
Looks good to me
@stark night that help channel you're in is claimed by someone else
!resources see these
The Resources page on our website contains a list of hand-selected learning resources that we regularly recommend to both beginners and experts.
shenhe thicc
yooo
how did u solve Sn = S1 + S2 ... Ssqrt(n)?
bro i was trying to pull for ganyu but i got keqing instead :(
bro i was trying to pull for shenhe and i got shenhe instead :(
Looks like they used the triangle numbers formula
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
:((
and i thought defeating the thunder manifestation second time would be the same
bruh
time to get help from coop
hmmm
thunder manifestation is easy to beat if you have a shielder
but i dont use a shielder, i just use yanfei
just use a catalyst as well, and just dodge. imo thunder manifestations are way easier than oceanid
i hav yanfei
lv60
:D
will genshin reset gacha count
i got like 50 gachas before 2022
i still didnt get zhongli after 40 gachas
u mean pity?
u need 90 pulls to get 1 pity
and it is not guaranteed
i know, i didnt even get a 5 star
does that count refresh each year
Real
lol
What on Earth is this team
my
It's very weird π©
No
Keqing and Rosaria are fine if you build Keqing for physical damage
But Jean and Albedo is weird
lol i thought its another website similar to manjaro controversies
Nah
kequing main controversies β’οΈ
It's a guide for Keqing
man that team i find it inefficient at first glance
my keqing can do 200% crit dmg now hehe
time to focus on shenhe and Chongyun next
sacrifice childr- chickens
π
π
Might need to chat in ot1 for a day, hang out in the basement
ot2 real basement
@warped sentinel nice color :O π
thanks!
yrdy
What's docker for? In github bot
Docker is like a virtual machine, but without a GUI, and is VERY useful for developers to manage dependencies/etc.
When would you want to use it?
Also On github py bot why not just put stuff on multiple jobs?
Nope π
That's another reason
Oh wait yes
So it solves that by running a virtual machine so I can run stuff that normally doesnt work on my machine?
Docker uses much less memory than a virtual machine itself if I am correct?
Because it uses no interface
Pog
@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?
Is docker easy to activate? And close?
docker is quite complex, but i learned a bit, let me find the link
Ok
Hm? I would never share a malicious link
Configuration pit
Oh.
Yes, Isn't that where you can set up a VPS too to build software?
No?
Oh.
It's a ci cd tool but better
Wdym but better
It's the textbook definition of a ci/cd tool
Oh I guess others are just worse 
On github py bot why not just put stuff on multiple jobs?
why are there so many html files
@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
according to stackoverflow, embedding a proper console in another application is hard/impossible https://stackoverflow.com/questions/7802831/is-it-possible-to-embed-a-command-prompt-in-a-win32-app
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
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)```
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
Sus Main {
Sus.Impostor.Eject "Hellow, world!"
}
πΏ
Ok
^
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
side of square = 2^n
area = 2^(2n)
if we mark one tile then tiles left = 2 ^ (2n) - 1
we can now easily prove that 2 ^(2n) - 1 is always divisible by 3 for n > 0 by induction
n=1 :
2^2 - 1 = 3 which is divisible by 3
n=2:
2^4 - 1 = 15 and 15%3==0
similarly for n=3:
2^6 - 1 = 63 and 63 % 3 == 0
So first of, this isn't a correct proof by induction
isn't 2 ^ (2n) - 1 always divisible by 3?
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}
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
I mean if 2 ^ 2n - 1 is divisible by 3 then it can be filled with triangular hooks
Why is that true?
so
It's not an obvious fact for me
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
That does not follow
why tho
How do you know that the triangular hooks can cover the square if the area is divisible by 3?
this
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^^
mhm
so if I just prove that 2^2n - 1 is divisible by 3 wouldn't that be enough?
No, because you also need to show that such a square is fillable with this specific shape
oh ok
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
Well, no
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:
- S(1) is true
- Show that S(n + 1) is true under the assumption that S(n) is true
Anyone get any good coding music? (nothing too grimey)
I tend to listen to four seasons and similar classical music
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
hmm, you got better drawings on paper than in mspaint
interesting
Strange π
mspaint is on computer tho
βββββββββββββββββββββββββββββββββββββββββββββββββββ
βββββββββββββββββββββββββββββββββββββββββββββββββββ
βββββββββββββββββββββββββββββββββββββββββββββββββββ
βββββββββββββββββββββββββββββββββββββββββββββββββββ
βββββββββββββββββββββββββββββββββββββββββββββββββββ
βββββββββββββββββββββββββββββββββββββββββββββββββββ
idk i just found it
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)
Check how Jira translates "issue". It would be the best comparison as Jira has official translation of its UI
But yeah, corpotalk doesn't translate such stuff, so in Polish people also use the original names for those.
Jira translates it as "Π·Π°Π΄Π°ΡΠΈ" (tasks) which I'm not sure about
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. ΠΡΠΎΠ±Π»Π΅ΠΌΡ
that does sound like a better translation
but it sounds weird, idk
Π΄ΠΎΠ½ΠΎΡ π
Well, github issues are for reporting problems... But idk if those would be the same in Russian as in Polish XD
When I'm explaining something to a non-technical person, I just say "I filed a bug" instead of "I filed an issue"
In Polish, "donos" is like... if you report someone, eg to police. Bad connotations.
it is the same in Russian
So problemy sounds much better to me for that. But I always use just issue for that
yeah
I think we just have to accept to use English terms for computer stuff. Translations tend to be really awkward.
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
workflowy π€
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
yeah, in Russian we just say "ticket" as well
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 Π
Also "myordzh rekvest" π₯΄
You use yo in there? Damn. I'd say ye
I'm shit at learning languages and I don't remember anything from my Russian class
I mean, I know ye/yo are single letters. I more meant the e/o part. Π vs Π
ah
https://translate.google.com/?sl=ru&tl=en&text=ΠΌΡΡΠ΄ΠΆ+ΡΠ΅ΠΊΠ²Π΅ΡΡ
Google actually provides a very good TTS here
I can read Cyrillic just fine, I also wrote some above and mentioned doing transliteration when explaining stuff :P and I like theoretical linguistics
is Ε something between L and W?


