« first day (1543 days earlier)      last day (3291 days later) » 
00:00 - 16:0016:00 - 00:00

4:00 PM
haha 11:59
 
Morning then...
Hope it was a good one
 
it was much better than yesterday
anyone wanna help me golf? (IDL)
 
I don't know IDL but if you post an answer those who do will probably add comments with suggestions (especially if you can find them in here when they're online)
 
i don't know anyone else who knows idl ;_;
 
I think there is a way to not parse the input into two array A and B ..
 
4:05 PM
I just did a chat search for IDL and the only other person who has mentioned it is Optimizer. Then I came back to tell you and Optimizer appeared...
 
@sirpercival I know someone who does, but I don't think he's golfing ;)
 
@MartinBüttner haha fair. it's not an easy language to golf...
@Optimizer do you IDL?
 
@sirpercival not even heard
I have mentioned IDL here ?
when ?
 
dunno
 
(real output now)
 
oh no, that is idl.
but pretty sure different from the language IDL
 
We're having a queso (cheese dip) cook-off today at my company and our CEO is in the break room tasting and yelling "WOOOO..... WOOOO.... this is some GOOOOOD stuff!"
 
Wow
 
Every tried to write SQL while your CEO is yelling in the background? It's difficult
 
you write a LOT of SQL , don't you ?
and mostly at these wrong times :P
 
4:34 PM
@Rainbolt no, I nevery had to, thankfully
 
5:02 PM
take that, APL!
 
Uuuuhhhhhh.... so much cheese
And they had lemon chess pie of all things
Our CEO brought spinach dip. It was the second best spinach dip I've ever had, but I can't bring myself to vote for it because it seems cheaty.
 
@Optimizer @MartinBüttner Anyone up for implementing my algorithm in CJam. You both waste way too much bytes for parsing, which isn't necessary using my alg.
 
only if this scorpion finishes
@Jakube I have a thing in my mind which will require no parsing.
 
@Jakube hm, maybe... I'm actually interested in how I can golf the parsing :D
 
5:21 PM
ah, well, this algorithm ain't gonna do well . now to jakube's
@Jakube your algorithm might be longer than 52 bytes in CJam
and I wonder if you can do shorter using our algorithm ;)
 
really?
 
wanna try ?
 
sure
 
@MartinBüttner with your second part, I get 44 :D
(and my first)
best of both worlds
haha 42!
@MartinBüttner okay, not all of your second part and I have 42 .. hope you are fine with me using it ?
 
5:38 PM
ughh, it doesn't work for -1 cases .. and otherwise, I have only 45. No point.
dammit .- for not working on empty arrays ..
 
@Optimizer 50 byte so far with your algorithm
22 for parsing, 28 for finding the distance :-(
 
try Martin's
he does bit play, while I filter
 
5:56 PM
just changed the parsing
saved 5 bytes
 
41 ?
 
7 bytes actually
39
8
 
what was the change from 39 to 38 ?
 
one. more. byte.
@Optimizer I don't need to turn n into a range to filter the numbers from 0 to n-1.
 
code wise .. it doesnt show up in revision ..
 
6:00 PM
well that is code-wise... I removed a ,
 
oh ok
 
6:44 PM
is it possible to post a file to an answer?
 
no. you can upload it elsewhere and link it.
what sort of file?
 
i was going to link an IDL .sav file for my answer, so people could run it w/ the IDL VM
since IDL is expensive
but the VM is free
 
is that a binary or a text file?
 
how big is the file?
 
6:49 PM
4kb
it's just the one function lol
and the function is golfed
 
hm, that's a lot. I was gonna suggest including a hexdump, but that would be huge.
you could put a hexdump on pastebin and link that I guess
 
the hexdump isn't too bad... hm
@MartinBüttner does this work? pastebin.com/33mmknXm
 
probably
better than nothing, I guess
 
i don't know if anyone cares enough to actually try it...
 
7:21 PM
well anyway does anyone have golfing tips? codegolf.stackexchange.com/a/49104/31863
 
it looks like there are extraneous spaces between the characters
(although that looks nicer)
 
i found only 1, which i took out (return, b -> return,b)
 
no, in your output
 
oh, that's the way that idl prints a 2d array
do you think that's a problem?
 
oh right, you've written a function returning a value
I thought you went for printing the result. in that case, I don't think it's a problem.
 
7:30 PM
yeah i actually can't take out the spaces or the recursion doesn't work
 
wait, so are the spaces actual characters in your strings?
 
no - i mean, if i join the array into a single string on return, the recursion fails. i could do print, strjoin(t(n,x,y))
i can only take out the spaces after the recursion is done
which i can't do inside the function
 
no luck getting below 38 ?
 
bbl
 
@Optimizer nope
 
7:46 PM
@MartinBüttner I know you can do eet
 
well, Jakube's turn...
 
8:01 PM
Apparently, my company decided that 1900-1-1 was the epoch. Then I found out that there are a ton of epochs in computing. I stand by my original decision to use 1970 though, because it appears to be the most notable epoch used in programming.
 
I use 2012 as epoch Mayan AD
 
39 with a similar approach as your CJam solutions.
 
@Jakube as long as it's not 36 ;)
 
Instead of using epoch and timestamp, just use an object representing the current position of 50 or so celestial objects. Then to run a comparison/calculation, you just have to feed it into your astro-simulator method.
 
@MartinBüttner or 37
 
8:08 PM
@Geobits I suggested it to my team leader and got fired. Thanks.
 
@Rainbolt so you are free now
 
The worst thing is, I can parse the numbers in only 12 chars. But need 29 for the computation.
 
@Rainbolt Glad to help. I assume as much as you complain about work that it was help, right? ;)
 
@Geobits When I complain about my work, do I honestly sound like I don't like it here?
 
yes
 
8:09 PM
No, but I need to interpret it so that it makes me look better, not you.
 
Maybe
 
Anyway, like Opti said, you have more free time now. You're welcome :P
 
I am still a bit salty about the steps thing. Unengaged empoyee? Pfft.
 
Well, I am an unengaged employee. Very much so. Luckily they don't care much here.
 
Apparently I take 14500 steps a week. Three weeks in a row I've been within 100 steps of that number.
 
8:12 PM
Is that just M-F, or all seven days?
 
All seven
Holy cow. Most people average 7000 steps a day according to the top three Google results for "average steps per day".
 
Hmm. Mine's about 6100 according to my app. Not bad for having a desk job if the average is 7k.
 
Something must be wrong with my pedometer. Are you particularly active after work?
 
@Rainbolt that is very less. I take around 25K+
and that is less, because I am tall, so steps/distance is less
 
@Rainbolt Not really. I am sometimes on the weekends, but I don't see it being enough to raise my average that much.
I agree though, 2k/day is pretty low, something might be wrong with your pedo.
Is it a clip-on type, an app, or what?
 
8:19 PM
Clip on type
 
your phone can't measure ?
 
If you normally carry your phone, try using that to compare against for a few days.
 
No, I have an LG flip phone from 2009.
3
 
Apart from Japanese people, I think you are the first one that I've heard has flip phone
 
Japanese phones are awesome, though :D
 
8:21 PM
I have a nice laptop, desktop, and tablet, so I sort of bypassed getting an awesome new phone.
 
I do too. It has an alarm. and a clock. and a telephone. (and a camera).
 
But yea, if you actually care, you should probably get a different meter to check it against.
Sometimes just adjusting the clip position makes a big difference, too.
 
@luserdroog That too. If I ever switch to a new phone, I'll have to deal with the nightmares of learning a new alarm clock.
 
Alarm clocks on smartphones are braindead simple, to be fair...
 
The alarm clock on my phone will snooze exactly five times before it gives up.
I learned that the hard way: late to class.
It also cannot be heard from under my pillow. Learned that the hard way, so now I don't stuff it under my pillow after the first snooze.
 
8:24 PM
Nice. Mine snoozes until you tell it not to. I learned that while taking a shower.
 
Also, knowing how easily seduced I am by technology, I am afraid of overindulging. So I set broad limits for myself. ... Perhaps it's time to push this one.
 
@Geobits I learned that while attending a meeting
 
That sounds much further from optimal.
 
I can also snooze through most alarms, but the one I have set wakes me up instantly (and also sends me into a panic when I hear it elsewhere).
 
@Geobits my real name is not Optimizer
 
8:25 PM
You're using a fake name?? That's just plain rude.
 
@Optimizer I am now less impressed by your parents.
 
so your real name is Geobits ?
 
Nah, he's a fake. The real Geobits wears a fedora.
 
@Optimizer Yes. Otherwise the hypocrisy would be obvious.
 
@luserdroog that can be offensive on some levels
 
8:26 PM
Mama droog sed: that boy's a luuusaaa! We fixed the spelling much later.
 
@Geobits what's your last name ? "per second" ?
 
No last name, just Geobits.
 
Your last name can't have a space in it... or can it?
 
von Blah?
 
 
 
8:27 PM
Yea, and van der Blah
Nevermind then
 
GBPS - GeoBits PerSecond
 
Great Britain Philatelic Society
 
In databases I've used, the name is input as (last,first) so whatever is to the left of the comma is the "surname".
Years ago I wrote a perl script to convert ALLCAPS names to Title Caps. Trying to account for Mc Mac al- el- III IV etc was a pain (and I probably never quite got it right).
Hmm. might make a good challenge.
Whoops. I misremembered. The script was in awk.
 
The pizza guy a few months ago made fun of me because I wrote my name in all caps on the form when I was filling out my credit card information. He mock yelled my name when reading my order to me. But that's how it appears on the card... all caps
 
Exactly, you never know how powerful their backend is. If they try to run your card wrong too many times, it can trigger a suspension of service on the card.
Where the exactly details of wrong can only be surmised by observing the effects.
It must be tough for mods, having that extra diamond everywhere.
 
8:42 PM
I would love to have even a single diamond. a big one
 
 
Optimizer ♦
@Optimizer ^ does that work? :P
 
@Optimizer that's okay.
 
@Rainbolt You wish you could read right to left? In a public speaking class last week, we were asked to read children's books out loud, as we would to children. A student read the book--fluently--from right to left, upside down. Just wanna throw that out there.
 
9:33 PM
Has anyone else ever played Wii Play Tanks?
Could that be made into a KOTH?
 
9:50 PM
@MartinBüttner I was browsing the help center and found some default text that doesn't really apply to this website.
I don't know if it is something that can be changed or not.
 
@PhiNotPi Only the /help/on-topic page can be edited by moderators.
Some other pages can also be edited, but only by SE staff.
 
Okay.
 
What is it?
 
(Probably nothing that bad) codegolf.stackexchange.com/help/dont-ask "You should only ask practical, answerable questions based on actual problems that you face."
 
Yeah, we can't customize /help/dont-ask.
 
9:53 PM
Hm that entire page is quite misleading for ppcg.
 
"Are more than just mindless social fun". Oops.
2
 
It might be in our interest to rewrite/expand the On Topic page.
 
8
Q: Let's rewrite the help center's on-topic page

DoorknobRelated: A Better Help Center Our current help center is lacking in a number of ways (see the linked post for more details). Therefore, this is a Community Wiki post meant for collaboratively editing the /help/on-topic page and improving it, to be optimally geared towards new users. For minor e...

 
10:09 PM
My tablet just auto-corrected "point" to "line" o.O
 
@MartinBüttner Then did it correct 'line' to 'square' to 'cube' to 'hyper-cube'?
This regex matches a bunch of the posts here:
/( or |ppcg| so |sandbox|new|>|mod|user|bug)/i
 
This regex matches more of the posts here:
/.*/
 
@Doorknob too much effort.
//
 
@Doorknob But newlines D:
 
In some languages, like Perl, // sometimes means match the last successfully-matched regex.
 
10:22 PM
/\n/
 
@Sp3000 I did say more.
And technically it matches all messages, since I never specified it was anchored to the beginning and end of the string.
 
i have an idea for a golfing challenge but i dunno if it's too derivative
 
@sirpercival What is it?
 
create a "drawing guide" for a regular polygram en.wikipedia.org/wiki/Polygram_(geometry)
you're given p & q as inputs, and it's a "drawing guide" because you draw it in ascii, using a digit 1->p for each line, giving an order to draw them in
for example, for {5,2}, you'd draw a star; say you did the traditional starting with the bottom left, you'd go BL-111111111->Top-2222222->BR-3333333333->ML-44444444->MR-555555555->BL
 
@sirpercival Seems like it could be hard. But fun.
 
10:27 PM
you could start w/ any vertex ofc
 
You'd need something like Mathematica or anything with graph drawing, though.
 
@aditsu now that we have e[ and e] it would be even nicer if f would work with ternary operators
 
@ASCIIThenANSI for drawing in ascii?
 
@sirpercival Oh, sorry. I must've missed that.
 
no worries
 
10:29 PM
But that could be a problem if you have sharp turns that your figure would have to be too big to print
 
yeah, that was part of it. i was thinking you could make it big if you needed
but i dunno if this is feasible or interesting
 
@sirpercival But what if you have a really big figure, too big to fit on any reasonably sized screen?
 
could also put a cap on it, something like p=10
that would restrict how sharp your corners were going to be
 
@sirpercival But what if I gave you {10, 6}? That needs a bunch of really sharp turns.
 
{10,6} is the same as {10,4}
this is for q < p/2
 
10:33 PM
@sirpercival {9, 4} seems like another tricky one.
 
and {10,4} is a compound of to {5,2}s which doesn't have that many sharp turns
yeah {9,4} is about the sharpest you're going to get
 
@sirpercival Could be fun. But it would be hard.
 
@Optimizer do you have a shorter way to trim trailing spaces than using the new w? ({_W=' =}{W<}w which is massive)
actually {_W>S=}{W<}w (one shorter) or it'll break on strings containing only spaces
I want to close this as "unclear what you're answering".
5
 
10:48 PM
Looks to me like he's asking another question.
 
@MartinBüttner That seems like a question coupled with the docs.
 
@Rainbolt he posted a similarly cryptic answer earlier, but I deleted that one because it looked malicious
 
@Martin I think "Could you explain this?" is a rhetorical question. The spoiler block is him answering his own rhetorical question like a ninja.
 
@PhiNotPi @Doorknob it turns out "a dev" could actually customise help/dont-ask for us. I'd like to crowd-source the new wording on meta, like Doorknob did with the post he linked, but there's also this question by @Calvin'sHobbies which is sort of competing with Doorknob's and mine would also be competing with that one.
What to do?
@Rainbolt yeah, that's what it looks like
 
@Rainbolt I still don't understand what he's saying.
 
10:53 PM
what's baffling me most is that he has 1k rep.
 
That's probably one of the least-helpful golfing tips answer I've seen in quite a while..
 
@PhiNotPi @MartinBüttner Maybe we can flag it as low-quality?
 
@ASCIIThenANSI I can assure you, "the moderators" are already aware of it ;)
 
@MartinBüttner OK, thanks. C:
 
Well, honestly I don't know what to do with it. Maybe his ramblings actually make sense to someone who likes to golf in bash.
@MariaTidalTug could you have a look at this answer and let me know if it makes any sense?
 
10:58 PM
Maybe I should flag it anyway.
 
@PhiNotPi ...
 
@MartinBüttner I guess you're right, I've seen people bewildered at some of my code.
 
I never figured out what "flags remaining" does.
 
@PhiNotPi Really? That's too bad, you won't get to today.
 
@PhiNotPi Just noticed your meta post. Is that still what you want if we can edit the dont-ask page separately?
 
11:08 PM
@MartinBüttner not sure if I understand it correctly, but that would be still just 256 byte data a most
Context: "Challenge idea: print the longest prefix of a given text with an N-by-N codeblock (N is arbitrary) while there is no row or column with two of the same character in it."
 
yeah. Pyth ignores everything after the first line, so if you can solve it without repeating characters (on the first line) you can fill the rest of the grid with whatever you want.
 
but in any other language you can use the full N*N block, which can store a lot more info/byte/data/text
 
@MartinBüttner Well, my meta answer certainly isn't finished. Most of what I added probably won't go on the Don't Ask page, though.
 
kk
@randomra true, but seeing how golfy Pyth is, it might still beat any non-golfing language.
 
What is the "longest prefix of a given text"?
 
11:12 PM
that's often the case, but e.g. a multiline string in python can store a lot of data
it might boil down to text compression too quickly which is not too fun
 
ohhh
I misunderstood your challenge
 
I have no clue what this challenge is.
 
@PhiNotPi He's giving us some fixed text and we need to print as much of it as possible.
 
@PhiNotPi "Challenge idea: print the longest prefix of a given text with an N-by-N codeblock (N is arbitrary) while there is no row or column with two of the same character in it."
 
@randomra I think he read that, because it wasn't clear to me either. "Given text" sounds like "given as input to your program" to me.
 
11:16 PM
^ yep
 
Ohh, sry. On second thought solutions seem more tedious than fun :/
with smaller alphabet it might be better (printable ascii stilll seems a lot of chars)
 
11:31 PM
maybe every submission has to choose a 26-char alphabet it could use
 
what did I do?
 
11:35 PM
Are... are those all just loading signs?
 
Who knows I just copy pasted
 
I also just copy-pasted.
 
@Doorknob Do the daffodils not show in your browser?
 
hits edit They are. Now I feel like an idiot for waiting so long to see what it actually is. :P
 
I stared for too long too...
 
11:38 PM
@MartinBüttner <shrug> I guess it looks like "tips-for-obfuscating-bash" - I don't see anything in there that would be specifically useful for golfing
 
@MariaTidalTug Would you mind asking him if any of that is useful for shortening code as opposed to obfuscating it to see if he has anything to say in his defence? :)
@Doorknob I'm glad it worked. >:)
 
The starboard kind of ruins it... :)
user image
2
^ my reaction to your evil prank
 
Are we calling it the starboard now? It is on the right side.
5
 
@Doorknob it's not as effective if I click that though, because my browser doesn't display those when opening images directly. ;)
 
11:44 PM
@MartinBüttner Darn, I was hoping the i.stack.imgur URL would throw you off. :P
 
@Doorknob If you could make the background the same colour as the page it appears on then it would fool me for longer
 
@MariaTidalTug thanks
 
I've made a couple of suggestions for improving the antiquine question. I'm not sure if it's enough. Does anyone have any more suggestions, or opinions on mine?
 
user image
2
 
Oh god
 
11:56 PM
loading intensifies
 
@PhiNotPi That's even worse. Now I feel like the image was there, but I arrived too late
 
I think we should set up a separate room for all these large images
 
00:00 - 16:0016:00 - 00:00

« first day (1543 days earlier)      last day (3291 days later) »