question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Project Restructuring

See original GitHub issue

Hi Guys, i’m currently planning a re-structuring to make this project more accessible and add a strictly defined structure that will foster further growth without adding layers of confusion & complexity. This is the first step toward making P-Brain a truly intelligent system.

The proposal is to re-structure the project to mirror that of the human brain. It could potentially look as follows:

Current Project Structure:

/api/
src/
src/
log/
docs/
skills/
test/
config/
server
yarn.lock
tremux.sh
README.md
Dockerfile
package.json

Proposed Project Structure:

lobes/
	/parietal - maps request to skill
	/temporal - Stores any memory based task such as name, location, own name etc
	/occipital - always running, self training which is constantly running and learning from responses and requests
	/frontal - natural language interpretation, acts on commands and queries 

stem - Contains the interface of the server, i/o for request:response pairs

cerebellum - any management task such as thread management, timing or synchronized activities live here

neurons - skills, extendible etc


yarn.lock - Package Management 

scripts/
	  /tremux.sh - Running the project on an Android device end-to-end

README.md - Project info
Dockerfile - Docker config 
package.json - Package and script manifest

Issue Analytics

  • State:open
  • Created 7 years ago
  • Comments:22 (16 by maintainers)

github_iconTop GitHub Comments

1reaction
timstablefordcommented, Mar 29, 2017

@grantcodes I agree. Looks good. Make a PR when you’re ready 😃

1reaction
patrickjquinncommented, Feb 13, 2017

This all sounds find with me, however you have to bear in mind that this server has to be client agnostic (we also have a raspberry Pi, iOS and Android client not jus the web client).

Also the skills need to be totally self contained, a skill developer should only need knowledge of how skills should work, their structure etc, they should not need to know any thing lower level than that

Otherwise you run the risk of creating a coupled system that can not be easily modified or expanded and will wind up as spaghetti code.

I’ve written enough crappy code to know what causes it (not saying what you’re proposing is bad, just to keep in mind 😃 )

Read more comments on GitHub >

github_iconTop Results From Across the Web

Restructuring projects - IBM
Project restructuring is the rearranging of integration or system testing project members by converting directories into projects, adding projects to, ...
Read more >
The RESTRUCTURE project
The project results will inform food design rules and tools to guide the development of foods that help limit food intake and prevent...
Read more >
Project and Corporate Finance & Restructuring | Stoel Rives LLP
Our Project and Corporate Finance & Restructuring team is focused on getting deals and workouts done. We understand that time is a finite...
Read more >
Restructuring and Capital Projects - Deloitte
Our restructuring services help clients relook at their financial models to derive the best return on investment. We work with large lenders to...
Read more >
Transformation & Restructuring | McKinsey & Company
RTS is a special unit of McKinsey that delivers a proven approach for transformational change to clients seeking radical, rapid, and sustainable performance ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found