« first day (4890 days earlier)      last day (249 days later) » 

05:49
Ever wonder what it'd be like if instead of using names like Sunday, Monday and Tuesday we used butter brand names to indicate what day it is? Like today might be the Lurpak the 18th of Cheddar, 2024. I think that would be a fun way to do dates and could even lead to improvements in calendars. Let me know your thoughts on this.
 
3 hours later…
09:19
Lyxal stop being American it's very much the 19th both in Australia and UTC
NP might be using 0 indexing
Bet you didn't think of that did you.
09:35
@NewPosts french revolutionary calendar moment
 
3 hours later…
12:21
is NP the dairy queen
 
2 hours later…
14:28
0
Q: Minesweeper Board

HaDongGiven a Minesweeper density map of size \$m × n\$ where \$m,\$ \$\$ \$n > 1\$, generate the corresponding mine map where: \$1\$ indicates the presence of a mine. \$0\$ indicates no mine. Test Case [8, 8] # corresponding to m × n where m is number of rows, n is number of columns Density Map: 0 ...

@hyper-neutrino Can you comment on a closed post?
If not, then maybe force-ping @@HaDong and ask them to use the sandbox.
mods can indeed comment on closed/deleted posts
Then maybe comment to use the sandbox. They closed the post so fast that I didn't have time to.
Anyone can comment on a closed but not deleted post right?
Jun 15 at 5:15, by Sandbox Posts
0
A: Sandbox for Proposed Challenges

HaDongMinesweeper Board Given a \$m × n\$ Minesweeper density map, generate the mine map where \$1\$ stands for a mine, \$0\$ stands for no mine. Test Case [8, 8] // corresponding to m × n where m is number of rows, n is number of columns Density Map: 0 0 1 1 0 0 0 0 0 5 2 2 4 0 0 0 0 5 0 2 3 0 7 0 3 ...

14:38
oh
@mousetail Sorry, I meant deleted
They seem to have also defaced their sandbox post for some reason before deleting it
Their profile text reminds me of someone who recently attempted to vandalise their own post.
I wonder if comments on deleted posts onebox in chat
no, they do not
That would allow the <10K plebs to see it
@Adám It's literally just the same account
No sockpuppetry involved
14:58
i left a comment letting them know they can ask for a review in this chat room
 
1 hour later…
16:14
CMC Given a list of numbers, output the smallest divisor so each number mod the divisor is unique
16:28
@mousetail The numbers have to be unique then.
Yes you can assume the numbers are unique
And I assume everything to be strictly positive integers
@mousetail APL (Dyalog APL), 19 bytes: {⊃⍸∧/≠⍤1⊢⍵∘.|⍨⍳⌈/⍵}
@mousetail APL (Dyalog APL), 17 bytes: {⊃⍸∧/⍤≠⍤|∘⍵¨⍳⌈/⍵}
bah, I forgot to visit 4 days ago
17:12
CMC Which 4 floating point numbers with absolute less than a million give a sum furthest away from the true value in your favourite programming language?
You should either use a built-in sum function or the simple one where you add the numbers in order
@Simd The true value?
In many languages, the true value cannot be compared with a float.
Other than those, languages will use either one or negative one for true, and thus the answer is 4 duplicates of the float closest to ±10⁶.
@Adám you can compute the 64 bit sum exactly by for example using math.fsum in python or mathematica online
I don't know what that means.
@Adám consider a real number and round it to the nearest 64 bit float
Sure, but how does this address the question you replied to?
17:38
@Adám Sorry I must have misunderstood . Is the question clear now?
@Simd No, what do you mean by "furthest away from the true value"?
@Adám abs(sum-correct value) is as large as possible
But what is "value"?
For example 1e19+0.5-1e19 equals 0 in python
The correct value is 0.5
Why is the correct value 0.5?
17:50
Of course 1e19 is not less than a million
@Adám x + 0.5 - x = 0.5
Oh, I think I get it now. I completely misunderstood what you meant by "true value" (namely "true sum"). I thought you meant the value used by my language to represent a Boolean True.
Sorry for the confusion!
@Adám force ping?
Mods can ping anyone in any chat room, even if they've never been there or don't have access.
18:16
(you may have heard it referred to as "superping" which i think is the formal terminology)
but yeah we can ping any user in any chat room even if they don't even have a chat account; one will be forcefully created if we superping them
the most important part usually is just that we can ping users who haven't visited the room before or who have not been in the room for too long and can no longer be pinged by normal users — also it immediately notifies them unlike normal chat pings which wait for the user to not see it for like 15 minutes or so
18:29
@Adám I don't think that can be right
19:15
@Simd Sure it is, for how I understood your challenge at first.
@hyper-neutrino whoah
@lyxal But then it should be the 18th of Cheddar, 2023
20:11
no, since the epoch is 1970
 
1 hour later…
21:31
@Adám I am not sure how to turn it into a challenge
@Simd What, your CMC as now understood, or what I initially understood?
@Adám as now understood
Then you already did. I personally don't find it particularly interesting, but it is a clear enough challenge as-is.
I meant on main
I don't see much of a difference, but by all means, put it in the sandbox and ask folks.
22:31
@hyper-neutrino it also allows you to ping yourself without needing to do a self reply
Which is always funny
the more I think about the set theory based esolang idea the more I think I'll need a full mathematical system to implement it and I can't just go with lazy lists
like, how do I implement the Cartesian product of infinite sets in an useful way?
hmm, maybe diagonally?
22:49
Fairly certain that's how we do it in Vyxal
Both 2 and 3
@RubenVerg vyxal 2 implementation of what I believe is this: github.com/Vyxal/Vyxal/blob/version-2/vyxal%2Felements.py#L1465
@RubenVerg complement reference?
@RubenVerg Vyxal 3 infinite case: github.com/Vyxal/Vyxal/blob/version-3/…
@lyxal wow this is ugly
@Ginger wdym?

New set language

Dec 2, 2022 at 17:56, 3 hours 23 minutes total – 323 messages, 9 users, 0 stars

Bookmarked Dec 2, 2022 at 21:52 by Seggan

@RubenVerg inline generators :)
And having to handle lazylists ourselves because there's no nice single class in python that does it
23:00
@Ginger read the first few messages, interesting idea but not really what I was thinking of
I think cartesianProduct does what I want, no?
the thing about finite indices plus the impl mentions diagonals
23:18
@DLosc only the day is 0 indexed

« first day (4890 days earlier)      last day (249 days later) »