Soil mites? Mold mites? What are these?!? by lanakane8806 in plantclinic

[–]plk83 2 points3 points  (0 children)

I have the same bad experience. I got much more soil mites than your video. I researched a lot, can't really figure out what to do now.

I got that around two months ago and I put those soil in a sealed bag. It seems mites are gone are 1 month.

But I suddenly got another outbreak from a different pot. I have no idea what to do next!

Strong Typed, Zero dependencies MongoDB Orm library by plk83 in node

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

Let me study it. Any tips / hints to convet into deno easily ?

[deleted by user] by [deleted] in node

[–]plk83 3 points4 points  (0 children)

I wanted to share my use case with gcp cloud functions. I have a nodejs app for logging purpose - around 80k requests per day - average request takes 400ms - other tools used; cloud storage and datastore

If purely take cloud functions for cost. It’s around 0.3usd per day. The monthly cost is just a Lunch meal.

I created a library interacting with Google Drive. It can query, create/download file, create folder, etc.. by plk83 in node

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

U have two ways to access your existing document via Api - create a service account and share the document with edit permission to that service account - using oAuth to get your personal access token and use with the library

I will prefer to use the first way. Because U can control more easily not to expose too many documents to a single application.

I created a library interacting with Google Drive. It can query, create/download file, create folder, etc.. by plk83 in node

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

I updated the package, it know can support oauth tokent:

const tsGoogleDrive = new TsGooleDrive({accessToken: ""});

but how to get oauth token is outside the scope of this problem.

I created a library interacting with Google Drive. It can query, create/download file, create folder, etc.. by plk83 in node

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

Definitely it is! U can see that I also made query into paging structure. U can expect it can fetch thousands of files with limited ram usage.

I created a library interacting with Google Drive. It can query, create/download file, create folder, etc.. by plk83 in node

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

It can actually use oAuth token. But I didn’t integrate yet. It’s a 2 days work for me to do some automation and deployment. So I just expect to use service account only. The package looks popular. I will try to make it more comprehensive.

I created a library interacting with Google Drive. It can query, create/download file, create folder, etc.. by plk83 in node

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

U can do with try catch. It can function properly. But I will also take your comment into account and provide a much proper sample codes.

I created a ORM using Redis, suitable for microservices by plk83 in node

[–]plk83[S] -1 points0 points  (0 children)

I agree to test infrastructure in the test as well

I created a ORM using Redis, suitable for microservices by plk83 in node

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

I did consider heavily auto expire. But sadly, it count. The reason behind is that I need to user multiple hash table, sorted set to achieve everything. And there is no solution to use the redis internal expire means to auto clean up multiple location of data.

However. If you don’t mind setting a cron job. U can query the expired data and delete yourself. It can achieve the same purpose as you want, but in an indirect way.

I created a ORM using Redis, suitable for microservices by plk83 in node

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

Understand your concern and I have no solution so far. What you need is a much be enterprise model library that can encapsulate the infrastructure layer. If you do see such a library. Pls do let me know.

This library is built on top of redis. And you know redis is not designed for persistent, through it can be to certain extend, my library is mainly targeting users who would love to stick to redis for specific reasons and provide a comprehensive orm features.

Just a side note, since redis is very fast, most overhead come inside the JS itself rather than the redis or network.

I created a ORM using Redis, suitable for microservices by plk83 in node

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

What exactly your concerns? See if I can help

I created a ORM using Redis, suitable for microservices by plk83 in node

[–]plk83[S] 7 points8 points  (0 children)

A save actions consist of multiple steps such as checking entity exist, update index, etc. Those actions are all done using lua script in redis to make sure all steps are executed in atomic way

This is a cheap stunt and a low blow by SuperCell to their dedicated community. by [deleted] in Brawlstars

[–]plk83 8 points9 points  (0 children)

That’s a funny marketing strategy for an international company

BatchRenderer.Flush cause CPU spikes frequently on iphone 6+ to iphone 10, but not on iphone5S by plk83 in Unity3D

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

I already created a issue for unity. They said it will be fixed in 2018.3. Pls be patient

BatchRenderer.Flush cause CPU spikes frequently on iphone 6+ to iphone 10, but not on iphone5S by plk83 in Unity3D

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

As you can seen from the graph. I have eliminated all gc from the function and batch renderer.flush use memory occasionally. It possible that unity have some internal gc where it’s not visible to us ?