teleren/devto huggingface dataset:
Dual Boot Pardus Kurulumu Nasıl Yapılır?
Tags: dualboot, pardus, windows
Published: 2020-03-08 18:45:27

<p>UEFI olarak kurulan Windows yüklü bir bilgisayara Pardus yüklendiği zaman Windows'un GRUB önyükleyicisinde gözükmediği dolayısı ile Windows'un boot edilemediği görülmektedir. Bu durumda neler yapılması gerektiği aşağıda anlatılmaktadır.</p>
<p>Windows'u UEFI olarak kurarken yeni disk oluşturduğumuzda aşağıdaki birimler oluşur.</p>
![Alt Text](https://dev-to-uploads.s3.amazonaws.com/i/owf0anpmxrbyk08rgvr6.png)
<p>Ardından Windows işletim sisteminden sistemin yüklü olduğu diske birimi küçült diyerek kurulum yapacağımız diski seçebiliriz.</p>
![Alt Text](https://dev-to-uploads.s3.amazonaws.com/i/kensrdu4fepn694ddey6.png)
<p>Pardus kurulumu yaparken Windows'un oluşturduğu EFI alanı ortak kullanılmaktadır. Pardus kurulumunda sürücüyü elle biçimlendirirken kök dizin, home ve swap alanı oluşturursak kurulumu yapabiliriz. Disk biçimlendikten sonra aşağıdaki gibi olacaktır.</p>
![Alt Text](https://dev-to-uploads.s3.amazonaws.com/i/nhxzse5iw5kiphuz4tek.png)
<p>Swap alanı bilgisayarın belleğinin yetersiz geldiği durumlarda diskin belirli bir boyutunun bellek olarak kullanılmasıdır. Swap alanı boyutu olarak bilgisayarda takılı bir slottaki minimum bellek miktarı kadar boyut seçmek gerekmektedir.</p>
<pre>lsblk -l</pre>
komutunu kullanarak diskler hakkında bilgiye erişebiliyoruz. Buradaki önemli nokta EFI'nin yanında yazan 8 haneli ID'yi bulabilmektir. XXXX-XXXX formatında olan bu ID'yi verdikten sonra aşağıdaki configurasyon dosyasına ilgili yerlere girilmesi gerekmektedir.
<pre> 
menuentry 'Windows Boot Manager (on <mark>/dev/sda2</mark>)' --class windows --class os $menuentry_id_option 'osprober-efi-<mark>XXXX-XXXX</mark>' {
        insmod part_gpt
        insmod fat
        set root='hd0,gpt2'
        if [ x$feature_platform_search_hint = xy ]; then
          search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2  <mark>XXXX-XXXX</mark>
        else
          search --no-floppy --fs-uuid --set=root <mark>XXXX-XXXX</mark>
        fi
        chainloader /EFI/Microsoft/Boot/bootmgfw.efi
}
</pre>
<p>
Ayrıca yukarıdaki disk listeleme komutu ile Windows Boot Manager'in hangi isimle oluşturulduğu kontrol edilip yukarıda düzenleme yapılabilir. İşlemler tamamlandıktan sonra yukarıdaki ayarlar kopyalanır ve
<pre>nano /etc/grub.d/40_custom</pre>
dosyasına yapıştırılıp kaydedilir.
</p>
<p>
Daha sonra aşağıdaki komut ile GRUB önyükleyicisi güncellenir.
<pre>
sudo update-grub
</pre>
GRUB önyükleyicisi güncellendikten sonra aşağıda yolu belirtilen grub.conf dosyasınında güncellendiği görülecektir.
<pre>
cat /boot/grub/grub.cfg
</pre>
İşlem tamamlandı. Artık Pardus GRUB önyükleyicisinde Windows'unda olduğu görülebilir. Grub önyükleyicisi yukarıda yolu belirtilen conf dosyasından düzenlenebilir. Bu düzenleme işlemi için araçlar da mevcuttur. Örneğin grub-customizer uygulaması ile düzenleme işlemi kolaylıkla yapılabilir.
<pre>
sudo apt install grub-customizer
</pre>
</p>
Building Custom Voice Assistants
Tags: voiceassistant, programming, googleassistant, diy
Published: 2020-07-08 09:39:32

---
title: Building Custom Voice Assistants
published: true
date: 2020-03-08 18:41:33 UTC
tags: voiceassistant,programming,googleassistant,diy
canonical_url: 
---

[![](https://cdn-images-1.medium.com/max/2600/1*CUQ_QC5dWio8XiNpS95lxw.jpeg)](https://medium.com/better-programming/building-your-custom-voice-assistants-an-overview-of-the-current-solutions-and-integrations-d8db227a325?source=rss-a6a7a8202c31------2)

An overview of current solutions and integrations

[Continue reading on Better Programming »](https://medium.com/better-programming/building-your-custom-voice-assistants-an-overview-of-the-current-solutions-and-integrations-d8db227a325?source=rss-a6a7a8202c31------2)
Nevertheless, Kim Davis Coded
Tags: wecoded
Published: 2020-03-08 18:33:59

---
title: Nevertheless, Kim Davis Coded 
published: true
tags: shecoded
---
<!-- ✨This template is only meant to get your ideas going, so please feel free to write your own title & narrative! ✨ -->

I've been one of the lucky ones.  Rarely have I had to fight for equality or fight to achieve what is often handed to men.

More often than not, men (and women) have come along side me and pushed me forward in the several male-dominated fields I have chosen to spend my life pursuing.  This is something I will be forever grateful for, because I know that many women have had vastly different experiences than I have.

My challenge for you all, this International Women's Day, is that you do the same for the women in your lives.  Push them forward as they strive to achieve their dreams.  Believe in them, trust them, give them opportunities that others may not, challenge them in ways that will force them to grow.  You may never know the difference you might make in a woman's life.

<!-- Once your post is published, it will not appear on the /t/shecoded page until an admin approves it. This is an extra step to ensure there is no abuse on this important tag. -->
Ignoring performance
Tags: discuss, performance
Published: 2020-03-08 18:26:46

---
title: Ignoring performance
published: true
description: 
tags: discuss, performance
---

I see a pattern where developers ignore performance if it is not seen as an eminent problem.

Examples of this could be ignoring components re-rendering excessively because it's not a real performance problem yet for the targets user,  accepting that derived state is calculated unnecessary, having cookies/headers on requests that have no need for them etc.

From a business perspective this makes good sense.
There are usually better business gains elsewhere.

I also do this myself at work.

But 10+ browser tabs with these kinda of shenanigans going in them + other applications add up.

Especially when we start to consider mobile devices.

That leaves me wondering..

- Isn't this kinda of lying to our selves by only looking at best case scenarios? 
- When does this become too puristic?
- How could we mitigate this in a way that makes sense business wise?

Edit, extra question.
- How would we measure if this is a problem for users in a none-intrusive way?
Nevertheless, Ruth Coded
Tags: wecoded
Published: 2020-03-08 18:19:41

---
title: Nevertheless, Ruth Coded 
published: true
tags: shecoded
---

We women can be spread pretty thin when we split our focus between becoming even better at writing code, improving the world for under-represented developers, and dealing with an unfriendly status quo.  

## My advice for allies to support self-identifying women and non-binary folks who code is...

Help us find focus at work, by letting your friends and colleagues know what you think when they say something out of line, and/or by getting (more) involved in circles which support women and other under-represented groups at your workplace, such as Women's Societies.

:t-rex: Bonus tip: don't call a female peer a "clever girl" at a tech conference, unless she's a velociraptor & you're about to be lunch.
Nevertheless, Jenn Coded
Tags: wecoded
Published: 2020-03-08 18:17:38

---
title: Nevertheless, Jenn Coded 
published: true
tags: shecoded
---

In college, I applied a position as a teaching assistant for C/C++. My boyfriend at the time said I would never get it as I wasn't in the computer science program.

Nevertheless, Jenn Coded

An imagining lab need instruction guides and example projects for 3D deconvolution. I am not a microbiologist nor know the supercomputers well.

Nevertheless, Jenn Coded

It was the final day to submit a game to a small contest. It is 80s themed, so I make a quick text based game.

Nevertheless, Jenn Coded

My career as a chemist was stalling, I interview for a sysadmin position on a whim.

Nevertheless, Jenn Coded

I move states suddenly and am looking for work, I apply at midnight for a job as a engineer.

Nevertheless, Jenn Coded

I move back and am looking for work. I apply randomly to a job and the interview is my former team lead.

Nevertheless, Jenn Coded

I go to a wedding and sit at my assigned seat, a month later I'm a developer at the local University.

Nevertheless, Jenn Coded

Life have thrown me a lot of curveballs but...

Nevertheless, I coded.
I support women devs
Tags: wecoded
Published: 2020-03-08 18:13:58

*I want to be an ally* for self-identifying women and non-binary folks.

The approach to International Women's Day might vary around the globe, as cultures vary, but it surely feels strong. I celebrate this movement for equality and feel hopeful for a better future for all.

I've been absolutely schooled by extraordinary women that I admire, both in tech and in life. I've done my best to mentor and respect others around me as well, which I hope I may continue to do.

Happy International Women's Day if you're celebrating, and you can count with me in as an ally on your fight.
Deploy Angular app using Azure DevOps build and release pipelines

Tags: angular, azure, devops
Published: 2020-03-08 18:11:08


I have created my first YouTube channel video on How to use Azure DevOps services of version control, build and deployment for an Angular 8 app


{% youtube LwDYfL7mGfw %}

Dear community member, please give your valuable feedback and suggestion in the comments below to improve my future video.

Thanks for reading and possibly watching!
A Journey to Tech!
Tags: wecoded, womenintech, techcareer
Published: 2020-03-08 17:59:35

---
title: A Journey to Tech!
published: true
tags: shecoded, womenintech, techcareer
---
<!-- ✨How you get into tech? by force, suggested by someone else or accidentally by yourself?✨ -->
##How you get into tech? by force, suggested by someone else or accidentally by yourself?

## Okay, it’s not a problem. Whatever the reason is, you are in tech that means you have to do something new, innovative. Tech is another big thing which changes our day to day life. Try to solve a problem by working on something new or extending existing ones. 


##Let’s discuss mine!

## In the first practical of programming was writing a program for printing “Hello World”, I wrote a code with the help of the teacher. After getting output I asked my teacher why we have to write such lines of code just for printing hello world. And the teacher explained it to me. These kind of questions comes every time in my mind everytime. In the whole class everyone gets different errors, I get different errors! - Now the question is how? So, the reason behind this was a line of codes which I deleted from the program code. Same things happened with me for getting ideas. At the time of schooling we all write different types programs based on given problem. So, I thought where I can apply these things? - By comparing the applications/websites I used and programmed, I got an idea for an application to develop for solving a real life problem and the journey begins..!!

## So, if you are in tech then it’s a blessing. You have a whole world in your hand. Go and change it. The more you solve problems the more you become great. Work continuously and enjoy.

<!-- Once your post is published, it will not appear on the /t/shecoded page until an admin approves it. This is an extra step to ensure there is no abuse on this important tag. -->
Why I decided to pursue Software Engineering
Published: 2020-03-08 17:59:14

I haven’t always been interested in learning about technology and software engineering. Sure, I appreciated it for what it can do for me, but rarely thought of it as anything more than a tool to assist me in my daily life. It wasn’t until I volunteered in Mexico for a year that I saw how through technology I could impact other people’s lives and support social justice issues. 

I worked with Permanencia Voluntaria, a small non-profit archive that preserves films created by Mexican directors. While working for them I used Wix.com to create a webpage to help spread the word about its existence. It was a neat tool that allowed me to make a webpage through already established templates. I was proud of what I made, elated by the praise my boss gave me, and thrilled by the influx of support we received simply by having a bigger online presence. 

However I was frustrated by how boxed in I was with the tool and desired the freedom to be more creative with the design, but at the time I didn’t have the tools or knowledge to do anything more with it. It wasn’t until a few years later that I discovered Career Karma who directed me to all sorts of free online resources to learn how to code. Once I started dabbling in it, I started seeing and dreaming of the possibilities of how I could make webpages of my own design to fulfill the needs of a person or group.

I am excited to begin my journey to learn software engineering. It’s a field that will allow me to continuously learn, face challenges, and use problem solving to resolve those challenges. The web is an unimaginably powerful tool to spread knowledge and support social justice movements, and I can’t wait to be a part of it!
Using Typescript Generic Constraints to Restrict Function Arguments Based on Other Arguments
Tags: typescript, generics, javascript, stronglytyped
Published: 2020-03-08 17:30:15

---
title: Using Typescript Generic Constraints to Restrict Function Arguments Based on Other Arguments
published: true
description: Typescript Generics can be used in functions to constrain the types of other arguments provided to the same function. Let's explore this idea!
tags: typescript,generics,javascript,strongly typed
cover_image: https://dev-to-uploads.s3.amazonaws.com/i/u3mn7j7zq5mx6wrb0jmb.png
---

Typescript Generics can be used in functions to constrain the types of other arguments provided to the same function. Let's explore this idea!

# A simple use case

Let's say we want to create a function that sets the key of an object. A fairly simple task; we might write is in JavaScript as follows:

```javascript
function setObjectKey(obj, key, value) {
  obj[key] = value;
}
```

Then, in practice, we might use it like this:

```javascript
const person = {
  name: "Jorge",
  age: 22
}

setObjectKey(person, age, 23);
```

In doing so, we set the `age` property on the `person` object to the value `11`.

# Doing this with type safety

So how can we achieve type safety when performing this operation? Using Generics!

Using Generics, we'll specify that our object is of type `O`, the key is of type `K`, and the value must be of type `O[K]`.

```typescript
function setObjectKey<O, k extends keyof O>(obj: O, key: K, value: O[K]) {
  obj[key] = value;
}
```

Now, when we try to violate the type of a particular key, our Typescript compiler yells at us!

![Typescript lint warnings](https://dev-to-uploads.s3.amazonaws.com/i/u3mn7j7zq5mx6wrb0jmb.png) 

Hooray for failing faster with Typescript!
What's your Android Studio setup?
Tags: discuss, android, androidstudio, kotlin
Published: 2020-03-08 17:26:38

Hello fellow android developers, 
I'm curious how you configure your android studio IDE. From theme, icons, font and code style, what works best for your productivity and makes reading and understanding code easier? Do you wrap code at specific lenght or use default settings with ctrl + alt + L? What about custom loading bars?

Show off your setup and inspire other developers :D

Personally, I use One Dark Theme for IDE, default icons and some custom wrapping setting, but the greatest thing I installed is nyan cat progress bar. Here it is 
![Alt Text](https://dev-to-uploads.s3.amazonaws.com/i/lk608pn1k0tj0vlkdgj1.png)

Looking forward to your setups, ideas and tips!
How to integrate Azure functions with Azure Key vault 
Tags: azure, serverless, tutorial
Published: 2020-03-08 17:20:30

I've been working with Azure Functions for a few months now and I've really been loving how it can integrate with other Azure services. I was trying to figure out how to get Functions to work with Keyvault and couldn't find a video tutorial on it, so I decided to make one.

{% youtube p0zgKoxpu24 %}

I plan on creating more content around Azure, it's really great to share what I've been learning.


If you have ANY feedback at all please let me know in the comments below or reach out to me on socials

Thanks for reading and possibly watching!
I'm taking a break! Summary of my Life
Tags: watercooler, productivity, showdev, career
Published: 2020-03-08 16:31:00

Hi, 
  It's been a long day without you my friend and I'm back(but with a piece of bad news).

I started blogging and maintenance of social presence because I wanted some people to hear me, and wanted to tell the people of my presence and then get a fulfilling remote job here because it's not possible for me to get a local job. why? Reasons:
 - There are little to no jobs here(my city) and I can't travel.
 - I'm 15 yrs old so It's really hard to make social connections, and people here just believe that no one can learn from the internet. They want to see printed certificates from local institutes(money-burning machines) where they just teach bootstrap and then done.

I started blogging, and then I received so much love from the community and I didn't know in any way that I can earn the money from it by writing paid blog-posts. I wrote lots of articles, in the last 4 months and bought the first Laptop of my own money!!!!!!!!! 
{% twitter 1227271285505433600 %}

It's all going well, and now I have a powerful machine to work with and it's a 100% upgrade from my previous laptop. I also launched my official website/blog and secured my domain. 
{% twitter 1222505921668055048 %}

I have 240 organic followers on twitter right now and still counting, on DEV Its 13,690 followers and I know most of them are just automated followers(those who follow some people on sign-up(recommended by DEV))  but yeah it's good. I'll also start LinkedIn soon.

I'm also going to market myself on other platforms, and GitHub but the question is that why I'm not posting actively as I used to and why I'm not using the same strategy that made me grow so fast? Reasons: 
  - I'm not so productive + I got a perfect job

I'm not posting good quality content or content at all(I accept) cause I'm so busy in the rapid development of the product we're building, and we worked really hard(day/night) to get everything right. It's a big SaSS application to manage a rental business. We're working 5-7 hours/normal-day and 12-14 hours/weekend. 

I'm really loving the experience overall working with my seniors, and I think that's what I always wanted, so what does it mean? 
 I'm still really tired writing this article, but writing it just to let you know the situation. So I think I need some good sleep and think about this that what's important Passionate Job at Startup/Maintaining the social media and blogging.

I know what to do, I should not grab my growth down by myself and do it less but in a schedule like 80%/20% principle.  Now I'm just doing like 0.589% of myself.
80% = job
20% = myself

So I'm taking an official break because of my school exams for 9th class, not because of the startup that was an unofficial break(bug in my schedule). I will also take 3 days off from a startup on Biology/Chemistry. This will be the longest break in the last 3 months.


So Let me know your thoughts...
How I get into “The Zone”
Tags: discuss, productivity
Published: 2020-03-08 16:15:26

---
title: How I get into “The Zone”
published: true
description: Do you have a morning ritual? Share with us!
tags: discuss, productivity
cover_image: https://dev-to-uploads.s3.amazonaws.com/i/8j1m5m4j9biz86f6aw33.jpg
---

<i><a href="https://unsplash.com/@shootbyteo?utm_medium=referral&amp;utm_campaign=photographer-credit">Photo by Matteo Di Iorio  on Unsplash</a></i>

For those who don’t know, "the zone" refers to a mental state where one’s focus is solely on their craft and they can produce some of their best work.

The way I get into the zone is pretty simple, so I thought I’d share.

### The right setting ⏰

After I’ve arrived at work and had my daily standup meeting with the team, I usually don’t have any meetings scheduled for a couple hours. Perfect time to get in the zone!

### Caffeine ☕️ (usually but optional)

I get a cup of coffee and start sipping as I go through my email, after about 15 minutes I'm finally awake for the first time.

### Meditation 🧘🏾‍♂️ (critical!)

This is necessary for me because at the start of the day, I'm a little stressed about what needs to be done and in general have too much going on in my head.

It helps me to write one or two tasks I intend to accomplish that morning and then meditate to clear my mind of everything.

I put on headphones and listen to a guided meditation on [headspace.](https://www.headspace.com) I need a minimum of 10-15 minutes before my body is relaxed, and my mind has calmed down.

Once all that's done, I'm instantly in the zone. My to-do list is in front of me and I burst into action!

What's your morning routine like? How do you get in the zone?
Following my Passion
Tags: wecoded, womenintech
Published: 2020-03-08 15:40:40

After ~15 years of experience as a developer I still love coding!

The things I'm most passionate about are high quality and clean code as well as automation.

It all started with my interest in "beautiful code". How can I make my code pretty? Soon I learned about Clean Code and Software Craftsmanship. I read "Clean Code", "The Clean Coder", "The Pragmatic Developer", and all related books. I practised TDD and pairing, did a lot of code katas, attended various meetups to learn more and more. I got to know a lot of different frameworks and played with other programming languages.

But "Clean Code" wasn't enough. I didn't wanted to make "just" the other developer happy when they had to maintain my code. I also wanted happy users and happy stakeholders like ops, QA persons and product owners. I'm interested in the deployment process, in logging and monitoring. How to automate all steps in the build process, how to work efficiently with VCS. How can we debug and troubleshoot the application. How happy are our users? Do we really build the software they need or just something we assume is a cool thing to build? What tests do I need, how can I automate testing. All in all I want to deliver high quality to everyone who comes in touch with the product I'm working on.

After all these years, I still strive for deliver excellent code. Clean, easy to maintain, high quality and exactly what the user needs. Something that sparks joy!

Because I never loosed my passion, I'm still on my journey and I'm still happy to be a developer. There's still so much more to learn!

And my journey continuous...

## My advice for all self-identifying women and non-binary folks is...

**Do what you love!** If you find yourself being in a toxic environment: LEAVE! (The tech industry is awesome: There are so much jobs! You will find a company/job where you feel at home!) There are places which are not toxic!

And don't miss out on career opportunities because you plan to have a family in the future. It is possible to have both: the job you love **and** a family.

If you feel like an imposter (I still do): **Ask people for feedback**. You'll learn what people value about you and how other people see you. 

**Share your story**: I love reading about the journey of other developers and I'm sure I'm not the only one. Every role model is helpful! Encourage others to follow their passion!