« first day (3801 days earlier)      last day (1028 days later) » 

9:03 AM
@felipa here
 
Hi
@wasif Same
DSO - Do Stuff Online?
(Or Die SO)
 
@Razetime use eachleft or eachright
 
@Bubbler yup yup used it
 
CMQ: Most overrated post?
And most underrated?
 
@Ausername CMC?
Shouldn't be CMQ
 
9:12 AM
I have a code page done for my language
 
@wasif What do you mean ;)
 
@Ausername lol this has happened two times today
@PyGamer0 nice!
update on your room
 
already done
 
wow i have been mentioned 925 times
(in TNB)
 
9:16 AM
May 15 at 23:36, by Wzl
@ hyperneutrino please delete this username as a sock of lyxal
How dare you Wzl!
Lyxal's my sock, not the other way round!
@math Nah, keep code-golf.
@RedwolfPrograms You realise that's basically creating a phishing site for SE accounts...
 
@Razetime {|" x"x=/:!#x}
@cairdcoinheringaahing https://codegolf.stackexchange.com/questions/230509/find-the-erd%c5%91s-woods-origin I think the wording here might be a bit wrong (or confusing)

`output a positive integer a for which no element of (a,a+1,a+2,...,a+k) is coprime to a or a+k.`

should this not be coprime to a *and* a+k?
 
@rak1507 oh, so that's how you remove the parens
I tried using a : with | but that gave me an error lol
btw, bionformatics final round starts in 3 1/2 hrs
 
9:34 AM
ah cool
thanks for the reminder
 
9:47 AM
@rak1507 I don't think so. For an example of a similar sentence "Find a prime which has neither 2 or 3 in the digits". The negation makes it use "or" instead of "and"
 
it just sounded a bit confusing to me, at first I thought it was no element is coprime to either a or a+k
it can be coprime to one of them, just not both
 
Maybe "no element is coprime to both a and a+k"?
 
that sounds better to me
 
ngn
@Razetime no but there must be an improved version of it in dfns.dws
 
10:04 AM
hm where would that be hosted
 
@ngn it links to your github for the source code :)
which is the thing i actually want
oh wait
 
@math That's going to be very easy in practically any language
 
I can just directly inspect the code in RIDE
 
ngn
10:07 AM
@Razetime yes, it ships with dyalog's interpreter, so you can do )copy dfns and explore it
 
@cairdcoinheringaahing yes...
 
@ngn these names are too long to be ngn code
 
Allowing users to choose which characters are deleted means that you're only going to get "if 10, Code Golf, else Coding Challenges". Making it a pop-con won't exactly help either
 
a more interesting way would be if any characters are deleted, output Coding Challenges
 
10:10 AM
but I think that's a dupe of radiation hardened stuff
 
sounds like that recent nineteenth byte challenge
 
a little
 
I've found that making something a pop-con is very rarely a way to fix a bad challenge - it almost always just makes it worse
@Razetime I don't think so, changing behaviour on a specific byte being removed is different to changing behaviour if any byte is removed
 
@cairdcoinheringaahing Shall I make it the first character then?
or as rak107 suggested?
 
35
Q: Make a Geiger Counter

Wheat WizardA Geiger counter is a device that is used to detect radiation. We will be making a Geiger counter program. As we all know, when radiation hits a computer program it removes exactly 1 byte at random. So a Geiger counter program is a program that itself does nothing, but when any byte is removed...

could be a dupe of this
 
10:13 AM
Personally, I think rak's suggestion is the most interesting one. You run the risk of it being a dupe of other challenges, but tbh the other alternatives are either dupes or very boring
 
@rak1507 looks like a dupe
 
The thing with radiation hardening challenges, is that because of the "volatility", our dupe test of "Can answers be ported across?" often fails because the answers can't handle e.g. having to output something if not modified
 
yeah
 
Even if the core task looks very similar. I'd consider this to be a dupe of a "Output X. If modified, output Y" challenge if it exists, but that's a borderline dupe imo
 
I think I might take the risk.
It will get closed anyway if it's a dupe
Why is Redwolf's question undervoted? It's a great simple challenge?
 
10:24 AM
which question?
none of my recent questions have been easy
 
I mean Redwolf's
both R sorry
 
ah ok
 
Can you add a bounty for answers in particular languages?
 
yes you can
 
Cool
 
10:25 AM
go to the bounties with no deadline on meta
and write down your conditions and rep amount
 
That's a interesting way of doing it
 
or just put it up here if you're keeping it for a short time
 
@Razetime what is that code?
 
answer to redwolf's recent question in K6
 
I want to see more Julia answers
What is K6?
 
10:29 AM
do you know the K language?
 
CMC find median of 5 ints in C
@Razetime vaguely
 
it's array language in the same vein as APL and J
 
Ok
 
except it simplifies a lot of concepts found in those
 
Got you
 
10:30 AM
in order to reach max speed and conciseness
 
Spoed?! :)
 
K6 is one of the dialects of K that's been implemented(that website and implementation is by ngn)
 
Sounds good
 
K9(codename shakti) is the latest one and it's really really speedy
and very well designed
 
If I pose a challenge for the median of 5 numbers it's going to be quite trivial for all high level languages but interesting for the low level ones. Is that ok?
 
10:36 AM
there's already a median challenge
 
@lyxal Can you explain how @a:3|+ ; 3 4 @a; is meant to work? With the inputs [1,2], should it be returning 3, 7, 4, 5, what?
 
Good thing about CMCs, is they can be simple modifications of already existing challenges.
 
why would limiting it to 5 elements change it
unless there's a different criterion
 
It being in C and exactly 5 elements makes it, relatively different?
The point is, there's not exactly any rule preventing duplicate CMCs.
 
in bf it'd be drastic, sure
 
10:38 AM
I'm not actually sure an efficient way to do it without implementing a simple sort
 
CMC: Write a regex engine in bf.
 
Limiting to 5 means there is a solution using only 6 comparisons between elements
 
ooh, I'm close to 1e6/8 rep
 
@Ausername CMC: Dont write a regex engine in bf
 
@PyGamer0 Wait so you have to and I don't? Sounds good!
 
10:39 AM
ok
 
29
Q: How do I calculate the "median of five" in C#?

GantThe median of five is sometimes used as an exercise in algorithm design and is known to be computable using only 6 comparisons. What is the best way to implement this "median of five using 6 comparisons" in C# ? All of my attempts seem to result in awkward code :( I need nice and readable code w...

 
@PyGamer0 BF, 0 bytes. ``
 
That seems to cover it but not from a golf point of view
 
ah so there is an algorithmic restriction
 
BF: 3245 bytes TIO
google is amazing
someone made it
 
10:42 AM
I fell for it.
 
Nice try
I hover over links before I click
 
Although, There is a C > BF transpiler, and a C implementation of regex.
This means that there is a simple to build solution
 
And I think there's a BF interpreter in CGoL, so we can have regex in CGoL!
 
Wait that's a rickroll
 
10:45 AM
BTW, I made an extension to prevent from getting rickrolled.
 
Nice try
I'm not clicking that
 
me too
 
don't you dare link shortener any of us
 
Yeah, use link longeners
 
and this mf using surge sh
 
10:46 AM
Did my "meta consensus" fool you?
 
(yes)
 
@Ausername yes it was a meta link
 
I've seen 20 surge links in the last 2 days
 
@Razetime I've had that for a while, it comes in handy
@Razetime How?
 
@Ausername you
 
10:47 AM
I've only done 2 or 3.
 
there are more people doing it yknow
 
Oh lol
 
do you really think I'd click any link you give me
 
No
But other people might
 
Honestly I probably wouldn't even click on a legit link
 
10:48 AM
 
Remember friends, assume any link you see on the internet is Evil and trying to do harm
5
 
How did you get that? I thought that was legit...
 
see
never click links
 
ShadyURL is a service which provides link suspiciousifying
 
 
10:50 AM
Nope
 
god how long is that link
 
Yeah, not even gonna click that one
 
I'm just going to reverse rickroll everyone by pasting legit links.
 
okay that's enough
 
And now I shall go work on Jyxal
 
 
Y'all are bad at this
Smh
@Ausername looks like a bug with variable scoping
 
@cairdcoinheringaahing @RedwolfPrograms pls help there's so many bogus links
 
^
I'm all for rickrolling but now it's too obvious
 
It's moving from clever attempts to low-key spam
 
10:58 AM
From now on all my links will be TNB
@lyxal Wait so what is it mean to do, by your spec?
 
@Ausername this: Try it Online!
 
I'm hovering over every link now
 
@Ausername It seems like it's not taking the implicit input
Example: Try it Online!
@math it'd be too cheap to attempt it now. Y'all've crashed the value of the rickroll
The market won't recover for at least a few hours now
It'll probably take a day before rickrolling reaches its regular value
See, the joy of rickrolling obeys the rules of supply and demand.
 
I'm going to give up on that for now and fix the SBCS thing so it counts bytes in UTF-8 if you use a character not in the encoding.
 
@lyxal we need to reach a billion
 
11:04 AM
@math well if y'all keep increasing supply, the reaction from people won't be as funny
 
yeah right
 
Because if every second link is a bait and switch, people will expect it
The value of the rickroll comes from its unexpectedness
This is just basic rickroll economics @math
 
did I just reverse rickroll you?
 
I didn't even see the link
Look, here's a diagram that demonstrates my point
 
ok
wait i'll do a better one in desmos
 
11:18 AM
As you can see, when the market is flooded with fake links, the ability to say "haha you got epicly pranked, aren't I such an epic troll" becomes increasingly harder and has less value and weight among the community
Here's the number one takeaway: don't be a sussy baka by devaluing the rickroll further than doge coin.
"Rick low and roll high" as they say at Dankford Universityâ„¢
 
11:32 AM
@lyxal I made a graph: desmos.com/calculator/q9crvwjkwe
The sin wave is for randomness
@lyxal The economics of Rickroll as a maths function
 
11:48 AM
Vyxal will now count your bytes in UTF-8 if you have any non-Vyxal bytes.
Who invented the Sandbox?
 
12:04 PM
0
Q: Recognizing it's prime with a regex

AndrewTheCodegolferThis time, you are working on a regex. Your regex is meant to approximately full-match the base-10 representations of primes 0 <= p < 1000, while ignoring anything else. You can fullmatch 2, 53 or 419, but not 0, 82 or example. The approximately is important -- you don't need to match every prime 0

 
@Ausername fixed
 
yes
 
They changed it :(
 
but I still downvoted
the sandbox's great why not use it?
 
@math I'm almost positive it's a dupe, but I haven't been able to get to my computer (and so my good dupe finding tools) today :/
 
wait i'll try
but I'm not 5k yet so I don't think I can report dupes
I'm using a userscript
 
12:37 PM
You can flag it as a duplicate, it'll get sent to the review queues (and it's 3k to VTC)
 
@Ausername Why not UTF16? Vyxal has many characters outside ascii
 
I'm tempted to hammer it closed as a dupe of the "Is it a prime?" question. Multiple answers to that use a regex that has a 100% accuracy rate
 
disagree
the 90% accuracy could make it interesting
 
6
Q: Console print a bar graph

SpencerThe objective is to print a graph from an array of numbers, of the design below. Printing the X and Y scale exactly as in the "design", with padding, is part of the challenge. The input array of numbers can be of virtually any range of integers in X and Y, but not 0 and not negative - though I wo...

this is harder than redwolf's question
 
@pxeger But does it? If there's a short, 100% accurate regex already, the challenge is basically over
 
12:46 PM
hmm yeah
 
I'm pretty sure the general policy is that if answers from one question can be trivially ported to a second question, then there's a dupe somewhere
 
The problem is that a lot of the answers to is it prime? use unary I/O
 
the way it's worded it also seems like you might actually have to reject primes over 999
 
@cairdcoinheringaahing Do you think that's a dupe?
 
@math The one you linked for Redwolf's? No
@UnrelatedString Yeah, if that's the case then I don't think they're dupes. I've asked OP in the comments
 
12:55 PM
CMQ: What is your favourite font and why?
 
wait a sec
opening word
Cambria Math
you know why
 
why
 
@wasif you've almost certainly misunderstood. I believe the "match or ignore 90%" is referring to a regex either matching or not matching a given string (so it should have a 90% success rate), not that you can ignore 90% of the inputs and only match 10%
 
@PyGamer0 Fira Code
 
@PyGamer0 comic sans
 
12:56 PM
@PyGamer0 math
 
here's a python script I made to test it
I think this is how it works
 
@math oh
 
Why do I like comic sans? Because it gives you a bad time ;)
papyrus would be my second favourite
 
@lyxal why actually comic sans is nice
 
and then third we have avenir next
 
12:57 PM
@PyGamer0 Wingdings 2
 
@PyGamer0 Iosevka slab, because it's simple and condensed
 
@math somebody missed the undertale reference ;)
 
@user Ask Lyxal
 
@lyxal ooh that does look nice
 
Don't even text me if you don't use Wingdings 2 font
 
12:58 PM
@lyxal undertale characters
 
@Ausername according to my script your regex only correctly matches 898 not 900
 
@user because utf-16 is horrible
@PyGamer0 correct
@pxeger I know
 
but it could be wrong
 
@Razetime same but i use a custom sans version (its soo customisable)
 
@cairdcoinheringaahing okay Dr. Gaster
 
12:58 PM
@rak1507 Link?
 
what's the full form of CMQ?
 
@math Chat Mini Question
 
Coding Monday Question
 
CMC: Print the full meaning of CMC
 
@pxeger ok that's better
 
12:59 PM
@lyxal Cthulhu Makes Cookies
 
@lyxal Chat makes Cookies
 

« first day (3801 days earlier)      last day (1028 days later) »