« first day (1920 days earlier)      last day (2926 days later) » 

7:00 PM
@NathanMerrill Err ... then how would votes on the challenge tour indicate quality?
 
@MartinBüttner no, not to my knowledge
 
@Doorknob was that ever pitched to the community beyond the occasional mention in chat or meta comments?
 
I am especially horrified with my newest creation. Hello, World (ungolfed):
!@UUuu–¦¦ÇÞÞÿĖĖķőőŰƋƋƪƪljǨǨȇțțȺȺɚɚɻʕʕʶ˓˓˴̬̋̋͋͛͛ͺͺ
 
/me launches antivirus
 
@TimmyD popularity among PPCG sounds like a great choice for a tour question, but questions that make the HNQ or are highly visible elsewhere are often skewed
among PPCG users*
 
7:02 PM
among PPCG meta users*
Please don't get me wrong, I like the idea -- I'm just purposefully trying to shoot holes in it so it's a strong idea.
 
^ not a bad idea
 
or is it? maybe we should start shooting holes in it to be sure.
 
well, I'm not going to post too many ideas, just the "goal" in hopes that somebody else posts a solid idea
 
@MartinBüttner Hmm ... have we had a text-version of the "patch the image" challenge? Shooting holes in text made me think of it. Given a paragraph of input that has holes in it, use language processing to fill in the holes with reasonable-looking text.
 
@CᴏɴᴏʀO'Bʀɪᴇɴ Wηiψh lαnγuαgε?
 
7:08 PM
@zyabin101 Doesn't have a name yet. Any suggestions? :P
 
@TimmyD If you can come up with a good winning criterion and test cases, go for it. :)
 
thanks I'll read those later
 
@CᴏɴᴏʀO'Bʀɪᴇɴ Linky? Winky? Dinky? Binky?
 
I think I'll use a RWG
 
7:11 PM
In Python, objects like lists, dictionaries, and class instances are implicitly passed by reference. If you want a copy, you have to be explicit about it. What do you guys think of doing it the opposite way? Copy implicitly, pass by reference explicitly?
 
Not -15 total score yet...
 
@El'endiaStarman Copy implicitly.
@El'endiaStarman shhh
And now I gotta go. BAI
 
user207712
cya
 
@CᴏɴᴏʀO'Bʀɪᴇɴ If so, then how should I denote/handle references in Pytek?
 
7:13 PM
@El'endiaStarman you mean, explicit?
 
Yeah. If I copy implicitly, I have to provide an explicit way to pass by reference.
 
@El'endiaStarman Unary &
 
^
literally just about to say that
If you want words, go with ref.
BAI
 
user207712
bai bai
 
7:15 PM
Should I dereference implicitly? Like, with C/C++, you have to explicitly reference and dereference. What I can do with Pytek is that if you pass by reference, then the object in the function's scope is not the reference, but rather the object itself, just like Python.
 
Yeah, sure.
Pointer arithmetic isn't that useful
 
Ooh, maybe ref: can be a type?
 
@CᴏɴᴏʀO'Bʀɪᴇɴ So, did the RWG speak? How will the lang be named?
@CᴏɴᴏʀO'Bʀɪᴇɴ Link?
 
@Doorknob hm okay. to be fair, that was 2 years ago, where activity was much lower. also by now I'd have some fairly specific ideas for blog content although they overlap a lot with the second post.
 
user207712
@zyabin101 conor is afk
 
7:20 PM
@Solver ikr
 
user207712
@MartinBüttner Did you delete my answer?
 
2
Q: Golf Text into DNA

NoOneIsHereText to DNA golf Challenge Convert input into a DNA output. Algorithim Convert text into ASCII code points (e.g. codegolf -> [99, 111, 100, 101, 103, 111, 108, 102]) String the ASCII codes together (e.g. 99111100101103111108102) Convert to binary (e.g. 101001111110011010010110100010000110011...

 
@quartata throw it in db/seeds.rb
 
Added another topic to the PPCG blog phase 2 post:
0
A: Code Golf Blog - Phase 2 - Define the Scope

El'endia StarmanAnother idea: language design and development This is more relevant recently due to the surge in language creation. Sub-topics include: Posts by language creators about their languages; design, development, implementation, unique features, etc. Comparison of and/or expositions on language styl...

 
it would probably be more fruitful to start a new discussion on this
 
7:32 PM
Probably, yeah.
 
FRUITW'd /o\
 
Hrm ... really struggling with this code-golf-DNA challenge.
99111100101103111108102 is bigger than uint-64
and converting to binary in PowerShell is already lengthy ... I don't wanna write my own :-/
 
@ArtOfCode OK
_user.html.erb is the place for this I think
 
@El'endiaStarman I didn't know SE had blogs! Most of them seem to be long dead though.
 
@Zgarb Yeah. Blogging is hard to sustain.
 
7:46 PM
How do I properly check for mod/admin? Is it a has_privilege? thing?
@ArtOfCode
 
@quartata View or controller?
 
View
I have a user object
 
user_is_mod or user_is_admin
for the current user, anyway
 
Is it a method or a global function?
 
You trying to do mod/admin symbols?
 
7:47 PM
yes
 
So you have a user object, you want user.is_moderator or user.is_admin
 
OK
@ArtOfCode check prs
I made the symbols a site setting
Oh wait oops
 
@quartata you're a collaborator you don't need PR's
 
I did it anyways
 
looks sane to me, go ahead and merge and I'll pull it when I've figured out this blasted config file
 
7:55 PM
Wow, I'm gone for 30 minutes, 390 messages.
 
@ArtOfCode done
The reason I'm using pull requests is in case I did something really wrong
 
@quartata cool, config is (I think?) done.
May need some more I-lines.
 
That way you can catch it before I merge it
@ArtOfCode for IRC? great
 
1
Q: Tour to Improve the Discoverability of Old Challenges

Nathan MerrillWe've got some pretty great challenges here. However, after a month or so, challenges get little to no activity. Since we aren't a Q&A site, we rarely get traffic via searches. I would love it if we could introduce users to high quality questions that they may not have found on their own. I b...

 
@quartata yeah, let me restart the server and you can see if it works
 
7:57 PM
What's the port?
 
sigh what's the equivalent to systemctl in Ubuntu 14.04?
It needs me to run systemctl to restart the server, but bash says systemctl: command not found.
 
start
it uses upstart I think
 
I need a restart, though
 
restart
Wait, lemme double check.
 
Heh. Looks like we're going to be here a while. Command works, but unknown job name.
 
8:00 PM
service service_name restart
 
Yup, now we have Invalid sid specified in ircd.conf. What's an sid?
 
missing ip address after the hostname
(most likely)
 
Gonna have to check the EC2 console to get that... this might take a while.
Hah! Gotcha. stage.artofcode.co.uk:6667.
 
Did it work?
 
Yeah, should be running.
I have a warning about the network name not being set, but it did run.
 
8:06 PM
Can't connect; can you?
 
@ArtOfCode Run it from /etc/init.d/
So, like, /etc/init.d/apache2 restart
 
@quartata Haven't tried because it's been so long that I've basically forgotten everything
@VTCAKAVSMoACE apache2? What's apache got to do with it?
 
That was an example. :P
I'm at -6 rep again...
 
@ArtOfCode I think the network name is mandatory. Take a look at this example ircd conf: irc.org/ftp/irc/server/irc2.11.2p3/doc/ircd.conf.example
 
@quartata Yeah, not looking like it
 
8:09 PM
-1
Q: Rearrange letters of string

Nikhil KhuranaGiven a string , our task is to rearrange the string (if possible) such that no character appears at original position as in the initial string. e.g. Input 1 : aabccbadd Output 1 : dcaabcdab (one possible rearrangement) Input 2: abaabOutput 2: Not Possible

 
A:<Your Name/Location>:<Your E-Mail Addr>:<other info>::<network name>:
@NewMainPosts surely we've had derangements before
 
...why was this sending over http the whole time. .-.
 
@VTCAKAVSMoACE because letsencrypt is a pain
 
^
 
@ArtOfCode ...not really. It's literally an automated script with apache. >.>
Or are you using nginx?
 
8:11 PM
@VTCAKAVSMoACE I'm not running apache.
 
shakes head slowly
 
Or nginx.
 
It's Rails.
 
Ohhhhhh
 
8:11 PM
It's a pain in the ass, especially on some of the older versions of CentOS
 
Welp.
 
It's Ubuntu 14.04
 
I take it back, ^ this looks better.
 
So, what do I need for the network name, @quartata?
@VTCAKAVSMoACE Okay, added to the rapidly lengthening queue of things I need to do.
IRC is currently top of that list, I'll do the encryption when that's working
 
8:18 PM
@ArtOfCode Call it QPixel
 
restarting
Nope, timeouts.
 
Yeah, same here.
 
does different zlib version matter?
 
Ooh I bet Amazon blocks the port
 
@quartata GENIUS.
I never let it through the firewall damnit.
 
8:19 PM
haha
oops
 
you should rename it to
broke.artofcode.co.uk
 
we really should
 
@Optimizer but that would mean changing the DNS records and waiting 72 hours for propagation... effort
 
@ArtOfCode does it really take that much?
I did cname change once and it was almost instant
 
@Optimizer can do, yeah
 
8:21 PM
yes
 
Depends how fast every ISP updates their DNS records.
 
a new cname should catch up quicker
so you can remove stage later on and add broke to begin with
 
ermahgerd "please wait while we process your connection."
yayyy
 
Yep, I'm in. It's asking me for a channel, though - what now?
too long since I did this
 
HBO
for GOT
 
8:22 PM
@ArtOfCode hit do nothing
then accept my invite
or /join #qpixel
 
I'm in
 
Depends upon how fast every ISP or other eyeball network updates their DNS caches (based on their internal algorithms), coupled with the DNS' SOA record TTL setting, coupled with the actual DNS record's TTL setting. If you've prepared for the change by setting TTL to a very low value and waited until that change has propagated, then when you make your "real" change it should be pretty quick.
 
@ArtOfCode What's going on?
 
@VTCAKAVSMoACE it works
 
@ArtOfCode How do I join?
 
8:27 PM
@VTCAKAVSMoACE with an irc client
 
@ArtOfCode Do I need a password?
I already set up the IRC client.
 
@VTCAKAVSMoACE nope
stage.artofcode.co.uk:6667
 
/me face palms.
I was using 6697
 
that doesn't help
 
Still not connecting...
 
8:28 PM
What's it doing?
 
Waiiiit
What channel?
 
#qpixel
 
Should I be using ssl?
 
@VTCAKAVSMoACE probably won't work
 
What do you call it in english when you go from a (rough) draft to a finished perfected piece?
 
8:32 PM
@ArtOfCode But it did. ¯\_(ツ)_/¯
@flawr Revision.
 
@VTCAKAVSMoACE shrug
@flawr ze sound of progress
 
@VTCAKAVSMoACE I mean rather like the final modifications you make before you submit something.
 
@flawr final touches
 
Oh, ^ yeah.
 
which never did sound very innocent
 
8:34 PM
@ArtOfCode Oh right, thank you!
 
Or "Finishing Touches"
 
@TimmyD which sounds even worse
 
Worse in what way? @ArtOfCode
It turns out I didn't have to use this formulation.
 
Immature jokes :)
 
I just submitted my draft for the pop-cons.
@ArtOfCode Oh, now I see.
I am way too mature for jokes like these.
0
A: Updating the [popularity-contest] tag info: suggestions

flawrNotes: If you find any grammar mistakes or formulations that are clumsy, feel free to directly edit. For other suggestions please use the comments. Should certains points be linked to the relevant discussions on meta? I think this might be too long. Feel free use this as a base for an own draft...

 
8:42 PM
definitely
 
I'd be happy if someone with better english knowledge (should not be hard to find) could review my suggestion language wise.
 
@flawr waaaaayy better than half the stuff I see around SE daily :)
 
@flawr Done.
 
@ArtOfCode Works. :P IRCMOTD exists.
 
@VTCAKAVSMoACE Yeah, seems to be
I should really add the Op line to the config file
 
8:49 PM
And don't feel bad - like ArtOfCode said, this was good stuff. Heck, I'm a native speaker for 30+ years and I still get tripped up on things.
English is weird.
 
@quartata deployed
gad, so many admins
 
@ArtOfCode @TimmyD Thanks for making me feel good=)
 
@flawr anytimes
 
And thank you for reviewing/correcting!
 
9:05 PM
-2
 
@ArtOfCode hi i would like to apply to be an admin, i have several hours of experience as a user
 
@PhiNotPi I've lost track of who I've adminned :) Which one are you?
 
I'm "PhiNotPi"
crazy, i know right? that someone would have a sensible username
 
Anonymous
@MarsUltor Once again, I'm not interested in spending money on a FOSS project
 
@PhiNotPi ah, that one. Missed you.
 
Anonymous
9:12 PM
@ArtOfCode What's this all about?
 
@Mego My SE clone, which I linked about 24 hours ago and has since been abused tested to hell and back
Trial by PPCG
9
 
Also, someone translated one of my questions into Chinese (Japanese?): stage.artofcode.co.uk/questions/61
 
Folks
 
@PhiNotPi I noticed that :)
 
I just found a C code that SIGSEGVs if you change the number of spaces on a printf()
I want to cry
 
9:15 PM
Hey @Mego you don't happen to know how to IRC, do you?
 
@PhiNotPi What is this website?
@BernardMeurer Feel free to do so. We are all here for you.
 
@flawr ArtOfCode's clone of SE.
 
Why did he clone SE?
 
@flawr ;-;
 
@flawr why not?
 
9:20 PM
0
Q: Maximum Length of sequence

Nikhil KhuranaAlice is a teacher that loves her students. As the school year reaches its end, she wants to reward all her students with candies for all their hard work. She has ‘n’ packets each containing different number of candies. She distributes these packets in a random order to the students. Now she want...

 
@flawr It enables an immediate transfer of the soul into the clone once the original has been slain.
2
 
(starred as an easy explanation for the next person who asks the same question)
 
@NewMainPosts this seems like a off-shore challenge
but I'm not sure
 
I want to post this on code review:
// "convert" c-style to python style
function convert(code)                                                        {
    // split into lines
    var lines = code.split("\n")                                              ;
    // get max line length
    var maxLen = lines.reduce((x, y) => Math.max(x, y.length), "")            ;
    // add some padding
    maxLen += 3                                                               ;
    // iterate through lines
    var iter = lines.map(line =>                                              {
oh, shoot, messed up a tad :(
 
This is really irritating code.
 
9:27 PM
I know :3
It would theoretically leave python code untouched
 
Monring
 
evneing
 
I thought it was my phone messing up the formatting but @flawr has confirmed my horrors
 
9:36 PM
> clenase empty lines
 
Anonymous
@ArtOfCode I do, actually
 
@Mego Excellent :) and do you know how to write an O-line so that it actually works? :P
'cos I can't
 
Anonymous
@ArtOfCode I'd have to look at the documentation when I'm not on mobile :P
 
Ah, no worries.
 
Anonymous
It's been a long time since I was an IRCOp
 
9:46 PM
a website I was working on a couple months ago: socnet-phinotpi.rhcloud.com/home.pl
 
Ahhh... that warm fuzzy feeling when you are developing and you go for too long without running any unit tests, and when you finally run them they all pass.
 
2 days ago, by Mego
Yay, all my unit tests pass! ...oh no, all my unit tests pass, that means my tests aren't robust enough.
 
What a downer :(
 
I'm going to ignore the evil wink and focus on the fact that my friend, who has no life and no job and lives off of his partner's earnings, just texted me and said he finished building my witch's broom. When I get home I can fly in Minecraft.
If I ever get home... this week is drop week
 
9:51 PM
One of the universities in my state is having a bad past couple days... a dorm caught on fire, a car caught on fire, some guy got shot, and they lost a basketball game.
 
Depending on the size of the university, that is either unusual or not unusual
50,000 people = someone's car is gonna catch on fire
10 people = not too many fires
 
Google says 10,000.
 
@EᴀsᴛᴇʀʟʏIʀᴋ github.com/vihanb/SEChatbot
 
When I was living in Austin, someone was playing hide and seek while smoking (dumb right?) and they hid in the back of a truck in an alleyway. They caught the brush in the back of the truck on fire, but the truck was totally fine. All of this was going on right outside of my window.
But that was like the hottest year Texas has seen in decades. We set multiple records that year
 
Some car caught fire at my university a couple months ago, which cued a lot of vaping jokes (from the smoke generated).
 
9:55 PM
I'm struggling on coming up with the syntax to describe the runtime complexity of a function. Do you guys have any ideas?
 
@NathanMerrill As in, big-O notation? I'm not sure what you're looking for.
 
O(some polynomial)
 
fun merge(list1, list2){
    #syntax
}
yes, big-O notation
 
O(brother where art thou)
 
but it needs to be parsable, and link to several variables
what I'm shooting for is the ability to take a function and give the runtime complexity of it. (which isn't always possible, but I'll give it when possible)
 

« first day (1920 days earlier)      last day (2926 days later) »