GithubHelp home page GithubHelp logo

moonad / moonad Goto Github PK

View Code? Open in Web Editor NEW
27.0 5.0 7.0 18.3 MB

Moonad: a p2p academic journal, or a social network for code?

Home Page: http://moonad.org/

License: MIT License

HTML 2.67% JavaScript 97.28% Shell 0.05%
moonad formality formal-verification formal-languages academic-journals functional-programming game-development

moonad's Introduction

moonad's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

moonad's Issues

TODO lib

Bits

Hint
By just googling "binary addition" (or multiplication, division) etc. we can find some simple algorithms

Word

F64

Pos32

String

  • String.to_lower_case
  • String.to_upper_case
  • String.replace

Others

Add more data structures: Set and Map

As @MaisaMilena suggested, I'm opening this issue to let you guys know what I plan to work on.

I'll be working on generic versions of

  • Set
  • Map

based on sized balanced binary trees, following Stephen Adams' "Implementing Sets Efficiently in a Functional Language" / "Efficient Sets - A Balancing Act". This implementation will be similar to what you can find in Haskell's containers package

Wrong number of replies in a post - first access

When accessing moonad.org for the first time, posts will appear listed but the number of replies is zero for every post.

Screen Shot 2020-06-03 at 13 38 08

After clicking on the post and comming back to the "home", the correct number appears:

Screen Shot 2020-06-03 at 13 38 36

Adjust date in a post

  • Posts are showing/saving the wrong month. We are in June and the post is showing May: at 2020-5-3, 12h 14min
  • The date should follow the format used on Reddit, Twitter, and others, showing something like "2 hours ago, 5 minutes ago" and if it's a long period of time, use the date (year, month, day, not necessarily in this order. Look for the examples).

Tasks

  • search about the format used on Reddit and Twitter to determine how to update it
  • update format_date in utils.js

Undefined reference 'Map.map'.

$ git log -1 --oneline
ae4346f (HEAD -> master, origin/master, origin/HEAD) Walk animation on Mons


Found 2 type error(s):

Inside Mons:
Undefined reference 'Map.map'.
With context:
- wall : Image3D
- chest : Image3D
- seat : Image3D
- screen : Image3D
- event : App.Event
- game : _GFB
- event.time : U64
- event.screen : Pair(U32,U32)
- event.mouse : Pair(U32,U32)
On line 449:
   445|   def when(event, game)
   446|     case event:
   447|     | init => [];
   448|     | tick => [
   449|       App.Action.state<>(Mons.Game.tick(game))
   450|     ];
   451|     | xkey => [

Inside Mons.Game.tick:
Undefined reference 'Map.map'.
With context:
- game : Mons.Game
- game.pos : Pos32
- game.map : Mons.Map
- pos : Pos32
On line 372:
   368|       def with_tile(objs)
   369|         def with_obj(obj)
   370|           Mons.Object.tick(obj)
   371|         List.map<,>(with_obj, objs)
   372|       Map.map<,>(with_tile, game.map)
   373|     Mons.Game.new(pos, map);
   374|

This is the Formality version I'm using:

$ git log --oneline -1
ae4346f (HEAD -> master, origin/master, origin/HEAD) Walk animation on Mons

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.