teleren/devto huggingface dataset:
Using SDS011 particle sensor from my laptop (python3)
Tags: sds011, python, rasspberypi, airquality
Published: 2021-01-29 07:11:24

Recently we started to check the quality of the air in our town using the [IQAir](https://www.iqair.com/) / [Air Visual](https://play.google.com/store/apps/details?id=com.airvisual) and results were sometimes quite disturbing. That is why we decided to buy an air quality measuring device. Unfortunately, I was not able to find it in any of our local stores so I ordered it from the [Amazon.de](https://www.amazon.de/) but we needed to wait for around 1 month (if not more) for this monitor to arrive.

I realized there is [SDS011 Air Quality sensor](https://joy-it.net/en/products/SEN-SDS011) available from our local electronics components store so we went there and bought it the same day.

It seems that I would only need a laptop with the USB port and working Python installation to use it. Of course, it was not 100% straight-forward to use it - instructions were made for usage with [the Raspberry Pi](https://www.raspberrypi.org/) machine and older Python2 version. It didn't take a long to adjust [the open-source code cloned from the GitHub](https://github.com/zefanja/aqi) for my specific needs.

The forked project with changes (in case you need to use the sensor from your machine with the Python3 instead of [no longer supported Python2](https://www.python.org/doc/sunset-python-2/) environment) is available on [my GitHub fork of the original project](https://github.com/vvidovic/aqi).

A nice byproduct is that I realized I can add a measurements history to the sensor web page and I created [a pull request to the original project](https://github.com/zefanja/aqi/pull/15) which is now merged and available for everyone using this code with the Raspberry Pi :)

The cover image is created by the [Foto-Rabe](https://pixabay.com/users/foto-rabe-715168/)
Trung tâm sửa chữa bảo hành điện thoại tại đà nnawgx
Tags: ceqcqew
Published: 2021-01-29 06:59:09

https://sosanhgiasanpham.com
https://epkinhdienthoai.vn
https://quatangsg.vn
https://sanxuatgomsu.vn
Fun Run 3 - Multiplayer Games
Published: 2021-01-29 06:57:35

[Run 3](https://run3mods.com/), is the third game in the Run trilogy. 
[Run 3](https://run3mods.com/) takes place in a series of tunnels in space. 
To play the amazing [run 3](https://run3mods.com/) game, the players have to run and jump to pass different levels of obstacles. 
[Run 3](https://run3mods.com/) introduces a number of new mechanics not seen in the previous games, including crumbling tiles, ramps, darkness, and the ability to re-enter a tunnel after jumping out.
People remember this game as a game everyone plays at school. 
Good luck and have fun guys! 

How To Play: https://run3mods.com
Use the left and right arrow keys to move.
Use Space to jump.

Tips and Tricks:
When running into another lane, that lane will turn into the floor.
You can pause/resume/restart, switch aliens and turn the music, sound on/off in the pause menu.
Azure Architect Certification - Exam Changes
Published: 2021-01-29 06:40:44

The Azure Architect certification is perhaps one of the most sought-after qualifications, certainly in Microsoft’s cloud space.  For the Azure Certification accreditation, you need to have passed TWO exams – AZ300 and AZ301.

However, as Azure is an ever changing and improving platform, this means the requirements for certification must also evolve.  And many of Microsoft’s certifications have been updated to reflect the ever-changing world of technology.

With this in mind the AZ300 and AZ301 exams are were updated in September 2020 and were replaced by AZ303 and AZ304.

With this in mind the question that will come to most people’s minds is ‘what’s different?’.

<i><b>AZ300 versus AZ303 Differences</b></i>

The actual requirements are available on the Azure Certification AZ300 page, and current show BOTH requirements.

What’s interesting is that actually there’s not much different – in fact more has been removed than added, with a focus more on Infrastructure, identity and security, and much less on programming patterns and to a certain extent networking.

Networking is perhaps the easiest to understand – configuring VPNs, Express Route, Virtual WAN and onsite connectivity have now all been removed – however VNETs, peering and routing are still there.  I suspect this is more about the fact that it is harder to practice and simulate these in lab environments than any real desire to deprecate the knowledge itself. 

However, I must admit, as a course creator and author this really has made things simpler!

To me though, the most notable change is the removal of message-based architecture knowledge.  For AZ300 there were a number of requirements around the use of Event Hub, Service Bus, Event Grid and autoscaling patterns (such understanding singleton applications and transient state).

I don’t think for one minute that this is because Microsoft no longer feels these are important, however I believe it’s because the AZ300 exam is more about using and building components in azure, and the messaged based architecture requirements leaned much more towards software development patterns, which is why these are now covered in the associated design exam – AZ 304: Microsoft Azure Architect Design.

To help get you to prepare for the newly updated Microsoft accreditations check out this book by Packt Publishing Authored by Brett Hargreaves, Sjoukje Zaal!! <https://packt.live/3ouOawY>
Create a .msi file for go program
Tags: windows, go, bash, productivity
Published: 2021-01-29 06:30:17

Hi everyone, long time no write anything, but I had a lot of projects and stresses to study, but now, we'll create a .msi file for go program

## Pre-requisites

- [go][goUrl] is installed
- [wixtoolset](https://wixtoolset.org/) it's very important

## What's we'll use?

Package [go-msi](https://github.com/mh-cbon/go-msi) helps to generate MSI package for a Go project.

### installation

> by [go][goUrl]

```pwsh
go get github.com/mh-cbon/go-msi
```

> by [Chocolatey](https://chocolatey.org)

```pwsh
choco install go-msi
```

for more, visit https://mh-cbon.github.io/go-msi/#install

ok, now let's create a simple go file `msi.go`

```go
package main

import "fmt"

func main() {
  fmt.Println("Gen MSI File")
}
```

build it

```pwsh
go build
```

### **wix.json**

to create a .msi file, we need `wix.json`

```json
{
  "product": "YOUR_PRODUCT_NAME",
  "company": "YOUR_COMPANY_NAME",
  "license": "LICENSE",
  "upgrade-code": "",
  "files": {
    "guid": "",
    "items": [
      "path/to/msi.exe",
    ]
  },
  "env": {
    "guid": "",
    "vars": [
      {
        "name": "PATH",
        "value": "[INSTALLDIR]",
        "permanent": "no",
        "system": "no",
        "action": "set",
        "part": "last"
      }
    ]
  },
  "shortcuts": {},
  "choco": {
    "description": "YOUR_DESC",
    "project-url": "YOUR_PROJECT_URL",
    "tags": "TAGS YOU NEED",
    "license-url": "YOUR_LICENSE_URL"
  }
}
```

our `guid` props are empty, run this command

```pwsh
go-msi set-guid
```

### Create Interfaces

we'll create three user interfaces

1. License Agreement Page
2. WiX UI
3. Product Page

now create three files

- `LicenseAgreementDlg_HK.wsx`
- `product.wsx`
- `WixUI_HK.wsx`

download these files [here](https://github.com/abdfnx/wix_temp/archive/main.zip)

put these files in folder, like **templates** folder

### Generate

```sh
go-msi make --msi YOUR_PRODUCT_NAME.msi --version YOUR_VERSION -s ./path/to/*.wsx
```

now you can test your msi file

👋

[goUrl]: https://golang.org
KTRZ Monokai - Minimal VS Code color theme
Tags: vscode, theme, monokai, minimal
Published: 2021-01-29 06:06:29

---
title: KTRZ Monokai - Minimal VS Code color theme
published: true
description: A minimal Visual Studio Code theme with the Monokai color scheme.
tags: vscode, theme, monokai, minimal
cover_image: https://user-images.githubusercontent.com/5457539/106236918-22224680-6241-11eb-82db-6165898329c1.png
---

When I first moved to VS Code from Sublime Text, I couldn't find a color theme that I liked, so I made my own and used it for a long time. Finally, I published it on the Marketplace. It's minimal, flat and with the Monokai color scheme. Of course totally free and open source. It's listed on the trending page 🎉

**Syntax highlight**

![Rust syntax highlight screenshot](https://dev-to-uploads.s3.amazonaws.com/i/cbvpn9vrh1t8iqtsy4of.png)

![TypeScript syntax highlight screenshot](https://dev-to-uploads.s3.amazonaws.com/i/uu79bsdfmw2962kb47i4.png)

**Terminal**

![Terminal screenshot](https://dev-to-uploads.s3.amazonaws.com/i/wszxb5a9eqx68vpbdjlp.png)

**Setting**

![Setting screenshot](https://dev-to-uploads.s3.amazonaws.com/i/hs38gjtkxyrd54neepbj.png)

👉 [**Homepage**](https://ixkaito.github.io/ktrz-monokai/) | [**Marketplace**](https://marketplace.visualstudio.com/items?itemName=ixkaito.ktrz-monokai)
About DEV SHOP Orders
Tags: devshop, shop
Published: 2021-01-29 05:46:27

---
title: About DEV SHOP Orders
published: true
description: 
tags: devshop, shop
//cover_image: https://direct_url_to_image.jpg
---

Hi all! 

About 40 days ago I placed an order from [DEV Shop](https://shop.dev.to/ "Shop dev.to"). I sent 2 e-mails to yo@dev.to but did not receive any feedback. I cannot get any information about whether my order will arrive or not, or its status. Is there any other address you know I can contact?

Thanks
TIL Unity Package Piracy Exists
Tags: todayilearned, gamedev, unity3d, drm
Published: 2021-01-29 05:42:06

2021-01-28

From what I've seen, Unity Packages have no native DRM support. 
If you sell items on the asset store, there's nothing that can stop a customer from redistributing those items to non-customers.
The typical way to fight this is to keep updating the asset with new and improved features. This should happen organically if one keeps supporting the product they are selling.
Ideally all game developers are professionals and believe in rewarding or reimbursing the work that helps them.
PreFy : Personal Recommendation Engine For YouTube
Tags: showdev, netlify, javascript, indexeddb
Published: 2021-01-29 05:31:55

Latest hobby project of jswalker called **Prefy**. A simple choice of own youtube video collection open for the people who might enjoy an unseen fun and elegant video list.

##Project-Link : [PreFY](https://jswalker.in/its/prefy)


###Video collection on fly
To make the system more lightweight, I chose Netlify CDN over firebase CLoudstore because of firebase's relatively smaller amount of Read-query and Every query counts the individual Record consumption instead of query hitting counter which is not suitable for me and in other hand  Netlfy offers 100GB monthly bandwidth.In the Case of Prefy production nature Netlify suitable for such kind of project where: fewer KBs are used and cached and make room for more new users.

###Role of IndexedDB
To handle more user with less consumption of bandwidth(Netlify Bandwidth) the frequent and latest video collection also store in indexedDB which result in no redundant request on refresh.

**[Bug Submit]**
   DM on [twitter](https://twitter.com/jswalker_in)
Another jab at Daily Stand-up meetings
Tags: agile, startup
Published: 2021-01-29 05:18:09

**SCRUM** or **Daily standup** meeting is one of the founding pillars of Agile software development.
This is the meeting where the team come together for ~15mins daily with one _agenda_.
1. What did I do yesterday?
2. What will I do today
3. Am I blocked? Who can help?

This is is a sacrosanct ritual and must not be seen as a toil. Hence it is extremely important that the meeting is short, to the point and effective.

Usually I see that the stand-up meetings are done by going through all those people present in the meeting one by one. This seems perfectly in-line with agenda of the stand-up meeting, **So what’s wrong, you ask?**

This method focuses on people but the premise of agile engineering is sprint backlog. Do we really need to care what a _person_ did or how much we progressed on a _backlog_?

So to get our focus more on the committed user stories I have been advocating this change. Reverse the way we do _stand-up meetings_, How? 
1. Organise your sprint on focus areas or what I like to call it as **tracks**, these can be high level epics. (This has to be done during the planning.)
2. In the _stand up_ meeting, open the kanban/ sprint board
3. Go through the update of stories in those tracks. People working under that track provide their update.

This change brings in the following _values_

1. It helps to define sprint goals, less tracks means less working sites
2. You get a sense of how many people are working on a given track.
 - More people on a track is a sign of good break down of tasks = more parallelism = lesser silos in the team
 - This helps mitigate the risk of unplanned absence in the team
3. It is easier to look at how far we are from completing the committed user stories
4. If a person provides the update in two or more tracks then this means he has to multitask and may be causing inefficiencies because of context switches

Let me know in the comments below what is your opinion
Which Cryptocurrency is Best?
Tags: wbtcprice, wbtccryptocurrency, whitebitcoin
Published: 2021-01-29 05:10:04

If one is planning to invest in cryptocurrencies in recent times they should go through this article. With over 5000 cryptocurrencies out there in the market, choosing which is the best cryptocurrency to invest in is no easy task to do. But here are the details regarding Cryptocurrency, one could ever need before investing.
 
To start one cannot even think about any other cryptocurrency other than Bitcoin. Bitcoin is the most widespread and famed cryptocurrency. This popularity of this digital currency is one of its biggest advantages and gives it an edge against other performers in the market.
 
**White Bitcoin (WBTC)  a variant of traditional bitcoins :**
 
**How does it work?**
 
[WBTC (White Bitcoins)] (https://www.whitebitcoin.io/) uses blockchain technology that is an advanced technology that uses blocks of info attached to one single thread. Every block can hold to 1MB space, and that means it can hold thousands of transactions in one block. As the blockchain is a public ledger anyone could be easily joined to new chains for transparent new transactions.
 
White Bitcoin- most effective and secured value storage technology.
 
To understand why it is secure and effective, view the below points:
 
● Independent - Nobody gets to know where one is storing their money and where one is
Spending it. Banking and government are not tangled in any of the transactions.
 
● Discreet –No one can trace any bitcoin-related transactions of sales or purchases.
Bitcoin transactions create an anonymous bitcoin address for every transaction. However, that does not imply that any of the transactions are not traceable. And what it implies is that these transactions are less apparent than any other payments.
 
 
● User-based P2P transactions are the key ingredient because cash can flow either way between two parties without interference from anyone.
 
● Banking fees – No banking fees like OD or minimum banking charges to be paid or any other facility charges to be paid to the bank.
 
● Easiest International payments – No need to wait for any approval from anyone and easy payments to international charges without any mediators.
 
● Safest online payments – If one uses bitcoin there is not any trouble one has to go through for saving their banking details. Any safe payments through Bitcoin is possible.
 
● Broad access – Bitcoin has taken over banking and credit cards and with Bitcoin, you can make all the transactions easily.
 
One can choose any cryptocurrency but at lower risks and better returns, White Bitcoins (WBTC)  is the best and safe.
Rocket Deployment 🚀
Tags: agile, devops, deployment
Published: 2021-01-27 13:59:09

*Warning! This is an opinion.*
This is the shortest article I’ve ever written. 

#Deploy early. Break things. Fix soon. Learn!
This isn’t new. Of course not. It is named agile. And we’re in the software industry doing it a lot. But unfortunately there is still a small barrier in mind of some old professionals who aren’t firm with the modern world, fast ci/cd pipelines and the comfort of live-issue-tracking like sentry is doing for us. All I like to say, I’ve already accompanied in a number of development teams and I felt very comfortable being early on production stage to grow together with the customers and stabilize features and functions. THAT DOES NOT MEAN that I think end customers are free testers and early adopters. OF COURSE NOT. Software should be well done, well tested, well documented and builded through a stable continuous integration pipeline. As devops says: build your application AND ship your application. We’re the designers of software and we know best how to run and fix it in critical situations. Rocket deployment means, for example, repair a feature, test it well and bring the fix as soon as possible back to your users. Never hold back finished code. It will be difficult to merge with every hour you’re behind the development branch!

**Go out soon.**
Substring/Slice of a String
Tags: java, javascript, python, csharp
Published: 2021-01-29 05:08:14

A Substring or Slice of a string, is a way to create a new string from an existing string. This technique usually is completed without allocation for the new string.

`"hello world"`

`"o wor"`

# C# and Java

These languages provide a string class which are considered immutable as they don't expose methods s to modify the string. 

The `Substring` (C#) and `substring`(Java) are used to create new strings from an existing one. 

```csharp
// C#
Console.WriteLine("hello world".Substring(4,5));
```
We supply the starting index of the original string, then specify the length of the new string. You can leave off the second number if you want it to go the end of the original.

```java
// Java
System.out.println("hello world".substring(4,9));
```
While similar in syntax, the second argument is the index of the where the string ends in the original.

# Python

```python
# Python
print("hello world"[4:9])
```
The [Python](https://www.google.com/amp/s/www.digitalocean.com/community/tutorials/how-to-index-and-slice-strings-in-python-3.amp) language includes a specific syntax, which resembles that used for indexing. Here the second number is an index specifier for where the slice ends within the original array.

Like C# the second number can be left out to include to the end of the original. 

```python
# Python
print("hello world"[4:])
```
# Javascript

```javascript
// Javascript
"Hello world!".slice(4, 9);
```
[Javascript](https://www.w3schools.com/jsref/jsref_slice_string.asp) takes its behavior from Python, utilizing an index rather than length for its second parameter.

# Unicode

Not a single one of these will protect you from splitting surrogates.

* [C#](https://stackoverflow.com/questions/31935240/utf-16-safe-substring-in-c-sharp-net)
* [Python](https://stackoverflow.com/questions/5695714/python-len-and-slices-on-unicode-strings)
* [Javascript](https://stackoverflow.com/questions/62341685/javascript-unicode-aware-string-slice)

It is possible for this method to work well for your use case, even if unicode is within the string.

Even my preferred language requires consideration of the unicode details. 

{% link https://dev.to/jessekphillips/string-contained-in-a-string-in-d-4po8 %}
Spring Boot Validation in Kotlin with @field
Tags: todayilearned, kotlin, spring
Published: 2021-01-29 05:05:32

Recently I found myself needing to validate fields in a Spring Boot controller written in Kotlin. Here's the code I ended up with:

```kotlin
@Controller
@RequestMapping("api/sample")
class SampleController {
    @PostMapping
    fun post (@Valid @RequestBody request: SampleType){
        return ResponseEntity.ok().build()
    }
}

data class SampleType(@field:NotBlank info: String)
```

The key is the `@field` in the data class. Without that, Kotlin will apply validation to the constructor parameters by default. This makes sense when you see it, but is less obvious when you're wading through your 10th Java based tutorial on Spring validation. 

Hope this helps!
January 29th, 2021: What did you learn this week?
Tags: weeklylearn, discuss, weeklyretro
Published: 2021-01-29 05:00:11

It's that time of the week again. So wonderful devs, what did you learn this week? It could be programming tips, career advice etc.

<center>

![Information flowing through your brain](https://media.giphy.com/media/qKltgF7Aw515K/giphy.gif)
</center>

Feel free to comment with what you learnt and/or reference your TIL post to give it some more exposure.

{%tag todayilearned %}

And remember, if something you learnt was a big win for you, then you know where to drop it as well.👇👇🏻👇🏼👇🏽👇🏾👇🏿

{% link https://dev.to/devteam/what-was-your-win-this-week-145j %}

<center>

![Price is Right contestant celebrating](https://media.giphy.com/media/gF29UEqBhSoDY8LHKg/giphy.gif)
</center>
Is this exact encryption possible with any react library?
Tags: react
Published: 2021-01-29 04:26:29

$cnum =trim($_POST['cnum']);
  $ciphering = "AES-128-CTR"; 
  $iv_length = openssl_cipher_iv_length($ciphering); 
  $options = 0; 
  $encryption_iv = '1234467892211121';
  $encryption_key = "SECRET"; 
  $en = openssl_encrypt($cnum, $ciphering, $encryption_key, $options, $encryption_iv);
can i do same encryption with javascript
Can I achieve this encryption with javascript ..? 
Tags: javascript
Published: 2021-01-29 04:23:04

$cnum =trim($_POST['cnum']);
  $ciphering = "AES-128-CTR"; 
  $iv_length = openssl_cipher_iv_length($ciphering); 
  $options = 0; 
  $encryption_iv = '1234467892211121';
  $encryption_key = "SECRET"; 
  $en = openssl_encrypt($cnum, $ciphering, $encryption_key, $options, $encryption_iv);
can i do same encryption with javascript
can i replicate this encryption with javascript... ?
Published: 2021-01-29 04:21:45

$cnum =trim($_POST['cnum']);
  $ciphering = "AES-128-CTR"; 
  $iv_length = openssl_cipher_iv_length($ciphering); 
  $options = 0; 
  $encryption_iv = '1234467892211121';
  $encryption_key = "SECRET"; 
  $en = openssl_encrypt($cnum, $ciphering, $encryption_key, $options, $encryption_iv);
can i do same encryption with javascript
Endless Running Games: Temple Run 2 - Fall Jungle Update!
Published: 2021-01-29 04:15:24

Run or Die! So hurry!! 
Continue the endless-running journey with Professor Jones in [temple run 2](https://templerunner2.com). 
The temple was at one time on the ground; an ancient civilization built the temple but they were killed by a disease. 
The leader of the civilization was spared by a remedy, but because he didn't die, the potion turned him into the large demon monkey that chases you from the temple. 
As time passed, the temple remained unfound until the gems that were placed all over the huge temple were suddenly charged by an unknown source of power. 
Your mission this time is to escape from the demonic forest along with the spoils is "the cursed god statue" - which you stole from a mysterious temple. 
Remember, the Devils are still hunting for you! 

How to play https://templerunner2.com
Use arrow keys to control in this game.
Tips and Tricks: You can turn the sound on/off on the game screen and play this game in fullscreen mode.
I started to study HTML, its too easy. right?
Tags: html, css, javascript, beginners
Published: 2021-01-29 03:46:27

I have 5yrs of experiences of 2D graphic design tools, and my major is industrial design.

Thought need to add some more skills to increase my annual income, so I started to learn HTML, CSS, Javascript from this week. 

First of all, I started to learn HTML, Its very easy to learn, even I think don't need to practice. Of course, once I start CSS and JS it would be getting difficult and need to spend a lot of time to get used to.

Anything, please give me some advice, kind of like 'You didn't start at all' or 'HTML is just nothing'

Thanks in advance.

Jamie from Sydney and Seoul.