« first day (4932 days earlier)      last day (207 days later) » 

00:17
;_;
22 hours ago, by Unrelated String
I always recognize her by the lambda, but come to think of it I keep getting you mixed up with lyxal
Oh yeah also I just happened to come out to my mom and it went great
00:36
🫂
@UnrelatedString like I said, tax evasion vibes
00:51
0
Q: Counterexampe to Shapiro inequality

LucenapositionInput: A positive integer n such that n is even and gerater than 12 or n is odd and greater than 23. Output: A list of non-negative integers that violates Shapiro inequality. More precisely, Let s be a list of non-negative integers such that the following code does not cause any errors (assume s ...

01:08
@UnrelatedString :D
nice!
01:19
mfw making an api for uni assignment, and I implement the same route twice
I HAvE aN APTITUDE FOR margarine. PLEASE GIvE ME TwENTy MILLIOn POUNDS OF margarine.
01:35
yall I think the secret message is vamargarine.vwynmargarine.
I was more going for NMP knockoff style text
because that's not New Posts
that's the New Loopholes feed
I cannot believe it's not butter!
@lyxal check matrix
@UnrelatedString oo nice that's great :3 🫂
is there a difference between butter and margarine
01:45
yes
@Ginger I already did earlier
Butter is dairy, margarine is made with vegetable oils
okay makes sense
@hyper-neutrino :3
Thanks!
02:28
@user HEY
i know when its me
also ive had a black pfp for the longest
*without changing it
i have become transparent
03:04
@hyper-neutrino what are you naming the kid
Sorry couldn't resist
💀
also i just realized theres a giant pfp next to the message input area
wait you just noticed this—
 
2 hours later…
05:30
Hi! I'd like to ask for feedback on my challenge in the sandbox:

https://codegolf.meta.stackexchange.com/a/26456/123885

Feedback of all sorts is welcome, but my main concern at this point is achieving a good balance regarding the flexibility of the input format. My current thoughts: I'd like it to be highly flexible -- to the point where golfers could exploit the flexibility to shave off bytes -- but not so permissive that it can be abused in a way that trivializes the challenge. In particular, I'm thinking about [this loophole](https://codegolf.meta.stackexchange.com/a/14110), and the [e
 
2 hours later…
07:44
0
A: Sandbox for Proposed Challenges

attvery wip but throwing a couple ideas here so I don't forget later inspired by https://www.nytimes.com/interactive/2024/07/29/upshot/olympics-medal-table-paris.html find weights that maximize a country's placement (does this already exist?) find possible placements of a country given all possib...

 
1 hour later…
08:56
@shapewarriort this feels like it's covered by standard loopholes pretty well.
09:07
this also feels like it'd be trivial to solve with a well-crafted regex but i haven't been able to do it with regex alone so i'll wait until you post it and do it in bash+grep
09:52
0
A: Sandbox for Proposed Challenges

bb94Distinguish between the previous answers answer-chaining classification restricted-source Produce a distinct value given any of the previous or the current answer as input. Challenge Write a program or function that takes in a string and outputs an integer between 1 and N, where N is the number o...

0
Q: Is this a valid Irish word?

bb94In Irish, most consonants are divided into broad (velarized) and slender (palatalized) variants, and the orthography marks them with neighboring vowels, which are similarly divided. This gives rise to the caol le caol agus leathan le leathan (slender with slender and broad with broad) rule – a me...

Can I have feedback on the following challenges?
https://codegolf.meta.stackexchange.com/questions/2140/sandbox-for-proposed-challenges/20704#20704
https://codegolf.meta.stackexchange.com/questions/2140/sandbox-for-proposed-challenges/20705#20705
https://codegolf.meta.stackexchange.com/questions/2140/sandbox-for-proposed-challenges/26461#26461
10:42
0
A: Sandbox for Proposed Challenges

LucenapositionFind all 10-digit numbers that contain all the digits from 0 to 9 that can be expressed as p²+q³ for primes p and q. Leading zeroes are not allowed.

11:06
Eyy let's goo 4d golf engine open sourced
11:29
@hyper-neutrino Dark Hyper has finally completed her revenge quest, and has returned to a light background. Something something color theory :P
 
1 hour later…
12:40
What do you think about this answer? codegolf.stackexchange.com/a/274578/108687
It measures its score in bytes using the Uiua SBCS, but adds an additional byte not regularly included in the SBCS.
Should it be counted using UTF-8, or is this an acceptable encoding?
imo utf
> # Currently only uses 235/256 available codepoints.
The Uiua SBCS does not use all 256 bytes.
it can fit
it can be scored as sbcs
thats like encoing using ascii and using the extra 128 bytes for Я or something
12:42
Well it can be but does this count as "language created specifically to solve the challenge"?
@Seggan only 235 out of 256 slots have a letter allocated
ÄŸ would be slot 236
same with ascii
ascii only has 128/256 allocated
I don't see what's wrong with that
isn't it a loophole?
so long as you have something that can actually read those bytes
@noodleperson by itself, no
12:44
They only add that byte to the SBCS for the purposes of this challenge
one could say it's analogous to flags
@lyxal But it’s completely ad hoc…
sure, but in theory, it's a different language to Uiua
Yeahhhhhhhh
12:45
@lyxal flags are not ad hoc
@lyxal ok but it's more like if you added -é" as a flag to solve that challenge in 0 bytes
@Seggan depends on the language
of course that's an extreme comparison but
It’s like a milder version of the -D flag stuff in C
its like submitting print("Я") and saying its only 10 bytes, putting Я into the 129th byte of ascii
12:46
Definitely somewhere on a slippery slope towards MetaGolfScript
@Seggan THIS
It's definitely on the edge of what's allowed
that's for sure
Yep
No disputing that lol
I'd argue that if you can make an interpreter that uses that codepage, it's valid
whether that counts as specifically made up, I don't strongly agree with that
is Python, 10 bytes: print("Я") legal then?
that's not python
12:48
CMQ: In JavaScript, I have {}4 giving 4, but what actually happens here?
@Seggan that's "Python but I made a custom interpreter for it"
…yeah what
@Adám I don't like that. I don't like that at all
How is that syntactically valid
@lyxal id argue thats "made up language just for challenge"
12:50
@UnrelatedString That's my question, but it works in both FF and Chromium.
it's two statements, {} and 4; the first one does nothing and the second one evaluates to 4, which is the final result of eval("{}4")
@Adám it's because {} makes a block in which code runs seperated by semicolons, then the second statement is the expression 4
Ah, so JS auto-injects a ; between them?
they don't need a semicolon between them because in that context the } always ends the statement
@Seggan if the challenge was "print the letter Я and only that", sure. But not if it was a challenge where printing Я was a small portion
@Seggan They simply wrote sbcs + ÄŸ so I don't think that's legal. That's specifically made for the challenge
I'm going to say they have to use either UTF-8 or rewrite the answer to not use that byte
Or use a SBCS that allows some kind of escaping for characters outside the range
Like every sane SBCS should have
Alternatively, an encoding scheme could be designed such that anything in strings is counted as UTF-8
@lyxal dont we also define languages by their interpreters?
12:53
@Seggan yes, but that's not a python interpreter
therefore "i made a new interpreter" == "i made a new language" == "language specifically for the challenge"
because it's not the official python source
@Seggan "i made a new interpreter" == "i made a new language" != "language specifically for the challenge"
this "interpreter" was made specifically for the challenge
In this case it's clearly specifically made for the challenge, you can't dispute that
I'm gonna leave a comment there
12:55
I wonder if there are any tools that take some JS and adds the semicolons that would be inserted at execution time.
@mousetail of course. I don't know how much it's MGS/"I made this up" loophole though
it's definitely a weaker case of it
@Adám eslint --fix could probably do that
MGS and LSftC are seperate loopholes
@Adám Yes, create en eslint config file with semi as the only enabled rule then run fix
@lyxal if we define languages by an interpreter, then this is a language made up specifically for the challenge
It's not a creative answer, and it's boring to just stick a character like that into the SBCS. But I'm not fully convinced that it's crossed the line from "separate language that we all roll our eyes at" to "delete it because it's cheating"
13:02
You could easily create a new SBCS that is equally short but allows escaping unicode characters
(Though I guess it wouldn't technically be an SBCS anymore)
thats just called... utf8 lol
UTF-8 except a different set is 1 byte
@mousetail Hm, why doesn't this complain about a missing ; between {} and 2?
Encode 235 chars as 1 byte then 0d236 + 1 utf-8 encoded char = utf-8 encoded char
@Adám Weird, it must be a parsing error where it sees {} as a code block even though it's an object.
If I do let a={}2; it errors properly
in expression position, juxtaposition is not allowed and does not trigger asi; in statement position, juxtaposition is allowed and triggers asi
13:08
@Seggan It wouldn't quite be able to be utf-8 since UTF-8 style encoding doesn't allow 235 chars with a single byte, would need to be a slightly different encoding
@mousetail what? it is a code block
Yeah there should be a semi between the code block and 2
wait no maybe i'm wrong the console interprets {}; as an object
oh does it?
hrm
i'd've thought {}; would be parsed as a code block because those are actual statemenets and therefore would have precedence over expression statements
13:14
ESLint 100% interprets it as a code block, if I put entries in the object it errors. But in the browser ist's an object
maybe it's a backwards compatibility thing, before code blocks were added {}; was an expression statement
but outside the console it doesn't even matter, you can't access the result of an expression statement, can you?
It could have side effects
console treates it as a code block for me
without the semicolon is a SyntaxError
@mousetail what? no it's empty
if it's not empty it can be disambiguated between code block and object
@noodleperson ..or maybe not.
I just pulled it up in ASTexplorer
13:17
I think noodle person is right, my experiment was flawed
thats for {}3
I think Prettier et al. don't think you should put a semicolon after a block statement I guess
astexplorer also says {}; is a block, but chrome console disagrees
@noodleperson yeah just like you don't in 99% of other c-like langs
you don't write a semicolon after a for loop body
so I guess it makes sense not to have one here
it's a little weird but makes sense
in fact in astexporer {}; is a block and then EmptyStatement
@noodleperson completely makes sense to me
Need more bracket types
13:20
![]
JavaScript is a little weird.
Keyboard layouts if programing language designers where in charge
@mousetail Ahem, you were saying?
Not enough brackets
@noodleperson Ohhhhh that is wild
13:29
Cool keyboard though
^
I'll always love APL keyboards just for existing
Can you buy individual keycaps? Would be funny to just have the T with the smiley and no other special keys
I should really pick up a little Dyalog. I've already picked up some J
@mousetail Hm, when we add new glyphs, we get individual "polyfill" key caps made. Maybe we have some.
@noodleperson I'll be happy to assist.
You activated Adam's trap card
13:34
i really want a custom made apl keyboard with the apl glyphs printed on the side but i can't find anybody who does custom keys with prints on the side
Shouldn't be too hard to sencyl and paint yourself
@RubenVerg Wait, the image I posted is custom and has print on the side.
you probably overestimate my manual skills but i can definitely try
@Adám do you know where it's made?
i remember emailng one company that mentions in their website that they only do large scale applications but got no reply, i guess they ignored me(:
or maybe they went out of business? website looked quite old
@Adám oh, no stencil here
Old photo
13:55
@Adám Do you have any recommendations for learning resources for someone who is already familiar with array programming but not all the particulars of APL?
I currently know Uiua quite well and J well enough with assistance of the NuVoc pages.
Just fixed my "Draw the Ukrainian flag" solution by... reverting the edit.
I also earned the Cleanup badge for this.
Removed my comment
 
2 hours later…
 
2 hours later…
17:52
@mousetail arguably the revision is slander
18:16
@mousetail no, but I fixed it.
@Adám i then fixed your fix :P
oops
19:15
@Themoonisacheese Good to know, thanks! Also good to hear that a regex-based solution might be viable for this challenge -- definitely not an approach I was thinking about, but hopefully it indicates that there's a variety of ways to tackle this challenge.
 
3 hours later…
22:39
@mousetail it's not slander if it's objectively true
Rust only has 547 ELO, while Java has an ELO of 711
 
1 hour later…
23:56
@lyxal okay so npm run dev doesn't work, but apparently npm start dev does
javascript ecosystems man

« first day (4932 days earlier)      last day (207 days later) »