« first day (2657 days earlier)      last day (2187 days later) » 
00:00 - 18:0018:00 - 00:00

6:01 PM
mine has a "delete" key that performs backspace
 
@Cowsquack I think I've got a detailed analysis of the "historical reasons" for that...
 
oh yeah, you're the retrocomputing guy
 
I can't find it, so I'll summarise it.
Basically, 0x7f is DELETE in basically every character set.
When sent along a wire, it rubbed out the previous character.
This was because, on punch cards, 0x00 was NULL and 0x7f was DELETE and when you made a mistake you punched out all of the holes.
0x7f had the same effect, but on a wire.
I don't remember which protocol.
Anyway, the key was labelled DELETE sometimes.
However, typewriters had space and backspace, so systems inheriting that naming convention used the label Backspace.
 
So technically bkspc = delete?
 
ASCII needed Delete for compatibility reasons.
 
6:07 PM
And the windows' Del is actually not a delete?
 
Any ideas on how to find the standard part about javascript: links? Google strips special characters even when in quotes, and link with embedded javascript, javascript link protocol and variations all fail miserably
 
But when reading from punchcards, Delete meant "ignore this".
@J.Sallé Patience... I'm around half-way I think.
@NieDzejkob Use duckduckgo.com
 
Oh okay, I thought you were done :p
 
@wizzwizz4 I did. Then I tried google.
 
@NieDzejkob I think it's your browser.
Use www-browser or curl.
Delete meant "ignore this".
So ASCII used the control character "Backspace" to replicate the Typewriter Backspace.
 
6:10 PM
and backspace meant "go back a character on the screen or printer"
 
Yes.
Teletypes fit somewhere near this, so when you sent Backspace to them it would do a typewriter backspace.
That's why we have ` and ^ in ASCII.
They're for accents with backspacing.
Anyway, Macs inherited from the DELETE is backspace line, but picked up ASCII because it was standard.
 
why is there no inverted ^?
 
You mean v?
 
yeah
v the letter won't do as an accent
 
0
Q: Find arsonist's lullaby

Mr. XcoderImagine an arsonist walking around the town and picking its victims according to a very specific pattern. Let's say the town is an N × N matrix, where N is an integer higher than or equal to 2. The arsonist starts from the upper-left corner and successively sets the house M spots in front of them...

 
6:12 PM
It's probably because ASCII was designed for the languages of America.
 
and america uses ^?
 
You occasionally needed to type cafe' but Spanish was the limit.
Actually, I think it was only designed for English.
 
also, did you try to search for "javascript:" and got any meaningful results?
because I tried it in 3 different browsers, even on mobile. currently trying to figure out how to read the thing curl vomits out
 
@NieDzejkob Spain does I think.
And America is partially owned by the Spanish.
Wait, that's the 1500s. Computers weren't around then.
Never mind.
 
on curl, first result: javascript.com
utterly useless
 
6:16 PM
Spanish uses ' accents, ~ tildes, and ¨ diaresis
 
other queries - link method and embed tag
 
Oh yeah... Google and DuckDuckGo both ignore special characters.
Search for javascript protocol.
 
@NieDzejkob afaik the only language that uses ^ in the americas is Portuguese
 
I literally just now looked at my keyboard and realized that it actually does have a "Delete" key. I've always thought of it as "Backspace" because I grew up on Windows keyboards. That this keyboard has no key (or even a shortcut) for deleting the character in front of the cursor makes me real sad.
 
And we use it only on a, e and o to form â, ê, ô
 
6:19 PM
Announcement: APL Cultivation in 10 mins.
@J.Sallé Quebecois.
 
@Adám ah, yes, there's the French speaking countries as well. I hate French >.>
 
@wizzwizz4 most of this stuff talks about window.location.protocol. Can't find the actual standard document, even after adding "standard". It gave me keyword bookmarklet, though
 
France's longest shared border is with Brazil
 
... which still does not give any results
 
Oh yeah. Since DEL stopped beingn used as a rubout character, since people stopped using write-once media where mistakes would be that short, it got picked up as a control character to delete in front of the cursor. The meaning we know and love today.
 
6:27 PM
@NathanMerrill lulwut
I think it's a joke but I don't get it >.>
 
@NathanMerrill Huh what? Is this one of those tricky it-depends-on-your-measuring-stick things?
 
no, French Guiana isn't it's own country: It really is France
 
It's in English, sorry.
 
and it borders Brazil
 
6:29 PM
The UK's longest shared border is with ROI.
If NI is UK, FG is FR.
 
@wizzwizz4 well, that's certainly some sorcery
 
Finding it, it itself, or that I had it open in a tab and just opened it again.
 
@NathanMerrill I know that, but its border is not nearly as big as France-Germany, is it?
 
That's incredible. France borders Spain, Italy, Switzerland, Germany, Luxembourg, and Belgium, and Brazil and Suriname via French Guiana, but most of its border is with the English Channel and Mediterranean Sea.
 
@J.Sallé Spain is actually it's second largest.
 
6:33 PM
@J.Sallé That actually surprised me too when I actually looked at a map. I'll bet we tend to remember it as bigger because of the Maginot Line in WWI.
 
@NathanMerrill I'm looking at google maps and indeed, it could be that the Guiana border is that large
 
@El'endiaStarman in any 4X game, they'd be constantly at war due to border tensions :)
 
@El'endiaStarman Yeah, that might be it
@NathanMerrill Well, Brazil borders 10 other countries. We'd probably be at war too?
 
lol yeah
 
The USA is the opposite in that regard. Two borders (even counting overseas territories) and yet, at war a lot anyway.
 
6:35 PM
just looked it up: China borders the most, at 14
 
Not surprising
 
@NathanMerrill I would have guessed Russia. Huh.
 
Russia is right behind at 13.
 
@wizzwizz4 finding it / tbh I expected something more, some loophole - that's why I was looking for the standards itself
 
northern eurasia just doesn't have as many countries
 
6:37 PM
Most of Russia borders the arctic seas, though
 
despite the fact that russia is so massive
 
Google says Russia has 14.
 
@El'endiaStarman Can you grant write access to this user in here?
 
oooh, maybe it changed?
 
> Along the 20,139-kilometer land frontier, Russia has boundaries with 14 countries: Norway, Finland, Estonia, Latvia, Lithuania, Poland (via the Kaliningrad Oblast), Belarus, Ukraine, Georgia, Azerbaijan, Kazakhstan, Mongolia, the People's Republic of China and North Korea.
 
6:37 PM
or my article is wrong
 
@Adám Sure, just a sec.
 
@NieDzejkob Standards?! What standards?
 
@Adám Should be good now.
 
@El'endiaStarman Thanks!
 
ok...so the difference here is Poland
 
6:41 PM
@wizzwizz4 like, idk, w3c must have some documents on that
even a section
 
ah, I see. There's this territory called Kaliningrad Oblast that borders poland
it's like the French Guiana situation
 
@NathanMerrill weird that they counted Latvia Lithuania but not Poland
 
but feel free to drop this
 
@NieDzejkob It was never standardised afaik.
 
@J.Sallé you mean lithuania?
lol yeah
 
6:43 PM
Hah I never know which country is which on that part of the world, I just know there's Estonia, Latvia and Lithuania
 
hey, neither do I. I'm just looking at a map here :)
 
Same
 
ngn
@J.Sallé they are sorted in alphabetical order north-to-south
 
I know where UK, France, Germany, Belgium, Russia, China, Japan, Antarctica, Australasia, Eurasia, North America and South America are. I know nothing else.
 
not the US?
 
ngn
6:53 PM
@wizzwizz4 where's "Australasia"?
 
@ngn It's a continent with a big island and some small ones. It includes Australia, NZ and some other places.
@NathanMerrill I know it's the south half of NA and also Canada, but I don't know where the dividing lines are.
TBH I also don't know the dividing line for NI / ROI, so I should also cross off UK.
 
I mean...nobody knows the exact coordinates where countries divide.
 
@wizzwizz4 I know that as Oceania
 
@J.Sallé Hmm... I wonder why the difference.
 
I've heard both.
 
7:09 PM
@NathanMerrill Do states count as countries?
I think there are pretty well-defined borders in most cases, though.
 
oh god the flavor text is so punny
 
I'd be very interested to see a Jelly solution (or, at this point, any golflang solution) to my latest challenge (arsonist's lullaby)
 
7:24 PM
I might be able to cook up a V solution
 
That sounds interesting :) Good luck 😉
 
that's pretty common for DJ :P
what you think would be the greatest challenge of your life here is just like "add two numbers" for DJ
 
Yeah in this particular case I don’t think it’s that challenging, but it is somewhat harder to golf than to solve :P
 
ngn
@wizzwizz4 technically, even if you wanted to, you couldn't possibly commit a crime in such a place because it's not part of any jurisdiction - there are no laws to break
 
I think DJ once said that V is bad with numbers
 
7:31 PM
In V, however... I don’t know how stuff is happening
I recall that a long time ago (like a year ago or so) I tried to learn V and solve a basic number challenge. I CMD+F’ed its wiki pages and didn’t find any built-in primality test — I just gave up :P
 
hah, good luck finding a built-in to add two numbers
 
@NathanMerrill Except the 38th Parallel
 
@Mr.Xcoder I don't think there is a primality test yet. I could try making one though
@EriktheOutgolfer I'm sure I've said that many times
 
@DJMcMayhem Perhaps regex will be shortest
 
@DJMcMayhem Regarding your comment on Main — I am not sure if that’s reasonable. I will, though, change the spec and allow it. I don’t want to ruin your potential V solution :))
 
7:44 PM
doesn't seem very reasonable to me...
 
@Mr.Xcoder Oh, don't worry about that, I haven't started yet.
 
(also, DJ will most probably still find a way around :P)
 
Instead, can we assume there are enough spaces that everything lines up in the case of multi-digit numbers?
For example, something like this:
3  2  3  2  7
3  1  4  1  6
2  11 3  1  1
4  4  3  2  4
1  1  1  1  1
 
Done, I’ve addressed your concerns
 
that seems more reasonable to me imho
 
7:46 PM
@DJMcMayhem sure.
 
Seems like I've stumbled onto my first unpopular challenge with that alphabet star in the sandbox.
 
don't worry; good thing you sandboxed it
 
True enough
 
btw it has 6 votes total on it, it's not unpopular, but rather just not generally welcome
 
Hah, that's a fair point. It is rather popular when you put it that way.
 
8:09 PM
Lol, that’s like the ideal challenge for Charcoal
 
8:51 PM
 
wow only <7 times longer than the output
but, eh, it's just a leftover, right?
 
It’s 100% generated using copy.sh
Badly ninja’d beause of mobile + very slow internet :|
 
huh, what plagiarism
 
Not quite plagiarism per se, but lazy
 
8:56 PM
but they don't mention copy.sh anywhere
 
That sounds so punny-ish in this context :P copied from copy.sh
 
maybe copy.sh wasn't used
 
confirmedly it was used (just edited in)
 
yeah but maybe it wasn't
 
user image
8
And guess who wrote the bottom one
 
9:01 PM
jon
 
"MANNING"?
 
skeet
 
or what Poke just said
 
maybe the bottom one is for c# 6.0 and they made a lot of changes in 7.0
:]?
 
9:02 PM
then C# 7.0 is a misnomer...
 
huh?
 
if there were so many changes, one may as well consider it as a new language
an example of major differences is Python 2 vs. Python 3, but, well, they have almost the same length of docs
 
@EriktheOutgolfer is there another difference than print "" -> print("")?
 
Yes.
 
lots of 'em
 
9:06 PM
String encoding is different, and more functions return generators/listexpressions rather than lists
 
e.g. starred notation
 
Oh yeah, splat is another big one too
 
The removal of `...` in favor of repr()
 
input too (input is what used to be raw_input, lambda x='':eval(input(x)) is what used to be input)
 
Also, print changed more than just print "" -> print(""). It's a fully fledged (and super useful) function:
>>> print(*range(10), sep=", ")
0, 1, 2, 3, 4, 5, 6, 7, 8, 9
>>>
 
9:08 PM
Ah yeah, sep and end
Oh, and f-strings (>=3.6)
 
@EriktheOutgolfer That's probably one of the biggest. Who thought blindly evaling all user input was a good idea?
Integer division is another
 
you mean float-by-default division
 
I'll have to get a python 3 book.
 
Yes
 
9:12 PM
Ah, differences between python 2 and 3, I see.
 
The removal of xrange(), fixing the loop-variable leaks into the global namespace in Py3 and other generator-related stuff are other major differences imo.
 
^ That one is the biggest thorn in my side.
 
or even the most important of all: True = False, of course, doesn't work in Python 3
 
I keep having to do list(...) over and over again.
 
@EriktheOutgolfer You may want to update the links on the answer that you just editted
 
9:15 PM
@Zacharý Which?
 
@H.PWiz more like report the bug to Dennis
 
@DJMcMayhem I guess generator-related stuff
 
Oh, didn't realise it was supposed to be backwards compatible
 
Yeah, generator related stuff
 
well, Dennis likes to make his stuff backwards-compatible, and that's important for a website
 
9:17 PM
Even if it's not golfing, I still use list(...) every other line.
 
You can't deny that it's an improvement for range at least
 
Eh, must just be my golfing and bad (APL-ish/functional/semi-function/whatever) codestyle, because I want to see what the stuff I do to a range object looks like
 
9:36 PM
@DJMcMayhem well, it is a scripting language
@flawr 0/10 waste of money
@Zacharý ... you're not supposed to
 
didn't say anything about spending money :P
 
generators are a massive performance improvement
if you have to list every other line you're doing something very wrong
 
@ASCII-only I mean for a quick thing that I don't care that much about (like MY).
 
@Zacharý just get used to them. once you do, if anything, they're better than lists...
 
MY was mostly me fooling around.
 
9:38 PM
@Zacharý exactly >_>
 
Oh, one thing that they removed/moved: reduce
 
@Zacharý functools.reduce
 
I put "/move"
 
@Zacharý from functools import reduce
done
@AdmBorkBork The second is that Oni editor is only editor
 
I only use list every other line when A) using a REPL B) I just got done doing some APL (golfing or student competition) C) Golfing (as the things I solve in python usually only have one line, even though I don't really do Python on PPCG)
Or D) I forget that I don't need to list each step of an algorithm
 
9:44 PM
@Zacharý :| but you said you always have to list every other line?
 
I was exaggerating, and that would still be every other line, if you start out with using list :P
 
@Bubbler There are too many kirbies! :O
 
@mbomb007 2 is too many?
 
Yeah. Go ahead. Tell me to "suck it up" LOL
Because Kirby...
 
10:01 PM
That joke was ... the BOMB.
 
:| i should really do something useful
 
I probably should be studying getting used to the time limit for the AP Physics C: Mechanics test on Monday, but eh, I have 2 class basically free periods where I can do that.
 
10:36 PM
@flawr hah... "depth".
 
11:01 PM
0
Q: The 21 Hairstyles of the Apocalypse

Magic Octopus UrnThe 21 Hairstyles of the Apocalypse Given a a list of numbers between 1 and 21 (or 0 and 20) output a "stitched together" drawing of the following faces (see rules for stitching information): ___ ,,, ooo === +++ ### -*~*- ...

 
11:31 PM
0
Q: "Unanswered in a Language I want to Understand" C&R Challenge Thread

Magic Octopus UrnI want to suggest an idea for a non-conventional non-meta post. Can I make a well thought out thread where, as answers, people will post links to questions and name a language? I want a thread for "cops" the people who will respond to the "robbers" who will be asking for people to implement quest...

 
00:00 - 18:0018:00 - 00:00

« first day (2657 days earlier)      last day (2187 days later) »