Open in app

Sign In

Write

Sign In

Vicky AV
Vicky AV

92 Followers

Home

About

Nov 20, 2022

Java 8 Stream Samples for Reference

Java 8 Stream Samples which you can refer during your coding — 1: Generate // Example 1:Generate 10 Even Numbers Stream.iterate(0, input -> input + 2) .limit(10) .forEach(System.out::println); // Example 2: Generate 10 Random Numbers Stream.generate(new Random()::nextInt) .limit(10) .forEach(System.out::println); // Example 3: Generate 100 Student Objects for Testing public class Student { private int id; Student(int id) {…

Java

5 min read

Java 8 Stream - Samples for your Reference
Java 8 Stream - Samples for your Reference
Java

5 min read


Nov 18, 2022

DynamoDB TestContainers in Python

Let’s get started straight away, shall we ? Use pip to install testcontainers package pip install testcontainers testcontainers-python library has direct support for some widely used Docker images like Selenium, MySql, Oracle, RabbitMQ etc. But they didn’t implemented any wrapper to run DyanmoDB as TestContainer. …

Dynamodb

2 min read

DynamoDB TestContainers in Python
DynamoDB TestContainers in Python
Dynamodb

2 min read


Sep 21, 2022

AWS DynamoDB with Python (Boto3) — Part 5 — Bulk Insert & Delete with DynamoDB

If you haven’t read the previous article in this series — AWS DynamoDB with Python (Boto3) — Part 4 — Update Attribute & Delete Item from DynamoDB boto3 client offers support for DynamoDB batch operations via batch_writer() function. Below is the example for bulk insert with DynamoDB def insert_bulk_student_records(students: list)…

Dynamodb

2 min read

AWS DynamoDB with Python (Boto3) — Part 5 — Bulk Insert & Delete with DynamoDB
AWS DynamoDB with Python (Boto3) — Part 5 — Bulk Insert & Delete with DynamoDB
Dynamodb

2 min read


Sep 21, 2022

AWS DynamoDB with Python (Boto3) — Part 4— Update Attribute & Delete Item from DynamoDB

If you haven’t read the previous article in this series — AWS DynamoDB with Python (Boto3) — Part 3 — Query Items from DynamoDB DynamoDB Limitations on Update & Delete One important constraint we should remember about DynamoDB is Constraint 1 We must pass the PRIMARY KEY (PARTITION KEY & SORT KEY) while Updating an attribute in an…

Dynamodb

3 min read

AWS DynamoDB with Python (Boto3) — Part 4— Update Attribute & Delete Item from DynamoDB
AWS DynamoDB with Python (Boto3) — Part 4— Update Attribute & Delete Item from DynamoDB
Dynamodb

3 min read


Sep 21, 2022

AWS DynamoDB with Python (Boto3) — Part 3 — Query Items from DynamoDB

If you haven’t read the previous article in this series — AWS DynamoDB with Python (Boto3) — Part 2 — Create Table & Insert Item Query Item from DynamoDB To select items from DynamoDB which has both Partition Key & Sort Key, we need to mandatorily supply at least the Partition Key. Sort Key…

Dynamodb

3 min read

AWS DynamoDB with Python (Boto3) — Part 3 — Query Items from DynamoDB
AWS DynamoDB with Python (Boto3) — Part 3 — Query Items from DynamoDB
Dynamodb

3 min read


Sep 21, 2022

AWS DynamoDB with Python (Boto3)— Part 2 — Create Table & Insert Item

If you haven’t read the previous article in this series — AWS DynamoDB with Python (Boto3) — Part 1 — Intro to DynamoDB & local Installation Boto3 — The AWS SDK for Python Boto3 is the official SDK developed in Python which can help us to create, configure & manage AWS services To see list of services…

Python

2 min read

AWS DynamoDB with Python (Boto3)— Part 2 — Create Table & Insert Item
AWS DynamoDB with Python (Boto3)— Part 2 — Create Table & Insert Item
Python

2 min read


Sep 21, 2022

AWS DynamoDB with Python (Boto3)— Part 1 — Intro to DynamoDB & local Installation

Brief about Amazon DynamoDB According to official documentation, Amazon DynamoDB is a fully managed, serverless, key-value NoSQL database designed to run high-performance applications at any scale Core Components In DynamoDB, tables, items, and attributes are the core components table — Similar to a TABLE in RDBMS item — Similar to ROW in RDBMS TABLE. …

Dynamodb

2 min read

AWS DynamoDB with Python (Boto3)— Part 1 — Intro to DynamoDB & local Installation
AWS DynamoDB with Python (Boto3)— Part 1 — Intro to DynamoDB & local Installation
Dynamodb

2 min read


Dec 24, 2020

5 Terminal commands every developer should know

1. Source command Source command executes the contents of the file which is passed as the argument to it Sample Let’s say we have two Java versions — Java 8 & Java 11 We often switch between the versions by changing the JAVA_HOME in ~/.bash_profile

Linux Commands

3 min read

5 Terminal commands every developer should know
5 Terminal commands every developer should know
Linux Commands

3 min read


Dec 18, 2020

Tips to run Docker Build faster

Let’s assume we are containerising an Angular application & we created Dockerfile at project’s root directory FROM nginx:1.17.1-alpine COPY nginx.conf /etc/nginx/nginx.conf COPY /dist/my-app /usr/share/nginx/html Lets build our Angular project first > ng build --prod After build, project directory looks like below

Docker

5 min read

Tips to make Docker Build run faster
Tips to make Docker Build run faster
Docker

5 min read


Nov 11, 2020

You can run Java source code without compiling ! Bye Bye javac !!!

Java 11 came up with a cool feature to execute source code in single file without compiling it pre-hand Lets assume Vicky.java file contains following beautiful world changing source code class Vicky { public static void main(String[] args) { System.out.println("Hello World!"); } } For ages, we do the following >…

Java

1 min read

You can run Java source code without compiling ! Bye Bye javac !!!
You can run Java source code without compiling ! Bye Bye javac !!!
Java

1 min read

Vicky AV

Vicky AV

92 Followers

Twitter @IamVickyAV

Following
  • Subhash Kak

    Subhash Kak

  • Shalitha Suranga

    Shalitha Suranga

  • இரா. அசோகன்

    இரா. அசோகன்

  • Ashwini Kumar

    Ashwini Kumar

  • அன்பே சிவம்

    அன்பே சிவம்

See all (29)

Help

Status

Writers

Blog

Careers

Privacy

Terms

About

Text to speech