teleren/devto huggingface dataset:
Detecting fraudulent website traffic using IP geolocation and proxy database
Tags: datascience, machinelearning, python
Published: 2021-07-21 20:09:57

When our website or web application suddenly receives visits from locations outside the average customer base, or registered users provide data that has a pattern, it may mean that we have been targeted by fraudulent traffic. Detecting this kind of activities is important for many reasons. In the online advertising industry, fraudulent traffic causes additional costs for every market participants. Publishers have to pay for infrastructure used to service. Advertisers pay for traffic that has no value. Other examples are payments processors, all sorts of contests, betting and online casinos.

Because of this, there is a need for sophisticated fraud detection systems. Detecting and preventing traffic fraud to maximize profits and minimizing operational costs is very challenging for publishers.

In this article, I show you how to detect suspicious visits to your website. We will check if IP geolocation and other IP-related characteristics could differentiate good and bad traffic. In the end, we will build rules that help automate the process of fraud detection.

Read More:
https://medium.datadriveninvestor.com/detecting-fraudulent-website-traffic-using-ip-geolocation-and-proxy-database-d79fd8a719d5
How to create automatic data report in multiple languages
Tags: python
Published: 2021-07-21 20:08:54

Once in a while as a data scientist, your job may be to produce a report that you could email to stakeholders or share through the intranet. Word documents may seem a bit old school, but there are still cases when using them is the shortest route to this goal. Whenever automation is discussed, Python is a tool of choice. Creating an automated report using it is a rather standard skill for a data scientist.

But everything’s all fun and games until other languages show up.

In theory, preparing another language version does not seem complicated. After all, it is enough to translate individual labels and descriptions into another language and then hardcode them in the next version of the script. In practice, this simple approach is time-consuming and error-prone, especially when there is a constant need to modify some messages. Not to mention the difficulty of working with non-technical translators using this method.

This article shows how to save time by translating the Python-generated data report by using Gettext and Localazy. I’ll show you how to extract messages from the source code (Gettext), store them in separate files and how to make them available in a collaborative translation tool (Localazy). Also, you will learn how to deal with difficulties in translating f-strings.

Read More:
https://netlabe.com/how-to-create-automatic-data-report-in-multiple-languages-2a53b6417d42
How to Forecast Website Traffic
Tags: datascience, machinelearning, python
Published: 2021-07-21 20:06:49

Data on social phenomena can fluctuate significantly, especially in the internet age. New trends, memes and socio-political movements come and go. This is reflected in internet traffic. Websites number of visits shows impulsive changes that overlap with long-term trends and seasonal patterns.

In this article, I show you how to forecast time series that is quite unpredictable by its nature. You will learn how to use weather data to predict human activity, specifically online. I will show you how to improve your predictions using the domain knowledge of the target variable. We will briefly discuss feature engineering and the evaluation of models. Finally, we develop a web app that trains and tests several predictive models and evaluates them.

Read More:
https://netlabe.com/how-to-forecast-website-traffic-e8bc5f0c34c8
How I Built Ad Fraud Detection Dashboard
Tags: datascience, python, streamlit
Published: 2021-07-21 20:05:30

Online advertising is still a way to monetise millions of websites. So it is not surprising that with the growth of online advertising, there is a stronger temptation to defraud advertisers’ money by fake traffic. Click farms can generate massive amounts of worthless traffic and ad impressions, by automatically clicking on websites and apps in large numbers.

The technology needed to create a farm of clicking bots is cheap and available. In one of the simplest models, simply use a cloud computing service such as AWS or GCP, which give you access to a multitude of IP addresses and servers.

Ad networks are trying to combat this problem and penalize dishonest website owners. Knowing this, competitors or pranksters can redirect fake traffic to the victim’s website, causing penalties from the ad network, the threat of lost revenue and additional costs.

In this article, I will show you how to build a fake traffic alert system for ad fraud detection. We will create an engine that, based on server logs and a database of IP addresses, will assess the quality of the traffic that the campaign delivers. Finally, we will verify the performance of our system by commissioning a real campaign and assessing whether the traffic from it was legitimate.

Read More:
https://blog.devgenius.io/how-i-built-ad-fraud-detection-dashboard-db098a5c9867
Weather Triggered Content: How to customize user’s experience
Tags: javascript, advertising, adtech
Published: 2021-07-21 20:03:27

There is no doubt that weather conditions affect consumer behaviour. The changing weather can initiate a switch in the clothes we buy, the design of our homes and the music we listen to. This has been noticed by marketers, resulting in the emergence of weather marketing. Using weather data, you can control when and where your ads are shown.

For example, if you want to advertise the amusement park, you better take into account the weather forecast, because consumers often consider it when they are planning such activities. By combining the capabilities of today’s advertising platforms and real-time weather APIs, a message can be embedded that is relevant to your audience’s local weather.

In this article, I’ll show you how to build a system that displays messages (such as banner ads or proposed articles) based on the local weather. We will use Python (Flask) and the Weather API.

Read More:
https://levelup.gitconnected.com/weather-triggered-content-how-to-customize-users-experience-98c868ca0e21
How to build a multi-language dashboard with Streamlit
Tags: python, streamlit, datascience
Published: 2021-07-21 20:01:42

I’ve created a Streamlit app for my recent article about keyword monitoring. It is used to search keywords in Google and is quite useful. As search results and SEO topics, in general, are location-dependent, I thought it would be useful to translate the app interface into several languages.

In theory, making another language version does not seem difficult. After all, it is enough to translate individual labels and descriptions into another language and by using a dictionary to map these.

In practice, this simple approach is time-consuming and error-prone. It is definitely better not to reinvent the wheel and to use established solutions. One of them is Gettext — a universal set of tools for producing multi-lingual messages.

From this article, you’ll learn how to translate Streamlit application by using Gettext and Localazy.

Read More:
https://blog.devgenius.io/how-to-build-a-multi-language-dashboard-with-streamlit-9bc087dd4243
Privacy Sandbox: Everything You Need to Know
Tags: privacy, chrome, google
Published: 2021-07-21 19:59:57

As Google Chrome strives to kill third-party cookies, it pitched a new alternative known as The Privacy Sandbox. This initiative promises to tackle improper tracking as Google continues to allow targeted ads within its Chrome browser. The term “sandbox” itself shows a protected environment where the fundamental principle behind the Privacy Sandbox is that users’ personal information needs to be protected and not shared in ways that make them identifiable across different sites.

However, the Privacy Sandbox is challenging to understand, especially if you are in the advertising industry concerned about effectively targeting users if you cannot identify them. Google is known for making groundbreaking announcements with a mix of both confusion and excitement. Therefore, here is all you need to know about Google’s Privacy Sandbox and how it works.

Read More:
https://netlabe.com/privacy-sandbox-everything-you-need-to-know-b83394967d57
Real-time context targeting using NLP
Tags: nlp, datascience, machinelearning
Published: 2021-07-21 19:58:24

# Don’t track the user, track interests
In today’s online advertising reality, effective marketing tactics rely on a variety of user tracking techniques, such as third-party cookies (and alternative storages) and device fingerprinting. But in a world of data leaks, GDPR, CCPA and increased data protection legislation inspired by those, this approach becomes obsolete. Safari and Firefox already built-in solutions to reduce cross-site tracking. Chrome also works on alternatives. So, the end of third-party cookies is soon. Apple’s Identifier for Advertisers (IDFA) soon will be accessible only for apps with explicit consent from the user. The disappearance of the possibility of cross-domain tracking makes advertisers return to contextual advertising.

In this article, I show you how to implement context targeting based on the Text Classification API provided by NLP Cloud. The approach described here can be easily adapted to any advertising technologies (such as ad servers, OpenRTB etc.).

Read More:
https://netlabe.com/real-time-context-targeting-using-nlp-baceb4324fc4
How to add text summarizer to Google Docs using Text Summarization API
Tags: nlp, datascience, machinelearning
Published: 2021-07-21 19:56:48

Whether you’re a writer, data scientist or just skimming through sources to get a job done, reading longer texts to pluck out crumbs of information can be quite exhausting. Automating such elements of your work allows you to focus on the creative side of things.

# Text summarization
Text summarization is the technique of extracting key informational elements of a voluminous text. Manual text summarization is a difficult and time-expensive task, so NLP and machine learning algorithms became popular to automate it.

There are ready-made solutions on the market, whether in the form of libraries or ready-made tools for end-users.

In this article, we will prepare our own tailored solution, which at the same time does not require advanced knowledge of data science.

Read More:
https://levelup.gitconnected.com/how-to-add-text-summarizer-to-google-docs-using-text-summarization-api-22a81e780f06
How to make a multi-language application in C
Tags: c, cpp, gtk
Published: 2021-07-21 19:55:21

Typically, when you start developing a new app, its interface is in a specific language, perhaps English, if you want to reach an international audience. By translating your app into other human languages, you can increase the number of people who can install, use, and recommend it.

A few weeks ago, I started learning the C programming language. It is rather challenging to switch the C’s way of thinking about software engineering. While learning how to work on strings, I wondered how to solve the topic of multilingual applications.

In this article, I will show you how to use `Gettext` functions to translate a terminal application and a GUI (made using GTK). I will show you how to test this solution using environment variables. And finally, I will show you how to manage multiple translations and even how to help yourself with machine translations using Localazy.

Read More:
https://levelup.gitconnected.com/how-to-make-a-multi-language-localized-application-in-c-8862e1d1f64f
How To Build Email Marketing Automation Tool using SeaTable
Tags: database, marketing, seatable
Published: 2021-07-21 19:53:24

Email is an important channel for communicating with your audience. There are plenty of email marketing platforms on the market. Most platforms offer some free tier (usually 2000 recipients per month), but the majority adds their logos to every email you send.

Costs with an increasing number of users can rise considerably. How about creating your own email marketing tool? This would be not only cheaper but also tailored to your needs.

In this article, I’ll show you how to create an automatic newsletter sign-up system using SeaTable and simple scripts in Python.

Read More:
https://medium.datadriveninvestor.com/how-to-build-email-marketing-automation-tool-using-seatable-50347b95d344
Flatiron School Final Project: My Portfolio Website
Published: 2021-07-21 19:43:59

For my final project at Flatiron School I choose to create my very own portfolio website to add to my resume as I enter the Software Engineering job market. As I reflect over the journey I have had at Flatiron, I am excited to showcase the languages and frameworks that this experience has brought me:

```
Language/Frameworks I learned
* Ruby / Rails
* Sinatra
* SQLite
* HTML
* CSS
* JavaScript
* React.js
* Readux.js 
```

The requirements for this final project is to use a Rails API backend and a React & Redux frontend. I started my project by establishing goals, creating my user stories, and organizing my models. I like to create tables in GoogleDoc so that I can refer back to my steps without using space on my computer. 

![Project Prep](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/03jlbb5tmfqvqglxs71b.png)

##Rails Setup 


In the same GoogleDoc I like to organize some code before I launch my VS code. I am very analytical and huge notetaker, so this helps me gather my thoughts and prevents errors in the set up process. 

![Project Start](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/6n6owcaplkzq33ybq583.png)

##Frontend Setup 


In prepping for my project, the instructor led videos we have access to in Flatiron Learn Instruct has help me with some things that may not have stuck with me. I like to jot down some notes in the set-up stage so that in the event I have to start over, I already have a foundation. 

![Frontend Setup](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/vikdf2tusgsrh0nybwx3.png)


## Using React & Redux 

After taking a few notes and establishing my backend I was able to jump right into React by using create-react-app. I found it interesting that React was created by Facebook developers and some of the features include:
* A virtual DOM
* Declarative writing
* Babel
* Webpack
* Built in ESLint functionality 
* the create-react-app mentioned above
Tailwind CSS Badge Examples
Tags: tailwindcss, webdev, tutorial
Published: 2021-07-21 19:38:30

In this section we will see few tailwind CSS badge examples. badge is use show status, message,notification, inbox etc .

####Tailwind CSS Badge Examples


👉 [View Demo](https://larainfo.com/blogs/tailwind-css-badge-examples)

Setup Project
Using CDN

```html
<link href="https://unpkg.com/tailwindcss@^2/dist/tailwind.min.css" rel="stylesheet">
```
or 

[The Easiest way to install Tailwind CSS with Tailwind CLI](https://larainfo.com/blogs/the-easiest-way-to-install-tailwind-css-with-tailwind-cli)

[How to Install Tailwind CSS with NPM](https://larainfo.com/blogs/how-to-install-tailwind-css-with-npm)

####Simple Badge
```html
<span class="text-xs px-2 py-0.5 font-bold bg-gray-100 text-gray-600 rounded">
    Default
</span>
<span class="px-2 py-0.5 text-xs font-bold bg-red-500 text-white rounded">
    Danger
</span>


<span class="px-2 py-0.5 text-xs font-bold bg-yellow-300 text-black rounded">
    Warning
</span>
<span class="text-xs px-2 py-0.5 rounded font-bold bg-green-500 text-white ">
    Success
</span>


<span class="text-xs px-2 font-bold bg-blue-500 text-white rounded py-0.5">
    info
</span>
```
![Alt Text](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/xrtd9bnyk35knarmxu7c.png)

####Button with Badge
```html
<button type="button" class="px-4 py-2 mr-2 text-white bg-blue-500 rounded">Button <span
        class="px-2 py-1 text-sm text-black bg-white rounded-full">9</span></button>
```
![Alt Text](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/bv4rsjajp9qnre7qoxvt.png)

####Icon with Badge
```html
<span class="relative inline-block">
    <svg xmlns="http://www.w3.org/2000/svg" class="w-16 h-16 text-gray-200" fill="none" viewBox="0 0 24 24"
        stroke="currentColor">
        <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2"
            d="M20 13V6a2 2 0 00-2-2H6a2 2 0 00-2 2v7m16 0v5a2 2 0 01-2 2H6a2 2 0 01-2-2v-5m16 0h-2.586a1 1 0 00-.707.293l-2.414 2.414a1 1 0 01-.707.293h-3.172a1 1 0 01-.707-.293l-2.414-2.414A1 1 0 006.586 13H4" />
    </svg>
    <span
        class="absolute top-0 right-0 px-2 py-1 text-xs font-bold leading-none text-red-100 transform bg-red-600 rounded-full">9</span>
</span>
```
![Alt Text](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/t9j3ewnzt0vilkwru4q1.png)

👉 [For more tailwind css](https://larainfo.com/tailwind-css)
Making powershell pretty
Tags: powershell, windows, tools
Published: 2021-08-03 16:01:05

---
title: Making powershell pretty
published: true
date: 2021-07-21 19:17:34 UTC
tags: powershell,windows,tools
canonical_url: https://www.jonathancreamer.com/making-powershell-pretty/
---

For the first time in a long time, Windows has re-entered my life now that I work at Microsoft.

In macOS land, I use iTerm and oh-my-zsh to make a pretty shell environment with all the colors and such, so when I got to Windows again and lanched into the blue Powershell Window, I figured there had to be something better...

This is what Powershell looks like now!

![](https://www.jonathancreamer.com/content/images/2021/07/image.png)

### Windows Terminal

The first thing to make sure you have installed is the [Windows Terminal](https://www.microsoft.com/en-us/p/windows-terminal/9n0dx20hk701?activetab=pivot:overviewtab).

That is a fantastic product, and even has built in support for WSL, CMD, Azure, and launching into Ubuntu or whatever your Linux Environment is...

![](https://www.jonathancreamer.com/content/images/2021/07/image-1.png)

Another #protip is you can hold Ctrl + Shift when launching Windows Terminal and it'll open as an Administrator.

Windows Terminal is super easy to configure as well, and there are themes for it as well at [>\_TerminalSplash - Windows Terminal Themes](https://terminalsplash.com/) or [Windows Terminal Themes](https://windowsterminalthemes.dev/). You simply copy the JSON from those sites, and open the Windows Terminal Settings and Click "Open JSON File"...

![](https://www.jonathancreamer.com/content/images/2021/07/image-2.png)

### Oh My Posh

The tool that adds the bar at the bottom of the Powershell window is called [Oh My Posh](https://ohmyposh.dev/) of course inspired by [oh-my-zsh](https://ohmyz.sh/) for mac / linux.

To install, simply run...

```
Install-Module oh-my-posh -Scope CurrentUser
```

Then you can list all the themes with...

```
Get-PoshThemes
```

Once you find one you like, you can edit your `$PROFILE` in your editor of choice, e.g. `notepad $PROFILE`, `code -a $PROFILE`.

And you can set your theme up with...

```
Set-PoshPrompt -Theme jandedobbeleer
```

The last thing you'll more than likely also have to do is download the right fonts that supports "Powerline" fonts, the Oh My Posh [docs](https://ohmyposh.dev/docs/fonts)talk about that. More than likely, you'll choose a font from [Nerd Fonts](https://www.nerdfonts.com/), and update your Windows Terminal settings to point to the new font.

```
"profiles": 
    {
        "defaults": 
        {
            "fontFace": "MesloLGL Nerd Font"
        }
     }
```

It'll even show you what version of node you're in as well as many other what they call "Segments"...

![](https://www.jonathancreamer.com/content/images/2021/07/image-3.png)

There ya go! You'll be the envy of all your Windows code demos in meetings going forward.
What are your burning questions about all things AWS? Answer to be featured on our podcast 🎧
Tags: podcast, discuss, aws
Published: 2021-07-21 19:15:19

---
title: What are your burning questions about all things AWS? Answer to be featured on our podcast 🎧  
published: true
description: 
tags: podcast, discuss, AWS
---

The [DevDiscuss Podcast](dev.to/devdiscuss) begins with an interview and ends with commentary from listeners — and we like to feature the _actual_ voices from our community!

To inform an upcoming episode of the show, we'd like to know...

> ### **What are your burning questions about Amazon Web Services (AWS)?**

For your chance to hear your actual comments on an upcoming episode, answer the question above by:

- Calling our Google Voice at +1 (929)500-1513 and leave a message 📞

- Sending a voice memo to pod@dev.to 🎙

- OR, leaving a comment here (we'll read your response aloud for you) 🗣

Please send in your recordings by Thursday, July 22nd at 1 PM, ET (5 PM UTC, 10 AM PT)

#### Voice recordings will be given priority placement 😉

Catch up on recent episodes of the show [here](https://dev.to/devdiscuss). The new season premieres soon 👀
Best CSS Libraries you should use in 2021
Tags: webdev, design, css, beginners
Published: 2021-07-21 18:57:23

There are a number of libraries out there that wish to assist you with animating things on the web. These aren't actually libraries that aid you with animation syntax or technology; rather, they're grab-and-go libraries. Do you want to add a class like "animate-flip-up" to an element and watch it, uh, flip up? These are the types of libraries you keep an eye out for.

Let's take a peek at their environment. Some libraries take different approaches, such as taking only the classes you need, using Sass mixins, using light JavaScript libraries to add/remove classes, and so on. But they're all essentially "CSS animation libraries." (It's kind of amusing that some of them have "CSS3" in the title, which makes them seem a little out of date.)

#Motion UI

A Sass library for creating flexible CSS transitions and animations.

#Animate.css

One of the big original classic CSS animation libraries from Dan Eden.

#tachyons-animate

Tachyons itself is an atomic CSS library with a ton of utility classes for essentially designing anything by adding classes to what you need. tachyons-animate extends those by adding “Single purpose classes to help you orchestrate CSS animations.”

#Vivify

Vivify is sort of like Animate.css in the sense that it contains a lot of the same types of animations

#Animista

You pick an animation you like and it gives you a class name you can use that calls a keyframe animation (you copy and paste both). The point is you just take what you need.


#Infinite

These animations, like rotations and pulses, that are specifically designed to run and repeat forevers.

####comment below your favourite CSS Library.