# PPCG-specific Mobile App

### See a list of feature requests here (On hold)

Basically, I was wondering if anyone could develop a mobile app which would serve as a browser for PPCG. Maybe something along the lines of the pre-existing SE for mobile app. However, this would be specific to PPCG with special features as found in the graduation design userscript (sort by byte count, automatic TIO links, sandbox viewer, etc.).

Note: Something to keep in mind is that, on current SE for mobile app, the sandbox is basically unusable due to huge number of answers.

As I have absolutely no Android/iOS programming experience, so if someone is willing to take the time to develop this, I'd love to use it.

## Bounty

As a reward for your hard effort, I will be willing to award a minimum of 1300 rep bounty to the best app (if multiple apps are posted). If an Android app and an iOS app is added, I will award two bounties. Since this is PPCG, let's make this a competition :D

Tuskiomi is willing to offer half their rep (at the time when the app is released) as a bounty to be awarded to the best app.

• I am in favor. This seems cool. – programmer5000 May 25 '17 at 17:27
• Also in favor. This would be great. – MD XF May 28 '17 at 3:06
• Yes, please have it by tomorrow. – feersum May 28 '17 at 7:00
• @feersum I might be able to do Android, but expect 6-8 weeks delay – NoOneIsHere May 29 '17 at 3:13
• I think this would be great. – Christopher May 31 '17 at 16:40
• @Christopher I think I might up the bounty when I get enough rep – Beta Decay May 31 '17 at 18:29
• @BetaDecay tempting, I would not be good enough :( – Christopher May 31 '17 at 18:31
• @NoOneIsHere Estimated completion date is November 1st. – mbomb007 Jun 1 '17 at 15:05
• I am totally open to making an iOS app for PPCG, but I have one question: does source code need to be golfed? :P – Evil Sheep Jun 2 '17 at 18:03
• @numbermaniac Specifying this would be a nightmare though :P Maybe a pop-con – Beta Decay Jun 7 '17 at 9:50
• @feersum Wait... are... are you and my boss the same person? – Magic Octopus Urn Jun 8 '17 at 15:57
• Suggestion: Post each different feature proposal as an individual answer so people can vote on them. This would allow whoever's building it to prioritise the features we want the most. – Shaggy Jun 14 '17 at 19:48
• @Shaggy See here – Beta Decay Jun 15 '17 at 10:43
• @BetaDecay I've thought about doing this before, since I've done some Android work and would like to have one. One day I decided to put it off until November, but still haven't decided which year. – Geobits Jun 29 '17 at 19:19
• Personally, I believe the app should be open-sourced, whether it be Android or iOS. – Cows quack Jul 16 '17 at 17:32

This answer is intended as community submission describing the target functionality. This will likely change over time, but it will allow devs to have a end goal with their program.

Obviously, this includes the standards (doing anything you would normally be able to do on the site), but also the below:

### Better Sandbox

The Sandbox should load smoothly, be easy to use, and should NOT show deleted answers.

### TIO Integration

Allowing users to test their code on the run would be infinitely helpful, since normally you'd have to wait until you had computer access. This would also make editing answers easier to do, since the answer can then be modified with the modified TIO-generated permalink.

This is not only much more convenient than a Stack Snippet but also will be on every code-golf post, not just the ones with the Stack Snippet.

There are two parts to this:

• Firstly, adding sort by byte count (for code golf)

• The default sort option should by changed for specific tags. For example, when the challenge is tagged with , the default sort should be by byte count

While possibly slightly more difficult, it might be worth adding a sort by score option for

### Stack Snippet Support

This is probably impossible on a mobile device due to the requirement of JavaScript, HTML and CSS, but basically, it would be useful for when people post submissions in JS, to be able to run any stack snippets that they include in their answer.

### Monospaced Font

It would be very useful for the app to use a monospaced font when writing answers and questions. This will allow code breakdowns and ASCII art to be designed in-situ.

Similarly, code blocks should use monospaced font.

• The only problem I see with "Improve Answer Sorting" is that we don't have a formalized regex for bytecount. – Addison Crump Jun 1 '17 at 16:18
• Yes, I thought that. Maybe take the size of the first code block a la codegolf.stackexchange.com/questions/91989/count-the-bytes – Beta Decay Jun 1 '17 at 21:28
• @BetaDecay Actually that makes sense. :P – Addison Crump Jun 1 '17 at 21:28
• Maybe we can use another highlighting scheme instead of SO's default (we can make our own)? – Qwerp-Derp Jun 5 '17 at 9:48
• @Qwerp-Derp Like this does? – Addison Crump Jun 5 '17 at 12:56
• @BetaDecay that might not work if the programming language uses a custom code page/encoding. Example: ç is 2 bytes in utf-8, but only one in ISO-8859-1. – Luke Jun 7 '17 at 17:03
• @Luke That's what I thought... It might be worth just counting characters instead as an estimation – Beta Decay Jun 7 '17 at 19:14
• A couple of suggestions that I don't quite have time to flesh out right now: 1) Include an option to find a random challenge you haven't answered yet, similar to (but more efficient than!) this. – Shaggy Jun 10 '17 at 14:07
• 2) If possible, use Material Design. If not, at least use floating action buttons to add an answer when viewing a question and to post a challenge when viewing anything else. (Sidenote: an extensive collection of MD style icons can be found here) – Shaggy Jun 10 '17 at 14:16
• @Shaggy It might help to put these in the answer – Beta Decay Jun 12 '17 at 15:43
• @BetaDecay, I'll try to find a few minutes to write them up properly tomorrow, along with a couple of other ideas I had. – Shaggy Jun 14 '17 at 19:45
• Anyone want to start on an iOS version? github.com/juniorRubyist/PPCG – juniorRubyist Jan 7 at 0:03

I'm sure we need chat integration (Because you know, the current mobile chat is quite buggy), but I do not know how. Maybe take a deep look into the source codes?

• The current mobile chat is quite buggy - Are you sure? The mobile chat is on the same level as the main site chat IMO. Put it this way, it's much better than it used to be. – Beta Decay Jul 7 '17 at 9:13