teleren/devto huggingface dataset:
GoLog: Episode # 0
Tags: go, programming, blog
Published: 2023-03-08 04:16:11

## So I guess I'm learning Go now

I have lived most of my career solidly in the Java (via Spring Boot) and Angular spaces. Every job I have held has used those two technologies, so I have never really needed to venture out past my self imposed borders. Sure, I have dabbled with a few other things on the side, but always in my limited free time, and never for very long (though I did have a recent flirtation with NextJS for a short two-month engagement, and I enjoyed it).

I have recently signed on to a new project with a client at work. It is still in the early ramping-up stage, but it has been indicated that this client uses Go extensively. Because of that, we have all been tasked to upskill on Go as fast as we can, as we aren't exactly sure when development will start. So I thought to myself, why not learn Go, and write about what I'm learning? Everyone seems to do that nowadays, so I guess I will too!

I am just getting started, so I look forward to taking you on this little journey of mine!
Weekly web development resources #139
Tags: webdev, javascript, css, beginners
Published: 2023-03-08 08:44:34



______


##[crul](https://www.crul.com/)
[![crul](https://wweb.dev/weekly/content/139/crul.jpg)](https://www.crul.com/)
A tool to access, crawl, enrich, and clean data from any webpage or API.

______


##[Use Maps More and Objects Less](https://www.builder.io/blog/maps)
[![Use Maps More and Objects Less](https://wweb.dev/weekly/content/139/maps.jpg)](https://www.builder.io/blog/maps)
An interesting article on the benefits of Maps over Objects in JavaScript. 

______


##[Iconhunt](https://www.iconhunt.site/)
[![Iconhunt](https://wweb.dev/weekly/content/139/iconhunt.jpg)](https://www.iconhunt.site/)
A search engine with 150.000+ free, open sources icons. You can download them with one click.

______


##[WebContainers](https://webcontainers.io/)
[![WebContainers](https://wweb.dev/weekly/content/139/webcontainer.jpg)](https://webcontainers.io/)
A browser-based runtime from StackBlitz to build instant, interactive coding experiences.

______


##[Windstatic](https://windstatic.com/)
[![Windstatic](https://wweb.dev/weekly/content/139/windstatic.jpg)](https://windstatic.com/)
A set of 161 elements & layouts made with Tailwind CSS and Alpine.js 

______


##[UI Guideline](https://www.uiguideline.com/components)
[![UI Guideline](https://wweb.dev/weekly/content/139/uiguide.jpg)](https://www.uiguideline.com/components)
A guide to standardize the design/code of the UI Components based on the 39 most popular Reference Systems.

______


##[ImageHover](https://github.com/zkreations/imagehover)
[![ImageHover](https://wweb.dev/weekly/content/139/imagehover.jpg)](https://github.com/zkreations/imagehover)
An open-source pure CSS hover effect library for images.

______


##[Better CSS transitions](https://joshcollinsworth.com/blog/great-transitions)
[![Better CSS transitions](https://wweb.dev/weekly/content/139/transitions.jpg)](https://joshcollinsworth.com/blog/great-transitions)
An article with ten tips to improve your CSS transitions and animations.

______


##[Snip](https://www.snip.st/)
[![Snip](https://wweb.dev/weekly/content/139/snip.jpg)](https://www.snip.st/)
A chrome extension to highlight and share text on any website.

______


##[Pure CSS Loader Generator](https://wweb.dev/resources/loader-generator/)
[![Pure CSS Loader Generator](https://wweb.dev/weekly/content/139/pure-css-loader-generator.jpg)](https://wweb.dev/resources/loader-generator/)
A code generator that helps you to create simple CSS spinners.

______

_Enjoyed this newsletter? You can support me by:_

💸 booking a [sponsored post](https://wweb.dev/sponsorship)

🥷 donating via [Sponsor Ninja](https://app.sponsor.ninja/projects/63d7dd38d907a8ed61dca67f)

🚀 helping me grow by sharing it with your friends and colleagues


Cheers,
Vincent from [wweb.dev](https://wweb.dev)
Find common items in two lists with Groovy
Tags: groovy
Published: 2023-03-08 08:35:04

You can easily find items that are common in two lists using two ways.

    def list1 = ["apple", "pear", "banana", "tomato", 1, 2]
    def list2 = ["kale", "cabbage", 2, 3, "tomato", "carrot"]

The first itearates over one list, looking for each item in the second list:

    def commonItems = []
    list1.each { item ->
        if (list2.contains(item))
            commonItems.add(item)
    }
    println commonItems
        
    output>> [tomato, 2]

The more idiomatic way is to use `intersect()`:

    def common = list1.intersect list2
    println common
    
    output>> [2, tomato]
How Can Coding Make a Positive Impact on Society?
Tags: discuss, beginners, codenewbie
Published: 2023-03-08 08:00:00

From creating applications that improve access to healthcare and education, to developing software that helps with disaster relief efforts, coding is a powerful tool that can be used to make a positive impact on society. 

But attempting to use your skills for good isn't always easy. We run up against issues like:

- Limited resources
- Political and social barriers
- Lack of awareness or understanding of the potential impact of technology

What other ways have you found to use your coding skills to make a positive impact and improve our world? And what career suggestions do you have for newbies just starting out?
Finished the CSS course!
Tags: beginners, css, webdev
Published: 2023-03-08 07:57:30

I just finished the Learn CSS course on Codecademy and have earned the certificate of completion. I have to say, I'm excited to try my hand at designing my own website, which would serve as a portfolio for my completed projects.

If there are any resources for CSS and HTML tips and tricks when designing a website from scratch or resources for those looking to make a website to serve as a portfolio, don't hesitate to post them! I would love any extra assistance I can get.

This is honestly so fun, I can't wait to learn more!
Python Free Udemy Course For Beginners 2023
Tags: python, programming, beginners, tutorial
Published: 2023-03-08 07:50:06

**Python free Udemy course for beginners 2023: ** Here I will share my free Python Udemy course for beginners in 2023. The course is beginner friendly and easily understandable. 


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

## Python Free Udemy Course For Beginners 2023

This course I created for the beginner students. This course has covered all the basic concepts of programming in Python through lectures, quiz and tasks. 

Already more than 2,200 students enrolled for these free Python course in Udemy. This course has 4.3 star rating till now. Hope you will enroll for this course and learn Python. 

## Course Description
Welcome, to my Python 3 For Beginners in 2023 course. If you are a beginner and want to learn Python then this course is right for you. This course is designed according to the beginner's knowledge and industry requirements.

Throughout the course, students will learn how to write Python code and build their own simple programs, including applications such as calculators, games, and basic data analysis tools. They will also learn how to use Python's built-in functions and libraries to make their programming tasks more efficient.

The course will start by introducing students to the basics of programming, including the concepts of variables, data types, and control structures such as loops and conditional statements. Students will then learn how to use Python's functions and modules to write more complex programs and perform tasks such as input/output, file handling, and error handling.

By the end of the course, students will have a solid understanding of Python programming and be able to write their own simple applications. They will also be prepared to continue learning and exploring more advanced topics in Python and other programming languages.

Overall, Python Programming for Beginners is an excellent course for anyone looking to learn programming and gain a solid foundation in one of the most popular and versatile programming languages in use today.

**[Enroll Now For Free Python Course For Beginners
](https://www.udemy.com/course/python-3-for-beginners-in-2023/)**

## Free Java Course Udemy

If you want to learn Java you can also check [Free Java Course Udemy for Beginners](https://www.fryknowledge.in/best-free-udemy-java-courses-in-2023/).
When React Met Next.js: A Love Story for the Ages ️
Tags: nextjs, react, webdev, beginners
Published: 2023-03-08 07:30:00

As a front-end developer, you're always on the lookout for the perfect combination of libraries and frameworks that will help you build fast, scalable, and maintainable web applications. And when it comes to building high-performance [React](https://fr.reactjs.org/) apps, [Next.js](https://nextjs.org/) is the ultimate sidekick.

> So what exactly is Next.js, and why should you be using it with React?

Next.js is a React-based framework that provides a simple and elegant solution for server-side rendering (SSR). In other words, it takes care of rendering your React components on the server, which not only makes your website faster and more reliable, but also helps you improve your SEO and accessibility.

Here are just a few of the many benefits of using **<u>React</u>** with **<u>Next.js</u>**:

**Speed**: With Next.js, your pages load quickly, even on slow internet connections. The framework pre-renders your pages on the server and sends them to the client, so that the user can start interacting with your website almost immediately.

**SEO**: Next.js is SEO-friendly, which means that search engines can easily crawl and index your pages. This is particularly important if you're building a content-rich website that needs to be discovered by users.

**Code Splitting**: Next.js automatically splits your code into smaller chunks, so that the browser only loads what's needed for the current page. This helps to reduce the size of your JavaScript files and improve the overall performance of your website.

**Accessibility**: Next.js makes it easy to build accessible websites, which means that your website will be usable by users with disabilities. The framework provides built-in accessibility features, such as semantic HTML and ARIA support.

**Easy to Set Up**: Next.js is incredibly easy to set up and get started with. All you need to do is create a new project, install the Next.js dependencies, and start building your pages.

So if you're looking to build fast, scalable, and accessible React apps, look no further than Next.js. With its powerful features and ease of use, it's the perfect complement to your React skillset. So why not give it a try and see for yourself? The front-end skies are the limit!

That's it ! See U next level Doobs !
Using array spreads to prevent array overriding
Tags: javascript
Published: 2023-03-08 06:45:31

```javascript
const lunchMenuIdeas = ['Harvest Salad', 'Southern Fried Chicken'];

const allMenuIdeas = [...lunchMenuIdeas];

allMenuIdeas.push('Club Sandwich');

console.log(allMenuIdeas);
```

using square brackets and ... prevents the lunchMenuIdeas array from being overwritten by allMenuIdeas as arrays are passes as references
Critical error in Java
Tags: webdev, beginners
Published: 2023-03-08 06:39:43

A critical error in Java refers to an unexpected and severe issue that prevents the normal execution of a Java program. It usually causes the application to crash or terminate abruptly.

Here are some steps you can take to troubleshoot and resolve critical errors in Java:

Check the error message: When a critical error occurs, Java will usually provide an error message that can give you some clues about what went wrong. Take note of the error message, as it can help you identify the problem.

Check the code: Review your Java code and check for any errors that could be causing the problem. Look for syntax errors, logical errors, or other issues that could be causing the critical error.

Check the environment: Make sure that your Java environment is set up correctly and that all necessary libraries and dependencies are installed. Check the system requirements for the Java application you are running to ensure that your system meets the necessary specifications.

Check for updates: Make sure that you are using the latest version of Java, as newer versions often include bug fixes and other improvements that can resolve critical errors.

Debug the code: Use a Java debugger to step through your code and identify any errors or issues that could be causing the critical error. This can help you pinpoint the problem and find a solution.

Seek help: If you are unable to resolve the critical error on your own, seek help from a Java expert or community. Post your error message and code on forums or communities, and ask for assistance from other Java developers who may have encountered similar issues.

By taking these steps, you can troubleshoot and resolve critical errors in Java and get your program running smoothly again.
[How neural networks extrapolate: from feedforward to graph neural networks ](https://defineprogramming.com/neural-networks-extrapolate-feedforward-graph-neural-networks/)
The Weird History Of Javascript
Published: 2023-03-08 06:39:34

> _From 'Hello World' to 'What the f*** is this?' - A Comical Journey Through the History of JavaScript_

JavaScript is a popular programming language that has revolutionized the way we interact with websites. But did you know that its history is full of twists and turns? From humble beginnings to its current status as one of the most widely used languages on the web, the story of JavaScript is a wild ride. So let's take a look at some of the funniest moments in the history of JavaScript.

## The Origins of JavaScript

In the beginning, there was Netscape. Back in the early days of the web, Netscape was the dominant player, and they needed a way to make their websites more interactive. So they hired Brendan Eich to create a new programming language. Eich created JavaScript in just 10 days, and the rest is history.

## The Name Game

JavaScript wasn't always called JavaScript. When Eich first created the language, he called it Mocha. But then it was renamed to LiveScript, presumably to make it sound more exciting. But that wasn't enough, so Netscape decided to change the name again, this time to JavaScript. The reason? Marketing, of course. Java was a hot new programming language at the time, so Netscape wanted to ride its coattails.

## The Browser Wars

In the mid-90s, the browser wars were in full swing. Netscape was competing with Microsoft's Internet Explorer for dominance, and JavaScript was a major weapon in their arsenal. But there was a problem: Microsoft had their own version of JavaScript called JScript. To make matters worse, JScript wasn't always compatible with JavaScript. This led to a lot of frustration for developers, who had to write different versions of their code for different browsers.

## The Rise of jQuery

As JavaScript became more popular, developers started to realize that it was a pain to write code that worked across different browsers. That's where jQuery comes in. jQuery is a JavaScript library that makes it easier to write code that works the same way in all browsers. It became wildly popular and is still widely used today.

## ES6 and Beyond

JavaScript has come a long way since its early days. In 2015, ECMAScript 6 (ES6) was released, adding a ton of new features to the language. These included arrow functions, template literals, and classes. Since then, new versions of ECMAScript have been released regularly, adding even more features to the language.

## Wrapping Up

The history of JavaScript is full of twists and turns, from its humble beginnings as Mocha to its current status as a powerhouse programming language. Through it all, developers have had to deal with browser incompatibilities, confusing naming conventions, and ever-evolving standards. But despite all the challenges, JavaScript has remained one of the most popular and useful languages on the web. So here's to JavaScript, a language that may have started as Mocha, but has certainly evolved into something much more robust and impressive.
3 ways to turn String to Array in JavaScript, and the fastest one is...
Tags: webdev, javascript, programming
Published: 2023-03-08 06:38:58

This probably an very easy question which you might only see it in intern or junior frontend job interview.

### Given a `String`, turn it into an `Array` which each character as its item. 

eg. Given 'Dev.to', out put `['D', 'e', 'v', '.', 't', 'o']`.

Easy, right? The first method comes to your mind must be `split`.

#### split
```javascript
function stringSplit(s){
  return s.split('')
}
```

And with the power of ES6, you might also know that `Array.from` can also do this job

#### Array.from
```javascript
function arrayFrom(s){
  return  Array.from(s)
}
```

How about `Object.values`, of course it works

#### Object.values
function objectValues(s){
  return Object.values(s)
} 

Really a simple question, right? Let's see which one is the fastest way. 

The simplest way to know how long a method take, it's print the time before and after the execute of the method. So here we get 
```javascript
function callWithTimer(func, s){
  let start = Date.now()
  func(s)
  let end = Date.now()
  let name = func.name
  let diff = end - start
  console.table({
    name,
    start,
    end,
    diff
  })
}
```

Also a simple function to generate a random string
```javascript
function randomString(len){
return [...Array(len)].map(() => Math.random().toString(36)[2]).join('')
}
```
Let's see the simple result:
```javascript
((len)=>{
  const str = randomString(len)
  callWithTimer(arrayFrom, str)
  callWithTimer(stringSplit, str)
  callWithTimer(objectValues, str)
})(10000000)
```


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

So the old trick is the best :D
Initial steps for pet website
Tags: pet, webdev, programming
Published: 2023-03-08 06:35:39

If you are looking to build a successful pet website, here are some important steps to consider:

Define your niche: Determine the specific type of pets or pet-related topics you want your website to focus on. This will help you target a specific audience and create content that is tailored to their interests.

Create high-quality content: Producing informative, engaging, and shareable content is key to building a successful pet website. Consider creating blog posts, articles, videos, infographics, and other types of content that your audience will find useful and engaging.

Build a user-friendly website: Make sure your website is easy to navigate and optimized for user experience. Use a responsive design that works well on mobile devices, and make sure your website loads quickly.

Optimize for search engines: Use keyword research and search engine optimization (SEO) best practices to make sure your website is easily discoverable by search engines. This will help increase traffic to your website and improve your search engine rankings.

Engage with your audience: Respond to comments and messages, create a social media presence, and participate in online pet communities to build relationships with your audience. This will help create a loyal following and increase your website's reach.

Build partnerships: Collaborate with other pet-related websites and organizations to expand your reach and gain exposure. This can include guest posting, cross-promotion, and other types of partnerships.

By following these steps, you can build a successful and engaging pet website that attracts a loyal following and helps you achieve your goals.
[silver Bengal cat]( https://silverbengalcat.net/)
Zerando HackerRank ( 9 )
Published: 2023-03-08 05:16:41

O nono desafio do HackerRank é um problema de conversão de tempo.

Nesse problema devemos montar uma função que converta um relógio de 12 horas para 24 horas.

Transformando isso:

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

Nisso:

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

Para fazer isso criaremos uma função um tanto interessante.
Para construí-la vamos usar 4 logicas que serão representadas por 4 linhas de código:

- Se a hora for AM, ela não deve ser alterada
- Se o horário for 12hrs e passe do horário padrão, será necessário mudar para PM.
- Se o horário for PM, adicionar +12hrs a contagem.
- Se o horário for PM e valor seja 12hrs manter do jeito comum 
 pois não existem mais de 24 horas no dia.

Usando essas logicas podemos construir nossa função.
Um método que sera bastante usado é o método splice, ele é o responsável por manipular as strings de tempo.

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

Usando a lógica acima podemos retirar as informações separadas com ":" gerando as constantes que iremos usar para o problema.

Depois disso é só criar uma série de condicionais, considerando as lógicas que já observamos.

A função completa vai ficar desta forma:

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/h77xw2prb4r7q7fb2bcl.png)
#1 Best SEO / Digital Marketing Services in Chennai
Tags: beginners, seo, digital, marketing
Published: 2023-03-08 05:15:19

There are many advantages of SEO (Search Engine Optimization) services, including:


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

Increased Website Traffic: SEO services can help increase the amount of organic traffic that a website receives from search engines, leading to more visitors and potential customers.

Better User Experience: SEO services can improve the user experience of a website by making it more user-friendly and easy to navigate, which can lead to increased engagement and conversions.

Increased Brand Credibility: A higher search engine ranking can help increase brand credibility and trust, as people often associate high-ranking websites with being reputable and trustworthy.

Cost-Effective Marketing: [SEO services](https://w3partner.com/best-seo-company-in-chennai/) are often more cost-effective than traditional marketing methods, as they target a specific audience and generate long-term results.

Competitive Edge: SEO services can help businesses gain a competitive edge over their competitors by ranking higher in search engine results pages.

Improved Conversion Rates: SEO services can help optimize a website for better conversion rates, leading to more sales and revenue.

Measurable Results: SEO services provide measurable results, allowing businesses to track their progress and adjust their strategies accordingly.

Overall, SEO services can provide a range of benefits to businesses looking to improve their online presence and reach more potential customers.

**For MOre:** [https://w3partner.com/best-seo-company-in-chennai/](https://w3partner.com/best-seo-company-in-chennai/ )
How Do You Test an API Manually? | API Testing Manually | API Testing tutorial | TheTestingAcademy
Tags: webdev, beginners, programming, tutorial
Published: 2023-03-08 05:06:04

API Testing Manually: In this video of How to perform API Testing manually and which tools are required?

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

🚀 Download Manual API Test case Template - https://sdet.live/8N7c


🚀 How to Write Manual Test Cases for API Testing 
https://www.youtube.com/watch?v=TbCKv...

🚀 Watch Full Playlist : https://apitesting.co/30days


🚀 BONUS VIDEO 🚀

❤️ Mind Map Download - https://sdet.live/notes

❤️ Become Better QA : https://sdet.live/30days


✅ Resources for Selenium Training with Custom Framework.
🔥🔥 https://sdet.live/30dayselenium​

🔥🔥 https://sdet.live/2WlO​


✅ If you are new consider subscribing and follow day by day to become an Automation Testing expert in 30 days.

🔥 Become Better QA
✅ 30 Days of Automation Testing Playlist
✅ 30 Days of Selenium (With Framework)
✅ 30 Days of API Testing with Postman
✅ 30 Days of API testing with Rest Assured
✅ Karate API Testing for Beginners  
✅ Link to Playlist
 👉 https://sdet.live/30days