teleren/devto huggingface dataset:
TGIF is that still a thing during the pandemic?
Tags: discuss, webdev, productivity
Published: 2021-01-29 12:49:22

Don't get me wrong I love working from home. The flexibility, not having to spend xx minutes driving to and from a physical office, getting to work in your jammies. But there is something about wfh that is different during a pandemic. I have worked from home on and off during my various positions over the last few decades and to me wfh was always ranked in the top three perks, but lately, lately it just makes me crazy. Maybe it is because it seems like in these days I am losing my control on work balance. I wake up, check emails, grab some tea, look at my to do list, brush my teeth, maybe grab a shower, (but if I am being real, that might not happen until 3pm or later) then start my review of my things to do, create a new things to do, start a project, finish a project, join zoom calls (o wait that means I need to be dressed and presentable at least from the waist up) brush my hair, throw on some blush, grab some water, maybe get a quick bite for lunch at my desk, continue to work, conference calls, emails, work, zoom, add more to my to do lists, create a wiki, start a story board in Jira, and this is a constant loop of my days. Some call week days Blursday, and I couldn't agree more. With no where to go and most activities cancelled it really give me time to focus--but that seems to be focus on work, because my to do lists get longer, and I am not running the kids around or going to sporting events or dining out (aww the good ole days). What's the cure?  I need to re-create a solid plan for life work balance. The first step to success is admitting you have a problem (check) but then what are the next steps? 

I think it isn't a bad idea to actually schedule breaks and taking a digital detox, is there a 12 step program for that? I look forward to your tips for staying sane while working from home during a pandemic. Again don't get me wrong work from home is a perk, but some how I blurred the lines and need some tricks from you.
How to Become Better Developer
Published: 2021-01-29 12:30:57

Trends, as well as frameworks, comes and goes. Heck, JavaScript frameworks come and go each day 😂

Fundamentals are forever. So it would be wise to invest your time to grow those.

## Fundamentals

* Teamwork — Great teams build great software so don’t take teamwork and your team for granted. Cultivate and prune your team. And, what is more, try to see situations from a different team member’s perspective.
* Trust and cohesion — “Team without trust isn’t a team: it’s just a group of individuals, working together, often making disappointing progress”. Teams move at the speed of trust. Be the kind of dependable person you would want to work with.
* Communication — Communicate honestly and proactively. Do not assume that because you understand something and it is simple and easy for you that everybody else perceives it the same. Listen before speaking.
* Seek Consensus — It is really helpful if the whole team is on the same page so make sure to take the time for your whole team to get aboard. Discussion and disagreement are not necessarily bad as they can lead you to the best solution.
* Automated Testing — Well-tested code allows you (and your team) to move fast with confidence. And not only that, using TDD (where you write tests simultaneously as you code) can speed up your development by providing faster means of testing (clicking through your UI to test some scenario is tedious, error-prone, and slow).
* Clean, understandable, and navigable code and design — Think of the next engineer that will take over your code as your customer. Build code that your successor won’t have any trouble reading, maintaining, and updating. More often than not you will be your own “customer” and you’ll have to modify some parts several months later and you’ll have trouble navigating your work if not properly taken care of. So imagine how hard this would be for someone else.

## Multiplicative System

One extra thing to consider is the multiplicative system mental model.

Let’s say you value your coding skills as “10”, writing clean code as “8”, your testing skills as “9” but your communication skills as “0” (because your work should speak for itself, right :)). Then if we do basic multiplication 10 x 8 x 0 x 0 result would be 0!

If you are missing one of the traits for a great developer (great either by your standards or by community standards) your value could be 0. Does not matter whether you’re a 10x if you do not know how to communicate with your peers, your PMs. Or if you do not know how to communicate your value to the community.

## Sources

Here are my sources for this article and links you should visit to learn more:

* [What I’ve Learned in 45 Years in the Software Industry](https://www.bti360.com/what-ive-learned-in-45-years-in-the-software-industry/)
* [Multiplicative System Mental Model](https://fs.blog/2016/08/multiplicative-systems/)
* [Building Trust Inside Your Team](https://www.mindtools.com/pages/article/building-trust-team.htm)
* [Curse of Knowledge](https://en.wikipedia.org/wiki/Curse_of_knowledge)
Improve Browser performance using Bytecode Caching
Tags: news, research, technology, browser
Published: 2021-02-03 18:52:40

---
title: Improve Browser performance using Bytecode Caching
published: true
date: 2021-01-29 12:30:00 UTC
tags: News,Research,Technology,browser
canonical_url: https://centocode.com/improve-browsers-performance-using-bytecode-caching/
---

Each JavaScript method compiled into bytecodes which are encapsulated in an object in the JS engine. To serialize and deserialize this object

The post [Improve Browser performance using Bytecode Caching](https://centocode.com/improve-browsers-performance-using-bytecode-caching/) appeared first on [CentoCode.com](https://centocode.com).
I Passed 2 Day Ago AWS Certified Solutions Architect - Associate (SAA-C02)
Tags: saac02, saac02exam
Published: 2021-01-29 12:03:14

It was not easy for me to pass Amazon without the help of SAA-C02 study material. This is the most compact material available in PDF form which gave me confidence about my exam. I attempted all the questions in the final test. Link: https://bit.ly/3afNWVn

Get any kind of IT exams real questions answers and pass your exam with 95% score. PassExam4Sure is the finest source for Cisco, Microsoft, CompTIA, Oracle, Amazon, HP, VMware etc, exams preparation. You will get most updated file of you desired exam with 100% passing guarantee.
Flutter iOS build error: 
os.makedirs(destination, 0744) from rlm_lldb.py
Tags: flutter
Published: 2021-01-29 11:58:00

# Error message

This error happened when I use Firebase. I don't know why Realm code has problems...

```
error: module importing failed: Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/Users/[your_name]/Library/Application Support/Realm/rlm_lldb.py", line 37
    os.makedirs(destination, 0744)
                                ^
SyntaxError: leading zeros in decimal integer literals are not permitted; use an 0o prefix for octal integers
```

# Solution
This is the newest code compatible with Python 3.

https://github.com/realm/realm-cocoa/blob/master/plugin/rlm_lldb.py
CODEDEPLOY ON AWS PART 1
Tags: aws, cloudcomputing
Published: 2021-01-29 11:41:40

# Setup IAM User with access to resources

### What are IAM Users and how to create one?
IAM Users are AWS Users who can access,provision,monitor various AWS Manged or any services provided within the AWS Architecture.There can be fine grain control over the IAM users where users can have only READ access to multiple services or full CRUD control over there assigned services.

We can simply create a IAM User from the console but there are three ways where we can create a IAM user : 

- AWS CLI : Has access key which is a combination of (access key ID and a secret access key)
- AWS API : AWS API type of IAM user also interacts with the AWS services VIA CLI.
- AWS Console : Has console password and username which will grant access to the AWS Management Console.

### What are the types of IAM users?
The types of IAM Users are Users with  :

- Programmatic access : The IAM user might need to make API calls, use the AWS CLI, or use the Tools for Windows PowerShell. In that case, create an access key (access key ID and a secret access key) for that user.

- AWS Management Console access : If the user needs to access the AWS Management Console, create a password for the user.

### What are the ways for IAM users to access/assign resources?

The ways for IAM users to access/assign resources are through directly policy applied to the user or group level policy applied to the users.

- IAM User : A IAM user associated with an access key or console password which can be attached policies directly.
- IAM Group : A IAM group is a collection of IAM Users with similar IAM Roles required to attain an objective from which multiple tasks can be handles by a big group of people or could be used for various stages of software engineering lifecycle (ie dev,prod,staging).
- IAM Roles : IAM Roles are a collection of access where we can attach roles to users who can perform special actions as in deployment or any other.
- Instance Profiles : The Instance profiles are profiles created by the IAM user to access and manage policies for EC2 Instance to operate and work properly with CODE DEPLOY.

### How to assign the IAM user to use CODE DEPLOY?

The CODE DEPLOY and IAM user are connected via Instance Profiles with IAM Roles,IAM Groups.

Instance Profiles : The Instance profiles are profiles created by the IAM user to access and manage policies for EC2 Instance to operate and work properly with CODE DEPLOY.Instance Profiles are attached with IAM Roles which will grant the profile with access to resources only one IAM Role can be assigned to a Instance Profiles.Where as the same IAM Role can be used on multiple Instance Profile.
Standards In WebRTC Mobile Application Development: Why Are They Important?
Published: 2021-01-29 11:32:41

**Where are the standards when it comes to the [WebRTC App Development](https://rtcweb.in/?utm_source=dev.to&utm_medium=mobile-app-development)**

There are many misconceptions about what exactly is in the scope of WebRTC and what isn’t. As a result of that, there are different opinions about the parts in WebRTC that should be standardized. This arises mainly when speaking with VoIP and telecom people as we (yes, I’m one of them) are used to the case where everything is standardized, from top to bottom.

Looking at this in perspective of the Web. When a Web developer builds an application there is only one area where standards apply to him, the things that need to run in the browser (i.e. HTML, CSS and JavaScript). Browsers must be compatible in this area, implement the same APIs and yield the same user experience. How information that is exchanged between the browser and the server is structured is completely up to the developer building the application.

This reality of a closed client-server world with standards for client side implementation that allows users to use whatever browser they choose is one of the things that enabled the speed of change and innovation we are all used to in the Web. This stands in contrast to the slow rate of advancement in the telecom world where all needs to be standard.

**WebRTC is all about the Web**

Taking the Web application example above and implementing it for WebRTC makes it seem very clear that communication between the client and the server doesn’t need to be standardized. How SDP, session context information, user specific data… are sent from the browser to the server is rightfully left for the application, as every application will have different requirements.

 ![Alt Text](https://dev-to-uploads.s3.amazonaws.com/i/qr0v0fb5tvbabnbzhzf7.jpeg)

Having said that, things related to making sure WebRTC will run on all browsers must be handled through standards. 

**WebRTC Architecture**

The diagram above shows this quite clearly. The areas in WebRTC that are and should be standardized are only those related to the interfaces and capabilities of WebRTC itself. This in essence means:

The JavaScript APIs (northbound) – this makes sure a WebRTC application will run in any browser that supports WebRTC
On the wire protocols – in essence, this is how voice, video and data streams are exchanged peer-to-peer between browsers. Examples of such are transport protocols, security mechanisms chosen and mandatory voice and video codecs. If this wasn’t standardized, communication between browser of brand A would need to go through some mediation box in order to communicate with browser of brand B.
Solving Blockchain Scaleability
Tags: blockchain, bitcoin, tech, cryptocurrency
Published: 2021-03-18 10:26:20

---
title: Solving Blockchain Scaleability
published: true
date: 2021-01-29 11:32:24 UTC
tags: blockchain,bitcoin,tech,cryptocurrency
canonical_url: https://medium.com/coinmonks/solving-blockchain-scaleability-4ab3c7cf2343
---

[![](https://cdn-images-1.medium.com/max/1000/1*e1Gpk21RGMalLQ1SDbxV4Q.jpeg)](https://medium.com/coinmonks/solving-blockchain-scaleability-4ab3c7cf2343?source=rss----721b17443fd5---4)

Scaleability is a massive issue currently within the Blockchain space and with more people now turning to Blockchain it needs to be solved!

[Continue reading on Coinmonks »](https://medium.com/coinmonks/solving-blockchain-scaleability-4ab3c7cf2343?source=rss----721b17443fd5---4)
Career advice for graduates
Tags: jobs, career, beginners
Published: 2021-01-29 11:57:50

---
title: Career advice for graduates
published: true
date: 2021-01-29 11:29:00 UTC
tags: jobs,career, beginners
canonical_url: https://craignicol.wordpress.com/2021/01/29/career-advice-for-graduates/
series: mentor
cover_image: https://craignicol.files.wordpress.com/2020/03/wp-1583529282674.jpg?w=1200
---

I saw this tweet and I’ve been asked this question myself a couple of times so I wanted to highlight this as a reference for others, and collect my thoughts into one place.

> I've been getting a lot of messages regarding job hunting as a Software Developer. Let's get a thread going with advice for developers looking for jobs! ![👇🏼](https://s0.wp.com/wp-content/mu-plugins/wpcom-smileys/twemoji/2/72x72/1f447-1f3fc.png)My advice: Keep LinkedIn up-to-date. Recruiters will reach out if your profile is full of great information about yourself!
> 
> — Emma Bostian ![🐞](https://s0.wp.com/wp-content/mu-plugins/wpcom-smileys/twemoji/2/72x72/1f41e.png) (@EmmaBostian) [September 30, 2018](https://twitter.com/EmmaBostian/status/1046381745413783552?ref_src=twsrc%5Etfw)

<script async src="https://platform.twitter.com/widgets.js" charset="utf-8"></script>

—

Know what you want. E.g. Do you want a startup with scrappy hours but more influence or a big company with more structure but where you have less control?

You don’t have to have a public profile.

If you do have a public profile, make sure it reflects you well.

Doesn’t have to be a blog, but always be thinking about teaching others what you’re currently learning. It really helps you in appraisals, interviews and networking because you’re already reflecting on your skills, and you can more easily help others

Apply even if you don’t meet all the criteria. In most companies “must haves” aren’t. You’ll need to meet some, and be prepared to learn others, but don’t wait until you’re 90% ready.
docker-compose `/docker-entrypoint.sh: exec: line 24: require: not found`
Published: 2021-01-29 11:13:16

## Environment

- Ubuntu 18.04 LTS
- Docker Composer Container

## Problem

run follow command.

```
docker-compose run composer require phpunit/phpunit
```

got error.

```
/docker-entrypoint.sh: exec: line 24: require: not found
```

## How to solve it.

remove composer.json file.

```
$ rm ./composer.json 
```

and re-run. succeeded.

```
docker-compose run composer require phpunit/phpunit
```

## Description.

when I run `--help` command, i got Execption Output.

```
$ docker-compose run composer --help

                                                                          
  [Seld\JsonLint\ParsingException]                                        
  "./composer.json" does not contain valid JSON                           
  Parse error on line 1:                                                  
                                                                          
  ^                                                                       
  Expected one of: 'STRING', 'NUMBER', 'NULL', 'TRUE', 'FALSE', '{', '['  
                                                                         
```

composer.json file is empty.

```
$ cat ./composer.json
$
```
How to Start an Online Antique Auction Website?
Tags: webdev, onlineauction, marketplace, ecommerce
Published: 2021-01-29 10:30:45

![Alt Text](https://dev-to-uploads.s3.amazonaws.com/i/g20uc6rz2642ae2r7evd.png)
Antique online auctions is not an ordinary business niche that certainly doesn’t really have much in common with the mass market. The main target audience of this niche is art admirers and collectors. And this fact makes antique auctions so extraordinary.

If you put yourself in the category of antique lovers, keep on reading!

Having your own online antique auction can be very beneficial, as it’s not always easy to find rarities publicly available. You still have time to create a website that can promote such unique items and establish strong market leadership. No doubts, your online antique auction website will attract more and more attention.

####Which niche to take in the online antique market?

* **Art auctions**. Contemporary art is in high demand nowadays. Online art auction websites can become well-known among a narrow community of connoisseurs, regular art-lovers and modern artists. Looking for the best works of art, your website visitors will be ready to place the highest prices for valuable units.

* **Jewelry auctions**. This industry will always prosper. All known online auction marketplace eBay currently offers a big assortment of jewelry that comprises nearly 2 002 909 items.

* **Clock auctions**. The target audience of such auctions is definitely true antique judges. Antique clocks can complement any design solution and create an old-fashioned atmosphere.

There are much more niches in the online antique market you should consider. [Follow this link](https://dinarys.com/blog/benefits-of-creating-online-antique-auction-sites) for more details.
We are using Javascript for our SaaS-Backend
Tags: javascript, saas
Published: 2021-01-29 10:29:06

For our SaaS-product [Botium Box](https://www.botium.ai) - a full functional and non-functional testing infrastructure for chatbot - we decided to go for Node.js in the backend.

There are lots of controversial arguments about programming language in general, and using a non-type-safe, dynamic scripting language like Javascript for server-side development. In our company we have a strict **no-bullshitting-policy**, so we didn't go very deep into the more philosophical aspect of selecting a programming language.

After all, it came down to a decision **Python vs Javascript**. While Python is by far the most mature language for machine learning projects, the one single argument why we decided for Node.js was that in our small developer team (4 people) everyone is a full-stack-developer, and it will ultimately safe time to **develop client and server in the same programming language**.

P.S. For some machine-learning-centric components of our SaaS-backend we still decided to go for some [micro-services developer in Python](https://github.com/codeforequity-at/botium-coach-worker).
Is it bad practice to make a POST call in useEffect?
Tags: react
Published: 2021-01-29 09:54:18

Hi all,

I am using `react-cropper` for my users to upload/edit pictures, but when I try to console log the resulting `photoData` in my `setPhotoData` fn, the console log is one state behind. i.e. If I hit submit & upload and crop photo A, when `setPhotoData` runs it'll log an empty line in the console. Then when I do photo B, I'll get a console log of photo A's data. Uploading photo C will console log photo B's data and so on.

In a class component, you can add a callback after `setState`. So if I were using a class component I'd just make the `POST` there, after the state has been set. But apparently with react hooks you can't do that; my IDE gave me a warning and told me to use `useEffect` instead. 

So now in `useEffect` I'm checking if `photoData` is populated in my state and then console logging once it is. This is working just fine for my little dev env: Nothing is logged until I hit submit, and then with the re-render that's triggered by the state change I get one console log with the correct cropped picture. 

But I'm concerned that in production this is going to cause some kind of loop or leak. Even if I'm checking for defined state before I make the call, is there some potential for this to go wrong that I'm overlooking? It would similarly feel strange to do a `POST` in `componentDidMount`, so that's why I'm suspicious.

Here's the relevant code:

```
export const CropperWidget = () => {
  const [cropData, setCropData] = useState("");
  const [cropper, setCropper] = useState();

  const onChange = (e) => {
  // there's a fn to upload the file before cropping here
  }

  const getCropData = () => {
    if (typeof cropper !== "undefined") {
      setCropData(cropper.getCroppedCanvas().toDataURL());
    }
  };

  useEffect(() => {
    if (cropData) {
      console.log(cropData);
    }
  });

  return (
    // various irrelevant jsx
    <button onClick={getCropData}>Crop Image</button>
  );
};
```
Day26:100DaysOfCode
Tags: 100daysofcode, programming, productivity
Published: 2021-01-29 10:18:56

another day another contest


codeforces div2..
solved 2 problems....   
tried some rest of problems of past contest on codechef 

few
leetcode ques on ...trees

build a basic healthcare chatbot with dialogflow and gcp for a upcoming hackathon

You can Follow me->
https://github.com/singhtaran1005
https://www.linkedin.com/in/taranpreet-singh-chabbra-27517918a/