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

UE4 Game Module Error

January 5th, 2020 | Posted by pftq in 42 | #

"Game module could not be loaded. There may be an operating system error or the module may not be properly set up."


After reinstalling Unreal Engine, my project stopped loading up. The above error message was extremely unhelpful, especially as any search for it online referred to moving DLLs around which had nothing to do with my issue. It turns out what was missing was the exact version of Visual Studio that I had when I last worked on my project. It has to be the exact version with the extras for C++ game development included. Any newer or older version still returns the same error. In my case, it was Visual Studio 2019 paired with Unreal Engine 4.23.1; it took me a few reinstalls just to figure that out because the help docs point you instead to Visual Studio 2017.
This is more a reminder for myself in the future to avoid losing a day to this again, but maybe it helps save someone else the time as well.
176 unique view(s)

Chrome Tabs CPU

January 4th, 2020 | Posted by pftq in 42 | #
Below is a blog describing a great fix for the excessive CPU usage Chrome has with multiple tabs open.  Specifically the Suspender extensions will stop any tab not in the foreground from continuing to use up CPU.
https://www.socmedsean.com/butchering-the-google-chrome-cpu-hog/

Despite having a quad-core CPU, Chrome somehow still uses up 100% of my resources especially if any tabs open are Google Drive / Sheets.
71 unique view(s)

As Soon as They Die

August 22nd, 2019 | Posted by pftq in Thought of the Day | #
How can you say you love someone forever if as soon as they die, you ditch them in the ground to rot and never look back? What kind of horrible, inhumane person does that?
451 unique view(s)

Modern Schools

August 9th, 2019 | Posted by pftq in Blabberbox | #
This is just my own personal preference in lifestyle obviously, but one of the thoughts I can't stand is how repetitive the life of a modern teacher must be, the dread of just living year after year on loop teaching the same thing but with no progression and not even the same students to share the journey.  To me, the thought of it is like being trapped in Groundhog Day.  You are the rock that never moves while all your students pass you by.  Fifty years can pass, your students already having lived entire lives, and when they come back to visit, you're still there doing the same thing, as if part of the historical scenery itself.

I kind of wish there was a more old-fashioned approach, where you and your teacher are both a team growing and learning together until the student finally one day becomes equal or even surpasses the teacher.  What we have instead with schools/colleges is more an assembly line where students churn in and out, the teachers sometimes not even remembering the names of students they just taught last year, and the conversation always being one directional of the teacher just unloading their knowledge to the student. In college, it's even worse with you not having the same teacher for even 6 months and that teacher literally only clocking in one hour a week to talk on stage.

It would be so much more exciting if being part of a school was more like being on a team training to face the real world together.  That English teacher, instead of just reading and grading papers year after year, could actually be writing novels and expecting students to one day carry on the story.  That computer professor, instead of just explaining the same intro to computers year after year, could actually be working on an entirely new technology on which the students are being trained to one day help complete.  Instead of just talking about a subject, the same material in perpetuity, we learn as much as the teacher knows so far and then keep discovering more together.

It means that by becoming a student, you become dedicated to one day working with and carrying on the work you study, but maybe that would be for better.  I think I would have liked that kind of life more.
493 unique view(s)

Daydream Believers Cover

August 9th, 2019 | Posted by pftq in Stuck in My Head | #
Daydream Believer Cover by Youmou & Ohana
419 unique view(s)

SF vs Tokyo Prices

August 9th, 2019 | Posted by pftq in Blabberbox | #
What $200/night gets you in SF, worst part of town but rated 4/5:
https://www.sfgate.com/travel/article/I-paid-202-to-stay-at-a-micro-hotel-in-SF-14287621.php#photo-18030559

What $65/night gets you in Tokyo, center of Shibuya:
https://www.themillennials.jp/shibuya?lang=en

And food prices:
https://twitter.com/AiSideQuests/status/940082396426248194
($18+tax+tip in SF/LA vs $18 total for 2 ppl at Denny's)

For normal, local food, it's even cheaper (basically divide by 100 to convert yen to USD):

1000 yen for udon noodles + 3 desserts + drink at Meniroiro Itudemoyatu


600 yen for ramen + fried rice + potstickers at Toshu
496 unique view(s)

Google Maps Missing Starred Places

July 21st, 2019 | Posted by pftq in 42 | #
For those also running into issues with starred places on Mobile not showing on desktop:
https://www.reddit.com/r/GoogleMaps/comments/97inxv/saved_places_stars_not_showing_up_on_desktop_when/

Basically the saved place is not being saved correctly with proper date.  To fix, you need to go to Bookmarks and resave each that has a Nan date.
100 unique view(s)

One Punch Cat Fan Animation

July 2nd, 2019 | Posted by pftq in Blabberbox | #
Found @dillongoo's fan animation sadly more satisfying to watch than the second season. #OnePunchMan
https://www.youtube.com/watch?v=niXMKRey9Yg
534 unique view(s)

A Taste for Health

June 27th, 2019 | Posted by pftq in Stories | #
Had an idea for a story recently for if society found a way to make someone naturally like the taste of healthy foods (like vegetables, etc) - imagine if what you liked and craved lined up with what was good for you.  It sounds and all seems well, everyone eating better diets and enjoying better lifestyles.  Then imagine one day unexplained animal attacks start leaving people dead and torn up, seemingly at random and in generally urban settings with no dangerous wild predators.  As the story goes on, footage and evidence start to reveal the attacks seem to come from not any animal but a human.  The authorities track down and arrest one suspect, but the killings continue, seemingly at random and with no motive.  It turns out not to be any one person but people at random who suddenly go mad for human meat.  The commonality is they've all been genetically modified to like the taste of whatever is good for them, and it worked too well.  Because the healthiest...[More]
128 unique view(s)

SQL Azure Users

June 23rd, 2019 | Posted by pftq in 42 | #
Something to remember to do every time you add SQL users to an Azure database.
https://stackoverflow.com/questions/19334041/the-select-permission-was-denied-on-the-object-users-database-xxx-schema
70 unique view(s)

Bitcoin Calls Below Parity

June 22nd, 2019 | Posted by pftq in Blabberbox | #
Bitcoin is moving so fast that call options on @LedgerX are priced below parity, as if $BTC was still below $11K. Literally free money (just buy the call and sell one Bitcoin to net the difference). #Bitcoin #BTC
620 unique view(s)

USDT Minting

June 16th, 2019 | Posted by pftq in Blabberbox | #
Personal theory on where the #USDT is going - it's actually lent out on #Bitfinex. Risk-free return for the minters while collecting borrow fees during $BTC rallies. The thought came to mind when I noticed a $77M lending wall in their funding page at the same time the $100M USDT headline came out. Other exchanges having increased borrow rates once $BTC broke $9000, but the rates on Bitfinex stayed about the same.
580 unique view(s)

Comparing Options Contracts

June 12th, 2019 | Posted by pftq in 42 | #

Bitcoin Options Price Feed Data and Analysis on LedgerX

This is a spreadsheet I created to compare what call or put options are best to buy, specifically using this for Bitcoin options on LedgerX but can be used with any options really.  You can essentially use this as an API for LedgerX options price data into your own scripts as well by using the ImportRange function.
https://docs.google.com/spreadsheets/d/1dZbFjCrr2FykdPvE4UVLp8kOO5Iox9lmctSmfqSTq1I/edit#gid=0

Sometimes the...[More]
448 unique view(s)

Flagging Uber, Lyft with QR Codes

June 9th, 2019 | Posted by pftq in Blabberbox | #
For me it's still easier to flag a taxi in #NYC. It'd be great if you can flag @Uber or @Lyft the same way and just swipe QR codes to pay. Then you don't have to wait 5 min for the app to find drivers or for someone else further away to circle the block after accidentally passing you a few times.  Since many drivers already label their cars with Uber or Lyft signs, this is sort of part way there already.  The only thing missing is for a way to pay without driver searching, which would be solved by QR scanning the driver's phone when the passenger steps in to bypass the search process.
269 unique view(s)

Conversations

May 29th, 2019 | Posted by pftq in Blabberbox | #
Overhead a couple people having one of the more interesting philosophical conversations in a long time and wanted to join in, only to then realize they were middle school students doing homework. Sigh.
272 unique view(s)

Saitama vs Suiryu Fan Animation

May 26th, 2019 | Posted by pftq in Blabberbox | #
Thought this fan animation was more exciting to watch than the actual scene in the anime, which sadly often felt more like still images panned across the screen. #onepunchman
https://www.youtube.com/watch?v=rkY6bFt5UkY
245 unique view(s)

Brightburn at Dolby Cinema

May 25th, 2019 | Posted by pftq in Blabberbox | #
Just watched @Brightburn but was actually more impressed by @DolbyCinema. The bass was so heavy + directional that it felt like the sensation of a train speeding by (or coming right at you), which made it scarier than the scene itself.
184 unique view(s)

Conversation with a Doctor

May 24th, 2019 | Posted by pftq in Blabberbox | #
One of the more frustrating experiences I've had in a while... part of what makes the healthcare here feel pretty worthless.  Obviously not reflective of all doctors... just many my own experiences.
-------------
Doctor: Here's a prescription drug that will relieve the symptom.  Just take it everyday from now on, and you won't feel it anymore.
Me: Is there a test or something we can do to check why it's happening? Or if it might be more serious?
Doctor: Like what?
Me: Maybe it's an injury? A disease? Or something worse, like cancer?
Doctor: You're too young to have anything serious like that.
Me: But shouldn't you at least check? Not saying it is or isn't serious, just that it seems weird not to at least look.
Doctor: Out of 100,000 people with your symptoms, maybe one has cancer.  Would it be worth it to check?
Me: Yes?
Doctor: No!
Me: What?
Doctor: It's like if you cross a street.  People get hit by cars all the time, but you still cross.
Me: That's not the same thing... and you still check - it doesn't mean you just close your eyes and cross.
Doctor: I've been a doctor for 20 years.  I'm telling you it's not worth it to check.  Are you saying you know better than me?
Me: I'm just asking if we can do more.  I don't get why that is a big deal.  I'm willing to pay if it costs more.  The last time a doctor told me I was too young to have health problems, I almost lost my left eye entirely to retinal occlusion.  I went back 3 times before they treated my eye, and by then, the damage was permanent.
Doctor: Have you taken your flu shot?
Me: Not yet.  What does that have to do anything?
Doctor: The flu is more real than any of your concerns.  Go take care of that instead.  
80 unique view(s)

If People Talked About Internet Like They Do Blockchain

May 10th, 2019 | Posted by pftq in Blabberbox | #
Person B: Have you heard of this thing called the Internet? It's the future. You should buy as many dial-up modems as you can before the price goes up.  Once the Internet becomes mainstream, we'll all be rich.
Person A: Why would the price go up?
Person B: Because adoption.  Everyone will start using the Internet.  You could use it to store information, transact, compute things... everything will be on the Internet.
Person A: Isn't that just computers in general?
Person B: No, unlike just your home computer, anything that is on the Internet stays there forever.  It's also decentralized, meaning no one can shut it down or control it.  And most importantly, it's global.  Everything has to be global nowadays.  That's the future.  Personal computing was the first revolution.  This is the next one.  Imagine if you could go back in time to the 80's before personal computing was mainstream.  This is that opportunity.  You could buy up everything before anyone else gets a chance.
Person A: But why would modem prices go up?
Person B: There's no Internet without modems.  Every person needs a modem to use the Internet.
Person A: Couldn't you just make more?
Person B: That's why you have to pick the right modem brand.  Some brands inflate the supply.  You should buy AOL modems.  It's a fixed supply.  There will never be any more AOL modems made again.  It also has the highest usage and market cap.
Person A: Market cap?
Person B: You take the price of a modem and multiply by the number of modems out there.
Person A: How many AOL modems are there?
Person B: Theoretically, once the last modem in store is sold - 21 billion.
Person A: That's more than we'll ever need.
Person B: Yeah but each person can buy more than one.  Some people who were early got to hoard millions of modems.  People also lose their modems or their logins.  Supposedly 20% of all modems right now are lost or not usable by anyone.  You have to imagine a future beyond your wildest expectations where everyone and their grandma know about and use the Internet.  It's hard to visualize, but that's how people felt when personal computing first started too, and now everyone has a computer in their home.  Everything in the future will use the Internet in one form or another, and this is our chance to own part of that infrastructure.

Person A: So what does your startup do?
Person B: It's an Internet company.
Person A: But what does it do?
Person B: We create applications that run on the Internet.  People are calling them Websites.
Person A: What kind of applications?
Person B: Anything that clients demand.  We're trying to help build the Internet ecosystem.  The more people we get using the Internet, the more modem prices will go up.  Everyone wins.  We've had clients from restaurants to banks.  Everyone wants to be on the Internet now.
Person A: Why would a bank need to be on the Internet?
Person B: Banks still keep things in books and binders.  We help them store things digitally on the Internet.
Person A: But couldn't you just store it on computers and digitize things in general? That would already solve the problem.  What about just a database and network? Wouldn't that be faster? Also wouldn't being on the Internet put their information at risk of being hacked?
Person B: The Internet can't be hacked. Everything you read is the user getting hacked or the Website being insecure.  The Internet itself has never gone down or been compromised.  It is the most secure and resilient thing out there.

Person A: So what does your Website do?
Person B: We're building a revolutionary ecosystem so anyone who checks out a library book does it through the Internet, and everyone will have to use our Website to be part of that.  It'll change the world.
Person A: Would I get to read the book digitally?
Person B: No, you would just log on to the Website to check it out on the Internet, but you still go to the library to pick up the book.
Person A: Why wouldn't I just go to the library and check out books the old way since I'm there anyway?
Person B: Because the Internet makes things more efficient and secure.
Person A: How does that translate to a business model for your startup?
Person B: If everyone is using our Website, then the Website has value, unimaginable value, and the price will reflect that value in the long run.  Think about how many people in the world read books.  Billions.  Imagine if they all used the Internet.  Even if every account was only worth $1, that's billions of dollars flowing through the Internet.  And then think about how many books a person reads, multiply those numbers and you get trillions of dollars.
221 unique view(s)

Prions and Synthesized Foods

April 23rd, 2019 | Posted by pftq in Blabberbox | #
More an open-ended question here.  Prions, or misfolded proteins, are the cause of mad-cow disease when eating meat.  The animal itself is more likely to be produce misfolded proteins when eating brain tissue, but sometimes it's also just luck (or perhaps environmental, stress, etc).  The prions themselves cannot be destroyed by heating or other means once created, as it's more a mutation than a "disease." Once in the body, it causes other proteins to be misfolded as well in a tumor-like fashion.  With regards to new synthesized foods like vegan or fake meats,  I wonder what ways (if any) are there to unintentionally create misfolded proteins in the process as well.  Right now, it seems that they try to mess with the vegetable ingredients as little as possible when creating the meat flavor and texture.  Some of these opt for a non-GMO label to make it distinct.  It would probably be more a concern if in the future companies become more aggressive with manipulating or modifying the proteins themselves as they refine the meat.
226 unique view(s)