Code Monkey home page Code Monkey logo

Comments (35)

paranoico avatar paranoico commented on July 22, 2024 3

Great @Fen747, thanks.

And @ccorcos, I think the best thing is first merge those pending Push Requests. Then I can try to convert it to JS.

What do you think? We have tested some of those PRs and think I can safely merge them.

from meteor-subs-cache.

ramezrafla avatar ramezrafla commented on July 22, 2024 2

@paranoico , we went ahead and converted to vanilla JS. Interested in a PR?

from meteor-subs-cache.

ramezrafla avatar ramezrafla commented on July 22, 2024 2

Thanks @paranoico, we already translated to JS and using in production. Between today and tomorrow we should have PR ready

from meteor-subs-cache.

scottburch avatar scottburch commented on July 22, 2024 1

Maybe atmosphere is not the best way to maintain it since Meteor is moving away from their packages and toward NPMs. I needed this to use this with connections so I ran the code through decaffeinate made the quick change and added to my common-lib npm module for my projects. So, proof it is possible.

from meteor-subs-cache.

ramezrafla avatar ramezrafla commented on July 22, 2024 1

Really sorry --- too much work :)
It's already converted, just need to test it as a package (right now we embedded directly into our app).

Today, pinky promise!

from meteor-subs-cache.

ccorcos avatar ccorcos commented on July 22, 2024

You are more than welcome to convert it to JS -- shouldnt be too hard.

from meteor-subs-cache.

paranoico avatar paranoico commented on July 22, 2024

Thanks a lot, let me then try to understand it first. Regards.

from meteor-subs-cache.

Fen747 avatar Fen747 commented on July 22, 2024

Hi,

I'd too liked to convert this project to javascript, and propose to help keeping the repo alive.

from meteor-subs-cache.

ccorcos avatar ccorcos commented on July 22, 2024

What we need to do is: (1) figure out how to give you guys publishing access to publish to the meteor packaging system and (2) I'll give you guys access to the repo so you can merge them yourselves :)

from meteor-subs-cache.

paranoico avatar paranoico commented on July 22, 2024

Precisely, yes of course we need access, we can do the merge. And everything else.
You can set up us as collaborators to the project or some other permissions as team members.
But I am afraid that only you can do it.

from meteor-subs-cache.

ccorcos avatar ccorcos commented on July 22, 2024

@paranoico added you as a collaborator

from meteor-subs-cache.

paranoico avatar paranoico commented on July 22, 2024

Thanks @ccorcos, will start to check it.

from meteor-subs-cache.

paranoico avatar paranoico commented on July 22, 2024

Hello @ccorcos, I have done 2 PRs and now it is necessary to update Meteor Package, ¿can I do it also? ¿Or how do we proceed?

from meteor-subs-cache.

ccorcos avatar ccorcos commented on July 22, 2024

from meteor-subs-cache.

paranoico avatar paranoico commented on July 22, 2024

@ccorcos I think this could help:
http://stackoverflow.com/questions/29267399/how-to-add-collaborator-for-meteor-package-in-atmosphere

from meteor-subs-cache.

ccorcos avatar ccorcos commented on July 22, 2024
~ ❯❯❯ meteor admin maintainers ccorcos:subs-cache --add paranoico
Please log in with your Meteor developer account. If you don't have one, you
can quickly create one at www.meteor.com.
Username: ccorcos
Password:
Adding a maintainer to ccorcos:subs-cache...

The maintainers for ccorcos:subs-cache are:
ccorcos
paranoico

all yours :)

from meteor-subs-cache.

ramijarrar avatar ramijarrar commented on July 22, 2024

Hi @paranoico - as heavy users of this package, we are very happy to hear there is a new maintainer.

Would it be possible to remove the warning in the README now (so as to avoid discouraging other users)?

from meteor-subs-cache.

paranoico avatar paranoico commented on July 22, 2024

Hello @ramijarrar , it is done. Thanks.

from meteor-subs-cache.

Fen747 avatar Fen747 commented on July 22, 2024

@ramezrafla Could you please release the code in your own repo ? It doesn't seems that this one is going to revive anytime soon, and I'm interested in having a full JS version of this package. Thanks you.

from meteor-subs-cache.

ramezrafla avatar ramezrafla commented on July 22, 2024

Ok, will do. @paranoico - do you want to add me as maintainer instead?

from meteor-subs-cache.

paranoico avatar paranoico commented on July 22, 2024

Hello @ramezrafla , I think I cannot add maintainers, I am not the owner.

But please make a Push Request.

And sorry, we have not had time enough to follow project in weeks. I just merged several PRs a month ago and released new package to Atmosphere. @Fen747 is not informed properly.

from meteor-subs-cache.

paranoico avatar paranoico commented on July 22, 2024

@ramezrafla How about if I create a new branch for your PR? In order to test conversion properly before uploading to Atmosphere.

from meteor-subs-cache.

ramezrafla avatar ramezrafla commented on July 22, 2024

@paranoico, please do. Thanks!

from meteor-subs-cache.

paranoico avatar paranoico commented on July 22, 2024

@ramezrafla Ready, new branch is named JS-Migration, there I am going to merge your PR.

from meteor-subs-cache.

tcastelli avatar tcastelli commented on July 22, 2024

Good to know it is now maintained again :). I am also willing to help if the code gets converted to JS too.

On a side note, I was using the fork from @ElvishJerricco since it was more updated, and now that I see this is becoming the main one, I have noticed there are some commits in the fork that are not present in this repo.
Maybe it would help to copy those changes in this repo too? (If it's not possible to get PRs from the author).

Some important examples

from meteor-subs-cache.

ramezrafla avatar ramezrafla commented on July 22, 2024

Thanks! I'll start preparing the package to PR. Give me a couple of days, as right now, we extracted the main js out of the package and directly embedded in our app.

from meteor-subs-cache.

paranoico avatar paranoico commented on July 22, 2024

Thanks @tcastelli ,
We are going to check ElvisJerrico changes, In matter of fact we already saw that he had several additional changes but wanted to saty with Ccorcos version since there was a specific functionality we needed.

from meteor-subs-cache.

paranoico avatar paranoico commented on July 22, 2024

Thanks to you @ramezrafla ,
Take your time, I think it will be in a week or two when we can make our first try to translate to JS.

from meteor-subs-cache.

afruth avatar afruth commented on July 22, 2024

@ramezrafla what's the status for the code conversion? :)

from meteor-subs-cache.

ramezrafla avatar ramezrafla commented on July 22, 2024

PR #34 submitted - please look at the notes. Testing of package.js needed (sorry, no time and I didn't want to keep holding others back)

from meteor-subs-cache.

lmachens avatar lmachens commented on July 22, 2024

The atmoshphere package is not updated yet right?
https://atmospherejs.com/ccorcos/subs-cache

It published the old coffeescript package.

from meteor-subs-cache.

paranoico avatar paranoico commented on July 22, 2024

@lmachens that is correct, atmosphere package has not been updated yet, since we have not finished testing of new JS code. I do not want to break the working Coffeescript until we are sure the new one works well. Until we test it on field operations and have no issues I will be willing to update atmosphere.

Have you tested JS code already on your application?

from meteor-subs-cache.

lmachens avatar lmachens commented on July 22, 2024

No, but I had problems to set up this package.
Readme.md:
meteor add ccorcos:subs-cache

subsCache = new SubsCache(5, 10);

This will not work until you update the atmosphere package.
The constructor in the coffeescript packae is different:
subsCache = new SubsCache({ expireAfter: 5, cacheLimit:10});

from meteor-subs-cache.

paranoico avatar paranoico commented on July 22, 2024

You are right, there are differences, Readme was updated when master branch was updated.

We are trying to release new version on 20 mobile devices to test it on field on 2 weeks.

from meteor-subs-cache.

paranoico avatar paranoico commented on July 22, 2024

Today Atmosphere package has been updated with last version. Thanks all for your help and patience.

from meteor-subs-cache.

Related Issues (20)

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.