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.
Regex Tutorial - Lookahead and Lookbehind Zero-Length Assertions
Lookahead and lookbehind, collectively called "lookaround", are zero-length assertions just like the start and end of line, and start and end of word anchors explained earlier in this tutorial. The difference is that lookaround actually matches characters, but then gives up the match, returning only the result: match or no match. That is why they are called "assertions". They do not consume characters in the string, but only assert whether a match is possible or not. Lookaround allows you to create regular expressions that are impossible to create without them, or that would get very longwinded without them.
text + double triangle
50+ Data Structure and Algorithms Interview Questions for Programmers
In this article, I’ll share some frequently asked programming interview questions from different interviews for programmers at different levels of experience, from people who have just graduated from college to programmers with one to two years of experience.
How to create a presentation in 30 easy steps | The Desert DBA
If you’ve never created a technical presentation then let me help you understand what you are missing. Imagine writing a term paper like you did in college, except that the content is all in PowerPoint and SQL scripts. And your head. Mostly in your head, because you have to verbally speak way beyond what’s written down in slides and scripts. And it has to be an hour’s worth of material. And this will all be done in front of a roomful of strangers. Strangers who get to ask you random questions at random times.
The Glazed Brussels Sprouts You’ll Be Making All Fall
The crispy exterior, however, is achieved by preheating the sheet pan itself in a 450° oven. You’re essentially treating the baking sheet like a sauté pan, searing an entire side of the brussels sprouts. Without preheating the pan, they’d overcook before they got to the ideal crispy state.
That’s pretty much it, honestly. You cut the sprouts in half, toss in olive oil, salt and pepper, and then arrange them cut-side-down on the hot-hot sheet. Use tongs! Move fast. Then they’ll roast for 20-25 minutes, until deeply browned.