Hacker Poesy
  • FAQ
  • Login
  • Public

    • Public
    • Groups
    • Recent tags
    • Popular
    • Directory

Conversation:

Notices

  1. MMN-o ✅⃠ (mmn)'s status on Monday, 09-Feb-2015 14:22:36 EST MMN-o ✅⃠ MMN-o ✅⃠
    Remote profile options...
    testing unuglifying patch for neo-quitter
    Monday, 09-Feb-2015 14:22:36 EST from social.umeahackerspace.se permalink
    • MMN-o ✅⃠ (mmn)'s status on Monday, 09-Feb-2015 15:19:44 EST MMN-o ✅⃠ MMN-o ✅⃠
      Remote profile options...
      • Marcus
      I don't know how the mobile profile plugin does its thing, but it should probably just load another CSS which overrides some of the configured theme's settings.
      Monday, 09-Feb-2015 15:19:44 EST permalink
    • MMN-o ✅⃠ (mmn)'s status on Tuesday, 10-Feb-2015 03:15:48 EST MMN-o ✅⃠ MMN-o ✅⃠
      Remote profile options...
      • Marcus
      I glanced at your second request, wasn't it just replacing whitespaces with other whitespaces?
      Tuesday, 10-Feb-2015 03:15:48 EST permalink
    • MMN-o ✅⃠ (mmn)'s status on Tuesday, 10-Feb-2015 03:25:37 EST MMN-o ✅⃠ MMN-o ✅⃠
      Remote profile options...
      • Marcus
      So no functional difference?
      I did a ':%s/\t/ /g' in vim before commiting your diff and also cleaned up some trailing whitespace.
      If that wasn't enough and you want to make your CSS look prettier, use a better interpreter or editor that shows you a better layout. :)
      Tuesday, 10-Feb-2015 03:25:37 EST permalink
    • MMN-o ✅⃠ (mmn)'s status on Tuesday, 10-Feb-2015 03:42:51 EST MMN-o ✅⃠ MMN-o ✅⃠
      Remote profile options...
      • Roland Häder
      • Marcus
      All code so far is indented with 4 spaces per level. Coding style is documented here: https://web.archive.org/web/20140720111313/http://status.net/wiki/Coding_style

      But I don't feel like accepting purely cosmetic patches since they make it more confusing when looking at 'git blame' to figure out who wrote what and when. cc: @marcus@gnusocial.ch
      Tuesday, 10-Feb-2015 03:42:51 EST permalink
    • MMN-o ✅⃠ (mmn)'s status on Tuesday, 10-Feb-2015 03:47:36 EST MMN-o ✅⃠ MMN-o ✅⃠
      Remote profile options...
      Full developer documentation for !gnusocial (as it was with !sn ) is available here: https://web.archive.org/web/20140702073828/http://status.net/wiki/Category:Dev_doc
      Tuesday, 10-Feb-2015 03:47:36 EST permalink
    • MMN-o ✅⃠ (mmn)'s status on Tuesday, 10-Feb-2015 03:48:29 EST MMN-o ✅⃠ MMN-o ✅⃠
      Remote profile options...
      • Marcus
      It'd be much easier to accept it anyway if you made it as a merge request on #Gitorious.
      Tuesday, 10-Feb-2015 03:48:29 EST permalink
    • MMN-o ✅⃠ (mmn)'s status on Tuesday, 10-Feb-2015 04:08:40 EST MMN-o ✅⃠ MMN-o ✅⃠
      Remote profile options...
      • Marcus
      If I expressed it as _preferred_ to get it over email I must've been clumsy with the keyboard.
      I prefer it as a merge request over Gitorious, but if someone is just doing a one-off patch, don't want to get an account there or go through the hassle of setting up their own clone etc, a _quick way_ to send patches is via email.
      Tuesday, 10-Feb-2015 04:08:40 EST permalink
    • MMN-o ✅⃠ (mmn)'s status on Tuesday, 10-Feb-2015 04:18:34 EST MMN-o ✅⃠ MMN-o ✅⃠
      Remote profile options...
      • Marcus
      If you've got a fix that actually changes functionality, like your first one, I'll gladly accept it.
      And then you can sneak in some "cosmetic changes" in a separate commit in your merge request :)
      Tuesday, 10-Feb-2015 04:18:34 EST permalink
    • MMN-o ✅⃠ (mmn)'s status on Tuesday, 10-Feb-2015 07:29:39 EST MMN-o ✅⃠ MMN-o ✅⃠
      Remote profile options...
      • Marcus
      The thing is that there are probably leftover tabs and spaces and whatnot everywhere. Going hunting for those things won't make anything work better, won't improve knowledge of the codebase for the one who does it and will only be a hassle to verify that they don't introduce - intended or not - bugs due to simple mistakes. I think the focus should be on improving func…
      Tuesday, 10-Feb-2015 07:29:39 EST permalink

      Attachments

      1. mmn-20150210-ostatus-9dww.html
    • MMN-o ✅⃠ (mmn)'s status on Tuesday, 10-Feb-2015 09:09:46 EST MMN-o ✅⃠ MMN-o ✅⃠
      Remote profile options...
      • Marcus
      vi here too, and I can configure it to handle whitespaces like tabs and spaces in a sane enough way to avoid being annoyed with various mistakes from previous developers.
      Tuesday, 10-Feb-2015 09:09:46 EST permalink
    • MMN-o ✅⃠ (mmn)'s status on Tuesday, 10-Feb-2015 09:33:29 EST MMN-o ✅⃠ MMN-o ✅⃠
      Remote profile options...
      • Marcus
      I don't see the problem. vim lets you jump from start to finish and back of { } blocks using % when the marker is on either end of the block. It also hilights the other end. You can also split the window horizontally to see both the start and the finish of the block at the same time. And you can do a bunch of other tricks which remove annoyances caused by different cod…
      Tuesday, 10-Feb-2015 09:33:29 EST permalink

      Attachments

      1. mmn-20150210-ostatus-dt9a.html
    • MMN-o ✅⃠ (mmn)'s status on Tuesday, 10-Feb-2015 09:36:00 EST MMN-o ✅⃠ MMN-o ✅⃠
      Remote profile options...
      • Marcus
      And no, it's not GNU social that handles it automatically, it's HTML which doesn't represent multiple whitespaces as more than a single whitespace. 'white-space: pre;' will make that notice look as you intended. GNU social doesn't touch whitespace besides running nl2br().
      Tuesday, 10-Feb-2015 09:36:00 EST permalink
    • Marcus (marcus)'s status on Tuesday, 10-Feb-2015 09:38:11 EST Marcus Marcus
      Remote profile options...
      • MMN-o ✅⃠
      It's about coding style and some guidelines. Of course you can always work around with some overlay tools, but if it could easily be fixed in code, why not. I do not want to depend on tools for good readable code. And that's why there are coding guidelines (which you even pointed to me).

      Besides that I know Web developer tools and already linked to !snbug
      Tuesday, 10-Feb-2015 09:38:11 EST permalink
    • MMN-o ✅⃠ (mmn)'s status on Wednesday, 11-Feb-2015 03:16:00 EST MMN-o ✅⃠ MMN-o ✅⃠
      Remote profile options...
      • aqeel
      @aqeel if indentation is one commit and a real, functional change is another.
      Wednesday, 11-Feb-2015 03:16:00 EST permalink

Feeds

  • Activity Streams
  • RSS 2.0
  • Atom
  • Help
  • About
  • FAQ
  • Privacy
  • Source
  • Version
  • Contact

Hacker Poesy is a GNU social hub. It runs version 1.1.3-beta3, available under the GNU Affero General Public License.

Creative Commons Attribution 3.0 All Hacker Poesy content and data are available under the Creative Commons Attribution 3.0 license.

Switch to mobile site layout.