Blabberbox:Random blog-like posts from pftq.Share on Twitter

Frequency of Winning Hands in Poker

October 3rd, 2021 | Posted by pftq in Blabberbox | #
Some interesting stats on how often hands show in Texas Hold'em #poker w/ 8 players after running 1 million games on a simulator I wrote for fun.  It's counterintuitive, since having 1 pair win is less frequent than 2-pair, trips, straight, flush, and full-house.  Winning w/ top card is actually rarer than straight flush with only 40 games.  So pretty much you should expect two-pair or better in most games played to the river and be more suspicious of trying to win with top pair or high card.  It also means if someone is playing with friends at a table, they can end up dominating if they play every game out to the river.

8 Players Played to the River:
Two pair: 260263 (26%)
Straight: 199774 (19%)
Three of a...[More]
182 unique view(s)

Asura's Wrath OST

August 29th, 2021 | Posted by pftq in Stuck in My Head | #
Asura's Wrath OST by Chikayo Fukuda
114 unique view(s)

Playing Canasta Again

June 24th, 2021 | Posted by pftq in Blabberbox | #
Playing Canasta again for the first time in ages since Yahoo Games went down.  Still winning most my games with no contest and remembering the last 10+ cards played.  If anyone wants to 1v1, I'm on Canasta-Palace.com Grin



Edit: And made it to 5-stars rating in one day. Bahaha!


186 unique view(s)

Man vs Reflection

May 22nd, 2021 | Posted by pftq in Stories | #
Guy punches himself in the mirror and hurts his fist.  He gets pissed, punches his reflection's face, and knocks himself out.

- a dream I just woke up from. If anyone wants to do this as an animation on commission, let me know lol
141 unique view(s)

Quantopian vs Tech Trader

April 19th, 2021 | Posted by pftq in Blabberbox | #
So many people over the years kept asking why I didn't just build @TechTraderAI on Quantopian (besides the technical impracticalities), and here is the answer.
https://www.bloomberg.com/news/articles/2020-12-16/quant-trading-platform-quantopian-closes-down

Some posts still online (example Reddit), but mostly in-person and at conferences/events.  

Especially after Adobe used a killswitch on everything built on Flash, the last thing you want to do anymore is make anything important on someone else's platform where you are dependent on them to keep things running.

Funny to think only 6 years ago I was naively trying to share everything like candy.  Different times for sure.
220 unique view(s)

Send As From Google Group

April 6th, 2021 | Posted by pftq in 42 | #
Below are steps so that, from your personal email account, you can "send as" from the same email address as that used in a Google Group under a business account.  The information is not really spelled out anywhere, so I'm writing this down for future reference.

1.  Login to the business account primary email (the owner / admin).
2.  From Gmail, go to Settings > Accounts and Import > Send mail as.  Add the Google Group address here once.
3.  Login to your personal email account in Gmail, which should also be a member of the Google Group to receive messages.
4.  Go to Settings > Accounts and Import > Send mail as.  Add the same Google Group address here again.

For the login credentials, you'll need to use a user email (non-Google group) from the domain of the business and for password, it needs to be an app password generated specifically for this.
467 unique view(s)

Nothing Lasts Forever

February 2nd, 2021 | Posted by pftq in Stuck in My Head | #
Nothing Lasts Forever by Benjamin Walfisch (@benwallfisch)
189 unique view(s)

Kagerou Project on Guitar

December 24th, 2020 | Posted by pftq in Stuck in My Head | #
Kagerou Project on Guitar Cover by Osamuraisan (@niconicosamurai)
204 unique view(s)

Vocaloid Piano Covers

December 24th, 2020 | Posted by pftq in Stuck in My Head | #
Vocaloid Piano Covers by tjpiano (@tojio_)
180 unique view(s)

Million Medley

December 12th, 2020 | Posted by pftq in Stuck in My Head | #
Million Medley by marasy8 (@marasy8)
183 unique view(s)

Drifting

December 8th, 2020 | Posted by pftq in Stuck in My Head | #
Drifting by Kristen Personius
188 unique view(s)

The Love of a Dunmer

December 4th, 2020 | Posted by pftq in Stuck in My Head | #
The Love of a Dunmer by Bosa (@JonBabbLiberty)
172 unique view(s)

Jet Set Radio Future OST

November 27th, 2020 | Posted by pftq in Stuck in My Head | #
Jet Set Radio Future OST by Hideki Naganuma (@Hideki_Naganuma)
175 unique view(s)

Yorushika Piano Full Medley

November 17th, 2020 | Posted by pftq in Stuck in My Head | #
Yorushika Piano Full Medley arranged by Polalice Alvireo (@PolaliceAlvireo)
181 unique view(s)

Past Becomes Myth

September 20th, 2020 | Posted by pftq in Stories | #
1. Kid watches people fly on TV. Parent: "Humans can't actually fly. Our bodies are too heavy. It's just a myth."
2. 1000 yrs later... Extremely fat kid watches people run on TV. Parent: "Humans can't actually run. Our bodies are too heavy. It's just a myth."
=======================================
Just a random idea for a comic that came to mind.
(but I do secretly believe we used to be able to fly)
249 unique view(s)

Nameless

September 20th, 2020 | Posted by pftq in Stories | #
Another mystery/horror story that came as a dream (and somewhat terrifying one at that)...

----------------------------------

A group of friends are traveling to a new city and staying there for a bit. It is a tropical beach city - a sandy, walkable, small town with low-rise, shack-like residences.  They play video games as a team online the first night and joke about why they bother to name the group if they can't beat anyone yet.  After midnight, they order food delivered on GrubHub, since it's too late to go out and fall asleep after eating.

The next morning,...[More]
292 unique view(s)

Unreal Engine 4 Notes

May 16th, 2020 | Posted by pftq in 42 | #
General notes and things I wish I knew as I delved deeper into #UE4:
- Package build by default includes unused assets, which can bloat the size of your game.  Go to Project Settings -> Packaging -> List of Maps to package only assets referenced by that map.  To be more aggressive and reduce unused assets in general (or to keep smaller backups), right-click your map and Migrate to a new project to create a new folder with only the assets used in your game.  More tips on this here.
- Shipping build will give you an instant 10-15 FPS increase, if you're trying to squeeze performance (ie for VR).  However, it disables using command line arguments (such as to create listen servers); the way to get around that is to build both shipping and dev in the same folder.  You can then create shortcuts to target the shipping or dev exe file depending if you want to launch server or client version of the game.
- Do not use numbers in the project folder name.  Otherwise builds will fail to run.
- Do not use Duplicate, as it moves the object slightly.  Use copy+paste.
- Never use...[More]
816 unique view(s)

Sims 3 Generations Build Mode OST

April 25th, 2020 | Posted by pftq in Stuck in My Head | #
Sims 3 Generations Build Mode OST by Steve Jablonsky (@jablonsky_steve)
217 unique view(s)

Programming for Holidays

April 12th, 2020 | Posted by pftq in 42 | #
In case anyone finds it useful, this is the code I use to automatically detect US holidays.  I don't claim credit for it - added bits and pieces over the years from various sources until it was complete enough that I didn't have to worry about it anymore.

[code]
        public bool isHoliday(DateTime date)
        {
    ...[More]
517 unique view(s)

Black Screen After RDP

February 16th, 2020 | Posted by pftq in 42 | #

Getting a Black Screen Trying to Login After a Remote Desktop Session


I recently started on occasion having a black screen come up when logging in.  This happens if I previously signed into Windows remotely.  The mouse is gone, keyboard does not work, etc.  It turns out this is caused by Nvidia's GeForce Experience ShadowPlay.  Disabling Shadowplay stops this from happening.

More details here:
https://superuser.com/questions/1026423/windows-10-black-screen-after-local-login-and-previous-remote-desktop-session
552 unique view(s)