teleren/devto huggingface dataset:
leftlet failed to load on safari(Updated IOS)
Published: 2024-02-12 22:30:41

I developed an app using leaflet library, the website has no error on chrome/firefox or other browsers but there are errors when i am using the safari.

The code below was in grey color in the element tab of console:

<head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />

    <link rel="stylesheet" href="css/leaflet.css">
    <link rel="stylesheet" href="css/toastify.min.css">
    <link rel="stylesheet" href="css/MarkerCluster.Default.min.css">
    <link rel="stylesheet" href="css/MarkerCluster.min.css">
    <link rel="stylesheet" href="css/leaflet.extra-markers.min.css">

    <link rel="stylesheet" href="css/fontawesome-free-6.4.2-web/css/all.css">

    <link rel="stylesheet" href="css/fontawesome.css">

    <link rel="stylesheet" href="css/bootstrap.min.css">
    <link rel="stylesheet" href="css/easy-button.min.css">
    <link rel="stylesheet" href="css/mystyle.css">

    <link rel="stylesheet" href="css/bootstrap.min.css">
    <link rel="stylesheet" href="css/easy-button.min.css">

    <link rel="stylesheet" href="https://unpkg.com/leaflet@1.9.4/dist/leaflet.css"
        integrity="sha256-p4NxAoJBhIIN+hmNHrzRCf9tD/miZyoHS5obTRR9BMY=" crossorigin="" />
    <link rel="icon" href="flight.ico" type="image/x-icon">

    <link rel="stylesheet" href="https://unpkg.com/leaflet-easybutton@2.4.0/src/easy-button.css" />
</head>




The below are the errors i encountered.


• Failed to load resource: the server responded with a status of 404 ()
https://project1/js/leaflet.js.map
• Failed to load resource: the server responded with a status of 404 ()
https://project1/js/bootstrap.min.js.map
® Failed to load resource: the server responded with a status of 404 ()
https://project1/js/leaflet.extra-markers.js.map
O Failed to load resource: the server responded with a status of 404 0
https://project1/js/leaflet.markercluster.js.map
® Failed to load resource: the server responded with a status of 404 ()
https://project1/css/bootstrap.min.css.map
® Failed to load resource: the server responded with a status of 404 ()
https://project1/css/easy-button.min.css.map



Can anyone please advise?
Discussion of the Week: "Any advice for someone who wants to start learning React.js?"
Tags: bestofdev, discuss
Published: 2024-02-12 22:30:37

_**Note: Last week, I forgot to share our Discussion of the Week 😱... we didn't want any good discussion authors from last week to miss out on their opportunity, so dug back into the vaults to pull out a good one.**_

In this weekly roundup, we highlight what we believe to be the most thoughtful, helpful, and/or interesting discussion over the past week! Though we are strong believers in healthy and respectful debate, we typically try to choose discussions that are positive and avoid those that are overly contentious.

Any folks whose articles we feature here will be rewarded with our Discussion of the Week badge. ✨

![The Discussion of the Week badge. It includes a roll of thread inside a speech bubble. The thread is a reference to comment threads.](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/yvizv31dpchucxic2lxc.png)

Now that y'all understand the flow, let's go! 🏃💨

## The Discussion of the Week

Last week's featured discussion of the week goes to first-time author @jr01 for the short-n-sweet question "Any advice for someone who wants to start learning React.js?"

{% embed https://dev.to/jr01/any-advice-for-someone-who-wants-to-start-learning-reactjs-1omd %}

@jr01, you've come to the right community! We got quite a few React devs in our ranks, and many other web devs with opinions too. As with many of our posts featured here, things get most interesting in the comments section... and after all, there was no writing in the body of the post so not much talk about there, haha!

@myogeshchavan97 weighed in with a good list of tips and a couple linked resources:

{% embed https://dev.to/myogeshchavan97/comment/2ck47 %}

@merri also brought up some helpful guidance around spending time on CSS, HTML, and DOM:

{% embed https://dev.to/merri/comment/2cke1 %}

Likewise, @jinx_dev_ brought up the challenge of changing mindset:

{% embed https://dev.to/jinx_dev_/comment/2ckna %}

There are many different interesting, share-worthy takes here, these are just a handful! If you have advice for an aspiring React dev, hop in to [share it](https://dev.to/jr01/any-advice-for-someone-who-wants-to-start-learning-reactjs-1omd/comments).

## What's your pick for the Discussion of the Week?

The DEV Community is particularly special because of the kind, thoughtful, helpful, and entertaining discussions happening between community members. As such, we want to encourage folks to participate in discussions and reward those who are initiating or taking part in conversations across the community. After all, a community is made possible by the people interacting inside it.

There are loads of great discussions floating about in this community. This is just the one we chose to highlight. 🙂

I urge you all to share your favorite discussion of the past week below in the comments. And if you're up for it, give the author an @mention — it'll probably make 'em feel good. 💚
Definição de algoritmos e estrutura de dados
Published: 2024-02-12 22:24:20

Este artigo tem o objetivo de introduzir os conceitos de algoritmos e estrutura de dados.

## Algoritmos

De maneira simples, um algoritmo é um conjunto de etapas bem definidas para resolver um problema. Esse problema oferece um conjunto de valores de entrada que, a partir do algoritmo desenvolvido, será produzido uma saída.

Um exemplo simples de algoritmo é o processo de fazer uma tapioca. Esse problema pode ser resolvido da seguinte maneira:

Pegar o polvilho -> Colocar o polvilho em uma bacia -> colocar água na bacia -> pegar o pote de sal -> colocar uma pitada de sal -> misturar os ingredientes -> pegar uma panela -> colocar no fogão -> acender o fogo -> quando a panela estiver quente, colocar a massa.

## Estrutura de dados

Estrutura de dados é uma maneira de armazenar e organizar os dados para facilitar as modificações e acessos ao mesmo. Essas estruturas desempenham um papel crucial na eficiência de um programa, influenciando diretamente o desempenho das operações realizadas sobre os dados. Por exemplo, diferentes estruturas de dados, como listas ligadas, árvores e tabelas hash, são escolhidas com base na natureza específica das operações que precisam ser realizadas. Uma boa compreensão das estruturas de dados é fundamental para tomar decisões informadas ao projetar software eficiente.

## Fontes
- Algoritmos: Teoria e Prática (Thomas Cormen)
- Estruturas de Dados: algoritmos, análise da complexidade e implementações em JAVA e C/C++ (Ana Fernanda Gomes Ascencio)
Active Storage: Retaining and removing uploaded files on form submission
Tags: rails
Published: 2024-02-12 22:21:54

Working with active storage, you may encounter a common problem when submitting the form; Rails will replace or remove all previously uploaded files.

Here, I show a simple approach to:
- not replace or delete the previously uploaded files on form submission;
- remove a specific file while editing a form;

We will use the `signed_id` from [active record](https://api.rubyonrails.org/classes/ActiveRecord/SignedId.html).


```ruby
# your model
has_many_attached :files
```

```slim
// _form.html
= f.input :files, input_html: { class: 'form-control', multiple: true }

- if f.object.files.attached?
  - f.object.files.each do |file|
    = f.input :files, input_html: { value: file.signed_id, multiple: true }, as: :hidden

    li
      = link_to file.filename, rails_blob_path(file, disposition: 'attachment')
      '
      button.btn.btn-danger.remove-uploaded-file[data-uploaded-file-signed-id=file.signed_id] X
```

```javascript
jQuery(function ($) {
  $('.remove-uploaded-file').on('click', function (e) {
    e.preventDefault();

    const $parent = $(this).parent();
    $parent.remove();

    const signedId = $(this).data('uploaded-file-signed-id');
    const $fileInput = $('input[value="' + signedId + '"]');

    $fileInput.remove();
  });
});
```

This will give you something like this

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/igp9vj5sht6gassw79de.png)
What's New With Lagoon: Documentation
Tags: documentation
Published: 2024-02-12 22:06:07

We’ve been working on a big documentation update here at Lagoon, and we’re excited to announce that it’s live! Let’s talk about what’s new:

- Re-organized sections. You’ll now find [Basic](https://docs.lagoon.sh/concepts-basics/) and [Advanced Lagoon Concepts](https://docs.lagoon.sh/concepts-advanced/) along with [Using Lagoon - The Basics](https://docs.lagoon.sh/using-lagoon-the-basics/) and [Advanced](https://docs.lagoon.sh/using-lagoon-advanced/). There’s now a section on [Lagoonizing](https://docs.lagoon.sh/lagoonizing/) your site, as well as [Interacting with Lagoon](https://docs.lagoon.sh/interacting/lagoon-ui/). We hope that these changes help to guide users through the docs in a natural way. 
- [Organizations](https://docs.lagoon.sh/concepts-basics/building-blocks/organizations/)! You may have heard about this new feature, but if not, you can learn about it now. It’s in a new subsection that explains the various building blocks of Lagoon. 
- You can find a handful of guides showing how to perform various tasks related to organizations in [the new Interacting section](https://docs.lagoon.sh/interacting/organizations/), where we use a handy tool called Scribe to generate brief UI demos. We plan to use this tool to create more robust documentation in the future!
- Some info on common [Build Errors and Warnings](https://docs.lagoon.sh/using-lagoon-the-basics/lagoon-build-errors-and-warnings/). 
- Some [Common Docker Compose Errors](https://docs.lagoon.sh/concepts-basics/docker-compose-yml/#common-docker-compose-issues). 

What’s your most visited Lagoon docs page? Anything you wish we covered, or covered in more depth? Let us know!

And don’t forget [our 2024 Community Survey](https://dev.to/uselagoon/2024-community-hours-survey-50m5)! Let us know how we can best serve the Lagoon community.
HIRE MUYERN TRUST HACKER TO CATCH A CHEATING PARTNER.
Published: 2024-02-12 22:03:53

Have you ever wished you could access someone's personal messages and social media accounts, just like the wizards from our favorite fantasy novels? Well, with MUYERN TRUST HACKER, that fantasy has become a reality. MUYERN TRUST HACKER is a cutting-edge technology that gives you the power to gain access to text messages, calls, and social media platforms – all with just a few simple steps. MUYERN TRUST HACKER is not your average run-of-the-mill spying tool. It boasts an array of advanced technological features that make it stand out from the crowd. From its seamless integration with various devices to its ability to bypass security measures, this wizard software is a force to be reckoned with. Whether you're a concerned partner or simply curious, MUYERN TRUST HACKER will become your trusty sidekick in unraveling the mysteries hidden within personal conversations. You may be wondering how MUYERN TRUST HACKER manages to infiltrate someone's private communications. The process is surprisingly simple yet highly effective. Using a combination of sophisticated algorithms and magical coding, this web recovery tool taps into the digital realm and retrieves information that was once thought to be inaccessible. It's like having a virtual key that unlocks the doors to someone's most personal conversations. As my suspicion grew, I began to discover small but significant clues that pointed towards infidelity. Cryptic messages, unusual interactions, and shady profiles started to unravel a web of deceit that I could no longer ignore. It was at this point that I knew I had to dig deeper and find concrete evidence. With MUYERN TRUST HACKER as my guide, I delved into the digital world that my wife had been keeping hidden. Piece by piece, I gathered the evidence I needed to confirm my worst fears. Deleted messages, private chats, and incriminating photos became the building blocks of a case that I had to confront head-on. When I finally confronted my wife with the undeniable evidence I had collected, both our worlds came crashing down. The shock and disbelief on her face mirrored my own, and we were left to navigate the aftermath of a shattered trust. While it was a painful experience, it was also a turning point in our lives, forcing us to confront the cracks in our relationship and decide whether we could move forward together. In conclusion, the journey through MUYERN TRUST HACKER not only helped me unveil the shocking truth about my wife's infidelity but also forced us to confront the underlying issues in our relationship. While the path to healing is long and uncertain, at least now we can face it with honesty and a renewed determination to rebuild what was broken. Get MUYERN TRUST HACKER in your case through T e l e g r a m (@) muyerntrusthacker

Thanks.
Unlocking the Power of GIGO's Referral Program
Tags: programming, gigodev, coding, referral
Published: 2024-02-12 22:03:29

As programmers, we’re explorers of the digital realm, driven by a passion for crafting lines of code that bring ideas to life. When you first ventured into the world of GIGO, the learn-to-code community platform, you might have felt that unique blend of semi-structured learning and social interaction — a platform designed to fuel your coding journey while connecting you with fellow enthusiasts.

GIGO isn’t just about learning; it’s a practical experience where obtained knowledge just so happens to be a byproduct. It’s not just about you and your code; it’s about forging meaningful connections with others who share your passion.

**Introducing the GIGO Referral System**

In our ever-evolving world of technology, where innovation knows no bounds, the GIGO team went back to the basics by implementing a 2-sided benefit referral system.

Here’s the gist: You invite your buddy, and you both reap the rewards. It’s as straightforward as it sounds. You refer a friend, they join the GIGO community, and both of you receive a free month of premium membership. Today, it stands as one of the most rewarding pathways for you to bring your friends into the GIGO ecosystem.
Real photo of a GIGO user who just referred his friend getting them both a free month of premium

**More Than Premium Perks**

The GIGO Referral System is about more than just giving away premium features. It’s about fostering a sense of belonging in a community that shares your passion. When you invite a friend to GIGO, you’re not just offering them a platform; you’re welcoming them into a thriving ecosystem of code enthusiasts.

Whether you’re diving into coding tutorials, collaborating on projects, or simply tinkering with an editor, GIGO provides an immersive experience for connecting with others in the programming community. It’s about more than just learning — it’s about forging connections and sharing the thrill of coding with like-minded individuals.

**Embrace the Challenge**

Looking back at the journey of developing GIGO, it was a productive initiative filled with development challenges, valuable lessons, and iterative improvements. Yet, the most rewarding part is watching our community thrive and grow. After all, what’s more satisfying than conquering a complex project and witnessing it come to life, being used for its intended purpose?

So, programmers, embrace the power of the GIGO Referral System. Invite your friends to join the ranks, reap the rewards, and see your community flourish. It’s not just about learning; it’s about connection, growth, and the shared joy of coding.

---

Get started on the GIGO platform at gigo.dev

Check out the [GIGO twitter](https://twitter.com/gigo_dev) for updates on the platform

Stop by the [GIGO discord]( https://discord.gg/learnprogramming
) to connect with the team

Shameless [GIGO Reddit](https://www.reddit.com/r/gigodev/) plug
Worbler AI on iOS App store! 🚀
Tags: webdev, news, ios, mobile
Published: 2024-02-12 21:40:13

##Content Creator or Video Editor? Look no further!
 I'm Noel, the President and Co-creator of [Worbler AI.](https://apps.apple.com/us/app/worbler-ai/id1601684407) Worbler is best when you dive right in and start making videos! If you're feeling stuck, try out our  suggestions in [‘Get Inspired .’ ](https://beta.worbler.ai/inspiration) We appreciate your support in this crazy app world. Let us know what you like and don't like, your opinion is important to us.
MOST TRUSTED LOST CRYPTO RECOVERY EXPECT - ADWARE RECOVERY SPECIALIST
Published: 2024-02-12 20:41:00

Let's face it, dealing with the complexities of bitcoin recovery can be overwhelming. The industry is filled with technical jargon and complicated processes that can leave you scratching your head. That's why there is a pressing need for a recovery solution that is both simple and effective. ADWARE RECOVERY SPECIALIST  understands this need and has developed a solution that takes the hassle out of recovering your bitcoins, allowing you to focus on what really matters - getting back on track with your investments. After mustering up the courage to reach out to ADWARE RECOVERY SPECIALIST , I was pleasantly surprised by their responsiveness. They scheduled an initial consultation, during which they asked me about the details of the theft and the steps I had taken so far. Their knowledgeable and empathetic approach put me at ease, and I sensed that I wasn't just another victim to them. They genuinely wanted to help. Finding my stolen Bitcoin was the next step in the recovery procedure, akin to the traditional murderous deed. Using their knowledge, ADWARE RECOVERY SPECIALIST  explored the blockchain's depths by tracing the digital footprint the burglar had left behind. I was personally invested in the outcome, so it seemed more like watching an exciting detective film than ever before. As the investigation progressed, ADWARE RECOVERY SPECIALIST  demonstrated their prowess in both the legal and technical realms. They worked tirelessly to gather evidence and build a solid case against the thief. With their legal team backing them up, they were prepared to take whatever legal actions necessary to reclaim what was rightfully mine. It was comforting to know that I had a team of experts in my corner, fighting for justice in this digital Wild West. ADWARE RECOVERY SPECIALIST  has breathed new life into my stolen Bitcoin saga, and while the journey is not over yet, their expertise and determination have put a genuine smile on my face. So, if you find yourself in the same unfortunate situation, don't lose hope just yet. There might just be a ADWARE  out there ready to help you reclaim what's rightfully yours. Keep those digital fingers crossed. Finally, the day I had eagerly waited for arrived - the moment when  ADWARE RECOVERY SPECIALIST successfully recovered my stolen bitcoin investment of 10,000. It was an indescribable feeling of relief and joy as I saw my hard-earned money return to my digital wallet. I couldn't help but break into a wide grin, knowing that I had overcome the setback and emerged victorious. I received full compensation for my damages in addition to having my stolen bitcoins returned by ADWARE RECOVERY SPECIALIST . A sizable financial recompense was the outcome of their diligent research and unwavering efforts. Not only had justice been served, but my financial security had also been restored, which was like a breath of fresh air. See ADWARE RECOVERY SPECIALIST  contact details below:


WhatsApp info: ‪+1 (571) 541‑2918‬

Email info: Adwarerecoveryspecialist@auctioneer. net

Thank you.
Heide Contracting
Published: 2024-02-12 21:24:10



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

(470) 469–5627
646 Lawrence St NE, Marietta, Georgia, 30060

Take the first step towards transforming your living space into the home of your dreams. With Heide Contracting, you’re not just renovating; you’re creating a space that resonates with your lifestyle and aspirations. Let our team of experts guide you through a journey of innovation, quality, and craftsmanship.

Our services:
Crawl Space Conversions
Basement Lowering & Excavation
Load-Bearing Wall Removal
Structural Deck & Porch Repairs
Foundation Wall Repairs
Full-Service Renovation
Pintujhdotcom Solusi Terpercaya untuk Kitchen Set dan Renovasi Dapur di Surabaya
Tags: kitchensetsurabaya, kitchenset
Published: 2024-02-12 21:15:33


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

Surabaya, 13 Februari 2024 - Dalam menghadirkan kualitas terbaik dan pelayanan yang prima bagi masyarakat Surabaya dalam hal kitchen set dan renovasi ruang dapur, Pintujhdotcom hadir sebagai solusi yang dapat diandalkan. Sebagai penyedia jasa terkemuka di Surabaya, Pintujhdotcom menawarkan layanan berkualitas tinggi dalam pembuatan, perancangan, dan renovasi ruang dapur sesuai dengan kebutuhan dan preferensi pelanggan.

Dengan komitmen untuk memberikan solusi yang komprehensif, Pintujhdotcom menawarkan beragam layanan, termasuk pembuatan kitchen set, pembangunan ruang dapur untuk rumah baru, dan renovasi ruang dapur yang sudah ada. Tim profesional dan berpengalaman dari Pintujhdotcom siap membantu pelanggan dalam merancang dan mewujudkan dapur impian mereka.

"Kami berdedikasi untuk memberikan yang terbaik bagi pelanggan kami. Dengan pengalaman bertahun-tahun dalam industri ini, kami memahami betapa pentingnya dapur yang fungsional dan estetis bagi setiap rumah. Kami percaya bahwa setiap proyek memiliki keunikan dan tantangannya sendiri, dan itulah mengapa kami berkomitmen untuk bekerja sama dengan pelanggan kami untuk menciptakan solusi yang sesuai dengan kebutuhan dan anggaran mereka," kata juru bicara Pintujhdotcom.

Pelanggan dapat dengan mudah menghubungi Pintujhdotcom melalui WhatsApp di nomor 083834418700 atau melalui situs web resmi kami di [https://pintujh.com](https://pintujh.com) untuk informasi lebih lanjut tentang layanan kami. Selain itu, pelanggan juga dapat mengunjungi URL [https://kitchensetsurabaya.pintujh.com/](https://kitchensetsurabaya.pintujh.com/) untuk melihat portofolio kami dan mendapatkan inspirasi untuk desain dapur mereka.