teleren/devto huggingface dataset:
March hyper madness
Published: 2022-03-09 13:34:14

---
title: March hyper madness
published: true
date: 2022-03-05 15:02:30 UTC
tags: 
canonical_url: https://hyper-io.medium.com/march-hyper-madness-4a4cef77d488
---

#### hyper is going BETA! ⚡️️️⚡️

Our small developer preview has reached 100 accounts 🎉 and we are thankful 🙏 for the support and encouragement. Now that all of our hyper OSS ports are available via the cloud service we are ready to invite more developers to the platform.

> hyper will always have a free tier for developers, giving developers a chance to evaluate, prototype and experiement.

#### Signup and start innovating today with hyper at [https://dashboard.hyper.io](https://dashboard.hyper.io)

#### Events in March

There is a lot going on in March 2022 in the hyper verse.

#### March 17 — CHSJS Meetup — Remix and Github Actions

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

You can register here: [https://www.meetup.com/CharlestonJS/events/283033703/](https://www.meetup.com/CharlestonJS/events/283033703/)

#### March 23 — Starters Guide to API Development

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

You can register here: [https://www.charlestondigitalcorridor.com/talent/cdcu/1620179435385-starters-guide-api-design-scalable-application-architecture/](https://www.charlestondigitalcorridor.com/talent/cdcu/1620179435385-starters-guide-api-design-scalable-application-architecture/)

#### March 29 — Opensource 101 — hyper OSS

You can register here: [https://opensource101.com/registration/](https://opensource101.com/registration/)

#### Keep on a lookout for the hyper BETA announcement! 👀

#### Community

Join our Slack community and say 👋 [https://hyper.io/slack](https://hyper.io/slack)
Linting your Code
Tags: webdev, beginners, programming, codenewbie
Published: 2022-03-05 14:29:56

**Hello techies👋,**

>This article will be addressing an underrated process just as last week's, [Why Write Tests?](https://dev.to/chryz_code/why-write-tests-3f4) but it will be centred on Linting.

### Firstly, what is linting?
Linting is an automated checking of source code for programmatic and stylistic errors. 

We all tend to make little mistakes like wrong indentation(whitespace), omitting necessary symbols etc. This is where the importance of linting comes in.

**Let's talk a little about the importance, **
- As aforementioned, it helps to syntactically correct codes, saves debugging stress 
- It formats and properly arrange the codes, making them readable and more accessible(neat code)

## Linting Tools
These are tools(packages) used to lint codes.

There are a lot of linting tools and they are actually connected to programming languages. A linting tool can only lint specific languages not all.

### Examples of linting tools
These are some languages and some of their linting tool.

### - Python 
- PEP
- Black

### - HTML and CSS
- Prettier 

### - Javascript 
- JSLint
- ESLint

### - PHP
- Phplint 

### - Java
- Checkstyle
- Lightrun

### - Flutter 
- Flutter lints

____________________________________
> **Thanks for reading through this article and I hope you found it useful, you can connect with me on;**

- [Twitter](https://twitter.com/chryz_code)
- [GitHub](https://github.com/chryz-code)

**Bye 👋.**
Major Differences Between Web 2.0 and Web 3.0
Tags: web3
Published: 2022-03-05 14:22:05


The World Wide Web has gone through three different phases of development: Web 1.0, Web 2.0 and Web 3.0.
In this article, we would start with understanding these three phases of the Internet, and later discuss the major differences between Web 2.0 and Web 3.0.


## Web 1.0 

This is the first phase of the Web. It was created as a hyperlinked information system; that is a huge library of data in a network of computer systems. It is the readable phase of the Web with limited interaction between websites and users. 
In this phase, users could only consume information from static websites without being able to post comments or leave reviews. 

## Web 2.0

In this second phase of the Web, users do not only consume information, they are also able to create content and interact with other users. Web 2.0 is an improved version of Web 1.0; and is also known as the writable phase because it allows users to post comments and share contents. 

## Web 3.0

This third phase of the Web is the most recent attempt to improve the web. The focus of this stage of the Internet is the transfer of control from centralized corporate and goverment agencies to decentralized end users. This phase is also known as the Semantic Web, which is "the idea that data on the web is structured enough to cross link data and dynamically generate new content from the data". Aside the ability of users to create dynamic applications and interactive services, We 3.0 also facilitates machine-to-machine interaction.

## Major Differences Between Web 2.0 and Web 3.0

Now that we understand the different phases of the Web, here are some of major differences between Web 2.0 and Web 3.0: 

Web 2.0 | Web 3.0 
------------ | ------------- 
Read-write web | Read-write-execute web
Dynamic web applications | web-based intelligent applications
A scocial web | A semantic web
Focuses on connecting people | Concern with connecting knowledge
Centralized hosting and ownership of contents | Decentralized hosting and collective ownership of contents
Limited information accesss | Ubiquitous information access
Less reliable as users, in most cases, cannot access application code | More reliable as users can access application code and verify that the application perform as promised. 

# Conclusion:

In this article, we have gone through the three iterations of the Web - Web 1.0, Web 2.0 and Web 3.0. We also highlighted the major  differences between Web 2.0 and Web 3.0. This article has been written and published as Task 1 of Block Games v1.0

# Block Games 

[Block Games](https://blockgames.gg/) is an 8-week intensive, web3 training program powered by [The Zuri Team](https://zuri.team/) and [Nestcoin](https://nestcoin.com/)
how to get mern
Tags: webdev, beginners, programming, react
Published: 2022-03-05 14:20:40

i am how to get this Full Stack Web App Development: Mern Stack Project & React Full Stack web development, MERN stack project (React JS, NodeJS, Express, MongoDB) Redux, Build GraphQL React project https://www.udemy.com/course/mern-full-stack-web-application-with-react-web-development/
Main differences between Web3 and web2
Published: 2022-03-05 14:08:35

## What is web2
Web2 is the version of the internet we use today which provide interactivity, dynamism and also makes users to create content on the internet 

## What is web3
Web3 according to wikipedia is an idea for a new iteration of the world wide web based on the blockchain technology which incorporates concept including decentralization and token-based economics.

## Major Diffrences

-  **Architecture**: Web2 architecture is built on server-client architecture which is Centralized, i.e there is central server in which clients connects to for transactions. In Web3 the architecture is peer to peer (p2p) which is Decentralize. There is no central server and each computer has a copy of the data which they exchanged within their network.

- **Availability**: Due to its decentralized architecture, web3 servers can rarely go down beacause they have thousands of computers as their backend. While in Web2, shutdown of a major cloud provider can cause network outage of most web2 services.

- **Trustless**: Web3 allows participants to interact publicly or privately without any trusted  third party, while in web2, users needs to submit their personal data for them to interact with most platform.

- **Permisionless**: In Web3, neither users nor suppliers need  authorization from governing body for participating. in web2 authorization from governing body is required.


- **Payments**: Web3 Payment are buit in via native tokens such as ether(ETH).While Web2 payment payment still relies on the Fiat money.

for more knowledge on web3 and blockchain technology, check out [Blockgames](blockgames.gg) for a gaming competition focusing on blockchain technology and how to leverage it for solving real life problems which is sponsored by [Nestcoin](nestcoin.com) and managed by [Zuri](Zuri.team)
Tek Düzeyli Kuyruklar ve Çok Düzeyli Kuyruklar
Tags: programming, computerscience, tutorial, beginners
Published: 2022-03-05 13:58:43

## Tek Düzeyli Kuyruklar;

1. **FCFS Sıralama (İlk gelene İlk hizmet):** Çok basittir. Geliş sırasına göre kesintisiz çalışırlar. Uzun prosesler yüzünden kısa prosesler bekler. G/Ç yoğun prosesler için uygun değil. Diğer yöntemlerle birlikte kullanılır.
 
2. **Round-Robin (Dönüşümlü) Sıralama:** Kesintilidir, MİB proseslere paylaştırılır. En küçük zaman dilimi quantum denir. Ayrılan sürede bitmez ise sona eklenir. Yeni gelen proses aynı anda işlem gören prosese göre daha önceliklidir. Zaman dilimi seçimi önemli.

3. **En Kısa İş İlk Önce (Shortest Job First):** Kesintisizdir, En kısa olan öne alınır. Ortalama bekleme süresi azdır. Etkileşimli ortamlara uygun değil. MİB ne kadar gerekiyor bilinmeli, kullanıcı tahmini süre verebilir.

4. **Kalan Süresi En Az Olana Göre Sıralama (Shortest Remaining Time):** Kesintilidir, Zaman paylaşımlı sistemlere göre iyi başarım. Sonlanmasına en az süre kalan önce çalıştırılır. Zaman kaybı fazla.
 
5. **Yanıt Süresi Oranı En Yüksek Olana Göre Sıralama (Highest Response Ratio Next):** Kesintisizdir, En kısa iş önce kısa işlere iyi yanıt verir ama uzun işler çok bekleyebilir. Proses önceliği gerek duyduğu hizmet süresi ve hizmet almak için beklediği süreye göre hesaplanır. Öncelik = (Bekleme süresi+ Hizmet süresi) / (Hizmet süresi). Kısa işe yüksek öncelik, uzun süredir bekleyene öncelik.

## Çok Düzeyli Kuyruklar;
- Tek düzeli kuyruk problem yaratır. Proses beklerse diğerleri de bekler. Öncelik değerleri birbirinden farklı işlemler için yetersiz.
- Prosesler türü ve önceliğine göre kuyruğa atanır. Her kuyruğun kendi sıralama algoritması vardır. Tek düzeyli kuyrukların birleştirilmiş hali gibi.
- Her kuyruk daha alt düzey kuyruğa göre öncelikli ve belirli zaman dilimi verilir kuyruğa.

## Çok Düzeyli Geri Beslemeli Kuyruklar;
- Düzeyler belirlenir, düzey içinde FIFO kullanılır, Son düzeyde Dönüşümlü ya da FCFS sıralama kullanılır. Kısa prosesler uzunları sonsuza kadar bekletebilir (hepsini en üst düzeye alarak çözülür).
- Çok Düzeyli Kuyruklara göre daha esnek, çünkü kuyruk arası geçiş var. Kısa işler bu yapıda önceliklidir (uzunluk bilinmediğinden). Kısa, G/Ç ve etkileşimli işlere öncelik vererek yanıt süresini azaltır.
Lando usefull comands
Tags: lando, webdev, devops, docker
Published: 2022-02-06 23:58:32

# Drop into a shell on the database service
`lando ssh -s database`

## Using environment variables

You can also set environment variables that will ONLY be available for a given tooling command.

```
tooling:
  deploy:
    service: appserver
    cmd: deploy.sh
    env:
      TARGET: production
```


## Build Steps

One of the great features of Lando is its ability to destroy a single planet... we mean add additional dependencies or build steps to your service without the hassle of having to build or manage your own Dockerfiles.

Note that build steps will ONLY RUN THE FIRST TIME YOU SPIN UP YOUR APP. That means if you change them, you will need to run lando rebuild for them to re-run. An exception to this is if one or more of your build steps error. When this happens Lando will run the build steps until they complete successfully.

**When should I use build steps?**

If you need additional on-server dependencies like php extensions or node modules, it sounds like a build step may be for you. If you have automation, you want to run EVERY TIME and you may want to consider using events instead.

**There are four major build steps.**

`build` runs as "you" and before your service boots up
`build_as_root` runs as root and before your service boots up
`run` runs as "you" and after your service boots up
`run_as_root` runs as root and after your service boots up
An example to consider is shown below:

```
services:
  appserver:
    type: php:7.1
    build_as_root:
      - apt-get update -y && apt-get install -y libmemcached-dev
      - pecl install memcached
      - docker-php-ext-enable memcached
    run:
      - composer install
  node:
    type: node:16
    build:
      - yarn
    run:
      - /helpers/some-helper-script.sh
    run_as_root:
      - echo "127.0.0.1 mysite.lndo.site" >> /etc/hosts
```
As you can likely surmise from the above, each step is intended for a pretty specific use case:

Use `build` to install application dependencies that are needed before you start your application
Use `build_as_root` to install low level server packages required by your application
Use `run` to install application dependencies or run build steps that require your application be started first
Use `run_as_root` for any other post-start root level one-time setup commands.
I had a title for this 
Tags: beginners, career, codenewbie
Published: 2022-03-05 13:53:03

I really had a title for this you know and it was so cool when I thought of it , I forgot .

This article is mainly around the frustrations I experience as a software development graduate and continue to experience mostly everyday, in essence this is a venting session so stay tuned or not .

I studied at the IIE Rosebank College , I graduated with an academic average of 83%, receiving distinctions for all my final year modules (8 of them), in total I managed to achieve 20 distinctions out of 29 modules throughout my 3 year stay at the institution 😅. 

OK! so I don't really know why I am giving this backstory👀, anyway, so yeah I like to code and solve problems you know . At school I always tried to go the extra mile and really give it my all and I would do well . Final year is coming to an end and you obviously start looking for work opportunities in your field and the harsh realization that 'mate, maybe your efforts weren't enough' hits you. 

There is a major disconnect , I feel , between industry and graduates . Job specs are out of touch because honestly where are graduates expected to have x years in development + know these other technologies from , the reality is that curriculums cannot be changed as rapidly as there are new technologies and even if they did change it regularly where would they put their focus on and how would they justify focusing on say these technologies and not the other one.

I acknowledge that software development is a very fast paced industry with a lot of competition but we have to be honest and admit that not everyone is given a fighting chance and maybe here, I am being a bit idealistic but if industry isn't ready to take in talent and bridge the gap of getting graduates foot in, I fear that we have been set up for failure.

One may say but there are graduate programs , yeah well that's like a billionaires club but for institutions and ONLY said institutions can be a part of the club and maybe rightfully so . I think the institution I went to is banned or something or at least the software development students are (can't really say much on this), like okay maybe send me a coding challenge and see if I am worth the trouble ? No, okay .


## so what's next ?



Continue my learning and push towards project based learning, add my work onto GitHub, learn version control ,Solve coding challenges, codewars is really a great platform for this and really really challenges you 😅 . Recently just completed my JavaScript algorithms and data structures certification through Free code camp and it wasn't easy fr fr and to be honest I did not enjoy JavaScript 😕


As I said this was really a vent sessions and usually when someone vents it is often an incoherent mess but stay tuned I guess ?  I'll be writing more as I go and my posts will definitely be more coherent than this and trust .
My internship experience with Oasis Infobyte
Tags: webdev, internship, javascript, oasisinfobyte
Published: 2022-03-05 13:41:40

I am glad to share my internship experience with Oasis Infobyte as a web development intern and would like to thank them for this opportunity.

I got selected as a web developer intern for 1 month period of March 2022.I was interested in web development a lot and so learnt a lot of technologies and tools related to web development. Now was the time to have hands on projects and so I applied for Oasis Infobyte internship and got selected.

It was really flexible to complete the tasks as they were divided level-wise ( increasing a little bit difficulty ). As a result , I ended up completing all level-1 tasks including landing page, portfolio page and temperature converter website. 

Not only this opportunity , made me consistent in coding but it boosted up my confidence and also made me write my first blog here at dev. 😄

It was a great experience completing the internship.

If you would like to work with Oasis Infobyte here is the link :
https://oasisinfobyte.in/
how to get the last element of a list in python
Published: 2022-03-05 13:36:51

```
>>> list1 = [1, 2, 3, 4, 5]
>>> print(list1[len(list1)-1])
5
>>> print(list1[-1])
5
>>> print(list1.pop())
5
>>>
```

[how to get the last element of a list in python](https://www.howtouselinux.com/post/get-last-element-of-a-list-in-python)
I didn't get a job I applied for because I don't code in my spare time
Tags: webdev, javascript, beginners, programming
Published: 2022-03-05 13:34:36

I'm confused. Had an interview with a company, went really well. Felt we clicked in both interviews. They said my tech test was "impressive", just heard back from the recruiter that I didn't get it because I haven't committed to my personal repository since 2018. That being said, they didn't have my personal repo. I made a new GitHub as I can't even login to my old one (email got hacked). So I wonder if they may have found my social media accounts etc.

What the heck? I've been in this career for 8 years. I don't want to code in my spare time, ever. I enjoy coding, and I used to code a lot but I really can't be bothered in my spare time at all. I sit at a desk all day coding[,](https://www.megahowto.com/how-to-get-out-of-debt-by-increasing-your-income) why would I then want to spend several hours at night doing the same thing? I get some people probably do, but I sure as hell don't!

All I can think is they went for someone with either more experience or wanted less pay...

Anyone had a similar experience?
It's 2022, don't use the console.log(😎)
Tags: javascript, webdev, beginners, react
Published: 2022-03-05 13:16:24

We as Javascript developers usually **console.log()** stuffs to test the output or just for fun. Even, I can bet that our (include me ✌️) first code was **"Hello world"** logged in the console.
```js
console.log("Hello World!")
```
This piece of code has been nostalgic for all fellow JS developers. But now it's 2022, let's make it a little handy and comfortable for our fingers.

In this article, I have discussed a simple and common method that has rarely been used by developers.

### **Let's get started**
As we know, we all use to log the data to console like this...
```js
console.log("I love js") // I love js

console.log(4 + 4) // 8

console.log(!true)  // false
```

**Let's work a little smarter and more efficient 😎**
```js
const log = (arg) => console.log(arg)
```
Here, we have created a function with a shorter name - **log** relative to **console.log()**, you can even use a shorter name, Ummm 🤔 something like this...
```js
const l = (arg) => console.log(arg)
```

So, you might be wondering what's the benefit of writing code like this? Let's discuss the benefits.

**Benefits**
- Keeps your code clean and slick
- Improves readability 
- Relief to your fingers, don't have to write a long thing

comment more benefits if you can...

### Let's test 🚗
```js
log("Hello world") // Hello world
log(4 + 4) // 8
log(!false) // true
log(Math.PI) // 3.141592653589793
```
Try yourself - [fiddle](https://jsfiddle.net/c2rwtLv7/)

### Conclusion
So, this was a quick tip to save your time and make your code look cleaner. Let me know in the comments if you will use this tip. 

You can try the same thing for **console. info(), console.warn(), console.error()**

--- 
Feel free to reach me out via Twitter - [@codewithsnowbit](https://twitter.com/codewithsnowbit)
### 🌏 Let's connect
- [GitHub](https://github.com/codewithsnowbit)
- [Twitter](https://twitter.com/codewithsnowbit)
- [YouTube](https://www.youtube.com/channel/UCNTKqF1vhFYX_v0ERnUa1RQ?view_as=subscriber)

> Stay tuned for the next article. Stay safe and Happy Coding!

If you enjoyed and find my content helpful, then you can check this out
[![Buy me a coffee](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/7242fho13cwcxlh8jutn.png)](https://www.buymeacoffee.com/codewithsnowbit)
rsync for kubernetes
Published: 2022-03-05 12:40:46

Written in the context of a disaster recovery scenario though capable of everything `rsync` can do that `kubectl cp` cannot:

- Resume large files
- Handle thousands of small files
- Save bandwidth
- Eliminate headaches

Here's how to use rsync with Kubernetes: https://vhs.codeberg.page/post/recover-files-kubernetes-persistent-volume/
PHP, CodeIgniter, Laravel, Vue, React, front-end… or how I changed my stack over the course of time
Tags: programming, javascript, php, career
Published: 2022-03-05 12:39:18

_
Also: Keep up to date with the fast-paced changing scenery of the tech world._

Back in 2012 when I got my first programming job right after I graduated high school, I did not have any experience with PHP frameworks, I’ve mainly used plain old PHP for my freelance websites and the only thing closer to a framework back then was WordPress. I was quite good with WordPress but it was far behind what a framework means.

So when I started the job, I had a few months of paid time to actually start learning CodeIgniter. It was the hot thing in the PHP world back then. CI was ok, introduced me to a couple of OOP things but it was all over the place, not really well structured, and did not follow the best practices.

In the same period, I discovered Laravel 4, around 2013 in the autumn. My initial thought about it was “eww, I don’t like it, it is trying to rewrite how PHP works, what’s up with all those View::make and Route::get calls, why is everything different than standard PHP. So I did not spend any time learning it right away. I even thought I need to install a separate PHP extension to run it, which was not the case.

Anyway so, we had an internal project at the company I was back then called Tag Economy, an online app written in CodeIgniter over the course of 2012-2013. It was mainly an app for tracking personal spending habits, grouping payments by tags and you could see a lot of graphs based on the entries. The app was working but it was mainly used just by us working at the company and a few friends.

[Read the rest of the article on my personal blog :)](https://pacurar.dev/php-codeigniter-laravel-vue-react-front-end-or-how-i-changed-my-stack-over-the-course-of-time/)