« first day (2424 days earlier)      last day (2419 days later) » 

1:00 PM
@EriktheOutgolfer That would mean the sorted array is [nothing, 1 and 1] wouldn't it
 
at least jelly has the builtin...we can't say the same for 05ab1e
@Neil is there any chance yours is D{Q1ÝQ?
 
Chat search is broken, it only finds things from 2011
5
 
@Fatalize O_o
 
no, currently D`›D≠‚
 
1:03 PM
@Fatalize It's happened before IIRC, forgot what they were doing last time
also chat search is broken so can't look for the message I'm thinking of lol
 
@Neil 1 byte shorter: `›1ÝÊ
 
All your 3 examples are the same length if the stack is empty (so D isn't needed)
 
sorry, the D was for something else
 
@EriktheOutgolfer Would the 4 byter ā<Σè work?
Sorry for the misping
 
@Mr.Xcoder yeah, that's a nice one
 
1:07 PM
@Emigna Thanks! I barely know 05AB1E though :D
 
@Mr.Xcoder I don't think that works
tried it before
oh wait it should work for 2 elements
but still 5 bytes if you're going to need trailing }
 
@EriktheOutgolfer I think it works for any list.
 
oh...maybe my tests were wrong then
 
doesn't seem to work anyway
 
We use 05AB1E has summoned Riley :D
@Neil Huh?
 
1:09 PM
@Neil what does it fail for?
 
@ASCII-only Huh?
 
umm, it looks like it's working
 
well, it seems to mutilate the stack
 
@flawr ikr
 
never mind :/ wrong way around
 
1:11 PM
@ASCII-only On a very unrelated note, which answer will you award the bounty to (the Tetris challenge)?
 
@Neil oh you need the stack?
 
@Mr.Xcoder I HAVE NO IDEA HELP D:
 
very much. I'm inside an ε block as well.
 
@ASCII-only Poor you. I don't think you can award to the CW, and it wouldn't be fair anyway :D
 
@Neil then you can try using my 5-byter
 
1:12 PM
@Mr.Xcoder IIRC you can
 
@Mr.Xcoder I think cws can get bounties
 
@EriktheOutgolfer and the poster receives the reputation?
 
yeah, well, mine was already 5 because of the extra D that was part of something else
 
But if we can get 2 (3?) more people then we can just bounty all of them, once
 
@Mr.Xcoder it's a different kind of reputation I think
@Neil D means duplicate???
 
1:14 PM
right, I wanted to multiply the array by its grade, so obviously there's a D at the beginning, and then a * at the end
 
11
Q: Can a community wiki answer win the bounty?

dlamblinIn a cruel twist, the person with the leading answer for my bountied question has turned his post into a community wiki answer by editing it a lot. Is he still going to win the reputation for the bounty? Also, it's not actually a substantially new answer. Had I liked it 11 months ago, I wouldn'...

 
and my mouse coordination wasn't good enough to copy it
 
then you can use my stack-friendly 5-byter which only works for length 2 lists
`›1ÝÊ
 
my point was that I miscopied and `›D≠‚ is already only 5 bytes
 
> Bounties are not affected by community wiki mode. When you award a bounty to an answer marked community wiki, the reputation bonus will be awarded to the user who posted the original revision of the answer.
Man, PPCG should receive something like collaborative answers :D
Chat search is broken, it only finds things from 2011 and 2012 :P
 
1:18 PM
@Mr.Xcoder Yay the DB backup has progressed
 
@ASCII-only Since it is the accepted answer and community wiki, you should award it to the CW (Phi would receive it)
i'd be nice if you could split bounties :(
 
@Mr.Xcoder But... I was going to award it to the first post after that
 
@ASCII-only huh?
why?
 
@Mr.Xcoder Because others have offered to bounty too?
 
1:21 PM
@ASCII-only Then award it to the answer you like most :-)
 
1:34 PM
yay, managed to port my answer to Jelly, only 13 bytes
 
0
A: Make two numbers co-prime while preserving their least common multiple

NeilJelly, 13 bytes Ụ€’× ÆEz0ÇZÆẸ Try it online! My first Jelly answer!

I received a noti :D
 
@Neil O_o did you just outgolf Jonathan Allan
 
wait what Neil outgolfed Jonathan in Jelly first try wat
 
no, same length, I think?
 
1 byte shorter
You tied with Lynn
 
1:39 PM
although, only after one Jonathan Allen golfed it down...
 
@PeterTaylor I got the date wrong, so there's still time for someone to finish an answer. My advice would be to ignore the formulae given for the DIK transform, because they seem to have multiple bugs, and instead to calculate it by brute force from the definition by enumerating bracelets.
 
2:01 PM
@LeakyNun What's a noti?
 
@cairdcoinheringaahing notification
 
@AdmBorkBork Why does powershell treat " and as the same character?
 
Because PowerShell
 
AFAIK, the single-quotes are treated as the same, too
 
2:07 PM
@AdmBorkBork Isn't that usually the explanation for Jelly, not PowerShell?
 
No no nonono ... many things in PowerShell are explained "Because PowerShell."
 
@AdmBorkBork Can you escape characters in strings? "\" seems to be fine
 
@cairdcoinheringaahing The escape character is back-tick. And maybe we should create a PowerShell room.
 
2:08 PM
@NickClifford Yeah, I saw that too :P I don't think Xcoder knows Ruby though...
@AdmBorkBork Nah, its fine, just trying to use Microsoft's abomination. Think I've got (the basics) now. Thanks!
 
@cairdcoinheringaahing ¯\_(ツ)_/¯ Ohm has been forked a couple times, but they never seem to commit any changes
 
The back-tick as escape actually makes sense, though. Since \ is (historically) folder-delineation in Windows, and since PowerShell was intended to be a shell for Windows, it would be tough to get everyone to remember to double-\ everything.
 
@NickClifford If it were written in Python, I'd fork it and add some new features, but I can't be bothered to learn Ruby, just for that
 
@cairdcoinheringaahing to be fair, adding a new component is as simple as adding a lambda to the COMPONENTS hash, but it'd probably be a good idea to learn a little bit of basic Ruby syntax before trying
 
@NickClifford Yeah, but things like "quicks" which modify the behaviour of components, it would require some actual coding.
 
2:13 PM
@cairdcoinheringaahing true, true
 
@NickClifford Also, I think that's because of this. He mentioned getting Ohm involved
 
in CodeGolf Hackathon, 2 days ago, by Mr. Xcoder
I think I'll add Ohm too
yep
also, that reminds me, I've been meaning to add reduce and cumulative reduce components for a while now, but I still haven't gotten around to it
maybe I'll start after my chemistry test today lol
 
Also, for the latest commint on GitHub: "goat" ?
Oh, right. Component for "pushing an ASCII goat". Makes sense :P
 
obligatory goat builtin, of course
 
2:31 PM
Fun fact: hash(-1) == hash(-2) in Python
 
@HyperNeutrino wat
 
For whatever reason, hash(n) == n for all integers n that are not -1, and hash(-1) == -2
I have no idea why lol
oh
> The hash value -1 is reserved (it’s used to flag errors in the C implementation). If the hash algorithm generates this value, we simply use -2 instead.
So Python's hash algorithm for integers is just lambda n:n==-1and-2or n
 
@HyperNeutrino Integers don't need to be hashed.
 
Fun Fact: Windows accepts either \ or / for directory separators. It's just habit and a leftover from the MS-DOS days that \ is used.
 
@cairdcoinheringaahing true :P
 
2:39 PM
@HyperNeutrino how's the Hackathon going?
 
It finished yesterday morning :P
It's 36 hours not like 3 days lol
 
@HyperNeutrino How'd it go?
 
It went pretty well; we did end up getting something working and our demo/presentation worked, but we didn't win anything :P We had fun though
My friend found a piece of metal wire in his lunch on Saturday (fortunately not the hard way, but ...)
 
@HyperNeutrino My school has a week-long inter-school languages competition, so 3 days is tame :P
 
Damn that sounds fun I wish my school did something decent
I mean we do have debate competitions but our CS program is like non-existent
 
2:40 PM
@HyperNeutrino Do you speak French?
 
Not much
 
@HyperNeutrino Talk about Canadian stereotypes :P
 
oh languages as in natural languages or programming languages
 
@HyperNeutrino Natural. French, German, Spanish and Italian
 
ah ok nice
I mean I do know enough French to read most street signs in Quebec but not enough to have a decent conversation without sounding like an anglophone failing at french lol
My friend went down to the sponsors table yesterday morning to see if CSE could speak French and turns out they can so he had a 5-minute conversation with them in French without them suspecting him to be some anglophone trying to test their French lol
 
2:44 PM
@HyperNeutrino Wait, for real? How?
 
No idea. The serving kitchen must have done something bad back at their kitchen before they brought the food over to the tent
It was significant enough that if he had tried to swallow that piece of food, he would have gotten the wire stuck in his throat. Then again, it would've been found while chewing anyway, but still... ._.
 
@HyperNeutrino Like wire cutting? :P
 
yeah idk why there is wire in a kitchen (like it didn't look like electrical wire, more like a decently stiff metal wire that can be formed into and held in a certain shape
but yeah scary o_O
also:
)
 
@HyperNeutrino huh?
 
he opened parens but didnt' close em
 
2:47 PM
@cairdcoinheringaahing read my first message "yeah idk why..." and you'll notice the lack of close parens :P
ninja'd >_<
 
@HyperNeutrino Its the internet. No-one cares about SPaG
 
what is SPaG
 
@HyperNeutrino Spelling, Punctuation and Grammer
English term.
 
actually I think you'll find "spag" is short for "spaghetti"
 
but () is not punctuation
 
2:49 PM
as in "spag bol" short for "Spaghetti bolognese"
 
it's some syntax thing
 
@Mayube SPaG, not spag
 
unless it is punct.
anyway gtg now lunch o/
 
@HyperNeutrino () is punctuation in natural language
o/
 
@cairdcoinheringaahing there's a significant design flaw in BrainFlump
 
2:50 PM
@Mayube What? The intensely golfed source code?
 
You can't feasibly multiply 2 numbers
48 (codepoint of 0) can be expressed as 6x8, however you can't write a BrainFlump program that multiplies 6 and 8 to make 48, then outputs it
 
@Mayube Meh. Not needed to be a proper language here :P We could add a "duplicate random value on the dump" command, in which case it would be.
 
in Brainfuck it's simply ++++++[>++++++++<-]>.
you also can't determine if a number is prime in BrainFlump
 
@Mayube ಠ_ಠ I didn't think BrainFlump was designed to be at all useful :D
 
there's no point if it's totally useless
there's no practical use for loops at all
 
2:54 PM
@Mayube cough ;# cough :P
 
right, and ;# isn't on tio for good reason
 
@Mayube If we remove the cell, then loops will become practically required for any program
@Mayube hmmm?
 
@cairdcoinheringaahing ;#+ is not ;#
 
@Mayube Its a superset. Presumably ;# is to ;#+ as BrainFlump is to Landfill?
 
I'm removing the cell and changing ; and : anyway
 
3:19 PM
1
Q: Answer to Vote Ratio

Socratic PhoenixThis question is inspired by the fact that I love seeing questions with equal vote and answer counts... So here's a simple stack-exchange-api challenge for y'all: Challenge: Given a codegolf.stackexchange question id, output the ratio between the question's votes and number of answers (e.g. ...

 
3:34 PM
ಠ_ಠ Please can we delete this
 
3:52 PM
-1'd and flagged for NAA; waiting for more DVs before I can VTD
 
I flagged for mod attention right away
> should be deleted as per standard loophole, but has positive score
the "positive score" part being the reason I flagged instead of delete vote
 
4:40 PM
@PeterTaylor Got it working by ignoring Bower's formulae and implementing Polyà enumeration from scratch. Need to tidy, but I will have #156 unless force majeure intervenes.
 
@PeterTaylor It is quite funny reading that "conversation" because it looks like you're talking to yourself :P
 
@cairdcoinheringaahing Muphry's law strikes again!
 
@PeterTaylor :( I don't get the reference
 
> Grammer
maybe that's the point
 
The great thing about talking to myself is that I know that my interlocutor is at the same intellectual level, so I neither need to talk down nor worry that I'm teaching my grandmother to suck eggs.
 
4:42 PM
@PeterTaylor Murphy's law strikes twice!
 
Erik has it in one.
Muphry's law is an adage that states: "If you write anything criticizing editing or proofreading, there will be a fault of some kind in what you have written." The name is a deliberate misspelling of "Murphy's law". Names for variations on the principle have also been coined, usually in the context of online communication, including: Umhoefer's or Umhöfer's rule: "Articles on writing are themselves badly written." Named after editor Joseph A. Umhoefer. Skitt's law: "Any post correcting an error in another post will contain at least one error itself." Named after Skitt, a contributor to alt.usage...
 
@EriktheOutgolfer Should it be Grammar?
 
@PeterTaylor so Muphry's law strikes indefinitely?
like, "hey, watch your grammer!" "no you read muphry's law!" "you read muphry's law!" "no, you read muphry's law!"...
chaos ensues
 
I'm torn between interjecting and continuing to lurk silently.
Well, apparently not that torn.
 
@Geobits Interject :P
 
4:48 PM
no, keep lurking silently
 
Or, do what you want
 
Okx
5:11 PM
Thoughts on my new language? codegolf.stackexchange.com/a/143097/26600
 
5:22 PM
one can't be done if there's no topic on you, the other is forcefully silencing users...both have caveats
@Okx wasteful codepage
 
Okx
wasteful?
@EriktheOutgolfer how?
 
so does ̣<letter> count as 1 byte? because ̣ is a combination char
 
Okx
yes
 
depends on if you're using the precomposed versions
 
same with ̊
 
Okx
5:27 PM
it's just an easier way to read its bytes
 
well are there precomposed versions for those specific diacritics?
 
only for some letters
as long as they can be encoded into 1 byte they're good
 
Okx
i used the combination char for all of mine i think
yeah they can
 
btw it has no docs yet? how new is it?
> Aug 29, 2017
 
Okx
yeah i should write the docs today
 
Anonymous
5:31 PM
36
A: Definitive policy about answers not meeting the challenge specification

DennisScope As I see it, there are five types of invalid answers: Answers that produce incorrect results. This is the most common type, and usually an accident. Answers that produce correct results, but break a rule of the challenge, ignore parts of the spec or violate a loophole. For example, ans...

 
Anonymous
Specifically:
 
Anonymous
> Marking an answer as non-competing does not exempt it from being invalid.
 
Anonymous
If an answer's score cannot be determined, then it's not valid. Marking an answer as non-competing is only done if there is a specific allowance in the challenge for non-competing answers, or a global meta policy. The only meta policy that allows non-competing answers is for non-free languages in challenges.
 
Anonymous
If you feel that answers whose score cannot be determined should be allowed as non-competing answers, feel free to propose it on meta.
 
@Mego I'm glad that's the only one...anymore
 
5:36 PM
@Mego Sad :-(
@Mego It was a so interesting post.
 
if you want to allow non-competing answers like that feel free to, but then your challenge will probably be too broad
 
Anonymous
@peterh Like I said, feel free to bring it up on meta if you think there should be a new policy regarding unscorable answers. I don't immediately see any problems with allowing unscorable answers as non-competing, but others might.
 
@Mego imo it will make challenges too broad as I said above
or if not that it may generate floods of non-competing answers
 
Anonymous
@EriktheOutgolfer I disagree. Allowing serious contenders whose score can't be determined because of unknowns about the language implementation (like the Mathematica answer that spurred this discussion) wouldn't substantially broaden challenges.
 
that's why it's votes' job to decide
;p
 
5:43 PM
Does anyone know if there is a way to to make the TIO Shakespeare Programming Language compiler output as an integer rather than a character?
 
@Gryphon What's it for?
 
@cairdcoinheringaahing, Just playing around with SPL, found that TIO had a compiler, and wondered if there was a way to change that setting.
Just wanted to know if there was a footer/header I could add to do it or something.
 
@Gryphon I would have a look through this in that case
 
Anonymous
The way I see it, there's two main types of answers that are unscorable. The first type is answers whose score is definite, but unknown because of a lack of details of the implementation (due to e.g. a closed-source compiler/interpreter). The Mathematica answer falls under this category. The second type is answers whose score is dependent upon unsolved problems (e.g. "this code has algorithmic complexity of O(n) if the Riemann Hypothesis is correct, and O(n^2) otherwise").
 
@cairdcoinheringaahing, I already have, that's what made me decide to learn SPL. Nothing about the TIO in it (I'm pretty sure that post predates SPL being added to TIO).
 
5:47 PM
@Gryphon In that case, the PDF here might have an answer
 
Anonymous
@Gryphon You mean outputting the ordinal of a stored character?
 
@Mego in my opinion if such "non-competing" policy is allowed it should be narrowed down to such unscorable cases not just "no attempt to golf or optimize for speed at all having too much whitespace and trivial golfs left out" (p.s. define "trivial golf")
 
I believe "trivial golfs" are already defined somewhere, including single-letter variable names and stripping whitespace.
 
@cairdcoinheringaahing, nah that's just the original SPL website, and has nothing to do with TIO.
 
there are the per-language ones too though
 
Anonymous
5:49 PM
@EriktheOutgolfer That's already covered by the serious contender policy. Also, it has no relevance to the current discussion.
 
@Mego just better not make conflicts among policies...
 
Ah, it's good to see the penguin hasn't changed much
 
@Mego, SPL only works with integers, but the TIO implementation implicitly converts them to characters.
 
Anonymous
@Gryphon Are you using Open your heart?
 
Anonymous
@EriktheOutgolfer I don't see how it would.
 
5:51 PM
How do I download this?
 
Anonymous
@Geobits noot noot
 
@EriktheOutgolfer oh :c
 
tl;dr: you need $$$
 
5:53 PM
@Mego I am a newbie here, I've just asked something on the meta, I don't want to start with an undeletable -20 meta question.
 
Nah. Ridiculously negatively scored meta questions (and answers!) are a badge of honor, as long as you don't have too many.
 
@Mega Later it is possible that I try to initiate something. But now I don't know yet, how the community actually feels about these things.
 
Anonymous
@Geobits And then past a certain point, having a lot of negatively-scored meta posts wraps back around to impressive.
 
negative doesn't necessarily mean it's a bad question, unless it's close-worthy, it just means more users disagree than agree
 
Once you get past the post-ban :P
 
Anonymous
5:56 PM
@peterh If you ask a well-specified question on meta, you will almost certainly be received well. It's the answers that get heated :P
 
post ban is a meta flaw
 
Anonymous
@Geobits Getting post-banned on meta means you have to change your avatar to the Unpopular Opinion Puffin
 
Upon further inspection, I have nothing negatively scored on our meta. I'm sure I do on MM though
 
@Geobits umm, that could be a sign that you tend to follow others' opinions and don't have opinions of your own to post even if they finally get downvoted? just sayin'
 
Anonymous
@EriktheOutgolfer Have you met Geobits?
 
6:05 PM
let's leave memes alone ;p
 
Anonymous
It's not a meme. Geobits is one of the most opinionated people on the site :P
 
probably you didn't understand?
 
@EriktheOutgolfer It could also mean I can voice my opinion in a persuasive way. Who knows?
 
big toes is back
 
"how much opinions" isn't exactly the same as "how much posts", if the posts are "opinions of the rest that haven't been posted yet"...that's my speculation at least...of course it doesn't mean geobits isn't lucky with the upvotes and doesn't post original opinions of his, but 100% upvoted answers is a bit...haunting?
again, not to blame him
 
Anonymous
6:09 PM
It seems like you're trying to argue just for the sake of arguing
 
huh? I was just a bit shocked on that
 
Yep. I always go with the flow.
 
hey new top bar there!
 
just added reduce and mean to Ohm
 
Anonymous
@EriktheOutgolfer Gross :(
6
 
6:22 PM
I know :/
 
CMC: Given an int array a and an int l, split a into chunks of size l and perform element-wise addition on them. You can assume a's length is divisible by l. Example: [1,2,3,4,5,6,7,8,9],3 => [1,2,3]+[4,5,6]+[7,8,9] => [1+4+7,2+5+8,3+6+9] => [12,15,18]
 
Anonymous
@Pavel Actually, 5 bytes: ╪i`¥Y
 
@Pavel SOGL, 5 bytes: nI⌡∑¹ - expects array;number on stack
 
@Pavel Jelly, 3 bytes: sZS
 
Will prolly post to main later today, but I don't have time to write out a full challenge right this second.
 
Okx
6:39 PM
@Pavel 05AB1E, 3 bytes: ôøO (for real this time)
 
6:50 PM
@Pavel PowerShell, 76 bytes -- param($a,$l)1..($x=$a.count/$l)|%{$y=--$_;($o=0)..$x|%{$o+=$a[$y+$_*$l]};$o}
 
@AdmBorkBork @Okx @LeakyNun @Mego @dzaima Posted, with slight modifications.
I ended up with more time than I expected and was able to finish writing it up.
@AdmBorkBork 5 bytes, 5 bytes, 3 bytes, 3 bytes, 76 bytes. Ouch.
 
Nothing to be ashamed of. I think 76 bytes is pretty decent. Python will likely come in under, maybe closer to 60 bytes, but it has better array slicing capabilities than PowerShell does.
 
Also, dollar signs everywhere.
 
that 0 padding rule probably will take 10-20 bytes from SOGL :/
 
Ooof, that zero-padding is going to be tough.
 
6:55 PM
huehuehuehuehue
I can't just give people who lurk in chat that much of an advantage.
 
@Mego I think if somebody is coming and wants to provide useful, interesting, HQ site content, then the policies should allow it, they should even encourage it, it is the elemental interest of all sites on the whole internet.
 
Aww, who downvoted :-;
 
0
Q: Add an array with iself

PavelYour challenge today is to take a an array, split it into chunks, and add those chunks. Here's how this works: Your program or function will be given an array of integers a and a chunk size l. The array should be split into arrays of size l, if the array length is not divisible by l then the arr...

 
@AdmBorkBork Because chunk length is 4
The array is split into arrays with 4 elements each
 
yah, yah, in my head I was saying "but there are only three chunks"
 
6:59 PM
the [-1,1] test-case doesn't seem to work on any answer
 
@AdmBorkBork I did that too, tried to post, was stoped by forgetting to add tags, and in that time realized my error in producing test cases.
@dzaima That's because the testcase is wrong.
Dammit
 
@Pavel thought so, that's why I said it here not on answers (or the question)
 
Aww, was going to answer but zero padding makes it go over 100 :(
 
@dzaima Actually most of the test cases were wrong.
I made the fix in notepad and forgot to copy over to the post.
 
@Pavel felt like so
also a full example where the size isn't length^2 and the array isn't padded would be nice, I keep confusing myself
 
7:03 PM
Oh wait...
 
@dzaima I GTG right now. You can add one yourseslf, if you want.
 
all answers seem to fail the [1], 3 testcase now :/
 
Anonymous
@dzaima Oh oops
 
The incorrect test cases need to be fixed. The zero padding and empty list cases aren't fun imo, but they're not a problem per say. The test cases are.
 
Anonymous
Working on a fix
 
7:10 PM
@Geobits Have been fixed.
A while ago, actually.
 
Erm ... I've got weird behavior. If chunk size is even, I don't need to do anything. If chunk size is odd, I need to loop one fewer times (-1 on the loop counter). Stupid fenceposting.
 
I agree that the 0-padding isn't fun though. You could've said to cycle the elements or error in that case, and on each a different language would benefit a lot
 
@Pavel Why does [1],3 give [1,0,0] then? My reading of the challenge gives me [1]
Ooooooooh wait
 
@Geobits Chunk length is 3, so splitting [1] into chunks of size 3 causes it to be padded with 0s
 
Yeah, I had that, but I read the other wrong. No worries.
 
7:16 PM
Ugh. Like 2/3rd of my code is handling special cases. :-/
 
RIP
 
do these test-cases look okay?
[1,9,2,8,3,7,4], 2 => [1,9,2,8,3,7,4,0] => [1,9]+[2,8]+[3,7]+[4,0] => [1+2+3+4,9+8+7+0] => [10, 24]
[1], 3 => [1,0,0] => [[1,0,0]] => [1,0,0] => [1,0,0] => [1,0,0]
 
@AdmBorkBork Yeah, I've got an 86 in Java 7 except for the empty list case :(
 
@AdmBorkBork SOGL would be like 5/6ths :p
 
@dzaima Well, yes. Except [1], 3 is already a test case.
 
7:18 PM
@Pavel but explanation why is nice
 
Good point.
 
I'm over 100 and I have to figure out how to handle the case where the length of the array is smaller than the chunk size. It doesn't currently pad right.
 
although the repetitive => [1,0,0] aren't much of an explanation
maybe align the => ?
 
IDK.
 
@AdmBorkBork Ouch. How are you doing it? I'm just iterating over the list and adding to the mod location, and it pads by itself: int[]o(int[]a,int l){int i=0,o[]=new int[l];for(;i<a.length;)o[i%l]+=a[i++];return o;}
It just doesn't handle empty input, and I don't want to put it over 100 to do it :/
Well, I might be able to get it under 100, but still
 
7:21 PM
Wait, I'm not looping right.
It's padding correctly, I'm not splitting it correctly. Just my initial test case happened to line up, lol.
 
Maybe I should remove the empty case.
It might be too late now, though.
 
it's never too late to remove requirements, as that doesn't invalidate anything
 
@Geobits empty case removed
 
Oh really? Niiiiice
 
TIL youtube has native dark theme
 
7:29 PM
@Pavel For the record, I'd just started posting with the empty case, but it was 96 instead of 86, so thanks :D
 
@mınxomaτ Isn't it so much better than the normal theme?
 
The empty case was stupid, in all other cases the output would have l elements.
 
@Pavel mhm
 
@cairdcoinheringaahing Eh, it doesn't apply to the creators studio though.
 
@mınxomaτ Also for not logged-in users?
 
7:33 PM
I wouldn't know. I'm never not logged into youtube.
 
Ack, Python is beating me by one byte
And then Rod comes in and blows both of us away.
 
👏
 
@AdmBorkBork amazon.com/dp/B009QAPKL4 no onebox
 
I did not know amazon oneboxed
 
What a glorious idea.
 
7:36 PM
@mınxomaτ Ah, found the setting. Also works if your are not logged in on a per browser basis. Thanks for pointing out, looks much nicer like that.
 
@mınxomaτ Haha
 
is it just me or SE doesn't show +10 anymore?
 
Does for me
 
Caching, it showed after ~5 minutes :/
 
showed me just +10 for an answer too
 
7:47 PM
TIL Japan is a cash-based society and the US is weird for using cards everywhere. I think it's been over a month since I last touched cash, and that was to put some in a birthday card as a present.
I would have thought that Japan would be at the forefront of things like NFC payments.
 
Same
 
When I moved to Berlin, I had to relearn cash. Oddly enough, I payed for everything using CC or NFC in the smaller town I moved from.
I still find it inconvenient.
 
@AdmBorkBork I thought the same thing too before I got there. In some ways and places they are at the helm, but even then it's an odd mix. And their coins... They use coins for the equivalent of 1/5 dollar bills. So much change, and it adds up to a respectable amount of money very quickly.
 
At the end of the month, I always amass some 100 € in small coins.
 
Can't wait for Bitcoin to start taking over...
 
7:51 PM
Yeah, I tend to put my pocket change in a cubby in the car, and it would amaze me how quickly I'd end up with a pile of money there.
 
Heck, even my parents doing small arts-and-crafts shows take card thanks to Square.
 
I don't even really carry cash in the US. Unless I need a vending machine (and an old one at that), there's not much point.
Pretty much everyone I know is the same
Well, unless there's a hurricane coming. Then you take out a chunk of cash for when the power's out ;)
 
> Mon 18 Sept is Drill Developer Day! A day long Hackathron for dev community to come together. Hosted at @MapR in SJ -Thanks #bigdata #SQL
> Hackathron
Wonder what that is.
 
@Geobits Is there a hurricane coming for you?
 
@mınxomaτ It's where you put together a throne but since it's a hack job part of it is missing.
 
7:56 PM
Game of Hackathrones
5
 
@Pavel Not now, but we caught a bit of Irma. The eye was supposed to basically go over the house at Cat 2 strength, but it went inland too soon instead. Not that I mind.
 
Well apparantly there's 3 more heading at California now.
 
Anonymous
@AdmBorkBork Arithmetic overflow error, you now have -2147483647 swords with which to make a throne
 
@Mego That's roughly seven more than you need
 
@Mego I'll just start building until I've used up enough swords that it underflows back around again.
 

« first day (2424 days earlier)      last day (2419 days later) »