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

No More Outsourced Teams

January 27th, 2019 | Posted by pftq in Blabberbox | #
Why I'll never outsource my ideas again - tired of teams thinking it fair if I pay everyone's salary out of pocket + give up half equity. I get 100% of the risk while they get zero risk + salary + half upside. Their worst case is getting paid and moving onto the next client, while mine is losing everything and starting over.
246 unique view(s)

Run and Record Games on VM Server

January 23rd, 2019 | Posted by pftq in Blabberbox | #
More a reminder for myself how to set up a remote server/vm like Azure to run and record games.  Otherwise, you'll run into issues like lack of GPU/DirectX or no sound.

1. Create a VM with Windows 10 and a GPU (for Azure, it is the NC series).
2. If your GPU is a Tesla, make sure to install Nvidia drivers and enable graphics rendering on it.
3. Install VB-Audio virtual sound card to be able to capture sound from the game.
4. If an Unreal Game, most likely you'll need .NET 3.5, which needs to be enabled from "Turn Windows Features On or Off."

Once this is all done, you can run the game as you would at home and use GameDVR (Win+G) to record.  One thing I haven't figured out yet is how to keep the recording going if your Remote Desktop window closes (but server still running).  The only work-around it seems is to have an intermediary VM always logged into the primary VM to keep the recording + audio going, which works even if you log out of the intermediary VM.  This was also reported as a bug here.  If anyone has suggestions, let me know.
249 unique view(s)

Fixing VR Controllers Out of View

January 21st, 2019 | Posted by pftq in Blabberbox | #
If you use inside-out #VR / #WindowsMixedReality headsets like @Samsung Odyssey, you'll run into the controllers glitching out when out of view (below or behind your head). In an #UnrealEngine or #Unity game, a workaround is to store the location of the controllers but avoid updating if the location moves too far from the headset (the glitching out when out of view). The rotation of each controller still works as they're based on gyroscopes instead of cameras, so you'll still want to update the rotation, just not the location which is now some absurd unusable number.

In Unreal Engine, it would look like this:


This really should be internalized into the headset driver itself, as it only makes sense to not update to a location that is physically impossible.  For now, you have to do that check yourself.
245 unique view(s)

Vue

January 20th, 2019 | Posted by pftq in Stories | #
Another story that came as a dream, ironically as a movie I was watching in the dream.
===============
The movie initially starts as a horror film about boy initially trying to escape the home of a crazed family with a murderous cyborg child.  The home is more or less a cave with no open windows or exit (all boarded up).  The parents are human but very old and clearly insane, sort of like the fake grandparents from The Visit.  The cyborg behaves more like an animal and is Frankenstein-like, with loosely pieced together scrap metal for arms, blades for hands, barely functional prosthetics for what's left of the face (doll-like eyes, unmoving lips, etc), etc.  Often it crawls on all fours or climbs the walls, staying in the shadows.  It is unclear if it was once human at all or entirely machine to begin with.  The pacing and feel is almost like a Saw movie at first, with no indication how the we arrived here or why things are.

After about...[More]
38 unique view(s)

ETC Probability

January 12th, 2019 | Posted by pftq in Blabberbox | #
Not surprised about ETC 51% attack since everything in blockchain is only "statistically impossible" (low odds) instead of true certainty. Expecting more problems like this over time. More surprised some now defend lack of certainty as a feature instead - https://coingape.com/pow-blockchain-secure-post-ethereum-classic-attack/
-----------------
In line with what I wrote before:
https://www.pftq.com/blabberbox/?page=Bitcoin_Probability
Quote
"If they're going crazy right now on how some random hashtag should be "statistically impossible," wait till two people generate the same wallet (which is not supposed to happen until the sun dies... "statistically"). #Bitcoin
https://www.coindesk.com/21e800-bitcoin-satoshi-mystery-twitter-obsessing/"
237 unique view(s)

Flax Master

January 5th, 2019 | Posted by pftq in Random Stuff | #
Recipe for the best smoothie (originally from Earthbar).  Serves 2 16 oz cups; half the amounts for 1 serving.
- 1 frozen Sambazon Acai bar (pure and unsweetened)
- 1 cup of frozen wild blueberries.
- 2 bananas (preferably still green -> more fiber, less sugar).
- 2 teaspoons of unfiltered flax oil (lignans for anti-cancer).
- 2 tablespoons...[More]
553 unique view(s)

Makeshift Sit-Stand Desk and Second Screen

December 29th, 2018 | Posted by pftq in Blabberbox | #
Surprisingly comfortable ergonomic-wise since everything from the screen position/height and keyboard/mouse are adjustable.  But the screen isn't big enough for me to see without my glasses sadly.
271 unique view(s)

Japan and Norway

December 23rd, 2018 | Posted by pftq in Blabberbox | #
Finally uploaded pictures I took in Japan and Norway last year.

Norway
Kyoto, Japan
Tokyo, Japan




187 unique view(s)

End of Adolescence

November 27th, 2018 | Posted by pftq in Thought of the Day | #
There's a feeling you get when summer hits and school is out.  When you were younger, it might have been excitement, freedom.  As you got older, it became more an interruption, an emptiness, time crawling by as you waited to see your peers again, an interlude as you waited for the next adventure. Except... on the 12th time, summer doesn't quite end.  It keeps going, no matter how long you wait. That feeling - when you're the only one still wandering the campus while everyone else had left - gradually becomes your everyday.  And at some point, you look back and realize this is the rest of your life.
253 unique view(s)

Haiiro to Ao Cover

November 17th, 2018 | Posted by pftq in Stuck in My Head | #
Haiiro to Ao Cover by Kobasolo (@kobamakolts)
256 unique view(s)

Trying to Using Google Cloud

November 14th, 2018 | Posted by pftq in Blabberbox | #
Seems there's a reason @GoogleCloud's market share trails behind Microsoft's @Azure and is nowhere near Amazon's @AWSCloud.  It's just insanely difficult to get up and running.

First is the error that I need to enable the Google Cloud service in my Admin Console, but Google Cloud is not even listed there.  The specific error is "Google Cloud Platform service has been disabled. Please contact your administrator to restore service in G Suite Admin console."



Have to contact support (which itself is a puzzle to avoid having to pay for a support plan). Enabling Google Cloud turns out to be tied to enabling Developer Console (how is anyone supposed to know that?).  They say it's a recent issue with migrations, but this StackOverflow thread shows this has been an issue for over a year at least.


Now that the service is enabled for my account, I try to spin up an instance.  If you use GPUs in your project, it then turns out you need to increase your global GPU quota (starts at zero).  Makes no sense because all of the specific non-global GPU settings already start at 1.


I try again to spin up instances, but now I keep getting "not have enough resources available to fulfill the request. Try a different zone, or try again later." Tried 6 different zones all with the same results.


Contacted support again, who suggest I not put all my instances in one zone.  I tell them this is my only instance.  And the response to that seems to basically acknowledge you can't really spin up instances at this time?


Very bizarre and frustrating experience.  It just seems like no one is even testing Google Cloud to make sure anyone can actually use it.  Or that they care if anyone can figure out how to use it.
258 unique view(s)

Enabling Graphics for Nvidia Tesla GPU in Azure VM

November 11th, 2018 | Posted by pftq in Blabberbox | #
If you're trying to use the GPUs Azure VMs for actual graphics like in game development, DirectX, or other things where the GPU has to be detected, you need to set the Tesla GPUs to WDDM mode.  By default they are in TCC, which doesn't let them be detected by the system in RDP and has graphics disabled.  Not even Nvidia control panel will see the card.

Solution is pretty quick - just a command line entry.  It can just be done in Command Prompt, no additional software needed.  Credits to the comments on Reddit here: https://www.reddit.com/r/cloudygamer/comments/7twmiq/problem_with_azure_nv6_and_nvidia_tesla_m60/

(Make sure you first have the Nvidia drivers installed, either by starting the VM with an image that has them or installing manually.)

Quote
1. Open Command Prompt.
2. Enter: cd C:\Program Files\NVIDIA Corporation\NVSMI
3. Enter: nvidia-smi -l
4. Ctrl+Break to stop the loop. Note the long 000:00:00.0 number under bus-id.
5. Enter: nvidia-smi -g <bus-id> -fdm 0
6. Reboot.

Once you're done, you'll notice Nvidia control panel will now detect the card.  DirectX applications will see it as well, etc.
273 unique view(s)

Placebo Effect on Mind

November 10th, 2018 | Posted by pftq in Blabberbox | #
Very interesting article that sounds a lot like the ideas portrayed in @MNightShyamalan's @SplitMovie
https://www.nytimes.com/2018/11/07/magazine/placebo-effect-medicine.html
214 unique view(s)

Double Tax Issue on Patreon

November 3rd, 2018 | Posted by pftq in Society | #
The Hidden Patreon Double Tax...

Would love to be shown wrong here, but as far as I've found, money on @Patreon is taxed for both patron and creator. In any other situation, only the giver or receiver is taxed, not both. Donations to non-profits are deductible, salaries of employees are deductible expense for the employer, even traditional non-Patreon patron/sponsorship arrangements are at least some form of write-off/expense for the sponsor.  But for Patreon, unless you go through the excessive effort of establishing yourself as a company with an elaborate case for how giving to artists is business-related or straight up start a non-profit organization yourself, the money you give on Patreon is going to be from income you paid taxes on, and then that creator also pays taxes on it as their income.

This is a simplification of the math but just to illustrate: If you made $100k this year and wanted to give away half to artists on Patreon, you literally can't...[More]
250 unique view(s)

SF Place on Fire

October 28th, 2018 | Posted by pftq in Blabberbox | #
Guess that's my cue to finally leave SF... (esp with the asbestos exposed)
https://abc7news.com/fire-burns-multiple-floors-of-san-francisco-high-rise/4538088/
210 unique view(s)

Free Fax Online

September 14th, 2018 | Posted by pftq in 42 | #
Save you the trouble of buying a fax machine or paying for a service.
https://faxzero.com/
98 unique view(s)

Open to Interpretation

September 9th, 2018 | Posted by pftq in Thought of the Day | #
Tired of having my words reinterpreted to mean different things. People are too busy looking for what they want to hear and not thinking about what someone else is actually trying to say.
392 unique view(s)

Typical Businessman Thinking

September 2nd, 2018 | Posted by pftq in Thought of the Day | #
Typical investor/businessman thinking: If I could just find a genius smart enough to make me a million dollars but too dumb to do it unless I tell him to...
372 unique view(s)

Distant Earth

August 28th, 2018 | Posted by pftq in Thought of the Day | #
Somewhere out there right now is someone seeing light from a distant planet Earth and assuming there is no intelligent life because it is light from thousands of years ago.
360 unique view(s)

Line-In Recording Noise

August 26th, 2018 | Posted by pftq in Blabberbox | #
Note to future self. Source of line-in recording noise is the MIDI USB cable from the piano to computer. Do not replace the sound card, do not buy an audio device. #audio #recording
292 unique view(s)