teleren/devto huggingface dataset:
Changelog: Adjust the weights of tags you follow
Tags: meta, changelog
Published: 2018-11-30 21:14:33

New feature!

You can now adjust tags you follow to make certain topics more likely to show up in your feed.

### You can adjust your tags at [/dashboard/following](https://dev.to/dashboard/following).

Here is an example of mine right now:

![](https://cl.ly/b329a5f8a8ea/Image%202018-11-30%20at%204.03.13%20PM.png)

I decided to follow `meta` the strongest, while also keeping up more closely with `ruby` and `rails`. `smarthome` and `management` also seemed like tags I don't want to miss content from.

How this affects the feed may vary as the global algorithm is modified over time, but it should help folks get the experience they're looking for out of the platform.

As we evolve the purpose and features of tags over time, this should be a central point in how folks organize themselves on platform.  If you want to stay up to date more with a certain topic for a period of time, crank up its weight.

At the moment you _can_ crank down tags you want to see less of, but the full desired behavior is not yet implemented. The signal that you follow a tag might act as both a positive and negative signal. It should generally help you see less of something, but the full behavior will be ironed out soon.

Many users probably won't bother touching these nobs, which is fine. We don't want to create an overly complicated experience.

> Simple things should be simple, complex things should be possible
— Alan Kay

I think this change helps make the complex things possible while keeping the same basic default simple.

## What's possible

This change should make certain kinds of behavior possible, like publishing to more "niche" tags. Currently if you want to have your JavaScript post seen, you should really publish to the `javascript` tag. This change should help facilitate the idea of publishing to tags like `advancedjs` or `functionaljs` etc. Smaller communities can pop up around certain tags and ensure they are collectively more likely to see the action on that tag. You may _not_ want to publish to some of the more "mainstream" tags.

How this manifests over time will remain to be seen, but I hope we can add some features to support this kind of behavior.

Happy coding ❤️
I was a (social) Game Developer for 5 years, Ask Me Anything!
Tags: ama, javascript, gaming, unity3d
Published: 2018-11-30 20:44:50

---
title: I was a (social) Game Developer for 5 years, Ask Me Anything!
published: true
tags: ama, javascript, gaming, unity3d
---
![cards](https://thepracticaldev.s3.amazonaws.com/i/fghjq7eqpl5nohiiqnew.jpg)

I recently "ended" my professional career as a Game developer (as in will no longer work for game studios). Being a full stack web developer I ended up doing Social games, On Facebook platform, web and mobile (Unity 3D), mostly card games.

I am also a Unity(3D) Certified Programmer, I develop games as a hobby, I have a passion for Game design, I was a Gamer (MMO addicted, clan leader) and I love any kind of game, I even designed a few small Board Games in my free time. I played with many related gadgets at work (as a dev): Sphero, Leap Motion, VR headsets.

Before being a game dev I worked 5 years in e-commerce and now as a Cloud Engineer.

#### TTL: I will try to answer all questions for ~2 days (1-2 Dec)
How to format USB thumb drive in Ubuntu Linux
Tags: android, opensource, howto, linux
Published: 2019-03-31 23:33:41

---
title: How to format USB thumb drive in Ubuntu Linux
published: true
tags: Android,FOSS,HowTo,Linux
canonical_url: https://fossnaija.com/how-to-format-usd-thumb-drive-in-ubuntu-linux/
---

[![USB_FORMATting_linux_BANNER_fossnaija](https://i1.wp.com/fossnaija.com/wp-content/uploads/2018/11/USB_FORMAT_BANNER.png?resize=665%2C380&ssl=1)](https://i1.wp.com/fossnaija.com/wp-content/uploads/2018/11/USB_FORMAT_BANNER.png?ssl=1)

Every now and then we find ourselves in need of ways to formatting USB drives. There are many ways to format USB thumb-drive or SD card in Linux, but in this post I would show you a fast and easy of doing that without installing any additional software.

 

_ **NB:** Ubuntu 16.04 was used for this demonstration._

 

## **STEP 1**

**Insert the USB thumb drive** into your computer system/PC. This should be automatically mounted on your PC (which is indicated on the launcher) and opened in the file manager (nautilus).

 

[![file_manager_format_usb_fossnaija_1](https://i1.wp.com/fossnaija.com/wp-content/uploads/2018/11/format_usb_foss-naija_1.png?resize=665%2C178&ssl=1)](https://i1.wp.com/fossnaija.com/wp-content/uploads/2018/11/format_usb_foss-naija_1.png?ssl=1)

 If it is not opened automatically by the file manger; click on the USB thumb drive icon on the launcher to open it.

 

 

[![format_usb_fossnaija_2](https://i0.wp.com/fossnaija.com/wp-content/uploads/2018/11/format_usb_fossnaija_2.png?resize=361%2C497&ssl=1)](https://i0.wp.com/fossnaija.com/wp-content/uploads/2018/11/format_usb_fossnaija_2.png?ssl=1)

 

## **STEP 2**

Right-click on the USB drive icon on the file manager to reveal some options. Then select ”Format” option.

[![FORMAT_USB_FOSSNAIJA_3](https://i1.wp.com/fossnaija.com/wp-content/uploads/2018/11/FORMAT_USB_FOSSNAIJA_3.png?resize=544%2C380&ssl=1)](https://i1.wp.com/fossnaija.com/wp-content/uploads/2018/11/FORMAT_USB_FOSSNAIJA_3.png?ssl=1)

 

## **STEP 3**

**Select** some formatting options like _erase type_ (to overwrite existing data or not), file system type (the FAT file system is the common file system for USB drives) and finally the name your would like to give the thumb drive (“backup”, “movies”, “data”, etc).

 

[![format_usb_fossnaija_4](https://i0.wp.com/fossnaija.com/wp-content/uploads/2018/11/format_usb_fossnaija_4.png?resize=482%2C230&ssl=1)](https://i0.wp.com/fossnaija.com/wp-content/uploads/2018/11/format_usb_fossnaija_4.png?ssl=1)

 

## STEP 4

CLICK the “ **format** ” button to begin formatting.

 

Then you’re done!

 

 

**Happy Linux’NG!**

The post [How to format USD thumb drive in Ubuntu Linux](https://fossnaija.com/how-to-format-usd-thumb-drive-in-ubuntu-linux/) appeared first on [Foss Naija](https://fossnaija.com).
Getting a Project onto GitHub
Tags: javascript, github, repository, origin
Published: 2018-11-30 19:56:37

---
title: Getting a Project onto GitHub
published: true
description: Push an existing repository from your machine to GitHub on Windows Command Line
tags: JavaScript, GitHub, Repository, Origin
---

1. open command line, change directory to root of project
2. initialize Git locally, run: `git init`
3. run: `git add .` and `git commit -m "initial commit"` separately
* this will stage and commit all files
* consider using a [.gitignore](https://gist.github.com/httpJunkie/d2cb743e924213902e46f5b35c29a3c1) file
4. on GitHub create a new repo: 'Your Repositories' > 'New'    
* if your repo is named: 'MyRepo', and your Github user: 'MrGuy' 
5. run: `git remote add origin https://github.com/MrGuy/MyRepo`
6. run: `git push -u origin master`
Show off your stickers!
Tags: discuss, stickers
Published: 2018-11-30 19:46:09

---
title: Show off your stickers!
published: true
description: Post a picture of your laptop stickers!
tags: discuss, stickers
cover_image: https://thepracticaldev.s3.amazonaws.com/i/z90hpit190iu8q6e9ho9.png
---
Stickers (or your lack of stickers!) can say a lot about your personality and interests as a developer!

Here's my primary laptop:![](https://thepracticaldev.s3.amazonaws.com/i/ecc7jnj1k4zn03xy7inz.jpg)

Bonus! Here's the bottom:

![](https://thepracticaldev.s3.amazonaws.com/i/oz7zqdz7d1zth9r5wy5g.jpg)

Also, while you're going through the effort of photographing your computer, you can also send it to [devlids](https://dev.to/niorad/have-stickers-on-your-machine-send-me-a-photo-5879)!
Quick start with React on Lucky
Tags: crystal, lucky, react
Published: 2018-11-30 17:40:19

---
title: Quick start with React on Lucky
published: true
description: Getting setup with a basic react app using Lucky framework
tags: crystal, lucky, react
---

This will be a quick start in to getting some simple [React](https://reactjs.org/) code with minimal setup in to a simple [Lucky](https://luckyframework.org/) app also with minimal setup.

## Step 1, setup lucky

Make sure you have lucky installed locally. You can check out the [installation guide](https://luckyframework.org/guides/installing/) for getting that installed.

Once that's installed, we can generate our app!

```text
$ lucky init
Project name? simple_react_on_lucky

Lucky can generate different types of projects

...

API only or full support for HTML and Webpack? (api/full): full

Lucky can be generated with email and password authentication

...

Generate authentication? (y/n): n

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

Done generating your Lucky project

  ▸ cd into simple_react_on_lucky
  ▸ check database settings in config/database.cr
  ▸ run bin/setup
  ▸ run lucky dev to start the server
```

Run those last few steps that lucky tells you to run, and then your app will be setup.

## Step 2, add in react

Next we need to add react to our app. 

```text
yarn add react
yarn add react-dom
```

## Step 3, make a page to use react

Now we need a page where we can write some code to mount our react app. We will just make a simple home page to override lucky's default home page.

Open up `src/actions/home/index.cr`

```crystal
# change
render Lucky::WelcomePage
# to
render Home::IndexPage
```

Now create a new `src/pages/home/index_page.cr` file.

```crystal
class Home::IndexPage < MainLayout
  def content
    div(id: "app")
  end
end
```

## Step 4, write some react

Open up `src/js/app.js` and add in your react imports. You'll see some code in there already, you can just add this stuff below that. Worry about whether you need that existing code or not later.

```javascript
import React from 'react';
import ReactDOM from 'react-dom';

const mountElement = document.getElementById('app');

class App extends React.Component {
  render() {
    return React.createElement('h1', null, 'WOOT!');
  }
}

ReactDOM.render(React.createElement(App), mountElement);
```

Now run `lucky dev` in your terminal, and provided we didn't screw anything up, you should see "WOOT!" on your home page now! 

Obviously you'll want to add a lot more code for a real app, and using the `React.createElement` functions will get super messy. This should at least give you a jumping point on how you can start working React in to your Lucky applications.

You can also take a look at [this post](https://dev.to/mikeeus/react-components-in-lucky-with-laravel-mix-and-lucky-react-nlb) by [@mikeeus](https://dev.to/mikeeus) on some more Lucky and React.
Is there a better alternative to lorem ipsum for placeholder copy?
Tags: help, webdev, design
Published: 2018-11-30 15:31:53

When putting together a prototype for a client/stakeholder or a mock up, is there a better alternative to using lorem ipsum? Any better approaches of how you can create a place holder copy that looks a little more serious or is lorem ipsum the best option?

I'm not looking for something like Samuel L Jackson ipsum, I'm asking for something that is more presentable to clients/stakeholders to encourage gathering copy for a screen that isn't distracting.
Chromedriver vs phantomjs on selenium
Tags: chromedriver, chromium, webdriver, automation
Published: 2018-11-30 14:24:39

While implementing selenium automation for one of the projects, we have evaluated casperjs, phantomjs, selenium and now selenium with chromedriver.
Of all of them chromedriver seems most robust and is the current favorite. Here are my reasons for using chromedriver:
1. Easy installation
2. phantomjs leaves too many stale processes and causes memory leaks. Not faced this issue with chromedriver
3. Requires centos 7. It has compatibility issues with centos 6
4. Multiple ChromeOptions() for finer control
5. Allows for automating browser download via a button click and 'save as' dialog box. phantomjs based selenium was unable to do it
6. All selenium WebDriver methods are available
7. Ongoing support. Supported and managed by Google - http://chromedriver.chromium.org/help
This has allowed for creation of powerful web crawlers and bots!
Is there any Roadmap to becoming mobile developer
Tags: discuss, android, ios
Published: 2018-11-30 13:16:56

---
title: Is there any Roadmap to becoming mobile developer
published: true
description: 
tags: discuss, android, ios 
---

Is there something like [Roadmap to becoming a web developer in 2018](https://github.com/kamranahmedse/developer-roadmap) for Android and Ios devlopment.
Bad terminal habits
Tags: bash, shell, terminal, linux
Published: 2018-11-30 13:04:48

---
title: Bad terminal habits
published: true
description: Do you have any bad shell-related habits in the terminal?
tags: bash, shell, terminal, linux
---

Recently I realised how poor my terminal etiquette really is. I seem to run `clear` just about every other line. I think this is probably the dev's equivalent to the english filler word 'um' - usually used when actually thinking about what to say next.

Do you have any bad terminal habits?
Embrace bored
Tags: development, aboutme, productivity, rabbitholes
Published: 2018-11-30 14:34:38

---
title: Embrace bored
published: true
tags: development,aboutme,productivity,rabbit holes
canonical_url: https://craignicol.wordpress.com/2018/11/30/embrace-bored/
---

Be bored.

[![No news in Facebook news feed](https://craignicol.files.wordpress.com/2017/03/screenshot_20170222-090336.png?w=288&h=512)](https://craignicol.files.wordpress.com/2017/03/screenshot_20170222-090336.png)<figcaption>No news in Facebook news feed</figcaption>

Be at peace with your thoughts, and let them consume you. Put down your phone, disconnect from social networks.

[Don’t seek stimulation just for the sake of it ](https://www.bbc.co.uk/news/science-environment-28130690)

Think about your problems. But don’t dwell on them.

[Boredom makes you brilliant. ](https://www.ted.com/talks/manoush_zomorodi_how_boredom_can_lead_to_your_most_brilliant_ideas)

[Boredom makes you more creative ](https://www.wired.com/2017/01/clive-thompson-7/)

[Procrastinate. It’s good for you.](http://science.slashdot.org/story/16/01/17/068231/how-procrastination-can-be-good-for-you?utm_source=rss1.0mainlinkanon&utm_medium=feed) 

[Not working will help you work.](https://www.netflix.com/gb/title/80113701)

## ![☕](https://s0.wp.com/wp-content/mu-plugins/wpcom-smileys/twemoji/2/72x72/2615.png)

[Grab a coffee.](https://craignicol.wordpress.com/2007/01/25/take-a-good-hard-look-at-your-first-revision-and-just-say-to-yourself-gloves/) 

Smoke a pipe or three.  

<iframe type="text/html" width="748" height="421" src="https://www.youtube.com/embed/plUvDGDeIrI?version=3&amp;rel=1&amp;fs=1&amp;autohide=2&amp;showsearch=0&amp;showinfo=1&amp;iv_load_policy=1&amp;wmode=transparent" allowfullscreen="true" style="border:0;"></iframe>

<figcaption>In Praise of Boredom – Maria Konnikova</figcaption>

If you’re stuck, get away and think.

**Give yourself time.  ![🕒](https://s0.wp.com/wp-content/mu-plugins/wpcom-smileys/twemoji/2/72x72/1f552.png) It’s a precious gift.**
CrashCourse Videos about Computer and other Knowledge
Tags: crashcourse, chengefavor, course, mooc
Published: 2018-11-30 10:36:59

---
title: CrashCourse Videos about Computer and other Knowledge
published: true
description: 
tags: crashcourse, chengefavor, course, mooc
---

Today I met this crashcourse channel of youtube and felt great, share it.

They provide knowledge of many subjects like Economics, Philosophy...

[40 computer courses](https://www.youtube.com/watch?v=tpIctyqH29Q&list=PL8dPuuaLjXtNlUrzyH5r6jN9ulIgZBpdo)

[List of Subjects](https://translate.google.com/translate?sl=zh-CN&tl=en&u=https%3A%2F%2Fcrashcourse.club%2Fcategory%2F)
3 tips to challenge yourself as a Web Developer
Tags: node, tips, javascript, reduxsaga
Published: 2022-12-06 20:55:22

---
title: 3 tips to challenge yourself as a Web Developer
published: true
date: 2018-11-30 09:55:17 UTC
tags: nodejs,tips,javascript,reduxsaga
canonical_url: https://medium.com/@assitan/3-tips-to-challenge-yourself-as-a-web-developer-bebef98e9154
---

### 3 tips for challenging yourself as a Web Developer

![](https://cdn-images-1.medium.com/max/1024/1*qatotphqCyOKDuGbDl4Qwg.jpeg)

The technological watch is good but can go a step further.

#### Automate everything you can

![](https://cdn-images-1.medium.com/max/1024/1*DrKc7wEs4O5q6mwUCy0dCg.jpeg)

As a web developer, you have to be lazy. Every painful, repetitive task can be automated. Try making a list to identify those repetitive tasks.

Don’t you have a CLI in your project? Create one. You can make a script that generates directories, files specifically for your project.

If you are a Front-end Developer, try to use Node.js, make a little script, or if you are interested in another language, it would be the opportunity to learn new things.

#### Know how things work under the hood

![](https://cdn-images-1.medium.com/max/1024/1*e9xZLyReopougN3kd_Nl8Q.jpeg)

With platforms like Github, you can access significant, free documentation. So be curious about how your modules work, especially the big ones.

For instance, you can check [Redux-saga’s repository](https://github.com/redux-saga/redux-saga). They use exciting features of ES.next.

You have to go in the source code, read the code or clone the repository and play with it. Although it can be very intimidating, regularly doing this process will be more accessible and natural for you.

#### Explain a concept

![](https://cdn-images-1.medium.com/max/1024/1*a2cFEVU4AnvOmFqcvzE4kQ.jpeg)

> Whatever is well conceived is clearly said. And the words to say it flow with ease.

This sentence was said by the French author [Nicolas Boileau](https://en.wikipedia.org/wiki/Nicolas_Boileau-Despr%C3%A9aux). Indeed, what is very interesting is if you can’t explain something clearly, you may not have well understood the concept.

Make analogies, use visual images, make drawings.

With this approach, you can see what is not clear for you. This is an excellent exercise. Try with your colleagues or even your friends, family, like so, you will see if you can vulgarize.

I hope this article was helpful. Feel free to follow me on [Twitter](https://twitter.com/Assitan_K?s=09). 😊

You can also check out my Courses platform [Codistwa](https://codistwa.com/) and my [YouTube channel](https://www.youtube.com/channel/UCpjOGjTD5BVZ_3pvO34NVGg).
Why function deceleration overrides
Tags: help, javascript
Published: 2018-11-30 09:24:45

---
title: Why function deceleration overrides
published: true
description: 
tags: help,javascript
---

```

var myName = "Richard"; 

function myName () {
console.log ("Rich");
}

console.log(typeof myName)

////output is string

```

but when i code function in other way  like in above code, giving different output

```
var myName = "Richard"; 

myName = function() {
console.log ("Rich");
}

console.log(typeof myName)

////output is  function


```
Best practices to generate and store API keys using Node.js?
Tags: help
Published: 2018-11-30 07:43:49

---
title: Best practices to generate and store API keys using Node.js?
published: true
tags: help
---

I'm building a Node.js application that primarily serves APIs. These APIs fall into two categories:

- User APIs - to access specific user-endpoints like GET /users/:id/purchases
- Admin APIs - allows the company / customer consuming our APIs to call admin-level endpoints like POST /users (to create a new user)

I am already securing user APIs using OAuth access tokens and refresh tokens. What is the best practice to secure my admin APIs? To be more specific, I'm looking to implement a solution like this - https://mailchimp.com/help/about-api-keys/.

The idea is to let my customer log into our admin app to create API keys so they can call our admin APIs:

1. How do I generate keys similar to those generated by MailChimp?
2. How do I validate these keys on the server using Node.js?

I've found dozens of articles that talk about JWTs but I doubt they are the right solution for this particular use case.
Episode 11.5: Building a JSON API - Input Validation and Sanitation - Lightning Round
Tags: node, mongodb, javascript, docker
Published: 2018-11-30 07:10:12

---
title: Episode 11.5: Building a JSON API - Input Validation and Sanitation - Lightning Round
published: true
description: Episode 11 finished with all of our item route untouched. Let's fix that.
tags: nodejs, mongodb, javascript, docker
series: building-a-json-api-with-express
cover_image: https://thepracticaldev.s3.amazonaws.com/i/j4aj5pski3cbpxpywq6l.png
---

Are half episodes a thing? (Apparently) Is 10 minutes a lightning round? 

If 10 minutes can be called a lightning round, then this is it. We cover all of our item route in what previously took us two episodes to do for user. *In particular* we speed past some testing portions that work to speed things up. Hang on to your seats.. 

{% youtube 1jvDrs2JgQ8  %}

Whew. That was a lot. Think I should have included more, or done something extra? Let me know.

Thanks for watching! 

Source code:

{% github NathanBland/core %}
Coworking is The New Trend
Published: 2018-11-30 06:35:14

---
title: Coworking is The New Trend
published: true
description: 
tags: 
---

Have you ever heard of coworking?
Check out the entire concept of shared working spaces along with the best coworking spaces in your city at Coworking Mag. 

https://coworkingmag.com
A Consideration on Server Side Physics for a 3D Multiplayer Game Regarding Rotations in 3D Space
Tags: gamedev
Published: 2018-11-30 05:34:17

---
title: A Consideration on Server Side Physics for a 3D Multiplayer Game Regarding Rotations in 3D Space
published: true
description: An issue regarding an effort of mine to make a 3D multiplayer game.
tags: gamedev
canonical_url: https://webdva.github.io/a-consideration-on-server-side-physics-for-a-3d-multiplayer-game-regarding-rotations-in-3d-space/
---

I'm sharing my insight that I recently gained while trying to obtain the capability to make a 3D multiplayer game for the success of a program that I'm involved in.

# Implementing Rotations in Three Dimensions

My current understanding of the phenomenon of rotations in three dimensional space yields the speculation that using the rotation formalism shown below with the ordered matrix multiplication of individual axes (as described [here](https://en.wikipedia.org/wiki/Rotation_matrix#Basic_rotations)) could be beneficial for implementing server side 3D physics, namely due to its comprehensiveness and apparent ease of implementation.

![3D rotation matrix](https://thepracticaldev.s3.amazonaws.com/i/dn3m3lkubnt01swqwb77.png "3D rotation matrix")

The implementation of rotations in three dimensions using the above proposed basic rotation formalism would likely incur a technical performance penalty in the server side physics subsystem due to the need for the management of nine parameters for each physical entity combined with the frequent multiplication of matrices. Even though sub-par technical performances are acceptable for this program as performance (or quality) is the most flexible program constraint, this technical performance would place a limit on the number of effects achievable, such as a large scale multiplayer game product.

## The Client-Server Communication Aspect

Also, thanks to lessons learned from the development of the prototype of a 2D multiplayer game, it is predicted that, with the existence of a feature that allows the player to aim in three dimensions, engineering the subsystem of uploading the player's avatar's intended 3D rotation from the client to the server would incur a high development complexity cost and thus would be detrimental to this program's success.

# My Determination

As such, the implementation of rotations in multiple axes is an unfavorable action given the program constraints.

Note that this determination still allows for the development of an effective 3D multiplayer game product, but only with the successful exploitation of program constraints.