« first day (1730 days earlier)      last day (3113 days later) » 

9:00 PM
I didn't actually create it to pretend to be you. I'll delete the answer and the bio though if you want.
Done
 
??
 
I made an alt with the name Thatha since that is what the disapproval face translates into with Google Translate
 
What are you going to do with that account now?
 
It is supposed to be for if Conor and I ever get the chat bot working. We'll plant it in its own room.
 
Better idea - claim to be Alex's sock
 
9:05 PM
@Optimizer ಠ______________ಠ
 
After I created it I decided to do the Julia thing just for kicks. I didn't realize people actually made socks just for the purpose of harassing you
I wouldn't have done that otherwise
@AlexA. It won't be in the Nineteenth Byte
 
@aditsu Q: How did the three wise men find the baby Jesus? A: A*
15
 
@undergroundmonorail wat
 
^
 
@undergroundmonorail +1! :P
 
9:07 PM
@quartata a star
 
@quartata @AlexA. a-ninja'd.
 
@Doorknob Oh...
 
@quartata it's a programming joke about jesus but not the phrase "jesus saves"
 
I don't get it.
 
I get it now.
 
9:07 PM
Anyway... now might be a good time to mention to @ಠ_ಠ that impersonation of another user is against network-wide policy on Stack Exchange and can be grounds for suspension. Just sayin'.
 
I don't get it either
 
A* is the name of a search algorithm
 
In @ಠ_ಠ's defense though, they have clearly stated that they are not affiliated with me.
 
and the wise men followed a star to find the birthplace of jesus in the bible
 
In computer science, A* (pronounced as "A star" ( listen)) is a computer algorithm that is widely used in pathfinding and graph traversal, the process of plotting an efficiently traversable path between multiple points, called nodes. Noted for its performance and accuracy, it enjoys widespread use. However, in practical travel-routing systems, it is generally outperformed by algorithms which can pre-process the graph to attain better performance, although other work has found A* to be superior to other approaches. Peter Hart, Nils Nilsson and Bertram Raphael of Stanford Research Institute (now...
 
9:08 PM
( listen)
 
Oooh cool visualization!
 
Shiny
 
@undergroundmonorail Couldn't they have just texted Jesus' mom to get directions to the hospital?
 
She was in a cave!
No cell reception.
 
@El'endiaStarman Yeah. Probably couldn't get any reception.
Wow ninja'd so hard I'm just going to cry
 
9:09 PM
AH HAHAHA! :P
 
Ninja only blinks when you do
5
 
ninja'd so hard it feels like you're participating in the upcoming splatfest
haha, video games
 
Video games are a myth.
 
imagine i just snapped my fingers on both my hands and made them into finger guns because that's how i feel rn
 
9:12 PM
rn = registered nurse?
 
neither of those words begin with M
 
Probably good to tend to your broken fingers
 
@undergroundmonorail Faster finger gun in the west.
 
World Big Finger
 
haha, keming jokes
 
9:12 PM
@AlexA. I think he meant right now, but it could be that too
 
@undergroundmonorail Haha.
 
I think El'endia is telling you to golf out the space between the "ha"s.
 
@AlexA. Very suboptimal.
 
@Doorknob How about the opposite: Claiming to be not someone when in fact you are this exact person?
 
9:14 PM
I... what?
 
^
 
@ಠ_ಠ hi
 
@The Dude in the Doge Suit: Hi.
 
Has there been a challenge on Hausdorff encoding? I spelled "Hausdorff" wrong but I don't know how to spell it right. The one where you use the least bits for the most frequent characters.
 
@AlexA. Thanks, Internet high 5!
 
9:14 PM
English - 19 18 bytes thanks @El'endiaStarman for saving one byte
 
o/
 
@El'endiaStarman Huffman encoding?
 
@ಠ_ಠ I golfed down the disapproval face generator, maybe you wanna try it online?
 
@Doorknob Yes!
 
that took so long to type it's not funny any more
 
9:15 PM
@undergroundmonorail ?
oic
 
@undergroundmonorail Well, I liked it.
 
@quartata Thanks, I'm gonna update my profile!
 
It's 12 bytes instead of 13
 
@quartata i accidentally typed 4 million
 
9:16 PM
me
 
he he
Can you put code formatting inside links?
Hmm
 
Yeah you can
 
I could have told you that but my fingers are stupid
 
'_ri*'ಠ_@\
@ಠ_ಠ surround the code in the link with double backticks so that it looks right
 
9:19 PM
ಠ_@ disapproving pirate
 
@AlexA. Perhaps the covered eye approves.
 
"_ಠ"nD0c(O). is the Minkolang solution. Can't do it in either interpreter right now because it doesn't yet support outputting ಠ. Gonna fix that now.
 
The fact that you got that wrong means you aren't Alex.
Confirmed.
 
Only two bytes longer than CJam!
 
@El'endiaStarman Really?
Wow
 
If I had (O). built in like H in Sp3000's Gol><>, it'd be one byte shorter!
 
It sounds as if we should make an official challenge out of this.
 
Oh dood this algorithm is O(O).
 
@ಠ_ಠ I thought about it.
It might be too easy though.
I do have a new catalog to do though. Truth machines: esolangs.org/wiki/Truth-machine
 
But I think it is certainly more complex than:
121
Q: "Hello, World!"

Martin BüttnerSo... uh... this is a bit embarrassing. But we don't have a plain "Hello, World!" challenge yet (despite having 35 variants tagged with hello-world, and counting). While this is not the most interesting code golf in the common languages, finding the shortest solution in certain esolangs can be a ...

 
9:26 PM
@quartata n2&N.1N
 
Wow that's short.
Minkolang is impressive
 
This actually exploits the fact that reading in an integer from empty input is -1, and therefore truthy...
 
-1 is truthy?
 
@ಠ_ಠ sure but hello world is a classic
 
9:28 PM
Sadly Minkolang is too complicated for my tiny brain
 
@quartata It's less complicated than your new language! </retort>
 
@El'endiaStarman My new language doesn't involve time
 
Time is not a factor here. :P
Time is only important when there are multiple layers, separated by $$$.
 
@El'endiaStarman =D
 
Oh for crying out loud. Is there anything that isn't an esolang at this point? :) — TimmyD Aug 28 at 14:22
 
9:31 PM
@TheDoctor You think Minkolang is strange?
Try Chicken.
 
all of them
APL
evil
BF
 
APL is actually not an esolang.
 
You mean we should rename PPCG to EsolangGolf ?
 
next think of an esolang that starts with c
keep it going
 
APL (named after the book A Programming Language) is a programming language developed in the 1960s by Kenneth E. Iverson. Its central datatype is the multidimensional array. It uses a large range of special graphic symbols to represent most operators, leading to very concise code. It has been an important influence on the development of concept modeling, spreadsheets, functional programming, and computer math packages. It has also inspired several other programming languages. It is still used today for certain applications. == HistoryEdit == The mathematical notation for manipulating arrays which...
@undergroundmonorail Chicken
CJam
 
9:32 PM
c-- (I do not even know, but I suspect that there is a language called c--=)
 
c#
 
no
 
c-flat
 
@flawr you would be correct
 
@flawr there is
It's not really that weird
 
@TheDoctor You mean b#?
 
C-- (pronounced "see minus minus") is a C-like programming language. Its creators, functional programming researchers Simon Peyton Jones and Norman Ramsey, designed it to be generated mainly by compilers for very high-level languages rather than written by human programmers. Unlike many other intermediate languages, its representation is plain ASCII text, not bytecode or another binary format. == DesignEdit == C-- is a "portable assembly language", designed to ease the task of implementing a compiler which produces high quality machine code. This is done by having the compiler generate C-- code...
 
['ï', '»', '¿', '"', '_', 'à', '²', '\xa0', '"', 'n', 'D', '0', 'c', '(', 'O', ')', '.']
 
That's the internal representation of the disapproval face program in Minkolang's Python interpreter.
No wonder it didn't work.
 
9:37 PM
lol
@undergroundmonorail What do you mean "you agree?" How did you know that was the disapproval face before he said that? This can only mean one thing...
YOU'RE WRITTEN IN PYTHON
 
i just like to say "i agree" to things that aren't opinions because i have a bad sense of humour
you're correct though i am written in python
 
@undergroundmonorail I KNEW IT
 
The man who hunts ducks out on weekends.
i love garden path sentences
 
@undergroundmonorail You haven't come up with any shorter BF codes yet, right? Right...?
 
I often use this example: "The horse raced past the barn fell."
 
9:45 PM
@VTCAKAVSMoACE not yet ;) ;) ;)
@El'endiaStarman it's a good example but i don't use it much because even though it is grammatically correct it's awkward imo
 
@AlexA. I was going to post it and then delete it, but then I started golfing and forgot.
 
@undergroundmonorail I'm not even fully sure I understand your example.
 
I don't have a Dyalog APL interpreter, and input doesn't work on tryapl
 
the idea is that you read it as "the man who hunts ducks" and then get confused by the rest, so you back up and it becomes "(the man who hunts) ducks out on weekends"
ducks is a verb
 
OH.
I was stuck on "ducks" being a noun...
 
9:48 PM
@ThomasKwa Yeah, TryAPL doesn't have input. Have you tried GNU APL or ngn/apl?
 
I like my time flies. Mmmm time flies.
 
...
 
Time flies like an arrow. Fruit flies like a banana.
 
^^ :)
 
ngn/apl has index origin = 0
 
9:57 PM
 
@ಠ_ಠ ​
 
o no
 
@El'endiaStarman rip
 
@El'endiaStarman I saw that ;-;
 
10:11 PM
Wait, you were looking at Minkolang?!
 
Yeah! I was interested in it.
 
Me having made my own language, I wanted to see what other people have been doing. I absolutely love the (2+1)D aspect of it
 
HALLELUJAH!
 
@El'endiaStarman The readme is working fine.
 
10:13 PM
SOMEONE ELSE gets the (2+1)D bit! :P
 
xD yup! it's very clever.
 
@CᴏɴᴏʀO'Bʀɪᴇɴ Wow, that slipped my mind. I even used the readme several minutes ago myself...
day: made
Primality checking in Minkolang is surprisingly long. nd2`4&1-N.d2-[0ci2+%3&0N.]1N.
Yes, I am considering a built-in for primes.
Let's say it's y. Then I can just do nyN..
Attempting to use Wilson's Theorem ((p-1)! === -1 mod p) was five bytes longer than trial division.
 
Wilson's Theorem in practice is overflow city.
 
Haha, yeah.
 
Anyone here good with theoretical CS? How would I determine the time complexity of insertion sort on almost-sorted data?
 
10:27 PM
How "almost-sorted" are we talking?
 
Uhh, let's say that elements will never be more than two spaces away from where they're supposed to be, and that only a few elements are out of order.
 
ok that's a really bad definition :P
 
I think that if you bound the distance an element can be from its correct position by any constant k then you'll get O(n).
 
First thing that comes to mind is a O(5n) = O(n) algorithm...
Depending on the data structure, the time complexity of insertion may play a role. If you care about that here.
 
10:30 PM
So if the maximum distance away an element can be is k, then the time complexity of insertion sort is O(kn)?
(meaning that when k is constant, it's just O(n))
@El'endiaStarman No, I don't.
 
@Doorknob Yeah. For every element (O(n)), look at the k possible positions and insert where needed.
 
Okay, that makes sense. Thanks!
 
Welcome! :)
 
Just curious, why are you using an insertion sort?
 
Welcome to Programming Puzzles and Code Golf! This site is for programming competitions, not for general programming questions. For those you can try Stack Overflow.
 
10:34 PM
@quartata I've got an array that I know is almost sorted, so something like quicksort would be inefficient.
 
OIC. Why is the array almost but not quite sorted?
 
me this whole time: "but why can't you make k the length of the array for O(n) sorting of any size"
it turns out: i am an idiot
 
@quartata Because he originally used slacker sort: "Eh, it's sorted enough. Whatever."
 
i just figured out why that doesn't work haha
 
In theory, pretty much any datatype that people actually use can be sorted in O(n) time.
The O(n lg n) lower bound comes from a restriction to binary comparisons, but what datatype have you ever sorted on which couldn't be radix-sorted?
 
10:38 PM
[tilts head]....eh?
Radix-sorted?
 
@quartata I'm working on a clone of bsdgames's atc (an "air traffic control" simulation/game). It's an array of pointers to all planes currently on the radar. I know that the change in x of every plane is always either -1, 0, or 1, so if I cache the sorted result via pointers to the actual plane, I don't have to do as much work. (Yes, technically the planes aren't always ≤ 2 from their actual spot, but only in very rare edge cases are they not).
 
@El'endiaStarman Multi-level bucket sort.
 
@Doorknob Why not do swap sort?
 
Swap sort?
Is that the same as bubble sort?
 
you swap out the array for a sorted one
hey-o
 
10:40 PM
pffft
 
:D
 
D:
 
I think he means bubble
 
@Doorknob When you encounter an element that's out of place (i.e., less than the one before), swap it with the one before, and keep going until it's in the right place.
Maybe I do. Lemme look that up.
 
... isn't that just insertion sort?
 
10:41 PM
oh yeah, that'd be bubble sort
 
That is a bubble sort.
 
Well, insertion sort, you pop and insert...
 
Bubble sort isn't "keep going until it's in the right place"
 
ninjad again
 
Bubble sort is "go through every pair, swap if they're out of place, repeat
 
10:41 PM
Very minor modification in your case.
 
insertion sort would only take one pass i think
but bubble sort can take a lot
 
yes
 
hmm
So I guess I'm proposing a hybrid? :P
 
Kind of. :P
 
i think you're proposing insertion sort
wait no
okay i missed part of the conversation ignore me
 
10:42 PM
You're proposing to Doorknob.
Can I be the best bird?
 
His algorithm is "swap until it's in the right place." Insertion sort is just "stick it in the right place"
 
And I the best star?
Actually, y'know what? I think my algorithm does exactly the same swaps as bubble sort, but in a different order and with fewer comparisons.
 
no, I think it's just insertion sort
 
@PeterTaylor I still don't quite understand.
 
(except with swapping instead of moving)
nvm, that's just actually insertion sort
It looks like the same algorithm as on Wikipedia's page
 
10:47 PM
Eh, I still don't think so. Insertion sort takes the element out of the list and then puts it back in. Bubble sort (and my algorithm) swap adjacent elements so they never leave the list.
 
not according to Wikipedia it doesn't
for i ← 1 to length(A) - 1
    j ← i
    while j > 0 and A[j-1] > A[j]
        swap A[j] and A[j-1]
        j ← j - 1
    end while
end for
 
....HUH.
 
You know, talking about all these sorting algorithms made me realize I might be implementing something wrong in my game.
 
Did not expect that.
@quartata Lol, what might that be?
 
Suppose I've got a big array (100,000 elements). However, at any given time some of them might be "empty entities" that when compared are always bigger (so they stick at the end). Now suppose I have that array and it is mostly sorted, however there might be a few elements between the "real entities" and the "empty entities" that are VERY far away from where they should be.
I'm using a merge sort for this. Is that bad?
 
10:50 PM
Yes
 
...did you actually read that that fast?
 
I did. :P
 
I didn't
I can't read
 
Unlike Alex, though, I thought about it. :P
@AlexA. Oh right, you're a bird.
 
Charp
 
10:52 PM
@quartata Merge sort is rarely ever bad. It's one of the faster/est sorts.
Now, insertion sort might be advantageous if the array is mostly sorted.
 
But the array is really big and the elements are far out
 
Even better, use Python and its built-in Timsort. :P
 
If it is kn n log n might be better in most cases
@El'endiaStarman This is Java
 
@quartata Do a binary search.
 
Hmm
 
10:55 PM
Javo
 
I've never gotten that badge.
 
I have, on Stack Overflow.
(for a now-deleted question)
 
11:10 PM
o
 
p
 
no it's q
 
r
 
s
 
11:11 PM
t
 
u
 
v
 
w
 
x
 
y
 
11:11 PM
z
 
!
 
\o/
 
o/
 
\o
 
11:12 PM
p
 
q
 
z
Okay, we're done.
 
ಠ_ಠ
 
ñ
 
ö
 
11:13 PM
 
uh... q
 
®
 
š
 
Ŧ
 
û
 
11:14 PM
\/
 
$\times$
 
×
 
×
ninjo
 
¥
 
11:15 PM
ż
 
¡
 
|
 
}
 
11:16 PM
\x7f
 
I...I'm actually kinda surprised that there are no stars. (Well, at least, since the tumbleweed.)
 
@NinjaBearMonkey is a superstar.
Close enough.
 
A spoopy one at that
 
Spooperstar
SpoopyBearMonkey
 
ninja'd
 
11:21 PM
bearmonkey'd
Official PPCG poll: Do you pronounce "phi" such that it rhymes with "eye" or with "bee"?
 
option A
 
option A
ah, bearmonkey'd
 
Unfortunately you're all incorrect; the correct answer is B.
 
So I decided to ditch the insertion sort idea for "collision detection" and go with an O(n²+n) compare-every-element-to-every-other-element approach. Good enough :P
 
11:29 PM
Such complexity, very time
 
or... I could quicksort repeatedly and not cache, which would be... O(nlog(n) + n)?
 
insertion sort + "caching" is O(n), but it's much more complex
@AlexA. ...
 
Knowing that Doorknob will one day find his perfect algorithm... It fills you with determination.
 
> nlog(n)
> log
 
11:38 PM
@AlexA. A
I guess I'm wrong then.
 
:O
I wonder if I'm the only one in here that prefers option B.
 
So far, yeah.
Also, just to reiterate..., sooo....
 
for the record i have never in my whole life heard anyone pronounce it like you do
 
I pronounce it this way because it's how all of my math teachers said it.
 
11:43 PM
Weird
 
I guess.
 
I don't recall ever hearing my math teachers say it. :P
(Or if I did, I wasn't paying attention to their pronunciation.)
 
11:57 PM
I guess it's pronounced "fi" in Greek and "fai" in English.
 
so I tried to search for "C" on Stack Overflow chat
turns out that brings up like, every single chatroom
 
Are you're surprised...?
 

« first day (1730 days earlier)      last day (3113 days later) »