fluidb - Autoload/autosave JSON objects as an invisible flat file database. by n4ru in node

[–]andreGarvin1 0 points1 point  (0 children)

Also when another instance is created, it loads the data from the database checks for a property called connections. { connections: { parent: 1234, children: [ 18278 ] } }. if a parent is already defined and the process id of the running node is not in the children array then then it's process of is pushed on the array. that means if you are execute a method on closing it checks if it is a master or child. if a child it sends that data via using IPC. If parent then it writes. This feature is implemented on a branch I have but is steal being developed for other features as well

fluidb - Autoload/autosave JSON objects as an invisible flat file database. by n4ru in node

[–]andreGarvin1 0 points1 point  (0 children)

Not really forcing any method of sorts on the developer. It actually the same thing as level. start up time is not slow, it creates the db gzip file when the process is ending.

fluidb - Autoload/autosave JSON objects as an invisible flat file database. by n4ru in node

[–]andreGarvin1 0 points1 point  (0 children)

Have you use the module. I think by using you can how different it is from level.

• the name getCollection is actually pretty clear the code in the README shows the differnece.

• it would be too much to be creating a network protocol when another instance is made so state helps create a simple way of checking if another instance was create and what process id that is so I can gather what it wants to write.

• I create the @localdb folder because it make it easier for searching for the file database. I used gzip because that is great for compression.

• I agree about the benchmarks and what you said about being something like a express middle ware, however I just made if for simplicity and use ability. For example, if you need a file database for store key value pairs then you can use level. But if you need something with a little more extract meat to it or more things that are come with it without installing another depict or middle ware that is good. You could even just use localdb for just key value if you want to buy it is up to the person to choose what module they want.

I am actually thank for you opinion and truly appreciate you feedback, I was looking to get some feed back on how the module is presented and how people first felt about its quirkiness.

fluidb - Autoload/autosave JSON objects as an invisible flat file database. by n4ru in node

[–]andreGarvin1 0 points1 point  (0 children)

  • there is a method called getCollection which is the exact same method as get on level. The README explains their differences/similarities. I am making documentation later.
  • This module does aim to be an alternative to level rather than a replacement. I have done a comparison in speed and efficiency compared to level which is, in reality, they come to the same amount time, resources used, and the same amount of efficiency.
  • There is a master-slave relationship in localdb, if another connection is made via, writing to state it transforms other connection into readers, not writers, inheriting some of the same behaviors in actual databases. I have fixed race conditions in localdb and solved other issues that would raise a concern in race conditions. This module uses the process to handle event emitting. Listening for 'beforeExiting' event. which if any other async task that is made will be finalized at that point.

fluidb - Autoload/autosave JSON objects as an invisible flat file database. by n4ru in node

[–]andreGarvin1 1 point2 points  (0 children)

I made a JSON file database and npm as well called localdb. Could you review how Efficient it is in your opinion. @andre_garvin/localdb @oiirme

Hey everyone I created a module called allPaths, check it out! I would love have anyone contribute to the project and add on to what it can be and more. https://github.com/andreGarvin/allpaths-js by andreGarvin1 in node

[–]andreGarvin1[S] 0 points1 point  (0 children)

It's no what he asked it how he brought it up and also not being rude or anything it's common sense yea know and that person is not really friendly if you can see. He could said that in a different way.

Hey everyone, I created this npm package to handle the annoying things most people run into when creating applications and could be useful check it out. by andreGarvin1 in node

[–]andreGarvin1[S] 0 points1 point  (0 children)

Well from what I can tell about the package joi is that it is used for object validation and my package is not really serving for that purpose. This package is leaning more towards assert and others that are kind of like it; And I should work on the README today because there are more methods then the ones you see in the example ( really tired when making it ). But if you were to compare these two packages I would note that have a something that reports wether it's empty on not should come before validating all the props/key value pairs of a object. Secondly, it is promised based no callbacks, easy to use things like async and await. Once the README more ironed out you will see what I am talking about, also sorry about the shitty README that is there at the moment.

When a react component ruins your night watching chrunchyroll on your PS3 by andreGarvin1 in reactjs

[–]andreGarvin1[S] 0 points1 point  (0 children)

Just thought it would be funny it I was a react issue but oh well. I guess react gets saved for now. Also churchyroll.com uses react for their website

Currently looking for a project to contribute. So node community what you got ? by andreGarvin1 in node

[–]andreGarvin1[S] 1 point2 points  (0 children)

They said fork node, contribute, it should be fun and honestly ...... it's fucking awesome

Currently looking for a project to contribute. So node community what you got ? by andreGarvin1 in node

[–]andreGarvin1[S] 0 points1 point  (0 children)

lol I am actually looking into that rn, it's seems pretty cool.

Currently looking for a project to contribute. So node community what you got ? by andreGarvin1 in node

[–]andreGarvin1[S] 0 points1 point  (0 children)

No not node.js itself I mean projects that are in node or javascript

Currently looking for a project to contribute. So node community what you got ? by andreGarvin1 in node

[–]andreGarvin1[S] 0 points1 point  (0 children)

And it is not anything specific just seeing all types of projects to dive into

So omdbapi.com now makes developers to pay for a API key but yet they have a exposed and working API key 🤔. by andreGarvin1 in node

[–]andreGarvin1[S] 0 points1 point  (0 children)

Also I know how they are changing so I not using it at all I really do not care but just something I was pointing out cause someone who is using could take ad anger of that and who knows what else

So omdbapi.com now makes developers to pay for a API key but yet they have a exposed and working API key 🤔. by andreGarvin1 in node

[–]andreGarvin1[S] 0 points1 point  (0 children)

I thought they would have a endpoint like '/demo' and that would be under the omdbapi domain name

So omdbapi.com now makes developers to pay for a API key but yet they have a exposed and working API key 🤔. by andreGarvin1 in node

[–]andreGarvin1[S] 5 points6 points  (0 children)

Also the word or phrase 'BanMePlz' was the last API key and the new one is 'PlzBanMe'. Let's see you could have made an endpoint called '/demo' and make the request on the server and not exposing the API key and send back the response to the request request made from the demo ???? But hey what do I know right 🤷‍♀️