profile
viewpoint
If you are wondering where the data of this site comes from, please visit https://api.github.com/users/rxvc/events. GitMemory does not store any data, but only uses NGINX to cache data for a period of time. The idea behind GitMemory is simply to give users a better reading experience.

addisonlee/infra-101-best-ever 2

Infra 101, The Best Ever

blackbnu/AdoptingCDPresentation 1

Apresentação sobre adoção de continuous delivery

caoquendo/empleados 0

Proyecto de entrenamiento de tecnologías .NET

rxvc/AdoptingCDPresentation 0

Apresentação sobre adoção de continuous delivery

rxvc/ansible-tdd-example 0

kubernetes-provisioning-example

rxvc/centos 0

Custom images from Centos

rxvc/confluent-docker-utils 0

Common Python utils for testing Confluent's Docker images

issue commentiluwatar/java-design-patterns

Enum based strategy

Yes @AndriyPyzh, please go ahead!

iluwatar

comment created time in 8 hours

issue commentiluwatar/java-design-patterns

Enum based strategy

Hello! Can I start working on that?

iluwatar

comment created time in 8 hours

pull request commentiluwatar/java-design-patterns

Add the Layer Supertype pattern

@waterman6 are you working on this PR?

waterman6

comment created time in 9 hours

pull request commentiluwatar/java-design-patterns

Updated the docker image

Hey what's going on here, is anybody working on this or should we close the PR?

sapsinh

comment created time in 9 hours

push eventiluwatar/java-design-patterns

Ilkka Seppälä

commit sha dafc57d622e5b6dc4500d452188cb2119aca912f

Fix typo

view details

push time in 9 hours

PR opened iluwatar/java-design-patterns

Reviewers
Explanations and grammar fixes for all the GoF patterns

This pull request fixes grammar for all the Gang of Four patterns. Additionally, it partly resolves https://github.com/iluwatar/java-design-patterns/issues/590 by adding the missing explanations.

+870 -355

0 comment

66 changed files

pr created time in 9 hours

push eventiluwatar/java-design-patterns

Ilkka Seppälä

commit sha d327918b13b95893e6ddf3aa381fecf4f496befa

Grammar fixes for visitor

view details

push time in 9 hours

push eventiluwatar/java-design-patterns

Ilkka Seppälä

commit sha 5b0f4a9697c55d47ae94d73ca8bab37547813f0c

Grammar fixes, template method

view details

push time in 9 hours

push eventiluwatar/java-design-patterns

Ilkka Seppälä

commit sha 808df54dc0264a130fe6a0ac8f068aa47c053858

Grammar fixes for strategy

view details

push time in 9 hours

push eventiluwatar/java-design-patterns

Ilkka Seppälä

commit sha b014dc2f00639ce54117624ed197a44bfb510627

Grammar fixes to state pattern

view details

push time in 9 hours

push eventiluwatar/java-design-patterns

Ilkka Seppälä

commit sha 9a2c5aa9aaf355b8e22cfc0b7392283d153f780a

Update singleton

view details

push time in 9 hours

push eventiluwatar/java-design-patterns

Ilkka Seppälä

commit sha ebcc8576642c0fe25058a80eaa80408425a47ff9

Proxy pattern grammar fixes

view details

push time in 9 hours

push eventiluwatar/java-design-patterns

Ilkka Seppälä

commit sha 11efae38f26418f7f77b92b594c915133ea6c6c8

Update explanation for the prototype pattern

view details

push time in 10 hours

push eventiluwatar/java-design-patterns

Ilkka Seppälä

commit sha bbc2a9ddb178587938b04214d3eafaf7a4c53a98

Grammar fixes for observer

view details

push time in 12 hours

issue commentiluwatar/java-design-patterns

Finite State Machine pattern

Hey Subhrodip,

I can do it by July 15.

Regards

On Tue, Jun 22, 2021 at 2:30 PM Subhrodip Mohanta ***@***.***> wrote:

Assigned #203 https://github.com/iluwatar/java-design-patterns/issues/203 to @amit2103 https://github.com/amit2103.

— You are receiving this because you were assigned. Reply to this email directly, view it on GitHub https://github.com/iluwatar/java-design-patterns/issues/203#event-4921365270, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABZXKZBQEGNA5U7SLN2TGGTTUBGMJANCNFSM4BNHSGAA .

stephen-lazarionok

comment created time in 17 hours

issue commentiluwatar/java-design-patterns

Finite State Machine pattern

Can I take this up @iluwatar https://github.com/iluwatar

⭐ Sure thing! Thanks for your interest in our project 😃

✔️ Please mention a 📆 timeline 🕙 for when can we expect 🤔 a Pull Request against this issue.

🤝 Looking forward to your contribution. 📖 Be sure to check out our Wiki section

stephen-lazarionok

comment created time in 17 hours

issue commentiluwatar/java-design-patterns

Finite State Machine pattern

Can I take this up @iluwatar https://github.com/iluwatar

On Mon, Jun 21, 2021 at 11:01 PM Ilkka Seppälä ***@***.***> wrote:

The issue is free again

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/iluwatar/java-design-patterns/issues/203#issuecomment-865217445, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABZXKZAFEETNKHZQQR224PDTT5ZQFANCNFSM4BNHSGAA .

stephen-lazarionok

comment created time in 19 hours

push eventiluwatar/java-design-patterns

Ilkka Seppälä

commit sha 2b7cc410b01605760bd556fb6ca4042e98fa1f7c

Grammatical fixes to memento

view details

push time in 21 hours

push eventiluwatar/java-design-patterns

Ilkka Seppälä

commit sha a403c84add714a87071590800f18dc182b7cc45a

Add explanation for mediator pattern

view details

push time in a day

issue openediluwatar/java-design-patterns

Enum based strategy

The current strategy example demonstrates the classic pattern with interfaces and implementations, but there is another way using enums. The basic principle is explained here: https://mcvalls.medium.com/how-to-implement-the-strategy-pattern-with-enums-in-java-19eb7168c247

Let's amend our strategy pattern example with the enum-based implementation.

created time in a day

issue commentiluwatar/java-design-patterns

Finite State Machine pattern

The issue is free again

stephen-lazarionok

comment created time in a day

issue commentiluwatar/java-design-patterns

Finite State Machine pattern

@iluwatar I've been busy at work these days. It will take me one or two more months to finish this issue. Is that ok?

Hey @npczwh, any updates?

@ohbus @iluwatar Sorry for the delay. I didn't have enough time to finish this issue. You can assign it to someone else.

stephen-lazarionok

comment created time in 2 days

pull request commentiluwatar/java-design-patterns

Fully-automate development setup with Gitpod

Kudos, SonarCloud Quality Gate passed!

<img src='https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/bug.png' alt='Bug' width='16' height='16' /> <img src='https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/RatingBadge/A.png' alt='A' width='16' height='16' /> 0 Bugs
<img src='https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/vulnerability.png' alt='Vulnerability' width='16' height='16' /> <img src='https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/RatingBadge/A.png' alt='A' width='16' height='16' /> 0 Vulnerabilities
<img src='https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/security_hotspot.png' alt='Security Hotspot' width='16' height='16' /> <img src='https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/RatingBadge/A.png' alt='A' width='16' height='16' /> 0 Security Hotspots
<img src='https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/code_smell.png' alt='Code Smell' width='16' height='16' /> <img src='https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/RatingBadge/A.png' alt='A' width='16' height='16' /> 0 Code Smells

<img src='https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/CoverageChart/NoCoverageInfo.png' alt='No Coverage information' width='16' height='16' /> No Coverage information
<img src='https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/Duplications/NoDuplicationInfo.png' alt='No Duplication information' width='16' height='16' /> No Duplication information

ghuntley

comment created time in 2 days

Pull request review commentiluwatar/java-design-patterns

Fully-automate development setup with Gitpod

+#+# The MIT License+# Copyright © 2014-2021 Ilkka Seppälä+#+# Permission is hereby granted, free of charge, to any person obtaining a copy+# of this software and associated documentation files (the "Software"), to deal+# in the Software without restriction, including without limitation the rights+# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell+# copies of the Software, and to permit persons to whom the Software is+# furnished to do so, subject to the following conditions:+#+# The above copyright notice and this permission notice shall be included in+# all copies or substantial portions of the Software.+#+# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR+# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,+# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE+# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER+# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,+# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN+# THE SOFTWARE.+#++image:+  file: .gitpod.Dockerfile++# List the start up tasks. You can start them in parallel in multiple terminals.+# https://www.gitpod.io/docs/config-start-tasks/+tasks:+  - init: >+      xvfb-run ./mvnw clean verify++# Enable prebuilds of your project to enable faster workspace start times.+# https://www.gitpod.io/docs/prebuilds/#configure-the-github-app+github:+  prebuilds:+    master: true+    branches: true+    pullRequests: true+    pullRequestsFromForks: true+    addCheck: true

✅ resolved by adding an empty line. You can review the pull-request and test everything out by clicking on https://gitpod.io/#https://github.com/iluwatar/java-design-patterns/pull/1788

ghuntley

comment created time in 2 days

pull request commentiluwatar/java-design-patterns

Fully-automate development setup with Gitpod

Your gitpod file does not include the xvfb dependency we need for running defeating the whole purpose of setting it up.

The xvfb dependency is provided by https://github.com/iluwatar/java-design-patterns/pull/1788/files#diff-454eff0561fdbb1cdf08bef7a76ddf0f82c65fca08a150c43650f5098ecf7118R24 which is installed via https://github.com/gitpod-io/workspace-images/blob/abd6818f4a9db3b2e7c7d17d4af5fdba17b0ccb4/full-vnc/Dockerfile#L3.

During the prebuild (https://www.gitpod.io/docs/prebuilds/) of the workspace xvfb-run ./mvnw clean verify is executed and the resulting compilation and installation of maven dependencies are cached on Gitpod's servers which means the workspace starts fast and the steps of install mvn dependencies/compilation happen ahead of time thus saving consumers/contributors/maintainers approx 21 minutes of time.

2021-06-21_10-43-37

I would also want to know that how are workspaces segregated as an empty workspace for this particular repo idling on the master branch was on over 8 load average on a 16-thread machine and using 30 GiB of 64 GiB memory.

Workspaces are Kubernetes pods that have run-time isolation via runc. We spin up spare pods ahead of time without an owner and when a request comes through - click this link:

https://gitpod.io/#https://github.com/iluwatar/java-design-patterns/pull/1788

  1. The empty pod is assigned to you
  2. The context URL is used to clone your workspace
  3. If a preload exists, that is restored (think CI/CD for development environments)
  4. User is presented with VS Code and is ready to code.

Pods run on Kubernetes nodes with 16-threads and 64GiB of memory and the resources shared between other pods which run on the node. We have a custom Kubernetes resources scheduler that works behind the scenes to that enables developers to consume the full 16-threads and 64GiB of memory when needed whilst ensuring abusive neighbours (ie crypto miners) don't ruin the experience for all. I'm simplifying things a heap here if you want more insights

https://www.youtube.com/watch?v=svV-uE0Cdjk

So one thing is that I would not want to lock our developers for cloud-based development is to only use Gitpod, as there are alternatives from GitHub itself as well like Codespaces, and many more will soon be emerging as developers start using these in their daily work.

Gitpod is available right now for consumers, contributors and maintainers free of charge. Codespaces is still in private beta, the release date is uncertain (the release milestone has slipped three times now) and so is the pricing structure.

The future absolutely is cloud-based development because it solves so many problems such as being able to develop from anywhere on any device, automation and removal of common developer tasks (cloning, switching branches, installation of dependencies) plus the big-ticket item - supply chain trust. Instead of pulling down untrusted code (inc OSS dependencies) and executing them on your local computer, all development happens in a sandbox. It's rad.

Codespaces is rad (I'm in the beta) and when they launch you should also add them to your wiki and the readme! Over at https://github.com/ghuntley/ghuntley/blob/trunk/.devcontainer/devcontainer.json#L4 you'll find my personal experiments of sharing a single configuration between:

  • vscode remote (ssh)
  • vscode remote (docker)
  • vscode local
  • gitpod
  • codespaces

UPDATE: I could not build the project on the workspace after checking out this commit.

Ah, that's interesting. With Gitpod you don't need to check out the commit or use "git clone/switch branches". Just click this link.

https://gitpod.io/#https://github.com/iluwatar/java-design-patterns/pull/1788

Once merged the pull/1788 suffix will not be needed.

ghuntley

comment created time in 2 days

push eventiluwatar/java-design-patterns

Ilkka Seppälä

commit sha 86362e12f6a3554820984f1b6c08f38f5b6759bc

Update iterator readme

view details

push time in 2 days

Pull request review commentiluwatar/java-design-patterns

Fully-automate development setup with Gitpod

+#+# The MIT License+# Copyright © 2014-2021 Ilkka Seppälä+#+# Permission is hereby granted, free of charge, to any person obtaining a copy+# of this software and associated documentation files (the "Software"), to deal+# in the Software without restriction, including without limitation the rights+# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell+# copies of the Software, and to permit persons to whom the Software is+# furnished to do so, subject to the following conditions:+#+# The above copyright notice and this permission notice shall be included in+# all copies or substantial portions of the Software.+#+# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR+# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,+# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE+# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER+# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,+# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN+# THE SOFTWARE.+#++image:+  file: .gitpod.Dockerfile++# List the start up tasks. You can start them in parallel in multiple terminals.+# https://www.gitpod.io/docs/config-start-tasks/+tasks:+  - init: >+      xvfb-run ./mvnw clean verify++# Enable prebuilds of your project to enable faster workspace start times.+# https://www.gitpod.io/docs/prebuilds/#configure-the-github-app+github:+  prebuilds:+    master: true+    branches: true+    pullRequests: true+    pullRequestsFromForks: true+    addCheck: true

You may add an empty line at the end.

ghuntley

comment created time in 3 days

issue commentiluwatar/java-design-patterns

Backends for Frontends pattern

Link pointed out by @FuncGuy: https://blog.bitsrc.io/bff-pattern-backend-for-frontend-an-introduction-e4fa965128bf

iluwatar

comment created time in 3 days