teleren/devto huggingface dataset:
AJAX Views in Drupal 10
Tags: webdev, php, tutorial, beginners
Published: 2023-02-14 06:48:20

{% embed https://youtu.be/Raf4INWdNws %}

By default a View pager will reload the page on Next and Previous.

I configure the First Trillionaire Candidate View block to use an AJAX request to page through the candidate nodes without a full page reload.
Create React js
Published: 2023-02-14 06:47:29

**Types**
```javascript
const turorialFunction = (name) => {
  console.log(`Hello ${name}`)
}
```
One of the main features of TypeScript is its ability to type-check your code. This means that you can specify the types of variables, function parameters, and return values, and the TypeScript compiler will check that your code adheres to these types. For example, you can specify that a function expects a string as an argument and returns a number like this:
we can creat react js
`function test(x){
return x++
}`
the end

```javascript
const turorialFunction = (name) => {ddddddddddddddddddddddddddddddddddddddddddddddddddddddd
  console.log(`Hello ${name}`)
}
```
How to deal with your big csv file with no code
Tags: nocode, online
Published: 2023-02-14 06:46:59

When you have a big CSV file, typically you have following ways to process it:
1, Use a text editor or command-line tools like grep, sed, and awk to search, filter, and manipulate the data in the CSV file.

2, Use a programming language like Python or R to process the CSV file using libraries like Pandas or data.table. These libraries can handle large CSV files efficiently and offer a wide range of data manipulation and analysis functions.

3, Use a database management system like MySQL or PostgreSQL to import the CSV file into a database table. You can then query and analyze the data using SQL.

4, Split the CSV file into smaller chunks, process each chunk separately, and then combine the results. You can use command-line tools like split, or programming languages like Python, to split the file.

5, Use cloud-based services like Amazon S3 or Google Cloud Storage to store and process the CSV file. These services provide scalable storage and computing resources that can handle large datasets.

6, Optimize the CSV file by removing unnecessary columns, compressing the data, or converting it to a more efficient file format like Parquet or Arrow.

You also can clean and split with an online tool for free. The tool is: https://www.quicktable.io/apps.
First day at web development class
Tags: webdev
Published: 2023-02-14 06:39:13


It was my first day in a web development class yesterday the 13 of February 2023 it was far more then what I expected I was taught from the first day  I learnt about githash and GitHub.com and how they function the experience yesterday was fun and a nice beginning for me 
Bellow is a picture of what I learnt about githash 

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/yd8k7em52z6ulc4df5d3.jpg)
Thanks @Edoinnovates
Discover the Magic of Coding: An Introduction to Understanding What it is
Tags: webdev, javascript, beginners, coding
Published: 2023-02-14 06:37:40

## If you want to see it on YouTube [click here!!!](https://www.youtube.com/watch?v=ynEMlxXWPB4)


**Coding has become an essential skill in today's digital world, and if you're reading this, chances are you're interested in learning more about it. In this article, we'll take a closer look at what coding is, how it works, and why it's so important. Whether you're a complete beginner or have some experience, this guide will give you a solid foundation to build on.**

[So, what exactly is coding?](https://www.youtube.com/watch?v=ynEMlxXWPB4)

Coding is the process of writing instructions in a language that a computer can understand and execute. These instructions, or code, tell the computer what to do, from simple tasks like displaying text on the screen to complex operations like running simulations and data analysis.

There are many different programming languages, each with its own syntax and purpose. Some of the most popular programming languages include Python, Java, C++, and JavaScript. Each language has its own strengths and weaknesses, and is used for different purposes, from web development to machine learning.

[Why is coding so important?](https://www.youtube.com/watch?v=ynEMlxXWPB4)

Coding is an essential skill in today's digital world, and it has many practical applications. From building websites and mobile apps to automating tasks and creating software, coding is at the heart of almost all modern technology. It's a highly in-demand skill that can open up a world of opportunities, whether you're looking to start a career in tech or simply want to build your own projects.

Coding also helps develop valuable skills such as problem-solving, critical thinking, and creativity. It's a constantly evolving field that requires you to stay up-to-date with the latest technologies and trends, making it a challenging and rewarding pursuit.

[How can you get started with coding?](https://www.youtube.com/watch?v=ynEMlxXWPB4)

Getting started with coding can seem daunting, but it's easier than you think. The best way to start is by finding a programming language that interests you and diving into some beginner-friendly tutorials. There are many resources available online, from free online courses to paid [bootcamps](https://www.youtube.com/@CodeWithMohaimin), so you can choose the option that works best for you.

Once you have a solid foundation, you can start building your own projects, from simple websites to complex software applications. The key is to keep learning and experimenting, and never stop exploring new technologies and programming languages.

_In conclusion, coding is a valuable and essential skill in today's digital world, and it's never too late to get started. Whether you're looking to build a career in tech or simply want to learn a new skill, coding has something to offer for everyone. So what are you waiting for? Start discovering the magic of coding today!_
Book Reading App Design with Audio Feature
Tags: app, books, reading
Published: 2023-02-14 06:32:43

[Reading app](https://dribbble.com/shots/20648515-Book-Reading-App-Design-with-Audio-Feature) design with audio reading features is becoming increasingly popular as mobile technology advances. Audio reading features allow people to conveniently read their favourite books and stories in an easy and time-saving manner.
openAI chatGPT中国大陆地区注册教程
Tags: openai, chatgpt, beginners
Published: 2023-02-14 06:30:08

&emsp;去年11月底推出的人工智能对话聊天机器人——chatGPT[1], 已经像浏览器一样全面浸入大家的生活了. 前几个月都比较忙, 也没有什么特定场景必须使用它, 就一直没上手. 

&emsp;最近稍微闲下来一点, 想上手玩一下, 发现大陆地区不在openAI的服务范围. 想写一个简短的教程, 给在大陆区想使用它, 又被“OpenAI‘s services are not available in your country”劝阻的朋友们.

&emsp;首先, 来明确在注册时我们需要解决的两个关键问题:
&emsp;&emsp;1. 如何成功输入并验证邮箱?
&emsp;&emsp;2. 如何获取并验证外国地区的手机号?

&emsp;针对第一个问题, 我们的解决方法当然是走代理, 把自己的IP地址换到支持openAI服务的地区(e.g. 美国, etc). 一般来说, 代理有以下几种方法:
&emsp;&emsp;1. 购买海外VPS服务器, 自己搭建ss/ssr节点, 在Shadowrocket等app上使用节点;
&emsp;&emsp;2. 直接购买节点, 在Shadowrocket等app上使用节点;
&emsp;&emsp;3. 海外学校/研究室提供节点, 直接使用windows/macOS进行连接;
&emsp;大学的时候时间比较多, 都是购买服务器自己搭建节点. 优点是稳定且便宜, 节点出问题也能自己解决. 后来研一的时候因为研究室提供了节点, 就直接使用windows PPTP协议连接了. 再后来换了M1芯片的macOS, 苹果删除了PPTP协议的连接方式(虽然理论上可用别的方法解决但是...懒了), 就开始直接买别人的节点用了. 这里只说第二种方法怎么操作, 其它两种自行搜索就好. 
  * 购买节点: 进入[树洞](https://nihaoshudong.com)这个网站 -> 点击墙裂推荐下面的树洞 -> 注册然后登陆 -> 点击钱包充值 -> 点击商店购买节点(一般10元/月的就很够用了) -> 点击回到主页, 根据自己的手机/电脑系统选择相应教程安装使用节点的app. DONE!!!
  * 使用节点: 网站的教程里已经说的很清楚了. 这里想强调的是, 请一定在你使用代理的app里把代理模式(Proxy Mode)设置为全局代理(Global). 然后选择支持openAI服务的地区(e.g. 美国, etc.)开始你的科学上网.
  * 测试IP地址: 以防万一还是先看看你有没有成功把IP挂到你要去的地方吧. 直接进入这个网站[DNS Leak Test](https://www.dnsleaktest.com)就可以测试.

&emsp;至此你就完成了IP地址切换. 理应已经可以成功注册openAI并验证邮箱. 但是!!! 要注意你的浏览器是有缓存(cookie/session等一系列缓存)的, openAI可以从浏览器缓存中读取你曾经访问别的网站的IP, 所以强烈建议下载一个谷歌浏览器并打开无痕模式进行注册(无痕模式无缓存). 

&emsp;如果你成功进行到这一步, Big cong! 因为获取并验证外国地区的手机号非常简单. 我们只需要在App Store里下载「PingMe」这个软件(安卓用户直接进入这个网站下载: [PingMe](https://pingme.tel) 然后打开软件, 用自己的手机号/邮箱注册, 充值购买一个美国的可以接收短信的手机号(购买时服务记得选openAI, 费用是1刀), 把这个手机号填入openAI, 点击send code, 把PingMe给你的code填上去, DONE!!! 
&emsp;从此以后你不用走代理就可以用openAI啦. 图片里是一个它说的冷笑话...
&emsp;Pls enjoy your chatGPT journey ;)

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

## References
[1] chatGPT: Optimizing Language Models for Dialogue, [chatGPT](https://openai.com/blog/chatgpt/).
How to Digitally Sign and Verify Signatures in PDF documents using the Blazor PDF Library
Tags: blazor, csharp, dotnet
Published: 2023-02-14 06:20:34

Learn how easily you can digitally sign and verify signatures in PDF documents in a Blazor Server app using the Syncfusion PDF Library. In this video, you will see several ways to digitally sign a PDF document and validate signatures in one.

**Product overview**: https://www.syncfusion.com/document-processing/pdf-framework/blazor/pdf-library

**Example project**: https://github.com/SyncfusionExamples/how-to-digitally-sign-and-verify-signatures-in-pdf-documents-using-the-blazor-pdf-library

{% youtube NNIFh1Ckdzw %}
6 steps to becoming wealthy as a developer
Tags: writing
Published: 2023-02-14 06:19:31

We all want to be rich. Filthy rich. But how do you become rich? What are the steps to becoming rich? Here are 6 steps to becoming rich.

First step to becoming rich is having an exact amount of money, car or house that you desire fixed in your mind. Just saying "I want to be rich" is not enough. You must be specific. You must know exactly how much money you want. You must know exactly what you want to buy. You must know exactly what you want to do with the money.

Second step to becoming rich is to determine exactly what you intend to give in return for the money you desire. In order to get money, you must give value. You must give something of value in return for the money. There is no such thing as "something for nothing". This can be a product, service, or information. You must give something of value in return for the money.

Third step to becoming rich is to establish a definite date when you intend to possess the money you desire. You must have a deadline. You must have a date when you intend to have the money. You must have a date when you intend to buy the car or house. You must have a date when you intend to do what you want to do with the money. It can be a month, a year, or 5 years. It doesn't matter. You must have a date.

Fourth step to becoming rich is to create a definite plan for carrying out your desire, and begin at once, whether you are ready or not, to put this plan into action. You must have a plan. You must have a plan of action. You must have a plan of how you are going to get the money. You must have a plan of how you are going to give value in return for the money. 

Everyone has a plan until they get punched in the mouth. - Mike Tyson. Expect punches to come your way. Keep on keeping on. Keep on moving forward. Keep on taking action. Keep on doing what you need to do to get the money. Keep on doing what you need to do to give value in return for the money. Keep on doing what you need to do to get the car or house.

Fifth step is to have a clear, concise statement of the amount of money you intend to acquire. You can have a vision board or a photo in you room that keeps reminding you of what you want.

Sixth. This is very important. Read your written statement aloud or if it is a photo, look at it twice a day, once before you go to bed and the next time, when you wake up. As for me, I have it on an app called Vision Board so I'm able to see it every time I open my phone. As you look at it, believe that you already have the money. Believe that you already have the car or house. 

See you soon!


[![](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ep5qcevrhh8vkvccoo5w.jpg)](https://www.buymeacoffee.com/annohkarlgusta)
Integrating Salesforce Is Not As Hard As It Is Made Out To Be
Tags: saas, salesforce, api
Published: 2023-02-16 14:50:45

 ![Integrating Salesforce Is Not As Hard As It Is Made Out To Be](https://truto.one/blog/content/images/2023/02/Integrating_Salesforce_is_not_hard.png)

We all know Salesforce to be a powerful CRM. While it is a powerful tool, it is often criticized for being clunky and difficult to integrate with other systems.

Traditionally, integrating Salesforce natively with other software could be a time-consuming and complex process. However, our integrations team has recently built an integration that was completed in less than four hours. More on that [here](https://dev.to/gettruto/3-steps-to-integrate-salesforce-using-rest-api-3gi2-temp-slug-566594). This is a testament to the recent improvements made by Salesforce, which have simplified the integration process.

The platform has undergone a significant overhaul in recent years, with a focus on making the interface more user-friendly and intuitive. This has not only made it easier for users to navigate and use the platform, but it has also made it easier to integrate with other systems.

The Salesforce API (Application Programming Interface) is well-documented and allows developers to integrate Salesforce with other systems easily. The API is available in both SOAP and REST formats, making it easy to integrate Salesforce with a wide range of systems, including custom-built applications.

This now begs the question, should you use a unified API provider to integrate Salesforce? You shouldn't if Salesforce is the only integration your teams/customers need. Go through the steps [in this article](https://dev.to/gettruto/3-steps-to-integrate-salesforce-using-rest-api-3gi2-temp-slug-566594) and you should be up and running in less than an hour. We have distilled down the 4 hours of grunt work we did to just the steps you need to integrate Salesforce. (We integrated Salesforce using REST API)

>Build +200 native integrations

>Using Truto's Unified API for CRM, Unified API for ATS, Unified API for HRIS, Unified API for Accounting, and 26 other categories
[Get started free](https://truto.one/)
Top Ways Healthcare Organizations Can Benefit from Telehealth
Tags: telehealth, healthcare, softwaredevelopment, appdevelopment
Published: 2023-02-14 06:12:53

Telehealth, or the delivery of healthcare services through remote communication technologies has become increasingly popular in recent years, and healthcare organizations are starting to realize the many benefits of incorporating healthcare app solution like telehealth into their operations. Here are some of the top ways that healthcare organizations can benefit from telehealth development:

**- Improved access to care:**
Telehealth enables healthcare organizations to reach patients in remote and underserved areas, providing them with improved access to care.

**- Increased patient satisfaction:**
Telehealth allows patients to receive care from the comfort of their own homes, which can lead to increased patient satisfaction and loyalty.

**- Cost savings:**
Telehealth can be less expensive than traditional in-person healthcare, providing cost savings for both patients and healthcare organizations.

**- Increased efficiency:**
Telehealth appointments can be scheduled more quickly and easily than in-person appointments, leading to increased efficiency and reduced wait times for patients.

**- Better patient outcomes:**
Telehealth has been shown to be effective in a variety of medical conditions, and can help improve patient outcomes by providing timely and convenient access to care.

**- Enhanced collaboration:**
Telehealth enables healthcare providers to collaborate and share information more easily, leading to improved patient care.

**- Improved chronic disease management:**
Telehealth can help healthcare organizations better manage chronic diseases by enabling remote monitoring and follow-up care.

**- Increased revenue:**
As demand for telehealth services continues to grow, healthcare organizations that invest in telehealth can increase their revenue and improve their financial performance.

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

In conclusion, telehealth development offers numerous benefits for healthcare organizations, including improved access to care, increased patient satisfaction, cost savings, increased efficiency, better patient outcomes, enhanced collaboration, improved chronic disease management, and increased revenue. Connect to a healthcare software development company New York to reap the benefits of telehealth development.

**In Detail: [Transform the Future of Healthcare with Telehealth Development](https://www.narolainfotech.com/blogs/telehealth-development-transforming-the-future-of-healthcare/)**
Current trends in ecommerce marketing
Tags: ecommercedevelopmentservices, ecommercetrends
Published: 2023-02-14 05:33:23

In the upcoming years, it is only anticipated that global retail eCommerce sales would rise. While this is advantageous for online retailers, it also implies that there will be greater rivalry.
We have combed the web for eCommerce trends through our **[ecommerce development services](https://codevelop.us/ecommerce-solutions-services-portland/)** that are anticipated to reshape the sector for the foreseeable future in order to make your online business stand out.


![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/bc6mipsjnxw5lp5phoxo.jpg)
**Here are some current trends in ecommerce marketing:**

1.	Personalization: Brands are tailoring their marketing efforts to individual customers based on their preferences and behaviour.
2.	Social media commerce: Social media platforms like Instagram and Facebook are becoming increasingly popular for ecommerce sales, with brands using shoppable posts and ads.
3.	Influencer marketing: Brands are partnering with social media influencers to promote their products and increase reach and engagement.
4.	Video marketing: Video content is becoming more popular, with brands using product videos, customer testimonials, and live streaming to engage customers.
5.	Sustainability: Consumers are increasingly interested in sustainable and eco-friendly products, and brands are responding by emphasizing their environmental and social responsibility.
6.	Omni channel marketing: Brands are integrating multiple channels, such as email, social media, and mobile apps, to provide a seamless shopping experience for customers.

**Wrapping Things Up**

Even while creating an online store is relatively simple (especially given the wide range of eCommerce systems available), expanding your business from that point requires more work. If you want your internet business to succeed and take a piece of the $8 trillion market, you must plan wisely and adapt your tactics over time to account for shifts in consumer behavior.
What worked yesterday, or even today, may not continue to produce the same outcomes tomorrow. New tools are now available to eCommerce businesses thanks to the development of technology. The public is aware of this.
As a result, they have learned to expect more choices and personalized experiences. Why not, after all, if you have the means to improve the online shopping experience with the help of **[best ecommerce website](https://codevelop.us/15-tips-to-building-the-best-ecommerce-website/)** for your intended audience? Even though it can be challenging to stay current with eCommerce trends, doing so will help your company stand out in a crowded market.
Can artificial intelligence eliminate programming work?
Tags: ai, beginners, programming, openai
Published: 2023-02-14 05:27:57


Artificial Intelligence (AI) has been transforming numerous industries and revolutionizing the way work is done. The field of programming is no exception, with AI increasingly being used to automate routine programming tasks. However, the question remains: can artificial intelligence eliminate programming work?

The short answer is no, AI cannot eliminate programming work entirely. While AI has the potential to automate some aspects of programming, such as code completion and bug fixing, it still requires human oversight and decision-making. In addition, there are some areas of programming, such as software architecture and design that require human creativity and intuition, and are difficult for AI to handle.




Further you can read [here](https://trendfullnews.blogspot.com/2023/02/can-artificial-intelligence-eliminate.html)

Follow me on:
[Twitter](https://www.twitter.com/abidullah_786/)
[Linkedin](linkedin.com/in/abidullah786/)
[GitHub](https://github.com/abidullah786/)
67. Leetcode Solution in CPP
Tags: cpp
Published: 2023-02-14 05:27:06

============================================================
Description:
Given two binary strings a and b, return their sum as a binary string.

 

Example 1:

Input: a = "11", b = "1"
Output: "100"
Example 2:

Input: a = "1010", b = "1011"
Output: "10101"
 

Constraints:

1 <= a.length, b.length <= 104
a and b consist only of '0' or '1' characters.
Each string does not contain leading zeros except for the zero itself.
============================================================
Solution:
```cpp
class Solution {
 public:
  string addBinary(string a, string b) {
    string ans;
    int carry = 0;
    int i = a.length() - 1;
    int j = b.length() - 1;

    while (i >= 0 || j >= 0 || carry) {
      if (i >= 0)
        carry += a[i--] - '0';
      if (j >= 0)
        carry += b[j--] - '0';
      ans += carry % 2 + '0';
      carry /= 2;
    }

    reverse(begin(ans), end(ans));
    return ans;
  }
};
```
============================================================

#leetcode
#challenge
Here is the link for the problem:
https://leetcode.com/problems/add-binary/description/
Create a Rain Effect in HTML 5 with Javascript and CSS
Tags: javascript, beginners, css
Published: 2023-02-14 05:14:10

If you want to Create a Rain Effect in HTML 5 with Javascript and CSS, then you can follow these:
HTML;
<!DOCTYPE html>
<html>
  <head>
    <title>Rain Effect Example</title>
    <link rel="stylesheet" type="text/css" href="style.css">
  </head>
  <body>
    <canvas id="canvas"></canvas>
    <script src="rain.js"></script>
  </body>
</html>
**_CSS (style.css):_**
body {
  margin: 0;
  padding: 0;
  overflow: hidden;
}

canvas {
  display: block;
}
**_JavaScript (rain.js):_**
// Set up the canvas
var canvas = document.getElementById('canvas');
var ctx = canvas.getContext('2d');
canvas.width = window.innerWidth;
canvas.height = window.innerHeight;

// Set up the raindrops
var drops = [];
for (var i = 0; i < 50; i++) {
  drops.push({
    x: Math.random() * canvas.width,
    y: Math.random() * canvas.height,
    speed: 2 + Math.random() * 3,
    length: 5 + Math.random() * 10
  });
}

// Draw the raindrops
function draw() {
  ctx.clearRect(0, 0, canvas.width, canvas.height);
  ctx.fillStyle = '#2F4F4F';
  for (var i = 0; i < drops.length; i++) {
    var drop = drops[i];
    ctx.fillRect(drop.x, drop.y, 2, drop.length);
    drop.y += drop.speed;
    if (drop.y > canvas.height) {
      drop.y = -drop.length;
    }
  }
}

// Update the raindrops every frame
function update() {
  draw();
  requestAnimationFrame(update);
}

update();
In this example, I  use the HTML canvas element to draw the raindrops on the screen, and I use JavaScript to update the position of the raindrops every frame. I also use CSS to set the canvas to take up the entire screen and to hide any overflow outside the canvas.

The raindrops are represented as an array of objects, each with x and y coordinates, a speed, and a length. We use a loop to draw each raindrop as a rectangle with a fixed width of 2 and a variable length based on the drop's length property. We then update the position of each drop by adding the speed to its y coordinate and checking if it has gone off the bottom of the screen, in which case we reset its y coordinate to the top of the screen.I've used these steps on [nerfweb](https://nerfweb.com/), It looks really cool

I use requestAnimationFrame to update the raindrops every frame and create a smooth animation.