teleren/devto huggingface dataset:
How'd you meet your co-founder?
Tags: startup, career, discuss
Published: 2019-08-01 01:01:36

---
title: How'd you meet your co-founder?
published: true
description: startup inspiration
tags: #startup #career #discuss
---

For those out there running their own show; how'd you meet your other founders? Are you all tech founders? Are you about to embark on finding co-founders? Any stories of serendipity to inspire us?
Just moved our online IDE from Cloud9 to VSCode what extensions should we use?
Tags: help, vscode
Published: 2019-08-01 00:44:22

---
title: Just moved our online IDE from Cloud9 to VSCode what extensions should we use?
published: true
description: 
tags: help, vscode
---

After giving Cloud9 a serious try for several months and with the release of code-server (VSCode running in a docker) it was time to switch IDEs.

The biggest seller was `Git Graph` and `AWS Toolkit`.

Are there any other suggestions?
A quick intro to Event-driven architecture and Microservices
Tags: webdev, architecture, microservices, docker
Published: 2019-08-04 07:29:28

---
title: A quick intro to Event-driven architecture and Microservices
published: true
tags: ['webdev', 'architecture', 'Microservices', 'Docker']
series: Awesome talks curated by Param
canonical_url: https://learnwithparam.com/tech-talks/intro-to-microservices-events-and-docker/
description: In this video, Chris talks about event driven architecture and microservices. Also touches on the deployment challenges and how it can be simplified using docker
---

In this video, Chris talks about event driven architecture and microservices. Also touches on the deployment challenges and how it can be simplified using docker.

You will get an idea about

- own databases for microservices
- complexity of microservices and its deployment
- How events helps to make the data consistent across microservices

{% youtube sSm2dRarhPo %}
FEATool Multiphysics - Stand-Alone PDE and Physics Simulation Toolbox
Tags: featool, multiphysics, standalone, toolbox
Published: 2019-08-20 08:07:07

---
title: FEATool Multiphysics - Stand-Alone PDE and Physics Simulation Toolbox
published: true
tags: featool, multiphysics, stand-alone, toolbox
canonical_url: https://www.featool.com/news/2019/08/01/FEATool-Multiphysics-Stand-Alone-Simulation-Toolbox.html
---

![FEATool Multiphysics Stand-Alone Simulation Toolbox](https://thepracticaldev.s3.amazonaws.com/i/nllww0us435gq0d2zmzj.jpg)

FEATool Multiphysics™ Stand-Alone Toolbox FEATool Multiphysics has now been compiled to run in stand-alone mode together with the freely available MCR runtime engine (and does not require a copy MATLAB®). Stand-alone mode is supported for 64-bit Windows operating systems and virtual machines (VM) with 4 GB memory or more. Follow the link below to download the stand-alone toolbox. Download FEATool Multiphysics Please note stand-alone mode only supports GUI operation.
react@16.8.6 or react@next setup in Laravel.
Tags: react, laravel, reactlaravel
Published: 2019-07-31 23:42:17

How to Use react@16.8.6 or react@next in Laravel ?
---
step 1: create your laravel project with composer command 
 ==> composer create-project --prefer-dist laravel/laravel blog
--------------------------

step 2: Install react in your laravel.
 ==> php artisan preset react
---------------------------
step 3: Install all the dependencies.
==> npm install or yarn install
----------------------------
step 4: Check, is it work?
==> npm run dev or yarn run dev
---------------------------
if everything is okay? go next else recheck those command.

step 5: go to in your project "package.json" file.
---------------------------
step 6: Edit this two line of package.json file.Set which version you want.

        "react": "^16.8.6",
        "react-dom": "^16.8.6",


step 7: Then again insall dependencies
==> npm install or yarn install
----------------------------
All the command part is over.


step 8: Go resources/views/welcome.blade.php
set ==> under the body tag crate a div and set id="example"
---------------------------

     <body>

        <div id="example"></div>

    </body>


Everything is okay.

step 9: Run the laravel server and build react.
==> yarn run dev or npm run dev
------------------
==> php artisan serve
-----------------------------
refresh your browser 

It will be working .

Thank you.
Common Chrome Debug Tools Overview
Published: 2019-07-31 23:04:50

---
title: Common Chrome Debug Tools Overview
published: true
description: 
tags: 
---
### Debugger
Debugger allows us to set break points to force the code executions at a certain point. Once the program hits the break point and stops the execution, we can then examine the javascript values.

### Console.log()
console.log() method displays a message to the console. The content of the message depends on what we pass to the console.log() method. For example, passing console.log("testing") will write "testing" to the console. We can pass objects, arrays, any type of data to console.log() and check their values. 

### Console.dir()
The console.dir() method displays all the properties of an object in a list manner and allows us to see the content of the child objects.

### Console.table()
The console.table() method displays datas in a table format. The first argument is mandatory, which can be an array or object. The second optional argument specifies the number of columns the table should display.
📦 Convert a time string to seconds: '00:22:17' → 1337
Tags: replit, python, functorflow
Published: 2019-07-31 22:41:05

---
title: 📦 Convert a time string to seconds: '00:22:17' → 1337
published: true
tags: replit, python, functorflow
---

```python
from functorflow import f

print(f('sec', '00:22:17'))
# '1337'
```

{% replit @functorflow/sec %}
Complimenting developer communities with real-time discovery and assistance
Tags: showdev, discuss
Published: 2019-07-31 22:35:12

---
title: Complimenting developer communities with real-time discovery and assistance
published: true
description: 
tags: showdev, discuss
---

Myself and [Arjun Attam](http://twitter.com/arjunattam) have been working on a prototype that's built on top of [Live Share](https://aka.ms/vsls-why), and would enable developers to dynamically discover and seek assistance from each other, based on their shared interests and existing communities (e.g. online forums, classrooms, hack-a-thons). In general, we're passionate about lowering the barrier of entry for **getting real-time help** (e.g. you're stumped on a bug, you'd like to get a sanity check on some code), and this is an exploration to address that.

Instead of me trying to explain it, the following video provides a basic overview of the experience we're trying to provide. If this seems even remotely interesting, I'd love to hear your thoughts and whether it could fit into any of your existing workflows/communities 👍

{% youtube DmQ7OaO4r2o %}
📦 Strip ANSI escape codes from a string
Tags: replit, python, functorflow
Published: 2019-07-31 22:28:38

---
title: 📦 Strip ANSI escape codes from a string
published: true
tags: replit, python, functorflow
---

```python
from functorflow import f

r = f('strip-ansi', '\u001B[4mUnicorn\u001B[0m')
print(r) # 'Unicorn'
```

{% replit @functorflow/strip-ansi %}
📦 Formats a string based on a pattern.
Tags: replit, python, functorflow
Published: 2019-07-31 22:21:53

---
title: 📦 Formats a string based on a pattern.
published: true
tags: replit, python, functorflow
---

```python
from functorflow import f

print(f('format-str', 'YYYY-MM-DD', '20190508'))
# '2019-05-08'


print(f('format-str', '2019-05-08', '20151217'))
# '2015-12-17'
```

{% replit @functorflow/format-str %}
Florida Man of Tech has struck again!
Tags: discuss, humor, jokes
Published: 2019-07-31 22:04:08

---
title: Florida Man of Tech has struck again!
published: true
description: What did he do this time?
tags: #discuss #humor #jokes
---

Oh sheesh, Florida Man of Tech has struck again!

What did he do this time?

{% twitter 1156670221605834757 %}

{% twitter 1156670554268717057 %}
Send Mail With Python SMTP
Tags: python
Published: 2019-07-31 21:56:42

In this text I will show you how to send mail with smtp.

```python
import smtplib
from email.mime.multipart import MIMEMultipart
from email.mime.text import MIMEText
import sys

message = MIMEMultipart()
message['From'] = "get mail address"
message['To'] = "send mail address"
message['Subject'] = "Smtp mail send control"

messageText = """
PYTHON smtp mail control
message 1
message 2
message 3
"""
message_content = MIMEText(messageText,"plain")
message.attach(message_content)

try:
    mail = smtplib.SMTP("smtp.gmail.com",587)
    mail.ehlo()
    mail.starttls()
    mail.login("mail address","password")
    mail.sendmail(message["From"],message["To"],message.as_string())
    print("Mail successfully sent")
    mail.close()
except:
    sys.stderr.write("There is a problem.")
    sys.stderr.flush()

```
VP Of Technology At JFrog
Tags: cloud, cicd, developers, devops
Published: 2019-09-05 21:04:05

---
title: VP Of Technology At JFrog
published: true
tags: cloud,ci/cd,developers,devops
canonical_url: https://greenido.wordpress.com/2019/07/31/vp-of-technology-at-jfrog/
---

At last SwampUP, I had the opportunity to talk with Alan Shimel, Founder and Editor at DevOps.com. We covered what I do at JFrog and spoke about the definition of the role “VP of Technology”. We also covered some interesting new products we offering these days to help developers move faster.

<iframe width="696" height="378" src="https://videopress.com/embed/pKTQd27r?hd=0" frameborder="0" allowfullscreen></iframe><script src="https://v0.wordpress.com/js/next/videopress-iframe.js?m=1435166243"></script>

I told Alan that I define the role as “finding leverage points in (JFrog) technology to support the business”.

I am passionate about helping developers and with this role, it’s all about bring “extra” value. When you want developers to be more productive and effective you should help them with practical use cases and new ways to use tools/services. The main motivation is to make their software development process flow faster and in a more secure way.

This is what we try to do at JFrog. We are taking the insights from our 5,000 customers, per vertical and industry and driving best practices that are more suitable to these type of companies. Take for example the financial industry, the needs and requirements are similar in many organization and we see a method that works well. This is empowering us to suggest these lessons to others with data that support it. It’s not only an academic best practice but a real-world example that works in certain parameters and constraints.

This guided us to the last acquisition of [Shippable](https://dev.to/greenido/jfrog-shippable-the-synergy-43ci-temp-slug-6457678). We wanted to offer developers a better way to manage their continuous integration / continuous delivery pipelines.   
I hope that [JFrog pipelines](https://jfrog.com/pipelines/) will be in GA soon. So far, the Beta customers are quite happy with the added value that they are getting out of it.

![pipelines at sunset](https://greenido.files.wordpress.com/2019/07/screen-shot-2019-07-31-at-2.43.26-pm.png?w=696)

Happy Wednesday!
Bsides CDMX 2019
Tags: beginners, security, cybersecurity
Published: 2019-07-31 21:43:57

Reseña del evento.

Este evento fue tremendo, justo en la parte más técnica del corazón. Inicia el evento temprano con una plática de los organizadores en donde agradecen a todos los asistentes y también a los expositores, recordando que este evento está enfocado a lo más técnico de la parte de ciberseguridad.
En el salón principal denominado como “chill-out area” había desde stands de patrocinadores, área de esparcimiento con mesas de ping pong, un espacio para CTF (actividad de Capture the Flag), practica de lock picking y un area de refrigerios.

Las pláticas fueron técnicas, sin discriminación a los que están iniciando en estos temas pero el mensaje era claro, van a hablar de protocolos, idiomas de programación y análisis de información a un nivel de complejidad elevado, eso sí, no hay preguntas malas y todas las dudas fueron aclaradas por los expositores de manera muy atenta.

Los temas a resaltar a mi parecer fueron los siguientes:
- Utilizar las bondades y versatilidad de la base de datos de elastic para crear tu propio correlacionador de eventos de seguridad. El cual por medio de elasticsearch + kibana se analizan los eventos otorgados por logs de Windows en una red empresarial. En donde, al buscar procesos y comandos ejecutados en los logs se pueden detectar patrones de ataques como la búsqueda de vulnerabilidades de eternal blue, escaneo de puertos y la ejecución de aplicaciones de powershell, por mencionar algunos
- Demostración de la falta de seguridad y exposición de información en las Apps creadas para dispositivos móviles.
- Falta de fortalecimiento en dispositivos infotainments de automóviles y tipo de información que puedes extraer de ellos.
- La creación de aplicaciones opensource mexicanas para análisis de vulnerabilidades.
- Demostración de un análisis forense a un cliente ya vulnerado.
- Y aplicaciones de ingeniería reversa para análisis criminalistico.

En general el evento estuvo bastante ameno, las pláticas aun siendo técnicas fueron dinámicas y la atención de los organizadores fue de lo mejor.

Estaremos al pendiente del siguiente evento esperando obtener boletos sin complicación ya que son espacios limitados y con muy alta demanda.
📦 Check if the given string is a POSIX bracket expression.
Tags: replit, python, functorflow
Published: 2019-07-31 21:34:11

---
title: 📦 Check if the given string is a POSIX bracket expression.
published: true
tags: replit, python, functorflow
---

Returns True if the given string is a POSIX bracket expression (POSIX character class)

```python
from functorflow import f

print(f('is-posix-bracket', '[foo:]]'))
# False
print(f('is-posix-bracket', '[xdigit:]]'))
# False
print(f('is-posix-bracket', '[[:xdigit:]]'))
# True
print(f('is-posix-bracket', '[[:xdigit:]]'))
# True
print(f('is-posix-bracket', '[[:alpha:]123]'))
# True
print(f('is-posix-bracket', '[[:alpha:]123]'))
# True
print(f('is-posix-bracket', '[a-c[:digit:]x-z]'))
# True
print(f('is-posix-bracket', '[:al:]'))
# True
print(f('is-posix-bracket', '[abc[:punct:][0-9]'))
# True
```


{% replit @functorflow/is-posix-bracket %}
📦Regular expression for matching HTML comments
Tags: replit, python, functorflow
Published: 2019-07-31 21:17:28

---
title: 📦Regular expression for matching HTML comments
published: true
tags: replit, python, functorflow
---

```python
from functorflow import f

#Regular expression for matching HTML comments

with_comment = '<!DOCTYPE html><!--[if lt IE 7]>      <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]--><html lang="en"><head><meta charset="UTF-8"><title>Document</title></head><body></body></html>'

no_comment = '<!DOCTYPE html><html lang="en"><head><meta charset="UTF-8"><title>Document</title></head><body></body></html>'


print(f('html-comment', with_comment)) # True

print(f('html-comment', no_comment)) # False
```

{% replit @functorflow/html-comment %}
📦 Check if a string is an IP address in CIDR notation
Tags: replit, python, functorflow
Published: 2019-07-31 20:54:21

---
title: 📦 Check if a string is an IP address in CIDR notation
published: true
tags: replit, python, functorflow
---

```python
from functorflow import f

# Check if input is a IPv4 or IPv6 CIDR address. Returns either 4, 6 (indicating the IP version) or 0 if the string is not a CIDR.

print(f('cidr', '192.168.0.1/24')) # 4
print(f('cidr', '1:2:3:4:5:6:7:8/64')) # 6
print(f('cidr', '10.0.0.0')) # 0

# Check if input is a IPv6 CIDR address. Returns a boolean.

print(f('cidr.v6', '10.0.0.0/24')) # False

# Check if input is a IPv4 CIDR address. Returns a boolean.

print(f('cidr.v4', '10.0.0.0/24')) # True


```


{% replit @functorflow/cidr %}
5 Ways Gophers Get it Done with Open Source at Salesforce
Tags: go
Published: 2019-07-31 20:38:34

*This post was written by Josh Simmons and originally published at engineering.salesforce.com.*  
The Go programming language, or Golang, is a small, clean, fast, efficient, and opinionated programming language. As a highly performant language, it lends itself to applications within operations and infrastructure… which just so happens to be where you’ll find a lot of it at Salesforce! There’s also a lot of Go to be found behind Heroku and Einstein Analytics.  
Here are 5 open source projects written in Go that we use (and contribute to):
1. [Kubernetes](https://kubernetes.io/) and [Knative](https://knative.dev/). OK, so really we’re talking about 6 projects — but these two go hand-in-hand! We use Kubernetes (K8s) for container orchestration along with Knative to abstract away many of the complexities of working with K8s.
2. [Docker](https://github.com/docker). Containers, containers, containers! Of course we use Docker. Depending on which part of Salesforce we’re talking about, we’re either in the process of shifting to a microservices-heavy architecture, or the service has always (for some value of always) been that way. Either way, containers are a nice fit for that kind of architecture.
3. [OpenCensus](https://opencensus.io/). We run a tight ship and have Service Level Agreements (SLAs) to uphold — so it’s important that we have visibility into how our services are performing. OpenCensus, a set of lightweight libraries for collecting application metrics and distributed traces, lets us know when things aren’t behaving as expected.
4. [Decimal](https://github.com/ericlagergren/decimal). This library implements arbitrary precision, decimal floating-point numbers. Suffice it to say, this comes in handy a lot.
5. [Roaring Bitmaps](https://roaringbitmap.org/). Working with images can be expensive in terms of storage and computation. Roaring Bitmaps is a library you’ll find in many of our dependency graphs.  

Want more Go? Check out the [open source projects Salesforce has built in Go](https://github.com/salesforce?utf8=%E2%9C%93&q=&type=&language=go) on GitHub.
What do you hate the most in CSS and why?
Tags: discuss, css, webdev
Published: 2019-07-31 20:28:19

A lot of people hate CSS and styling. Like it's a rule that CSS is bad and unlearnable for them. And I'm **not** one of them. I love it (sorry not sorry for being weirdo :P ). But I want to know what you hate in CSS? And why? What is your point of view?
Rust working with paths
Tags: rust, help
Published: 2019-07-31 20:16:41

My first interaction with any runtime which touched the filesystem and paths was in node.js many years ago.

I have to admire the path module in node.js for its simplicity. I had to assume that other languages wouldn't do things much differently.

This year I tried c++ (kind of love it even when it gets really really really verbose and hard to follow). 

Last week I picked up Rust, I wanted c++ but with a friendly face. So far I am getting the usual wobbles, "should I give up? change language again? This is also hard, I love the speed though, I can understand some of what I'm writing..." but I stick in there, I am trying to write a simple CLI tool that does nothing more than concat an input path to a current working directory, think `pwd + input_path`. In node that would be trivial and I could resolve paths like this:

``` js
const userInput = argv // maybe something like this "../";
path.resolve(process.cwd(), userInput); // noice!
```

But googling brings me no closer, Cargo has no crates (packages) I could understand to have similar resolve functionality.

My options
0: You help me to see Im doing something wrong.
1: So do I concede that rust is not for me.
2: Try V lang
3: Use LuaJit
4: Slow but productive Use Typescript

I am quite unsure.
React Bootstrap frameworks - Review 
Tags: react, javascript, bootstrap, review
Published: 2019-07-31 19:38:26

Let's talk about some Bootstrap frameworks for React.
For a long time I've been avoiding Bootstrap, 'cause I didn't feel like I could be creative as much as I can when I'm writing my own CSS code. But then, when I started working more and more with React, I decided it's time to try a few React Booststrap frameworks, and find the perfect one!
<hr>
<h3>React-Booststrap</h3>
This framework is good, but not great. 😔
The website, usually, doesn't work. The instructions weren't very clear and the whole experience wasn't that satisfying. I've used it for 2 days, and I was more frustrated than satisfied with the overall result.

<h4>Rating: ⭐⭐⭐</h4>
![](https://thepracticaldev.s3.amazonaws.com/i/m9brm89w3tbmdohgjfgm.png)
<hr>
<h3>Reactstrap</h3>
This one was better then the previous one. It was easier to set up, the instructions were clearer. Basic little Bootstrap framework. Overall experience was satisfying. But, nothing special. It wasn't the one! 🤔

<h4>Rating: ⭐⭐⭐⭐</h4>
![](https://thepracticaldev.s3.amazonaws.com/i/t7bts10h3z2024aszrmf.png)
<hr>
<h3>MDBootstrap</h3>
Guys... I think this is <strong>THE ONE</strong>...! 🤗 The instructions are very clear, they even have a video tutorial, to show you how to set it up. The website is very clean. I like the look of the components and I don't feel limited. You can be creative and you have so many different choices. Colors, animations, transitions, buttons, etc. Whatever your heart desires. You can make it unique as much as you want, but spend less time than you would writing CSS code. 
I'm very satisfied. (Until I find a better one 😝) 


<h4>Rating: ⭐⭐⭐⭐⭐</h4>
![](https://thepracticaldev.s3.amazonaws.com/i/wcm1zb3ivsyvjft4d5oj.jpg)
<hr>

P.S. This is just my opinion and experience, doesn't mean it's true.😝
C# 8 - switch expression 
Tags: csharp, switch
Published: 2019-07-31 19:37:02

---
title:C# 8 - switch expression 
published: true
description: C# 8 - switch as expression new C# feature
tags: CSharp, C#, switch
---

C# 8 has new interesting features. One of them that I like it's the new way to write a switch.


```csharp
int intValueForSwitch = 0;
string state = "";
		
switch (intValueForSwitch)
{
	case 0:
	  state = "Zero";
	break;
	case 1:
	  state = "One";
	break;
	case 2:
	  state = "Two";
	break;
	default:
	  state = "No valid number";
	break;
}
```


The code above is a special situation because we use the switch just to set the value to the state variable. 
The idea is to avoid nested if and use a switch. the code is still long for this propose. 

In C# 8 a new way for this case is available. 

```csharp
//switch as expression
int intValueForSwitch = 0;

var state = (intValueForSwitch) switch
{
    (0) => "Zero",
    (1) => "One",
    (2) => "Two",
     _ => "NO valid number"
};
```

First, the variable doesn't need to be created before that means one line less. Using the arrow operator " => " we can return the string it depending on the state variable's value. Finally, we need to use underscore " _ " to set the default value when the variable doesn't accomplish for any case.

This feature allows us to reduce the code. In this case, for example, 17 lines are just 7 now. 

You can try it out using Visual 2019!!

Take a look at all the feature's history in C# in the following repository:
https://github.com/Mteheran/CSharpVersionsDemos