"> Code Archives - Engr Kabir Saleh

Posts Tagged

Code

Time waits for no code

This pilot fish working for a large aerospace and defense contractor finds the time reporting onerous, and the reason is not a badge of honor for the company. It had gotten into a bit of trouble for telling employees to add cost overruns from fixed-price contracts to cost-plus contracts.

Since the government doesn’t like being bilked, the company had to refund a lot of money and implement new time-tracking and -reporting procedures.

Codes had to be looked up, and fish can easily spend more than a quarter of an hour per day just entering his time. Since the reporting is done in increments of 15 minutes, he asks what the charge code is for entering time. Too soon. No one appreciated the humor.

Some time after that, there is an edict: Don’t report unpaid overtime. Employees have learned that all their time has to be accounted for, so they’re entering extra hours that they worked but didn’t get paid for. That made HR and legal nervous, and thus the crackdown.

Unwanted side effect: Everyone wanted staff to do their work during that unpaid overtime, so it wouldn’t be charged to their contract.

Sharky would love for you to take some time to send me your true tales of IT life at [email protected]. You can also subscribe to the Daily Shark Newsletter.

Copyright © 2020 IDG Communications, Inc.



Source link

Code blue | Computerworld

Working at a research facility affiliated with a U.S. government hospital, this pilot fish becomes acquainted with ICD-9 codes for the statistical classification of diseases.

But it bothers him that the codes allow for reporting an issue but not for reporting resolution: There’s a code for having high blood pressure, but none for returning to normal, and there’s a code for a broken right wrist, but none to indicate that it has healed.

So in a review meeting with the researchers, fish asks about their assumptions: “Since there is no ICD-9 for ‘no longer has high blood pressure,’ how do we differentiate the two conditions, just-not-taking-medicine and no-longer-needs-medicine?”

After some discussion, one of the MDs speaks the sad truth: “In my 10 years of clinical practice, I’ve had maybe one person make the required lifestyle changes to get off those medications.”

Feed the Shark! Send me your true tales of IT life at [email protected]. You can also subscribe to the Daily Shark Newsletter.

Copyright © 2019 IDG Communications, Inc.



Source link

10 Simple CSS Code Examples You Can Learn in 10 Minutes

Once you’ve started dabbling in HTML, you’ll probably be interested in adding more power to your web pages. CSS is the best way to do that. CSS lets you apply changes across your entire page without relying on inline styling.

Here are several simple CSS examples to show you how to make some basic styling changes on your web page.

1. Basic CSS Code for Easy Paragraph Formatting

Styling with CSS means you don’t have to specify a style every time you create an element. You can just say “all paragraphs should have this particular styling” and you’re good to go.

Let’s say you want every paragraph (<p>, one of the HTML tags everyone should know) to be slightly larger than usual. And dark grey text, instead of black. The CSS code for this is:

p {

  font-size: 120%;

  color: dimgray;

}

Simple! Now, whenever the browser renders a paragraph, the text will inherit the size (120 percent of normal) and color (“dimgray”).

If you’re curious as to which plain-text colors you can use, check out this CSS color list from Mozilla.

2. Change Letter Case

Want to create a designation for paragraphs that should be in small caps? A CSS sample for that would be:

p.smallcaps {

  font-variant: small-caps;

}

To make a paragraph that’s entirely in small caps, we’ll use a slightly different HTML tag. Here’s what it looks like:

<p class="smallcaps">Your paragraph here.</p>

Adding a dot and a class name to an element specifies a sub-type of that element defined by a class. You can do this with text, images, links, and just about anything else.

If you want to change the case of a set of text to a specific case, use these CSS examples:

text-transform: uppercase;

text-transform: lowercase;

text-transform: capitalize;

The last one capitalizes the first letter of every sentence.

3. Change Link Colors

Style changes aren’t limited to paragraphs. There are four different colors a link can be assigned: its standard color, its visited color, its hover color, and its active color (which it displays while you’re clicking on it). Here’s the CSS code for those:

a:link {

color: gray;

}

a:visited {

color: green;

}

a:hover {

color: purple;

}

a:active {

color: teal;

}

With links, each “a” is followed by a colon, not a dot.

Each one of those declarations changes the color of a link in a specific context. There’s no need to change the class of a link to get it to change color.

4. Remove Link Underlines

While underlined text clearly indicates a link, it sometimes looks nicer to scrap that underline. This is accomplished with the “text-decoration” attribute. This CSS examples shows how to remove underlines on links:

a {

text-decoration: none;

}

Anything with the link (“a”) tag will remain non-underlined. Want to underline it when the user hovers over it? Simply add:

a:hover {

text-decoration: underline;

}

You could also add this text-decoration to active links to ensure the underline doesn’t disappear when the link is clicked.

5. Make a Link Button With CSS Code

CSS code example MakeUseOf link button

Want to attract more attention to your link? A link button is a great way to go about it. This one requires a few more lines, but we’ll go over them each individually:

a:link, a:visited, a:hover, a:active {

background-color: green;

color: white;

padding: 10px 25px;

text-align: center;

text-decoration: none;

display: inline-block;

}

Including all four link states ensures that the button doesn’t disappear when a user hovers or clicks on it. You can also set different parameters for hover and active links, e.g. changing the button or text color.

The background color is set with background-color, and text color with color. Padding defines the size of box—the text is padded by 10px vertically and 25px horizontally.

Text-align ensures that the text is displayed in the center of the button, instead of off to one side. Text-decoration, as we saw in the last example, removes the underline.

The CSS code “display: inline-block” is a bit more complicated. In short, it lets you set the height and width of the object. It also ensures that it starts a new line when it’s inserted.

6. Create a Text Box

A plain paragraph isn’t very exciting. If you want to highlight an element on your page, you might want to add a border. Here’s how to do that with a string of CSS code:

p.important {

border-style: solid;

border-width: 5px;

border-color: purple;

}

This one is straightforward. It creates a solid purple border, five pixels wide, around any important-class paragraph. To make a paragraph inherit these properties, just declare it like this:

<p class="important">Your important paragraph here.</p>

This will work regardless however big the paragraph is.

There are many different border styles you can apply; instead of “solid,” try “dotted” or “double.” Meanwhile, the width can be “thin,” “medium,” or “thick.” CSS code can even define the thickness of each border individually, like this:

border-width: 5px 8px 3px 9px;

That results in a top border of five pixels, a right border of eight, a bottom of three, and a left border size of nine pixels.

7. Center-Align Elements

CSS code example box model
For a very common task, centering elements with CSS code is surprisingly unintuitive. Once you’ve done it a few times though, it becomes much easier. You have a couple of different ways to center things.

For a block element (usually an image), use the margin attribute:

.center {

display: block;

margin: auto;

}

This ensures that the element is displayed as a block and that the margin on each side is set automatically. If you want to center all the images on a given page, you can even add “margin: auto” to the img tag:

img {

margin: auto;

}

To learn why it works this way, check out the CSS box model explanation at W3C.

But what if we want to center text with CSS? Use this sample CSS:

.centertext {

text-align: center;

}

Want to use the “centertext” class to center the text in a paragraph? Simply add that class to the <p> tag:

<p class="centertext">This text will be centered.</p>

8. CSS Examples for Adjusting Padding

The padding of an element specifies how much space should be on each side. For example, if you add 25 pixels of padding to the bottom of an image, the following text will be pushed 25 pixels down. Many elements can have padding, not just images.

Let’s say you want every image to have 20 pixels of padding on the left and right sides, and 40 pixels on the top and bottom. The most basic execution is:

img {

padding-top: 40px;

padding-right: 25px;

padding-bottom: 40px;

padding-left: 25px;

}

There’s shorthand CSS code we can use to present all of this information in a single line:

img {

padding: 40px 25px 40px 25px;

}

This sets the top, right, bottom, and left paddings to the right number. Thanks to only two values being used (40 and 25) we can make it even shorter:

img {

padding: 40px 25px

}

When you use only two values, the first value is set for the top and bottom, while the second will be left and right.

9. Highlight Table Rows

CSS code for mouseover table

CSS code make tables look much nicer than the default grids. Adding colors, adjusting borders, and making your table responsive to mobile screens are all easy. We’ll look at just one cool effect here: highlighting table rows when you mouse over them.

Here’s the code you’ll need for that:

tr:hover {

background-color: #ddd;

}

Now whenever you mouse over a table cell, that row will change color. To see some of the other cool things you can do, check out the W3C page on fancy CSS tables.

10. Shifting Images Between Transparent and Opaque

CSS code can help you do cool things with images, too. Here’s a CSS example to display images at less than full opacity, so they appear slightly “whited out”. When you mouse over the images, they’re brought to full opacity:

img {

opacity: 0.5;

filter: alpha(opacity=50);

}

The “filter” attribute does the same thing as “opacity,” but internet Explorer 8 and earlier don’t recognize the opacity measurement. For older browsers, it’s a good idea to include it.

Now that the images are slightly transparent, we’ll bring them to fully opaque on a mouseover:

img:hover {

opacity: 1.0;

filter: alpha(opacity=100);

}

10 CSS Examples With Source Code

With these CSS code examples, you should have a much better idea of how CSS works. CSS templates can help, but understanding the raw elements is vital.

The 10 easy CSS code examples we’ve looked at:

  1. Easy paragraph formatting
  2. Change letter case
  3. Change link colors
  4. Remove link underlines
  5. Make a link buuton
  6. Create a text box
  7. Center-align elements
  8. Adjust padding
  9. Highlight table rows
  10. Make images opaque

Reviewing them again, you’ll notice several patterns that you can apply to future code. And that’s when you know you’ve really started becoming a CSS master. But remembering it can be tough. You might want to bookmark this page for future reference.

For a quick way to remember some of the things you’ve learnt here, be sure to check out our CSS3 properties cheat sheet


The Essential CSS3 Properties Cheat Sheet




The Essential CSS3 Properties Cheat Sheet

Master essential CSS syntax with our CSS3 properties cheat sheet.
Read More

.



Source link

Britbox, Douglas Adams, Morse Code Apps, How to Clean an LCD Screen

Christian Cawley and Ben Stegner bring you a host of tips, tricks, and news that matters to everyone in the tech podcast for technophobes. This week, we learn about Britbox’s UK launch, YouTube’s homepage redesign, and Netflix’s “skip politics” options.

There’s also an early look at Google’s Stadia gaming platform, some recommended videos, and our regular round up of tips and tricks.

Really Useful Podcast Season 4 Episode 11 Shownotes

In this week’s Really Useful Podcast we talk about:

Your rating or brief review on iTunes can help us reach more listeners. Or, you can share the Really Useful Podcast via email and social media. We’re available wherever you can listen to podcasts, including:

See you next week!

Read the full article: Britbox, Douglas Adams, Morse Code Apps, How to Clean an LCD Screen



Source link

The 4 Best Pastebin Alternatives for Sharing Code and Text

The aptly named Pastebin.com was the first text storage website of its kind. It’s used for easily storing and sharing snippets of code with other people online. But if you don’t care for it, you’ll find plenty of alternatives to Pastebin on the web.

Let’s look at the best Pastebin alternatives you can use for storing text. We’ll examine their best features and why they’re worth using over the well-known service.

What Is a Pastebin?

In case you’re wondering why someone would be interested in sites like Pastebin in the first place, let’s quickly look at what Pastebin is for.

Pastebins arose in the late 1990s and early 2000s as a way to easily share blocks of code with proper formatting and without disrupting the flow of chats. The IRC (Internet Relay Chat) chatrooms of the time were much more rudimentary than modern chat apps like Slack or WhatsApp.

Most featured single-line messages, as you can see in the screenshot below:

IRC Chat Example

Posting a 50 line-long block of code into such a chat would obviously disrupt the flow for everyone else. Thus, pastebin sites arose to let you paste a giant block of code with syntax highlighting and proper formatting. When you were ready to share, you could post a link in your chat. Since the URL only took up a single line, it was a great solution.

Nowadays, people still use websites like Pastebin to share code if their IM app doesn’t support proper formatting. You might also use it to share a large amount of debugging output when asking for help online. Other common uses for Pastebin include lists of dark web links


How to Find Active .Onion Dark Web Sites (And Why You Might Want To)




How to Find Active .Onion Dark Web Sites (And Why You Might Want To)

The Dark Web, in part, consists of .onion sites, hosted on the Tor network. How do you find them and where to go? Follow me…
Read More

and hackers leaking breached information, such as passwords.

Pastebin.com is a fine site, but it locks some functionality behind a Pro subscription and isn’t known for its privacy. Here are some Pastebin alternatives worth looking at.

Control C Pastebin

Formerly known as Tinypaste, this pastebin site makes sharing dead simple. Enter a title for your paste, then you have a few options for formatting the text. You can use bold, italics, underline, and strikethrough text, as well as enabling code highlighting. In addition, ControlC supports adding videos, plus changing the text color and size.

Unlike Pastebin, you won’t see recent public pastes along the side of the site. All pastes are hidden from search engines by default, and you can set a password to protect your paste if you like. While you can create an account to better keep track of what you’ve submitted, it’s not necessary.

When you open a ControlC link, you’ll have to close a page of ads before viewing the paste. From there, you can toggle line numbers of the paste or even create a new version based on the original.

Overall, ControlC is a no-nonsense pastebin site. It doesn’t have a ton of fancy features but works fine when you just need to share some quick text.

Hastebin Pastebin Site

If you’re in a hurry, give Hastebin a look. It’s a Pastebin alternative for code where the entire interface of the site is an editable text field, which makes it visually attractive. Enter or paste the text you want to share, then press Ctrl + S or hit the Save icon in the top-right corner.

This will instantly save your text and change the URL in the address bar to a shareable link. It also detects the language you’ve used and highlights the syntax automatically.

Also, on that bar in the top-right corner is a New button, which you can press to start a new paste right away. When viewing a paste, the Duplicate and Edit button lets you make changes while starting from the original content. And you can hit Just Text to display the raw text on a separate page, which is great for obtaining a clean copy.

All pastes on this site stay up for 30 days since their last view. While search engines won’t find your pastes, you also shouldn’t expect any privacy from what you share here. As a bonus, the site has no ads, CAPTCHAs, or registration.

Just Paste Me Pastebin

Those who find the above options too code-focused should like Just Paste Me better. While you can use it to share code, it offers a rich text editing box great for typing up notes, instructions, or similar blocks of normal text.

You’ll find all the typical text options here, such as bullet points, headings, hyperlinks, and images. There’s a Preview button so you can check how your page looks before sharing it.

Don’t miss the Additional options section at the bottom. There you can set a page title, choose a custom URL, or have the site email you a link to your page for safekeeping.

Once you complete a CAPTCHA and hit Publish, you’ll see a link to your page that you can share anywhere. You can even edit the page after publishing it if your session hasn’t expired and you haven’t closed the browser.

Just Paste Me doesn’t require registration, and the small ad on the page is unobtrusive. Give it a try next time you need a Pastebin alternative for normal text.

PrivateBin Pastebin

You might assume that all paste sites are the same, but that’s not the case, as we’ve seen. PrivateBin stands out as a privacy-focused place to create pastes. Use the Format dropdown at the top to choose Plain Text, Source Code, or Markdown. Then you can enter your text in the editor.

PrivateBin includes a Preview tab to let you see what your output will look like before sharing. Click the Send button to get a shareable URL for your paste. The service also includes a QR code option if you prefer to share that way. No matter what you choose, there are no ads to worry about.

At the top, you’ll see several options to control how you share. By default, the Expires field is set to one week, but you can change this to as little as five minutes. If you check the Burn after reading option, the message will self-destruct after the link is opened one time.

Alternatively, you can select Open discussion to let people leave comments on the paste. Finally, be sure to set a Password to protect sensitive pastes.

The site states that the PrivateBin server has no knowledge of pasted data, so it’s the best choice when you want to share something potentially sensitive. Of course, there are better ways to safely share private data like passwords


How to Safely Share Passwords With Friends and Family




How to Safely Share Passwords With Friends and Family

You should never share your passwords. But you do, don’t you? That’s why we’re going to show you how to share your passwords while keeping your accounts as secure as possible.
Read More

online.

Alternatives to Pastebin for Better Sharing

We’ve looked at several sites like Pastebin to help you find the best one for your needs. There’s nothing inherently wrong with Pastebin, but a different option may well serve your needs better than the site most people use for this job.

If you often share blocks of code with other programmers, you may be interested in Visual Studio Code’s Live Share feature, which lets you program collaboratively


How to Program Collaboratively Using Visual Studio Code’s Live Share




How to Program Collaboratively Using Visual Studio Code’s Live Share

Want to collaborate on coding projects? Live Share for VS Code is a great tool, so here’s how to set it up and get started.
Read More

.



Source link

4 Free Morse Code Software and Apps to Send Coded Messages

Morse code was once a revolutionary form of communication, as it allowed people to transmit messages electrically over long distances. While it’s fallen out of favor due to modern technology, you’ll still find cool Morse code software to make use of it in the 21st century.

Let’s take a look at some Morse software you can use to transmit messages and have fun with Morse code.

Chances are that you don’t know Morse code by heart. It’s easy enough to find a key or flowchart online to translate the code, but you might be interested in fully learning it on your own.

If that’s the case, check out Google’s Morse Typing Trainer tool. Google released it alongside support for Morse Code in its Gboard keyboard for Android and iOS. This is primarily intended as an accessibility tool for people who have difficulty typing on a standard keyboard, but anyone can use it to send Morse code from their keyboard.

This tool uses visual aids to help you associate each letter in Morse code with its dots and dashes. For example, for the letter “B,” which is represented by “. – – -” in Morse code, it shows a banjo with a dot in the middle and three dashes going up the neck.

Google Learn Morse Code

You can access a demo of the service on your desktop, but it’s intended for use on your phone using Gboard.

Download: Gboard for Android | iOS (Free)

Using Morse Code on Gboard for Android

First, download Gboard if it’s not already on your phone. To open the app’s settings, select a text field to bring up your keyboard. If another keyboard appears, tap the Keyboard icon in the bottom-right corner and switch to Gboard.

Next, hit the arrow at the top of the keyboard to show a list of icons. Select the three-dot Menu button to show more items, then tap the Gear icon to open Settings.

From here, select Languages and tap the existing English (US) entry. Scroll all the way to the right and select Morse code. Below this you can change a variety of settings; tap Done to add the Morse code keyboard.

To switch between the standard keyboard and Morse code, tap the Globe icon in Gboard.

Using Morse Code on Gboard for iPhone

Download Gboard from the App Store if you don’t have it yet, then open the app from your home screen. Once you’re here, select Languages, then Add language. Scroll down to the bottom and select Morse Code – English for whatever region you prefer.

Now Morse code is added to your keyboard. To switch to it, tap the Globe icon in Gboard. You’re then ready to type in Morse code on your iOS device.

Morse Code Translator

If you don’t want to commit to learning Morse code, you can still use tools like the Morse Code Translator to send and receive Morse code on your computer.

This site lets you enter a message in English to see the equivalent in Morse code. It also supports showing the English output for Morse code characters. Once you’ve typed out a message, you can hit Play to hear the code. Check the Light box to also show corresponding flashes.

It’s also easy to share your Morse code with others. Click the Save button to download a copy of the audio in WAV format. Or use the Send button to create a unique URL that you can send to friends. When they open it, they’ll hear the message, see flashes, and watch the English characters appear in real-time.

This site has several other resources related to Morse code, including a virtual keyer, text guide to the characters, and information on message timing.

3. Morsecode.me: Communicate With Others in Morse Code

Morsecodeme Morse Code Chat

One of the coolest online Morse code programs, morsecode.me allows you to join chatrooms and talk to other people in Morse code. As people type, you’ll hear the corresponding sounds and see the text appear in real-time.

The service offers several channels depending on your proficiency level. The default is channel 1 for beginners, while more experienced users can switch to a different channel using the top menu.

Give it a try if you’re confident enough in your Morse code skills to communicate back and forth. There’s a key on the right side to help you out, but the site mentions that this is for people who know Morse code. Thus, you should take care to be respectful and not clog up the chat.

4. Morse Decoder: Listen to Encoded Messages

Morse Code Decoder

Years ago, we covered a free Morse code decoder software called CwGet. It’s still around, but it’s fairly clunky and only available for Windows. You can achieve the same effect with Morse Decoder, which is made by the same person as the Morse Code Translator service mentioned above.

This service lets you either upload an audio file containing Morse code or listen to audio from your computer’s microphone. It will display the characters in the message as it detects them. You can also see a basic graph of the input below.

If you wanted, you could use this tool to send secret messages to your friends in Morse code. However, you’ll need to encrypt them in some way, as anyone who has access to the raw audio can easily decode the Morse code text using a service like this. You might hide the Morse code file as a single track in a multi-track audio file, for instance.

However, this is probably overkill for most people. You’re better off with easier self-destructing apps to send secure messages


5 Self-Destructing Apps to Send Secure Messages or Stay Organized




5 Self-Destructing Apps to Send Secure Messages or Stay Organized

If you want to ensure your data isn’t stored anywhere, use these self-destructing apps to send sensitive information.
Read More

.

Morse Code Apps Are ..-. ..- -. (Fun)

Even if you’ve never used Morse code before, we hope you can have some fun with this collection of free Morse code software. They’re available to use on any platform and make learning, translating, decoding, and communicating in Morse code simple.

Due to its storied history and universal nature, Morse code is a wise skill to pick up. And it’s easier than learning a new language. For more like this, check out alternative ways to type on your Android phone


6 Different Ways to Type on an Android Phone




6 Different Ways to Type on an Android Phone

You know how to type on your Android phone, but did you know that you can also type with Morse code, your voice, and more?
Read More

.



Source link

Code Anything on Any Device With Codeanywhere, the Cloud-Based IDE

Many of the apps we use every day are based in the cloud. Yet most developers still rely on outdated desktop software. If you want to work across multiple devices and speed up your workflow, you might want to try Codeanywhere. This powerful cloud-based development environment lets you collaborate in real-time, connect with Git repositories, and run terminal commands on desktop and mobile. Right now, you can pick up a one-year Freelancer subscription for just $49.99 at MakeUseOf Deals.

Code Anywhere

As the name implies, Codeanywhere has been designed for complete flexibility. Instead of being tied to your desktop workflow, you can use this platform to write code on your laptop, your tablet, and even your phone.

No matter which device you choose, you can code in over 75 languages with full autocomplete. The platform also offers a large selection of dev stacks, and you can easily connect your code via FTP, SFTP, Dropbox, Google Drive, Git, and other platforms. Meanwhile, you can choose to run commands on your own container or on remote servers via SSH.

Codeanywhere also allows you to collaborate with your colleagues and browse through previous versions of your code.

One Year of Cloud Coding for $49.99

If you would like to start coding in the cloud, you can currently get a one-year Codeanywhere subscription for $49.99 on the Freelancer plan, worth $120.



Source link

Why is Apple developing code for AR glasses?

Code that suggests Apple is developing sophisticated support for Augmented Reality (AR) glasses has been found inside iOS 13, a report claims.

When development stops, production begins

Apple says it is “high” on AR. Company boss Tim Cook has talked about it as a “profound” technology. “I don’t think there is any sector or industry that will be untouched by AR,” he also said.

Now it looks like one of Apple’s much speculated upon plans for the technology may be entering prime time. MacRumors claims an “internal build” of iOS13 it has tested contains:

  • An app to switch into head mounted viewing mode.
  • A document that may relate to stereo audio feedback in a headset.
  • Code including “Starboard mode,” “views,” “scenes,” “ARStarBoardViewController,” and “ARStarBoardSceneManager”.
  • Code names including Starboard and Garta.

This follows the revelation that Apple has put a new Matrix co-processor inside the forthcoming A13 chip that will handle AR and other maths-heavy computational tasks.

This will also work in conjunction with the depth of view capability of the upcoming triple-lens iPhone cameras.

Innovation takes time

Apple has been developing AR glasses for years. But a Digitimes report in 2019 claimed it had “suspended the development of head-mounted display (HMD) AR/VR headsets, and already disbanded its team.”

No one really accepted this claim then and it makes even less sense now, given the claimed existence of code to support such devices inside iOS 13.

Indeed, it now looks as if hardware development has reached a point at which software development is taking precedence.

Apple is also working to develop usage cases for such products.

Think about the significance of its recently announced [AR]T Walk sessions in San Francisco, New York, London, Paris, Hong Kong and Tokyo.

Or recent claims its purported Tile competing Find My tag will show people their lost objects using AR.

These are all signals that suggest Apple is working hard to create the perfect triumvirate of hardware, software and need.

But I’m not expecting these things yet

Apple will host a special event on September 10 at which it is expected to refresh its iPhones and Apple Watch ranges, with a second event (probably around October) anticipated during which the company may share new iPads, Macs and services.

These two events seemingly leave little space for any other news, making it less likely the company will surprise us with any additional products.

Or does it?

After all, Apple’s September 10 invitation promises “By innovation only” and its [AR]T Walk seems to provide a good opportunity to evangelize such devices.

But the lack of applications for these devices will be the bugbear for any launch.

Apple has certainly created an ecosystem for AR development.

ARKit is evolving rapidly and is created in partnership with AR industry leading lights.

What isn’t clear is how easily those ARKit experiences will migrate into eyewear.

Nor do developers know what they need to know in order to build those experiences effectively – what are the limitations of use? What kind of imaging assets are required? What might the refresh rate of the eye displays be, and how do developers avoid motion sickness? What happens to users with poor vision?

We also don’t yet know what the concepts and usage cases for such a product might be, though gaming, navigation, medical, retail, training and collaborative experiences seem plausible.

Apple needs time to make this happen

The bottom line?

Apple is going to need time to introduce this new product family.

That’s not at all unusual.

Apple is really good at getting people interested in a new product, delaying its release and finding partners to help bring the solution to market. It proves this at every WWDC event it holds.

Why would this new product (and new paradigm) be different?

We don’t know if any of this is genuine, of course.

Everything here is based on rumor and speculation.

But if Apple does want to nurture iPhone and services sales and also introduce a brand new computing platform, then we can already guess at a six-point plan it might use to do so:

  • Get people speculating for a while.
  • Then talk about the new solution(s).
  • Give people limited chances to experience them.
  • Work with others to build showcase apps and development tools.
  • Release those tools in time for apps to be made available.
  • Ship

I’m not anticipating any news on September 10 (though it isn’t impossible), but I do think that whatever happens, people should pay attention to what Apple may or may not say around AR.

It may well also be of interest to take a look at what games it introduces in Apple Arcade.

Please follow me on Twitter, or join me in the AppleHolic’s bar & grill and Apple Discussions groups on MeWe.

Copyright © 2019 IDG Communications, Inc.





Source link

Which Public Service Announcement Mascot Has Their Own ZIP Code?

Vintage Smokey the Bear fire prevention poster reading "Only You" where the O in You is Smokey's face
U.S. Forest Service/Ad Council

Answer: Smokey Bear

There are lots of hard-working public service announcement mascots out there: Woodsy Owl, McGruff the Crime Dog, and Eddie Eagle to name a few. None of those mascots are so popular as to merit having their own specialized mail-delivery zip code, however, except for Smokey “Only You Can Prevent Wildfires” Bear (the slogan was updated in April 2001).

What boosted Smokey to the kind of fame that brings in truckloads of fan mail was the decision of the U.S Forest Service to adopt an actual bear to serve as the mascot. In 1950, firefighting crews rescued an American black bear cub from a massive wildfire in the Capitan Mountains of New Mexico and the Forest Service adopted it as a living embodiment of Smokey Bear. The bear cub proved to be so popular with children across the country that the Forest Service started receiving piles of fan mail. So much fan mail, in fact, that by 1964, the U.S. Postal Service assigned Smokey his own mailing zip code to make sorting the bags of fan mail easier. That zip code, for the curious, is 20252 (which is still in use).

Smokey the Bear went on to live at the National Zoo for the remaining 26 years of his life and, after dying of old age, was buried in Smokey Bear Historical Park in Capitan, New Mexico. The Smokey Bear character remains the most popular public service announcement mascot in U.S. history and licensing of his image brings in millions of dollars every year to help fund fire prevention education efforts.





Source link

10 Best Mobile Apps for Learning to Code

Whether you already have some coding experience or are starting from scratch, the good news is that you don’t have to be chained to your desk in order to learn how to code.

What’s even better is that you don’t have to spend years mastering programming either. Thanks to numerous coding apps available for both Android and iOS devices, you can easily level up your coding skills even when you’re on the go.

Create your own professional website with Wix dot com.
Create your own professional website with Wix.com

In this post, we’ve rounded up the best coding apps that will help you learn to code like a pro.

 

SoloLearn

SoloLearn is an app available for both iOS and Android devices and it also has a web app so you can use it to learn to code from anywhere. The app offers a number of different courses in languages such as JavaScript, Python, Java, and more. The app offers free trial as well as paid monthly and yearly plans.

SoloLearn

 

Encode

Encode is an Android app that offers lessons in programming in bite-sized portions. The app has programming challenges that you have to solve in order to progress further. It also includes practical examples and teaches you how to program in HTML, CSS, JavaScript, and Python. On top of that, the app has offline mode so you can continue learning even if you aren’t connected to the Internet.

Encode

 

Codemurai

Codemurai offers hundreds of bite-sized coding lessons that were created by industry experts on web development, mobile app, and game development. The app has lessons for languages that include HTML, CSS, JavaScript, Python, TypeScript, Angular 2, MongoDB, Node, React, and more. You will learn programming through fun coding challenges and then have the ability to test your knowledge with quizzes.

Codemurai

 

Mimo

Mimo is a programming app that allows you to develop programming skills that will help you develop an app or a game, make a website or become a hacker. Based on your preferences and interests, you will get a personalized track that will teach you the necessary skills. It’s available for both iOS and Android devices and offers courses in JavaScript, Ruby, Swift, C, C++, and other popular languages.

Mimo

 

Grasshopper

Grasshopper is a free iOS and Android app that teaches you how to code through JavaScript puzzles that you have to solve in order to progress. This app is very easy to use as it allows you to use blocks and arrange them in a logical order in order to create a working code. You also get real-time feedback and unlock achievements as you become more proficient.

grasshopper

 

Programming Hero

Programming Hero is an Android-only app that offers personalized paths towards coding mastery. The emphasis of this app is on making coding fun and it does so through teaching you how to build your own game while learning how to code at the same time. The app also offers forums where you can chat with other app users and exchange knowledge and tips.

Programming Hero

 

Tynker

While Tynker is primarily geared for kids and parents or educators looking to take their children’s and student’s education further, there’s a lot you can learn from this app. For starters, the app supports not only game design but also basics of robotics and more advanced languages such as JavaScript and Python. The app offers challenges, quizzes, and even level editors and character creation. The app is available for iOS devices.

Tynker

 

Enki App

Try the Enki app if you want a personalized track that will allow you to improve your programming skills. You can easily track your progress as you learn Python, Linux, JavaScript, HTML, CSS, Java or Git. What makes this app different is the fact that you can set daily goals to learn programming and keep track of your streak. Each lesson offers a summary of the main concept for the day as well as an attached article that goes more in-depth. Enki is available for iOS and Android devices.

Enki

 

Programming Hub

Programming Hub was named Google Play’s Editor’s Choice app and with good reason. It supports a wide array of languages and delivers the lessons in bite-sized interactive lessons and courses. Supported languages include Java, C++, C programming, HTML, CSS, JavaScript, and more. What’s more, the app was developed in collaboration with Google experts. The app is available for both Android and iOS devices.

Programming Hub

 

Easy Coder

Easy Coder is an Android app that focuses on teaching Java programming exclusively. The app provides step-by-step interactive lessons, quizzes, and programming challenges which will teach you the basic programming concepts and prepare you to develop your skills even further. Lessons are short and concise so that you consume them even if you’re on the go and the app also comes with practical examples to clarify the programming concepts.

EasyCoder



Source link