teleren/devto huggingface dataset:
How to Refill Your DMC Balance on DMarket?
Tags: tutorial, beginners, news, blockchain
Published: 2019-10-25 08:53:59

Several months ago, DMarket introduced its [new DLT-based and AI-driven platform](https://dmarket.com/blog/dmarket-new-platform/). It provides a whole range of next-gen trading features to let players buy/sell/exchange in-game items faster and easier.

Now, trading on DMarket can be further enhanced with [subscriptions](https://dmarket.com/subscription) that activate cashback on spending on the platform.

The subscriptions can only be purchased with DMarket Coins (DMC), the platform’s native currency. The initial price of the subscription is halved for DMarket Founder’s Mark owners.

To refill a DMC balance, you need to send DMarket Tokens (DMT) from an external wallet to your DMarket wallet. Once transferred, DMT will be automatically converted to DMC at the 1:1 exchange rate.

DMT is an ERC-20 token released in 2017. You can buy it on such major cryptocurrency exchanges as Bittrex and Upbit as well as smaller exchanges like IDEX and YOBIT.

##Four Easy Steps to Refill Your DMC Balance

1. Sign up to DMarket and go to the “Balance “ page. This is the first page in the dropdown menu on the top right. (See pic.1)

2. Click “Choose the currency” and choose DMC in the dropdown menu. (See pic.2)

3. Transfer DMT from your external wallet to your DMarket wallet. Copy your DMarket wallet address (pic. 3) and proceed with a transfer.

4. After a successful DMT deposit, your balance will be refilled with an equal amount of DMC (see pic.4). You’ll be notified about that by email.

That’s it. Get more from trading on DMarket with DMC and subscriptions!
Twitter Trends Heat Map
Tags: react, node, showdev, twitterapi
Published: 2019-10-25 08:08:25

# TrendingMap

Hi there! A couple of months ago I found  [TrendsMap](https://www.trendsmap.com/) webapp and I really liked the solution or service they provide. However, the way they present the information it’s not really user-friendly, and most importantly, if you want a deeper analysis, you’ll have to pay.

I then tried to find similar webapps, and found  [tweeplers](https://www.tweeplers.com/map/hashtags/) map (which is even worse) and others not even worth mention.

After a couple of hours searching, I decided that the opensource community deserves a better app, completely free and easy to use, so I started  [TrendingMap](https://trendingmap.herokuapp.com/). 

It consists of a very simple Node.js back-end which handles all twitterAPI requests and other simple things, and for the front-end uses React.

This is just the beginning. Whenever I have time I’ll continue to improve this (luckily with your help) and hopefully, we’ll have a useful tool to analyze twitter trends.


# DEMO https://trendingmap.herokuapp.com/
The app is deployed in Heroku (free) so it might be idle, therefor it could take a couple of seconds to load.
Before you start
Tags: ux, ios, android, mobile
Published: 2019-10-25 07:36:47

---
layout: post
title: Before you start
comments: false
author: piotr_l
hidden: true
published: true 
tags: [UX, iOS, Android, mobile]
---
## This one is going to be short. And basic.

So let's say you have this great idea for a new app. That, of course, is going to be a real game changer! But before you start your journey to becoming an app proud owner and conquer the world (maybe?), please there are a few things (IMHO) worth taking into account.

## Do NOT reinvent the wheel
<cite>check what’s possible, what’s not, and how it has been done before </cite>

As for today, there are 3.3M apps in Google Play Store and 2.3M apps in App Store. American scientists (sic!) have proven that most of them are inferior,  but there are a few very good apps in the stores, too. My advice is to check how the creator has resolved the problems with UX and UI, and what makes these apps different from the rest.

## We are different
<cite>thank God for many options to feel unique</cite>

iOS and Android users are not the same users (yes, I know this is a pain but if you want to create comfortable user experience you need to design your app according to iOS and Android guidelines separately).

## Don’t buy, just try
<cite>you don’t need to buy a nightclub if you like to party</cite>

All the ideas you can easily check with a wide range of  prototyping tools. Just try to create the first prototype of your app with a few functionalities and show it to your colleagues. You can discuss your ideas using your prototype. 
From my perspective, the flow is the key to engage your users.
Just try to recreate the user flow actions in your app before a development period, and then test ideas with your app users.

You should definitely check those address: <br>
[UXPin](https://www.uxpin.com/) <br>
[axure](https://www.axure.com/)<br>
[inVision](https://www.invisionapp.com/)<br>
[Sketch](https://www.sketchapp.com/)<br>

So .... Prototype, prototype, prototype (and you will thank me later)

If you have found this paragraph interesting, you should also check a great book "Lean Startup" by Eric Ries (don't know the guy personally, but the book is cool).

#### Final word
<cite>(read this 5 times and start to  create)</cite>

Your app will be as good as the time you will invest in it.
VueJS PWA assets generator
Tags: vue, pwa, asset, generator
Published: 2019-10-25 07:24:56

_TLDR_ : `npx vue-pwa-asset-generator -a {your_512x512_png_source or your_svg_source} -o {your_output_folder}`. You're done!

Hi folks!

When I develop for side projects, most of the time I use the stack `VueJS` with the PWA plugin, `CouchDb`/`PouchDb` for my backend and publish my Progressive Web App on [netlify](https://netlify.com). There is a simplicity in this stack I love.

But I've always been struggling with generating the assets to put in the manifest.json and I haven't found any help on the internet. So here we are, I created the generator myself!

It is named [vue-pwa-asset-generator](https://www.npmjs.com/package/vue-pwa-asset-generator)! With [sharp](https://www.npmjs.com/package/sharp) it was really simple.

So, what does it do? It generates all the assets that exist by default in your public/img folder and the favicon.ico as well as the icons attribute in a manifest.json that you can merge with your actual manifest.json. All you need is one png image first and it does the rest!

Here an example of use, once installed : `vue-asset-generate -a logo.png -o img`

Hope it helps you too! 😃

Love.

Extra: it now works with svg files too!

https://www.npmjs.com/package/vue-pwa-asset-generator
https://github.com/jcalixte/vue-pwa-asset-generator
Friday Blast #80
Tags: fridayblast, links, post
Published: 2019-10-26 18:34:29

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

[Announcing TypeScript 3.7 RC (2019)](https://devblogs.microsoft.com/typescript/announcing-typescript-3-7-rc/) - the latest TS contains a bunch of neat features like the `?.` accessor and the `??` operator for simpler interaction with `undefined`. I know a lot of the code I write would benefit from this. Sad that Dart has had this bit of syntactic sugar since a billion years ago tho.

[Simon Marlow, Simon Peyton Jones, and Satnam Singh win most influential ICFP paper award (2019)](https://engineering.fb.com/security/simon-marlow/) - the paper in question is from 2009 and focuses on multicore support for Haskell. What’s interesting though is that there’s a project called [Sigma](https://engineering.fb.com/security/fighting-spam-with-haskell/) at Facebook, meant for abuse protection (anti-spam, phishing attacks, etc.), which serves more than 1M QPS. Which you can do in any language under the Sun for this sort of massively scalable problem, but only in a couple you can do it efficiently - apparently Haskell is one of them.

[In defence of design documents (2018)](https://riccomini.name/in-defense-of-design-documents) - writing up some guidelines for design docs at work, and read this small article for research. Read on if you haven’t been exposed to “design docs” as practiced by big tech companies.

[How Netflix microservices tackle dataset pub-sub (2019)](https://medium.com/netflix-techblog/how-netflix-microservices-tackle-dataset-pub-sub-4a068adcc9a) - an overview of Gutenberg, Netflix’s system for _dataset pub/sub_. In other words, a system for managing “datasets” (ML models, config, other big data), and publishing these things to consumers.

[Designing file formats (2005)](https://www.fadden.com/tech/file-formats.html) - sage advice for designing a binary file format for your application. Things like identification bytes, header checksums, version numbers, data offsets, etc. are covered. Bonus points for reminding people to not load chunks of data and alias them as C structs!
How lighting impacts our lives?
Tags: lighting, ledlighting, elctronics
Published: 2019-10-25 06:42:33

Light. A simple, familiar concept these days which comes from a number of sources – and has a huge impact. From the very earliest days of civilisation, light has played an enormous role in the lives of humans.

Our circadian rhythm, otherwise known as the sleep/wake cycle, originally revolved around the hours of the day that were light and those that were not. Before manmade sources of light were available, the day for primitive humans ended through necessity when the sun went down; hence why light revolutionised their lives.

Since those prehistoric years, the use of light has expanded to encompass everyday uses in homes, offices and classrooms. It affords security and safety in the form of LED Street Lighting and LED Car Park Lighting; removing any shadowy corners.

LEDs represent the most recent lighting innovation and have meant another step forward in the lighting revolution. Now, we have light which is proven to help aid recovery in hospital patients. We have light that keeps people calm in mental health units. And we have ‘intelligent’ lighting. Largely, this means creating specific lighting systems according to end user needs. Exterior LED Lighting gives  a very clear, precise light which studies have shown to improve visibility on roads and paths in the dark, which cuts both the crime and accident rates.

And for the first time ever, lighting is one of the most talked-about renewable energy sources. LEDs are so vastly environmentally friendly compared to incandescent lamps that they are fast becoming the number one choice of lighting strategies for more and more businesses. From the NHS to regional police forces, the demand for the type of light that LEDs provide is growing fast. These tiny modules are the latest development in a long line of lighting methods. From altering our sleep/wake cycle to providing LED illumination for streets, lighting has had a wide impact upon us as a society.

And with the advent of LED lights expanding into all areas – who knows how it will impact upon us in the future?

Know more @ https://arcadelighting.com/
TIL: Unicode chars in regex
Tags: elixir, regex
Published: 2019-10-25 06:40:37

Today I needed to match some unicode chars in an Elixir regex.

## TL;DR:

Use `u` modifier and `\x{...}`, e.g. `~r/\x{1234}/u`

## Matching a unicode char in a regex

More specifically, I needed to remove all zero width chars from a string.
These are `U+200B`, `U+200C`, `U+200D` and `U+FEFF`.

Trying to use `\u` does not work:

```
iex(1)> ~r/\u200B/
** (Regex.CompileError) PCRE does not support \L, \l, \N{name}, \U, or \u at position 1
    (elixir) lib/regex.ex:209: Regex.compile!/2
    (elixir) expanding macro: Kernel.sigil_r/2
    iex:1: (file)
```

Looking at [the docs](http://erlang.org/doc/man/re.html), it seems that `\x{}` is the way to go, but no:

```
iex(1)> ~r/\x{200B}/
** (Regex.CompileError) character value in \x{} or \o{} is too large at position 7
    (elixir) lib/regex.ex:209: Regex.compile!/2
    (elixir) expanding macro: Kernel.sigil_r/2
    iex:1: (file)

```

The trick is that we need to [apply a `unicode` (`u`) modfier](https://hexdocs.pm/elixir/1.9.2/Regex.html#module-modifiers) to the regex, telling the regex compiler that we're working in Unicode:

```
iex(1)> ~r/\x{200B}/u
~r/\x{200B}/u
iex(2)> "Hello,\u200BWorld!" |> String.replace(~r/\x{200B}/u, "")    
"Hello,World!"

```

Yay!

So my final regex could be something like:

```elixir
~r/\x{200B}|\x{200C}|\x{200D}|\x{FEFF}/u
```

## Interpolation works too.

We can also interpolate strings into a regex, which works the same way and works without the `u` modifer:

```
iex(5)> "Hello,\u200BWorld!" |> String.replace(~r/#{"\u200B"}/, "")
"Hello,World!"
```
Know About the Minimum Requirements for Arlo Camera Setup
Published: 2019-10-25 06:36:53

As everyone knows Arlo security the camera helps its user to their house secure from all the unwanted elements. This camera captures each movement & clasps. If you are the new user of this security system, and you are willing to know about the minimum requirements to install the Arlo camera. And for saving your valuable time & energy, you should grab the trustable aid from the Arlo executives. And the executive’s team is quite friendly and they will let you know about the Arlo Camera Setup. To set up this security system you need to download & install the Arlo app.

https://i.postimg.cc/W1Xw5Mbc/Arlo-Camera-Setup.jpg

Also, you should have a strong internet connection with the relevant speed. And you have to ensure that your PC hasn’t any kind of technical issue. If your PC has an issue, then you may have to face some problems with the Arlo app. Which browser you are using for the Aro app. That should be work with the Arlo web applications such as Firefox, Safari on Mac OS X, Chrome, Internet Explorer 10 or higher.

And after downloading the Arlo app on your PC you need to click on the Arlo Sign in option. One of the best things is about the Arlo app, you can download this app on your mobile phone or laptop too according to your satisfaction. So, that you can see the security videos from anywhere. And to get further information you can tact to the Netgear certified executives.

<a href=https://camera24x7.blogspot.com/2019/10/Arlo-Camera-Setup.html><b> Source URL </b></a>.
Sync git fork with upstream
Tags: programming, git, github
Published: 2019-10-25 14:28:44

---
title: Sync git fork with upstream
published: true
date: 2019-10-25 06:30:00 UTC
tags: programming, git, github
canonical_url: https://varunbarad.com/programming/2019/10/25/sync-git-fork-with-upstream.html
---

It is a common situation when we fork a project on Github and after some time we want to update our fork with the changes that have been integrated into the source project from where we forked. This is a simple guide on how to do that.

**Conditions:**

- We have the `remote` of source project added to our local git repo.
- The name of the source project remote is `upstream`.
- We are syncing changes from `upstream/master` to our local `master` branch.

Below are the steps I found on Github’s guide.

1. Commit/Stash all your local changes.
2. Checkout your local `master` branch if not already there. `git checkout master`
3. Fetch (not pull) changes from `upstream`. `git fetch upstream`
4. Merge changes from `upstream/master` to local `master`. `git merge upstream/master`
5. Resolve merge-conflicts, if any.

And you are done. Your local `master` branch is now updated with changes from `upstream/master`.

Source: [Github guide](https://help.github.com/en/github/collaborating-with-issues-and-pull-requests/syncing-a-fork)

**Tip:** Syncing like this will only update your local `master`. You will still need to push those synced changes to your Github repo if you want to update that too.

This was just a quick tip that I needed quite a lot recently and every time I had to go and search for that guide. So I wrote this to solidify the concepts in my mind. If you have any more such tips I would love to hear about them at this [@varun\_barad](https://twitter.com/varun_barad).
JAMStackGR #1-Sanity.io as a Backend
Tags: jamstack, sanityio, cms, webdev
Published: 2020-01-22 14:38:57

---
title: JAMStackGR #1-Sanity.io as a Backend
published: true
date: 2019-10-25 04:00:00 UTC
tags: jamstack, sanityio, cms, webdev
canonical_url: https://ajonp.com/blog/jamstackgr-1-sanity-io-as-a-backend
series: jamstackgr
---

{% youtube DrUabMWNYCw %}

# JAMStack GR #1

## ﻿Slides

[https://docs.google.com/presentation/d/e/2PACX-1vSlRxPomI0jxMWCSJ8fBOX5gEhUfbCfh9qYTLJPIfJQyrXY2Zj6mlkzhDvYkV5KND-uocxdzkys1Llz/pub?start=true&loop=true&delayms=3000](https://docs.google.com/presentation/d/e/2PACX-1vSlRxPomI0jxMWCSJ8fBOX5gEhUfbCfh9qYTLJPIfJQyrXY2Zj6mlkzhDvYkV5KND-uocxdzkys1Llz/pub?start=true&loop=true&delayms=3000)

## Details

Have you ever used Wordpress or Contentful? There is a new Headless CMS that might replace them.  
  
Distribute a single source of truth to any (all) channel, device or product.  
  
### Sweet Query APIs  
Prepare data in queries using joins and projections. CDN cache multiple queries in a single request. GraphQL in beta.  
  
### Powerful patching  
Powerful APIs for patching, exporting, and listening. No locking with real-time syncing.  
  
### Secure & Compliant  
Fully GDPR Compliant. EU Hosted.  
Data encrypted at rest and in transit. APIs TLS / SSL only.  
  
### Apps, not ops  
Sanity is a full-featured content API and editing solution that lets you concentrate on your core business.  
  
### Enterprise comforts  
Third party login, free-form security rules, transactional writes and millions of documents.  
  
### Scale ready  
Stop worrying about traffic spikes with asset and API CDNs on every continent – excepting Antarctica.  

## Cool Links﻿

[https://medium.com/@kimbjrkman/how-to-use-inline-images-in-rich-text-with-sanity-io-c42594baa509](https://medium.com/@kimbjrkman/how-to-use-inline-images-in-rich-text-with-sanity-io-c42594baa509)

[https://jamstackthemes.dev](https://jamstackthemes.dev)
5 Ways to Boost the Performance of Your Wi-Fi
Tags: newextender, mywifiextlocal
Published: 2019-10-25 03:54:28

It becomes extremely impossible to imagine our working and personal life without internet. Internet allows us to do every task in an efficient and easier way. Internet has changed our lives in so many ways. Instead of writing letter manually, we can email people. A queue outside the bank is now replaced by online or net banking. Internet has allowed us to search about anything in just a second. It helps in making society a better place to live in. From recent years, internet can be easily accessed in offices, households or at public places. The Wi-Fi technology is developing continuously, which, in turns, improves society with its advancements.
 
Sometimes Wi-Fi networks may not work properly as per our needs and requirements. There are so many factors which can affect the performance of our Wi-Fi network, which will in turn decrease the speed of your data connection. There are so many ways through which we can improve the performance of our Wi-Fi network. Using an extender set up with the help of <a href="https://mywifiexte.net">Mywifiext</a> is one of the best ways to boost the speed. 

However, there are other different ways also to raise the performance of your Wi-Fi networks such as: 
1. Select a right location for your router: Sometimes not all the locations are good for the router. In order to make your router work properly you should not place your router near the metal objects and from electronic appliances which produce electronic waves. You should avoid the contact of router with the electronic wires. You can raise the performance of your Wi-Fi network by putting it in the centre of the location. 
2. Keeping your router updated: If there are any updates available for the router than you must keep it updated. The viruses which will affect the performance of your Wi-Fi network can be avoided if the router is kept all updated. 
3. Keep a stronger receiver: Sometimes due to the receiver’s weak signal, the router is not working properly. Sometimes the small receiver is not able to catch the proper network. So in order to improve the performance of the router you must fit the large or a tall receiver which will be able to catch the network. You can add the new and strong Wi-Fi receiver for you router. 
4. Switching to a new Wi-Fi channel: There are many Wi-Fi channels available on to which you can switch if your current oneis not working properly. There are about six channels of Wi-Fi which can be used for switching the channels. When there is congestion in the lane of the Wi-Fi channel, you can then switch to the other channel which you think is less occupied or having a less traffic congestion. 
5. By using the latest Wi-Fi techniques: There are so many new Wi-Fi technologies up gradations available which can be used to enhance its speed and network. <a href="https://mywifiexte.net/192-168-1-250/">192.168.1.250<a> is the new and improved technology to boost the performance of the Wi-Fi. 
You can reboot your router if it is not working properly or you can switch to the various channels.
Managing tickets and todos within your codebase - does it make sense? Looking for feedback
Tags: git, go, discuss, productivity
Published: 2019-10-25 03:12:54

Hey everyone - I've begun working on a side project called `tickgit`, which I'm hoping is something that could be useful for anyone writing code and using a `git` repo (presumably many folks here!)

I would love any feedback, and am looking for ways to make this tool useful. It's fairly rudimentary in its current state: [augmentable-dev/tickgit](https://github.com/augmentable-dev/tickgit) but I have high hopes for making it a great developer experience for managing tickets, todos, checklists (and whatever other project-manage-y type things) might exist in a codebase or git repo.

Please share your thoughts! The README has much more detail, and you can run a basic version of it today (installable via homebrew).

the tldr for how it works currently:

```
$ tickgit todos ~/Desktop/facebook/react
...
TODO: does clang define __GNUC__ ?
  => /Users/.../Desktop/facebook/react/scripts/perf-counters/src/portability.h:34:3

TODO: FIXME! Without this implemented properly, the JIT
  => /Users/.../Desktop/facebook/react/scripts/perf-counters/src/portability.h:133:3

TODO: it's awkward to create a bundle for this but if we don't, the package
  => /Users/.../Desktop/facebook/react/scripts/rollup/bundles.js:454:7

TODO: this is too permissive.
  => /Users/.../Desktop/facebook/react/scripts/rollup/validate/eslintrc.umd.js:20:7

TODO: type it.
  => /Users/.../Desktop/facebook/react/scripts/shared/inlinedHostConfigs.js:25:27

123 TODOs Found 📝

```

for getting a snapshot and pointers to TODOs.

```
# rocketship.tickgit

goal "Build the Rocketship 🚀" {
    description = "Finalize the construction of the Moonblaster 2000"

    task "Construct the engines" {
        status = "done"
    }

    task "Attach the engines" {
        status = "pending"
    }

    task "Thoroughly test the engines" {
        status = "pending"
    }
}
```

and


```
$ tickgit status
=== Build the Rocketship 🚀 ⏳
  --- 1/3 tasks completed (2 remaining)
  --- 33% completed

  ✅ Construct the engines
  ⏳ Attach the engines
  ⏳ Thoroughly test the engines
```

as an example of defining and managing simple tickets in your codebase