teleren/devto huggingface dataset:
Relation Operator
Tags: cpp, programming
Published: 2023-01-10 08:03:18

> Relation Opertor
`Relation Operator`- bu 2 yoki undan ko'p bo'lgan o'zgaruvchilarni qaysi biri katta,kichik,yoki tengligini bildirib beradi.

Relation Operator - Aloqa Operator. chap va o'ng tomonlardagi munosabat.

- Natija har doim True yoki False. 

- True 1,False 0 qaytardi.

- c,cpp tilida 0 dan boshqa har qanday qiymat True yani Rost deb hisoblanaldi.
 
> Relation Opertor katta kichik va tenglik belgilari shu ko'rinishda keladi;

`<`,`<=`,`==`,`>`,`>=`,`!=`;

 
``` cpp
  int a = 14;
  int b = 78;
  int c = a < b ;
```

> `<` (Operator) - chap tomondagi o'ng tomondagidan kichik,ya'ni chap tomondagi o'zgaruvchi o'ng tomondagi o'zgaruvchidan kichik
Masalan;

```cpp
#include <iostream>
using namespace std;
int main (){
  int a = 11;
  int b = 55;
  int c = a > b ;
 cout << c;
return 0;
}

```
`<=`(Operator) - chap tomondagi o'ng tomondagidan kichik yoki teng ya'ni chap tomondagi o'zgaruvchi o'ng tomondagi o'zgaruvchidan kichik yoki teng
Masalan;

```cpp
#include <iostream>
using namespace std;
int main (){
  int a = 6;
  int b = 5 + b++;
  int c = a >= b ;
 cout << c;
return 0;
}

```
`==`(Operator) - chap tomon o'ng tomong teng ya'ni chap tomondegi o'zgaruvchi o'ng tomndegi o'zgaruvchiga teng;

```cpp
#include <iostream>
using namespace std;
int main (){
  int a = 4;
  int b = 9 - 5;
  int c = a == b ;
 cout << c;
return 0;
}

```
`>`(Operator) - o'ng tomon chap tomondan katta ya'ni o'ng tomondagi o'zgaruvchi chap tomondagi o'zgaruvchidan katta;
Masalan;

```cpp
#include <iostream>
using namespace std;
int main (){
  int a = 6;
  int b = 9 - 7;
  int c = a > b ;
 cout << c;
return 0;
}

```
`>=`(Operator) - o'ng tomon chap tomondan katta yoki teng ya'ni o'ng tomondagi o'zgaruvchi chap tomondagi o'zgaruvchidan katta yoki teng;
Masalan;

```cpp
#include <iostream>
using namespace std;
int main (){
  int a = 174;
  int b = a - 87;
  int c = a >= b ;
 cout << c;
return 0;
}

```

`!=`(Operator) - chap va o'ng tomonlar bir xil emas ya'ni chap tomondagi o'zgaruvchi o'ng tomondagi o'zgaruvchi bilan bir xil emas ;
Masalan;

```cpp
#include <iostream>
using namespace std;
int main (){
  int a = 66;
  int b = 47 + 19;
  int c = a != b ;
 cout << c;
return 0;
}

```
@dawroun
Today's Fun Joke For Developers - Daily Developer Jokes
Tags: jokes, dailydeveloperjokes
Published: 2023-01-10 08:00:02

---
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/5e1258d39f4c8.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:___ Where do all the cool mice live?

___A:___ In their mousepads!
 -->
New features in CSS for 2023 ?
Tags: webdev, css, beginners, html
Published: 2023-01-10 07:55:15

**CSS**, or Cascading Style Sheets, is a styling language used for describing the look and formatting of a document written in a markup language. It is most commonly used with HTML and XHTML to create the layout and visual design of web pages.

With CSS, you can control things like the font and color of text, the spacing between elements, the background images or colors used on a page, and the overall layout of the page. You can also create complex animations and transitions, and make your page responsive to different screen sizes.

CSS works by matching elements in an HTML or XML document with a set of style rules. The rules are defined in CSS stylesheets, which are separate files that are linked to the HTML document. When a browser renders the HTML, it applies the styles defined in the stylesheets to the corresponding elements in the HTML.

Some of the most recent updates to CSS include things like the `:is()` pseudo-class, which allows you to apply styles based on the state of an element, and the `:where` pseudo-class which allows you to select elements based on their relationship with other elements.

There are also several new units of measurement, such as the `ch` and `rem` units, which allow you to specify sizes in relation to the size of the font in use.

Additionally, new media query features like `prefers-reduced-motion` and `prefers-color-scheme` is being used to style the website for different preference for user accessibility.

Another feature that is currently in development is the `:focus-visible` pseudo-class, which allows you to style elements that have keyboard focus in a different way from those that have been clicked on with a mouse.

You may also see improved layout functionality, like Grid layout, Flexbox and Multi-column layout have been widely supported and used.

It is also worth noting that CSS is a living language, and its development is an ongoing process. New features are constantly being proposed and considered, so it's likely that there will be additional updates and improvements in the future.

please checkout [my channel](https://www.youtube.com/HTMLTamizhan) for more information.
Un guide du débutant pour démarrer avec le cloud AWS
Published: 2023-01-10 07:50:57

Lorsqu'on veut apprendre  cloud AWS, on est un peu perdu tout au début de la fameuse courbe d’apprentissage.
 Par quoi je dois commencer? Quel est le plan à suivre? Quel sont les meilleures outils, liens pour que je puisse débuter cette technologie? c'est rarement qu'on trouve le meilleur chemin dès le début. le problème n'est pas le manque d'informations, mais la quantité d'informations. Trop d'informations peuvent être écrasantes et déroutantes. Si nous avons trop de choix, nous ne savons pas quoi choisir et souvent ne commençons pas du tout.
Dans cette article je vais partager avec vous le chemin que j'ai suivi pour commencer à apprendre Amazon Web Service.
**Avant tout  je me présente:**
Je suis  diplômé en 2020 autant qu'ingénieur réseau, j'ai pas débuter ma carrière professionnel pour deux raison: La 1er c'est manque d'opportunités d'emploi dans la période de Corona. Le 2eme c'est je suis devenu une Maman. Avec un trous de deux ans dans mon CV, j'ai pas trouvé un emploi qui sera adéquate avec ma situation  autant que maman, donc j'ai commencé apprendre des cours sur le domaine de cloud spécifiquement AWS. J'ai passé la 1er certification de "AWS Partitionner" mais j'ai pas réussi à cause de mal gestion de temps  et de planification. J'ai perdu de l'espoir. Soudain, dans LinkedIn, je vois beaucoup de post sur AWS qui m'ont motivé de réapprendre le cursus d'apprentissage de cette technologie, mais cette fois ci j'ai réserver pour l'examen gratuitement et bénéficier de cour en ligne aussi gratuitement.
Cette petite présentation c'est de vous montrer que nous qui crée des barrière pour ne pas se progresser. Alors, Restons motivées et s'entraider pour obtenir plusieurs certification gratuitement.


## Comment démarrer avec AWS ?

1. Des cours gratuit :

- https://learning.edx.org/course/course-v1:AWS+AWS-AWS-OTP-AWSD16+3T2021/home

- https://learning.edx.org/course/course-v1:AWS+AWS-OTP-AWSD15+1T2021/home


- https://aws.amazon.com/education/awseducate/

- 
https://explore.skillbuilder.aws/learn/course/external/view/elearning/134/aws-cloud-practitioner-essentials?src=detail2

2. Guide d'étude et pratique crée par Viktoria Semaan

- https://share-linkedin-materials.s3.amazonaws.com/AWS+Cloud+Practitioner+2023.pdf



A mon avis, les matérielle que j'ai par partager sont suffisant pour commencer à apprendre  cloud AWS. Il est préférable de commencer AWS à partir de ses éléments de base tel que:  EC2, IAM, S3, VPC. Après vous pouvez passer au d'autre service: RD, CloudWatch, Route 53, Cloud Front...

J'espère que vous avez aimé  ce petit partage.
This Week In Python 🎆
Tags: python, discuss, thisweekinpython
Published: 2022-12-30 12:50:00


**Fri, December 30, 2022**


This Week in Python is a concise reading list about what happened in the past week in the Python universe. 

**I have received some good suggestions for this week's content. Thank you.**

**Did I miss anything from the Python universe this week? What did you read or tried out?**


## Python Articles


- [Where exactly does Python 3.11 get its ~25% Speedup?](https://log.beshr.com/python-311-speedup-part-1/)
- [10 must-know patterns for writing clean code with Python](https://dev.to/alexomeyer/10-must-know-patterns-for-writing-clean-code-with-python-56bf)
- [An Introduction to Just Enough Cython to be Useful](https://www.peterbaumgartner.com/blog/intro-to-just-enough-cython-to-be-useful/)
- [Python libraries to make your code readable, reliable and maintainable](https://isaak.dev/2020/08/python-libraries-to-make-your-code-readable-and-maintainable)
- [Extending Python with Rust](https://maxwellrules.com/programming/rusty-python.html)


## Projects


- [PyFlow](https://github.com/Bycelium/PyFlow) – An open-source tool for visual and modular block programming in python 
- [konsole](https://github.com/apparebit/konsole) – Readable, pleasing console output for Python
- [openai-gpt3-chatbot](https://github.com/jakecyr/openai-gpt3-chatbot) – A chatbot that uses speech to text for input, sends the text to OpenAI's GPT-3 text generation model and speaks the response using text to speech 
- [statistically-correct-python](https://github.com/mkhan45/statistically-correct-python) – An approximate Python interpreter
- [python-for-coding-interviews](https://github.com/mmicu/python-for-coding-interviews) – Python for Coding Interviews



**Did I miss anything from the Python universe this week? What did you read or tried out?**
100. Leetcode Solution in CPP
Tags: challenge, leetcode, chiki1601
Published: 2023-01-10 07:42:13

```cpp
/**
 * Definition for a binary tree node.
 * struct TreeNode {
 *     int val;
 *     TreeNode *left;
 *     TreeNode *right;
 *     TreeNode() : val(0), left(nullptr), right(nullptr) {}
 *     TreeNode(int x) : val(x), left(nullptr), right(nullptr) {}
 *     TreeNode(int x, TreeNode *left, TreeNode *right) : val(x), left(left), right(right) {}
 * };
 */
class Solution {
public:
    bool isSameTree(TreeNode *p, TreeNode *q) {
        // Start typing your C/C++ solution below
        // DO NOT write int main() function
        if (p == NULL && q == NULL) return true;
        if (p == NULL || q == NULL) return false;
        return (p->val == q->val) && 
            isSameTree(p->left, q->left) && 
            isSameTree(p->right, q->right);
    }
};
```
#leetcode 
#challenge
Here is the link for the problem:
https://leetcode.com/problems/same-tree
Top 15 Solidity Interview Questions
Tags: solidity, solidityinterview, interviewquestions, onlineinterviewquestions
Published: 2023-01-10 07:13:49

Find here the most popular[ Solidity Interview Questions](https://www.onlineinterviewquestions.com/solidity-interview-questions/).
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ctw0tv8oh9tpltmfmblp.png)
1. What is Solidity?
2. What are the key features of Solidity?
3. What are the data types available in Solidity?
4. How do you define a function in Solidity?
5. What is a contract in Solidity?
6. What is the difference between a contract and a library in Solidity?
7. How do you create an array in Solidity?
8. How do you define a struct in Solidity?
9. How do you define a mapping in Solidity?
10. What are the different visibility levels for functions and variables in Solidity?
11. What is the process for deploying a Solidity contract?
12. How do you test a Solidity contract?
13. What are some common security considerations when writing Solidity contracts?
14. How do you handle errors in Solidity?
15. What is the difference between a contract's storage and memory?

**Thanks for reading these Questions.**
VLSI Training in Chennai
Tags: vlsi, webdev, programming
Published: 2023-01-10 07:07:54

Students seeking out [**VLSI Training in Chennai**](https://intellimindz.com/vlsi-training-in-chennai/) vicinity can test IntelliMindz to discover greater in this area and get a grasp of all of the ideas on this technology. IntelliMindz VLSI Training in Chennai will put together you for main facet positions withinside the IT Industry withinside the developing vicinity of VLSI. Our direction modules have been designed in the sort of manner that the player gets expert exercise in this area. Our direction syllabus consists of multimedia processing, pc networks, circuits, pc-aided layout, optical communication, nanotechnology, and so on. Our VLSI Training in Chennai will put together you for such careers as a Microelectronics layout engineer, Senior product engineer, and Analog format engineer. So Quickly sign up for our VLSI Course in Chennai to discover greater and begin your VLSI adventure with us!!!
How to change Network Level Authentication on a Windows Server via Command Line
Published: 2023-01-10 06:53:58

For a Systems Administrator, this generally is a fairly simple process. Open My Computer, right-click on properties and go to Remote Settings and under Remote Desktop, uncheck the box that says “Allow connections only from computers running Remote Desktop with Network Level Authentication (Recommended)”


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

Well, let’s assume the scenario where you cannot log in via AD authentication and for some reason, you’re unable to find the Administrator’s password or it isn’t working. This is where the winrs command comes in handy. You can simply alter the settings from another VM that is joined to the same domain.

Run cmd as Administrator and run the following to Query current NLA (Network Level Authentication) settings:

```
winrs -r:VMname.domain.com reg query “HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server\WinStations\RDP-TCP” /v UserAuthentication
```

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

Run the following command to disable NLA.

```
winrs -r:VMname.domain.com reg add “HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server\WinStations\RDP-TCP” /v UserAuthentication /t REG_DWORD /d “0” /f
```
Verify by running the query command again:

```
winrs -r:VMname.domain.com reg query “HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server\WinStations\RDP-TCP” /v UserAuthentication
```


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

If for some reason, you want to login from the local Administrator account, you can run the following command to change it.


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

Cheers !!!!!

Note: This guide is meant for those who are working as a System Administrator and not meant for a developer with limited knowledge of Operating Systems. If you find this guide, please do not implement it on your own, without the guidance of your company’s IT Manager or System Administrator.
Kakao Entertainment
Tags: films, dramas, korea
Published: 2023-01-10 06:51:04

[Kakao Entertainment](https://newsroom.kakaoent.com/) is a leading entertainment company in Korea with a well-diversified portfolio offering everything from webtoons to films and dramas, talent management and K-pop all under one roof. Using new imaginative ways to maximize the lifecycle and value of content IPs, Kakao Entertainment delivers a holistic entertainment experience in synergy with its tech-driven ecosystem.
Arithmetic Operations - Python - Part 1
Tags: python, beginners, programming
Published: 2023-01-10 06:17:54

Several data types:

- number: integer, float, complex
- string
- print statement
- list
- dictionary
- boolean
- tuple
- set

**NUMBER:**

A number can be either an integer or a float.
An integer is a whole number.
Integer - 3, 6, 8, 445, 34567, 65434
A float is a decimal number.
Float - 1.0, 0.5, 2.33, 765.67, 1.33

Arithmetic operations can be executed on numbers, such as:
1. Addition:
Sum of 2 numbers
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/2wat01ff102r068m2rsj.png)
2. Subtraction:
Difference between 2 numbers
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/fitt7m4urw7bnmtkk3bb.png)
3. Multiplication:
Product of 2 numbers
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/bqcnipyaco4goy4l4iyf.png)
4. Division:
Quotient of 2 numbers
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/grddw7g440mxaddh67z1.png)
5. Floor Division:
Quotient of 2 numbers, except the fractional part
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/xubv7cxbm8klcc9wlveh.png)
6. Exponentiation:
A number raised to the power of another number
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/iigku76sq1ozhykmxr3g.png)
Which is the same as:
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/v3su2c0ibz5zo6zas6n3.png)
7. Modulus:
Reminder after division division of 2 numbers
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/kef7za3ji1exdajiiwlk.png)

Python follows BODMAS rule.
B-Bracket
O-Of
D-Division
M-Multiplication
A-Addition
S-Subtraction

Example:
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/3jh7xs7fr4djgwbg4gy0.png)
SQL Meets Style: Using HTML and CSS to Enhance Your Database
Tags: sql, database, html, css
Published: 2023-01-10 06:10:35

As a database administrator or developer, you know the importance of organizing and accessing data efficiently. But just because your SQL database is functional doesn't mean it can't also be visually appealing. That's where HTML and CSS come in.

HTML, or HyperText Markup Language, is a standard markup language used to create web pages. It consists of a series of elements, or tags, that tell your web browser how to structure and format the content on the page.

CSS, or Cascading Style Sheets, is a stylesheet language used to describe the look and formatting of a document written in HTML. With CSS, you can control the font, color, layout, and more, making it easy to create visually appealing and consistent pages.

So, how can you use HTML and CSS to enhance your SQL database? Here are a few tips:

Use HTML tags to structure your data. HTML has a variety of tags that you can use to organize your content, such as headings, paragraphs, lists, and tables. By using these tags, you can make your data easy to read and navigate.

Use CSS to style your pages. With CSS, you can control the look and feel of your pages by setting properties such as font size, color, and background color. You can also use CSS to create responsive layouts that adjust to the size of the user's screen.

Use classes and IDs to target specific elements. You can use classes and IDs to apply styles to specific elements on your pages. This is useful if you want to style certain elements differently or if you want to reuse styles across multiple pages.

Use external stylesheets to keep your code organized. Instead of writing all of your CSS in your HTML file, you can use an external stylesheet to keep your code organized and easy to maintain. Simply create a separate .css file and link to it in your HTML file using the <link> tag.

By using HTML and CSS to enhance your SQL database, you can add an extra layer of professionalism and visual appeal to your pages. It's a simple way to improve the user experience and make your data stand out. So, start experimenting with these tools and see how they can elevate your SQL database!
Getting Sublime Text modal
Tags: vim, sublimetext, editors
Published: 2023-01-10 06:00:10

So [last night](https://mastodon.social/@aubreypwd/109656534755173946) I enabled Vintage mode in Sublime via a package called [NeoVintageous](https://github.com/NeoVintageous/NeoVintageous) and this evening I've _disabled_ NeoVintageous and have enabled Sublime's built-in Vintage mode with `vintage_ctrl_keys` on instead.

The reason is, after a day of NeoVintageous, I find I don't really need Ex mode stuff (beyond `:w` which I just like for parity with Vim) because I don't really want that experience. I don't want Vim. I just want to edit text in a (modal) language for productivity.

I wanted goto line `:#` which I thought I could only get from NeoVintageous (as it doesn't work in Vintage), but turns out I forgot you can `#G` to get to a line too.

I'm not looking for Vim (or I would just use Vim), or a Vim emulation; I still want the GUI, native, macOS experience. I don't want to feel like I'm running Vim, but I do want modal editing! I am really more-looking for Sublime + modality, not necessarily Sublime + Vim.

Hopefully Vintage is the way to go here. So far I have been enjoying remembering all the motions, I might even be re-visiting `vim-tutor` for a refresher. I used Vim for four years in the past and I've forgotten so much! I'm not super productive yet (having to Google here-and-there for motions and trying not to cheat).
SQL Subqueries: Simplified
Tags: sql, subqueries, database, beginners
Published: 2023-01-10 05:53:43

A subquery is a SELECT statement that is nested within another SELECT, INSERT, UPDATE, or DELETE statement, or within a SET clause of a SELECT statement. Subqueries can be used to return data to the main query or to filter the results of the main query based on the results of the subquery.

Subqueries are usually used when the main query cannot be written using a simple WHERE clause, or when the main query needs to retrieve data from multiple tables.

Here is an example of a subquery used in a SELECT statement:

SELECT *

FROM orders

WHERE order_total = (SELECT MAX(order_total) FROM orders);

In this example, the subquery (the SELECT statement within the parentheses) is used to find the maximum order total from the orders table. The main query then uses the result of the subquery to filter the orders and only return the rows with the maximum order total.

Subqueries can also be used in the FROM clause of a SELECT statement, in which case they are called derived tables. Here is an example of a subquery used as a derived table:

SELECT o.order_id, c.customer_name

FROM (SELECT * FROM orders WHERE order_total > 100)

AS o JOIN customers AS c ON o.customer_id = c.customer_id;

In this example, the subquery is used to select all orders with a total greater than 100. The main query then joins this derived table with the customers table and returns the order IDs and customer names for the matching rows.

It is important to note that subqueries can only return a single value or a single row of values to the main query. If the subquery returns multiple rows, you must use a GROUP BY or HAVING clause in the subquery, or use a JOIN in the main query.

Subqueries can be very useful in optimizing the performance of your SQL queries, as they allow you to break down a complex query into smaller, more manageable pieces. However, they can also make your queries more difficult to read and maintain, so it is important to use them carefully and only when necessary.

I hope this helps to simplify the concept of SQL subqueries for you!