teleren/devto huggingface dataset:
Food_Restaurent
Tags: atlashackathon
Published: 2022-01-12 16:50:42

_**FOOD MADE WITH LOVE**_
HERE THE INFORMATION IS CLEARLY VISIBLE EVEN A ILLETERATE CAN UNDERSTAND EASILY THROUGH OUR WEBSITE.
WE ARE PROVIDING DELICIOUS FOOD BEGINS WITH LOW COST AND HIGH QUALITY,SO WE CAN GET HEALTHY FOOD ECONOMICALLY.
**WHILE EATING THIS "EYES WATERING", "MOUTH WATERING"**.......
"WE CAN GET FRESH FOOD AT ANYTIME"..

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

**_OUR WEBSITE CONTAINS_**

IN THIS WE DIVIDED INTO 6 CATEGORIES:

- **HOME**
- **SPECIALITY**
- **GALLERY**
- **POPULAR**
- **CUSTOMER REVIEW**
- **ORDER**

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/sx019c68nh77hw2pcesm.png)
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/qen1rubbmhbpbr5zdexl.png)
>**_ HOW IT WORKS_**

1. CHOOSE YOUR FAVOURITE FOOD.

2. FREE AND FAST DELIVERY.

3. EASY PAYMENT METHODS.

4.AND FINALLY ENJOY YOUR FAVOURITE FOOD.........

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/jsq0h5n4xbh30tmywboz.png)
 WE CAN GET A **"4 STAR RATING"** FROM CUSTOMERS  AS A FEEDBACK 
OUR TEAM AND I DESIGN THE WEBSITE WITH SPECIAL ICONS WITH EASILY UNDERSTANDABLE FORMAT TO EVERYONE..

###submission category:
     E-COMMERCE CREATION

https://github.com/maturusupriya/FOOD_MADE_WITH_LOVE.git

###ADDITIONAL RESOURCES/INFO
WE USE VISUAL STUDIO TO WRITE THE CODE AND WE CONNECT TO MONGO ATLAS, THUS OUR OUR BEAUTIFUL WEBSITE IS CREATED..
https://docs.atlas.mongodb.com/
https://docs.mongodb.com/


![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/p2ael5irb9saeujcb2ye.png)
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/f3v5mufdopa5576qzcgc.png)
#FOOD MADE WITH LOVE #DELICIOUS FOOD #USER-FRIENDLY

..................................................................
🎈Using param object in Spring 🍃 Data JPA query
Tags: kotlin, java, webdev, database
Published: 2022-01-12 16:46:18

Spring Boot JPA repositories are very simple and useful approach how to get data we need for our business logic. Instead of implementing methods, which would execute queries, we can just annotate repository methods with `@Query` annotation. Spring automatically implements these methods using proxies and we don't have to care, what happens under the hood.

We can simply pass variables by defining them as parameters of the annotated methods and using them in the query with `:` prefix. 

```kotlin
  @Query("from Project p where p.user = :userAccount")
  fun getAllUserProjects(userAccount: UserAccount): List<Project>
```

This is great, but what we need to pass more params to the query, like more complex filters? Can we do that using object encapsulating these parameters? Yes we can! [Spring supports also using SpEL in the JPA Queries](https://spring.io/blog/2014/07/15/spel-support-in-spring-data-jpa-query-definitions)!

```kotlin
  @Query("""from UserAccount 
    where u.firstname = :#{#customer.firstname}""")
  fun findCoolUsers(
    @Param("customer")
    customer: UserAccount
  ): List<UserAccount>
```

This is very useful, when we need to pass many parameters to our query and we don't want to define many function parameters.

---

Tolgee is an open-source solution for software localization. It saves developer's time. Go to [Tolgee.io](https://tolgee.io) and have fun!

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/idu23asnj6dsz885l25x.jpeg)
Why do the color values range from (0-255) only?
Published: 2022-01-12 16:40:34

## Once upon a time...

Someone asked me this question "Why do the color values range from 0-255 only?". 

I was surprised how I never noticed this small thing and began on a quest to know the **Truth**. 

Not Surprisingly, the **Truth** is so simple.

## The Truth

Most of the screens use **24 bits** RGB pixels, each pixel has three components in order of** Red, Green, Blue** leaving **8 bits** for each color component. 

![Screenshot (40).png](https://cdn.hashnode.com/res/hashnode/image/upload/v1642002269352/HtYh6PvEI.png)
Check this RGB calculator  [here](https://www.w3schools.com/colors/colors_rgb.asp).

The minimum and maximum decimal number that can be represented through 8 bits is 0 and 255.

```
00000000 (binary) = 0 (decimal)
11111111 (binary) = 255 (decimal) 
``` 

Each pixel component ranges through 256 different shades of their color (RGB), and each number just  sets the brightness/contrast of that pixel component resulting in

> 256 x 256 x 256 = 16777216 possible colors

I hope you learned something new today, open to comments and suggestions. 
Thanks for reading the article.
I Was Betrayed By Computer Science Students
Tags: watercooler, todayilearned
Published: 2022-01-12 16:39:57

Convenience, she never guaranteed to make life better. It may seem so, but it is not real.

Another day, I have called by a lecturer of mine from the last two semesters. It was not a direct call, but rather someone had came to me for saying that. I believed on her, for my lecture that one and several others have put their trust in me, specially in teaching my juniors. But that day happened to be my senior ... I know exactly, everyone has a tendency of doing what is destined to. But, if they do not even try, what is the point of being students? Of being computer science students?

Even worse, one of our junior lecture told, "If you cannot code, you can always do this and that." You know, I am not upset, rather I am so sad.

I have always believed that a computer student must know how to code. It does not matter at all if they end up not mastering all the implementations, but at least they shall get the basic ideas behind doing the code. It will surely be achieved by itself through efforts and struggles in the learning process. It will not be cheap though, never.

I am used to, being the leader of a study group, from elementary to college. It was indeed such a disaster, since I was not expecting it at all. I would say that neither I am good at it nor I am passionate, but I became enjoyed by time. From there, I have learned a lot how to teach friends my age. I became able to say who only has a desire to learn, who is willing to put in the effort, and who is learning by compulsion.

Without the prior experiences, I bet everyone can tell whether she wanted to be helped in study or in doing her thesis. With every added minute, I was getting more and more clueless as to what I should do to help. I did not want her parents to find out the three and a half years she spent in class was not worth the tuition fees. Although I kept myself to help her gently until my class break time was over.

I think, I should have to think of this. I know that this cannot be completely resolved. But at the very least, one has to keep fighting for this, no matter where one is. And I know, some have been involved in this war, a war against laziness and ignorance. This is not the culture of our people, this is just a widespread misunderstanding.

Today, I realised that I might have been wrong. People may suffered a lot during the learning process, but I smugly said they were not trying. Judging only by their accomplishments. Effort may not bring a charter, but it can change a person into a better person. Being a computer science student for three and a half years may have turned her from an introvert to a person who is not shy asking her junior for help.
New project - cat adoption website!
Published: 2022-01-12 16:39:23

Hello everyone,

I'm very excited to start building my next project, cat adoption portal. There will be options to search database of cats ready to find new home, create your account and follow informations about cat adoptions or publish your notice about cat looking for new owner.

For now I'm creating design of this project in Figma.
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/jrsardw3ja5f99r0jrj6.png)
Programming Journey For Every Developer
Tags: codepen, programming, beginners, codenewbie
Published: 2022-01-12 16:30:46

Developing Tools For Developer must have:
1.code editor such as VsCode,Lime & Atom.
2.Console tool.for checking errors and performance of the code.
3.Browser such Chrome.(reccomended for developers)
4.Install extensions in the code editor to run the code.

**_Watch the video below_**
[View](https://youtu.be/RSp2Cr4NOW4).
vaccineAvailabilty Application
Tags: atlashackathon
Published: 2022-01-12 16:28:23

[Instructions]: # (To submit to the MongoDB Atlas Hackathon on DEV, please fill out all sections.)

This is the project which helps to notify people in India for the availability of the slot for the vaccines. This uses Cowin application (https://www.cowin.gov.in) though selenium script to find the slot from the website and sends SMS notifications for the slots. The phone numbers and pin codes of the people are captured in a Google sheet in offline mode through restricted access and using Google AppScript the data is submitted to MongoDB Atlas database. From there REST API service is exposed at Realm application layer to share data which is used to send the notifications by a groovy program integrated with selenium for finding slot and sending SMS to the people. This will help for people who can't browse the CoWin site or people not having smart phone or laptop. This way they can get notifications on finding the slot.

The application is tested from local environment only for now. There is a plan to install the code on AWS infrastructure and run a daily scheduler to check the availability and send the SMS notification. For SMS Twilio's free account has been used, this is just for POC purpose. Another solution can be used for sending bulk SMS.


### Submission Category: 

Automation Innovation

### Link to Code

https://github.com/rahulsaini109/vaccineAvailability
Technology : Google AppScript, MongoDB Atlas, Selenium, Groovy, Twilio

### Additional Resources / Info

The SMS will be sent to the end user. PFA the sample message.

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

Contributors : Rahul Saini, Bikram Bhusan Sinha, Monil Singhal
Day 4 of 100 - Java: Data Types
Published: 2022-01-12 16:04:05

Binge watching, Java Basics 

String concatenation:

```java
today = 4;
total = 100;
System.out.println("Day "+today+" of "+total+" - Learning Java");
```

Points:
1. Use lower camel case for variable names.
2. use full names. speed instead of sp;
3. Start variable with a letter. var8 or v1 and not 8var
4. Long or Integer for integer values. Double for fractions
5. String or Character datatypes. Character cannot be used for calculations
      ```java
  String text = "(a) Today is January 12 2022";
  char hello = '4';
  char three = '3';
  //char ten = '10'; // Cannot store more than one letter.
  ```

6. boolean
      ```java
//boolean hello = 21; //incorrect
boolean hello = true;
// long number = 100.1; // only natural numbers
```
7. Variable Arithmetic
      ```java
int negNumber = -20; // =-20
int multNumber = 5*6; // = 30
//
double divide = 5/2; //=2
double divide2 = 24/5; //not 4.8, =4
double accurateDivide = 5/2.0; // 2.5
//
int x = 2+3; //5
int y = 4-5; //-1
int z = x*y; //-5
//
double paid = 10;
double change = 3.25;
double tip = (paid-change)*0.2;
// double tip = paid - change * 0.2;
```
8. If in doubt, use parentheses (). `*` or `/` before `+` or `-`.
9. Casting
      ```java
double div = 5/2;
System.out.println(div);//2
double accurateDiv = (double)x/y;
System.out.println(accurateDiv);
```
January 2022 OpenNMS Releases – Horizon 29.0.5, Meridians 2021.1.10, 2020.1.18, 2019.1.29
Tags: horizon, meridian, release
Published: 2022-01-18 17:20:23

---
title: January 2022 OpenNMS Releases – Horizon 29.0.5, Meridians 2021.1.10, 2020.1.18, 2019.1.29
published: true
date: 2022-01-12 16:00:01 UTC
tags: Horizon,Meridian,Release
cover_image: https://pbs.twimg.com/media/FI7uM4cXsAICGcA?format=jpg&name=4096x4096
canonical_url: https://www.opennms.com/en/blog/2022-01-12-january-2022-releases-horizon-29-0-5-meridians-2021-1-10-2020-1-18-2019-1-29/?utm_source=rss&utm_medium=rss&utm_campaign=january-2022-releases-horizon-29-0-5-meridians-2021-1-10-2020-1-18-2019-1-29
---

In January, we released updates to all OpenNMS Meridian versions under active support, as well as Horizon 29.

### Horizon 29.0.5

Release 29.0.5 contains a number of bug and security fixes, as well as a few enhancements.

It include an update to the latest Log4j2 release. It is not believed that we are vulnerable to the Log4j issues fixed in these newer releases, but are updating anyway [just to be sure](https://www.merriam-webster.com/dictionary/belt-and-suspenders).

For a high-level overview of what has changed in Horizon 29, see [What’s New in OpenNMS Horizon 29](https://docs.opennms.com/horizon/29.0.5/releasenotes/whatsnew.html).

The codename for Horizon 29.0.5 is [_Kingfisher_](https://wikipedia.org/wiki/Kingfisher).

### Meridian Point Releases

Meridians 2019.1.29 and 2020.1.18 contain a Log4j version bump, plus an NPE fix in the topology UI.

Meridian 2021.1.10 adds on top of that some Javascript dependency updates and doc improvements.

For a list of changes, see the release notes:

- [2019.1.29](https://meridian.opennms.com/releasenotes/2019/latest/#releasenotes-changelog-Meridian-2019.1.29) ([_Laligurans_](https://wikipedia.org/wiki/HD_100777_b))
- [2020.1.18](https://meridian.opennms.com/releasenotes/2020/latest/#releasenotes-changelog-Meridian-2020.1.18) ([_Cuspate Foreland_](https://wikipedia.org/wiki/Cuspate_foreland))
- [2021.1.10](https://docs.opennms.com/meridian/2021.1.10/releasenotes/changelog.html#releasenotes-changelog-Meridian-2021.1.10) ([_Parker Solar Probe_](https://wikipedia.org/wiki/Parker_Solar_Probe))
How Aaron Swartz protest broke my app
Tags: opensource, discuss, news, story
Published: 2022-01-12 15:51:55

About the legend:
Aaron Hillel Swartz (November 8, 1986 – January 11, 2013) was an American computer programmer, entrepreneur, writer, political organizer, and Internet hacktivist. He was involved in the development of the web feed format RSS, the Markdown publishing format, the organization Creative Commons, the website framework web.py, and joined the social news site Reddit six months after its founding.
In 2011, Swartz was arrested by Massachusetts Institute of Technology (MIT) police on state breaking-and-entering charges, after connecting a computer to the MIT network in an unmarked and unlocked closet, and setting it to download academic journal articles systematically from JSTOR using a guest user account issued to him by MIT. Federal prosecutors, led by Carmen Ortiz, later charged him with two counts of wire fraud and eleven violations of the Computer Fraud and Abuse Act, carrying a cumulative maximum penalty of $1 million in fines, 35 years in prison, asset forfeiture, restitution, and supervised release. Swartz declined a plea bargain under which he would have served six months in federal prison. Two days after the prosecution rejected a counter-offer by Swartz, he was found dead by suicide in his Brooklyn apartment. In 2013, Swartz was inducted posthumously into the Internet Hall of Fame.

A developer appears to have purposefully corrupted a pair of open-source libraries on GitHub and software registry npm — “faker.js” and “colors.js” — that thousands of users depend on, rendering any project that contains these libraries useless, as reported by Bleeping Computer. Both libraries still appear to be affected by the bad code, but the issue can be worked around by downgrading to a previous version (faker.js v5.5.3 and colors.js v1.4.0). GitHub has issued a security advisory about the issues affecting color.js, but doesn’t seem to have added an advisory for faker.js.
My custom made debugger used color.js and yesterday I saw it wasn't working (not outputting anything just errors!) I also used faker.js for placeholder information and yet that  had been removed as well
He was a genius and it's damn true that commercial companies steal code in the name of open source
Create Claymorphism Using CSS
Tags: css, webdev
Published: 2022-01-12 15:42:56

### **Let's get started**
**Prerequisites** for this project is very low and all our beginner friends can do; All we need is basic knowledge of **HTML** and **CSS**

In short, **Claymorphism** is:
![properties.png](https://cdn.hashnode.com/res/hashnode/image/upload/v1641999439404/AkXmJ7rl2.png)



Let's add some basic **CSS** and centre the content 
```css
* {
    box-sizing: border-box;
  }
  
  body {
      margin: 0;
      background: #a2e5ff;
      color: #2D3557;
      font-family: 'Poppins', sans-serif;
      display: flex;
      justify-content: center;
      align-items: center;
      min-height: 100vh;
  }
```
**Note**: Import [Poppins](https://fonts.google.com/specimen/Poppins) fonts to your project

Now, it's time to create our card in the `HTML` file
```html
<div class="card">
     <h2 class="card-title">Have you tried Calymorphism</h2>
     <p class="card-text">Calymorphism is awesome!</p>
     <div class="card-button">Yes!</div>
</div>
```
It's time to make it look beautiful 🌈
```css
.card {
    width: 400px;
    padding: 50px;
    border-radius: 30px;
    background: #ffffff;
    text-align: center;
    box-shadow: 0 35px 68px 0 rgba(0, 94, 182, 0.42) 
  }
  .card-title {
    font-size: 32px;
    margin: 0  0 8px 0;
    line-height: 1.3;
    font-weight: 600;
  }
  .card-text {
    font-size: 20px;
    margin: 0;
    line-height: 1.3;
  }
.card-button{
    font-size: 20px;
    font-weight: 900;
    margin-top: 10px;
    background: #2D3557;
    color: #ffffff;
    padding: 5px;
    border-radius: 30px;
    border: none;
    box-shadow: 0 17px 34px 0 rgba(0, 94, 182, 0.42);
    text-transform: uppercase;
    cursor: pointer;
  }
```
Tada 🎉 You created a card
![output](https://cdn.hashnode.com/res/hashnode/image/upload/v1642000970154/cg6zP2ZP5.png)

Now, its time to transform it to **Claymorphism**
```css
.card{
    ...
    box-shadow: 0 35px 68px 0 rgba(0, 94, 182, 0.42), inset 0 -8px 16px 0 #4688ec;
    ...
}
.card-button{
     ...
     box-shadow: 0 17px 34px 0 rgba(0, 94, 182, 0.42), inset 0 10px 26px 0 #24477c;
     ...
}
.card-button:hover{
    background: #2D3557;
    color: #ffffff;
    box-shadow: 0 17px 34px 0 rgba(0, 94, 182, 0.42), inset 0 20px 26px 0 #24477c;
  }
```
![output](https://cdn.hashnode.com/res/hashnode/image/upload/v1642001457524/Xd7a8EUlT.png)
**You made it 🎉**

***
Thank you for reading, have a nice day!

- Follow me on Twitter - [@codewithsnowbit](https://twitter.com/codewithsnowbit)
- Subscribe me on YouTube - [Code With SnowBit](https://www.youtube.com/channel/UCNTKqF1vhFYX_v0ERnUa1RQ?view_as=subscriber&sub_confirmation=1)
Join us at Vauld
Tags: javascript, angular, react, webdev
Published: 2022-01-12 15:41:24


We're a crypto platform growing 50% month on month, we just closed a round of funding($25 million from Peter Thiel's VC fund).

**Senior Frontend Developer:**
https://jobs.lever.co/Vauld/ad72dbe1-6bd7-4c1f-8acd-64483fe49420

**Lead Frontend Developer:**
https://jobs.lever.co/Vauld/ca1e4fa3-0ea1-40c9-b432-82c1c348f212
ToDo List Using NodeJS, MongoDB
Tags: atlashackathon, javascript, webdev, mongodb
Published: 2022-01-12 15:35:12

[Instructions]: # (To submit to the MongoDB Atlas Hackathon on DEV, please fill out all sections.)


### Overview of My Submission
A simple **[To-do List](https://my-todo-list-nodejs.herokuapp.com/)** web application which allows you to keep a list of your day-to-day. You can also create custom lists by adding _/ListName_ to the URL. 

Application is built using NodeJS and Express framework. The persistent data is stored in a MongoDB Database hosted on MongoDB Atlas.

[Try it out!](https://my-todo-list-nodejs.herokuapp.com/)


[Note]: # (Please make sure the project links to the appropriate GitHub repository, and includes the [Apache-2 permissive license](https://www.apache.org/licenses/LICENSE-2.0)  and README.)


### Submission Category: 
Choose Your Own Adventure
[Note]: # (E-Commerce Creation, Prime Time, Action Star, Automation Innovation, or Choose Your Own Adventure)


### Link to Code
{% github https://github.com/adinarad/Todo-List-NodeJS %}
[Note]: # (Our markdown editor supports pretty embeds. Try this syntax: `{% github link_to_your_repo %}` to share a GitHub repository)


### Additional Resources / Info

> Default List
![Default List](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/5d3r4ksuubs7qav06ry5.png)

---

> Custom List
![Custom List](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/7uhmzn3ju4cwp9pcuwcv.png)
bubble sort visualisation | javascript | canvas | html | css | oop

Tags: javascript, webdev, tutorial, programming
Published: 2022-01-12 15:34:31

bubble sort visualisation | javascript | canvas | html | css | oop
https://www.youtube.com/watch?v=wM_CFc_o2sY
if you liked our content subscribe ,leave a nice comment and smash the like button to help us grow ...thanks for your time
How to import a function from a functional component to another functional component
Tags: react, javascript, beginners, webdev
Published: 2022-01-12 15:33:22

To make it clear... I have a submit button and when the user hits it i want to execute some functions that fetch some date and display some results. I can create those functions inside one component but it will be so big and i want to avoid that. So how can i write those functions on a separate js file and import them on the component that calls them ?
Meet New Release of ODBC Drivers with Windows 11, PostgreSQL 14, MariaDB 10.6, and Firebird 4 Support
Tags: mariadb, odbc, postgres
Published: 2022-01-12 15:31:54

---
title: Meet New Release of ODBC Drivers with Windows 11, PostgreSQL 14, MariaDB 10.6, and Firebird 4 Support
published: true
description: Devart rolled out updated ODBC drivers with Windows 11, PostgreSQL 14, MariaDB 10.6, and Firebird 4 support.
tags: MariaDB, odbc, postgresql
//cover_image: https://direct_url_to_image.jpg
---
Devart, a recognized vendor of world-class data connectivity solutions for various data connection technologies and frameworks, announced a new release of all [ODBC drivers](https://www.devart.com/odbc/?utm_source=devto &utm_medium=referral&utm_campaign=pr_odbc_12.01.2022) for cloud data sources and databases. Significant updates of this release - **Windows 11, PostgreSQL 14, MariaDB 10.6, and Firebird 4 support.** 

**The list of the other improvements:**

- FICO Mosel compatibility is improved.
- Compatibility with FileMaker is improved.
- JMP compatibility on macOS is improved.
- Support for an ODBC installer on Windows 2000 is improved.
- Significant improvement of the speed of reading data from NexusDB.

To learn more about the recent release and download new products, visit:
https://blog.devart.com/odbc-drivers-support-windows-11-postgresql-14-and-mariadb-10-6.html

**ODBC Drivers** are high-performance connectivity solutions with enterprise-level features for accessing the most popular database management systems and cloud services from ODBC-compliant reporting, analytics, BI, and ETL tools on 32-bit and 64-bit Windows, macOS, and Linux.

**About Devart** 
 
Devart is one of the leading developers of database tools and administration software, ALM solutions, data providers for various database servers, data integration, and backup solutions. The company also implements Web and Mobile development projects. 
For additional information about Devart, visit https://www.devart.com/.