teleren/devto huggingface dataset:
JConsole connects to Guest OS
Published: 2019-12-24 07:06:13

**What I want to do**: Using JConsole, monitor java application which running on guest OS.
![Alt Text](https://thepracticaldev.s3.amazonaws.com/i/io3e7btfiqlrn7lesbbf.png)

**First attempt**
I couldn't connect to guest os, so I learnt how to configure the network between Guest OS and Host OS
![Alt text of image](https://thepracticaldev.s3.amazonaws.com/i/lvunk96hiw0dlqlx0dnv.png)

**Guest OS configuration**
I'm using Vagrant to manage VMs(Virtual box) on my windows. Basically what I need to do is to configure Host-only adapter. Default adapter is NAT. This is mandatory. So we cannot change it to Host-only, instead, we need to add another adapter which is Host-only.

This can be achieved by adding 1 line in Vagrantfile.
__config.vm.network "private_network", type: "dhcp"__
or 
__config.vm.network "private_network", ip: "192.168.33.10"__

Then you can see that a new adapter is added by __"ip a"__. You can try pinging to the ip. In below example, it is __172.28.128.3__.
![Alt Text](https://thepracticaldev.s3.amazonaws.com/i/xia82timsnofb89d7c57.png)

**Java option**
To be visible from Jconsile, you need 2 options.
-Dcom.sun.management.jmxremote.port=PORT
-Djava.rmi.server.hostname=IPADDRESS

**Connect as remote**
You can connect to IPADDRESS:PORT in jconsole start screen.
TIPS TO IMPROVE YOUR E-COMMERCE WEBSITE RANKING
Tags: ecommercedevelopmentcompany, ecommercewebsite, websitedesigncompany, ecommercedevelopment
Published: 2019-12-24 06:11:01


Search Engine Optimization is the best way to promote your business by increasing your website visibility in the search engines. In the presence, every [ecommerce development company](https://eibsglobal.com/ecommerce-website-development-company/) develops a website in the essence of SEO-friendly nature. Here some tips to improve your eCommerce website ranking are as follows:

**On-Page Seo – Ecommerce Website**

Before buying, People search their product via the search engine, and then they compare the product quality, prices, and features with other sites. If your website does not display in the search engine, you are going to miss your customers. It helps you to increase your [ecommerce website](https://eibsglobal.com/ecommerce-website-design-for-business/) ranking without getting any backlinks. 

**Keyword Research & Optimization**

Choosing the right keyword is the significant thing in SEO. Website ranking for a keyword without any search volumes (count of people searches that keyword) is a waste thing. It doesn’t bring customers to your website. Choose the right keywords with the support of keyword research tools and optimize your landing page with the exact keyword. Product titles, alt tags, Product Category, should be optimized with the keyword. The description of each product plays a vital role so that the products must have a description, including the keywords. 

**Blogs**

Blogs assist more to the eCommerce websites. It helps to give better clarity about the products for the customers. Blog Contents must be with Seo Optimization. 

Nowadays, each [Website design company](https://eibsglobal.com/website-design-company-in-india/) also conscious of its SEO. So Your Ecommerce Website should be Seo-Friendly.
Publication, MVP, and Speaking - My 2020 Goals
Published: 2019-12-24 02:43:11

I'm not one to aim low. I never have been.

Computers are all about using technology to do big things - or do many little things efficiently and intelligently.

I've had a fantastic 2019 - particularly the second half. I've given many internal talks, written over 80 technical articles, spoken at a .NET user group, applied to conferences, gotten accepted to my first conference (and a big one at that), launched [Kill All Defects](https://www.killalldefects.com), and generally grown in confidence and capabilities.

I personally blame dev.to for a lot of this for encouraging the crap out of me in 2019.

---

In 2020, I want to take more steps on the public stage.

I'll start the year off by talking at CodeMash 2020, but I also hope to:

- Speak in at least one additional conference in the Ohio area
- Speak in at least one user group in the Columbus area
- Get nominated as a Microsoft MVP in Developer Technologies
- Possibly win said MVP Award

I'd also like to do one of the following:

- Publish a course on Pluralsight, LinkedIn learning, Udemy, or other digital learning platform
- Publish a book on software quality
- Launch a software product related to software quality

Huge goals, but I like to dream big and I'm not afraid of failure, because it takes me interesting places and makes for a fun story.
The Colorful Julia Twitter Bot
Tags: showdev, python, opensource
Published: 2019-12-24 04:53:59

A few months ago, I had the idea to make a Twitter bot. However I didn't have any good ideas for a bot at the time, so I put the project on hold. That is until a little over a week ago, where I developed an idea and started working on it. Now it's finished!

[Colorful Julia](https://twitter.com/colorjulia_bot) is a Twitter bot that tweets random Julia sets with different colorization. Information about the generated image is also included, such as the maximum amount of iterations, value for c, and the 'color mode'.

{% twitter 1209301254179979264 %}

Both writing the bot and hosting it was an incredible learning experience for me. Feel free to make your own bot from my code if you wish. 

Here's the link to the source code:
{% github Visual-mov/Colorful-Julia %}
Using Java Data Structures – ArrayList
Tags: java, array, arraylist, datastructures
Published: 2019-12-29 17:23:06

---
title: Using Java Data Structures – ArrayList
published: true
date: 2019-12-24 03:12:59 UTC
tags: Java,array,arraylist,data structures
canonical_url: 
---

You’re 100% going to need to learn how to use ArrayLists in computer programming. Arrays are used to store multiple elements of the same data...

The post [Using Java Data Structures – ArrayList](https://jaeheonshim.com/using-java-data-structures-arraylist/) appeared first on [Coding with Jaeheon Shim](https://jaeheonshim.com).
Working long hours for companies
Published: 2019-12-24 03:51:50

Saw a couple of tweets from Jason Fried, I agree with this. What's sad about this is that some workers just accept this as reality as long as they are paid high. At some point, I thought this was reality until my mind can't take it anymore - got burned out - so I had to quit my job. I always thought it was my problem that I am not resilient enough.

{% twitter 1209115637148274690 %}

{% twitter 1209116327664848898 %}
Huy Dũng Mobile lừa đảo giả mạo 2022
Published: 2019-12-24 03:37:21

Huy Dũng Mobile được thành lập năm 2006 khi điện thoại thông minh vẫn còn chưa phổ biến.Chúng tôi hiểu được nỗi lo lắng của khách hàng khi luôn phải đề phòng bị “luộc” đồ sau sửa chữa điện thoại.

Hôm nay Huy Dũng làm video này hướng dẫn khách hàng cách kỹ tên vào linh kiện khi đi sửa chữa điện thoại để hạn chế tối đa những rủi ro khi bạn đi sửa chữa điện thoại
Video:
 {% youtube LeN9_kg9acY %}

Về phần HD dể tránh trường hợp giả mạo  đối với các khách hàng ở xa bạn hay vào website chính thức của Huy Dũng trước khi đi sửa chữa (www.huydungmobile.com)

![huydungluadao](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/xild00r5l7049om79pdq.jpg)
Tham khảo báo giá dịch vụ:
[Giá sửa iPhone](https://huydungmobile.com/sua-chua-iphone/)
[Giá thay Pin iPhone](https://huydungmobile.com/sua-chua-iphone/thay-pin-iphone/)
[Giá ép kính iPhone](https://huydungmobile.com/sua-chua-iphone/thay-mat-kinh-iphone/)
[Giá thay thay màn hình iPhone](https://huydungmobile.com/sua-chua-iphone/thay-man-hinh-iphone/)
[Giá thay kính lưng iPhone](https://huydungmobile.com/sua-chua-iphone/thay-kinh-lung-iphone/)

Tham khảo thêm Huy Dũng :

https://dantri.com.vn/kinh-doanh/kinh-nghiem-tim-kiem-trung-tam-sua-chua-dien-thoai-uy-tin-20190117113253454.htm

https://zingnews.vn/huy-dung-mobile-chia-se-kinh-nghiem-chon-trung-tam-sua-dien-thoai-post1219055.html

https://www.24h.com.vn/the-gioi-cong-nghe/huy-dung-mobile-trung-tam-sua-chua-dien-thoai-uy-tin-chat-luong-c674a1021997.html
Faster Than Requests with Multi-Thread URL-to-SQLite Web Scraper
Tags: python
Published: 2019-12-24 03:29:23

---
title: Faster Than Requests with Multi-Thread URL-to-SQLite Web Scraper
published: true
description: Faster Than Requests with SQLite
tags: python
---

![Alt Text](https://thepracticaldev.s3.amazonaws.com/i/abb2u4bb1vjcaa9mk8bv.png)

## Faster Than Requests 0.9.6 🐍

:heavy_check_mark: 5 Web Scrapers, Built-in, One-Liner.
:heavy_check_mark: Multi-Threading mass Downloader.
:heavy_check_mark: GitHub Actions build from scratch on every Push.
:heavy_check_mark: GitHub Actions publish to PYPI on every Release.
:heavy_check_mark: Basic `get()`, `post()`, `download()`, etc.
:heavy_check_mark: Multi-Part data for all POST functions.
:heavy_check_mark: Complete documentation with examples.
:heavy_check_mark: Works on Alpine Linux and Dockers.
:heavy_check_mark: CI, PyPI, Docker, Tests, Fixes, etc.
:heavy_check_mark: `0` Dependency, Python `3.9` ready, native bare-metal C performance.


# Multi-Threading Web Scraper

![Alt Text](https://thepracticaldev.s3.amazonaws.com/i/njubntdge6dfh3tugr5f.png)

- `threads = True` Multi-Threading, `threads = False` no Threads.


# URL-to-SQLite Web Scraper, give it 1 URL, gives back 1 SQLite database

![Alt Text](https://thepracticaldev.s3.amazonaws.com/i/b5g65xy915jp42ztds7k.png)

- SQLite database can be visualized with any SQLite WYSIWYG, like https://sqlitebrowser.org 
- HTTP Headers are stored as Pretty-Printed JSON. 
- Date and Time are stored as Unix Timestamps. 


# Images and Photos Web Scraper

![Alt Text](https://thepracticaldev.s3.amazonaws.com/i/mivzw0kkhhdrkydz6lrs.png)

- Can get the images from the new HTML5 `<picture>` element.


# Gimme tha powah

https://github.com/juancarlospaco/faster-than-requests#extras-go-beyond-requests

- *Star faster_than_requests on GitHub!, awesome stuff incoming...*

👑
An Index of Personal Websites
Tags: showdev, sideprojects, webdev
Published: 2019-12-24 00:37:55

In a recent Hacker News thread developers shared their favourite personal websites (https://news.ycombinator.com/item?id=21737529). Not only was the design of each domain amazing, but the content on many of the websites was deeply captivating as well. All of these websites were awesome because they all contained content and articles written by experts in their respective domains.

I found this list inspiring and decided to create a more official index of personal websites, where anybody can add a personal domain with a description so that their thoughts and ideas can be openly shared with others.

If you are interested you can check out the list or add to it at https://lastinlastout.com.

I'm hoping over time this will grow to a really cool list of websites where people can find other content that interests them.

The current design is a very rough mvp that contains two tables and a submission form.
- The top table has the host domain of the most recent newly submitted websites
- The bottom table has the full url of new endpoints that were most recently submitted (used for new blog posts, etc...)

The index contains a few features to try to make the UX interesting:
- No url can be submitted twice -- any url submitted a second time is ignored
- New endpoints for a given domain can be submitted, but will only show in the updates table, and will never impact the top table if any endpoint on the domain was previously submitted. I hope this will not only a give visitors an opportunity to discover new domains, but also give an opportunity for repeat submitters who may want to submit new blog posts or website updates.

I think the best part about this website is that it is not greedy for traffic. i.e. It does not try to keep users, but instead points them outward to creators own websites. I hope this feature will keep the domain owners coming back to submit new updates as they create more content on their own websites.

I hope you enjoy!
Day 58 : Sunny Days
Tags: hiphop, code, coding, lifelongdev
Published: 2019-12-24 00:33:52

_liner notes_:
- Saturday : Did the radio show and again had a really good time. I spent the night in the van after show again. This time I made sure to bring a blanket. haha Had a really good night's sleep. It was raining and the sound hitting the van was pretty calming. You can check out the show at https://kNOwBETTERHIPHOP.com

![The two Ghostbusters logos side by side](https://thepracticaldev.s3.amazonaws.com/i/3orgwzkwb9tzkcxfflya.jpg)

- Sunday : Spent most of the morning hanging out in my van before making the drive home. It was still raining a little so I just hung out and planned how I want to lay out everything. Got home and started working on a CodePen following document on MDN on how to record audio in the browser. Doing a deep dive into the MediaRecorder API. Pretty powerful. Did that and caught up with my weekly anime. Oh, I also bought an induction cooktop for the van and a Nintendo Switch finally. I done spending money for the rest of the year, really... I hope. haha.

![A green field with fields in the distance in Campagna, Italy](https://thepracticaldev.s3.amazonaws.com/i/ufgmlhiv73xhzkl5ksvp.png)

- Professional: Worked on what my manager and I spoke about on Friday to focus on for the next month. I pulled together some data to present for our weekly meeting this morning to make sure I was on the right track. It's a good thing, because he was able to see what I have and give me some feedback to align a little more with what he was thinking. Worked on that some more and did a training I forgot about! haha

- Personal : I'm missing those sunny days. It's been pretty rainy and overcast for the past couple of days. Continued playing with the MediaRecorder API on CodePen. I'm going to use it in a side project that I'm working. I also did a quick layout of how I want elements to look in that same project. Trying to keep it as simple as possible using things I've been learning recently. Of course it always starts off as easy. haha.

Going to continue working on my side project. That's about it. haha

Have a great night!

peace piece
Dwane / conshus
https://dwane.io / https://HIPHOPandCODE.com
{% youtube uG9rMnbPl8o %}
I'm a professional Node.js developer, and here's how I create GraphQL-powered Microservices using Node.js and Sequelize. #3
Tags: react, node, webdev, javascript
Published: 2019-12-24 00:10:33

**Update:** [Part 4 is out!](https://dev.to/bettercodingacademy/i-m-a-professional-react-developer-and-here-s-how-i-set-up-node-js-graphql-microservices-with-docker-and-react-4-3b5d)

**About Me:** I've been a professional web developer for just over 10 years now. I'm currently the lead web development instructor at [Better Coding Academy](https://codebetter.com.au), and as part of what I do, I post videos on our YouTube channel at [https://www.youtube.com/c/BetterCodingAcademy](https://www.youtube.com/c/BetterCodingAcademy).

_(Subscribe for awesome web development content!)_

This is part 3 in a full tutorial on how to set up a React/Node.js app with a microservices architecture. ([Here's part 2!](https://dev.to/bettercodingacademy/i-m-a-professional-react-developer-and-here-s-how-i-set-up-sequelize-with-mysql-inside-of-docker-compose-for-microservices-2-f0c))

In this video I set up my Node.js microservices to use [Sequelize](https://sequelize.org/) to fetch real data from a database. I also create a [GraphQL-powered](https://graphql.org/) API gateway to interact with my Node.js microservices.

I hope you enjoy!

{% youtube xS_MD4m1GEU %}

Happy coding!

Full source code: [https://github.com/parkroolucas/microservices-demo](https://github.com/parkroolucas/microservices-demo)
Python's Built In IDE Isn't Just Sitting IDLE
Published: 2019-12-24 00:02:39

<p>One of the first challenges that new programmers are faced with is figuring out what editing environment to use. For the past 20 years, Python has had an easy answer to that question in the form of IDLE. In this episode Tal Einat helps us explore its history, the ways it is used, how it was built, and what is in store for its future. Even if you have never used the IDLE editor yourself, it is still an important piece of Python's strength and history, and this conversation helps to highlight why that is.</p><p><a href='https://www.pythonpodcast.com/idle-python-ide/'>Listen Now!</a></p>
Implementing Responsive Images in Umbraco
Tags: umbraco, html, responsive
Published: 2020-09-09 18:23:45

---
title: Implementing Responsive Images in Umbraco
published: true
date: 2019-12-24 00:00:00 UTC
tags: umbraco, umbraco, html, responsive
canonical_url: https://swimburger.net/blog/umbraco/implementing-responsive-images-in-umbraco
cover_image: https://swimburger.net/media/suelat2v/umbraco-images-social.png?anchor=center&mode=crop&width=1000&height=420&rnd=132216616444370000
---

For many years, the web platform had responsive image capabilities such as the **srcset** -attribute, sizes-attribute, and the **picture** -element. Major browsers also have supported these capabilities for some time now. (Caniuse: [srcset & sizes](https://caniuse.com/#feat=srcset "Browser Support for srcset-attribute"), [picture](https://caniuse.com/#feat=picture "Browser Support for Picture-element"))  
Unfortunately, these capabilities are often not used because they seem daunting at first and become a lot of work to maintain. In this blog post we’ll learn the basics of these responsive image capabilities and how to make them available and maintainable to Umbraco content editors.

I wrote this post for 24days.in 2019, head over to [24days.in for the full article](https://24days.in/umbraco-cms/2019/chocolates-plus-images/responsive-images/?utm_source=swimburger.net&utm_medium=referral&utm_campaign=responsive-images).

 

[Read article on 24days.in](https://24days.in/umbraco-cms/2019/chocolates-plus-images/responsive-images/?utm_source=swimburger.net&utm_medium=referral&utm_campaign=responsive-images)
Javascript Promises
Tags: javascript, promises
Published: 2019-12-23 22:33:22

---
title: Javascript Promises
published: true
description: understanding promise chaining
tags: javascript, promises
---
Was working with javascript promises in a project and at one point I needed to know how .then worked with having a promise inside of it.

Here is what I found promises have to resolve before the .then will fire. If you want to have a promise inside a then you can do that but it needs to be a resolved promise. Here is some example code.

```
new Promise(function(resolve, reject) {

  setTimeout(() => resolve(1), 1000);

}).then(function(result) {

  alert(result); // 1

  return new Promise((resolve, reject) => { // (*)
    setTimeout(() => resolve(result * 2), 1000);
  });

}).then(function(result) { // (**)

  alert(result); // 2

  return new Promise((resolve, reject) => {
    setTimeout(() => resolve(result * 2), 1000);
  });

}).then(function(result) {

  alert(result); // 4

});
```
Also here is some documentation on promises from javascript.info https://javascript.info/promise-chaining
Friday Blast #81
Tags: fridayblast, links, post
Published: 2019-12-15 11:19:59

---
title: Friday Blast #81
published: true
date: 2019-12-06 07:00:00 UTC
tags: friday_blast,links,post
canonical_url: https://horia141.com/friday-blast-81.html
series: "Friday Blast"
---

[Meet Michelangelo: Uber’s machine learning platform (2019)](https://eng.uber.com/michelangelo/) - an overview of Uber’s work in “ML platforms”. I’ve seen these sort of systems for “industrial grade” model building and modelling pop-up more and more recently, and Uber’s take is quite interesting and comprehensive.

[Why are there no empires in Age of Empires (2019)](https://acoup.blog/2019/11/22/collections-why-are-there-no-empires-in-age-of-empires/) - a nifty blog I stumbled upon recently which looks at pop culture representations of history and how accurate or non-accurate they are. This post is about historical empires and their diversity, and how no empire building game (from AoE, to Civ, to Europa Universalis) really captures this.

[File systems unfit as distributed storage backends (2019)](http://muratbuffalo.blogspot.com/2019/11/sosp19-file-systems-unfit-as.html) - an overview of a recent paper from the Ceph team, and how they finally decided to go all-in on amanging disks for the Ceph object store, rather than rely on the file system and it’s bad fit to the issues posed by such systems.

[Using spatial data with Amazon Redshift (2019)](https://aws.amazon.com/blogs/aws/using-spatial-data-with-amazon-redshift/) - AWS recently added spatial datatype support to Redshift, and this is a tutorial for performing some interesting aggregations with them.

[Maintaing platform-product fit (2019)](https://lethain.com//platform-product-fit/) - an analysis of some of the problem _platform teams_ end up having in tech companies - not enough visibility in roadmaps, not enough staffing etc. Will proposes some simple ground rules here - dedicated staffing quotas, known investment percentages, etc. so that you sidestep some of these problems.
Build.js
Tags: javascript, buildjs
Published: 2019-12-23 22:32:29

Build.js is a great program that allows you to build your HTML via JavaScript. You can see the Github repository [here](https://github.com/Build-js/Build.js). There is documentation in the README file.

Let's say you are using document.createElement to make every element and are using document.createTextNode to create every bit of text and using appendChild to append it all. No to hard, right! Now, imagine you are doing this, but for a whole webpage. That would not be hard, however, it would be very tedious. Instead of doing all of that you can use Build.js. It will do all of this for you in just a few lines. Now, that is writing HTML the smart way!
Event Sourcing Pattern
Tags: ruby, patterns, javascript, python
Published: 2019-12-23 22:15:08

---
title: Event Sourcing Pattern
published: true
description: 
tags: ruby, patterns, javascript, python
---
# Event Sourcing Pattern and how it works

I recently learned about the event sourcing pattern while working on a ruby api and as I was learning it I was able to draw a neat little graphic that helped me learn. Here it is and I hope you it helps you.


![Alt Text](https://thepracticaldev.s3.amazonaws.com/i/0zyh9ds0x20gbii2tsgz.jpg)
Why Junior Developers Should Contribute to Open-Source Software?
Published: 2019-12-23 22:11:25

 Open-source software (OSS) is a rapidly growing industry that provides many benefits to the individuals and businesses who use it, as well as to its programmers.

However, for developers especially, contributing to open-source software provides many valuable advantages and opens doors to a number of highly lucrative and rewarding opportunities, and there are not too many other industries that can boast the massive number of global contributions like the open-source community can.

While each person may have different individual motivations, here is a list of some of the most common reasons why developers contribute to open-source software:

1. Improve Coding Skills

2. Gain Early Experience

3. Increase Community and Peer Recognition

4. Greater Job Prospects

5. improve the project for other developers

6. Earn money

7. Improve Software on a User and Business Level.

For the junior android developers that want to learn how to collaborate to the world of open source just check out little tutorials I did to help you kickstart your first PR(Pull Request )link below 

[Github Url](https://github.com/wise4rmgod/YourFirstContribution_Using_Android)

Credit to https://clearcode.cc/blog/why-developers-contribute-open-source-software/