Impact on bundles that are too big? [closed] - firebase

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 1 year ago.
Improve this question
I recently created a Vue.js project. I've added a few packages, including Firebase (I have the modular v9 package, so it has tree shaking enabled), and Rive. When building my application, I see that my final bundle is about 800-900KiB, while webpack suggests keeping it under 240. I created a report and I saw that Rive and Firebase were the main culprits of the big filesize (together they were about 750KiB). Rive is a package still in early development so it wouldn't surprise me if it wasn't optimized for production, but the fact that firebase also used so much space (specially considering I used v9) made me wonder whether I did something wrong?
Anyway, my question is, is having a bundle of around 1MiB bad? How badly would it impact user?

1MB isn't bad, it may take slightly longer to load initially, considering most jpg images you see online can be up to 1MB each easily. most users with modern bandwidth connections will not notice any negative side effects.
It's just something you should keep in mind.

Related

can i use google spread sheets instead of firebase for my app [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 1 year ago.
Improve this question
I have a doubt which is can i use spread sheet as a database for my flutter android app. Currently i'm using firebase. If yes then what is advantage and disadvantage ?? Pls tell me if anyone know. Answer would be help me a lot.. thank you
You can use many online data storage options but you will find each has its own pro's and con's many that hinder or outright block usage in some situations.
Google spreadsheets have limits of 500 requests per 100 seconds per project, and 100 requests per 100 seconds per user. Limits for reads and writes are tracked separately.
And I couldn't guarantee it's a solid solution without stress test examples, so use with caution.

Last breaking changes to Ada [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 2 years ago.
Improve this question
(Edited to narrow the question to Ada. Have posted other questions for Fortran and COBOL.)
I've spent some time in the past year dealing with changes to my code due to Python v2->v3 and R v3->v4 changes. It got me curious as to some of the older languages that are still in use.
I know Ada still sees occasional updates and functionality upgrades. I would assume that their mission-critical nature makes those changes smaller and more backward-compatible, but I don't really know and couldn't find it with a web search.
What and when were the last changes to Ada that was on the same rough order as the Python 2->3 changes?
Ada pays a lot of attention to reverse compatibility, to avoid breaking existing code, when making changes.
Last formal Ada release was Ada-2012, there is another one (Ada-202X) in progress.
Ada-2012 has a lot that Ada-83 doesn't, but I'd be surprised if there was anything more than trivial work to build an Ada-83 project (or Ada-95 or Ada-2005) in Ada-2012.
There are some differences though : from Ada-83 to Ada-2012 As you can see, there's really not much to say for 30 years of development.

What's the benefit using Gulp over Prepros? [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 7 years ago.
Improve this question
I have been using prepros for a while. It's a easy to use precompiler that pretty much does everything I need. I heard it is not good for team work but didn't know why.
Why would you spend time to set up gulp to for minification, concatenation, uglify/mangle, live reload and live server when you can simply press one button and do all of these works in 5 secs?
I've never used Prepros and therefore have nothing negative to say about it. However, I think:
a) Your point is somewhat reductionist. Gulp isn't just a precompiler, it's a task runner and can likely do a lot more than what Prepros is able to do out of the box. It's great if Prepros fits your needs, but what happens when you run into something that it can't do?
b) Gulp/Grunt/etc. are free (limiting proprietary software purchases is often beneficial in a team setting) and open source (easily tailorable to your needs)
As an aside, I'm not sure if Prepros allows settings to be shared by different members of the development team, but will gulp/grunt/etc. you check your gulpfile/gruntfile/etc. into source control and build tasks/etc. are available to all developers with access to said repository/project

Modularization of PL/SQL packages [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
Currently I am doing a restructuring project mainly on the Oracle PL/SQL packages in our company. It involves working on many of the core packages of our company. We never had documentation for the back end work done so far and the intention of this project is to create a new set of APIs based on the current logic in a structured way along with avoiding all unwanted logic that currently exists in the system.
We are also making a new module currently for the main business of the organization that would work based on these newly created back-end APIs.
As I started of this project, I found out that most of the wrapper APIs had around more than 8000 lines of code. I managed to covert this code into many single APIs and invoked them from the wrapper API.
This activity in itself has been a time-consuming process but I was able to cut down the number of lines of code to just 900 in the wrapper API by calling independent APIs for each business functionality.
I would like to know from you experts if this mode of modularizing the code is good and worth the time invested in it as I am not sure if it would have many performance benefits.
But from a code readability perspective, this is definitely helping and now I am able to understand the 8000 lines of code much better after restructuring and I am sure the other developers in my organization too will understand.
Requesting you to let me know if I am doing the right thing and if its having its advantages apart from readability please do mention them. Sorry for the long explanation.
And is it okay having more than 1000 lines of code in a wrapper API.
Easy to debug
Easy to update
Easy to Modify/maintain
Less change proneness due to low coupling.
Increases reuse if the modules are made generic
Can identify unused code easily

Track record/document changes? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 5 years ago.
Improve this question
It doesn't appear to be built-in to Meteor but is there an accepted way to track changes to a record/document? I can think of a number of ways to do this but am curious how others have accomplished this.
An example would be someone's location, if you wanted to track changes for a set period of time.
Thanks!
I haven't tested this package yet but it seems to track revisions and give the ability to restore older versions. I'm going to test it out now.
https://github.com/todda00/meteor-collection-revisions
Update: I can confirm that this package works in Meteor 1.3. It makes a complete copy of the document of the edited Meteor collection and stores it as an array within the document under "revisions". You can then restore any previous version using the revisionId later on.

Resources