How to properly call a function from a trigger in Arma 3.

Calling a function from a trigger in Arma 3 can be very tricky, this is how I managed to do it. commanderDead = { [’task2′,’SUCCEEDED’] call BIS_fnc_taskSetState; { _x setMarkerPos getPos house1; } forEach ["hqMarker", "hqCircle"]; [player, player, opfor, ["LOP_AFR_OPF_Infantry_IED","LOP_AFR_OPF_Infantry_Corpsman","LOP_AFR_OPF_Infantry_GL","LOP_AFR_OPF_Infantry_Rifleman_4","LOP_AFR_OPF_Infantry_Rifleman_4","LOP_AFR_OPF_Infantry_AR_Asst_2","LOP_AFR_OPF_Infantry_AT","LOP_AFR_OPF_Infantry_Rifleman_8","LOP_AFR_OPF_Infantry_Rifleman_5"], 16, 120] spawn BIS_fnc_spawnEnemy; private _attack = [] spawn KER_fnc_attackers; };   man2 = createTrigger … Read more

Internet infrastructure needs to be upgraded in the wake of the Corona virus pandemic.

The Internet infrastructure in Australia is lagging behind the rest of the world. Due to a multiplicity of problems with the Internet, it will be under greater strain due to the multitude of workers choosing to stay at home and work from there. Instead of working in a closed building with others, the work could … Read more

How to read the time from a Digital TV card with Linux. This is easy.

To read the system time from a Digital TV transmission, the tuner card installed in your machine must firstly be tuned to a channel. Then execute this command in a terminal. localhost% dvbdate Mon Apr 17 01:15:33 2017localhost% dvbdate Mon Apr 17 01:15:33 2017 This will read the time from the digital TV transmission and … Read more

Astronomers discover furthest galaxy from the Earth. 13.3 billion light-years away from us.

Astronomers have found the furthest galaxy from the Earth, this one is 13.3 billion light-years from Earth; meaning that the light from this galaxy has been traveling for just about the entire history of our known universe. Of course this galaxy would no longer exist now; the stars within would have burned out and the … Read more

How to connect to a Windows machine using RDP from a Linux machine using bash.

The rdesktop utility for Linux allows easy remote desktop access from a Linux machine. Type: sudo apt-get install rdesktop to install this useful utility and then type: rdesktop 192.168.100.5 to connect to a remote machine. Specify the username with the -u parameter: rdesktop -u homer 192.168.100.5. If you wish to use RDP in full-screen; enabling … Read more

How to use mplayer to rip the sound from a video and create a wav file that you can encode with lame.

This is the command I just used to rip the audio from a movie and save it as a wav file. Then the lame command is used to encode the wav into an mp3 file. john@adeptus-mechanicus ~/Music $ mplayer -ao pcm:fast:file=out.wav -vo null -vc null video.mp4 && lame -h -b 320 out.wavjohn@adeptus-mechanicus ~/Music $ mplayer … Read more

How to boot an Ubuntu ISO without a thumb drive or a CD. Read more to find out.

I was wanting to try out an older version of Ubuntu on my netbook; but I did not want to write the ISO image to a thumb drive to boot it; therefore I copied the ISO image to a subfolder of my /boot folder; /boot/iso and then I added this section to my /etc/grub.d/40_custom file … Read more