teleren/devto huggingface dataset:
Shaping up SDC.
Published: 2021-08-20 14:42:18

My first week of SDC was spent missing the forest for the trees. I over-invested in SQL, digging into the syntax and the tools, with the goal of coming up with really precise and performant queries.

But I felt like I was getting myself into trouble. Why should I perfect each step when I was missing the bigger picture of what the path looked like? I hadn't so much as *thought* about many of the concepts involved in this project - concepts like **requests per second** or **load-balancing**. Which meant that I didn't have a sense for how I should allocate my time to accord with the difficulty or depth of each step.

So I changed tact, going broad instead of going narrow. That's where I am now, with a pretty clear high-level view of SDC and the ability to prioritize and optimize in order to meet my deliverable and just to lay down some strong thought on what it will take for me to get there.

###Here's what I've done:

 - Moved my Express (service) server and Postgres server each to their own EC2 instance.
 -  Learned the dev-environment testing tool *Httperf* and its production-analog *Loader.io*
 - Spun up several EC2 service instances and load-balanced them with Nginx.

###Here's what's missing entirely:

 - Caching. For performance enhancement.
 - Integrating with the FEC front-end.

###Here are some of the gaps:

 - Tight, efficient queries.
 - Performance testing at different endpoints (variable requests).
Differences between Object.freeze( ) and Object.seal( ) in Javascript
Tags: javascript, webdev, programming, begginers
Published: 2021-08-20 14:03:37

They are functions that may appear to do the same action but have significant differences. And it was difficult for me to learn it. I don't know why but they always confused me.

👉 *Object.freeze()*: It prevents you from adding new properties, removing existing properties and modifying them. 

👉 *Object.seal()*: You can modify existing properties but you can't delete or add new ones.

## CRUD Operations

If we differentiate them through the CRUD operations: Create - Read - Update - Delete, we obtain the following comparison.

```
                  Create     Read    Update     Delete
Object.freeze()    ❌        ☑️      ❌         ❌
Object.seal()      ❌        ☑️      ☑️         ❌

```


The wonderful world of Javascript. That's all for today :)
Flic Smart Buttons: App Development Use Cases That Make Life Simpler
Tags: appdevelopment, customsoftwaredevelopment, flicio, flicsmartbutton
Published: 2021-08-20 13:55:47

A wireless button, which you can use to create a shortcut to your favourite actions on a smartphone. Sounds good? With Flic smart buttons it’s never been easier to control your smart home, find your phone or manage your routines. And it can do even much more. 

Read on to find out what a smart button is, how companies use it with their own apps and systems, and how you can customize the button to suit your own business needs.

[https://apiko.com/blog/making-life-simple-with-flic-smart-buttons-app-development-use-cases/](https://apiko.com/blog/making-life-simple-with-flic-smart-buttons-app-development-use-cases/)
SQL SERVER REMOTE CONFIGURATIONS ON LINUX
Tags: database, datawarehouse, etl, sql
Published: 2021-08-20 13:47:50

1.Connecting Remotely to SQL Server on Linux
Checking the ports running.

-To enable these connections remotely you will need to open the Linux firewall to accept traffic on those ports

-This action will depend on the type of firewall you are running on Linux. If you are not running any firewall, then you don't need to do anything since all traffic will be allowed by default.

     #### FIREWALLS ON UBUNTU
There are two widely used firewalls that run on Ubuntu.
 1.Uncomplicated Firewall (UFW) 
 2. firewalld which is a separate package that requires installation. These two firewall packages run on different distros.

### FINDING WHICH FIREWALL IS RUNNING ON LINUX
Let's find out if any of them are running:


NB/:if firewalld is not found check this documentation.[here] to install it.

NB:User Datagram Protocol (UDP) – a communications protocol that facilitates the exchange of messages between computing devices in a network. It's an alternative to the transmission control protocol (TCP). In a network that uses the Internet Protocol (IP), it is sometimes referred to as UDP/IP.

NB:The Transmission Control Protocol is one of the main protocols of the Internet protocol suite. It originated in the initial network implementation in which it complemented the Internet Protocol. Therefore, the entire suite is commonly referred to as TCP/IP.

Enable SQL Server Dedicated Administrator Connection(DAC)

2.Using DAC with SQLCMD

You need to be a member of the sysadmin fixed server role in order to use this feature. The "-A" switch is used to specify that the user is trying to connect to SQL Server using the Dedicated Administrator Connection.
The syntax to use DAC is mentioned below.
SQLCMD -S [SQL Server Name] -U [User Name] -P [Password] -A 
NB: FOR MORE CHECK ON THE LINK ABOVE!
NB:ALSO check this link.[2]its interesting
 CHEERS !! 
Happy learning
An inspiration for web design: Where you can go and a career based on maisyleigh
Tags: design, career, inspiration, webdev
Published: 2021-08-20 13:35:26

We use you tube a lot in our day-to-day life, many of us can use it to rest or look for answers and tutorials of all kinds. During my time on you tube, I came across a very special channel called maisyleigh, which deserves the attention of all those programmers looking to get inspired.

Introduction:

In any career it's good to have goals set. Knowing where we want to go helps us make plans and gives us a better sense of what we should learn and how to do it. However, in programming it is not always so easy to find a model to be inspired by, as there are few programmers who actually demonstrate their development process.

Although there are many tutorials, in the most diverse fremeworks, there is still a lack of in-depth content on creative and development processes that transcend technology. Fortunately for English speakers and web designers, today I bring someone who inspires me and can inspire you too.


moreyleigh:


channel: https://www.youtube.com/channel/UC_h-Jl4Zxb7p-sSBTxprs4Q

maisyleigh talks about various subjects in her videos and shows her development process, but in general, she discusses how to find inspiration to make unique sites. However the most important is in the way she conveys her ideas, at the end of a video, even if you are not a web designer, you will feel inspired to program.

However if you are really looking to be a web designer maisyleigh's content is a great example of their profession on a spectacular level. If your goal is to change people's lives with your work, expect to receive a class with some videos from this channel.


Career:


In my experience, web design is highly valued in the job market, many front-end developers manage to make a website, code, but it is the web designers who make a website unique.

I don't mean that the two professionals should compete, many web-designers, including maisyleigh, also program and do the work of the front-end developer. What I mean is that they are technically different services.

In theory, it's as if the web-designer is an architect and the front-end developer is the engineer. Large companies understand that both are necessary for the effective and rapid development of a given technology.

But the fact is that the market misses web-designers, especially those who also know about the technical part of development.

see video reviews here (portuguese): https://www.programador-de-quintal.com.br/l/uma-inspiracao-para-web-design-a-onde-voce-pode-chegar-e-carreira-com-base-na-maisyleigh/

see video reviews here (english): https://www.programador-de-quintal.com.br/l/an-inspiration-for-web-design-where-you-can-go-and-a-career-based-on-maisyleigh/
SLAP YOUR MOTHER WITH A SARDINE - episode 4 dropped!
Tags: jokes, career, podcast, techtalks
Published: 2021-08-20 13:32:12

Episode 4 of COUNCIL OF THE WISE DEVELOPERS has dropped! You can go ahead and take a day off.

{% spotify spotify:episode:1nKyEGVUWXapwx6EgvIbsQ %}
Hellow World
Tags: engineering, technology, engineeringmangement, python
Published: 2021-08-20 13:59:37

---
title: Hellow World
published: true
date: 2021-08-20 13:25:47 UTC
tags: engineering,technology,engineeringmangement,python
canonical_url: https://fellow.engineering/hellow-world-8a6bbb077aa9
---

![](https://cdn-images-1.medium.com/max/1024/1*m_X_HFcYAw0fqEqj286Mkg.png)<figcaption>Fellow Engineering Blog: The technology behind the platform that makes meetings delightful</figcaption>

No, that’s not a typo. Over the last few years, all of us here have typed the name “Fellow” over and over again — so many times that now every word that ends with “ello” is accidentally followed up with a “w”. Most of the time we catch it, but it’s one of those adorable mistakes that we like to have fun with once in a while, and gives a glimpse into the culture of the team.

Starting today with this new publication, we’re going to be making that mistake a whole lot more! Many members of the engineering team here have been contributing to tech blogs, giving tech talks, speaking on podcasts, and open-sourcing projects for a while now — because we love helping others learn, sharing the cool things we’re learning ourselves, and giving back to the community. We’re excited to launch this new Fellow Engineering blog as another platform for our team to do just that!

We don’t quite know what this blog will be just yet, but it will grow with us and evolve over time as we build out new projects and discover cool tech that we want to share with the world. The core of our platform (and the heart & soul of the technology behind Fellow) includes our collaborative notes editor, our calendar, and our integrations. While we may give a peek into how we’ve built those once in a while ([_join the team to get the full story_](https://fellow.app/careers)), we want to start off by sharing our learnings about things like how to build a dark mode mobile app, or how to manage browser extension versions when you have multiple environments. We’ll also be writing about tech-adjacent topics too—like how to run engineering retrospectives, or why and how we run _the best_ internal hackathons. And we may even have posts about product & design too!

As a team of engineers that loves to build and problem solve, we’re all figuring it out together as we go along. And that’s half the fun.

See you on the blog! 👋

![](https://cdn-images-1.medium.com/max/652/1*WYEo-KFClZcPQur3LTh7Ow.png)

* * *
Minimal Time Management App
Tags: javascript, electron
Published: 2021-08-20 13:13:09

Being a high-school student and having everything online, it gets quiet difficult to manage time and get tasks done. 
So, I did some research and got to know about a technique called [Pomodoro](https://en.wikipedia.org/wiki/Pomodoro_Technique).

And I started looking for a good Pomodoro Timer app but did not find any good app. Either they were paid or lacked a few features. 

So, I made myself my own Pomodoro Timer app. It is very minimal.
It is built using **ElectronJS** & **JavaScript**.

I would love to share the app with you guys and  receive your feedback. 

Check out the [App](https://github.com/iDCoded/Pomodoro-App) on GitHub and download it and even give it a Star.
4 Important System Design Concepts For Beginners
Published: 2021-08-20 13:11:58

Hello, devs! Let me tell you a fact about software development. All the features you see in your favorite apps are easy to build. With a bit of Googling skills and perseverance in reading the docs, you'll be able to build those features. What's not easy is to build a large-scale system which includes the selection of right tools and technologies to supports all the features you want in your app as well as building a robust architecture which will support a large number of requests. In this article, I'll explain the basics of system design without fancy jargons. 

###[1] Vertical Scaling
Vertical scaling means making your server more powerful by upgrading to a more powerful machine. This includes faster CPU, higher storage capacity, etc.
![Mohmed Ishak](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/oleugapi2qivpqyn6v93.PNG)
###[2] Horizontal Scaling
Horizontal scaling is almost always better than vertical scaling. Here, you're still making your server more powerful but the approach is different. Instead of upgrading one machine, horizontal scaling means adding more machines to act as servers, where these machines can collectively work together to produce a powerful server. There are a whole lot of advantages of horizontal scaling compared to vertical scaling. One obvious one is that when one machine crashes, the others can still work providing very less (or even zero) server downtime for the backend.
![Mohmed Ishak](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/leigfkp22eub234fzsis.PNG)

###[3] Caching
Asking the server to send data to client is expensive because it puts load on the server. With caching, you're essentially storing static assets in memory (such as landing page for a web app) and serve the user from that memory for future requests instead of serving from the server. Why? Because that data is static so it is not efficient to pull that from the server for every request. 

###[4] Load Balancing
Remember horizontal scaling from point 2? A load balancer is a "thing" which redirects requests to one of the servers intelligently so that all servers can be utilized efficiently. 
![Mohmed Ishak](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/uity4bgf6st43t900zb0.PNG)
CodeWars: battle for the knowledge
Tags: tutorial, study, todayilearned
Published: 2021-08-20 13:01:21


Você conhece a técnica do patinho de borracha? Inconscientemente todos praticamos ela, mesmo sem conhecê-la. Esta técnica propõe que tentemos explicar conceitos complexos, assuntos que estejamos estudando ou problema que estejamos resolvendo para um objeto inanimado, como um pato de borracha. Na área do desenvolvimento, seria explicar aquele bug que apareceu no código ou aquela feature que você esta planejando ainda.
 Bom, vocês serão meus patinhos de borracha.
 Vamos solucionar desafios apresentados no [CodeWars](https://codewars.com) apresentando minha lógica e convido a todos a apresentar sua própria solução do desafio ou pontos que poderia aprimorar. Vou mostrar como penso, e vocês tem liberdade de responder/corrigir minha lógica.
 Vamos lá?

> {% codepen https://codepen.io/cassidoo/pen/MyaWzp %}
3D Game Modeling Services
Tags: gamedev
Published: 2021-08-20 12:43:05

Computer 3D modeling is the process of creating a model of a three-dimensional object in virtual space. There are several types of 3D modeling, which are fundamentally different. The first type - polygonal - is the construction of the model using polygons with three or four vertices. These polygons, connected to form a single 3D shape, form a polygon mesh or object.

The more polygons will be used when building the model, the more accurately the object will be modeled. In this case, we talk about high-poly modeling. Conversely, low poly modeling with a small number of polygons takes place. Such models have a more faceted look. Spline modeling involves the use of so-called splines - flexible three-dimensional patterns. 3D modeling of this type comes down to creating a spline wireframe that will bend around a geometric surface. In software specializing in this type of modeling, there are basic parametric objects used to operate.

3D Game Modeling Services https://kevurugames.com/game-art/3d-game-modeling/
Today's Fun Joke For Developers - Daily Developer Jokes
Tags: jokes, dailydeveloperjokes
Published: 2021-08-20 12:28:38

---
title: "Today's Fun Joke For Developers - Daily Developer Jokes"
description: "Check out today's daily developer joke! (a project by Fred Adams at xtrp.io)"
series: "Daily Developer Jokes"
published: true
tags: #jokes, #dailydeveloperjokes
---

Hi there! Here's today's Daily Developer Joke. We hope you enjoy it; it's a good one.

![Joke Image](https://private.xtrp.io/projects/DailyDeveloperJokes/public_image_server/images/5e1258d992c4e.png)

---

For more jokes, and to submit your own joke to get featured, check out the [Daily Developer Jokes Website](https://dailydeveloperjokes.github.io/). We're also open sourced, so feel free to view [our GitHub Profile](https://github.com/dailydeveloperjokes).

### Leave this post a ❤️ if you liked today's joke, and stay tuned for tomorrow's joke too!

_This joke comes from [Dad-Jokes GitHub Repo by Wes Bos](https://github.com/wesbos/dad-jokes) (thank you!), whose owner has given me permission to use this joke with credit._

<!--
Joke text:
___Q:___ How do programming pirates pass method parameters?

___A:___ Varrrrarrrgs.
 -->
How to write your first Bash Script
Published: 2021-08-20 12:10:31


Hi everyone! Today Im showing you an introduction to bash/shell scripting. Shell scripts can be used for executing one or more commands or for task automation e.g. Have a nice day! :)

{% youtube SasvJZ1PjSo %}

➤ Timestamps:
0:00 Introduction
0:31 creating the sortinghat script
3:50 make script executable and run it

Github: https://github.com/Lumary2/YoutubeTutorials
Crontab
Tags: linux, cron, bash
Published: 2021-08-20 10:43:09

Today I stumbled upon a flaky test. It's been bothering our developers for some time already, but usually, it took about two runs to have it turn green. So no big deal for them.
But it is for me. 

As soon as I've opened it, I realized that this test is about cron jobs. And I know almost nothing about cron.
No worries! 10 minutes of intense googling and I am ready to tackle it.

*Cron* (**C**ommand **R**un **ON**) - is a program in Unix-based systems that can run scripts and tasks at specific time and order.
 
For example, you download a lot of cat pictures, videos, and memes every day, and o-oh! Your disk space is running low, there is no place to store your work files.
Have no fear! You can schedule crone to delete pictures and videos from download folder once a week.
Prepare your bash script:
```
cd /users/user_name/Downloads
find . -type f \( -name \*jpg -o -name \*png -o -name \*gif -o -name \*mp4 \) -delete
```
Save it to file , for ex `clean_dowloads.sh`
 
Now open your terminal and write:
crontab -e
This will open a text redactor where you can write your task:
```
# Every Sunday at 00:00 run bash script clean_downloads.sh
@weekly bash /home/www/clean_dowloads.sh
``` 
Save and exit. Now you are all set up, no more worries about too many cat pics.
Cron can schedule jobs using different time parameters:
``` 
# at every minute
* * * * *  <command>
 
# at 02:00 on Friday in July
0 2 * 7 5  <command>
 
# every 15 minutes after 2:00
*/15 2 * * * <command>
``` 
Use [Crontab.gury](https://crontab.guru/) for easy planning. 

And I should go back to my flaky test.
┐(￣∀￣)┌
Inspecting loaded Perl modules
Tags: perl
Published: 2021-08-20 12:03:59

```perl
#!/usr/bin/env perl

use Acme::Prereq::F; 

while (($k, $v) = each (%INC)) { 
    print "$k => $v\n";
}
```
That produces:
```bash
strict.pm => /usr/share/perl/5.26/strict.pm
warnings.pm => /usr/share/perl/5.26/warnings.pm
Acme/Prereq/F.pm => /usr/local/share/perl/5.26.1/Acme/Prereq/F.pm
```

# :tada:
Where do you write code examples?
Tags: react, productivity, programming, discuss
Published: 2021-08-20 12:03:53

I'm starting my blog over at https://konradmatej.hashnode.dev/ and I've been writing some React code examples for a post. I've been doing it in my code editor as of now, but I do get a lot of errors due to package.json is not being setup.

I was thinking of setting up an example project to write this code samples.

Do you guys have any suggestions? Do you use any tools?
Learning Web3 in Public
Tags: web3, blockchain, ethereum
Published: 2021-08-20 11:54:54

Over the past couple of months I've been reading into Blockchain and Ethereum development. It's been interesting to learn about at first but the more I learned the more excited I got about the technology. Aside from the incredible lucrative salaries out there this technology is in its infancy and we're at a point where we can really see something new and powerful build up from the ground up. 

I decided to create a podcast I've named Side Chain, to document my learnings and hopefully inspire others to learn with me. In the first episode I talk about what a blockchain is and some resources I have been using to learn. Check out the episode and resources on the link below! As of writing this post the podcast is up on Anchor and Spotify with more platforms being rolled out as well. 

https://anchor.fm/sidechain

Are you learning about things in the Web3 space as well? Would love to know what resources you are using to learn!
React hooks: useReducer
Published: 2021-08-20 11:52:50

## 1. Definition

**useReducer** is usually preferable to useState when you have complex state logic that involves multiple sub-values or when the next state depends on the previous one.

It accepts a reducer of type **(state, action) => newState**, and returns the **current state** paired with a dispatch method. (If you’re familiar with Redux, you already know how this works.

Here is the countReducer example;

```jsx
const initialState = { count: 0 }

const counterReducer = (state, action) => {
  switch (action.type) {
    case 'increment':
      return {count: state.count + 1};
    case 'decrement':
      return {count: state.count - 1};
    default:
      throw new Error();
  }
}
```

## 2. Specifying the initial State

There are two ways to initialized the useReducer state;

### 2.1. Basic

We can just give it as a second argument to useReducer call;

```jsx
const [state, dispatch] = useReducer(
  countReducer,
  { count: 0 } // second argument
);
```

### 2.2. Lazy Initialization

We can also initialize it lazily by giving it as a third parameter as a function;

```jsx
const initState = (defaultCount) => ({ count: defaultCount })

const Counter = ({ counter }) => {
	const [state, dispatch] = useReducer(
	  countReducer,
	  counter, // second argument
		initState // third argument
	);
	
	// Rest of the component...
}
```

## 3. Usage

After we initialize it we just need to call dispatch functions that we are getting from useReducer hook and use it as a handler inside our elements.

>React guarantees that dispatch function identity is stable and won’t change on re-renders. 

```jsx
const Counter = ({ counter }) => {
	const [state, dispatch] = useReducer(countReducer, 0);
	
	return (
    <>
      Count: {state.count}
      <button onClick={() => dispatch({type: 'decrement'})}>-</button>
      <button onClick={() => dispatch({type: 'increment'})}>+</button>
    </>
  );
}
```

## 4. Links
- [React useReducer docs](https://reactjs.org/docs/hooks-reference.html#usereducer)
Variables and Data Types in Dart
Published: 2021-08-20 11:38:42

In addition to general data types such as String, integer, we use different; We will talk about 2 important data types.

* var
* dynamic

The `var` data type does not have a specific value. We can assign any variable we want, it doesn't matter. You can give a string or an integer value if you wish, to the variable defined by `var`. You can see examples below.


```dart
var name = 'Baransel Arslan';
var age = 20;
var message = 'Welcome! $name';
var message2 = 'Welcome! ${name.toUpperCase()}';
```

The `dynamic` data type has a mutable structure. We can define the variable we created with `dynamic` in the first string data type and then assign an `integer` value to the same variable. Of course, I use this `string` and `integer` example all the time because they are the most common variable types. Variables such as `double`, `bool` can also be used.

```dart
dynamic variable = 'Baransel Arslan';
variable = 20;
```

Follow my blog for more [baransel.dev](https://baransel.dev/).