teleren/devto huggingface dataset:
Não, pesquise.
Tags: programming, beginners, productivity
Published: 2022-03-31 01:14:03

Em menos de um século conseguimos construir as engenhocas mais diversas possíveis, indo de simples sites em HTML a computação quântica. Tudo isso é incrivelmente maravilhoso, certo? 

Mas olhando atrás das cortinas existe o fator humano. Um único ser não consegue deter todo conhecimento necessário para lidar com todas as camadas que compõem qualquer engenhoca, então se formam equipes que se tornam a área de uma empresa e assim trabalhamos juntos para o conhecimento ser compartilhado, ideias serem feitas e refeitas. 
E de novo entra um "porém" na história, desde que se pisa no primeiro conceito sobre TI, o bombardeio é infinito; bombardeio de quê? De pessoas limitando a sua capacidade de aprendizado. Se for contar com as mãos quantas vezes foi limitado por "você não pode pesquisar isso", "quem usa Google (ou Stack Overflow) não sabe nada" e inúmeras outras frases de pessoas que vivem em cavernas — com todo respeito aos nossos ancestrais — seria necessário juntar todas as mãos do mundo e mais um pouco. É uma espécie de culto a ideia de que se você está ingressando na área, você necessariamente precisa possuir toda a documentação de qualquer coisa, assim como saber corrigir todos os bugs e que apenas assim se denominar como pessoa desenvolvedora, caso contrário você é apenas mais uma pedra no caminho dos sábios profissionais que fazem algo acontecer... Acredito que a síndrome de impostor é o que acontece. Nenhum deles tem esse conhecimento, mas reproduzem em alto e bom som como se tivessem, menosprezando quem não atende as ordens do seu sagrado culto e jogando para os lobos para ser devorado. 

Assim como em qualquer área de estudo, é necessário ir além do que limitam a te ensinar, e em uma área que muda muito rapidamente é no mínimo exigido que se ultrapasse barreiras. A pesquisa não é um inimigo, pelo contrário, então que seja usufruída para que cada vez mais nossas engenhocas cresçam junto ao nosso conhecimento. 

Procure o Google. Procure o Stack Overflow. Procure comunidades. Procure ajuda.
Imposter Syndrome is kicking in already...
Tags: beginners, devjournal, javascript
Published: 2022-03-31 00:25:41

Time for me to vent...
I'm just 3 months into my coding journey, and already I'm starting to think if this is for me. It is a lot and I mean _a lot_ of information to process. Especially when it comes to learning JavaScript which I am currently doing right now. So far I would say that my HTML and CSS skills are improving. But I am still struggling the most with CSS styling especially Mobile-First workflow. The good news is that it doesn't take me as long now to build a basic web page using CSS and HTML. 

I practice my HTML and CSS skills by completing   FrontEndMentor challenges. Everything was peachy in the beginning when I was only using HTML and CSS. I was feeling confident in my abilities. But then here comes JavaScript. I am currently working on a challenge right now that needs JavaScript to do form validation. This right here is making me second guess myself. If learning how to do form validation is this hard? Just imagine what it would be like to learn more advanced topics in JavaScript. Especially when it comes time to learn React.

Just as the title says, I am already having imposter syndrome. Will I ever be good enough or know enough to start applying for jobs? Am I wasting my time learning a skill that is too difficult to master? I know it doesn't make sense to quit. But that thought has crossed my mind. In the end I know that quitting will not help the situation get any better. I just have to take little steps and take it one day at a time.
Democratize SSO for everyone
Tags: webdev, saas, security
Published: 2022-03-31 00:14:57

[Security Boulevard recently shared that 80% of the SaaS applications used by employees are not in their SSO portals. ](https://lnkd.in/gTm9dE4C)The main challenges include the cost of SSO and the lack of support by SaaS vendors. 


We need to democratize SSO for everyone, including SaaS customers and vendors! 

Now the cost for SaaS vendors to implement SSO is enormous. It usually takes 3-6 months to implement the 1st version and requires constant maintenance. Then SaaS vendors pass the huge cost to their customers. That's the partial reason that you see this SSO wall of shame. https://sso.tax

SaaS vendors need a new and much cost-effective way to implement SSO.
My Journey through the Rust book: Intro
Tags: rust, rustbook
Published: 2022-03-31 00:01:06

## About me
I have worked professionally as a software engineer for about 4.5 (mostly .NET) and decided to begin a journey into the world of Rust!  I choose to do for this a number of reasons.  I have hopes that learning a new language will help me become a better overall engineer.  I hope that learning a lower level language will expand my technical knowledge and improve my career trajectory.  I also just feel like learning something new and giving myself a new project to think about!

## About this blog
For no good reason I have decided to document my journey through the [Rust book](https://doc.rust-lang.org/book/title-page.html) from beginning to end.  I don't have a target audience for this blog, and I have never written a blog before.  This journey will be as much about learning how to write anything interesting as it is about learning Rust.  Maybe some day I will reflect on these notes and fondly remember the days of yore when I was a Rust novice.  Or maybe it will serve as a reminder of my failure to ever learn how to write Rust in any meaningful way.  Either way, here it is!


![Animated Ferris for Rust Fest Berlin by A. L. Palmer](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/6h1org3e85r15its8lkg.gif)
######Animated Ferris for Rust Fest Berlin by A. L. Palmer via [rustacean.net](https://rustacean.net/)

Thanks!
Nick Sittinger
What is a bug?
Tags: qa
Published: 2022-09-23 21:58:51

---
title: What is a bug?
published: true
date: 2022-03-31 00:00:00 UTC
tags: qa
canonical_url: https://jhall.io/archive/2022/03/31/what-is-a-bug/
---

What is a “bug” to you?

I hear two common definitions:

1. Any software behavior that differs from user expectation.

2. Any software behavior that differs from the intention/specification.

Both have their place. And a lot of product-minded people strongly prefer the first. I understand that view, if you’re product-minded. If the product doesn’t do what the user expects, it’s a defective product, right?

Well, I believe the second definition is far more useful, at least in the realm of software development and delivery:

_1. User expectation is entirely subjective._

If I expect my hammer to drive screws, and it doesn’t, perhaps a case can be made that the hammer is defective from a product-centric standpoint. And if I want to return the hammer to the store on the grounds that it doesn’t drive screws, that’s fine. I expect most stores would offer a refund.

But from an engineering standpoint, what matters more is: Do I need to change the product?

_2. Feature changes and broken features should be prioritized differently_

If my hammer head falls off when I try to hit a nail, I call that a bug, and is more important to fix than the fact that it can’t drive screws.

Or maybe we’ve decided that we want to build a hammer that _can_ drive screws, but it _also_ has a head that falls of when hitting nails. Which “defect” should we fix first?

In my opinion, we should always fix failures in the intended functionality first, and only after that’s done should we consider adding new functionality.

* * *
_If you enjoyed this message, [subscribe](https://jhall.io/daily) to <u>The Daily Commit</u> to get future messages to your inbox._
Whatsapp Gateway WA Sender (API WA Blast Chatbot)
Published: 2022-07-27 07:11:23

---
title: Whatsapp Gateway WA Sender (API WA Blast   Chatbot)
published: true
date: 2022-03-30 22:19:10 UTC
tags: 
canonical_url: https://mycoding.id/item/111/whatsapp-gateway-wa-sender-api-wa-blast-chatbot
---

Source Code Aplikas Web WA Whatsapp Api Gateway Terbaru 2022. WA Gateway WASender Pro juga mendukung untuk fitur Chatbot, serta dapat di integrasikan dengan Google Form, Toko Online Wordpress, dan berbagai Website lainnya melalui API... Selengkapnya https://mycoding.id/item/111/whatsapp-gateway-wa-sender-api-wa-blast-chatbot Whatsapp Gateway WA Sender (API WA Blast Chatbot) - by MC Project - Produk Digital dan Jasa Freelance
Intro to Data Science and Machine Learning
Tags: datascience, python, machinelearning
Published: 2022-03-30 21:47:02

Data is our new way to communicate with each other.
In today's world both data science and machine learning are the most
in demand between the society world.
this is a gentle intro to pandas and scikit libraries .
no need to explain any code because when you browse the source code you will see the comments which explaining nearly  every line of it.
the full project with the data set are in this repository
check out my profile for every new project
https://github.com/maximC137/data-science-and-machine-learning-
my LinkedIn profile 
https://www.linkedin.com/in/maxim-kurdi-5a4b62226%5B%5D(url)
Need Help Getting Domains Tied to IP Ranges (For Shopify)
Published: 2022-03-30 21:44:23

Hey all,

To give some high level context, what I am attempting to do is to find all of the live Shopify store domains, especially new stores. Currently, the way I am trying to go about this is by using IP ranges tied to the Shopify Inc corporation. Here were I derived the list: https://networksdb.io/ip-addresses-of/shopify-inc

I know others have done it using this strategy, the only issue I am having is that I am not sure how to effectively obtain domain names/urls from the IP ranges I have gotten.

I have tried inputting the range on https://myip.ms/ but only one returns a valid list of domains (the one that works is the first 23.227.32 - 23.227.63.225)

Here is the list of IP ranges for Shopify stores:
https://23.227.32.0/ - https://23.227.63.255/
https://67.69.139.192/ - https://67.69.139.223/,
https://217.110.154.176/ - https://217.110.154.191/
https://69.38.138.0/ - https://69.38.138.15/
https://72.138.87.240/ - https://72.138.87.255/
https://160.72.91.112/ - https://160.72.91.127/
https://199.189.191.176/ - https://199.189.191.191/
https://79.141.36.24/ - https://79.141.36.31/
https://98.152.189.24/ - https://98.152.189.31/
https://199.19.69.180/ - https://199.19.69.183/
I am aware that there are websites that already provide such data, but my concern is that the number of domains differs from site to site.

For example, Builtwith claims to have 3,986,059 domains available from: https://trends.builtwith.com/websitelist/Shopify

However, networksdb claims to have 3,305,876 domains from: https://networksdb.io/domains-in-network/23.227.32.0/23.227.63.255

Another website, Shopgram claims to have 1,290,131 domains available from: https://shopgram.io/stores

I'd like to compile my own list so that I know that my data is reliable and also have a way to update the list as time goes on.

I am relatively new to this type of problem, so I am receptive to other strategies, other websites, or other approaches for doing this. Any suggestions are welcomed!

Again, my main objective is to obtain all live shopify store domains, have a way to update them regularly, and find new shopify stores.

Thank you for your help in advance!
100 Days of Swift - Day 2
Tags: swift
Published: 2022-03-30 21:35:24

Continuation of [Hacking With Swift](https://www.hackingwithswift.com/) [100 Days of Swift](https://www.hackingwithswift.com/100)

Day 2 - Arrays, Dictionaries, Sets and Enums

1. Arrays are a standard, type declaration is not. instead of int[] in swift we do [Int]

2. Sets are quite simple, just use the named reserved function Set. Have in mind that these guys are unordered, not random, just unordered.

3. Talking about functions, in swift you only use func nameOfFunction(property: type), as a definer, but when you call them you need to do it weirdly as nameOfFunction(property: value).

4. Tuples like in .Net are fixed size, but have the advantage that can be named (iirc Named tuples only come later in .Net 8 or something).

5. Dictionaries are declared like in JavaScript, which btw accessing a none existing key instead of throwing an error returns nil (null in other languages, let's not talk about undefined), if you don't want nil to show you can use dictionary["nonExistingKey", default: "fallback string"]. Lastly, for type declaration we go as [String: otherType] ex [String: Double].

6. Enums are declared differently, but just a bit. Inside each option of an enum you'd have to add the reserved keyword `case`, which results in `enum Directions { case north; case south }` and for specific values inside enums, works exactly like .Net. ALERT: the semicolon is only needed since this is an enum declared as a one liner, in a line break enum the semicolon is not required. Enums in swift can also have an associated value, where we can create something like `enum Weather { case sunny; case windy(speed: Int) }` and we would get `windy(speed: 25)` as a result.

Side note:
I need to look up for swift naming standards eventually.
What are some HTML attributes and tags that you’ve discovered recently?
Tags: html, webdev, discuss
Published: 2022-03-30 21:03:58

Louis Lazaris published [Those HTML Attributes You Never Use](https://www.smashingmagazine.com/2022/03/html-attributes-you-never-use/) on Smashing Mag recently.

I knew a few of the HTML attributes they mention in the blog post, e.g. the `download` attribute for an anchor element, but there were definitely some that were new to me.

What are some HTML attributes and HTML tags that you’ve discovered that others might not know?
Quick tips for Powershell scripters
Tags: azure, powershell, help, tutorial
Published: 2022-03-30 20:24:01

Here's some quick and dirty help if you've gotten rusty with Powershell or otherwise aren't sure quite how to do things.

## 1: Modules are your best friend
Chances are that whatever you're trying to do inside a Microsoft environment has a module either written or trusted by Microsoft already at [Powershellgallery](https://powershellgallery.com). Don't reinvent the wheel.

## 2: MS Docs are your first and best reference
Microsoft's documentation actually doesn't suck when it comes to Powershell. It's not going to hold your hand all the way, but if you've got even a mite of experience doing scripting that touches environment variables and networked services (like AD, O365, Exchange) then you'll be able to pick up on the examples and concepts the documentation offers pretty easily. **Don't be afraid to dig a few links deep into your questions.**

## 3: Powershell has two major versions
Powershell 5.1 comes installed by default on Win10, and I think it's still the default on Win11 as well. This version of Powershell is written in .NET Framework, which is Windows-native. This is by far the most common option, as opposed to Powershell 7, which is written in .NET Core. Core is inherently cross-platform. If you run Powershell on a *nix system like Linux or Mac, it's v7 running on .NET Core. _This is important because not all assemblies and modules are usable on both platforms._ A notable difference here is MSOnline, which depends on cryptography dependencies inside Powershell 5 that are not available in 7; and therefore MS now encourages you use the MS Graph API and other Azure-based modules as a replacement for the old MSOnline module.

## 4: Iterate, iterate, I T E R A T E
One of the most powerful combos in Powershell is the combination of `If-Else` flow control and a `ForEach` loop walking over every complex object inside a data container like an Array, ArrayList, or HashTable.

You can use this to:
* Grab a specific user group using Get-ADGroupMember, put all the user objects in an array, and then grab all of their usernames. You can pipe those usernames into other commands, or just use it as a simple way to dump out a list of who's in what groups.
* Make bulk changes to Exchange accounts by pulling out all accounts on a specific Filter, and then running a set of commands ForEach. Anyone who's spent a lot of time in the Exchange console GUI can probably agree that it takes a while to do stuff by hand.
* Check and even change the MFA status of users in your tenant in order to fix security holes, get info for audits, and more.

I've got a handful of sample scripts at [GrinnyLib](https://github.com/the-real-grinny/grinnylib) on Github. I just recently started putting scripts I use regularly there, that I've written myself. You'll probably recognize that some of these examples can be used for concepts I mentioned in this post.

If any of these helped you out, leave a comment!
Best Java Training in Los Angeles
Tags: javascript, career, beginners, programming
Published: 2022-03-30 18:41:11

Java is a platform-agnostic language, which means it can run on any operating system. Bytecode is generated from the software code. Any gadget with such a Java Virtual Machine installed could execute this bytecode. If you wish to learn the best Java training successfully, visit to SynergisticIT.
If you wish to learn the [best Java training]
(https://www/synergisiticit.com/java-training-in-bay-aera-ca) successfully, go to SynergisticIT and enroll in the INTRO TO JAVA course. You can study the fundamentals of Java in terms of software development there. That is, during the learning phase, you can learn Java and write applications in Java. That is why I am suggesting it to you: I have experienced it first-hand. BEST WISHES. That's all I have to say from my end. Enroll by clicking on this link. It's a free education; all you have to pay for is your devotion and commitment.
Global scope in Laravel, the easy way.
Tags: laravel, elequent, php, orm
Published: 2022-03-30 20:18:28

Ever found your self repeating a query for a specific role, as an example.
Lets put a scenario where we actually need a global scope, we have an **orders** table, there is free orders and payed orders;

- Clients can see only their orders.
- Commercials can see orders of their clients.
- Shipping and back-office can see all the orders.

First thing we create a scope lets call it `App\Scopes\OrderScope.php`

```php
<?php

namespace App\Scopes;

use Illuminate\Database\Eloquent\Builder;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\Scope;
use Auth;

class ComplaintScope implements Scope
{
    /**
     * Apply the scope to a given Eloquent query builder.
     * @param  \Illuminate\Database\Eloquent\Builder  $builder
     * @param  \Illuminate\Database\Eloquent\Model  $model
     * @return void
     */
    public function apply(Builder $builder, Model $model)
    {
        // builder is the query 
        if (Auth::user()->isClient()) {
            $builder->where('user_id', Auth::id());
        } elseif (Auth::user()->isCommercial()) {
            $builder->whereHas('user', function (Builder $query) {
                $query->where('commercial_id', Auth::user()->id);
            });
        }
    }
}
```

Then we use it in our model like that.
```php
use App\Scopes\ComplaintScope;

//add that function to the model
    protected static function booted()
    {
        static::addGlobalScope(new ComplaintScope);
    }
```
Interacting with Compound.finance
Tags: blockchain, hardhat, ethers, angular
Published: 2022-03-30 20:17:36

Compound is one of the oldest protocols out there, it allows you to lend and borrow just like everybody else, but how can you do that with typescript, ethers.js and Angular ?

That is what I am going to show you today with some code examples.
in this occasion we are going to start up a new dapp using Angular to demonstrate how to do it.  

First let's explain some of the fundamental concepts of Compound.

**cTokens**
Each asset supported by the Compound Protocol is integrated through a cToken contract, which is an EIP-20 compliant representation of balances supplied to the protocol. By minting cTokens, users (1) earn interest through the cToken's exchange rate, which increases in value relative to the underlying asset, and (2) gain the ability to use cTokens as collateral.

cTokens are the primary means of interacting with the Compound Protocol; when a user mints, redeems, borrows, repays a borrow, liquidates a borrow, or transfers cTokens, she will do so using the cToken contract.

**Comptroller**
The Comptroller is the risk management layer of the Compound protocol; it determines how much collateral a user is required to maintain, and whether (and by how much) a user can be liquidated. Each time a user interacts with a cToken, the Comptroller is asked to approve or deny the transaction.

**So let's see some code.**

1. We are going to connect our metamask wallet to our page so that we are able to see our cDai balance. 

2. Then we are going to deposit DAI to the cDAI contract in the kovan network because we do not want to use real money. 
and

3. Finally we are going to listen to the Mint event that the cDAI contract raises when DAI is deposited.

First of all we have to request permission to the provider that Metamask injects in the global object.

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/l1lxsqhd5sciac6wc8rc.png)
 
Once we are connected we are going to retrieve the current cDAI balance:

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

In order to deposit we need to get a handler of a signer, 

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

and finally here we can listen to the *Mint* event raised by the cDai contract. 

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

Good! you have reached the end of the article, if you want, you can take a look at the whole code here:[https://github.com/javieracrich/dapp](https://github.com/javieracrich/dapp)
Rise and Fall of Great America
Tags: america, peace, future
Published: 2022-03-30 20:06:20

In most developing countries, American dream is still the ultimate achievement of true happiness and satisfaction. But, those who are already in North America and hostage to financial institutions argue that a great American nightmare. When you build American Empire using blood and sweat of working class Americans by looting the planet under the pretext of democracy, that is nothing but armed robbery of world peace. 

The 200 plus years of countless war campaigns consumed over 1.5 million American soldiers and wounded nearly 2 million, all outside of American borders. All wars were proactive and no one were invading America; where, Americans were defending their sovereignty. Advancement of American military has rotten our planet with cluster bombs and broken glasses on every part of the world, where a toddler may be forced to walk. Although the world is a place for all, BlackRock bankers decided who get to live and where, the outcome of inhumane colonization culture. 

Yet, wise woke Americans resisted industrial revolution since 1970 through 20th century, the minority voices were ignored by the elites and defeated at the election every time. Keeping the left and right divided under the illusion of progress really helped shift the blame, sell war and cause destruction with consent instead of peace, unity and harmony. Greed of ruling class to produce more of everything while staring at the stock market screens without sustainability has coerced the earth to become a place of trash storage.  

America became the largest empire in the history of humankind with most sophisticated weaponry system. Today, American military complex is the sole guardian of trash planet and pool filled with the innocent blood. Environmental code red means 90 percent of water is unsafe to consume. Greatest North American Empire owns everything in a planet that is uninhabitable for all humans. #america #dream #future