teleren/devto huggingface dataset:
Podcast Palooza— What are you listening to? (Self-Help Edition)
Tags: watercooler, podcast, discuss
Published: 2024-02-26 17:00:00

Welcome welcome!

My name is Rachel (they/them) and I am on a quest to talk to more people about podcasts because I listen to a genuinely an obscene amount of podcasts, and I am hoping some of you do too (maybe this is wishful thinking). This series is in lieu of [Music Monday](https://dev.to/michaeltharrington/series/17887) as well, so if you are in more of a music mood today, no worries! Head on over to Michael's series and tell us what is on your current playlist instead.

## What We Are Working With

This week I am looking for all of your wellness, self-help, self-contemplation, listening to yourself, monitoring yourself, listening-to-others-tell-you-how-they-solve-their-problems-so-you-can-better-solve-yours-podcasts. Tell me what podcast is helping you learn more about yourself and (with any luck) become a better person. 


![Person tapping their foot to music](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/47ckfbrd5quofsuzgr2b.gif)



---

_In case you forgot, we also have a podcast tag here for your listening musings, sharing your very special new episodes, and finding new things from people on the internet. What more could you want!!!!_

{% embed https://dev.to/t/podcast %}

Thank you thank you for being here, and also, if you plan on commenting down below give yourself a little pat on the back for trying to become a better person. That is pretty cool. We should all try to be more like you, I think. 

Goodbye for now, 
Rachel
مقاله بازار | maghalehbazar.com
Tags: maghalehbazar
Published: 2024-02-26 16:58:17

مقاله بازار: نگارش، پذیرش و چاپ مقاله maghalehbazar.com شماره تماس 09125185739 مهیار امینی؛ واتساپ و تلگرام 00989125185739 [https://maghalehbazar.com](https://maghalehbazar.com)
Global Gamers Challenge - Flutter News 2024 #8 ʚїɞ
Tags: flutter, news, dart, discuss
Published: 2024-02-26 16:49:56

As a freetime Flutter developer it often comes to my mind:
**Did I missed some important Flutter news?**

Starting 2024 I want to stay up to date and want to give you a monday report every week ordered by importance.

---

## Mayor Flutter updates:

> There are no mayor flutter updates this week!
-> Currently [Flutter Version Valentine’s-Day-adjacent 3.19](https://docs.flutter.dev/release/whats-new)

## New Flutter Videos:

> The [Flutter YouTube Channel](https://youtube.com/@flutterdev?si=RZyl1nLVnSt373Vu) did post new Videos:
{% embed https://www.youtube.com/watch?v=ggp5lE5DP2U %}


---

### New Dev-Posts

{% embed https://dev.to/dariodigregorio/mastering-responsive-uis-in-flutter-the-full-guide-3g6i %}

{% embed https://dev.to/ssoad/unleash-flutters-power-mastering-the-compute-function-for-seamless-background-processing-39eb %}

{% embed https://dev.to/flutteragency/micro-frontends-in-flutter-revolutionizing-ui-development-with-a-modular-approach-361k %}

{% embed https://dev.to/flutteragency/top-10-advantages-of-using-flutter-for-app-development-pgn %}

{% embed https://dev.to/idigisol_web/guide-to-extracting-image-metadata-in-flutter-ce9 %}


---

### New Medium-Posts

{% embed https://medium.com/@jaitechie05/exploring-the-intersection-of-flutter-and-iot-6cedecc3826c %}

{% embed https://medium.com/@codefoundation/penggunaan-model-data-untuk-api-dalam-pemrograman-flutter-e6a360c8bd3b %}

{% embed https://medium.com/@rajaibrahimckl/chat-logic-flutter-firestore-55f319d2f5b8 %}

{% embed https://medium.com/@sabcan.uy/dart-understanding-the-extension-method-73fc6b09bd53 %}

{% embed https://medium.com/la-mobilery/short-flutter-a-simple-navigation-to-details-page-with-riverpod-and-gorouter-cd1964909c5b %}


---

Last Flutter News: [Flutter News 2024 #7 ʚїɞ](https://dev.to/lucianojung/series/26008)
_Did I miss any recent updates? Feel free to share any important news I might have overlooked!_
How to create REST API in NodeJs
Tags: node, express, api, frameworkx
Published: 2024-02-26 16:46:39

APIs are one of the most vital parts of any web or mobile application. I am assuming that you are already familiar with the concept of API, what they are, and what they do. Yet, just for the same of this article let me define what an API is.

> APIs are mechanisms that enable two software components to communicate with each other using a set of definitions and protocols. For example, the weather bureau’s software system contains daily weather data. The weather app on your phone “talks” to this system via APIs and shows you daily weather updates on your phone.

> source: [https://aws.amazon.com/what-is/api/](https://aws.amazon.com/what-is/api/)

Since we have an overview of what APIs are, let's dive into the "How" of the process.

We will use [Framework X](https://www.frameworkx.info/) for creating the API in Node Js.

Framework X or Fx is a new NodeJs framework based on express. Fx provides you with everything you need to get started with your APIs. Fx just does not stop at being a starter kit, it has all the what you need to scale your application. The best part is that it's created for the developer by the developers focusing on ease and speed of development.

You can get more details about Fx, here: [https://www.frameworkx.info/](https://www.frameworkx.info/)

## Getting Started

Getting started is as easy as running this command. (make sure you have node installed.)

```bash
npx @3rdplanet/framework-x
```

Answer the question asked while installing. and you are good to go. Everything you need is already installed, and up and running. Refer to the documentation for details, it's straightforward, simple, and easy to understand.

Feel free to ask questions in the comments if you have any sort of doubts or queries.
4 ways to optimize your app for Fire TV
Tags: amazonappstore, firetv, howto
Published: 2024-02-26 16:38:44

Fire TV comes with its own features and requirements that make creating an app a little different than making one for tablets or phones. The [Amazon Appstore community space](https://community.amazondeveloper.com/c/amazon-appstore) has a [knowledge base](https://community.amazondeveloper.com/c/amazon-appstore/appstore-knowledge-base) of articles of common inquiries, including the most popular questions about developing and submitting Fire TV apps. 

Here are four articles about how to optimize your apps for Fire TV:

## **1. [How do I make my app available on Fire TV?](https://community.amazondeveloper.com/t/how-do-i-make-my-app-available-on-fire-tv)**

![target](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/v6yfbfgsow0sjmoq7gsk.jpg)

Fire TVs have different compatibility requirements than Fire tablets & Android phones because they use a remote control instead of a touch interface. [Check out this guide](https://community.amazondeveloper.com/t/how-do-i-make-my-app-available-on-fire-tv) to learn how to make your app compatible with Fire TV in addition to tablets and phones.

![target2](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/hz2envbng0dfmo5ziwku.jpg)


## **2. [How to add voice support to Fire TV apps and content](https://community.amazondeveloper.com/t/how-to-add-voice-support-to-fire-tv-apps-and-content)**

![voice](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/8jyg2ha0hyfy513zeoxx.jpg)

Fire TV users can access Alexa with the push of a button on the remote. [Check out this guide](https://community.amazondeveloper.com/t/how-to-add-voice-support-to-fire-tv-apps-and-content) to integrate voice support.

## **3. [Handling system initiated video pauses on Fire TV](https://community.amazondeveloper.com/t/handling-system-initiated-video-pauses-on-fire-tv)**

![pause](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/2qr7v7ru091san91m5eu.jpg)

Video playback pauses when the microphone (voice search) button or Home button is pressed on the remote. [Use this guide](https://community.amazondeveloper.com/t/handling-system-initiated-video-pauses-on-fire-tv) to ensure your app will handle these inputs correctly.

## **4. [What images and videos are needed for Fire TV apps?](https://community.amazondeveloper.com/t/what-images-and-videos-are-needed-for-fire-tv-apps)**

![assets](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/jecy9hkadzqbyi77w2es.jpg)

Fire TV apps need to be submitted with icons and screenshots that meet specific requirements. [Check out this guide](https://community.amazondeveloper.com/t/what-images-and-videos-are-needed-for-fire-tv-apps) for the details on exactly what you need.

* * *

Check out the rest of our [Knowledge Base](https://community.amazondeveloper.com/c/amazon-appstore/appstore-knowledge-base) for more developer tips and guides. If you have additional technical questions about Fire TV or the Amazon Appstore, [let us know](https://community.amazondeveloper.com/c/amazon-appstore/appstore-questions)!
Advent of Code 2015 (day 2)
Tags: clojure, adventofcode, babashka
Published: 2024-02-26 16:31:17

I expect the heat death of the universe before this series is completed :|

## Previously 

* [Day 1](https://dev.to/andyn/advent-of-code-2015-in-clojure-4ijo)

## Day 2

### Part 1

There are no tricks here - we just have to take a list of package dimensions and determine how much wrapping paper we need to wrap each of them according to a formula we're given.

```clojure
; We're using a regex to get the digits out of our
; dimension property e.g. "1x2x3" -> ["1x2x3" "1" "2" "3"]
(def re #"(\d+)x(\d+)x(\d+)")

(defn dimensions [str]
  (let [match (re-find re str)]
    (if (nil? match) nil
        (->> (rest match)
             (map #(Integer/parseInt %1))
             (sort)))))

(def input (->> (slurp "input")
                (str/split-lines)
                (map dimensions)
                (filter (complement nil?))))
```
We're defining a variable "input" which is taken from slurping a file with the puzzle input. We then use our `dimensions` function to turn each text row into a list of 3 numbers: our dimensions.

Half the effort on these early puzzles is just transforming the input into something usable :)

Note the `sort` in our `dimensions` function. This means that our resulting dimensions are in the order from smallest to largest. Our puzzle requires us knowing the shortest sides so we know the first two entries in each list are those.

Finally we just filter to remove any items which didn't match.

```clojure
(defn area [[w h l]]
  (+ (* 2 l w)
     (* 2 w h)
     (* 2 h l)
     (* w h)))

(def part-1-answer (apply + (map area input)))
```

The answer is just a sum of the areas of each parcel size we're given.

### Part 2

The second part required working out how much ribbon was required for each parcel and figuring out the total length of ribbon required.

The solution is pretty much a repeat of the last answer. I defined a new function `ribbon-length` which took parcel dimensions as an argument. Then it's just mapping it to each input and returning the sum.

## Closing Thoughts

 * This was a straightforward puzzle.
 * Hooray for destructuring arguments.
 * I used [Babashka](https://babashka.org/) for this day. It's definitely faster to startup and the integration with Calva was great.
Understanding the Linux CLI to Master It
Tags: linux, devops, terminal, ubuntu
Published: 2024-02-26 16:22:16

The Linux command line interface (CLI) is a powerful tool that allows users to interact with the operating system and execute commands efficiently. To become proficient in using the Linux CLI, it's essential to understand how to read manuals for commands, pass options to commands, and get help when needed. In this article, we'll explore these aspects of mastering the Linux CLI.

### Reading Manuals for Commands:
Linux provides manual pages (man pages) for most commands, offering detailed information on their usage, options, and examples. To access the manual for a command, use the "man" command followed by the name of the command.

Example:

![get manual page for ls command in linux](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/qlyr3waoc6otw0nonhot.png)

This command displays the manual page for the "ls" command, providing information on its various options and usage scenarios. Use the arrow keys or Page Up/Page Down keys to navigate through the manual pages. Press "q" to exit the manual.

### Passing Options to Commands:
Many Linux commands accept options or flags that modify their behavior. Options are usually preceded by a hyphen (-) or double hyphen (--). To pass options to a command, simply append them after the command name.

Example:

![showing ls -la command](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/81sgms36w6u1yxafcg35.png)

In this example, the "-l" option is passed to the "ls" command to display detailed information about files and directories.

### Getting Help for Commands:
If you're unsure about how to use a command or need a quick refresher on its syntax, you can use the "--help" option or consult online resources.

Example:

![ls --help command show](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/vrzreg49btblp94lwoje.png)

This command displays a brief help message for the "ls" command, listing its available options and their descriptions. Alternatively, you can search for command usage and examples on Linux community forums, websites, or documentation.

### Tips for Mastering the Linux CLI:
1. Practice regularly: The more you use the command line, the more comfortable you'll become with its nuances and capabilities.
2. Experiment with different commands: Try out various commands and options to familiarize yourself with their functionalities.
3. Take notes: Document useful commands and their options in a personal cheat sheet for quick reference.
4. Join online communities: Participate in Linux forums and communities to learn from others and seek assistance when needed.

By understanding how to read manuals, pass options, and get help for commands, you'll gain confidence and proficiency in mastering the Linux command line interface. With practice and persistence, you'll become adept at efficiently managing tasks and workflows in the Linux environment.
Troubleshooting WiFi Adapter Issues on Fedora: Broadcom BCM43142
Published: 2024-02-26 16:16:32


Are you facing the frustrating "No WiFi adapter found" issue on your Fedora system, particularly with a Broadcom BCM43142 wireless card? Don't worry; you're not alone. In this guide, we'll walk you through the steps to troubleshoot and resolve this common WiFi problem.

## 1. Identify Your WiFi Card

Start by identifying your WiFi card using the following command:

```bash
lspci | grep -i network
```

If your output looks something like this:

```
02:00.0 Network controller: Broadcom Inc. and subsidiaries BCM43142 802.11b/g/n (rev 01)
```

Great! Your WiFi card is a Broadcom BCM43142.

## 2. Install Broadcom WiFi Drivers

### 2.1 Enable RPM Fusion Repositories

The `akmod-wl` package, which contains Broadcom drivers, is often available in the RPM Fusion repositories. Enable them with the following commands:

```bash
sudo dnf install https://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm https://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm
```

### 2.2 Install Broadcom Drivers

Install the `akmod-wl` package:

```bash
sudo dnf install akmod-wl
```

### 2.3 Rebuild Modules

Rebuild the modules to ensure compatibility with your current kernel:

```bash
sudo akmods --force
```

## 3. Load the Broadcom Module

Try loading the `wl` module using:

```bash
sudo modprobe wl
```

If you encounter a "Module wl not found" error, it could be due to a few reasons.

## 4. Troubleshoot Loading Issues

### 4.1 Check Module Directory

Ensure the `wl` module is in the expected directory:

```bash
ls /lib/modules/$(uname -r)/extra/wl/
```

### 4.2 Manually Load Module

Try manually loading the module without specifying the path:

```bash
sudo modprobe wl
```

### 4.3 Check Module Presence

Confirm the presence of the `wl` module:

```bash
sudo depmod -a
sudo modprobe wl
```

## 5. Reboot and Verify

After completing the steps, reboot your system and verify if your WiFi is now working. If the issue persists or if you encounter any errors, consider seeking further assistance or checking online forums for your specific Broadcom model.
Fake rounded corners
Tags: css
Published: 2024-02-26 16:30:41

---
title: Fake rounded corners
published: true
date: 2024-02-26 16:11:57 UTC
tags: css
canonical_url: https://blog.nicm42.co.uk/fake-rounded-corners
---

I recently had a design where there was a box with rounded corners. However, due to the HTML structure (which I couldn't change) there was an element over the top of the box, making it look like the box wasn't as tall as it actually was. I couldn't add a border-radius to the middle of the box. I had to fake it instead.

## The set up

Here I have a contrived example to show the problem. I have two divs here, `.fake-top` and `.bottom`.

`.bottom` is red.

`.fake-top` is the same colour as the body and covers up the top 50px of bottom.

I've added some opacity to `.fake-top`, so you can see what is where. And that bottom has rounded corners on every corner.

![Red box with rounded corners and a lighter box on top](https://cdn.hashnode.com/res/hashnode/image/upload/v1708286649013/1724f4ce-a405-4a60-983a-d579411689f2.png)

In the real problem I have something on the top left, so it's just the top right corner that needs rounding. Here's how it looks with another div on the top left:

![Red box with rounded corners at the bottom and a grey box on top left](https://cdn.hashnode.com/res/hashnode/image/upload/v1708286775286/7f756fc0-73db-4ef9-8d73-90452d111dfc.png)

## Faking the rounded corner

This is where pseudo-elements come to the rescue. And the time I've spent on [CSS Battle](https://cssbattle.dev/) came in useful.

What we can do is to add two pseudo-elements. One to effectively remove the corner ie make it white: the same colour as the fake-top and body. The other to add a bit of red with a rounded corner.

```css
.fake-top::before,
.fake-top::after {
  content: '';
  position: absolute;
  width: var(--border-radius);
  height: var(--border-radius);
  top: 100%;
  right: 0;
}

.fake-top::before {
  background-color: white;
}

.fake-top::after {
  background-color: red;
  border-top-right-radius: var(--border-radius);
}
```

With just the `before` pseudo-element, it looks like it's had a bite taken out of it:

![Red box now has a bite taken out of the top right corner](https://cdn.hashnode.com/res/hashnode/image/upload/v1708287150310/1ebdbd2c-3136-42cb-bbe4-6dfd818bf979.png)

Here's where the `after` pseudo-element is:

![Black pie slice in the top right corner of the red box](https://cdn.hashnode.com/res/hashnode/image/upload/v1708287245875/f0de5642-6195-464e-8824-32ff102afce6.png)

But make the `after` pseudo-element the same colour as `bottom` then like magic, it looks like this:

![A red box with rounded corners at the bottom and top right, with a grey box at the top left](https://cdn.hashnode.com/res/hashnode/image/upload/v1708286919633/117a3294-122d-483f-9d3c-d097e5e8ca99.png)
What are your goals for week 9 of 2024?
Tags: discuss, motivation, productivity, community
Published: 2024-02-26 16:00:09

It's week 9 of 2024. Friday is March 1st. Almost spring time in the US.

## What are your goals for this week? 

- What are you building? 
- What will be a good result by week's end?
- What events are happening this week? 
  * any suggestions for in person or virtual events?
- Any special goals for the quarter?


### Last Week's Goals
 

- [:white_check_mark:] Continue Job Search. applied to some jobs, heard back from a couple from the previous week.
- Project work 
   * [:white_check_mark:] research some content.
- [:x:] Blog just drafts.
- Events 
  * [:white_check_mark:] Axe-Con is Tues-Thursday, with a pre-con session Monday.
  * [:x:] Thursday Virtual Coffee (overlap with Axe-Con. Still need to read the sessions.) Missed it was on Axe-Con talks and discord.
  * [:white_check_mark:] Dallas Software User Group (Virtual) Night of Java.
- [:white_check_mark:] Run a weekly motivational Virtual Coffee (VC) Slack thread similar to this post.
- [:white_check_mark:] Vote we have local elections for some city offices. Need to do early voting.

 
### This Week's Goals

It's Presidents Day which just means schools, banks, and government offices are closed. 

- Continue Job Search. 
- Project work 
   * Got an idea to revive an old inventory project. Need to start brain storming and wire framing.
- Blog 
- Events 
  * Thursday local meet up is having an open work session.
  * Thursday Virtual Coffee (overlap with Axe-Con. Still need to read the sessions.)
- Spring time, to cut some bushes down.





### Your Goals for the week 

Your turn what do you plan to do this week? 

- What are you building? 
- What will be a good result by week's end?
- What events are happening any week? 
  * in person or virtual?


```html
-$JarvisScript git push
```
Journey to the centre earth
Published: 2024-02-26 15:49:08

"Journey to the Center of the Earth" is a classic science fiction novel written by Jules Verne, first published in 1864. The story follows the adventures of Professor Otto Lidenbrock, his nephew Axel, and their guide Hans as they embark on a daring expedition to explore the depths of the Earth.

The journey begins in Hamburg, Germany, where Professor Lidenbrock discovers an ancient manuscript that hints at a passage to the center of the Earth located in Iceland. Determined to prove the truth of the manuscript, the professor, along with Axel and Hans, sets off for Iceland and begins their descent into the depths of the Earth through the crater of the extinct volcano Snæfellsjökull.

As they journey deeper into the Earth's interior, they encounter a series of remarkable and often perilous phenomena, including underground oceans, prehistoric creatures, and vast caverns filled with strange minerals and geological formations. Along the way, they face numerous challenges and dangers, including the threat of suffocation, starvation, and the possibility of becoming lost forever in the labyrinthine [READ MORE.......](https://sites.google.com/view/n-hollywood-movies/home)