« first day (2396 days earlier)      last day (2454 days later) » 

12:04 AM
@Zacharý only answer so
 
o_O_o
 
@Zacharý I will get over 1k rep for it :P
2 people promised 500 rep bounties :D
I saw that
> MINE THOSE ARE MINE
 
I was joking (sort of, if it goes over 5000 bytes or something crazy, I'll get that rep.)
 
@Zacharý trying to claim my rep before I have it XD
 
3,038 bytes. I might go and take that rep from you.
 
12:15 AM
@Zacharý If you do that imma take you out
 
@Zacharý I improve someone else's answer and offer the changes to them in a comment. However, they refuse to include it for whatever reason (usually because they find that the change is too substantial), so I post the new solution myself.
Quote from dennis
Besides the fact you are golfing my code that doesn't have to be golfed
Idk why I pinged you that. XD
 
The winning criteria for a tie is code size.
 
@Zacharý Pls don't post. I want my rep for once. Look at my answers and the votes I get
 
@Downgoat hmm ok
 
12:18 AM
gtg bye o/
 
Oh shoot, you have less rep than me, if I golf 10,000 or more off, I will submit my own answer.
 
@ATaco :O :D
 
@ZachGates Unless you are changing the code logic then the golfing you are doing is not enough to post a new answer
 
wait what is smiley face
 
@Downgoat ??
 
12:24 AM
there is a smiley face
 
Oh, that's the EmojiButton™
It's the worst Userscript.
 
what does clipboard button do
 
No idea, got it ages ago, don't use it.
 
@2EZ4RTZ Did you just call me Zach Gates? Dafuq?!
@2EZ4RTZ, OHHHH! You typed @ Z <TAB>
 
@Zacharý Opps my bad
 
12:39 AM
SORRY ZACH GATES
 
SORRY ZACH GATES
 
@ASCII-only I only have my phone, so I probably can't. Seems like tricho's got it though
 
When did he last get on anyways?
 
@Zacharý @2EZ4RTZ Please, there's no reason to yell
 
@Zacharý last post 3d ago
 
12:41 AM
@DJMcMayhem I was going to say ok with all caps but that would ruin the point
 
Yeah, it would
 
47 messages moved to VSL
 
that cleaned up nicely
I feel with the amount of new rooms we get the more TNB becomes General Chat for anything
 
"General discussion"
I've got it down to 3,000 bytes exactly. I'm gaining on "too much" territory. I have a feeling I should say "give one bounty to 2EZ 4RTZ" or something similar.
 
Is there a way I can talk to a mod privately real quick?
@trichoplax
 
12:50 AM
@2EZ4RTZ Is it about a PPCG/TNB matter?
 
@DJMcMayhem yeah
 
Then you'd have to talk to one of the site mods (Doorknob, Martin, or Dennis)
 
Oh kk.
 
So, most likely Dennis.
 
@2EZ4RTZ That usually only happens if a mod decides it's necessary. You can flag one of your own posts on main and explain what you need to the PPCG mods (who are the only ones who see PPCG main flags)
 
12:52 AM
@trichoplax k ty
 
As in real life, "privately" and "real quick" don't often coincide
 
Yeah
 
If there's a chat message you need deleted urgently you can flag it for mod attention, then all mods (not just PPCG ones) will be able to take action
 
yeah
 
@Downgoat got it working, I'll package it as a userscript soon.
 
12:56 AM
Yeah, is that your catch-phrase.
 
@Zacharý how are you golfing my code?
 
Removing spaces.
@2EZ4RTZ Wait, does your bytecount include every file?! If it does, my reductions are a lie.
 
@Zacharý yeah
 
Shoot.
 
12:59 AM
RIP
 
@Zacharý ...
 
Still, I'll keep my promise of ~10,000 = separate post.
 
10k bytes golfed right?
 
@2EZ4RTZ What is this for
 
Not 10k bytes because I could get that
 
1:02 AM
No, not 10k currently, I lied. I thought your byte count was only the text in the gist.
 
@Zacharý Oh dang. Yeah it is the whole thing. I can golf it down
Hmm i rly need to install GCC
 
YOU DON'T HAVE GCC?!
 
I don't have it on windows :P
(That's a lie, I have MinGW installed on all my computers)
 
@ATaco This is the same scenario as I have.
 
@Zacharý *on this computer
 
1:05 AM
:| why so many files
 
Because it was ungolfed.
 
I used to think so negatively of the Cs but they're so much fun to write in.
 
@ASCII-only Yeah and it has a help function built in
 
D is superior for not code-golfing!
 
I am compiling with another computer to get a better result
 
1:08 AM
@2EZ4RTZ Um where is the golfed version
also why are they all so ungolfed
what's with all that random whitespace
 
There is none. That wasn't a code-golf challenge.
Good luck with all that free reputation.
 
Hmm still what's with that super weird formatting
 
@Downgoat You can now download the Mathquill userscript on its own or part of a bundle.
 
> Maybe this should be a "reverse " so the biggest square wins.
... ok iBug wat
 
@ASCII-only no golf yet, that is tmr, formatting i have no idea what happened
Gnight
 
1:19 AM
For $\mathbb{R}$?
So ... how 'bout that eclipse?
 
:( We don't get the eclipse down here.
 
Can confirm: no eclipse.
 
@Zacharý I'll get partial something tomorrow
see if my coworkers will all go out and see it or not
 
@ASCII-only That's
 
@ppperry but it's a little late to change the scoring after 10+ answers
 
1:28 AM
I'm right in the totality area, schools are out due to safety concerns, and my city'll be SO SO packed.
 
Oh neat, Desmos uses MathQuill
 
1:42 AM
Finally time, it is.
 
@StepHen True ...
 
Anonymous
5 messages moved to Trash
 
I just realized I had a bug in immediately after MY got on TIO.
 
@Zacharý just ask Dennis to pull, although I'd suggest waiting a bit or finding some more bugs before asking so soon afterwards :P
 
I already pinged him >_<, but I did say "whenever you feel up to it". I am starting to get to tired to comb for bugs right now, I'll probably do a bunch of "Eclipse updates".

Also, anyone want to use the ECLIPSE IDE tomorrow? Huh, huh?!
 
2:00 AM
@Zacharý wut
 
Sorry, my puns progressively get worse as the day goes on.
 
2:26 AM
@Zacharý That's really cool. I'm only in the 95% coverage area
(which is so cool though)
 
2:38 AM
<- nowhere close :(
 
Anonymous
I'm in the 75% range. I have an alarm set so I can awkwardly stand outside and stare at the sky.
 
3:02 AM
hey, you remember how I posted that I was upset that my triangle drawing algorithm was broken?
I fixed it mostly!
well actually it still needs a little bit of tuning, because at the start, it checks the line equation with negative values, but still, pretty near finishing
 
I think I fixed the catastrophic backtracking *Language<T> was doing!
 
@ATaco :|
 
It's still not lightning fast, but it's no-longer $O(a^n)$, much closer to $O(n^a)$ now.
 
well, I actually still have to implement a couple of degenerate cases and such... and also a sort of large part of flat top triangles
but it turns out this specific fix was very easy!
 
@ATaco :|
 
3:08 AM
now I'm scared that it's actually wrong
 
Not sure if Charcoal is this bad too lol
@DestructibleLemon :|||||||||||||
 
sort of large because I'll copy paste the flat base triangles and such
 
Anonymous
Please don't paste huge walls of text into chat
 
I won't
I meant I'd copy and paste the code I wrote into another part of my program
I will rephrase
I say it is only sort of large, because I can copy and paste, then modify, the already written flat base code
in fact, maybe I'll just do the hacky option of just reversing the grid before running the flat base code as it's already written >:)
 
3:27 AM
also it occurred to me it might have been easier to use rectangles
but whatever
 
4:19 AM
@ATaco how do i exit math mode with mathquill userscript
(10/10 really cool btw)
 
4:34 AM
@Downgoat Escape.
 
ocool
can't figure out how to do $\mathbb{R}$ on it unfortunetly
 
Me either, I'm not sure if it's possible.
 
Neat.
 
4:49 AM
@ATaco your website is down (did I bork it :()
 
Nah, I borked it, I was trying to fix an ongoing bug with .jsds.
 
@ATaco btw what are you using as backend framework on your site?
 
@Downgoat Once again and still, a custom one.
 
Not like the tenplating engine like node/rails/Java?
 
I'm using Node.
 
:D
 
@Downgoat but they're not using pug or nunjucks :(
 
5:14 AM
Actually, I've got Pug support.
 
@ATaco yaaaaaaaaaay
 
Check out those imports.
 
Omy
Are you not using compiling/ES6/babel/import+export
 
Nope.
 
:(
 
5:17 AM
And as you can assume from all of those imports, I've not really got the wiggleroom to change.
 
You should use multiple Routers and scatter them across files it looks like you have them all in one place
 
Only a third of those imports are pages.
The hell is CFIDE?
 
???
 
Whilst doing Debugging, Someone tried to connect to: /CFIDE/administrator/
That's a really particular point to try to pen test.
Especially seeming as the only thing running on that domain is a heavily custom webserver.
Even more importantly, the exploit is /CFIDE/administrator/index.cfm, yet the file was missing from the request.
 
5:34 AM
Oh coldfusion
 
I'm hoping it was someone here, otherwise someone malicious may be trying to get access to my server.
 
Oh those always happen
check your SSH Logs you probably have a 100 requests trying to login as root
 
I probably should make SSH login with key rather than password eventually.
 
Also change your port
if you change from 22 to something else, malicious reqs will drop to zero
 
You weren't joking, people are persistent.
And yes, I'm showing their IP, if they're trying to break into my server, they deserve it.
I feel dirty seeing how many attempts were made at my server.
 
5:50 AM
let's get em, boys
Fire up hackertyper.com and counterattack
 
0
Q: Unfurl a string

Dom HastingsGiven a square string, produce all the output for the string at every stage of unfurling. The string must unfurl in a clockwise direction one quarter turn at a time. Examples Input: A Ouput: A Input: DC AB Output: DC AB D ABC ABCD Input: GFE HID ABC Output: GFE HID ABC ...

 
:dos
ping 213.91.182.115
goto dos
Got 'em.
 
6:25 AM
@Zacharý I'm not obsessed with ‽. I just use it where appropriate, wiz. rhetorical questions and exclamations in the form of questions. So if the Ý in ÁÝ alludes to your user name, does the Á allude to mine? Parenthetically, your name isn't really Zacharý, but mine is actually Adám:
 
Anonymous
@Adám You probably should not have posted your mobile number in chat
 
@Mego Why?
 
Anonymous
Also British phone numbers make no sense
 
Anonymous
@Adám What is the sound of one phone exploding (in notifications and calls)?
 
@Mego That is true.
 
Anonymous
@dzaima I should probably watch that at some point
 
@Mego I have a stupidphone. No notifications there ;-) I've never received any unsolicited calls. I doubt anyone here will abuse it, and it is in an image, so good luck bots!
 
Anonymous
The NANP makes so much sense. AAA-BBB-CCCC: AAA is the area code, corresponding to a large-ish region. BBB is the exchange code, which refers to a specific carrier within that region (many carrier have multiple exchange codes, and divide up the area code region into subregions with their exchange codes). CCCC is the individual phone line. Hierarchical formats ftw.
 
0
A: Sandbox for Proposed Challenges

jakekimds ΨThis image: can be represented as ....'''333 .eeee'''3e ..dddd33ee %%%dd####e (mapping colors to ascii characters) The four color theorum states that "given any separation of a plane into contiguous regions, producing a figure called a map, no more than four colors are required to color ...

 
@Adám I'm still against that symbol just because it looks terrible in most fonts.
 
6:36 AM
@Mego No it does not. You should be able to (and can) take your number along to a different geographical area and a different carrier, so AAA and BBB become useless and annoying. You never know if a phone call is local or long distance anyway. So in Canada, you always have to dial the AAA part even for local calls (good idea), but you must conditionally prefix AAA with a 1 if the call is long distance, though you never know if a call is long distance. (i.e. terrible idea).
Also, the prefix 1 serves no purpose. It does not disambiguate in any way. Omission simply leads to a message telling you to add a 1 for long distance calls. Inclusion in local calls leads to a message telling you to omit it. I guess that system ensures that the caller becomes aware of which tariff will be used, but almost all phone plans have fixed price for all of Canada, and many even have equal price for calls to USA too.
 
Anonymous
@Adám Some carrier allow you to keep your phone number, yes, which messes up our beautiful system :( Also the long distance thing is an optional extension that was never fully utilized and is especially less utilized now with mobile phones being more prevalent than landlines.
 
@ATaco I haven't experienced that. Some fonts don't include á, so the letter gets fallen back to a different font with horrible-looking results. Should I change my name‽
 
Anonymous
Users desiring additional features is the bane of any well-planned system
 
@Adám The á is fine, it's that Interrobang.
 
Anonymous
The interrobang is universally recognized as the most attractive Unicode character
5
 
6:45 AM
@Mego Source?
 
Anonymous
@Adám Who needs a source‽ Just gaze upon its beauty, and you will understand.
 
@Mego … the innocence of ? combined with the dominance of ! into one ebullient articulation.
4
 
7:20 AM
Anyone want to golf in random languages
 
Anonymous
@ASCII-only Isn't that what we always do here?
 
IDK
Well I have a few languages I'm not sure the Hello, World! is as golfed as it could be
And I'm too lazy to golf them myself
 
Anonymous
What languages?
 
Grass, Shakespeare, not sure what else
 
Anonymous
That is really determined to not load
 
Anonymous
7:32 AM
There we go
 
Anonymous
Well both of Grass and Shakespeare are shorter than TIO's HW implementations
 
Yeah :P but TIO's implementations aren't golfed
 
Anonymous
Some are (it has H for Seriously and Actually instead of "Hello, World!)
 
But not all of them (also: the one for Minimal-2D seems a bit long, it seems like it could be made shorter just by porting the brainfuck one, but you'd need more compact loops)
Also :/ SISAL refuses to leave out the quotes
 
 
1 hour later…
8:42 AM
2
Q: Undo a Range of Numbers

Challenger5It is fairly simple to, given a number n, create a range from 0 to n-1. In fact, many languages provide this operation as a builtin. The following CJam program reads an integer, and then prints out such a range (Try it online!): ri, Notice that it prints out numbers without a separator. The ...

 
9:02 AM
Anybody knows python here ?
 
@AlexKChen Yes
 
Everyone knows python here
 
@Mayube Not everyone
 
Python is just pseudocode taken too far
 
I have python 2.7.9, and I have written the following programme to calculate the binary digits of square root of 2:
def s2(n):
	p = 1
	q = 1
	t = [1]
	for i in range(1,n):
		a = p*(2**n)+q
		b = (2**n)*q
		if a**2 < 2*(b**2):
			p = a
			q = b
			t.append(1)
		else:
			t.append(0)
	return t
For how large n, should I expect it to produce accurate results ?
I have tried upto n=1000, and it hanged when n=5000
 
9:05 AM
@AlexKChen I'd say it has only 53 bits of precision because double has limits
 
What does "53 bits of precision" means ?
 
You might want to use Decimal instead
 
(BTW, there's no fraction there, all work is done in integers)
 
@AlexKChen Then forever :P
 
python has arbitrary precision ints
 
9:07 AM
Then what's the L at the end ? i.e:
(13043761527004332032L, 9223372036854775808L)
 
@AlexKChen Just means it's using an arbitrary precision int
 
(I printed (a,b) to test the bugs)
 
@AlexKChen why does this just give me a list of ones for me
 
So when using integers, the precision is arbitrary ?
 
@AlexKChen Yes
 
9:08 AM
@ASCII-only Oops wrong version.
Check this:
def s2(n):
	p = 1
	q = 1
	t = [1]
	for i in range(1,n):
		a = p*(2**i)+q
		b = (2**i)*q
		if a**2 < 2*(b**2):
			p = a
			q = b
			t.append(1)
		else:
			t.append(0)
	return t
Works ?
 
@AlexKChen It should
 
How can I calculate the time t(n) in seconds needed to compute s2(n) ?
 
@AlexKChen seems like around n^3 complexity?
depends on whether you use PyPy
for me it's like (n/1000)^3*.6 seconds
 
What is pypy ?
 
@AlexKChen It's Python written in Python :P and way faster for computationally-intensive tasks
 
9:16 AM
Also, do you know why turtle graphics is hanging in python idle 2.7 ?
 
@AlexKChen :/ you must have broken IDLE lol
 
Anonymous
A brief primer on Python's ints: Python uses a hybrid approach for integers. Below INT_MAX and above INT_MIN (whatever they are on your system), Python uses vanilla C fixed-precision integers (either int32_t or int64_t). Past those bounds, it semi-seamlessly switches to arbitrary-precision integers. I say semi-seamlessly because, in Python 2, they're instances of the long class instead of the int class, and are represented with that trailing L. In Python 3, it's all ints.
 
Mego to the rescue
 
Anonymous
Python 3 does the transition completely behind the scenes, with the dirty details abstracted away so that you don't have to know what it's doing.
 
Anonymous
Once it crosses into the arbitrary-precision realm (on both versions), computations involving integers get drastically slower.
 
9:19 AM
How long is arbitrary precision realm ?
 
arbitrarily long :P
 
@AlexKChen probably anything >4 bytes
 
Anonymous
@AlexKChen As long as it can be with your available memory
 
I mean after how many bytes you enter arbitrary precision realm ?
 
4 I think, maybe 8 if you're on a 64bit system
 
9:20 AM
(The time to compute square root of 2 upto 2000 bits is lot lot lot less than the time to compute square root of 2 upto 3500 bits)
 
Anonymous
It depends on if you're using 32-bit or 64-bit Python. It's either after 31 bits or 63 bits.
 
Anonymous
(one bit is stolen because two's complement signed integers)
 
Anonymous
 
I broke Office 365
 
Anonymous
Python 3 is a bit smarter about longs, so there's not as much of a speed difference until you get really big integers.
 
Anonymous
9:25 AM
@mınxomaτ That's not true. It was broken before you ever had a chance to mess with it.
 
At least the error is also served through SSL.
Oh, it's up again. Weird.
 
@EriktheOutgolfer No need to revive, let's create a new room !
(It would cut the spam posted there also)
(If you're here within 1 hour of posting this message, ping me, I will tell you the open seasame code)
 
9:43 AM
@AlexKChen umm, what spam posted there?
 
By me :P
 
you mean the feeds?
 
(Yup, and also some stupid namecallings by me) Okay, so I'm telling them passcode anyway:
 
also no I don't think you can make a new room
 
You can (because your rep >100)
Passcode:
UXa101Oiula4
 
9:45 AM
wrong
 
Are you sure ?!
 
there's something along with that passcode (post as a code block)
some text around, remember?
 
> This is your password: UXa101Oiula4
 
@Mego O365 is not that bad. Teams is a waaaaay better collab app than Slack.
Though that's not that hard.
 
@AlexKChen and some more text?
 
9:46 AM
> Alexander the Great is coming back!!111

This is your password: UXa101Oiula4
Incorrect.
I changed Alex -> Alexandar, and 1111 -> 111 :P
 
yeah it misses something
 
Okay, actual final code:
> Alex the Great is coming back!!1111

This is your password: UXa101Oiula4
 
alright
I'll add as room owner and talk to mods' office
 
Thanks !
(But please do it after a couple of weeks when I tell you. This is for verifying my identity)
 
oh alright (then the room remains frozen)
@AlexKChen adding you as owner for now...room will be unfrozen in a couple weeks
@AlexKChen oh darnit!
you must "have at least 100 reputation" to be a room owner
 
10:32 AM
I think it'd bee cool if there was a 2d golfing language made by the community. Any ideas?
 
...wow the starboard is colorful
@2EZ4RTZ since isaacg is giving one, i shall wait, 'cause only then i'll know it's valid
 
@programmer5000 Why made by the community? :P
 
@ASCII-only homemade esolangs are the tastiest
 
@totallyhuman But... PPCGers have already made plenty of those, why is one by the community any better
Wait, golfing language
There are only two of those
@programmer5000 Bad idea, any language doesn't really get more than 2 users' participation
 
jelly<><
 
10:40 AM
@totallyhuman -1 the fish is the wrong way
@totallyhuman And Ohm
 
@ASCII-only ohm is not 2d
ohm is regular golflang
 
@totallyhuman I must be getting them mixed up lol
 
> Does tacit programming make no sense to you, but you really wish you could use Jelly's links? If so, Ohm is the language for you.
 
@totallyhuman Hmm no it wasn't Nick Clifford's one
 
resistance is futile
 
10:45 AM
1
Q: Turn an integer n into a list containing it n times

Bruno EGiven an integer n as input, return a list containing n, repeated n times. For example, the program would take 5 and turn it into [5,5,5,5,5]. The elements need to be integers, not strings. No built-in functions that accomplish the task are allowed. This is code-golf, so standard rules apply.

 
I swear there was another one
 
@ASCII-only nice
 
@ConorO'Brien Not sure if there's a better way though :P it seems kinda ungolfy
 
that's kinda the language in a nutshell
 
10:56 AM
D'AW it's so short
 
@totallyhuman Did you learn Ohm or just cmd+f on the built-in list?
 
latter
 
42
Q: N-dimensional N^N array filled with N

AdámIn: Enough memory and a positive integer N Out: N-dimensional N^N array filled with N, where N^N means N terms of N-by-N-by-N-by... Examples: 1: [1] which is a 1D array (a list) of length 1, containing a single 1 2: [[2,2],[2,2]] which is a 2D array (a table) with 2 rows and 2 columns, filled...

 
@Adám >_> No I meant 2D golflang
El'endia calls Minkolang a semi-golflang but it's 3D @totallyhuman
 
11:11 AM
@ASCII-only This is why I really wish people would :ping more. It is so hard to see what a message was intended to respond to without a :ping.
 
@Adám :/ but overpinging is bad too
 
to be fair he wasn't expecting to be intercepted by NMP probably
 
^
I posted like right after NMP did
 
@ASCII-only I disagree. I tend to ping with every message, except those that are continuations of my previous message.
 
11:27 AM
0
Q: Would it be accepted to have a "cops and robbers" thread with only one side?

FabianI would like to mainly give myself programming challenges by basically asking multiple times to break my previous code. This would be like the "cops and robbers" format on PP&CG, only that I would be the only contributor on the "cops" side. Should I... ... create no "cops" thread? ... create a...

 
0
A: Sandbox for Proposed Challenges

RuudGame of sevens This challenge is based on a drinking game. I advise against alcohol consumption while programming. In this game, the players count up in turns: the first player says 1, the second says 2 and so on. Here's the twist however: each number that is divisible by 7 or has a 7 in its di...

 
Interpersonal Skills SE has ridiculously good stats after 54 days only
At this rate they'll get a design before us
 
100% answer ratio, dang
 
in Mathematics, 1 min ago, by Leaky Nun
proof-golf: prove that the additive inverse of the multiplicative identity multiplied by itself gives the multiplicative identity, using as few instances of the ring axioms as possible.
i.e. (-1)(-1) = 1
 
@DestructibleLemon pls. make a woefully hello world tyvm
 
11:53 AM
Does it matter? This is meant to be fun, we can have different opinions on what is and isn't valid. — Bruno E 2 mins ago
uh oh
 
Hallo everyone
CMC: Given two positive integers, return the ration between their totient and their highest proper divisor.
 
Huh, my program didn't work, I added a printf in it to see if it ran at all, it worked correctly, I removed the printf and then everything worked correctly
 

« first day (2396 days earlier)      last day (2454 days later) »