teleren/devto huggingface dataset:
Building a Movie Listing Application with Aurelia and TypeScript
Tags: aureliajs, javascript, typescript, webpack
Published: 2018-07-18 16:08:28

---
title: Building a Movie Listing Application with Aurelia and TypeScript
published: true
description: 
tags: #aureliajs #javascript #typescript #webpack
canonical_url: https://auth0.com/blog/building-a-movie-listing-application-with-aurelia-and-typescript/
---

In this article, we're going to use the Aurelia JavaScript framework to build a TypeScript application that lets you search for movies or pick from a list of current popular movies, and add them to a 'watch later' list. 

[Read on 🎬🍿](https://auth0.com/blog/building-a-movie-listing-application-with-aurelia-and-typescript?utm_source=dev&utm_medium=sc&utm_campaign=aureliajs)
Choosing Your Tools: A Values Driven Proposal
Tags: devlive, video, tools, philosophy
Published: 2018-07-18 15:25:34

---
title: Choosing Your Tools: A Values Driven Proposal
published: true
description: 
tags: devlive, video, tools, philosophy
---

How do teams and individuals choose their tools? Is the approach systematic? What concerns should be top of mind and how do we balance them? How is our choice in tools influenced by personal philosophy? How can tool selection be turned into an opportunity to influence the industry and the future of developer culture? This talk will start with basic technical choice heuristics and then move on to higher level decision points.

Pre-Requisites
It may be beneficial to have been on a professional development team prior, but the contents should be fairly accessible to hobbyists, solo developers, and students as well.

*This DEV Live Stream was recorded on July 12, 2018*
Join the next Live Stream. See all upcoming events [here](https://dev.to/events).

If you enjoyed this talk, you can follow [Dan on dev.to](https://dev.to/dangolant), and on Twitter at [@dangolant](https://twitter.com/dangolant)
How to deal with ActiveRecord::StatementInvalid PG::QueryCanceled?
Tags: help, postgres, rails
Published: 2018-07-18 15:21:01

---
title: How to deal with ActiveRecord::StatementInvalid PG::QueryCanceled?
published: true
description: 
tags: help, postgres, rails
---

We sometimes get this error `ERROR: canceling statement due to statement timeout : SELECT` and "unplugging and plugging back in" does the trick in terms of a fresh start, but I'd like to know more about dealing with this error in general.

It comes alongside errors like `PG::ConnectionBad: FATAL: remaining connection slots are reserved for non-replication superuser connections`

I know this is a matter of resource constraints and how Postgres deals with it, but other than the hard reset I don't have a good grasp of dealing with the problem.

I have also adjusted the overall pool size in dealing with this, but I'm still not confident in some of the underlying mechanics at play.

What exactly is going on here and how should I approach the problem?
How To Get Support To Fix A "Disruptive" Problem
Tags: career, culture, agile, leadership
Published: 2018-07-18 14:11:03

---
title: How To Get Support To Fix A "Disruptive" Problem
published: true
description: When the problem blocks other people, I’ve had bosses at times pretend there is no problem!
tags: #career #culture #agile #leadership
---

Software projects are getting more complicated every day.

It's easier than ever to get to a point where you’re blocked by a problem.

And I’ve been in the situation many times where I’ve had to explain a problem I’m having to my boss or managers.

It’s bad enough when you're blocked until you fix the problem.

But it’s even worse when you realize fixing the problem _might block other people from getting work done_!

When this happens, I’ve had bosses at times **pretend there is no problem**!

If there’s high pressure on your software project, blocking multiple people to fix a problem can feel impossible for management.

Especially if managers are _focused on how much work people are getting done_.

I talked with you in [another video](https://www.youtube.com/watch?v=0yxfb-drlE4&index=3&list=PL32pD389V8xt_znF-pvOl7OP_xNfnkGgq) about how focusing on how much work a team gets done actually *hurts how much money a product makes for your company*.

So in this video I want to share some ways you can get your manager or boss to support you - even when you need to _disrupt other people to fix a problem_.

# [📺 Watch this video on YouTube](https://www.youtube.com/watch?v=vx1VH3qTFjc&index=2&list=PL32pD389V8xsYo9ETSd4JTu5EYYLcYZCu)

Or listen as a podcast:
[🎧 Soundcloud](https://soundcloud.com/jayme-edwards-media/how-to-get-support-to-fix-a-disruptive-problem)

Skip to points in the video:

[01:47](https://www.youtube.com/watch?v=vx1VH3qTFjc&t=107s) Communicate The Impact
[02:24](https://www.youtube.com/watch?v=vx1VH3qTFjc&t=144s) Document Who Will Be Blocked
[03:06](https://www.youtube.com/watch?v=vx1VH3qTFjc&t=186s) Explain The Dangers Of Not Stopping
[04:44](https://www.youtube.com/watch?v=vx1VH3qTFjc&t=284s) Offer Next Steps
[06:01](https://www.youtube.com/watch?v=vx1VH3qTFjc&t=361s) Offer Alternative Work For Others
[07:39](https://www.youtube.com/watch?v=vx1VH3qTFjc&t=412s) Take Ownership For The Problem

<hr />[🔔 Subscribe for 90+ videos on healthy software development](https://YouTube.com/c/JaymeEdwardsmedia?sub_confirmation=1)
How do you keep track of what you're reading?
Tags: discuss
Published: 2018-07-18 14:08:43

---
title: How do you keep track of what you're reading?
published: true
description: With all the newsletters, books, tweets, posts, articles, etc. it can be difficult to keep track of what you've read. What tools or methods do you use to help?
tags: discuss 
---

One of my New Year's resolutions was to try and take better notes on the various articles and books that I read related to development. I'm one of those people that needs to write things down if I'm going to remember it later. With so much helpful content being written on a regular basis, it can get overwhelming keeping track of what I've read and what the key points I want to remember were.

My current solution is to use [Boostnote](https://boostnote.io/) as a note taking app. Every day, I create a new note and post the links and my summaries of the articles for that day, tagged according to the topics.

How do you keep track of what you've read? Tools, methods, etc.?
How to use Docker for easy and fast WordPress development
Tags: docker, wordpress, web
Published: 2018-07-18 12:55:02

---
title: How to use Docker for easy and fast WordPress development
published: true
description: The docker-compose.yml file I use for WordPress development explained, and why I moved away from Vagrant and the vccw.cc environment for speed and isolation.
tags: docker,wordpress,web
---
A while ago I used to do my WordPress development using this ["vagrant-based" environment](http://vccw.cc/). It's very well written, opensource and comes with whatever you may need to create themes and plugins for WordPress.

**But I wanted something lighter**.

I needed a superlight WordPress installation, with no hassle and a very fast deployment. **Docker Compose was the right choice.**

* Containers are lighter than a Virtual Machine
* Containers are isolated but share the same OS and libraries (if needed)
* If needed, the same docker-compose.yml file can be used for development and production, making environments compatible at a higher level. 

So, here's my `docker-compose.yml` file, for you to use. 

```
version: '3'
services:
   db:
     image: mysql:5.7
     volumes:
       - db_data:/var/lib/mysql
     restart: always
     environment:
       MYSQL_ROOT_PASSWORD: password
       MYSQL_DATABASE: wordpress
       MYSQL_USER: user
       MYSQL_PASSWORD: password
   wordpress:
     depends_on:
       - db
     image: wordpress:latest
     ports:
       - "8000:80"
     restart: always
     volumes:
       - ./wp-content/:/var/www/html/wp-content 
     environment:
       WORDPRESS_DB_HOST: db:3306
       WORDPRESS_DB_USER: user
       WORDPRESS_DB_PASSWORD: password
volumes:
    db_data:
```

[You can also clone it from GitHub](https://github.com/napolux/wp-docker/), if you want.

Let's dig into this a bit...

**First line**: we're telling docker which syntax version we're going to use in the rest of the file. You can read more about the different versions [on the docs](https://docs.docker.com/compose/compose-file/compose-versioning/).

Then in the `services` section we're telling the system we need these images:

* MySQL version 5.7, with some "strong" credentials :P
* WordPress, latest version

For WordPress, we're telling the WordPress image to map the port 80 to our 8000, and to map the local `wp-content` folder to the same folder in the WordPress installation.

**We're going to put all our code in that folder**, in order to make it available in the WordPress admin panel (think of themes and plugins).

So, to be up and running all you have to do is:

* Install docker from [https://www.docker.com/](https://www.docker.com/)
* Clone the repo
* Run `docker-compose up`

Open your browser. go to `http://localhost:8000` and you're good to go!

**Easy, isn't it?**

Originally published @ [https://coding.napolux.com](https://coding.napolux.com)
Trabajando con software legacy
Tags: spanish, legacy, software
Published: 2017-06-02 13:45:13

---
title: Trabajando con software legacy
published: true
description: 
tags: spanish, legacy, software
---

Es preocupante que últimamente los ingenieros de software estén condicionando ser contratados o transferidos de un proyecto a otro aduciendo que no quieren trabajar con software legacy (también conocido como trabajo en proyectos de mantenimiento).
En el mundo de la ingeniería de software el hecho de tener que trabajar con software existente y en operación es bastante probable. Si no fuera así, entonces nunca saldríamos a producción, y no se cumpliría el objetivo principal del proyecto: brindar una solución tecnológica a una necesidad de negocio. Y como en todo negocio, el retorno de la inversión (ROI) es importante. Pagar una gran suma de dinero a un grupo de desarrolladores para que construyan un sistema que soluciona una necesidad de negocio, y que ese producto no vea la luz del sol, es una gran pérdida de tiempo y dinero. Así que es inevitable que en algún momento nosotros como ingenieros de software tengamos que dar soporte al correcto funcionamiento de un producto en operación.
Qué sentido tiene trabajar en un producto utilizando las últimas tendencias en diseño y tecnología, si finalmente no nos preocupamos por lo que en realidad es importante, que es el negocio? La finalidad de un proyecto de software no es poner servidores, frameworks y líneas de código a trabajar juntas. La verdadera finalidad de un proyecto de software es solucionar una necesidad, y esa debería ser el principal objetivo de cada uno de los integrantes de un grupo de trabajo.
Una de las cosas más gratificantes de ser un ingeniero de software es ver cómo las líneas de código que uno escribió y todo el esfuerzo que se puso en un proyecto están siendo puestas en ejecución y aportando a que la solución que requería el cliente efectivamente está mejorando su negocio y satisfaciendo sus necesidades. Pero no todo llega hasta ahí. Tenemos que asegurar que ese software cumple a cabalidad con las exigencias del entorno sin perturbar el negocio.
Utilizando técnicas de refactoring, automatización, deja el “lugar mejor de lo que lo encontramos y finalmente lograr la satisfacción de los usuarios finales le da un mayor sentido a nuestra labor. Disfrutar el camino, aunque este sea empedrado, a veces da más satisfacción que cuando tienes todo servido en bandeja de plata. Y trata de que tu nuevo código sea limpio, expresivo y legible, para que a tus futuros colegas el camino esté menos empedrado que el que tú tuviste que sortear.

Originally published in [Medium](https://medium.com/@pmadridb/trabajando-con-software-legacy-16949ba88693)
I Want Scalar Objects in PHP
Tags: php, webdev
Published: 2018-07-18 12:03:49

---
title: I Want Scalar Objects in PHP
published: true
description: PHP 8 is just around the corner. It's time for PHP to have scalar objects. Together we can do this. Join the movement! #ScalarIn8
tags: php, webdev
cover_image: http://developmentmatt.com/wp-content/uploads/2018/07/scale-1209837_1280.jpg
---

_[Originally Posted on DevelopmentMatt.com](http://developmentmatt.com/i-want-scalar-objects-in-php/)_

Recently, I read an interesting article from Andrew Carter entitled [Make PHP Great Again](http://andrew.carterlunn.co.uk/programming/2018/06/25/make-php-great-again.html) _[cheap plug: this link was included in my most recent [Newsletter](http://developmentmatt.com/newsletter/)]_. In it Andrew brought up the topic of scalar objects. If you're not familiar with scalar objects, they represent a single value (integer, boolean, string, etc.) that you can perform operations on*. In PHP this could look something like:

```php
$name = 'Matt';

var_dump($name->length()); // int(4)
```

_* It's important to note that, as far as I've been able to ascertain, the context in which you use the term "scalar" is important. Different languages implement and define scalar differently._

Soon after scalar objects were brought to the forefront of my mind, I came across the following tweet:

{% twitter 1018966511388647429 %}

To which I replied:

{% twitter 1018971564287713281 %}

## The Case For Scalar Objects in PHP

If you read Andrew's post he discusses how PHP's core functions are inconsistent. This topic isn't new:

- [PHP: a fractal of bad design](https://eev.ee/blog/2012/04/09/php-a-fractal-of-bad-design/#standard-library)
- [PHP RFC: Consistent Function Names](https://wiki.php.net/rfc/consistent_function_names)

PHP 8 is a great opportunity to cleanup these inconsistencies. Introducing scalar objects would provide a consistent API that would be more fluent and much more enjoyable to work with. Which of the following is more intuitive to you?

```php
$hello = str_replace('Matt', 'Bob', 'Hello Matt!');

var_dump($hello); // Hello Bob!
```

or

```php
$hello = 'Hello Matt!';

var_dump($hello->replace('Matt', 'Bob')); // Hello Bob!
```

I know this is a silly example, but doesn't the second bit of code just feel better?

Let's get scalar objects in PHP 8! Who's with me?!?

[`#ScalarIn8`](https://twitter.com/hashtag/ScalarIn8?src=hash)
Secure communication program in a workplace. The end of the Skype era
Tags: encryption, lan, chat, messenger
Published: 2018-07-18 11:22:11

--- 
title: Secure communication program in a workplace. The end of the Skype era
published: true
description: 
tags: encryption, LAN, chat, messenger
---
Let's be honest: Skype is not reliable for enterprise communication. Somehow, this program is still hardly used — people got used to it. Let's take a look at obvious and unpleasant problems with Skype.
* [Memory consumption](https://nsoft-s.com/en/mychatarticles/1184-skype-alternatives-for-secure-communication.html#q3). Skype requires quite a lot of memory. For companies with a big number of users on the terminal server, it will be a real struggle. ![Skype memory](https://nsoft-s.com/imgfornews/en-zamena-skype/image007.png)
* Sensitive to Internet issues, unable to work in LAN
* Requires only fast Internet connection for voice and video calls
* Public servers that are at risk to be accessible after tech issues or cyber attacks

Entrepreneurs, enterprises, companies and those who do not want third-party interference to their internal information should think about alternative software.
The Best Magento 2 Event Calendar Extension
Tags: magento2extension, magentoeventcalendar, magento2event, eventcalendar
Published: 2018-07-18 10:46:14

---
title: The Best Magento 2 Event Calendar Extension
published: true
description: Magento 2 Event Calendar Extension is useful for all Magento e-commerce stores, allowing you to create, manage and show all events in Google calendar as well as sell event tickets online.
tags: Magento 2 extension, magento event calendar, magento 2 event, event calendar
---

<img class="aligncenter size-full wp-image-7857" src="https://www.tigren.com/wp-content/uploads/2018/07/magento-2-event-calendar-extension.png" alt="magento 2 event calendar extension" width="1200" height="628" />

The <strong><a href="https://www.tigren.com/magento-2-extensions/magento-2-event-calendar/">Magento 2 Event Calendar Extension</a></strong> provides merchants a tool to create and manage events at ease in their e-commerce stores. This is a perfect tool not only to inform the store visitors about upcoming events but also to offer them the most convenient way to register or buy the event tickets.

<strong>Feature Highlights:</strong>
<ul>
 	<li>Displaying all upcoming events of the store in a nice calendar or under grid mode</li>
 	<li>Selling event tickets as easily as selling a virtual product</li>
 	<li>Allowing the customers to see previous, current and upcoming events</li>
 	<li>Allowing the shoppers to register for free events or purchase event tickets for paid events</li>
 	<li>Displaying all event information on the event details page (similar to product page)</li>
</ul>
View demos and download the extension <strong><a href="https://www.tigren.com/magento-2-extensions/magento-2-event-calendar/">here</a></strong>.
Discover Extended Compatibility Options in the Updated ODBC Driver for xBase
Tags: odbcxbase, dbfodbc, visualfoxproodbc, odbcdriver
Published: 2018-07-18 09:28:09

---
title: Discover Extended Compatibility Options in the Updated ODBC Driver for xBase
published: true
description: Devart released the upgraded version of ODBC Driver for xBase with extended compatibility options that include the support for Codebase and Clipper DBF file formats.
tags: odbc xbase, dbf odbc, visual foxpro odbc, odbc driver
---
Devart, Czech software provider of database connectivity solutions and tools for database management and development, has rolled out the release of updated ODBC driver for xBase for Windows, macOS, Linux, both 32-bit and 64-bit. Adopting the enhanced ODBC driver, users can smoothly tap into needed data within many popular IDEs, third-party tools like MS Access, Tableau, Omnis Studio, etc., as well as various programming languages. 

Here’s the scoop on new features of Devart ODBC driver for xBase:

The updated version of the product now allows users to view and edit databases in Codebase and Clipper DBF file formats in addition to already supported FoxPro 2, Visual FoxPro and dBaseIII-dBase10.

What’s more, users can now see and copy a used connection string in the connection dialog to simplify connecting to xBase.

Take a closer look at some current and previous features that are now available in ODBC Driver for xBase: https://www.devart.com/odbc/xbase/ .

About Devart

Devart is one of the leading developers of database tools and administration software, ALM solutions, data providers for various database servers, data integration and backup solutions. The company also implements Web and Mobile development projects.

Learn more about Devart at https://www.devart.com .
A Strange Request (for Charity)
Published: 2018-07-18 05:25:11

---
title: A Strange Request (for Charity)
published: true
description: 
tags: 
---

This is a little awkward to post, but understand that if it weren't for the charitable nature, I wouldn't dare in a million years!

I work at a residential addition rehab program, as a teacher in the vocational education department, and as an incidental computer technician when the need arises.  Right now, I'm trying to build a Windows 98 computer, for running some classic educational software that would greatly help the residents and their kids. (By the way, a virtual machine is out, I already considered it.) I'm hoping to have this ready to go by the last week of August.

I have an extensive stash of "outdated" technology, which I renovate with Linux for charity. However, out of everything I have, a Windows 98 computer turns out *not* to be one of them. The newer machines I have won't cut it, as there are no graphics drivers that will allow Windows 98 to run in 256 colors, nor have audio.

So, here's my thought: if I can get my hands on a single, functional motherboard that was designed for Windows 98, I can probably take it from there! I've got multiple towers, all of them with perfectly decent PSUs, drives, fans, and more RAM than you can shake a stick at. I merely need the motherboard (and its backplate, obviously) to get this done.

For the record, I'd gladly find and purchase one myself, except being unemployed, that's presently beyond my means. All of my parts and equipment were either gifts, donations, or cheap second-hand finds.

If you have one on hand you'd be willing to donate and ship, you'd be helping me help a lot of people, and I would be ETERNALLY grateful. (I'll also emblazon your screen-name on the finished computer case if you wish, right next to the DEV sticker. I'll provide pictures, of course.) **If that's you, please comment with size factor and other specs, so I can double-check that I've got a case and equipment to match.**

Once again, I really hate to post this, but this is for a good cause, and `dev.to()` seemed like the best place to ask. Thanks for your patience with this odd little request!
Use Kotlin's / groovy's `it` in Ruby
Tags: ruby, showdev
Published: 2018-07-18 04:27:40

---
title: Use Kotlin's / groovy's `it` in Ruby
published: true
description: 
tags: Ruby, showdev
---

I made a gem "thats_it", with this gem, you can use `it` method to get a single parameter of the block.

```rb
require "thats_it"

p [1, 2, 3].map { it * 2 }
# [2, 4, 6]
```

https://github.com/hanachin/thats_it/


## How it works?

Basic idea is rewrites the block's iseq before call it.


```rb
# rewrites this block ↓
[1, 2, 3].map { it * 2 }

#          to this ↓
[1, 2, 3].map {|it| it * 2 }

```

I wrote a implementation details in Japanese.
https://qiita.com/hanachin_/items/8df68325142d46a7fb0b

If you interested, you can read through Google translate.
https://translate.google.com/translate?hl=ja&sl=ja&tl=en&u=https%3A%2F%2Fqiita.com%2Fhanachin_%2Fitems%2F8df68325142d46a7fb0b
Video: Build Your First Cloud Function
Tags: serverless, cloudfunctions, faas, ibmcloud
Published: 2019-10-07 18:16:48

---
title: Video: Build Your First Cloud Function
published: true
tags: Serverless, Cloud functions, FaaS, IBM Cloud
canonical_url: https://maxkatz.org/2018/07/17/video-build-your-first-cloud-function/
---

I published a step-by-step tutorial on how to build [your first cloud function](https://maxkatz.org/2018/07/13/build-a-serverless-hello-world-function/) using IBM Cloud Functions. I also recorded a 5-minute video that shows how to build your first function and a number of ways to invoke it via a REST API. Check it out below and let me know what you think.

{% youtube kiLJuwL4N2A %}