It was quite an interesting city. We can see clearly the reminiscent of the Apartheid system. The Apartheid Museum is very interesting and very near a casino and an amusement park – which as a real mine tour inside.
It was quite an interesting city. We can see clearly the reminiscent of the Apartheid system. The Apartheid Museum is very interesting and very near a casino and an amusement park – which as a real mine tour inside.
Went to Pittsburg on the weekend and was quite cool.
The city is on the hills kinda, and a mix of toronto+montreal. From the first, it has the skyscrapers, and from the second it has some European style ~ right in the middle.
I loved the bridges as well.
8 dollars full park.
Saputo is one of those words that you know and help a lot ~ in Italian, I mean.
To have (avere)
io ho
tu hai
lui/lei ha
noi abbiamo
voi avete
loro hanno
To be
io sono
tu sei
lui/lei è
noi siamo
voi siete
loro sono
Sapere | ||
Subject Pronoun |
Sapere | English |
Io | So | I know |
Tu | Sai | You know |
Lui/Lei | Sa | He/She knows |
Noi | Sappiamo | We know |
Voi | Sapete | Y’all know |
Loro | Sanno | They know |
Imperfecto
No need for extra stuff, just the verb itself
Passato prossimo
to be in past + verb in passato prossimo
example: io ho fato
Trapassato remoto
Saputo
This word is used for several things: all the passato prossimo and trapassato prossimo!!
loro hanno has a h
I think that’s quite interesting that we need to load the -Djava.library.path and the System.setProperty and why is that?!
java -Djava.library.path=./lib -jar myApplication.jar
System.setProperty("java.library.path", "./lib");
On this stackoverflow they discuss about this, it’s for some systems that do not load from the lib call.
Intro
For load balancing, several companies use HAProxy, including twitter and facebook.
Installing
sudo apt-get install haproxy
HAProxy Configuration
location /etc/default/haproxy
start: service start haproxy.cfg
global
defaults
frontend
backend
Tutorial
That’s quite confusing but Xmx=1g lets my JVM consuming more than 1g of RAM. How so?
Doing some tests here I see that when using Xmx=1g, the JVM is actually using 1.5g! well the explanation is simple:
Xmx only limits the allocated memory on the heap.
So how to limit it??
To specify the total usage you need to use -XX:MaxRAM.
Thanks, CHF for this tip!
You can use this table as a reference.
Intro
A common logging stack that is been used nowadays.
EFK – Elastic Search Fluentd Kibana
EFK Kubernetes
This a project to make EAP more efficient and smaller specifically for deployment in containers. You basically don’t need the whole EAP with full functionalities, but only the ones you will actually use.
Basically, if I want feature pack 1, 2, 3 and gallons will get the jars needed for those and then it will some how have an example config
and basically pulls the jars from maven
Installation
Creating an EAP with only the minimal you need ~ using layers:
Just run the command
galleon.sh install wildfly:current --layers=cloud-profile,core-server,core-tools --dir=my-wildfly-server
~ this will create a minimal wildly with cloud-profile, core services, and core tools.
It’s very useful then, to use with Open Shift and provide easy integration. EAP images on OCP are built with Galleon straight from Si2 using Galleon, i.e. Galleon layers, and only brings that specific feature.
Example with jboss-logmanager-2.1.5.Final-redhat-00001.jar
Instead of $JBOSS_HOME/modules/system/layers/base/org/jboss/logmanager/main/jboss-logmanager-2.1.5.Final-redhat-00001.jar, which is in EAP 7.x, within a container we will have:
$ find . -name jboss-log\*.jar
./wildfly/s2i/galleon/galleon-m2-repository/org/jboss/logmanager/jboss-logmanager/2.1.15.Final-redhat-00001/jboss-logmanager-2.1.15.Final-redhat-00001.jar
./wildfly/s2i/galleon/galleon-m2-repository/org/jboss/logging/jboss-logging/3.4.1.Final-redhat-00001/jboss-logging-3.4.1.Final-redhat-00001.jar
7 – UAE/Israel