Anahita Project

The #Anahita #project management group. Visit https://github.com/anahitasocial for more information about Anahita code and how to get started.

Stories

Rastin Mehr

Rastin Mehr commented on the note

I understand there are some work in #Anahita that needs to be done such as MySQL 5.7 optimizations and plugins. In the meantime the focus for the next 3 weeks is working on Anahita #ReactJS app to ... Read More
I understand there are some work in #Anahita that needs to be done such as MySQL 5.7 optimizations and plugins. In the meantime the focus for the next 3 weeks is working on Anahita #ReactJS app to the point that it can do all the basic operations for people entities. That's because the work is aligned with another client project that we're working and that allows our team to focus on programming tools and concepts that are common in both projects. As soon as we get there, we will invest some time working on the 4.3.11 maintenance release. I appreciate your understanding. Read Less
It is progressing slowly. Since it is a whole new application, a lot of fundamentals and basic building blocks ought to be developed. As we build more, we'll progress faster too. The biggest challenge is finding the r... Read More
It is progressing slowly. Since it is a whole new application, a lot of fundamentals and basic building blocks ought to be developed. As we build more, we'll progress faster too. The biggest challenge is finding the right design patterns for Anahita scenarios. Most React Apps deal with 2 or 3 entities only. In Anahita there are easily over 20 entities interacting with each other. Read Less
James Imani

James Imani commented on the note

I understand there are some work in #Anahita that needs to be done such as MySQL 5.7 optimizations and plugins. In the meantime the focus for the next 3 weeks is working on Anahita #ReactJS app to ... Read More
I understand there are some work in #Anahita that needs to be done such as MySQL 5.7 optimizations and plugins. In the meantime the focus for the next 3 weeks is working on Anahita #ReactJS app to the point that it can do all the basic operations for people entities. That's because the work is aligned with another client project that we're working and that allows our team to focus on programming tools and concepts that are common in both projects. As soon as we get there, we will invest some time working on the 4.3.11 maintenance release. I appreciate your understanding. Read Less
For me the reactJS app counts. Saw already some of the submitted code in GIT. Looks promising.
Rastin Mehr liked this
Rastin Mehr

Rastin Mehr shared a note

I understand there are some work in #Anahita that needs to be done such as MySQL 5.7 optimizations and plugins. In the meantime the focus for the next 3 weeks is working on Anahita #ReactJS app to ... Read More
I understand there are some work in #Anahita that needs to be done such as MySQL 5.7 optimizations and plugins. In the meantime the focus for the next 3 weeks is working on Anahita #ReactJS app to the point that it can do all the basic operations for people entities. That's because the work is aligned with another client project that we're working and that allows our team to focus on programming tools and concepts that are common in both projects. As soon as we get there, we will invest some time working on the 4.3.11 maintenance release. I appreciate your understanding. Read Less
James Imani

James Imani and Rastin Mehr commented on the Article

Material UI Dashboard Examples

Here are some nice looking material ui dashboards.
James Imani
James Imani
December 17 2017 Permalink
I fell in love with the number 4: "Modern". That one looks like what currently is trendy about dashboard views. Also, it offers screens that are pretty well reusable for Anahita.
Rastin Mehr
Rastin Mehr
December 17 2017 Permalink
My favourite is Xenon. They all have good ideas which is why I picked them. Right now I am building the UI elements without connecting them to the back-end.
James Imani liked this
Rastin Mehr

Rastin Mehr published a new Article

Material UI Dashboard Examples

Here are some nice looking material ui dashboards.
Rastin Mehr

Rastin Mehr and 2 others commented on the to-do

Ability to follow a hashtag or location

it would be nice to be able to follow nodes other than actors. Hashtags and locations are good starts. Rather than hammering the features in Anahita we want to make sure it would work seamlessly wi... Read More
it would be nice to be able to follow nodes other than actors. Hashtags and locations are good starts. Rather than hammering the features in Anahita we want to make sure it would work seamlessly with the graph architecture and Anahita's philosophy. Also how would they play with the stories. #idea Read Less
Rastin Mehr
Rastin Mehr
December 13 2017 Permalink
Then an algorithm has to combine the results from social graph and hashtags together.
James Imani
James Imani
December 13 2017 Permalink
"follow ALL actors but filter the stories based on viewer’s hashtags"
Oh I see. But hopefully it is not going to replace the current dashboard concept.
Rastin Mehr
Rastin Mehr
December 13 2017 Permalink
In the current implementation we're filtering stories by leader ids. We should be able to extend the query to filter based on location and hashtag graphs too. Another approach would be loading separate pure lists and ... Read More
In the current implementation we're filtering stories by leader ids. We should be able to extend the query to filter based on location and hashtag graphs too. Another approach would be loading separate pure lists and combining them either in the server side or client side. We need to test all these ideas to see how they'd work out. Read Less
Nick Swinford
Nick Swinford
December 13 2017 Permalink
This would be a nice feature to have.

I have a Network component on my website that loads all stories or media that the viewer has access to (leaders, mutuals, public or registered profiles) and I'm starting to rea... Read More
This would be a nice feature to have.

I have a Network component on my website that loads all stories or media that the viewer has access to (leaders, mutuals, public or registered profiles) and I'm starting to realize how slow those queries are. We'll have to look into optimizing them in the future. Read Less
Rastin Mehr liked this
Rastin Mehr
Rastin Mehr
December 13 2017 Permalink
Combining it all in one query is perhaps not the best option. Perhaps we'd want to obtain pure lists and then mix and render them based on a logic or algorithm. That's how modern newsfeeds are operating.
James Imani

James Imani and Rastin Mehr commented on the to-do

Ability to follow a hashtag or location

it would be nice to be able to follow nodes other than actors. Hashtags and locations are good starts. Rather than hammering the features in Anahita we want to make sure it would work seamlessly wi... Read More
it would be nice to be able to follow nodes other than actors. Hashtags and locations are good starts. Rather than hammering the features in Anahita we want to make sure it would work seamlessly with the graph architecture and Anahita's philosophy. Also how would they play with the stories. #idea Read Less
James Imani
James Imani
December 12 2017 Permalink
Is following hashtags a twitter thing? Does the concept work?
Let's say people are tagging a global event from the news: #stormirma #storm_irma #hurricane #hurricaneirma #floridairma
Now, do I have to follow each ... Read More
Is following hashtags a twitter thing? Does the concept work?
Let's say people are tagging a global event from the news: #stormirma #storm_irma #hurricane #hurricaneirma #floridairma
Now, do I have to follow each hashtag in case people are tagging differently? I also hope that the performance will not suffer from this concept. Read Less
Rastin Mehr liked this
Rastin Mehr
Rastin Mehr
December 12 2017 Permalink
Yes, I have so many questions myself. It seems like one of those cases that a behaviour is imposed on the graph architecture. Hashtags are filters, they don't create stories of their own like actors do. Dashboard aggr... Read More
Yes, I have so many questions myself. It seems like one of those cases that a behaviour is imposed on the graph architecture. Hashtags are filters, they don't create stories of their own like actors do. Dashboard aggregates stories coming from the followed actors. Unless we create a new type of news feed that selectively combines items from the story feed and hashtag list based on an algorithm. Read Less
Rastin Mehr
Rastin Mehr
December 12 2017 Permalink
Although, it could be interpreted as: follow ALL actors but filter the stories based on viewer’s hashtags.
Rastin Mehr

Rastin Mehr commented on the to-do

Getting rid of remember me

The remember me feature seams redundant in modern social networks and removing it could simplify the authentication, session management, and performance a bit. #idea #RememberMe
Rastin Mehr

Rastin Mehr added the following to-dos

  1. Ability to follow a hashtag or location - (Priority: Normal)
  2. Getting rid of remember me - (Priority: High)
Rastin Mehr

Rastin Mehr shared a note

I noticed that #ElectronJS versioning is similar to #Anahita except they call them Major, Minor, Patch. We could call ours: Embryo, Birth, Patch. Or Rebirth maybe? (kidding)
Rajkumar Mundel liked this
Nick Swinford

Nick Swinford and Rastin Mehr commented on the topic

Do we need a remember me checkbox?

This looks like a convention that nobody has questioned yet? Why do we need a remember me checkbox? Why can't we assume that users are logged in until they logout. The checkbox seems like a redunda...

Read More

This looks like a convention that nobody has questioned yet? Why do we need a remember me checkbox? Why can't we assume that users are logged in until they logout. The checkbox seems like a redundant step. Not having it, could simplify some authentication logic and in our code too. What are your thoughts? Convince me why I shouldn't zap this feature out of existence. #usability #performance 

Read Less
Nick Swinford
Nick Swinford
November 26 2017 Permalink
The only time I see it as important is if you're checking a website on a public computer and don't want your session kept open for long.

Not sure how common that is today with cellphones.
Unkown Person liked this
Rastin Mehr
Rastin Mehr
November 26 2017 Permalink
That was an issue in the 2000 but now everyone have their own devices, besides not checking "Remember Me" still keeps them logged in long enough for the next terminal user to take over the account. The only effective ... Read More
That was an issue in the 2000 but now everyone have their own devices, besides not checking "Remember Me" still keeps them logged in long enough for the next terminal user to take over the account. The only effective way is to kill the session by logging out. Read Less
2 people liked this
Rastin Mehr

Rastin Mehr started a topic

Do we need a remember me checkbox?

This looks like a convention that nobody has questioned yet? Why do we need a remember me checkbox? Why can't we assume that users are logged in until they logout. The checkbox seems like a redunda...

Read More

This looks like a convention that nobody has questioned yet? Why do we need a remember me checkbox? Why can't we assume that users are logged in until they logout. The checkbox seems like a redundant step. Not having it, could simplify some authentication logic and in our code too. What are your thoughts? Convince me why I shouldn't zap this feature out of existence. #usability #performance 

Read Less
Unkown Person liked this
James Imani

James Imani commented on the topic

Optimizing images

With retina displays becoming more common, it's time we optimize how Anahita processes images for those screens and also download time. Here are some suggestions:

  1. resizing images to 144 dpi instead ...

Read More

With retina displays becoming more common, it's time we optimize how Anahita processes images for those screens and also download time. Here are some suggestions:

  1. resizing images to 144 dpi instead of 72 dpi with same dimensions. 
  2. compressing them by at least 90% instead of leaving them intact at 100%
  3. use smaller width cover image for the actor profiles. They don't need to be full width. 

any thoughts?

#ImageProcessing #ImageQuality #Retina

Read Less
James Imani
James Imani
November 23 2017 Permalink
Agree with them. Especially with point 3.
Rastin Mehr liked this
Rastin Mehr

Rastin Mehr started a topic

Optimizing images

With retina displays becoming more common, it's time we optimize how Anahita processes images for those screens and also download time. Here are some suggestions:

  1. resizing images to 144 dpi instead ...

Read More

With retina displays becoming more common, it's time we optimize how Anahita processes images for those screens and also download time. Here are some suggestions:

  1. resizing images to 144 dpi instead of 72 dpi with same dimensions. 
  2. compressing them by at least 90% instead of leaving them intact at 100%
  3. use smaller width cover image for the actor profiles. They don't need to be full width. 

any thoughts?

#ImageProcessing #ImageQuality #Retina

Read Less
Rastin Mehr

Rastin Mehr commented on the note

Could you please clone and test the code in master branch before I tag the 4.3.10 release? #testing #release
Rastin Mehr
Rastin Mehr
November 21 2017 Permalink
Never mind, it is tagged now.
Nick Swinford

Nick Swinford and Rastin Mehr commented on the topic

Windows support finally!

After ages of using Cygwin for initializing Anahita and installing packages, I've finally added Windows commands!

https://github.com/anahitasocial/anahita/pull/471

Being able to just use one command ...

Read More

After ages of using Cygwin for initializing Anahita and installing packages, I've finally added Windows commands!

https://github.com/anahitasocial/anahita/pull/471

Being able to just use one command prompt will make things so much easier!

Read Less
Nick Swinford
Nick Swinford
November 20 2017 Permalink
Alrighty, I think I fixed it. I don't think all of those checks are necessary now with the FileSystem class as it handles all of that internally. Give it a go and let me know if there's any other issues.
Rastin Mehr liked this
Rastin Mehr
Rastin Mehr
November 20 2017 Permalink
It's merged, good job @NicholasJohn16
Nick Swinford liked this
Rastin Mehr

Rastin Mehr and Nick Swinford commented on the topic

Windows support finally!

After ages of using Cygwin for initializing Anahita and installing packages, I've finally added Windows commands!

https://github.com/anahitasocial/anahita/pull/471

Being able to just use one command ...

Read More

After ages of using Cygwin for initializing Anahita and installing packages, I've finally added Windows commands!

https://github.com/anahitasocial/anahita/pull/471

Being able to just use one command prompt will make things so much easier!

Read Less
Rastin Mehr
Rastin Mehr
November 19 2017 Permalink
Thank you, I left a comment for you suggesting to reimplement it using adapter design pattern.
Nick Swinford
Nick Swinford
November 19 2017 Permalink
I see how it is. You don't want my Windows code dirtying up your precious Linux code!
Rastin Mehr
Rastin Mehr
November 19 2017 Permalink
It's not good coding practice to have IF ELSE for different platforms in our functions. That's what adapter design pattern is for. Then we can have linux, window, and Mac OS classes with platform specific function imp... Read More
It's not good coding practice to have IF ELSE for different platforms in our functions. That's what adapter design pattern is for. Then we can have linux, window, and Mac OS classes with platform specific function implementations.

Once we get Anahita's official Docker image going, we won't have to worry about this anymore. Using docker you can create identical environments on your machine as well as staging and production servers. It won't matter whether you are a windows, linux, or mac user in that case. Read Less
Nick Swinford
Nick Swinford
November 19 2017 Permalink
I'm kidding @rastin. I'll see what I can do tomorrow.
Rastin Mehr liked this
Nick Swinford
Nick Swinford
November 19 2017 Permalink
Hey @rastin, I kinda went a different way with it. Symfony provides a filesystem class that provides cross platform support. Since we're already using their console class, I just included it and used it to handle all ... Read More
Hey @rastin, I kinda went a different way with it. Symfony provides a filesystem class that provides cross platform support. Since we're already using their console class, I just included it and used it to handle all the filesystem operations.

Take a look, give it a test and let me know what you think. I've tested in on Windows and it's working great. Read Less
Umesh liked this
Rastin Mehr
Rastin Mehr
November 19 2017 Permalink
Thank you, I'll take a look today. Question, is it symlinking or copying files? We do want to keep the symlinking.
Rastin Mehr
Rastin Mehr
November 19 2017 Permalink
Good approach @NicholasJohn16 I found an issue however after installation. I left a comment for you there: https://github.com/anahitasocial/anahita/pull/471#issuecomment-345560357
Rastin Mehr

Rastin Mehr commented on the note

Could you please clone and test the code in master branch before I tag the 4.3.10 release? #testing #release
Rastin Mehr
Rastin Mehr
November 19 2017 Permalink
@nicholasjohn16 @lukesimon do you want to test the master branch?
Rastin Mehr
Rastin Mehr
November 19 2017 Permalink
Any testers? I'd be better if more people other than me test the master branch before I tag it.
Rastin Mehr

Rastin Mehr shared a note

Could you please clone and test the code in master branch before I tag the 4.3.10 release? #testing #release
Rastin Mehr

Rastin Mehr commented on the topic

Site:symlink is unnecessary

So ages ago, I added the symlink command to the cli and now I realize that it's not necessary.

As long as the configuration.php file is present in the www folder, site:init will symlink everything t...

Read More

So ages ago, I added the symlink command to the cli and now I realize that it's not necessary.

As long as the configuration.php file is present in the www folder, site:init will symlink everything together using those settings.

Would we want to remove the symlink command again to simplify the cli?

Read Less
Rastin Mehr
Rastin Mehr
November 19 2017 Permalink
I use it all the time. I think it's a good command to keep.

Photos View All

Articles View All

Topics View All

To-dos View All

Powered by Anahita