teleren/devto huggingface dataset:
AnyChart JS Charts 8.3.0 Released with Awesome Coloring Formatters, HTML Tooltip, 7 New Technical Indicators, and More
Tags: javascript, webdev, dataviz, html
Published: 2018-07-11 08:07:21

---
title: AnyChart JS Charts 8.3.0 Released with Awesome Coloring Formatters, HTML Tooltip, 7 New Technical Indicators, and More
published: true
description: AnyChart announces the 8.3.0 release of JS chart libraries AnyChart, AnyStock, AnyGantt, and AnyMap, featuring a bunch of new awesome features that make these data visualization solutions — recognized the best in JavaScript technology this year — even more flexible and easier to use.
tags: #javascript, #webdev, #dataviz, #html5
canonical_url: https://www.anychart.com/blog/2018/07/10/js-chart-libraries-new-features-8-3-0-anychart/
cover_image: https://i.imgur.com/DiqHyju.png
---

[AnyChart](https://www.anychart.com), one of the global leaders in interactive data visualization, announced the [8.3.0 release of its JavaScript charting libraries](https://www.anychart.com/blog/2018/07/10/js-chart-libraries-new-features-8-3-0-anychart/) AnyChart, AnyStock, AnyGantt, and AnyMap.

This major update brings a whole bunch of awesome features, making these data visualization solutions — [recognized the best in JavaScript technology](https://dzone.com/articles/best-in-developer-tech-2018-devies-award-winners-n) earlier this year — even more flexible and easier to use.

**Check out what's new in version 8.3.0:**

* full HTML tooltips support;
* background settings for chart data bounds;
* coloring rules and thresholds;
* axis label positioning;
* new technical indicators, hover state configurations, axis markers, and plot titles — in stock charts;
* Gantt editing API improvements.

Learn more about AnyChart JS Charts 8.3.0 on the [company's blog](https://www.anychart.com/blog/2018/07/10/js-chart-libraries-new-features-8-3-0-anychart/). AnyChart invites everyone to send feedback and new feature requests.
Android-Kotlin Digest #1
Tags: android, appdev, code, kotlin
Published: 2018-07-11 05:15:49

---
title: Android-Kotlin Digest #1
published: true
tags: android,appdev,code,kotlin
canonical_url: https://itscoderslife.wordpress.com/2018/07/11/android-kotlin-digest-1/
---

Planning to journal updates on my learning in Android and Kotlin development. This would be mostly from an ​ **iOS developer’s perspective**. I will be writing gist of what I learnt today and anything specific interesting.

To start off below are some things I learnt in Kotlin and differences with Swift.

Some basics of Kotlin:

`var` of mutable variables

`val` of immutable variables / constants

Adding variable value in a string `"The value of variable is $variable_name"`

Suffix `?` for variables holding null values

Also has a javascript big arrow `=>` function like syntax:  
`fun sum(a: Int, b: Int) : Int = a + b`

Conditionals: `if (obj is String) { … }` and not checks `if (obj !is String) { … }`

I found `switch` statements most unique till now:

`
when (obj) {
1          -> "One" // (case)
"Hello"    -> "Greeting" // (case)
is Long    -> "Long" // (case)
!is String -> "Not a string" // (case)
else       -> "Unknown" // (default case)
}
`

Ranges are specified as `0..end` or `0..end+1` or `0..list.lastIndex`

Then we have progressions:

`for (x in 1..10 step 2) {
print(x)
}
`Jumps alternate steps with keyword `step` and value 2. Here result would be: `13579`

`for (x in 9 downTo 0 step 3) {
print(x)
}`  
Jumps three steps but in reverse order with keyword `downTo`. Here result would be: `9630`
Convert ArrayList<String>() To Stirng[] Array in Android 
Tags: android, arraylist, stringarray
Published: 2018-07-11 04:38:47

---
title: Convert ArrayList<String>() To Stirng[] Array in Android 
published: true
description: Convert ArrayList<String>() To Stirng[] Array in Android 
tags: Android,ArrayList,String array 
---

 

ArrayList<String> list=new ArrayList<>();
list.add("A");
list.add("B");
list.add("C");
list.add("D");



String[] stringArr=TextUtils.join(",",list).split(",");
Top 5 Programming Languages
Tags: javascript, php, java, python
Published: 2018-07-11 03:22:24

---
title: Top 5 Programming Languages
published: true
description: A subjective ranking of programming languages based on a number of factors
tags: JavaScript, PHP, Java, Python
---

Hi all,

I was asked recently to make a Top 5 list for the Pondering Nerdcast (video is found here https://www.youtube.com/watch?v=sG3ZWgbR7Rk) and my list choice is computer programming languages. I chose the ranking of the following languages because of the following reasons:

5 - Go: Created by Google; Cool name
4 - Python: Easy entry; VERY flexible in usage
3 - Java: Used for Android mobile app development. The majority of phones worldwide are Android phones; Makes sure you understand OOP!
2 - PHP: Easy entry and a large segment of websites are PHP-based because of WordPress; Facebook created their own proprietary PHP for the platform.
And
1 - JavaScript: One of the Holy Trinity (HTML/CSS/JS); Super fun to play with; Challenging but programmers bond around this; And Node JS! And AngularJS!


Thanks for reading!
.bashrc alternative in windows
Tags: productivity, tips, discuss
Published: 2018-06-09 17:42:13

---
title: .bashrc alternative in windows
published: true
description: .bashrc alternative in windows
tags: #productivity, #tips, #discuss
---

*.bashrc* is a very useful file in Linux environments. It basically runs every time a new Linux shell is opened & you can add commands like aliases. I wanted to have something similar in windows. After searching over internet I have found the following technique.

- create a .bat file with the command name in a directory. (for example if you want to use `ls` to list directories create a file with the name *ls.bat* in *C:\myBatCommands* with `dir` in it.)
- add the folder(*C:\myBatCommands*) to *PATH* environment variable
- you can start using the commands.

This looks simple but every time you want to add a command you need to create a new file with the name in the folder. so create a .bat file(something like *cmdrc.bat*) to simplify this with following content.

```bat

@echo off

set filename=%~1
set command=%~2

echo %command% > C:\myBatCommands\%filename%.bat

```

Anytime you want to add a command to the folder run the following command.

```bat

#cmdrc <alias-name> <command>
cmdrc ls dir

```

There are couple of other ways listed [here](https://superuser.com/questions/144347/is-there-windows-equivalent-to-the-bashrc-file-in-linux?utm_medium=organic&utm_source=google_rich_qa&utm_campaign=google_rich_qa). If there are any others ways of achieving the same please post in comments.

EDIT: 4-11-2018

If you are using powershell you can use profile.ps1 with all the aliases. for more [info](https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.core/about/about_profiles?view=powershell-6).
drmi - a tool for cleaning up Docker images 
Tags: docker, containers, images, devops
Published: 2018-07-11 02:20:44

---
title: drmi - a tool for cleaning up Docker images 
published: true
description: writeup on the drmi tool for cleaning images
tags: docker, containers, images, devops
cover_image: https://thepracticaldev.s3.amazonaws.com/i/v7rr29tvyyrw4l2vj2sz.jpg
---

Did a writeup on the **drmi** tool that I wrote earlier today for cleaning up Docker images:

https://vault.osninja.net/drmi-image-clean-tool/

I have a few todo's that I'll be working on to improve this, but let me know if you have questions/feedback.
Merge two git repositories
Tags: git, linux, svc, hacks
Published: 2019-10-28 09:52:40

---
title: Merge two git repositories
published: true
date: 2018-07-11 00:00:00 UTC
tags: git,linux,svc,hacks
canonical_url: https://foursixnine.io/blog/tech/2018/07/11/git-without-history.html
---

I just followed this [medium post](https://medium.com/@spences10/git-allow-unrelated-histories-a39a3814b981), but long story short:

Check out the origin/master branch and make sure my local master, is equal to origin, then push it to my fork (I seldomly do git pull on master).

```
git fetch origin
 git checkout master
 git reset --hard origin/master
 git push foursixnine
```

I needed to add the remote that belongs to a complete different repository:

```
git remote add acarvajal gitlab@myhost:acarvajal/openqa-monitoring.git
 git fetch acarvajal
 git checkout -b merge-monitoring
 git merge acarvajal/master --allow-unrelated-histories
```

Tadam! my changes are there!

Since I want everything inside a specific directory:

```
mkdir openqa/monitoring
 git mv ${allmyfiles} openqa/monitoring/
```

Since the unrelated repository had a README.md file, I need to make sure that both of them make it into the cut, the one from my original repo, and the other from the new unrelated repo:

Following command means: checkout README.md from acarvajal/master.

```
git checkout acarvajal/master -- README.md
 git mv README.md openqa/monitoring/
```

Following command means: checkout README.md from origin/master.

```
git checkout origin/master -- README.md
```

Commit changes, push to my fork and open pull request :)

```
git commit
 git push foursixnine
```
What is JSON Web Token
Tags: jwt, jsonwebtoken
Published: 2020-09-22 10:26:34

---
title: What is JSON Web Token
published: true
date: 2018-07-11 00:00:00 UTC
tags: JWT,JSONWebToken
canonical_url: https://www.loginradius.com/engineering/blog/jwt/
---

A JSON Web Token (JWT) is a JSON object that is defined in RFC 7519 as a safe way of transmitting information between two parties. Information in the JWT is digitally-signed, so that it can be verified and trusted. JWT Properties Less verbose -  JWT is compact in size and can be…

   
[Read On](https://www.loginradius.com/engineering/blog/jwt/)
Search/replace file names in Powershell
Tags: powershell, productivity, devtips
Published: 2018-07-10 23:05:11

---
title: Search/replace file names in Powershell
published: true
description: 
tags: powershell, productivity, devtips
---

Posting a command I recently found that allows you find/replace file names in Powershell on Windows. `<search>` and `<replace>` both accept a regex or you can also add the `-LiteralPath` option to `rename-item`

```
get-childitem *.txt | foreach { rename-item $_ $_.Name.Replace("<search>", "<replace>") }
```

----

[In a world where Denvercoder69 actually does come back and reply to that blog post.](https://xkcd.com/979/)
5 things a developer should do before asking for help
Tags: beginners, webdev, dev
Published: 2018-07-10 21:49:34

---
title: 5 things a developer should do before asking for help
published: true
description: In this post I give you my opinions and experience about when I think you should ask for help and with a checklist of things you can do first before you do ask for help.
tags: beginners, webdev, help, dev
canonical_url: https://codeshare.co.uk/blog/5-things-a-developer-should-do-before-asking-for-help/
cover_image: https://codeshare.co.uk/media/1414/stefan-stefancik-257625-unsplash.jpg
---

We all need help at times, but sometimes we ask for help too soon, or we just find it hard to ask for help

In this post I give you my opinions and experience about when I think you should ask for help, with a checklist of things you can do first before you do ask for help.

## 1\. Debug

Please don't ask for help before you have tried to debug it yourself.

## 2\. Check the logs

Check the application logs, web logs or even the System Event logs.

## 3\. Isolate the code

Can you isolate the code and write a unit test for it? This will make fixing it a lot easier, because it makes testing it much quicker, and you don't have the overheads of an application needing to run, just to test a certain piece of code.

## 4\. Google the error

Don't ask for help without googling the error yourself. You don't want the person to send you a 'Let Me Google That For You' [link](http://lmgtfy.com/?q=what+is+let+me+google+that+for+you%3F). Google is your friend, you should know how to use Google effectively to help you solve problems. Other people will have experienced the same problem and asked a question on sites like Stack Overflow or the ASP.NET forums. Make sure you search for the exact error message without your environment specific details. Look for recent results, and don't just copy and paste the code from somewhere unless you understand what it is doing. It is important that you understand what the problem was and how they solved it.

## 5\. Find an example

Usually if you are struggling with something, you might find that the problem has already been solved in a different part of the application, or in a different application which you have the code for. Try looking for such examples to help you get through it without help.

## Now you can ask for help

If you've done all of the above and you still need help then go ahead and ask. At least when you ask you won't come across as too lazy or inexperienced to try and solve it yourself.

If you work on your own or remotely and you have no one around to ask. Then isolate the code into a simple example console application or something and write a question on one of the helpful forums like Stack Overflow. All of the research you did above will help you write a good question so you don't get shot down.
Why does every single job posting ask for at least a year of experience?
Tags: career, beginners, discuss
Published: 2018-07-10 21:28:32

---
title: Why does every single job posting ask for at least a year of experience?
published: true
description: 
tags: #career #beginners #discuss
---

I have basic skills as a frontend developer (HTML, CSS, JS). I’ve been coding for close to a year, I have a portfolio with projects but no experience.

Almost all job that I have applied ask for a least a year of real-world experience. And that's the problem. How do I get real experience when I can't get a job? 

Any advice/encouragement for this newbie is welcome ❤️.
Adding Remote Shortcuts to Git
Tags: git
Published: 2018-07-10 19:52:11

---
title: Adding Remote Shortcuts to Git
published: true
description: Create custom prefixes for Git remote URLs
tags: git
---

_Originally posted at https://hoelz.ro/blog/adding-remote-shortcuts-to-git_

If you're like me, chances are you're a Git user that uses a small set of hosts for repositories very frequently.  The example I'll use here is [GitHub](https://github.com).

To clone another user's repository, you end up typing out something like this:

```
  $ git clone https://github.com/miyagawa/cpanminus.git
```

If you want to clone one of your one repositories, you end up with something like this:

```
  $ git clone git@github.com:hoelzro/linotify.git
```
  
Now, that isn't _that_ much typing, but there's got to be a shorter way!  Wouldn't it be nice if I could just type this?

```
  $ git clone github:miyagawa/cpanminus
```
  
Or this?

```
  $ git clone hoelzro:linotify
```
  
Well, it turns out that with a few changes to your .gitconfig, you can!

You can add a URL section to your gitconfig, with an insteadOf attribute that describes the prefix you'd like to use. Here's how the previous two examples look in my .gitconfig:

```
[url "git@github.com:hoelzro/"]
    insteadOf = hoelzro:
[url "https://github.com/"]
    insteadOf = github:
```

Rinse and repeat for your various sources!
Upgrade Your AngularJS Authentication Service
Tags: angular, javascript, migration
Published: 2018-07-10 19:27:07

---
title: Upgrade Your AngularJS Authentication Service
published: true
description: Learn about upgrading an application from AngularJS to the new Angular. As well as how to upgrade AngularJS authentication strategies to Angular.
tags: #angularjs #angular #javascript #migration
canonical_url: https://auth0.com/blog/upgrade-your-angularjs-authentication-service/
---

In this article, we’re going to talk about two notoriously difficult subjects very near and dear to my heart: ngUpgrade and authentication. First, we’ll cover the foundations of upgrading a real application from AngularJS to Angular. Then, we’ll look at a practical example of upgrading AngularJS authentication strategies to Angular. We’ll look at a sample app that uses machine-to-machine authentication with Auth0.

[Read on 🅰️⬆️](https://auth0.com/blog/upgrade-your-angularjs-authentication-service/?utm_source=dev&utm_medium=sc&utm_campaign=upgrade_angularjs)

![Upgrade Your AngularJS Authentication Service](https://thepracticaldev.s3.amazonaws.com/i/cgca3ih9suugvs9mnwsf.png)
How do you organize source code on your computer?
Tags: discuss, productivity, beginners
Published: 2018-07-10 17:53:09

---
title: How do you organize source code on your computer?
published: true
description: 
tags: discuss, productivity, beginners
---

I'd be curious to see how everyone organizes their source code.

Let's see some screenshots or terminal dumps of your set up.

Here's what I've been doing for the last 5 or 6 years:

![Source code layout](https://thepracticaldev.s3.amazonaws.com/i/tgirvfbdav5pbu13wlzt.jpg)

I like to organize my code by what it's used for rather than by language.

I've been a freelance developer for about 20 years and inside of those folders are hundreds of projects ranging from Visual Basic 6 from the mid 1990s to more recent projects written in Flask, Rails and Phoenix.
The Dev World news
Tags: dev, new, help
Published: 2018-07-10 17:16:29


---
title: The Dev World news
published: true
description: I would like to know about how do you get news, information, and launches about dev world.
tags: dev, new, help
cover_image: https://thepracticaldev.s3.amazonaws.com/i/7fdxeptjvx6f8lvyv5e6.jpg
---

Hello there! I'm Brenda, and I need your help.

I want to know more about the dev world, launches, updates, founders, startups etc. but, I don't have one source that can give me all the information, like a newspaper for devs, maybe I haven't searched enough, or it doesn't exist in the way that I like to get information, in a dynamic, interesting way. 

Maybe you have that site where I can get what I want, some podcast, blog, vlog, where I can find that information, and also, if you are in the same situation as me, tell me how would you like to get the information, by subscription on your mail, podcast, videos, because I want to bring that information in my language, Spanish. Well I'm Mexican, and most of the relevant information is in English, so I want to bring an alternative, but I need to know what's actually working right now, like dev.to, or Software Engineering Daily etc.

So, comment how do you get informed, how would you like to get the information, and also if you want, one new, short, long, that you think it's important to know. 

Love you, thanks, and husky love! 😘👩🏻‍💻
Custom APK output filename from Android Studio (gradle)
Tags: programming, softwaredevelopment
Published: 2019-10-01 16:32:49

---
title: Custom APK output filename from Android Studio (gradle)
published: true
cover_image: https://esabook.files.wordpress.com/2018/07/android-studio.jpg
tags: Programming,software development
canonical_url: https://esabook.wordpress.com/2018/07/10/custom-android-studio-apk-output-filename/
---

* * *

![Capture](https://esabook.files.wordpress.com/2018/07/capture.png?w=525)

* * *

Change those standard’s default-output-build-name to as your keyword.  
Official document [https://developer.android.com/studio/build/configure-apk-splits](https://developer.android.com/studio/build/configure-apk-splits).

<pre>
android {
...
applicationVariants.all {
        variant ->
             variant.outputs.each {
                  output ->
                       output.outputFileName = "${defaultConfig.applicationId}-v${defaultConfig.versionName}_${variant.flavorName}_${defaultConfig.versionCode}_${new Date().format('yyyy-MM-dd_HH.mm.ss')}.apk"
             }
...
}
</pre>
bro cluster source
Tags: bro, docker, security, networks
Published: 2018-07-10 15:24:50

---
title: bro cluster source
published: true
description: source for bro cluster posted to github
tags: bro, docker, security, networks
cover_image: https://thepracticaldev.s3.amazonaws.com/i/mbfc5hu90eo0oevgclh0.png
---

I've added the source for my bro cluster blog entry to GitHub so that if you are interested, you can try it yourself:

https://github.com/openshiftninja/bro-docker-cluster 

The blog entry is here:

https://vault.osninja.net/bro-cluster-in-containers/
How do you manage developers team knowledge ?
Tags: question, discuss, devtips
Published: 2018-07-10 14:54:28

---
title: How do you manage developers team knowledge ?
published: true
description: how do you manage knowledge ?
tags: question,discuss,devtips
---
As developers, we create some kind of knowledge, as we crawl through the internet we discover new things, as we test frameworks libraries, etc..

A part of our work sometimes is to figure out something anyone else in the company have never done. Once it's figured out, the information shouldn't stay in the mind of the person who found it, it should be shared, so other developers from the team would not have to waste time on the same problem/problematic.

Also I watch several websites that makes me discover, new tools, programs, library that are totally relevant to share with my colleagues

So the question is, how do share information in your development team ? Do you have any methodology ? Do you use a particular software ?
Tutorial: Remove 301 Redirect from Browser Cache
Tags: tutorials
Published: 2018-07-15 10:45:10

---
title: Tutorial: Remove 301 Redirect from Browser Cache
published: true
tags: Tutorials
canonical_url: https://ua1.us/news/tutorials/tutorial-remove-301-redirect-from-browser-cache/
---

As a web developer, it can become frustrating sometimes to deal with 301 redirects when developing website. For example, when using localhost, some of your projects might force SSL. In most cases, when forcing SSL, web servers will send a 301 response along with the redirect headers to point the browser back to https:// requests.

## Browsers Cache 301 Responses

Browsers, wisely, cache these 301 responses to make it faster for a user to get where they want to be. This caching makes for a great user experience when surfing the web. However, it makes for a poor user experience when developing for the web.

## How To Stop Redirect From HTTP:// to HTTPS:// Google Chrome

To stop redirect in Google Chrome, you cannot just simply clear cache. You must disable the use of cache all together.

**Here’s how:**

1. Enable Chrome Developer Tools.
2. At the right-hand side of your Chrome Developer Tools panel, you will find an additional menu. From that menu select “Settings”
3. Under the “Network” title, there is an option called “Disable cache (while DevTools is open)”. Enable that option.
4. Be sure to keep your Developer Tools panel open while you surf the web. With the change you just made to your settings, you will no longer experience the redirects.

The post [Tutorial: Remove 301 Redirect from Browser Cache](https://ua1.us/news/tutorials/tutorial-remove-301-redirect-from-browser-cache/) appeared first on [UA1 Labs](https://ua1.us).
Why I am developing Browser Extensions
Tags: browsers, extensions, addon, javascript
Published: 2018-07-10 14:21:41

---
title: Why I am developing Browser Extensions
published: true
tags: browsers,extensions,addon,javascript
canonical_url: https://daniele.tech/2017/09/why-developing-browser-extensions/
---

First of all because I can, I can what I need to improve my workflow and because is fun of course.

In the past 2 years I made a lot of browser extension and tools for that and I learned a lot from the community but also improving my skills and workflow.

The post [Why I am developing Browser Extensions](https://daniele.tech/2017/09/why-developing-browser-extensions/) appeared first on [Daniele Mte90 Scasciafratte](https://daniele.tech/eng).