« first day (1913 days earlier)      last day (2922 days later) » 

11:00 PM
@TonHospel I loved those lengthy explanations after some comics, and on Sundays while he did those.
 
What should the behavior be for using a deicmal in a range operator? e.g. 1:2.5
 
Count in the largest increments that fit?
 
Something I actually considered was GMod stills with HL2 citizen models.
 
Depends on your purpose. In a real language, error
In an esolang, round up and continue to use integers
 
@trichoplax ok
 
11:03 PM
(awkward but makes intuitive sense)
Or use it as an override to do something entirely unrelated to ranges if you are making a golfing language...
 
@Downgoat Pytek will treat this kind of thing as an interval. That is, \list([1..2.5]) won't be defined, but 2 in [1..2.5] will be true.
 
What about it returning an infinite list or set? That way you could check for membership perhas
ninja'd
 
>>> range(1,2.5)
Traceback (most recent call last):
  File "<pyshell#1>", line 1, in <module>
    range(1,2.5)
TypeError: 'float' object cannot be interpreted as an integer
>>> l[1:2.5]
Traceback (most recent call last):
  File "<pyshell#4>", line 1, in <module>
    l[1:2.5]
TypeError: slice indices must be integers or None or have an __index__ method
Python 3 definitely doesn't like non-integer indices...
Which I'm pleased about
 
Error: You are not authorized to view this document
 
11:09 PM
gimme a sec
^try that
 
That's quite neat
 
The notepad? or the range mechanic
 
(although I don't like the inclusion of the upper limit, due to being used to Python, despite maths telling me that ] means it should be included...)
@CᴏɴᴏʀO'Bʀɪᴇɴ The latter
 
@CᴏɴᴏʀO'Bʀɪᴇɴ Is double o good or bad...?
 
11:11 PM
It's usually good
 
Oh - single oh
I see
 
@CᴏɴᴏʀO'Bʀɪᴇɴ Some of the jokes involve JavaScript. You might not want to help
 
@quartata ಠ_ಠ
 
Don't worry, I know better than to use a running gag.
 
thank goodness
 
11:14 PM
^
 
I love that one :D
 
hehe yep
 
>>> class smoothList(list):
	def __getitem__(self, n):
		if type(n) == int:
			return super().__getitem__(n)
		elif type(n) == float and 0 < n < len(self):
			return self[int(n)]*(1-n%1) + self[int(n)+1]*(n%1)


>>> L = smoothList([1,2,3,4,5])
>>> L[3.05]
4.05
>>> L[3.55]
4.55
 
oo that's cool
 
11:18 PM
@trichoplax - linear interpolation! :P
 
@quartata Explain it for my friend who doesn't get it?
 
Do you get it? :P
 
The Erdős number (Hungarian pronunciation: [ˈɛrdøːʃ]) describes the "collaborative distance" between mathematician Paul Erdős and another person, as measured by authorship of mathematical papers. The same principle has been applied in other fields where a particular individual has collaborated with a large and broad number of peers. The American Mathematical Society provides a free online tool to determine the Erdős number of every mathematical author listed in the Mathematical Reviews catalogue. == Overview == Paul Erdős (1913–1996) was an influential mathematician who spent a large portion of...
Show him/her that
 
That's not why.
:P
It's funny because he would add something to his signature every 5 years describing how he should be dead.
 
@CᴏɴᴏʀO'Bʀɪᴇɴ Uh, of course! I said it was for my friend.
 
11:19 PM
oh, well I feel stupid
 
@DrGreenEggsandHamDJ :P
 
Are you implying that I'm making this up so that I feel less dumb? :P
 
I assume everyone wanted to get a free Erdos number boost...
 
Paul Erdős (Hungarian: Erdős Pál [ˈɛrdøːʃ ˈpaːl]; 26 March 1913 – 20 September 1996) was a Hungarian mathematician. He was one of the most prolific mathematicians of the 20th century. He was known both for his social practice of mathematics (he engaged more than 500 collaborators) and for his eccentric lifestyle (Time magazine called him The Oddball's Oddball). Erdős pursued problems in combinatorics, graph theory, number theory, mathematical analysis, approximation theory, set theory, and probability theory. == Early life, education, life, and death == Paul Erdős was born in Budapest, Austria...
 
Hence the alt-text joke about Kevin Bacon.
 
11:20 PM
@quartata That's hilarious. It's like the Bacon number for acedamia?
 
> Erdős signed his name "Paul Erdos P.G.O.M." When he became 60, he added "L.D.", at 65 "A.D.", at 70 "L.D." and at 75 "C.D."

P.G.O.M. represented "Poor Great Old Man"
L.D. represented "Legally Dead"
A.D. represented "Archaeological Discovery"
C.D. represented "Counts Dead
 
@DrGreenEggsandHamDJ Yeah.
 
@CᴏɴᴏʀO'Bʀɪᴇɴ ...errr, what? I always thought the same as quartata, that all the mathematicians were trying to get a really low Erdos number.
 
@El'endiaStarman See ^^^
It's funny because it's his signature.
 
OK, I turned my GMod video settings way above the recommended. Let's see if this explodes.
 
11:21 PM
I wonder what my "Dennis number" is.
I won a challenge that was written by someone who won a challenge that was written by someone who outgolfed Dennis!
 
@CᴏɴᴏʀO'Bʀɪᴇɴ Explain xkcd says nothing about Erdos' signature.
 
Rather, "I beat somebody who beat somebody ... who outgolfed Dennis"
@El'endiaStarman Really? I always assumed that's what it was. editing right now
 
@CᴏɴᴏʀO'Bʀɪᴇɴ The alt text about the Bacon number is a big clue...
 
links in bb code are what again?
 
[]() like Markdown, I think. Or maybe it's [text][link].
Also, your idea is mentioned in the discussion at the bottom.
 
11:24 PM
@CᴏɴᴏʀO'Bʀɪᴇɴ [url]
 
:|
@quartata and a named url?
@El'endiaStarman lies
it's at the bottom :P
 
[url]LINK[/url] for unnamed
[url=LINK]TEXT[/url] for named
 
Clearly, I haven't used BBcode for years...
 
Because markdown is superiour.
 
11:25 PM
Markdown is better IMO.
 
Oh yes, of course.
 
I still frequent some places that use BBCode though so that's why I know this dumb shit
 
@CᴏɴᴏʀO'Bʀɪᴇɴ remind me later: FOG REPL.
 
@himarmjr Okay.
 
11:30 PM
ooh still himarm jr
:D
 
my name
in chat
 
ಠ_ಠ
stop changing your name
 
I'm pretty good at GMod posing so I guess I could see myself making the panels in GMod with HL2 models. The question is how badly would I get sued for using HL2 assets
 
11:40 PM
0
A: Palindromic palindrome generator

Easterly IrkFuzzy Octo Guacamole, 17 bytes ^dz''sjX@Xjs''zd^ Alt solution in 19 bytes: ^Czs''.jX@Xj.''szC^ They both take input, duplicate and reverse, and join the stack. Explanation: ^dz''sj@js''zd^ ^ # Get input d # Duplicate ToS (input) z # Reverse ToS...

 
1
Q: Generate a parity bit

Dr Green Eggs and Ham DJA parity bit, is one of the simplest forms of a checksum. First, you have to pick the parity, even or odd. Let's say we pick even. Now, we need a message to transmit. Let's say our message is "Foo". This is written in binary as: 01000110 01101111 01101111 Now, we count the total number of 1's ...

 
@CᴏɴᴏʀO'Bʀɪᴇɴ sowee
 
@himarmjr it's okai
and I'll vote in 19 minutes
 
:D
wait shouldn't it be reset by now?
UTC midnight was 41 min ago.
oh and the FOG CLA version is up.
 
nope, 19 minutes
 
11:42 PM
hm
 
Someone please help me. I broke my streak of visiting consecutively.
 
@himarmjr The UK is an hour ahead of UTC during the summer months
 
@PhiNotPi Um, I'll need a flux capacitor and your account password...
 
@PhiNotPi I'll just need SSN, and bank detail
 
11:45 PM
@trichoplax My password is hunter2, and a flux capacitor should be on your doorstep by yesterday afternoon, barring unexpected delays.
 
@PhiNotPi I tried my best yesterday but it doesn't seem to have worked
 
@PhiNotPi That unexpected delay was me.
 
@trichoplax hm
 
@himarmjr I know - I'd rather be on UTC all year round
 
that would help things
"I'll meet you at 1500 UTC." "Okay"
 
11:48 PM
Indeed
 
HI @CYOCE YOUR RANGE FUNCTION IS VERY FAST
 
^
 
@CᴏɴᴏʀO'Bʀɪᴇɴ repl mode in FOG added.
 
@himarmjr yay!
 
@El'endiaStarman I can't see what that is in response to...
 
11:53 PM
OK, after experimenting with this I think I decided learning to draw will be easier
 
@trichoplax I didn't respond to a specific message, actually, but I was responding to how you said it's a good thing that Python doesn't allow non-integer indices.
 
@CᴏɴᴏʀO'Bʀɪᴇɴ Easterly Irk again.
 
@EasterlyIrk :D <3
 
Also, a modified version of the MIT license is now on the github.
 
11:54 PM
@El'endiaStarman Ah I see. Yes that's the kind of messiness I'm glad I don't have to deal with in Python...
 
I agree, though I also pointed out that there's a sensible way to do it. Well, sensible-ish. It only works if your list only has elements that can be multiplied by floats and added. :P
 
Ouch my brain
Tried to apply that to ranges instead of slicing then wished I hadn't
 
so there's nothing really wrong with having 3.5 : 5 => [3.5, 4.5]?
 
nope
 
11:56 PM
if you want, try 3.5:5:1 for a more explicit step
or just make that not a error and good practice
 
@El'endiaStarman What exactly do you mean?
 
@EasterlyIrk uhh idk how any explicit step would be parsed...
@Downgoat
 
@quartata The only comics I've ever made were sprite comics. There's no need to be good with drawing by hand, only with manipulating pixels.
 
Maybe <arr>:<num> can take every member of <arr> that is of the form <arr>[0] + n * <num>?
 
@El'endiaStarman root beer > sprite
 
11:58 PM
@HelkaHomba Agreed.
 
@EasterlyIrk erroring is easier, I think Cheddar should stick to that
 
@HelkaHomba I second that
 
okai
 
@Downgoat To be honest, "it's easier" is rarely a good argument. :P
 
should a len operator on number. Return the length of number's string form? Return the amount of digits? Something else?
 
11:59 PM
@Downgoat but we already implemented it ._.
 
@CᴏɴᴏʀO'Bʀɪᴇɴ same
 
@Downgoat Follow jolf's example
 
@CᴏɴᴏʀO'Bʀɪᴇɴ oh cool :D. that's better
 
@Downgoat Just return the number. Like abs or cardinality
 
oh shit, I forgot an abs operator
 

« first day (1913 days earlier)      last day (2922 days later) »