teleren/devto huggingface dataset:
the dog api!
Tags: api, programming, beginners
Published: 2022-08-04 12:38:51

i really wanted to share this api called the [dogs api](https://dog.ceo/dog-api/) which is really easy to use and you can build very cool projects with this!

## overview
this api is the largest collection of open source dog pictures. all these images were taken from the [stanford dogs data set](http://vision.stanford.edu/aditya86/ImageNetDogs/)
you can also submit pictures of your own dogs and [add it to the data set](https://github.com/jigsawpieces/dog-api-images#dog-api-images)

##endpoints
there are a handful of endpoints available on this api

- list of all breeds available
- random image of a dog
- get images of dog with a specific breed
- get sub-breeds of a breed
[here is a more in-depth overview of the enpoints](https://dog.ceo/dog-api/documentation/)

have fun with this api! :)
I hate API development "as an indie dev"
Tags: javascript, webdev, programming, productivity
Published: 2022-08-04 12:37:00

I hate API development "as an indie dev". Independent developers don't have the luxury of a full company to support them. They need to be able to build, ship and iterate quickly towards success or move on to the next thing, that's why indie hackers love full stack. Also, we don't have enough time to develop API and frontend concurrently.

It's not that I am not able to develop APIs, but being an indie dev makes me seek proper full-stack frameworks, so I have been seeking some frameworks, Rails is one of them.
I have pretty confidently learnt Rails 7. But another GoLang framework popped up, which is Bud (aka [LiveBud GoLang](https://github.com/livebud/bud)).

Bud is still in the development phase. The conclusion is that if you're an independent developer, do not listen to the suggestion of corporate guys, just use a full-stack framework like: Rails 7, Django, Laravel or Bud or equivalent.

I have been developing [Deviser Club](https://github.com/Bishwas-py/deviser-club), a straightforward multi-blogging platform with proper features with rails. And it's 2 weeks from now.

Let's see, how'll my rails journey go?
Being a web developer is always difficult. It’s a creative job.
Tags: javascript, beginners, react, python
Published: 2022-08-04 12:20:00

Being a web developer is always difficult. It’s a creative job, but one where usually you aren’t the primary stakeholder.

I know how it feels to use your creative juices to perfect a piece of code, only to have someone else ask for a sudden change in a different direction.

So many web developers can relate to that experience.

I’m sure you know how it feels, too.

Here are some quotes that might help you feel better.

    “It’s not a bug. It’s an undocumented feature!”

    – Anonymous



    “If you’re already a front-end developer, well, pretend you’re also wearing a pirate hat.”
    – Ethan Marcotte

Enjoy the quotes? I sure did! Thanks so much for reading.

Now get back to coding! 🤩💻💯😄👍





[https://medium.com/coding-at-dawn/46-encouraging-quotes-for-web-developers-21f3e68a9fdd]
Huawei openGauss openGauss-SQL
Published: 2022-08-04 12:05:27

what is SQL
SQL is a standard computer language for accessing and manipulating databases.

SQL provides statements for various tasks, including:

Query data.
Insert, update and delete rows in the table.
Create, replace, change and delete objects.
Control access to the database and its objects.
Ensure database consistency and integrity.
The SQL language consists of commands and functions for working with databases and database objects. The language also enforces rules about data types, expressions, and the use of text. Therefore, in the SQL reference chapter, in addition to the SQL syntax reference, you will also find information about data types, expressions, functions, and operators.

A Brief History of SQL Development
A brief history of SQL development is as follows:

1986, ANSI X3.135-1986, ISO/IEC 9075:1986, SQL-86
1989, ANSI X3.135-1989, ISO/IEC 9075:1989, SQL-89
1992, ANSI X3.135-1992, ISO/IEC 9075:1992, SQL-92 (SQL2)
1999, ISO/IEC 9075:1999, SQL:1999 (SQL3)
2003, ISO/IEC 9075:2003, SQL:2003 (SQL4)
2011, ISO/IEC 9075:200N, SQL:2011 (SQL5)
SQL standards supported by openGauss.
openGauss supports the main features of SQL2, SQL3 and SQL4 by default.
Top Resources To Learn Web3/Blockchain Dev 👨‍💻
Tags: javascript, webdev, beginners, programming
Published: 2022-08-04 11:57:51


🌟 Morails 🌟

🌟 Questbook 🌟

🌟LearnWeb3🌟

🌟BuildSpace 🌟

🌟 Odyssey 🌟

🌟 useWeb3🌟

Follow @devkshitij7  
For More Amazing Posts.....
Array Rotation in JS
Tags: javascript, beginners, webdev, tutorial
Published: 2022-08-04 11:48:28

Hello Guys today i will show you how to rotate left 1-d array in JS
The rotation will depent on the input like 2 means rotation.
A left rotation operation on an array of size n shifts each of the array's elements 1 unit to the left.

Let's get started...

```js
function rotateLeft(d, arr) {
    // Write your code here
    let newArray = []
    if(d > arr.length){
      return "Rotation value cannot be bigger than array length"
    }
    else{
      for(let i=0;i<d;i++){
        newArray.push(arr.shift(i))
      }
      
      let rotated = arr.concat(newArray)
      return rotated
    }

}

let array = [1,2,3,4,5,6]
let rotation = 2
console.log(rotateLeft(rotation,array))
```

Output -
```
[ 3, 4, 5, 6, 1, 2 ]
```

Working
* Inside the function , we have created an empty array which will hold the elements after rotation.
* After that we provide a condition where we will check if the number of rotation is greater than the array length or not.
* In the else part , we used the for loop up to the number of rotations (exclusive, means if the rotation value is 4 then the for loop will be executed from 0-3)
* Inside the loop we removed the element from the starting up to the rotation value - 1(because array index starts from 0) and then pushed those removed elements in the empty array we have created.
* In the end we have combined the original array with array containing the removed elements which will come at the end.


## If you have a better approach or solution to this code , please mention it in the comment section.

THANK YOU FOR CHECKING THIS POST
^^You can help me by some donation at the link below Thank you👇👇 ^^
☕ --> https://www.buymeacoffee.com/waaduheck <--

Also check these posts as well
https://dev.to/shubhamtiwari909/javascript-map-with-filter-2jgo

https://dev.to/shubhamtiwari909/e-quotes-3bng

https://dev.to/shubhamtiwari909/deploy-react-app-on-netlify-kl
PowerBI pORTf
Published: 2022-08-04 11:41:34

https://app.powerbi.com/view?r=eyJrIjoiZTA0M2FiZGMtNDYwNC00ZmJiLWIwOTMtODgyNzc5ZDEwNmM3IiwidCI6Ijc0MzBjOGJlLWQ1ZTMtNDgxYi1hNTcwLTZjOGI0MzRkZGY4OCIsImMiOjZ9

https://app.powerbi.com/view?r=eyJrIjoiODVhYTBlZDktM2I4OC00OTM2LTg0NDYtMjlkNGU4ZWJmYzgxIiwidCI6Ijc0MzBjOGJlLWQ1ZTMtNDgxYi1hNTcwLTZjOGI0MzRkZGY4OCIsImMiOjZ9

https://app.powerbi.com/view?r=eyJrIjoiYjc5ZTlhZmMtYjQ5ZC00MWU4LWEyMzAtZWVjNTllODZlOTc5IiwidCI6Ijc0MzBjOGJlLWQ1ZTMtNDgxYi1hNTcwLTZjOGI0MzRkZGY4OCIsImMiOjZ9

https://app.powerbi.com/view?r=eyJrIjoiYWY3YmYxN2ItY2RhMi00NzQ2LWFhYTktNjlhYWY4MTcyY2E1IiwidCI6Ijc0MzBjOGJlLWQ1ZTMtNDgxYi1hNTcwLTZjOGI0MzRkZGY4OCIsImMiOjZ9

https://app.powerbi.com/view?r=eyJrIjoiMjdjYzViNTUtYTdkNy00NzZlLWJlZWItODI5ODk1MWI0NzMyIiwidCI6Ijc0MzBjOGJlLWQ1ZTMtNDgxYi1hNTcwLTZjOGI0MzRkZGY4OCIsImMiOjZ9

https://app.powerbi.com/view?r=eyJrIjoiMjkyYjM1MDktNjgyMS00Mzc3LWJmZTEtOTIxM2RjMGEwMWVmIiwidCI6Ijc0MzBjOGJlLWQ1ZTMtNDgxYi1hNTcwLTZjOGI0MzRkZGY4OCIsImMiOjZ9
TypeORM unique indices with multiple fields
Tags: typescript, database, sql, programming
Published: 2022-08-04 10:26:00

I recently run into an issue that I wanted to create a database unique rule that will throw an error where there will be a duplicate record based on certain fields in the database table.

The complexity was that one of these fields was a relation to another table and I was not sure how to implement that.

To give a bit more context, let's take a look at this following example.

Let's assume that we have a school class that consists of students and in our class we want to avoid situations where there will be two students with the same name (two students can appear in our table but only if they are in a different classes).

```
Class (1) => Student (N)
```

## Code

Usually, if we want to achieve uniqueness in our table we can do so in TypeORM (and in regular SQL as well) by using the `UNIQUE` keyword. In TypeORM we would use the `@Unique(param)` decorators and as a param we would pass the name of the field that we would like to be unique (i.e. `@Unique('name')`)

In our case however, we have to use a different SQL keyword and TypeORM decorator.

Let's take a look at our Student entity:

```ts
import {
  Entity,
  Column,
  PrimaryGeneratedColumn,
  ManyToOne,
} from 'typeorm';
import { SchoolClass } from '../school-class.entity';

@Entity()
export class StudentEntity {
  @PrimaryGeneratedColumn()
  id: number;

  @ManyToOne(() => SchoolClass, (schoolClass) => schoolClass.students)
  schoolClass: SchoolClass;

  @Column()
  name: string;
}
```

Our Table has three columns:

1. `id` which is a unique ID for the certain record.
2. `schoolClass` which is a ManyToOne relation with Class table
3. `name` which is just a name of the student.

To solve our issue with unique names in the school class we will use the `@Index` decorator (that is then transformed to the `INDEX` in SQL).

```ts
import {
  Entity,
  Column,
  PrimaryGeneratedColumn,
  ManyToOne,
  Index,
} from 'typeorm';
import { SchoolClass } from '../school-class.entity';

@Entity()
@Index(['name', 'schoolClass'], { unique: true }) // Here
export class StudentEntity {
  @PrimaryGeneratedColumn()
  id: number;

  @ManyToOne(() => SchoolClass, (schoolClass) => schoolClass.students)
  schoolClass: SchoolClass;

  @Column()
  name: string;
}
```

We will pass as an array the values we want to use (in our case `name` and `schoolClass`). We are also passing an options object with the property `unique` set to `true`. This will assure that inserting a new record in our database with the same name in the school class will result in an `DUPLICATE_ENTRY` error.

## Summary

Nicely done! You have just learned how to create a unique rules for inserting new data into the database. Hopefully, it will help you solve the similar issue I had recently :)
IEEE Projects For ECE In Embedded Systems
Tags: embedde, beginners, programming, javascript
Published: 2022-08-04 10:13:54

Engineering student projects for B.Tech and M.Tech final year students. Takeoff Edu Group offers a wide range of projects best for [ieee projects for ece in embedded systems](https://takeoffprojects.com/ieee-projects-for-ece-in-embedded-systems) looking for magnificent final projects at low cost. 

We have successfully delivered ieee projects for ece in embedded systems to our engineering students. Our programs are specially designed by experts for best results of ieee projects for ece in embedded systems for engineering students. max of the B.Tech, M.Tech, PhD and Diploma scholars.

Takeoff Edu Group provides the most creative conceptions and ideas that can make very effective final year projects for scholars, experimenters, and engineers. So browse through our list of [ieee projects for ece in embedded systems](https://www.youtube.com/watch?v=IGpAc1Gc4SA) and choose the smart final year projects for your requirements. 


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

An Embedded system is one of the biggest solo orders of systems that are especially for electronics & electrical engineering scholars. IEEE project on Embedded Systems can vary from comparatively uncomplicated generalities to fairly intricate designs. Also with IEEE project on Embedded Systems, there are lots of druthers in means of the size & characteristics of the microprocessor and microcontroller employed. In IEEE, we learn about different microcontrollers similar as- ARM, AVR, PIC16/18, Coldfire, and a number of other microcontrollers that are suitable for a particular kind of design.

Top 5 IEEE Projects For ECE In Embedded Systems

- Vision-Based Automated Parking lot.
- Earthquakes and Tsunami simulation through GSM Network
- Intelligent Traffic Light Controller Using GSM
- Design and Implementation of PIR sensor based Security System
- Robot Control with speech alert and touch screen.
Thus, this can be all concerning the list of IEEE comes on Embedded Systems. Embedded Systems is an especially broad field of learning that wants intense data of time period comes to assist aspirants comprehend the prominence of the domain within the natural philosophy field. Embedded Systems ar these days practical on variety of electronic appliances. There ar solely a number of comes that get the IEEE acceptance and these acknowledged IEEE comes on Embedded Systems go like hot cakes regarding their demand.
Soft Delete Method
Published: 2022-08-04 09:45:54

from django.db import models
 
class SoftDeleteManager(models.Manager):
    ''' Use this manager to get objects that have a deleted field '''
    def get_query_set(self):
        return super(SoftDeleteManager, self).get_query_set().filter(deleted=False)
    def all_with_deleted(self):
        return super(SoftDeleteManager, self).get_query_set()
    def deleted_set(self):
        return super(SoftDeleteManager, self).get_query_set().filter(deleted=True)
Build these projects to be an Advanced Web Developer 🚀
Tags: javascript, webdev, beginners, css
Published: 2022-08-04 09:20:37

I have watched hours of videos, read hundreds of articles, and come up with these awesome projects that will take you from beginner to advanced web developer in just a few weeks.

####Hello there👋
It's Codeitdoc7 here. I know how confusing it can be for beginners when deciding which projects to make. In most cases, we just end up creating a bunch of unfinished projects. But that ends today. Yes, you're going to make these super fun projects that will make your swag level go from 1 to 3000 (yes, I love Ironman).

[As a disclaimer I am aware there are probably much better projects one can make — and I'd love to hear them in the comments! — but this article was made using the knowledge I had at the time]

### Let's dive strait into it🏊

#### A Personal portfolio website 💻
   It has to be number one on the list. Not only is it super fun to make, but it's also a place to showcase your awesome projects. Additionally, it allows you to showcase your skills in the framework/library that you used to create the website, not to mention the creativity.

#### A stopwatch⏱️
It's a simple beginner friendly project which you can make in a day. Play with some CSS to show your creativity.

#### A Website that uses 3rd party API📨
 Every company uses 3rd party API whether its payment API or framework API. So its very important to know how to use them. Find a API that interests you no matter Game API or Weather API and make a website that uses 3rd party API. Or make one API yourself and become a billionaire.
  
#### A calculator📱
I'm not taking about a simple calculator no, but a fully responsive GUI calculator with light/dark mode switch.
It will showcase your DOM manipulating skills.


#### A Search Bar🔍
Every website has a search bar, so its a good idea to build one yourself it will help you understand how data is stored and how to access it.

#### A Game🎮
I'm not saying you should make a game like COD but a simple board game will be enough [2048 will be awesome]. It will be a fun way to test your logical skills, which is the most important part of web developing and hey its super fun to have a game of your own. 

#### Website clone👨‍💻
Making a website clone help you with learning more things as I also did while cloning google incognito mode, I learned about ``margin-inline``.

[All suggestions are welcome 💞]

###You are Awesome where can I Connect with you😎?
🚀[Github](https://github.com/Coditdoc)

🌱[Instagram](https://instagram.com/jay_g.7?igshid=YmMyMTA2M2Y=)

📨[Email] - loficode777@gmail.com

🐦[Twitter]- Soon



<a href="https://www.buymeacoffee.com/codeitdoc7" target="_blank"><img src="https://cdn.buymeacoffee.com/buttons/v2/default-red.png" alt="Buy Me A Coffee" style="height: 60px !important;width: 217px !important;"></a>
Git bilan ishlash
Tags: git, bootcamp, ilmhub
Published: 2022-08-04 09:00:00

**Git nima?**
Git bu bepul, ochiq manbali, Linus Torvalds tomonidan 2005 yilda yaratilgan versiyani boshqarish tizimi. Versiyani boshqarish nima? Umuman olganda, bu vaqt o'tishi bilan fayllardagi o'zgarishlarni yozib olishga imkon beradigan tizim bo'lib, keyinchalik siz ushbu fayllarning o'ziga xos versiyalarini kuzatishingiz mumkin bo'ladi.
Git orqali siz yozgan kodingizni ctrl + Z qilmasdan orqaga qaytara olasiz va bu sizga jamoada ishlashingizda yordam beradi .

*git config*- gitni sozlash 
*git config user.name* - user name ni ko'rish 
*git config user.email* - email ni  ko'rish 
*git config -global user.name* "foydlanuvchi nomi" - user.name ni kiritish
git config -global user.email " email address"- user.email kiritish

**Gitda yangi loyiha yaratish** 
-      `git init` - yangi loyiha yaratish 
-      `git status` - loyiha holatini bilish
-      `git add faylnomi` - fayldagi o'zgarishlarni xotiraga olish uchun navbatga qo'shadi 
-      `git add .` - bir nechtasini navbatga qo'shadi
-      `git commit -m 'xabar'` - o'zgarishlarni koment orqali navbatga git xotirasiga qo'shish
-      `git commit --amend-m "xabar"` - o'zgarishlarni 
-      `git log` - o'zgarishlar xotirasini  tekshirish 
-   `Xabar` bu siz yozgan kodingizga komentariya yozasiz bu keyinchalik kodingizni nima uchun yozganingizni tushunishingizga yordam beradi.    

*Fayl o'zgarishlarini bekor qilish*
-  `git checkout faylnomi` - fayl o'zgarishlarini bekor qilish
-   `git checkout ..` - hamma fayl o'zgarishlarini bekor qilish 

-  `git checkout maxsuskod` - bu orqali loyianing istalgan joyiga qaytarish mumkin                                                                                                                      
-  `git checkout master` - loyihaning oxirgi ishlayaotgan versiyasiga qayataradi
- `maxsus kod` bu git logni yozsangiz chiqadigan kod
-  `git branch` - branchlarni ko'rish 
-  `git branch nom` - yangi branch yaratish 
-   `git checkout nom` - nom nomiga ega branchga o'tish 
-  `git branch merge` - 2 ta branchni qo'shish
Hi, I want to be the Social Media intern.
Tags: socialmedia, intern, beginners
Published: 2022-08-04 08:40:00

I have not much experience and my portfolio is my [LinkedIn Profile](https://linktr.ee/keshavgbpecdel) itself. 

I have produced a lot of content on :

## YouTube - 3000+ videos for various accounts 

Namely - TECH_ED (810+ vids), techedadv (200+ vids), Entertainmentshorts (770+ shorts), Imflex (675+ mixed), Just React (450+ vids)... and many more like black motivation, sound lab, fake vibes, linkopedia, Just Repeat, Internwala, get set study etc

## Insta : 1000+ reels of Different accounts

Namely - 500+ reels for @entertainmentshorts with 2.4K followers, @techedcs 88 posts for 58 followers and  235 posts for @imflex with 38 followers.

Content created for Personal Branding : 
16 posts -  @ keshavgbpecdel
245 posts - @ keshav.trash
105 posts - @ keshavchapri  


## Twitter : 
@ techedcs - 300+ tweets & 320 followers
@ keshavgbpecdel - 2k+ tweets & 70 followers


## Github:

 121+ Repositories 

## Leetcode: 

14.9K views, 
470+ questions, 
362 days active, 
239 days consistency 

## Duolingo: 

Language (English) , 
Streak - 1 year + , 
379+ days consistency 

## Quora : 

Profile Er-Keshav-2 
14k+ content view

 Answers : 101+
 Questions : 17+
 Page Post : 55 (TECH_ED)
 Follower : 22

## LinkedIn : 

Highly Active 8k+ follower this month.

Profile View : 2k+
Post Impressions : 19,800
Search Appearance: 125+

## Linkedin Pages

Page name - techedcs 
Impression- 1.7k
Followers - 900+


For data verification, you can ask me the links or stats proof for any of the above mentioned data.

Regards,
[Keshav](linktr.ee/keshavgbpecdel) (keshavgbpecdel@gmail.com)
Pure CSS Woman with Long Hair
Tags: codepen, html, css, webdev
Published: 2022-08-04 08:15:28

---
title: Pure CSS Woman with Long Hair
published: true
tags: codepen, html, css, webdev
---

{% codepen https://codepen.io/AsyrafHussin/pen/KKooZZJ %}

<p>Speed Code Video
<a href="https://twitter.com/asyrafhussin4/status/1555103135869218816" target="_blank">https://twitter.com/asyrafhussin4/status/1555103135869218816</a></p>
Today's Fun Joke For Developers - Daily Developer Jokes
Tags: jokes, dailydeveloperjokes
Published: 2022-08-04 08:00:20

---
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/5e1259ce87a7e.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:___ What did the Network Administrator say when they caught a nasty virus?

___A:___ It hurts when IP
 -->
RapidApi Client
Tags: rapidapi, postman
Published: 2022-08-04 07:59:59

As a developer we have to deal with API most of the time and as a HTTP client we use Postman for which we have to install this and go out from the vs code, which takes some time. But **_RapidApi_** has released their **RapidApi Client** as a vs code extension which is very cool. We do not have to go out from the vs code. we can HTTP request and all other things that we do in postman. There are some additional functionality that now we can copy request code from there. 

So I'll highly recommend to use **RapidApi** Client as our HTTP Client.
C# da typelar
Published: 2022-08-04 07:59:01

_**C# da xotiraga 2 xil usulda saqlanadi Reference type alohida va value typelar alohida saqlanadi**_
**Reference type **
``` py
string
Arrays 
class
interface
delegate
```
**Value type**
```cs 
bool
byte
char
decimal
double
enum
float
int
long
sbyte
short
struct
uint
ulong
ushort
```
***Farqi***

Reference type lar heap xotiraga value type lar stack xotiradan joy egallaydi. Reference type lar ishlashi pointerga o'xshaydi. Masalan 

```cs
 string a , b ; a = hello ;
b = a;
```
bunda a ga heap xotiradan joy ajratadi b ni a ga o'zlashtirganimizda a ga alohida joy ajratmasdan xuddi pointer kabi murojat qiladi.Value type larda esa aksincha bo'ladi
Top Blogs Sites You Must Know As A Developer's 👨‍💻 A Thread 🧵
Tags: blogs, webs, web3
Published: 2022-08-04 07:58:25


🌟  dev.to 🌟

https://dev.to/

🌟 scotch 🌟

https://www.digitalocean.com/community

🌟 medium 🌟

https://medium.com/

🌟 hashnode🌟 

https://hashnode.com/

🌟 alistapart  🌟

https://alistapart.com/

🌟 smashingmagazine 🌟

www.smashingmagazine. com


🌟 simpleprogrammer 🌟

https://simpleprogrammer.com/

🌟 flaviocopes 🌟

https://flaviocopes.com/

🌟 hackernoon. com 🌟

https://hackernoon.com/

🌟 davidwalsh .name 🌟

https://davidwalsh.name/

🌟 css-tricks 🌟

https://css-tricks.com/

🌟 speckyboy 🌟

https://speckyboy.com/

🌟 sitepoint 🌟

https://www.sitepoint.com/

Follow @devkshitij7   
For More Amazing Posts.....