Perl Advent Calendar 2018 - Christmas Quoting
use B qw(perlstring);
say STDERR 'DEBUG: The next $childname is '. perlstring($childname)
GitHub - h5bp/Front-end-Developer-Interview-Questions: A list of helpful front-end related questions you can use to interview potential candidates, test yourself or completely ignore.
This file contains a number of front-end interview questions that can be used when vetting potential candidates. It is by no means recommended to use every single question here on the same candidate (that would take hours). Choosing a few items from this list should help you vet the intended skills you require.
Interview Questions and Exercises About CSS
If you're in the position of needing to interview someone about their skill and knowledge about CSS, it can be a little hard to think of things to ask on-the-fly. I thought I'd think up and round up some ideas for reference.
Sets, Counting, and Probability Open Learning Course
This online math course develops the mathematics needed to formulate and analyze probability models for idealized situations drawn from everyday life. Topics include elementary set theory, techniques for systematic counting, axioms for probability, conditional probability, discrete random variables, infinite geometric series, and random walks. Applications to card games like bridge and poker, to gambling, to sports, to election results, and to inference in fields like history and genealogy, national security, and theology. The emphasis is on careful application of basic principles rather than on memorizing and using formulas.
Bless My Referents
Object-oriented programming in Perl is easy. Forget the heavy theory and the sesquipedalian jargon: classes in Perl are just regular packages, objects are just variables, methods are just subroutines. The syntax and semantics are a little different from regular Perl, but the basic building blocks are completely familiar.
A Free Yale Course on Medieval History: 700 Years in 22 Lectures | Open Culture
In 22 lectures, Yale historian Paul Freedman takes you on a 700 year tour of medieval history. Moving from 284–1000 AD, this free online course covers "the conversion of Europe to Christianity, the fall of the Roman Empire, the rise of Islam and the Arabs, the 'Dark Ages,' Charlemagne and the Carolingian renaissance, and the Viking and Hungarian invasions." And let's not forget St. Augustine and the "Splendor of Byzantium."
You can stream all of the lectures above. Or also find them on YouTube, iTunes and this Yale website.
Cross-platform frameworks offer one-code path to mobile dev
Glorified webpage
A hybrid app framework, such as Apache Cordova or Ionic, can also offer a native mobile feel, although it runs the app in a WebView.
Safety Insurance agency in Boston used Cordova to create a web-based app that is compatible with Android and iOS. Five years ago, hybrid apps suffered from performance issues because mobile devices didn't have the strongest processing power, so NativeScript or React Native would've been a better option then, said Keith Carangelo, web development manager at the agency.
"Now, the phones are fast enough to deal with all of the JavaScript," he said. "You don't tell that our app is web-based."
The ability to have different development environments for each mobile OS is a good option as well, Carangelo said.
"When you want to change things [in NativeScript or React Native], it takes so long to get to that environment and make sure your tooling is up to date," he said. "To make changes in two environments isn't necessarily the hardest thing."
How to Get More Work Done in a Week Than Most People Do in a Month
Adopt the 1–3–5 method to create and manage your action list for the day
On any given day, assume that you can only accomplish one big thing, three medium things, and five small things, and narrow down your to-do list to those nine items.
This means that your daily schedule will feature:
- One very important task;
- Three tasks of medium importance
- Five little things
Planning tomorrow today is a powerful habit that changes everyday.
It’s a system that can completely changes how you work:
Before the day ends, identify and write down the best actions (to-do) you need to take tomorrow that will help you get closer to your work goals.
Every morning, focus on completing your action list from yesterday before midday.
The Ever so Lovely Bézier Curve
Bézier curves are, to me, one of the best examples of mathematical beauty. It’s fascinating what such a simple function on some points can achieve. Below is a step-by-step visualization of how a cubic Bézier curve can be constructed using simple rules on points and lines. Note each point’s position along its own line
Acer Chromebook R11 Not Charging? Here’s The Fix
I think you need to disconnect power after you go in recovery mode
RESET BATTERY PERCENTAGE
Unplug the device from the AC adapter and power it down completely.
Press Escape+Refresh+Power keys simultaneously to invoke recovery mode. (you should be greeted with a screen that says “Chrome OS is missing or damaged. It’s okay, nothing is broken. Do not press any other keys)
Now, plug the AC adapter back in and leave the device as is. Do not power down or close the lid.
Leave the Chromebooks plugged in for 6 hours to allow the battery to recalibrate and take a full charge.
While still plugged in, hold the power button and power down the device.
Leaving the device plugged in, power it back up and you should see the battery level at full or close to it.
Unplug the Chromebook and you’re all set. The battery should be back to its normal self and the indicator should reflect the full charge.
Chromebook not charging? Stuck at 1%? Here's the fix.
The fix was simple, but took me a short while to find on the net, hence this post. Written in Layman's terms, should someone non-techie find this post.
Unplug the laptop.
Turn it over and remove all of the small screws. Keep them safe.
Gently 'pop' the edges of the laptop's cover open. They have tiny clips around the outside.
As you remove the cover, do it slowly. There is a cable between the power supply (not the battery) and the motherboard that is quite short, you could damage it if you pull the cover off with gusto. You will need to leave this plugged in to follow a step below, so leave it connected.
Locate the small connecting wire between the battery and the motherboard. It's located between 6 and 7 on this image
Unplug this connection. It's small and delicate, so be gentle. Treat her like a lady.
Contrary to what you may have been told before, plug the power supply back in to the laptop and turn the power on. Leave the laptop itself turned off, just supply it some power. Don't touch anything inside the laptop and don't electrocte yourself, please. This step is to get the laptop to pick up the fact that the battery has been disconnected.
Wait around 30 seconds. The LED for the battery indicator should change to red. The Chromebook is stating that it can't find the battery.
Turn the power back off again.
Plug the battery connection back in to the motherboard, the one that was pictured above.
Put the cover back on, gently clipping it back in to place.
Plug the laptop back in once more and turn it on. Boot it up.
Hopefully, it should now be charging, as it's picked the battery back up again. If so, put your little screws back in and off you go.
Setting up a Perl Development Environment with plenv - xdg.me
This is a slightly modified copy of something I posted internally at work about setting up a development environment using plenv, which keeps your working Perl isolated from your system Perl. Many expert Perl developers already have some variation of this, but I’m posting it as a public service for people who’ve wanted this but never got around to it.
(I used to use perlbrew, but switched to plenv and haven’t looked back).
Front and Center: The Best Exercise You Are Not Doing | Breaking Muscle
As human beings, we learned how to squat from a very young age—and usually from the bottom up as part of our developmental patterns. Children often spend lots of time in this position and as a species, we spent a lot of time shooting the breeze hanging around fires and making things here, too.
How to Create a Zine With Your Photography – EyeEm – Medium
WITH OR WITHOUT INDESIGN
We can start with a letter size spread (8.5 x 11 inches/ 210 x 297 mm) which you can fold in half crosswise into a 5.5 x 8.5 inch/210x148.5 mm booklet. In this way, each sheet contains 4 pages. When deciding the number of pages for your zine ALWAYS count by 4’s. 4/8/12/16/20 etc…
The Art of Mindful Writing: How to Be Your Reader – Will Franks – Medium
The anxious writer is thinking of herself, but the calm writer is thinking of her readers. The calm writer is sensitive to the experience of her reader. And that is the gateway to clear and lucid writing.
To tap into this sensitivity, you can use the following exercise: being your reader. It will allow you to literally read what you write, as you write it. It is a very effective mindfulness trigger.
The whole act of writing becomes far less driven by “I am trying to write something good”, to reading your words through another’s eyes, as you write them. This makes it far, far easier to see when your writing is becoming unclear or rambling. Because you can literally watch it happening!
How Writing for One Hour a Day Can Improve The Quality of Your Life
James Clear’s Idea Generation Framework
You’re coming across ideas all the time right like when we talk in this conversation. I think you need to have a central holding ground where you just put all the ideas in your life whether it’s from a conversation or a book.
I typically write either earlier in the morning or before lunch or late at night Whenever I’m sitting down to do that; I’ll go to that list and look through all the notes that are in there. I have hundreds of these. I start to look for ones that connect in some way. Sometimes I have a couple of articles that are in progress. They’re just like holding grounds for ideas.
From Focus to Flow
In an interview with Chase Jarvis, Steven Kotler said it takes roughly 90 minutes to get into a state of flow.
Understanding Higher-Order Functions in JavaScript
Higher-Order Functions
Higher order functions are functions that operate on other functions, either by taking them as arguments or by returning them. In simple words, A Higher-Order function is a function that receives a function as an argument or returns the function as output.
For example, Array.prototype.map, Array.prototype.filter and Array.prototype.reduce are some of the Higher-Order functions built into the language.