teleren/devto huggingface dataset:
Advice needed... How is your Software Development Process/Cycle?
Tags: help, devops, startup
Published: 2020-03-21 17:10:40

---
title: Advice needed... How is your Software Development Process/Cycle?
published: true
description: I need help in understanding how to develop software and how to implement methodologies in a small business.
tags: #help #devops #startup
---

Hello, I'm a software engineer student, I started a small software consulting/developing company almost two years ago, we started as 3 partners who did the programming and designing of the products our clients asked us for (mostly web apps), but as we received more clients we started hiring more people. 
We are 6 persons in the team, the problem is that we have problems in the software development methodoly, since we dont have something well established, we define features and we have 1 week to deliver one feature, (like a scrum sprint), then we have a meeting about the progress and the next steps. But we dont document what is it really what we are going to do... like tests, components, interfaces, this makes the quality of our code and delivery times look bad. I started learining devops to help automate the development to production process, and started investigating how to integrate QA in the process, but I feel lost I dont know how to integrate it all together, how to document all the project before we start to coding. In my univesity classes they teached me UML for modeling classes, components, case uses, etc.. But I feel that they are used for other technologies, like php and java apps. Where we work mostly with React web apps with an Express js REST Api and a MySQL database.

So my question is: How do you organize/apply all of the software development process in your work/bussiness/professional life? Do you have any recomendations on courses/book for this type of area in the software development business.

Thanks.
package.json copy file in Windows
Published: 2020-03-21 16:51:14

---
title: package.json copy file in Windows
published: true
description: 
tags: 
---

Hi, 
I'm currently trying to setup a boilerplate for my web projects.
But somehow I can't figure out, how to write a script in my package.json that copies a file from the node modules folder to my public folder.

Windows probably has problems with the slash? 
I'd be great if the solution could be compatible to macOS and windows since I use both. 


```
"copyVue": "cp node_modules/vue/dist/vue.js public/app/js/vue.js"
```

Thank you!
Samba DC dağıtımlara göre sürümler
Tags: samba, domain, dagitim, surum
Published: 2020-03-21 16:48:41

Samba DC kullanmak için iki farklı yönteminiz var. Bunlardan birisi dağıtımların paket deposundan kurulumu. Diğeri ise kendinizin güncel sürümü derlemeniz ve derlediğiniz kodu sisteme eklemeniz. Aslında üçüncü bir yöntem de var. Eğer gerçek ortamda derleme için gereksinim duyduğunuz paketleri de bırakırsanız daha sonrası için olası güvenlik riskleri de barındırdığınız için üçüncü yöntem olarak bu yöntemi kesinlikle önermiyoruz.

Bugün ilk yöntem olan dağıtımların paket depolarından kullanımı konusu hakkında birkaç şeyden bahsedeceğim. Öncelikle bugün yazdıklarımı yazdığım tarih itibariyle yani 21 Mart 2020 tarihi ile değerlendirmek gerekiyor.

İçerik olarak Centos 7, Centos 8, Debian 10, Debian 11 (testing), Debian Sid, Fedora 30, Fedora 31, Fedora Rawhide, OpenSUSE 15.1, OpenSUSE 15.2, OpenSUSE Tumleweed ,Ubuntu 18.04 ve henüz duyurulmamış Ubuntu 20.04 sürümü ile kullanılan paketlerle ilgili bilgi vereceğim.

Öncelikle Samba geliştiricileri 3 Mart 2020 yılında güncel olarak **4.12.0** sürümünü duyurdular. 4.11.x serisi ise 10 Mart 2020 tarihinde **4.11.7** sürümüne ulaştığını belirtmek isterim.

Şimdi dağıtımlara göre samba sürümlerini inceleyelim.

*****

## Centos

### Centos 7:
* samba-4.9.1-6.el7

### Centos 8: (BaseOS deposu)
* samba-4.10.4-101.el8_1
* samba-4.9.1-8.el8

*****

## Debian

### Debian 10: (kararlı)
* samba-4.9.5+dfsg-5+deb10u1

### Debian 11 (testing):
* samba-4.11.5+dfsg-1

### Debian Sid (kararsız)
* samba-4.11.5+dfsg-1+b1

*****

## Ubuntu

### Ubuntu 18.04
* samba-4.7.6+dfsg~ubuntu-0ubuntu2.15

### Ubuntu 20.04
* samba-4.11.6+dfsg-0ubuntu1

*****

## Fedora

### Fedora 30
* samba-4.10.2-0.fc30

### Fedora 31
* samba-4.11.0-3.fc31

### Fedora Rawhide
* samba-4.12.0-5.fc33.1

*****

## OpenSUSE

### OpenSUSE 15.1
* samba-4.9.5+git.149.9593f64a5c3-lp151.1.1

### OpenSUSE 15.2
* samba-4.11.5+git.123.a7233352c28-lp152.1.1

### OpenSUSE Tumbleweed
* samba-4.11.6+git.120.e474a78db08-1.2

*****

Özetle Fedora'nn deneysel sürümü olarak kabul edilecek Rawhide deposu dışında hiçbir dağıtım deposu 4.12.x sürümüne geçmemiş. 4.11.x sürümü için ise en güncel sürümü Ubuntu 20.04 ve OpenSUSE Tumbleweed sunuyor. AMa hiçbirisi 11 gün önce çıkmış olan 4.11.7'nin güncel halini barındırmamakta.
How I'm taking the #100DaysOfCode challenge
Tags: 100daysofcode
Published: 2020-03-21 16:43:22

So last year I decided to join the [100 days of code challenge].

It did not go as expected :no_mouth:

I did it for a week and stopped altogether. 100 days seemed really intimidating at the time. After an invitation by a friend to take the challenge together, here I am doing it again, this time... a little bit differently.

I realize the main reason I failed the last time was because I did not hold myself accountable. Therefore, I'm going to be documenting my journey through blog posts. For every 10 days, I'll be summarizing everything I've done and what I've learned, an idea I got from Sarah Bartley's post.
{%  link https://dev.to/theoriginalbpc/100-days-of-code-first-10-days-of-round-two-4gfj %} 

__*What will I be doing for the 100 days? :thought_balloon:*__

![batman thinking](https://media.giphy.com/media/a5viI92PAF89q/giphy.gif)

This was the hardest part!

After scouring the internet for ideas and checking out what other people have done for the challenge, I have finally settled on doing the [freecodecamp ](https://www.freecodecamp.org/learn) take-home projects. I chose these projects mainly because they have clearly defined instructions and did not want to spend time creating my own problems then solve them. The projects also have already written tests which will be helpful in determining if my projects are working as required. 

__*The PLAN*__:sunglasses:

**Start Date**: Saturday,21st March 2020
*step 1*: Fork this github repo
{% github https://github.com/Kallaway/100-days-of-code %}
*step 2*: Commit progress to the log.md file.
*step 3*: Code for at least an hour each day.

**Sidenote**: *My mentioned :point_up: friend and I have a WhatsApp group where we'll basically be updating our daily progress - to keep ourselves accountable.*

__*Conclusion*__

This is my first post on this journey. The next will be after 10 days into the 100 days.
Hopefully, I'll make it to then:smile:.
100daysofcode Flutter
Tags: 100daysofcode, flutter
Published: 2020-03-21 16:29:46

day 12/100 of #100daysofcode #Flutter
Belajar Flutter , dari kursus Udemy from
@maxedapps

learn about Key, UniqueKey, ValueKey, when to use the Keys
https://github.com/triyono777/100-days-of-code/blob/master/log.md
Quarantine Project: DIY Laptop Stand
Tags: workstations, productivity, watercooler, remote
Published: 2020-03-21 15:57:30

Some of us are under quarantine, and a lot of people are trying remote work for the first time, likely on laptops and with a posture like this:

![Alt Text](https://dev-to-uploads.s3.amazonaws.com/i/aoe2ka5r9e152xdaeilr.jpg)

Owch!

## Inspiration

I was sitting at home with a sore neck after a full day of work, spotted a cardboard box hiding in the corner, and inspiration (and boredom) struck!

![Alt Text](https://dev-to-uploads.s3.amazonaws.com/i/yavc9h6aokubn8pfro41.jpg)

All this time at home is a good opportunity to save your neck and upgrade your workstation in a free and zero-waste way: by building a laptop stand out of cardboard and glue!

A quick search leads to [some steps to follow online](https://www.instructables.com/id/Cardboard-Laptop-Stand-2/), but feel free to play around and see what you can make, just make sure it's very stable. I went with my own design to raise it up higher and included some support on the inside to prevent it from falling to the side.

![Alt Text](https://dev-to-uploads.s3.amazonaws.com/i/gtfjyb2hilmh1tdcjy72.jpg)

I'd love to see what other people are able to make to upgrade their remote working situation!
Don't do Agile - be agile.
Published: 2020-02-25 14:54:04

Cargo culting is defined as "an approach that copies an existing successful approach without properly analysing and understanding it."

I've seen way too many places cargo-culting Agile and ending up in what is normally called "Agile Theatre". 

If you are just starting with Agile, or going through a transformation from Waterfall, be as little dogmatic as possible about which approach to follow.

Be careful about involving experienced, long-time Agile practitioners into an inexperienced team.

Don't let experts impose rules (or, even worse, "ceremonies") that nobody fully understands.

Teach your team what being agile really means, instead: what advantages and what disadvantages.

Start simple; then increase complexity if and when the team is ready to digest it.

Remember: there's no obligation to adopt Scrum. There's no obligation to adopt Kanban. Just let whatever works in your place mature as a process - don't even give it a name. Stick to whatever way of working enables you to be truly agile and produce the value you want and need.

Beware of Agile - be agile instead.

Remember that those big Agile gurus out there, who keep writing books and selling courses, have a vested interest in promoting Scrum or Kanban, or whatever other Agile paradigms. They have often set up a company that makes money off that. Not all of them are malicious but, ultimately, they don't care about what's best for you; they care about what's best for them.

Abandon the word "ceremonies".

Ditch estimates if you can: http://noestimates.org/blog/
How many bits do you need to store 9007199254740992 different values?
Tags: javascript, codenewbie, discuss, computerscience
Published: 2020-03-21 15:23:25

I'm proposing below 2 small exercises to practice your understanding of binary numbers.

Please leave your answers in the comments:

Exercise 1:
![Alt Text](https://dev-to-uploads.s3.amazonaws.com/i/qw72gs1q7fgu8svrn4qb.png)

Exercise 2:
![Alt Text](https://dev-to-uploads.s3.amazonaws.com/i/i0u0sz29wh5w1amzvo4j.png)

Have fun!
Want a Free Gatsby Theme for your Blog? Use and Modify My Personal Theme
Tags: react, gatsby, beginners, javascript
Published: 2020-03-21 15:03:32

Hi Everyone,

I will like to motivate my fellow beginner developers by sharing my personal Gatsby theme for use and modification. 

While I have gained a lot here, I'm glad to contribute a token. 

This Gatsby site is based on React library and GraphQL. Though the blog post content comes from Markdown filesystem, I have a couple of resources that will help you [source content from CMS like contentful](https://ibaslogic.com/blog/gatsby-with-contentful-cms/). 

I believe this theme is not too complex for a basic Blog site.

If you like the fluidity but don't know where to start, I have you covered.

Start here:

[Learn to write React code from scratch](https://ibaslogic.com/blog/react-tutorial-for-beginners/).

[Gatsby tutorial from scratch](https://ibaslogic.com/blog/gatsby-tutorial-from-scratch-for-beginners/).

Once you are comfortable with that, modifying this theme will be a piece of cake.

[Theme source code on GitHub](https://github.com/Ibaslogic/Ibaslogic)

#### [View site here](https://ibaslogic.com/)

For senior developers that beginners like myself look up to, please I will like to hear your feedback.

Thanks.

If you have any question, I will be happy answering them.

#### PS: I will be sharing my awesome project to motivate beginners. Be sure you [follow me on Twitter](https://twitter.com/ibaslogic) so you don't miss out.
  
<br />
What is Helm in Kubernetes? 🤷🏻‍♂️
Tags: kubernetes, devops, tutorial, docker
Published: 2020-03-21 15:02:29

Probably you already heard of Helm and Helm Charts when using or learning Kubernetes.

**But what is Helm and a Helm Chart exactly? When and how to use it? And why it's so popular? 🤔**

In this video I'll explain exactly that - the main concepts and features of Helm, ***the package manager of Kubernetes***. 

Overview of topics I cover:
- Package Manager and Helm Charts
- Templating Engine
- Use Cases for Helm
- Helm Chart Structure
- Values injection into template files
- Release Management / Tiller
- Downsides of Helm

{% youtube -ykwb1d0DXU %}

-----------------

I'm happy to connect with you on 🙂
- [Twitter](https://twitter.com/Njuchi_)
- [YouTube](https://www.youtube.com/channel/UCdngmbVKX1Tgre699-XLlUA?sub_confirmation=1)
- [Instagram](https://www.instagram.com/techworld_with_nana/)
Golang Jobs in Singapore
Tags: go
Published: 2020-03-21 14:53:49

I'm developing a micro-site built with React and Ant Design to aggregate/curate Golang Developer or Engineer jobs here in Singapore. I also used Go for the data gathering.  
  
The site has Golang Developer or Engineer roles and also Go-related jobs like Software Engineering Manager roles, DevOps, Site Reliability Engineers, Data Engineers, which require Go knowledge or experience. Job posts are from different job sites here in Singapore. The site only shows titles and summaries of the job openings and will always link to the original job post where you can apply or send your resume to. The purpose of the site is to have one place to search for a Go developer role. This has been a challenge for me before and I thought that this is something which will be useful to those looking for Go-related jobs here in Singapore.  
  
So far, the site has job postings from Indeed, LinkedIn and JobsDB, the more popular job websites here. I'll be adding more when I have time.  Hope it is useful to those looking for golang work here in Singapore. I haven't bought a domain and do proper styling though and I'm still finalizing some ideas on how to proceed with it. Any feedback or ideas are greatly appreciated.   
  
Check it out here!   
[https://golang-jobs.now.sh/](https://golang-jobs.now.sh/)

You can bookmark this blog post since I might change the link to a proper domain.  Would love to know if it helps!
JPA ManyToOne Exception
Published: 2020-03-21 14:27:26

I have the following entities:

@Entity
@Table("table_x")
public class X{

@Id
@GeneratedValue(strategy = GenerationType.IDENTITY)
private Long id;

@ManyToOne
private Y y;
}

@Entity
@Table("table_y")
public class Y{
@Id
@GeneratedValue(strategy = GenerationType.IDENTITY)
private Long id;

}



@Repository
public interface XRepository extends JpaRepository<X, Long>, JpaSpecificationExecutor<X>{
@Query(value= "select x.* from X x where x.y in :yList")
List<X> getX(List<Y> yList);
}

when trying to call getX from XRepository while table_y is empty it throws:
Method threw 'org.springframework.dao.InvalidDataAccessResourceUsageException' exception.

could not extract ResultSet; SQL [n/a]

if table_y has records in the database, everything works fine
Unique Gift Ideas for Valentine’s
Published: 2020-03-21 14:26:25

Valentine’s Day, as we all know, is the day of love but more than that, it’s a day of brainstorming. Yes, that’s right. Valentine’s Day can be a romantic movie for you if you have a splendid gift for your partner. But if you have no idea about the gifts on valentine’s day then it’s almost a horror-thriller type situation. Suddenly, you start believing in Harry Potter’s wand or Aladdin’s Genie and wish you had those for a day.

But don’t you worry, we’re here for you. This may not be a magical spell but it’ll nevertheless solve all your problems related to Valentine’s Day gifts. Here are some unique valentine’s day gift ideas to make your partner feel lucky to have you in their lives.

Read More: <a title="Fab Newz Lifestyle" href="https://fabnewz.com/lifestyle/">Fab Newz Lifestyle</a>
Non-Violent Code Reviews
Tags: codequality, review, communication
Published: 2020-03-21 14:10:00

To offend somebody is pretty easy, even in code reviews. To criticize somebody without hurting feelings can be hard.
This article shall help to do code reviews without insulting others.

# Don't use strong language 💥

To don't use strong language should be normal for people working in professional environment. Sadly this is not the case every where.
But this should be avoided at any price, even if it is used in a sarcastic way.
Watch out! Using sarcasm is always an indicator that something is wrong in the communication.

# Stop asking rhetorical question 💭

Don't ask rhetorical question nobody can answer.
Especially if you are angry: "And that's why you also changed it without telling anyone what would happen?"
There are not many people out there that do something bad on purpose.

Ask them what happened to lead to the current situation and don't ask questions nobody can answer.
 
# Separate the work from the person 🗄️

"You changed the dependency..."
A comment that we all may know. The problem is using "you" will always implicate that the person did the change on purpose.

Criticize the work without talking with person directly.
Instead of using "Your changes..." say "These changes..." or "You should make..." to "What do you think about changing to...". Don't hesitate to use more words, even it costs you more time. Hurting people for a faster code review as never worth it. Take your time to find words that try to separate the work from the person.

Giving reviews is about motivating people. Review and criticize people is hard, not many people like to critizes others. Most of us work in teams and we have to work with them for a long time and nearly everyday.

Try to avoid using "Bob changed this code because..." and try to involve others: "This code was changed because...".

Be nice, you will realise how a positive communication jumps over to other people.

# Talk like a team 👥

We all work in teams. Even solo developers need to communicate with others.

In reviews try to include everybody:  Instead of saying "You should change it to ... " say "We should change it to ...".
And try to start discussions by asking for opinions "What do you think?".
The reason to ask for feedback is to realize how other people thing and the best thing is you can learn
new things, by asking for feedback.
And one bonus point people love to be asked about stuff they know something about.

# Appreciate the work 🙏

People supposed to their job, but it does not always match with the expectations.
Maybe its the best the person could do at the current state of knowledge. Maybe this knowledge is missing? And maybe you are the first person who could help? How awesome is that.

Try to lift people the best version of themselves. And try to appreciate the work they did so far.

# Praise good work 🎖️

Good work is not a matter of course. If they made a great job: Tell them, nobody else will.



That's it for it moment.
What about you?
What do you think can help create better code reviews?
Did you are your experiences so far?
Daily Challenge #210 - Separate Capitalization
Tags: challenge
Published: 2020-03-21 14:08:10

---
title: Daily Challenge #210 - Separate Capitalization
published: true
series: Daily Challenge
description: Capitalize even and odd indexes separately
tags: challenge
---
Given a string, capitalize the letters that occupy even indexes and odd indexes separately, and return as shown below. Index 0 will be considered even.

For example, `capitalize("abcdef")` = `['AbCdEf', 'aBcDeF']`. The input will be a lowercase string with no spaces.

####Tests
capitalize("dev")
capitalize("method")
capitalize("hello")

Good luck!

***
_This [challenge](https://www.codewars.com/kata/59cfc000aeb2844d16000075) comes from kenkamau on CodeWars. Thank you to [CodeWars](<https://codewars.com/>), who has licensed redistribution of this challenge under the [2-Clause BSD License](<https://opensource.org/licenses/BSD-2-Clause>)!_

_Want to propose a challenge idea for a future post?  Email **yo+challenge@dev.to** with your suggestions!_
LINQ Nedir?
Tags: linq, csharp, csharplanguage, programming
Published: 2020-12-26 10:28:13

---
title: LINQ Nedir?
published: true
date: 2020-03-21 13:30:41 UTC
tags: linq,csharpprogramming,csharplanguage,programming
canonical_url: 
---

LINQ; açılımı **Dil Tümleşik Sorgu (Dile Entegre Edilmiş Sorgu)** olan, Microsoft tarafından kullanılan ve C # 3.0 ile hayatımıza giren farklı veri kaynaklarından sorgulama yapabilmemize imkan verir.

LINQ, koleksiyonlar, ADO.Net DataSet, XML, SQL Server, Entity Framework ve diğer veritabanları gibi farklı veri kaynağı türlerinden veri almak için oluşturulmuş bir sorgu söz dizimidir. Alttaki görsel durumu daha net anlatacaktır.

![](https://cdn-images-1.medium.com/max/758/1*7WfjMtko6cB9Gx2ynR4mOQ.png)

LINQ’da iki farklı söz dizimi mevcuttur.

- **Sorgu Sözdizimi** (Sorgu söz dizimş) -> from ile başlar.
- **Yöntem Sözdizimi** (Metot söz dizimi)

Eğer daha önce SQL komutları yazdıysak, Sorgu Sözdizimi yordamı bize hiç de yabancı gelmeyecektir. Küçük bir örnek ile iki söz dizimini inceleyelim.

```csharp
		// Veri Kaynağı (Bu veri yukarıda basettiğim gibi her hangi bir yerden sağlanıyor olabilir.)

		int[] sayilar = new int[] {5,4,1,3,9,8,6,7,2,0};

		// LINQ sorgusu -> QUERY SÖZ DİZİMİ
		var kucukSayilar1 = from sayi in sayilar
		where sayi < 5
		select sayi;

		//LINQ sorgusu -> METHOD SÖZ DİZİMİ (Bayılırım 🙂)
		var kucukSayilar2 = sayilar.Where(x => x < 5);

		// Yazılan sorguyu kullanma
		foreach(int sayi in kucukSayilar1) {
		  Console.WriteLine(sayi);
		}
```

LINQ ile tanıştığımıza göre , kullanım pratiklerini iyice kavrayabilmek adına GitHub’ta ki dersleri indirip satır satır okuyabiliriz. Aşağıda ön görünümü olan desleri indirebileceğiniz [**link**](https://github.com/hakanyalitekin/LINQ).

![](https://cdn-images-1.medium.com/max/455/1*Ft1siwj-FUbzZtSNy5U9kg.png)
Custom event tracking with ActiveSupport::Notifications and Audited
Published: 2020-03-21 13:57:40

Link: https://blog.joshsoftware.com/2020/03/21/custom-event-tracking-with-activesupportnotifications-and-audited/

When it comes to logging or tracking changes in Ruby on Rails models, We typically tend to use either paper_trail or audited gems as these are most popular and widely used gems in Ruby on Rails applications for tracking changes in Rails models, but what if you want to track the custom events on controller level(like following) in addition to model changes?