« first day (2517 days earlier)      last day (2171 days later) » 
00:00 - 20:0020:00 - 00:00

12:00 AM
No clue
On-topic: Zacharý and I were discussing function application in the APL chat room and now I'm wondering if we ever had a Cartesian function application challenge…
I think so.
Nice! Are you planning on golfing it?
12:06 AM
yeah and actually getting values for a challenge
One of my favourite terrible things about Funky is for loops. It allows you to optionally have brackets when defining them, so both for i=0; i < 10; i++ {print(i)} and for(i=0; i < 10; i++){print(i)} are identically valid. However you don't need to pair the brackets either, so for i=0; i < 10; i++){print(i)} and for(i=0; i < 10; i++ {print(i)} are valid too. For reasons.
Ok cool, remember Push Pop Reductions
93 on ap calc and phys exam.... same teacher... wat
@WheatWizard what?
A: Tips for Golfing in Brain-Flak

Wheat WizardPush-Pop Redundancy This is a big one. It is also a little bit of a nuanced one. The idea is that if you push something and then pop it without doing anything you should not have pushed it at all. For example, if you want to move something to the offstack and then add one to it you might writ...

I see a few places this could be done for you
When you're done golfing go ahead and ping me we can compare.
@Christopher2EZ4RTZ Algebra or calculus based?
12:09 AM
@Zacharý calc
Lucky duck.
LUCKY??? I worked my butt off for that m8
That you HAVE that course at your school
@Christopher2EZ4RTZ You have a comment saying to remove a thing, is that supposed to be removed
12:10 AM
@WheatWizard when I remove the mod and square snippit from the code (top)
I'll be taking four courses at a college my senior year because the people at my school are idiots who only care about sports, yet still say they're "one of the best in the state".
there that is the core code + comments
Ah I see
I don't see many push pop redundency
12:12 AM
@Zacharý Isn't 4-5 courses the usual amount?
Physically going to the college
@Christopher2EZ4RTZ Look at the square and the mod
@WheatWizard i saw that right before you pinged :D
@WheatWizard I can't figure out how to pick the numbers for blum blum shub. I need values from 0 to 4294967295. You know any ways to find this out?
also golfed to 130 bytes not including the amount needed to push the amount of iterations.
Is it normal to take 4-5 courses at a college during senior year of high school?
Choose your two primes a,b so that ab >= 4294967295, then once you are done do the modulo 4294967295.
12:18 AM
@Zacharý not really, I took 1 and will take 2-4 in 2018
@Zacharý Ah I see, no I don't think that is normal. I don't know anyone who took college courses during high school. I had thought you mean 4 college courses during college
@Christopher2EZ4RTZ Seems pretty uncertain.
Is a semester of physics (algebra based) as a sophomore normal?
don't ask us what is normal
@WheatWizard I did
I think he means IRL, presumably
12:29 AM
@WheatWizard a and b are the p and q on the wiki page?
i took the square root of a random number i thought of and it was prime O_O
@Pavel I've seen lg used in a CS textbook for log base 2
@Downgoat A little late to that conversation, huh?
@Downgoat I've seen that too.
I was pretty proud of myself when I realised that math.log(2n) works in Funky.
why is brain flak so slow :((
Because it's very simple functions happening a lot, rather than a few complex ones.
12:41 AM
I have a answer that will get me million reps but i can't post b/c so slow I can't get answer
any idea on how I should run it for the test cases on this challenge?
@Zacharý I have replied to messages from over a year ago so this is not that late relatively
Can you give an example>
@Downgoat downgoat can be slow sometimes
@Zacharý Gimme sec to locate SE search sucks
12:58 AM
@DJMcMayhem is there a history of my last commands in vim?
@Riker Yes, assuming you mean ex commands and not normal commands
i.e. if I do itest<ESC>dd
@DJMcMayhem nope normal
In that case, no
Currently I exit vim with :wq!, and I think I'm doing something redundantly.
:q works fine :p
12:59 AM
But the dd will be in @. and the 'test' will be in ".
@ATaco Nah, that's totally fine. You can also do :x or ZZ
@DJMcMayhem what are those?
" is register, right?
and @ is cmd history?
Just a register
you can redo your last change with . and you can paste your last inserted text with ".p
is there a way to store command history in a register as I type then?
@DJMcMayhem ". isn't working?
1:11 AM
What exact sequence did you type?
@DJMcMayhem i'test'dd".
@Riker i'test'<esc>dd".p
@Adám did you get the Hanukkah hat?
Yes, he did
CMP: What was your first programming language?
1:33 AM
Python 2.
Unless you mean that I wrote.
@DJMcMayhem what exactly does ".p do then?
"read register for last command, paste that"?
if so, why does it not print 'dd'?
Pretty much
so then what's @?
Q: Test cases are missing on a [test-battery] challenge

Christopher 2EZ 4RTZThis challenge is a test-battery, where you need the set of test cases that the challenge provides. However, the test suite that you are required to use is missing, since the website has gone down. I want to answer the challenge, so what should I do?

Do quines need to be full programs? Can you submit a quine that's just a function?
1:47 AM
Yes. (function)
Ah, that's a shame. f=@write`f=[f]f()`f() is quite a bit longer than f=@`f=`+f
I say functions are allowed. (returns a string)
Hmm, I'm not sure how I feel about submitting the shorter variant however...
Posted both, saved my worries.
2:59 AM
Q: Let's write a Minifier

NeilBackground Minifiers are used, commonly, when serving JavaScript to your Web Browser. It is commonly used to reduce the number of bytes that have to be sent. Saving bandwidth is useful for obvious reasons. Some people use obfuscaters (that intentionally make code harder to read), I am not tal...

2 hours later…
5:02 AM
A: Sandbox for Proposed Challenges

JungHwan MinGolf Mathematica for me! code-challenge Mathematica is known for having built-ins for nearly everything, but because of this, it can be tricky to chop bytes off. Your task is to help me golf my code! Input/Output In: a verbose Mathematica code Out: a golfed version of the code Definitions ...

5:44 AM
True story: I was checking what I need to get on final and the calculator outputted this:
> You only need to score at least 56% on your final to get a 90% overall. Maybe you can just draw a flower on the test or something.
but last year I actually drew a goat on my bio final and I got 108%
2 hours later…
7:18 AM
switch(b) {
    case true: ...; break;
    case false: ...; break;
I just found this in production code.
@Pavel lmao where
7:34 AM
@LeakyNun I found it in the code of a webserver of the startup I work at
8:30 AM
A: Sandbox for Proposed Challenges

Bruce ForteVon Neumann Ordinals Tags: code-golf, printable-ascii, string Challenge Given a non-negative integer N do the following: if N is 0, output [] else, output [output of 0,…,output of N-1] Rules there may be a consistent (for all N the same) amount of leading & trailing whitespaces/tabs/ne...

Q: Does a letter fit inside the other?

CharlieDo you remember my mat properly grouped by colors? Yesterday I was looking at it and realized that some letters fit inside others. Example: a letter P fits in the place where the letter R goes. So here's a simple challenge: given two letters, return a truthy value if any one of the letters fit...

So are we officially not adding bytes for command-line flags anymore?
9:24 AM
I've stopped. I don't know about official
@Zacharý I was literally thinking of asking this a few hours ago. Great minds and all that. Anyway: QBasic!
@WheatWizard Ok, thanks. It's just a bit odd for me because Pip is kind of designed around the +1 byte per flag rule, and it's weird to get the functionality for free now.
10:23 AM
Q: Find the longest word in an array

DoggoI had a problem with Javascript finding the longest word in an array. So I was curious about what is the best way to find the longest word in an array. I have here an array with a bunch of words. var a= [edur, oot, taht, si, ,tahw, epip, rotaidar, a, htiw, uoy, kcuf, lliw, i, dna, hteet, ruoy, t...

Oh! I should totally add Switch/Case to Funky!
Does anyone else think that the above NMP would benefit from less (barely disguised) profanity in the example input? :P
Q: How many winners can a challenge have?

caird coinheringaahingI'm currently writing a challenge which forces people to work in pairs to participate in the challenge. However, this leads to the question, who wins in the pair? I'm thinking about (ideally) having a popularity-contest (don't boo until after reading the challenge), where a pair's score is the s...

A: Find the longest word in an array

Bruce ForteCommunity wiki for the trivial answers This shall be the place where the simple solutions should be gathered. Husk, 2 bytes ►L Try it online!

^ Am I doing this right or should the OP decide this?
10:48 AM
There are 2 upvotes, so... obviously right.
Yup :)
I just tried to upvote it too, why can't I upvote :S
Because it's your post...
I dislike the Trivial Answers list personally, but I'm not the majority.
@ATaco So just post your own answer instead.
Unless you meant you hate seeing it, then [...]
run document.querySelectorAll("[itemtype='http://schema.org/Answer']").forEach(x=>x‌​.innerText.contains('community wiki')?x.parentNode.removeChild(x):0).
11:12 AM
Nooo, what have I done.... Now I get code edited on answer for every edit :(
Can I somehow disable these?
Huh? Ah... it's your CW answer.
11:31 AM
Probably we can somehow get the Community user to own that answer? BTW... why doesn't our Community user have hat?
@dzaima Charcoal, 8 bytes: UOLθθ↘↥θ
1 hour later…
12:53 PM
Q: Multiple answers in a single post

AdámIs is acceptable to bunch together multiple answers in a CW post just because the challenge is trivial? See e.g. https://codegolf.stackexchange.com/a/151280/43319.

1:03 PM
@dzaima APL (Dyalog Unicode), 18 bytes: ⍳∘≢{1(819⌶)@⍺⊢⍵}¨⊂ (@EriktheOutgolfer: FYI)
@Adám wait how does enclose do that magic...oh wait I just got it before you replied >_<
@EriktheOutgolfer A f¨⊂B is similar to A ∘.f B but works on depth instead of rank.
@Adám oh and btw 17 bytes, there's a reason @⍺ is in the parentheses
@EriktheOutgolfer D'oh, nice! I'm so used to preferring over () that I don't even think of () except when I have to use it.
@Adám also btw for some reason I considered ¨ + a golfing anti-pattern that must be replaced with ¨ + lol
1:14 PM
@EriktheOutgolfer Yeah, that is a bit strange. I rarely use with constants.
@Adám ⍺∘f¨⍵ is shorter than either (⊂⍺)f¨⍵ or ⍵f¨⍨⊂⍺
but f∘⍵¨⍺ is not shorter than ⍺f¨⊂⍵
so it gets a bit confusing, given that you would normally want to restrict the use of function composition outside golfing
@EriktheOutgolfer Yes, but I'm most often in tacit mode when golfing, and ⊣∘f¨⊢ doesn't work, so I use f¨∘⊂⍨ instead.
@Adám yeah in that case you need to work around making one of the arguments an operand for any operator in your function, I don't think it's possible in tacit functions
and that adds to the confusion too
@EriktheOutgolfer No, tacit doesn't treat variable operands kindly. That's why it is nice that @ can take a function in terms of the right argument. If I designed APL from scratch I might design more operators to do things like that.
Guys, I'm sorry I created that CW answer.. I explained my decision here
I still feel that that one Jelly & my Husk answer belong into that CW but I can't control what others put there.
@Adám: I didn't mean to say that all other answers are trivial!
1:31 PM
I think there is no problem with doing that.
Dennis reopened it? Why?
@Adám hi
and hi everyone else
Ah, (new tag) . Let's wait for Dennis' answer...
@LeakyNun Hi Kenny.
@Adám nice hat
@LeakyNun Nice, ehm, planetary system?
1:33 PM
@user202729 I don't think it's exactly the same as the target question, it's referring to a specific answer not posted by OP of that respective challenge
@Adám lol
Q: Does a letter fit inside the other?

CharlieDo you remember my mat properly grouped by colors? Yesterday I was looking at it and realized that some letters fit inside others. Example: a letter P fits in the place where the letter R goes. So here's a simple challenge: given two letters, return a truthy value if any one of the letters fit...

this defines a strict partial ordering lol
nvm, W<->M
Yes correct. The relation is <=.
Let's say W = M...
1:50 PM
So... lambda is_built_in(submission): count(functions)==1. Anything with 2 functions is not considered built-in.
2:34 PM
Adám is hosting the last informal APL learning session of the year tonight at 18:30 UTC in https://chat.stackexchange.com/rooms/52405/apl finishing up the "APL primitive functions' marathon". See https://chat.stackexchange.com/transcript/message/41299896 if you don't have 20 Stack Exchange rep points.
[chat mini meta] Can "example" answer posted by OP not a serious contender?
@user202729 I think OP should include such an answer in the OP.
Q: Let's write a Minifier

NeilBackground Minifiers are used, commonly, when serving JavaScript to your Web Browser. It is commonly used to reduce the number of bytes that have to be sent. Saving bandwidth is useful for obvious reasons. Some people use obfuscaters (that intentionally make code harder to read), I am not tal...

^ @user202729
[another CMM] What should we do with hard questions? They often get less answers than necessary. We seems to have QotW or something like this in the past, what is that for?
Does PPCG have an Advent of Code leaderboard that I can join?
2:42 PM
@StephenLeppik Huh? What's that? I don't think so.
@user202729 QotW?
@Adám Not sure if I remembered correctly. But what about the CMM?
I don't think there's one because I'm not sure how many PPCG users know about it (though I did link to it in all of my Advent challenges), but I have a blank leaderboard that I'd be willing to link here.
@Adám question of the week
2:48 PM
Were you talking about Advent of Code as in adventofcode.com @StephenLeppik? I have a leaderboard that you can join (196727-a9963676) if you were talking about that :P
@HyperNeutrino yes that's what I meant.
ah ok :P
Now we just need more people to join it.
What is advent of code?
It's a site that releases a new challenge every day from Dec 1 to 25 (kind of like my attempted Advent Challenge Series, which was inspired by AoC)
you get stars for answering challenges, for a total of 50 stars (part 1 and part 2 for each day)
2:58 PM
@HyperNeutrino And what is the "code" (leaderboard)?
Instead of submitting code, it gives you an input and you give it the correct output; it judges the output rather than the code, so you could just do it mathematically (in fact, for one of them, I got lazy for the first part and did part of it by intuition :P)
@user202729 That's the join code for the leaderboard, so you go to the leaderboard section and enter that code for "Join a Private Leaderboard" (after sign-in)
@HyperNeutrino I've done that a few times actually.
Interesting. I usually do it using a program because I'm too lazy to think about the mathematics behind it but in that case, doing it mathematically was quite a bit easier than doing it programatically (which I had to do for part 2 :P but Linear Algebra yay)
A: Sandbox for Proposed Challenges

Shaun BebbersShow me your core On many 8-bit machines, it is relatively easy to output the entire core syntax of the built-in language, as everything required is in ROM and most 8-bit machines allow you to PEEK at each location therein, or otherwise easily access the ROM contents. Here's the complete syntax...

Actually, which challenge did you do it for?
3:02 PM
the one about an infinite hex grid with the lost child process
sudo hat reload
apparently that worked
I just converted all the coordinates into {(0,1),(1,1)}-coordinates, did normal stuff, and then converted it into all the axes and calculated the three possible Manhattan distances :P
well now that I have Fanatic and gold code-golf, I feel like I don't have enough of an objective to get to for PPCG anymore... suggestions for medium-term objectives?
I could go badge-farming because I have three bronze tag badges that I'm really close to..
carrot? hm?
Do you have Socratic?
3:05 PM
Not yet, but I'm not particularly close to that (44 challenges needed).
I've been going after that for a while after I realized that the Advent Challenge Series got me decently close to that
Not sure. But... why do you need an objective? ...
So that he stays on the site.
I suppose you could go for 20k
because otherwise I'm not particularly motivated to do code-golf stuff and if I don't do enough golf for too long I eventually might lose interest in the site and go inactive
Just go choose any thing you like, because bad suggestion will push you away.
Makes sense.
I've been depressively inactive recently
3:06 PM
that's true. I've thought of a few objectives but I was wondering if anyone here had a suggestion that might work for me :P
@StephenLeppik Hm I suppose that could work, I have about 4.2k left
I might just go get bronze right now because I only need 4 more score :P
Q: Google's Hopping Bunny

El'endia StarmanOn December 4, 2017, the Google Doodle was a graphical programming game featuring a bunny. The later levels were nicely non-trivial and they seemed like a great candidate for an atomic-golf challenge. Details Game There are four available moves: hop forward, turn left, turn right, and loop. E...

or any old unanswered challenge.
actually yeah I might go start another old unanswered challenge
I've done that twice so far yay
I just realized that I haven't seen OEIS on the hot question list for a while...
I have done that once.
Let's go remedy that!
This one is particularly easy.
3:09 PM
@HyperNeutrino just go for the objective to beat Dennis. That should keep you on the site for a while. :p
@NewSandboxedPosts Need more review.
@dzaima for ever.
(until Dennis got bored + {insert very large number here} years)
I mean theoretically I outlive Dennis (not to put this the wrong way :P) so all I have to do is keep golfing until I die (and hope I die from old age and not some other thing lol)
but yeah beating Dennis will keep me on the site for a while I suppose :P
@HyperNeutrino do you have actuarial tables?
(looking up what that is on the internet)
probability of death
sounds fun :P
Q: What is a trivial solution

LiefdeWenWhat constitutes a trivial solution to a problem on this stack exchange? Should there be a different rule for different languages (e.g. one token for very esoteric languages like Jelly, or just a built in property for C#)?

3:15 PM
wait what I just got another random secret hat (and then got a hat for having hats)
Theorem: You can't get exactly 11 hats.
@EriktheOutgolfer What is that?
@HyperNeutrino is it in the mse list?
I wonder what happens when a starred message is deleted... Anyone already tested?
@user202729 disproven: you can, although not forever
@Adám well, it doesn't currently exist here
@Adám it would be a lot like the fortnightly puzzle topic over at Puzzling.SE
3:17 PM
@user202729 IIRC it goes off the starboard and all stars are cleared
@user202729 Added.
@HyperNeutrino Ooh, interesting question. It clearly goes off the starboard, but how do you know if the stars are cleared on a message that doesn't exist? Maybe it takes the stars with it to Tumbolia.
(wherever that is o_O)
@StephenLeppik Yeah it is now, it was first triggered a few hours ago
3:37 PM
Q: Is this list balanced?

LaikoniTo check whether a list of non-negative integers is balanced, one can imagine putting respective weights on a board and then try to balance the board on a pivot such that the summarized relative weights left and right of the pivot are the same. The relative weight is given by multiplying the weig...

4:33 PM
@HyperNeutrino which one?
oh, the solscitice one is a secret? lol
@Downgoat what class?
@Adám tested it, loses stars but keeps pins
@Riker Wait, can you see deleted msgs?
@Adám yep, you can if you're an RO of the room or a mod
@Riker What does it mean for a deleted msg to be pinned?
looks like nothing
@Adám I can't see them in the main chat or anything, but the history button is there
4:37 PM
@Riker correct
I can see the history of deleted messages in here
@Christopher2EZ4RTZ hello @Christopher2EZ4RTZ, welcome to The Nineteenth Byte
While I have used stars and pins for a long time, I don't quite understand the difference between them. Someone care to explain?
pins keeps the post at the top of starboard until un pinned
@Adám Pins are pretty much super stars that only mods and ROs can use
Pins stay at the top of the starboard for 2 weeks
4:51 PM
@DJMcMayhem Can mods and ROs star?
chat is broken
@Adám Chat is fine, it's the users you have to worry about.
@Adám yes
there's a pin button and a star button next to each other
@AdmBorkBork If I try to pin my message which is on the starboard, I get a notification saying You have already voted, but the voting has been cleared by a moderator.
that's a known bug :p
4:56 PM
I stand corrected. Chat is indeed broken (or, at least, that aspect of it).
The top voted sandbox has just been posted
which one?
I spent a while reading it and fixing a few things
Q: Let's Play Mafia!

Christopher 2EZ 4RTZ Mafia (also known as Werewolf) is a party game that plays roughly like this: The game begins on day 0. After every day n comes a night n. After every night n comes a day n+1. i.e. D0, N0, D1, N1, D2, N2... At the dawn of day 0, a host secretly chooses players to fill certain roles:   Some n...

Q: Let's Play Mafia!

Christopher 2EZ 4RTZ Mafia (also known as Werewolf) is a party game that plays roughly like this: The game begins on day 0. After every day n comes a night n. After every night n comes a day n+1. i.e. D0, N0, D1, N1, D2, N2... At the dawn of day 0, a host secretly chooses players to fill certain roles:   Some n...

Q: Find Hybridizations

Stephen LeppikCovalent bonding uses so-called "hybrid" orbitals to form tetrahedral, octahedral, etc. formations out of the s, p, and sometimes d orbitals. Their naming conventions are pretty much the concatenation of the component orbitals; for example, the hybridization of the s orbital and one p orbital wou...

5:19 PM
@Adám Yeah
There are my options on mobile
Reply, permalink, star, flag, Pin, and Kick
5:45 PM
Does anyone have some kind of way to pick a random question on PPCG?
@FlipTack IIRC there had been a few challenges aiming for that exact purpose
Q: Suggest me a challenge!

YouI am too bored and want a challenge to solve. But I do not see any interesting challenges, and I am too lazy to search for one. Can you (Well, technically your code) suggest me one? I/O Input: None. Output: A link to a random open(i.e. non-closed) challenge("Challenge" excludes tips!) on PPC...

The SEDE answer is probably what you'd be best using
My cat has a beard now
Also, it just occurred to me that if anyone didn't know I was talking about Winter Bash, they would be horribly confused right about now
@DJMcMayhem I've had a beard for a while. It's the best I could make of hats :p
why can you flip a hat upside down anyway?
6:03 PM
why not?
@Riker good point.
6:16 PM
@AdmBorkBork thank you!
Announcement: APL learning session in the APL chat room in 11 minutes.
CMC: (possibly to main later) A simple number, is a number whose only prime factors are 2 and/or 3. For example, 4, 8, 9, and 12 are all simple, but 10, 15, 17, and 21 are not. Given an integer n>=2, return the distance to the nearest simple number.
If n is simple, you'd return 0
Interestingly enough, simple numbers are very common among small numbers, and exponentially more rare in large numbers
6 of the first 10 numbers are simple. (60.0 percent)
19 of the first 100 numbers are simple. (19.0 percent)
39 of the first 1000 numbers are simple. (3.9 percent)
66 of the first 10000 numbers are simple. (0.66 percent)
100 of the first 100000 numbers are simple. (0.1 percent)
(Found via python)
Huh? Simple numbers aren't prime (other than 2 and 3)
6:33 PM
@DJMcMayhem oh right, read the definition the wrong way around no wait I'm just stupid
It still makes sense though. If you think about it, the only way to get larger simple numbers is by multiplying larger powers of 2 and 3. Powers are exponential by definition
@dzaima I'm curious which way you read it lol
@DJMcMayhem honestly I have no idea. I think I just forgot what primes are :|
@DJMcMayhem Just out of curiosity, is 1 a simple number?
@Zacharý Uhm... Well for the CMC it doesn't matter, but I guess technically no because 1 doesn't have any prime factors. Or technically yes because 1 doesn't have any prime factors?
So... technically maybe?
6:40 PM
I guess the statement All of 1's prime factors are either 2 or 3 is vacuously true, so that would make 1 a simple number.
Or you could redefine simple number as any number that you can reach by starting at 1, and repeatedly doubling or tripling.
You can reach 1 in 0 steps.
Fun fact: 42 is the smallest number that takes at least 6 steps to reach
The first 8 numbers that have a larger distance than any number smaller than it are [2, 5, 14, 21, 40, 41, 42, 88]
A: Sandbox for Proposed Challenges

Pietu1998The Drunken Typist Background A fypist comes home afte5 some rough drinking and realoxes that an um[ottant letter stilo needs to br written. ^o mje sure he gets the text correct ge writes 6he rext charactef by character ro be wurenof rhe reault. However, ne still mahages to misssome og thekeys...

7:04 PM
@DJMcMayhem i.e. 3-smooth number
@LeakyNun Exactly
I didn't know that term until about 5 minutes ago when I looked up the first couple terms on OEIS
OEIS has so many sequences.
It even has the Dennis numbers for crying out loud
It doesn't have Distance to simple/3-smooth numbers, and largest distance to simple/3-smooth numbers
I doubt either of those are useful but :shrug:
@LeakyNun Do you think this is too hard for a CMC? Or for main?
Neither are Dennis numbers, but :shrug:
7:06 PM
@DJMcMayhem I think it would be a dupe for main...except if it's the 2017 new year challenge
Lol my maths professor has miscalculated the points for our tests, and some of us got 10.5 D:D
@EriktheOutgolfer Really? Of which challenge?
And why would that be a new year challenge?
7:10 PM
and why wouldn't it be a dupe if it's the new year challenge?
I foresee an ascii-art challenge for new year :(
@Riker because that's usually
I am so confused right now
7:12 PM
btw @DJMcMayhem possible duplicate
@EriktheOutgolfer so?
we don't have a character capsule this year
we've got a polyglot one and that's a bit too hard for a polyglot imo
Q: Is my Matrix Arrowhead?

Mr. XcoderDefinition An arrowhead matrix is a matrix that has all entries equal to 0, except the ones on the main diagonal, top row and leftmost column. In other words, the matrix should look like this: * * * * * * * * 0 0 0 0 * 0 * 0 0 0 * 0 0 * 0 0 * 0 0 0 * 0 * 0 0 0 0 * Where each * is any non-zer...

@NewMainPosts As usual, I wish to express my disapproval for downvoters that don't leave any comment D:D
@EriktheOutgolfer I'd argue the distance finding and the constant k makes it sufficiently different, but idk if anyone else agrees
@DJMcMayhem Brachylog, 13 bytes: ∧.ℤ≜;?+ḋd⌉<5∧
7:36 PM
I'm at a loss for words.
I have some code that looks more or less like this:
bool f()
    return true;
(This is c++ BTW)
And according to my debugger and throwing in std::cout everywhere, a() is being called and b() and everything after it is not.
How is that even possible?
a() ends the script?
Can a function cause the function calling it to return?
@Riker No, the program continues on as normal after f() finishes
@DJMcMayhem of course not
@DJMcMayhem minimal working example?
That's what I thought, but I can't figure for the life of me why this would happen
@LeakyNun The minimal working example would involve installing tons of libraries.
Namely boost::python
maybe a causes the program to exit?
7:40 PM
2 mins ago, by DJMcMayhem
@Riker No, the program continues on as normal after f() finishes
where exactly did you put cout?
Maybe a() throws, and something above f() catches?
@LeakyNun Before a, before b, before c... etc. after e.
ya that would work
Only before 'a' is printed
@DJMcMayhem maximal working example?
7:45 PM
@Zacharý Could you please update your tio link such that your code can be tested only by clicking "Run"? Thanks in advance.
@LeakyNun 400 MB and proprietary
@Zacharý um, your 0< is × in the post
I know, my computer wouldn't reload the changes!
try ctrl+f5 then :p
00:00 - 20:0020:00 - 00:00

« first day (2517 days earlier)      last day (2171 days later) »