teleren/devto huggingface dataset:
A fully typed configparser for python
Tags: python, typed, configparser, dataclasses
Published: 2024-01-24 13:30:51

<p align="center">
<img src="https://raw.githubusercontent.com/ajatkj/typed_configparser/main/assets/logo.png" alt="Description of the image">
</p>


## typed-configparser

typed-configparser is an extension of the standard configparser module with support for typed configurations using dataclasses.
It leverages Python's type hints and `dataclasses` to provide a convenient way of parsing and validating configuration files.

### Features

✓ Fully typed.
✓ Use dataclasses to parse the configuration file.
✓ Support for almost all python built-in data types - `int`, `float`, `str`, `list`, `tuple`, `dict` and complex data types using `Union` and `Optional`.
✓ Built on top of `configparser`, hence retains all functionalities of `configparser`.
✓ Support for optional values (optional values are automatically set to `None` if not provided).
✓ Smarter defaults.

### Usage

`examples/basic.py`

```py3
# This is a complete example and should work as is

from typing import List
from typed_configparser import ConfigParser
from dataclasses import dataclass


@dataclass
class BASIC:
    option1: int
    option2: str
    option3: float
    option4: List[str]


config = """
[BASIC]
option1 = 10
option2 = value2
option3 = 5.2
option4 = [foo,bar]
"""

parser = ConfigParser()
parser.read_string(config)
section = parser.parse_section(using_dataclass=BASIC)

print(section)
```

```py3
BASIC(option1=10, option2=value2, option3=5.2, option4=['foo', 'bar'])
```

`examples/unions_and_optionals.py`

```py3
# This is a complete example and should work as is

from typing import List, Union, Optional, Dict, Tuple
from typed_configparser import ConfigParser
from dataclasses import dataclass, field


@dataclass
class DEFAULT_EXAMPLE:
    option1: int
    option2: Union[List[Tuple[str, str]], List[int]]
    option3: Dict[str, str] = field(default_factory=lambda: {"default_key": "default_value"})
    option4: Optional[float] = None


config = """
[DEFAULT]
option1 = 20
option2 = default_value2

[MY_SECTION_1]
option2 = [10,20]
option4 = 5.2

[MY_SECTION_2]
option2 = [(value2a, value2b), (value2c, value2b), (value2c, value2d)]
option3 = {key: value}
option4 = none
"""

parser = ConfigParser()
parser.read_string(config)
my_section_1 = parser.parse_section(using_dataclass=DEFAULT_EXAMPLE, section_name="MY_SECTION_1")
my_section_2 = parser.parse_section(using_dataclass=DEFAULT_EXAMPLE, section_name="MY_SECTION_2")

print(my_section_1)
print(my_section_2)
```

```py3
DEFAULT_EXAMPLE(option1=20, option2=[10, 20], option3={'default_key': 'default_value'}, option4=5.2)
DEFAULT_EXAMPLE(option1=20, option2=[('value2a', 'value2b'), ('value2c', 'value2b'), ('value2c', 'value2d')], option3={'key': 'value'}, option4=None)
```

Check the [github repo](https://github.com/ajatkj/typed_configparser) for more details.
Unveiling Asura Hosting: Review By SocialMarketing90
Tags: hosting, website, webdev, sitereliabilityengineering
Published: 2024-01-24 13:19:50


![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/9zv2dmj1bs81zvuaxhk5.jpg)
Versatility in Hosting Solutions: 

In the field of web hosting, [Asura Hosting](https://socialmarketing90.com/asura-hosting-review/) is aware that there are many different needs and demands. Their services offer a flexible selection of hosting options to meet different demands. Asura Hosting offers the tools and assistance to match your needs, whether you're an aspiring blogger, a creative professional creating a portfolio website, or an entrepreneur taking a chance on e-commerce.

Sturdy Infrastructure: 

Asura Hosting has a solid and dependable infrastructure, which is the cornerstone of every successful web hosting business. Customers can count on stable performance, guaranteeing that their websites will continue to be reachable and responsive to users. Maintaining a great user experience and gaining your audience's trust depend heavily on this dependability.

User-Friendly Experience: 

For people who are unfamiliar with the digital world, navigating the web hosting industry might be intimidating. Asura Hosting works to make website setup and management easier for users by offering a user-friendly interface. The platform is designed to serve a wide range of users, from novices to experts, and makes web hosting available to everyone.

Scalability for Growth: 

Your hosting requirements will change as your internet presence does. Asura Hosting is aware of how crucial scalability is. Their hosting solutions are made to expand with you, so you may start small and strive for steady development or prepare for a spike in traffic. This guarantees a smooth and uninterrupted online experience.
New RELIANOID hardware load balancer
Published: 2024-01-24 13:16:40

As a result of our great #efforts in #developing better products and services and #improving the ones we already had, we are so glad to introduce you to our new mid-size #hardware, which is a big step forward in comparison with the older one. You can check all its #technical #specifications here:

https://www.relianoid.com/products/enterprise/hardware-load-balancer/mid-size-network-load-balancer/

#hardware #hardwareengineer #hardwaredevelopment #hardwaresolutions #hardwareproducts #hardwareengineering #loadbalancing #loadbalancers #hw #randd #R&D #development #developers 
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/hkj7mx829rd3au5gk9rh.jpg)
Tailwind CSS Tip: – Keeping the footer at the bottom of your page.
Tags: tailwindcss, css, webdev
Published: 2024-01-24 13:14:35

## Tailwind CSS Tip
**Keeping the footer at the bottom of your page.**

When building a website, you might find that if the page content isn't long enough, there's unwanted space beneath the footer. To ensure the footer stays at the bottom, follow this tip.


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

This structure uses Tailwind CSS's flexbox utilities to create a full-height (minimum screen height) flexible column layout, where the `<main>` content grows to fill available space, pushing the `<Footer/>` to the bottom of the viewport when content is not enough to fill the page.

## Tailwind CSS Classes

**class="flex flex-col min-h-screen**
⏤ These classes are applied to the `<body>` tag to create a flexible box layout.

**flex:** This applies a flexible box layout model, allowing you to design a complex layout structure using a more efficient and predictable way than the traditional block model.

**flex-col**
⏤ This modifies the flex direction to column, meaning that the children of this element _(the navigation, main content, and footer)_ will be laid out in a vertical column.

**min-h-screen**
⏤ This ensures that the minimum height of the `<body>` element is at least 100% of the viewport height. If the content is shorter than the viewport height, this rule ensures that the `<body>` element stretches to fill the entire viewport, preventing the footer from floating up.

**class="flex-grow"**
⏤ Applied to the `<main>` element, this class allows the main content area to grow and fill any available space. If there's more space available in the viewport than the content takes up, flex-grow will make the main content area expand to use up that space, effectively pushing the footer to the bottom of the viewport.

Hope you find this helpful!
Set up RSpec, Shoulda matchers and FactoryBot on Rails 7
Tags: rails, rspec, tutorial, testing
Published: 2024-01-24 13:13:26

## Rspec

- Add `rspec-rails` on development and test group of Gemfile
    
    ```ruby
    group :development, :test do
      gem 'rspec-rails'
    end
    ```
    
    - Then install it with command `bundle install`
    
- Run command `rails generate rspec:install` for generating boilerplate config files. you can see following outputs:
    
    ```ruby
    create  .rspec
    create  spec
    create  spec/spec_helper.rb
    create  spec/rails_helper.rb
    ```
    
- Verify RSpec is correctly installed and configured by running `bundle exec rspec` you should see following outputs:
    
    ```ruby
    No examples found.
    Finished in 0.0002 seconds (files took 0.0351 seconds to
    load)
    0 examples, 0 failures
    ```
    

## Shoulda Matchers

- Shoulda Matchers provides useful one-liners for common tests.

- Add `shoulda-matchers` to test group of Gemfile
    
    ```ruby
    group :test do
      gem 'shoulda-matchers'
    end
    ```
    
    - Then install it with command `bundle install`
    
- To integrate it to spec add following to bottom of the `rails_helper.rb`
    
    ```ruby
    Shoulda::Matchers.configure do |config|
      config.integrate do |with|
        with.test_framework :rspec
        with.library :rails
      end
    end
    ```
    

## FactoryBot

- Add `factory_bot_rails` to Gemfile. We want this gem to available on all rails environments, add this gem on outside of any group blocks.
    
    ```ruby
    gem 'factory_bot_rails'
    ```
    
    - Then install it with command `bundle install`
    
- To use `FactoryBot` inside the spec file require it in `spec_helper.rb` file
    
    ```ruby
    require 'factory_bot_rails'
    ```
    
- Then in same file, inside of `RSpec.configure` block add following line to use `FactoryBot` methods without `FactoryBot` namespace. For example we have to do `FactoryBot.create` we can instead just use the `create` method directly
    
    ```ruby
    config.include FactoryBot::Syntax::Methods
    ```
    
- we want Rails model generator to use FactoryBot to create factory file stubs whenever we generate a new model. For this, require `FactoryBot` on the top of `config/application.rb`
    
    ```ruby
    require 'factory_bot_rails'
    ```
    
- Then in the same file add following code inside the `Application` class
    
    ```ruby
    config.generators do |g|
      g.test_framework :rspec, fixture: true
      g.fixture_replacement :factory_bot, dir: 'spec/factories'
    end
    ```
    

Now RSpec, Shoulda Matchers, and FactoryBot are all set up and ready to help test your Rails application!
Introduction
Tags: introduction, newtodev, beginners
Published: 2024-01-24 13:10:05

Hey!

This is the first. Therefore, it's not about anything in particular–just an introduction and my way to greet my future cyber friends.

This will be primarily about software development ideas. I'm passionate about open source software and pragmatic thinking. I will write solely about my ideas and views on it.

Anyway, welcome. Together, let's see how this works out! :)
Perform Filtering and Searching in Vue Kanban Component
Tags: webdev, vue
Published: 2024-01-24 13:03:42

Learn how to perform filtering and searching in the Syncfusion Vue Kanban component. See how to filter and search for data based on a particular field in the Syncfusion Vue Kanban board. Kanban boards are used in real-time applications for task scheduling, project management, software and product development, and manufacturing processes. 

The Vue Kanban has a highly responsive layout and a finely optimized design for desktops, tablets, and phones. Users can bind data seamlessly with various local and remote data sources, such as JSON, RESTful services, OData services, and WCF services. The Kanban can also load data on demand to reduce transfer and load times. 

The Vue Kanban restrict or allow card transitions from one column to another to maintain a controlled workflow process. Users can set limits to the card count at each stage of Kanban workflow to avoid working on multiple tasks. Kanban columns visually change its appearance when validation fails. 

The Kanban board divides its layout as columns to visualize the different stages of work. Vue Kanban provides full support to create, read, update, and delete operations (CRUD) on cards. In addition to built-in editing through dialog, users can create a template that suits their application needs. Editing operations are performed with the help of a data manager. 

Explore our tutorial videos: https://www.syncfusion.com/tutorial-videos

Example project: https://github.com/SyncfusionExamples/Perform-Filtering-and-Searching-in-Vue-Kanban-Component

{% youtube e_8lVApB19s %}
How to export data from Oracle to Excel
Tags: oracle
Published: 2024-01-24 13:03:03

Who wouldn't like their routine data migration quick, simple, and exceptionally flexible? Well, that's exactly what dbForge Studio for Oracle delivers. With its help, it's easy to set up direct, wizard-aided import and export with 14 different formats at your service. Moreover, you can use highly customizable templates and the command line to automate recurring operations in just a few clicks.

The import and export-related capabilities of dbForge Studio include the following:
- 14 data formats for import and export: HTML, TXT, XLS, XLSX, MDB, RTF, PDF, JSON, XML, CSV, ODBC, DBF, SQL, and Google Sheets
- Smart wizards with extensive settings, tailored to each format
U- ser templates that help save time on regular import and export tasks
- Automation from the command line

https://www.devart.com/dbforge/oracle/studio/export-data-from-oracle-to-excel.html
Buy Verified Coinbase Accounts
Tags: buy, accounts, verified, coinbase
Published: 2024-01-24 13:00:26

****Frequently Asked Questions****


What are the differences between a Coinbase business account and a personal account?


A [Coinbase business account](https://smmvcc.com/product/buy-verified-coinbase-accounts/) is designed for businesses to buy, sell, and trade cryptocurrencies. It offers features such as multiple user accounts, higher transaction limits, and the ability to accept payments in various cryptocurrencies. On the other hand, a personal account is meant for individuals who want to buy, sell, and store cryptocurrencies for personal use.

How does one apply for a Coinbase business account?


To apply for a [Coinbase business account](https://smmvcc.com/product/buy-verified-coinbase-accounts/), you need to go to the Coinbase website and click on the "Get started" button. Fill out the required information, including your business name, type, and location, and provide the necessary documentation to verify your business. Once your application is approved, you can start using your Coinbase business account.

Are there specific fees associated with Coinbase business accounts?


Yes, there are specific fees associated with Coinbase business accounts. The fees vary depending on the type of transaction and the amount involved. For example, the fee for a buy or sell transaction can be up to 1.49% of the transaction amount. Additionally, there may be fees for transferring funds to and from your[ Coinbase account](https://smmvcc.com/product/buy-verified-coinbase-accounts/).

Is it possible for a business to purchase a pre-verified Coinbase account?


No, it is not possible for a business to purchase a pre-verified Coinbase account. Each business must go through the verification process to ensure compliance with Coinbase's policies and regulations.

Does Coinbase offer a dedicated business card for corporate use?


No, Coinbase does not offer a dedicated business card for corporate use. However, you can use your [Coinbase account](https://smmvcc.com/product/buy-verified-coinbase-accounts/) to make and receive payments in various cryptocurrencies. Additionally, Coinbase offers a range of tools and services to help businesses manage their cryptocurrency transactions efficiently. Know more >>
How I Use Trello as a “Continuous Travel Packing List”
Tags: kanban, personal, tips, trello
Published: 2024-01-23 11:01:19

---
title: How I Use Trello as a “Continuous Travel Packing List”
published: true
date: 2024-01-24 13:00:00 UTC
tags: kanban,personal,tips,trello
canonical_url: https://seankilleen.com/2023/08/how-i-use-trello-as-a-continuous-travel-packing-list/
---

We recently got back from a big trip, and that reminded me I’ve been meaning to publish a tip on how [Trello](https://trello.com) has saved me a lot of time and hassle around travel – and how to set it up so that it can benefit you as well. I’m a big fan of kanban boards in general but this may have helped me more than any other.

## Why a “Continuous” Packing List?

In short? Because I used to forget stuff. _All the time_. By creating a continuous packing list that I reset for every trip, I could continue to add items that I’d forget and then never forget them again. This has a great deal of appeal for me. It has stopped me from forgetting probably 100 things since I created it, which adds up to some real hassle saved.

My wife and I also may need to do some asynchronous planning / packing, especially with our little guy running around, and so the list is especially helpful when one of us thinks of something in the moment. It’s a really effective way to talk through this sort of thing with a partner.

Lastly, it makes me a more efficient packer/traveler. I’m someone who, if left to my own devices, would wander around our house aimlessly thinking “maybe I should bring this?” in ways that would be comical if they weren’t frustrating. It also reduces the anxiety that comes along with travel (“Did we turn the stove off?” “Did we remember to run the dishwasher?”), because it’s clear what we did and didn’t do.

## Our Trello Board Setup

[Read the rest at SeanKilleen.com!](https://seankilleen.com/2023/08/how-i-use-trello-as-a-continuous-travel-packing-list/)
The most reliable way to recover your crypto
Tags: bitcoin, cryptocurrency
Published: 2024-01-24 12:49:59

The most reliable way to recover your crypto/btc funds is through Wizard Asset Recovery. They helped me successfully retrieve everything I lost in a crypto scam. Using sophisticated security tools, they are highly professional. After being scammed of my entire crypto savings, I regained trust when Wizard Asset Recovery traced my funds in less than 48 hours. I recommend them to anyone who has been a victim of a crypto scam. For assistance, contact Wizard Asset Recovery at wizardassetrecovery@gmx.us or on WhatsApp at +1 (315) 756-1228. Don't lose all your money to crypto scams—consult professionals like Wizard Asset Recovery with a 100% success rate in crypto recovery
Warp Terminal: The New Frontier in Developer Tools
Tags: programming, softwareengineering, softwaredevelopment, terminal
Published: 2024-01-24 12:48:12


As a seasoned developer, I've spent countless hours working within terminal environments, and recently, I decided to switch from iTerm to Warp Terminal. This decision was driven by several factors, including Warp's modern features, superior performance, and innovative AI capabilities. In this blog post, I'll discuss my transition and the reasons behind it.

## Why Switch from iTerm to Warp?
Both iTerm2 and Warp are popular terminals, but they differ in key aspects. iTerm2 is a robust macOS-native terminal known for its scripting capabilities and plugins 1. However, Warp offers an AI-powered cloud-native terminal solution with seamless collaboration and extensive customization.

My decision to switch was influenced by several key features of Warp:

- **Modern Editing Features**: Unlike traditional terminals like iTerm2, Warp allows you to click anywhere on your current command line to insert your cursor at that spot. This feature proved to be super useful to me.

- **Visual Appeal and User Experience**: Warp pairs inputs with their outputs and highlights them as you navigate your terminal history. Warp calls these pairs "blocks".

- **Custom Workflows**: This is the best feature of warp for me. Workflows are your saved commands with variable parameters. You can run any of your pre-saved commands and just change the variable argument in that on the fly. Can't ask for anything more

- **Speed and Efficiency**: Built with Rust, Warp is optimized for speed and efficiency. Warp's CPU and memory consumption is about a third of what iTerm2 uses on my machine.

- **AI Capabilities**: Warp's integrated AI capabilities, powered by OpenAI APIs, can convert natural language into executable shell commands. This means you can ask Warp AI to debug errors, write scripts, or guide you through the next steps.


## Conclusion
While iTerm2 is a reliable and advanced terminal emulator, Warp offers a host of unique features that make it a compelling alternative. With its modern editing features, visual appeal, speed, and integrated AI, Warp is not just a terminal; it’s a tool that can enhance your terminal experience and help you code more efficiently.

If you're considering making a similar transition, give Warp a try. You might find that it's the terminal you've been waiting for 🪄 🪄.
KK8 CASINO is the best trusted online casino in Malaysia 2024.
Published: 2024-01-24 12:42:53

https://kk8.my/ is the best trusted online casino in Malaysia 2024✔️Popular as online casino slot Malaysia✔️Provide live casinos✔️Sports bet✔️✔️✔️
KaramosqlJuniperl1325@gmail.com
kk8, kk8 casino
http://kk8my.zohosites.com/
https://hashnode.com/@kk8my
https://hackmd.io/@kk8my
Wednesday Links - Edition 2024-01-24
Tags: java, jvm, kotlin, performance
Published: 2024-01-24 12:42:46

CVE-2024-22233: Spring Framework server Web DoS Vulnerability (1 min)🔥
https://spring.io/security/cve-2024-22233/

Deprecate Memory-Access Methods in sun.misc.Unsafe for Removal (10 min)👋
https://openjdk.org/jeps/8323072

Simplify Comparator chains (30 sec)⛓️
https://twitter.com/NiestrojRobert/status/1749345907454402995

Awaitility is part of Spring Boot Starter Test (30 sec)🍱
https://twitter.com/rieckpil/status/1749717730863833514

Micro-optimizations in Kotlin (3 min)☝️
https://www.romainguy.dev/posts/2024/micro-optimizations-in-kotlin-1

A Better Hash Map in Kotlin (2 min)☝️
https://www.romainguy.dev/posts/2024/a-better-hashmap/

async-profiler 3.0 (1 min)📈
https://twitter.com/AndreiPangin/status/1749047158752293310

spring-boot-testjars (1 min)🫙
https://github.com/spring-projects-experimental/spring-boot-testjars

Brace yourself, IPv6 is coming (5 min)🗡️
https://supabase.com/blog/ipv6

Sit in Shade (30 sec)⬛
https://sitinshade.com/