Overload CSS `cursor: wait` page wide with jquery

04 December, 2018

Problem:

undefined

You probably want to tell users on your page to wait for something important that is happening in the background. Most likely performing asynchronous page calls, calculations, DOM manipulation etc...

But just like any CSS property, the nested elements override the parent's property. This is troublesome if you have a lot of buttons and custom cursors in your style.

Tropico 6 with 1GB graphics card

29 October, 2018

The steam store page of Tropico 6 states that the minimum amount of RAM of the graphics card should be 2GB.

However I was surprised that my GTX750 with only 1GB of RAM managed to play the game quite smoothly. Do note I had to turn the settings down to an average of medium to high, and accept the fair resolution of 1600x900.

On these settings I achieved a comfortable 50 - 60 fps, which is pleasing enough if you don't want to upgrade your card and just enjoy the game. Lowering the resolution noticeably improved the frame rate, but the final image becomes blurry, even with full anti-aliasing.

The limiting factor of playing on a 1GB card is the resolution.

TL;DR

Yes, playable!
On GTX750 1GB:

  • max resolution 1600*900
  • medium settings
  • average fps 50-60

Counter-Strike: Global Offensive serverevents.res

19 October, 2016

Counter-Strike: Global Offensive 'serverevents.res' file.

Updated 19/10/2016

Counter-Strike: Global Offensive 'gameevents.res'

19 October, 2016

Counter-Strike: Global Offensive 'gameevents.res' file.

Updated 19/10/2016

Counter-Strike: Global Offensive modevents.res

19 October, 2016

Counter-Strike: Global Offensive 'modevents.res' file.

Updated 19/10/2016

PHP milliseconds timestamp as an integer

05 June, 2016

There is no native function for a unix timestamp in milliseconds, only 'time()' which returns seconds since epoch and 'microtime()', which returns microseconds since the current second. Although you can use 'microtime(true)', but it returns a float that can not guarantee precision. Or just 'microtime()' and explode the string.

Home ← Older posts