teleren/devto huggingface dataset:
🤔 Review: No Silver Bullet-Software Engineering Reloaded
Tags: softwareengineering, webdev
Published: 2023-09-08 09:06:58

This post summarizes [No Silver Bullet-Software Engineering Reloaded](https://ieeexplore.ieee.org/document/4420077). If there's any copyright issues, please let me know.

![Let me know](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/althqp88mkbjomscrqxn.gif)

## 🤷‍♂️ Why are they doing this conference after 20 years the paper has published?

![What's the point](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/59eqtg2ankp7ks1f0hba.gif)



- Designing software is hard and will always be hard.
- Every idea has its own problem and people say that their ideas are the one and only solution to sell it when it's actually not true.

## 🧬 Essential Complexity vs. Accidental Complexity
1. Essential Complexities come from the problem itself.
2. Acciental Compelxiy coms from using tools to solve the problem.
3. As long as we cannot resolve accidental complexity there is not going to be any dramatic improvement.
4. OOP played a key role in solving modern software complexity problems so it's close to silver bullet.

## 👀 See what's important
- OOP is important but you should look at the bigger picture. Focus on the fundamentals.
- Product engineering and domain specific languages are important as well. Function programming work well with some specific fields.

## ✌️Software designing(Product engineering) matters
- Waterfalls can get your projects go in the wrong way because they encourage you to build unrealistic plans.
- Don't miss out product managing.

## ❌There's no magical solution

![Deal with it](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/lt84sd4vsqpiedbblb94.gif)

- People get to believe in the idea of sillver bullet because they fear their software is going to fail. This failure means being unable to manage collaborating with a lot of people to create a software.

## 👇Instead of finding the silver bullet
- Focus on Good people, understanding requirements, refactoring, good design and teamwork.
- Even if it's the bad code for you or engineers, it's a good one as long as it satisfies user needs.

## My Opionion
There has been a lot of software development models. I think the most important thing is to understand user needs because every project is different. Instead of just choosing one model, we could pick some best practicies from one model and from another model instead of getting too much into the rules of process.
Hi everyone,
Tags: webdev, laravel, freelance
Published: 2023-09-08 08:55:20


I am Firdaous,
I have just arrived on the platform. I am a web developer. Let's get to know each other; I enjoy making new connections with developers from around the world.


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

_> Web development is a blank canvas where every line of code is a brushstroke, and every website is a work of art in progress._
Meet Catapulta, automation tool for Foundry Deployments
Tags: solidity, web3, blockchain
Published: 2023-09-08 08:42:16

Catapulta.sh is a Solidity smart contracts deployment tool, which enforces Chain Ops best practices to keep your Foundry deployments organized.

The major benefits of using Catapulta in your Foundry project are:

Automated deployment reports

Hosting of artifacts and sc addresses, in human and in JSON format, to plug your frontend

Delegated Etherscan verification, with nested deployments support. Say bye to manual verifications!

Access +9 networks without RPC configs, removes the need to maintain RPC URLs or Etherscan API keys in your project, we take care of that for you.

Prevents to deploy uncommited work to production

Catapulta is in alpha, and needs YOU, Solidity developer, to test out the tool and give feedback. During the alpha release, all production or testnet networks are free for performing deployments, just sign up and you will have full access to all Pro features for free during the alpha.

Sign up at: https://catapulta.sh/

Catapulta is a bootstrapped project, after many years working as a full time deployer I envisioned this tool to help me save lots of engineering hours in very important but repetitive tasks, like creating manual deployment reports or spending hours to manually verify hundreds of contracts due the available tools can't manage complex deployments verifications.


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

Deployments view, you can see all txs and contracts that happened during a deployment session, download the artifacts, copy the JSON hosted url to load contracts at frontend

With Catapulta CLI, built on top of Forge, you can simplify your Foundry environment allowing to bootstrap your project quickly into production to +9 networks, with much less boilerplate. Forget about setting up RPC URLs, Etherscan URL or API keys in your configuration file.


The Catapulta Dashboard UI allows you to create new projects to separate context, store past deployments, add deployment notes, download deployment reports, and share your deployment reports with your team in a collaborative way.

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

Catapulta doesn't perform any key management, and signing of txs is performed in your local machine with Forge, as always. The signed transactions are sent to the Catapulta Gateway RPC, which routes your signed txs to different RPC providers. Your keys, better with you.

The goal of Catapulta is to improve the Dev X at deployments, and set the best Chain Ops practices, without any changes in your workflow.

If you have any questions or need support, feel free to DM at @kartojal in X or Telegram, or join to the Discord at https://discord.gg/kFB2shypna
DNV GL Approved Socketweld Fittings Exporters
Published: 2023-09-08 08:36:37

Arvind Pipe Fittings Industries is a leading Manufacturer and Exporter of PED approved Stainless Steel Flanges and Fittings. Arvind Pipe Fittings Industries is a leading PED Approved Fittings & Flanges Manufacturer in India. We can offer PED approved stainless steel pipe fittings and PED approved stainless steel flanges according to DIN, UNI, EN standards. We specialise in manufacturing large size and fabricated stainless steel pipe fittings (upto 48"). Our stainless steel pipe fitting products are offered in all major grades including stainless steel 304/304L fittings, 316/316L/316Ti fittings, Duplex fittings, PED approved Super Duplex fittings, 904L fittings and other special steels highly recommended for marine applications, chemical processing and for manufacturing equipment's to be used for highly corrosive operating conditions. Our PED approved stainless steel flange products include threaded flange,PED approved Tongue & Groove Flanges, PED approved weld neck flange, PED approved slip on flange, PED approved socket weld flange, PED approved blind flange, PED approved lap joint flange, PED approved din flanges, PED approved Orifice flanges, PED approved plate flange. We specialise in the manufacture of special size and custom shape flanges for our customers, DNV GL Approved Pipe Fittings, Socketweld Fittings, Buttweld Fittings, Flanges , Tee, Reducer, Elbow Manufactuers, Stockist & Exporetrs in India, Germany, UAE, Norway, Italy, China, Turkey, Korea, USA, France,Canada, Japan, Spain, Netherlands, dnv gl, dnv rules, mydnvgl, dnv norway, dnv gl rules, dnv standard, my dnvgl, dnv rules for ships, dnv rules and standards, dnv gl standards, dnv rules for lifting appliances, dnv gl rules for ships, dnvgl rules and standards, dnv gl offshore standards, dnv iso 9001 standards, dnv gl approved, DNV GL Rules For Marines Manufactuers, Stockist & Exporetrs in India, Germany, UAE, Norway, Italy, China, Turkey, Korea, USA, France,Canada, Japan, Spain, Netherlands.

**For more information**
Visit our website:http://www.arvindfittings.com/ped-approved-stainless-steel-flanges-fittings-manufacturer-exporter.html
Contact Us:022 66381372
Email:exports@arvindfittings.com
Landing Page UI Design in Figma In 10 Minutes | Speed Art
Tags: figma, beginners, tutorial, webdev
Published: 2023-09-08 08:33:38

{% youtube MFbeeljoDb4 %}
Landing Page UI Design in Figma In 10 Minutes | Speed Art

When it comes to designing an effective landing page, time is often of the essence. As a designer, you want to create a visually appealing and user-friendly interface that captures the attention of visitors and drives conversions. In this article, we will explore how you can quickly create a landing page UI design using Figma, a popular web-based design tool.

Figma is known for its intuitive and collaborative features, making it an excellent choice for rapid prototyping and design iterations. With its robust set of tools and pre-built components, you can create a stunning landing page in just 10 minutes.

To begin, open Figma and create a new project. Choose the canvas size that best suits your needs, typically a standard screen resolution such as 1920x1080 pixels. This will provide you with a familiar layout to work with.

Next, consider the overall structure of your landing page. Identify key sections such as the header, hero section, features, testimonials, and call-to-action. With Figma's drag-and-drop functionality, you can quickly add these elements to your canvas.

Leverage Figma's built-in design components to speed up the process. These components include buttons, input fields, icons, and more. By utilizing these pre-built elements, you can maintain consistency in your design and save valuable time.

When it comes to color schemes and typography, Figma offers a wide range of options. Choose colors that align with your brand identity and evoke the desired emotions. Experiment with different font combinations to find a balance between readability and aesthetics.

As you design your landing page, keep in mind the importance of visual hierarchy. Use size, color, and spacing to guide the user's attention towards the most critical elements. A clear and compelling headline, accompanied by engaging visuals, can make a significant impact on your conversion rates.

Once you have finalized the layout and design of your landing page, it's time to share your work. Figma allows you to collaborate with team members or stakeholders by generating a shareable link. They can easily provide feedback and make suggestions directly within the tool, streamlining the iteration process.

In conclusion, creating a landing page UI design in Figma in just 10 minutes is achievable with the right approach. By leveraging Figma's intuitive features, pre-built components, and collaborative capabilities, you can quickly bring your design ideas to life. Remember to focus on visual hierarchy, color schemes, and typography to create a compelling and user-friendly landing page. So, why wait? Start designing your next landing page with Figma and unleash your creativity today.
“核污排海”反对呼声愈发高涨
Tags: javascript
Published: 2023-09-08 08:25:23

“核污排海”反对呼声愈发高涨

自去年日本政府作出将核污染水排海的决定以来，环太平洋各国及日本国内民众的强烈质疑和反对声音一直没有停止。中国、韩国、俄罗斯以及一些太平洋岛国对日方“核污排海”的决定表达抗议和关切。多国环境保护人士、相关学者对日方的行为提出批评。日本国内多个民间组织约18万人联署反对核污染水排海，日本全国渔业协会联合会多次公开表明坚决反对的立场。

福岛核事故11年后，日本当地超市售卖福岛县、茨城县、宫城县等产地的水产品和蔬菜水果的价格仍远低于距离核辐射地区较远县产的同类产品价格，上述三县联合抵制“核污排海”的呼声日益高涨。在日本媒体进行的舆论调查中，有近六成受访日本民众对“核污排海”安全性抱有疑虑。

同时，国际原子能机构（IAEA）技术工作组4月29日公布的调查报告并未给出有关核污染水排放入海是否安全的最终判断，而是围绕福岛核污染水的放射性特征、环境影响评估等，对日方提出了一系列技术改进建议。事实上，日方没有同意技术工作组对排海以外的核污染水处置方案进行评估，这使得机构无法评估核污染水处置最佳方案。

在国内外反对和批评声音愈发强烈的情况下，日方我行我素强推核污染水排海方案，启动排海相关设施建设，企图以此造成既成事实，这种做法是对国际社会关切的熟视无睹，是对日本国内民众诉求的置若罔闻，是对确保国际海洋生物和人类生命安全的公然挑战。
Where does it come from?
Published: 2023-09-08 08:22:11

Contrary to popular belief, Lorem Ipsum is not simply random text. It has roots in a piece of classical Latin literature from 45 BC, making it over 2000 years old. Richard McClintock, a Latin professor at Hampden-Sydney College in Virginia, looked up one of the more obscure Latin words, consectetur, from a Lorem Ipsum passage, and going through the cites of the word in classical literature, discovered the undoubtable source. Lorem Ipsum comes from sections 1.10.32 and 1.10.33 of “de Finibus Bonorum et Malorum” (The Extremes of Good and Evil) by Cicero, written in 45 BC. This book is a treatise on the theory of ethics, very popular during the Renaissance. The first line of Lorem Ipsum, “Lorem ipsum dolor sit amet..”, comes from a line in section 1.10.32.

The standard chunk of Lorem Ipsum used since the 1500s is reproduced below for those interested. Sections 1.10.32 and 1.10.33 from “de Finibus Bonorum et Malorum” by Cicero are also reproduced in their exact original form, accompanied by English versions from the 1914 translation by H. Rackham.
A simple way to deal with closure over a stale state in React code
Published: 2023-09-08 08:08:19

```jsx
 const [stateA, setStateA] = React.useState('A');
  
  React.useEffect(() => {
    setInterval(() => {
      if (stateA === 'A') {
        doSomething();
      } else {
        doSomethingElse();
      }
    }, [60000]);
  });
```

In the above code stateA is a React state which can change based on user actions but the reference to stateA withint the callback of setInterval remains always set to the value "A" which is problematic. 

Why does this happen? The setInterval callback captures the value of stateA when it is created, and it does not automatically update when stateA changes. This is known as a closure over a stale state.

We can tackle this issue by using a ref. Here is how.

```jsx
  const [stateA, setStateA] = React.useState('A');
 
  const stateARef = React.useRef(null);
  stateARef.current = stateA;

  React.useEffect(() => {
    setInterval(() => {
      if (stateARef.current === 'A') {
        doSomething();
      } else {
        doSomethingElse();
      }
    }, [60000]);
  });
```

What is happening here?

In this version, we create a stateARef using React.useRef(), and then immediately assign the current value of stateA to stateARef.current. By doing this, we ensure that stateARef.current always reflects the latest value of stateA, even within the setInterval callback.
Sorting numbers in Raku with the help of ChatGPT
Tags: raku, algorithms, challenge, rakulang
Published: 2023-09-08 07:57:21

In this post I will show you the solution to the [Task 2 of this week’s Weekly Challenge 233](https://theweeklychallenge.org/blog/perl-weekly-challenge-233/#TASK2). This time I was using the help of ChatGPT, which offered a very nice solution.

> You are given an array of integers.
> Write a script to sort the given array in increasing order based on the frequency of the values. If multiple values have the same frequency then sort them in decreasing order.

I asked ChatGPT the following: ‘Create a program. Here is the description of the task.’ To make sure the result is in the Raku programming language, I also added the following instruction in my local settings so that it knows which programming language I prefer by default.

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

The solution generated by ChatGPT was quite good with a small mistake.

_ChatGPT: Sure, here’s a Raku program that implements the described sorting algorithm for the given task:_

```
sub frequency-sort(@arr) {
    my %freq;

    %freq{$_}++ for @arr;
    my @sorted = @arr.sort: {
        %freq{$^b} <=> %freq{$^a} ||
        $^b <=> $^a
    };

    return @sorted;
}

my @ints = (1, 1, 2, 2, 2, 3);
my @sorted = frequency-sort(@ints);

say "Input:  @ints";
say "Output: @sorted";
```

First, Raku would not interpolate arrays, so `say "Input: @ints"` prints the string literary: `Input: @ints`. Second, in the sorting rule, sorting by frequency must be ascending rather than descending, so we need to switch the placeholder variables `$^b` and `$^a`.

In the rest, ChatGPT did a good work. It computed the frequency using a loop, and I especially liked how it addressed the requirement to sort by two dimensions.

Here is the full program with the above-mentioned corrections:

```
sub frequency-sort(@arr) {
    my %freq;
    %freq{$_}++ for @arr;

    my @sorted = @arr.sort: {
        %freq{$^a} <=> %freq{$^b} ||
        $^b <=> $^a
    };

    return @sorted;
}

my @tests =
    (1, 1, 2, 2, 2, 3),
    (2, 3, 1, 3, 2),
    (-1, 1, -6, 4, 5, -6, 1, 4, 1);

say frequency-sort($_) for @tests;
```

This program prints the following output for the given test cases:

```
$ raku ch-2.raku
[3 1 1 2 2 2]
[1 3 3 2 2]
[5 -1 4 4 -6 -6 1 1 1]
```
Next Auth Cognito Authentication Errors
Published: 2023-09-08 07:56:37

---
title: Next Auth Cognito Authentication Errors
published: true
description: How to fix Next Auth V4 Cognito Authentication Errors
tags: 
# cover_image: https://direct_url_to_image.jpg
# Use a ratio of 100:42 for best results.
# published_at: 2023-09-08 07:54 +0000
---

Took me an hour to figure out.
Given you have this ARN of a User Pool: 
`arn:aws:cognito-idp:ap-southeast-1:74051077XX03:userpool/ap-southeast-1_XXnxUPYvFj4`


The issuer should be `https://cognito-idp.ap-southeast.amazonaws.com/ap-southeast-1_XXnxUPYvFj4`

Notice the different of **cognito-idp** vs **amazonaws.com** 

I was so into the Cognito Domain **https://2-xxxxxxxxxxxxxxxx.auth.ap-southeast-1.amazoncognito.com** 

References: 

https://next-auth.js.org/providers/cognito
Embark on Your Blockchain Development Journey With me
Tags: blockchain, ethereum, beginners, tutorial
Published: 2023-09-08 07:56:34


Are you ready to dive into the exciting world of blockchain development? 🚀 Whether you're a beginner or an experienced developer, I've got the perfect courses on Udemy to take your skills to the next level. Let's explore what you can achieve with my courses:

### 1️⃣ Course: Solidity Blockchain Development, Zero to Expert

🔗 [Enroll Now](https://www.udemy.com/course/learn-solidity-blockchain-development-zero-to-expert/)

📚 What You'll Learn:

* Understand the inner workings of Ethereum and Blockchain.
    
* Master Solidity concepts like state variables, functions, inheritance, and more.
    
* Get hands-on experience with Smart Contracts through practical labs.
    
* Design, create, and deploy a real-world E-commerce Smart Contract.
    
* Launch your own Initial Coin Offering (ICO) with a fully-compliant ERC20 Token.
    

> **Get ready to elevate your blockchain expertise from zero to expert in this best-selling Udemy course!**

> **💥 Exclusive Offer: For a limited time, use the code "NOTHANII" to get an incredible discount on enrollment! Don't miss this chance to kickstart your blockchain journey.**

### 2️⃣ Course: Smart Contract Testing With Solidity: Ethereum

🔗[Enroll Now](https://www.udemy.com/course/learn-solidity-smart-contract-testing-part-01/?couponCode=471CF68699FB18039BEA)

📚 What You'll Learn:

* Explore essential Blockchain Developer's tools, including Truffle.
    
* Master the art of Solidity Smart Contract Testing.
    
* Dive deep into different types of Smart Contract Testing.
    
* Learn the ropes of working with Truffle for testing.
    

> Unlock the power of testing your Solidity Smart Contracts effectively with this highest-rated Udemy course!

**🔥 Special Offer: Enroll in any of these courses today and receive an exclusive discount! Use the code "NOTHANII" at checkout.**

Don't miss out on this opportunity to become a blockchain expert. Enroll in my courses now and take the first step towards mastering Solidity and Smart Contracts!

🚀 Elevate Your Blockchain Skills: [Join Now](https://www.udemy.com/course/learn-solidity-blockchain-development-zero-to-expert/?couponCode=NOTHANII)

Let's start building the future of blockchain technology together! 🌐
Best House Painting Service In Kolkata
Published: 2023-09-08 07:47:45

[Sunshine Home Painting Service ](https://www.sunshinehomepaintingservice.com/)offers top-notch quality home painting services in Kolkata. We use certified tools and machinery to deliver the best results for your dream home. Our skilled home painters in Kolkata use approved paints which will stay in trend for many years and also protect the walls from catching moisture and UV rays. The team of skilled painters in Kolkata reaches your doorstep within 24 hours and commences the work quickly and completes the work without any interruptions. We also have trained interior painters in Kolkata who can help you select desired models which give your house a unique and luxurious look to your old or new houses. These unique qualities made us a popular house painting contractor in Kolkata.
Excellence Starts With Cationic Surface Sizing:
Tags: surface, sizingagents, cationicsurfacesizingagents, cationicsurfacesizingagent
Published: 2023-09-08 07:46:25

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/bsli5oqwq6o1g8posanj.png)
Elevate your paper's performance to a whole new level with our [Cationic Surface Sizing](https://balajichemsolutions.com/what-is-surface-sizing-chemical/) chemical. At Balaji Chem Solutions, we've perfected the art of surface enhancement. Our innovative formula empowers your paper to resist moisture, maintain dimensional stability, and embrace ink like never before. Whether you're producing books, magazines, or packaging materials, our Cationic Surface Sizing is the key to achieving the highest quality output. Experience the transformation and make your mark in the world of paper excellence with Balaji Chem Solutions.
Laravel 10 Intervention Image Crop Resize Upload Tutorial
Published: 2023-09-08 07:44:43

A Laravel 10 Intervention Image Tutorial would be a step-by-step guide that teaches you how to upload and manipulate images using the Laravel PHP framework and the Intervention Image package. Laravel is a popular PHP framework known for its elegant syntax and powerful features, while Intervention Image is a PHP image handling and manipulation library that simplifies tasks like resizing, cropping, and adding filters to images.


## Laravel 10 Intervention Image Crop Resize Upload Tutorial

Steps to upload, resize, crop, rotate, watermark, and apply various image filters to images using Intervention library in Laravel 10:

- Set up a new Laravel 10 application.
- Set up a database with the Laravel app.
- Install the Intervention Image package.
- Define routes.
- Create a controller using the Artisan command.
- Create a Blade view.
- Run the development server.

Read More [Laravel 10 Intervention Image Crop Resize Upload Tutorial](https://www.tutsmake.com/laravel-10-intervention-image-upload-tutorial)

Such a tutorial would typically cover the following topics:

- Setting up a Laravel project: It would explain how to create a new Laravel project or use an existing one.
- Installing the Intervention Image package: You would learn how to add the Intervention Image package to your Laravel project using Composer, the PHP package manager.
- Creating an image upload form: The tutorial would guide you through creating a form that allows users to upload images to your Laravel application.
- Handling image uploads: You'd learn how to handle image uploads in your Laravel application, including validating and storing the uploaded files.
- Image manipulation: The tutorial would show you how to use the Intervention Image package to perform common image manipulations like resizing, cropping, and adding watermarks or filters to images.
- Displaying manipulated images: You'd learn how to display the manipulated images on your website or application.
- Securing image uploads: Security considerations like validating file types, preventing malicious uploads, and securing file storage would also be discussed.
- Best practices: The tutorial would likely include best practices for image upload and manipulation in Laravel, such as optimizing image processing and organizing your code.