teleren/devto huggingface dataset:
𝟭𝟬 𝗪𝗲𝗯 𝗔𝗽𝗽𝘀 𝘁𝗼 𝗕𝗼𝗼𝘀𝘁 𝗬𝗼𝘂𝗿 𝗣𝗿𝗼𝗱𝘂𝗰𝘁𝗶𝘃𝗶𝘁𝘆
Tags: css, javascript, react
Published: 2023-01-17 20:09:45

## 𝟏. 𝐆𝐫𝐚𝐛𝐢𝐞𝐧𝐭 
Seriously well executed One Pager called ‘Grabient’ providing colorful gradient CSS code for your next project. The Singe Page site features impressive UI elements to copy gradients, add colors, increase color rations and even change the gradient angle.

https://www.grabient.com/?ref=producthunt

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


## 𝟐. 𝐁𝐨𝐱 𝐒𝐡𝐚𝐝𝐨𝐰𝐬 
A Shadow generator with blur, transparency, position, and other parameters.

https://box-shadow.dev/

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


## 𝟑. 𝐆𝐫𝐢𝐝 𝐆𝐞𝐧𝐞𝐫𝐚𝐭𝐨𝐫 
Generate basic CSS Grid code to make dynamic Layouts.

https://cssgrid-generator.netlify.app/

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


## 𝟒. 𝐊𝐞𝐲𝐟𝐫𝐚𝐦𝐞𝐬 
Create CSS keyframe animations with a visual timeline editor.

https://keyframes.app/

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


## 𝟓. 𝐒𝐕𝐆 𝐁𝐚𝐜𝐤𝐠𝐫𝐨𝐮𝐧𝐝𝐬 
A collection of SVG backgrounds that can easily b used to set on your site.

https://www.svgbackgrounds.com/

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


## 𝟔. 𝐔𝐧𝐝𝐫𝐚𝐰 
Open-Source illustrations for any idea you can imagine and create.

https://undraw.co/illustrations

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

## 𝟕. 𝐒𝐡𝐚𝐩𝐞𝐫 
Interface styles shaper. play with the typography, spacing, colors, and layers.

https://hihayk.github.io/shaper/

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

## 𝟖. 𝐅𝐨𝐧𝐭𝐣𝐨𝐲 
Font pairing mode is simple. Generate font combinations with deep learning.

https://fontjoy.com/

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/6vywlkj112g30gx8gtzl.jpg)


## 𝟗. 𝐇𝐞𝐚𝐝𝐥𝐞𝐬𝐬 𝐔𝐈 
Completely unstyled, fully accessible UI components.

https://headlessui.com/

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


## 𝟏𝟎. 𝐒𝐢𝐳𝐳𝐲 
A dev-oriented browser, making responsive design a breeze.

https://sizzy.co/

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/tom3zhrmpjps9578k5nw.jpg)
Bracket Color Change VSCODE | How to Customize Bracket Color in vscode?
Tags: vscode, webdev, beginners, programming
Published: 2023-01-17 20:05:43

If your vscode bracket color not working and your vscode color brackets disable and you want to change the vscode color brackets native then this video is for you. In this video I will show you the steps for Bracket Color Change VSCODE and How to Customize Bracket Color in vscode.

## Steps to Customize Bracket Color in vscode:

1. Open your visual studio code editor
2. Got to settings which is at bottom left corner
3. Then search for "bracket pair colorizer" or "bracket pair colorization"
4. After that enable the "bracket pair colorization" checkbox option
5. Open "settings.json" to customize the matching bracket colors
6. Copy and paste the following code as shown in the video tutorial

{% youtube PgoYfv2QRog %}

VS Code Native Bracket Pair Colorization
How To Change Characters in Code Italics With Brackets
Change the Color of Brackets in VS Code - a Short Clarification
How to Change the Color of Brackets in VS Code
Change the Color of Brackets in VS Code with this Shortcut!
How to set matching bracket color in vscode?
Changing the color of curly braces inside VSC

Related Queries:
How do I change the color of my braces in Visual Studio?
How do I turn off bracket colorization in VS Code?
How do I enable rainbow brackets in VS Code?
What is bracket pair colorizer,
Can I change my braces color,
Can you get different color brackets,

****************************
𝗛𝗲𝘆, 𝗜𝗳 𝗧𝗵𝗶𝘀 𝗩𝗶𝗱𝗲𝗼 𝗶𝘀 𝗛𝗲𝗹𝗽𝗳𝘂𝗹 𝗳𝗼𝗿 𝗬𝗼𝘂, 𝗣𝗹𝗲𝗮𝘀𝗲 𝗕𝘂𝘆 𝗺𝗲 𝗮 𝗖𝗼𝗳𝗳𝗲𝗲. 𝗧𝗵𝗮𝗻𝗸 𝗬𝗼𝘂!😇
𝗟𝗶𝗻𝗸:   https://www.buymeacoffee.com/hmaweb
****************************

- 𝗦𝗼𝘂𝗿𝗰𝗲 𝗖𝗼𝗱𝗲 𝗟𝗶𝗻𝗸 (𝗬𝗼𝘂 𝗺𝗮𝘆 𝗵𝗮𝘃𝗲 𝘁𝗼 𝘀𝗲𝗮𝗿𝗰𝗵 𝘁𝗵𝗲 𝘁𝗶𝘁𝗹𝗲 𝗼𝗳 𝘁𝗵𝗶𝘀 𝘃𝗶𝗱𝗲𝗼)!
     https://www.hmablogs.com/

- Free Content Generating and SEO Tool for YouTube and Blog Website!!!
    Link:   https://seo.app/0vO08Jofa
------------------------------------------------------------

Suggested Videos:

Complete User Registration &  Login System with PHP and MySQL Database | PHP Login System
https://youtu.be/m50q5_RQFB4

How to Create Responsive Sign Up Form with HTML5 CSS3 | How to create a signup page
https://youtu.be/TuznhDaF3rw

Top 10 VSCODE Extensions For Web Developers | Best VSCODE Extensions 2022
https://youtu.be/klL5DZePXEc

How to Change Website Content in JavaScript | How to Append Text in JavaScript 2022
https://youtu.be/-rphTk2Vwwc

How to Build Vertical Tabs in HTML and CSS | Animated Vertical Tabs in HTML and JavaScript
https://youtu.be/4fzLRXUbkcM

Hoverable Responsive Dropdown HTML CSS | Hover Over Dropdown Menu HTML CSS
https://youtu.be/m18hothdz7Y

$_POST | What is the Post Variable in PHP | How to Use Post Variables in PHP 2021
https://youtu.be/HO-TrXY4a1A

How to Define Variables in PHP | How to Create PHP Variables | (PHP tutorial-3) - 2021
https://youtu.be/bfqAa0Gm3YY

10 Ways How to Center a Div Vertically in Another div | CSS Align Center
https://youtu.be/BibKN_xbQ1U
Demo: question answering on tabular data
Tags: transformers, huggingface, deeplearning, analytics
Published: 2023-02-23 16:42:02

---
title: Demo: question answering on tabular data
published: true
date: 2023-01-17 19:59:06 UTC
tags: transformers,huggingface,deeplearning,analytics
canonical_url: https://julsimon.medium.com/demo-question-answering-on-tabular-data-6f57d2db95d4
---

Tabular data is everywhere, from spreadsheets to tables embedded in text documents. In this [Hugging Face](https://www.linkedin.com/feed/#) Space, you can use the [Google](https://www.linkedin.com/feed/#) TAPAS and [Microsoft](https://www.linkedin.com/feed/#) TAPEX models to ask questions in natural language on CSV data. Give it a try and let me know what you think :)

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

✅ Space: [https://huggingface.co/spaces/juliensimon/table\_questions](https://huggingface.co/spaces/juliensimon/table_questions)

✅ TAPEX model: [https://huggingface.co/microsoft/tapex-large-finetuned-wtq](https://huggingface.co/microsoft/tapex-large-finetuned-wtq)

✅ TAPAS model: [https://huggingface.co/google/tapas-large-finetuned-wtq](https://huggingface.co/google/tapas-large-finetuned-wtq)

✅ TAPEX paper: [https://arxiv.org/abs/2107.07653](https://arxiv.org/abs/2107.07653)

✅ TAPAS paper: [https://arxiv.org/abs/2004.02349](https://arxiv.org/abs/2004.02349)
Implementing Singleton in TypeScript
Tags: webdev, typescript, beginners, tutorial
Published: 2023-01-17 19:57:56

### What is the Singleton design pattern?

Implementing the singleton design pattern ensure that there is only one instance of a class. It essentially controls of when and how that the single instance of the class is created and provides   global access point to that single instance. It also restrict the developers from creating new instance of the class.

### Advantage of using singleton design pattern ?

- To keep resource utilization under control that is some objects 
  consumes too much time or resources to be created. So by making 
  the class singleton restricts the option to have multiple objects of the same class.

- Memory overhead is reduced as the singleton pattern has only one instance in memory.

- To keep a single channel of communication with an outside resource open all the time.

Some well known examples of Singleton design pattern are logging, caching, and database connection.

### Let's try to implement singleton design pattern in typescript

we need to make sure that:
 
- there is no option to create multiple instance of the class. To achieve this we can make our class constructor specifier as `private`. These way the ability to create new instance using `new` keyword will only be possible within the class.

- function and method can be called without the need to create instance of the object. These we can achieve by making method and function static. A static method  don’t need an instance of the class to be used.

Let's dive into code

{% embed https://gist.github.com/ambujsahu81/1e21fab0e88bb615ade7bfe919a42edb.js %}

Here we have a `TaskListTemplates` class which helps to render the task list in the dom. And the constructor is private. So that if you try to instantiate this class using `new` keyword from outside, then TypeScript compiler will prompt the following error message:

>
Constructor of class 'TaskListTemplates' is private and only accessible within the class TaskListTemplates.ts(2673)

Now we can use the `TaskListTemplates` class as follow

```ts
import TaskListTemplates from './templates/TaskListTemplates';


let taskList: TaskListTemplates = TaskListTemplates .getInstance();
taskList.render();
```
By having TaskListTemplates class as singleton, we made sure that there only one task list instance manipulating the dom (instead of accidentally instantiating several at once, and having duplicate task list showing in the dom).

we can further verify its functionality 

```ts
let taskListOne: TaskListTemplates = TaskListTemplates .getInstance();
let taskListTwo: TaskListTemplates = TaskListTemplates .getInstance();

console.log(taskListOne=== taskListTwo); // true
```

You can find the complete code sample [here](https://github.com/ambujsahu81/Typescript_practice/tree/main/src/templates)
Understanding Docker: part 39 – SBOM
Tags: docker, devops, beginners, cloud
Published: 2023-01-17 19:54:24

---
title: Understanding Docker: part 39 – SBOM
published: true
description: Serie of sketchnotes about Docker. Explaining in a visual way Docker principles.
tags: Docker, DevOps, beginners, Cloud
series: Understanding Docker in sketchnotes
cover_image: https://dev-to-uploads.s3.amazonaws.com/uploads/articles/lpm15827dno259jjvxxz.jpg
---

Understanding Docker can be difficult or time-consuming. In order to spread knowledge about Cloud technologies I started to create sketchnotes about Docker. I think it could be a good way, more visual, to explain Docker (and other technologies like Kubernetes and Istio).

We continue the series of Docker sketchnotes with a focus about the SBOM : Software Bill Of Materials.

![Docker SBOM](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/lpm15827dno259jjvxxz.jpg)
![Docker SBOM](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/pqhieczgq5bzh87l7crj.jpg)
![Docker SBOM](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/zzscivcc1burtsmwzdsb.jpg)

As usual, if you like theses sketchnotes, you can follow me, and tell me what do you think. I will publish others sketchs shortly :-).

If you are interested, I published the book in a paperbook version on Amazon: [Understanding Docker in a visual way](https://www.amazon.fr/Understanding-Docker-visual-way-sketchnotes/dp/B0BT6ZXR1W/ref=sr_1_1) and also in a PDF version on [GumRoad](https://gumroad.com/aurelievache#YTLzM).

If Kubernetes interest you too, the book [Understanding Kubernetes in a visual way](https://www.amazon.fr/dp/B0BB619188/ref=cm_cr_arp_d_product_top?ie=UTF8) is available also.
8 AI tools that you should be using to improve your life in different areas
Tags: ai, chatgpt, machinelearning, webdev
Published: 2023-01-17 19:52:29

AI is a powerful technology that has the potential to greatly improve our lives in various ways. From content creation to programming to productivity, many AI tools can help you achieve your goals. Here are 8 AI tools that you should be using to improve your life in different areas:

1. ChatGPT - a chatbot from OpenAI that uses the GPT-3 language model and is enhanced with supervised and reinforcement learning methods.

2. Fireflies.ai - an AI tool that automatically records, transcribes, searches, and analyzes voice chats for your team.

3. Hemingway - a writing tool that helps you make your writing more clear and more concise by highlighting long, complex sentences and common mistakes.

4. Grammarly - an AI-based tool that checks your spelling, grammar, punctuation, and more, and offers corrections and suggestions.

4. Headlime - an AI-based copywriting tool that helps you write effective marketing copy quickly and easily.

5. Notion AI - an AI-powered tool that can help you write more efficiently and creatively on any Notion page.

6. Final Touch - an AI-based tool that helps you design holiday messages and other visual content with ease.

7. Lensa - an all-in-one photo-editing tool that uses AI to enhance your images, fix facial flaws, change backgrounds, and more.

This is just a small selection of the many AI tools available today, each with its unique capabilities. By using these tools, you can boost your productivity, improve your skills, and achieve your goals more easily.
Using Refs and Hooks to call child function in parent component
Published: 2023-01-17 19:42:54

In React, it's generally best practice to pass down functionality to children through props and to pass up notifications from children through events. However, there may be times when you need to expose an imperative method on a child component to be called from the parent component. In these cases, you can use refs.

To use refs in functional components, you'll need to use the forwardRef, useRef, and useImperativeHandle hooks from the React library.

First, you'll need to wrap your child component in the forwardRef function in order to access the ref object that is assigned using the ref prop. The ref is passed as the second parameter to the function component.

Next, you'll need to use the useImperativeHandle hook to extend the component instance with the imperative method you want to expose.

In the parent component, you'll need to use the useRef hook to get a reference to the child component, and then use this reference to call the child's method.

Here's an example of how to use refs to call a child method from a parent component in modern React:

```
const { forwardRef, useRef, useImperativeHandle } = React;

const Child = forwardRef((props, ref) => {
  const childRef = useRef();
  useImperativeHandle(ref, () => ({
    getAlert() {
      alert("You clicked the button!");
    }
  }));

  return <h1>Child</h1>;
});

const Parent = () => {
  const childRef = useRef();
  return (
    <div>
      <Child ref={childRef} />
      <button onClick={() => childRef.current.getAlert()}>Click</button>
    </div>
  );
};

ReactDOM.render(
  <Parent />,
  document.getElementById('root')
);
```

Please keep in mind that using refs in this way is an escape hatch, and usually indicates that a better design is available.
SDK is "safe"?
Tags: sdk, android, ios, node
Published: 2023-01-17 19:39:12

Have you read my previous article about "what is SDK?". If not, then first read out this article [what is SDK?](https://dev.to/muhammadilyas92/what-is-sdk--4fpe) Here i briefly explain about what factor would be checked after integrating SDKs.

Now lets move to next read,

## How do we know SDK we are implementing is safe and secure

- Most of the time we have seen that malicious SDKs can violet user data privacy, damage app performance or even apps to be banned from Google Play Store or App Store.

- SDKs can be unsafe because they are implanted within apps, but yet run separate code.

- We must be sure before integrating and implementing SDKs that it not been infected by malware or leaking unapproved data to an external site.

- SDKs should be transparent about what the data is capturing.

- We have to implement licensed SDKs because they have diversified the product knowledge in their description.

- Sometime we have adding those SDKs where they have no proper documentation, how to use SDK.

- Some Third party SDKs capturing users data but not include it on documentation. Proper documentation would get benefit.

- SDKs must be compliance from GDPR or CCPA.

- Before the release of our app into the market we need to ensure the app undergoes scanning and there are no security issues.

- If issues are identified then based on classification we may not be able to deploy. 

Hope this will be helpful points that i share with you to understand. More articles related to this will coming soon...


(The entire content is copyright by author all rights reserved. The article may not be copied or duplicated in whole or part by any means without express prior permission.)
the basic concepts of React
Tags: components, webdev, jsx, react
Published: 2023-01-17 19:38:20

**React **is a JavaScript library for building user interfaces. It allows developers to create reusable UI components and manage the state of their applications in an efficient way.
Components are the building blocks of a React application. They are JavaScript classes or functions that define a specific piece of UI, such as a button or a form. Components can also accept props, which are input data passed to the component by its parent, and they can also have their own internal state.
JSX is a syntax extension for JavaScript that allows developers to write HTML-like elements in their JavaScript code. JSX elements are transformed into React elements that are used to render the UI.
The state is the data that determines how a component should render. It can be defined as an object within a component and updated using setState() method. State updates will cause the component to re-render, allowing for dynamic updates to the UI.
Here is an example of a simple React component that displays a message:

```
import React, { Component } from 'react';

class Hello extends Component {
  state = { message: 'Hello from morocco' };
  
  render() {
    return <h1>{this.state.message}</h1>;
  }
}

```
This component is a class that extends the React Component class, and it has a state object that contains a message property. The render method returns a JSX element that displays the message.

To use this component in a React application, it needs to be imported and rendered:

```
import React from 'react';
import { render } from 'react-dom';
import Hello from './Hello';

render(<Hello />, document.getElementById('root'));

```
This is just a simple example, but it illustrates the basic concepts of React: components, JSX, and state. With these building blocks, you can create complex and dynamic user interfaces.
Client and Server
Published: 2023-01-17 19:30:42

## server
-these are devices or software that provides services or resources to client via internet or private network. these can be a laptop, some software programs in our laptop. If the website is to used globally we use amazon aws, microsoft azure,gcp etc cloud services, in which case we can say our device is a server. there are many types of servers- database servers: stores data which can be accessed by client. file servers-stores file that can be accessed by client. web servers- Use to maintain the logic behind a dynamic website. application servers-use to maintain backend logic behind a mobile software.

## clients
-These are devices or softwares which connects to web servers to access web based resources or services. clients can be of many types-web browser, applications , command line interfaces (no ui, no interface, only keywords from user),android phone, desktop etc.
Best Resorts in Dandeli
Tags: dandelicamp
Published: 2023-01-17 19:09:19

Dandeli is an intriguing and action-packed city in Uttar-kannada Western Ghats known for its deep valleys, lush, dense deciduous woods, wildlife sanctuaries, bird watching, water sports, riverside fishing, hiking on mountainous terrains, mountain biking, night camps, and natural splendour. It is a popular tourist destination due to the combination of breathtaking natural beauty and exhilarating adventure.

The greatest time to visit [Dandeli](dandelicamp.in) is from October to May, when the weather is ideal for outdoor activities like swimming and bird watching. Because to the extreme rains, it is advised to avoid the monsoon season.

**Several of the top attractions include**

1.**Kavala Caves** - Tourists and especially devotees of Lord Shiva visit the unusual limestone Kavala Caves to observe an amazing shivlinga created by volcanic activity. The 375 steps down to the inner chamber of the stalactite and stalagmite-adorned cave require visitors to bring a torch because it is completely dark within.[Read-more](dandelicamp.in)

Daily hours are 8:00 am to 5:00 pm.

2.**Shiroli Peak** - The highest point in the Dandeli Wildlife Sanctuary, it offers a magnificent view of the Sahyadri mountain range in the Western Ghats and a beautiful sunset. It is also a good route for trekking. a great location for outdoor enthusiasts.[Read-more](dandelicamp.in)


The River Kali

 Kali has a wide range of water activities, drawing the majority of adventure seekers to Dandeli. It is erratic in nature and provides thrills for both beginners and experts. White water rafting on the Kali River is an exhilarating activity that involves paddling through grade 2, 3, and 4 rapids across a 9-kilometer course while being supervised by a professional. In addition to rafting, one can also engage in kayaking and canoeing. It is enthralling to ride in a coracle boat, a saucer-shaped "boat" made of bamboo and tanned buffalo leather, as you observe crocodiles in the water and hornbills circling in the air. Another activity for nature lovers is moonlight boating, which they may do at night while using night vision binoculars to view the nocturnal creatures read more visit [Dandelicamp.in](dandelicamp.in)

**Get best price resorts & homestay**
Visit- [dandelicamp.in](dandelicamp.in)
Get free water activities