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 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
Then an algorithm has to combine the results from social graph and hashtags together.
"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.
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
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
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
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
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
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
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.
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
Nick Swinford 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
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
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.
Nick Swinford

Nick Swinford started a 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 started a 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 shared a photo

The mysterious load template bug which I'm not able to reproduce on my machine, but it is reported by at least 2 people. #bug #Anahita
Rastin Mehr

Rastin Mehr commented on the topic

No way to get current session

Can we restore the ability to get the current user session? https://github.com/anahitasocial/anahita/pull/467

I have a SPA that uses Anahita for authentication and without it, there's no way to rest...

Read More

Can we restore the ability to get the current user session? https://github.com/anahitasocial/anahita/pull/467

I have a SPA that uses Anahita for authentication and without it, there's no way to restore user's sessions on page refresh.

Please? Pretty please?

Read Less
Rastin Mehr
Rastin Mehr
November 16 2017 Permalink
I'm looking at JWT implementations and thinking what would be the quickest way to implement it for Anahita. If you know any good examples let me know.
Rastin Mehr
Rastin Mehr
November 16 2017 Permalink
session read now returns viewer object, but you need to send the request as json otherwise it goes to the user profile.
Nick Swinford liked this
Nick Swinford

Nick Swinford and Rastin Mehr commented on the topic

No way to get current session

Can we restore the ability to get the current user session? https://github.com/anahitasocial/anahita/pull/467

I have a SPA that uses Anahita for authentication and without it, there's no way to rest...

Read More

Can we restore the ability to get the current user session? https://github.com/anahitasocial/anahita/pull/467

I have a SPA that uses Anahita for authentication and without it, there's no way to restore user's sessions on page refresh.

Please? Pretty please?

Read Less
Nick Swinford
Nick Swinford
November 15 2017 Permalink
Would be nice if Anahita for to be an Oauth2 provider. https://oauth.net/2/
Rastin Mehr liked this
Rastin Mehr
Rastin Mehr
November 15 2017 Permalink
Yes, it’s on the roadmap 🙂

Photos View All

Articles View All

Topics View All

To-dos View All

Powered by Anahita