teleren/devto huggingface dataset:
Celebrando un hitó nuevo: Mi viaje hacia el Programa Microsoft MVP
Tags: mvp, microsoft, spanish
Published: 2024-03-05 22:18:59

---
title: Celebrando un hitó nuevo: Mi viaje hacia el Programa Microsoft MVP
published: true
tags: MVP, Microsoft, Spanish
canonical_url: https://danieljsaldana.dev/celebrando-un-hito-nuevo-mi-viaje-hacia-el-programa-microsoft-mvp/
cover_image: https://dev-to-uploads.s3.amazonaws.com/uploads/articles/apyih1r1mf9sbrhdcy2w.png
---

¡Hola a todos!

Hoy comparto con todos ustedes una noticia muy especial y un momento significativo para mí: **he sido aceptado en el prestigioso Programa [Microsoft Most Valuable Professional (MVP)](https://mvp.microsoft.com/es-ES/mvp/profile/8ef6a1c2-c250-4de7-8d53-179e48092ff0)**. Este reconocimiento no solo marca un hito en mi carrera profesional, sino que también simboliza la oportunidad de profundizar mi compromiso y contribución a nuestra apasionante comunidad técnica.

Quisiera expresar mi más profundo agradecimiento a Microsoft por este honor. La inclusión en el programa MVP es un reconocimiento que valoro enormemente, pero es importante subrayar que este logro es el resultado de muchas colaboraciones y apoyo. Soy profundamente agradecido por el aliento, la mentoría y la inspiración que he recibido de familiares y amigos a lo largo de los años. Vuestra confianza y apoyo han sido fundamentales en cada paso de este viaje.

Este momento de reconocimiento me motiva a seguir trabajando con más empeño y dedicación dentro de la comunidad, especialmente en áreas que me apasionan como **DevOps**. Estoy emocionado por las oportunidades de colaborar aún más estrechamente con otros profesionales del sector, de aprender juntos y de impulsar el cambio positivo a través de la innovación y el conocimiento compartido.

A medida que inicio este nuevo capítulo, quiero reafirmar mi compromiso con la excelencia, la colaboración y el aprendizaje continuo. Este reconocimiento refuerza mi deseo de aportar y hacer una diferencia significativa en nuestra comunidad. Estoy emocionado por las experiencias que vendrán y espero poder compartir estas nuevas aventuras y aprendizajes con todos ustedes.

Gracias una vez más por todo vuestro apoyo y confianza. Estoy verdaderamente emocionado por lo que el futuro nos depara y ansioso por avanzar en este nuevo camino junto a todos vosotros.
Benefits of using Snowpal's Building Blocks API
Published: 2024-03-05 21:59:28

This video provides an overview of the Building Blocks API offered by Snowpal. The API serves as foundational building blocks for developers to build various applications. The video covers the documentation, benefits, pricing options, and a real-life example of an app built using the API. It also emphasizes the importance of understanding terminologies and mapping them to business problems. The different endpoints, such as dashboard, keys, and blocks, are explored. The video concludes by highlighting the flexibility of the API for customization and its potential for various industries.

## Takeaways

- The Building Blocks API by Snowpal provides foundational building blocks for developers to build applications.
- The API documentation includes various endpoints and is available in both Postman and developer documentation formats.
- Using the Building Blocks API reduces development time and allows developers to focus on specific business problems.
- The API can be customized and mapped to specific industries and use cases.

## Chapters

00:00 Introduction to Building Blocks API

01:27 Overview of Building Blocks API Documentation

02:23 Benefits of Using Building Blocks API

03:22 Example of Using Building Blocks API

05:20 Subscription and Pricing Options

06:18 Real-Life Example of an App Built with Building Blocks API

07:20 Understanding Terminologies and Mapping to Business Problems

08:47 Exploring Endpoints: Dashboard, Keys, and Blocks

11:40 API Documentation Layout

14:26 Using Building Blocks API for Specific Industries

17:19 Customizing Endpoints for Specific Use Cases

18:18 Recap and Conclusion

## Video

{% embed https://youtu.be/DxXq9TdAP8U %}

## Transcript

https://products.snowpal.com/api/v1/file/79cd37b8-1a65-4a46-a272-ab82e556e337.pdf
Infrastructure As Code on AWS made simple
Tags: kaiac, iac, aws, infrastructureascode
Published: 2024-03-05 21:56:48

This post will introduce you into KaiaC, a tool made to simplify Infrastructure As Code. KaiaC is built on top of Terraform and allow you to create cloud resources just with few key values.


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

**Key features of KaiaC**
- **Infrastructure as Key Value** : Infrastructure is described using a simple configuration syntax. This allows a blueprint of your datacenter to be versioned and treated as you would any other code. Additionally, infrastructure can be shared and re-used.
- **Terraform features** : KaiaC mostly used Terraform in backgroup so you can inherit all the powerfull Terraform features like execution plans. For more information on Terraform, refer to the Terraform website.

**Let's create an EC2 t2.micro with KaiaC**

_**Step 1 : Create a KvBook**_
A KvBook is just the file that contains your key/value(s) configuration informations. You have to create a kvbook to tell KaiaC which type of resources you need.
Hit the following command!

```
$ kaiac create vmonly
```
The result should look like :
```
KvBook /root/kvbooks/vmonly-3Bpkcs9rPV1a.cfg created!
```

_**Step 2 : Edit your KvBook**_
Hit the following command!

```
$ nano /root/kvbooks/vmonly-3Bpkcs9rPV1a.cfg
```
The file will look like this, if it is ok for you, leave it as is :

```
GL_KAIAC_MODULE="vmonly"
GL_NAMESPACE="vmonly001"
GL_NAME="demo1"
GL_STAGE="staging"
BE_AMI_NAME="ubuntu/images/hvm-ssd/ubuntu-jammy-22.04-amd64-server-20230919"
BE_EC2_TYPE="t2.micro"
BE_EC2_VOLUME_SIZE="8"
BE_PATH_EC2_PUBKEY="~/.ssh/id_rsa.pub"
```

_**Step 3 : Register your KvBook**_
Hit the following command!

```
$ kaiac register /root/kvbooks/vmonly-3Bpkcs9rPV1a.cfg
```
_**Step 4 : Check your KvBook**_
Hit the following command!

```
$ kaiac plan
```
_**Step 5 : Apply your KvBook**_
Hit the following command!

```
$ kaiac apply
```

_**Step 6 : Check your resources**_
Connect to your [AWS EC2 Console](https://us-west-2.console.aws.amazon.com/ec2/home?region=us-west-2#Home:).
You should see your created EC2 instance

_**Step 7 : Destroy your resources**_
Hit the following command!

```
$ kaiac destroy
```

_**Step 8 : Check your resources again**_
Connect to your [AWS EC2 Console](https://us-west-2.console.aws.amazon.com/ec2/home?region=us-west-2#Home:).
You should see your terminated EC2 instance

**Where can you find KaiaC ?**

KaiaC is distributed as a Debian package and installation instructions can be found here [https://www.kaiac.io/install](https://www.kaiac.io/install).

If you find this post interesting please leave comments.
Profitable and guaranteed winning method in the Gold Battle of Frostpunk: Beyond the Ice mobile game
Tags: frostpunk
Published: 2024-03-05 21:50:36


**Gold Battle** in [Frostpunk mobile game](https://play.google.com/store/apps/details?id=com.com2us.frostpunk.android.google.global.normal&hl=en_US)  is a simple bar game with the next rules: Each person gets `100` chips and can distribute these chips into `five groups`. Compare each part and the one with more chips wins. 

How can you distribute your chips to win more? 

Win strategy the next:

- 1 group => 21 chips
- 2 group => 21 chips
- 3 group => 37 chips
- 4 group => 21 chips
- 5 group => 0 chips


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

---

So you will win 4/3 games as game opponent usually distribute chips like this:

- 20-20-20-20-20
- 0-0-33-33-34



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

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/19s22kipibt3up8pt46d.png)
Giving your app a temporary public URL with VS Code port forwarding
Tags: vscode
Published: 2024-03-05 21:48:19

---
title: Giving your app a temporary public URL with VS Code port forwarding 
published: true
description: Using port forwarding, you can give your app a public URL. 
tags: 
cover_image: https://dev-to-uploads.s3.amazonaws.com/uploads/articles/hk0i4v7wtbwjw40jtqb5.png
# Use a ratio of 100:42 for best results.
# published_at: 2024-03-05 21:43 +0000
---

VS Code now has port forwarding. If you want to share what you are working on with the world, open folder in terminal, run your server and forward the port. Set it to public and Bob's your uncle! 

{% youtube NMc88bMN2Bw %}

This is great for some testing and showing people what you do, but of course should not be used as a hosting alternative. After all, you do make your computer web accessible that way, and you got to be 100% sure your app is safe.
Lessons from opensource: Weakmap in Javascript
Tags: javascript, nextjs, node, react
Published: 2024-03-05 21:12:32

This lesson is picked from [next-mdx](https://github.com/vercel/next.js/blob/d01d6d9c35a8c2725b3d74c1402ab76d4779a6cf/packages/next-mdx/mdx-rs-loader.js#L21) open source code. In this article, you will learn what a WeakMap in Javascript is.


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

## WeakMap
A WeakMap is a collection of key/value pairs whose keys must be objects or [non-registered symbols](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Symbol#shared_symbols_in_the_global_symbol_registry), with values of any arbitrary [JavaScript type](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures), and which does not create strong references to its keys. That is, an object's presence as a key in a WeakMap does not prevent the object from being garbage collected. Once an object used as a key has been collected, its corresponding values in any WeakMap become candidates for garbage collection as well — as long as they aren't strongly referred to elsewhere. — [Source](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/WeakMap)

Honestly, I did not understand the above paragraph from MDN docs on the first read. But, after looking at more examples provided in the [WeakMap MDN Docs](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/WeakMap), it all started to make sense.

> If you are looking to practice next.js, checkout my website: https://tthroo.com/

## Keys in weakmap should be objects.

If you put a string as a key in this map, it simple throws an error.

## WeakMap does not have keys and values unlike Map()

![Weakmap with no keys and values](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/okvv0myd7v37lif3hjfk.png)

Compare that to a Map shown below

![Map](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/m23op1h5f6jfayhrya82.png)

## Why WeakMap?
MDN docs has a very detailed explanation about [Why WeakMap?](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/WeakMap#why_weakmap)

## How is this used in next.js source code?

If you look at next.js/packages/next-mdx/mdx-rs-loader.js, WeakMap is used in a variable named cache.

> const cache = new WeakMap()

## Conclusion:

You want to use a Weakmap to allow garbage collection of values once their keys(object as a key) are garbage collected. This does not apply to Map() as it has “keys” and “values” arrays that maintain references to each key and each value. Next.js uses a WeakMap to enable caching for “@next/mdx” package found in their source code.
Getting Started with Ruby
Tags: webdev, ruby, html, github
Published: 2024-03-05 20:58:53

## Hello, world!

Today for my first lesson, I created a Ruby web service using Github and Render. Click [here](https://hello-world-5eao.onrender.com) to check out the site, and click [here] (https://github.com/jniewiel/hello-world) to see the Github repository! 

Looking forward to leaning more!

-Jan
Setup Production Ready Next.js App - Part 2
Tags: nextjs, javascript, webdev, beginners
Published: 2024-03-05 20:44:45

[Part 1](https://dev.to/jobyjoseph/setup-production-ready-nextjs-app-5a2a)

## 6. TypeScript

Next.js gives us the option to add TypeScript while installing. We purposely opted out to learn from scratch.

As per Next.js doc, it contains TypeScript out of the box. So, change `.js` files to `.ts` extension. And, change `.jsx` files to `.tsx` extension.

Then run `yarn dev`. Next.js will install Typescript for you.

![Auto install of typescript](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/p51vh5rc6prawy65pncr.png)

It will also create `tsconfig.json` for you. You just have to copy the contents of existing `jsconfig.json` to the new `tsconfig.json`. Then delete `jsconfig.json`. We no longer need that.

If you check `package.json` now, you can see TypeScript is added there. My TypeScript version:

```
"typescript": "5.3.3"
```

As soon as I enabled TypeScript, VS Code showed me an error:
![Typescript UMD error](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/o87b1ualhbqrqk8rb5x7.png)

The fix was to add `import React from "react"` statement explicitly.

I made the change in both `page.tsx` and `layout.tsx`. Now all files are in green color in VS code explorer. That means, there are no type errors.
Bitcoin To $140K In 2 Weeks? Here's What Happens After It Hits New Highs 🚀
Published: 2024-03-05 20:42:32

📈 Bitcoin surged to new all-time highs, briefly crossing the $69,000 level on Tuesday. Pomp Investments' Anthony Pompliano is bullish on Bitcoin's prospects, citing past record high breaks where Bitcoin doubled in 18 days or less.

📅 The recent rally is attributed to increased demand following the approval of spot Bitcoin ETFs in January. Pompliano believes Bitcoin's price could accelerate further, especially with the upcoming halving event in April.

💼 Institutional interest is evident, with Blackrock adding $1 billion to its Bitcoin ETF in just one day, signaling massive inflows. Despite optimism, Pompliano advises caution and recommends a 1% to 5% portfolio exposure to crypto.

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ddihx0dd66o74pg9gcsl.png)
Will Cardano’s (ADA) Price Hit $2 This Bull Season? 🤔📈
Published: 2024-03-05 20:42:08

📈 In a recent video update, cryptocurrency analyst of channel Allincrypto gave us the lowdown on what’s happening with Cardano (ADA), focusing on all the technical stuff. Basically, he looked at how Cardano’s price is moving, what patterns it’s forming on the charts, and where it might be headed next. He said that things like Bitcoin’s dominance and the possibility of new investment products could help boost Cardano and other altcoins.

🚀 Allincrypto started by saying that people are getting pretty excited about Cardano lately, especially with all the good vibes in the crypto world. He talked about a technical roadmap, which is basically like a plan, showing that Cardano could be on the upswing. He mentioned that Bitcoin dominance is currently high, indicating that Bitcoin tends to dominate the market until it reaches close to its all-time highs. However, he believes that this dominance will eventually decrease, allowing altcoins like Cardano to thrive.

💼 Additionally, he discussed the potential for Ethereum-based altcoins to gain traction, especially with the anticipation of exchange-traded funds (ETFs) and other financial products. Overall, he suggested that the crypto market is entering a phase where altcoins, including Cardano, could see significant growth, potentially reaching the projected target of $2. Throughout the video, Allincrypto talked about lots of technical things about Cardano, like how its price compares to other cryptocurrencies and what its charts are showing. While he’s feeling positive about Cardano, he also mentioned that some other cryptocurrencies might give you better returns.

💰 Then, the analyst took a look at special investment products that are linked to Cardano. These products basically follow how Cardano is doing, and they seem to be doing pretty well, which added to Allincrypto’s positive outlook on Cardano.

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/hbcigc2h4ei28qafu792.png)
Styling a CSS pseudo-element with JavaScript
Tags: javascript, css
Published: 2024-03-05 20:17:16

---
title: Styling a CSS pseudo-element with JavaScript
published: true
description: JavaScript can't target pseudo-elements, but that doesn't mean you can't mess with them!
tags: javascript, css
canonical_url: https://blog.cassidoo.co/post/styling-css-pseudo/
---

In JavaScript, you can't do some kind of query selector like:

```js
document.querySelector("div::after");
```

But, with the power of CSS variables, you can still change the styles of those selectors with JavaScript!

In your CSS, pick a variable name and assign it to something:

```css
div::after {
	/* 50px is the default value if --somewidth doesn't exist */
	width: var(--somewidth, 50px);
}
```

And in your JavaScript, you use the [`setProperty` function](https://developer.mozilla.org/en-US/docs/Web/API/CSSStyleDeclaration/setProperty) to assign a value to that variable!

```js
// this is just grabbing a div, you can change it to select any element
const element = document.getElementsByTagName("div")[0];

element.style.setProperty("--somewidth", "50%");
```

So there ya go! You can obviously make this more complex as needed. Here's an example of all of this in action! It's a template I made for tracking fundraising efforts (feel free to use the template [on CodePen](https://codepen.io/cassidoo/pen/KKYpjMJ)).
Specifically note **line 38** in the CSS, and **line 25** in the JavaScript!

{% codepen https://codepen.io/cassidoo/pen/KKYpjMJ %}
📈 Ethereum ETH Price: 90% of ETH Nearing Profitability as $4,000 Within Striking Distance 🚀
Published: 2024-03-05 20:41:48


📈 With bullish momentum driving Ethereum, it surged past $3,700 to hit a multi-month high at $3,715. Holding above $3,550 support strengthens the market structure.

💪 Following Bitcoin's lead, ETH establishes higher lows and highs, fueling hopes for a push towards record peaks. Immediate resistance lies between $3,780 and $3,850, with $4,000 as a critical psychological marker.

🐂 Bulls are confident in Ethereum's upgrade roadmap, with on-chain data indicating strong conviction. Over 90% of ETH's circulating supply could be profitable if it surpasses the $4,076 average cost basis.

🛑 Despite overbought signals on weekly charts and bearish divergences on shorter timeframes, investors remain vigilant. Key support lies at $3,500, with $3,000 as a primary level.

🎯 Investors await Ethereum's short-term fate, with $4,000 as a significant target if whales maintain control and support levels hold.

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/dd9vk5u1ucc6uc7ugs46.png)
Is XRP on the Verge of Exploding to $1? Analysts with Interesting Ripple Price Predictions 🔥
Published: 2024-03-05 20:41:28

Is XRP About to Join the Party? 🚀
Despite a 20% surge in a week, Ripple’s XRP still lags behind Bitcoin and meme coins. But analysts are bullish:
📈 Dark Defender sees XRP hovering around $0.64, with MACD and Ichimoku signaling further uptick, predicting a $1 valuation by April.

💬 Alex Cobb believes XRP could hit an all-time high if it passes $0.63 resistance, currently at $0.65.

💼 EGRAG CRYPTO predicts a long-term surge, possibly hitting $10 by 2030.

What Can Fuel XRP’s Potential Rally? 🛠

The outcome of the Ripple-SEC lawsuit could be a major catalyst. With Ripple securing partial victories, the trial scheduled for April 23, 2024, might shape XRP's trajectory.

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ec4jzxng7bgqo0r5245g.png)
ETH Price Shoots Past $3,700 Despite SEC Refusing BlackRock Ethereum ETF Approval 📈🚀
Published: 2024-03-05 20:41:07

🚀 The world’s second-largest cryptocurrency Ethereum surged past $3,700, trading at $3,713 with a market cap of $446 billion. The SEC delayed BlackRock’s spot Ethereum ETF proposal, seeking public feedback on concerns related to Ethereum’s proof of stake mechanism and fraud susceptibility.

💼 Similar delays occurred for Fidelity’s proposal, with a final deadline set for VanEck’s application on May 23. Opinions vary on spot ether ETF approval, with optimistic voices eyeing May for potential SEC approval, while skeptics remain cautious.

📈 Despite ETF uncertainties, Ethereum's price rally continues. The upcoming Ethereum Dencun upgrade is crucial. Ethereum surpassed $3,650, forming a bullish trend line, with resistance at $3,720 and $3,780.

🔜 Further upside could see Ethereum targeting $3,920 and potentially $4,000, with a test of $4,200 possible.

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/e0xlgaovi1cww7cudj0k.png)
🚀 Shiba Inu enters top 10 cryptos, whale activity skyrockets 🐋
Tags: cryptocurrency, shib
Published: 2024-03-05 20:40:46


🚀SHIB is up by 57% in the past 24 hours and is trading at $0.000040 at the time of writing. The meme coin’s market cap surpassed the $23 billion mark, getting close to the largest dog-themed crypto, Dogecoin (DOGE).
📈 According to data provided by Santiment, SHIB’s total open interest surged from $35 million to $55.5 million over the past 24 hours. Data shows that the amount of short positions, betting of a price decline, has slightly increased despite the price rally.
📊Data from the market intelligence platform shows that the total funding rate aggregated from the meme coin plunged from 0.08% to 0.04% over the past day. This shows that traders are expecting a price cooldown at this price point.
💰Moreover, SHIB’s Relative Strength Index (RSI) has slightly declined, but is still at a critical level. Per Santiment data, the Shiba Inu RSI is hovering at the 95 mark at the reporting time. The indicator shows that the meme coin’s price is standing in a high volatility zone and even whale manipulation could be in play.
📉SHIB’s RSI would need to decline below the 60 mark to stay in the bullish zone.
📉According to Santiment, whale transactions consisting of at least $100,000 worth of SHIB increased by 1,088% over the past 10 days — increasing from 171 transactions on Feb. 25 to 2,023 daily transactions at the time of writing. 🐋

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/tgnqr7j73josxhh71evv.png)
Bitcoin Price Hits $68,000, New All-Time High Looms 🚀
Published: 2024-03-05 20:40:13

📉 Analysts speculate that while Bitcoin's short-term trajectory may continue upward, growth could moderate soon due to approaching extreme levels of unrealized profit margins. According to CryptoQuant, Bitcoin’s realized price is currently around $42,700.

📈 Despite short-term projections, long-term investors remain optimistic. They anticipate rising demand, driven by new US ETFs, and a supply decrease post-April’s halving event to propel Bitcoin to new heights.

🚀 The cryptocurrency market receives a boost from the stock market, notably the tech-centric Nasdaq Composite, which hit an all-time high on Friday, the last major index to achieve a record close this year.

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/v2rnps4zaovtxziwedt5.png)
Bitcoin Price Prediction: BTC to Reach $170K This Cycle but Is That Conservative? 📈💰
Published: 2024-03-05 20:39:51

📈 Pseudonymous analyst Titan of Crypto sees Bitcoin's potential cycle top through Fibonacci extensions. Conservative targets: $103K-$127.5K and $172.5K. Yet, bullish sentiment prevails with BTC possibly exceeding estimates.

🚀 BTC nears blue line of Power-Law Corridor; breaking it could mean big gains. Currently at $67K, up 5.5% daily and nearly 30% weekly.

📈 Interest spikes with Bitcoin ETF approval; BlackRock's IBIT holds $10B+ in assets.

🛑 But, caution as $69K remains a key resistance.
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/w1d51e8hgkwnvgiwei6i.png)