Posts

Opera Browser Disables Keystrokes in other Apps [O-63 / W-1809]

Image
Recently I've been experiencing intermittent issues in trying to use certain keystrokes in a few of my more common Windows-based applications. The two primary shortcuts I found that I cannot use are Ctrl-Shift-Home and Ctrl-Shift-End. These two shortcuts should highlight from the current cursor position to either the top or bottom of the available selection set, respectively.



I checked all types of OS-level keyboard settings. After closing a few apps in an effort to reboot, I suddenly found I could use those keystrokes again! So I brought back up my apps . . . one at a time. The moment I reopened Opera, the keystrokes disabled.

I tried disabling a lot of the various settings in Opera, one of which required a restart. I could not find a setting that gave me back these keystrokes.

Strangely, Shift-Home and Shift-End both work. Ctrl-Home and Ctrl-End also both work. They just don't all work together. Additionally, all the Shift/Ctrl arrow keys also function fine.

I am in the dark…

Pet Ref App: A Customizable Reference Tool

Introducing the "Pet Ref App": A customizable reference tool. The Pet Ref App is an all-in-one location for pet-related notes and meds. Easy to use, the web app can be used in vet offices, by students in pet-related fields, or as personal notes or school references.Now Open! As of Thursday, August 22, 2019, the Pet Ref App site officially launched and is ready for sign-ups.

Web App Background

The Pet Ref App resource tool was initially created to help with gaining an understanding of "what means what" when first starting to work with pets. There is so much information involved in caring for pets, and most times all of this information is strewn across books, binders, and websites, or worse, the information is only shared verbally amongst individuals.

This made learning about pet care challenging. This reference app was an attempt to centralize the information, while making it accessible via any computer or phone (#lovetheweb).

In demonstrating the reference tool, i…

Memory Recall: An Interview Thought

At least a few hundred JavaScript algorithm challenges after taking Harvard's CS50 course, I realized that I use (my brain uses) a "trie" type of knowledge retrieval approach, as compared to someone who can do more of a "dictionary" type of memory lookup. That is, my recall works better when I'm creating and analyzing code (e.g., surrounded by context).

For instance, if I come across a need for the "spread operator", I may need to look up a quick example for syntax reference, but I know I can use it and I will put it to use. Or I may devise another method that may work out better long term, considering the potential future expansion of that particular code. Or I may just prefer another approach (e.g., I prefer `slice()` and `concat()` for copying arrays (but would always go with whatever coding guide I'm working with, if any)).

Anecdotal disclaimer: Using unfamiliar functionality can take me a half dozen trial and error attempts, but I always …

Front-End Development Certifications x2

Image
Two more freeCodeCamp certifications completed, with one more at 70%.
Responsive Web DesignJavaScript Algorithms and Data Structures And although I'm only at 37% with Harvard's CS50W: Web Programming with Python and JavaScript, and 23% with Google's 'Master web development' courses (via Udemy), I'm considering running through another Vue series (via Laracasts), being the last one I went through was in Jan-Mar 2017.

UPDATE: On the other hand, perhaps not... the training video shows they're using 2.1.3, and although I could look around for something in the 2.5.x range, I believe it would be prudent to instead find more professional and in-depth courses for the latest React.

All current and previous training progress (such as my 11 completed courses) can be found on my Training Progress SPA (now a PWA! (...works offline: can't get updates (due to there being no network), but it works offline! :D )).

https://keithdc.com


Pros and Cons of Visual Studio Code vs. Sublime Text 3

Pros and Cons of Visual Studio Code vs. Sublime Text 3Below are personal observations with the VS Code editor as compared to the Sublime Text editor. VS Code: A lightweight IDE Visual Studio Code (VS Code) Sublime Text: A customizable code editor Sublime Text 3.0 (ST3) VS Code: Pro and ConsPro: TypeScript insights are excellent (ST3 insights don't work well at all). Pro: Referential integrity. Con: Bracket-matching cursor sucks, no matter which option I choose. The small thick underscore gave me the least headache, but eventually had to turn them off completely. Con: Pg-Up and Pg-Down scroll the cursor, not the page (inconsistent with most other apps). Con: Insert (overwrite) doesn't work. Con: Can never remember the recent files I actually need; even when just closed. Con: File menu isn't native (no keyboard left/right menu switching). ResultsUse VS Code for my React + TypeScript projects; for its TypeScript insights. Use ST3 for everything else due to its lightweightednes…

Does your butter expire next week?

Image
Expired To Be is a quick and convenient way to set and be reminded of expiration dates(free and open source).


New Features available in version 2:
Sort your list by expiration item name, expiration date, or 'days left' (until expiration notification).Set a 'backup item date'.
Easily swap out expired items with a replacement date using the convenient blue check mark icon on your item's date field.More informative messaging. Additionally, you can easily export and import your expiration lists for backup and portability.

Expired To Be is free and can be run as:
A Chrome browser extension available from the Chrome web store at: https://chrome.google.com/webstore/detail/kamjiblbgmiobifooelpmlkojmadmcanA standalone web app (SPA) available at: https://KDCinfo.github.io/expired-to-be/
Expired To Be is open source on GitHub: https://github.com/KDCinfo/expired-to-be

TypeError: Undefined: Redux 4

Redux 4 > createStore > compose The ErrorTypeError: Cannot read property 'apply' of undefined [node_modules/redux/es/redux.js:523] The Problem and Solution If you've gone through a tutorial in which they suggest adding the Redux Dev Tools in your store.js like this:

window.__REDUX_DEVTOOLS_EXTENSION__ && window.__REDUX_DEVTOOLS_EXTENSION__() But they're using it inside of a compose(), you could receive a Type Error for an undefined when the extension is not enabled (or present). The correct way to implement the Redux Dev Tools within a compose is as follows:

window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__ || compose I learned this the hard way, and was eventually brought rescue from GitHub user [zalmoxisus]. zalmoxisus also references the docs for this: [1.2 Advanced store setup (middleware and enhancers)] Code Extract from [store.js] compose( applyMiddleware(...middleware), window.__REDUX_DEVTOOLS_EXTENSION__ &…