« first day (4073 days earlier)      last day (1066 days later) » 

00:00
new semantle pog
I can imagine a bruteforcer being shorter than hardcoding 60 numbers AND the formula after it
oh right i forget it is codegolf so speed don’t matter
the formula's especially unwieldy with how many numbers have to be hardcoded to implement it to begin with
00:31
I solved Semantle #55 in 51 guesses. My first guess had a similarity of 17.17. My first word in the top 1000 was at guess #22. My penultimate guess had a similarity of 55.76 (995/1000). semantle.novalis.org
pogger
@att lol what how are you so good at this
can't believe the uni libary has a book called "Competitive programming in Python: 128 algorithms to develop your coding skills" available online
obviously I downloaded all 22 pdfs that make up the book
@lyxal dang nice, im gonna take a look at that book too, sounds interesting
I just found out today that semantle isn’t blocked at school
Which is weird because iboss has a whitelist, not a blacklist
00:35
based it department i guess
So someone must’ve whitelisted the entire domain
@UnrelatedString nah, outsourced to some company called iboss
On top of that, there’s go guardian to block more specific stuff
Any url with the word “unblocked” or “game” is blocked
I've just found an article that's included a link to a stack exchange site. My life has come to the point where seeing a link to anything SE is enough to make me lose my sh*t and think "holy crap SE that's epic"
Got super restrictive this year, which makes the fact that wordle and semantle are unblocked so weird
guys what are some tips for usaco (if u know what that is), im doing pretty bad in it, only can pass bronze :\ do i need to memorize algorithms or what
@lyxal that’s pretty natural
@AidenChow memorize algorithms
But also practice applying them
honestly for how incredibly massive so is public awareness of se overall is surprisingly low
@user ah ok, should i be learning java or c++ or is python fine (i heard that python is slower than the other two languages??)
@AidenChow I'd link it, but any link I have is behind a uni proxy wall
meaning any link from me is useless
att
att
@AidenChow yesterday's was easy
00:40
@lyxal oh, i thought it was a free ebook u found on the internet, didnt fully read ur msg lol
Wordle 278 3/6

🟨🟨⬜⬜⬜
🟩🟩⬜🟨🟨
🟩🟩🟩🟩🟩
i'm not familiar with usaco but if they even support java i would recommend not java
hm, i'm not sure what the USACO trend is these days
the canadian version is moving away from memorizeable algorithms or DSs or whatever and more towards problem solving / ad hoc stuff and making observations and applying them to fundamentals
IMO you shouldn't use java
it's neither fast to write (like Python) nor fast to run (like C++)
it's just strictly outclassed by both alternatives
worst of both worlds ¯\_(ツ)_/¯
00:41
@hyper-neutrino so should i be learning c++ instead
probably
@AidenChow there are looser time constraints on python
python is very slow in comparison
but I use it for the earlier problems because it's easy to write
But don’t listen to me because I’ve never won anything lol
00:42
@user so should i stick to python, i fear that i may reach a roadblock if i keep with python
you probably won't need to learn the stuff that makes c++ a dumpster fire to perform well enough, if it's small scale problem solving versus creating a large codebase
petition them to allow languages like vyxal, jelly, husk and pyth
att
att
use C :)
yeah I second what unrelated string says
@lyxal lmaoo, they would probably never allow that in all honesty
00:43
a lot of the stuff that makes C++ hard you never need to care about
they should support brachylog since idiomatic golfed solutions could never satisfy the performance constraints anyways :)
att
att
I solved Semantle #55 in 21 guesses. My first guess had a similarity of 8.05. My first word in the top 1000 was at guess #6. My penultimate guess had a similarity of 2.02. semantle.novalis.org
@UnrelatedString what kinds of c++ features should i avoid when learning it
best part of c++ is if you really want to you can just write c
but if you don't want to just write c you do get the benefit of `std::string` etc.
00:44
@att wtfffffff
@AidenChow you probably won't have any problems no matter how far you go learning it for usaco
@UnrelatedString ok, good to know
@AidenChow i'm at 20 guesses with three in the top 1000 and i'm already struggling to think of where i can go from here
c++ is the language im least familiar with (i learned java just for ap cs a lol and ive been using python since forever but i still suck at it), is it similar to the other two languages
@UnrelatedString which 3??
att
att
similarish to java
00:47
@AidenChow 619, 698, 916
att
att
I never actually bothered learning c++ much beyond the c parts
@UnrelatedString lol rip. yeah, thats kinda what i was thinking when i saw the words u had
how do u have 3 in the top 1000 within 20 guesses tho
att
att
I got #993 on 9, maybe just lucky
00:50
my first top 1000 was literally 21 guesses in
let's see if i can get ez luck again
@att oh daaaang
damn my first guess was only 2.05 and not instantly top 1000 this time
@hyper-neutrino im kind of hoping not, so u can actually experience the pain this time around :P
first with similarity above 20 was guess 7 spoiler
so went from there
00:52
my second guess was >20
5th guess top 1k
nice
ooh got 939
my first top 1000 was #837 tho, that was pretty helpful
not as lucky with the follow-up after getting top 1k as yesterday though
@hyper-neutrino WHATTTTT
howwwwwww
att
att
@AidenChow it was just a matter of deciding which direction to take it
00:53
what is this, am i really that bad at this game
att
att
just call it unlucky
this game seems a lot more luck based than wordle
today i actually thought i did pretty well with 51 guesses, nope, att just gets it in 20 guesses
:\
i didnt even get a top 1000 word in the amount of guesses att took to solve it, like wtf
att
att
my 3rd guess was lucky
do u guys start with random words, or do u go in with a strategy in mind already??
att
att
00:57
there were several ways to take it, one of which was guess 6 (#673)
random
i’ll test every direction in my mind before seeing a possible way
att
att
I do check parts of speech though
In other news, here's a chunk of text from a PDF I'm reading:
you'd think it'd copy nicely
after #5 i've gotten a worse guess for the following 9 lmao
but no
“astep-by-stepandunambiguousspecificationprocedurethat,givenanyvalidinputdataofaparticularproblem,alwaysproducesthedesiredoutputdata,thus``solving’’theparticularinstanceoftheproblem.”
why must pdfs be so terrible like this
00:58
political, aircraft, nice, math and some adj
those are my starting word
@att oh yeah, thats a good idea
att
att
feels boring if I have some optimized early game
i always just start off with top 1000 words from previous days lmao, i dont have any other ideas for words to put in
att
att
like with wordle I make an effort to use different starting words every day
01:00
yay!
Wordle 278 3/6

⬛⬛⬛🟨🟨
⬛⬛⬛🟨⬛
🟩🟩🟩🟩🟩
@AidenChow I start with whatever meme song I'm listening to/thinking about at the time. And if I'm not doing memes, I use whatever my surroundings are
@AidenChow whoa
@lyxal yeah same lmao
@AidenChow i can do that too!
Wordle 279 3/6

🟨⬛⬛⬛🟨
⬛⬛🟨⬛🟩
🟩🟩🟩🟩🟩
ok i put mines in scordle, i think i got kinda lucky
Scoredle 278 3/6

12,972
⬜⬜⬜🟨🟨 292
⬜⬜⬜🟨⬜ 9
🟩🟩🟩🟩🟩
oh wait different wordle lol
wait how are you still on #278?
tf kinda timezone you in?
01:02
@lyxal different time zone
@lyxal usa
the real question is why would wordle be time zone sensitive
att
att
what is scoredle
you're ahead of a
very large fraction of the world
down in nsw
@att scores how well u did on a certain wordle, the numbers mean, based on the hints u got and what words u guessed, how many possible words conform to those hints
looking forward to seeing if i can think of anything better after a workout
o/
01:04
so in my case, after two guesses, there were only 9 words left that conform to the hints i got so far
@AidenChow So if I have remote access to the other side of the world, I can play two wordles in reverse order?
att
att
i see
@UnrelatedString what a nerd actively staying fit smh
@Bubbler time traveller bubbler :p
@lyxal i thought nerds didnt stay fit
Because otherwise i can’t even identify as a nerd anymore
All I’ll have left is “loser,” “user,” and “boozer”
 
1 hour later…
02:17
@UnrelatedString i thought of one word and its similarity was 0.89
lowest i got before that was 1.76, which is surprising considering that word is spoiler
ooh 904
02:41
@user well you are user
i have 954 but can’t find it
and a 940 now
also a 993 :/
02:58
nice
my highest is still 939
and this might be the first time i've had multiple in the top 1000 that aren't top 900 lmao
The semantle was hard
I'm quite surprised "treaty" isn't high on the list, although "war" and similar not being on the list is reasonable.
I guess, yeah. The answer isn't one of those though, it's spoiler.
03:07
i'm not hovering that but what the fuck
okay then
this really is hard
0
Q: Expand a matrix goo-ily

JonahInput An \$m\$ by \$n\$ binary matrix, with \$m\$ and \$n\$ both at least 2. Think of the ones as gobs of melted cheese, which stretch as we expand the matrix horizontally and vertically. More precisely... Output A \$2m-1\$ by \$2n-1\$ binary matrix, constructed as follows... First insert rows of...

03:27
943...
69
and 993
03:46
Can't believe this is a real article
04:17
994
it took me 74 guesses to get that after 993
i gave 6 900+ now
have*
att
att
oh my
guess it's not as easy as it was for me lmao
I solved Semantle #55 in 93 guesses. My first guess had a similarity of -0.73. My first word in the top 1000 was at guess #44. My penultimate guess had a similarity of 31.75 (837/1000). semantle.novalis.org
lol
lol nice
@Niko incidentally, my first top 1000 word was 837
neat
@Niko i have 19
ayyyyyyyyyyyyyyyyyy
I solved Semantle #55 in 190 guesses. My first guess had a similarity of 12.45. My first word in the top 1000 was at guess #10. My penultimate guess had a similarity of -4.41. semantle.novalis.org
04:33
@UnrelatedString lmao penultimate guess has similarity of -4.41
:'D
@allxy ...bare infinitives are verbs
idek what a bare infinitive is lel
it's a to-infinitive without the to
@UnrelatedString oh alr that makes sense
so any infinitive, if u take out the "to", u can call it a bare infinitive?
ye
i zoomed out to screenshot all of my top 1000 guesses and by the time all of them actually fit they were too small to read
04:38
@UnrelatedString lmaooooo thats similar to the first semantle i did with "craft", soooo many top 1000 words
lmao
68 top 1000 guesses
@UnrelatedString sheesh, how many top 100?
19
excluding the solution
i was consistently on the right track the entire time, it just took me fucking forever to actually get the solution
@UnrelatedString yeah thats frustrating
also anyone smart in haskell know how to golf this: tio.run/##y0gszk7Nyfn/P00hxzYtPyclRyOmQqFS185Iq0K7UtNAIed/…
04:43
i feel like there must be a better way to do \x y->2*x+y
You can strip l on both sides for a starter
and you can use foldl1 to drop the 0 if you don't have to handle an empty list
@Bubbler i read that as simp l o_o
@Bubbler oh wait huh that works???
@AidenChow currying 😎
04:45
@UnrelatedString what does foldl1 do?
fold without initial value
@AidenChow actually it doesn't matter without l lmao
so any golfs on (\x y->2*x+y) or does that have to stay
i feel like pointfreeing it may come out longer
pointfree.io says (+).(2*)
@UnrelatedString ...idk how to do that lol
oh yeah you can just do that
@Bubbler oh that worked, idk how it works but it does
got too busy trying some (.(2*)) fuckery when that's not the order it applies in lmao
So f=foldl1$(+).(2*) for 17b, and you can discount f=
04:49
what does the . do anyways?
\x -> f (g x) is f . g
aka function composition
\x y->2*x+y
\x y->(+) (2*x) y
\x->(+) (2*x)
\x->(+) ((2*) x)
(+).(2*)
@Bubbler oh wow... i certainly cant ever think of doing that, thats cool
@AidenChow your haskell program in APL:
https://dzaima.github.io/paste#0S3vUNkHjUddibaPD0x91LdLUf9SzlytNwVDBAAgNFQwB#dVHBSsQwEP2VMhcTjKmiiHSpsIqHFXEF9@YKZtNpG@lOSjJV67I3b/6lX2KLol6EMGSYN/PevDGxJ5uUHVl2npKpQLmxniInnJtn4zgpkW0toGZuY5amHHrTNtqHKr14QQtqs0aufZHBzfx2AapGU2CI2QbOPTES7y36FiED07aNs2akSR@jp0liaxMict5xuXcCW7XyRZ9d3s6vdeTgqHJlL@4A1L4aAt7LrZwE5C6Q@FLGepwjpLw7vN@WA5uA6c3V4ckxKDg4AqlmeeFttx5E6Ar5osHxe9bPCgFr42hAzP9HVEh2QPxbf3L4fAZSOyIMC3zhHEJHoNzvSBvQMH53iZ1og2t5RyqnY7D5j6VmFbriVVeO626lnU@b1fCG5eCXfbRVDxYiFee1awrhpBJmPJ6Q@elm/lcGqL/pt1lTMdNPpulQB2wbY1GkS0orBR/vbyCl1I/e0cOSHnZhSbCVQk4@AQ
@Bubbler um if it can be empty list, what would this become
this? f=foldl((+).(2*))0
04:57
ok thx
05:10
to prepend some integer k to a list of integers l, is [k]++l the best way or is there a golfier way
@Bubbler oh yea that was obvious
05:41
@UnrelatedString Oh. I england good
06:08
@lyxal did you see this? youtu.be/oY8tZQsXbrA
I saw it earlier today
06:24
hey looki found the guy from MindYourDecisions
06:41
ok time to make another physics engine
huh my current one is private...
 
1 hour later…
07:42
CMC: Produce this fixed string: bebfjcgfdfijhjdcdiegcgeddidchjfaciiebjhbgjdjjdhfbaficajhejeefjcdahibgeagcigcaijj HINT: There is a pattern
Digits of pi
I've seen that one before
08:11
@Niko we have found the impostor
08:22
oh no
08:42
Thought this was software engineering
09:06
same lmao
a p5js game! dont let the ball touch the floor or ceil by tapping / clicking
https://dzaima.github.io/paste#0AwA#VVHRboMwDHzfV7AngsoCdKWaxlxNmva@X0iJ26YNIcIpHZr49yXQVpsUFJ/PPnyORhfRCSxsfh4i7YGBvJqjAdarKgS9T4VbAM8LT1pO6M4WWDJ1eVx3KBx@CNMLYsXyJfVf4ivHqVp24nIvVjtmEsu3oj7tu/ZsJFuWZZqneVKhJpz1/rB50PEp1FpZQrZepUNa5P5MRL8AUQ0L6KtZe9hAsXxODBS3xBuUVzjO4zTtmfCrQyKU/8f6CeYn28HyOM3TPwFfVuPkZXwIa9D3LrWL2EUZ2V54k0S3iHfYtD2yMN8tBwYvkS0ZndI9mtpTXi60P14rbHmk5PoEBLKtzw0ad13sp8aAWEx1p6yLgzJxJSEObfGEqKshPjhn6TXLamn4kSRq1XfcoMuMbTJbvhd8xYtMq60H/NbpBosQO/x22VH4B5z/MVGt0a2QoKVH95kOKCQX1qKRHwelJaNgJwrb8rvxtn8B
harder:
https://dzaima.github.io/paste#0AwA#VVHLboMwELz3K@gJo1ADUaiq0q0qRb33Fxy8aZwYY7GGFEX8e21IovZgeWf24dmxRhfRCSy8Xx4i7YGBvFqiEZ43VQgGT4VbAM8Ln7Sc0PUWWDJ3eVx3KBxuhRkEsWL9kvqT@MpprpadON@L1Z6ZxPKdqE/fXdsbydZlmeZpnlSoCZd5f7J5mOMp1FpZQva8Sce0yPNw5tSwAlGNKxiqZfr4DkHCU5kniYHixr6BJxY8LbKatif86pAI5X95l2DCvH5YfZp1DU/A19U07zQ9BDv0vUvtI3ZWRrZn3iTRLeIdNu2ALKi8cWDwHNmS0Sn9RlP7lB8X2h@vFbY8UnL9CgLZ1n2Dxl0N/tQYEIup7pR1cZhMXEmIQ1s8I@pqiA/OWXrNsloafiSJWg0dN@gyY5vMlh8F3/Ai02rnAb91utEixA5/XHYU/iOXN@ZUa3QrJGjp0V3TAYXkwlo0cntQWjIK60TBLe@NX/sX
09:39
why does JS have var and let, why not just let?
i know the difference between them...
isn't one of them way older
removing it could break a LOT of things
Yeah
I prefer to use let because I'd rather know that my variable already exists
Although I have tried to use var as a variable name once or twice when creating compilers...
well what is the use case, afaict let can be used in place of var everywhere
@UnrelatedString i mean: :%s/var/let/g /s
let disallows declaring something twice within the same scope
09:46
let a=1;let a=2;/*js hates this*/ and var a=1;var a=2;/*js loves this*/
Pretty much yeah
im learning js by the node repl and entering random stuff ...
wait wth
Try this, it's pretty good. It's meant for absolute beginners so you may want to skip a bit ahead
a=4 works without erroring?
@PyGamer0 I can think of at least five things about JS that would make you say that
@PyGamer0 Yeah, a in that context is a global variable
09:49
lol
@PyGamer0 direct variable definitions are ok in js
(Or a variable declared several levels above that one)
i use let
which is perferred, semicolons at end or not?
09:49
Your choice
My code's a mess of both with and without
@emanresuA ok since JS looks similar to C, i will use semicolons
what are backticks? are they like python f strings?
Do as you wish :)
@PyGamer0 Sorta like python f""" but with ${} instead of {}
ok
@emanresuA why dont these error? Array(10).fill(3);new Array(10).fill(3);
is the new optional ?
In this case, yes.
In some cases, no.
JS builtin constructors are weird
also how do i list(range(32)) in js?
09:54
@PyGamer0 always use semicolons
@PyGamer0 No neat way to do that, but [...Array(32).keys()] works
js semicolon insertion causes unintuitive bugs sometimes
very occasionally
@emanresuA i guess a function like range=x=>{let r=Array(x);for(let i=0;i<x;r[i]=i++);return r;} works like range with 1 arg...
for 2 args range2=(x,y)=>range(y).map(a=>a+x) might work...
10:09
range(y-x) right?
Functions can be variadic though
And you can do default parameters like in python
@emanresuA yeah i read a blog post rn
@emanresuA yeah im dumb
@emanresuA yeah but i dont know how
yeah in conclusion i used a bunch of yeahs
I'm not sure how to do default args with that either :P, you'd probably want to do y ? range2(x, y) : range(x, y) or somethiing
In JS, a valueless parameter returns undefined
Which is falsy
also i believe i can do (x=>x+1)(1,2,3)
10:19
Yeah, you can supply more than necessary args to a function
thats just plain weird
JS is nice in not erroring on a lot of things where other langs would error, such as out of bounds indexing and missing function parameters
what happens if i "sjsjsj"[100] then?
10:37
Ever wanted to see heron's formula fully expanded? Well you can now.
its shorter than what i expected....
11:21
CMQ: Should there be a single byte builtin for "mode / element with max occurence"?
@PyGamer0 think of it as saying this.a=4, except this is the global object thingy
11:47
@lyxal ^^^?
digraph
ok
die graph dieeeee
lmao
Yay I finally got the chance to do a review
now's your chance to do a [big review]
Wordle 279 X/6

⬜🟩⬜⬜🟨
⬜🟩⬜🟩⬜
⬜🟩⬜🟩⬜
⬜🟩⬜🟩⬜
⬜🟩⬜🟩⬜
⬜🟩⬜⬜🟩
11:59
@AidenChow where is the link for that

« first day (4073 days earlier)      last day (1066 days later) »