teleren/devto huggingface dataset:
Will RCS (Rich Communication Service) ever succeed?
Tags: discuss
Published: 2019-11-17 05:37:52

---
title: Will RCS (Rich Communication Service) ever succeed?
published: true
description: Reasons why I think, that RCS will not succeed
tags: discuss
---


I am contracted by a Swiss Company, as Chief Product Office, which doe Software for SMS and related services for the Telecommunication Industry.

For a long time, we follow the RCS (Rich Communication Service) Solution, which is originally a Carrier initiative (ancient one..) with the goal in mind, to be the successor for SMS. Since some years Google jumped into this, buying the main solution provider until then (Jibe) and is trying to push it a) to Carriers and b) to End Users as alternative to SMS but of course being in a not that small competition to well established services like Whatsapp, FB Messenger, Skype, Telegram, Wechat etc etc.

Today I got this link to read: [https://www.zdnet.com/article/google-to-us-android-users-were-giving-you-rcs-messaging-heres-why-its-better/](https://www.zdnet.com/article/google-to-us-android-users-were-giving-you-rcs-messaging-heres-why-its-better/)
It’s an announcement from Google that they will enable RCS on Android-based phones in the US. This was then my answer to the sender of the link:

Tks for the Link.

My opinion stays the same, or even get less favorable regarding RCS arriving at one point successfully.
From the article, I get two more arguments:

a) RCS does not end to end encrypted. I would continue to use SMS to send “I arrived well grandmother” messages but never would use this 2019 for any business or more serious stuff.

b) Google has no success to succeed with Carriers. Carriers once more want to do on their own with the CCM Initiative. Both sides have a wast experience with x failed tries of messenger alternatives.
Plus of course, all the other arguments against.

The main one for sure is: What problem RCS resolves for me, which others don’t or don’t do good.
The only once which in theory could be is the (there valid) argument of SMS that every phone has it.
That is a) at least far from real. (Apple, old phones in developing countries, etc.)

And b) even that eg, in Eastern Europe Telegram is more used, peoples mostly also have eg, WhatsApp on they one, even if they usually don’t use it.
The fact that people have their preferences is more growing, like for Social Media, older people use FB, new use Snap, Tiktak, or whatever.

They may also have an account on each other, but they are NOT waiting for Social Media, where every people are. COULD BE, that for Business there is a stronger need for standards, but, as written before, I really can not imagine that Business would use RCS as they communication channel (except to send out spam to users, which then is just another counter argument)

I think this answers the question of this blog post. RCS can be another messenger, ok, but it can not be the SMS successor IMHO. Much probably it will just go on the already big list of missed messenger projects from Google: [https://gcemetery.co/category/apps/](https://gcemetery.co/category/apps/)

Cheers Stefan
HacktoberFest2019
Tags: hacktoberfest
Published: 2019-11-17 05:33:28

Completed 4 PR's! This was my first #hacktoberfest also am new to GitHub. Now i'm quite confident about Git and more active with contributing to open-source projects.
As i was new to GitHub, i was scaring to make PRs in Big Problems, so i made 6 PRs in small Projects.
A Text-Based Battle Royale?? [Live Coding Recap]
Tags: python, beginners, livecoding
Published: 2019-11-17 02:58:29

## Streamed: 11/09 on Twitch

🔴 **Watch** ⇒ [Twitch VOD](https://www.twitch.tv/videos/506309596) (replay)

We started work tonight on a text-based BR game for an upcoming Python Tutorial series. Should be lots of fun! I'll include the final code in a thorough upcoming build-blog soon. :D

**Language(s) Used:**  [Python](http://bit.ly/nb9kPython)
**Tech & lib(s) used:** [VSCode](http://bit.ly/vscodenb9k), [TwitchIO](https://github.com/TwitchIO/TwitchIO)

> 👇 Code & notes from stream down below! :D

## During the stream we...
✔ thought up some ideas for a new tutorial
✔ came up with the Battle Royale idea (many thanks to Jigo!)
✔ designed the basic premise of the game
✔ started working on the navigation portion

## Live Coding Schedule

That pretty much wraps things up for this stream. If you have any questions about the code, Python, or any of the tech used in general - swing by during a live stream and say hello!

💜 **Follow on [Twitch](http://bit.ly/nb9kTwitch)**

I stream Python coding & _lame jokes™_ on [Twitch](https://twitch.tv/ninjabunny9000) every Tuesday, Thursday, & Saturday around 7pm PST.

**For the most up to date schedule**, check my pinned post on [Twitter](https://www.twitter.com/ninjabunny9000).
Finding a better way to conduct technical interviews
Tags: discuss, recruitment
Published: 2019-11-17 01:58:24

I have been asked to assess the technical ability of a small group of graduate software engineers.

We have typically asked a lot of open ended questions to assess their level of enthusiasm for software engineering. We have then followed that up by giving the grads some code to review and asked them to find issues with the code. Human resources wants to use a screening tool like HackerRank.

I feel that such approaches do not adequately evaluate all the qualities we need for the grad to be successful in our organisation. A lot of grads tank in the technical code review and we may be missing out on some talent because of the way we conduct the interview.

I was thinking it might be better to start with a simplistic one sentence requirement. The grad then collaborates with a senior software engineer through a single iteration working through the process from requirements analysis, design, implementation, testing, deployment, and defect management. I think this will give us a better picture of how well they can communicate, collaborate, and code. It will also enable the senior software engineer to assess their level of understanding of each stage of the software development life-cycle. 

What process have you used to find good grads? 

If you are a new or recent grad, what could we do to help you shine in a technical interview?
CSS Calculator
Tags: codepen, css, javascript
Published: 2019-11-17 01:20:43

<p>The goal of this calculator is to utilize the Custom Properties (CSS Variables) and <code>calc()</code> CSS function to run the calculation inputs. Since CSS is a one-way, reactive styling language, it isn’t aware of changes made to interactive HTML elements, in particular changes to input values. Neither can CSS capture and manipulate data. This is an area where Javascript does well, capturing an manipulating DOM elements. See the code of this pen to see how the calculator works.</p>

{% codepen https://codepen.io/zastrow/pen/RwwqmBL %}
How to add columns with a default value to large tables
Tags: rails, database
Published: 2019-11-17 01:13:08

---
description: "If you worked with a large database you know that you can't just run an alter table to add a column with a default value, maybe you tried it and it failed -- like me awhile ago 🤕 -- but what if you really need to do that? That's what I'm about to tell you in these four simple steps."
tags: [rails, database]
---


If you worked with a large database you know that you can't just run an `alter table` to add a column with a default value, maybe you tried it and it failed -- like me awhile ago 🤕 --  but what if you really need to do that? That's what I'm about to tell you in these four simple steps:

### 1. Add the column with no default

```ruby
class AddCurrencyToAccounts < ActiveRecord::Migration[5.2]
  def change
    add_column :accounts, :currency, :string
  end
end
```

This is going to run this SQL:

```sql
ALTER TABLE "accounts" ADD "currency" character varying
```

### 2. When creating new records for that table, set the desired default value using your code

There are tons of ways of accomplishing it and it really depends on how you create your records, but this is good enough for the example:

```ruby
account.currency ||= "USD"
```

### 3. Backfill all your table rows with the desired default value

If you have a large database you also probably already have a way of running code for all your records  asynchronously to finish it really fast -- If not let me know -- but if you don't have it, a `.find_each` or a `.find_in_batches` would probably do the trick:

```ruby
Account.where(currency: nil).find_each do |account|
  # .update_attributes doesn't touch updated_at
  account.update_attributes(currency: "USD")
end
```

Why not just run `Account.where(currency: nil).update_all(currency: "USD")` ?

Because this ☝️ is going to lock your table while your database updates all your rows, that's why we need to update individual records so the database locking only happens per row.

### 4. Finally, add the default value to your column 🎉

```ruby
class AddDefaultToCurrencyOnAccounts < ActiveRecord::Migration[5.2]
  def change
    change_column :accounts, :currency, :string, default: "USD", null: false
  end
end
```

This is going to run this SQL

```sql
ALTER TABLE "accounts"
ALTER COLUMN "currency" TYPE character varying,
ALTER COLUMN "currency" SET DEFAULT 'USD',
ALTER "currency" SET NOT NULL
```

After that you can remove your code that sets the default value when creating your records from step #2 and it's done 🎉
Resource recommendation to help with deriving mathematical formulas
Tags: javascript, beginners
Published: 2019-11-17 01:00:39


Hi everyone,
I am a newbie to software development and lately I've been trying to improve on my problem solving skills and one common theme that stood out to me was my inability to derive mathematical formulas that will help with my programming logic. I am not sure if this makes sense, but let me give you a few examples, and hoping to get some feedback on how to improve on this skill?

#####Problem 1: Multiples of 3 and 5
<em>If we list all the natural numbers below 10 that are multiples of 3 or 5, we get 3, 5, 6 and 9. The sum of these multiples is 23.
Find the sum of all the multiples of 3 or 5 below 1000.</em>

I wrote the following function to solve it, which still have lots of room for improvement and need to make it DRY, but I was hoping I could come up with a mathematical formula to solve it instead of using brute force. 
```javascript
function sum(number, max) {
let i = 1;
let result = 0;
let sum = 0;
		
  while (result < max) {
					
        result = number * i++;

	if(result < max) {
		sum = sum + result;
	}
  }

  return sum;
}	


console.log(sum(3, 1000) + sum(5, 1000));
```

#####Problem 2: Calculate sum up to n
<em>Write a function that calculates sum up to n</em>

I didn't write this, but someone wrote a formula for it involving n, and I have no idea how he was able to derive this.
````javascript
function sum(n) {
  return n * (n+1)/2;
}
```
which does the same thing as this: 
```javascript
function sum(n) {
let total = 0;
for (let i=0; i <= n; i++) {
   total += i;
}

return total;
}
```

Hopefully this clearly explains my question and any recommendation would be greatly appreciated!
Thank you,
The 'I think I have got the hang of it' Moment - React
Tags: discuss, react, webdev, javascript
Published: 2019-11-17 00:19:59

---
title: The 'I think I have got the hang of it' Moment - React 
published: true
description: There are moments when we finally see the light at the end of the tunnel; when we are finally able to populate the freaking Bar Chart with data once and for all! I had my -'I have got the hang of it' moment with React today. When did you have yours?
tags: discuss, react, webdev, javascript
cover_image: https://thepracticaldev.s3.amazonaws.com/i/s8x97mh90ulo1kub4ly8.PNG
---

I was building my first React Application this month, and I just felt like I was crawling down, deeper and deeper into the abysmal hole of despair as I tried to build things.

![Alt Text](https://thepracticaldev.s3.amazonaws.com/i/pul0hercbq60qmk3wvxx.PNG)

My progress was excruciatingly slow, my App looked horrible and my spirits were low, I decided to take a break from React and focus on other things, AWS Services? Maybe?

After my short 'sabbatical' in which I watched several Youtube Tutorials about Javascript and React, (for the entire week) I decided to get back to the project and I now had a better grasp on things, I was able to build things way faster than before. 

I now had a gently grasp on what Promises were and how they worked!

I was now able to use Material-UI Elements to submit a form properly, then I was able to fetch the data from the MongoDB Server and populate my Chart with it! This all took roughly 4-5 hours. But, I was happy with the progress I had made.

This was my _I think, I have got the hang of it_ Moment!

![Alt Text](https://thepracticaldev.s3.amazonaws.com/i/s8x97mh90ulo1kub4ly8.PNG)

I am *really* curious to know if you have had a few similar ones, with React? 
Do share in the comments below!

If all goes well this could be Part 1 of the _I think, I have got the hang of it_ Series!
My Favorite Oh-My-Zsh theme
Published: 2019-11-17 00:04:47

I wanted to put this in my JS setup post, but I decided themes really were more a personal preference and not a necessary part of the whole scheme. But I did want to share. 

So my favorite [Oh-My-Zsh theme](https://ohmyz.sh/) is called [Honukai](https://github.com/oskarkrawczyk/honukai-iterm-zsh). It is not in the default themes for OMZ so you have to add it manually. It gives quite a bit of info. 

* Username
* Computer name
* Current directory name
* Current git branch name
* Current status of git (dirty / add / commit / push)
* Current time
* Fancy colors for each of above information.
* Always returns on a new line.

Here is a look at it.

![Alt Text](https://thepracticaldev.s3.amazonaws.com/i/jejdf0ja6g2aj7se5cxn.png)

So to get it you can download it [here](https://github.com/oskarkrawczyk/honukai-iterm-zsh/archive/master.zip) or go get it from the repo [here](https://github.com/oskarkrawczyk/honukai-iterm-zsh). 

1. Drop honukai.zsh-theme into the ~/.oh-my-zsh/custom/themes/ directory (simply create the themes directory if it does not exist)
2. Change the theme variable name to ZSH_THEME="honukai" in ~/.zshrc
3. Reload ZSH with source ~/.zshrc

Off to the races you go.
I need help with a changement
Tags: html, javascript, canvas
Published: 2019-11-17 00:02:13

Hi guys! I would like to have an information.
https://pastebin.com/68recZYa
In this code, when I click "Move" button, the image in "myDIV" div go ahead, and the viewport follow him. But I would like that this method would work in a canvas instead of a div. Can you tell me a how can I do it?
Looking for remote work
Tags: career, remote, webdev
Published: 2019-11-16 23:25:32

## TL;DR

I am looking for remote work. If you know anyone looking for Fullstack devs/consultants with cloud experience, feel free to email me @ dev@allanjeremy.com

[My github](github.com/AllanJeremy)

> If this violates any rules, I can take it down @ben

----
Hey, what's up guys. Been a while since I last posted here. 

Anyway, earlier this year, I'd joined a startup as a CTO. However, the other founders ended up going back on their word & I had to leave (more on this in an article I'll write)

That being said. I am currently looking for remote work/consulting work.

I have been coding for the past 9 years. I am a fullstack dev with experience  & multiple projects in Nodejs, Vue, PhP, SQL, MongoDb & Firebase among other tools. I am well versed in TDD & system architecture as well as design & game development. I have built systems on MVC, Service based architectures as well as supervised multiple teams of developers to deliver multiple solutions. I am an effective communicator in business, tech & entrepreneurship

If you are looking for someone or know anyone who may looking for a fullstack dev/consultant, please email me @ dev@allanjeremy.com

Thanks a tonne for your time
Cheers
Non-native English speakers of dev.to how do you keep your English skills sharp!
Tags: watercooler
Published: 2019-11-16 22:00:43

![cover](https://thepracticaldev.s3.amazonaws.com/i/uw8pxlje4s855vy3len0.jpg)
Image by [Tessa Kavanagh](https://pixabay.com/users/Tessakay-5116088) from [Pixabay](https://pixabay.com/photos/dictionary-languages-learning-2317654/)

I have seen that dev.to has a pretty big global community, so I would like to ask all the non-native English speakers in here, how do you maintain your English skills and what do you do to improve it?.

In my case, I'm using blogging in dev.to as a tool to improve mainly my writing skills, one of the things I use and highly recommend to anyone is Grammarly!, they have a really nice chrome extension to check your grammar.
Embedded visit counter doesn't work here. Any Idea why?
Tags: discuss
Published: 2019-11-16 21:50:26

---
title: Embedded visit counter doesn't work here. Any Idea why?
published: true
description: 
tags: discuss
---
Testing if this works...

Got a visit counter from  https://www.freecounterstat.com/ .

URL: https://counter9.wheredoyoucomefrom.ovh/private/freecounterstat.php?c=p8pa7snn91j8x7gashjuua3smee7r8m6

I embedded it as an image. But dev.to is caching images through a proxy, so the image URL is not being hit.

![](https://counter9.wheredoyoucomefrom.ovh/private/freecounterstat.php?c=p8pa7snn91j8x7gashjuua3smee7r8m6)

it's always 1

Any idea whats happening?
Moving to Game Maker!
Published: 2019-11-16 21:27:51

Hello.

So as I said in my last blog I continued to develop my game, but ClickTeam Fusion 2.5 is pretty limited and I want to make BIG projects for the future, and sadly ClickTeam Fusion 2.5 isin't the program for me, So I just moved to Game Maker (using the 1.4 version) And I gotta say the new experience is great! Learned a little bit of code thanks to Shaun Spalding. So yea now let's talk about my blogs.

Blogs will be weekly:

Everyday I'll wrote a mini blog about what happened that day for example: if I added some stuff, If I removed some stuff and more! 

Well thanks for reading this mini blog.
-Peroxin
What people don't tell you about being a Software Engineer
Published: 2019-11-16 21:24:24

Regardless of your skill level/years of experience, people Google search solutions every.single.day.
Many feel “imposter syndrome” even after years of experience.
Software engineering is thought to be this cush, high paying job. In reality, most developers probably work ~60+ hours per week, sometimes weekends, are on call if the app/site/software goes down, and tend to have general job stress.
It can actually be very difficult to get rich from a startup. Most fail, and if you are in one that is on track to be successful, you have to buy your stock options when you ever leave which can cost tens of thousands of dollars, and they may never be worth anything.
Engineers tend to be more social than people give them credit for.
They love the work so much, they would probably do it even if they weren’t getting paid.
You don’t need a college degree to do it, but you do need to be highly motivated.
You must put in a lot of time to continue learning to stay relevant with the ever-changing technology and trends.
You actually need people-skills to be successful
Do You Have a Web App Running in Production? Become a Guest on My New Podcast / Interview Site
Tags: devops, podcast, showdev, webdev
Published: 2019-11-16 18:32:05

---
title: "Do You Have a Web App Running in Production? Become a Guest on My New Podcast / Interview Site"
published: true
tags: devops,podcast,showdev,webdev
cover_image: https://thepracticaldev.s3.amazonaws.com/i/sh0nn6lou3bercpkh4e0.jpg
---

I recently started a new podcast / interview site to talk to other developers about how they've built and run their web apps in production. The goal here is to be able to see how others are building and deploying their apps so you can apply some tips back to your own projects.

**The site is live at <https://runninginproduction.com>.**

It's a place where you can talk all about your tech stack in detail and anyone is welcome to become either a guest on the podcast (audio only) or do an email based interview (text).

If you have a small or large web app running in production I'd love to hear your story. It's not restricted to a specific web framework either. So if you're using Flask, Phoenix, Rails, Node, Django, Laravel, Go, etc. it's all good.

**If you want to share your story on the site please fill out one of the below short forms:**

- Be a guest on the podcast by [filling out this form](https://docs.google.com/forms/d/e/1FAIpQLSdaCRorXztETX1rQxcYT67OTkF3BKb-max99RYpRPrEiO-sKw/viewform).
- Or get interviewed over email by [filling out this form instead](https://docs.google.com/forms/d/e/1FAIpQLSebe-PQxxw7HmtVbMEalavpzF5ZTmrd0X2EYNcEr2-23zmOng/viewform).

Or if you want to know a little bit more about why I started the site and what the process looks like to become a guest, here's a video:

{% youtube Wgvs30l3QpE %}

By the way, the TL;DR on me is I've been consistently blogging about web development topics for ~5 years on [my site](https://nickjanetakis.com) and over a year on dev.to. This is something I'm in for the long haul.

This is very much a community driven site since it depends on guests and folks to share their stories. So if you want to talk shop about one of your projects and have it listed there please fill out one of the above forms. Each story will be shared to tens of thousands of people.
How can you show your work if you are a backend developer???
Tags: backend, design, blog
Published: 2019-11-16 18:07:12

---
title: How can you show your work if you are a backend developer???
published: true
description: Backend developer problems
tags: Backend, design, blog
---

Hello, there!!

I just read a post from Lady Bug (I lost the link, but I'll put it in the comments), then I went to her profile and noticed she has a link to Dribbble, so I went there and it's a cool platform for designers. So this question popped out!! Hope you have some ideas!! 

Have a great weekend!!
FizzBuzz in Rust
Tags: rust, fizzbuzz
Published: 2019-11-16 17:57:29

## FizzBuzz

For numbers from 1 to 30:
* print "FizzBuzz" if number is divisible by 3 and 5
* print "Fizz" if number is divisible by 3
* print "Buzz" if number is divisible by 5

## Solution 1: general loop

```rust
fn main() {
    let mut n = 0;
    while n <= 30 {
        if n % 3 == 0 && n % 5 == 0 {
            println!("FizzBuzz");
        } else if n % 3 == 0 {
            println!("Fizz");
        } else if n % 5 == 0 {
            println!("Buzz");
        } else {
            println!("{}", n);
        }
        n += 1;
    }
}
```

## Solution 2: for_each + closure

```rust
fn main() {
    (1..=30).for_each(|x| {
        if x % 3 == 0 && x % 5 == 0 {
            println!("FizzBuzz");
        } else if x % 3 == 0 {
            println!("Fizz");
        } else if x % 5 == 0 {
            println!("Buzz");
        } else {
            println!("{}", x);
        }
    });
}
```