teleren/devto huggingface dataset:
Rust Cargo Run exit code: 0xc0000135, STATUS_DLL_NOT_FOUND
Published: 2023-03-26 16:50:38

---
title: Rust Cargo Run exit code: 0xc0000135, STATUS_DLL_NOT_FOUND
published: true
description: 
tags: 
# cover_image: https://direct_url_to_image.jpg
# Use a ratio of 100:42 for best results.
# published_at: 2023-03-26 00:24 +0000
---

This is probably happening in Powershell.

If you run this in bash MINGW64:

```bash
$ ldd target/debug/<app>.exe
```

This should give you a list of .dll files. Those DLLs should be in your target folder, but they aren't.

```bash
ntdll.dll => /c/WINDOWS/SYSTEM32/ntdll.dll (0x7ffb1fd10000)
KERNEL32.DLL => /c/WINDOWS/System32/KERNEL32.DLL (0x7ffb1fb70000)
KERNELBASE.dll => /c/WINDOWS/System32/KERNELBASE.dll (0x7ffb1d5f0000)
apphelp.dll => /c/WINDOWS/SYSTEM32/apphelp.dll (0x7ffb1a980000)
bcrypt.dll => /c/WINDOWS/System32/bcrypt.dll (0x7ffb1d410000)
ucrtbase.dll => /c/WINDOWS/System32/ucrtbase.dll (0x7ffb1dab0000)
VCRUNTIME140.dll => /c/WINDOWS/SYSTEM32/VCRUNTIME140.dll (0x7ffb03f60000)
libssl-1_1-x64.dll => /mingw64/bin/libssl-1_1-x64.dll (0x7ffae26f0000)
msvcrt.dll => /c/WINDOWS/System32/msvcrt.dll (0x7ffb1fad0000)
libcrypto-1_1-x64.dll => /mingw64/bin/libcrypto-1_1-x64.dll (0x7ffaaf360000)
ADVAPI32.dll => /c/WINDOWS/System32/ADVAPI32.dll (0x7ffb1e950000)
sechost.dll => /c/WINDOWS/System32/sechost.dll (0x7ffb1fc30000)
RPCRT4.dll => /c/WINDOWS/System32/RPCRT4.dll (0x7ffb1f0c0000)
USER32.dll => /c/WINDOWS/System32/USER32.dll (0x7ffb1e7a0000)
win32u.dll => /c/WINDOWS/System32/win32u.dll (0x7ffb1da80000)
GDI32.dll => /c/WINDOWS/System32/GDI32.dll (0x7ffb1eaa0000)
gdi32full.dll => /c/WINDOWS/System32/gdi32full.dll (0x7ffb1dc50000)
msvcp_win.dll => /c/WINDOWS/System32/msvcp_win.dll (0x7ffb1dbb0000)
WS2_32.dll => /c/WINDOWS/System32/WS2_32.dll (0x7ffb1fa60000)

```

See [LDD](https://man7.org/linux/man-pages/man1/ldd.1.html) for more details.

Turns out there are 2 ways to link libraries into your rust executable: dynamic (hence DLL: [Dynamic Linked Library](https://learn.microsoft.com/en-us/windows/win32/dlls/dynamic-link-libraries)) and static.

To avoid any DLL issues on the target platform, we can set up our build target to use static linked libraries.

How do we do that for something like OpenSSL?

First we install that static version of OpenSSL for windows:

`vcpkg install openssl:x64-windows-static`

*Note that "static" word at the end.

Using vcpkg to install this gives us a directory where we can point our system env variables:

```cli
$env:OPENSSL_STATIC=1
$env:OPENSSL_NO_VENDOR=1
$env:OPENSSL_DIR="C:\...\<vcpkg>\installed\x64-windows-static"
$env:OPENSSL_INCLUDE_DIR="C:\Users\douga\Documents2\code\vcpkg-1\installed\x64-windows-static\include"
```
In PowerShell we can set out environment variables to all say "static" and "here's our static installation from vcpkg"

Now when we `cargo run` our app is built using the static versions of OpenSSL based on out ENV VARS and the installation these point to, meaning our target environment doesn't need these DLL files available and our app will run without them.
Code-Magic
Tags: webdev, javascript, programming, productivity
Published: 2023-03-25 15:54:24


[click here to open website](code-magic-coral.vercel.app)

[project url github](https://github.com/Tanmay-Tiwaricyber/Code-Magic)

A website to help you get simple tricks you can use in your applications with html and css

code magic

⚒️ Languages / Tools
HTML
HTML	CSS
CSS	Typescript
TypeScript

🧑🏾‍💻 Demo

Check out the website: [Code Magic](code-magic-coral.vercel.app)

👇🏽 Prerequisites
Before installation, please make sure you have already installed the following tools:

Git
NodeJs

🛠️ Installation Steps

Fork the project. Click on the  icon in the top right to get started
Clone the project, you can use the following command:
git clone https://github.com/<your-github-username>/Code-Magic
Navigate to the project directory
cd Code-Magic
Install dependencies with npm install
npm install
npm install -g commitizen
Run the project
npm run dev



🥂 After making a change

Create a new branch
git checkout -b YourBranchName
Add it to staging area
NOTE: don't commit the package.json

git add .
Commit your changes with
git cz
Push your changes
git push



👨‍👩‍👦 Community

Don't forget to join the discord community - Join us

👩🏽‍💻 Contributing
Contributions make the open source community such an amazing place to learn, inspire, and create.
Any contributions you make are greatly appreciated.
Check out our contribution guidelines for more information.



🛡️ License

Code-Magic is licensed under the MIT License - see the LICENSE file for details.


💪🏽 Thanks to all Contributors
Thanks a lot for spending your time helping Code-Magic grow. Thanks a lot! Keep rocking🍻


🙏🏽 Support

This project needs a star️ from you. Don't forget to leave a star✨
Implicit dependencies
Tags: azure, devops
Published: 2023-03-26 16:26:54

---
title: Implicit dependencies
published: True
description: 
tags: #azure #devops
# cover_image: https://direct_url_to_image.jpg
# Use a ratio of 100:42 for best results.
# published_at: 2023-03-26 14:01 +0000
---

In Terraform, implicit dependencies are relationships between resources that are not explicitly defined in the configuration but are inferred based on the configuration. In Azure, there are several implicit dependencies between resources that Terraform automatically handles for you. Here are some examples:

Virtual Networks and Subnets: When you create a subnet, it must be associated with a virtual network. Therefore, when you define a subnet resource in Terraform, it implicitly depends on the virtual network resource that it is associated with.

```
resource "azurerm_virtual_network" "mct_vnet" {
  name                = "mct-vnet"
  address_space       = ["10.0.0.0/16"]
  location            = "westus2"
  resource_group_name = "mct-rg"
}

resource "azurerm_subnet" "mct_subnet" {
  name           = "example-subnet"
  address_prefix = "10.0.1.0/24"
  virtual_network_name = azurerm_virtual_network.mct_vnet.name
  resource_group_name  = "mct-rg"
}

```
How can I contribute to Open Source as a Project Manager? Part 1
Tags: java, opensource, team, projectmanager
Published: 2023-03-26 16:25:11


I always was eager to **connect people**. That is why I decided to use my organizational skills and IT background in order to **bring great value to the IT community**. One of the ways to do it is to contribute to Open Source.
How can I contribute as a Project Manager? I decided to create and lead a team of java developers in order to contribute to Open Source for good.

**First of all**, I shout in different recourses in my network and friends - if anyone wanna join my friendly team as a java developer? I was lucky enough to have great people around me who decided to support my idea and join my team.

**Secondly**, we picked a day and we had a first intro meeting. I prepared a great welcoming presentation for our team. It consisted of:

1. info about me and team members
2. our tasks and aims for our team
3. paraments for our project
4. details of our communications (meetings, chat)
5. the project that we will contribute

**Thirdly**, after the meeting, I created a summary with an action plan and a record of the meeting.
Cannot wait for your next meeting with my team and I will keep you posted.

Special thanks to @nikitakoselev for introducing open source to me and believing in me!

Thank you for reading and please like and subscribe =)
Yasia (Iaroslavna Nezhinskaia)
16- Making the process of loading GeoPackage layers more efficient in PyQGIS using customized functions
Tags: programming, python, pyqgis
Published: 2023-03-26 16:23:33

--- series: A beginner's guide to using Python with QGIS ---
In this article, we explain how to streamline GeoPackage layer loading in PyQGIS using custom functions. It provides examples of functions to add new layers, multiple layers, and all layers. It also includes a link to download sample data.

To get started, we need to download sample data in the GeoPackage format. We provide a [link](https://github.com/Azad77/Python_qgis/blob/main/Data/osopentoid_202105_gpkg_sr.zip) to download a GeoPackage file containing sample data. Once downloaded, we can unzip the file and load it into PyQGIS.

First, load a list of layer names in the GeoPackage:

```python
from osgeo import ogr
gpkg1 = 'D:/Python_QGIS/data/osopentoid_202105_gpkg_sr/osopentoid_202105_sr.gpkg'
gpkg_layers = [n.GetName() for n in ogr.Open(gpkg1)]
print(gpkg_layers)
print('os_mastermap_topography_layer' in gpkg_layers)
# True
print('london_boroughs' in gpkg_layers)
# False (because the layer is not available)
```

Next, write a function to add new layers:

```python
def add_layer(gpkg, layer):
    layers = [n.GetName() for n in ogr.Open(gpkg)]
    if layer in layers:
        iface.addVectorLayer(gpkg + "|layername=" + layer, layer, 'ogr')
    else:
        print('Error: there is no layer named "{}" in {}!'.format(layer, gpkg))
```

Use the defined ***add\_layer*** function to add a new layer:

```python
add_layer(gpkg1, 'os_mastermap_topography_layer')
```

Then, define a function to add multiple layers:

```python
def add_layers(gpkg, layers):
    for layer in layers:
        add_layer(gpkg, layer)

# use add_layers function:
add_layers(gpkg1, ['os_mastermap_sites_layer', 'os_mastermap_highways_network'])
```

Finally, define a function to add all layers:

```python
def add_all_layers(gpkg):
    layers = [n.GetName() for n in ogr.Open(gpkg)]
    add_layers(gpkg, layers)

 # use add_all_layers function:   
add_all_layers(gpkg1)
```

In conclusion, the article provides useful insights into how to streamline GeoPackage layer loading in PyQGIS using custom functions. It offers examples of functions to add new layers, multiple layers, and all layers. The article also includes a link to download sample data, which readers can use to practice the concepts discussed. Overall, this article is a valuable resource for anyone looking to improve their GeoPackage layer loading process in PyQGIS.

> If you like the content, please [SUBSCRIBE](https://www.youtube.com/channel/UCpbWlHEqBSnJb6i4UemXQpA?sub_confirmation=1) to my channel for the future content
Kill node_modules 😡
Tags: node, webdev, javascript, productivity
Published: 2023-03-26 16:22:02

## Why node_modules?

`node_modules`, each of our incomplete million dollar project contains this folder, which is taking some fair amount of space in your PC. so how to remove it?

One way is that you can sink your ship 🚢 into your codebase hell and delete node_modules folder one by one.

or you can run 
```bash
npx npkill
```

This gives you a nice CLI to delete node_modules from your million dollar projects. 

Just hit space and that will delete node_modules from that folder.

But that seems like u're using a node module to delete a node_modules.

If you love 💖 to use terminal, and more concerning about Developer Experience (DX). you can use this command instead

```bash
rm -r **/node_modules
```

this will remove all sub `node_modules` folder inside your project.

---

Now we have modern javascript runtime like deno, bun. That's support out of the box TypeScript Support, can manage packages using URL based configuration. So stop using `node_modules` 😂


That's it for this article, hope you get something useful. Share your thoughts on this article in socials.

Let's Connect - 
<a class="twitter-share-button" href="https://twitter.com/intent/tweet?text=Hey%20folks%20i%20recently%20read%20this%20article%20about%20node_modules%20and%20how%20to%20delete%20them%20on%20Dev.to%20by%20Kunal.py3%20do%20check%20this%20out#webdev%20#react%20#" data-size="large">Tweet Thanks</a>
https://linktr.ee/kunal.dev
Why we use app.use(express.urlEncoded({extended: true})) in our express web app.
Published: 2023-03-26 15:39:44

## Explanation

The express.urlencoded() middleware function is used to extract the data from the request body and add it to the request object in the form of req.body. The extended option allows to choose between parsing the URL-encoded data with the querystring library (when false) or the qs library (when true).

When the extended option is set to true, the qs library is used to parse the URL-encoded data. This library allows for more complex data structures to be parsed from the request body, such as arrays and nested objects.

Overall, this code is configuring the Express.js app to parse incoming URL-encoded data from request bodies using the qs library, and adding it to the req.body object for easy access in subsequent middleware functions or routes.
Promethium Cloud Solutions Australian Server Hosting
Tags: serverhosting, vpshosting, cloudsolutions
Published: 2023-03-26 15:22:46


With our Australian server hosting solutions, we help you simplify your business by managing it all for you Click here to learn more about our services


**[Promethium Cloud Solutions](https://www.promethium.com.au)** works directly with customers and also Application Development firms to adapt a solution on our infrastructure to provide the most efficient and high performing solution.
08 berufliches Vorwärtskommen: Warum es bei dir besonders gut läuft.
Tags: deutsch, career, discuss, motivation
Published: 2023-03-26 15:17:00

Moin Moin,

hast du dir bereits Gedanken dazu gemacht, was in deiner [Karriere↗](https://www.dwds.de/wb/Karriere) ( berufliches Vorwärtskommen ) [besonders gut läuft→ ( vorheriger Teil )](https://dev.to/amustafa16421/berufliches-vorwatrskommen-was-bei-dir-besonders-gut-lauft-4a6f) ?   Und warum dies so ist ?  
Wenn du weißt warum dir einige Karriereschritte oder auch Aufgaben leicht fallen, kannst du dies Nutzen um deine Stärken noch weiter auszubauen.

- Wer unterstützt dich in deiner Karriere ? 
- Mit wem führst du regelmäßig einen Austausch ? 
- Baust du eher deine Stärken aus oder versuchst du deine Schwächen zu beseitigen ?  Fortbildung ?

Beste Grüße,
Mustafa
Schemas with Supabase
Tags: webdev, javascript, beginners, programming
Published: 2023-03-26 15:11:16

{% embed https://www.youtube.com/watch?v=6IX7Zwup-Uc %}

Schemas are an important concept in databases that allow you to organize your data into logical groups. In Postgres, a schema is a namespace that contains tables, views, functions, and other related objects. Schemas can be used to organize and manage database objects, control access and permissions, and support multi-tenancy applications.

Supabase, a popular open-source alternative to Firebase, is built on top of Postgres, and it offers the same powerful schema management capabilities. Supabase provides a simple web-based interface to manage your schemas and database objects, making it easy for developers to work with Postgres without having to write SQL statements.

Using schemas in Postgres and Supabase has many benefits. First, it allows you to better organize your data, making it easier to manage and maintain. For example, you can create separate schemas for different applications, users, or teams. This can help you to better control access and permissions, and reduce the risk of data conflicts or errors.

Second, using schemas can improve performance by reducing the number of objects that need to be searched or accessed. By organizing related data into separate schemas, you can reduce the overhead of searching through unrelated objects, and make it easier for the database to retrieve the data you need quickly.

Finally, using schemas can support multi-tenancy applications by allowing you to partition your data based on tenant or customer. By creating separate schemas for each tenant or customer, you can provide a more secure and isolated environment for each user, while still allowing them to access their own data.

In summary, schemas are an important concept in Postgres and Supabase that can help you to better organize your data, improve performance, and support multi-tenancy applications. By using schemas, you can create a more scalable and manageable database that is better suited for modern applications.

Guillaume Duhan
The Mystical Universe of Mid Journey
Tags: ai, midjourney, webdev, programming
Published: 2023-03-26 15:05:09

Hello readers! Have you had the chance to explore the enchanting world of Mid Journey?

Mid Journey is an innovative art generator that harnesses the power of advanced artificial intelligence and machine learning to produce breathtaking artwork. With just a few clicks, users can easily create stunning and one-of-a-kind images that would be challenging for even the most skilled human artists to produce manually.

This state-of-the-art tool is especially beneficial for crafting immersive environments that are rich in detail, particularly in the fantasy and science-fiction genres. By enabling designers to swiftly create mid-fidelity designs that are more intricate than low-fidelity wireframes but less detailed than high-fidelity mockups, Mid Journey facilitates easier communication of ideas to stakeholders and clients, while allowing for rapid iteration.

![a guy bullying sfr merchant to get his iphone](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/50j8mbag5pturz770t9f.png)

Mid Journey offers designers a major advantage in terms of speed, enabling them to experiment with ideas without investing excessive time on details that can be incorporated later. This results in faster iteration and the capacity to make modifications on the go. Additionally, the mid-fidelity designs produced by this AI tool feature greater detail than low-fidelity wireframes, facilitating clearer understanding of the designer's vision for stakeholders. Designers can also swiftly present multiple design alternatives for feedback.

![kid](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/0hqnbrix6lidmtclh0dk.png)
To summarize, Mid Journey is a versatile and potent tool that unlocks limitless possibilities for design innovation and creativity, making it an indispensable asset for any designer's arsenal. Leveraging the full potential of this tool, designers can bring their most imaginative ideas to fruition and inspire others with their distinctive artistic vision.


![kids are in a fairytale](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/9ch4bcz76yvpppp6l2jg.png)
Are you up for an adventure? If you haven't yet, come and explore this [Website](https://www.midjourney.com)! Believe me, it's a complete game-changer. Visit their website now and witness the enchantment of advanced AI. You won't regret it!
Thank you for taking the time to read this article. I sincerely hope you found it as enjoyable to read as I did to write. I look forward to sharing more content with you in the future.

💖 Your appreciation for this article motivates me to keep writing.
💬 Please share your valuable feedback by leaving a comment.
🔖 Don't forget to bookmark this article for future reference.
🔗 If you found this article helpful, please share it with others.
Yet Another Newsletter LOL: Cache
Tags: newsletter, vscode, frameworks
Published: 2023-03-26 15:02:42

<p>Another week, another newsletter. Let&rsquo;s get to it!</p>
<h2>Around the Web</h2>
<ul>
<li>@jherr (Jack Herrington) has <a href="https://www.youtube.com/c/JackHerrington/videos?utm_source=nickytonline&amp;utm_medium=email&amp;utm_campaign=yet-another-newsletter-lol" target="_blank">amazing YouTube content</a> and the last two videos of his that I&rsquo;ve seen, he talks about the <a href="https://marketplace.visualstudio.com/items?itemName=WallabyJs.console-ninja&amp;utm_source=nickytonline&amp;utm_medium=email&amp;utm_campaign=yet-another-newsletter-lol" target="_blank">Console Ninja</a> VS Code extension. I installed it this week and have been enjoying it so far.</li>
<li>I came a across <a href="https://framework.dev?utm_source=nickytonline&amp;utm_medium=email&amp;utm_campaign=yet-another-newsletter-lol" target="_blank">framework.dev</a> this week. Lots of great resources in there for all the latest and greatest frameworks out there.</li>
</ul>
<h2>Fun Stuff</h2>
{% embed https://twitter.com/bpoppenheimer/status/1636031254343606274 %}
<h2>Words of Wisdom for the Week</h2>
{% embed https://twitter.com/kelseyhightower/status/1637838103267393538 %}
<h2>Shameless Plugs</h2>
<p>This week I got to hang with one of my favourite people, BekahHW. We discussed community &amp; core skills.</p>{% embed https://www.youtube.com/watch?v=fB3L4ekE6Dg %}
<p>Remember to like and subscribe! 😎</p>
<h2>Jobs</h2>
<ul>
<li><a href="https://boards.greenhouse.io/warp/jobs/4324888004?utm_source=nickytonline&amp;utm_medium=email&amp;utm_campaign=yet-another-newsletter-lol" target="_blank">Warp is looking for a Software Engineer</a> – <em>(Remote within US and Canada)</em></li>
</ul>
<p>I post jobs in the iamdeveloper.com community, plus all other kinds of content, as do others. If you&rsquo;re looking for another friendly nook of the internet, head over to <a href="https://discord.iamdeveloper.com?utm_source=nickytonline&amp;utm_medium=email&amp;utm_campaign=yet-another-newsletter-lol" target="_blank">discord.iamdeveloper.com</a>.</p>
If you liked this newsletter, you can [subscribe](https://www.iamdeveloper.com/pages/newsletter/) or if RSS is your jam, you can also [subscribe via RSS](https://www.iamdeveloper.com/newsletter.rss).
🏡 How To Build Real Estate Website | Using HTML CSS & JAVASCRIPT Step
Tags: webdev, beginners, programming, tutorial
Published: 2023-03-26 14:56:25

How to make a responsive real state website design using HTML CSS and JavaScript. Real estate landing page. 

Along with css animations. Developed first with the Mobile First methodology, then for desktop. 

🔔 Subscribe for more! 

https://bit.ly/3UbNw7F

🔗 Source code 

https://upfiles.com/Qb4g

------------------------------

Follow me! 

Facebook https://bit.ly/3IMfk04

 Instagram https://bit.ly/3GHoQyT

 Twitter https://bit.ly/3IOBEqc

 Linkedin https://bit.ly/3INnwNY

------------------------------ 

☕️ Support me 

buymeacoffee.com/webmonster

💙 Support me by PayPal 

https://ko-fi.com/webmonster01 

👍 Thanks for watching! 

Make sure to like + Subscribe For More! ❤ 

#realstatewebsite #responsivewebsite #webdesign #webmonster 



Link of The Video :

https://youtu.be/a7__ia12pOs


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