« first day (1683 days earlier)      last day (3161 days later) » 

3:00 PM
Meh CJam isn't [completely] weird or difficult to program in
 
I'd rather say peculiar or unusual and not interesting to a lot of programmers
 
@Pietu1998 I've been thinking about mode changes for a golfing language. I don't believe it's as straightforward to implement well as you might think. There are some basic one letter commands that you would always want to keep. So each extended set of commands that you can "promote" to one letter commands could not overlap the basic commands. Or, all extended command sets would have to contain the basic commands. Which means that they overlap, and you get less command letters for each of them.
 
@BetaDecay it's fairly difficult for bigger programs
 
I don't think I'm explaining this very well, but I swear it makes sense. :)
 
@aditsu As in production code or just long programs?
 
3:06 PM
posted a meta question
 
@BetaDecay mainly long programs, and production code usually involves that
CJam production code is a strange idea :)
 
Apparently APL has been used for production software.
 
Medical software IIRC
Hospital databases used it
 
Also financial/statistical applications, I believe. I read the Wikipedia page recently, and it said that it was still used for financial trading software.
 
huh
does it have advanced i/o, networking, database and/or various other library code?
 
3:12 PM
 
Yeah, I'm writing it up.
 
3
Q: What programming languages have been created by PPCG users?

PhiNotPiLanguage-creation has become a popular activity on PPCG. A decent portion of answers, especially code-golf answers, are written in languages invented by the community. These are also languages that might be unfamiliar to this site's wider viewing audience. What languages (esoteric, golfing, or...

 
maybe I'm missing something but I still don't know how to count the length of a code snippet. Can you give me a reference about? Thank you.
 
@Blex: if you save it in a file, it's the file size
@Blex or you can paste it at mothereff.in/byte-counter
 
Thank you very much!
 
3:59 PM
damn, the daily show doesn't have full episodes anymore?! X(
 
4:15 PM
oh well, torrent it is then
 
4:47 PM
@BetaDecay Yes it is
 
Objection!
 
@Dennis Okay, well it is for mortals such as myself, not for programming gods.
@Sp3000 Okay. Well the answer was invalid anyway.
 
I'm serious. Once you get used to the stack-based approach, it's incredibly easy. Everything is evaluated from left to right, there's no operator precedence, etc.
 
Maybe I'll have to learn it. :/
 
It's really fun to code in IMHO.
 
4:57 PM
@AlexA. you could start with this tutorial: cjam.readthedocs.org/en/latest/intro.html
 
Ooh! Thank you!
I'll give it a look.
 
So I'm not sure what's more impressive, @MartinBüttner answering my question in 51 bytes or Brian Tuck doing it in two more bytes... but the same language
 
@MartinBüttner {1}'{-'{)}%'115)%11-[9)ie'9/{))}%++% (36 bytes)
 
Oh I almost forgot...
@BetaDecay
 
@durron597 Both answers are neat. Combining the CJam A program with the Pyth B program would give a score of 41.
 
5:01 PM
@aditsu
(belated)
 
@Dennis Too bad I can't accept them both
 
@AlexA. awww thanks! (≈◠‿‿◠≈)
 
I was hoping to see some weird esolang answers, like a brainfuck / whitespace answer
 
@durron597 haha, not for code-golf :p
 
@durron597 That would be "easy" (read as, not more difficult because of restricted source), but insanely long.
 
5:03 PM
@Dennis would it really be "insanely" long?
if all you have to do in most cases is add 48 to a number?
 
Well, it would probably beat Java. :P
 
I bet it would be shorter than the java java answer.
 
Headsecks should do rather well for this. It won't win, but maybe if I'm bored later.
 
@durron597 I'm pretty sure java/java is impossible
 
5:05 PM
@durron597 You have to not change half of the input cases
 
@isaacg ah, of oucrse.
@aditsu There already is a java java answer that abuses \u00 etc.
 
oooh ok then
I didn't look further..
"Thanks to @durron597 for helping to golf 1090 bytes" - jeez!
 
Holy crap
 
@aditsu lol yeah, the first version was entirely unicode escapes. I was like "ummm... not all the characters in that program are in the other half"
i think it was just intended to be a same-language proof of concept.
 
now a brainfuck/brainfuck would be interesting
oh, output is a problem though
well, input too
 
5:10 PM
BF/BF variant, maybe?
 
anyway, let me see if I can come up with a good CJam solution
 
I still think BF/WS is the way to go if you're going to go with huge esolang solutions.
lol, since both programs ignore invalid characters, you could write a single program in both bf an ws that, when filtered would be one version and filtered the other way would be the other version
 
hmm, it's tricky
 
5:37 PM
Hey Scooby @Doo, this is begging for Snowman (and Ostrich!).
 
5:49 PM
lets sing the title track again
 
Scooby Dooby Doo, where are you?
 
We've got some work to do now
 
Scooby Dooby Doo, where are you?
 
We need some help from you now!
 
Come on, Scooby Doo, I see you
 
5:53 PM
pretending you've got a sliver
 
You're not fooling me, 'cause I can see
 
@Optimizer What use is one sliver? You need several so that their abilities stack up.
 
@PeterTaylor I do not recall that line in the Scooby Doo theme song.
 
and once again, I have no idea what joke you are cracking
 
Rainbolt will get the reference.
 
5:57 PM
Is it something about the Magic card game?
 
Bingo
 
I think that's a different game
 
 
@flawr Looks like a cat
 
@AlexA. 10 points for Gryffindor!
 
6:09 PM
Am I Griff-and-door?
 
Haha, door is "tür" in german
türgriff = @Doorknob
 
Scooby @Doo ^
 
India Pale @Ale ?
 
Haha
Those are awesome
 
Did it work?
 
6:10 PM
Yes
^ why is star? <.<
 
Stars are beautiful!
 
Can't argue with that
 
@AlexA. related? ಠ_ಠ
 
@Pietu1998 Definitely.
 
Thanks @Pietu1998 I didn't even know about this!!!!!
 
6:25 PM
I kept thinking about the tangram idea from yesterday.
Has anyone of you been there when we discussed that?
 
What is going on with the stars??
 
What stars?
 
All of them.
 
(There's lots.)
 
^
Noooo why
 
6:29 PM
(ノಠ益ಠ)ノ彡┻━┻
 
^ Me IRL
 
What stars?
 
Apparently SE has decided that llamas' eyes can't stand the brightness of all the stars
 
Either that's a bug (in which case you should report it) or you're very quick with MS Paint.
 
lol ms paint. if you look closely, the texture of the background is perfectly in tact, no noob ms paint-ships :P
Its CSS Bi*ch!
 
6:32 PM
 
Did you modify the page CSS so that you can't see the chat stars?
 
you are a fast learner
.stars {display: none !important}
 
I like the !important
 
.optimizer {hide: stars !covering-up-evidence}
 
It is something similar like in latex where you have \large \Large \LARGE
 
6:35 PM
lol Lol LOL
 
\huge
\HUGE
\VAAAAST
 
\ENORMOUS
 
\OVERWHELMINGLY_GIGANTIC
 
\WAY_TOO_BIG
 
\YOUR_MOM
 
6:38 PM
\VISIBLE_FROM_SPACE
 
@flawr \ಠ_ಠ
 
Sorry, I just couldn't withhold that!
Oh, that reminds me of something.
 
Haha
I like "The Nightmare Scope"
 
I may have broken something
 
D:
 
6:45 PM
What if I tell you that the above changes could have been done in 3 lines of CSS?
 
-1
Q: Reduction to some physical interpretation of this formula

yejcProblem Given N 3-dimensional points S = [(xi,yi,zi):1<=i<=n] . I have to find the value of the formula all numbers are between 1 and M ( = 100). I need an efficient method for the reduction of this formula to something which is easy to calculate. So far, I have recognized that the above ex...

 
@Optimizer I did it in 2 of JS
 
I think you do not understand the comparison here
 
Jesus, I've missed out 75 rep because of this cap weeping
I need those site analytics
 
Where are the statistics about the stars in the chat?
 
6:52 PM
@flawr There aren't much. Click "show all 4002" under the avatars.
 
Apparently people missed the "wait until tomorrow" idea
(regarding the votes on @Beta 's question)
I've suddenly gotten like 4 votes since midnight (well midnight UTC+6)
(which I don't live in)
 
Speaking of @Beta's question, this proved to be much more difficult than I had imagined.
 
I am looking for a procedure that creates a set of n different 2d shapes given a number n, does anyone know anything like that?
 
In what language?
 
English
 
@AlexA. Language independent. Just a general idea how to create a set of a given size of 2D shapes.
I am still collecting ideas for the tangram challenge I was talking about yesterday.
 
In general I don't know, but I'm sure there's a Mathematica builtin.
 
@flawr Pyth: *R\*SQ. Generates n different 2D shapes (ASCII art) given a number n.
Probably exactly what you are looking for, right? Right?
 
RIGHT?!
2
 
@Pietu1998 What kind of shapes?
 
7:05 PM
Rectangles of size 1x1...1xN. Conforms to "create a set of a given size of 2D shapes" :P
 
Why 1x1x1x1x...xN?
That certainly looks more than 2D.
But thanks for the idea.
 
I meant 1x1 to 1xN.
Also I probably wouldn't call N-dimensional ASCII art rectangles
Or ASCII art either
 
Ah now I see=) Well who knows^^
 
7:31 PM
2
Q: Let's make a word-search!

YpnypnIn this challenge, we will together create a word-search containing many programs in different languages. I have started us off with a grid of 60-by-25 blanks (·), some of which are replaced by the characters of a Ruby program. To answer, choose a language that was not yet used. Using your chos...

 
> "Guys, they invented something that flies! They call it aeroplane in English, how shall we call it in German?" .... "Well it's stuff that flies. Let's call it Flight-stuff." Thus the almighty Flugzeug was born.
 
I love the German language for that. My favorite is Schildkröte (toad with shield).
 
Haha, I never thought about Schildkröte this way=)
 
Airplanes are seriously called "flight stuff" in German??
@Dennis What is that the word for?
 
Turtle.
 
7:39 PM
@AlexA. Ja, es heisst Flugzeug!
 
Haha
 
This is why I seriously love German. I did learn German in school.
 
But I think the "zeug" actually comes form "Erzeugnis" (product).
 
I just lost the Game
 
How dare you...
 
7:43 PM
This game? agar.io
^ play it btw
 
I do not get how this game works=/
 
Move around with your mouse, avoid people trying to eat you, eat the dots to get bigger, eat smaller people
 
agar.io/#D6JAE
 
press space to split into two smaller cells
 
But the space and the w does not work=/
Can you recombine?
 
7:49 PM
@flawr Finnish is similar in that respect. Aeroplane is "lentokone" (flight machine), computer is "tietokone" (knowledge machine).
 
You can eat your smaller part if your larger part is sufficiently larger
 
Oh hi @Zgarb can you speak Finnish?
 
That's my native language.
 
Oh, nice=)
 
Kummerspeck -- grief bacon
Arschgeige
 
7:55 PM
It is hilarious when you never thought of that before^^
 
My girlfriend found a list of German words with weird literal English translations
 
Schnappsidee -- liquor idea (I bet you can imagine what a 'liquor idea' is=)
How about Geschmacksverirrung -- taste aberration ?=)
 
@AlexA. such a baka game ^_^
 
What room are you playing in?
 
8:03 PM
@Pietu1998 6-1, 6-1, 6-1!
 
@aditsu "Baka"? Isn't that Japanese for "stupid"?
 
@AlexA. Baka is a horse-deer! ;-)
 
Haha
 
@AlexA. yes
 
Haha then yes, I agree, but it's also fun.
 
8:16 PM
 
That is both adorable and confusing.
Perhaps you know, @Zgarb: What roles do reindeer play on the Finnish police force?
 
It is a reindeer, therefore this question is invalid.
 
Sep 15 '14 at 14:03, by Eric Tressler
there are 4 deer in my yard
It's that time of year when we talk about deer
 
:O Apparently so!
 
@AlexA. Apparently that particular reindeer goes to public events and reminds people to drive safe.
 
8:24 PM
Huh. Alright.
 
there are too many big ones -_-
 
I think I'm going to post this challenge soon, if no-one has any comments on it.
 
TL;DR
 
Haha
Looks fine to me
 
8:41 PM
@flawr The XML is too long, or the post in general?
 
@Zgarb No I just saw that I have to scroll down in order to read the whole challenge, and I am just too tired to read all of that=)
 
Ok, no prob.
 
my_attention_span( (new Date()).rightNow() ) < 5*lines
 
alex.attentionSpan() returns False.
 
2
Q: The Lazy Programmer's XML Parser

ZgarbBackground You are working as a programmer for a car sales company. Your task for this week is to program an XML parser that takes in data about available models from different car manufacturers, and pretty-prints information about the newest models. Luckily for you, the testing department has p...

 
8:55 PM
betaDecay.attentionSpan() returns -15
 
Incompatible operand types int and Boolean
Idea for a new codegolf challenge
8
Q: number of factorizations of distinct factors

flawrLet $n = p_1^{e_1} p_2^{e_2} \cdots p_k^{e_k}$ an integer with $p_i$ prime and $e_i \in \mathbb N$. The prime factorization can assumed to be known, i.e. we already know $p_1,\ldots,p_k$ and $e_1 , \ldots e_k$. Is it possible to find the number of factorizations of length $m$ of the form $n = ...

 
Is your new idea to make a serial Beta downvoter bot that stops when the post score is +0/-15?
 
Did someone call?
 
It was your grandmother calling to wish you happy birthday.
 
Nah, my grandma can't call :P
 
9:05 PM
@BetaDecay Happy Birthday!
How many candles?
 
Seize :D
The English is too long to write ;)
 
What language is that?
 
French
 
Hm. I studied French, I should have remembered that. :/
"Seize" doesn't save you any bytes over "sixteen" when you add " :D" to the end though. ;)
 
I'd add the smiley face at the end of sixteen too ;)
 
9:09 PM
And qualify it with "The English is too long to write ;)". That costs way more bytes.
 
And I'm presuming that Flawr's from the French side of Switzerland
 
The German side
 
Sechzehn then ;)
 
I do understand both=)
Je comprends les deux=)
 
I don't remember anything but fine dining and breathing.
 
9:22 PM
Alors tu peux bicoler du bière et de vin légalement?
 
Moi ou Alex?
 
Toi, Alex ne comprends pas^^
 
Haha non. L'âge minimum c'est dix-huit ans
 
Vraiement?
Mais ou est-ce que tu habites?
 
Les Pays de Galles
 
9:26 PM
@durron597 probably the fact that aditsu did it in 36 bytes in the same language...
 
@flawr L'âge minimum c'est vingt et un ans aux États-Unis.
 
J'ai eu l'impression que vous avez l'alcool dans la lait maternelle...
2
 
@MartinBüttner Yeah I saw.
 
@flawr Hahaha no, just in France
 
Currently the front runner to receive checkmark. What's typical etiquette around here for how long to wait on a checkmark in a standard code-golf?
 
9:29 PM
@flawr XD
 
@AlexA. Haha, pauvres bougres. =D Et vous pouvez vous joindre a l'armé a l'âge de 18 ans??
 
@durron597 rule of thumb, a week
 
I wonder if this will work
translate: pauvres bougres
 
@MartinBüttner Cool. Also it's nice to see a new user come up with a strong solution
 
@Beta I know, I wanted to use the special translator thing
 
9:30 PM
What's that?
 
@Zgarb should the <code></name> and <year></name> tags be mismatched?
 
translate fr: Et vous pouvez vous joindre a l'armé a l'âge de 18 ans
(from French) Et vous pouvez vous joindre a l'armé a l'âge de 18 ans
Well that worked splendidly. :/
 
What was it supposed to do?
 
translate en: Et vous pouvez vous joindre a l'armé a l'âge de 18 ans
(from French) And you can join a weapon at the age of 18 years
Ah, there we go
 
@MartinBüttner Derp, no. Thanks.
 
9:32 PM
translate en: Putain.
Does not work^^
 
You spelled translate wrong ;)
 
you're also not a moderator
 
^
 
Also lol @ "join a weapon"
 
9:34 PM
There is a german saying "what isn't yet can still become" (well literally tranlsated)
 
@BetaDecay Dix-huit ans pour achêter seul, mais avec seize tes pères te peuvent achêter du bière ou de vin avec le repas dans un restaurant.
(Pardonnez tous que mon français est très oxidé)
 
> oxidé
I like that=)
Oddly enough it does also work that way in german: eingerostet
 
@PeterTaylor Je ne sais pas que je peut buvais dans un restaurant... Je m'interésse ;)
 
@flawr Unfortunately yes, you can join the US military at age 18. It used to be that you were required to sign up for "selective service," something like a draft, at age 16. (I don't know if it's still the case but it was when I was 16.)
 
@AlexA. C'est fou.
 
9:37 PM
Oui.
There's no mandatory military service in the US though, luckily.
 
How nice * death stare at you, switzerland *
 
Il y a six ans, depuis d'une semaine à Normandie je pouvais parler sans beaucoup problèmes. Puis j'ai lu El País en voyage +
 
@flawr You have mandatory military service? Are you currently in the Swiss military?
 
à Paris, pour m'actualizer avec les acontessementes chez moi, et quand j'ai compris le billet du métro pour Orly j'ai dit «Un billet simple, por favor».
C'est ce qui se passe quand on parle tout le temps une langue étranger et on laisse autre.
 
@AlexA. Yes, but for men only. No, I was able to escape due to 'reasons regarding my conscience'.
But I have to do a 'civil service' in return.
 
9:40 PM
@PeterTaylor Haha
@flawr Nice that you're able to opt out like that. What kind of civil service do you have to do?
 
@PeterTaylor C'est quoi, les acontessementes? Je n'ai jama entendu ce mot mai je ne l'a pas trouvé dans la dictionaire.
 
translate en: les acontessementes
(from French) the acontessementes
Haha
I don't really understand why mods have this ability.
 
@flawr Pardon, événements. J'ai essayé adiviner le mot français du espagnol.
 
@AlexA. You can work in social/non profit organizations, but also in hospitals or for mountain farmers too.
 
Have you done any of those things?
 
9:45 PM
@PeterTaylor Mai ton français est très bien, je suis un peux jaloux=)
 
@PeterTaylor When I was learning French, I kept mentally mixing in Japanese phrases. It made things rather difficult.
 
the stupid thing is addictive >_<
 
Right?
 
@aditsu What stupid thing?
 
agar.io
 
9:46 PM
@AlexA. I did only 6 months so far, at a non profit organizations that tries to collect information about wheelchair accessible buildings/traver opportuinities etc.
 
Ils parlent mieux le français que je fais. le sigh
 
In switzerland and in europe generally the accessibility is way worse than in the USA.
 
That sounds really interesting.
Except that sucks about the lack of accessibility. But the research sounds interesting.
 
And my job was documenting hiking trails that are accessible for wheelchairs.
 
Did you have to go hiking and write about it?
Because that sounds pretty nice.
 
9:49 PM
Yes about like that, but also a lot of organizing, the bad thing was that we had a quite stupid boss...
In the end I was pretty glad it was over=)
 
So you've done 6 months, how much more civil service do you have to do?
Also do you get paid or is this like mandatory volunteering?
 
I think about another 7 months or so.
 
Any idea what you'll do to serve your remaining 7 months?
 
You do get paid but not very much. In the first 6 months you get paid the same amount as the recruits in training. But you could barlely survive with that income. Afer that you get about 80% of what you get paid in your regular job. (The state usually pays your employer a compensation for the time you are not on your job, and he continues to pay you some of your income.)
No I am not sure yet. You allways have to search for those jobs and apply as in any other job, which is kind of ridiculous...
I am not even sure what I am allowed to do next anyway as there are pretty complicated restriction nobody really understands and that change every year....
 
Hm. :/
In the meantime do you have a regular job?
 
9:56 PM
@flawr What happens if one refuses to do the civil service too?
 
No I am still at uni, but working part time.
@Zgarb Prison happens.
 
WHOA
 
Interesting, so your system is basically the same as Finland's.
 
@flawr What are you studying and what do you do for work?
 
It is a really ridiculous situation, as it is pretty expensive for the whole economy and the whole army is way to big and way to useless...
 
9:59 PM
I didn't even realize that Switzerland had an army.
 
@AlexA. Uni and Uni=) Studying math and at the moment I am also working as a math tutor for a lecture for science students=)
 

« first day (1683 days earlier)      last day (3161 days later) »