teleren/devto huggingface dataset:
Javascript Tagalog - " Let " Variable Declaration
Tags: javascript, let, filipino, tagalog
Published: 2022-08-05 01:49:00

**Ano ngaba ang "Let Variable Declaration**
Yung "Let Variable" ay isang type ng block scoped variable declaration sa javascript na pwedeng ma redefined/re-assign later.


![Let Variable Declaration Javascript Tagalog](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/o64ioz2ohb06lk2lolii.PNG)

**Scope**
Ang isang "Let Variable" ay **block-scoped** meaning na accessible lang siya inside a block {} and lower blocks, and yeah if na define mo siya sa global scope then pretty much ma access mo siya kahit saan.

![Let Variable Declaration Javascript Tagalog](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/9455mc8qd1owuem1hbaz.PNG)

kung tatry mo i access ang let variable sa outside block na kung saan siya na defined. Di mo siya makukuha, sad.

![Let Variable Declaration Javascript Tagalog](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/smx1r5jhyocxdq0d0p2x.PNG)


---
**More tagalog Javascript Learning Resources:**
https://javascript-methods-in-tagalog.vercel.app/
DEV-To Clone
Tags: 100daysofcode, kodemia, fullstackdev, javascript
Published: 2022-08-05 00:08:00

This project has been very exiting since is the first project in which the some functionalities have been added using JavaScript, the html is modified using the DOM. 

Also in this project there are some requests to a firebase Data Base in which some information related to the posts, time elapsed since they have been publised, also a basic computation of the time needed to read each post depending on the number of words of each post.

This project was developed with the next teammates from KODEMIA



![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/477b06q2ysqqj9qibeo4.jpg)

To manage the workflow and track the activities status a miro bord was used


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

[MIRO Board](https://miro.com/app/board/uXjVOiLK9ME=/?share_link_id=282979297476)



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

[Mini-Deck](https://create.piktochart.com/output/21a3bfad2ec6-recruitment-dashboard)
Day 3 of Elm- Records
Tags: elm, beginners, webdev, functional
Published: 2022-08-04 23:55:00

## Records
According to Richard Feldman, 

> Records are plain, immutable data.

They are syntactically similar to Javascript objects but not exactly the same. They have no `prototype` and no `this` for example. What I really want to talk about is **record updates**. 

Record update simply refers to how we mutate the properties of a record in Elm. The term "mutate" here is sort of a misnomer. A record update does not mutate the old record, they instead create new records based off of the old record. For example, we have this bit of elm code:

```elm
record = { a = 1, b = 2 }

newRecord = { record | a = 5 }

```

The code above does not mutate `record`. It looks a lot like the `.` operator for mutating objects in Javascript but it is not the same. This is a lot closer to `spreading` `record` into `newRecord` and updating the fields you need. The way I think about this behaviour is along these lines in Javascript:

```javascript
const record = Object.freeze({ a: 1, b: 2 });
const newRecord = Object.freeze({ ...record, a: 5 });

```

We are using `Object.freeze` here because we need the objects returned in both cases to be immutable. You see that in both cases, no actual mutation does happen. This is good because it saves us a lot of trouble with side effects resulting from passing values by reference.

This is very very interesting!
DDoS Hosting Plans
Published: 2022-08-04 22:35:10

Server Basket offers DDOS protection as a complimentary package with all its Cheap VPS plans. At our website , you can find different types of Enterprise-Class [DDoS Protection VPS](https://ultahost.com/ddos-protected-vps) Hosting plans that are tagged with Low Price , completely managed and can be Subscribed for Monthly, Quarterly, Semi-Annually and Annually options.
Be kind.
Published: 2022-08-04 22:10:00

Every now and then you bump into a person on your team who think that code is the only thing that matters. That person will treat other team members like a vending machine, give them a task and expect some result back. They will do their best to make you feel small and stupid because it's too hard for them to see other people succeed. 
If you've been one of those people, please remember that you were in the same position a few years back, you had to learn and go through the same process and training to get to where you're at now. 
It's not fair to treat others as lesser than you because they haven't had the chance to spend the time that you did practicing your craft. 
Writing code is not about the code itself, it's really about the impact that does on people's lives. If you make code the priority, you missed the point. It's not. Developers are people and they deserve to be treated kindly and with respect. 
Learn to be an encourager, help people see the gold in them, celebrate their victories and breakthrough, and for God's sake be kind when giving feedback. 
Someone once said: "Everyone you meet is fighting a battle you know nothing about. Be kind. Always." 
Oh, and stop calling people "resources", they are not, they are people who are working hard to feed their families and live an honorable life. if they have a different color than yours, they're not less than you, if they come from a poorer county, they are not less than you. 
Okay, enough ranting. 
Please be kind to others, and remember that people are more important than your code.
How to Download Torrent Files - Python
Tags: python, tutorial, opensource, serverless
Published: 2022-08-04 22:09:00


![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/blwkxmkuizv35xrbh5m6.jpeg)
I searched a lot and I didn’t find anything EASY and FAST for downloading torrent files with python on Google colab. So I decided to start writing my own wrapped library for downloading torrent files.

TorrentP is a great and easy way to download torrent files, on your local machine or even google Colab!

Make sure you have Python installed, Then you can download it with this command on your terminal:

pip install torrentp After that you just have 3 steps:

Create a .py file
Copy and paste 3 lines
Run the script file and wait until it downloads completely!
If you have a torrent file use it like this:

```
from torrentp import TorrentDownloader
torrent_file = TorrentDownloader("test.torrent", '.')
torrent_file.start_download()

```
You don’t have the torrent file? just a magnet link? no problem

```
from torrentp import TorrentDownloader
torrent_file = TorrentDownloader("magnet:...", '.')
torrent_file.start_download()

```
It’s free and open source! you can fork and star it on [Github](https://github.com/iw4p/torrentp
) if you enjoy it or if you like to add a new feature!

Project on GitHub: [Github](https://github.com/iw4p/torrentp
)
PyPi Link: [PyPi](https://pypi.org/project/torrentp/)

Don’t forget to star it!
Finite Field
Tags: crypography, digitalsignature, bitcoin
Published: 2022-08-04 21:56:00

Finite field simply refer to a set of numbers which have a beginning and end, that is they are finite which basically means that the numbers in the set are countable.
For a set to be a finite field it
**1.** Has  to be closed under two binary operations; Addition and Multiplication.

This means that if you add two numbers in the set, the result must be in the set also.
Also if you multiply two numbers in the set the result has to be in the set.
Consider a set {0,1,2} to check whether this set is closed under addition and multiplication you perform the binary operation on all possible combinations. 
if the results are elements of the set, it's closed else it's open and not a finite field.

![Multiplication of a set in a finite field](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/1yxnsapmpoy6ejl3a6wg.png) 


![Addition of a set in a finite field](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/yrcbaktkiutz5y0yf4kp.png)

The result of multiplication in third row; 3 and 4 are not elements of the set hence the set is not closed under multiplication.
Also the result of 2 + 2 results 4, in the third row above. which is not element of the set.
This set is not closed under addition, and multiplication binary operations.
_Note_ : we can define addition a little differently
to make this work, but using “normal” addition, this set is not closed.
_In finite field usually the addition and multiplication is not the same with normal integer addition or multiplication._

**2** There is 0 in the set, such that if you add it to any element in the set, the result is the element.
_e.g_ 0 + a = a.

**3** There is 1 in the set such 1.a = a.
**4** For each element in the set there must be it inverse.
_e.g_ a . a-1 = a;
 **5** For Each element in the set there must be equivalent negative of it.
 _e.g_  -a + a = 0


If a set of element satisfy all the above conditions then its a finite field.

## Order of a finite field
Order of a finite field is the number of elements in the set. 
_e.g_ FieldA = {a,b,c,d}  has 4 element therefore its order is 4.
_e.g_ FieldB = {0,1,2,3,4...,n}  has n-1 element therefore its order is n-1.

##finite field over a prime order
This means that the number of elements in the set is a prime number.
e.g FieldC = {0,1,2,3,4,5,6} the order is 7, which is a prime number and hence the Finite field is over a prime order.


Thank you for reading, I hope you understand what finite fields are, its required to understand some cryptographic topics like Eliptic curve digital signature.
Drop any comments or corrections.

references
1. _Programming Bitcoin from scratch by jimmy song_
2. [Finite fields Wikipedia](https://en.wikipedia.org/wiki/Finite_field)
Day 608 : Tokyo
Tags: hiphop, code, coding, livelongdev
Published: 2022-08-04 21:55:38

_liner notes_:
- Professional : Had some meetings but was able to get some stuff done. Figured out the issue I ran into with the demo I'm creating. There was a thing missing in the SDK and the person working on it now knows so they will put it in. This is why we put things in beta. haha. Got some other stuff finalized and then started go through the documentation to apply for a visa to go to Japan. Looks like I may need to go to Miami. Going to work with a coworker to help me finish up filling out the documents. They previously had to do the same thing. Looking for flights and hotels in Tokyo has me pretty excited for the trip. haha

- Personal : Last night, I reviewed my Japanese. Made a couple of silly errors in the review, but I think I'm doing well. Got my side project to the point where data from the front end is saved to the backend. Also went through some tracks for the radio show.

![A Mu Cang Chai, Vietnam mountain valley with steps carved out of the mountain sides to be used as fields with a river flowing through the center](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/4usox8vk1soll2k8b998.jpg)

Going to work on the visa documentation so that I don't have too much stuff for my coworker to help me out with. Also got some Japanese reviews scheduled for later as well. I've been doing pretty well. I think the WaniKani method is working for me. For my side project, I want to list the data sent from the front end in the admin panel. I need to be able to approve and disapprove the suggestions and save it to the database. If I have time, I want to be able to show the approved suggestions on a map in the front end. Oh and I want to work some more on the radio show. Let's see how far I can get.

Have a great night!

peace piece
Dwane / conshus
https://dwane.io / https://HIPHOPandCODE.com
{% youtube 26LBLr5AEQM %}
What Makes an Effective Engineer?
Tags: productivity, leadership
Published: 2022-08-04 21:54:00

How come Twitter has 7500 employees, whereas FTX – the crypto exchange company – grew to $18B with just 6 engineers?

If you ask their CEO, Sam Bankman-Fried, this is not an accident.

In fact, many of their 10- and 100x-ers were rejected by bigger employers like Twitter.

Sam claims these engineers learned to be effective *on the job.*

So what makes them special?

Effective engineers do not work more hours.

They simply follow 3 simple rules:

**1/ Prioritize High-Leverage Work
2/ Give Accurate Time-Estimates
3/ Grow Your Team**

I summarized them here:

{% embed https://www.youtube.com/watch?v=9nKM8KbqvKE&ab_channel=GusTheCooder %}
The Art of Letting Your Devs Step Up w/ Equinix’s Rajah Kalipatnapu
Tags: devops, podcast, leadership, management
Published: 2022-08-04 21:47:02

Like every other team-based profession, engineering needs leaders. But identifying a true, tested and proven road for taking a programmer and putting them in a position of managing projects & priorities is still a work in progress.

That’s why I was so excited to speak with Rajah Kalipatnapu, Global Head of Product Engineering at Equinix.

One of the most experienced minds in building world-class engineering orgs, Rajah credits his success with focusing on different ways to incrementally identify leaders and empower them to be the managers their business needs and their colleagues admire.

From his unique perspective on creating CEOs for features to dealing with beloved employees who can’t code up to the teams’ needs, Rajah’s theories on how and when to let your developers step up to the moment need to be heard.

{% spotify spotify:episode:13ntW6nU9BKD45InTUTyzf %}

## Episode Highlights Include:
* (2:03) Rajah's background 
* (6:06) What does it mean to be the "CEO" of a feature?
* (9:20) How features change when devs take charge
* (11:11) Less micromanagement = less bad things happening
* (14:57) Great employee! ...but not a great dev
* (17:54) Molding managers

## Engineering Insights before anyone else....
*The Weekly Interruption is a newsletter designed for engineering leaders, by engineering leaders. We get it. You're busy. So are we. That's why our newsletter is light, informative and oftentimes irreverent. No BS or fluff. Each week we deliver actionable advice to help make you - whether you're a CTO, VP of Engineering, team lead or IC  - a better leader.*

*It's also the best way to stay up-to-date on all things Dev Interrupted - from our podcast, to trending articles, [Interact](https://devinterrupted.com/event/interact/) & our [community Discord.](https://discord.com/invite/devinterrupted)* 

### [Get interrupted.](https://devinterrupted.com/subscribe/)

![Weekly Interruption](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/jj1owca0068hk9f2gd11.png)
Bootstrap 5 Auth Scaffolding - Laravel 9
Tags: laravel, webdev, programming, tutorial
Published: 2022-08-04 21:40:00


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



Hola Devs, are you thinking of adding authentication to your Laravel project and having a tough time going about it. Don't worry about that anymore, let's create that bootstrap auth scaffold in a few minutes in our project. Just follow along and you are good to go.

> You need to have the latest version of [node](https://nodejs.org/en/) installed for this turtorial to be a success


### Create a Laravel 9 project.

```
composer create-project laravel/laravel authScaffold
```

![create project](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/0ztu26vl6qosb9vc57q6.png)
### Navigate to the directory
```
cd authScaffold
```
![cd](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/jabnnpyun41xz9e7g0ev.png)
### Create a database and set it up in .env file

![create database](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/j09w1wqr5ve04vm4q8x1.png)

![env](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/4qcoao1gwvvb2mcjra75.png)

![env](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/coudw7e5ikhlw1rjbc8w.png)
### Install Laravel ui

```
composer require laravel/ui
```

![laravel ui](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/gh1x2mjgxplu0y6ril0a.png)
### Install Bootstrap Auth Scaffolding

```
php artisan ui bootstrap --auth
```

![auth ui](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/301nlrkpgus66451p0sb.png)
### Install and build npm
```
npm install && npm run dev

npm run build
```

![install and dev](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/wowy23u84igkdba5gpea.png)

![run build](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/tuj0jjhk15yhuckq57vb.png)
### Make a migration
```
php artisan migrate
```

![migration](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/14cxsunl4v12shzpgu4e.png)
### Start local server
```
php artisan serve
```


![run server](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/8k93mq42vha791akxinb.png)
```
http://localhost:8000/
```

## Preview

#### Home Page


![Home Page](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/79lqi4iirzw7uppzzv6y.png)
#### Log in Page


![Log in Page](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/psjg2zpnf64nl6ippp7y.png)

#### Register Page


![Register Page](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/z9b3q0yw708lsle19h8i.png)
How Food Is Culture
Tags: writing
Published: 2022-08-04 20:24:31

I've been thinking a lot about food as of recently. Well, not just food, but more about how cuisine links to culture, and how much we are all VERY tied together.

It blows my mind that there are people in this world who actively choose to not like others based on where they were born, and it blows my mind even more when folks like that won't even try the food of another culture.

In order to go down this rabbit hole further, my Wife and I just recently explored the history of the bouillon cube, with this [Homemade Chicken Bouillon Powder](https://thembites.com/homemade-chicken-bouillon-powder/).

I hope you're able to go through this, and find some value, as we did.
Top 3 Awesome Projects Using HTML CSS JavaScript
Tags: javascript, beginners, tutorial, css
Published: 2022-08-04 19:55:17

{% youtube s-UfCodSUGo %}

Top 3 Awesome Projects For Beginners Using HTML CSS JavaScript

This video will show you top 3 projects for beginners using html css javascript

📺 Live Demo
-----------------------------
[Website 1](https://codewithsadee.github.io/pod-audio_sreaming-app-landing_page/)
[Website 2](https://codewithsadee.github.io/naft-nft_marketplace/)
[Website 3](https://codewithsadee.github.io/tourly)

📙 Github Repo
-----------------------------
[Website 1](https://github.com/codewithsadee/pod-audio_sreaming-app-landing_page/)
[Website 2](https://github.com/codewithsadee/naft-nft_marketplace/)
[Website 3](https://github.com/codewithsadee/tourly)

---

HI 👋
I'm Sadee (webdev)
In this channel I make videos about Complete Responsive website.
You can checkout my channel 👇

📺 My Channel : [codewithsadee](https://www.youtube.com/channel/UC1PZHWV6VvICTL1LgFUZq6g)
🔔 Subscribe : [subscribe now](https://www.youtube.com/channel/UC1PZHWV6VvICTL1LgFUZq6g?sub_confirmation=1)

---

⏱️ Timestamps
-----------------------------
0:00 - Project-1: Demo
2:34 - Project-1: Code
1:13:09 - Project-2: Demo
1:16:27 - Project-2: Code
3:07:09 - Project-3: Demo
3:11:42 - Project-3: Code

---

[![Become a patreon](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/fnjl14kdm5qf08hu5lop.png)](https://www.patreon.com/bePatron?u=62535867)
Run JavaScript In VSCode
Tags: javascript, vscode, run
Published: 2022-08-04 19:41:00

Hey guys! So just been posting several of my coding tutorials in a row that I've been working on for a while.

I like to spend time writing and editing my content. So I usually record a video along with a blog post.

VSCode is absolutely my favorite IDE. (I switched from IntelliJ/Idea WebStorm which used to be my first IDE, but their UI is just too slow for me) I use it for pretty much all coding for work and personal projects.

### Running JavaScript From Terminal in VSCode

If you're working on a JavaScript project in VSCode, you might want to run your JavaScript files directly from the terminal. 

Below are some videos that can help you get started fast.

{% embed https://www.youtube.com/watch?v=RSti2p3HHtE %}
[How To Run JavaScript In VSCode Video #1](https://www.youtube.com/watch?v=RSti2p3HHtE)

{% embed https://www.youtube.com/watch?v=2-VFVxvz7xE %}
[How To Run JavaScript In VSCode Video #2](https://www.youtube.com/watch?v=2-VFVxvz7xE)

Luckily, Visual Studio Code makes it easy to do this. All you need to do is open up your terminal (Ctrl+`), and then type the following: 

`> node {filename}`

Replace {filename} with the name of your javascript file. For example, if your file is named "script.js", you would type: 

`> node script.js`

This will run your javascript file and show any output in the terminal window. 

Keep in mind that you can also use this method to run javascript files that are located in a different directory. To do this, simply type the path to the file before the filename. For example: 

`> node C:/Users/username/Desktop/script.js`

This would run the javascript file "script.js" that is located on your Desktop. 

You can also use relative paths to run javascript files that are located in different directories. Relative paths are based on the current location of your terminal. So, if your javascript file is located in a folder called `"js"` that is in the same directory as your terminal, you could run it by typing: 

`> node js/script.js`

This would run the javascript file "script.js" that is located in the "js" folder. 

You can also use the `"../"` notation to go up one directory. So, if your javascript file is located in a folder called "js" that is in the parent directory of your terminal, you could run it by typing: 

`> node ../js/script.js`

This would run the javascript file `"script.js"` that is located in the `"js"` folder. 

Hopefully this helps you run javascript files from the vscode terminal!
Learn Java for Free!
Tags: java, tutorial, series, beginners
Published: 2022-08-04 19:26:36

---
title: Learn Java for Free!
published: true
description: A course for beginners in the Java programming language.
tags: java, tutorial, series, beginner
# cover_image: https://images.squarespace-cdn.com/content/v1/6164600856dc2f588c13341e/1656384353513-5KXAB07YTH4BTFUJ2JGL/Learn+Java+for+FREE.png?format=2500w
# Use a ratio of 100:42 for best results.
---
 I am working on a Learn Java for Free playlist on my YouTube for those looking to learn Java from the beginning. Courses will start with the basics and scale up over time. Check it out and consider subscribing!

[Learn Java for Free Course](https://youtube.com/playlist?list=PLdKtjoDJFbs8Q2tl3jq9n688cZiGNXhkN)
How to measure CPU time in Nodejs?
Tags: node, javascript
Published: 2022-08-04 19:21:00

The 𝗽𝗿𝗼𝗰𝗲𝘀𝘀.𝗰𝗽𝘂𝗨𝘀𝗮𝗴𝗲 method returns the user and system CPU time usage of the current process, in microseconds.

These values measure time spent in user and system code respectively, and may end up being greater than actual elapsed time if multiple CPU cores are performing work for this process.

The result of a previous call to 𝗽𝗿𝗼𝗰𝗲𝘀𝘀.𝗰𝗽𝘂𝗨𝘀𝗮𝗴𝗲 can be passed as the argument to the function, to get a diff reading.

Of course, this method can be used with the 𝗻𝗼𝗱𝗲:𝗼𝘀 module to calculate the CPU usage percentage. I'll post about that later.


Did you learn something new today?

Like and share this post, and follow me for more!

![cpu usage](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/jlvctwelxcu0bkpez1a4.png)