Revealing Module Pattern Javascript

Which approach is more convenient in an real life project? Can someone please enlighten me?

All of them give the same result. Classes are ES6.

2nd approach Constructor pattern combined with Revealing Module Pattern.

3rd is only a constructor pattern / function and the properties are used in an normal function declaration.

I want to make an application which i insert some data from the input form, creating with the classes / constructors and then display it in the UI. Data obviously is always changing( creating multiple objects when i insert new input form)

// 1st approach with classes const test1 = (() => {   class TestClass {     constructor() {      this.string = 'Class';     }    classMethod() {    console.log(this.string);   }  }    const testClass = new TestClass();    return {    testClass   }  })();  test1.testClass.classMethod();  // 2nd approach with constructor and constructor protoype methods const test2 = (() => {  function TestConstructor() {   this.string = 'Constructor';  }  TestConstructor.prototype = {  constructorMethod() {   console.log(this.string);  } }  const testConstr = new TestConstructor();   return {   testConstr  } })();  test2.testConstr.constructorMethod();  // 3rd approach with constructor with function declaration const test3 = (() => {  function TestConstructor() {   this.string = 'Constructor with function declaration';  }   const testConstr = new TestConstructor();   function normal() {   console.log(testConstr.string);  }   return {   normal  } })();  test3.normal(); 

Google calendar: Show availability without revealing personal calendar details to admin

  • I have a “work” Google Calendar and several “personal” Google Calendars
    • The work calendar is administered by my company
  • I’d like to show coworkers my combined availability (work and personal), but hide the personal event details
    • I can’t share my personal calendar with the setting “Make changes and manage sharing” because I don’t want the admin to have full read/write access to it)

Is there a way to do this within Google Calendars?

Zapier allows me to automatically mirror new personal calendar events onto my work calendar, but this is expensive and inelegant. I’m hoping someone here knows a better way.

How can I publish text and video without revealing my identity?

Let’s I want to publish online

  • a fiction book and
  • a series of videos for promoting it.

Let’s further assume that the book challenges some widely held views and it is possible that people will hat me for that. However, no part of the book breaks any law (i. e. there are no threats in that book, nor appeals to violence; I can prove that it was me who wrote the book).

How can I make the book and the videos accessible to a wider audience such that

  • my identity cannot easily be revealed, nor
  • the identities of people who read the book and view the videos?

Note that the protection is meant against co-workers, employers, and neighbors who may not like my views. It is not a protection against the authorities.

How effective is the ProxyGambit at allowing access to the internet without revealing true location and IP?

I’m very interested in purchasing or manufacturing this device on my own and maybe using it in conjunction with Tails/Tor:

https://samy.pl/proxygambit/

According to the site:

ProxyGambit is a simple anonymization device that allows you to access the Internet from anywhere in the world without revealing your true location or IP, fracturing your traffic from the Internet/IP through either a long distance radio link or a reverse tunneled GSM bridge that ultimately drops back onto the Internet and exits through a wireless network you’re no where near.

While a point to point link is possible, the reverse GSM bridge allows you to proxy from thousands of miles away with nothing other than a computer and Internet with no direct link back to your originating machine.

A high speed (150Mbps+) link is available with direct line of sight from 10km+ away, or if further away, a 2G GSM connection produces a reverse TCP tunnel serializing a shell into the device accessible from anywhere in the world via the Internet or GSM. Either method proxies your connection through local wifi networks near the device, shielding and making it more difficult to determine your true location, IP and identity.

Unfortunately, it doesn’t appear to be sold anywhere online and it hasn’t been discussed online since 2015.

My apologies for asking so many questions, but there appears to be no info on the actual workings of this anonymizing device, apart from a few stories in the media. For all those with some technical aptitude:

Has this device been extensively field-tested? Have there been any recent technological developments that have improved on the device? Does the device do what it says it does? And how would this compare to a directional long-distance wifi antenna to bypass need for an ISP and conceal physical device location? Would it be more or less secure or anonymous?