teleren/devto huggingface dataset:
My first React Project 😆
Tags: react, javascript, html, css
Published: 2019-04-29 08:20:12

---
title: My first React Project 😆
published: true
description: 
tags: react, javascript, html, css
---
Website: [FedHub](https://wwsu97.github.io/fedhub_beta/)
GitHub: [wwsu97](https://github.com/wwsu97/fedhub_beta)

It’s a website which integrates high qualities of front-end development resources like videos, articles and books, the contents are just some fake data for now. It’s totally responsive, hope you guys like it, and I’ll appreciate it a lot if you can star it on GitHub, thanks! Front-end is awesome! 🤩
Reaching out, WASM help. Embedding Lua.
Tags: webassembly, lua, help, opensource
Published: 2019-04-29 08:12:42


# Intent
https://github.com/acronamy/wasm-lua-node-tidal

I have been working on this experiment for a little while now, its maddening, I'm fairly sure I am 99% of the way but I have hit a roadblock.

I have a desire to call Lua from node.js as a WASM module, there are some existing projects but they focus on Lua in browser, I see a different potential for Lua - despite the listing for one of the worst programing languages this year, (based on usage, like saying my screwdriver is bad at screwing because I don't use it much) - I have this year fallen in love with Lua. 

Much like the creator of the popular Lovit framework, I want to have a much faster alternative to V8 available but also a nice and familiar application, but this project differs, Instead of replacing node, lets use Lua as it was intended, an embedded scripting language running transparently together with node.js, not replacing it just complementing it.

## What do you want from me?
So yeah let's get to the point, This is my first and likely unsuccessful callout to the community, you don't need to know much about Lua, but if your into emscripten and mentor me, or can get my application to compile and run. or put in a PR, I would be so grateful, I am at a point where I can ccall my _run_lua function but I get a memory out of bounds error. No idea...

## Where am I going with this? 
I would like to get the fantastic Love2D game engine working in html canvas at near native speeds. I would also like to get open-resty integrated, I have a lot of ideas.

Thanks for reading!
Open Source iOS Profiling/Debugging Tools
Tags: ios, profiling, debugging, tools
Published: 2019-04-29 08:12:41

---
title: Open Source iOS Profiling/Debugging Tools
published: true
description: Tools aim to help iOS developers improve development productivity and assist in optimizing the App performance.
tags: iOS, Profiling, Debugging, Tools
---

We've open source our Profiling/Debugging tools for iOS MTHawkeye, It help us to find out memory issues, reduce time-consuming task and so on. Hope you would like it and any contribution will be welcome.


For detail, see [post at medium](https://medium.com/@EuanChan/open-source-ios-debugging-profiling-tools-mthawkeye-3f56b76a7eba)
Contribute to Open Source
Tags: javascript, java, opensource
Published: 2019-04-29 07:30:14

---
title: Contribute to Open Source
published: true
description: We will discuss how to contribute and be a good citizen of an open source community. We talk about guidelines and license. We also look into code style and pull requests.
tags: JavaScript, java, opensource
---

{% youtube ndgNmc7hM1E %}
Quick thermal app tour
Tags: git, showdev
Published: 2019-04-29 07:22:11

---
title: Quick thermal app tour
published: true
description: Showing how thermal application works.
tags: git, showdev
---

This short video shows how you can commit using [Thermal application](https://thermal.netlify.com).

{% link https://dev.to/mittalyashu/one-stop-to-all-git-repository-1llg %}
Test of alternative point envelopes
Tags: pointpatterns, rstats, r
Published: 2019-04-29 07:14:09

---
title: Test of alternative point envelopes
published: true
description: Showcase of four methods for encompassing an ensemble of points in the plane, with different properties.
tags: point-patterns, rstats, r
---

In the linked page, published in Rpubs, I explore four different methods for encompassing a set of points in the plane, and briefly discuss their properties.

The methods are: 1. Convex hull, 2. Contour of a Kernel-Density estimate, 3. Concave hull and 4. Non-convex hull.


http://rpubs.com/famuvie/point_envelopes

![](https://thepracticaldev.s3.amazonaws.com/i/zlu8ezbdp9pf70mryp0q.png)
Composerizing a non-composerized Drupal site to a Composerized Drupal site
Tags: php, webdev, drupal, drupal8
Published: 2019-04-29 07:11:38

---
title: Composerizing a non-composerized Drupal site to a Composerized Drupal site
published: true
description: Make your development workflow easier by using a Composer managed Drupal codebase.
tags: #php #webdev #drupal #drupal8
---

1. “Composer is a dependency manager tool for PHP.”
 This means that we can easily manage php libraries and their dependencies using Composer.
2. In terms of Drupal, we can download and manage Drupal core, contributed profiles, modules, themes and libraries using Composer. In fact, the entire project can also be managed using Composer.
3. Using Composer is the modern way to work in PHP as modern frameworks utilize Composer to manage their dependencies, and it is nice that we can do the same in Drupal.
4. Composer also gives us the ability to autoload PHP classes thus making code easier to read and write.

**[How do we shift from Non-Composer managed website to Composer managed website?](https://www.innoraft.com/blogs/composerizing-non-composerized-drupal-site-composerized-drupal-site)**
C# Foreach Loop Through Array
Tags: csharp, tutorial, beginners
Published: 2019-06-18 15:16:28

---
title: C# Foreach Loop Through Array
published: true
tags: csharp,tutorial,beginners
series: C# for Beginners
cover_image: https://wellsb.com/csharp/wp-content/uploads/sites/2/2019/03/beginners-array-loop-featured-min.png
---

An important advantage of arrays in C# is the ability to use a loop or loop to cycle through the elements of the array. Suppose you have declared an array of integers and you want to know which variable contains a specific value. Because your data is structured in an array, you can loop through the array’s elements in order to find the value you are interested in. There are two approaches...

[Source](https://wellsb.com/csharp/beginners/csharp-foreach-loop-through-array/)
Landing Your First Developer Job
Tags: javascript, react, developer
Published: 2019-04-29 06:21:42

---
title: Landing Your First Developer Job
published: true
description: Landing your first developer job. 
tags: JavaScript, React, Developer
---
![](https://thepracticaldev.s3.amazonaws.com/i/82827bnou7eq30j5lzef.png)

With technology taking over and creating thousands of jobs, a lot of people still need help landing their first developer job. While none of this will guarantee you a job in 4 months, it will help push you in the right direction to finally transitioning into tech. 

## Study
Ok, so the first one might be a little obvious, but I still see this happening a lot. Some people are trying to land their first developer job straight out of school or a boot camp, while others are trying to transition from one field to another. While you might have 10 years of customer service experience looks good on a resume, it’s not going to be enough by itself. 

Depending on what job title you’ll like to have inside of coding (It’s more than making websites) you will have to have some sort of coding experience. For me being a Full Stack Web Developer I chose to study with Team Treehouse. Team Treehouse covers multiple topics from data analytics to web developer and has even helped me land my first developer job in 4 months. Of course, that will not happen for everybody, but it is going to put you above other candidates along with your own personal brand. 

## Branding
I can’t stress enough how my brand and my online presence has helped me in my career. I’m going to break this topic into smaller sections because there is so much you can do to help your personal brand. 

#### •	Portfolio
A portfolio is one of the easiest things someone can put up to show off their skills. Whether you design websites, build OSS, or even a security expert, employers love being able to land on your site and see who you are and your projects. Here are some things I personally think everyone should include in their portfolio:
•	Your name and desired job title
•	A short introduction and an about me section
•	Projects (Your best 3 projects)
•	Contact section

#### •	Projects
Having a section on your portfolio website or even a YouTube channel for your projects is a great way to let your skills speak for themselves. Instead of jumping from one course to another, try expanding the project you’ve just built. 

## Networking
My last advice for landing your first developer job is networking. There are plenty of ways you can network. If you haven’t guessed already social media is a great place to network and meet new people. Being that I’m a POC who works in technology, I myself have joined #BlackTechTwitter and have been able to connect and meet with a lot of great individuals. I also have joined many meetups on the app Meetups which include plenty of free workshops available to the public.
LaraBug — A Laravel Exception Tool Helper
Tags: php, laravel, exception, productivity
Published: 2019-04-29 06:18:03

When creating and developing websites it is most common that your users do not always report bugs, certainly if you do not solve these errors you will lose (potential) customers.



This is were LaraBug comes in, I created this tool in 2016 to basically scratch my own itch. I needed a clear and clean tool to read my errors on, I had to know what was going on when something went wrong. (Whoops, something went wrong 😰)

LaraBug will catch any exception generated in your application and collect this in a nicely formed dashboard for you.

You have a complete overview over your exceptions per project. You can view the complete details about the exception including the stack trace and code piece with the actual line highlighted so you know where the code broke.

If available, LaraBug’s package will also send along the user details (with Sentinel support!) so you know who’s it about.

Sharing exceptions to solve with teammates or colleague’s is also no problem, just make your exception ‘Public’ inside the options tab in LaraBug which will allow URL sharing of your exception.

Nova Tool Package
We also provide a LaraBug package for the newly-released Laravel Nova panel! This allows you to view your errors from your Laravel Nova panel.

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

Github.com: https://github.com/LaraBug/nova-larabug-tool

Novapackages.com: https://novapackages.com/packages/larabug/nova-larabug-tool

Website LaraBug: https://www.larabug.com

Thats it! Let me know if it helped you and if I can improve in any way.

Note: please bare in mind that I am a Dutch developer, English is not my native language so this article could contain any grammatical errors.
Top ten tips to start a career as Web Developer
Tags: webdev
Published: 2019-06-17 07:28:57

---
title: Top ten tips to start a career as Web Developer
published: true
tags: Web Development
canonical_url: https://theworldwidecode.com/blog/2018/top-ten-tips-to-start-a-career-as-web-developer/
---

1- Forget degree, master or any other higher
Serie de números primos - PSeInt
Tags: pseint, numerosprimos
Published: 2019-04-29 01:02:14

---
title: Serie de números primos - PSeInt
published: true
description: 
tags: "PSeInt, numeros primos"
---

**Quizás te interese leer:** [Determinar si un número es primo - PSeInt](https://dev.to/358b06c6/determinar-si-un-numero-es-primo-pseint-c4i)

Para comprender el siguiente pseudo-código:

```
Algoritmo SerieNumerosPrimos
	
	// Verificaremos uno a uno la serie de números naturales hasta el numeroTope.
	Definir numeroNatural Como Entero;
	
	// Dividiremos el numeroNatural entre todos los números anteriores a él.
	Definir numeroPredecedor Como Entero;
	
	// Hasta que número desea el usuario que se obtenga la serie de números primos.
	Definir numeroTope Como Entero;
	
	// La cantidad de números que al dividir entre el numeroNatural,
	// nos dan una división exacta.
	Definir divisionResiduoCero Como Entero;
	
	Escribir "Mostrar en pantalla la serie de números primos.";
	Escribir "Teclea el número tope de la serie: ";
	Leer numeroTope;
	
	Para numeroNatural = 1 Hasta numeroTope Con Paso 1 Hacer
		
		divisionResiduoCero = 0;
		
		Para numeroPredecesor = 1 Hasta numeroNatural Con Paso 1 Hacer

			Si(numeroNatural % numeroPredecesor == 0) Entonces
				divisionResiduoCero = divisionResiduoCero + 1;
			FinSi

		FinPara
		
		Si(divisionResiduoCero == 2) Entonces
			Escribir Sin Saltar, numeroNatural, " ";
		FinSi
		
	FinPara
	
FinAlgoritmo
```
Eleanor 0.1.0 Released
Tags: news, devbaby
Published: 2019-04-28 23:01:28

---
title: Eleanor 0.1.0 Released
published: true
description: She is the cutest thing in the whole world.
tags: news, devbaby
---


Hey guess what!

![My daughter, the cutie.](https://thepracticaldev.s3.amazonaws.com/i/e4zdmtvgbys8jx4v2bad.jpeg)

I’m a father! And my wife is a mother! And Eleanor is the darn cutest thing on the planet and we love her so much and I want everyone to know. 

I’m already keeping an eye out for Baby’s First Python Book. 😁❤️🐍
Android, Mobile Web, or Google Cloud? Which to choose?
Published: 2019-04-28 22:58:05

---
title: Android, Mobile Web, or Google Cloud? Which to choose?
published: true
description:  
tags: 
---
Hey there, Uhm my first post here and it is a question..whew. So there is this opportunity with Google <a href="https://www.pluralsight.com/partners/google/google-africa-developer-scholarship">Here</a>. I am however not sure which is the best skill to learn. I hope I can have some expert advice. It's a google certification program for Africans of at least 18 years old.


_Thanks in Advance_.
How to delete all local git branches merged into the current branch
Tags: git, oneliners, cleanup
Published: 2019-04-28 22:41:37

I saw [Ben Halpern's](https://dev.to/ben) post recently on [how to remove all local git branches](https://dev.to/ben/how-to-delete-all-your-local-branches-but-keep-master-lb1) and thought I'd share a useful snippet I have as an alias for deleting all **merged** branches:

```
[alias]
    rmb = "!f() { git branch --merged | grep -v "master" | while read i; do git branch -d $i; done; }; f"
```

`rmb` is short for _remove merged branches_ and it'll go over all branches that have been merged into the current branch you are on and remove them.

I'll often run `git rmb` on `master` to do a cleanup, but it can be done on any branch that has had sub-branches off it too. 😊
Array.map() much slower than for loop
Tags: discuss, javascript, performance, experiment
Published: 2019-04-28 22:36:49

---
title: Array.map() much slower than for loop
published: true
description: 
tags: discuss, javascript, performance, experiment
---

I was working on some coding challenges when I got the sudden urge to test which approach was faster. For an input size of 1 million numbers, `Array.map()` takes about 2,000ms, whereas a `for` loop takes about 250ms. Any ideas why?

```javascript
const INPUT_SIZE = 10 ** 7
const input = []
for(let i = 1; i <= INPUT_SIZE; i++) {
    input.push(i)
}

const pow2 = value => value ** 2

console.time('map')
const mapResult = input.map(pow2)
console.timeEnd('map') // 1800-2000+ ms

console.time('loop')
const arrayResult = []
for(let i = 0; i < input.length; i++) {
    arrayResult.push(pow2(input[i]))
}
console.timeEnd('loop') // 200-300ms
```

I always assumed `Array.map()` would be faster since it's a built-in function, but it looks like I was wrong.

## Test 2
So after thinking about this for a while, I decided to perform a more fair comparison: `Array.forEach()` vs `for` loop. The results were that `Array.forEach()` is still slower, but not by as much as `.map()` (550-700ms).
My guess is that `.map()` performs some additional logic that slows it down significantly compared to a raw `for` loop.


**Edit:** I'm aware that this isn't exactly a practical scenario as we shouldn't be processing this much data using Javascript. This scenario is for theoretical understanding and discussion.
A quick link: A vanilla JavaScript roadmap.
Tags: quicklinks, javascript, roadmap, beginners
Published: 2019-04-28 22:28:51

---
title: A quick link: A vanilla JavaScript roadmap.
published: true
description: 
cover_image: https://thepracticaldev.s3.amazonaws.com/i/hkr20ddn3juhhlh2fiyt.png
tags: quicklinks, javascript, roadmap, beginner
---

[One of the finest roadmaps I've seen to vanilla js.](https://learnvanillajs.com/roadmap/)

It's simplistic, well structured and on point. Each section has a link with additional resources and project ideas.

![Vanilla js project ideas](https://thepracticaldev.s3.amazonaws.com/i/ycvght1z34twq1i0g3cy.png)

If you follow that with some book like "You don't know js" or a free bootcamp like "freecodcamp" you can eliminate the superfluous friction you get when you try to figure things out on your own.

Just learn to lay the bricks first.

Prehistory to this. I was doing a challenge on [edabit](https://edabit.com) and did a quick search no how to convert strings into numbers. That's how I stumbled on learnvanillajs. The author has a tutorial on the topic. Edabit gets a recommendation from me because of the simplicity it has specifically with javascript. You can start hacking there in no time.
Web Development Part 1C: HTML can do stuff
Published: 2019-04-28 22:03:57

---
title: Web Development Part 1C: HTML can do stuff
published: true
description: 
tags: 
---

[LESSON 2 HERE](https://dev.to/tevko/web-development-part-1b-html-images-1npg)

This lesson includes your first test, and it's challenging! Don't worry, you'll do great! Don't forget to use the hashtag [#TimTeachesCode](https://twitter.com/search?q=%23TimTeachesCode) to chat about the course, help each other out, or brag about your new skills! Remember, you can all contact me whenever you'd like, 24/7 and I'll respond ASAP.


** LESSON 3 **

Hello Friends! In the last lesson, we learned about images, additional HTML tags, and accessibility. We also briefly touched on responsive images and view source / inspect element capabilities. This week we'll be putting all of our new knowledge together to demonstrate what we've been learning for the past two weeks! While this lesson marks the end of our HTML review, it doesn't mean that we're done learning! Keep studying on your own. Every question you have has an answer just a google search away.

Study: 

https://developer.mozilla.org/en-US/docs/Web/HTML/Element/summary

https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form

https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a

Complete: Make a new codepen! This time we'll be creating an FAQ page (Using the summary details element) with a contact form. Use as many different input types and links as you can. Remember, this shouldn't have any styling! The goal is to simply create an outline for the page that we would later add CSS and JavaScript to. 

BONUS: Did you know it's possible to validate input fields with HTML alone? You can use special attributes to allow the browser to check things like emails, dates, and empty fields to make sure the data is correct! If you'd like, include these validations into your contact form. Good Luck!

Respond: Reply to the email with a link to the new codepen and a brief summary of what you've learned about forms, links, and inputs. Also include your plans to continue studying HTML and how you'll keep this new skill sharp! This lesson will be graded! I'll respond to every email with an explanation of your grade, as well as what you can improve on. You may re-submit your pens in order to get a better grade!

Notes: This lesson will be tough! Take your time, read through all of the material, and triple check your work! When you get done, read through https://rjzaworski.com/2019/04/the-web-developers-guide-to-dns to gain a better understanding of how the web works.

Lesson 4 will go out next week


-- 


Tim Evko

//https://timevko.website/
Determinar si un número es primo - PSeInt
Tags: pseint, numerosprimos
Published: 2019-04-28 21:11:35

---
title: Determinar si un número es primo - PSeInt
published: true
description: 
tags: "PSeInt, numeros primos"
---

Tomaremos un número ingresado por el usuario, lo dividiremos por el mismo y todos los números naturales anteriores a él.

Cada vez que la división nos de como resultado un residuo de cero registraremos ese evento en una variable. En el caso de que el número de eventos sea exactamente dos; entonces se trata de un número primo.

```
Algoritmo DeterminarNumerosPrimos
	Definir numeroIngresado, iteracion, divisionResiduoCero Como Entero;
	
	Escribir "Determinar si un número ingresado, es un número primo.";
	Escribir "Teclea un número entero: ";
	Leer numeroIngresado;
	
	// Comenzaremos dividiendo el número ingresado entre 1.
	iteracion = 1;
	
	// Número de ocasiones en las que la división dio como resultado un residuo de cero.
	divisionResiduoCero = 0;
	
	Mientras iteracion <= numeroIngresado Hacer
		
		Si(numeroIngresado % iteracion == 0) Entonces
			divisionResiduoCero = divisionResiduoCero + 1;
		FinSi
		
		iteracion = iteracion + 1;
		
	FinMientras
	
	Si(divisionResiduoCero == 2) Entonces
		Escribir "El número que ingresaste es un número primo.";
	SiNo
		Escribir "El número que ingresaste NO es un número primo.";
	FinSi	
	
FinAlgoritmo
```
Block Element Modifier Cheatsheet
Tags: bem, css, designpatternlibrary
Published: 2019-04-28 19:42:23

---
title: Block Element Modifier Cheatsheet
published: true
description: Block Element Modifier Cheatsheet
tags: BEM,CSS,Design Pattern Library
---

![BEM](https://thepracticaldev.s3.amazonaws.com/i/w51pkn7bkzex5uqzqxlu.png "Block Element Modifier Cheatsheet")
Introducing the open source developer podcast
Tags: showdev, opensource, podcast
Published: 2019-04-28 19:39:55

---
title: Introducing the open source developer podcast
published: true
description: A podcast about all things open source and Developer stories
tags: showdev, opensource, podcast
---

## What is the Open Source Developer Podcast?

The open source developer podcast is a podcast devoted to open source. I am a OS developer part time and preach the importance of Open source development. 

I bring the latest news from open source, talk about awesome open source projects and talk about my experience and on going projects.


## Where can I listen?

Open source developer podcast is available on all your favorite podcast apps.

[List of options](https://anchor.fm/opensourcedeveloperpod)

It is also available on apple podcast! 

## When do nee episodes come out?

Wednesdays each week.

Hope to catch your ears!
Learning DOM Manipulation with JavaScript
Tags: javascript, latestposts, dom, dommanipulation
Published: 2019-12-26 18:19:09

---
title: Learning DOM Manipulation with JavaScript
published: true
date: 2019-04-28 19:38:04 UTC
tags: JavaScript,Latest Posts,DOM,DOM manipulation
canonical_url: http://robdoylecreative.com/understanding-dom-manipulation-with-javascript/
---

Learning DOM manipulation with JavaScript. Recently I have been working through the Travis media – ‘Learn to Code Blueprint’. Up to now, I have learned the fundamentals of HTML and CSS and most recently been learning JavaScript basics. The next step for me was to learn how to manipulate the DOM and incorporate all that […]

The post [Learning DOM Manipulation with JavaScript](http://robdoylecreative.com/understanding-dom-manipulation-with-javascript/) appeared first on [Rob Doyle Creative](http://robdoylecreative.com).