teleren/devto huggingface dataset:
Software Engineering is not about code
Tags: documentation, softwareengineering, discuss, career
Published: 2024-02-15 10:48:41

There is a strong possibility that I might get a lot of backlash from developers all across the Internet but I need to share my viewpoint on Software Engineering with whomever is interested in my viewpoints.

I believe that software engineering is not about code as most developers believe it is about. To me, code is nothing more than an implementation detail to execute a set of instructions which was architected by a software engineer. What is of higher importance is the design documentation or the technical documentation surrounding the software that is going to be built. The underlying tools and technologies that are being pulled in to achieve a desired outcome concerning the design documents are nothing more than tools and technologies.

An architect who does the blueprints for a skyscraper has to take into consideration numerous factors beyond just the tools and materials (technologies) that will be required to achieve the development of the building. There are factors such as:

1. Wind
2. Foundation
3. Sewerage
4. Stress points
5. Legal documentation
6. Clearance from the City.

There are numerous other factors that one needs to take into consideration beyond just the tools and materials (technologies) when it comes to developing a building. The same applies to software engineering, it amazes me how developers are more interested in the raw development of the application instead of taking the necessary time to sit back and just write up a design document for what the goals of the project are.

Code is not important, code is nothing more than a hammer or piece of wood but it does not form the entirety of software engineering. The day a developer decides to write less code and starts seeing control flow statements as a ticking time bomb is the day that they have reached a place of maturity in their field.

Do not show me the code, show me the design document for whatever it is that you are doing. Most developers want to create the path whilst validating their ideas but this is an immature way of approaching software, one should aim to clear the path during the design document phase and then pull together the tools and technologies needed to achieve said design.
vite.config.js error when starting dev server
Published: 2024-02-15 10:38:17

I ran this command "npm run dev" in vscode terminal window on my computer and I got this error "failed to load config from C:\Users\LBRBDA.LAPTOP-NC9VDIUG\CODE\react-porfolio\vite.config.js
error when starting dev server:
Error: spawn EPERM
    at ChildProcess.spawn (node:internal/child_process:421:11)
    at Object.spawn (node:child_process:761:9)
    at ensureServiceIsRunning (C:\Users\LBRBDA.LAPTOP-NC9VDIUG\CODE\react-porfolio\node_modules\esbuild\lib\main.js:2163:29)
    at build (C:\Users\LBRBDA.LAPTOP-NC9VDIUG\CODE\react-porfolio\node_modules\esbuild\lib\main.js:2047:26)
    at bundleConfigFile (file:///C:/Users/LBRBDA.LAPTOP-NC9VDIUG/CODE/react-porfolio/node_modules/vite/dist/node/chunks/dep-Glf1enhJ.js:67989:26)
    at loadConfigFromFile (file:///C:/Users/LBRBDA.LAPTOP-NC9VDIUG/CODE/react-porfolio/node_modules/vite/dist/node/chunks/dep-Glf1enhJ.js:67963:31)
    at resolveConfig (file:///C:/Users/LBRBDA.LAPTOP-NC9VDIUG/CODE/react-porfolio/node_modules/vite/dist/node/chunks/dep-Glf1enhJ.js:67576:34)
    at _createServer (file:///C:/Users/LBRBDA.LAPTOP-NC9VDIUG/CODE/react-porfolio/node_modules/vite/dist/node/chunks/dep-Glf1enhJ.js:64214:26)
    at createServer (file:///C:/Users/LBRBDA.LAPTOP-NC9VDIUG/CODE/react-porfolio/node_modules/vite/dist/node/chunks/dep-Glf1enhJ.js:64211:12)
    at CAC.<anonymous> (file:///C:/Users/LBRBDA.LAPTOP-NC9VDIUG/CODE/react-porfolio/node_modules/vite/dist/node/cli.js:762:30)".  what could be the possible solution please?
To Sort a column in datatable by another hidden column
Published: 2024-02-15 10:36:26

I faced the issue of sorting date column format(‘m/d/Y H:i A’) (index: 0) when there are multiple years in data, and the work around I came up with is to create a new hidden field with date format Y-m-d H:i:s and updated the code as below

```
$('#dataTables-example').DataTable({
    'columnDefs': [
        { 'orderData':[1], 'targets': [0] },
        {
            'targets': [1],
            'visible': false,
            'searchable': false
        },
    ],
    "order": [[0, "asc"]],
    "oLanguage": {
        "sEmptyTable": "There are no transactions."
    }
});
```
Technical-24 | Your Complete Maintenance and Home Improvement Partner in the UAE
Tags: repairandmaintenance, facilitymanagementservices, propertymaintenance, generalmaintenance
Published: 2024-02-15 10:33:35

From leaky faucets to smart home upgrades, Technical-24 is your one-stop shop for all your maintenance and [home improvement](https://technical-24.com/en/home-renovation/) needs in Dubai and across the UAE.

Whether you’re looking for:

Home Camera Installation: Keep your family and property secure with our expert camera installation services.
Kitchen Renovation: Transform your dream kitchen into reality with our skilled renovation team.
Plumbing Services: No leak is too big or small for our licensed plumbers in Dubai. We handle everything from drain cleaning to water heater repair.
HVAC Services: Stay cool and comfortable year-round with our AC repair and maintenance services.
CCTV Installation: Deter crime and protect your assets with our comprehensive CCTV installation solutions for homes and businesses.
Automatic Gate Installation: Enhance convenience and security with our reliable automatic gate systems.
Maintenance Services: From electrical repairs to carpentry work, we offer a wide range of maintenance services to keep your property in top condition.
[Facility Management](https://technical-24.com/en/home/): Let us handle your facility’s maintenance needs, ensuring smooth operations and peace of mind.
Building Maintenance: Maintain the value and functionality of your building with our professional building maintenance services.
Equipment Installation: Whether it’s industrial equipment or household appliances, we provide expert installation services.
Residential Services: We cater to all your residential maintenance needs, from plumbing and electrical work to AC repair and painting.
What sets us apart?

Unmatched Expertise: Our team of highly skilled and licensed professionals is equipped to handle any challenge, from routine maintenance to complex projects.
24/7 Emergency Service: We’re here for you, day or night, with prompt and reliable emergency service.
Transparency and Trust: We provide upfront estimates, clear communication, and fair pricing, building trust with every job.
Efficient and Clean Approach: We respect your space and minimize disruption, leaving your property clean and tidy upon completion.
Experience the Technical-24 difference:

One-Stop Solution: All your maintenance and home improvement needs under one roof.
Quality Work: Guaranteed by our expert professionals.
24/7 Availability: Never wait another moment for help.
Fair Pricing: Competitive rates with no hidden fees.
Convenient Service: We come to you, wherever you are in the UAE.
Contact Technical-24 today for a free consultation and let us take care of everything, while you focus on what matters most.

Remember, we offer a wide range of services beyond those listed above. Visit our website to explore our full menu of offerings and discover how we can help you.
Is ReactJS used for application development?
Tags: react
Published: 2024-02-15 10:33:01

Yes, [ReactJS](https://react.dev/) is commonly used for application development. It is a JavaScript library for building user interfaces, particularly for single-page applications where user interaction is frequent and dynamic. 

[React JS Application Development Company](https://www.ongraph.com/services/react-js-development/)  uses JavaScript library to create reusable UI components, manage state efficiently, and build interactive web applications efficiently. 

In Best React JS Development Services, JavaScript library is widely used by developers for various types of projects, from small personal websites to large-scale enterprise applications.
Shute for packing machine Delhi
Tags: beginners
Published: 2024-02-15 10:28:59


**Parthax** emerges as a prominent name in the realm of packaging machinery accessories, specifically renowned for its exceptional quality[ Shute for packing machine Delhi](https://www.parthax.com/delhi/shute-for-packing-machine). As a leading manufacturer and supplier, Parthax has established itself as a trusted partner for businesses seeking reliable solutions for their packing machines.

The Shute for packing machines crafted by Parthax stands out for its precision engineering and durable build. With a commitment to delivering top-notch products, Parthax ensures that each Shute is designed to meet the demanding requirements of modern packaging processes in Delhi. The company's dedication to quality control and innovation has positioned it as a preferred choice among businesses looking for efficient and long-lasting packing solutions.

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

Parthax takes pride in its customer-centric approach, offering tailored Shute solutions to cater to diverse industry needs. The company's commitment to excellence extends beyond manufacturing, encompassing reliable supply chain management to ensure timely delivery and customer satisfaction.

In conclusion, Parthax has rightfully earned its reputation as one of the best manufacturers and suppliers of Shute for packing machines in Delhi, offering a blend of quality, reliability, and customer-focused service that sets it apart in the competitive packaging industry.
LEAD GENERATION
Tags: best, digitalmarketing, thetreevent
Published: 2024-02-15 10:23:10

Need some quality leads for your business?
.
.
We are one of the leading Digital Marketing company in Guwahati which provides lead generation services. We know what it takes to build successful campaigns because we've been doing it for over 2 years. We can work with you to create a strategy, budget and creative that will generate quality leads and grow your business.
.
.

Increase your revenue by generating quality leads today!
Spin a Framework-Free HTTP Router Server in Go 1.22 With Ease
Tags: codebytes, go, router, http
Published: 2024-02-15 10:20:19

---
title: Spin a Framework-Free HTTP Router Server in Go 1.22 With Ease
published: true
description: Learn how to effortlessly set up a robust HTTP router server using Go 1.22, without the need for any external frameworks.
tags: #codebytes,#go,#router,#http
cover_image: https://dev-to-uploads.s3.amazonaws.com/uploads/articles/7i4w9v4eaiwtvh47d3n8.png
# Use a ratio of 100:42 for best results.
# published_at: 2024-02-15 07:32 +0000
---
Transitioning from Node.js or Python development, you're likely familiar with the convenience of frameworks like Express or Flask for spinning up HTTP servers with rich routing capabilities. Similarly, in the Go ecosystem, frameworks such as Gin and Gorilla/Mux have been the go-to solutions for developers seeking to implement efficient routing within their applications.

However, the landscape has evolved with the release of Go 1.22. The net/http package, a staple for network-related operations in Go, has received significant enhancements, particularly in its routing capabilities. This evolution means that developers can now implement complex HTTP servers without relying on external frameworks, streamlining the development process and reducing dependency overhead.

Here's how to build a simple todo application using the net/http server mux.

```go
package main

import (
	"fmt"
	"net/http"
)

func main() {
	router := http.NewServeMux()

	router.HandleFunc("POST /todos", func(w http.ResponseWriter, r *http.Request) {
		fmt.Println("create a todo")
	})

	router.HandleFunc("GET /todos", func(w http.ResponseWriter, r *http.Request) {
		fmt.Println("get all todos")
	})

	router.HandleFunc("PATCH /todos/{id}", func(w http.ResponseWriter, r *http.Request) {
		id := r.PathValue("id")
		fmt.Println("update a todo by id", id)
	})

	router.HandleFunc("DELETE /todos/{id}", func(w http.ResponseWriter, r *http.Request) {
		id := r.PathValue("id")
		fmt.Println("delete a todo by id", id)
	})

	http.ListenAndServe(":8080", router)
}

```

You can also create a route that matches exactly or uses a wildcard for flexible matching.

```go
// wild card
router.HandleFunc("PATCH /todos/{rest...}", func(w http.ResponseWriter, r *http.Request) {
  rest := r.PathValue("rest")
  fmt.Println("wild card route", rest)
})

// exact match
router.HandleFunc("/todos/{$}", func(w http.ResponseWriter, r *http.Request) {
  fmt.Fprint(w, "exact match")
})

```

For more details deep dive into the official go documentation https://pkg.go.dev/net/http#ServeMux.
C++ program can't find file when running in VScode?
Tags: cpp, guide, tutorial
Published: 2024-02-15 09:33:51

I was doing my school assignment on C++ and I had issues with it while running my program in Visual Studio Code. It took me a stupidly long time to fix, and my google searches and ChatGPT prompts led to no where. 

So if anyone faced the same issue as me, I hope this helps!

```c
filename = "messy.txt";
fstream file(filename, fstream::in);
if (!file.fail()) 
{
   cout << "it works \n";
}
```

Above is a simple C++ code snippet that reads a file named "messy.txt". If it works, the program prints out "it works ".
I had my .cpp and .exe in the same folder ad the messy.txt but the program still said it couldn't find the file.

Then I realised this only happened when I press the "play" or run button in vscode. If I did a manual g++ build command, the program can read the file when run.

Compiler issue then... I looked at launch.json inside the .vscode folder of my project (or the settings button beside the run button), and sure enough the "cwd" value was pointing to my compiler and not my project folder.

Yep so that fixed everything.

 

## **TLDR** check launch.json "cwd" value 

I'd love to include more screenshots but I don't want to reveal my personal machine's file paths and all. Contact me if you need help! See my profile for linkedin. I check quite often :)
Daily Code 70 | Position Absolute and Relative (🟥 HTML & 🟦 CSS Course 12)
Tags: beginners, daily, html, css
Published: 2024-02-15 10:03:33

It’s HTML & CSS course day 12! Now about 85% through this course already: https://www.youtube.com/watch?v=G3e-cpL7ofc

In the YouTube demo the Position Absolute allows us to place the small time stamps on the thumbnails and also the notification counter on the notification bell. 

# My Code

### `position: absolute;`

Below an easy example of `position: absolute;`. The cool thing is it fixes it according to coordinates, but different from `position: fixed;` it does not make it stick to the browser window. Instead it still scrolls down with the page

```html
<div style="
position: absolute;
background-color: red;
color: white;
left: 100px;
top: 100px;
">absolute</div>
```

Also interesting to know is that elements that are written below appear above elements written higher up. This is super important to make sure ‘absolute’ elements actually show up and are not covered with other stuff. 

Another way to also fix this is `z-index: 1;`. Something with a higher z-index appears in front of something with a lower z-index.

A common number is `z-index: 100;`, so many elements can be put inbetween

Also, when placing a `position: absolute;` inside a `position:fixed;` element it will appear relative to the latter

`position: relative;` also leads to the same result when placing a `position: absolute;` inside. Even tho the `relative` object itself is not fixed, the `absolute` one now will be relative to that. (this is not the case with `position: static;`, the default)

I’m actually again not sharing the YouTube code itself here because you can’t really use it without opening and downloading several files, in which case you would be better off to just directly get it from the YouTube 😊

Have a great day everyone!
Common JavaScript Mistakes in 2024
Tags: webdev, javascript, javascriptlibraries, programming
Published: 2024-02-15 09:54:48

So, it’s been a long time for me to be in the industry. So, I know what are some common mistakes that developers make in JavaScript. These mistakes are most common among people who are a beginner in JavaScript. Again, the reason is pretty obvious — they don’t know JavaScript fully.

**1. Not Mentioning Return in Function**

If you just call a function without mentioning return, then there’s 100% chance that you’ll get ‘undefined’ in result. Why? Well, JavaScript functions give ‘undefined’ by default. This means you need to mention ‘return’ explicitly to get the result.

**2. JavaScript Loading Before DOM is Loaded**

This is another most common mistake made by people who are learning JavaScript: loading JavaScript scripts before DOM is loaded.

**3. Considering JavaScript as Complete Synchronous**

Developers coming from C, C ++, python, and Java mostly make this mistake. They think that in JavaScript, there would be line by line code execution. But that’s not the case. There are some things in JavaScript that are synchronous. While other things are asynchronous. So, make sure you know what’s non-blocking, blocking, async, await, promise, etc.

**4. Sure, JavaScript is Forgiving But…**

This doesn’t mean that it’s completely forgiving. But wait. What does it mean by forgiving? Well, unlike in python, if you miss a semicolon in JavaScript, then you won’t get an error. JavaScript will still execute. But this doesn’t mean you should completely stop using semicolons in JavaScript. Keep in mind that code pollution is a bad thing. It will not only impact code readability but you will yourself become confused.

**5. Not Learning Modern JavaScript**

JavaScript was created in 1995 by Brendan Eich. But with time, many new methods have been added in JavaScript. So, it’s important for you to know those methods. Because a lot of those methods actually improve code readability.

**6. Unsecure Code**

It’s essential to make your code secure. But how? Well, avoid making unnecessary functions. Further, instead of using functional programming, prefer class-based programming.
How to Customize Your Study Materials for ACE Personal Trainer Exams
Published: 2024-02-15 09:50:41

[ace personal trainer]( https://dumpsboss.com/ace-fitness-exam/ace-personal-trainer/) Networking within the ACE community can also lead to collaboration opportunities, job referrals, and mentorship. Building relationships with other ACE-certified trainers and industry professionals enhances your professional network and contributes to your long-term success in the fitness industry. Conclusion: In conclusion, earning an ACE Personal Trainer Certification is a transformative step that can significantly impact your fitness career. 

From enhancing credibility and marketability to broadening your knowledge base and practical skills, ACE certification provides a solid foundation for success in the dynamic and growing field of fitness. As you embark on your journey to becoming an ACE-certified personal [ace personal trainer course]( https://dumpsboss.com/ace-fitness-exam/ace-personal-trainer/) you are not just obtaining a certification; you are opening new horizons in your fitness career and positioning yourself for long-term success in an industry dedicated to promoting health and well-being. In the ever-evolving world of fitness and wellness, establishing a legacy in the field requires more than just passion; it demands expertise and credibility.

GET UPTO 60% OFF ……… >>>>>>>>  https://dumpsboss.com/ace-fitness-exam/ace-personal-trainer/
Success in Test Prep Exam: [ace personal trainer textbook pdf free download](https://dumpsboss.com/ace-fitness-exam/ace-personal-trainer/)
{2024} Test Prep Exam Material: [ace personal trainer course fees]( https://dumpsboss.com/ace-fitness-exam/ace-personal-trainer/)
100% Real Practice Questions:  [ace personal trainer practice test]( https://dumpsboss.com/ace-fitness-exam/ace-personal-trainer/)
Get Extra 70% OFF On Questions: [ace personal trainer study guide pdf]( https://dumpsboss.com/ace-fitness-exam/ace-personal-trainer/)
PDF & Test Engine Bundle 80% OFF: [ace personal trainer exam questions](https://dumpsboss.com/ace-fitness-exam/ace-personal-trainer/)
best polytechnic colleges in Bihar
Tags: college, polytechnic
Published: 2024-02-15 09:28:41

Hi-Tech Polytechnic College is a renowned institution for technical education in Bettiah, Bihar. We offer a wide range of Polytechnic programs with modern facilities. call us-9572924222
**[best polytechnic colleges in Bihar](https://www.hi-techpolytechnic.org/)**
Born From Pain Merch
Published: 2024-02-15 09:25:48

Born from Pain is a Dutch hardcore band from the Oostelijke Mijnstreek that formed in 1997. Since they formed, they have achieved fame through energetic shows and grew out to become the international band they are today. They have toured Europe, the United States, Mexico and Japan. **[Shop Born From Pain Merch Here](url)**! #bornfrompainmerch #bornfrompainmerchandise
Selenium Training In Hyderabad
Tags: selenium, java, cucumber, tesingtools
Published: 2024-02-15 09:21:37

Selenium is an open-source umbrella project providing a collection of web browser automation technologies and libraries. Without having to learn a test scripting language, Selenium provides a playback tool for building functional tests (Selenium IDE). It also includes a test domain-specific language (Selenese) for writing tests in JavaScript (Node.js), C#, Groovy, Java, Perl, PHP, Python, Ruby, and Scala. Most recent web browsers can then be used to run the tests. Selenium is available for Windows, Linux, and Mac OS X. It’s free software distributed under the Apache License 2.0.
The Selenium Training In Kphb Hyderabad is intended to teach the fundamentals of the WebDriver API in Java. This course also covers webdriver interface explanation and invoking browser, identifying locators (id,name,linkText) with developer tools-1, techniques to automate Ajax calls, child windows and IFrames, difference between HashMap and HashTable, and writing generic functions to identify frames/windows. Mindmajix’s Selenium with Java training can propel your career to the next level of achievement. The training includes full-hands-on sessions on topics such as how to automate web-based applications and how to construct frameworks such as Hybrid and Data Driven that can aid you in the future.  
Contact US: 
Vcube Software Solutions 2nd Floor Above Raymond’s Clothing Store KPHB, Phase-1, Kukatpally, Hyderabad​
+91 7675070124, +91 9059456742
contact@vcubegroup.com
how to check the schedule class in your org
Published: 2024-02-15 09:17:26

To get the underlying Apex class from the scheduled jobs, the following query can be run.

Query to get the scheduled job underlying apex class.

SELECT ApexClassId,ApexClass.name,Id,JobItemsProcessed,JobType,Status,  NumberOfErrors,MethodName, CronTrigger.CronJobDetail.Name FROM AsyncApexJob WHERE JobType ='ScheduledApex'

after running this verify the ids, if your class id is there