teleren/devto huggingface dataset:
The ultimate Node Test Runner + TypeScript + ENV variables guide
Tags: testing, node, typescript
Published: 2024-04-25 13:38:39

This also works in a monorepo ;)

First install `tsx` and `glob`:
```sh
# Use whatever package manager you prefer
pnpm add -D tsx glob

# For a single app in a monorepo
# pnpm add -F your-app -D tsx glob

# For the global package.json in a monorepo
# pnpm add -wD tsx glob
```

Assuming you want environment variable control, create a `.env` and a `.env.test` at the root of the app you want to configure (optional, since Node throws an error if they don't exist, [although I'm working on it](https://github.com/nodejs/node/pull/53060)).


Add this to your app's `package.json`:
```json
"scripts": {
	//...
	"test": "glob -c \"tsx --env-file .env --env-file .env.test --test --test-reporter spec \" \"./test/**/*.test.ts\"",
	"build": "tsc -p tsconfig.build.json",
	//...
}
```
What that `test` script does is load your `.env` and `.env.test` files (the latter overwrites the first in case of conflict), then asks glob to process the `"./test/**/*.test.ts\"` (which will load all Typescript files in the `./test` folder ending in `.test.ts`) and runs the tests via `tsx` and with a more human-readable output (`--test-reporter spec`). This last step is equivalent to `node --import tsx --test`.

Finally, adapt your `tsconfig.json` to include your tests if you want decent imports, linting and others (in my case I had to split my tsconfig into 2: `tsconfig.json` and `tsconfig.build.json`, both in the root folder of the app):

> Note: Having the `baseUrl` and `paths` set up in your `tsconfig.json` will also affect imports in the source code, which can mess up when executing Node. I have come up with a better way, find it in the [Gist that goes with this article](https://gist.github.com/BoscoDomingo/a06329ca1a2f36ccb7c168d4a8de6c92)

```json
// tsconfig.json
{
	"extends": "../../tsconfig.json", // Since I work in a monorepo, this one contains all generic compiler options. You can write them in this file if you prefer
	"compilerOptions": { // These are for shorter, non-relative imports in tests. Completely optional
		"baseUrl": "./",
		"paths": {
			"@src/*": ["./src/*"], 
		},
		"noEmit": true, // Avoid compiling by mistake
	},
	"include": ["./src/**/*", "./test/**/*"], // Important so tests also benefit from TS support
}

// tsconfig.build.json
{
	"extends": "./tsconfig.json", // The file above. You can also just extend the base `tsconfig.json` (in the root of the monorepo) instead, adding `include: [ "./src/**/*"]`, or write the `compilerOptions` here
	"compilerOptions": {
		"noEmit": false,
		"outDir": "./dist",
	},
	"exclude": [ // This way we avoid compiling tests into JS
		"**/*.spec.ts",
		"**/*.test.ts"
	]
}
```

And that should be it, really. Hope it is of help when setting up your TypeScript testing environment!

For more information, check [this GitHub issue](https://github.com/nodejs/help/issues/3902).

I also made a [GitHub Gist to go along with this guide](https://gist.github.com/BoscoDomingo/a06329ca1a2f36ccb7c168d4a8de6c92) which will probably be more up-to-date than this article
So you bought an all-in-one software...
Tags: beginners, career, productivity, opensource
Published: 2024-04-25 13:28:54

Welcome of the never-ending loop with all-in-one platforms. 
Say a CMS or a CRM.

It goes more or less like this...

---

### 1. Buy the Platform
Get a popular platform everyone likes.

### 2. Struggle with Setup
It looked easier in the ads...

### 3. Quit at 80%
Customize it a bit, then give up because the last part takes forever.

### 4. Notice Missing Stuff
It works, but you wish it had more features. 
The company says _"soon."_

### 5. Wait for Updates
Spoiler alert: The updates never come.

### 6. Start from Scratch
Meet with engineers. 
They say "_it’s easier to just make a new one_".

### 7. Build Your Dream
Start making the platform you really wanted.

### 8. Question the Delay
Wonder why it’s taking so long.

### 9. Launch Partly Finished
Launch it 80% done, a year later.

### 10. Bury the Rest
The last 20% gets lost under new requests.

### 11. Overwhelm Engineers
Engineers get too busy with other stuff.

### 12. Outdate the Platform
The platform gets old.

### 13. Return to Start
That's not our core, right? 
Time to look for something ready-made.

### 14. Repeat the Cycle
Back to step one.

---

_Roll the dice, move forward, and try not to get stuck!_
Food Delivery App Development Company
Tags: fooddelivery, fooddeliveryapp, webdev, development
Published: 2024-04-25 13:25:59

Food delivery app development has transformed the dining experience, catering to the ever-evolving needs of modern consumers. These apps have become an indispensable part of our lives, offering convenience, variety, and efficiency like never before.

In today's fast-paced world, time is of the essence, and food delivery apps understand this better than anyone else. They provide a seamless platform for users to browse through a plethora of culinary options, place orders with just a few taps, and have delicious meals delivered right to their doorstep within minutes.

One of the key features driving the success of food delivery apps is their user-friendly interfaces. With intuitive designs and easy navigation, even the technologically challenged can effortlessly navigate these platforms. From filtering options based on cuisine preferences to tracking orders in real-time, every aspect is meticulously crafted to enhance user experience.

Moreover, food delivery apps boast extensive restaurant partnerships, offering users an unparalleled variety of cuisines to choose from. Whether craving Italian pasta, Indian curry, or Japanese sushi, these apps have something to satisfy every palate. This diversity not only caters to individual preferences but also encourages culinary exploration, introducing users to new flavors and cuisines.

Behind the scenes, [food delivery app development](https://www.inventcolabssoftware.com/food-restaurant-solution) involves sophisticated algorithms and logistics management systems to ensure timely deliveries. From optimizing delivery routes to coordinating between restaurants and delivery personnel, these apps streamline the entire process, minimizing delays and maximizing efficiency.

Furthermore, the integration of secure payment gateways adds another layer of convenience, allowing users to complete transactions seamlessly without worrying about cash or card payments.

In essence, food delivery app development has revolutionized the way we dine, offering a perfect blend of convenience, variety, and efficiency. Whether it's satisfying hunger pangs during a busy workday or enjoying a cozy dinner at home, these apps have become indispensable companions, reshaping the culinary landscape one delivery at a time.
Go: how fat are your dependencies? Use go-size-analyzer!
Tags: go, tooling, devops
Published: 2024-04-25 13:12:00

Most project comes with dependencies.

Go is quite interesting as the compiler only ships the needed code.

Think about `node`, it's definitely not the same and the its `node_modules` folder…

Let's go back to Go, so the compiler "imports" only what is needed.

But we were facing a lack of tooling easy to understand to estimate the consequences of dependencies.

Until recently, and this wonderful project and tool:

{% embed https://github.com/Zxilly/go-size-analyzer %}

> A tool for analysing the size of dependencies in compiled Golang binaries, providing insight into their impact on the final build.

Kudos @zxilly (I'm unsure you are active on Dev.to), but thanks
Sai Technologies|On-Demand App Development Company
Tags: ondemandappdevelopmentcompany, ondemandappdevelopment
Published: 2024-04-25 13:01:31

Are you trying to find a Company that develops apps on demand? If so, this is where your search stops. Sai Technologies, a top [on-Demand App Development](https://www.saitechnologies.in/services/on-demand-app-development-company) business in India, uses cutting edge technology to offer the best Mobile App Development services. Our gifted developers have a ton of expertise creating these kinds of apps. Let's talk about your project over a cup of tea or coffee:
Low or NoCode Integrations
Tags: lowcode, integration
Published: 2024-04-25 12:55:14

## Integrations

https://n8n.io/ has a good set of integrations

Make is another good Product/service

Here is a comparison between n8n and Make: https://n8n.io/vs/make/

Make information on Capterra:
https://www.capterra.com/p/154278/Integromat/


**References:**

- MongoDB to Google Sheets
  - [Video] https://www.youtube.com/watch?v=qX7vnsAaOo8
Latitude: The missing analytics layer between your database and your users 🤝🏽
Tags: showdev, opensource
Published: 2024-04-25 12:44:35

## What is Latitude?

[Latitude](https://github.com/latitude-dev/latitude) is the open-source framework for embedded analytics. 

Create API endpoints on top of your database or warehouse using just SQL, and embed interactive visualizations natively in your favorite frontend framework or through an iframe.

## Introducing Latitude Deploy 🚀

Today we’re introducing Latitude Deploy so you can push your embedded analytics to production with a single command. Zero-config infrastructure that's always performant and scales automatically.


![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/7cxtm8dsabxoitvl82l2.gif)

## Support us ⭐

We know that building embedded analytics from scratch can be difficult. That is why we created Latitude. We're developing it as an open-source project. If you're keen to give it a try, here's a [quick start guide available on our repository](https://github.com/latitude-dev/latitude?tab=readme-ov-file#-quick-start). If you like what you see, consider showing your support by giving us a star ⭐

https://github.com/latitude-dev/latitude

---

Latitude it's fast to get started, easy to maintain, and scales with your data. 

Here are our main features:

### SQL-to-API automatically

Write SQL queries that automatically get exposed as API endpoints so you can easily integrate them with your frontend applications.

### Parameterized SQL

Manage permissions and scope variables in your code through parameters in your queries. Expose these SQL parameters as HTTP query parameters.

### Built-in cache layer

Out-of-the-box caching ensures load times stay snappy. Leverage our lightning-fast query engine to deliver an amazing embedded analytics experience.

### Modular queries

Compose modular SQL queries for a better analytics organization and to reuse parts of your code. Easy to maintain and scale.

### Works on top of your data

Bring data from your database or warehouse through a simple configuration file. Support for all major Databases as well as local CSV files.

### Native frontend components

Use our native React hook to query data from your Latitude project to your React app, and display it with our native React components, or do whatever you want with it. Support for Svelte and Vue coming soon!

### Layout engine

Build standalone state-of-the-art frontend applications using our layout engine. It’s Svelte-based, supports all npm packages, and can be extended to your needs with Typescript.

### **Embed safely**

Cache encrypted at rest, SSL-ready, encrypted SQL parameters, and parameterized queries to protect against SQL injection attacks.

---

We'd love to hear your thoughts and are on the lookout for contributors!

If you like it, it’d be great if you could give us a star so we can keep working on this!  ⭐

https://github.com/latitude-dev/latitude


![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/rdvqdnhuuktd699y4i8n.gif)
COMMENT ON I NEED A HACKER TO RECOVER MY STOLEN BTC, USDT AND ETH
Tags: webdev, javascript, programming, tutorial
Published: 2024-04-25 12:44:32

I made my investment with the wrong platform and ended up losing both my capital investment and the profits I had made through my trade with them over the few months we had partnered together, it was such a very pathetic experience for me as I have never found myself in a situation so critical as this. I became depressed for months and almost lost my mind facing all these scenarios alone. at some point, I was having some suicidal thoughts.. but thanks so much to my therapist who helped me to set and maintain my healthy boundaries, it was she Who also advised me to look for a specialist who could help to recover back my funds from the scammers. that one piece of advice from her did well for me as I had gone online in search of help from experts and I got referred to the Fastfund Recovery and their services. I reached out to their contact detail that were provided by individuals testifying about their good work email ( Fastfundrecovery AT Gmail Dot Com ) and filed a complaint, I was well responded to and we had a deep conversation on how I lost my money to the fake investment platform, everything seems so unbelievable while they assured me of getting everything I have lost, I was asked questions on my mode of payment and evidence that shows a transaction occurred between both parties and if any agreement was breached or stated, after all these, just within the next 48hours or thereabouts I got all my lost investment together with my profits back in my wallet, these guys are amazing. you can get them also on Telegram (at fastfundsrecovery)
W/H: 1903/717//62/41
if you need their help.
Earth Day Markup Challenge
Tags: devchallenge, frontendchallenge, css, javascript
Published: 2024-04-25 12:34:22

_This is a submission for [Frontend Challenge v24.04.17](https://dev.to/devteam/join-us-for-the-next-frontend-challenge-earth-day-edition-52e4), Glam Up My Markup: Earth Day Celebration Landing Page_

## What I Built

I took the markup and added a gradient background. The light to dark blue is meant to copy the color changes of the sea depth.

I added the links to the Earth Day site. The starter code had anchor links. The links change color and expand a bit on user hover. The link text for Earth Day.org was all capital letters. A screen reader reads that one letter at a time so I changed the text.

The paragraphs have been indented for easier reading. The list has globe icons and the text is centered on the globes.

Blockquote was used to make the quote stand out more.

## Demo

Here it is on Codepen.

{% codepen https://codepen.io/chrisjarvis/pen/VwNqoXK %}

## Journey
<!-- Tell us about your process, what you learned, anything you are particularly proud of, what you hope to do next, etc. -->
I spent a lot of time playing with background colors. I didn't quite get what I wanted but may revisit it someday. As with many frontend projects, there's always something that can be changed.


<!-- Don't forget to add a cover image to your post (if you want). -->
Cover is from our trip to Sedona, AZ years ago.

Thanks for reading!
Unveiling the Hidden Culprits: Unraveling Why Software Projects Fail
Tags: success, apps, fintech, development
Published: 2024-04-25 12:29:14

[In the realm of software development](https://efficacious.in/), failure is an unwelcome but familiar companion. Having navigated through diverse projects in the agency landscape, I've come to understand that the reasons behind project failures are often more nuanced than meets the eye. While looming obstacles like deadlines and budget constraints are readily identifiable, it's the subtle, silent killers that wreak havoc on project timelines and outcomes.

The Overconfidence Conundrum:
[One prevailing issue lies in the realm of developer overconfidence. From underestimating ](https://efficacious.in/)task complexities to placing unwavering trust in our own abilities, the pitfalls of overconfidence permeate various facets of software development. We often find ourselves blindsided by the unforeseen consequences of our decisions, whether it's in coding practices, adopting new technologies, or managing external dependencies.

Navigating the Planning Fallacy:
At the heart of overconfidence lies the Planning Fallacy, where our optimism leads us to underestimate the time and effort required for tasks. This tendency to miscalculate the learning curve of new technologies or the implications of bad abstractions can have dire repercussions, causing delays and impeding project progress.

The Managerial Dilemma:
Moreover, the role of inexperienced or misguided managers cannot be overlooked. Whether driven by personal ambitions or lacking the necessary experience, ineffective management practices contribute significantly to [project derailment. From poor communication and planning to succumbing to external pressures, mismanaged stakeholders can steer projects off course.](https://efficacious.in/)

The Tragic Tale of Misaligned Stakeholders:
Finally, the misalignment of stakeholders can sound the death knell for even the most promising projects. Despite initial promises and aligned visions, [projects often falter when confronted with unforeseen challenges and shifting priorities. The reluctance to acknowledge failure and the propagation of a "not my problem" mindset only exacerbate the situation,](https://efficacious.in/) fostering a toxic culture of blame-shifting and internal discord.

In Conclusion:
In essence, the failure of [software projects transcends mere technical glitches](It's) or missed deadlines. a culmination of human fallibilities — be it overconfidence, inexperience, or misaligned priorities. By acknowledging these challenges and fostering a culture of accountability and collaboration, we can strive to mitigate the risks and pave the way for more successful software endeavors. Let's aspire to be better stewards of our projects, steering clear of the pitfalls that have befallen many before us.
The Top 10 Places to Live in Hyderabad: Affordable, Safe, and Convenient
Tags: real, realestate, webdev, tutorial
Published: 2024-04-25 12:25:46

Hyderabad, the vibrant capital of Telangana, offers diverse living options, from bustling Gachibowli to tranquil Nizampet. Whether you're an IT professional or a family, areas like Kukatpally, Gachibowli, and Banjara Hills cater to all needs with good connectivity, security, and amenities. Prioritize your needs, explore neighborhoods, and visit areas to find your perfect home in Hyderabad. [For more details, click here.](https://www.properties.market/in/blog/best-places-to-live-in-hyderabad/)

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/fyjv93hje5c27xx48wkz.jpg)
Shiwali Ratan Mishra
Published: 2024-04-25 12:25:22

Discover WebTech is a dynamic tech startup founded by [Shiwali Ratan Mishra. Op](https://shiwaliratanmishra.com/) erating globally, this company specializes in providing comprehensive software solutions and digital marketing services. Targeting small, medium, and large-sized companies, Discover WebTech offers a diverse range of services including Web development, UI/UX design, Data Science solutions, MERN/MEAN stack, Digital Marketing, and Blockchain services. The organization prides itself on its innovative approach and expertise in catering to an overseas market, making it a versatile partner in the tech industry.

[](https://shiwaliratanmishra.com/)
Recruiting SEO jump cooperation 诚招SEO 跳转合营
Tags: seo, 劫持, 站长
Published: 2024-04-25 12:20:29

诚邀个人代理，团队代理，SEO，劫持，网站站长，飞机群主，电销团队，主播，博主合作洽谈，只有你有流量即可变现
We sincerely invite personal agents, team agents, SEO, hijacking, webmasters, aircraft group owners, telemarketing teams, anchors, bloggers to negotiate for cooperation. As long as you have traffic, you can monetize it.

Telegram：@Seo8527
How FitSmart Fat Burner United Kingdom Diet Can be a Key to Amazing Weight Loss?
Published: 2024-04-25 12:17:05

➲Product Review:  —>FitSmart Fat Burner United Kingdom
➲Composition:  —>Natural Organic Compound
➲Category —> Health
➲Results -In 1-2 Months
➲Side-Effects:  —>No Major Side Effects
➲Rating: —>5.0/5.0 ⭐⭐⭐⭐⭐

Here It’s Purchase Link 
https://timessupplement.com/fitsmart-fat-burner-uk/

FitSmart Fat Burner United Kingdom:-Well, the FitSmart Fat Burner United Kingdom diet is an important and potent tool for important weight loss. It also has garnered widespread acclaim for its capacity to boost fat burning and provide proper weight management. Along with weight loss, the keto diet becomes an important aspect of weight loss.By stopping carbohydrate consumption, the body enters into a state of ketosis where it depends on fat stores for the production of energy and encouraging effective fat burning.  FitSmart Fat Burner United Kingdom complement a healthy lifestyle by offering a convenient source of necessary nutrients that also support ketosis.

Facebook Page’s:
https://www.facebook.com/fitsmartfatburnerunitedkingdomreviews/
https://www.facebook.com/FitSmartFatBurnerPillsUK
https://www.facebook.com/FitSmartFatBurnerUKPrice/

Jimdosite: https://fitsmart-fat-burner-united-kingdom.jimdosite.com/

ALSO READ  NEWS:-
https://timessupplement.com/the-genius-wave/

https://www.dailydemocrat.com/2024/04/23/the-genius-wave-reviews-latest-news-from-customers-genius-wave-audio-2024-work-theta-waves-scam-alert/


Also Visit Highly Trending Fat Burner
https://fitsmart-fat-burner-united-kingdom.jimdosite.com/
https://sites.google.com/view/fitsmartfatburnerukreviews/
https://groups.google.com/g/fitsmart-fat-burner-united-kingdom-reviews/c/QQuYTZLZDzM
https://fitsmart-fat-burner-united-kingdom-reviews.company.site/
https://www.scoop.it/topic/fitsmart-fat-burner-united-kingdom-reviews
https://fitsmart-fat-burner-uk-reviews.blogspot.com/2024/04/blog-post.html
https://www.eventbrite.com/e/fitsmart-fat-burner-united-kingdomcustomer-reviews-are-they-satisfied-tickets-890809433997?aff=oddtdtcreator
https://patch.com/new-york/chelsea-ny/calendar/event/20240430/8109c7fb-011e-4873-bac8-70bbcc19aafe/fitsmart-fat-burner-uk-user-alert-2024-shocking-results-of-exotic-rice-hack-method-weight-lossrecipe
https://devfolio.co/projects/fitsmart-fat-burner-ukreal-or-hoaxdoes-it-really-2b14
https://medium.com/@rebecfitzsi/fitsmart-fat-burner-united-kingdom-reviews-latest-update-is-this-rice-hack-formula-worth-the-hype-e2a6afdc86d8
https://cyrfys2145.expandcart.com/index.php?route=product/product&product_id=373
https://www.townscript.com/e/fitsmart-fat-burner-united-kingdom-reviewscan-this-formula-help-you-lose-weight-effectively-140002