Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Apr 19 06:44
    dr-dimitru commented #797
  • Apr 19 06:30
    jankapunkt labeled #797
  • Apr 19 06:30
    jankapunkt labeled #797
  • Apr 19 06:30
    jankapunkt opened #797
  • Apr 16 19:45
    GSYamaji commented #794
  • Apr 16 19:44
    GSYamaji closed #794
  • Apr 16 18:51
    dr-dimitru commented #794
  • Apr 12 13:50
    naschpitz commented #796
  • Apr 12 13:49
    naschpitz commented #796
  • Apr 12 12:57
    naschpitz commented #796
  • Apr 12 12:56
    naschpitz commented #796
  • Apr 12 12:19
    dr-dimitru commented #796
  • Apr 12 04:51
    naschpitz edited #796
  • Apr 12 04:50
    naschpitz opened #796
  • Apr 10 08:50
    jankapunkt commented #753
  • Apr 08 23:12
    harryadel commented #753
  • Apr 08 22:57
    harryadel opened #795
  • Apr 08 19:42
    dr-dimitru closed #786
  • Apr 08 19:42
    dr-dimitru commented #786
  • Apr 08 19:41
    dr-dimitru commented #794
dr.dimitru
@dr-dimitru
@kernelogic it should fit your needs
use .addFile, then fileURL to get downloadable URL
Fei Yan
@kernelogic
Thanks. Also is there a way to do pagination if I have a large amount of files?
dr.dimitru
@dr-dimitru
@kernelogic yes, like with any other meteor collection
kakadais
@kakadais
I always wondered, are you doing this Veliov things alone? @dr-dimitru
dr.dimitru
@dr-dimitru
@kakadais Nearly 98% of open source β€” yes
kakadais
@kakadais
Damn good and cheers- ;)
_Saeed_
@Saeed-Bahrami
Hi
How to get link file after upload in Meteor Files
Hello friends, I am uploading my text editor (Quil Editor) files using React and Meteor-Files.
But I do not know exactly how to get the link after uploading and put it in the editor.
Do I have to subscribe to get the link to that file after upload?
And if so. Is there a way to subscribe to that file right away?
I asked hear too :
@dr-dimitru?
dr.dimitru
@dr-dimitru
Hello @Saeed-Bahrami I updated .link() method documentation, hope now this method usage will be more straightforward. Also answered on your veliovgroup/Meteor-Files#769
Mickael Faivre-Maçon
@micktaiwan
Hello, is there a way to remove a particular version of a file ?
dr.dimitru
@dr-dimitru
@micktaiwan yes, https://github.com/veliovgroup/Meteor-Files/blob/master/docs/unlink.md
FilesCollection#unlink(fileObj, 'version')
kakadais
@kakadais

Hello guys-

Meteor-Files is great to integrate file server as a single one, so server scales are much easier than before, but using multi-core would be good to go from the scratch.

Have you any idea for clustering for Meteor?

I'm expecting none Node or System level something like pm2/passenger , but something higher level integration such as kadira:clustering, but seems like not maintained.

Any idea?

dr.dimitru
@dr-dimitru
@kakadais this is related to DevOps and the way beyond this package. There are a lot of ways to implement horizontally scaled and decentralized node.js apps, as well as a lot of way to do it wrong. I'd recommend to look on DNS balancing, haProxy, nginx, and Phusion Passenger
kakadais
@kakadais

@dr-dimitru Oh I think I made a misunderstanding, that's why I said None System Level something cause I have a knowledge about the field and used it.

I've seen the below video recently for cluster package and realized Microservices for Meteor were already concerned from 2015,
and thought that this model is super great.

https://www.youtube.com/watch?v=oudsAQZkvzQ&feature=youtu.be&t=15m27s

I think the reason why people are not implemented there system as a microservice is 'Annoying'. If we handle whole system level to salce up/out then the configuration and flexibility will hold us even a single changes, so some people uses NetflixOSS stuff to build their DevOps efficiently.

But after I've looked up the NetflixOSS things, it is still complex enough because of too much options and almost of it is not required at the small/middle system so we couldn't start on the same line.

The metreorhacks/cluster package is simple enough and especially Multi-Core Support strategy by node worker is so cool and works good still, I got a curiosity 'Isn't there any movement about this' things.

I should dig some more for this movement in Meteor or Node- ;)
So Need and Interesting part-

dr.dimitru
@dr-dimitru
@kakadais to be honest I'd start with answering a question "what are you trying to accomplish?" and "what's your goal?"
kakadais
@kakadais

@dr-dimitru Oh I just asked your opinion for cluster. Because I could feel good your inspection for Meteor on your Iron-router / Flow-router fork repos.

My final goal is 'Use & Teach a Meteor as a small/middle size project'.
I've already done for a lot projects include a bit big size than middle one.

Meteor is great to go from the scratch, Meteor-Files make the file control super good, so now I just want to check how capacity could we make the system and stable.

So, it was just a pure question for Easy Clustering(actually forking the process whatever to use single multi-core server enough).

Sorry if it was departed too much from the purpose of this place- ;)

dr.dimitru
@dr-dimitru
@kakadais no worries. If you had experience with scaled Node.js projects, Meteor would be nearly the same experience. For single-machine clustering, or I'd say co-processing Phusion Passenger is the best solution I've seen so far with good balance between maintenance, complexity, and possibilities
kakadais
@kakadais
Thanks- Passanger was the best choice to me as well. I'll share and ask again if I found better or other approach
dr.dimitru
@dr-dimitru
@kakadais πŸ‘
Mickael Faivre-Maçon
@micktaiwan
thanks @dr-dimitru
kakadais
@kakadais
ICNCT2021-BestPaperAward-MultimediaDB.jpeg
@dr-dimitru Actually this is just some performance analsis for real usage, but the people seems that understand this is useful enough. ;) Original paper intorudces Meteor-Files package as well, so thanks dimitru.
dr.dimitru
@dr-dimitru
@kakadais looks awesome man!
Sincere congratulations πŸŽ‰πŸŽ‰πŸŽ‰
Does it available publicly? I'd love to learn more
kakadais
@kakadais
@dr-dimitru It's passed the examination but not published yet, but I think you deserve to read this so I'll send you by e-mail if you want ;). But that would be a bit embarrasing because basically this is just an announcing for usage and rough benchmark data to prove 'This is enough available for small-to-middle size project'. So I'm sure there's no Big-Learning on this paper for you haha.
I couldn't write and prove a lot of things that I asked you before on the git-hub. I will test a better performance comparison to prove this later someday-
kakadais
@kakadais
https://forums.meteor.com/t/translate-meteor-documents-and-apply/54816
And in another thread, do you have any idea for i18n for docs.meteor.com? I got some trouble to build meteor docs, and if it was successful, I believe it is not the proper way to maintain the translate the meteor docs. I thnk it should be maintained on docs.meteor.com as well by language selection.
Have you any idea for this?
I think there's a lot of volunteer for their own language including me and my team for internationally.
I still believe meteor is the best choice for indivisual or professional developers as well but there's a high language barrier to make an echo system for none-english country. I want to cool down this.
dr.dimitru
@dr-dimitru
@kakadais did you do that in terms or your education? Sorry, I didn't get it.
@kakadais speaking of MongoDB and GridFS performance there's huge room to improve starting from chunking support and ending with CDN
dr.dimitru
@dr-dimitru
@kakadais speaking of translations β€” I'm personally against translating coding/development related documentation, tutorials, etc. to other languages other than English.
This is happened historically β€” we (developers) write code in English (I know, there are few exceptions) it's very true for JavaScript, so there are no reasons to use any other language for its documentation. I believe no one would benefit from reading code and having const peremennaya = {/*...*/} instead of const variable = {/*...*/}
kakadais
@kakadais

@dr-dimitru This research paper was not for professional user and not the best performance environement as you said. Because the goal was not to prove 'This is the best approach to serve Multimedia files'. The goal was 'This has enough availability to be used'. It's slightly different.
So I didn't improve test environment to be good enough for the best performance as you said.

But in my next step, I'll improve it on the next paper to prove 'This is could be one of the best approach to serve Multimedia files'. Some old professors are not accept a new technology easy, and doubt it at the first time always, so I approach this really carefully.
Anyway if I want to make the environment to be fully best performance, then I might be need your great ideas and help, right? haha ;)
Maybe I should hire you with my poor limited research budget kkk ;)

kakadais
@kakadais

@dr-dimitru I'm not sure I understand clearly, but I wans't trying to translate 'the programming code', I'm just trying to translate the documents on the docs.meteor.com.
(Translate the codes? I know some country tried that things previously but I've never imagined that before :)

I think a lot of programmers cannot start the great platforms and technology because lack of native documents and native community.

I already tried to maintain some meteor community in my country for years, such as 'Meteor School' in facebook or 'Meteor Startup' as a startup company and teaching offline class(paid version and the pay was good actually ;)) and build such as native language github repo(https://github.com/codeasy-org/codeasy),
everything was failed. And I believe it's caused by Language Barrier.
They always leave to the Django or something and left a message 'can't find an information easy on the online'.. So painful situation for me.

I know maybe you can't understand, but that is huge limitation for some countries and especially I'm suffered as well because of my poor english ;) so I can't teach or recommend Meteor properly to my student or co-companies

So basically what I want is,
please open or add some functionality on docs.meteor.com to add translate documents pages.
There are a lot of people who wants to translate it for their native country people like me and the guy on the forums.

dr.dimitru
@dr-dimitru

@kakadais

but I wans't trying to translate 'the programming code',

me neither, I mean we as developers got to use English anyways when we write code, so it shouldn't be an issue to read and learn in English

please open or add some functionality on docs.meteor.com to add translate documents pages.

I go that clearly, I just have different point of view. I'm not against translation and local adaptation, I just don't see much of use in it, as again β€” we (developers) got to write code and document/annotate it in English

kakadais
@kakadais

Haha ;)
Alright, we have a different point of view.
I really understand what you're saying and agree it makes our life much easy.

But I believe that there's a lot of good developers or potentially good developers(students) still in the world without good English ability.
And especially this kind of special platform need to have low 'entrance' to study at the first time.
The other famous platforms are usually having their own communities and documents with their own native languages in many countries, so this kind of echo system makes the platform grow well.

I'm not sure you are English native people or not,
but I'm pretty sure that you'll write better documents even in the English version,
if you could understand this factor.
Even your documents are always clear and good enough for me ;)

Anyway, my question was 'Do you have some idea to translate the docs.meteor.com officially',
so I could say your answer could be 'I think it's not necessary.'
Right? haha-

dr.dimitru
@dr-dimitru
@kakadais since it's opensource β€” fork it, translate it, and deploy it to free again Galaxy hosting
kakadais
@kakadais
@dr-dimitru Yeah- I just wanted to make an language option on docs.meteor.com ;) Cheers-
distalx
@distalx
When I upload base64 string, would it store the image in the MongoDB itself or Images are still being stored on the server dir?
distalx
@distalx
Okay, I figured it out. it images are still getting stored on disk.
dr.dimitru
@dr-dimitru
Just got your message, yes, by default everything goes to disk, even with gridfs integration
bmartin1134
@bmartin1134
is it possible to upload directly to amazon s3, similar to slingshot. from the docs it seems like i need to upload to the server first
dr.dimitru
@dr-dimitru
@bmartin1134 no, not possible. Yes, got to upload to the server first.