All posts by josuamarcelc

Why Is Crashing? 502 Database Overloaded

Due to the sudden surge of players,’s servers have crashed and players might experience errors while playing chess or solving puzzles. Servers are likely to crash during peak hours which states to be around “noon to 4:00 pm ET.” server crashes due to heavy traffic in Jan 25, 2023

New App Keeps Crashing

Messi x Ronaldo playing chess

Then came the FIFA season in November 2022, when Luis Vuitton released an internet-breaking photo featuring the two biggest football superstars in the world, Lionel Messi and Cristiano Ronaldo, playing a game of chess. The game of chess even depicts the same position as a Carlsen vs Nakamura game in 2007.

Create API for OpenAI’s GPT-3

To create an API for OpenAI’s GPT-3, you’ll need to use the OpenAI API. The API provides a simple way to send requests to GPT-3 and receive responses in the form of natural language text. Here’s an example of how you can use the API to generate text:

  1. Obtain API credentials: To use the OpenAI API, you’ll need to sign up for an API key.
  2. Send a request to the API: You can send a request to the API using any HTTP client library. Here’s an example using PHP’s curl library:

$ch = curl_init();

curl_setopt($ch, CURLOPT_URL, "");
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_POSTFIELDS, "{
    \"prompt\": \"What is the capital of France?\",
    \"max_tokens\": 100,
    \"temperature\": 0.5
curl_setopt($ch, CURLOPT_POST, 1);

$headers = array();
$headers[] = "Content-Type: application/json";
$headers[] = "Authorization: Bearer <YOUR_API_KEY>";
curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);

$result = curl_exec($ch);
if (curl_errno($ch)) {
    echo 'Error:' . curl_error($ch);
curl_close ($ch);

echo $result;

In this example, the curl library is used to send a POST request to the OpenAI API. The request includes a prompt (the text prompt to generate a response for), max_tokens (the maximum number of tokens to generate in the response), and temperature (the randomness of the response). The API key is passed in the Authorization header.

  1. Parse the API response: The API response will be in JSON format. You can parse the response using any JSON parsing library. Here’s an example using PHP’s json_decode function:
$response = json_decode($result, true);
echo $response['choices'][0]['text'];

In this example, the json_decode function is used to parse the API response and extract the generated text from the response. The generated text will be stored in the text field of the first item in the choices array.

[AmpAnalytics ] No triggers were found in the config. No analytics data will be sent.

<script async custom-element="amp-analytics" src=""></script>

<amp-analytics type="googleanalytics" config="" data-credentials="include">
<script type="application/json">
    "vars": {
                "GA4_MEASUREMENT_ID": "G-XXXXXXXX",
                "GA4_ENDPOINT_HOSTNAME": "",
                "DEFAULT_PAGEVIEW_ENABLED": true,    
                "GOOGLE_CONSENT_ENABLED": false,
                "WEBVITALS_TRACKING": false,
                "PERFORMANCE_TIMING_TRACKING": false,
                "SEND_DOUBLECLICK_BEACON": false

As a small sneak-peak, this is the meaning for all the configuration switches.

GA4_ENDPOINT_HOSTNAMEOverride the default endpoint domain. In case you want to send the hits to your own server or a Server Side GTM Instance.
GOOGLE_CONSENT_ENABLED&gcs parameter will be added to the payloads with the current Consent Status
WEBVITALS_TRACKINGIf you enable this a webvitals event will fire 5 seconds after the page is visible
PERFORMANCE_TIMING_TRACKINGWhatever you want to push a performance_timing event including the current page load performance timings
DEFAULT_PAGEVIEW_ENABLEDIf enabled a page_view event will fire on the page load

What Is The Meaning of “Put A Cork In It” Idiom

Put A Cork In It used as a rude way to tell someone to stop talking and especially to stop complaining or talking.

Chiefly US informal for telling someone to stop talking or going on about something, dates from the early 1900s, from the obvious allusion to closing off a bottle with a cork. See also Corker.


  1. Why don’t you put a cork in it! I’m sick of your whining!
  2. Dad told me to put a cork in it when I wouldn’t stop talking.
“Put A Cork In It!”

To stop talking and be quiet. Usually used as an imperative. Put a cork in it, you two! I don’t want to hear any more arguing until we get to Grandma’s house.

Source: Wikipedia

Synonym of put a sock in it (“be quiet”)

2 cork /ˈkoɚk/ verb

corks; corked; corking

Britannica Dictionary definition of CORK

[+ object]

: to close (something, such as a bottle) with a cork

  • Please cork the wine.
  • corked bottle of wine

— opposite uncork; see also corked

: to put cork inside (something, such as a baseball bat)

  • a player who has been accused of illegally corking his bats
  • corked bat

IDCloudHost Voucher Promo Rp. 25,000.-

PT Cloud Hosting Indonesia (IDCloudHost) Merupakan Salah Satu Web Hosting Provider yang Ada di Indonesia dengan Menawarkan Layanan Seperti Pendaftaran Domain, Cloud Hosting, Server (VPS & Dedicated Server), Reseller Domain & Hosting, dan Beberapa Layanan Lainnya.

Link Voucher Promo IDCloudHost

IDCloudHost (PT Cloud Hosting Indonesia) adalah penyedia layanan Web Hosting Provider berbasis SSD Cloud Hosting yang mempunyai tujuan untuk selalu menjaga website tetap hidup dan cepat di akses dari berbagai negara. Saat ini tersedia Beberapa Data Center Utama yang dapat Anda gunakan dengan berlangganan menggunakan layanan Kami.

Install PHP 8.2 on Ubuntu with Nginx

PHP 8.2 is work well with WordPress, i tested already on my site



sudo apt update && apt upgrade -y
sudo add-apt-repository ppa:ondrej/php
sudo apt update
sudo apt install php8.2 -y
sudo apt-get install -y php8.2-cli php8.2-common php8.2-fpm php8.2-mysql php8.2-zip php8.2-gd php8.2-mbstring php8.2-curl php8.2-xml php8.2-bcmath php8.2-pgsql

1. Run system updates

The first thing to do in a new system is to update our repositories in order to make them up to date. Run upgrade command also.

sudo apt update && apt upgrade -y

2. Add Ondrej sury PPA repository

To run PHP 8.2 on Ubuntu 22.04, we need to add Ondrej sury PPA into our system. This is the maintainer of the PHP repository at the moment. This PPA is not currently checked so installing from it will not be guaranteed 100% results.

To add this PPA use the following command on our terminal.

sudo add-apt-repository ppa:ondrej/php

After installation is complete we need to update the repositories again for the changes to take effect.

sudo apt update

3. Install PHP 8.2 on Ubuntu 22.04

We should now be able to install PHP 8.2 on Ubuntu 22.04 Linux machine. The commands to run are as shared below:

sudo apt install php8.2 -y

Check for the currently active version of PHP with the following command:

php --version

4. Install PHP 8.2 Extensions

Besides PHP itself, you will likely want to install some additional PHP modules. You can use this command to install additional modules, replacing PACKAGE_NAME with the package you wish to install:

sudo apt-get install php8.2-PACKAGE_NAME

You can also install more than one package at a time. Here are a few suggestions of the most common modules you will most likely want to install:

sudo apt-get install -y php8.2-cli php8.2-common php8.2-fpm php8.2-mysql php8.2-zip php8.2-gd php8.2-mbstring php8.2-curl php8.2-xml php8.2-bcmath php8.2-pgsql

This command will install the following modules:

  • php8.2-cli – command interpreter, useful for testing PHP scripts from a shell or performing general shell scripting tasks
  • php8.2-common – documentation, examples, and common modules for PHP
  • php8.2-mysql – for working with MySQL databases
  • php8.2-zip – for working with compressed files
  • php8.2-gd – for working with images
  • php8.2-mbstring – used to manage non-ASCII strings
  • php8.2-curl – lets you make HTTP requests in PHP
  • php8.2-xml – for working with XML data
  • php8.2-bcmath – used when working with precision floats
  • php8.2-pgsql – for working with PostgreSQL databases

What Is Ordnance in Apex Legends?

Ordnance in the game Apex Legends is a small weapon that can be thrown at enemies to get damage. Ordnance Apex can be found in Supply Bins, floor loot, and Loot Ticks. There are 3 main Ordnance Apex that can be used, namely Arc Star, Frag Grenade, and Terminate Grenade. To make it clearer, see the information one by one below.

Arc Star

Arc Star is a combination of stick bombs and shuriken. This weapon can be thrown at the enemy. If it hits the enemy, Arc Star will deal 15 damage. After that, within three seconds it will explode and cause 75 damage.

  • Deals 10 impact damage and up to 75 explosion damage in an 8.75 m explosion radius, with a 1.8 m inner radius. Slows those affected for up to 5 seconds.
  • Projectile launch speed is faster than the other grenades (2200 UPS instead of 1300 UPS).
  • Damages and destroys doors. Also, it disables the Trident for a very short amount of time.
  • Thrown to Squadmate will be bounced off to either left or right direction.
  • The explosion’s “splash” damage decreases with distance from the Arc Star itself so plan accordingly.
  • If you come across extra high-tier armor such as Epic or Legendary ones and you or your squad don’t need it, equip an Arc Star, look at your feet and throw the Arc Star on the ground. You’ll break your armor, but now you can swap to the new extra armor. Thus, leaving a broken armor on the ground for an enemy to potentially pick up or be forced to heal it.
  • Some legends can shake the stuck Arc Star off by activating their ability. For example,  Into the Void by Wraith and  Phase Breach by Ash.

Frag Grenade

Frag Grenades are bombs that can be thrown at enemies. Frag Grenades take as much as 4 seconds after the pin is removed to explode.
Frag Grenade will produce damage ranging from 1-100 if it hits the enemy. However, this damage depends on the enemy’s distance to the location or position of the weapon explosion. The closer the greater the damage generated.

  • Deals 10 impact damage and up to 100 explosion damage in an 8 m explosion radius, with a 2.4 m inner radius.
  • Damages and destroys doors.
  • Frag Grenades also can bounce or roll on the environment before detonating. This can be used to hit enemies around a corner
  • Frag Grenades can be used to force enemies out of cover.
  • Looking up and throwing a Frag Grenade directly up in the sky will have it fall directly back where you’re currently standing in the next 3 seconds and explode on impact. This is great if you’re outside a door and someone is about to break it down on the opposite side or do this if you’re being chased while running.
    • This will not work with Fuse unless the throw power is disabled, as the grenade will explode in mid-air.

Terminate Granades

The last ordnance apex is the Terminate Grenade which functions similarly to Molotov. So when you throw the Terminate Grenade, it will produce a horizontal wall of fire. Creates a horizontal wall of flames.
Anyone who is hit by the fire will receive as much as 25 damage for more than 3 seconds and can stack up. So the longer you stand in the Terminate Grenade area, the greater the damage you will receive.

  • The wall is 6 m long and is horizontal, perpendicular to the direction it was thrown from.
  • Deals 4 damage per tick when standing in the flames, and applies an over-time burn effect that lasts for 25 damage.
  • Bypasses the  Knockdown Shield.
  • Damages and destroys doors.
  • The wall of flames lasts for 8 seconds after impact with the ground.
  • Can be used to increase the fire rate of the Rampage LMG.
  • It can be useful to seal off an enclosed area such as a doorway to prevent enemies from pushing a position, as well as a mild way to break the line of sight of an enemy.
  • If an enemy is body blocking a door, you can throw a Thermite at the bottom of the door. It will destroy the door and burn the enemy.
  • Can be useful against an enemy raising their  Knockdown Shield, as raising the shield slows them and forces them to take more damage from the flames.


  • Grenades and regen items are both classified as “consumables” in the Death Box.
  • Fuse can hold two grenades, instead of one, and will take a stack of two grenades if he uses Loba‘s  Black Market Boutique.

That’s an explanation of the apex ordnance that you need to know when playing the Apex Legends game. May be useful.

Buy Baggage Cheaper in Traveloka Or Direct To Airlines?

Comparing Extra Baggage Price between Traveloka VS Scoot

Traveloka Extra Baggage PriceScoot Extra Baggage Price
40 kg – Rp. 2,020,594.0040 kg – Rp. 1,158,069.00

Baggage Allowance That Suits Your Needs No more rearranging your stuff at the airport to avoid additional baggage charges. Whether you are in the middle of booking your flight or already have an e-ticket, you can now select your preferred baggage allowance at Traveloka. So get that travel checklist out and make sure to pack everything you need.

When traveling far for a long period of time, it’s likely that we carry more baggage. We may even end up with more suitcases upon our return, thanks to all the souvenirs we bought for our friends and family. It is no wonder to find our baggage exceeding the limit allowed by the airline.

Airlines usually provide a free baggage allowance for each passenger. However, the amount can be different for each airline. Some may give a free allowance only for cabin baggage, some may give a free allowance for checked baggage. The free checked baggage allowance itself can differ between airlines, ranging from 15 – 35 kilograms per passenger, depending on the type of airline and the flight route.

However, since passengers often need an extra baggage allowance, many popular airlines offers Extra Baggage Allowances to their passengers. This is to prevent the high additional charge due to excess baggage. This extra baggage allowance is offered in packages, so passengers can buy it at a more affordable price compared to paying the excess baggage load per kilogram.

AirAsia baggage service, for example, offers packages of 15, 20, 25, 30, and 40 kilograms of Extra Baggage Allowance. The AirAsia Extra Baggage Allowance is available for their domestic and international flights, with varied prices depending on the route, schedule, and travel period.

Passengers can buy Extra Baggage Allowances prior to flying from the airline’s website or application, or from online ticket booking services such as Traveloka. Extra Baggage can be purchased up to 12 hours before departure except for VNA, up to 24 hours, or at the same time during flight ticket bookings, depending on the policies of each airline. However, at Traveloka, passengers can buy the necessary baggage allowances together with their flight tickets.

So if you can anticipate that your baggage would exceed the free baggage allowance provided by the airline, buying an Extra Baggage Allowance as early as possible is always a good idea. This is also important to avoid inconveniences during your check-in process only because you have to pay an extra charge for your excess baggage.

By buying an Extra Baggage Allowance before your flight, you will be able to proceed through check-in smoothly. In addition, you will also feel comfortable throughout your flight even with a lot of baggage in tow.

When you married me, you married a man and you married a curse

I regret marrying you, Lizzie. Cause I’ve put you through so much. I’ve put you through all of this. Ruby. Everything that is to come. When you married me, you married a man and you married a curse. You have shared my fate. That is my regret. But know this, Lizzie. In this moment, in this room… I love you.

Thomas Michael Shelby OBE DSM MM MP