teleren/devto huggingface dataset:
ACE with multiple quick views
Tags: spfx, adaptivecardextension
Published: 2023-12-26 09:34:13

---
title: ACE with multiple quick views
published: true
date: 2023-11-15 10:00:00 UTC
tags: SPFx,AdaptiveCardExtension
canonical_url: 
---

Today I want to show a simple thing about ACEs and that is: how to register multiple quick views.

In this sample I’ll be using two buttons in the card view to open differents quick views.

Just a reminder before diving into the code: an ACE can be displayed in two sizes and those are _medium_ and _large_. In the medium size only one button will be displayed, in the large size two buttons will be displayed.

![](https://iamguidozamcode.files.wordpress.com/2023/10/image-1.png?w=248)
_Medium size_

![](https://iamguidozamcode.files.wordpress.com/2023/10/image.png?w=473)
_Large size_

This sample contains two buttons so the ACE will be in the large size.

The result will be the following:

![](https://iamguidozamcode.files.wordpress.com/2023/10/image-3.png?w=892)
_First quick view open_

![](https://iamguidozamcode.files.wordpress.com/2023/10/image-3.png?w=892)
_Second quick view open_

Now let’s get down to code!

### The code

First we need to create the two quick views and to do so we have to create, inside the folder quickView, the .ts files and inside the template folder the .json files that represents the views.

For this sample we will use the following structure:

![](https://iamguidozamcode.files.wordpress.com/2023/10/image-8.png?w=325)

This is a very basic sample so the .ts files and .json files are the same as the default ones and contains nothing more than the _data_ and _template_ methods.

The important part in this sample is: how to register multiple quick views?

The answer is that you can register each quick view in the _onInit_ method inside the AceWithMultipleQuickViewAdaptiveCardExtension.ts file.

To register a quick view you can use the quickViewNavigator property:

```
this.quickViewNavigator.register(
			FIRST_QUICK_VIEW_REGISTRY_ID,
			() => new FirstQuickView()
		);
```

To open the different quick view we can use a button for each one. In the card view footer we specified the two buttons:

```
footer: [
  {
    componentName: "cardButton",
    title: strings.FirstQuickViewButton,
    action: {
      type: "QuickView",
      parameters: {
        view: FIRST_QUICK_VIEW_REGISTRY_ID,
      },
    },
  },
  {
    componentName: "cardButton",
    title: strings.SecondQuickViewButton,
    action: {
      type: "QuickView",
      parameters: {
        view: SECOND_QUICK_VIEW_REGISTRY_ID,
      },
    },
  },
]
```

As you can see in the action.parameters.view of each button is specified the target quick view to be opened.

Et voilà, you now have an ACE with two different quick views! You can register more than two quick views and also navigate across them but I will cover that case in an another post.

Hope that helps!
Node.js'de T.C. Kimlik No ile Vatandaşlık Sorgusu
Tags: node, npm
Published: 2023-11-15 09:53:35

T.C. Nüfus ve Vatandaşlık İşleri Genel Müdürlüğünün halka açık servisi ile bir kişinin ad soyad, kimlik numarası ve doğum yılı bilgileriyle o kişinin Türk vatandaşı olup olmadığını sorgulanabiliyor.

Node.js'de bu sorguyu kolayca yapmak için [isturkish](https://www.npmjs.com/package/isturkish) paketini kullanıyoruz.

# Kurulum ve Kullanım
Aşağıdaki komut ile projemize paketi kuruyoruz.
```
npm i isturkish
```
Paketimiz kurulduktan sonra paketi çağırıyor ardından kimlik bilgilerini girerek sorguyu yapıyoruz.
```js
// Paketi çağırıyoruz.
const isTurkish = require("isturkish")

// Sorguyu yapıyoruz.
await isTurkish({
  name: "Zeki Müren",
  birthdate: "1931-12-06",
  identity: "00000000000",
}).then(result => {

   // Kişinin bilgilerini yazdırıyoruz.
   console.log("Sorgulanan kişinin bilgileri:", result.person)

   // Cevabı yazdırıyoruz.
   if(result.turkish) {
      console.log("Bu kişi Türk vatandaşı!")
   } else {
      console.log("Bu kişi Türk vatandaşı değil!")
   }

})
```

# Kimlik Bilgileri Parametreleri
Kimlik bilgilerini `isTurkish` paketine birkaç farklı şekilde gönderebilirsiniz.

- İsmi tek parça halinde göndermek yerine ayrı ayrı da gönderilebilirsiniz
- Doğum tarihi yerine doğrudan doğum yılını da gönderebilirsiniz.

Aşağıdaki örnekte gösterildiği gibi:
```js
await isTurkish({
  firstname: "Falih Rıfkı",
  lastname: "Atay",
  birthyear: "1940",
  identity: "00000000000",
})
```

Kaynak: [isturkish](https://www.npmjs.com/package/isturkish)
Join Cloud Builders: Java Conf at November 30th
Tags: java, quarkus, java21, chatgpt
Published: 2023-11-15 09:33:35

Hey! 👋🏻
We’re happy to invite you to Cloud Builders: Java Conf on the 30th of November.

Let’s discover more about #Java-based projects, Java 11–21 Evolution, why #Quarkus should be your next tech stack, the best practices and insights from Java Champions, and more.

In the line-up are Fireside Chat with Josh Long and Java talks by Heather VanCura, Mohamed Taman, Emily Jiang, and Holly Cummins.

Check the agenda and register here: https://bit.ly/join_CloudBuildersJavaConf 👈🏻

Organized by Cloud Builders, a cloud-agnostic community with over 8,000 developers worldwide, this conference aims to gather Java advocates, share recent cases, and develop IT around the globe.

📆 When: November 30
🌎 Where: Online, all over the world

Save the date, see you there!
[Podcast ] The Developer Advocacy Universe with Adrienne Tacke
Tags: devrel
Published: 2023-11-15 09:30:57

In this Developer Nation broadcast episode, Ayan interviews Adrienne Tacke, a Senior Developer Advocate at Cisco, discussing her career journey and the field of developer advocacy. Adrienne shares her unexpected path into software development, starting with an internship during college. She emphasizes that a computer science degree isn’t necessary for a successful career in development; a passion for learning and an eagerness to explore new technologies can be equally valuable. While a degree can provide a solid foundation, ongoing learning is key, and it’s beneficial to grasp foundational computer science concepts even without formal education.

Adrienne discusses her transition to developer advocacy, driven by her desire to share her journey through conference speaking. She highlights the joy of travelling and connecting with various developer communities worldwide. However, she also mentions the challenges faced by developer advocates, including multitasking, burnout risk, and maintaining high-quality content creation. While the role offers numerous rewards, it comes with hard work and demands attention to balance and prioritization. The conversation sheds light on the behind-the-scenes work and the multifaceted nature of developer advocacy.

Intrigued by Adrienne’s journey and the world of developer advocacy? If you want to dive deeper into her experiences, challenges, and the vibrant field of developer relations, don’t miss the full episode. Tune in for a wealth of insights and inspiring stories.

You can listen on Spotify:
https://podcasters.spotify.com/pod/show/developer-nation-br/episodes/EP-03-Featuring-Adrienne-Tacke--Senior-Developer-Advocate-at-Cisco-e1vo3d0/a-a9dvs9b 


or watch the entire thing here:
https://www.youtube.com/watch?v=rj_gyF29Mn8&ab_channel=devnationworld
Welcome Thread - v251
Tags: welcome
Published: 2023-11-15 09:30:00

---
title: Welcome Thread - v251
published: true
description: Welcome to DEV! A thread of hellos and intros.
tags: welcome
cover_image: https://dev-to-uploads.s3.amazonaws.com/uploads/articles/9gl6twd8r59cvwqlllw7.jpg
published_at: 2023-11-15 09:30
---
!["Hello there" with cartoon arms](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/g0aldzvwdpa2hw2t8rpi.gif)
---

1. Leave a comment below to introduce yourself! You can talk about what brought you here, what you're learning, or just a fun fact about yourself.

2. Reply to someone's comment, either with a question or just a hello. 👋 

3. If you are new to coding, want to help beginners in their programming journey, or just want another awesome place to connect with fellow developers, check out the [CodeNewbie Org](https://dev.to/codenewbieteam)!
Enhancing Efficiency and Sustainability in Airport Management Services
Tags: airchart, management
Published: 2023-11-15 09:24:49

Enhancing Efficiency and Sustainability in [Airport Management Services](https://avmin.com.au/airport-management-services/)


Airport management services play a critical role in ensuring airports' smooth and efficient operation worldwide. AVMIN (Airport Management and Infrastructure) is a prominent player in this field, which offers a wide range of services to enhance airport operations.

AVMIN's expertise covers various aspects of airport management, including terminal and ground handling operations, air traffic control, security services, and infrastructure development. AVMIN helps airports optimize their operations and improve the passenger experience by providing these services.

Terminal and ground handling operations are vital components of airport management. AVMIN ensures that passenger and cargo handling processes are streamlined to reduce congestion and waiting times. This not only enhances passenger satisfaction but also increases the overall efficiency of the airport.

Air traffic control services offered by AVMIN focus on safety and precision. They play a pivotal role in managing the flow of aircraft, ensuring safe takeoffs and landings, and preventing congestion in the skies and on runways. AVMIN's expertise in this area significantly contributes to a reduction in air traffic delays.

Security services are of paramount importance in today's aviation landscape. AVMIN helps airports implement robust security measures, including advanced screening technologies and well-trained security personnel, to ensure the safety and well-being of passengers and staff.

Infrastructure development is another key service provided by AVMIN. They help airports expand and modernize their facilities, which is crucial to accommodating the growing demands of the aviation industry and ensuring high service quality.

In conclusion, AVMIN is a leading provider of airport management services, offering a comprehensive suite of solutions that improve the efficiency and safety of airport operations. Their expertise in terminal and ground handling operations, air traffic control, security, and infrastructure development contributes to the overall success of airports worldwide.

Get a Quote now!
Integrating Bun with Vite Ruby for Lightning-Fast Frontend Builds
Tags: rails, javascript, tutorial, productivity
Published: 2023-11-15 09:23:48

With the recent release of [Bun](https://bun.sh/) and its newfound support for Vite, coupled with _Ruby on Rails 7.1_ incorporating native support for Bun, developers can now enhance their web development workflow significantly. Here is the effortless process of enabling _Bun_ for [Vite Ruby](https://vite-ruby.netlify.app/), ultimately streamlining your front-end builds.

![Bun plus Vite Ruby](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/hhd73ikhzma10k727lzf.png)

## Getting Started: Creating a Shim Bin

To kick things off, you need to create a shim bin. Navigate to the `bin/shims` directory and add a file named `vite` with the following content:

```bash
#!/usr/bin/env bash

set -eo pipefail

bunx vite "$@"
```

## Configuring Vite Ruby to Use the Shim Bin

Next up, update your Vite Ruby configuration file (`config/vite.json`). Specify the path to the newly created shim bin using the `viteBinPath` attribute.

Here's an example:

```json
{
  "all": {
    "viteBinPath": "bin/shims/vite"
    // ...
  }
  // ...
}
```

By setting the `viteBinPath` to your shim bin, you're instructing _Vite Ruby_ to leverage _Bun_ during the build process.

## The Results: A Faster Workflow

The impact of this integration is tangible. Migrating to Bun has slashed asset processing time **by 1-2 minutes**, from installing dependencies to compiling assets. This optimization is particularly crucial for teams practicing _Continuous Delivery_, where quicker builds can significantly boost overall productivity.

---

**Paul Keen** is an Open Source Contributor and a Chief Technology Officer at [JetThoughts](https://www.jetthoughts.com). Follow him on [LinkedIn](https://www.linkedin.com/in/paul-keen/) or [GitHub](https://github.com/pftg).

If you enjoyed this story, we recommend reading our [latest tech stories](https://jtway.co/latest) and [trending tech stories](https://jtway.co/trending).
Provident Botanico is a New-Launch Apartment
Tags: realestate, bangaloreplots
Published: 2023-11-15 09:19:13

[**Provide Botanico**](https://www.providentbotanico.net.in/) is a spectacular residential project that's been generating quite a buzz in the heart of Bangalore. Developed by Provident Housing, a renowned name in the Indian real estate industry, this project is a testament to the company's commitment to providing high-quality living spaces that cater to the needs of modern families.

What Makes Provident Botanico Stand Out?

Green Living: Provident Botanico is aptly named, as it offers residents a unique opportunity to live amidst lush greenery. The project boasts an extensive 30-acre green landscape, with 6000+ trees, creating a serene environment that is sure to soothe the soul.

Thoughtful Amenities: Provident Housing has meticulously designed amenities to cater to all age groups. From a well-equipped gym, swimming pool, and indoor games room to a kids' play area and a jogging track, there's something for everyone to enjoy.

Well-Designed Homes: The apartments at Provident Botanico are spacious, well-ventilated, and loaded with natural light. With a variety of configurations to choose from, you can select the one that best suits your needs. The interiors are stylishly designed with high-quality finishes.

Sustainable Living: In today's world, sustainability is a key concern. Provident Botanico integrates eco-friendly features, such as rainwater harvesting, sewage treatment plants, and energy-efficient lighting, to help reduce the project's environmental footprint.

Future-Ready Infrastructure: With high-speed internet connectivity and provisions for home automation, Provident Botanico ensures that your home is equipped for the digital age.

Security and Safety: The safety of residents is of paramount importance. The project includes 24/7 security and CCTV surveillance to provide peace of mind to every family.

REFER: https://peatix.com/user/19862792/view
https://gitlab.gnome.org/providentbotanico
https://www.zazzle.com/mbr/238437101841748816
https://b.cari.com.my/home.php?mod=space&uid=2610017&do=profile
Optimizing Medevac Flights Through FIFO (First In, First Out) Approach
Tags: fifo
Published: 2023-11-15 09:16:06

Optimising [Medevac Flights](https://avmin.com.au/medevac-and-evacuation-flights/) Through FIFO (First In, First Out) Approach

FIFO (Fly-in, Fly-out) flights have become common in many industries, particularly remote regions where access can be challenging. These flights, such as Medevac flights, are often used for regular work shifts and emergencies. The management of these flights falls under the purview of AVMIN (Aviation Management Services), which plays a crucial role in ensuring the safety and efficiency of these operations.

[FIFO flights](https://avmin.com.au/medevac-and-evacuation-flights/) are a lifeline for many remote communities, connecting them to essential resources and services. These flights enable workers to commute to remote job sites and return home regularly. For mining and resource industries, FIFO flights are the backbone of their operations, allowing workers to maintain a work-life balance despite the remoteness of their workplaces.

FIFO Flights for Remote Workforce Efficiency: AVMIN's Innovative Solutions

In addition to regular FIFO flights, Medevac flights are vital to the aviation sector. These flights are dedicated to medical emergencies and evacuating critically ill or injured individuals from remote locations to medical facilities. AVMIN's expertise is crucial in coordinating these emergency flights. They ensure the aircraft is well-equipped with medical staff, equipment, and supplies to provide lifesaving care en route to the nearest medical facility.

Efficient management of FIFO and Medevac flights is of paramount importance. AVMIN handles scheduling, maintenance, and logistics, ensuring that flights are safe, timely, and cost-effective. They work closely with airlines, aviation authorities, and healthcare institutions to maintain high safety and service standards.

Advanced technologies play a significant role in optimizing FIFO and Medevac operations. Modern aircraft have state-of-the-art navigation and communication systems, allowing for precise flight planning and real-time monitoring. AVMIN uses these technologies to track flight schedules, manage resources, and respond quickly to deviations or emergencies.

In conclusion, FIFO flights, including Medevac flights, are integral to remote and resource-rich regions, sustaining industries and saving lives. AVMIN's expertise in aviation management services ensures that these flights are executed with precision and safety. As technology advances, the efficiency and effectiveness of these operations will only improve, benefiting both industries and the communities they serve.

Get a Quote now!
AVMIN: Redefining Luxury Travel with Private Air Charter Services
Tags: aircharte
Published: 2023-11-15 09:14:25

AVMIN: Redefining Luxury Travel with [Private Air Charter Services](https://avmin.com.au/)

Private air charter services have become increasingly popular in recent years, offering luxury and convenience to travellers seeking an elevated flying experience. Private jet hire, also known as private air charter, allows passengers to enjoy various benefits, including flexibility, privacy, and a personalized travel experience.

One company that has significantly impacted the [private air charter](https://avmin.com.au/) industry is AVMIN. AVMIN is known for its exceptional services, offering a fleet of well-maintained private jets for clients looking to travel in style and comfort. They have established themselves as a leading provider of private air charter services, catering to their clientele's unique needs and preferences.

The Growing Trend of [Private Jet Hire](https://avmin.com.au/): Exploring the Benefits and Considerations of Air Charter Services

Private jet hire through AVMIN provides a range of advantages. One of the primary benefits is flexibility. Clients can choose their departure and arrival times, avoiding the hassles of commercial airline schedules. This flexibility is especially beneficial for business travellers, allowing them to maximize their productivity by customizing their travel plans.

Privacy is another key feature of private air charter. With AVMIN, passengers can relax and conduct meetings or personal affairs in a secluded environment, away from the prying eyes of fellow passengers. This level of privacy is particularly appealing to high-profile individuals who value discretion.

The personalized travel experience is at the core of private jet hire services. AVMIN's staff goes above and beyond to cater to their client's needs, ensuring a seamless journey from start to finish. From gourmet catering options to specific cabin configurations, every aspect of the flight is tailored to the client's preferences.

Safety is paramount in the private air charter industry, and AVMIN takes this responsibility seriously. They adhere to stringent safety regulations, regularly maintain their aircraft, and employ experienced pilots with exemplary safety records. This commitment to safety provides peace of mind for clients.

In conclusion, private air charter services, such as those offered by AVMIN, have redefined luxury travel. With their flexibility, privacy, and personalized experience, private jet hire is a popular choice for individuals and businesses alike. AVMIN's dedication to safety and exceptional service sets them apart as a leader in the industry, making them a top choice for those seeking a truly exceptional travel experience.

Get a Quote now!
100 days of code: The complete Python Pro Bootcamp
Tags: python, learning, programming
Published: 2023-11-15 09:00:27

So today I'm starting on a new adventure. I'm a software developer for 8 years now and always build my project in JavaScript and the frameworks that come with it.

However I'm looking for a new challenge and something new to learn but the problem is that I tend to start something new but never finish it, and I think a lot of people tent to do that. 

After a bit of thinking I figured that I wanted to learn Python. Its a language with a lot of use cases and a huge job potential. After a bit of searching on Google I stumbled on this course **100 Days of Code: The Complete Python Pro Bootcamp for 2023**

And this got my interest. It allows me to do a little code ever single day for a 100 days and learning Python and all that comes with it.

So I can't wait to start my journey as a Python developer and I'll keep posting my leanings for each.
"Mastering Modern Web Development: Why TypeScript is Essential for JavaScript Developers 🚀"
Tags: webdev, javascript, typescript, react
Published: 2023-11-15 08:56:20

**Introduction:**
In the ever-evolving world of web development, staying ahead of the curve is crucial. JavaScript has long been the go-to language for building interactive and dynamic web applications. However, with the rise of TypeScript, developers are presented with a powerful tool that enhances their coding experience and ultimately results in more robust and maintainable code.

**What is TypeScript? 🤔**
TypeScript is a superset of JavaScript that adds static typing to the language. This means developers can define types for variables, function parameters, and return types, providing a layer of predictability and catching potential bugs during development. While TypeScript code can be transpiled to JavaScript, its additional features make it an attractive choice for many developers.

**The Benefits of TypeScript 🌟**
**_1. Early Error Detection 👀_**
One of the primary advantages of TypeScript is its ability to catch errors at compile-time rather than runtime. This ensures that common mistakes, such as typos or incorrect function calls, are identified before the code is even executed.

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

**_2. Improved Code Quality 🚧_**
TypeScript promotes writing more maintainable and scalable code by allowing developers to define interfaces and custom types. This not only makes the code self-documenting but also facilitates better collaboration among team members.
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/3plfkldzc826c3g03z0u.png)
**_3. Enhanced IDE Support 🛠️_**
TypeScript's static typing enables powerful code completion, navigation, and refactoring capabilities in modern Integrated Development Environments (IDEs) like Visual Studio Code. This leads to a more efficient and enjoyable development experience.
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/gtengn1a3d8emqcmvjk6.png)
**Getting Started with TypeScript 🚗**
To start using TypeScript, you need to install it globally using npm:
`

```
**npm install -g typescript**
```
`
Create a TypeScript file (app.ts) and start coding:

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

Compile the TypeScript code to JavaScript:
`

```
**tsc app.ts**
```
`
Run the generated JavaScript file:
`

```
**node app.js**
```
`
**Conclusion 🎉**
In conclusion, learning TypeScript is not just a trend; it's a strategic move for web developers. By leveraging TypeScript's static typing, early error detection, and improved code quality, developers can create more reliable and maintainable applications. Embrace TypeScript, enhance your development workflow, and stay at the forefront of modern web development! 🚀