teleren/devto huggingface dataset:
30 hours in Unity
Tags: unity3d, ide, hololens
Published: 2017-03-28 16:08:22

---
title: 30 hours in Unity
published: true
description: Recently I was tasked with creating a Unity prototype project for the Hololens -- this is my takeaway.
cover_image: http://pterneas.com/wp-content/uploads/2016/04/hololens-unity-cover.jpg
tags: unity, IDE, Hololens
---

Recently I was tasked with creating a Hololens prototype in Unity. The only experience I had with Unity was a tutorial 3 years ago where every _single_ step was drafted out. I thought that gave me enough of an introduction to navigate around the IDE without too many tears, so onward I went.

Here are my takeaway:

1. IDE on steroids
In first impression, the IDE had a lot of configurations that seemed really straightforward. For a new object, it was as simple as selecting which object I needed, then dragging it into place. That's it. Configuring the object further introduced me to the inspector panel which provided so many options! It seemed like a GUI approach to programming.. which took me a while to accept.

2. Scripting is next level awesomeness
Once your objects are all created and in the scene.. it's time to add the logic. Usually this is the part that gets extremely messy. However, because the IDE allowed me to configure so much -- including colliders -- My scripts were basically 15 lines of code. The Hololens really bloated it up with custom functionality that you must implement through code, BUT, it's still new technology, so we'll let that slide for now.

3. What is happening?!
A few hours in, it was time to connect the objects to the scripts. I was having 1,050 problems that I won't get into here. I actually gave up 3 different times, then finally reached out on Twitter for help. The culprit was another scene (what the app actually loads and user sees) from the original author, which when I loaded the project in Unity, was not loaded. I don't know how or why, but this simple, and very stupid mess-up cost me a lot of time and pain. 

4. Take me home.
After the above episode, I was done with Unity. But I had to finish the project, even though I was already asking my boss to put me on the next iOS project.

5. BAM!
Deployment was really a quite amazing experience, and probably what saved my opinion of Unity. There were a few settings to play with, but it was as easy as selecting a platform and saying 'run'. They had the windows platform available, iOS, Android, and more. Experiencing my app within the Hololens really put into perspective Unity's advantage. 
They have MASTERED 3D/AR/and VR in one IDE. 
Implementing these things natively in iOS and Android would've taken a very long time. But realistically, I was done in about 30 hours of actual work.

Unity wasn't terrible. It was fairly easy to pick up and get started. There's a lot of tutorials out there, and plenty of Unity developers to help you out if you get stuck. There's also plenty of free 3D models in the Asset store too. If you're looking to dip your toe into some 3D/AR/VR/Gaming, you should check it out. Let me know how it goes!
Hi, I'm Takkar
Tags: introductions
Published: 2017-03-28 16:06:42

---
title: Hi, I'm Takkar
published: true
description: My introduction post
cover_image: 
tags: introductions
---

I have been coding for [2] years.

You can find me on GitHub as [@yTakkar](https://github.com/yTakkar/)

I live in [mumbai].

I don't work, but looking for a job.

I mostly program in these languages: [JavaScript, NodeJS, ReactJS, VueJS, AngularJS, PHP, Golang, Python, Ruby On Rails].

I am currently learning more about [Python, ElectronJS].

Nice to meet you.
Hi, I'm Alberto Garrido
Tags: introductions
Published: 2017-03-28 13:45:08

---
title: Hi, I'm Alberto Garrido
published: true
description: My introduction post
cover_image: 
tags: introductions
---

I have been coding for 8 years.

You can find me on GitHub as [albertogarrido](https://github.com/albertogarrido)

I live in Berlin.

I mostly program in these languages: Java, Kotlin, Javascript, PHP, and some others.

I am currently learning more about Rx, Kotlin, Anko, Architecture.

Nice to meet you.
How To Write Clean Organized Code
Tags: organizedcode, html, css
Published: 2017-03-28 12:53:41

---
title: How To Write Clean Organized Code
published: true
description: clean, organized, code
cover_image: 
tags: organized code, HTML, CSS
---

If there's one thing you should get into the habit of when you're learning how to code, it's writing clean and organized code. If you plan on ever looking for a bug in long lines of unorganized and messy code, good luck! In this article, I'm going to give you four easy tips that you can use to write clean and organized code (i.e. HTML, CSS).

##1. The Top-Down
Writing your code from the top-down is easy to do. When you're writing out your code, you want it written in the same logical flow of how you designed your website, which is usually from the top-down. This method is easy when coding HTML5 because the positioning of the code is vital to the structure of the website. If you do this in your stylesheet, you're going to find it so much easier to read and find areas in your CSS code. Consistent use of the top-down method will make your code editing so much easier.

##2. Using Comments (moderately)
Take advantage of the ability to add comments in your code. Especially in your stylesheet, where long lines are inevitable. Now, I'm not saying to add comments to your code, line by line. This is mostly for the larger sections of code on your website. This will help keep your code structured and organized. If you're familiar with CSS, you might be aware of how long those lines of various styles can get. Here's a tip: add a “table of contents” at the beginning of your stylesheet. The table of contents will list the different sections within the document. You'll also have headings at the start of every section.

##3. Use Preprocessors
Preprocessors help to promote the practice of writing clean and organized code, but that's not all that they do. Preprocessors can also save you a lot of valuable time. Ever heard of Sass, Haml or CoffeScript? They're all preprocessors. They help reduce the amount of code that you would use to write CSS, HTML, and JavaScript. They also follow the DRY (Don't Repeat Yourself) principle. Preprocessors are customizable and have huge communities behind them. So, if you want to learn how to use preprocessors, there's a ton of support.

##4. Use Code 'Beautifiers'
Code â€˜Beautifiers' are the best invention since sliced bread. It could take hours trying to indent your lines of code, remove spacing and more. If you're a fan of quick fixes, code beautifiers will do the trick. I've found several on the web and I've used them with great success. Here's some that you might want to try out: DirtyMarkup, CleanCSS, HTMLTidy.
Hi, I'm Thibaut
Tags: introductions
Published: 2017-03-28 12:06:02

---
title: Hi, I'm Thibaut
published: true
description: My introduction post
cover_image: 
tags: introductions
---

I have been coding for 5 years.

You can find me on GitHub as tibo9 (https://github.com/tibo9)

I live in Strasbourg, France.

I work for ChargeMap

I mostly program in these languages: Swift, PHP.

I am currently learning more about MVVM and SwiftRx.

Nice to meet you !
Hi, I'm Parthan aka technofreak
Tags: introductions
Published: 2017-03-28 11:45:58

---
title: Hi, I'm Parthan aka technofreak
published: true
description: My introduction post
cover_image: 
tags: introductions
---

I have been coding for 12+ years.

You can find me on Twitter as [@technofreak](https://twitter.com/technofreak)

I live in Melbourne, Australia but originally from Chennai, India

I work at [IBS Australia](http://www.ibsglobalweb.com/) and, I used work for [Freshworks](https://freshworks.com/).

Though I am a Polyglot, mostly fiddle around with Ruby, Python and JavaScript.

Of late, I am getting my hands dirty with Go, React and Machine Learning.

Nice to meet you! ðŸ™ðŸ¼
Hi, I'm Yara
Tags: introductions
Published: 2017-03-28 04:13:01

---
title: Hi, I'm Yara
published: true
description: My introduction post
cover_image: 
tags: introductions
---

I have been coding for 2 years and its something that I really enjoy.

I mostly program in Python, Perl and I am currently learning more about Unix.


You can find me on Twitter as [@yaralopezj](https://twitter.com/yaralopezj),
Cheers!
Hi, I'm Kirsteen
Tags: introductions
Published: 2017-03-28 02:08:40

---
title: Hi, I'm Kirsteen
published: true
description: My introduction post
cover_image: 
tags: introductions
---

I have been coding for 23 years.

You can find me on Twitter as [@kirsteend](https://twitter.com/kirsteend)

I live in Toronto. 

I work for Oracle

I mostly program in these languages: Java, Groovy, Ruby, JavaScript.

I am currently learning more about Microservices.

Nice to meet you.
Dropbox Server Backups
Published: 2021-01-28 21:47:05

---
title: Dropbox Server Backups
published: true
date: 2013-08-24 12:00:00 UTC
tags: 
canonical_url: 
---

Over the past few months I have been searching for a backup solution for my VPS's. I wanted a single solution that allowed me to backup multiple sources such as MongoDB, MySQL and the usual files.

After a while searching, I decided I would build it myself, due to not being able to find the perfect solution.

Before this, I simply had the Dropbox service running on each machine, and had a cron that copied mysqldump into the Dropbox folder, which was synced. This worked well, but it was quite laborious to setup.

Because of this, I opted to use the Dropbox API directly to backup from the tool. This allowed me to deploy the script to any server ([see here](https://blog.scottrobertson.me/post/git-deployments)) and the only dependencies are PHP and Curl.

When setting it up, all you need to do is run:

```
bin/console dropbox:auth

```

This will give you an authorisation link for Dropbox, which will return a token which is used to build your config file.

Once you have set the config file up (see the repo's README.md for details). You will be able to simply setup a cron to run the following for instance:

```
bin/console export:mysql

```

This will loop over each database you have access to, mysqldump them, gzip them and upload them to Dropbox. My MySQL (and MongoDB) backups, are set to backup once per hour, but the file is stored YMD, which means that the file will be overwritten. This would normally be a bad thing since you could overwrite with a bad backup easily, but because we are using Dropbox, it keeps internal revisions meaning that we have around 23 copied per day, but we keep the storage space to a minimum.

If you would like to view the source, and maybe use the tool, then please head over to [Github](http://github.com/scottrobertson/backup). Let me know if you have any questions, or suggestions.

<!--kg-card-end: markdown-->
Hi, I'm Gerardo
Tags: introductions
Published: 2017-03-27 22:16:05

---
title: Hi, I'm Gerardo
published: true
description: My introduction post
cover_image: 
tags: introductions
---

I have been coding for 6 years.

You can find me on GitHub as Arkangelg26(https://github.com/Arkangelg26)

I live in MÃ©xico.


I mostly program in these languages: c#, Python, JavaScript, TypeScript.

I am currently learning more about Haskell, Elixir and Golang.

Nice to meet you.
Hi, I'm Sherilyn Moline
Tags: introductions
Published: 2017-03-27 19:57:08

---
title: Hi, I'm Sherilyn Moline
published: true
description: My introduction post
cover_image: 
tags: introductions
---

I have been coding for 2 months.

You can find me on GitHub as [smoline](https://github.com/smoline)

I live in Tampa.

I work for myself

I mostly program in these languages: Ruby on Rails.

I am currently learning more about Ruby on Rails.

Nice to meet you.
OrgManager: Free invite system for your GitHub Orgs
Tags: orgmanager, showdev, laravel, github
Published: 2018-11-22 08:25:41

---
title: OrgManager: Free invite system for your GitHub Orgs
published: true
tags: OrgManager, showdev, Laravel, GitHub
canonical_url: https://miguelpiedrafita.com/orgmanager/
cover_image: https://images.unsplash.com/photo-1507679799987-c73779587ccf?ixlib=rb-0.3.5&q=80&fm=jpg&crop=entropy&cs=tinysrgb&w=1080&fit=max&ixid=eyJhcHBfaWQiOjExNzczfQ&s=409733ae39c18909ba04a4dc70aa678d
---

GitHub Organizations are an awesome way to manage open-source teams or group your brand’s open-source projects, and they’re also a great way to collaborate with strangers from all around the world. This “open GitHub Organizations” are organizations that everyone can join **if they ask to**.

I noticed that GitHub organizations were missing a better invite system: you can add people to an organization, but you can’t setup a “Join this organization” button to appear at the top of the organization page.

This means future members need to:

1. Ask for an invite (most “open organizations” have an issue you can comment to get one).
2. Wait until an administrator sees your message and sends you an invite.

This process can take from a day to a week.

When I discovered this, I was learning Laravel, so I thought I could build a small application using Laravel and the GitHub API to make the process faster and easier. The result was called OrgManager.

![OrgManager: Free invite system for your GitHub Orgs](https://raw.githubusercontent.com/orgmanager/branding/master/PNG/orgmanager_Horizontal.png)<figcaption>The OrgManager logo</figcaption>

For your organization, using OrgManager is simple: go to the [home page](https://orgmanager.miguelpiedrafita.com) and click on the login link. Then, you’ll be redirected to GitHub, where you need to authorize OrgManager to administer the organizations you want to use it with. Then, you’ll be presented with a dashboard, where you can get the link you have to share with your users, password-protect the page, invite users to GitHub Organization Teams, sync or delete the organization from OrgManager.

For your users, it’s easy peasy lemon squeezy: they open the link you shared, click a big button, and they’re in!

Wanna use it? Sign up at the [OrgManager Hosted Version](https://orgmanager.miguelpiedrafita.com) or [self-host it](https://github.com/orgmanager/orgmanager#deployment).

Finally, you can [support me on Patreon](https://patreon.com/m1guelpiedrafita) to help me maintain the project and keep the hosted version up.
Hi, I'm Sergio SÃ¡nchez
Tags: introductions
Published: 2017-03-27 18:00:21

---
title: Hi, I'm Sergio SÃ¡nchez
published: true
description: My introduction post
cover_image: 
tags: introductions
---

I have been coding for six years.

You can find me on GitHub as [sergiosquevedo](https://github.com/sergiosquevedo)

I live in Ciudad Real, Spain.

I work for [Grey Systems](http://www.greysystems.eu/)

I mostly program in these languages: Ruby, Java and C#.

I am currently learning more about Rest and Enterprise Integration patterns.

Nice to meet you.
Hi, I'm Tony
Tags: introductions
Published: 2017-03-27 13:43:51

---
title: Hi, I'm Tony
published: true
description: My introduction post
cover_image: 
tags: introductions
---

I have been coding for > 20 years.

You can find me on GitHub as [zeg-io](https://github.com/zeg-io)

I live in Dallas.

I work for Zetta Engineering Group

I mostly program in these languages: JS (and C# in the past).

I am currently learning more about node/react/[insert library here].

Nice to meet you.
Hi, I'm eazuka
Tags: introductions
Published: 2017-03-27 13:24:08

---
title: Hi, I'm eazuka
published: true
description: My introduction post
cover_image: 
tags: introductions
---

I have been coding for 12 years.

You can find me on GitHub as [eazuka](https://github.com/eazuka)

I shuttle between London, UK and Lagos, Nigeria but prefer working remotely from the warm weather of Nigeria.

I work for Lean Digital Limited and Twiggled Limited both Digital agencies in UK

I mostly program in these languages: PHP, Python and Javascript.

I am currently learning more about Lua programming language.

Nice to meet you all, i hope i enjoy spending time here.
Hi, I'm PyLadies_BCN
Tags: introductions
Published: 2017-03-27 12:36:19

---
title: Hi, I'm PyLadies_BCN
published: true
description: My introduction post
cover_image: 
tags: introductions
---

I have been coding for 8 years.

You can find me on Twitter as [@PyLadiesBCN](https://twitter.com/PyLadiesBCN)

I live in Barcelona.

I mostly program in Python.

I am currently learning more about Data Science and Machine Learning.

Nice to meet you.
Hi, I'm Stephen Wilson
Tags: introductions
Published: 2017-03-27 09:51:55

---
title: Hi, I'm Stephen Wilson
published: true
description: My introduction post
cover_image: 
tags: introductions
---

I have been coding for 7 years.

You can find me on GitHub as [stephenwilson1984](https://github.com/stephenwilson1984)

I live in Derry, Ireland.

I mostly program in these languages: C#, JavaScript, Angular, SQL.

Nice to meet you.
1pr Day 3: Added styles and a project contributor list
Tags: 1pr, github
Published: 2017-03-26 18:05:37

---
title: "1pr Day 3: Added styles and a project contributor list"
published: true
description: The second post about my 1-pull-request-a-day project.
cover_image: 
tags: 1pr, github
---

This is the second post about this project. In case you missed it, is the [explanation](https://dev.to/ben/as-one-does-at-three-oclock-in-the-morning-i-started-a-funky-side-project). Today, I merged [this PR](https://github.com/thepracticaldev/1pr/pull/12), adding styling and a list of contributors. The project's home page went from looking:

### From this:

![](https://thepracticaldev.s3.amazonaws.com/i/gx74k61yrlydp7rhk7st.png)

### To this:

![](https://thepracticaldev.s3.amazonaws.com/i/uj8y76qooawq2ik9omu6.png)

### Yay!

I'd say things are coming along quite nicely. Please consider submitting a PR. Remember, this project could become _anything_, but it will become more defined over time. It has been a lot of fun.
Hi, I'm Alex Sergeev
Tags: introductions
Published: 2017-03-27 08:43:08

---
title: Hi, I'm Alex Sergeev
published: true
description: My introduction post
cover_image: 
tags: introductions
---

I have been coding for more than 17 years.

You can find me on Twitter as [@ALSEDI](https://twitter.com/ALSEDI) or [GitHub](https://github.com/alsedi)

I live in Stockholm, Sweden.

Atm I work for Dynamo Consulting AB company which is one of the best mobile development companies in Sweden.

I mostly program in Swift and Android Java, but for sure I know Objective-C also. However, I prefer Swift.

I am currently learning more about game development (by RW books) and graphics programming.

Nice to meet you.
Hi, I'm Beren Rumble
Tags: introductions
Published: 2017-03-27 07:37:22

---
title: Hi, I'm Beren Rumble
published: true
description: My introduction post
cover_image: 
tags: introductions
---

I have been coding for [number] years.

You can find me on GitHub as [Berenr](https://github.com/Berenr)

I live in [city].

I work for [company]

I mostly program in these languages: [languages].

I am currently learning more about [topic].

Nice to meet you.
Interfaces
Tags: softwaredevelopment, development, interface, csharp
Published: 2020-02-14 21:16:33

---
title: Interfaces
published: true
date: 2017-03-27 07:00:38 UTC
tags: SoftwareDevelopment,development,interface,csharp
canonical_url: https://www.funkysi1701.com/posts/interfaces-1kfa
---

I am trying to understand interfaces and when to use them in my code.

An interface defines a contract and any class that implements that interface agrees to fulfil that contract.

Lets look at an example as this tends to be how I learn best.

Most applications require some sort of data to work from so lets start by defining IData which can load data.

> ```
> public interface IData{ Blog LoadData(string Connectionstring);}
> ```

My interface defines one method LoadData and outputs an object called Blog (I will explain why in a minute)

A common data source is a SQL database so we could define a SQL class that implements IData.

> ```
> public class SQL : IData{ public Blog LoadData(string Connectionstring) { Blog blog = new Blog(); using (SqlConnection con = new SqlConnection(Connectionstring)) { con.Open(); //etc
> ```

We could also get data from an RSS feed of a blog (hence why I called the object Blog earlier)

> ```
> public class XML : IData{ public Blog LoadData(string Connectionstring) { XmlDocument myXmlDocument = new XmlDocument(); myXmlDocument.Load(Connectionstring); Blog blog = new Blog(); foreach (XmlNode RootNode in myXmlDocument.ChildNodes) { //etc
> ```

Both classes implement IData and have a method called LoadData which has a string parameter and outputs a blog object. The string parameter is either a connection string to a SQL database or the URL of the rss feed. Not sure if there is a better way of doing this bit, maybe the name of the string needs making more generic.

Now we have some classes that implement an interface what can we do with them. Lets write a class called GetData which gets data but doesn’t care if it comes form the rss feed or a SQL database.

> ```
> public class GetData    {        private IData \_repo;         public GetData(IData repo) { \_repo = repo; }         public Blog LoadData(string Connectionstring)        {            var original = \_repo.LoadData(Connectionstring);            return original;        }    }
> ```

When we call GetData we can either pass in XML or SQL as the class is not tied to either implementation. We could even write other classes that implement IData for testing purposes.

My full code can be found on [github](https://github.com/funkysi1701/InterfaceExample).

The advantages of writing code in this way include code that is easier to extend, easier to test and easier to maintain. This is only the start of my understanding and I am sure this is going to be a topic I come back to in the next few weeks.
How do you track software feature requirements?
Tags: discuss
Published: 2017-03-26 11:10:11

---
title: How do you track software feature requirements?
published: true
tags: discuss
---

I believe we all agree that communication is a weak point of software development in a team and with management.

I think a software for making decisions on features (or more generally
 requirements), commenting on the options how to do it and some mean of agreeing on would be pretty useful. It should also track all additional changes, lets not be naive :)

With a history, people who were out of the project for some time would catch-up easily. Also It could prevent some of the complains that something was made while not matching ideas from someone's head.

If done simply, even small teams could benefit from it. The team would have documented options how to implement something and a reason why they chose one.



My questions is: Does something like this exist? Are you happy with general-purpose tools like text-documents, wikis, mind maps, excel or whatever for this purpose?

Thanks for sharing!
Hi, I'm Jim Liu
Tags: introductions
Published: 2017-03-26 21:13:11

---
title: Hi, I'm Jim Liu
published: true
description: My introduction post
cover_image: 
tags: introductions
---

I have been coding for [number] years.

You can find me on GitHub as [jimcal](https://github.com/jimcal)

I live in [city].

I work for [company]

I mostly program in these languages: [languages].

I am currently learning more about [topic].

Nice to meet you.