My son was asking me to help him set up a server so that he can play with his friends – and i found this , easy to do. https://www.astralinternet.com/blog/en/build-minecraft-pocket-edition-server-ubuntu/ I turns out that this version does not work well with latest minecraft , i download the version from Minecraft official website, it works pretty well https://www.minecraft.net/en-us/download/server/bedrock/ After you download the server, just run this command:Read More →

Just imagine, you have an application that is using Jaeger as the backend, but now you want to switch to SignalFX. This is do able. Below is the steps Install SignalFX Agent:SignalFX Agent is used to collect your host info such as memory and cpu,network … it uses collectd for this purpose. Signalfx Agent also can act as a collector for Jaeger client via GRPC. Installing Signalfx Agent is not difficult, follow their current instruction from your account. To make it easy for you i will share my configuration The important line is “- type: jaeger-grpc” this line will turn smartagent as a collector, itRead More →

Visual Studio Code: Azure Monitor – Application Insights In the modern world of software development, monitoring and debugging are as crucial as writing the code itself. Developers and IT professionals need tools that offer real-time insights into their applications’ performance, identify issues, and ensure smooth operation. One such powerful tool is Azure Monitor, and more specifically, Application Insights, which provides a rich set of features for monitoring the performance and health of applications. In this article, we’ll explore how to integrate Application Insights with Visual Studio Code (VS Code), one of the most popular code editors among developers. By doing this, you can gain valuableRead More →

Today i just tried to build my first web Java application. I follow the instructions from this link: https://docs.spring.io/spring-boot/docs/1.0.2.RELEASE/reference/html/getting-started-first-application.html Everything looks good until i reach to step 10.4 ,  i got this error Some recommend that we need to add this in to tag It works for some people , but it’s not working for me. Finally i found that i need to add this More detail is from this url: https://www.baeldung.com/maven-java-version This is my final pom.xmlRead More →

If you are running on Linux machine and. every time you access to your corporate website , it asks you for the password , but this does not happen with your Windows machine. I have spent a lot of times to research on this and found that: Chrome supports some of these authentication method: Basic, NTLM , Negotiate with Kerberos and Certificate. In this post, i will share how i pass the NTLM authentication by using a chrome extension. Here are 2 files that i use to create the extension:webrequest.js manifest.jsonRead More →

I got a weird message today when trying to use XMLHttpRequest Request I turns out that i need to turn on some headers on the destination server. This can be fixed by doing with .htaccess Here is the reason behind this. Let say you host a javascript on domain1.com , this script need to make a XMLHttpRequest on domain2.com. For security reason, the browser has implemented a thing call Cross Origin Resource Sharing (Cors) , this means that your browser will ask domain2.com to check if domain1.com is allowed to get data from domain1.com. By default, domain2.com only calls from domain2.com only. To overcome this,Read More →