« first day (5027 days earlier)      last day (35 days later) » 

02:17
@lyxal I'm surprised you of all people were one of today's unlucky 10,000
03:00
@UnrelatedString why would I be the kind of person to know about pilk?
It feels like it's been a meme for a while
July 2020 was when I was doing practice for that hsc thing I mentioned the other day :p
03:19
Went on my first "official" date
Whoa
What happened
if I read the mood right neither of us really wanted to be there but had a mild amount of fun as acquaintances lmao
It did involve climbing through a window to get into a locked building
Any hangout with me on CMU's campus will eventually degenerate into trespassing
3
Why does that only barely surprise me
03:40
It always trips me up how >> and <$ are in the Prelude but $> isn't and << doesn't even exist (probably owing to being redundant with <*)
(even though >> is also redundant with *> :P)
04:06
Okay never mind he said he had a great time and wants to hang out again so I just have no awareness lmao
 
3 hours later…
06:54
@UnrelatedString oh what <$ is in prelude? I could've been using that instead of importing $> all the time
 
1 hour later…
08:06
I comment on a PR, and it says my comment will be made in an hour's time. I think Github doesn't understand DST
08:17
Same for me, but in my country DST ended several days ago
08:48
yeah, but Github might have ended DST today
 
4 hours later…
13:13
uff
i missed out on an hour of sleep due to forgetting DST exists
@rydwolf what on earth is pilk
don't google it
too late
please for the love of all things don't
No
gosh dang it
sounds disgusting
13:36
@Seggan lost?
that only happens when it starts
last I checked y'all in the northern hemisphere do dst when we aren't and vice versa
and we're doing it down here right now
at this very minute
DST is a thing that people are doing
I do not agree that it should be the case yet here we are
an extra hour into the future despite the fact we can already see 10 hours into tomorrow
@lyxal nope the time went back
So really you didn't lose any time at all
You got to be a morning person for free :p
Giving you access to pretty much every coffee shop because they're only ever open in the morning
Very annoying for when you're more of an afternoon person
14:32
@Seggan But I gained one...?
Actually one and a half because I fucked up and THOUGHT I'd lose one so I set my alarm forward 40 minutes
all I know is it was uncharacteristically bright out when I got up and the microwave clock said it was 9 when I got up at 8
14:55
@UnrelatedString i meant i woke up at my normal time, which is now an hour behind so i couldve spent that extra hour sleeping
its actually fortunate that i woke up earlier since i need to do some music editing for choir today
att
att
if you stay up through the time change do you still gain an hour
15:10
Out of context quote of the day: "Since most of us aren't giving Mo Farah a run for this money, isn’t plain old water hydrating enough?"
 
1 hour later…
16:23
Apoorva Shukla is spreading 100 rep bounties in every SE site using the trust initial. How to find out which site trusted it?
16:42
well, they only have two yearling badges, so the other sites must be newer
It obtained Association Bonus on movies.stackexchange.com/users/85345/… on Oct 13, Do Association give to self?
Oh
Yeah I don't think it does no
18:09
@l4m2 Yes, I'm pretty sure it does
 
3 hours later…
21:01
I love being outgolfed in my own language, feels good
Like, someone actually tried it, incredible
Sometimes I purposefully leave some low hanging fruit as bait
@ATaco it's all fun and games until it becomes a regular occurrence :p
Don't worry, nothing I write will ever see mass adoption
@mousetail'he-him' Is there supposed to be code there? I just see an empty code box and a warning telling me I have to log in to edit it
Sorry, there is not supposed to be code there, just low score
No need for eprintln!
CMC Write code that produces two distinct warnings
git clone {any of my codebases}
21:33
@mousetail'he-him' print(1 as? String)
@Bbrk24 what lang?
In Swift, this gives warning: cast from 'Int' to unrelated type 'String' always fails and warning: expression implicitly coerced from 'String?' to 'Any'
The latter warning happens whenever you pass a value of type T? to a function that takes Any instead of Any?
And actually the second space there isn't needed, it can be print(1 as?String)
@mousetail'he-him' Python 3.12, 7 bytes: 2or'\k'
produces SyntaxWarning: invalid decimal literal and SyntaxWarning: invalid escape sequence '\k'
The best I could come up with in Rust is {let mut i=0;} which warns that the variable is unused and that it doesn't need to be mutable
@emanresuA Ooh, interesting that that's only a SyntaxWarning in 3.12 when it's a full-blown Error in 3.11
21:46
Wait huh
Actually, better one: 0is 1 (SyntaxWarning: invalid decimal literal and SyntaxWarning: "is" with 'int' literal. Did you mean "=="?)
I only get the latter (3.10)
I'm guessing they tweaked the parser to be able to parse that, and downgraded the error to a warning to not lose either the slight added functionality or it still being Discouraged™️ (and remind people it's not backwards-compatible)
@emanresuA ooooh, nice
and your first example doesn't warn at all
again , this gives warnings on 3.12
@emanresuA ...Weirdly this one does work the same way for me on 3.11 as it does for you
Wait fuck I typoed the first one LMAO
Yeah the first one warns me about the literal but doesn't say anything about the escape
21:50
Oh I actually ran into the error when using a \k escape code when golfing recently, cost me a byte. Guess I should have just updated python
Hm, interesting.
I typed 20r'\k' originally :P
IIRC there are specific cases where 2or syntax is ambiguous with e.g. for comprehensions
@mousetail'he-him' Doesn't error or warn on 3.11
still a sad day for golfers
21:52
And I swear I remember invalid escapes also not warning on older versions
They used to be fine
since you can sometimes save on backslashes and/or the r prefix for regex stuff that way sometimes
Actually I think I did %k format string, not \k. I misremembered
I think that used to just warn
@mousetail'he-him' exactly 2 or >= 2?
According to SO it's a DeprecationWarning in <3.12 and a SyntaxWarning in 3.12+
21:53
@lyxal Ideally exactly two distinct, though you can have more of the same type
I'm not seeing the warning for '\A' either...???
Maybe it's a REPL thing
It does warn on ATO's 3.12, and it doesn't warn on TIO's 3.7
22:10
...I'm kinda shocked the implicit nulls are warning-worthy
from how many answers I've seen them in and not bothered to actually run and look at, I kind of assumed it was just completely intentional and idiomatic functionality :P
if for no other reason than that most other languages I'm familiar with just refuse to parse something like that at all
att
att
22:22
i think it's popular to allow trailing commas these days
so newline-separated lists have nicer diffs
@mousetail'he-him' vyxal 3.5 (in progress branch), several megabytes [proof: github.com/Vyxal/Vyxal/actions/runs/11629774401/job/…
@att Yeah that much is for sure
The main code (not the testing stuff) produces unused private member warnings and unused import warnings
Leading commas, though, not so much
att
att
yeah
I think it's reasonable to warn on those implicit nulls, it's not usually something people do on purpose
it definitely is intentional though reference.wolfram.com/language/ref/Null.html#17782
22:27
Ahh
So it's a "hey just making sure you actually wanted to do that but no shade" kind of warning rather than a "please don't do that but we won't stop you" kind of warning
Isn't there also that cursed mathematica golf trick where you can use implicit null as a variable in some situations
9
A: Mexican Hat Challenge, #メキシカンハットチャレンジ

Greg MartinWolfram Language (Mathematica) Plot3D[Sin@Norm@{,y},{,-4,4},{y,-4,4}] Mostly the obvious implementation, although Norm is a short way to access the square root of the sum of squares, and I did remember to save 2 bytes by letting one of the variables be the invisible Nulls before the commas (not ...

att
att
yep
fun fact, you can also override built-ins in the same way tio.run/##y00syUjNTSzJTE78/…
Oh
That's kinda cursed and kinda elegant
Maybe I'm just too Prolog-brained but Mathematica's approach to that kind of stuff has always seemed nice from the outsider perspective of having never tried to actually use it
10
Q: Create a grid as close to a square as possible

MartijnCreate a function or program that makes a grid as close to an square as possible You will be given an integer N as input, whole numbers (1,2,3,25, etc) The output must be a perfect rectangular grid of N letters as close to a square as possible The (wannabe)square must consist of one of the the ...

I don't understand why this was closed
it seems clear enough to me, other than the bonuses.
22:42
I think it's "clear enough" that "as close to a square as possible" means "with a minimal maximum side length", but I'm still VTC as needs details/clarity because the wording around the bonuses is a mess and we really don't need people necro'ing old challenges with pointless bonuses. — Unrelated String 7 hours ago
att
att
@UnrelatedString uhh what do you mean with respect to prolog
I admit that I'm slightly biased for reasons that fall outside actual closure criteria, namely feeling that the challenge is overall dated, but the spec is still really hard to pick apart and the bonuses affect the "core" in that regard too
@att Is Mathematica's homoiconicity not kinda like Prolog's?
I'm thinking of just editing it to remove the bonus for patterns. I have a solution I just finished with and I had no problem understanding the task, so I disagree with it being closed with details/clarity, at least.
I swear I remember Mathematica having some way to decompose a term like Prolog's =..
@noodleperson And that is what making a new challenge is for :P
att
att
my only experience with prolog is trying it a little bit when it was lotm
(i barely remember anything atp)
22:45
I like the idea of it and if anything it deserves better than being trapped in this weird legacy cruft
@UnrelatedString I guess I can just post a new one, sure. I'll sandbox it to avoid it meeting the same fate as its predecessor :P
That's the spirit :D
...lmao I didn't even notice this gem
1 X amongst all O's isnt really a pattern is it? We're all smart people. — Martijn Sep 25, 2014 at 12:38
att
att
uh what is =..
@UnrelatedString Lol
Do you think I should make the program take a character as input, or just use some arbitrary constant character?
@att The decomposing a term operator :P
@noodleperson I'm leaning arbitrary constant character
22:50
That was my first thought
att
att
oh
so like head(body...) -> [head, body...]
I'll let an array of some number in that shape be allowed too. Though at some point, it does become basically just "find the factor pair with the least difference"
1
A: Create a grid as close to a square as possible

emanresu AVyxal, 14 - 10 - 5 = -1 byte KIht‛OX¹Ẏẇ?ß∩⁋ Try it Online! Ẏ # Extend ‛OX # "OX" ¹ # To length of input ẇ # Cut into chunks of length Iht # Middle element of K # divisors ?ß # If the input (to rotate) is truthy...

att
att
there's Construct going the other way but I don't think there's something that does exactly that
22:55
truly an long ox moment
@att Interesting. Well, at least =.. goes both ways so what I said was more or less correct even if what I was actually thinking wasn't :þ
att
att
{a,b,c} is the same as List[a,b,c] so I don't think bidirectionality is possible on this side
but yeah everything being an expression is nice
@UnrelatedString So it does actually have requirements on what a "pattern" is (horizontally/vertically symmetrical up to inversion) but that does allow you to get away with a lot of abuse e.g. my vyxal
But yeah, although it could fairly easily be edited to clear it up, I'm not sure there's much point
@noodleperson Ah I see
23:36
@att real
@att Prolog lists are actually also headed terms--though it's not quite the same, since they're effectively cons cells of '[|]'(Head, Tail) rather than having all elements at the same depth
When I said "goes both ways" I meant T =.. [h,a,b] works just as well as h(a,b) =.. L
att
att
oh
🌈Prolog🌈
I can do Overloads in my lang but only through extreme jank

« first day (5027 days earlier)      last day (35 days later) »