teleren/devto huggingface dataset:
MLOps project setup: upload ML models to Hopsworks model registry
Tags: mlops, dataengineering
Published: 2024-01-28 22:59:26

Here is the [previous entry](https://dev.to/dplata/mlops-project-setup-upload-data-to-hopsworks-feature-store-1727) in case you didn't see it. Also this is the [code repo](https://github.com/DPLATA/silverboi) for the series and is also updated accordingly.

In this entry these things that are happening:

1. Create a ML model training pipeline
2. Upload the ML model into Hopsworks model registry


![AI generated image](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/163yq1v93g6c33u7ajnc.png)

**Notes on step 1**

The model selection is entirely contingent on your data and the objectives within your project, some model examples are: Support Vector Machines (SVM), clustering and neural networks. Right now model serves primarily as a placeholder it's not particularly functional yet. However, the intention is for me to refine it over time creating of more than one version. This just serves as a starting point for the development of my MLOps pipeline.

**Notes for step 2**

This step detailed breakdown is in this [gist](https://gist.github.com/DPLATA/2ebc76880de44202a9c91f8c404c9237) lines 43-47:
- get your project's model registry
- create a model in your project's model registry
- push using save() method

Silverboi
CS50 Week 3 - Algorithms and runoff
Tags: cs50, beginners, programming, learning
Published: 2024-01-28 22:54:59

I decided to come back to CS50 after taking a break from this core course last August (I started doing CS50's Web course instead). I remembered stopping because I got stuck on this problem set problem called runoff, which was pretty difficult at the time. Coming around in 2024, I decided to give this problem another try and familiarize myself with coding in C again. 

In week 3's lecture, the professor used various demonstrations to show us the difference between a couple of algorithms, like merge sort (fast), selection sort (slow), and bubble sort. I still don't remember when you would use them but I did note down which ones are fast or slow. David also went over the concept of recursion, which I interpreted as reusing a small part of a problem that we know the answer to in other similar problems. It is an "elegant" way, but not necessarily "faster".  

Then comes the pset problem runoff, which I remembered I had a hard time understanding the prompt the last time around so I could barely even get started. This time, there was an accompanying walkthrough video, which broke down the different functions we needed to finish writing for us. At a glance, a runoff election is a way of deciding who the election winner is by counting the votes of first-preference candidates while eliminating the candidate with the fewest votes. I struggled with the `tabular` function the most because I kept on entering an infinite loop. Then the other functions were pretty quick and self-explanatory. I finally got rid of the infinite loop with the Duck's help, among other bugs as well. 

I finished the runoff problem in a little under 4 hours, which was a lot of time considering people could run a marathon with this amount of time. 

If you're hesitating whether or not to take CS50, I'd say that it is a bit harder than most introductory programming courses but the quality of the lectures/problem sets is spectacular. 

I'll be continuing this series and updating each week's reflection as it goes.
🟢 The market is predominantly green
Published: 2024-01-28 22:38:05


Bitcoin dominance: 52.37% (increased from 52.31%)
Fear and Greed Index: 54 (greed)
Altseason index: 76 (investors focus on altcoins)
Market capitalization: $1.58 trillion (no change)


![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/qft265hrndhd46g28w5w.png)
One Minute: Lightwhale
Tags: oneminute, lightwhale, docker, devops
Published: 2024-01-28 22:17:39

[Lightwhale](https://lightwhale.asklandd.dk) is a lightweight, immutable Linux for hosting Docker containers.

**Based On:** [Buildroot](https://buildroot.org) and [Docker](https://www.docker.com/)
**Concept:** Immutability and Persistence
**Advantages:** Small attack surface, no redundant apps, no installation
**Compatibility:** [Docker-Compose](https://docs.docker.com/compose/)
**Connectivity:** SSH
**Platform:** x86-64
**License:** [GPL-2.0](https://spdx.org/licenses/GPL-2.0-only.html)
**Website:** https://lightwhale.asklandd.dk
**Repository:** https://bitbucket.org/asklandd/lightwhale
📈 Cardano ADA Price Prediction 2024-2028
Published: 2024-01-28 22:07:09


📌2024 $1.62
📌2025 $2.55
📌2026 $3.54
📌2027 $4.89
📌2028 $5.64

After analyzing past performances and all of these circumstances, there is no doubt that ADA Coin can be considered to hold in the long term. However, we suggest crypto traders do their research before investing in ADA or any other crypto. It’s not easy to make accurate price forecasts because cryptos change their performances suddenly, they can be bearish or bullish, depending on the market.

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/xjinll2hzsqq7gvxofmr.png)
How I'm funded
Published: 2024-01-28 21:57:29



Being a full-time open-source maintainer is a rare privilege. In the interests of transparency, let me explain a little more about how I am funded.

## My story

I had been increasingly involved in open source - and particularly in contributing to the [Nuxt](https://nuxt.com/) ecosystem - whilst running first a creative agency and then a SaaS startup.

But when I decided (with my co-founder) to shut down the startup, [Sébastien Chopin](https://atinux.com/) asked if he could sponsor me to work on Nuxt. I was already committed to the core team - so it didn't take me long to accept.

<h2 id="nuxtlabs" class="mb-1"><img src="/img/work/nuxtlabs.svg" alt="NuxtLabs" width="90"></h2>

The majority of my funding comes from a retainer with [NuxtLabs](https://nuxtlabs.com).

Sébastien Chopin, who created Nuxt and founded NuxtLabs, receives donations via the Nuxt GitHub Sponsors account (and other income streams) and in turn funnels that back into the community, sponsoring [a number of open-source developers](https://github.com/orgs/nuxtlabs/sponsoring) and enabling open-source work.

I prize my independence highly and deeply appreciate Sébastien's trust.

## Sponsorship

While I don't receive any direct funding from Nuxt via GitHub Sponsors, I do have [a number of individual and corporate sponsors](https://github.com/sponsors/danielroe) that I value very highly.

I see [open source as about 'mutual giving'](https://roe.dev/blog/contributing-to-nuxt#what-open-source-is-to-me) and I appreciate these givers.

<!-- TODO: sponsor carousel -->

Their kindness enables me to devote additional time to open source, and to ensure it remains sustainable for me. I am looking for opportunities to thank my sponsors for their generosity, and would welcome ideas 🙏

## Workshops and conferences

I am sometimes asked to give paid-for workshops at conferences, and I receive a share of the revenue of these workshops.

In addition, conferences cover the costs of my flights and hotel and (sometimes) a speaker's fee.

If cost is ever a factor, **please ask**. I do not charge for community events, nor do I speak at conferences for financial reasons.

## Streaming

I receive some revenue from [streaming on Twitch](https://www.twitch.tv/danielroe). I do not enable ads or otherwise seek to monetise the streams.

## Consultancy

The time I have to work on projects outside of open source is limited. However, real-world projects help keep me relevant and grounded.

If you think your company would value a consultancy arrangement with me, please reach out. I am looking for:

- recurring duration (such as a monthly retainer)
- scheduled and measurable contributions

It is also possible to book a single hour's consultation with me.

https://cal.com/danielroe/consult
What project new features or changes are you most excited about recently?
Tags: discuss
Published: 2024-01-28 21:56:18

---
title: What project new features or changes are you most excited about recently? 
published: true
description: 
tags: discuss
# cover_image: https://direct_url_to_image.jpg
# Use a ratio of 100:42 for best results.
# published_at: 2024-01-28 21:54 +0000
---

What project updates have you been really excited about lately?

Is there something you’ve been anticipating? Something you’ve been using in beta that’s been adopted officially?
Beat Procrastination Now! How to Outsmart Your Laziness and Win at Life!
Tags: productivity, career, learning, beginners
Published: 2024-01-28 21:38:23

_Struggling to get things done? You're not alone!_

Procrastination is more than just laziness – it's an internal battle with our own brain. In my latest exploration, uncover the intriguing reasons behind procrastination and learn how it's not just a habit, but a cognitive bias deeply rooted in our psyche.

🧠 What's inside:

- Unveiling the science of procrastination: It's not just poor time management, but a deep-rooted evolutionary mechanism.

- Why your brain chooses scrolling over working? Understand the powerful limbic system's role.

- Strategies that work: learn how to outsmart your procrastinating mind with a simple framework.

- Real-life scenarios: check how these tactics apply to everyday situations for better productivity.

💡 Get ready to transform your approach to tasks and deadlines. Equip yourself with the knowledge and tools to break free from the procrastination loop.

👉 **Curious to learn more?** [Check out the full article](https://iwooky.substack.com/p/beat-procrastination) for a deeper dive into mastering your productivity. 

_Stay safe, stay aware, and join me in beating procrastination!_


![Beat Procrastination Now! How to Outsmart Your Laziness and Win at Life!](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/1vz5pl99zpaa0dvetksi.jpg)
Swoole Docker Generator
Tags: php, swoole, openswoole, docker
Published: 2024-01-28 21:17:32

I've bring a site to build application skeleton for Swoole project :
https://swoole-docker-generator.small-project.dev

This is a clone of the one for OpenSwoole : https://openswoole-docker-generator.small-project.dev

In order to progressively bring compatibility with the two forks in my packages.
Next.js Codebase Analysis <> create-next-app <> index.ts explained - Part 1.7
Tags: opensource, javascript, webdev, nextjs
Published: 2024-01-28 20:54:58

In the previous article, we looked at projectPath. In this article, you will understand the code behind the name prompt you see when you create a new nextjs project.


![prompts example](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/xfy3zwpx4rksg58qwfyn.jpeg)

run() function checks if projectPath is set to choose a name for your project passed as part of command. For example, npx create-next-app my-app 

But if you did not pass variable name, Commander does not set anything in action and you will be prompted to provide a name for your project.

The following code shows the prompt, I added the comments explaining what code does.

```
if (!projectPath) {
    // Read more about prompts here: 
    // https://www.npmjs.com/package/prompts
    const res = await prompts({
      // onPromptState is a function available at
      // https://github.com/vercel/next.js/blob/canary/packages/create-next-app/index.ts#L25
      onState: onPromptState,
      type: 'text',
      name: 'path',
      message: 'What is your project named?',
      initial: 'my-app',
      // validates ensures to follow npm package name guidelines
      // availabe here: https://www.npmjs.com/package/validate-npm-package-name
      validate: (name) => {
        const validation = validateNpmName(path.basename(path.resolve(name)))
        if (validation.valid) {
          return true
        }
        return 'Invalid project name: ' + validation.problems[0]
      },
    })

    if (typeof res.path === 'string') {
      projectPath = res.path.trim()
    }
  }
```
An example showing what happens when you try to name your project that does not conform to npm naming restrictions.

![NPM naming restrictions](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/oxk3cly4r1tuotdm7y1l.jpeg)

## Conclusion:
prompts and validate-npm-package-name packages are used to take the user input for project name. Now you know how this name prompt works.

I am building a platform that explains best practices used in open source by elite programmers. [Join the waitlist](https://docs.google.com/forms/d/e/1FAIpQLSe2JCZAaIB5oXzNHLTrYJR4LMZ5SEwrGPgmG5DeFWdDhu8-Gw/viewform) and I will send you the link to the tutorials once they are ready.

If you have any questions, feel free to reach out to me at ramu.narasinga@gmail.com
Basic Mastering in Ableton
Tags: music, ableton
Published: 2024-01-28 20:30:26

Notes on the tips provided in this video:
https://www.youtube.com/watch?v=qrroYDVdPUc&ab_channel=AbletonTipsbyPML

1. Check you have headroom on the master track ~5db is ok
2. Add a limiter to the master track with lookahead to 6ms and the ceiling to -1.0db. Puch the gain until you can ear audible distortion. At that point, wind the gain back by 1db.
3. Then add 'ulene loudness meter' after the compressor. If you can't turn the gain on your limiter up and get to around 10Lufs without distortion, then you need to go back to your track and mix it better as one of the sounds is smashing the limiter and needs fixing.
4. Add an eq8 to the master track before the limiter. turn off the visualiser on it. We'll come back to this later.
4. Next we check the mono and mid/side mixes separately. Set 2 utility plugins on the master track, one with the mono button pressed, one with the mid/side knob turned up to 100%. Now we can listen to both individually and hear what might need to happen in the eq we just added.
5. Start with the mid/side. Listen to it and see if its muddy (it often is due to stereo effects bleeding into each other. If it is muddy: turn off the mid/side utility first then set the eq8 to mid/side mode and set a low cut. move the low-cut freq up and down until the track looses its warmth, then pull it back a little bit. Then listen out for elements in the mix that are too forward, or causing mud and use a band-cut to remove them. Eq it up, small changes, this is mastering, not creative. 
6. Add a glue compressor after the eq and before the limiter. Set the eq on the glue compressor to the fundamental of the kick (use a spectrograph to find it) Set the q quite tight ~3. Set attack a bit slow ~10 and the release fast to about 0.10.
Pull the threshold down until the kick sits in the mix better and feels cleaner. N0 makeup gain.
7. Add another eq after the compressor and use this as makeup gain. add gain to it based on how much you lost in the compressor (see the meter) then add a little light eqing as necessary.
We now have a clean sound and can boost it.
8. Finally add another compressor at the end of the chain after the one we previously added. Set the set the old one back to 0db ceiling and the new limiter ceiling to -1db with 1.5ms lookahead. Push the gain until you hear audible distortion and then pul it back by 1db as we did before.

You should be able to et to -8db LUFS with this. if you cant you may need to think about your mix again.
Debian/LVM increase disk size cheatsheet
Published: 2024-01-28 20:22:14

Just a quick cheatsheet for increasing disk sizes for my TrueNAS scale VMs with debian os and lvm.

1. Make sure you created a snapshot!
1. Stop VM
1. Increase ZVOL
1. Start VM
1. `lsblk` => Check new size of /dev/sda
1. `fdisk /dev/sda`
  1. `p` (print)
  1. Copy partition row
  1. `d` (delete)
  1. `n` (new) -
  1. KEEP lvm signature!
  1. `t` (change type) => 30 for Linux LVM
  1. `p` (print again)
  1. Compare row (startbytes, size, type) with row from above 
  1. `w` (write changes)
1. Reboot VM
1. `pvresize /dev/sdaX` (Replace X with actual number)
1. `pvs` => Check
1. `lvs` => Get VG and LV
1. `lvresize -l +100%FREE /dev/<VG>/<LV>`
1. `resize2fs /dev/<VG>/<LV>`
1. Reboot VM
Exploring the Pros and Cons of AuraQuantic
Tags: auraquantic, forms, bpm
Published: 2024-01-28 20:07:48

**Introduction**

AuraQuantic is a digital platform designed for business users to create unlimited processes and applications quickly and easily to automate operations, reduce costs, and optimize productivity. It combines the sophistication of an iBPMS for process automation in integration, innovation, and intuitive design environments, allowing end-to-end transformation of all business operations in a simple way.

**Development**

Among the advantages of AuraQuantic are:

- **Business process automation:** AuraQuantic allows easy and fast automation of business processes, reducing costs and increasing efficiency.
- **No Code application design:** AuraQuantic allows users to create applications without the need for programming, making the development process easier.
- **AI functionalities:** AuraQuantic has machine learning, anomaly detection, and bot design functionalities, which improve the efficiency of business processes.
- **Data management:** AuraQuantic allows efficient and secure management of large amounts of data.
- **Intelligent document management:** AuraQuantic allows efficient and secure document management.
- **Business Intelligence and creation of interactive reports:** AuraQuantic allows the creation of interactive reports and obtaining valuable information about business processes.
- **Creation and management of intranet and extranet portals:** AuraQuantic allows the creation and management of intranet and extranet portals quickly and easily.

Among the disadvantages of AuraQuantic are:

- **Mobile APP:** The mobile application of AuraQuantic still lacks much functionality and access, in addition to contemplating offline management.

**Conclusion** 
AuraQuantic is a digital platform that offers many advantages for business process automation. Although it has some disadvantages, such as the lack of functionality of its mobile application, AuraQuantic remains an excellent option for companies looking to improve the efficiency of their business processes.

**Thanks for reading**
Thank you for reading this article about the advantages and disadvantages of AuraQuantic. We hope it has been useful for you.
Generative AI: Crafting Data with Algorithms.
Published: 2024-01-28 19:50:47


![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/l3430e43b30fh99yx3hd.png)
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/f4zqej3rannpqt0ceqp1.png)
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/5nus9o6wizhyotf8qdul.png)
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/dmi3g2ienbu2mzq0uoc5.png)
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/qgsth62yd2yh0ebc89yn.png)
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/mhkdh385zn2sqtxsfdz3.png)
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/6n12rw20u0e1s0mxojj9.png)
OAuth2 explained: Bob's tale
Tags: oauth, security, systemdesign, architecture
Published: 2024-01-28 19:49:23

**OAuth2 explained as a story.

🌟 Once Upon a Time in Tech Land: Understanding OAuth2 Through a Bob's Tale 🌟

Hey Dev Family! 👋 Today, let's dive into the world of OAuth2, but with a twist – a story suitable for a 4-year-old! 📖✨

Martha, a housemaid, was worried. Her teenage son, Bob, had been arrested for a road rage incident, and she wasn't sure how to bring him back home. She turned to her brother, Uncle Paul, for help.

Uncle Paul knew just where to go – a law firm. There, he talked to Mr. Campbell, a lawyer, about Bob's situation.

The law firm explained that Uncle Paul needed to be recognized as Bob's legal guardian by the court first. So, Uncle Paul headed to the Court, carrying his ID, passport, and Martha's ID to prove his relationship to Bob. The Court officials looked over his documents, nodded, and legally identified him as Bob's uncle. They also handed him a letter acknowledging this, along with a date for a hearing.

With the letter in hand, Uncle Paul went back to Mr. Campbell. The lawyer was pleased. "Great, I can now take the matter into my own hands. You can wait here," he said.

The following day, Mr. Campbell represented Uncle Paul at the court hearing. Everything went smoothly, and the court issued a bail order for Bob.

Armed with the bail order, Mr. Campbell went to the police station. He showed the order to the station officer, who recognized it and released Bob.

Finally, Mr. Campbell, accompanied by Bob, returned to the law firm where Uncle Paul was waiting. There, a relieved Uncle Paul embraced Bob, grateful to have him back.


👨 Martha/Paul = Resource Owner (they care about/need Bob)
📜 Court's Acknowledgement of Paul: Authorization code
🏛️ Mr. Campbell(Law Firm) = Client (Legal platform/application with client credentials)
⚖️ Court = Authorization Server (Validates the credentials)
🚓 Police Station = Resource Server (holds Bob safely, need order from court, the access token)
🗝️ Bail order = Access Tokens (special permissions)

Hope this adds a bit of fun to your tech learning today! 🌈

#OAuth2 #TechExplained #CyberSecurity #TechTales #SimplifiedTech
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/3w1hxo71eigz0d9m73aj.png)**
How to solve Wordle? 🧐Here's a handy Assistant.
Tags: ai, search, assistant, productivity
Published: 2024-01-28 19:45:21

Hello, Wordle enthusiasts! 🔠

Are you finding yourself in a pickle with today's Wordle? Fear not! We're excited to introduce **_Curiosity's Wordle Solver_** – a free online tool designed to elevate your game and help you in your word-guessing quest.

---

#### 🔍 Why Try Curiosity's Wordle Solver?

- **Strategic Assistance:** _It's like having a wise friend who guides you without giving away the answer._
- **Enhance Your Skills:** _Learn new strategies and patterns that can improve your daily gameplay._
- **Swift & Simple:** _Get suggestions for your next guess quickly, keeping the fun intact._

---

#### 🚫 Not Cheating, Just A Nudge!

We believe in fair play. Our solver isn't about cheating; it's about giving you a slight edge when you're completely stumped. It's all about the joy of solving the puzzle with a bit of help when you need it most.

---

#### 🔗 Ready to Play?

Start using Curiosity's Wordle Solver and make your Wordle challenge a breeze!

 ✨ [Wordle Solver](https://curiosity.ai/wordle/) ✨

---

We'd love to hear your experiences! How has Curiosity's Wordle Solver changed the way you play?

Happy Wordling! 😎

---
_While you’re at it, why not try [Curiosity](https://curiosity.ai/) app for free and get a unified search bar for all your apps, folders, and files, a magic launcher, an integrated mailbox, and an AI assistant all in one?_ 😸🔎
I hate my macbook
Tags: rant
Published: 2024-01-28 19:08:32

Repost of: [errorcodezero.dev/blog/i-hate-my-macbook/](https://www.errorcodezero.dev/blog/i-hate-my-macbook/)

Installing linux on a 2015 MacBook(Intel) is honestly something which I hope to never have to go through again. The broadcom wifi card within the machine makes it so you have to install an annoying driver in order to just use the machine. But, it gets better! You get weird issues connecting to WPA3-Enterprise networks. I've tried for almost 2 years to solve this issue but I genuinely can't find a single fix. Not to mention that every time I have to reinstall my system, it is almost impossible to install the driver since you need internet to get the driver. But the only way to get internet is with the driver. So I have to resort to some tethering using my phone.

I hope this serves as a PSA to anyone looking to turn old laptops into Linux ones. Whatever you do, don't pick a MacBook to do so.