teleren/devto huggingface dataset:
First blog post...
Tags: introduction, firstpost
Published: 2019-08-15 21:19:42

Imagine entering a class for the first time and the instructor told you to come out, introduce yourself and tell the class about something you did recently with time lol 75% of you reading this will be intimidated, shy and uncomfortable while some of you might be confident. so as similar to this story i'm the new student and the instructor is dev.to while the classmates are you reading this right now and i hope am part of the small percentage of the confident ones 
       i'm Wilfred chukwu but you can call me fredcode. i am computer science student(almost done) but i'm really interested in web development and web scrapping. i'm currently living in the Philippines but i'm from Nigeria by birth

1) WHY AM I HERE?
      Actually i read dev.to,freecodecamp,hackernoon and techcrunch blogs regularly to get inspired and see the amazing impact of programming community
so i decided to start my blog talk about my experiences, projects and journey as an aspiring web developer

2) WHY DO I CODE OR EVEN BOTHER TO STRESS MY LIFE WITH BUGS?
     i wrote my first code at the age of 17, obviously yes a "hello, world" program with C language and what really made me interested in coding was the possibility of building amazing stuffs to either impact people's lives or have just have fun with. when i log on the internet or my phone and see all this apps and software out there i always have this feeling of building my own software or app would be mind blowing.

3) WHAT VALUE DO I PLAN ON GIVING YOU?
      when i started to code as a beginner i would have loved to read blogs documenting how the owner built his/her projects and the struggles they had overcome to fix the bugs and also detailed information of what they learned or improved on while making their project.....  now thats exactly what i'm going to be doing. 

(referring back to the story at the beginning) thank you my fellow classmates for listening to me and i hope i was articulated and confident too.
The Myth of the 3 Day Developer
Tags: codenewbie, webdeveloper, javascript, jobs
Published: 2019-08-15 21:16:32

---
title: The Myth of the 3 Day Developer
published: true
description: Nothing is more convoluted or complicated than a computer. So what's up with this idea that web development can be learned in a few days? 
tags: codenewbie, webdeveloper, javascript, jobs,
cover_image: https://thepracticaldev.s3.amazonaws.com/i/dif0zve35oidrn6zkl87.jpg
---

##Nothing is more convoluted or complicated than a computer. So what's up with this idea that web development can be learned in a few days? 

Was it the bootcamps' collective promise of turning code newbies into adroit MERN stack Ninja Rockstar Gurus in 8 weeks? 

People in my own YouTube niche? 

High-profile high-performers peacocking about on Reddit insisting that this stuff was pretty much easy and **mAyBE iF yOU rEaD the MDN DOcuMeNtATion YoU coUlD fIGuRe JaVaScrIpT oUt?**

It's hard to place blame in any one place. But the truth is, I meet developers more often than I should who beat themselves up for not learning X concept or tool or language in X amount of weeks. 

###Remember, a traditional CS degree takes 4 years PLUS extra time spent learning web development. 

Also remember that as developers we're attempting to control and understand the infinite every time we fire up our code editors. In other words? _This stuff is tough._

In response to this fervor of learning to code in X days/weeks, last year I published a video starring Tina Jensen. Tina is my alter ego who learned to code in just 3 days. 

<img src=https://thepracticaldev.s3.amazonaws.com/i/dif0zve35oidrn6zkl87.jpg width=50% height=50%>

Crude, confident and oblivious, Tina is sure she is job ready with her newly acquired dev skills. It doesn't occur to her that HTML doesn't stand for Hypertextual Misogynist Leprechaun or that "finding a job" doesn't mean spending 5 minutes scrolling through promoted listings on Indeed.com and calling it a day.

[Meet Tina:](https://www.youtube.com/watch?v=T-ISBcgkjVs) [![YouTube Demo video](http://img.youtube.com/vi/T-ISBcgkjVs/0.jpg)](http://www.youtube.com/watch?v=T-ISBcgkjVs)

The ultimate message is that this stuff takes time. It takes tons of practice, causes much frustration, inspires huge dreams, gives us a sense of victory when stuff works and triggers frequent brain melts. And if you ask me, it's all worth it. 

Of course, there will always be very high achievers who learn how to code in X days. Right on. 

For the rest of us, it's OK if it takes awhile.
'60 Days of Flutter: Building a Messenger from Scratch' : Day 3–4 : Building a Chat Screen in Flutter
Tags: flutter, android, mobile, uiweekly
Published: 2019-08-15 20:50:18

https://medium.com/@adityadroid/60-days-of-flutter-day-3-4-building-a-chat-screen-in-flutter-e2ed36388dc7?sk=da6cf57f149fa2d61d481cb2f93edde4
What is the hardest part of your job?
Tags: discuss
Published: 2019-08-15 20:47:09

---
title: What is the hardest part of your job?
published: true
description: What is the hardest part of your job? 
tags: discuss
---

Many people assume that solving those big, complicated problems is the hardest part of being a software engineer. Sure those problems are hard, but for many, they probably aren't the hardest part of their jobs. What do you do and what is the hardest part of your job?
How can I improve this flip card design 
Tags: css, html
Published: 2019-08-15 20:09:06

Hello guys ,I am out of ideas for designing this flip card.I need help of people who can help me get better of this card.


https://codepen.io/muhammad-ammar-the-bashful/pen/eYOJgVZ

Considering in mind that I have to design 120 of them and align them in a grid,so I want some cool ideas that,I can use on this card.
Company switching to Macs, should I switch my job?
Tags: help
Published: 2019-08-15 20:02:43

---
title: Company switching to Macs, should I switch my job?
published: true
tags: help
---

Like in the title.
The company said they will be getting Mac laptops for everyone. Everyone will have to use them as it's not an option.

1. The main reason they give is that the IT support will have much less work to do (like Ubuntu desktops ever required much attention).
2. The second reason is that Macs are supposed to be faster than current desktops (just give us better desktops).

Up to this point I was hoping that people who want to stay on Linux will have that option. As you can tell I am not very enthusiastic with the switch, and I seriously started considering switching jobs.

\#help?
Generic extension methods ambiguity in C#
Tags: csharp, generics
Published: 2019-08-15 19:33:59


As part of [our](http://expertisesolutions.com.br/) work in the [C# bindings for EFL](https://www.enlightenment.org/develop/tutorials/csharp/start.md), recently I stumbled upon a kinda non-obvious issue using C#'s extension methods.

While implementing support for the MVVM factories, extension methods on the factories were generated so you could bind properties from the model to properties of the objects that would be created. For example

```cs
var factory = new Efl.ItemFactory<ListItem>();
factory.Text().bind("modelProperty");
```

The factory will create instances of `ListItem` and upon instantiating them, will bind the `modelProperty` of the associated model element to the `Text` property of the newly created `ListItem` so whenever the model changes, the created widget shows the updated value.

To make these properties available, the following extension methods were generated for each property in each "wrappable" class (i.e. class that could go inside a factory):

```cs
/// Extensions for ListItem
static Bindable<string> Text<T>(this ItemFactory<T> fac) where T : ListItem
{
  ...
}
/// Extensions for GridItem
static Bindable<string> Text<T>(this ItemFactory<T> fac) where T : GridItem
{
  ...
}
```

So far, so good. But the code above has an important limitation. The `where` constraint [is not part of the signature](https://blogs.msdn.microsoft.com/ericlippert/2009/12/10/constraints-are-not-part-of-the-signature/). And if we tried to call one of these extension methods that have the same name but two different `T`s, ambiguity arises and the compilation will fail with [CS0121](https://docs.microsoft.com/en-us/dotnet/csharp/misc/cs0121) `The call is ambiguous between the following methods or properties:...`.

The solution we used (thank god [Stack Overflow](https://stackoverflow.com/a/14624904/347889)) was to add an extra default parameter dependent on the T and the type of the constraint. This would allow selecting an unique method based on the generic type parameter.

Using said method, we could do something like:

```cs
/// Magic tag to select the unique method
class MagicTag<TBase, TInherited> : where TInherited : TBase
{ }

/// Extensions for ListItem
static Bindable<string> Text<T>(this ItemFactory<T> fac, MagicTag<ListItem, T> x=null) where T : ListItem
{
  ...
}
/// Extensions for GridItem
static Bindable<string> Text<T>(this ItemFactory<T> fac, MagicTag<GridItem, T> x=null) where T : GridItem
{
  ...
}
```

This successfully gives enough info to the compiler select the single correct method without ambiguity *in most cases*. The exception is where we would have two methods with the same name and `TInherited` **is actually a derived class** from `TBase`. But in our case the code generator avoids generating repeated methods for inherited classes, bypassing this issue.

o/
[Video] Observing Node.js
Tags: video, node, observability, cascadiajs2018
Published: 2019-08-15 19:24:57

---
title: [Video] Observing Node.js
published: true
description: Understanding what is really happening within your Node.js processes can be... Difficult. I'll pull back the curtain and demonstrate tools and techniques for observing Node.js.
tags: video, nodejs, observability, cascadiajs2018
---
*As we lead up to [CascadiaJS 2019](https://2019.cascadiajs.com), I'm going to share the 24 amazing talks from 2018 here on dev.to. Sit back and enjoy the show!*

# James Snell
![James Snell](https://2018.cascadiajs.com/speakers/snell.jpg)

Understanding what is really happening within your Node.js processes can be... Difficult. I'll pull back the curtain and demonstrate tools and techniques for observing Node.js.

[Watch the talk on YouTube (25:43)](https://www.youtube.com/watch?v=C8dwQw7M8Pk)
Moving my static site to Azure Storage, saving time & money
Tags: azure, serverless, webdev
Published: 2019-08-15 19:24:45

*Originally published on my blog at [halldorstefans.com](https://www.halldorstefans.com/moving-my-static-site-to-azure-storage-saving-time-money/) on January 13, 2020*

About five months ago, around the time *.dev* domains came available, I wanted to try to set up a simple site on a server. There were two reasons why. Own a *.dev* domain and create a small Linux project. Recently I've been working up my knowledge in Azure and, because of that, I wondered what options in Azure were available to host my site.

When the *.dev* domains became available I knew straight away I wanted one (just because :) ) and decided to create a web-server project out of it.

I went for DigitalOcean at the time. The reason was that I found they had great tutorials and seemed more straightforward and less scary than Azure/AWS. I used *[this tutorial](https://www.digitalocean.com/community/tutorials/how-to-install-nginx-on-ubuntu-18-04)* as my starting point. Eventually, everything worked out great, and it was a fun little project.

However, since my interest in Azure has been growing in the last couple of months, and I started to think if Azure had any alternatives available where I didn't need to maintain the server myself.

After I read *This is how to easily deploy a static site to Azure* after Burke Holland, and the Microsoft *[tutorial](https://docs.microsoft.com/en-gb/azure/storage/blobs/storage-blob-static-website-host)*, I found out that Azure wasn't as scary as I thought at first. Once I realised that there was no turning back, I had to try it.

{% link https://dev.to/azure/this-is-how-to-easily-deploy-a-static-site-to-azure-31on %}

I'm not going to go through the steps of hosting the site in Azure since Burke Holland and Microsoft do a pretty good job doing that, and I recommend those instructions if you want to try it out.

I've now been running my site in Azure storage for two weeks, and the cost is still $0. I kept the Droplet in DigitalOcean during these two weeks, just in case something would have gone wrong or I wanted to turn back to it. But the cost during this time was around $2 (I was using the cheapest Droplet, which was $5/month). Since I was happy with the outcome and this little project of mine was a success, I decided to delete my Droplet and use this solution for now.

Although $5/month is not much, it's always nice to find ways to save money. Plus, I also skip the maintaining server. So, I saved time and money. Win-win.

---

Thank you for reading. For weekly updates from me, you can sign up to my [newsletter.](https://email.halldorstefans.com/)
I wrote my first MagicMirror² Module
Tags: magicmirror, showdev
Published: 2019-08-15 19:23:39

I heard about MagicMirror a while ago. I always wanted to build one myself but like all of my side projects it got swallowed by everything more important than a mirror that tells me I look pretty. I then didn't think about it for a long time. But I've got some spare time lately and the idea popped back into my head. I started looking into the [repo and documentation](https://github.com/MichMich/MagicMirror) because I was curios how it evolved. And then I found the list of 3rd party modules. I scrolled through it and was blown away by the amount of different tools the community created. It's amazing to see a lot of useful, funny or even trivial modules and keeping in mind that there is at least one person using it on his or her mirror.

So I thought the best way to start this Project is to create my own first module. Since i recently had a lot of troubles  with my internet connection due to the fact that my provider was bought and I was switched to the new Providers network, I decided to create a module that show the current bandwidth throughput on my router. I also find it somewhat amusing to watch those numbers while someone at home is browsing the web or watching Netflix.

At first I had to find out how to fetch those numbers from my Ubiquity EdgeRouter. It took me some time but in the end it wasn't that hard to do via the command line interface. I then started reading the MagicMirror documentation and developing the module. While I did not expect it to be difficult, it was even easier than I thought. Kudos to [Michael Teeuw (creator of the MagicMirror)](https://github.com/MichMich) for creating this awesome Platform! I can only recommend checking it out yourself.

I plan on writing a little more in-depth post on how I created the module. I even created a second one while writing this post. Until then you can checkout the code itself.
{% github mscharl/MMM-edgerouter-throughput %}
Quickly edit database from an iPhone
Tags: mysql, postgres, sqlite, database
Published: 2019-08-15 18:54:26

---
title: Quickly edit database from an iPhone
published: true
description: Tips to make a quick edit to your database from an iPhone using TablePlus iOS
tags: MySQL, PostgreSQL, SQLite, database
---

TablePlus iOS makes it easy to manage your database from a device as small as an iPhone.  

If you haven’t installed TablePlus iOS on your iPhone, get it [**here**](https://tableplus.com/ios).

The following guide was demonstrated on an iPhone 6 (4.7 inches).

#### 1. Inline edit

TablePlus open a database in a spreadsheet-like view. On a small screen like this one, you can save more screen space by hiding the left sidebar when you don’t need it. Simply drag its borderline to the left side.

With the table view, you can select and edit any data cell directly with a double-tap. 

![Inline Edit](https://thepracticaldev.s3.amazonaws.com/i/h0rcv6k0pvqqpz5l3ebg.gif)

If the value is long and you need more space to work on it, you can use the text editor instead. To use	 the text editor:

* Tap and hold on the data cell you need
* Select Text Editor from the popup menu
* Edit the long value in a bigger text editing view
* Tap outside of the editor to close it

![Text Editor](https://thepracticaldev.s3.amazonaws.com/i/nkjq507g6uwp900qxolv.gif)

#### 2. Right sidebar

When you have a table with many columns, this right sidebar will help you view and edit a specific record easily and you will not mistake it for another row while scrolling. To use it, drag in the borderline on the right of the data table, then drag it out when you don’t need it anymore.

![Right Sidebar](https://thepracticaldev.s3.amazonaws.com/i/nkjq507g6uwp900qxolv.gif)

#### 3. Advanced data filters

To quickly filter out the records you want to see, use this. By default, the filter is hidden above the data table and to use it, you just need to drag the upper borderline down.

![Filters](https://thepracticaldev.s3.amazonaws.com/i/udtgn3jtg8ghwio93ph5.gif)

#### 4. Code review

The main concern for working on a small screen is that we might accidentally make a change, like a delete action, without knowing it. Then when we figure it out, it might be too late. TablePlus has an editing mode that is both convenient and safe to use. The change you have made will be pending, you can either review it first, choose to commit to the server or cancel it.

![Code review](https://thepracticaldev.s3.amazonaws.com/i/hhfbshbamtr4f1sz8360.gif)

Furthermore, you can undo and redo all those changes easily using the classic combination of Cmd + Z, or holding the title bar and select Undo, everything is always under control.

#### 5. Multiple tabs and multiple workspaces

When you work with multiple databases at the same time, it’s easy to open another table, or switch to another connection and have them active at the same time.

![Multiple Tabs](https://thepracticaldev.s3.amazonaws.com/i/nkjq507g6uwp900qxolv.gif)
The DevOps circle of life
Tags: devops, discuss
Published: 2019-08-15 18:17:51

---
title: The DevOps circle of life
published: true
description: 
tags: #devops #discuss
cover_image: https://thepracticaldev.s3.amazonaws.com/i/4ckclhe73y0tp8vdvlqh.jpeg
---

DevOps is about everyone involved in developing a system sharing the same goal. That goal can be as vague as `winning in the market` or `making customers happy`. With this goal, decision making becomes easier.

More often than necessary, teams make decisions based on how it will affect them, disregarding the bigger picture. Although it's often hard to measure, this unproductive behavior costs a lot of time. Time that could be spent on your business goals. DevOps is all about reducing the amount of finger pointing and told-you-so's.

The easiest way to make sure a team takes the bigger picture into account for decisions, is by making the team responsible for the bigger picture of their system. As long as responsibility is shared among teams, you risk those teams forming their own slightly different goals, which will generate frustration and suboptimal decisions.

The hard thing is that you need to be able to get a good overview of the impact of your decisions on the bigger picture. That means everyone should have knowledge or easy access to knowledge about many aspects of their systems. In many cases, it requires a team to have more skills than a single person can even have. There are real challenges in composing and sustaining a team with such diverse skills.

When your team is composed of people with diverse skills, this brings other benefits. There's less coordination with other teams necessary. Not having to wait for another team to start thinking about something is an amazing feeling. With all these skills combined in a team, it becomes easier to transfer knowledge and spread the workload where necessary.

In a lot of organisations there is a tension between development and operations. Development releases new features that operations has to make sure keeps working together with what's already there. It is tempting to optimize for rate of change on the one side and stability on the other side. When one team is responsible for both adding new things and maintaining existing things, a very helpful feedback loop forms. When the system is stable, the team has more time to add features. On the other hand, adding features too fast will directly impact the team's ability to maintain the stability of their system.

It's this circle of life that makes sure you're optimizing for the bigger picture. What is the main goal of your company? Do you feel that your day to day decisions align with this goal?
Charm City Postgres
Tags: postgres, meetup, community, baltimore
Published: 2019-10-02 02:22:07

---
title: Charm City Postgres
published: true
tags: postgresql,meetup,community,baltimore
canonical_url: https://xzilla.net//blog/2019/Aug/Charm-City-Postgres.html
---

This post marks the official launch of the Charm City Postgres Meetup group. Our goal is to help bring together the growing community of Developers, DBAs, DBREs, and other technologist in the greater Baltimore area who are working with Postgres. We’re currently working to organize folks and would encourage interested people to [sign-up on the meetup site](https://www.meetup.com/Charm-City-Postgres/), and have set an initial meetup at [Smart Office @ BWI](https://smartofficebwi.com). If you have questions or want to speak, sponsor, or host a meeting in the future, you can contact me either through the meetup page or find me on the [Postgres Team Slack](https://join.slack.com/t/postgresteam/shared_invite/enQtNzI3NDUwNDM5ODc2LTk5NWZhMzIxMDcxZWRkOThkMTAyZTNhMmZmMzAxNmMyNzM3ZDI2NTViNTI2MTFlZGYxM2ExMjkyMjMwNTAzMjM).
React Native Custom Common Toast for both Android iOS App
Tags: reactnative, react, android, ios
Published: 2019-08-15 17:54:13

---
title: React Native Custom Common Toast for both Android iOS App
published: true
description: React Native Custom Common Toast for both Android iOS App
tags: #reactnative #react #android #ios
---

Source : <a href="https://www.skptricks.com/2019/08/react-native-custom-common-toast-for-android-ios.html" > React Native Custom Common Toast for both Android iOS App</a>


This tutorial explains how to create custom toast message in android or ios device in react native application. Toast is the one of the oldest component in android applications history.Toast would only obtain text message and automatically fill on screen according to given message. By default react native Android app supports Toast message but the iOS dose not support Toast. Toast is the one of the oldest component in android applications history. Its been present since the beginning of Android app development and continuously used by millions of developers. Toast is used to give a simple feedback on any given task when the task is completed.

<img src="https://1.bp.blogspot.com/-hQa5D-yMxVo/XVVeD1NFXQI/AAAAAAAADUE/Kon5pWpkOyEJic0tXbDHSlK9b9fYqFcpQCLcBGAs/s400/react-native-custom-common-toast-for-android-ios.jpg" />

<a href="https://www.skptricks.com/2019/08/react-native-custom-common-toast-for-android-ios.html" >Click here to read more</a>