« first day (4854 days earlier)   
00:00 - 07:0010:00 - 21:00

12:05 AM
@lyxal Ooh I just noticed I got that notification at the same time you did lol
 
nyt eating bugs fr
TIL Amazon themed Canvas?!?
 
@Seggan Tbf the people I live with aren't family either :p
@user Turns out I needed to do is None not == None
'cause Python lets things be all woogly
 
oh yeah
python do be like that
is None is how you check for None
yeah
 
okay i thought i clearly remembered the challenge being exactly this with pipes and all but maybe i'm just thinking of this
 
12:20 AM
@RydwolfPrograms Oh, that makes sense, you can override __eq__
Does None == foo work?
 
is None is the pythonic way to do it though
 
@RydwolfPrograms Not to mention the fact that people keep using me as a scapegoat for all the mistakes they make
User error my ass, it's a you error and you know it
@lyxal Yeah I was just curious if Mypy understood that None.__eq__ would work
 
There's whole fields of study dedicated to you too
 
God, I hate those creeps
 
Must be invasive dealing with all the "user experience" people
 
12:23 AM
I do not want people interacting with me
 
you enjoy it
otherwise you wouldn't do things like sneak into my word documents
 
See those are interactions initiated by me
 
@user besides, you literally gave me permission to blame you
 
I don't want other people studying user interaction
@lyxal That comment wasn't directed at you
 
ah
do I get a blame pass?
 
12:26 AM
I'm fine with being blamed for Australia's wildfires and all the death and destruction they cause, I'm not fine with being blamed for people entering invalid input or whatever
@lyxal Sure
 
:D
 
You can git blame me anytime
 
I'll make sure to blame all input failures on you
I'll also make sure to blame you if using the Play framework for my uni architecture assignment goes wrong :p
given you introduced me to Scala and all it entails
 
Oh hey Play finished the Pekko migration, nice
@lyxal "all it entails" sounds so ominous
 
12:40 AM
It's not as if all Scala programmers eventually spiral into depression and offer themselves up to Lord Nyarlatothep to power the Scala compiler
 
1:00 AM
Sandbox posts last active a week ago: Anti Tic-Tac-Toe
 
...is moin a misspelling of main in this wiki.python.org URL? wiki.python.org/moin/Generators
Oh wait no apparently it's just the platform they use to host the wiki lmao
 
ooh you're getting into generators
those are some of the best things
 
1:24 AM
Super cool, but also super weird
 
and potentially funky
and not always easily portable either
 
wait how does a builtin python feature get unportable
 
when you start doing funky mutation/state related things
portable to other languages I mean
 
@lyxal fwiw there is a library to add algebraic effects to Scala
Only it's not maintained anymore, afaik (the designers created a whole language: effekt-lang.org)
 
1:35 AM
even then, a simple 22 line python generator becomes a nasty looking 69 (nice) line lazylist unfold
which requires a Tuple5
([BigInt, Option[BigInt], Option[BigInt], BigInt, BigInt])
 
No I mean, with algebraic effects, you basically get generators
 
do algebraic effects add suport for continue and break?
 
You can already do that (jankily) with exceptions
 
Well that's the bloat part
It makes the 22 liner a 69 liner
 
The lyxal I knew would've considered that a pro
Who even are you?
 
2:01 AM
What do color on sandpile.org mean? e.g. #E0C0C0 mean unavailable on x64, #B0D0D0 mean only on x64
 
2:13 AM
@user code golf trumps funny
It's what we (are supposed to at least) do at the end of the day
 
 
2 hours later…
4:12 AM
@lyxal Pish-posh, next you'll tell me the goal of chess is winning so I shouldn't take every en passant I see
 
Funny you mention chess
I'm currently designing a neural network to play a chess variant
 
Ooh, what's the variant? (and the network?)
 
My friend in comp sci made a game he calls "cursed chess" (a lot of the cursedness was discarded as it actually became playable), which features merging pieces pretty heavily (there are 59 distinct pieces possible as a result, ~50 of which are slightly different combinations of the basic ones)
 
Ooh
 
And his approach to making an AI to play it with more traditional means wasn't very fruitful, so I'm basically making a ghetto-AlphaZero for it
 
4:14 AM
Knook?
 
It takes some brain wrapping to understand the merging rules, but once you get them they make sense. Basically, every mergable piece has a "base" piece and possibly others which have been merged into it. So if you move a knight onto a bishop, you'd have a base knight merged with a bishop. Then if you move that onto another piece, you add its base piece (and only its base piece) onto the one that moved
There are special cases for pawns (and a variant of pawns, "flankers"), which turn into various levels of "scouts" (which, at level 3, can eventually move in a 5×5 grid arbitrarily), knights which merge into "smilers" (knights but 2-4 instead of 1-2), and rooks merge into "catapults" (only move side to side, can capture ahead a fair distance without moving to the captured space)
 
I love when you start reading an article and the grammar is terrible but from the first sentence you can tell it's gonna be extremely useful
 
@user why would I do that?
It's literally the rules of chess
I can't tell you to just break the rules of chess
 
6
A: Sandbox for Proposed Challenges

Dannyu NDosDisplay integer in balanced base-ϕ Objective Given a positive integer, display it in balanced base-ϕ numeral. ϕ is the golden ratio. Balanced base-ϕ Unlike the usual base-ϕ that uses 0 and 1 as digits, balanced base-ϕ uses 1 and -1 as digits. -1 is written T as a shorthand. To ensure uniqueness o...

This edit is just a duct tape but whatever
 
4:34 AM
my respect for svelte just went up 2 million percent
on the home page, they have an examples section
nothing special
but clicking on the more examples box leads to something I wasn't expecting at all
> Dynamic Attributes
 
@RydwolfPrograms I see, interesting
 
 
2 hours later…
6:45 AM
svickrollte
 
00:00 - 07:0010:00 - 21:00

« first day (4854 days earlier)