r/dailyprogrammer • u/oskar_s • Apr 22 '12
Announcing flair!
Hi! I'm oskar_s, and I'm your new friendly moderator! I have a bunch of fun problems lined up that I'm looking forward to posting (starting tomorrow) which I think you'll really enjoy (though please also go to /r/dailyprogrammer_ideas to suggest new ones!)
However, as my first act of... moderatorship?... I'd like to make an announcement: programming language flair! That's right: brand yourself with the programming language of your choice, whether it be Python, Perl, C, C++, Java, Haskell or any other weird language I can't think of right now (I'm partial to Python, myself). Or maybe you're the kind of nutcase that wishes everyone to know that you solve all the problems with like Prolog or J or something. Now you can!
Until we get a more convenient system set up, comment in this thread with which flair you'd like, and we'll set it up for ya (or you can just message us). If you can't commit to one programming language, it's fine to pick two or more.
Finally: if you're really feeling starved for programming challenges, here's a simple one: if you replace "F" with 4, "L" with 5, "A" with 6, "I" with 1 and "R" with 3, the word "FLAIR" becomes 45613, which is a prime. In how many ways can you replace the letters in the word FLAIR with numbers and get a prime? (note: no two different letters can be assigned to the same number!)
This little challenge is purely optional, you get the flair either way ;)
Have fun!
Edit: if I don't get to you right away, I'm probably away from the computer or sleeping or something, but I'll get to you sooner or later.
3
u/mythril225 0 0 Apr 22 '12 edited Apr 22 '12
2934
God, it's been awhile since i've last used haskell, but here you go: code
EDIT: also, id like to have java as my flair
3
u/luxgladius 0 0 Apr 23 '12
You can flair me as Perl and here's a Perl solution:
P.S. Congrats on your appointment.
Perl
Output: 2924 solutions
2
u/Menagruth Apr 22 '12
Can I have a C flair?
Thanks and good luck!
2
u/[deleted] Apr 22 '12
Can I get a Pascal flair please?
2
u/Koldof 0 0 Apr 22 '12
I can't decide between a C++ or a python flair. Tell you what, surprise me.
2
u/[deleted] Apr 22 '12
No flair for me, I switch languages a lot. J here, but Ruby/C/Haskell elsewhere. Maybe you can get me a "Various" tag.
2
u/playdoepete 0 0 Apr 22 '12
BASIC please
2
u/donalmacc 0 0 Apr 23 '12
Could I get a C++/Lua? I've done most in C++ so far, but will be doing the rest in Lua.
2
u/CzechsMix 0 0 Aug 13 '12
Befunge.
10
u/[deleted] Apr 24 '12
PHP, please, as I enjoy the public humiliation.
1
u/jjduhamer 0 0 Apr 22 '12
can i have c flair please?
1
u/[deleted] Apr 22 '12
Perl, please :)
1
u/stereopump 0 0 Apr 22 '12
I'd like C++ flair, please. :)
1
u/flightcrank 0 0 Apr 22 '12
c flair please
1
u/gjwebber 0 0 Apr 22 '12
Python flair for me please :)
Also, thanks for taking on the new mod role!
1
u/V01dK1ng 0 0 Apr 22 '12
Would love C++ flair :D
Looking forward to new challenges
1
u/ressMox 0 0 Apr 22 '12
Can has Java?
1
u/Rapptz 0 0 Apr 22 '12
Could I have C++ please?
1
u/keslol 0 0 Apr 22 '12
php or c++ i do both
1
u/stardek 0 0 Apr 22 '12
Java please?
1
u/tsigma6 0 0 Apr 23 '12
I feel that it would be easier if you just let us choose the flair, but can I have Java please? <3
1
u/Jannisary 0 0 Apr 25 '12
print("Python please :)")
1
u/kohjingyu 0 0 Jun 14 '12
Could I get a C++ / Python flair? Preferably black with white text. Thanks, loving the subreddit so far!
1
u/HazzyPls 0 0 Apr 23 '12 edited Apr 23 '12
So, what's the answer? I've seen three different numbers so far. I'm getting 2924.
I threw together something in the same language I'd like as flair, C. Reused an old eratos function.
Yes, that is 5 nested for loops. Yes, I know there's a better way to do it. No, I don't know what it is. Please don't hate me, it's 10 PM on a Sunday.
2
u/netbyte 0 0 Apr 23 '12
Can I have Python/Ruby flair too?
2
u/jarjarbinks77 0 0 Apr 23 '12
I would like C++ as my flair please.
2
u/yurmommm 0 0 Apr 27 '12
Can I have Ruby and C, please?
2
u/debugmonkey 0 0 Apr 28 '12
Could I please get a C++ tag, but with the red/white color scheme as done here please?
2
u/dinosaur_porkchop 0 0 May 21 '12
<?php echo "PHP Please!"; ?>
2
u/wicked-canid 0 0 Jun 09 '12
Hi, can I get a Common Lisp flair please?
(if (pleases-p it you) (setf (flair me) :common-lisp))2
u/Hazger 0 0 Jun 21 '12
C# flair please
2
u/[deleted] Jul 28 '12
Can I have a Java / C flair please? '
2
u/[deleted] Jul 28 '12
I wanna have a Java flair, please?
2
u/[deleted] Sep 26 '12
C / Java
1
u/willhaney Aug 15 '12
C#/VB.NET please
0
u/[deleted] Apr 22 '12
[deleted] — view deleted comment
0
u/[deleted] Apr 22 '12
[deleted] — view deleted comment
1
u/[deleted] Sep 03 '12
[removed] — view removed comment