VPN Usage is Surging for Entertainment, Not Privacy Concerns

Can providers handle the new influx of pandemic usage?

Atlas VPN, a personal and business VPN provider, recently published data usage statistics for their service. This rare release of internal information has allowed an inside look at how people are reacting to the COVID-19 pandemic.

VPN, or__Virtual Private Network, connects the user’s device to a third party server in a seperate location- the device, in turn, connects to the internet or specific network from that server. This can have a range of benefits, including a hidden IP, change in apparent access location, and increased security from hackers. The most popular consumer brands include NordVPN, Express VPN, CyberGhost, and Norton Secure VPN.

Atlas found that VPN usage in Italy had surged by 112% in one week, and 53% in the United States. This pattern holds true in all countries significantly affected by the virus — a usage increase of 36% in Russia, 38% in Iran, 29% in Germany, and 21% in France. Atlas projects that United States usage could increase by a staggering 150% in the coming weeks.

Image for post

With an increasing number of companies asking employees to work from home, demand for VPN services is skyrocketing. Larger companies have business VPNs that allow employees to connect to the secure company network from anywhere with an internet connection. Small businesses are asking their workers to utilize the benefits of a personal VPN when working from home in order to promote data security at home.

#technology #entertainment #cybersecurity #pandemic #security

What is GEEK

Buddha Community

VPN Usage is Surging for Entertainment, Not Privacy Concerns
Leonard  Paucek

Leonard Paucek

1656280800

Jump to Local IDE Code Directly From Browser React Component

React Dev Inspector

Jump to local IDE code directly from browser React component by just a simple click

This package allows users to jump to local IDE code directly from browser React component by just a simple click, which is similar to Chrome inspector but more advanced.

View Demo View Github

Preview

press hotkey (ctrl⌃ + shift⇧ + commmand⌘ + c), then click the HTML element you wish to inspect.

screen record gif (8M size):

Jump to local IDE code directly from browser React component by just a simple click

Installation

npm i -D react-dev-inspector

Usage

Users need to add React component and apply webpack config before connecting your React project with 'react-dev-inspector'.

Note: You should NOT use this package, and React component, webpack config in production mode


 

1. Add Inspector React Component

import React from 'react'
import { Inspector, InspectParams } from 'react-dev-inspector'

const InspectorWrapper = process.env.NODE_ENV === 'development'
  ? Inspector
  : React.Fragment

export const Layout = () => {
  // ...

  return (
     {}}
      onClickElement={(params: InspectParams) => {}}
    >
     
       ...
     
    
  )
}


 

2. Set up Inspector Config

You should add:

  • an inspector babel plugin, to inject source code location info
    • react-dev-inspector/plugins/babel
  • an server api middleware, to open local IDE
    • import { launchEditorMiddleware } from 'react-dev-inspector/plugins/webpack'

to your current project development config.

Such as add babel plugin into your .babelrc or webpack babel-loader config,
add api middleware into your webpack-dev-server config or other server setup.


 

There are some example ways to set up, please pick the one fit your project best.

In common cases, if you're using webpack, you can see #raw-webpack-config,

If your project happen to use vite / nextjs / create-react-app and so on, you can also try out our integrated plugins / examples with

raw webpack config

Example:

// .babelrc.js
module.exports = {
  plugins: [
    /**
     * react-dev-inspector plugin, options docs see:
     * https://github.com/zthxxx/react-dev-inspector#inspector-babel-plugin-options
     */
    'react-dev-inspector/plugins/babel',
  ],
}
// webpack.config.ts
import type { Configuration } from 'webpack'
import { launchEditorMiddleware } from 'react-dev-inspector/plugins/webpack'

const config: Configuration = {
  /**
   * [server side] webpack dev server side middleware for launch IDE app
   */
  devServer: {
    before: (app) => {
      app.use(launchEditorMiddleware)
    },
  },
}


 

usage with Vite2

example project see: https://github.com/zthxxx/react-dev-inspector/tree/master/examples/vite2

example vite.config.ts:

import { defineConfig } from 'vite'
import { inspectorServer } from 'react-dev-inspector/plugins/vite'

export default defineConfig({
  plugins: [
    inspectorServer(),
  ],
})


 

usage with Next.js

use Next.js Custom Server + Customizing Babel Config

example project see: https://github.com/zthxxx/react-dev-inspector/tree/master/examples/nextjs

in server.js, example:

...

const {
  queryParserMiddleware,
  launchEditorMiddleware,
} = require('react-dev-inspector/plugins/webpack')

app.prepare().then(() => {
  createServer((req, res) => {
    /**
     * middlewares, from top to bottom
     */
    const middlewares = [
      /**
       * react-dev-inspector configuration two middlewares for nextjs
       */
      queryParserMiddleware,
      launchEditorMiddleware,

      /** Next.js default app handle */
        (req, res) => handle(req, res),
    ]

    const middlewarePipeline = middlewares.reduceRight(
      (next, middleware) => (
        () => { middleware(req, res, next) }
      ),
      () => {},
    )

    middlewarePipeline()

  }).listen(PORT, (err) => {
    if (err) throw err
    console.debug(`> Ready on http://localhost:${PORT}`)
  })
})

in package.json, example:

  "scripts": {
-    "dev": "next dev",
+    "dev": "node server.js",
    "build": "next build"
  }

in .babelrc.js, example:

module.exports = {
  plugins: [
    /**
     * react-dev-inspector plugin, options docs see:
     * https://github.com/zthxxx/react-dev-inspector#inspector-babel-plugin-options
     */
    'react-dev-inspector/plugins/babel',
  ],
}


 

usage with create-react-app

cra + react-app-rewired + customize-cra example config-overrides.js:

example project see: https://github.com/zthxxx/react-dev-inspector/tree/master/examples/cra

const { ReactInspectorPlugin } = require('react-dev-inspector/plugins/webpack')
const {
  addBabelPlugin,
  addWebpackPlugin,
} = require('customize-cra')

module.exports = override(
  addBabelPlugin([
    'react-dev-inspector/plugins/babel',
    // plugin options docs see:
    // https://github.com/zthxxx/react-dev-inspector#inspector-babel-plugin-options
    {
      excludes: [
        /xxxx-want-to-ignore/,
      ],
    },
  ]),
  addWebpackPlugin(
    new ReactInspectorPlugin(),
  ),
)


 

usage with Umi3

example project see: https://github.com/zthxxx/react-dev-inspector/tree/master/examples/umi3

Example .umirc.dev.ts:

// https://umijs.org/config/
import { defineConfig } from 'umi'

export default defineConfig({
  plugins: [
    'react-dev-inspector/plugins/umi/react-inspector',
  ],
  inspectorConfig: {
    // babel plugin options docs see:
    // https://github.com/zthxxx/react-dev-inspector#inspector-babel-plugin-options
    excludes: [],
  },
})


 

usage with Umi2

Example .umirc.dev.js:

import { launchEditorMiddleware } from 'react-dev-inspector/plugins/webpack'

export default {
  // ...
  extraBabelPlugins: [
    // plugin options docs see:
    // https://github.com/zthxxx/react-dev-inspector#inspector-babel-plugin-options
    'react-dev-inspector/plugins/babel',
  ],

  /**
   * And you need to set `false` to `dll` in `umi-plugin-react`,
   * becase these is a umi2 bug that `dll` cannot work with `devServer.before`
   *
   * https://github.com/umijs/umi/issues/2599
   * https://github.com/umijs/umi/issues/2161
   */
  chainWebpack(config, { webpack }) {
    const originBefore = config.toConfig().devServer

    config.devServer.before((app, server, compiler) => {
      
      app.use(launchEditorMiddleware)
      
      originBefore?.before?.(app, server, compiler)
    })

    return config  
  },
}

usage with Ice.js

Example build.json:

// https://ice.work/docs/guide/basic/build
{
  "plugins": [
    "react-dev-inspector/plugins/ice",
  ]
}


 

Examples Project Code


 

Configuration

Component Props

checkout TS definition under react-dev-inspector/es/Inspector.d.ts.

PropertyDescriptionTypeDefault
keysinspector hotkeys

supported keys see: https://github.com/jaywcjlove/hotkeys#supported-keys
string[]['control', 'shift', 'command', 'c']
disableLaunchEditordisable editor launching

(launch by default in dev Mode, but not in production mode)
booleanfalse
onHoverElementtriggered when mouse hover in inspector mode(params: InspectParams) => void-
onClickElementtriggered when mouse hover in inspector mode(params: InspectParams) => void-
// import type { InspectParams } from 'react-dev-inspector'

interface InspectParams {
  /** hover / click event target dom element */
  element: HTMLElement,
  /** nearest named react component fiber for dom element */
  fiber?: React.Fiber,
  /** source file line / column / path info for react component */
  codeInfo?: {
    lineNumber: string,
    columnNumber: string,
    /**
    * code source file relative path to dev-server cwd(current working directory)
    * need use with `react-dev-inspector/plugins/babel`
    */
    relativePath?: string,
    /**
    * code source file absolute path
    * just need use with `@babel/plugin-transform-react-jsx-source` which auto set by most framework
    */
    absolutePath?: string,
  },
  /** react component name for dom element */
  name?: string,
}


 

Inspector Babel Plugin Options

interface InspectorPluginOptions {
  /** override process.cwd() */
  cwd?: string,
  /** patterns to exclude matched files */
  excludes?: (string | RegExp)[],
}


 

Inspector Loader Props

// import type { ParserPlugin, ParserOptions } from '@babel/parser'
// import type { InspectorConfig } from 'react-dev-inspector/plugins/webpack'

interface InspectorConfig {
  /** patterns to exclude matched files */
  excludes?: (string | RegExp)[],
  /**
   * add extra plugins for babel parser
   * default is ['typescript', 'jsx', 'decorators-legacy', 'classProperties']
   */
  babelPlugins?: ParserPlugin[],
  /** extra babel parser options */
  babelOptions?: ParserOptions,
}


 

IDE / Editor config

This package uses react-dev-utils to launch your local IDE application, but, which one will be open?

In fact, it uses an environment variable named REACT_EDITOR to specify an IDE application, but if you do not set this variable, it will try to open a common IDE that you have open or installed once it is certified.

For example, if you want it always open VSCode when inspection clicked, set export REACT_EDITOR=code in your shell.


 

VSCode

install VSCode command line tools, see the official docs
install-vscode-cli

set env to shell, like .bashrc or .zshrc

export REACT_EDITOR=code


 

WebStorm

  • just set env with an absolute path to shell, like .bashrc or .zshrc (only MacOS)
export REACT_EDITOR='/Applications/WebStorm.app/Contents/MacOS/webstorm'

OR

install WebStorm command line tools
Jump to local IDE code directly from browser React component by just a simple click

then set env to shell, like .bashrc or .zshrc

export REACT_EDITOR=webstorm


 

Vim

Yes! you can also use vim if you want, just set env to shell

export REACT_EDITOR=vim


 

How It Works

Stage 1 - Compile Time

  • [babel plugin] inject source file path/line/column to JSX data attributes props

Stage 2 - Web React Runtime

[React component] Inspector Component in react, for listen hotkeys, and request api to dev-server for open IDE.

Specific, when you click a component DOM, the Inspector will try to obtain its source file info (path/line/column), then request launch-editor api (in stage 3) with absolute file path.

Stage 3 - Dev-server Side

[middleware] setup launchEditorMiddleware in webpack dev-server (or other dev-server), to open file in IDE according to the request params.

Only need in development mode,and you want to open IDE when click a component element.

Not need in prod mode, or you just want inspect dom without open IDE (set disableLaunchEditor={true} to Inspector component props)

Analysis of Theory


Author: zthxxx
Source code: https://github.com/zthxxx/react-dev-inspector
License: MIT license

#react-native #react 

VPN Usage is Surging for Entertainment, Not Privacy Concerns

Can providers handle the new influx of pandemic usage?

Atlas VPN, a personal and business VPN provider, recently published data usage statistics for their service. This rare release of internal information has allowed an inside look at how people are reacting to the COVID-19 pandemic.

VPN, or__Virtual Private Network, connects the user’s device to a third party server in a seperate location- the device, in turn, connects to the internet or specific network from that server. This can have a range of benefits, including a hidden IP, change in apparent access location, and increased security from hackers. The most popular consumer brands include NordVPN, Express VPN, CyberGhost, and Norton Secure VPN.

Atlas found that VPN usage in Italy had surged by 112% in one week, and 53% in the United States. This pattern holds true in all countries significantly affected by the virus — a usage increase of 36% in Russia, 38% in Iran, 29% in Germany, and 21% in France. Atlas projects that United States usage could increase by a staggering 150% in the coming weeks.

Image for post

With an increasing number of companies asking employees to work from home, demand for VPN services is skyrocketing. Larger companies have business VPNs that allow employees to connect to the secure company network from anywhere with an internet connection. Small businesses are asking their workers to utilize the benefits of a personal VPN when working from home in order to promote data security at home.

#technology #entertainment #cybersecurity #pandemic #security

Top Entertainment App Development Company in USA

Looking for the Top Entertainment App Development Company in USA? AppClues Infotech has a passionate team of skilled professionals that designs and develop custom entertainment mobile and web app. We are developing an entertainment mobile app using the most advanced technologies like Swift, Kotlin, Java, Flutter, Xamarin, Ionic & React Native for the Android & iOS platforms.

Our Entertainment App Development Services:

• On-Demand Entertainment App Development
• Social Media App Development
• Video Streaming App Development
• Music Streaming App Development
• Gaming & Fantasy Sports App Development

For more info:
Website: https://www.appcluesinfotech.com/
Email: info@appcluesinfotech.com
Call: +1-978-309-9910

#entertainment app development #hire entertainment app developers #top entertainment app development company in usa #how to create an entertainment app #make an entertainment app #best entertainment app development services

Top Entertainment App Development Companies - Topdevelopers.co

Are you looking for Top Mobile Entertainment App Development Companies? Well, you have found your muse then. After researching through an endless list of online Entertainment App Developers, our team has identified the most efficient App Development Companies in the entertainment industry. Smartphones are fast replacing the traditional modes of entertainment like TV and Radio. Entertainment companies know that in order for the show to go on, they must adapt and go where their customers are, in this case it’s the smartphone screens. That’s the reason why the entertainment industry is searching for the best Music & Entertainment Application Development Companies today. As high-speed mobile internet reached every nook and corner of the world, music streaming apps and video streaming apps have gained prominence. And thus with the success of various music and video streaming apps, many companies in the music industry and the entertainment industry are looking for high-quality Music App Development Companies to develop their own music apps and video-streaming app development companies to come up with their own video apps. This has led to finding a good quality Entertainment App Developer which can be as difficult as creating a sweet tune, a wonderful piece of art or a great entertainment piece. Hence to solve this issue, our research analysts persevered day and night and listed out the most prominent entertainment app development companies in the industry.
Here is list of Best App Development Companies for Entertainment Industry & Music App Developers.
The researched list of Top Entertainment App Development Companies has the best Entertainment app developers who can build the best Entertainment App solution as per your requirement.

#top entertainment app development companies in entertainment & music industry #top entertainment industry application developers #music and video streaming apps development #entertainment app development #entertainment app developers #music app development

Alec  Nikolaus

Alec Nikolaus

1603170000

Shrinking Personal Space In The Online World: Data Privacy Concerns

The days of complete privacy or offline days were a luxury that was last experienced by the generation born in 80s. A time when a secret whispered into your best-friend’s ear often went to the grave with them. The time before personal computer was personal time. Personal, private spaces existed before the computer invaded our homes and mobiles became ubiquitous. A sealed letter did not need encryption, it would be read by the sender and the receiver and if you were a minor, probably your parents.

Cut to 2020 and you have sensational news flashing on our tv sets about WhatsApp messages sent three years ago. When did our privacy jaywalk out of the browser window? In the age of smartphones, we need to redefine the concept of personal space.

Let’s understand the two categories of personal space every individual has – a personal space that consists of an individual and her details like photographs, messages, residential address, sexual orientation, places travelled to, medical reports etc. and the next category consists of professional space – companies worked for, salaries drawn, awards won, disciplinary action taken, appraisal forms etc. It’s a dangerous mix when you start jotting down the information that can be hacked into. Even one of these segments has the potential to create havoc into a person’s life if misused. Right from hacking into the webcam of devices to using the content from personal messages, the consequences are grave. I have deliberately used the example of a woman to emphasise how digital modes of existence have encroached upon safe spaces available for a woman.

#opinions #data privacy #data privacy concerns #data-science