« first day (1786 days earlier)      last day (3056 days later) » 

5:11 PM
0
Q: A multiplication table for the Cheela

Luis MendoThe Cheela (from the book Dragon's Egg by Robert L. Forward) are creatures that live on the surface of a neutron star. Because they have twelve eyes, they naturally use a base-12 numbering system. Among the Cheela, care of the hatchlings and education of the young are tasks carried out by the Ol...

 
5:22 PM
@MartinBüttner How on earth did you make a solution that fast?
 
uhhh
I keep saying this, but for simple problems, typing speed is the bottleneck ;)
typing 30 characters doesn't take very long ^^
 
Simple for you maybe, but I was still sitting at my desk confused on how to do it in the first place
Ah, wait. CJam probably has a base converting builtin
 
I've done one or two multiplication-table challenges in the past, and I've done a ton of base-conversion challenges, so it was fairly clear how to do it in CJam
yes, CJam has a base-conversion built-in, but you need to fix up the letter digits
 
I see. I probably have to make my own base-conversion function if I were to do it Python. Thus, my stuck-ness. I was trying to think of another way to do it
 
I thought Python has base-36 integer to string conversion?
maybe that's only Ruby then
 
5:26 PM
I really should make a language which specializes in base conversion
 
It does? O_O Where?
 
Or is that considered cheating?
 
@Sherlock9 maybe it only has string-to-int conversion for base 36, but not the other way round
 
I think Python only has bases 2, 8, 10 and 16
That's plausible
 
3
Q: Uneven base-36 support in Python?

Ben BlankI've been working with base-36 recently and have never been satisfied with the usual answer to converting ints into base-36 strings. It looks a little imbalanced… def to_base36(value): if not isinstance(value, int): raise TypeError("expected int, got %s: %r" % (value.__class__.__nam...

numpy seems to have the opposite conversion though
importing it might be shorter than rolling your own conversion
@cat As much as I appreciate you correcting the spelling of my name, the correct spelling makes it useless as an example for the challenge. ;)
 
5:40 PM
DAT season finale
 
of course, everyone knows which series you're talking about.
 
one and only
 
cat
@MartinBüttner was @Dennis wrong about the spelling of your name? I don't understand why you undid all of my corrections
 
heyyy suggestions?
4
A: Sandbox for Proposed Challenges

Cᴏɴᴏʀ O'Bʀɪᴇɴcode-golf {{Meta: a double enclosure {{...}} means a meta comment.}} The cosmic number! There is an old comic strip that relates to this challenge. I've written a blog post on it, as well. So, your task is to print the steps to get to the cosmic number. To get there, one simply counts the numb...

 
soo.. are james bond movies in continuation to each other?
 
cat
5:56 PM
@Optimizer nope
well, maybe one or two are
 
what about the ones with the current bond
 
cat
@Optimizer I don't think so.
 
6:10 PM
Show this guy some love:
1
A: Symbolic Integration of Polynomials

Tom CarpenterMATLAB xxx bytes This is currently a work-in-progress using MATLABs built in symbolic integration capabilities. Currently the output format doesn't match the requirements, but it does qualify for the second -10% bonus. If anyone wants to pitch in and suggest ways of correcting the output, or us...

 
@cat "As much as I appreciate you correcting the spelling of my name, the correct spelling makes it useless as an example for the challenge. ;)"
@cat yes they are
@Optimizer it depends
there tends to be some sort of continuity, but it's occasionally broken when the actor changes
(although one of the changes was actually explained in-universe with plastic surgery)
Daniel Craig's timeline is a complete reboot, but there is a lot more continuity between his films than between any others.
 
I see
saw spectre without watching any of his. now watching skyfall
 
(the funny thing about the reboot is that Judi Dench kept playing M between the Brosnan and Craig films)
@Optimizer I'd really recommend watching them in order
 
(it's because Judi Dench is the best)
 
(the Craig ones)
 
6:20 PM
(have already broken the order)
 
(parenthetical mismatch)
 
well you've been massively spoiled for Casino Royale already then...
 
:D
 
6:32 PM
@Optimizer What season finale?
 
@CᴏɴᴏʀO'Bʀɪᴇɴ nice :)
 
@MartinBüttner thanks :D
It's going to be interesting for parsing, as each emote counts as two or three chars :P
 
I found 487 to be a repeated novel prime factor of the 486th repunit.
 
damn
so I need those 2 bytes in my CJam answer
kinda funny that I stopped checking them after 400 repunits then...
 
6:46 PM
@ThomasKwa How'd you find it?
 
@El'endiaStarman Math
 
......well, yeah.....
 
Instead of looking through small repunits, I tried small primes.
 
well, I checked up to 400 manually with the list on the page Timmy linked, so checking up to 500 wouldn't have been a big deal either ^^
 
grumbles about rule changes Do rules count if they're only ever mentioned in the comments?
 
6:50 PM
what challenge?
 
21
Q: Fill the rows, columns, and diagonals of an NxN grid with 1-N

ZequTask Given input N, generate and output an NxN grid where each row, column and the two diagonals contain the numbers 1 to N (or 0 to N−1 if that's easier). Input The input is a positive integer N. It represents the number of columns and rows in the grid. For this problem, you can assume N will...

 
Considering that you are the only answer so far, I might consider changing that if no more answers come through in a day or two to "any mathematically correct, valid output" for fractions. — FlagAsSpam 4 mins ago
^ is this okay?
 
@Doorknob冰 oh right.
 
I didn't read the comments, so technically my answer's invalid if rules-in-comments count
 
@Doorknob冰 it's a shame that it wasn't in the challenge, but honestly the challenge is much better with the constraint
bogo solve is quite boring ;)
 
6:53 PM
But it's short, too ;)
 
short and boring, yes ;)
 
Okay, well I'm on a plane that's about to take off, but I might write up a meta post or some other when I land. It is my fault for not reading the comments, but I also don't think comments are the best place to put important information
 
@Doorknob冰 have fun ~\o
 
@Doorknob冰 you sure that's worth a meta post? currently there isn't even anything forbidding rule changes that weren't mentioned in comments. doing that is just a bad idea that will get you downvotes.
 
@quartata OK, I'll add pl w/CP437 asap.
 
7:01 PM
Thanks :)
Ooh I just noticed a small bug
 
oh yeah, I'm about to release It's Over 9000
20
A: Winter Bash 2015 Secret Hats

Quill - HAT MANIACIt's Over 9000 Archimedes given to Author of this post The image is a scouter from Dragonball.

 
nice :)
 
It's probably the easiest to get here
 
Huh.
 
A well worded / interesting question gets bumped like hell here
 
7:07 PM
My symbolic integration question was downvoted. I wonder why...
 
@FlagAsSpam link to question? That sounds interesting.
 
@FlagAsSpam too difficult for them, perhaps?
 
It's already in chat, scroll up a ways.
 
Bug status: quashed
 
@Quill-HATMANIAC Is this good enough for your bumpy messages?
19
Q: Map string to Hilbert curve

wizzwizz4Let's map some strings to 2d space, fractal style. Your task is to compute a Hilbert curve and lay a string along it. Task The task is to take the single-line input string, and lay it out along a Hilbert curve big enough to contain it, but no bigger. Try to make the byte count as low as possi...

 
7:16 PM
(shrugs) I'm not really a regular here, I wouldn't know about quality
although CJam looks fun to learn
 
@Quill-HATMANIAC Why are you here? Because it is easy to get some certain hats?
I have nothing against hats, it is just they aren't too important to me.
 
No he's here from Code Review and we're trying to steal his soul
 
@quartata Then he must stay.
 
My goal in programming is to learn as much as I can, and Code Review will be able to teach me different things than PPCG
 
@Quill-HATMANIAC bah
PPCG will teach you everything you need to know
 
7:18 PM
There's beauty both ways IMHO
 
come to the dark side pls
 
@Quill-HATMANIAC But we make ultra-short code so small you can write it on your canoe/kayak!
 
PPCG will teach you everything except verbosity.
7
 
@quartata I don't remember the Sith having manners like that lol
 
@quartata Here you go.
You said, "come to the dark side pls", so I gave you "come to the dark side".
 
7:20 PM
@wizzwizz4 lol so tru
imma brb n go post a pzzle
 
I just realized that in this question, because NBZ posted it people assumed that an extra byte was needed for the filename. Here, and here.
 
16
A: The Many Memes of PPCG

Doorknob 冰Meme: Code Review Originator: unclear / syb0rg? Cultural Height: up to CR's graduation :( Background: Ever since around March of 2014, Programming Puzzles & Code Golf and Code Review have had a friendly rivalry of who could graduate first (which has expanded to become a friendly rivalry in gen...

44
A: The Many Memes of PPCG

PyrrhaMeme: Absurd rationales for short code length Originator: Unknown Cultural Height: Always Background: Why are we trying to golf our code down to the smallest number of bytes anyway? Many code-golf challenges will include a quip about why the situation requires a small program. These are often ...

 
syb0rg? he's a contributor over at CR
 
I wish they had a geobits being annoying about graduation.
 
They do - Geobits.
WTF Autocorrect?
2
 
7:26 PM
He is a traitor?!!!!!
 
@RikerW Nah - I bet he annoys them about graduating, though.
 
@FlagAsSpam rofl
 
we've graduated entirely, just swag is left :-)
 
7:27 PM
ಠ_ಠ
We are superior nonetheless.
 
I was pretty surprised none of you guys did up a CSS/UserScript page design
 
@Quill-HATMANIAC Yeah, but the only reason we haven't graduated is that we think our question through. Then the question rate is slower, and SE decides graduation by questions.
 
Yeah, I think the learning curve is pretty full on (Like with the esolangs and all)
 
^ Esolangs are fun, though.
My first answer was in ><>.
 
@FlagAsSpam Agreed.
@FlagAsSpam My first was BF I think.
 
7:29 PM
Esolangs are fun, but they kinda scare away newbies
 
@Quill-HATMANIAC true.
 
@RikerW My first esolang was a BF compressor.
 
That's pretty much the only reason I haven't answered yet
 
@Quill-HATMANIAC If you wanna learn Vitsy, I can teach. ;D
 
BTW @Quill-HATMANIAC, how did you get the onion hat?
 
7:30 PM
pure freaking magic
 
@FlagAsSpam I want to learn that.
 
Wait, what, really? :o
 
@Quill-HATMANIAC rofl. I think you have to have a question with low views, and then skyrockets.
 
I asked a question, I'm assuming it took a while to get upvotes / it could've been because it got a lot of answers
 
@Quill-HATMANIAC But seriously, do you know?
 
7:31 PM
I got Onion Knight here and on Lifehacks
 
@Quill-HATMANIAC Maybe takes a while but then ends up with a lot of answers/views/votes?
 
Most people who join here are American, so just post a question at 6 in the morning CTZ, then edit it a few days later. :P
 
Both questions had 8+ answers, even though I got Onion Knight at 7 on PPCG
@FlagAsSpam I'm Australian, if I posted questions at normal time they'd get buried ;-;
 
@Quill-HATMANIAC I'm (normally) in England, so I feel. xD
 
@Quill-HATMANIAC Do you have kangeroos in your backyard?
 
7:33 PM
range rooms?
 
sigh autocorrect faiied.
 
Also - I've been trying to connect to this page and similar recently.
Turns out that they probably didn't upload that there...
 
@FlagAsSpam Yeah, there was a discussion of it on David's Hat Store a while ago
 
range rooms -> kangaroos
Logics. :D
@Quill-HATMANIAC Wait, really? xD
 
They use 9 digit numbers for css file names
it's pretty much impossible to guess them unless you bruteforce all of them
and you get IP banned at like 500
 
7:34 PM
xD
 
@RikerW No. They're common a little more rurally, but in rural areas it's hilarious. I've seen schools ban kids from going to sport ovals because there's kangaroos there
They're also really dangerous, like kickboxers
 
@Quill-HATMANIAC Knew that from nature shows. :P
 
I saw some recently near where I live, and they were just boxing (they do that)
 
1
Q: You post a challenge and you answer in a language you designed

Luis MendoIf you post a code-golf challenge after you designed a code-golfing language, it may be argued that you are somehow at an advantageous position. Knowing your language features may have influenced your challenge choice. With this in mind, I posted a challenge today, answered in a language I had p...

 
Thank you, @NewMetaPosts.
 
7:47 PM
@FlagAsSpam here is why posting poll-style answers on meta is bad: meta.codegolf.stackexchange.com/a/7142/8478 ... when Alex asked the question he posted two fairly short answers for Yes and No. at the time asked it, he was in favour of Yes, and if you read the very short answers there's a subtle bias. Yes contains a reasonable argument, No contains "what someone might say who doesn't like my opinion".
apart from immediately creating a bias in favour of Yes based on those answers, it also pre-empts people who actually have that opinion from thinking about it carefully and finding decent arguments.
it took me a whole month to figure out why I didn't like the "yes" answer and write up an actual justification for the opposite position.
 
Huh. Fair enough.
 
it's a bit of a miracle that the scores tipped after so much time (and they wouldn't have if Doorknob hadn't featured it)
 
Since this is such a huge change which affects niche sites like ours differently, I think it's important to have the discussion at both global and local level, so I've added some comments and voted to reopen. How do people feel about this?
0
Q: Effect of the MIT license change on PPCG

catThis is (probably) happening, and it's annoying me, and there's quite a lot of backlash from the community. If you read all of that post and the comments and the answers and the answers' comments (or, indeed, CTRL-F + code golf1), you will see niche sites like Code Golf and Code Review mentioned...

 
The Iliad 24.128 says nothing about eating hearts. The relevant words are ὀδυρόμενος καὶ ἀχεύων, which means lamenting and grieving. — deadrat Nov 22 at 20:19
lolwat
 
7:52 PM
16
Q: Have you been nice this year?

AdnanIntroduction Santa has too many names to process, and needs your help! He needs you to write a program or a function, which outputs nice, naughty, very naughty or very very naughty. To determine how nice or naughty someone is, Santa had developed an algorithm: Nice (division, math): First of a...

 
@trichoplax I've reopened it.
 
A surprising amount of people are naughty. ^^
6
 
@MartinBüttner Thanks :)
 
@RikerW This holds true for reality.
 
@RikerW hey that's like my one :-)
 
7:53 PM
@FlagAsSpam Yeah, but Santa?
@Quill-HATMANIAC Read it, it is slightly different
 
I know :P
 
@MartinBüttner That makes a lot of sense
 
LOL @FlagAsSpam
 
Shh.
 
> This is probably innappropriate.
 
7:54 PM
@FlagAsSpam Thanks for editing the title. It's much better now. I didn't know how to properly phrase it
 
No prob. :D
@Quill-HATMANIAC waves off What're you talking about?
 
@FlagAsSpam, I just realized what your name is in lowercase. @flagasspam
 
@RikerW ...fail.
Have you looked at the anagrams for my name yet? xD
 
@FlagAsSpam *waves hand* these are not the messages you are look for
 
@RikerW Well, when the constraints are that tight :) has been very very naughty and doesn't like to admit it
 
7:57 PM
@FlagAsSpam Plasmas fag. rofl
 
must be some new type of cigarette
 
@Sherlock9 Still, santa needs to reexamine his rules.
 
There is some sick part of me that, whilst reading a question's answers, skips to the end to see how bad the worst posts are.
2
 
7:58 PM
Also @FlagAsSpam IIRC Santa never had kids ;-P
 
@Quill-HATMANIAC Elves.
All of them.
 
I can't even
 
> I can only odd.
 
Flag A Spasm. even funnier, and sfw.
 
8:01 PM
 
Spam musubi are tasty.
 
The even bigger question if @FlagAsSpam likes spam o_O
 
@RikerW "Flag Ma Spas"
 
@ThomasKwa Did you mean v+=1 in your comment there?
 
what? Probably.
 
8:02 PM
@CᴏɴᴏʀO'Bʀɪᴇɴ I voted yes twice.
 
@FlagAsSpam rofl I was wondering why so many people liked spam.
 
@FlagAsSpam :D someone caught that I allowed duplicates
 
Well, thanks for the comment. I'll look into it
 
Yes, I did.
 
Can a mod change @FlagAsSpam's name to "La Amp Fags"?
 
8:06 PM
@RikerW ಠ_ಠ
 
Maybe "Fa lags Pams"?
 
Are there standard symbols for "slightly less than" and/or "slightly greater than"?
 
Also, @CᴏɴᴏʀO'Bʀɪᴇɴ, what do you mean? I totally didn't vote 16 times.
 
@FlagAsSpam O_O
 
@FlagAsSpam rofl
 
8:07 PM
 
@FlagAsSpam Don't you need to be doing something... else? X3
 
Probably.
Will I?
No.
> abandon all work, ye who enter here —aditsu
 
I think I disallowed duplicates.
 
Also -
Look at my hat. :D
Once it finally loads. ಠ_ಠ
 
Somebody refreshify him.
 
8:09 PM
It loaded for me.
 
That is a weird hat.
 
Still no. I am only seeing the thalia.
Wait, is that the new hat?
 
What?
Amazing Grace?
 
No. Not seeing it.
 
I has a secret hat. :D
 
8:10 PM
Yeah. I know.
 
@ThomasKwa Ok I think I've forgotten how exec works. Can you clarify your comment here?
 
I would have one, but my bug question has 2 votes and no answer.
 
@Sherlock9 I don't know how it works either.
I just saw it on the Python tips page. Sorry if the tip is wrong.
 
@ThomasKwa In python exec executes arbitrary code.
 
Yes, it loaded for me now. :D
 
8:11 PM
@RikerW Well, I know what it does, just not how to use it in golf.
 
@FlagAsSpam I see it now, but only for that question.
 
I generally don't golf in Python, because it'll make my code style worse.
 
Also googoiji=216, googoiv=4,096, googov=100,000, and googovi=2,985,984.
Who can identify the rule?
(I already know it.)
 
5
A: Bernoulli Numbers

Sherlock9Python 3, 258 255 194 178 220 261 227 218 169 149 144 140 bytes Another new algorithm! Using Wikipedia's explicit definition. As usual, the byte count and a link for testing. from fractions import* def b(m): s=0 for k in range(m+1): p=1 for v in range(k+1):s+=Fraction(p*(v+1)**m)/-~k;p=p*...

 
Let's see, 6^3, 2^12, 10^5, 12^6
 
8:15 PM
Thomas and I are discussing this answer
 
@ThomasKwa Find some more ways to express 2^12 in the form a^b
 
4^6. 8^4. 16^3.
 
4^6?
 
1
Q: How much water is left?

DowngoatHere in California, we're in a drought so we need to know how much water we have left so we can conserve as much water as possible. Because water is limited supply, your code will need to be as short as possible. Examples | | | | |~~~| |___| Output: 0.5 |~~~~~| | | | | |_____|...

 
It's Roman numerals, I think
 
8:17 PM
Ohhh 6^3, 8^4, 10^5, 12^6
 
Yep.
 
"iji" is "iii" is 3
so (2n)^n
 
Yes. That's a naming scheme "André Joyce" came up with.
Based on a property of a googol that he came across.
100^50=10^100
 
"Googoji" has a nice ring to it.
"Pyth, a googoji bytes"
"Five googoji and seven years ago, our fathers brought forth"
 
It doesn't quite match the syllable count, but I quite liked this rendition of "Hello" and decided to share it anyway :D
 
8:25 PM
3/10 bad rhymes
 
Yeah, and again, the syllables don't match. But I like the concept if the execution is a little lacking
 
the beginnings of one of the most expensive esoteric languages ^^
 
@CᴏɴᴏʀO'Bʀɪᴇɴ See: unary.
 
8:31 PM
@ThomasKwa, do you remember the link to that exec tip?
 
2
A: Hello World 0.0!

Beta DecayUnary, 135355035383718478211689815430260770357593218344293942000623984520583816006869631028659947851816653899127870943284025802454563133135630892154160258417867379506405935958144491826772587082077413807836 bytes I'm surprised that no one's done this yet... It's too long to post here, but it's 1...

 
I'd still like to try it
 
I can't find it.
 
8:51 PM
To anyone who knows Lua: There's a CR bounty up at the moment for a review.
 
@PeterTaylor Oh, I didn't know. It's rather innocuous in American English AFAIK.
 
 
@phase What is that?
Blue hedgehog alert!
 
@wizzwizz4 Sonic's Idle animation
 
> gotta go fast
 
8:57 PM
Read data from ROM into PNG and rewrote it. Once I get it working you should be able to upload any PNG image and have it display in game.
 
How did you get that?
You answered my question before I asked it! :-/
 
Link to the deleted "Halp how I jooce avocado" question?
 
How you know you've messed up:
 
@FlagAsSpam uh why
 
valgrind: the 'impossible' happened:
 
9:05 PM
@MartinBüttner o_o
 
@AlexA. Currently a rant on ridiculous questions that SE sites have gotten before in David's hat store.
 
@FlagAsSpam You'd best not be planning to reopen it for teh hatz.
Oh, okay
 
@MartinBüttner Are you in the esolangs chat?
Just in case I have a chance to continue on about SuperMarioLANG.
 
@wizzwizz4 always ;) (although I'm currently a bit busy, so replies might take a few minutes)
 
so close...
 
9:07 PM
@MartinBüttner I'm currently so busy, my replies might take a few hours. (Having my computer on might help!)
 
Oh no, the disapproval face hasn't been in chat recently enough to show up in the ping autocomplete D:
 
it showed up this morning
 
It's not showing up for me atm
 
here: ಠ_ಠ
 
Thank you <3
 
9:08 PM
I still have that bookmarklet
 
What, disapprovallook.com?
 
@AlexA. "I don't think there's anything inherently wrong with comparing across languages." But then every time someone complains about golfing languages, the answer is "oh yeah, but you shouldn't compare yourself to golfing languages"...
 
@AlexA. javascript: $("#input").keyup(function(){$("#input").val($("#input").val().replace(/o/g, "ಠ"))})
 
@MartinBüttner Well, yeah. Idk. I feel like "regular" languages shouldn't feel the need to compete with golfing languages but competing with each other is fine, e.g. C++ vs. Java vs. Python. The same goes for golfing languages: competing with each other is fine, e.g. Pyth vs. CJam.
Otherwise why develop golfing languages at all if you aren't competing with other languages?
 
I don't know. Of course, I'm happy when I beat Pyth with CJam, but even that isn't really a fair comparison, seeing how much more often Pyth has the upper hand.
 
9:11 PM
True
 
@AlexA. exactly.
(I don't think the recent flood of golfing languages is a good thing because it completely evades meaningful comparison between answers.)
 
Agreed
 
@quartata pl.tryitonline.net I have no code to test it with, so please tell me if there are any issues.
 
@Maltysen That's not real JavaScript! That's jQuery! You... big faker. ;-D
 
@wizzwizz4 SE chat has jquery already ;P
 
9:16 PM
@Maltysen I suppose... But next time, add a disclaimer, or you might get sued by Oracle or ECMA. (Or Microsoft...)
 
I'm annoyed. Using Homebrew to install Boost on Mac requires also brew installing Python, Python 3, OpenMP, and MPI, all of which I already have installed. I don't want conflicting installations. :/
 
@AlexA. Quick fix: Sue 'em Put it on the issue tracker.
Aaah! No HTML in mini-markdown! Fixed with --- thanks to :26327554
 
Well, it's a known thing that Homebrew wants you to use the brewed version of things. Running brew doctor will even give you warnings if you have Python installed without Homebrew. ಠ_ಠ
 
def b(m):
 s=0
 for k in range(m+1):
  p=1;v=0;exec('s+=Fraction(p*(v+1)**m)/-~k;print(s,Fraction(p*(v+1)**m)/-~k);p=p*(v-k)//-~v;v+=1;'*-~k)
 return s
Anyone know why this keeps outputting 0?
 
@wizzwizz4 Use --- for strikethrough
@Sherlock9 The result is 0?
 
9:20 PM
I'm trying to get Bernoulli numbers and this version keeps returning 0
 
@Dennis looks like it works. Thanks.
 
@wizzwizz4 Chat ID references only link if they're the first thing in a message
 
You've been hit by, you've been struck by a smooth criminal
 
Will post the first batch of answers shortly
 
@Sherlock9 do do do do do do do do, do do do do, do do do do. do.
3
 
9:21 PM
@AlexA. Yeah... Locked me out of editing; timeout.
By the way... Sherlock9 and MartinBüttner have had a bash at my question. Want a go?
21
Q: Map string to Hilbert curve

wizzwizz4Let's map some strings to 2d space, fractal style. Your task is to compute a Hilbert curve and lay a string along it. Task The task is to take the single-line input string, and lay it out along a Hilbert curve big enough to contain it, but no bigger. Try to make the byte count as low as possi...

 
Took a 2-hour nap and was thinking about languages when I woke up. Leading to an idea I'll probably incorporate into my next language (whenever I get around to it).
I love waking up thinking about stuff and/or with new ideas.
 
Guys! We have a big leaderboard-snippet error! It doesn't understand decimal points!
And I don't understand regex... :-(
 
I've fixed that
@wizzwizz4 just look at one of my leaderboard snippets
 
@CᴏɴᴏʀO'Bʀɪᴇɴ :-)
 
Did it work?
 
@FlagAsSpam That thing is like the FORTRAN IV of musical instruments.
 
...yup.
 
😷 <-- what should this do?
(guy wearing some sort of mask?)
 
Try/catch.
 
Stack-based language.
:P
 
9:50 PM
Try/catch.
 
Vitsy needs that. For operations that might not work?
 
I'd make it the finally in a try/catch/finally
 
Is finally a catch for catch?
 
Um what
 
9:50 PM
No, just something to do in either case
try {
 error()
} catch(e){
 stuff
} finally {
 always executes
}
 
Ohhh.
 
It seems rather redundant, and I think it's only for readability.
¯\_(ツ)_/¯
 
Makes sense to me. If you open some kind of connection in try and something happens and you catch it, you'll want to close your connection if it's open in finally.
 
Finally also executes in the possible 3rd case: that the exception thrown in the try block is not of a type caught in the catch block(s).
 
That's why you always catch a generic exception and print "something went wrong idk" and call it good.
2
 
9:56 PM
^... yup.
 
Is information by definition informative?
 
@wizzwizz4 I do understand regex, but the main regex in the leaderboard snippet is verging on write-only.
I'm sure someone has talked about rewriting it to use jQuery.
 

« first day (1786 days earlier)      last day (3056 days later) »