teleren/devto huggingface dataset:
Moonly weekly progress update #28
Tags: nft, crypto, growth, blockchain
Published: 2022-12-20 16:37:08


Another week went by at the speed of light, and a lot of technical things were completed.
These are obstacles that we have to overcome to achieve the features and be closer to our goal!

Each one of these features is starting to get its final shape and we are very excited to share them with you guys very soon!

*“It doesn’t matter how fast you go as long as you do not stop!”*

**Weekly devs progress:**

-Resolved download NFT image PR issue
-Progress on Holder verification page UI on moonly-bot
-Finished coding skeleton loader for live events (not deployed)
-Homepage loader improved (not deployed)
-Expanded monitor table to 200 rows (not deployed)
-Deployed and reviewed token metadata scraper on the test server
-Deployed frontend/backend implementation for portfolio tracker
-Introduced buyer, and seller fields in the Transaction table
-Finished layout for latest blog section (not deployed)
-Designed loader for latest blog section and implemented it (not deployed)
-Modified getUserProfile API
-Modified Portfolio API
-Add new API for mint address from big-DB
-Integrated these APIs on the front-end
-Produced a working copy of the server-side signing
-Fix the user login issue
-Modified design for the transaction table
-Added pagination for the transaction table
-Implemented detection of PlaceOffer/CancelOffer events
-Multiple minor fixes to the token tracker
-Changed the scrollbar on all existing components for Firefox

**Staking as a Service:**
-Writing API for transaction data on the backend
-Updated Smart Contract to check server signature
-Added trait item function
-Re-factored the program initialization
-Implementing UI for staking administrator

**Upcoming NFT drops pages**

Here you can find everything you need about upcoming NFT drops for different blockchains.
Solana, Ethereum, Polygon, Near, and Aptos upcoming NFT projects to mint.
All data that you need is shown on this page like the mint price, supply, mint date, and social stats. But if you want to see more about some projects and dive deeper into them you can click on each project and check many different stats about it that can help you to make a better decision!

[https://moon.ly/solana](https://moon.ly/solana)

[https://moon.ly/ethereum](https://moon.ly/ethereum)

[https://moon.ly/polygon](https://moon.ly/polygon)

[https://moon.ly/near](https://moon.ly/near)

[https://moon.ly/aptos](https://moon.ly/aptos)

**Also, we recommend you check out some upcoming NFT projects to mint:**

[https://moon.ly/nft/the-enigma-cube](https://moon.ly/nft/the-enigma-cube)

[https://moon.ly/nft/honeyland-generations](https://moon.ly/nft/honeyland-generations)

[https://moon.ly/nft/wesleep-koalas](https://moon.ly/nft/wesleep-koalas)

**Minted projects worth mentioning:**

[https://moon.ly/nft/elixir-pfp-collection](https://moon.ly/nft/elixir-pfp-collection)

[https://moon.ly/nft/duelbots](https://moon.ly/nft/duelbots)

[https://moon.ly/nft/sorcies](https://moon.ly/nft/sorcies)

[https://moon.ly/nft/jelly-rascals](https://moon.ly/nft/jelly-rascals)
Polymorphism - [Java OOP #5]
Tags: java, oop, beginners, computerscience
Published: 2022-12-20 16:32:31

Polymorphism refers to the ability of a method to have multiple implementations based on what object is passed to it. Polymorphism can be divided into two types: runtime and compile-time.

## Runtime Polymorphism

Runtime polymorphism, also known as dynamic polymorphism, is achieved by method overriding. The concept of method overriding was introduced in the [previous article of this OOP series](https://dev.to/rachelsarchive/inheritance-method-overriding-java-oop-4-2o9m). 

Runtime polymorphism is resolved during runtime, in which the JVM decides which method to invoke. Take a look at the example below:

![Polymorphism example](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ib1asvqk3duoxgkfx1ez.png)
![Polymorphism example](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/oygwm4akl9gce4a2gkem.png)

Here, "obj" is a reference variable of the Cat superclass, but it is pointing to the object of the Tiger subclass. Hence the makeSound() method of the Tiger class is called.

## Compile Time Polymorphism

Compile time polymorphism, also known as static polymorphism, is acheived by method overloading. Method overloading is when different methods possess the same name but different parameters. This can be done by changing the number, data types and order of parameters. 

Try and run the sample code below and observe the results. For better understanding, you can create your own methods and experiment with different paramters.

```java
class Test {

    public static int sum(int x, int y) {
        return x + y;
    }

    public static int sum(int x, int y, int z) {
        return x + y + z;
    }

    public static double sum(double x, int y) {
        return x + y;
    }

    public static double sum(int x, double y) {
        return x + y;
    }
}

class Main {
    public static void main(String[] args) {
        // invokes the first sum() method
        System.out.println(Test.sum(1, 2)); 

        // invokes the second sum() method
        System.out.println(Test.sum(1, 2, 3));

        // invokes the third sum() method
        System.out.println(Test.sum(1.0, 2));

        // invokes the fourth sum() method
        System.out.println(Test.sum(1, 2.0));
    }
}

```
💡 Try Luos directly on your computer without the need for any hardware!
Tags: testing, startup, opensource, luos
Published: 2022-12-20 16:30:00

If you happen to come across Luos and don't have a card with you, don't worry! Luos **native** emulates on a computer a **virtual card** (like a digital twin) that allows you to test the possibilities of Luos and **get started quickly**. Once you have the boards in hand, it will be easier for you to understand the Luos code and philosophy for your future embedded projects.

Whether you're just learning about Luos for the first time or you're an experienced user, **this feature is for you**!
Java: Guia para iniciantes 🚀🖤
Published: 2022-12-20 16:29:40

**Estou iniciando o bootcamp Orange Tech + | BackEnd da DIO e pretendo ir registrando meus estudos através de artigos por aqui, então pra você que também é iniciante embarque nessa jornada junto comigo e vamos começar entendendo sobre a linguagem Java.**

## O que é o java
A linguagem java é composta por um conjunto de funcionalidades (features). O Java foi criado por James Gosling, através de um financiamento da Sun Microsystems na década de 90, sendo posteriormente comprada pela Oracle, uma empresa gigante no setor de tecnologia.

Abaixo iremos explorar algumas características da linguagem Java.

### Simples
Java é uma linguagem relativamente simples e fácil de entender, pois não possui complexidades que existiam nas linguagens de programação anteriores. A possibilidade de escrever o código apenas uma vez e roda-lo em diversos dispositivos dez com que essa tecnologia se tornasse muito popular.

### Orientada a Objeto
Em Java tudo é escrito em termos de classes e objetos, o que a torna uma linguagem orientada a objetos. Mas o que são classes e objetos?

Imagine um carro, um carro é uma classe, ou seja, é um tipo de objeto.

Ele possui algumas características, como modelo, marca, cor, ano. Na programação elas são chamadas de atributos dessa classe, a classe que no caso é o carro.

Esse carro também tem algumas funcionalidades, como: acelerar, buzinar, frear, na programação esses são os métodos.

Um exemplo pratico é o carro abaixo.

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

**Atributos:**
- 530e
- BMW
- Preto
- 2021

**Métodos:**
- acelerar ()
- buzinar ()
- frear ()

###Plataforma Independente
No Java o código é compilado em um código intermediário chamado bytecode, e esse bytecode é interpretado. Dessa forma, o java pode ser rodado em praticamente qualquer ambiente, pois não é vinculado a nenhuma plataforma.

O java possui outras características, como a robustez, sendo capaz de lidar com encerramento inesperado de um programa e sua segurança.

**Esse foi só meu primeiro artigo de muitos aqui na plataforma, então se você gostou deixe seu comentário para me incentivar nessa jornada. 🚀🖤**
How to access Google Cloud Storage Bucket with Service account JSON
Tags: googlecloud
Published: 2022-12-20 16:27:44

This method for `gsutil` to access Google Cloud Storage bucket with shared Service account with private key as JSON

Sample JSON Structure
```
{
  "type": "service_account",
  "project_id": "xxx",
  "private_key_id": "xxx",
  "private_key": "-----BEGIN PRIVATE KEY-----\name-----END PRIVATE KEY-----\n",
  "client_email": "xxx@xxx.iam.gserviceaccount.com",
  "client_id": "xxx",
  "auth_uri": "https://accounts.google.com/o/oauth2/auth",
  "token_uri": "https://oauth2.googleapis.com/token",
  "auth_provider_x509_cert_url": "https://www.googleapis.com/oauth2/v1/certs",
  "client_x509_cert_url": "https://www.googleapis.com/robot/v1/metadata/x509/xxx.iam.gserviceaccount.com"
}
```

1. Using `gsutil config -e` to set method to authentication
2. Choose `oAuth2` and provided full path of service account JSON file
3. Then you can access with `gsutil ls gs://{bucket-name}`
XML External Entity (XXE) Vulnerability - Part 2 (XXE Basics)
Tags: webdev, security, tutorial, xml
Published: 2022-12-20 15:57:00

Learning the basics of XML External Entity (XXE) Vulnerability help to understand advanced concepts of XXE
In the second part of the XXE vulnerability blog, I have explained the basic concept of XXE, like what XXE is and a basic example of XXE.
{% embed https://blogs.appsecworld.com/2022/12/xml-external-entity-xxe-part-2-xxe-basics.html %}
Legacy Code
Tags: strategy, beginners, ruby, rails
Published: 2022-12-20 15:56:53

Recently I was given some legacy code in a monolithic app to take a peek at to work on how to problem solve with old code. 

What I learned most from this exercise is that it is really easy to get lost in the code. I found myself in parts of the code that didn't seem to have anything to do with the questions at hand because I was trying to figure out what direction is this issue trying to point me in? Here are some tips that helped me to focus in on the issue at hand.

1. Try and use the search function in your code editor to search possible key terms that might be used in specific files
1. Break down the issue into plain terms. This helped me to be able to focus on the basics of what the issue is asking of me.
1. The Schema! What is the structure of the app? What are common terms that are used throughout? (Granted the app I was looking at was pretty small so I am not sure how scalable this is for larger apps with a thousand plus lines of schema!)
1. The gemfile! What technology is this app using? Am I familiar with this code? If not, can I use tip 1 to figure out how this code is being used?

I hope these tips were helpful and if you have any tips for me please leave them in the comments below!
How to add Web3 Authentication using NEXT JS & MetaMask?
Tags: nextjs, web3, blockchain, metamask
Published: 2022-12-20 15:50:18

Hello friends, today in this post we will work on web3 authentication using NEXT JS and MetaMask without using any libraries. We will not only connect to MetaMask but also dynamically update app states when we switch accounts or disconnect the accounts. We will be using context API for handling the state of the application. Let’s get started.

Please read this post in our website
[How to add Web3 Authentication using NEXT JS & MetaMask?](https://codewithmarish.com/post/web3-auth-next-metamask)

Also please don’t forget to subscribe to our youtube channel codewithmarish for all web development-related challenges.

[Code With Marish | Youtube](https://www.youtube.com/channel/UCkPYmdVz8aGRH6qCdKMRYpA)

Posted with ❤️ from somewhere on the Earth
'Twas the Night Before Christmas: Cloud Edition
Tags: aws, christmas
Published: 2022-12-20 15:33:37

'Twas the night before Christmas, and all through the cloud
Every server was stirring, it was really quite loud.
The lambdas were running, provisioned with care,
In hopes that complex workloads soon would be there.

The devs were done, nestled all snug in their beds,
While visions of SageMaker danced in their heads.
And mamma in her t-shirt, and I in my briefs,
Had just settled down for a long winter's sleep.

When out in the cloud there arose such a clatter,
I sprang from my bed to see what was the matter.
Away to the keyboard I flew like a flash,
Tore open the console and threw up the dash.

The screen on the desk (what a stupendous glow)
Gave the luster of mid-day to keyboard below.
When, what to my wondering eyes should appear,
But a miniature vid, streaming beautifully clear.

With a middle-aged speaker, but such a fast learner,
I knew in a moment it must be Dr. Werner.
More rapid than Redis his new features came,
And he whistled, and shouted, and called them by name:

"Now, Lambda! now, CloudWatch! now, S3 and Redshift!
On, CloudFront! on, Kendra! on, Neptune and GameLift!
To the top of the bill! Let it never be small!
Now more dashboards! more dashboards! dashboards for all!"

He clicked the last slide, to his team gave acclaim,
I'm not kidding! He even called out their full names.
Then I heard him call out, ere he dove out of sight,
“Happy holidays all, and to all a good-night.”
Community Builders – Christmas Edition
Published: 2022-12-20 15:33:00

## What surprises you most about the community builders program?

How much of a global community we are. There's always room for improvement in terms of diversity, but this group has exceeded my initial expectations in that area.

## What’s your background and your experience with AWS?

I've always worked for smaller companies. Since we were small development teams, we didn't have enough resources for on-prem hosting and reached for the cloud. So far for all of my jobs the choice choice has been AWS.

I've been an AWS user since 2017 and have mostly worked with serverless technologies.

## What’s the biggest benefit you see from the program?

The people! AWS is not an easy thing to learn, so it's been helpful to have extra resources within the community for ideas on how to use the various services as well as tips/tricks on how to best use those services.

Also having more direct access to AWS employees has been helpful. It's great to be able to give product feedback, report bugs, and to get more insight into why something was built the way it was directly from the source.

## What’s the next swag item that you would like to get?

I'm not a huge "stuff" person. While swag can be nice, it is also wasteful to the environment if it's something I don't want/use. I think I'd prefer we get more non physical perks such as AWS credits and certification vouchers. Another neat idea that I've seen is companies donating to a person's non-profit of choice instead of swag.

## What are you eating for dinner today? Share the recipe!

It's currently 7:30am as I write this and I'm not sure yet. I guess I like to live on the edge.

## Is there anything else you would like to share about the community builders program in 2022?

Anyone who is passionate about building on AWS, that has a growth mindset, and likes to share their knowledge to help the wider community is a good fit in my personal opinion. Even if you don't think you've been working in AWS for long enough, apply anyway. The worst that can happen is you don't get accepted and can apply again in the future.

This community is very collaborative, and we build each other up. I'm grateful to be a part of it.
Run eCommerce without writing code
Tags: android, ios, webdev, programming
Published: 2022-12-20 15:27:59

India is creating an Open network for Digital Commerce (ONDC) which will future proof eCommerce in India against monopolies like Amazon and Flipkart.

It will reduce large commissions paid to eCommerce marketplaces and improve margins and profitability for small merchants across India.

The are startups such as instastack.io which allow you to integrate an ONDC store within your existing android or iOS app. 

You can customize your own store and select to sell merchandize from top brands or small local merchants. Developers earn up to 10% commissions on each order processed through their app instance. The SDK manages inventory, payments and delivery out of the box.


Do join the beta program at https://instastack.io
Building a free Open-source portfolio template using HTML, CSS and JS | Part 1
Tags: html, css, javascript, webdev
Published: 2022-12-20 15:22:30

On the 15th of May in 2020 I [wrote here](https://dev.to/nisarhassan12/free-open-source-portfolio-template-for-developers-ih) about the free open source portfolio template that anyone could use for free.

<blockquote>
    <div>
        GitHub <a href="https://github.com/nisarhassan12/portfolio-template" target="_blank">Repo Link →</a>
    </div>
    <br/>
    <div>
        Check out the <a href="https://portfolio-template.surge.sh" target="_blank">live demo here →</a>
    </div>
</blockquote>

Since then it has got 395 stars on GitHub and 128 forks.

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

I have started a [video series](https://www.youtube.com/watch?v=1nchVfpMGSg&list=PLwJBGAxcH7GzdavgKlCACbESzr-40lw3L) on YouTube where I'm going to build it from scratch using HTML, CSS and a little bit of JavaScript. 

Come join me in the journey last sunday I did the [first part](https://www.youtube.com/watch?v=1nchVfpMGSg) of the series here is the embed:

{% youtube 1nchVfpMGSg %}

I'll be doing the next part on Sunday subscribe to my channel [https://www.youtube.com/@nisarhassan12](https://www.youtube.com/@nisarhassan12) if you find it worthy. Thanks
How to make a 3D Perspective Card Effect with HTML & CSS from Scratch
Tags: html, css, htmlcss, tutorial
Published: 2022-12-20 15:16:14

{% youtube 7uI9elbxOQA %}

Hi guys, today we want to show How to make a 3D Perspective Card Effect with HTML & CSS from Scratch
Please, if you love it, support us with Like & Subscribe.🙏❤️

Let's be friends and connect
📩 Subscribe:https://shorturl.at/BCTV8
📷 Instagram: https://www.instagram.com/soudemy/
📱 Behance: https://www.behance.net/soudemy
🐦 Twitter: https://twitter.com/SoudemyAcademy

In the comments, you can say what design you want so that we can prepare the video for you.
Move down effect on hover with a Bootstrap button
Tags: webdev, modcss, beginners, tutorial
Published: 2022-12-20 14:10:32

Bootstrap is often criticized for its look of his components very similar on the most website. It is therefore common to customize them with CSS.

If you want to be able to do it quickly, MOD-CSS is for you.
_MOD-CSS_ is a lightweight framework that allows you to quickly customize your Bootstrap components.

**For example**, on a button, we'll quickly add a move down effect on hover.

![button hover](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/xly9l91sw37y9epsutt1.gif)
**HTML code**
```
 <button class="btn btn-success" 
  :fx="trn[all .3s ease] && hover:trf[translateY(10px)]">
  Hover-me
</button>
```
_trn = transition
trf = transform_

Test on codepen [here](https://codepen.io/dev-geos/pen/XWBJrzg)

## What is MOD-CSS ?
It is a utility-first and an alternative to Bootstrap and Tailwind.

[Mod-css.com](https://mod-css.com/)
[Github](https://github.com/modsLabs/mod-css/)
Software Supply Chain Security Leadership Series: Measuring SBOM Quality
Tags: event, security, tutorial
Published: 2022-12-20 15:09:05


[![Image from Chainguard event series ](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/5crnd8sg23znrf6rectw.png)](https://www.crowdcast.io/c/measuring-sbom-quality)

How should we think about the things that make a “software bill of materials” (SBOMs) good? In this talk, we look at the results of a recent study on SBOM quality and dig deeper into new tools that can be used to measure SBOM quality.

[Join us and save your spot!](https://www.crowdcast.io/c/measuring-sbom-quality)
The Future of Business Technology: The Shift Toward Specialized Software
Published: 2022-12-20 15:08:28

## The Joys of Large, All-Purpose Business Software
Who doesn't love a good, ol' all-purpose business software like Salesforce or Microsoft Dynamics 365? They're like a jack-of-all-trades, master of none type of deal. Sure, they're designed to handle a wide range of tasks and functions, but let's be real, that just means they're super complex and confusing to use. And don't even get me started on the inflexibility factor. It's like trying to fit a square peg into a round hole. Plus, you gotta train your entire team on how to use these beasts, which is a whole other headache. And let's not forget the cost of implementation and maintenance. It's like pouring your hard-earned money down the drain.

## The Wonders of Specialized Software
On the flip side, we have specialized software like Calendly for meetings or Stripe for payments. It's like a laser-focused tool that only does one thing, but does it exceptionally well. It's efficient, effective, and can be easily replaced if it becomes outdated or is no longer meeting your needs. It streamlines your operations, reduces errors and inefficiencies, and increases productivity. It's also a breeze to use and understand, so you won't have to spend hours training your team. Plus, it's user-friendly, which means your employees will actually enjoy using it (imagine that). All in all, specialized software is the way to go if you want to see improved results for your business and happy employees.

## The Perks of Integrating Specialized Software
Now, I know what you're thinking. "But what if I have a bunch of specialized software that I need to use together? Won't that be a nightmare to integrate?" Well, the world of software is moving to integrated, specialised software. Everyday these large Saas companies come with [integrations](https://koppelhet.nl/en) pages with dozens of possible integrations. You won't have to worry about delays and errors in data tracking and analysis anymore. All your relevant information will be easily accessible, and you can say goodbye to manual data entry. Just imagine how much time and resources you'll save. So go ahead and invest in those specialised tools.

_this piece is autogenerated by ChatGPT, impressive right?_
Netlify vs Vercel vs Surge | The best platform I use to deploy your projects 🤔?!
Tags: webdev, beginners, programming
Published: 2022-12-20 14:53:01

One of the most important steps that should be considered when building Web projects is deploying your project so that anyone can see your work and try the project and its Features live as reading your code is not enough!

there are several ways and websites used to do this but in this article, I'll mention the most ones I use and I prefer.

But the most ways I follow for deploying my projects are :

1. Vercel
2. Netlify
3. Surge

These three tools are Great and too helpful and each one has its advantages and disadvantages :

- [Netlify](https://www.netlify.com/) was the first one I used and it was a great experience to use it until I found out a big issue faced me, a lot of times the website is down and the server fails and which causes disturbance for most of the users so most of them are no longer use it.

---

- [Vercel](https://vercel.com/) was my second choice after I left using Netlify, and I still use it and deploy my projects through it, the website is always running and the Netlify issue is no longer facing me so for sure I recommend using it, easy and soft use with no issues and fails…

---

- the third choice is the easiest one but with less features, it is using [Surge](https://surge.sh/) Tool, this time it is not a website, just a few cmd commands will do it for you

```
$ npm install --global surge
# In your project directory, just run…
$ surg
```

….Now for me, I recommend using Vercel, and if not then Surge will be your fastest choice, always make Netlify your last choice

One last thing, as I mentioned before I know, there are a lot of websites to deploy web projects But here I mentioned my experience of using those websites…. Thanks and Happy Projects 😁❤️