« first day (1609 days earlier)      last day (3238 days later) » 
00:00 - 17:0017:00 - 00:00

12:57 AM
Not again!
-1
A: List Sophie Germain primes

MegosAlphaAlphaPlus, 21 bytes - 10 = 11 rPrime.dll aPrime fG Here's the prime code from the AlphaPlus builtin functions. I only have the code to calculate Sophie Germain Primes (224 bytes). using System; public class Prime { public void G() { int i=2; bool f=false; while (true){ for (int pt=2;i>pt;pt...

 
poof
 
the magic @Doorknob.
 
1:24 AM
Is it just me that doesn't see why (N+1)(M+1) - ((M+1)*(N+1))%2 isn't zero?
 
@Geobits Ambiguous parentheses: 4 - (4%2), or (4 - 4)%2?
 
Yes, I was just seeing that.
I'm now assuming that it should be 4 - (4%2)
 
The whitespace would imply that.
 
In mine, yea. In the post the whitespace isn't really there (that I see, at least).
I recall saying a few days ago that Geobits no good math.
So I'm just here providing evidence.
g'night!
 
lol, night
 
1:36 AM
@Geobits In python the % is performed first. I assumed that was consistent across languages, which was probably foolish of me. I'll add an extra layer of parentheses
(everyone loves an extra layer of parentheses)
 
((((especially)) lisp (((programmers)))))
 
lol
I'm now pleased that I went to the trouble of double linking my mathurl.com images so I can click on them and edit them :)
Thinking of others pays off...
 
1:57 AM
@MartinBüttner Prime check is the middle part, powers of 2 is the last part, i.e. check if it has an odd factor
 
2:10 AM
it seems like new users that post a challenge without having participated in the community are really drawn to a few common themes
1) Print X without characters Y
2) Multiply/exponentiate with adding/multiplying/etc
3) Write a quine that prints [some function] of the source code
 
I'd add language-specificity to the list :)
Jun 22 at 13:06, by Sp3000
That sounds almost as insta-close as "Write a Java program which looks like a heart and outputs a program which looks like a duck, which in turn outputs the original program, without using any file-writing methods and without any of the letters in "HEART" or "DUCK""
 
that's a good one
4) Do this in Javascript
5) Golfing languages get *5000 penalty
 
6) Do {simple task} as creatively as possible
 
outputting the language name, current date, and your username are also classic
 
We could have a list of themes like that, but I'm not sure people would read them...
 
2:20 AM
@Sp3000 that's fantastic, I hadn't seen that originally!
i still wouldn't mind having a nice link if someone would write it up
sure, new users wouldn't read it, but it would be nice to be able to point them to the list
 
We could have a "How can I write a good challenge?" meta post
And perhaps incorporate meta.codegolf.stackexchange.com/q/1511/3808 as well
 
Oh, How to Ask shows up on the sidebar when you ask a question
I guess we could stick it there. Won't expect everyone to read it but it's worth a try
 
How to Ask: 1. Are you copying from a sandbox post which has been approved?
 
@trichoplax Sandbox requires 5+ rep, that might not be possible.
 
I wish there was a way around that.
 
2:33 AM
yeah :/
 
You can ask a question on main with 1 rep, right?
Let's move the sandbox question to main!
The duplicated rep will cause all sorts of arguments and everyone will be happy
 
i remember there was a discussion a while back, but why is sandbox not on main?
 
@trichoplax It could be CW
 
@Doorknob You're making my joke sound feasible...
 
i'd seriously consider it ...
 
2:35 AM
@xnor I guess there turned out to be a reason not to?
 
i remember higher-ups declined a request for a separate SE to use as a staging ground
 
yes I remember that
but what about just a question on our main main?
 
ugh another AlphaPlus answer
 
@Doorknob I think requiring the post to say that it's an invalid answer and non-competing is better than deleting it...
 
2:39 AM
No, it's clear that this user is a troll.
 
I hate invalid non-competing answers
Leaving them there (even marked as invalid) can lead to them rising up with voting and giving the impression of being welcome despite being invalid
Like this
 
Well what I mean is, even with the quine challenge languages newer than the question are still posted
 
@Sp3000 But Martin didn't make up a library to solve that challenge in 10 bytes or less.
 
I don't mind those if they are not taking advantage - if they just happen to be new
 
It just happens to work that way.
 
2:44 AM
I don't like answers that deliberately disregard the rules in order to appear far more impressive
 
Is AlphaPlus purposely being engineered to solve these challenges easily? I haven't checked so that's the part I'm not sure on
 
Yes, it is.
 
The library functions may as well be named after PPCG questions
 
Ah, okay then. Your comment just made it sound like you were deleting because the language was newer than the question, which confused me a bit
 
@Sp3000 Yes. Every time he post an answer, GitHub gets updated a few minutes before.
 
2:57 AM
If the sandbox question was a post on main, made CW, would that make it impossible for it to be featured?
 
Yes.
 
That's one drawback then
 
Woah, anyone else realize we got 10 new non-negatively-voted quesitons in the past 24 hours?
 
Wow
 
Analytics graph says this in the past 365 days, today (well, last UTC day) is the one with the most questions. That's counting the off-topic ones that will probably be deleted, but still.
 
3:07 AM
Do previous days only count non-closed ones?
 
I'm pretty sure it doesn't count deleted questions, although I'm not certain.
 
10 is a pretty big deviation from 3.6. Wonder how that happened...
 
We had a mostly nonsensical discussion in chat and then posted more questions...
 
 
2 hours later…
5:35 AM
0
Q: clickable links within editor pane in java

user41827i use GUI to make application & when i make the menus of the GUI i use help menu & make a sub menu for Developer of application & i put on it link of e-mail for every developer , i use editor pane to display the data of the developers & put on it links of developers e-mails but the links aren't ...

 
6:20 AM
@undergroundmonorail import aaaa;aaaa.blah()
 
oooooh
I knew I was missing something, haha
 
:)
But yeah general rule of thumb for an import you use once: < 5 straight import, > 5 from blah import*, pick any for = 5.
Multiple imports get tricky though
 
Yeah
I have an answer on this site that I can take 138 bytes out of easily, but I'm not going to do it because I'm too proud of it
 
Which one?
 
14
A: Print the ASCII table

undergroundmonorailbrainfuck - 169 146 bytes -[+>+[+<]>+]>+>>,[>,]<[<]<[->>[->]<[<]<]>>>[[<[-<+<+<+>>>]+++++++++[<[-<+>]<<[-<+>>>+<<]<[->+<]>>>>-]]<[-]<<[-]>[->>>+<<<]>>>---------->]<-[->.+<] Limitations: EOF must be 0 Requires 8-bit wrapping cells Because of ^, mods input by 256 Not the shortest answer here...

because
8
A: Can numeric input/output be in the form of byte values?

Martin BüttnerYes, numerical input and output may be given as a character code As long as this doesn't give an unfair advantage (e.g. for a challenge that is "given a character code, output the character"), I don't see any problem with this. It's similar to allowing each language to use its native string repr...

 
6:24 AM
Ah, yeah...
Depending on how much it affects the golf, sometimes I just prefer to keep an ATOI in there at the expense of bytes
 
I'm still not a fan of the decision there but my answer is at 0 and the other one is at 8 so I can accept defeat
 
On the one hand I don't like how the input becomes not as nice, but on the other hand having to implement atoi each time for some esolangs is downright annoying, so I'm sort of impartial
I was a bigger fan of it until I found out ><> had a -v flag for preloading the stack :P
 
heh
IMO implementing atoi should come with the territory of "using a lang where you need to do that" but if people disagree that's fine too
 
"using a lang where you need to do that"?
 
where you need to implement atoi
 
6:29 AM
As in, do you think atoi shouldn't be part of the byte count, or what do you mean?
 
I mean that when I code in bf I'm going into it knowing that I'll have to figure out what I'm even going to do with the input, and I don't feel like I should get that for free
But like, the decision has been made and I'm not salty or anything
brb
 
Hmm k
 
yo
183
Q: How can I make my shell prompt look like a cheeseburger?

Corey GoldbergI want my shell prompt to look like a cheeseburger! 🍔🍔🍔 It would be nice if it also displayed: username, hostname, and current directory.

 
2
Q: Mass of elements

Cool GuyThere are more than 100 elements in the modern periodic table. You challenge is to output the rounded mass of an element with respect to the input given. Input Input will contain an abbreviation of an element. Input can be taken from any one of the following: stdin command-line arguments fun...

 
I was not aware that we had a chemistry tag.
 
6:47 AM
 
@Sp3000 Should I add that tag?
 
Not sure, hence the question mark. I'm not sure what kolmogorov applies to tbh, I just assumed it was any question which was involved with compression in some way
 
Originally it was for programs that took no input and always outputted the same thing, but it's evolved since then and I'm not super sure what it's for now haha
 
7:04 AM
I was wondering why my mass v atomic number graph had such a big outlier
 
7:46 AM
I have < 300 but I always have trouble with CJam when it comes to unprintables :/
 
8:06 AM
What is the appropriate way to contact StackExchange if one forgets their login info?
 
@Quincunx I think it would be team@stackexchange.com
 
Okay. Now I just need to tell that person. (suggested edit: stackoverflow.com/questions/31032667/android-image-comparison)
 
btw @CoolGuy I know you probably just posted a suboptimal sample answer to get things going, but you can use dict(H=1,...) to save a lot of bytes :P
 
@Sp3000 Thanks!
I've edited the question to fix masses of 3 elements
Your code should output 59 for Ni and Co
Nevertheless , Interesting answer!
 
Out to dinner atm, will update when I come back
 
8:32 AM
@CoolGuy I think you mean a whopping 196 :P
But in any case Python would probably benefit from lookup tables too, if I had to try
 
@CoolGuy :(
 
I'm an idiot......
@MartinBüttner ?
 
redoing the whole base encoding is gonna be such a pain.
 
^^ that's why I didn't bother yet :P also I find base encoding so much more annoying to test in general...
 
@usandfriends yes, wanna know how to build it? also, there's no cjam.aditsu.com :p
 
8:35 AM
@Sp3000 I should really set up some scripts to automate it
 
@usandfriends also, why would you want it, if it's actually generated from the java code?
 
My problem is more I don't know which control bytes break it
 
I think in principle none do... it's just that the browser messes them up. I think in the Java interpreter any bytes would work
 
if i ever invent a programming language it's going to throw an exception whenever you try to indent with spaces
4
 
I have trouble testing locally because I can't seem to get extended ASCII working right in Notepad++ for some reason
 
8:37 AM
@undergroundmonorail Heretic.
:P
 
i just saw someone say that the only two flaws in python are re.split's erroneous behaviour and the fact that it allows you to indent with tabs
 
I'm not sure about split, but they are right about the tabs
 
forgive me for using the character that was designed for indentation when indenting
idk how re.split works
 
Check 3.5, I think they changed split
 
8:39 AM
@undergroundmonorail yeah, back when it made sense to design control characters based on how typewriters work.
 
@undergroundmonorail BASIC was designed for programming. Why don't you program in BASIC all the time? :)
 
nvm it was re.sub, not split
 
tabs++, but people who inconsistently mix tabs with spaces should be hanged
 
many languages were designed for programming. space is for delimiting, not indentation
 
@aditsu If anything I hope we can all agree on this...
 
8:40 AM
@aditsu i agree with you everywhere except for on this very website
this is the place you can do that
 
haha
 
@undergroundmonorail no, on this website you consistently mix tabs and spaces
4
 
Relevant xkcd, as always xkcd.com/1285
(imagine the signs with "spaces," "tabs," and "both")
 
Hmmm I should really el the input, shouldn't I... will do when I get back
 
i actually have "designed a language" but the first step in the interpreter is stripping every character that isn't part of an instruction
 
8:42 AM
(Must beat Martin)
 
also the spec is probably incomplete and the interpreter is a tokenizer and a # TODO
 
occasionally after I copy and paste code from other sources, I search for " " (two spaces) to make sure no crime has been committed
 
@aditsu If it's in a comment, you have to go back to that xkcd and read it literally
 
well, two spaces after a period would be a crime too
 
I don't have an opinion about that, but I use one because of habit
 
8:48 AM
it's not quite as egregious as space before comma
 
@Optimizer ^
 
I know , right ?
 
glares at Optimizer
 
glares with aditsu
 
well , you brought it on youself
 
8:50 AM
at least you're not... um, nevermind
 
I like when people use spaces before sentence-terminating punctuation ! I think they do it in french
 
bon , jour ?
 
@undergroundmonorail The worst thing is space before colon before dash. "Here is my code :- blah blah"
 
not only is there a space before your comma, it's in the middle of a word :P
 
I've seen that on SO far too often...
 
8:52 AM
ok I am not that bad .
 
@Doorknob Yes :-)
okay that's cheating
 
colon and dash? what's the point of that?
 
there are two points
 
@aditsu I have no idea. Ask the people who do it.
 
it's so weird it doesn't even bother me
 
8:54 AM
I've never seen it but I agree that it seems awful.
 
@MartinBüttner You should totally mod chain
 
I don't think I will
 
revenge spree ?
 
before you posted the second like i thought you were just super prepared for this conversation
 
8:56 AM
lol
 
What is SE going to do if they want to start a site about handling data?
 
this :-
 
When in doubt, Just Add Science™
I have userid 5 there, but only one post. :P
 
8:58 AM
did you join right now ?
 
This whole time I assumed that your userID was the same across SE
 
@undergroundmonorail you don't get much info living underground..
 
@undergroundmonorail /me is not sure whether to be proud or ashamed to have the numbers 3808, 1223693, and 1266491 memorized
 
better than memoized
 
@Optimizer you're not wrong i.imgur.com/1tEoPmW.png
 
9:02 AM
A mono rail... I like it. :P
 
@Doorknob that's clever and i wish i had thought of it
 
lol, who did? Or did you just happen to put a rail on the wall without explicitly considering it a mono one :P
 
I just thought "monorails go on rails, i'll put up a rail"
and didn't have any reason to do more than one
 
@Sp3000 fixed my encoding. cost me 1 byte, because the new numbers don't work in base 272 :/
 
If you add another track, does it become a stereorail?
 
9:05 AM
Maybe?
 
@MartinBüttner Still curious what mod can do - find the smallest mod such that all strings map to different numbers. Might try later if bored
 
do people in black gowns look like dark wizards 100% of the time? i had to wear a gown recently and i just now saw a picture of it and i look like a dark wizard
 
9:28 AM
@Sp3000 added an explanation for mine
there goes the time I wanted to spend on doing negabinary in Fission...
 
binary with 1 instead of 0 and vice-versa ?
 
base -2
 
Nice job with the steps :)
 
look at this --> ( ͡° ͜ʖ ͡°)
 
9:46 AM
Looking... ಠ_ಠ
 
( ͡° ͜ʖ ͡°)
 
◕_◕
 
10:06 AM
@Sparr Did you actually test your Marbelous answer with the controller? It's pretty impressive.
(The Hex challenge)
 
10:22 AM
@MartinBüttner I guess 100 numbers is too hard to mod chain - you win :)
 
yay :)
(until Dennis wakes up)
 
On the bright side, I now have something to automate mod-chaining :D
 
And this
(It's a little overpowered for fixed input questions sometimes)
 
10:33 AM
ooo
 
@MartinBüttner You should try J instead of Q and see if that changes your base conversion because it's earlier in the alphabet (cos that's what I'm doing now)
 
@Sp3000 hm, I had that earlier, but changed it for some reason
 
11:11 AM
0
Q: Write an interpreter for my new esoteric language PointerLang

xiver77I designed a language in which pointer arithmetic is the main tool of programming. Here are some examples. (print 0 to 9) =9[>1=9-*-1.>-1-1] (print 1 to 10 with spaces in between, character literal extension used) =1[.>1=10-*-1[>1=' '!>-2+1~2];]='\n'! (compute the factorial of 10) =10>=*-1-1[>...

0
Q: Number of character of an integer

The random guyThe goal of this challenge is to show how many letters are in the name of a given integer. This is code golf, so the smallest code wins. RULES The input will be between 0 and 100 (inclusive). If it is not the program won't return anything. The result has to be printed as input : answer For e...

 
Tim
Is this answer:
0
A: Mass of elements

TimBash, 103 98 Chars sudo pip install periodic python -c "import periodic as x;print int(x.element(raw_input()).mass)" This installs the python module periodic and then uses that to get the mass of any element.

A standard loophole?
 
11:29 AM
It's not really a fully accepted one
are you rounding correctly though?
 
Ahaha Martin, builtin abuse
 
that loophole is losing support more and more
 
btw ⌊x⌋
 
yeah I know
but I wanted to wait for clarification before googling those characters
 
Ahaha right :P
On a side note, I find it weird that Round[4.5] = 4
 
11:40 AM
yeah it rounds to even
 
!?
Why on earth
 
rounding upwards introduces bias
 
Oh... for modelling or something?
 
stats in general I guess
 
11:52 AM
@MartinBüttner "Are we allowed to fetch the data from built-ins?" Not sure... What do you think?
 
I want to add a standard loophole to ban data builtins, but I'm having trouble drawing a line between, say, list of English names for numbers and Pyth's G for the alphabet
 
12:22 PM
0
Q: Solve the Diophantine Pell equation

Agawa001-Given a natural number c as input, our task is finding the fastest way to calculate one -atleast- availabe integer solution (a,b) of pell equation c=a²-b². notes: -Built-in functions and loopholes arent given any interest. -The program deals with integers (signed), the input is not supposed t...

 
bot acts slow
 
@Agawa001 Friday is hard for everyone !
 
@Katenkyo mathematics are harder for everyone anytime
 
@Agawa001 Like feersum said, your question is too easy for fastest-code.
There are some really easy constant-time solutions possible.
 
let me see easy solutions
 
12:38 PM
@Agawa001 goo.gl/cCsdfl
Works only for odd numbers though.
Basically if the input is 2*k+1, than (k+1)^2 - k^2 = 2*k+1
 
Every odd number is the difference between consecutive squares
c=2 mod 4 has no solution
 
@Agawa001 Fridays are harder than other days :)
 
and c=0 mod 4 is still only a couple of arithmetic operations
 
0 mod 4 is (k+1)^2 - (k-1)^2, yeah
 
Writing a third bot for my summoner war, and it'll be done, I think Ill put it on the main something like mon/tuesday
 
12:51 PM
@Katenkyo Summoner war? Where?
 
@CoolGuy here
Some specs have changed, but not much :)
I'll maybe continue working on it for the sake of doing a GUI :)
 
0
Q: Encrypted Chat Program

MegosAlphaWelcome! Chat+ is building a new chat service for their super secure clients, and wants your help. Requirements: Server Accept and forward messages. Client Receive AES encrypted messages and decrypt them. Encrypt all outgoing messages. Bonus Server -20 Decrypt all messages received, but...

 
Do you guys think a challenge to get programs to output guitar tablature as sound would be a good one?
 
@BetaDecay It would be amazing !
That could be a great pop-con/code-challenge !
(bonuses for the ones who handle hammer'/tapping etc?)
 
Great, I'll get started on it then :D
Hammering... That'd be hard haha
 
1:14 PM
@BetaDecay Would be interesting to see it handle bends and slides as well (although tablature tends to be a bit varying in how slides are notated)
 
Let's say a half bend each time
 
sounds good
 
0
Q: Lost in (programming langage) translation

WizLizThe goal Write a program that when executed will output code instruction in another programming langage. This code snipet can then be run to output the original program itslef. The rules Any two langages are fine but standard loophole are forbidden Different versions of one langage doesn't co...

 
i think?
well that was a fast close
1 minute 19 seconds
 
1:29 PM
Completely different requirements for output. Completely different restrictions on source code.
I know restricted source code isn't necessarily novel, but if those are dupes, we have to close 50% of all ASCII art questions as well...
 
@Dennis apparently many people think "similar" means "duplicate"; if you disagree, just click reopen :)
 
@aditsu Can't. I've closed and reopened the question once, since it was a dupe at the beginning. The user made 5 edits until the tricks from the "hello world" questions didn't work anymore.
 
@Dennis oh, it doesn't let you do it again after it's modified?
 
@aditsu No. You can vote once to close, and once to reopen. Without that limit, there would be constant close-reopen wars. :P
 
oh well, public appeal: everybody please click "reopen" at codegolf.stackexchange.com/q/52240/7416 if you think it's not a duplicate :)
 
1:45 PM
0
A: Sandbox for Proposed Challenges

Beta DecayPlay a Song for Me Challenge Given guitar tablature you must output the song represented by the tab. This may be to the speakers of your computer or to an audio file. The tabs may be input via a file or straight to STDIN. The tab will be in ASCII form. Spec All tabs are for 6 six string guit...

 
1:57 PM
0
Q: Programming Language Remix (Implement or Re-Implement)

Admin3XI have seen the create a programming language challenge(Create a programming language interpreter) and was inspired by it. I thought it would be cool to have a second version of that challenge. In this version, you can implement any language in the previous post in a different programming languag...

 
2:10 PM
@aditsu I was able to hack up the scripts on your site to stop it from giving me 404s on my page and am using it successfully. CJam101 will be a thing soon hopefully :)
 
Did something happen to CodeGolf SE? I thought yesterday was an outlier, but these questions are still coming...
4
 
@MartinBüttner Either the 13 in the explanation of your chemistry answer should be 12 or I'm misunderstanding something.
 
I found out that I can edit the End User License Agreement (EULA) for the product I am working on. So I changed mine:
user image
4
 
@usandfriends huh? what 404s, and what are you trying to do?
 
2:34 PM
@Rainbolt is some kind of evil patch ?
 
@aditsu not really sure entirely, but your script calls for external resources that are not necessary for running the JS interpreter, so I removed all those calls to speed up my page. Like I said, I wanted to make an explainer like the one found at regex101.com for CJam. I also want to allow the user to run their code, which is why I wanted your JS interpreter.
I'm also planning to add a searchable reference box like the one on Regex101.
 
I think the guy who made the new # of characters challenge doesn't understand how the accepted answer feature works..
 
@usandfriends ooh, an explainer; also, what resources (other than jquery) are not necessary?
 
2:58 PM
@aditsu, I'm trying to figure out the b in CJam operator. How would I use it to convert a hex string to it's integer value?
 
@Vioz- when used with characters, b uses their ascii code / unicode code point as the numeric value, rather than A=10 etc
however, if the string is in uppercase, you can make use of the predefined variables
such as: "FF":~Gb
 
that's great, thanks!
 
^^ This is why I think CJam is well-designed
 
in a future version there will probably be a hex conversion operator
 
Is it going to be like the base-36 one in many languages?
 
3:03 PM
by definition, hex is base 16
but if it takes another argument for the base, it could work like that too
 
Should have probably specified, I mean the one which takes in a base from 2 to 36 and converts accordingly, like in Python
 
I'll consider it
 
(tbh I'm not sure when people ever use base-36 and such in "real" code...)
 
@Sp3000 base 36 is how all the binary operators in Marbelous are specified
 
I said "real" code :P
 
3:06 PM
<cry>
 
Also, I'm trying to work out how the CJam if operator works, can't seem to figure it out..
 
@Vioz- condition thenpart elsepart ?
 
Hmm. 15 questions in the last 24 hours, 7 closed (and one heavily downvoted but open). 9 of them asked by someone with <200 rep here. All but one of them asked by <200 are closed/negative.
 
That's why I'm wondering whether some major site featured PPCG or something
 
Conclusion: PPCG has a learning curve.
Which we knew, but damn.
 
3:14 PM
Does css-tricks.com count as major?
 
3:36 PM
@Zgarb I tested it from the command line. It's not quite right for the controller since it wants 16 one-character paramters instead of one string.
 
@Geobits And I'm rather surprised that the most upvoted one didn't attract any close-as-dupe votes.
I warned OP that it was borderline dupe in the sandbox, and he shrugged it off.
 
Nuggets or elements?
 
@aditsu The only things I needed from your site were the two scripts that hold the runCJam() function. One called the other over the network, but I just concatenated them and removed the code that called the other one. After that for some reason it started calling other resources like a nocache image so I just completely removed any code that modified the DOM... And now I am able to call runCJam() just fine and don't have any 404s, which can slow down the page a lot.
 
3:52 PM
@usandfriends I'm not aware of any image... there's one "nocache" script that loads one of 5 cached scripts based on what browser you are using
 
Elements
 
-1
Q: Write the fastest gcd function

FUZxxlA common mathematical function is the greatest common divisor (gcd) which maps a pair of positive integers a and b to a positive integer k such that k is the largest integer that divides both a and b. The goal of this challenge is to write the fastest implementation of the gcd function. Constrai...

 
@aditsu Yep. In the source code for the nocache script, there is a variable set to "clear.cache.gif". However that only tried to load when I removed the code that added the script based on your browser, so it shouldn't even load in the first place...
 
huh, I was not aware of that image.. I didn't even upload it, but gwt generates it for some reason (it's a single transparent pixel)
 
And now, to complete the spell, a single transparent pixel
 
4:06 PM
@aditsu I just finished coding the parser for the explainer. It breaks down the code into literals, variables, operators, and block curly-braces. Next I will write the explainer itself, which will match these tokens to their explanations. After that I will write the colorizer to prettify the output. And finally I will write some tooltip code so when you hover over a part of your code, it focuses on the matching explanation and vice-versa.
 
@usandfriends sounds cool, good luck :) are you doing the whole thing in js? do you still need the prettyfied interpreter code?
 
(I found a use for your language flaw :P)
 
@aditsu Thanks! Yup, doing it all in lovely, commented JS code. Nope, I'm good now. Also, you wrote the interpreter code yourself? I thought GWT has a Java -> Javascript converter for generated and custom code.. Unless GWT gives you prettified Javascript. That would be cool.
 
@usandfriends yes I wrote the interpreter code myself, in java :) the js files you see are compiled by gwt from my java code; gwt has an option for pretty output
oh, apparently it can also do detailed output
 
@aditsu Thanks for the link, that explains a lot. And, ah yes, of course you did. I was confusing myself and being dumb haha. I don't know any Java personally but after I do learn, GWT is something I will definitely try out.
 
4:41 PM
0
Q: Poor man's LaTeX

FatalizeYou are transported in a parallel universe where people write mathematical equations on computers as ASCII art by hand. As a LaTeX addict, this is totally unacceptable, and you ought to automate this process somewhat. Your goal is to write a program that outputs an ASCII version of an equation ...

 
@Sp3000 have you thought about "more is less" in ><>? It seems interesting and challenging to find a valid answer.
 
@Agawa001 There is nothing evil about my EULA, I promise. It just says that I am awesome.
 
Hmm. The EULA is normally written in the company/writer's POV, so I think it's just telling the user to agree that he is awesome, not you.
 
@randomra I assumed something like this could be adapted and didn't think too much about it
 
@Sp3000 you would have to use all positions in the default case so no char could be deleted without side effect, so it seems a lot more comlicated
 
00:00 - 17:0017:00 - 00:00

« first day (1609 days earlier)      last day (3238 days later) »