teleren/devto huggingface dataset:
Prototype (Clone)
Tags: beginners
Published: 2022-11-11 10:32:22

## What is Prototype design pattern?
Prototype is a creational design pattern that lets you copy existing objects without making your code dependent on their classes.
The existing object acts as a prototype and contains the state of the object. The newly copied object may change same properties only if required. 
This approach saves costly resources and time, especially when object creation is a heavy process.

![clone](https://media.giphy.com/media/5xaOcLCsbR1L7MKd3WM/giphy.gif)

---

## Prototype Design Participants
1. Prototype 
This is the prototype of an actual object

2. Prototype registry
This is used  as a registry service to have all prototypes accessible using simple string parameters

3. Client
Client will be responsible for using registry service to access prototype instances

![clone](https://media.giphy.com/media/Er1ElQ4V7HqQwSrEDk/giphy.gif)

---

## When to use the Prototype Design Pattern
1. Your code shouldn't depend on the concrete classes of objects that you need to copy

2. You want to reduce the number of subclasses that only differ in the way they initialize their respective objects

- When a system should be independent of how its products are created, composed, and represented
- When the classes to instantiate are specified at run-time. For example, 
  1. By dynamic loading or To avoid building a class hierarchy of factories that parallels the class hierarchy of products or
  2. When instances of a class can have one of only a few different combinations of state. It may be more convenient to install a corresponding number of prototypes and clone them rather than instantiating the class manually, each time with the     appropriate state.

---

## Code Examples
main.rs
```rust
// use clone to use clone method
#[derive(Clone)]
struct Circle {
    pub x: u32,
    pub y: u32,
    pub radius: u32,
}

fn main() {
    let circle1 = Circle {
        x: 10,
        y: 15,
        radius: 10,
    };

    // Prototype in action.
    let mut circle2 = circle1.clone();
    circle2.radius = 77;

    println!("Circle 1: {}, {}, {}", 
               circle1.x, 
               circle1.y, 
               circle1.radius
    );
    println!("Circle 2: {}, {}, {}", 
               circle2.x, 
               circle2.y, 
               circle2.radius
    );
}
```
Designing Single Page App To Promote Tourism Post-Pandemic At Jambuwer Village
Published: 2022-11-11 10:31:16

## Background
When the pandemic hit, many economic sectors were affected, one of them was the tourism sector. Recovering the sector after the pandemic is a challenge for every tourism service provider. There are many ways to meet this challenge. One way -- and the cheapest -- is to promote in digital media such as web applications. Through this community service, I am trying to build a web application for Jambuwer village to promote Jambuwer village as a tourism village, helping economic agents, and promote the existing culture and local wisdom.

## Methodology
In this application design, the methodology used is waterfall. The main reason for choosing this methodology is that it is suitable for implementation for small-scale teams and small projects. Here is the methodology diagram.

![waterfall diagram](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/2h7g1ki2pd3j8d8ppphw.png)

Regardless of how someone using waterfall methodology, the methodology is running sequentially, and often consists of these steps (Bassil, 2012) :

1. Analysis
Is a steps to not only gather information about software specification and behavior, but also formulating _how this software could achieve the business case_

2. Design
After the expected software specification and behavior are met, the following step is to plan _how the software will be built_. During this step, the user interface, database, and software architecture will be decided.

3. Implementation
This refers to realization of software requirement and design in form of executable program.

4. Testing
This step also known as verification and validation of the executable program against the software requirement. This step also aims for generating the software performance through specific metric.

5. Maintenance
After the executable program is passed the testing and the decision to release from development environment to production environment were made, the next step is to keep the program stable against various condition on production environment. During this step, the metrics are being watched over time. In case there are unusual behavior from system against user activity, the action to fix the system will be made.

## Result
The result from this application design is a single page app (SPA) that built using Bootstrap. We use [https://github.com/StartBootstrap/startbootstrap-creative](https://github.com/StartBootstrap/startbootstrap-creative) as the template in order to decrease the time development. Moreover, there are not much content to be load and not much user interaction to be implemented. Hence we thought, the template is enough. 

The application has been deployed to GitHub page that you can find it [here ](https://desajambuwer.github.io/desajambuwer/dist/)
Day #6: How I will build multiple niche products with a single source of data?
Tags: webdev, entrepreneurship, react, productivity
Published: 2022-11-11 10:31:03

[Yesterday I presented the MVP version for the webapp of Remote-Work.app. Now, I’m planning what comes next, and I decided to try a different approach, to invest more in the ingestion of our data.](https://journeypreneur.substack.com/p/day-6-how-i-will-build-multiple-niche)
In One Minute : SQLite
Tags: sqlite, beginners, programming, oneminute
Published: 2022-11-11 10:30:00

[SQLite](https://www.sqlite.org/) is a software library that implements a [self-contained](https://www.sqlite.org/selfcontained.html), [serverless](https://www.sqlite.org/serverless.html), [zero-configuration](https://www.sqlite.org/zeroconf.html), [transactional](https://www.sqlite.org/transactional.html) SQL database engine. SQLite is the most widely deployed SQL database engine in the world. The source code for SQLite is in the public domain.

SQLite is a relational database management system contained in a small (~350 KB) C programming library. In contrast to other database management systems, SQLite is not a separate process that is accessed from the client application, but an integral part of it.

SQLite is ACID-compliant and implements most of the SQL standard, using a dynamically and weakly typed SQL syntax that does not guarantee the domain integrity.

## Mobile Apps
SQlite is commonly used to store data on Android, iOS, and Windows Phone apps since it has a simple implementation, easy to adapt, and quite fast.

## Design
Unlike client-server database management systems, the SQLite engine has no standalone processes with which the application program communicates. Instead, the SQLite library is linked in and thus becomes an integral part of the application program.

The application program uses SQLite's functionality through simple function calls, which reduce latency in database access: function calls within a single process are more efficient than inter-process communication. SQLite stores the entire database as a single cross-platform file on a host machine.

{% embed https://youtu.be/kFZ5_wAIFX0 %}

## References

- [SQLite Homepage](https://www.sqlite.org/)
- [SQLite Wikipedia Article](https://en.wikipedia.org/wiki/SQLite)
- [Official SQLite FAQ](https://www.sqlite.org/faq.html)
- [SQLite Documentation](https://www.sqlite.org/docs.html)
- [SQLite In 5 Minutes Or Less](https://www.sqlite.org/quickstart.html)
- [SQLite4 Documentation](https://sqlite.org/src4/doc/trunk/www/index.wiki)
- [SQLite4 LSM User Manual](https://sqlite.org/src4/doc/trunk/www/lsmusr.wiki)
- [SQLite4 LSM API Reference](https://sqlite.org/src4/doc/trunk/www/lsmapi.wiki)
- [The advantages of an LSM vs a B-Tree](http://smalldatum.blogspot.com/2016/01/summary-of-advantages-of-lsm-vs-b-tree.html)

## Books

- [Getting Started with SQL: A Hands-On Approach for Beginners](http://shop.oreilly.com/product/0636920044994.do)
- [The Definitive Guide to SQLite 2nd Edition](https://www.apress.com/gp/book/9781430232254)
- [Using SQLite](http://shop.oreilly.com/product/9780596521196.do)
- [Introducing SQLite for Mobile Developers](https://www.apress.com/gp/book/9781484217658)
- [Learning SQLite for iOS](http://shop.oreilly.com/product/9781785288975.do)
- [Android SQLite Essentials](https://rads.stackoverflow.com/amzn/click/com/1783282959)
Benefits Of Using Firewall As A Service For Your Business
Tags: firewall, acepubliccloud
Published: 2022-11-11 10:19:40

Firewall as a Service (FWaaS) is the latest buzzword in IT security. It’s an innovative approach to securing networks that allows you to outsource the management and maintenance of firewalls, VPNs, IPS/IDS devices and other network security tools. The idea behind [FWaaS](https://www.acecloudhosting.com/public-cloud/firewall-as-a-service/) is simple: You pay a monthly fee for access to a secure cloud-based platform where your firewall can be managed remotely by experts who are trained on how to keep it up to date with the latest threats. 

The benefits of this type of solution include: 

Security – Firewalls are notoriously difficult to manage, but they don’t have to be if you use a FWaaS provider. They will take care of everything from patching to configuration changes. 

Cost savings – A typical small business spends about $1,000 per year on its own firewall. With FWaaS, you only need to pay one low monthly fee. 

Scalability – If you ever want to add more users or increase capacity, you just contact the provider and they do it for you. 

Reliability – Since you’re paying for a dedicated team of professionals to handle all aspects of your firewall, there’s no reason why it should fail. In fact, most providers offer 24x7 monitoring so you know exactly when something goes wrong. 

Flexibility – There are many different types of firewalls available today, including hardware appliances, virtual machines, software solutions and even cloud-based services. Most providers offer a wide range of options so you can choose the best fit for your needs. 

How to Choose Right Firewall As A Service Provider 

Choosing the right firewall as a service provider is not an easy task. There are many companies offering this kind of services, but you need to be careful while choosing one. You should choose a company that has good reputation and quality products. It will help you in getting the best results from your investment. Here we have listed some important things which you must consider before selecting any firewall as a service provider. 

Security – This is the first thing which comes into our mind when we think about firewall as a service. So, make sure that the provider offers high level of security. 

Cost Savings – Another important factor which you should check is cost saving. Make sure that the provider charges less than what you would spend on managing your firewall yourself. 

Reliability – You should also look at reliability. How often does the provider experience downtime? Is their support staff available 24×7? 

Scalability – When you start growing your business, you may require additional resources. Check whether the provider provides scalability. 

Flexibility – Finally, you should check flexibility. Does the provider allow customization of the product? Can you customize the product according to your requirements? 

In conclusion, we hope that these points will help you in making the right choice.
Buy cosco basketball online
Tags: sport, basketball
Published: 2022-11-11 10:14:31

Thetidkes have quality products for all basketball lovers at a price range that suits the majority of budgets. we've got a good kind of Nivia basketball, [COSCO basketballs ](https://thetidkes.com/product-category/basketball/)and We are authorized distributors of Cosco, Yonex, Nivia, Spartan, SS, Tennex, Konex and many more Indian and global brands. If you're keen on this preferred game, do visit thetidkes.com for the most effective basketballs. We ship everywhere around the globe. 


![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/jvxm07cwzkf4xc1xi0av.png)
Buy nivia volleyball at best price
Tags: sports, volleyball
Published: 2022-11-11 10:12:56

Thetidkes have good quality sports products for all Volleyball lovers at a price range that suits most budgets. A good sort of well-known brands like COSCO Volleyballs, SPARTAN Volleyballs and  [NIVIA Volleyballs at best price](https://thetidkes.com/product-category/volleyball/) lots of other brands are available for all playing level. They are authorized distributors of Cosco, Yonex, Nivia, Spartan, SS, Tennex, Konex, and many more Indian and global brands. If you want to buy online volleyball then do visit our website for more volleyball.
Best online sport shop in india
Tags: spor
Published: 2022-11-11 10:09:12

Thetidke is one amongst the most effective [best online sport shop in india](https://thetidkes.com/) with a large range of sports equipment and accessories. Best English Willow cricket bats and Kashmir willow cricket bats and many more cricket equipments are available for the simplest price. You'll be able to even have a combo pack with sports equipment and accessories to create shopping fun and convenient. We've also different other different related  sports categories goods like Football, [cosco Basketball](https://thetidkes.com/product-category/basketball/), Volleyball, gym equipments, table tennis, badminton racket, etc. We are authorized distributors of Cosco, Yonex, Nivia, Spartan, SS, Tennex, Konex, and many more Indian and global brands and we ship everywhere in the globe also. For more details do visit Thetidkes website for more details.
May chay bo CAO CAP tien ich chinh hang
Tags: okachi, maychaybo
Published: 2022-11-11 07:20:10

Những năm gần đây, luyện tập thể chất tại nhà bằng máy chạy bộ đa năng là xu hướng được rất nhiều người ưa chuộng đặc biệt là giới doanh nhân, văn phòng. Không chỉ mang đến một cơ thể săn chắc, hiệu quả giảm cân rõ rệt, máy dùng chạy bộ tại nhà còn giúp người dùng tránh được các yếu tố thời tiết, khói bụi hay hạn chế được tối đa tình trạng chen chúc đông người khi luyện tập tại các phòng gym. Để biết rõ hơn về sản phẩm đa năng nay, OKACHI sẽ mang đến bạn các thông tin chi tiết thông qua bài viết sau.
[https://okachi.vn/may-chay-bo](https://okachi.vn/may-chay-bo)
Look mum, I'm technical reviewer!!!
Published: 2022-11-11 10:00:00

After writing two books, now also the experience as a technical reviewer. 
The book is **Developing Solutions for Microsoft Azure AZ-204 Exam Guide** and I am really honored to have given my small contribution to a very interesting book.
I think it can be very useful to those who try the AZ-204 exam. 

You can find the book on [Packt Publishing](https://www.packtpub.com/product/developing-solutions-for-microsoft-azure-az-204-exam-guide/9781803237060) web site or on [Amazon](https://amzn.to/3Uoz3pH).
Laravel Certified + Laravel Partner Organization
Tags: laravel, python, javascript, react
Published: 2022-11-11 09:58:10

Cubet offers full-stack [Laravel development services](https://cubettech.com/services/laravel-development-service/) to businesses, aiding them in picking the optimal combination of front-end and back-end technologies and decreasing the time it takes to build and market web and mobile applications. We are Laravel partners and a Laravel-certified development company that addresses customer problems by delivering usable applications.
What I learned from “failing” to teach my first AWS course
Tags: awscommunity, teaching, aws
Published: 2022-11-11 09:56:08

I have been working with AWS for more than 5 years already and this spring I was selected by AWS to become an AWS Community Builder in Republic of Moldova. I have teamed up with Tekwill Academy who already has a lot of amazing IT courses and organize a lot of events for the local community, to give an AWS course to a local bank and in the future have courses to students and people that wish to transition into cloud and DevOps. I have started to teach my AWS course at the end of August 2022 and finished it a couple of days ago mid-November (initially it was planned to finish it end of October, but I needed to postpone some lessons because of personal issues).

This are the lessons I learned from this:

1. Being an AWS Certified Cloud Engineer and having lots of years of experience, doesn’t make you a great teacher — no matter how many projects you have done in the past, it doesn’t mean you can teach, it gives you the weight of having experience but every small mistake in the way of your students gives them the benefit of doubt of your qualifications.

2. Great trainers prepare the courses well in advance — never leave preparing the slides for the last moment, this course came unexpected, so I had literally been preparing slides and material in the day of the lesson or the day before. This combined with working on real projects made me do them as fast as possible, so I am sure I have omitted important thing.

3. Nether underestimate your audience — on-line training and off-line differ a lot, if you are off-line, you can expect questions of situations that you have never encountered, and you are expected to answer immediately, thus on-line you have some time to prepare and give an answer

4. On-line video courses are totally different from a course with a trainer — this actually relates to the point above, I have taken many on-line courses for my work and sometimes I wish I could have asked the trainer a question that related to a real issue I had at the moment.

5. Community matters — AWS Community Builders and folks at AWS helped me a lot in getting answers on issues I have never faced but students asked.

6. Improvement nether stops — after the lessons learned from this attempt I will improve, I have already ideas on making the slides more fun, the labs and the hands-on task much interactive.

You may have noticed that the title had failing in quotes, though I feel I have could done better, I consider this a learning experience and actually I have learned a lot from preparing this course so it’s not a failure at all. I know what can be done better and in 3 months I will have a better course and will be prepared to share the knowledge with other.
Where do I find dev.to logo assets?
Tags: bug, devbugsmash, beginners, design
Published: 2022-11-11 09:55:09

I remember a while ago there is an official URL dedicated of dev dot to logo. But now I forget it. I try to brute force the URL and type [this](https://dev.to/assets). To my surprise, somehow the image on my 404 page didn't show up. Is this a bug?


![dev dot to 404 page](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/o67af5phy8asflk4z1zw.png)


Back to my original question. Where do I find dev dot to logo assets? Any suggestion would be much appreciated 🙏

Thank you!

[Let's be friend & support me👋](https://beacons.ai/ranggakd)
Mobile System Design interview Resources!!
Tags: mobile, interview, systemdesign, tutorial
Published: 2022-11-11 09:55:01

📚The Mobile System Design interview sources for iOS and Android are rare, so here are some that are really good.

✅ Credits: [Mostafa](https://www.linkedin.com/in/mostafanafie/)

They are divided into primers (the basics), deep dives, exercises, and mock interviews.

## 🟢 Primers:

1. Cracking the Mobile System Design Interview 👉 **[Link](https://themobileinterview.com/cracking-the-mobile-system-design-interview/)**
2. The System Design Interview For Mobile Developers 👉 **[Link](https://davescommutebloghome.wpcomstaging.com/category/interviewing/)**
3. System Design Interview For Mobile Engineers 👉**[Link](https://www.shashankthakur.dev/2021/10/system-design-interview-for-mobile.html)**

-------------------------------------

## 🟢 Deep dive:

1. A Simple Framework For Mobile System Design Interviews 👉**[Link](https://github.com/weeeBox/mobile-system-design)**

--------------------------------------------

## 🟢 Exercises:

1. Typical Mobile System Design Interview Questions 👉**[Link](https://github.com/weeeBox/mobile-system-design/tree/master/exercises)**

---------------------------------------

## 🟢 Mocks:

1. Public Mocks 👉**[Link](https://www.youtube.com/playlist?list=PLaMN-JyH50OYAfxJEpiQTYTD-gxTf7x9d)**
2. Design the Facebook feed | Live Dev Mentoring 👉**[Link](https://www.youtube.com/watch?v=6EUuaLq-R1c&ab_channel=EssentialDeveloper)**
WordPress.com vs. Code for a Frontend Dev (IMO)
Tags: webdev, wordpressblog, wordpress, softwarecomparison
Published: 2022-11-11 09:42:14

---
title: WordPress.com vs. Code for a Frontend Dev (IMO)
published: true
date: 2022-11-11 09:31:40 UTC
cover_image: https://dev-to-uploads.s3.amazonaws.com/uploads/articles/otqbeiiulnbqcmbzx56i.jpg
tags: #webdevelopment #wordpressblog #discuss #wordpress #softwarecomparison
canonical_url: https://medium.com/@charles.miller.0412/wordpress-vs-code-imo-700d8dd4cd98
---

_let me start by saying this is all in my opinion and completely welcome any and all discussion related to this topic. We all have different preferences and I want to hear yours!_

### **My likes:**

- Ease of plugins
- Templates
- How simple it makes SEO (search engine optimization)

### **My dislikes:**

- Elementor editor requires Pro subscription to add custom CSS
- Limited on feature “blocks”

#### **I’ll elaborate…**

I can see where WordPress comes in handy for someone not familiar with code (no offense!) and I understand that with time navigating menus to find what I want to do would become easier, but code is so much faster to me.

12 years ago when I began coding, WordPress would have helped me understand certain properties I’m sure (I know it was around but I was still playing on MySpace😆), however, I can also see where you have to have some knowledge of terminology to work efficiently with the editor. It’s nice to see that it gives red warnings when making validation mistakes like using multiple H1 elements as this can save quite some time and frustration for those not familiar with semantic HTML, but they still would need to know the difference between inline and block styling or even what an anchor tag is.

Plugins! They simplify so many things that would usually require an HTTPRequest (or are we just using CORS now?). **However** , with the development of Node Package Manager and Yarn, plugins on WordPress don’t necessarily offer much these days.

Lastly…I’ve seen several WordPress ads on streaming services recently, and I have to say that they make it look so simple to drag and drop your website to perfection while in reality there’s going to be a lot of frustrated people rapidly clicking the mouse because the editor didn’t add a second column and they can’t find the “+” for the right section.

#### **To sum it all up…**

I can keep WordPress on my resume, I can assist others with their WordPress site, and if a project requires WordPress I can do it….but I won’t choose it on my own.