teleren/devto huggingface dataset:
Running a user group
Tags: community, meetups
Published: 2019-05-27 09:23:06

---
title: Running a user group
published: true
description: Make you sure turn up to meetups when you RSVP
tags: community, meetups
---

The tech community is one of the most active communities for meeting outside of the work place, the carry on talking about what we do in the work place. It's crazy! As a group of individuals we look forward to these events, we mark them in our calendars and clear our schedules (sometimes).

This post is to highlight and celebrate those who take the time and make the effort to organise these events. We turn up, drink the beer and await our evenings entertainment. We do this without even thinking of all the work and effort that has been put in to make this event even possible.

As a user group organiser myself, I know how difficult it can be to get one of these simple 3 hour events put together. Not to mention never being the one to enjoy the talk, last one in the queue to get a slice of pizza, getting there early and leaving late. I spend a vast majority of my month begging speakers to do talks for free, and trying to find the best topics that my user group will enjoy. Countless hours each month go into this, all for a 3 hour session I cannot actively enjoy. I post on Twitter trying to get as many people aware of the amazing talks I've managed to get, all in the hopes of more RSVPs to the event.

All the blood, sweat and tears that go into an event to try and entertain as many people as possible, and then the night of the event. As a user group organiser I use the general rule of 20% of people who RSVP will not turn up, which is a hard pill to swallow. Plans change and people have lives, nobody can argue with this fact. However, the next time you RSVP to a meetup you have no real intention of attending, take a moment to think of all the hard work and effort that went into putting it on in the first place.
Angular Dynamic Menu using Material design
Tags: angular
Published: 2019-05-27 08:48:17

I want to create a dynamic menu, where the data is fetch from database for instance. Here is the https://stackblitz.com/edit/angular-dmenu project 

In the dynamic-menu.component.html in the StackBlitz project there are the dynamic solution and the static solution(that is commented). 

The static solution should be how the dynamic solution will be rendered after executes. 
If i just run with the static solution(uncomment and commented the dynamic) everything runs as expected, but if i try with the dynamic solution the menu does not work as expected (the main buttons stays on top of each other and the submenus do not display and work properly). 
Is this related with how ng-template affect the CSS styles ? 
Looking through Chrome developer tools i am able to see that the class="mat-menu-item ng-star-inserted" attribute in the dynamic version is added to the button for instance and this does not happen in the static version. I have try everything but i can not get it why is this happening. And how can i fix this. I am new to Angular but i want really understands how the frameworks works 

Thanks in advance 

Best regards
Web Application Frameworks
Tags: webdev, node, discuss, ruby
Published: 2019-05-27 08:09:21

---
title: Web Application Frameworks
published: true
description: The best Web Application Frameworks
tags: webdev, node, discuss, ruby,
---

A web application framework is a software framework designed to aid and alleviate some of the headache involved in the development of web applications and services.

-   [Ruby](http://rubyonrails.org/): Ruby on Rails is a web application framework that includes everything needed to create database-backed web applications, with the MVC pattern.
-   [AngularJS](https://angularjs.org/): Lets you extend HTML vocabulary for your web application. AngularJS is a framework, even though it's much more lightweight and sometimes referred to as a library.
-   [Ember.js](http://emberjs.com/): A framework for creating ambitious web applications.
-   [Express](http://expressjs.com/): Fast and minimalist web framework for Node.js.
-   [Meteor](https://www.meteor.com/): Full-stack JavaScript app platform that assembles all the pieces you need to build modern web and mobile apps, with a single JavaScript codebase.
-   [Django](https://www.djangoproject.com/): High-level Python Web framework that encourages rapid development and clean, pragmatic design.
-   [ASP.net](https://www.asp.net/): Free, fully supported Web application framework that helps you create standards-based Web solutions.
-   [Laravel](https://laravel.com/): A free, open source PHP web application framework to build web applications on MVC pattern.
-   [Zend Framework 2](http://framework.zend.com/): An open source framework for developing web applications and services using PHP.
-   [Phalcon](https://phalconphp.com/en/): A full-stack PHP framework delivered as a C-extension.
-   [Symfony](http://symfony.com/): A set of reusable PHP components and a web application framework.
-   [CakePHP](http://cakephp.org/): A popular PHP framework that makes building web applications simpler, faster and require less code.
-   [Flask](http://flask.pocoo.org/): A microframework for Python based on Werkzeug and Jinja 2.
-   [CodeIgniter](https://www.codeigniter.com/): Powerful and lightweight PHP framework built for developers who need a simple and elegant toolkit to create full-featured web applications.

If I anything forgot to add in this list just comment below.
A small question to make a big improvement in your meetings
Tags: dailywriting
Published: 2019-05-29 18:58:23

---
title: A small question to make a big improvement in your meetings
published: true
tags: daily-writing
canonical_url: https://marcusblankenship.com/a-small-question-to-make-a-big-improvement-in-your-meetings/
---

Today I held a videoconference discussion with 14 people. It was the first of seven weekly discussions we do in the Software Leader Seminar

After the quick introductions, I asked this small question, _“In many meetings, I find that only some people talk, and others are silent. What guides could we invent so that everyone can fully participate?”_

Then, as a group, we came up with some guides/agreements we wanted to experiment with in our meetings

**I wonder what would happen if you asked that question at the beginning of your next meeting.**

Yes, it took some time to discuss… but given how much time we spend in meetings, wouldn’t it be great if they were less… dreadful? ![🙂](https://s.w.org/images/core/emoji/11.2.0/72x72/1f642.png)

### The guides invented by this group

Today the group invented ten guides they want to try out in our future calls:

1. We will raise our hand, or unmute our mic, to indicate that we wish to speak
2. We will leave space for others to speak before talking
3. We give others permission to tell us that we’re talking too much, so others voices can be heard
4. When we are curious about what someone is thinking, we will ask them for their ideas
5. Participation comes in many forms: listening, thinking, talking, nodding, giving thumbs-up, smiling, using the chat, etc.
6. Participation is always optional
7. When we are done speaking we’ll say “over and out” or “I’m done”, which passes the conversation back to the group
8. We will quickly review these agreements at the beginning of each meeting
9. Every few sessions we will ask “are these still working for us”?
10. We can add/change/remove agreements anytime we wish because they are ours

I never know what guides people will invent, but this list is a wonderful place to start.

**More importantly, these are not “rules” imposed by a “leader” or “teacher”.**

They represent the group’s choices.

The group owns them, so the group can change them at any time.

Does your group have guides to ensure everyone can contribute in meetings?

What magic could happen if you asked that small question in your next meeting?

Write me back, I’d love to hear!

Best,  
Marcus

The post [A small question to make a big improvement in your meetings](https://marcusblankenship.com/a-small-question-to-make-a-big-improvement-in-your-meetings/) appeared first on [Marcus Blankenship](https://marcusblankenship.com).
Packages and the importance of “main”
Tags: beginners, tutorial, go
Published: 2019-05-27 16:32:50

---
title: Packages and the importance of “main”
published: true
tags: beginners, tutorial, help, go
canonical_url: https://www.codetips.co.uk/languages/go/packages-and-the-importance-of-main/
---

 ![Packages and the importance of “main”](https://images.unsplash.com/photo-1474625121024-7595bfbc57ac?ixlib=rb-1.2.1&q=80&fm=jpg&crop=entropy&cs=tinysrgb&w=1080&fit=max&ixid=eyJhcHBfaWQiOjExNzczfQ)

In the [previous article](https://www.codetips.co.uk/languages/go/writing-your-first-go-programme/), where you created your first Go programme, we ended with the following code: 

<!--kg-card-begin: code-->
```
package main
import "log"

func main() {

    // Start of our code
    
    var name string = "Simon"
    var age int = 29
    var profession string = "Developer"
    log.Println("Welcome to my first Go programme.")
    log.Printf("My name is %s", name)
    log.Printf("I am %d years old", age)
    log.Printf("I work as a %s", profession)
    
    // End of our code

}
```
<!--kg-card-end: code-->

We focused on declaring variables, using them in sentences, and outputting them to the terminal, but there were two important concepts that we didn’t explain.

## Packages

Go is made up of internal and 3<sup>rd</sup> party packages. Internal packages are part of the Go installation, whereas 3<sup>rd</sup> party packages are developed by the Go community and have to be installed separately. Installing 3<sup>rd</sup> party packages is not in-scope of this article.

Packages allow developers to organise and reuse code, and can be used in your programme by “importing” them.  In the above example we imported an internal package called `log`, which contains a number of functions that can be used to output to the terminal; we made use of two of these functions – `Println` and `Printf`.

<!--kg-card-begin: code-->
```
import “log”
```
<!--kg-card-end: code-->

Developers can develop their own packages and name them using the `package` declaration on the first line of the file. We’ll explore this in a future article.

# The importance of “main”

You may have noticed that our example above had the word `main` in two places; the package name and the function name.

When you run a Go programme ( `go run main.go` ), it looks for an entry point (where it should start running the code from) by first finding the main package, then the main function and running the code in it.

If you changed either the package name or the function name, the compiler would throw an error.

We also called our file `main.go`, but in reality you could name it anything.

We've now set-up a new Slack community to help people in more real-time. You can join us [here](https://join.slack.com/t/realcodetips/shared_invite/enQtNjQyNTg3MTM3MzAxLTc3ZmUzMDRmMzViNTUxZDdjOGVmMDM0YzVlYzI3ZGQ4NzM3ZWE2ZDk2NGU4ODBkMjIzZjdjOTUxZmU4Nzc3MjQ).
Day 17 - One Click to Trello Board - 100 days 100 python scripts
Tags: python, productivity, beginners, career
Published: 2019-05-27 07:32:48

---
title: Day 17 - One Click to Trello Board - 100 days 100 python scripts
published: true
description: Day 17 - One Click to Trello Board
tags: python, productivity, beginners, career
cover_image: https://cdn-images-1.medium.com/max/1600/0*GEsDQGQ1BucUNW1g
series: 100 days 100 python scripts
---

##Day 17: single_click_save 

Whenever I came across new framework or tech terms or articles, I have a habit of adding them into my learning Trello board. Later I can to look up and start learning if I find it useful. But it was harder for me to open trello and add it every time. So I wrote this script. Now I have to just copy the new term to clipboard and click on the script which is executable formate( or as a shortcut ), The term will be stored into Trello and a new notification pops up.

```python
#!/usr/bin/python3
from trello import TrelloClient
import pyperclip
import os
import constants

client = TrelloClient(
    api_key=constants.TRELLO_API_KEY,
    api_secret=constants.TRELLO_API_SECRET,
)

all_boards = client.list_boards()

con_list= client.get_board(constants.TRELLO_LEARNING_BOARD_ID).get_lists(list_filter=None)

data=str(pyperclip.paste())

print(con_list[0].add_card(data))

os.system('notify-send "New Card Added" "'+data+'"')
```

Please Visit my Git Repo to check out all the previous day challenges.

[https://github.com/ganeshraja10/automated-python-scripts](https://github.com/ganeshraja10/automated-python-scripts)
A pain point with “Trusted Connection” in Sitecore v9.1
Tags: bug, installation, sitecore
Published: 2019-09-06 15:28:40

---
title: A pain point with “Trusted Connection” in Sitecore v9.1
published: true
tags: Bug,Installation,Sitecore
canonical_url: https://blog.jermdavis.dev/posts/2019/a-pain-point-with-trusted-connection-in-sitecore-v9-1
---

One of the projects I’m working on at the moment came with a requirement to change Sitecore v9.1 from running with the default SQL Security accounts to trusted connections using specific Active Directory accounts that the client provided. While there’s a bit of work to do to enable this, it shouldn’t be too tough. But trying to be a bit clever, I hit upon an issue which seemed worth documenting…

## A bit of background:

You may well never have delved into the SQL Databases that Sitecore provisions, but some of the more modern ones include a stored procedure called `GrantLeastPrivilege`. They don’t seem to be officially documented, but when you examine them, they’re helper scripts that grant exactly the database rights that a user account needs to be able to access a specific Sitecore database:

[![](https://jermdavis.files.wordpress.com/2019/05/grantleastprivscrpt.png?w=800&h=485)](https://jermdavis.files.wordpress.com/2019/05/grantleastprivscrpt.png)

So you’d hope that they’d be helpful if you need to move from one set of database accounts to another…

## The issue:

But when I tried to use these scripts with the Active Directory accounts provided by the client, I got oddly inconsistent results. When I tried to call the procedure in some databases with my user

```sql
USE [MyInstance\_Xdb.Collection.Shard0]
GO
[xdb\_collection].[GrantLeastPrivilege] 'Domain\ProcessAccountName'
```

I got success. It would write out all the changes it made. But when I called the same procedure in other databases, with the same approach

```sql
USE [MyInstance\_ProcessingEngineStorage]
GO
[sitecore\_processing\_storage].[GrantLeastPrivilege] 'Domain\ProcessAccountName'
```

I got error messages instead – saying something like:

```
Msg 102, Level 15, State 1, Line 9Incorrect syntax near '\'.
```

When I tested it, across all the non-content databases, it broke on ProcessingEngineStorage, MarketingAutomation, Processing.Pools, Processing.Tasks, ProcessingEngineTasks and ReferenceData.

Looking at the underlying code, the scripts which work run statements in the form of

```sql
EXECUTE('grant execute on TYPE::[database].[thing] TO [' + @Name + ']')
```

and the ones that fail look like

```sql
EXECUTE('grant execute on TYPE::[database].[thing] TO ' + @Name)
```

so it’s pretty easy to tweak them to be successful. But it’s a bit of a pain that this doesn’t work out of the box. So I’ve reported this to Sitecore Support, who have accepted it’s a bug. If you’re hitting this issue too, make reference to bug 331327.

(And yes, I’m aware of the whole “string concatenation is dangerous when generating SQL statements thing – that’s a debate for another day)
Best Dev Blogs on the Internet
Tags: dev, freebies, tech, blogs
Published: 2019-05-27 07:17:37

---
title: Best Dev Blogs on the Internet
published: true
description: web design and development, freebies, these are new ideas, trends, in this post I have compiled a list of dev blogs.
tags: dev, freebies, tech, blogs,
---

Web design development is most of the bloggers are constantly developing. Every minute there are new ideas, trends, buzz, and modern designers are creating new things

In This post, I will share some top most blogs and freebies pages.

## 1. Smashing Magazine

## 2. Speckyboy

## 3. Design Shack

## 4. DesignModo

## 5. Superhero.js

## 6. Codepen Blog

## 7. CSS Author

## 8. Creative Bloq

## 9. Github Blog

## 10. Dzone

## 11. Pttrns

## 12. Webdesigner News

## 13. Oneextrapixel

## 14. Scotch.io

## 15. Tuts+

## 16. Sidebar

## 17. Javascript Weekly

# 18. SitePoint

## 19. Pixelhint

## 20. Echo JS

These are the dev blogs and counting 
If I have missed any blogs please comment below.
Automatically close GitHub Issues
Tags: git, coding, github, beginners
Published: 2019-06-13 11:26:41

---
title: Automatically close GitHub Issues
published: true
tags: git,coding,github,beginner
canonical_url: https://www.aheil.de/2019/05/27/automatically-close-github-issues/
---

As you might now, I am currently working on a small Docker project to [containerize ttrss](https://github.com/aheil/docker-ttrss).

I am using GitHub and Docker just for the sake of keeping up to date with the features of both platforms.

Although this might be an old feature, well known in the Git and/or GitHub community, I “accidentally” wrote a commit message _ **fixed #2: …** _

Well, GitHub automatically closed this issue during the process of creating the pull request and merging it into the master. What an awesome feature, especially when found this way!

![](https://i0.wp.com/www.aheil.de/wp-content/uploads/2019/05/image-7.png?resize=683%2C402&ssl=1)
Create a Menu in C# Console Application
Tags: csharp, tutorial, beginners
Published: 2019-06-18 15:19:14

---
title: Create a Menu in C# Console Application
published: true
tags: csharp,tutorial,beginners
series: C# for Beginners
cover_image: https://wellsb.com/csharp/wp-content/uploads/sites/2/2019/03/beginners-menu-console-min.png
---

You will make a menu-driven program in this tutorial. Using a loop, you will learn how to add a menu to a C# console application. This technique helps your users navigate your app, and it enables you to create more robust C# programs. If you have been following our beginners tutorial series, you have written simple applications that highlight some of the basic functionality of C# and .NET Core.

[Source](https://wellsb.com/csharp/beginners/create-menu-csharp-console-application/)
Solving my own problem with Software

Tags: showdev, react, javascript, webdev
Published: 2019-05-27 05:59:33

**TLDR** : I made a mobile-only, PWA. 
Link to the app ➡ https://simpleunitconverter.netlify.com/
Link to the repo ➡ https://github.com/papaponmx/simple-unit-converter


Hey guys, this is a short post, just to let you know that I just launched a PWA that solves a very personal problem. 

## The problem
When I go to the gym, three situations coincide:

* I use an app that allows you to use pounds or kilograms but not both.
* My gym uses pounds for machines and kilograms for dumbbells.
* Therefor I need a way to constantly convert units from pounds to kilograms. 

Now, let us explore the alternatives:

* I could do it mentally, but I will not too lazy for that.
* There is an app, but I don't want to see commercials, neither use 25 MB for such a simple app space on my device, nor want to see commercials.
* Just Google it, I could but that means turning on the mobile data. That seems trivial, but I start to get notifications from social apps. The problem is that they induce me train for more time than I should, and make me more prone to injuries due to bad form.
* There is a website for that. Kind of, but they are not fully responsive not PWAs.
* Create a PWA connected to the cloud in order to track your own trainings. I didn't think of that at the time thinking

## The solution 🤓

Use my knowledge and make a PWA with these features:

* ️Bidirectional KG to LBS Unit Conversion 🏋️‍
* Dark Theme as default 🌑
* Screen reader tested 🔉
* No User tracking 🔍
* No Ads 📈
* No 💩
* Open source 📚


### The tech stack

* Hosted on [Netlify](https://netlify.com).
* [Create React App](https://github.com/facebook/create-react-app) as a boilerplate.
* State management with React Hooks and Context API.
* Styled Components.


Link to the app ➡ https://simpleunitconverter.netlify.com/
Link to the repo ➡ https://github.com/papaponmx/simple-unit-converter

Cheers guys.
Markdown Tutorial
Tags: markdown, beginners
Published: 2019-05-27 05:58:03

---
title: Markdown Tutorial
published: true
description: A Simple tutorial about Markdown
tags: markdown, beginner
---

This tutorial teaches you the basic of Markdown language. Markdown is a lightweight markup language which is used to add formatting to plain text. Let's get started.

Heading
=======

You can add a heading in Markdown by adding # in front of the heading you want to put. For E.g:

#Heading 1
##Heading 2
###Heading 3
####Heading 4
#####Heading 5
######Heading 6

You can out a maximum of 6 headings in a Markdown.

Paragraphs
==========

For paragraphs you need to use a blank line to create a new line and add the text in there. For e.g.: 

This is the first paragraph.

This is the second paragraph.

This is the third paragraph.

You can add as many as paragraph you want in Markdown. It is the same as we do in plain text.

Line Breaks
===========

In Markdown to add a line break  you need to type two to three spaces and then press return. Here is the example:

This is the first line.   
Now you have the second line.

You can add as many as line you want in Markdown.

Emphasis
========

##Bold

To bold a text you need to put the text in Double Asterisk **Bold**

##Italic
To italic a text you need to put the text in Single Asterisk i.e. *Italic*

##Bold & Italic

Markdown provides a functionality where you can Bold & Italic the text at the same time. See the below example for further reference.

***Bold & Italic***.

Block quotes
===========

A block quotation (also known as a long quotation or extract) is a quotation in a written document that is set off from the main text as a paragraph.

So in order to use a text as Block Quote, you need to use the angular bracket '>' in front of the text you want to set as a block quote. For example:

>This is a first line in Block Quote
>
>This is a second line in a Block Quote.

Nested Block quotes
===================

You can use a block quote inside a block quote. For e.g.:

>This is a single block quote.
>
>      This is a nested block quote.

The syntax for this is:

```
>This is a single block quote.
>
>      This is a nested block quote.
```

This is the end of the Part 1 of the two series of our Markdown Tutorial.