Author Topic: The adarq.org forum rewrite thread  (Read 850 times)

0 Members and 1 Guest are viewing this topic.

adarqui

  • Administrator
  • Hero Member
  • *****
  • Posts: 29443
  • who run it.
  • Respect: +6916
    • View Profile
    • Email
The adarq.org forum rewrite thread
« on: December 05, 2016, 02:22:31 pm »
0
I should have done this a long time ago.. just going to journal development of the new forum.

beware, it's a long slow process.  :ninja:

adarqui

  • Administrator
  • Hero Member
  • *****
  • Posts: 29443
  • who run it.
  • Respect: +6916
    • View Profile
    • Email
Re: The adarq.org forum rewrite thread
« Reply #1 on: December 05, 2016, 11:38:26 pm »
0
so.. this project has taken a long time.

Just a quick overview:



notice the inactivity on the left and right of that "graph".. The inactivity on the left is me being burned out from work, which I had quit in July of 2015.

I started the re-write of our forum on April 2016. I went HARD from April to June, developing the forum in two languages:
- backend: haskell
- frontend: purescript

In June, I realized I could no longer use Purescript because the compiler was too slow and they didn't really seem to care about addressing any of those issues.. So I was stuck. Since GHCJS allows me to share haskell code on the frontend and backend, I decided to go with GHCJS for the frontend. This was a major risk because full stack haskell web development is VERY young and much less stable than Purescript.... Though, the compiler is FAST and it can deal with my enormous code base.

So, everything was going absolutely great with this new style of development. I was crushing it from June to September.. Re-wrote much of the frontend in Haskell (GHCJS) and everything was looking up. However, in September I hit some bugs in the GHCJS compiler. I asked for help, no one helped. I just got pissed and focused on running.. Stopped working on the project entirely.

Since I want to complete this project "badly" (understatement), I started picking things back up in late November and now December. I'm "working around" the bugs in the meantime.. These are bugs in GHCJS, of which I cannot solve.. So, i've contacted the author of GHCJS (Luite) and currently he's trying to figure out what's going on. He's able to replicate the issue on his end, which means hopefully he can figure out a fix for the problem i'm experiencing.

Regardless, i'm going to continue to chip away at this project.. It's far from done.. It's actually pretty disappointing that it's not done. But I also chose some fairly "esoteric" programming languages, of which I am certainly not a master.. So it's kind of like i'm training vert, slowly trying to build up, work around injuries (bugs), and keep my eye on the major PR's down the road.

There's really a ton that needs to be done but, if these GHCJS bugs can get fixed, I could get back to coding way more rapidly and make alot more progress.. But for now i'm going to use this as an experience of "self control".. how to chip away at something when it seems so far away.. There's alot of similarities between a project like this, and a goal of reaching a 15:XX 5k or hitting my head on the rim. Even if you don't hit those incredible goals, if you keep pushing you should get somewhat close, and close would mean we'd be able to use this code & have fun in the custom forum.

Finally.. why a custom forum? Well.. it's just something i've always wanted to do.. It's obvious I like to create things.. I'd like to create our own "house" where we communicate. It's cool to use other people's software but, it would be much more rewarding to have something I could architect and add features to year after year, something I built from scratch.

Soo.. chipping away.

peace!

adarqui

  • Administrator
  • Hero Member
  • *****
  • Posts: 29443
  • who run it.
  • Respect: +6916
    • View Profile
    • Email
Re: The adarq.org forum rewrite thread
« Reply #2 on: December 05, 2016, 11:40:27 pm »
0
just some random stuff I worked on today.

one cool thing i like, is the 'avatar pictures' next to the Quote line.. kinda kewl.













just going to keep posting stuff as I do it.. to motivate me more.

adarqui

  • Administrator
  • Hero Member
  • *****
  • Posts: 29443
  • who run it.
  • Respect: +6916
    • View Profile
    • Email
Re: The adarq.org forum rewrite thread
« Reply #3 on: December 06, 2016, 12:26:29 am »
+1
was annoyed with the "1480998712" timestamps that I posted above.. so I fixed them! that was confusing... motivation! ;d  :derp:

eventually I want a "moment.js"-like library so I can configure it to do.. "10 seconds ago", "1 hour ago" .. or that date timestamp if it's more than a few days etc.. stuff like that.. dno.. future.


adarqui

  • Administrator
  • Hero Member
  • *****
  • Posts: 29443
  • who run it.
  • Respect: +6916
    • View Profile
    • Email
Re: The adarq.org forum rewrite thread
« Reply #4 on: December 12, 2017, 09:46:31 pm »
0
bleh.

this project has been such a failure. it hurts to even think about it. that's why i'm going to slowly chip away at it.

did a bunch of stuff today. mainly just trying to get various libraries to build etc. got alot of libraries to build.

since I can't create a "huge forum" like I wanted, due to limitations in purescript/GHC, i'm going to slim it down and make it as barebones as possible. I still have tons of old code that I don't want to re-write, so I need to try and get it ported so I can re-use it.

anyway.. my notes project proved I could get it done with the limitations i'm faced with.

the limitations are simply, as my code base grows, purescript/GHC-js fail to compile it.. so I just need to make it smaller (basically bare minimal SMF - current forum) for now, which should be possible, and get it done.

some of the screenshots in this thread are awesome :(

we should be using this by now.. with added features for progress tracking. :'( :'( :'(