teleren/devto huggingface dataset:
Công Ty TNHH Uca Immigration
Published: 2022-12-22 13:56:46

"""CÔNG TY TNHH TƯ VẤN ĐẦU TƯ ĐỊNH CƯ UCA IMMIGRATION Chuyên định cư Canada Úc Mỹ
163 Trần Hưng Đạo, Phường Cô Giang, Quận 1
Tel : 02888868888
Email: info@uca.com.vn
Website: https://uca.com.vn/
 #uca #ucaimmigration #congtyuca #dinhcuucaimmigration"
https://www.drupalgovcon.org/user/336256
https://www.mifare.net/support/forum/users/congtyucaimmigrationgmail-com/
https://www.discogs.com/user/congtyucaimmigration
https://satori.lv/profile/-9525
https://blogfreely.net/congtyucaimmigration/
https://artistecard.com/congtyucaimmigration
https://answers.informer.com/user/congtyuca
https://fileforum.com/profile/congtyucaimmigration
https://www.atlasobscura.com/users/congtyucaimmigration
https://www.aacc21stcenturycenter.org/members/congtyucaimmigration/profile/
https://www.bibrave.com/users/186102
http://community.getvideostream.com/user/congtyucaimmigration
https://forum.cs-cart.com/user/68587-congtyucaimmigration/
https://kustomcoachwerks.com/Forums/users/congtyucaimmigration/
http://www.socialbookmarkssite.com/tag/congtyucaimmigration/
https://www.goodreads.com/user/show/159765385-congtyucaimmigration
https://jsfiddle.net/congtyucaimmigration/dt72Lzrc/
http://escalade.celeonet.fr/forum/memberlist.php?mode=388019
http://gendou.com/user/congtyucaimmigration
https://www.silverstripe.org/ForumMemberProfile/show/96656
https://www.dermandar.com/user/congtyucaimmigration/
http://forum.yealink.com/forum/member.php?action=profile&uid=227615
https://postheaven.net/q9fz52d695
https://eyeka.insitessquare.com/profile/congtyucaimmigration
[Conceito/Desafio] - Micro-Batching ou Processamento em Micro-Lotes
Published: 2022-12-22 13:35:41

> Conteúdo original em https://twitter.com/zanfranceschi/status/1605916558433193984

---

Ei dev,

Já ouviu falar sobre MICRO-BATCHING (processamento em micro-lotes)? Se ainda não, cola mais pra você levar esse assunto pra ceia de Natal e impressionar a família!

Tem até um desafio no final. 🥲

cc @sseraphini

↓

![Image](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/k81uleio1jpmlsdeokyv.png)

---

Antes de explicar micro-batching, precisamos entender dois conceitos:

- Processamento batch (em lote)

- Processamento contínuo

---

Processamento em lote ou batch significa processar múltiplos registros de uma só vez. Antigamente, havia muitas restrições para comunicação entre computadores. Então, basicamente o pessoal juntava um bolo de informações e mandava processar numa tacada só.

---

Já o processamento contínuo é uma técnica que processa dados assim que estiverem disponíveis ─ muito usada em arquiteturas orientadas a eventos. Filas e tópicos (no caso do Kafka) são ferramentas bem comuns pra isso. O dado pintou lá, pá! Já processa na hora, no ato!

---

Bom, agora sobre micro-batching. Nada mais é do que um processamento de lotes bem menores e com intervalos também bem menores do que os tradicionais batches.

É justo interpretar micro-batching como um meio termo entre/mistura de processamento contínuo e em lote.

---

O intervalo de processamento e o tamanho do lote podem variar de acordo com a natureza do problema. Inclusive, tamanho e/ou intervalo geralmente são os gatilhos para que se inicie o processamento:

- Processar de tanto em tanto tempo;
- Processar a cada X volume de dados.

---

Pra usar micro-batching você precisa considerar principalmente o quão tardiamente seus dados podem ser processados (segundos, horas?) e a eficiência computacional do processamento pra tal tamanho/intervalo (custos, uso de rede, etc.). Dependendo do cenário, pode não valer a pena.

---

Alguns cenários que PODEM se beneficiar dessa técnica:

- Ferramentas de analytics;
- Ingestão/sincronização de bases;
- IoT;
- Processamento entre processos;
- Etc.

---

Bom, agora que você já deve ter pelo menos uma intuição sobre o assunto, talvez valha a pena implementar esse desenho como desafio/prática.

![Image](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/cyijntkh9iqzwubxkkx2.png)

---

Era isso que tinha pra falar sobre micro-batching. Como sempre, muito obrigado por ter lido até aqui! ♥️

Se curtiu, dá um like, retuíta o primeiro tweet da thread, comenta, compartilha, etc.
The Top Books for Software Engineers to Add to Their Reading List
Tags: books, tutorial, programming, productivity
Published: 2022-12-22 13:34:12

As a software engineer, staying up-to-date with the latest technologies and best practices is essential to success in your field. One of the best ways to continue learning and improving your skills is by reading books written by experts in the field. Here are our top picks for the best books for software engineers to add to their reading list:

1.  ["Clean Code" by Robert C. Martin](https://amzn.to/3WnKL5a): This book is a must-read for any software engineer. It provides practical guidance on how to write clean, maintainable code that is easy to understand and modify.

2.  ["Design Patterns: Elements of Reusable Object-Oriented Software" by Erich Gamma, Richard Helm, Ralph Johnson, and John Vlissides](https://amzn.to/3hHMJ0T): This classic book introduces software engineers to design patterns, which are proven solutions to common design problems that can be used to improve the structure and quality of code.

3.  ["The Pragmatic Programmer: From Journeyman to Master" by Andrew Hunt and David Thomas](https://www.amazon.com/Pragmatic-Programmer-Journeyman-Master/dp/020161622X/ref=sr\_1\_1?crid=3KJ09ZOU3IIIG\&keywords=%22The+Pragmatic+Programmer%3A+From+Journeyman+to+Master%22\&qid=1671653496\&sprefix=design+patterns+elements+of+reusable+object-oriented+software+%2Caps%2C633\&sr=8-1): This book is packed with practical advice on how to be a better programmer, including tips on how to write efficient code, debug problems, and work effectively with others.

4.  ["Code Complete: A Practical Handbook of Software Construction" by Steve McConnell](https://amzn.to/3jahNqr): This comprehensive guide covers every aspect of software development, from design to testing and maintenance. It's a great resource for software engineers looking to improve their overall programming skills.

5.  ["Cracking the Coding Interview" by Gayle Laakmann McDowell](https://amzn.to/3FMozdR): If you're a software engineer looking for a new job, this book is a must-read. It provides guidance on how to prepare for and succeed in technical interviews, including common questions and sample code.

No matter what stage you're at in your career, these books will provide valuable insights and practical guidance to help you become a better software engineer. So add them to your reading list and start learning today!

_Note that this article contains Amazon Affiliate links._
Improving the way to use if in your code
Tags: beginners, programming, productivity, java
Published: 2022-12-22 13:29:55

The way we use 'ifs' is usually about validating a positive case, and if it is not that case then we should go to an Else, this form technically is not wrong, but we should pay attention to better ways to implement these validations.

``` java

if (user.isPresent()) {
    User.toDto(user.get())
    // More actions for success
} else {
    // Do something for error case
}

// continues the code

```

Currently, languages of programming like Golang have a different way when using the 'if', which would be to validate the case of error if not exist, then should continue the normal flow of the code.

``` golang
user, err := receiveUser()

if err != nil {
    return err
}

userDto := convertUser(user)

// continues the code flow
```

We can see that this way of implementation is cleaner, this enables making code clean for whoever is reading.

Now we can see that code remains with the same complexity although cleaner, the way of validating the error case for the first seeks ensures the integrity of information as soon as it is received, bringing defensive programming to the code.


``` java

if (!user.isPresent()) {
    // Do something for error case
}

User.toDto(user.get())

// More actions for success
// continues the code flow

```


A good way to practice this methodology is using the type 'Optional' that fits perfectly to what we need or creating ways to evaluate a possible error, such as, if you are receiving a list you must validate if it is empty and after making some interaction, another way, validate strings if are empty before the use. These are simple examples, but the idea here is to understand how to start this practice.

I always indicate to seek the type 'Optional', but when it is not possible, we can use this technique to try to help us build a more defensive and clean code.

It is worth remembering that this post is not saying what way to write 'if' it is better but to present a way cleaner to declare an 'if'.
How to create an equal border with a display grid - Hack (HTML5 and CSS3)
Tags: html, css, codenewbie, design
Published: 2022-12-22 13:28:35

We have different types of displays in CSS, the most famous are as follows

- Block
- Flex
- Grid
- Table etc.

Today, I want to discuss **Grid**. We can fully control grid rows and columns. Grid is one of the most used CSS properties to create a Masonry gallery. Recently I was creating a table dynamically whose columns are fixed but the number of rows increases based on the number of items. Therefore, a normal table is not possible for this case scenario. Grid was the solution, I can create table alike layout and generates a dynamically exact number of columns and rows as well. The only problem left was the border. If I use _border_ property of CSS then it will cause a double border between and one single border of the box. 

I was using tailwind. A sample code and UI are something like this.

```
<div class="grid grid-cols-4">
   <div class="border">
      <h3 class="text-center py-6">1</h3>
   </div>
   .....
   .....
</div>
```


![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/70iul2t1pxu9mmywe04i.png)


As you guys can see the problem. I searched but no solution was available on the internet. Most of the solutions were about nth-child() but I didn't have a fixed number of items so nth-child() was not for me. I came up with a solution I wanted to share with you guys, I hope maybe it can help anyone. I used a **gap** and **background** for the border. So, this is how my code and UI look after this idea.

```
<div
  class="grid grid-cols-4 bg-black border border-black"
  style="gap: 1px">
    <div class="bg-white">
       <h3 class="text-center py-6">1</h3>
    </div>
    ....
    ....
</div>
```


![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/n7c9mcol0jn54hmqo48f.png)

Thank you for your time. 

__________________________________________________________________

## Other links:

- [Highlight on the new features of Next JS 13 config 2022](https://dev.to/muhammadazfaraslam/highlight-on-the-new-features-of-next-js-13-config-2022-1a3i)
- [How to configure React JS app on WSL2 Windows 10](https://dev.to/muhammadazfaraslam/how-to-configure-react-js-app-on-wsl2-windows-10-3d1n)
- [Custom 'Tooltip' component using Tailwind and React Js](https://dev.to/muhammadazfaraslam/custom-tooltip-component-using-tailwind-and-react-js-186g)
Native VS Native Cross-Platform Apps
Tags: apps
Published: 2022-12-22 13:26:44

**Introduction**

When it comes to building mobile apps, developers have two main options: native apps and cross-platform native apps. Both options have their own set of benefits and drawbacks, and the right choice for your project will depend on your specific needs and goals.

**Native Apps**

Native apps are built specifically for a particular operating system, such as Android or iOS. They are typically written in a programming language native to the operating system, such as Java or Swift.

One of the main benefits of native apps is their performance. Because they are built specifically for a particular operating system, they can take advantage of all the features and capabilities of the device, resulting in a smooth and responsive user experience.

Another benefit of native apps is their ability to access the full range of device features, such as the camera, GPS, and push notifications. This can be especially important for certain types of apps, such as those that rely on location tracking or real-time data.

However, there are also some drawbacks to native apps. One of the main drawbacks is the cost and time required to build and maintain separate versions for each operating system. This can be especially challenging for small teams or organizations with limited resources.

**Cross-Platform Native Apps**

Cross-platform native apps, also known as hybrid apps, are built to run on multiple operating systems using a single codebase. This can be achieved through the use of frameworks such as React Native or Flutter.

One of the main benefits of cross-platform native apps is their cost and time efficiency. Because they use a single codebase, developers only need to build and maintain a single version of the app, rather than separate versions for each operating system. This can be especially beneficial for small teams or organizations with limited resources.

Another benefit of cross-platform native apps is their ability to reach a wider audience. Because they can run on multiple operating systems, they can be used by a larger number of users than native apps that are built for a specific operating system.

However, there are also some drawbacks to cross-platform native apps. One of the main drawbacks is their performance, which may not be as smooth and responsive as native apps. This is because they rely on a "wrapper" to run on multiple operating systems, which can result in slower performance compared to native apps.

**Conclusion**

In summary, native apps and cross-platform native apps are both viable options for building mobile apps, but they are designed for different purposes. Native apps are best suited for projects that require high performance and access to a wide range of device features, while cross-platform native apps are best suited for projects that require cost and time efficiency and the ability to reach a wider audience. The right choice for your project will depend on your specific needs and goals.
How to deploy flutter web app on netlify through GitHub and set up continuous deployment
Published: 2022-12-22 13:23:30

<p>Creating a website with flutter is very easy, you don't have to write CSS code separately, and almost everything can be done in the main.dart file. Deploying a site shouldn’t be difficult either, let’s get started.</p>
<p><strong>Step 1:-</strong> Before we host the app on Netlify make sure to debug and run it on your chrome browser. To run the web app locally on your system use the below command on your IDE’s terminal.</p>
<pre><code class="lang-dart">flutter run -d chrome
</code></pre>
<p><strong>Step 2:-</strong> If it is working properly on the chrome browser, Then run the below command</p>
<pre><code class="lang-dart">flutter build web
</code></pre>
<p><strong>Step 3:-</strong> After that in the project window, there should be a Directory named “build” with a web folder inside it. Your build is now ready.</p>
<p><img src="https://miro.medium.com/max/875/1*19qWr2ynK_pYOGNTuqWTUA.png" alt /></p>
<p><strong>Step 4:-</strong> Upload your project to GitHub.</p>
<p><strong>Step 5:-</strong> Go to <a target="_blank" href="http://netlify.com">netlify.com</a> and create an account or just log in with GitHub.</p>
<p><strong>Step 6:-</strong> Your Netlify dashboard should look something like this👇</p>
<p><img src="https://miro.medium.com/max/875/1*PRKlawHIes7xmx9BXsLXMA.png" alt /></p>
<p><strong>Step 7:-</strong> Click on “Add a new site”, you will get three options.</p>
<p><img src="https://miro.medium.com/max/645/1*yTyinournNjQAjf2ljwAAA.png" alt /></p>
<p><strong>Step 8:-</strong> Click on the first option, choose GitHub, and select the repository of your project.</p>
<p><img src="https://miro.medium.com/max/875/1*uEiIGLF6QV_ov4jTFPEQ0A.png" alt /></p>
<p><strong>Step 9:-</strong> In the Publish directory, mention build/web</p>
<p><img src="https://miro.medium.com/max/875/1*85rCwRN2JcaAtkG_Y_sZxA.png" alt /></p>
<p><strong>Step 10:-</strong> Click Deploy site or hit enter on your keyboard.</p>
<p>Congratulations your site is deployed.</p>
<p>If you don't like the autogenerated name of your site, you can change it by going to the site settings</p>
<p><img src="https://miro.medium.com/max/875/1*shXwATBIzVQ5q5g0dhoMnw.png" alt /></p>
<p>For continuous deployment, Every time you make changes to your site, it's necessary to run the build command, or else your changes won't be visible. The command is</p>
<pre><code class="lang-dart">flutter build web
</code></pre>
<p>After you run the command, push the project to GitHub.<br />Netlify will automatically detect the changes from GitHub and deploy them.</p>
<p>Thanks for reading. If you like my article you can support me through <a target="_blank" href="https://www.buymeacoffee.com/RustyRishii">buymeacoffee</a></p>
</br><p style="color:#757CF9;">This article is published w/ <a target="_blank" href="https://scattr.io?ref=dev">Scattr  ↗️</a></p>
How To Profile Card With Modal Using Html CSS & JavaScript Step By Step
Tags: html, css, javascript, tutorial
Published: 2022-12-22 13:23:29

{% youtube e7S3KV7WLX0 %}
Hi guys, today we want to show How To Profile Card With Modal Using Html CSS & JavaScript Step By Step

Please, if you love it, support us with Like & Subscribe.🙏🙏❤️❤️

Let's be friends and connect
📩 Subscribe:https://shorturl.at/BCTV8
📷 Instagram: https://www.instagram.com/soudemy/
📱 Behance: https://www.behance.net/soudemy
🐦 Twitter: https://twitter.com/SoudemyAcademy

In the comments, you can say what design you want so that we can prepare the video for you.
Bubble Sort(버블정렬)
Tags: algorithms
Published: 2022-12-22 13:23:10

## Time Complexity
best O(n)
Worst O(n^2)
Average O(n^2)

## Space Complexity
O(1) - because only use one temp variable

## BigOh
O(n^2)

## Opinion
If the array is already sorted this algorithm just loop O(n), but the performance of this algorithm is too variable.

---
{% embed https://www.youtube.com/watch?v=EZN0Irp2aPs %}
(I don't put the code or concept because for practice)
[https://www.programiz.com/dsa/bubble-sort](https://www.programiz.com/dsa/bubble-sort)
Urgent! We need PHP Developer with eLabFTW experience. Remote 10h/week. Please contact me
Tags: php, career, elabftw
Published: 2022-12-22 13:23:04

_****_
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ifcgnr7rcdfbb9fglv8u.png)

```

```
How to take screenshot on laptop
Tags: laptop, beginners, tutorial, community
Published: 2022-12-22 13:16:29

The easiest way to take a screenshot of your entire screen on Windows 10 or Windows 11 is by pressing the Print Screen (PrtScn) button on your keyboard. 

The screenshot will be copied to your clipboard. To save the file, paste the screenshot into any program that allows you to insert images, like Microsoft Word or Paint [Read more](https://howtowink.com/how-to-screenshot-on-windows/).......
AWS Community Builders - Christmas Edition
Tags: aws, cbchristmas2022, awscommunity
Published: 2022-12-22 12:36:28

## What surprises you most about the community builders program?

I was surprised when I was accepted into the [AWS Community Builders program](https://dev.to/aws-builders/the-aws-community-builders-program-what-it-is-and-how-to-apply-159l) in June 2021 without any authentic professional experience. Plus, I am currently living and working in Cameroon. The program takes diversity seriously from day zero.

## What’s your background and your experience with AWS?

I studied Management in the University but quickly switched to tech after I graduated. My tech journey started with certifications in the Networking space (Cisco, Juniper, Microsoft etc) and I eventually picked up a job at an ISP where I started as a NOC engineer, then I was Solutions Architect for about 8 years and finally Service Delivery Manager before I resigned. I got introduced to Cloud Computing by a friend back in 2018. In the course of researching and learning, I fell in love with AWS and decided to start the first [user group in Douala, Cameroon](https://linktr.ee/augdouala) in 2020. My initial interest was with AWS Networking technologies due to my professional background but I fell in love with Serverless in 2022 and landed a job with Serverless Guru as Serverless Developer in 2022.

## What’s the biggest benefit you see from the program?

Networking and diversity. Living and working in a Country that doesn’t have an AWS region yet with most companies are still taking their first steps provides unique challenges.  But thanks to the community, I’ve been exposed to best practices and ideas that I would have never come up with on my own.

## What’s the next swag item that you would like to get?

Hoodies💯. It would be great if we could have stickers that show the date of joining or a number of years in the community for existing builders renewing their membership.

## What are you eating for dinner today? Share the recipe!

### Jollof Rice Kamer (Cameroon) style

- ½ pound meat
- 1 medium onion
- 1 tablespoon Chicken bouillon
- 1 tablespoon garlic salt
- 1 teaspoon paprika
- 2 tablespoon tomato paste
- 18-ounce canned tomatoes
- 3 cups water or stock
- 3 cups rice
- 1 pound of peas and carrots
- Salt and pepper to taste

## Is there anything else you would like to say about the community builders program in 2022?

I’m an advocate for diversity and this program is truly diverse. The Community Management Team does a fantastic job at communicating and responding to DMs. I would strongly advise anyone interested in AWS and Cloud to sign up and be part of one of the greatest tech communities in Cloud.
Methods vs Functions
Tags: fundamentals, javascript, objectoriented, functional
Published: 2022-12-22 13:09:20

---
title: Methods vs Functions
published: true
date: 2022-12-22 12:31:27 UTC
tags: fundamentals,javascript,objectoriented,functionalprogramming
canonical_url: https://medium.com/@salonii13/methods-vs-functions-855e836ff19
---

Let's clear some fundamentals.

Hi, devs,

You might be calling any function as a method or a function randomly in your day-to-day software development lifecycle.

So, Let's understand the primary difference between **Methods and Functions.**

![banner](https://cdn-images-1.medium.com/max/1024/1*JuyVlvZan1D5Hv8lM4109w.png)

### What is a function?

A function is a set of instructions separated from the main code, to call it repetitively wherever needed.

A function can take arguments as inputs to process specific tasks.

A function can have a return value with a specific type to generate output for a particular task.

Functions are part of **functional and procedural programming concepts.**

### What is a method?

A method is also a set of instructions separated from the main code, to call it repetitively wherever needed.

A method can also take arguments.

A method can also have a return value and type.

BUT….

Here are the key differences between a function and a method.

1. Methods are associated with a specific class instance to call it.
2. Methods cannot be accessed outside of a class, or they process other data.
3. Methods are part of **Object-oriented programming concepts.**

Basically,

If a function is associated with a class, it's a method. Otherwise, it is simply a function.

### **Let’s see an example**

#### 1. Function

```
function sum(a,b,c){
  return a+b+c;
}

console.log(sum(1,2,3));
```

#### 2. Method

```
class Dog{
  bark(){
    console.log("dog has barked");
  }
}

let dog = new Dog();
dog.bark();
```

and with that,

That’s it for this article. I hope I have made you clear.

Let me know in the comments about small but mostly ignored topics you want me to discuss.

Bye. 👋🏼

Keep Coding 👩🏻‍💻, keep learning 🎯

### About me👩🏻‍💻

I am a Backend Developer at [DhiWise](https://www.dhiwise.com/?utm_campaign=blog&utm_source=devto&utm_medium=cms&utm_term=saloni_pod2&utm_content=function).

You can also follow me on [LinkedIn](https://www.linkedin.com/in/saloni-saraiya/) and [Twitter](https://twitter.com/salonii131) for more tech updates.