Netflix’s Cyberpunk Edgerunners


I just finally watched Edgerunners via Netflix.
My opinion would most definitely be biased due to being a Cyberpunk 2077 player, BUT I have to say the animation and color/styles they used was enjoyable and artsy.  Dark story all the way, just the way it was supposed to be.

Low Poly Earth

Todays’ Blender study/practice.   Low poly earth.
Skills learned:
– Link materials
– “.”(period) shortcut
– Rotate zz/xx/yy to transform locally
– Snap to faces

Mobile detect method via php

https://www.codexworld.com/mobile-device-detection-in-php/

// Check if the "mobile" word exists in User-Agent 
$isMob = is_numeric(strpos(strtolower($_SERVER["HTTP_USER_AGENT"]), "mobile")); 
  
// Check if the "tablet" word exists in User-Agent 
$isTab = is_numeric(strpos(strtolower($_SERVER["HTTP_USER_AGENT"]), "tablet")); 
 
// Platform check  
$isWin = is_numeric(strpos(strtolower($_SERVER["HTTP_USER_AGENT"]), "windows")); 
$isAndroid = is_numeric(strpos(strtolower($_SERVER["HTTP_USER_AGENT"]), "android")); 
$isIPhone = is_numeric(strpos(strtolower($_SERVER["HTTP_USER_AGENT"]), "iphone")); 
$isIPad = is_numeric(strpos(strtolower($_SERVER["HTTP_USER_AGENT"]), "ipad")); 
$isIOS = $isIPhone || $isIPad; 
 
if($isMob){ 
    if($isTab){ 
        echo 'Using Tablet Device...'; 
    }else{ 
        echo 'Using Mobile Device...'; 
    } 
}else{ 
    echo 'Using Desktop...'; 
} 
 
if($isIOS){ 
    echo 'iOS'; 
}elseif($isAndroid){ 
    echo 'ANDROID'; 
}elseif($isWin){ 
    echo 'WINDOWS'; 
}

Fix: IIS not loading Unity WebGL project (stuck loading)

  1. Add the following to the web.config file.
<system.webServer>
 <staticContent>
 <mimeMap fileExtension=".mem" mimeType="application/octet-stream" />
 <mimeMap fileExtension=".data" mimeType="application/octet-stream" />
 <mimeMap fileExtension=".memgz" mimeType="application/octet-stream" />
 <mimeMap fileExtension=".datagz" mimeType="application/octet-stream" />
 <mimeMap fileExtension=".unity3dgz" mimeType="application/octet-stream" />
 <mimeMap fileExtension=".jsgz" mimeType="application/x-javascript; charset=UTF-8" />
 </staticContent>
 <urlCompression doStaticCompression="true" doDynamicCompression="false" />
 </system.webServer>

Back from break

I have kept with my studies on and off, but got in a dilemma on what I want to code next…
Let’s make it clear that I did finish my very first IOS app, distributed privately.
UI part is not looking good, but it is functional and so far bug free.
Speaking of bugs, I found a bug with my first windows app the “ArcheAge Calculator”
Found a quick and dirty? fix.

What’s next on the table.
– Recode the entire bucket list/todo app once .NET MAUI GA is released. SOON!
– Start working on a portfolio with my future projects via github, and my very own blazor published website

Now I need to figure out whether to keep hosting asp.net on the Windows VPS I pay roughly $50USD for, or to migrate and start using Azure?

Todo mobile app progress


Done with:
– Web API to hand out JWT bearer token to limited user
– Mobile app to authenticate user, retrieve Token via API
– Mobile app to save bearer token, and load for httpclient calls
– A way to add token in the httpclient header
– Save login username in preferences.
– Save password securely encrypted locally
– Data Binding to <CollectiveView.ItemTemplate>
– Figure out how to convert DateTime binding data to Date string

Left with:
– Add pages to display category specific Todos
– Add a page to create a new Todo in database
– Checkbox selection to Update data in database
– Checkbox selection to Delete data from database
– Add internet connectivity check before communicating with API
– Return user to login if Token is expired
– Learn QueryAsync, UpdateAsync, DeleteAsync

– Touch up UI
– Testing anything and everything on iphone

Got my token to store/load.

I thought a basic Todo app would be a walk in the park, but having to implement securely storing bearer tokens wasn’t on my mind.
Done with:
– Web API to hand out JWT bearer token to limited user
– Mobile app to authenticate user, retrieve Token via API
– Mobile app to save bearer token, and load for httpclient calls.

Still left with:
– Save certain fields in local preferences storage which aren’t a security risk
– A way to add token in the httpclient header
– Design UI for todo app
– Testing, and release.

The final piece of Daniel Craig. No Time To Die


I’ve only really watched the bond series from the 90’s, but I enjoyed Daniel Craig’s wild version of James Bond over its predecessor. Don’t have much to say about the newly introduced characters in the finale of its series, but the satisfaction is there with a nice concluded story for James Bond.
Also, Billie Eilish killed it for the theme!

No Time To Die延期の延期を終え、やっと映画館で見れた。新規登場人物は色々思うところはあるけれど、ちゃんと完結してスッキリするような作品になってるね。次のBondはいつになるだろうか、誰が演じるのか?!楽しみ。
テーマ曲を担当したビリー・アイリッシュ。Bondシリーズにぴったり。

MVC or MVP or MVVM

MVC ? MVP? MVVM? Which should I use for each project?
Yeah, I get it. Depends on the scope of the project.
After programming for a few months, I am still not comfortable with what to use.
Figured out that for web api’s, it’s common or simpler to stick with MVC.
Other than the above, I’ll just revisit this diagram when I’m a lost lamb.