« first day (2306 days earlier)      last day (2538 days later) » 

11:01 AM
sandbot is slow today
 
i.e. NSQ is normal today
 
0
A: Sandbox for Proposed Challenges

MayubeFind an unrelated number Given 2 non-negative integers as input, output a non-negative integer that cannot be created through any mathematical operators on the 2 inputs. For example, given inputs 2 and 3, 6, 0, 5, 1, -1, 9, 8, 23, 2 are all invalid outputs. Operations that must be taken into a...

 
@EriktheOutgolfer NSQ?
 
I assume he meant New Sandboxed Questions
 
@NewSandboxedPosts Does anyone ever call you NSP?
2
 
11:06 AM
new sandboxed questions
alternatively nsp
 
@Mayube So do you say NMQ too?
 
we call it NMP though
 
no I call em mainbot and sandbot
 
Okx
We call Erik ETG
 
@Mayube and metabot?
 
11:07 AM
exactly
 
@Adám NSP = much golfier than "New Sandboxed Posts"
@Okx doesn't fit it should be ETOG or something
 
Okx
Way too long.
 
"sandbot" is a pun, "metabot" sounds like a transformer, and "mainbot" just fits the theme
 
Okx
EOG?
 
like we called Calvin's Hobbies CH back then
but now it's Helka Homba so it doesn't fit anymore
 
Okx
11:10 AM
HKH?
 
@Okx pls stop
 
Okx
@ASCII-only You want a golfed name too? :P
 
AO
 
Okx
It has to be 3 characters, though
 
nah gotta be golfier
let's call him Ꜵ
 
11:12 AM
@Okx Why, PPCG is 4. Although our logo has only PCG.
 
Okx
Because all the other ones were 3 characters lol
 
is 3 bytes, so it still counts
 
Okx
@Mayube I never said bytes.
 
this is PPCG, it's always bytes
 
@Mayube It wasn't always so.
 
Okx
11:14 AM
Well, back at the start, it was characters
ninjad
 
lies, slander, heresy
 
.com
3
 
well I know what domain i'm buying today
 
Okx
Unless I ninja you ;)
 
well I can't buy it till payday next wednesday anyway
:(
 
11:24 AM
I'm not sure if you can buy it even after payday
 
no cos one of you meanies are gunna ninja it
 
11:39 AM
I need help with NodeJS
 
@Qwerp-Derp ok
 
Uhhh so if I write an app like this:
- webpage
  - all of my static files are here
- server.js
How do I make sure that no one can access server.js?
 
set your website's root directory to /webpage/
 
@Qwerp-Derp aren't you writing a server
 
backend nodeJS files can access other files outside of what the front-end user can access, so your backend code doesn't need to be in the website's root directory
 
11:42 AM
so you have to serve files manually anyway
 
Yeah
But I'm scared that people may be able to access server.js
I'm very new to backend BTW
 
@Qwerp-Derp if you write you serving code right they won't be able to
 
Rod
@Qwerp-Derp you are using something already established or creating your own?
 
if you want to be sure write a simple wrapper for fs that makes sure path.resolve(fs.dirname(__filename), thingClientWantsToAccess) starts with /path/to/webpage
or just use Express with express.static :P
 
So is this good enough?
app.use express.static path.join __dirname, ""
 
Rod
11:44 AM
@ASCII-only /path/to/webpage/../../../var/.....
 
Do I have to change the "" to path/to/webpage?
 
@Qwerp-Derp yeah
@Rod ... that's why I used path.resolve
 
Rod
oh
 
Is my thing good enough though?
 
@Qwerp-Derp change "" to "webpage"
 
11:45 AM
Cause I'm using nodemailer as well, which means I'm wiring up my email account to it
Shouldn't there be an extra slash at the end though?
 
@Qwerp-Derp it doesn't matter iirc, but include it just to be safe i guess
 
11:57 AM
@ASCII-only I'm going to post this to GH soon, can you please check it to see if you can't access the files?
Should I set up a temporary email?
 
@Qwerp-Derp yeah
 
Just in case everything fails :P
 
user165474
:o I post a Jelly answer and then go to bed and I come back with +60 rep. Not too bad
 
user165474
+70
 
12:17 PM
posted on May 23, 2017 by TheLethalCoder

When's the nearest special common year? A common year is a year that is not a leap year and where the first and last day of the year are on the same day. A special common year is one that starts on a Monday and so ends on a Monday as well. Your challenge is to create a program/function that when given a year as input finds the nearest special common year, outputting itself if it is a commo

 
user165474
Did oneboxes change or something?
 
@HyperNeutrino Deleted posts look like that
 
user165474
Oh okay. Thanks.
 
user165474
...it isn't deleted
 
@NewSandboxedPosts Are you feeling alright?
 
12:31 PM
@HyperNeutrino Well it must have been deleted at the time NSP posted it
 
user165474
Does deletion+undeletion show up in the revision history?
 
god dammit what's wrong with me
I'm making another language...
 
user165474
Does anyone know why this was deleted? And can we undelete it or is it meant to be deleted? @Doorknob?
 
posted on May 23, 2017 by Rod

This question was deleted by Community. But I can't see why. Shouldn't it only delete the old/closed questions?

 
user165474
Ehh... The Feeds bot seems to be unwell...
 
12:37 PM
@NewMetaPosts Feel better!
 
Who drew NMP's avatar
 
@ASCII-only All the bots have funky retro avatars.
 
@Phi
 
Advertisement: For playing sprout, you may visit this room.
 
user165474
0/10 advertising :I kek
 
user165474
12:46 PM
Here's how you advertise
 
user165474
Looking for something better to do with the time that you're meant to be spending on homework? Check out this Maths.SE chat room for recreational Maths games!
5
 
Brilliant !
 
@NewMetaPosts what? are you ok?
 
user165474
crap my advertisement got starred
 
user165474
yay now everyone can look at that and realize that they are procrastinating
 
user165474
12:55 PM
pro-tip for productivity: close TNB.
6
 
user165474
s/TNB/SE
 
@HyperNeutrino Also close TVTropes
 
@MartinEnder wait what?
 
1
A: The SE chat feed bot seems to be unwell

feersumI would hazard a guess that it is related to the recent name change of the meta domain (from meta.codegolf.stackexchange.com to codegolf.meta.stackexchange.com, done as part of the project to make Stack Exchange HTTPS-only. Note that links to the old domain still work via redirects, but perhaps t...

wait that
 
1:06 PM
yeah that's what I thought
although I dunno if that's the cause at all
 
Martin Ender has made a change to the feeds posted into this room
 
there's a good chance that the feed bots won't recognise that their feed is still the same, so if they all spam the last 10 posts or so in a few minutes, someone ping me so that I can clean them up
 
1
Q: The SE chat feed bot seems to be unwell

Hyper NeutrinoThe SE Chat Bot seems to be unwell. This includes Sandbox Feeds and Meta Feeds. Neither of these posts were deleted at the time of posting. Does anyone know what's causing this behaviour?

 
Feedback on sandbox seems quiet today
 
1:14 PM
yeah, thats why i asked in here, at least its real time :P
 
@MartinEnder problem apparently fixed
 
Yay
Is go foreign enough to code golfers that I should write explanations
 
0
A: Sandbox for Proposed Challenges

jeyejowProgramming challenge: Delete or Make a file disapear as fast as possible! Requirements to participate: -have a HDD hard drive, witch you will use to compete; -all the RAM you want, you can use the RAM or the disk on this challenge. -Use Windows (version 7 or more recente) for this challenge. ...

 
You should always write explanations
 
@NewMetaPosts Happy to see you restored to full health!
 
1:36 PM
This needs answers:
7
Q: Flatten the CUBE

Random UserDo you ever look at 3D shapes and think that we have 2 many dimensions. So let's make 3D into 1D! (See what I did there?) Task Given a 2D representation of a cube (layout below), flatten it into a single string, based on pointers. The CUBE This is the layout of the cube filled with no-ops (,)...

 
Is this explanation good
 
@totallyhuman yes
 
... runes?
 
Yup
That's what they're called​ in go
 
But what are they actually
bytes, unicode code points, etc.
 
1:49 PM
@feersum hi
 
Hi :P
I was answering the question of "who drew NMP's avatar"
 
Well um
Rune is technically an alias for an int32
But it is a Unicode code point
 
Rune does not even have to do with characters? Now it makes even less sense...
 
> "Code point" is a bit of a mouthful, so Go introduces a shorter term for the concept: rune. The term appears in the libraries and source code, and means exactly the same as "code point", with one interesting addition.

The Go language defines the word rune as an alias for the type int32, so programs can be clear when an integer value represents a code point. Moreover, what you might think of as a character constant is called a rune constant in Go.
from here
 
Oh ok, I misread at first that int32's are called runes in general...
 
1:58 PM
why is "hi" starred
 
2:18 PM
@totallyhuman A couple people wanted to star it
 
2:33 PM
@totallyhuman
30
A: The Many Memes of PPCG

DoorknobMeme: chat stars Originator: Unknown Cultural Height: Always Background: Chat (and/or Alex A.) likes to star some strange things: "Also why on earth did 3 people star my message about not seeing replies on mobile? o.O" —Martin Büttner (this message proceeds to get 14 stars) "I see." —Optimiz...

 
hi
oh
lol
 
Welp, move over Braingolf, it's 2Col's time to shine
 
2:51 PM
Guys, could we seriously stop starring "hi"? The starboard is for interesting messages new users would want to see, and I'm getting tired of unstarring stuff.
6
 
@Mego Please cancel the "hi" stars.
 
i didn't star any 'hi''s and i didn't mean for my 'hi' to get starred
 
@Adám Not Mego, but
 
@DJMcMayhem I wanted to spare you since you were getting tired.
 
No worries.
It only takes a few clicks. It's harder on mobile though
 
3:04 PM
starers gonna star
 
@Poke starrers gonna star
@Poke starers gonna stare
 
storers gonna store
 
@totallyhuman ?
 
oh awkward
You're right, Erik
I'm going to go curl up in the corner now >.>
 
@programmer5000 i just continued the pattern :P
 
3:07 PM
btw continuing the pattern can turn into noise if done too much imo
 
kinda seems like poking a starving lion with a steak when people star the mods messages telling people to stop starring
 
>_> ok
 
0
Q: Sum my Fibonaccified divisors!

Neil A.The famous Fibonacci sequence is F(0) = 0; F(1) = 1; F(N+1) = F(N) + F(N-1) (for this challenge we are beginning with 0). Your challenge: Given n, output the sum of all the dth Fibonacci numbers for all divisors d of the nth Fibonacci number. If you prefer more formal notation, Input: a posi...

 
that reminds me, i need to post my challenge too
 
@totallyhuman a potential challenge??
 
3:09 PM
@DJMcMayhem Please, can you put an end to the star noise?
 
what
oh didn't notice the star on that
 
can someone look at my challenge before i post it so it wont turn into a constant editing cycle?
 
is it in the sandbox?
 
mhm
0
A: Sandbox for Proposed Challenges

KuanHulioIntroduction Wardialing was a very interesting way to try to hack people back in the '80s and '90s. When everyone used dial-up, people would dial huge amounts of numbers to search for BBS's, computers, or fax machines. If it was answered by a human or answering machine, it hung up and forgot the...

 
please link
ninja'd
@KuanHulio it doesn't have a title or tags at all
 
3:17 PM
because its the sandbox
cant add them until it goes to main
 
for the title you can use # Header format
for the tags, usually putting them under the title, you can use [tag:code-golf] format
 
im more worried about verbose-ness and straight forwardness as possible
 
e.g.
# Title

[tag:tag1][tag:tag2]
then goes the challenge
 
@KuanHulio Fix the weird table format (example output:
ajoe 200 200 200 .com, .net
 
"You may output the results in any reasonable format, as long as it includes the website name, status codes for all the websites and the redirects" im not requiring the table thats overkill
 
3:24 PM
Oh, make sure to make that clear.
 
alright
anything else?
 
> This input has to be a letter of the alphabet, no numbers.
Upper or lowercase?
Or case-insensitive
 
doesnt matter
but
ill go lowercase
to help the byte count
maybe
 
Looks good.
 
3:29 PM
what should the title be
I tried URL Wardialing
but not enough chars
 
Hey, Vsauce! Michael, here.
 
0
Q: Write a formatted Morse code cheatsheet

LocoluisChallenge: Write a program that produces the following output: . E .. I ... S .... H ...- V ..- U ..-. F ..-- .- A .-. R .-.. L .-.- .-- W .--. P .--- J - T -....

 
haha nice pun @Shaggy
 
@NickClifford Did you want suggestions for new characters in the code page or which ones to use?
 
3:40 PM
@Shaggy Is there a list of all methods, variables, functions etc. Of Japt?
 
@Arjun Yes, in the docs on the interpreter page.
 
@Shaggy Only that much?
 
@Arjun Only?!
 
@Shaggy In comparison to other golfing languages, Japt is compact, I guess. Don't you think so? (BTW : I like the fact that it is compact; will be easy to learn)
 
1
Q: Wardialing in the Modern World

KuanHulioIntroduction Wardialing was a very interesting way to try to hack people back in the '80s and '90s. When everyone used dial-up, people would dial huge amounts of numbers to search for BBS's, computers, or fax machines. If it was answered by a human or answering machine, it hung up and forgot the...

 
3:57 PM
thanks @Arjun ;)
 
4:12 PM
@BusinessCat which ones to use
the code page is done
 
@Arjun I was going to object, but Japt does only have around 50 characters actually dedicated to methods and functions. Overloading is a miracle of modern technology
 
doesn't Japt generally accept most javascript though? Isn't that the whole point of it?
 
@Mayube Some JS can be used directly in JS but some has to be enclosed in $s.
 
@NickClifford Assuming what I say hasn't been used already, I'd say map: , select: , reject: , loop: £, min/max: ↑↓
 
Any suggestions for improvements here? codegolf.stackexchange.com/a/122245/58974
 
4:19 PM
@Mayube Not directly, but yes. You can use any plain JavaScript if you wrap it in dollar signs
Other than methods, though, you can use pretty much any JS in Japt (although variables have to be uppercase letters)
@DJMcMayhem Could you please unstar all the recent feed posts that have one star? Pretty sure that's just a troll-star-er of some sort
 
4:38 PM
@ETHproductions sigh.... Yeah, sure
 
I'm getting bored of this stuff...
 
@KuanHulio No problem :)
@EriktheOutgolfer Bored of code-golfing?
@ETHproductions You can add a factorial function to Japt.
 
@Arjun abuse
 
Oh
 
@Arjun l
 
4:49 PM
@Arjun Best to continue the Japt chat here: chat.stackexchange.com/rooms/34018/japt
 
5:00 PM
Java committing atrocities of overextended lines
public Future<Void> executeCommand(@NonNull final FutureCallback<BufferedReader> callback, @NonNull final String command, @NonNull final Profile profile) throws JSchException, IOException {
 
add more newlines
 
Hey we are looking for some more Codenames players if you guys want to join here is a link
 
What's that?
 
Its a word game
 
oh hey
that game is fun
 
5:05 PM
its a little easier than contact, the rules are on the sidebar
 
5:33 PM
You enter the captcha, it brings you back to the log screen instead of logging you
 
wat
that's dumb
 
I guess I shouldn't quote that in the tavern...
 
5:55 PM
so all I need to do to golf this answer is to find a way to convert each pair of characters from ProgrammingPuzzlesinto each character from Code Golfin fewer than 19 bytes...
 
@Fatalize, please watch your language.
 
2
A: Sandbox for Proposed Challenges

Random UserRaindrops are falling on my... glasses? code-golf random ascii-art I live in the UK, where it rains. A lot. I also have the unfortunate necessity to need to wear glasses to see, which means that when it rains (as it is now), I can barely see out of them. This challenge is so that you can all ex...

Any feedback?
 
6:11 PM
@bwDraco As far as I'm aware you're allowed to swear in chat as long as it's not in poor taste something something
The guy was pissed off at the stupid user flow being experienced
 
As written, this was more than just casual cursing. I did take a quick look at the Chatiquette.
 
user165474
Inappropriate language or attention. Avoid vulgar terms and anything sexually suggestive. Also, this is not a dating site. -- "Be Nice"
 
I don't agree that it was inappropriate but sure
 
6:13 PM
It read distinctly like a personal attack.
 
against whom
actually
i don't care
 
user165474
I'm not siding with either for or against the notion of it being deserving of removal, but it's mostly up to common sense.
 
Anonymous
It was a personal attack against somebody (even though the "somebody"'s identity isn't known).
 
Anonymous
Now let's all move on
 
wait you chatbanned him for that?
-.-
 
6:18 PM
Mego can't chat ban anyone. He isn't a diamond mod
 
then draco did
w/e
or whomever removed the message
 
Draco is also not a mod
 
to whom it may concern: you chatbanned him for that?
 
It was probably flagged and then a bunch of people agreed with the flag
 
It's an autoban for getting a message flagged and deleted.
 
6:19 PM
0
A: Sandbox for Proposed Challenges

Digital TraumaDecompose a Number into Factorials code-golf math Given an input of a positive integer N, find the decomposition of that number into the sum of minimum integer multiples of factorials. Output will be a string containing an expression given in terms of factorials. No terms in the expression sh...

 
user165474
I have an idea: I'm making a program that allows you to easily make Jelly-type programming languages, so you can customize what its main topic is. For example, Jelly is great for general programming but it's not great for ASCII-art sometimes or kolmo challenges. What does the community think?
 
6:35 PM
Formatter.format(1e33)
"1000W"
Formatter.format(1e34)
"10k'"
Math.pow(10, (10 + 1) * 3)
1.0000000000000001e+33
Floating point precision strikes again :(
 
Anonymous
@DJMcMayhem It's distressing how often people assume I can and do single-handedly issue chat suspensions
 
Anonymous
15 hours ago, by Mego
I can't crack down on anything. I'm just a guy pretending to be a penguin on the internet.
 
Wait, you're not really a penguin?
5
 
6:50 PM
is disappointed mego is not actually a penguin
 
Anonymous
@BusinessCat umm err
 
Anonymous
smoke bomb
 
*smoke of deceit
 
@BusinessCat o.o are you a cat
pls tell me you are
 
Well I wouldn't pretend to be a cat, would I?
 
6:56 PM
i dunno what to believe anymore
 
So I'm the only penguin here? :(
 
Penguin/helicopter hybrid
 
guys of course cursing has to be allowed
when you have things like brainfuck...
 
brainfuck isn't cursing despite the "fuck"
 
Saying curse words is allowed, being purposefully profane or vulgar is not
 
7:00 PM
@JanDvorak It's cursing to someone not knowing what brainfuck is tho
 
ok yeah i thought that would be funny but apparently not...
>_>
 
You can use :P to make your intention clear
 
7:14 PM
@Mego Honestly that's a power a room owner should have in my opinion
i guess maybe just for that room
which may not be a thing
 
Okx
Why do the triangular numbers contain 6, 66, 666 but not 6666? Silly triangular numbers, not wanting to be demonic.
 
Did you all read about how SO updated to https everywhere? Specifically how their universal login works through html image tags?
 
Anonymous
@Poke There's no way to have a room-specific suspension on SE chat. The closest thing is kicks, which aren't really the same. Kicks escalate automatically - you can't rejoin for 1 minute on the first kick, 5 minutes on the second kick, and 30 minutes on the third kick. The third kick also automatically raises a mod flag.
 
@Okx 666 is demonic
 
Okx
@TuxCopter So is 6666, but that isn't a triangular number, so triangular numbers aren't demonic D:
 
7:20 PM
D:
 
Another good gem from the SO writeup
> The password to our data center is pickles. I didn’t think anyone would read this far and it seemed like a good place to store it.
 
7:48 PM
Since the NewSandboxedPosts bot seems to be taking ages
0
A: Sandbox for Proposed Challenges

Beta DecayGive me something to answer! code-golf internet stackexchange-api Introduction Sometimes I get bored and there are no new questions on PPCG, so I want you to dig a random question from PPCG's past. Challenge Given a user's PPCG ID as input, output the URL of a randomly chosen PPCG question. ...

 
WHY DOES NOBODY APPRECIATE ME
2
 
Anonymous
@BetaDecay Bots have feelings too
6
 
i can attest to that
wait no i can't
 
Meh, you're half human, you have half of your feelings
 
Anonymous
7:57 PM
@BetaDecay No he's totally human, can't you read?
3
 
yes, he's totally not a robot
 
i am definitely human, no doubt about it, why would you even think that
 

« first day (2306 days earlier)      last day (2538 days later) »