teleren/devto huggingface dataset:
You'r afraid of what ?
Tags: webdev, startup, discuss, watercooler
Published: 2021-05-03 15:59:38

![Title](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/b1fhnmyrmaprx1eu1sdp.jpg)
# So Whats the matter ? 

As Developers we have a lot of projects flying around other hoping its gonna take over the world. Some of them do their work we wont get the same  excitement after we are starting a project and you'll end in second thoughts and you will come up with thoughts of scrapping them thus not getting anything out of them except the loss of time. These excuses,mostly start with, it won’t work because (some excuse) Like : 

..I don’t have enough money


..no body is going to invest


..it ain’t worth the risk


All of us have questions like this when we think of accomplishing something new. And it is usually the questions like this which hinder our way to the success.  In my experience, I have come to terms with the fact that it all depends on your reaction whether you take the excuses like these as challenges to be tackled or as the reasons for why you will fail.

# Thinking success conditions your mind to create plans that produce success. Thinking failure does the exact opposite.

# Failure thinking conditions the mind to think other thoughts that create failure.

 
I have done so many side projects and put them on the shelf, staying in the safe zone . And you should change that.

And thats it. What are you afraid of? What is it that is holding you back? What is your excuse to not start? put your the comment section below

# Conclusion

# Keep Coding !!!

# 🙏 Share with your friends on [Twitter](https://twitter.com/intent/tweet?text=%20Your%20Afraid%20Of%20What%20?%20https://dev.to/alestor_123/you-are-afraid-of-what-5b44)
Why is Laravel PHP framework beneficial for Enterprises?
Tags: laravel, webdev, php, development
Published: 2021-05-03 15:58:59

---
title: Why is Laravel PHP framework beneficial for Enterprises?
published: true
description: Laravel for enterprise applications: Find out why Laravel PHP framework is beneficial for the enterprises along with the enterprise apps built with Laravel.
tags: Laravel, webdev, php, development
cover_image: https://www.techtic.com/wp-content/uploads/2021/04/Why-is-Laravel-PHP-framework-beneficial-for-Enterprises.png
---

Think backend

Think PHP and no other web development languages.

Though PHP is turning into the default backend web development languages for enterprises, developers are often confused between the available frameworks:
<ol>
 	<li><strong>Laravel</strong></li>
 	<li><strong>Symfony</strong></li>
 	<li><strong>CodeIgniter</strong></li>
 	<li><strong>CakePHP</strong></li>
 	<li><strong>Zend</strong></li>
</ol>

However, the experienced PHP developers, who have tried and tested almost all of these frameworks often bet on Laravel.

Did you ask why?

Because of its documentation, migrations, database seeding, Blade, Elixir, Laracasts, and more.

Talking about its popularity, GitHub is one of the principal repositories with about 64,600 stars as of writing. It has a huge community and holds capabilities for building software that requires real-time event broadcasting, expressive and intuitive database ORM, a simple and fast routing engine, and robust background job processing abilities.

<ul>
 	<li>What are the Benefits of Laravel for Developing Sustainable Applications?
<ul>
 	<li>1. Security</li>
 	<li>2. Improved Performance</li>
 	<li>3. Build Real-time Apps</li>
 	<li>4. Ease of Developing Multilingual Apps</li>
 	<li>5. Provides Efficient Traffic Management</li>
 	<li>6. Has Big Community</li>
 	<li>7. Develop Quick Web Applications</li>
 	<li>8. Powerful Authorization</li>
 	<li>9. Blade Templating Functionality</li>
 	<li>10. MVC Architecture</li>
 	<li>11. Database Migration Process</li>
 	<li>12. Unit Testing</li>
</ul>
</li>
 	<li>What are the Top Businesses Using Laravel?</a>
<ul>
 	<li>1. Deltanet Travel</li>
 	<li>2. Neighbourhood Lender</li>
 	<li>3. MyRank</li>
 	<li>4. World Walking</li>
 	<li>5. FusionInvoice</li>
 	<li>6. Mortie</li>
 	<li>7. Plan-Professional</li>
 	<li>8. Wide Linked</li>
 	<li>9. Remote Home Check (RHC)</li>
</ul>
</li>
</ul>

If you want to know more abour benefits of laravel development for enterprises then visit at <a href="https://www.techtic.com/blog/laravel-enterprise-applications/">https://www.techtic.com/blog/laravel-enterprise-applications/</a>
Module 6 - Next-Level JavaScript
Tags: html, css, javascript, scrimba
Published: 2021-05-03 15:56:59

**[Click Here](https://dominikgorczyca.github.io/Pac-Man/)** to play PAC-MAN and **[Click Here](https://dev.to/dgx32123/how-to-not-make-pac-man-1b05)** to see how I did it, what I struggled on, what I learned and what really happened to my website. 

This module was very short, I learned many new things from next-level JS(many which I already knew about) like: 
* Template literals - 
`'string text ${expression} string text'` (couldn't escape backtick so it's apostrophe instead)
* Destructuring assignment - `[a, b] = [10, 20];`
* For of loop - `for (let element of elements) console.log(element);`
* Arrow functions - `() => "Hello world"` 

Then there were few challenges to accomplish but they were extremely easy like *find largest number in array* but at least I could try out some new things from before.

The final part took me **2 months** though. The challenge was to create simple [Pac-man](https://scrimba.com/scrim/co83242cdb9af6cf295e2c23d) game but I was unsatisfied when I saw what we will get at the end:

![a basic Pac-Man game](https://i.imgur.com/iJkVLru.png)

Nothing against the teacher but I decided to be ambitious and that instead of going along **I will do it from scratch myself**. It took me over 2 months and it was many times bigger than my last biggest project, after some confusion with weird bugs caused on Github Pages I discovered that [Adblocker Ultimate](https://chrome.google.com/webstore/detail/adblocker-ultimate/ohahllgiabjaoigichmmfljhkcfikeof?hl=en)

**Update:** it turned out this problem exists only on Github Pages and it works well on CodePen so you can play to your hearths content in not buggy version! 
**Update 2:** In the end what caused the problem was adblocker extension so the problem was finally resolved!
My First Blog! Going Back to School for Myself and My Future.
Tags: javascript, devjournal, beginners, gamedev
Published: 2021-05-03 15:34:37

![Alt Text](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/vbqceenhm0lh4o09ghtj.png)
#It's-a me!#
My name is Duke, and I've been coding for about 2 1/2 years now. I've gotten my start volunteering my time on an emulated EverQuest server, Shards of Dalaya. I learned Lua, a little bit of C, and got a glimpse at how the world of game development goes. Slightly unrelated, but I've also been a musician for 21 years, playing live events, recording CD's with friends, and making my own product at home. In a way, I hope that one day my two worlds could collide, as I would LOVE to work on music for a video game, or any media really.

As it says in the title, I've returned to school, specifically Flatiron School for Software Engineering! As of this post, week 1 has wrapped up, and the challenge is real. It's been slightly daunting, but I'm ready for it.

HTML and CSS has been fun to learn, especially it's artistic elements, but JavaScript has been a big wall to tackle. I knew about functions before with Lua, but *function expressions*, *anonymous functions*, returning function after function after function... my head is still spinning from some of this work, but it's only been week one. I'm still confident in my ability to overcome these obstacles, and I'll be blogging about it more. Who knows, if I become good enough at this stuff I'm learning, maybe my future blogs will be on my game development!

This blog will be a little shorter, as I planned on it being more of an introduction of myself. Stay tuned for my first JavaScript project within the month!

~ Duke




######images

1. https://www.alamy.com/child-getting-on-school-bus-back-to-school-and-happy-time-little-ready-to-study-home-education-image366499586.html

2. me
How Parallel Computing Will Affect The Security Industry
Tags: security
Published: 2021-05-03 15:20:24

CPUs and GPUs have different architectures and have different use-cases.

CPUs are the “brain” behind most of our electronic devices and are good at doing lots of different things. They are very general-purpose processors, coordinating the wide range of tasks your computer will do.

GPUs, on the other hand, are much more specialized computing engines. They are designed to handle the processing of 3D images efficiently, but rendering graphics is pretty much computing loads of matrix arithmetic.

The types of computations that GPUs excel at are called parallel computations: tasks that can be broken up into smaller, independent computations and be performed simultaneously.

The concept can be visualized in this [1:30 minute video](https://www.youtube.com/watch?v=-P28LKWTzrI), where Mythbusters Adam Savage and Jamie Hyneman show a painter-robot they built to illustrate how parallel computing works.

Generally speaking, the more a task can be broken up into smaller independent pieces, the faster, the larger calculation will happen. And the number of pieces the original task can be split into is largely determined by the number of cores present on the GPU.

If you look at the number of GPU cores over the years, you will see that they have been increasing exponentially in the past few years. And while most CPUs top out at a few dozen cores, GPUs have thousands of cores. The latest high-end GPUs from Nvidia has more than 10,000 cores.

This unparalleled growth led developers to start exploring the capabilities of GPUs to more than graphical processing, in what is now known as “general-purpose computing on GPUs” (GPGPU).

To aid developers in making use of their GPUs full capacity and allow the CPU and GPU to process data bidirectionally, Nvidia created CUDA, a software platform that makes it easier for developers to build applications using APIs.

They are always collaborating with developers to refactor the algorithms used in their applications to make the most use of Nvidia’s hardware. The result is very good integration with widely-used applications, such as Adobe Photoshop CC, Adobe Premiere CC, and Autodesk Maya.

![Security](https://images.ctfassets.net/23aumh6u8s0i/32itEoNZjHq0aRwM52iGLS/7e87c99c5af5913d84af97ed2ddba5ef/security-sep1.jpg)

[Read more...](https://auth0.com/blog/how-parallel-computing-will-affect-the-security-industry/?utm_source=content_synd&utm_medium=sc&utm_campaign=security)
Ace Coding..
Published: 2021-05-03 15:18:37

You just want to automate things, create beautiful websites or just create a small game. You require coding for that, yes that sentences or statements that appear on the screen with all colors :)

During this pandemic we are staying at home and want to learn something. Well this is the best time to learn that something new like "Coding". But you are confused as to where to learn it from? Well, no worries I'll help you with that. 

Well, **What is Coding?**
We can say that it is a set of instructions or a programming language given to the computer to perform a certain task. Our day starts with the machines that are pre-programmed to do certain tasks.

The code can just start with a simple program like
**print("Hello")** to a creating huge websites like the **Amazon**.

I am just a beginner who has started exploring the world of coding especially in **Python Language** and here are the sources from where I have learned coding.

1. **Coursera**
https://www.coursera.org/specializations/python
This is specialization course which takes 8 months to finish, but can be completed at your pace. This course starts from the basics to accessing the web data using python. 

2. **Clever Programmer YouTube**
https://www.youtube.com/channel/UCqrILQNl5Ed9Dz6CGMyvMTQ
This Youtuber covers everything from the tiny tiny basics to creating React JS clones of famous social media sites and websites. Also, we get expert programming tips from him.

3. **Introducing Python by Bill Lubanovic**
This is for all the book readers and who want to have a deep concept understanding of **Python**.

4. **binarysearch.io**
https://binarysearch.com/
This is the website that helps us practice all the programming questions asked in interviews of companies like **Google**,**Microsoft**,**Apple**,**Spotify** and all. You can also write an editorial on the problem you solved while helps you to analyze the given problem. 

*" A little tip: Practice coding or solving problems every day, at any time , let it be one or two programs, but don't give up ;)*

Well, these were the sources where I started learning coding. I hope they will benefit you and help you become what you want to be!! :))
A git feature commit squashing approach
Tags: git
Published: 2021-06-16 14:41:10

---
title: A git feature commit squashing approach
description:  "From Ramon Snir"
published: true
date: 2021-05-03 15:00:00 UTC
tags: git
canonical_url: https://katiekodes.com/git-squash-feature-commits/
---

This is a trick that [Ramon Snir](https://www.linkedin.com/in/ramonsnir) taught me to transform a git-tracked feature branch with hundreds of commits _(which I've already pushed to a GitHub-hosted remote)_ into looking like it never had anything but a single commit with a message of "Meaningful fake first commit message."

1. `git checkout the-feature-branch && git reset --hard origin/the-feature-branch`
    * This resets your local branch to what's currently on GitHub
2. `git merge origin/main && git reset --soft origin/main`
    * This makes your Git staging area include your branch's content, but your Git base commit be `main`
    * Note that this does not pull in actual changes from the remote `main` that have happened since you started working on the feature branch.
3. `git commit -m "Meaningful fake first commit message"`
4. `git log ^origin/main HEAD` to verify
5. `git show HEAD` to see that you're pleased with the result
6. `git push --force` only if you're happy with everything from the previous steps
    * This should be the last operation because it's more-or-less irreversible

If you're on Windows, your ordinary command line interface _(CLI)_ won't recognize the `&&`s in these commands, so instead use the **Git Bash** CLI tool that came with [this version of Git you likely installed](https://git-scm.com/download/win), because it uses a mini-Unix-like CLI called [MinGW](https://en.wikipedia.org/wiki/MinGW).
[JavaScript] -event.Target vs event.currentTarget
Tags: javascript, dom, event, currenttarget
Published: 2021-05-03 14:53:13

event.target **Points to element, which triggers the event**.

event.currentTarget **Points to element, to which the Event Listener is attached to**.

Confused?

Let's consider this example, where a button is nested inside a paragraph and both button and paragraph having click event.


```
<p id="paragraph">
  Lorem ipsum dolor sit amet consectetur adipisicing elit. Libero,
  aliquid? <br />
  <button id="btn">Click Me</button>
</p>
``` 


```
document.getElementById("paragraph").addEventListener("click", 
  function (event) {
    console.log(
    `Target = ${event.target.tagName},
     Current Target = ${event.currentTarget.tagName}`
    );
});

document.getElementById("btn").addEventListener("click", 
  function (event) {
    console.log(
    `Target = ${event.target.tagName}, 
     Current Target = ${event.currentTarget.tagName}`
    );
});
``` 

When we click on the paragraph the event.target and event.currentTarget points to the same element **i.e paragraph**. Because, element which triggers the event and element where event listener is attached are the same.

Now, what happens when we click on the Button, Click listener of the button get executed, event.target and event.currentTarget for this button again remains same.

But

Event also bubbled up to the parent element **i.e Paragraph**, Here the scenario is like this.

event.target points to the Button since button is the one who triggers the click event, but event.currentTarget points to the Paragraph and not button, since paragraph is the one where event listener is attached to.

Hoping now the difference between the event.target and event.currentTarget is cleared.

Cheers!
What It takes... I think
Published: 2021-05-03 14:45:42

What does it take to be the most marketable to the job market.
First thing lets start with an analogy. Imagine you are a new product in the grocery store hoping to get purchased. You offer a particular set of qualities that are desirable to a someone. What's the best method to go about getting seen and purchased?

First you should understand exactly what type of product you are and the service that you provide. are you a luxury product, a common product the luxury products don't always get purchased because the common products are more affordable. Are you in the right aisle. How do you expect people to find for example protein bars if they're in the automotive section.
You need to position yourself in the same category so that you are easy to find.

Next is your branding! You need to somehow separate yourself from the competition in order to attract people to you. There are many ways you can do this; with a intriguing logo or brand name, unique colors and design, pricing strategy. The point is you need to be the same but different.

After you've established your branding now its time for marketing yourself. Marketing takes time and money. It  ties back to our first point of knowing yourself and understanding your target demographic to be able to deliver a message that persuades them to buy. (Flyers, BOGO, Deals)

Long Story short

Understand you skillset and what you offer.
Showcase your skillset.
Produce a portfolio that highlights you skillset.
Market your portfolio on popular job sights and social media.
Use Social Media to post about you under-employedness.
Git Log Clears Screen
Tags: git, clearing, less, zsh
Published: 2021-05-03 14:45:32

I'm completely new to Mac and one of the things that kept cropping up was the output of a command showing up and then clearing as soon as I exited it (e.g., git log).

I thought I had slain that dragon with a desperate plea to my Twitter timeline, but I was having to add one for each git command for which I didn't want the behavior. And I'm not even entirely sure blowing away paging entirely even made sense.

```shell
pager.branch=false
pager.status=false
pager.diff=false
```

Finally this morning I happened upon [this article](https://serebrov.github.io/html/2014-01-04-git-log-and-less-keep-output.html) from 2014 that had the following suggesting I add it to my `.zshrc`:

```shell
export LESS=-iXFR
```

Finally it's solved and I could cry happy tears.
What I learned today?: Caesar cipher
Tags: security, python, programming
Published: 2021-05-03 14:35:48

Here I am studying Python and Cryptography at the same time. Just for fun. Oh! lucky man.

So, yesterday I was reading about famous cryptography methods along history, what were the purposes and how they changed in the modern times. Some of them, where really basic... but you know what they say "When a puzzle is solved is easy to understand".

So I was reading about Julius Caesar and it's crypto method for personal correspondency. (Did you know about it? Because I dont.)

This method is really simple, and it's based in a substitution type. In this case every character in the aplhabet gets a number from 0 to 25: A=0, B=1, C=2... Z=25. 

Now you get a number between 0 and 25, that will be named as "key" and get a message to ecnrypt: I will use number 7 as a "key" and this message: "These Romans are crazy!" (yes, it's from Asterix comics). So...

Here we go:
```
Key: 7
Raw: "These Romans are crazy!"
Enc: "AOLZL YVTHUZ HYL JYHGF!"
```
This means that T=A and Z=G. the "original" alphabet was "moved" 7 positions backwards:

|  Plain | A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q | R | S | T | U | V | W | X | Y | Z |
|:------:|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Cipher | T | U | V | W | X | Y | Z | A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q | R | S |

With this script you can test this to encrypt:

```python
#!/usr/bin/env python3

message = "Klaatu Barada Nitko."
key = 7
LETTERS = "ABCDEFGHIJKLMNOPQRSTUVWXYZ"

mode = "encrypt"  # set to 'encrypt' or 'decrypt'
translated = ""
message = message.upper()
# run the encryption/decryption code on each symbol in the message string
for symbol in message:
    if symbol in LETTERS:
        num = LETTERS.find(symbol)  # get the number of the symbol
        if mode == "encrypt":
            num = num + key
        elif mode == "decrypt":
            num = num - key

        if num >= len(LETTERS):
            num = num - len(LETTERS)
        elif num < 0:
            num = num + len(LETTERS)
        translated = translated + LETTERS[num]
    else:
        translated = translated + symbol

print(translated)
```

And this othe one to decrypt:
```python
#!/usr/bin/env python3

message = "RSHHAB IHYHKH UPARV!"
LETTERS = "ABCDEFGHIJKLMNOPQRSTUVWXYZ"

for key in range(len(LETTERS)):
    translated = ""
    for symbol in message:
        if symbol in LETTERS:
            num = LETTERS.find(symbol)
            num = num - key
            if num < 0:
                num = num + len(LETTERS)
            translated = translated + LETTERS[num]
        else:
            translated = translated + symbol

    print("Key #%s: %s" % (key, translated))
```

You can find these scripts and more useful info in this book:

```
Title: Hacking Secret Ciphers with Python
Author: Al Sweigart
ISBN: 978-1482614374
```

Have fun!
Phalcon 4.1.2, Live Release v5-alpha-2, Community Hangout - 2021-05-03
Tags: hangout, community, hoa, phalcon4
Published: 2021-05-03 14:31:37

---
title: Phalcon 4.1.2, Live Release v5-alpha-2, Community Hangout - 2021-05-03
published: true
date: 2021-05-03 14:25:54 UTC
tags: hangout,community,hoa,phalcon4
canonical_url: 
---

Time for an update and a new release and community hangout! v5.0-alpha-2 will be released live this Wednesday at 17:00 EDT (21:00 UTC)!

Join us on Wednesday the 05th of May 2021, at 17:00:00 EDT (21:00:00 UTC), to release the latest version of Phalcon and have a chit chat.

We will hold this virtual meeting on a live event in YouTube. The URL for the hangout is:

[https://youtu.be/tZHM9lRmbRI](https://youtu.be/tZHM9lRmbRI)

Agenda:

- Introduction, welcome to all attendees
- Thank you to the whole community and contributors
- Phalcon v4.1.2 Released
- Status Update v5
- Live Release v5-alpha-2
- Q/A

Looking forward to hearing from all of you and seeing you during the hangout.

Stay safe and keep coding!