Image

One Paint.net Work I Just Did

12 Oct

I was really sad and disappointed to find out that Sylhet Cadet College, my Alma Mater, does not have a clean monogram published anywhere. If you want to show off, Wikipedia or Facebook is not gonna be of any help. Only thing there is a very low res image of it with extreme artifacts due to compression.

So I started off with the image I got from Wikipedia and see how far I could get to clean it. I have not done this sort of stuff, but I think it turned out pretty nice. Modern tools are amazing!

Continue reading

Advertisements

Don’t Send a Pin to Do a Text’s Job

9 Apr

Modern messaging clients are pretty amazing. They let you send things like picture, audio, video, and all of them natively viewable within the thread. They also let you sent one other thing, your location, you can send it as your GPS co-ordinates, or as a pin on you map app. Please don’t do that.

Please Don’t Send A Pin.

Here’s why you should not send a pin when someone asks for an address.

  1. The person asked for an address, so just send that. That should be the end to it really.
  2. You have no idea what phone/OS/messaging client the person using, and if it can properly handle a map pin.
  3. There is a much greater chance that it’ll recognize address written in text as an address and handle it as such.
  4. If the destination is a packed neighborhood, a pin can easily direct you to wrong house.
  5. If it’s your address, it should be on the tip your tongue/finger and you can just type it.
  6. Address written in text is universally readable, a pin is not.
  7. I can easily copy-paste address written in text into contact, a pin I cannot.

Of course if the location is inside a forest/national park type of place where an address is non-existent, feel free to send a pin, but know when not to. Most of the times, if asked for an address, don’t send a pin, send the address.

A World full of Aspect Ratio

1 Apr

What is aspect ratio you ask? It’s the ratio between your TV, laptop, tablet, or your phone display’s width and height. Aspect ratio is easily identified by maximum resolution of a display, if you reduce a 1080p display’s resolution 1920/1080, you get 16/9 or the aspect ratio 16:9.

So, what’s this about world full of aspect ratio? While 16:9 has dominated the display market for the past decade or so, it was never quite alone. 16:10 never quite went away, mobile market has seen both 15:9(Nokia Lumia) and 3:2(iPhone), and PC gaming is seeing a huge demand for 21:9 display in recent days. While having different aspect ratios is great for filling every niche in market, it makes it difficult to compare display sizes. A 27” 16:9 display is actually bigger than a 29” 21:9 display, a 5.7” LG V20 with a 16:9 display is bigger than a 5.7” LG G6, which has an 18:9(2:1) display or even a 5.8” Galaxy S8. And it’s not just total area, different aspect ratio also means different device width on a phone, or a different device height for a pc display.

Galaxy S8 has the same display width as a regular 5.2” display phone. A 29” 21:9 display has the same display height as a regular 23” display.

These properties actually make these great choices if they fit your need. As a matter of fact, I am writing this on a 21:9 29” display, it’s amazing for gaming. And the reduced width makes Galaxy S8 much easier to hold than its diagonal size would make you think. But the point of me writing this is that people should know what they are getting, and if you’re reading this I assume you’re the type who likes to know what you are getting.

Diagonal Resolution X Resolution Y Width Height Area
23” 1920 1080 20.05” 11.28” 226.04”
27” 2560 1440 23.53” 13.24” 311.50”
29” 2560 1080 26.72” 11.27” 301.19”
5.7” 1440 2560 2.55” 5.10” 13.00”
5.7” 1440 2880 2.79” 4.97 13.88”
5.8” 1440 2960 2.54” 5.22” 13.23”
5.2” 1440 2560 2.55” 4.53” 11.55”

There is a formula for that, it’s not that hard really, some basic trigonometry can get you here. All I did was make it into an easily pluggable format. You’ll remember I said that the resolution will give you the ratio, which in trig is Tangent value, so adding the diagonal to the mix we can figure out the display’s height and width. And the area is just multiplication, which looks like this,

area

Of course for our purpose we need separate equation for height and width. So,

 

height

Which in MS Excel terms, (SIN(ATAN(resY/resX)))*diagonal

width

Which in MS Excel terms, (COS(ATAN(resY/resX)))*diagonal

Happy hunting! 🙂

GameDev Checklist

29 Nov

Good heavens! Is this what you call a AAA game?

We all understand making a game, that is designated AAA, is difficult. And they cost a lot of money. So I am just going to skip over a lot of thing I don’t like such as poor graphics, poor optimization, frame rate lock. Because either they are too complicated for me to fully understand and talk about, or the discussion would be too long for me to stay interested at this late hour.

What irks me are some little things. After all these years in the history of video game, it should be fairly easy to gather how these things should be.

  • Let me skip the intro videos! Maybe not just by hitting a button just one time, you don’t us to miss the videos by accident, I understand that. But do something like long press a button. But please let us skip it.
  • Let the game run at any resolution or aspect ratio. Seriously! Why are you so intent on punishing people for having something extra? 21:9 is a runway success among gamers, but even at 2017 we have games having trouble with it. You may want to do this much for your paying customers.
  • Save games. What is it with save game files and game developer/publishers! Why do they feel the desperate need to hide save files in the most godforsaken corner of my hard drive? I first played NFS Most Wanted in 2006, and even now I can install it and just pick my profile and career, same for Elder Scroll Skyrim. But that amazing comfort is found in less and less games as the save files are moved from the relative security of My Documents to locations that even an moderately advanced users have trouble finding, much less an average one.

As I said before, I believe these issues are extremely annoying and similarly believe them to be extremely easy to fix. I myself fail to see much real benefit from doing these. They don’t accomplish much except for making the life of the gamer harder. So please have some heart and stop doing them!

Windows Calculator Keyboard Shortcuts

16 Apr

Q: x2

E: Exp

R: 1/x

T: tan

Shift+T: tan-1

Ctrl+T: tanh

Ctrl+Shift+T: tanh-1

Y: x^y

O: cos

Shift+O: cos-1

Ctrl+O: cosh

Ctrl+Shift+O: cosh-1

P: pie

S: sin

Shift+S: sin-1

Ctrl+S: sinh

Ctrl+Shift+S: sinh-1

L: log

X: Exp

V: Toggle engineering mode

N: ln

M: dms

Enter: =

Del: CE

Firefox Search-box Results in New Tab

24 Dec

Firefox debuted and rocketed off to become a favorite browser among power users because of how customizable it is, and to this day it stays true to that reputation. Different users use their favorite differently, and I would assume there might be someone who would want a search result gotten from the search box to show in a new tab instead of current tab as it still might have page user is interested in. Thankfully there is a way in Firefox to achieve that.

  • You would have to go to the page “about:config”
  • Agree to the scary warning.
  • Search for “search”
  • Find the entry for “browser.search.openintab”
  • Double click on it to change the entry to,

 

Happy searching!

Outlook.com –> Google –> Inbox

24 Oct

However Google wants to package it, to any Outlook.com user it should be fairly obvious Google’s Inbox is an answer to Microsoft’s oft lauded, newly rebuilt webmail. Both share some very good quality, namely some level of automation, control over said automation, and a far cleaner interface than what they respectively replaces.

But I could not help but notice something in Google’s behavior concerning Inbox. Google could be called “The Internet Company”, so I find it pretty weird that they rolled out Inbox in an invitation only method. While Google has more than once used invitation in past, I would have imagined they have moved past it, specially that invitation is often associated with limited backend capability, such for Ello, or in case of hardware, OnePlus One. Add to the fact that, when Microsoft launched Outlook.com, all  I had to do was go to Outlook.com.

Second thing I find weird is that even when I got my invitation, I had to activate by logging into Inbox app, specially when the app is not available on Windows Phone. Hmm. Google might try its hardest, but Windows Phone or soon just Windows, is here to stay. So making it hard for Windows Phone users such as myself is pretty pathetic.

Last but not least, Inbox’s web interface is only available on Chrome. Come on! That’s just sad. The open standard loving Google is nowhere to be found nowadays.

I like Inbox, I really do. I am unlikely to switch as it does not seem to offer anything Outlook.com does not, but Gmail users should be happy. I just wish Google would stop taking potshots like I mentioned.