#edited into a version with bigger text so its easier to read without clicking on the imgs cos thats been bothering me
Explore tagged Tumblr posts
Text
#hes going to need extensive chiropractics when im done with him#touchstarved game#he lets you bite him if you pet his dog. faggottttttttttttttttttttttttttttttt#edited into a version with bigger text so its easier to read without clicking on the imgs cos thats been bothering me
132 notes
·
View notes
Text
Version 428
youtube
windows
zip
exe
macOS
app
linux
tar.gz
I had a good couple weeks working on the taglist code and some other jobs.
If you are on Windows and use the 'extract' release, you may want to do a 'clean' install this week. Extra notes below.
taglists
So, I took some time to make taglists work a lot cleaner behind the scenes and support more types of data. A heap of code is cleaner, and various small logical problems related to menus are fixed. The tag right-click menu is also more compact, quicker to see and do what you want.
The main benefits though are in the manage tags dialog. Now, the '(will display as xxx)' sibling suffix colours in the correct namespace for the sibling, and parents 'hang' underneath all tags in all the lists. It is now much easier to see why a parent or sibling is appearing for a file.
This is a first attempt. I really like how these basically work, but it can get a bit busy with many tags. With the cleaner code, it will be much easier to expand in future. I expect to add 'expand/collapse parents' settings and more sorts, and maybe shade parents a bit transparent, in the coming weeks. Please let me know how it works for you IRL and I'll keep working.
the rest
The main nitter site seems to be overloaded. They have a bunch of mirrors listed here: https://github.com/zedeus/nitter/wiki/Instances
I picked two roughly at random and added new downloaders for them. If you have Nitter subs, please move their 'sources' over, and they should start working again (they might need to do a bit of 'resync' and will complain about file limits being hit since the URLs are different, but give them time). If you would rather use another mirror, feel free to duplicate your own downloaders as well. Thanks to a user who helped here with some fixed-up parsers.
I gave the recently borked grouped 'status' sort in thread watchers and downloader pages another go, and I improved the reporting there overall. The 'working' status shouldn't flicker on and off as much, there is a new 'pending' status for downloaders waiting for a work slot, and the 'file status' icon column now shows the 'stop' symbol when files are all done.
The menu entry to 'open similar-looking files' is now further up on thumbnails' 'open' submenus.
The duplicate filter has its navigation buttons on the right-hand hover window rearranged a bit. It is silly to have both 'previous' and 'next' when there are only two files, so I merged them. You can also set 'view next' as a separate shortcut for the duplicate filter, if you want to map 'flip file' to something else just for the filter.
windows clean install
If you use the Windows installer, do not worry, these issues are fixed automatically for you from now on.
I updated to a new dev machine this week. Some libraries were updated, and there is now a dll conflict, where a dll from an older version is interfering with a new one. As it happens, the library that fails to load is one I made optional this week, so it doesn't ''seem'' to actually stop you from booting the client, but it will stop you from running the Client API in https if you never did it before (the library does ssl certificate generation).
It is good to be clean, so if you extract the Windows release, you may want to follow this guide this week: https://hydrusnetwork.github.io/hydrus/help/getting_started_installing.html#clean_installs
full list
interesting taglist changes:
taglists work way better behind the scenes
when siblings display with the '(will display as xxx)' suffix, this text is now coloured by the correct namespace!
parents now show in 'manage tags dialog' taglists! they show up just like in a write/edit tag autocomplete results list
the tag right-click menu has had a pass. 'copy' is now at the top, the 'siblings and parents' menu is split into 'siblings' and 'parents' with counts on the top menu label and the submenus for each merged, and the 'open in new page' commands are tucked into an 'open' submenu. the menu is typically much tighter than before
when you hit 'select files with these tags' from a taglist, the thumbgrid now takes keyboard focus if you want to hit F7 or whatever
custom tag presentation (_options->tag presentation_, when you set to always hide namespaces or use custom namespace separator in read/search views) is more reliable across the program. it isn't perfect yet, but I'll keep working
a heap of taglist code has been cleaned up. some weird logical issues should be better
now the code is nicer to work with, I am interested in feedback on how to further improve display and workflows here
.
the rest:
added two mirrors for nitter, whose main site is failing due to load. I added them randomly from the page here: https://github.com/zedeus/nitter/wiki/Instances . if you have nitter subs, please move their download source to one of the mirrors or set up your own url classes to other mirror addresses. thanks to a user for providing other parser fixes here
gallery download pages now show the 'stop' character in the small file column when the files are done
gallery download pages now report their 'working' status without flicker, and they report 'pending' when waiting for a download slot (this situation is a legacy hardcoded bottleneck that has been confusing)
thread watchers also now have the concept of 'pending', and also report when they are next checking
improved the new grouped status sort on gallery downloader and watcher pages. the ascending order is now DONE, working, pending, checking later (for watchers), paused
the network request delay after a system resume is now editable under the new options->system panel. default is 15 seconds
the 'wait on files too' option is moved from 'files and trash' to this panel
when the 'just woke' status is active, you now get a little popup with a cancel button to override it
'open similar-looking files' thumbnail menu entry is moved up from file relationships to the 'open' menu
the duplicate filter right-hand hover window no longer has both 'previous' and 'next' buttons, since they both act as 'flip', and the merged button is moved down, made bigger, and has a new icon
added 'view next' to the duplicate filter shortcut set, so you can set a custom 'flip between pair' mapping just for that filter
thanks to a user helping me out, I was able to figure out a set of lookups in the sibling/parent system that were performing unacceptably slow for some users. this was due to common older versions of sqlite that could not optimise a join with a multi-index OR expression. these queries are now simpler and should perform well for all clients. if your autocomplete results from a search page with thumbs were achingly slow, let me know how they work now!
the hydrus url normalisation code now treats '+' more carefully. search queries like 6+girls should now work correctly on their own on sites where '+' is used as a tag separator. they no longer have to be mixed with other tags to work
.
small/specific stuff:
the similar files maintenance search on shutdown now reports file progress every 10 files and initialises on 0. it also has faster startup time in all cases
when a service is deleted, all currently open file pages will check their current file and tag domains and update to nicer defaults if they were pointed at the now-missing services
improved missing service error handling for file searches in general--this can still hit an export folder pointed at a missing service
improved missing service error handling for tag autocomplete searches, just in case there are still some holes here
fixed a couple small things in the running from source help and added a bit about Visual Studio Build Tools on Windows
PyOpenSSL is now optional. it is only needed to generate the crt/key files for https hosting. if you try to boot the server or run the client api in https without the files and without the module available to generate new ones, you now get a nice error. the availability of this library is now in the client's about window
the mpv player will no longer throw ugly errors when you try to seek on a file that its API interface cannot support
loading a file in the media viewer no longer waits on the file system lock on the main thread (it was, very briefly), so the UI won't hang if you click a thumb just after waking up or while a big file job is going on
the 'just woke' code is a little cleaner all around
the user-made downloader repository link is now more obvious on Lain's import dialog
an old hardcoded url class sorting preference that meant gallery urls would be matched against urls before post, and post before file, is now eliminated. url classes are now just preferenced by number of path components, then how many parameters, then by example url length, with higher numbers matching first (the aim is that the more 'specific' and complicated a url class, the earlier it should attempt to match)
updated some of the labelling in manage tag siblings and parents
when you search autocomplete tags with short inputs, they do not currently give all 'collapsed' matching results, so an input of 'a' or '/a/' does not give the '/a/' tag. this is an artifact of the new search cache. after looking at the new code, there is no way I can currently provide these results efficiently. I tested the best I could figure out, but it would have added 20-200ms lag on all PTR searches, so instead I have made a plan to resurrect an old cache in a more efficient way. please bear with me on this problem
tag searches that only include unusual characters like ? or & are now supported without having to lead the query with an asterisk. they will be slower than normal text search
fixed a bug in the 'add tags before import' dialog for local imports where deleting a 'quick namespace' was not updating the tag list above
.
windows clean install:
I moved to a new windows dev machine this week and a bunch of libraries were updated. I do not believe the update on Windows _needs_ a clean install this week, as a new dll conflict actually hits the coincidentally now-optional PyOpenSSL, but it is worth doing if you want to start using the Client API soon, and it has been a while, so let's be nice and clean. if you extract the release on Windows, please check out this guide: https://hydrusnetwork.github.io/hydrus/help/getting_started_installing.html#clean_installs
the Windows installer has been updated to remove many old files. it should now do clever clean installs every week, you have nothing to worry about!™
.
boring db breakup:
the local tags cache, which caches tags for your commonly-accessed hard drive files, is now spun off to its own module
on invalid tag repair, the new master tags module and local tags cache are now better about forgetting broken tags
the main service store is spun off to its own module. several instances of service creation, deletion, update and basic fetching are merged and cleaned here. should improve a couple of logical edge cases with update and reset
.
boring taglist changes:
taglists no longer manage text and predicates, but a generalised item class that now handles all text/tag/predicate generation
taglist items can occupy more than one row. all position index calculations are now separate from logical index calculations in selection, sizing, sorting, display, and navigation
all taglist items can present multiple colours per row, like OR predicates
items are responsible for sibling and parent presentation, decoupling a heap of list responsibility mess
tag filter and tag colour lists are now a separate type handled by their own item types
subordinate parent predicates (as previously shown just in write/edit autocomplete result lists) are now part of multi-row items. previously they were 'quiet' rows with special rules that hung beneath the real result. some related selection/publish logic is a bit cleaner now
string tag items are now aware of their parents and so can present them just like autocomplete results in write/edit contexts
the main taglist content update routines have significantly reduced overhead. the various expansions this week add some, so we'll see how this all shakes out
the asynchronous sibling/parent update routine that populates sibling and parent data for certain lists is smarter and saves more work when data is cached
old borked out selection/hitting-skipping code that jumped over labels and parents is now removed
'show siblings and parents' behaviour is more unified now. basically they don't show in read/search, but do in write/edit
a heap of bad old taglist code has been deleted or cleaned up
next week
This was a big couple of weeks. Setting up the new dev machine--I replaced my six year old HP office computer with a nice mini-pc with an SSD--worked out great, but there were some headaches as always. The taglist work was a lot too. I'll take next week a little easier, just working misc small jobs.
1 note
·
View note
Text
300+ TOP MS ACCESS Interview Questions and Answers
MS ACCESS Interview Questions for freshers experienced :-
1. How MS Access is better than MS SQL Server? With a small number of users, MS Access is easy to handle and suited for desktop use Easy compatibility and sharing compare to MS SQL Server SQL server is, usually, used by developers and in a bigger organization MS Access is cheaper than MS SQL MS Access requires less database administration 2. How we can do multi-join query in MS Access? In Access, we can only join two tables, in order to join more tables you require to group the first join together by using parentheses, as if it was a newly derived table. After that, you can join another table to that group. Select * from ( ( Table 1 LEFT JOIN Table 2… ) LEFT JOIN Table3… ) LEFT JOIN Table4… 3. Would you like to easily automate your MS Access database through menu driven selections? This can be accomplished by creating a form with customized buttons that point to macros. An easier way is to use MS Access’ built in function called “Switchboard Manager”. This can be located in Tools/Add-Ins. 4. Explain about managing data tasks? Data can be managed by using the features of Import text wizard and export text wizard. Here you can save the operation for future use. First you should edit the specification name after clicking it you can make changes to the text box. Path can also be changed by clicking and modifying the changes in text box. Changes to the description of the file name can be made by making a change in the text box and then saving the changes to the path, specification name by pressing enter. 5. When I assigned a primary key to my table in Microsoft Access, I was expecting my (11112 to be sorted. Am I using the correct procedure? Some developers occasionally rely on indexes to sort their data, but shouldn’t. Thai’s because an index is an internal Jet operation that relies on internal rules to speed sorting, which is not the same as actually performing the sort. Records are not stored differently or changed. The sort is not performed until an action is being taken against the data like a query. This is not the same as simply opening a table in its Datasheet View. Although an index often appears to sort data, those internal rules often conflict with normal sorting practices and can have unexpected results. Sorting can be accomplished through the use of a query where ascending or descending can he specified against any one of the fields chosen from the table. 6. How do you import data from another access database? The process of importing data from another Access database follows these general steps they are Preparing the document for import operation and make sure that extensions are not in .mde or .accde because in that extension you can import only tables. Source should be closed automatically when the process is completed Make sure that you have permission for read and write. 7. I am using the Switchboard Manager in MS Access. I am getting an error message ‘[here was an error executing this command. The Switchboard manager in MS Access offers only limited information on errors that occur within the database. Execute the selection directly Prom the database window to get more detailed information on the error. 8. What happens if the both source and destination are named the same? The import operation present in MS Access does not overwrite or modify any of the existing tables or objects. If both the source and destination are the same it makes sure that numbers are appended to the name of the source file. For example a table having a name as info will be renamed as infol. 9. What format should my database be saved in to allow different versions of Microsoft Access to open the database? MS Access is not backwards compatible. To share tables between different versions of MS Access, you can link the tables between two different databases However, only the tables in the converted database would be available. 10 . What is the maximum size of a database that can be opened in Microsoft Access? 1 Gigabyte
MS ACCESS Interview Questions 11. I am designing an Access database form. how can I get my next control in the form to be automatically selected? By default, Access waits until you press Enter before it selects the Next control on your form. However, this is a wasted keystroke you can eliminate by setting each control’s Auto Tab property to Yes. This Property also requires that you set an input mask. Once the data you’re entering satisfies the input mask, the Auto Tab property Automatically selects the form’s next control We don’t recommend you Use this feature unless you can apply it consistently; otherwise you’ll just confuse your users, who won’t know when to press Enter. 12. In MS Access the long and short date option does not show 4 digit years. how do I achieve the mm/dd/yyyy format? In the date field properties of the table, form, or properties manually input the format you would like. It is not required to choose one of the date formats in the drop down box. Example would be mm/dd/yyyy. 13. how can I open an MS Access database that has been converted to a current version? MS Access is not backwards compatible. A workaround to share tables between different versions of MS Access would be to link the tables between two different databases. All objects in the database would not be available. 14. Explain about relationships and look up fields? Relationships are imported from the source to destination without any hindrance but once they land in the destination they can never be altered or changed and change of extensions cannot be of much help. Lookup fields: -Make sure that you link tables, links, etc if you want to display look up values and not look up ids. Related table should be linked to the destination field for display of lookup values. 15. How do you create an append query? Append query can be used if you would like to add new rows of data to an already existing table. The process of creating an append query follows these steps they are. Basic step should be to create a select query After selecting the query you need to append the query Destination fields should be selected for each column in the query Records can be appended by using the function to run. 16 . State some of the uses append query? Some of the uses of append query are as follows You will save time by appending data to an existing table rather than manual update. Appending files based on specific criteria is possible. If your destination file doesn’t have columns and rows you can add certain columns and rows thus ignoring the rest of them. Append can save time and labor when dealing with large database updation. 17. State some criteria s and their effects Of a database? It is possible to enter one or more criteria in the rows which can affect your database significantly. >=“Callahan” this returns all the various records from Callahan to the end of the alphabet. Date() This field returns all the data pertaining to the current date. This is used when you want to know all records which contain zero length string This can be useful to know whether your customers have fax numbers or so. 18. Detail about how you can import a sharepoint list? Importing a Sharepoint list to an access database gives you a range of flexible convenient options first a copy is made into the access database after which you can specify the lists which you would like to copy. Also you have an option to copy an entire list or only a specific file. Also import operation creates a table in access which copies the entire fields and records specified into the Access. 19. Explain the steps for this message could not delete from the specified tables? This error is caused by delete query and when the unique property is set to no. Following are the steps which should be taken to solve the problem. Delete query should be opened and if it is not opening then press F4 Clicking the query properties underneath the query designer will give you options. In that options you need to locate unique records property and should set it to yes. These options are present in query property sheet. 20. Explain about creating a report tool by using the report tool and report wizard? Report tool creates a report very fast because it will not ask you for much information for creating your report. it displays the entire field but it may not be the polished data source you are opting for. Report wizard allows you to create a table by giving you options on what to appear and what not to appear You can specify the relations, grouping and sorting between the tables. 21. Explain about Microsoft access? Microsoft access name has been changed to Microsoft office access. This software incorporates relational database management system which combines GUI (graphical user interface) with Microsoft Jet database engine. It can import and use data from Access, SQL, oracle, etc. This software is used to build application software. 22. Explain about the various features present in MS Access? Microsoft access has huge benefits for a programmer and end user. Some of the benefits are Relative compatibility with SQL and VBA. Microsoft SQL server desktop engine is embedded into the Access suite along with Jetdata base engine which can further help you in programming. MS Access allows forms to contain data which is altered as changes are made to the underlying table. It has features which support the creation of all objects in the underlying server. 23. State some of the uses of MS Access? MS Access provides a huge range of functions some of them are It is used by small business, departments of large corporations, and by amateurs to create applications on their desktop for data applications. Access is very useful for small web based database applications hosted on IIS and using ASP.NET pages. It can be used as a RAD for building prototype and Stand alone applications. Access can be used as a frontend while the backend can be a ODI3C compliant product. 24. Fxplain about the protection features present in MS Access? If a programmer doesn’t wish to make changes to the document he can lock the document data and its code from further changes by changing the extension of the file system to .MDE. Changes can be made only to the file with an extension MDE. Tools are available in the market which can unlock and decompile the code but some changes to VBA or VB scripts are irreversible. 25. Name at least six file extensions of Microsoft Access? Some of the file extensions present in MS Access are Access blank project template .adn Access database ,accdb Access project .adp Access Workgroup .mdw Protected access database .accde Access workgroup .mdw 26. In MS Access 2013 what are the different ways you can enter data? Different methods you can enter data in MS Access are Datasheet View Form SQL View Import from External Data (XML, Data Services, HTML etc.) 27. How you can import data from other sources into Access database? To import data into Access data-base In the main menu, click on EXTERNAL DATA, in the Import and Link group Choose the type of the file you want to import To know which type of file can be import or link Access database, follow the instruction in the Get External Data wizard 28. State the criteria which a trusted publisher should meet before adding him? The following criteria should be met by the publisher before adding him to the list. The code project should have a digital signature of the publisher A valid digital signature should be in place Valid digital signature should not be expired Digital certificate which comes with digital signature should meet industry standards and specifications. Developer who is holding and signing the code project should be a trusted publisher. 29. how do you add a developer to a trusted publishers list? Whenever a developer is signing into the code project you will have three options they are disable the macro, enable the macro and explicitly trusting the publisher. You can trust the publisher by allowing from the control panel of the windows. Always have an option left to enable or disable the macros because sensitive information regarding your code can be leaked out within fraction of seconds. 30. Mention how you can create a simple query in Access 2013? Open your database Go to -> create tab Click on the query wizard icon Select a query type From the pull-down menu choose the appropriate table Select the field you want in the query results To add information from additional tables, repeat steps 5 and 6 Click on next Choose the type of results that you would like to produce Give your query a title Click on finish 31. What is the size limitation of an Access database? Size limitation does not pertain to number of records in a table within a database. Forms, reports, macros, and modules also contribute to database size, but is rather minimal compared to tables containing records. It is recommended that if large amounts of data will be maintained or constantly deleted and new data imported, put your tables in another database and link the tables back into the main database. The utilities for database compression and repair will nm much more quickly. In Access 2.0 databases the byte size limitation is 1 gigabyte. In general, use the 1gb rule and suggestions here to maintain performance of the database. See also “How Replication Increases Size of Database.’. 32. what do you mean by queries? Queries are the medium of manipulating the data to display in the form or report. Queries can join tables, update data, delete data, sort, calculate, filter, etc. MS ACCESS Questions and Answers Pdf Download Read the full article
0 notes
Text
The Huawei P9, its smaller counterpart the Huawei P9 lite and its even bigger sibling the Huawei P9 Plus are seriously impressive devices, with lots of power and useful features. But are you making the most of them? These are our favorite Huawei P9, P9 lite and P9 Plus tips and tricks.
Jump to section:
Customization
Other tricks
Camera and photos
Battery
Warning: not all tips and tricks are available on all three devices, plus some are only available after your device is updated to Nougat.
Customization
Enable the app drawer
With Nougat you can enable the app drawer on P9 in a few taps. Navigate to Home screen style in the Settings menu and you’re done!
Choose your language
By accessing Advanced Settings > Language > Add a language, you can set more than one system language. Setting a new language is easy: you just move your finger to the desired language and drag it on top of the list.
Customize notifications
Tapping Settings > Notifications and Status bar > Notification Manager can customize the notifications of each application installed on your P9.
Use Smart Assistance to change the interface
Huawei’s Smart Assistance is enormously clever. It enables you to change the interface to make it easier to use, so for example you can customize the navigation buttons or have a floating dock that gives you access to navigation when you need it.
There’s a one-handed UI for one-handed operation, and there’s also a bunch of motion control options. You can use Draw to summon an app by drawing its first letter; Flip to mute incoming calls, or timers and alarms; or Tilt to move icons and widgets.
There are many hidden customization options for the different versions of the P9. Below you will find the steps:
Navigation buttons: Settings > Navigation.
Home screen style: Settings > Home Screen Style.
Font Size: Settings > Display > Font size.
Brightness: Settings > Display > Brightness.
Color temperature: Settings > Display > Color temperature.
Status bar: Settings > Notifications and Status Bar > Show Operator Name and Battery Percentage.
Wallpapers and widgets: hold on a empty spot on the home screen, and select the piece you want to customize from those displayed at the bottom of the screen.
Other tricks
Activate voice commands
The P9 doesn’t just have motion control. It has voice control too. If you switch the features on you can answer or reject calls by saying “answer call” or “reject call” and you can wake up your device with your voice. You can customize the wake-up command, which is fun, and you can train the voice recognition so it’s better at understanding you.
Launch WhatsApp by drawing the letter W on the display
WhatsApp is probably one of the apps you use most often during the day. But there is a way that allows you to access it – and three other apps – quickly from your P9. Draw a ‘w’ and it will open the chat screen.
To activate this, go to: Settings > Smart Assistance > Motion Control Draw and choose which app you want for the letters c, e, me and w.
#gallery-0-5 { margin: auto; } #gallery-0-5 .gallery-item { float: left; margin-top: 10px; text-align: center; width: 33%; } #gallery-0-5 img { border: 2px solid #cfcfcf; } #gallery-0-5 .gallery-caption { margin-left: 0; } /* see gallery_shortcode() in wp-includes/media.php */
Enable auto-correct to avoid mistakes
If you use the Swype keyboard, Huawei can keep you from making errors when you send messages. Open the messaging app, go to the keyboard, and long press the small gear icon in the lower left corner. From the settings menu that pops up, activate Auto Correct and you’re good to go.
Schedule the phone to automatically power on or off
Go to Settings > Smart Assistance and turn on the automatic power on/off function, then set the times you want. Shut off your phone automatically when you’re not using it, without having to worry about missing an alarm.
Use the fingerprint reader to launch apps
The fingerprint reader on the P9 is fast and accurate, but why limit it to unlocking your smartphone? You can go to Settings > Fingerprint ID and set it to take a photo, answer calls, snooze the alarm and more.
Optimize the system
The P9 has a built-in optimization system that allows you to get rid of temporary files that just take up space. Opening the app manager gives you a bunch of options. After starting an analysis automatically, tap Optimize, and it’s done in just a few seconds.
Lock apps with a PIN
You can lock a particular app with a PIN code to keep people from snooping on your Huawei device. Tap Lock app in your settings, enter your PIN and then select which apps you want to lock. Chat applications, your photo gallery app and other apps with private info don’t need to be seen or used by everyone you might hand your phone to.
Enable Wi-Fi+ for a better browsing experience
Combining Wi-Fi and mobile networks can make for a better browsing experience. In fact, you should also set your device to connect automatically to your home Wi-Fi network.
Use multi-window
This is a feature which arrived with Nougat. To activate this mode, long press the multitasking button. Select the blue bar in the middle and move it as desired, then tap the multitasking button again to close this mode.
Use two Facebook and WhatsApp accounts
Nougat and EMUI 5.0 brought us another new feature. You can now use two Facebook accounts on one Facebook app, and the same with WhatsApp. This new feature can be activated in the settings menu, just under the battery options.
Kill all apps, apart from one
We’re used to killing apps in the task switcher, but Huawei’s Emotion UI adds a useful feature: down-swipe on an app and when you hit the Kill All button, it kills everything but that app. That’s particularly useful if you’re needing all your device’s power for something demanding such as a game.
Activate eye protection mode
By removing blue light, you can read at night without straining your eyes. This mode looks yellowish, but you’ll get used to it. Your eyes will thank you.
Add your contact info to the lock screen
On the P9, like with many other devices, you can add your contact info and name to the lock screen. Go to Settings > Lock screen and password > Lock screen signature and enter your info. If your device is lost, people can use this info to contact you and return it.
One handed use mode
The P9 is easy to handle, but this mode can make it easier when you’re only able to use one hand. Go to Settings > Smart Assistance > One handed UI > View mini screen. Then just slide your finger on the navigation bar to enable it.
Glove mode
In addition to one handed mode, you can also keep your gloves on to text in the cold. Go to Settings > Smart Assistance > Glove mode. It works for most types of gloves, but may react differently depending on the fabric.
Camera and photos
Browse faster in gallery
Huawei has done a good job in the camera department for these three devices and I am sure you’ve already saved plenty of photos in your gallery. So when you look through these photos it might take some time. But you can easily browse these photos quickly with a simple gesture.
Open one of the photos saved in your folders and pinch it. The photo will shrink and then you can slide your finger along the display and browse all your photos in a snap.
Take a quick photo
If you need to take a picture right away without unlocking the smartphone, you can use the volume button. With a quick double click on the low-volume button of your device, a picture will be taken immediately. You won’t miss another perfect picture by a second again.
Best photo editing apps for Android
Take a screenshot by knocking
Taking a screenshot on Android devices is simple: grab your smartphone and simultaneously press down on the down volume and power buttons. But there’s a way that will allow you to do it even quicker: use the knuckle of your finger to knock twice in a row on the screen. Pretty easy, right?
Just make sure you enable this in your Settings then hit Smart. Select Smart screenshots and activate it. Now close the Settings and tap the screen with your knuckle.
Bokeh effect in wide aperture mode
Fancy some creamy bokeh? If you’re not a photographer you might not know the term, but you’ve seen it: it’s the effect you get with a good camera when the subject is pin-sharp but the immediate background is blurry. The P9, P9 lite and P9 Plus’s camera does a pretty good impression of bokeh in its wide aperture mode. In the camera app, go into aperture mode, tap the thing you want to focus on and then set the aperture to somewhere between f/0.95 and f/16.
Filters
For those who like to change their shots through the specific filters Huawei has implemented this feature inside the same camera software. Place the subject or scene you want to capture, and by pressing on the three circles, you will see in nine different modes, each with a different filter applied. A feature that will make you skip a step, to edit the photo on Instagram before publishing it.
Video
If you love to shoot video with your smartphone you’ll probably have already noticed that, by default, Huawei sets the resolution to 1080p FHD (16:9, stereo). But if you want to get the most for your video, and you do not have storage constraints, I suggest you set it to the maximum resolution.
Launch the Camera app, turn on video and open the dedicated settings menu with a side swipe from right to left. Now you just need to select FHD 1080p (16:9, stereo, 60 fps).
Battery
Huawei P9, P9 lite, P9 Plus tip: get longer battery life
Increase battery life
Big screens make big demands of big batteries, so if you’re finding that your P9, P9 lite or P9 Plus isn’t making it through the day you’ll need to turn to the power saving modes. In this case, decrease the brightness level of the display and access to settings menu to activate one of the energy-saving plans offered:
Energy saving mode: closes tasks on background apps, reduces sound effects and blocks the email syncing in the background. Huawei’s Smart battery function tries to reduce battery consumption without obviously affecting performance.
Ultra: recommended when the battery is almost empty, only keeps calls and messages activated, disconnects from the outside world. If you’re lost in the woods, being chased by a maniac and really need your battery to last longer, the ultra power saving mode throttles everything down for maximum longevity.
Low resolution savings: reduces the screen resolution. ROG power saving cuts the screen resolution down to 720 x 1280, which Huawei says makes a big difference to how long your battery lasts.
Close app after lock screen: closes apps in the background automatically when the screen is off.
Looking at your battery consumption data can give an idea of how much power each app installed on your P9, P9 Lite and P9 Plus uses, plus you can set a reminder to be notified when some of these reach excessive energy consumption.
Do you have any favorite features, tips or tricks that we’ve missed? Let us know in the comments.
HUAWEI P9, P9 LITE AND P9 PLUS TIPS AND TRICKS The Huawei P9, its smaller counterpart the Huawei P9 lite and its even bigger sibling the…
1 note
·
View note
Text
30 essential tools for web developers
The right web design tools can streamline your workflow, helping you work smarter – rather than harder – and more efficiently. After all, you want to invest your energy in solving problems, delighting users and creating beautiful designs. You wouldn’t want to waste your time and energy on dull, repetitive and soul-sapping tasks. Let’s look at 30 essential tools for web developers that will help you become more productive in the coming year.
Where some are brand spanking new while others have been around for a while. But all of them have the potential to save you time, energy and budget in your web design projects.
Sketch
Rory Berry, creative director at Superb, rightly feels that using Photoshop for web design is a mistake. He made the switch to Sketch in 2017 and highly recommends it. “Having been a user of Photoshop for over 10 years, it was hard to change and learn something new,” he says. “But literally after the first day of using Sketch, there was no looking back. I’m a total convert.”
He offers a number of reasons why. “Compared to Photoshop, sorting all your documents that you have and making revisions on Sketch is much easier,” he begins. “Sketch has small documents whereas Photoshop has large ones. Due to it being a vector-based app, the file sizes are dramatically smaller compared to Photoshop.
The Sketch community offers hundreds of plugins to make designers workflow easier and smoother, he adds. “There’s basically a plugin for everything if you can find it. Photoshop/ Lightroom is still our go-to for photo editing, but Sketch is an all-around winner for web design.”
Figma
Figma is an interface design tool that enables multiple designers to collaborate in real-time. It’s available in the browser, or on Windows, Mac or Linux. Both free and paid versions are available depending on what you use it for.
Here are some of its outstanding features:
“Figma has a similar USP as Sketch with the exception of being cross-platform,” explains frontend designer Benjamin Read. “I recently used it to create a couple of icons for an article we’re publishing on our website and found the workflow incredibly smooth. It took me no time to learn and had the added benefit of being collaborative: you can share graphics with others within the app.“ I’ve been trying to switch to Linux for my work and sometimes we use Windows, so Figma makes sense to me from a practical standpoint,” he adds. “In comparison, I’ve found many tools for other platforms fall short.”
Content writer and art worker David Eastwood, who works for Co-op Electrical, also has good things to say about Figma. “We were recommended Figma by our web development agency and use it for landing page wireframes,” he explains. “This has included proposed changes to the homepage and specific sales landing page, especially around Black Friday. It’s also been a really useful tool when we’ve needed to quickly mock MVTs; sometimes small additions to an existing layout. We love that you can quickly create designs for desktop, tablet, and mobile.”
Affinity Designer
Serif’s Affinity Designer has been dubbed the ‘Photoshop killer’ by some, and it’s easy to see why,” says Dan Edwards, creative director at No Divide. “My first impressions are that the app is incredibly well designed and feels like it’s been made to be a dedicated web and graphic design tool.”
“There were few features I really enjoyed, including adjustable, non-destructive layers. This essentially means you can adjust images or vectors without damaging them.”
“When it comes to designing, the UI feels familiar. When moving from Photoshop, everyone seems to want to start over, which can pose a real challenge. What Affinity has done is to keep the layout familiar, while tightening everything up and hiding distractions. I was easily able to jump straight in and get designing.”
“Overall, Affinity feels like it could be a real competitor to Photoshop, Illustrator, and Sketch. And at just £48.99 it’s a real bargain!”
Anime
Although web page animations have at times got a bad rap, developers are always looking for ways to make things easier. CSS animations and transitions have been a huge step forward, but more complex interactions often require a library. Anime is a new animation engine you’ll want to take a look at if you need to add complex animated components to your apps.
This code defines the objects you want to animate, along with specifics of the animations. The API allows you to target elements using CSS selectors, DOM elements or even JavaScript objects.
Avocode
Avocode makes it extremely easy for front-end developers to code websites or apps from Photoshop or Sketch designs. It’s built by the same team that brought us CSS Hat and PNG Hat, so it’s not surprising they’ve taken the exporting process one step further. Although previous apps have allowed you to export assets, what makes Avocode really special is that you can use its Photoshop plugin to sync your PSD file into Avocode with just one click.
Avocode quickly and automatically analyses your PSD or Sketch files and brings everything into a beautifully designed UI. You then have full control over how you export assets, including SVG exporting as standard.
You can also click elements in the design, and copy & paste the code into a text editor of your choice. “It gives users everything they need for coding – a preview of the design, and access to all layers and export assets,” says Avocode co-founder Vu Hoang Anh. “The best thing is that developers won’t need Photoshop or Sketch at all. The current workflow really sucks and that’s why we created Avocode.”
Pattern Lab
Pattern Lab is a beautiful pattern-driven design tool created by Dave Olsen and Brad Frost. It’s based on the concept of atomic design, which says that you should break your design down into its smallest parts – atoms – and combine them to form bigger, reusable components – molecules and organisms – that can then be turned into usable templates.
Although at its core it’s a static site generator that stitches together the UI components. There’s much more to Pattern Lab than that. It’s language-and-tool-agnostic enables you to nest the UI patterns inside each other and design with dynamic data. It features device-agnostic viewport resizing tools to help you ensure your design system is fully responsive and fully extensible so that you can be sure that it’ll expand to meet your needs.
Vivaldi
Sometimes the best tool can be something as simple as a new browser. Vivaldi is a fast, customisable web browser for power-users built by some of the people who started Opera. Dubbed ‘a browser for our friends’, Vivaldi is built using web technologies like JavaScript and React that are used to make the user interface, along with Node.js and lots of NPM modules.
Vivaldi is the most customisable browser out there, and it offers other cool features such as command line control, a panel for taking notes, tab stacking, tiling and web panels that enable you to put all your favourite sites in one place for easy access.
Canva
Do you want to mock up something like an infographic quick and easy? Then Lawrence Harmer, founder of Solve Media, recommends Canva. It’s a free, browser-based tool that’s used by both designers and non-designers, to make graphics for both print and the web.
“Canva is pretty good for making nice images,” says Harmer. “Images are the window into the soul of your website and social media, so a tool like this can be key to success.”
Web Designing Proposal Tool
It’s essentially a simple ‘Proposify’ tool, which allows you to quickly and easily churn out proposals,” explains BeeWits’ David Attard. “It’s essentially a glorified form that allows you to enter and change pre-set text and then creates a Word document ready for sending directly to the client.” If you sign in to the free service, you can save your current version, such that next time around, you’ve got a bunch of fields already filled in with your details. It’s simple, but it gets the job done, and what more do you really want? It’s not officially been launched yet, as BeeWits are currently canvassing feedback, but it’s otherwise ready to use.
Site Stack
Here is another browser-based tool that’s both simple and brilliant. Type in the URL of any website to this Chrome extension and it lets you look at its tech stack. It’s fast, smooth and reliable and provides coverage for over 40,000 products. It prides itself on both the accuracy and exhaustiveness of its data.
“We built this extension to be a simpler way to access this data,” says its makers, “while also protecting your privacy and running all operations on our own servers so that your browsing isn’t slowed down.”
Codepen Project
Founded in 2012 by Alex Vazquez, Tim Sabat, and Chris Coyier. CodePen has grown to become the web’s largest and liveliest communities for testing and showcasing HTML, CSS and JavaScript code snippets. For the last five years, it’s functioned as both an online code editor and an open-source learning environment, where developers can create code snippets (“pens”), test them and get feedback.
Recently CodePen took another big leap forward by launching its own IDE (Integrated Development Environment), CodePen Projects, which lets you build websites within your browser.
You can drag and drop your website files, organise them into tabs, and preview your site as you build it. There are templates to help you create sites more quickly if you choose, as well as built-in debugging tools.
Bootstrap
Bootstrap is certainly not a new tool. But the new version of the world’s most popular front-end framework is tabbed as ‘a major rewrite of almost the entire project’, so I think it warrants a mention. Some notable changes include the following:
Bootstrap has revolutionised development and there’s no doubt the ubiquitous framework will continue to shape how we build stuff on the web.
Dropped support for IE8 and iOS6
CSS source files move from Less to Sass (‘.scss’)
Switched from px to rem for primary CSS units
Increased the global font size to 16px from 14px
Added support for Flexbox in the grid
A new, all-encompassing ‘cards’ component to replace older components
Nearly all components refactored to use classes without child selectors
Ally.js
No list of web development tools would be complete without at least one accessibility tool. Accessibility is one of those often-neglected aspects of design and development, and ally.js can simplify it for you.
Now a stable product, Ally.js is a JS library that gives you fine control over focusable and non-focusable elements. For example, using its API you can prevent elements outside a modal window from receiving focus until the modal is closed. You can also find out exactly which elements are focusable or tabable, and identify focus changes within the shadow DOM.
Type Nugget
Type Nugget addresses a need you’ll have on just about every frontend project: dealing with CSS typography. Still, in beta with more features in pipeline, it’s an online typesetting tool that gives you fine control of typestyles.
The tool displays a diverse set of text samples on the page, which can be live-tweaked in a panel on the right. The panel lets you select font size, weight, style, colour, letter spacing, text decoration and more for individual aspects of the page (global styles, headings, paragraphs, links and HTML lists).
This tool also allows you to register for an account, log in and save the progress of your work. After specifying all your settings, you can hit the ‘Generate Code’ button and Type Nugget will produce a link to a style sheet hosted on its CDN. If you find CSS typography tedious and repetitive, you’ll benefit greatly from adding this tool to your workflow.
ARkit
Augmented reality is as blending digital object and information with the environment around you. It is a space that’s generating a lot of excitement in the web and app development community today. Not least because in June at WWDC17, Apple released ARKit, a new framework that allows you to easily create AR experiences for iPhone and iPad running on iOS 11. To get started, simply download iOS 11 and the latest version of Xcode 9, which includes the iOS 11 SDK.
Vue.js
What would a list of new web tools be without the hottest new JavaScript framework? Vue.js, like React, is a framework for building user interfaces and utilises a virtual DOM. As the name suggests, Vue’s core library is focused on the view layer.
Look at a code example, taken from Vue’s docs, that utilises user input and demonstrates the library’s elegance. We’ll start with the HTML
There is a custom v-on handler that calls the reverse Message method. Vue is great for those who are less-experienced with complex libraries, but also has a number of plugins to help with the development of complex single-page web apps.
Hologram
Hologram is a new all-in-one tool for WebVR creation. This free desktop app requires no previous coding knowledge, and its native Google Blocks integration enables you to play with lots of free 3D objects right off the bat. Under the hood, Hologram takes full advantage of the power and simplicity of A-Frame, Mozilla’s WebVR framework.
This means that developers can download projects created with Hologram and use them in their A-Frame workflows. It’s currently available on Mac and a Windows version is promised soon.
Parallax SVG Animation Tool
Created by Gareth Battensby of Parallax, SVG Animation Tools has a range of SVG animation tools in the form of a Python script. “I built the tools as a response to the frustrations you get when creating complex or long sequence SVG animations,” he says in this explanatory blog post.
“The biggest of these being overwritten edits whenever you re-export from Illustrator. These tools completely eliminate that issue – they’re perfect for front-end developers who animate SVG graphics with GSAP or similar animation libraries.”
Github Notifier
Hate wading through emails? Prefer the idea of getting GitHub notifications in your browser? This Chrome extension does exactly that.
This straightforward but effective tool was created by Stacy Goh. It enables to get real-time push notifications whenever someone creates an issue, comments on an issue, pushes code, creates a pull request, forks your repository or stars your repository. You can learn more about how and why Goh created it in this blog post.
Quill
Quill is billed as a WYSIWYG rich text editor ‘for the modern web’. There are lots of different contexts in applications where a rich text editor is needed. So it’s no wonder Quill has exploded in popularity since its version 1.0 beta release in mid-2016.
Now a stable product, Quill lets you convert a basic div element into a powerful rich text editor with a few lines of JavaScript:
But the most powerful features in Quill are its flexibility and extensibility by means of modules and a powerful API. Quill offers themes and modules that include a toolbar, keyboard, clipboard, and history. You can test-drive many of these features in the Quill playground and of course, the documentation is a must-read if you intend to use its advanced features.
URL TO PDF
Brought to you by Alvar Carto, this self-hosted API enables you to convert the HTML into PDFs. Hence it’s handy for rendering receipts, invoices, or any other HTML content. The API ignores a page’s @media print CSS rules by default and sets Chrome to emulate @media screen, to make the default PDF look more like the actual site. You can set it to operate automatically at regular intervals and best of all, it’s free.
iota CSS Architecture
iotaCSS is a CSS framework that’s been purposely crafted to be design-agnostic. It was created by consultant front-end architect Dimitris Psaropoulos, who found that other CSS frameworks were imposing a lot of limitations on the designers he worked with. This was forcing him to either write a lot of code on top or ask the designer to compromise. So instead, he created his own framework, which works a little differently.
While most CSS Frameworks behave as a unit, iotaCSS is a set of individual, small and flexible modules that don’t depend on each other. You can use one independently or you can combine them to build more complicated user interfaces.
Launchpad
Launchpad is a tool from Anima that lets you publish websites directly from Sketch, with no coding required.
The entire interface is integrated into Sketch and can be used to create landing pages and static websites, although at the moment it doesn’t support dynamic web pages using JavaScript. But it does let you include links, add responsive breakpoints, set up forms, embed videos and integrate analytics tools. So it could be an ideal tool for setting up a quick and easy promotional website, for example.
React sketch. Aap
React Sketch.app provides a super-easy way to manage Sketch assets in a large design system. Built by the team at Airbnb to help bridge the gap between designers and engineers. It’s basically an open-source library that allows you to write React components that render to Sketch documents.
Because React Sketch app uses Flexbox, its components can have the same rich layout as your real components. That means no more dragging rectangles by hand; everything works like your target layout engine.
React Sketch app, then, makes it simple to fetch and incorporate data into your Sketch files. It also provides an easy way to build your own custom design tools on top of Sketch.
SVGito
SVGito is a free web app that cleans up your SVG files, to save you the bother of manually editing them.
Created by Peter Nowell, this neat little app automatically optimises your SVGs at the touch of a button, and will typically reduce their size and complexity without changing what they actually look like on screen.
Sizzy
Sizzy is a tool that allows you to preview multiple screens at once while you’re testing out your responsive web apps.
Creator Kristijan Ristovski had previously been using react-storybook to switch between the different variations of each component. But he got annoyed having to go back and forth between so many devices. Hence, he built Sizzy, which allows you to see all the changes simultaneously, making it much quicker and easier to spot and fix layout bugs.
Foundation for emails 2
Foundation for Emails is a framework from ZURB formerly known as Ink. It is used for creating responsive HTML emails that work on just about every platform and service, bundling together email coding best practices. The latest iteration uses a Sass codebase that gives you access to a settings file, wherein you can define all sorts of defaults to suit your needs.
Form
RelativeWave’s Form is a prototyping tool like no other we’ve tried. It’s not a typical design tool in that there’s no tools or layers palette. Using the app feels like a mix of design and code.
While you can’t actually create graphics in the app, you can insert them and use what Form calls ‘patches’ to add gestures and interactions. The Mac app requires you to also use the iOS app so you can view your prototype in real time and interact with it.
“Form is an app design and prototyping tool with the goal of producing designs that are closer to what you get in production,” explains RelativeWave creative coder Max Weisel. “We want designers to work directly on the production side of an app, and at the same time free up engineers to focus on more complex problems.”
There are some great tutorials on how to use Form, but the process is rather complex if, like us, you are used to creating visuals in Photoshop. Moving an image to the centre of your device, for example, is achieved using Superview variables and Match Patches. Once in place, you use maths to divide the width and height and connect them to the X and Y positions in Image View. Group those together, rename the variables and adjust the X and Y anchor points. We found this process fairly complex.
However, once you get your head around the processes, you can create stunning prototypes. Having access to the device’s camera and other sensors means the prototypes you create are just as powerful as the coded app would be.
1 note
·
View note
Text
12 Things to Know About the Recent Google Algorithm Updates
Google algorithm updates often sneak up on you without warning. A vast majority of people don’t notice them until they see changes within their own websites, such as drops in traffic and fluctuating rankings.
This often results in a feeling that a mistake was made on your end, but that is rarely the case. In fact, some of Google’s updates are unnamed or unofficial.
Well, to help make improving your SEO and managing your website easier, we included 12 Google updates and details about what they truly mean in this article. So, make sure you keep reading as not to miss anything important.
What Should You Do After a Major Google Algorithm Update?
It’s natural to become a bit nervous after learning about an update to Google’s search ranking algorithms. But there’s one thing you should keep in mind: Constant change is the one thing about SEO that stays the same.
In fact, it’s been said that Google makes updates to its algorithm between 500 and 600 times each year. Some of these updates are small and unnoticeable to most users. While others a big enough to change the way you run your website entirely.
Regardless of the adjustment, there are two important steps you should follow when you’ve noticed a change or even a few from Google:
Don’t Freak Out
Of course, major updates to the algorithm are stressful. But an emotional reaction won’t help simplify the process.
Instead, take your time to evaluate the change. If you don’t know much about the adjustment, you may find some information posted directly by Google in the Google Webmaster Central Blog.
Check there to see what kinds of details you are able to find. Such as how the update will or will not change your daily operations.
Don’t React Right Away
After learning as much as you can about the Google update, it might be tempting to make a ton of adjustments to your website. After all, you want to stay ahead of the issue, right? Wrong.
Wait and see if the update has even impacted your site first. In most cases, if you are already handling your SEO properly, your website isn’t going to take a negative hit.
It’s actually common for webmasters to see a positive change in a scenario like this.
When an algorithm change takes place, it is best to wait a few days or couple of weeks. In the beginning, make a note of your metrics and website performances then gone back to see what changes, if any need to be made.
2018 Google Algorithm Updates You Need to Know
Some of the things you will see in Google’s updates this year include penalizing websites that load slowly, rewarding content that effectively answers search queries, and optimizing websites for mobile-friendly pages. But what does this all mean?
We’ll explain these things and much more in this section.
1. Website Speed
Back in April 2010, Google released new information about its ranking for page speed. However, this update was only for the desktop version of websites.
In January of this year, Google released an official announcement about its page speed updates taking full effect in July. The update was designed to decrease the SERP positioning of the mobile sites that were extremely slow to users.
“2 seconds is the threshold for ecommerce website acceptability. At Google, we aim for under a half second.” ~Maile Ohye, from Google.
If your website is penalized as a result of this update, it is likely that you will not be notified in Google Search Console. This is because the update isn’t a manual action, just an algorithmic one.
On the bright side, this update will only disrupt the slowest sites possible.
With that said, if your mobile site loads extremely quickly, you will not receive a boost in your rankings. This update only punishes slow websites.
2. Chrome Will Clean Up Messy URLS
If someone shares an URL through the URL streaming “Share” in Chrome, unnecessary tails will automatically be removed from the end.
This update can cause a bit of trouble for you. It could become annoying if when sharing a link only the main page will load. This can cause you to lose specific location information that was attached to the anchor text.
While the update might become useful in the future, it’s an annoyance to most users right now.
3. The Relevancy Update
Google rolled out its relevancy update in March of this year. The update is about Google trying to figure out which websites are relevant depending on certain user search queries.
While this update is more about relevancy, keep in mind that they aren’t using it to count quality.
Many of the websites that were flagged after this update had a few similarities. For instance, they were often bigger brands who ended up losing rankings on their articles due to things like duplicate content.
This makes it clear that Google is going to continue punishing sites that don’t provide useful, unique, or helpful information on their pages.
If your site was one that took a hit with the update, you shouldn’t take it as meaning your blog content is terrible. It’s more that Google found your competitors’ sites to answer searchers’ questions better.
You can fix this by removing duplicate content from your site and completing a website audit where you can compare your content to others.
4. New Google AdWords Updates
Google added some new AdWords features almost every month for the first part of this year. Here are a couple:
The January update allowed advertisers to make changes to keywords, such as adding, editing, and removing them while they were busy with other tasks. Users also have the ability to name and identify issues with their Display ads from the Overview page to find out more about the impression shifts in the search results.
April’s update promised users a chance to get a better look at keywords that weren’t showing ads together with an explanation.
All of the AdWords updates were created to have a positive impact on business owners’ advertising by providing deeper insight.
5. Mentioned on Wikipedia Carousel Included in the Search Results
This update is important because a multitude of website owners had complaints because Google hadn’t been mentioning where carousel information was taken from. As a result, Google added a new feature to the carousel in April.
The feature is especially convenient because it is visible on both the desktop and mobile versions of websites. When you click on the carousel, you are taken to the Wikipedia page where a particular brand or product was mentioned.
The main takeaway about this update is that websites and major brands that appear in the Mentioned on Wikipedia section have doubled their possibilities of showing up in Google SERPs. Additionally, when there is a search, a featured snipped instead of a carousel appears.
6. Search Console Year-Plus of Data Adding
This update made plenty of digital marketers and website owners very happy. It included a new version of the Google Search Console that included 16 months worth of stored information.
There were also plenty of other new features included with this update like a new:
Index Coverage report that tells you about new issues and helps you monitor them
Job Posting Reports
AMP Status
You should also note that this Google Search Console update is supposed to be a long-term solution. So, they will continue making updates and asking for feedback.
7. A New Google-BackedTwitter Account for Search News
This isn’t exactly an update to Google’s algorithm or rankings, but it is one that you’ll find highly beneficial if you stay in the loop about search engine trends.
Google’s public search liaison, Danny Sullivan, established a new Twitter profile called Google SearchLiaison in order to guide, explain, and inform Google users about news regarding the search engine. Although you can find such information from his existing profile, the new one is void of some of his quirkier tweets.
8. A Mandatory Switch from HTTP to HTTPS
This change is yet another way Google establishes that it cares about security, trust, and user experience. With this update, all websites need to have a Secure Sockets Layer (SSL) on their site in addition to providing an HTTPS backing to website visitors.
Website owners who don’t meet these terms will suffer.
For starters, switching your website from HTTP to HTTPS is safer for you and your data as a webmaster. Also, if your website isn’t HTTPS compatible, Google will send a very blunt warning to people who visit the site telling them it isn’t safe. If this happens to you, your bounce rate will be through the roof.
But it isn’t just the bounce rate that will have issues. Other important rankings like your affiliate links, advertising impressions, and conversion rates will decrease.
Since Chrome is available throughout the world, the impact is huge.
9. People Also Search For…
This update is very similar to the “People also ask” section. However, the main difference is that it sends web users to other SERPs.
The update was designed to refine searches in order to benefit the organic results. If your website doesn’t match one of the keywords entered into the search bar, Google may still send people to your website in order to provide another variation of their initial search.
This may also happen the other way around. For instance, if your page content is optimized to use both long and short keywords, it might be the answer to multiple queries. If this happens, you can show up in the SERPs twice.
10. Mobile-First Indexing
Earlier this year, webmasters and digital marketers were excited by the announcement made at PubCon about mobile-first indexing. But since it’s rolled out, it’s been unnoticed by most people.
This is because there was a very small number of sites alerted about whether the update changed their rankings. So, what exactly did this update mean?
Mobile-first indexing was created to index and rank websites using the mobile point of view. This only comes into play if your website is, in fact, mobile-friendly.
Google would rank and index the mobile version of your website before the desktop version.
11. A Change in Search Console Crawl Limits
Google changed its Search Console crawl limits in order to combat spam and abuse despite there only being a small number of culprits. Here’s a look at the before and after effects of the change:
Before- Only the selected URL was submitted to Google for the purpose of re-crawling. You were allowed to submit a total of 500 URLs individually within a 30 day period while using this method.
Now- You can submit a total of 10 URLs each day with the same feature.
While white-hat SEOs don’t use this tool very often, it will become useful to black-hat users because it will block spam and other unwanted activity.
12. The Mobile Friendly and Rich Results Tools Read JavaScript Now
In the past, Googlebot had a hard time reading and indexing JavaScript websites, sometimes it had to scan a page more than once. Since the update, websites that were built in JavaScript are going to be readable as mobile-friendly sites.
As a result, the affected websites may double or even triple their visibility, increase their traffic, and rank higher.
Need More Content Like This?
Whether you are a business owner, blogger, or digital marketer staying on top of Google algorithm updates is an important, yet time-consuming part of your job. We know you’re busy, so we will continue publishing the content you need in order to boost your sites.
Follow our blog for more SEO and digital marketing advice.
The post 12 Things to Know About the Recent Google Algorithm Updates appeared first on TopSpot SEM Online Marketing Services Seattle.
from WordPress https://topspotsem.com/12-things-to-know-about-the-recent-google-algorithm-updates/ via IFTTT
0 notes
Text
12 Things to Know About the Recent Google Algorithm Updates
Google algorithm updates often sneak up on you without warning. A vast majority of people don’t notice them until they see changes within their own websites, such as drops in traffic and fluctuating rankings.
This often results in a feeling that a mistake was made on your end, but that is rarely the case. In fact, some of Google’s updates are unnamed or unofficial.
Well, to help make improving your SEO and managing your website easier, we included 12 Google updates and details about what they truly mean in this article. So, make sure you keep reading as not to miss anything important.
What Should You Do After a Major Google Algorithm Update?
It’s natural to become a bit nervous after learning about an update to Google’s search ranking algorithms. But there’s one thing you should keep in mind: Constant change is the one thing about SEO that stays the same.
In fact, it’s been said that Google makes updates to its algorithm between 500 and 600 times each year. Some of these updates are small and unnoticeable to most users. While others a big enough to change the way you run your website entirely.
Regardless of the adjustment, there are two important steps you should follow when you’ve noticed a change or even a few from Google:
Don’t Freak Out
Of course, major updates to the algorithm are stressful. But an emotional reaction won’t help simplify the process.
Instead, take your time to evaluate the change. If you don’t know much about the adjustment, you may find some information posted directly by Google in the Google Webmaster Central Blog.
Check there to see what kinds of details you are able to find. Such as how the update will or will not change your daily operations.
Don’t React Right Away
After learning as much as you can about the Google update, it might be tempting to make a ton of adjustments to your website. After all, you want to stay ahead of the issue, right? Wrong.
Wait and see if the update has even impacted your site first. In most cases, if you are already handling your SEO properly, your website isn’t going to take a negative hit.
It’s actually common for webmasters to see a positive change in a scenario like this.
When an algorithm change takes place, it is best to wait a few days or couple of weeks. In the beginning, make a note of your metrics and website performances then gone back to see what changes, if any need to be made.
2018 Google Algorithm Updates You Need to Know
Some of the things you will see in Google’s updates this year include penalizing websites that load slowly, rewarding content that effectively answers search queries, and optimizing websites for mobile-friendly pages. But what does this all mean?
We’ll explain these things and much more in this section.
1. Website Speed
Back in April 2010, Google released new information about its ranking for page speed. However, this update was only for the desktop version of websites.
In January of this year, Google released an official announcement about its page speed updates taking full effect in July. The update was designed to decrease the SERP positioning of the mobile sites that were extremely slow to users.
“2 seconds is the threshold for ecommerce website acceptability. At Google, we aim for under a half second.” ~Maile Ohye, from Google.
If your website is penalized as a result of this update, it is likely that you will not be notified in Google Search Console. This is because the update isn’t a manual action, just an algorithmic one.
On the bright side, this update will only disrupt the slowest sites possible.
With that said, if your mobile site loads extremely quickly, you will not receive a boost in your rankings. This update only punishes slow websites.
2. Chrome Will Clean Up Messy URLS
If someone shares an URL through the URL streaming “Share” in Chrome, unnecessary tails will automatically be removed from the end.
This update can cause a bit of trouble for you. It could become annoying if when sharing a link only the main page will load. This can cause you to lose specific location information that was attached to the anchor text.
While the update might become useful in the future, it’s an annoyance to most users right now.
3. The Relevancy Update
Google rolled out its relevancy update in March of this year. The update is about Google trying to figure out which websites are relevant depending on certain user search queries.
While this update is more about relevancy, keep in mind that they aren’t using it to count quality.
Many of the websites that were flagged after this update had a few similarities. For instance, they were often bigger brands who ended up losing rankings on their articles due to things like duplicate content.
This makes it clear that Google is going to continue punishing sites that don’t provide useful, unique, or helpful information on their pages.
If your site was one that took a hit with the update, you shouldn’t take it as meaning your blog content is terrible. It’s more that Google found your competitors’ sites to answer searchers’ questions better.
You can fix this by removing duplicate content from your site and completing a website audit where you can compare your content to others.
4. New Google AdWords Updates
Google added some new AdWords features almost every month for the first part of this year. Here are a couple:
The January update allowed advertisers to make changes to keywords, such as adding, editing, and removing them while they were busy with other tasks. Users also have the ability to name and identify issues with their Display ads from the Overview page to find out more about the impression shifts in the search results.
April’s update promised users a chance to get a better look at keywords that weren’t showing ads together with an explanation.
All of the AdWords updates were created to have a positive impact on business owners’ advertising by providing deeper insight.
5. Mentioned on Wikipedia Carousel Included in the Search Results
This update is important because a multitude of website owners had complaints because Google hadn’t been mentioning where carousel information was taken from. As a result, Google added a new feature to the carousel in April.
The feature is especially convenient because it is visible on both the desktop and mobile versions of websites. When you click on the carousel, you are taken to the Wikipedia page where a particular brand or product was mentioned.
The main takeaway about this update is that websites and major brands that appear in the Mentioned on Wikipedia section have doubled their possibilities of showing up in Google SERPs. Additionally, when there is a search, a featured snipped instead of a carousel appears.
6. Search Console Year-Plus of Data Adding
This update made plenty of digital marketers and website owners very happy. It included a new version of the Google Search Console that included 16 months worth of stored information.
There were also plenty of other new features included with this update like a new:
Index Coverage report that tells you about new issues and helps you monitor them
Job Posting Reports
AMP Status
You should also note that this Google Search Console update is supposed to be a long-term solution. So, they will continue making updates and asking for feedback.
7. A New Google-BackedTwitter Account for Search News
This isn’t exactly an update to Google’s algorithm or rankings, but it is one that you’ll find highly beneficial if you stay in the loop about search engine trends.
Google’s public search liaison, Danny Sullivan, established a new Twitter profile called Google SearchLiaison in order to guide, explain, and inform Google users about news regarding the search engine. Although you can find such information from his existing profile, the new one is void of some of his quirkier tweets.
8. A Mandatory Switch from HTTP to HTTPS
This change is yet another way Google establishes that it cares about security, trust, and user experience. With this update, all websites need to have a Secure Sockets Layer (SSL) on their site in addition to providing an HTTPS backing to website visitors.
Website owners who don’t meet these terms will suffer.
For starters, switching your website from HTTP to HTTPS is safer for you and your data as a webmaster. Also, if your website isn’t HTTPS compatible, Google will send a very blunt warning to people who visit the site telling them it isn’t safe. If this happens to you, your bounce rate will be through the roof.
But it isn’t just the bounce rate that will have issues. Other important rankings like your affiliate links, advertising impressions, and conversion rates will decrease.
Since Chrome is available throughout the world, the impact is huge.
9. People Also Search For…
This update is very similar to the “People also ask” section. However, the main difference is that it sends web users to other SERPs.
The update was designed to refine searches in order to benefit the organic results. If your website doesn’t match one of the keywords entered into the search bar, Google may still send people to your website in order to provide another variation of their initial search.
This may also happen the other way around. For instance, if your page content is optimized to use both long and short keywords, it might be the answer to multiple queries. If this happens, you can show up in the SERPs twice.
10. Mobile-First Indexing
Earlier this year, webmasters and digital marketers were excited by the announcement made at PubCon about mobile-first indexing. But since it’s rolled out, it’s been unnoticed by most people.
This is because there was a very small number of sites alerted about whether the update changed their rankings. So, what exactly did this update mean?
Mobile-first indexing was created to index and rank websites using the mobile point of view. This only comes into play if your website is, in fact, mobile-friendly.
Google would rank and index the mobile version of your website before the desktop version.
11. A Change in Search Console Crawl Limits
Google changed its Search Console crawl limits in order to combat spam and abuse despite there only being a small number of culprits. Here’s a look at the before and after effects of the change:
Before- Only the selected URL was submitted to Google for the purpose of re-crawling. You were allowed to submit a total of 500 URLs individually within a 30 day period while using this method.
Now- You can submit a total of 10 URLs each day with the same feature.
While white-hat SEOs don’t use this tool very often, it will become useful to black-hat users because it will block spam and other unwanted activity.
12. The Mobile Friendly and Rich Results Tools Read JavaScript Now
In the past, Googlebot had a hard time reading and indexing JavaScript websites, sometimes it had to scan a page more than once. Since the update, websites that were built in JavaScript are going to be readable as mobile-friendly sites.
As a result, the affected websites may double or even triple their visibility, increase their traffic, and rank higher.
Need More Content Like This?
Whether you are a business owner, blogger, or digital marketer staying on top of Google algorithm updates is an important, yet time-consuming part of your job. We know you’re busy, so we will continue publishing the content you need in order to boost your sites.
Follow our blog for more SEO and digital marketing advice.
The post 12 Things to Know About the Recent Google Algorithm Updates appeared first on TopSpot SEM Online Marketing Services Seattle.
12 Things to Know About the Recent Google Algorithm Updates posted first on https://topspotsem.com/ 12 Things to Know About the Recent Google Algorithm Updates posted first on https://topspotsem.com/
0 notes
Text
New Post has been published on Cloudlight
New Post has been published on https://cloudlight.biz/wordpress-maintenance-for-new-wordpress-users/
WordPress maintenance for new wordpress users
When you sooner or later get your first WordPress users internet site up and strolling, it can feel just like the activity is over and you don’t want to fear about anything else. But permitting your WordPress website online to be left out can lead to troubles for you and your customers. Think approximately humans traveling your internet site best to leave with nasty malware. Yes, that’s an actual opportunity.
This checklist goes to show you precisely what you want to be doing to make sure that your WordPress website remains in exceptional circumstance.
What Should You Do Every Single Day?
The first step is to get into the dependency of journeying your internet site each day. Make positive that your site is up and walking. You may even want to apply a monitoring plugin so that you are notified right away in case your website goes down.
In accordance with checking your website, you need to make certain all the documents and the internet site’s database is backed up every unmarried day. This may be computerized with something like Backup to Dropbox or even via a WordPress pleasant website hosting company, which may manage this for you.
It’s also worth searching up the safety reports on your website. Requesting daily reports can make sure that you spot anything suspicious before it reasons any severe damage.
What Should You Do Every Week?
Every week you ought to check for WordPress updates. Most of the time, principal updates can be searching at you proper inside the face the moment you log in on your dashboard. All you must do is click the button to get started with this. Also, recall replacing your plugins.
Make positive you moderate any comments that are sitting on your moderation line. If you manifest to get lots of feedback, you may want to switch this in your daily tick list.
Finally, carry out a malware test the usage of a plugin like Bulletproof Security. The remaining component you need is for you or your normal visitors to get infected.
What Should You Do Every Month?
Look over the pages in your website and look for any mistakes. Do this with specific gadgets and specific web browsers. Pay attention to Internet Explorer because this browser is understood for experiencing issues with loading instances.
What Makes For A Good WordPress Installation
Your net hosting provider will let you deploy WordPress inside five minutes the usage of a loose script known as Fantastico. Once you’ve got Fantastico opened, this system will ask you what domain you want it mounted in. What this means is if you own both xxxy.Com and rrrtt.Com you may have a choice as to what area you need your new WordPress website set up on.
Once the domain is about you have got the option to install your web page within a sub-directory at the area you pick out. For instance, if the deploy is created on xxxy.Com you have the choice of making it on a sub-directory named blog (you can name it something you want). This means the new WordPress web page might be on xxxy.Com/blog and you are capable of produce other content material except for your WordPress weblog to your predominant domainxxxy.Com.
To preserve your website online comfortable
The WordPress deploy comes with a guard with a view to will let you set a username and password for privacy. After selecting a username and password the installation is ready to begin. After less than five mins, your new website is up and running.
After Installation, you may want to do a little “residence cleaning” so that it will optimize your new website online. Your new weblog could have an automatic first submit referred to as “hi there international”. We will have to manually move in and delete that submit so it will no longer show up in your website online as your first put up. A howdy dolly plugin can also be automatically established. This plugin highlights little quirky sayings in the pinnacle proper corner. If you need to delete it, we just move into our hooked up plugin segment of our blog and deactivate the howdy dolly plugin.
One of the first things I love to do with my new set up is trade the permalink placing. This putting allows the link for new posts to have the submit name robotically delivered at the give up of the new page URL. By default, your hyperlinks can have some random numbers and letters at the end of recent publish urls. Your new link, with the placing changed, will look like this DomainName.Com/TitleOfPost.
When you create a new publish there are a few matters to hold in thoughts. You will enter in a identify and create text to go into the body of course, but WordPress comes with different cool functions as nicely.
Some of these features consist of:
Publish Posts in The Future Organize Posts Into Categories, Subcategories Different Formats on How The Posts Will Be Seen On Your Site Whether or now not to add remarks
Proper Maintenance for Asphalt Pavement
Asphalt is the various most famous commercial paving substances used these days due to its water-resistance, flexibility, aesthetic enchantment, and exceptional adhesive abilities. All of these houses and more make asphalt pavement an asset that requires a structured stage of upkeep and care. Otherwise, it’s miles prone to fading, harm, instability, and diverse other poor implications. With the proper preventative renovation, asphalt pavements can continue to be beautiful and purposeful for years. Not most effective is this best for funding purposes, however for liability as properly. If you’re a worried property proprietor, maintain reading to analyze the first-rate techniques for asphalt renovation and care.
Asphalt Maintenance
Although pavement maintenance agendas will differ from property to assets, the overall reason of asphalt upkeep is to maintain its enchantment and enlarge its existence. Some paving renovation responsibilities may be controlled for your own or via an appointed group of workers, such as inspections and trash clearance; at the same time as others are fine left in the hands of educated and prepared experts. An ideal pavement protection needs to include simple obligations like regular tests, sweeping, crack filling, pothole repair, periodic line striping, and most importantly, seal coating. Without right seal coats, asphalt pavements will revel in heightened wear and tear from visitors, weather, chemicals, salts, and greater, which shortens their life and diminishes their aesthetic cost.
Asphalt Seal Coating
Seal coats are emulsions which can be brushed or sprayed onto pavements, supplying a clear shielding layer in opposition to moisture and the above-noted threats. There are several styles of industrial seal coats to be had available on the market, but the most popular versions include fog seal, slurry seal, and chip seal emulsions. Some seal coat products are water-primarily based, which can be simpler and more secure to unfold. But there are also waterless variations that use organic or plant-based oils or hydrocarbon solvents as an alternative.
Choosing to Seal Coat
If your asphalt pavement is antique and in bad condition, it will now not in all likelihood benefit from a brand new layer of seal coat. In some cases, it’s far greater fee-effective to repair or update deteriorated asphalt pavements rather. However, in case your asphalt is in exact circumstance, a periodic re-sealing may be a relatively beneficial preservation selection. Talk to your trusted paving contractor for a professional advice on your asphalt’s protection and seal coating timetable. They will recognize exactly what your own home wishes and at what periods. The price of having your asphalt seal-lined will rely on numerous factors, which include the square footage, the circumstance of pavement, and any extra floor packages wanted.
WordPress Viewed From Both Sides – Developers and Users
WordPress, According to Content Managers
WordPress is straightforward and consumer-pleasant. Since this is the first CMS I even have ever used, I do not assume that there may be another platform, that is easier to use. WordPress CMS is easy to use. Though I confronted some of the difficulties at the same time as the use of it, I become capable of clear up them. When it comes to bigger websites, it’s miles now and again tough to search for the page I want to edit. In the beginning, it felt a little disorganized. However, I’ve found out to like it after multiple hours of the usage of it. It is logical for absolutely everyone to manage. Since it’s far an open supply platform, the consumer will locate it secure to increase on WordPress. It additionally allows you to trade the developer when you want to. Even with none technical history, I turned into capable of creating my very own WordPress website all by myself and I like it. It is Search Engine Optimization friendly! WordPress According to Developers
WordPress has been in life for greater than a decade and it non-stop to enhance over time at the same time as final very simple.
Though I like the updates sometimes, protection is still a primary trouble. WordPress CMS is bendy sufficient to expand whatever on it, especially to fulfill the client’s desires and preference. It is straightforward and clear to follow. After studying the fundamentals, you may do whatever. It allows you to apply the prevailing modules or create new ones. It is easy to locate materials and tutorials approximately WordPress on the Internet, so there’s an answer for all your questions. It supports numerous languages. It is lots easier to use WordPress than Drupal or Joomla. While it’s far currently the first-rate of its kind, there’s constantly room for improvements. You the can encompass eCommerce modules on WordPress and market your merchandise on the internet. Conclusion
0 notes
Text
The $2 32-Bit Arduino (with Debugging)
I have a bit of a love/hate relationship with the Arduino. But if I had two serious gripes about the original offering it was the 8-bit CPU and the lack of proper debugging support. Now there’s plenty of 32-bit support in the Arduino IDE, so that takes care of the first big issue. Taking care of having a real debugger, though, is a bit trickier. I recently set out to use one of the cheap “blue pill” STM32 ARM boards. These are available for just a few bucks from the usual Chinese sources. I picked mine up for about $6 because I wanted it in a week instead of a month. That’s still pretty inexpensive. The chip has a lot of great debugging features. Can we unlock them? You can, if you have the right approach.
The Part
For a few bucks, you can’t complain about the hardware. The STM32F103C8T6 onboard is a Cortex-M3 processor that runs at 72 MHz. There’s 64K of flash and 20K of RAM. There’s a mini-USB that can act as a programming port (but not at first). There’s also many 5 V-tolerant pins, even though this a 3.3 V part.
You can find a lot more information on this wiki. The board is a clone–more or less–of a Maple Mini. In fact, that’s one way you can use these. You can use the serial or ST-Link port to program the Maple bootloader (all open source) and use it like a Maple. That is, you can program it via the USB cable.
From my point of view, though, I don’t want to try to debugging over the serial port and if I have the ST-Link port already set up, I don’t care about a bootloader. You can get hardware that acts as a USB to ST-Link device inexpensively, but I happen to have an STM32VLDISCOVER board hanging around. Most of the STM32 demo boards have an ST-Link programmer onboard that is made to use without the original target hardware. On some of the older boards, you had to cut traces, but most of the new ones just have two jumpers you remove when you want to use the programmer to drive another device.
The “blue pill” designation is just a common nickname referring to the Matrix, not the pharmaceuticals you see on TV ads. The board has four pins at one edge to accommodate the ST-Link interface. The pin ordering didn’t match up with the four pins on the STM32VLDISCOVER, so you can’t just use a straight four-pin cable. You also need to bring power over to the board since it will have to power the programmer, too. I took the power from the STM32VLDISCOVER board (which is getting its power from USB) and jumpered it to my breadboard since that was handy.
The Plan
Programming the board is easy — I knew the community had done a lot of work to create a support package for it. You do need a recent version of the Arduino IDE (not the one that shows up in the default Ubuntu repositories). I downloaded version 1.8.1 from the Arduino website, just to be sure. That was the first step of my general plan of attack:
Load the latest Arduino IDE
Set the compile messages to verbose
Use the Board Manager to install the STM32 F1 packages
Get more tools
Capture the build directory
Run the right version of GDB
The recent versions of the Arduino IDE let you select platforms by using the Board Manager (available from the Tools | Board menu). However, if you look, you won’t see this board on the list. You’ll need to tell the IDE where to get the third-party support package. To do that, you can go to the Preferences menu item (on the File menu for Windows and Linux; I understand it is on the Arduino menu on the Mac). You need this same preferences dialog for step two, also.
Step 2 isn’t strictly necessary, but it will make step 5 easier. Just check “Show verbose output during compilation.” What you really need to know is the temporary directory the IDE uses for your build and this is the easiest way to do that, as you’ll see.
Further down the preferences screen is an entry for “Additional Boards Manager URLs.” If there’s already something there you should click the little button to edit the list. If it is empty, you can add this URL:
https://github.com/stm32duino/BoardManagerFiles/raw/master/STM32/package_stm_index.json
Now you can go back to the Tools | Board menu, pick Board Manager, and search for STM. You’ll probably see a few packages (I had three) but the one for the F1 will specifically mention the blue pill. Click the button to install and wait for it to do its thing.
Once installed, you’ll have some new entries on your board menu. When you have the blue pill selected, you’ll be able to pick a few options for uploading including the one we want: ST-Link.
Coding
The package has all the stuff you need to build and download programs using a variety of methods, including ST-Link. However, it doesn’t have the particular tool you need to do debugging.
It is simple enough to build the tools. The GitHub repo has the code and some simple build instructions. You do need libusb and CMake, but the page explains all that and once you have all the pieces, the build goes fast. For many OS choices, there are pre-built binaries you can use, too.
You’ll also need to know the USB ID of your ST-Link board and add it to the udev rules for Linux. If you don’t do this, you’ll need to be root to program the device and that’s not a good idea. However, depending on which ST-Link interface you use, it may already be there from other software or from the Arduino install. I’d try a test first and if it only works as root, you’ll need to update udev.
If you did your own build, I suggest running the tool stlink-gui to perform the test. You can also run st-info --descr
If you run stlink-gui, press the connect button with the ST-Link and blue pill powered up and connected. You should get the information about the device. If not, try as root. If that works, you need to update udev. I created a file, /etc/udev/rules.d/45-stlink.rules.
ACTION=="add" SUBSYSTEM=="usb", ATTR(idVendor)=="0483", ATTR(idproduct)=="3744", MODE="0666", GROUP="usbusers"
You’ll need to modify that for the USB ID of your particular interface (mine was 0483:3744; the lsusb command can help). The mode allows all users to read and write the device. I made the group owner usbusers, but since everyone can access the device that probably isn’t strictly necessary.
Once you can do all that, try running the blink sketch from the IDE examples. Be sure to pick “Upload Method: STLink” from the Tools menu of the Arduino IDE. If it doesn’t work, you may need to use the tools you just built instead of the ones that come with the Arduino IDE. Mine worked but the debugging required the custom build (because the Arduino package didn’t ship with that particular tool built).
Finding the Tools and Build Directory
The Arduino IDE is pretty friendly, so it doesn’t try to install things like boards for all users, since that would require root. The board package you loaded winds up in your home directory under ~/.arduino15/packages/STM32/tools. There’s an STM32Tools directory and a few more levels down you’ll find copies of the ST-Link tools. If they don’t work, you can manually run the tools you built in the previous step to do your uploads. When we debug, we are going to do that anyway.
What’s really important though is back under the STM32/tools directory is another directory with the compiler that the IDE uses to compile your code. There’s also a matching version of GDB — the GNU Debugger — there that you will have to use.
If you loaded an example, make sure you save it to your own directory (I hate saying sketchbook). If you don’t, the IDE will make a private copy of any changes you make and things will get confusing.
Do a build (the checkmark icon) and — assuming you checked the box in step 2 — you’ll get a lot of output from the build tools. You might verify that the compiler in use is the one we mentioned above. You’ll also see that your program gets added to other things and put in a directory named something like /tmp/arduino_build_XXXXXX where the XXXXXX is a number. Your source code will be in this directory named something like sketch/Blink.ino. In the top-level directory will be the executable Blink.ino.elf. This is what you need to debug.
If you are comfortable editing your Arduino settings file (just be sure the IDE isn’t running first) you can also force a build directory using the build.path key. The IDE does have an “export binary” command (on the Sketch menu) that compiles to your sketch folder. However, this .bin file doesn’t have enough information for the debugger.
Debugging at Last
Finally, you can debug. Use the arm-none-eabi-gdb executable from the same directory as the GCC used to compile your program. This is important. If the versions don’t match you’ll get strange errors even though many things will seem to work. Provide the name of the elf file as an argument to GDB.
If you like, you can use the -tui flag to GDB to get a sort of text-based GUI. Either way, you have one more step to go. The st-util tool you built earlier can listen to the ST-Link interface and provides a socket that GDB can use to do debugging.
Start it like this:
st-util -p 1234
That will make it listen on port 1234. If you already use that port for something else, pick another one. Just remember that on Linux only root can listen on ports below 1024, so pick a bigger number.
Once that is running, you fire up GDB with your elf file name and issue the command:
target extended-remote :1234
Or, I’ve recently started using:
target remote :1234
You can run the two parts on different computers, so use a hostname if necessary (that is, devbox21:1234). Most times, the programs are on the same box and you can use localhost or omit it like I did. The difference between remote and extended-remote is that the server does not shut itself down at the end of an extended-remote session. It often works, but I have seen cases where I had to restart the server anyway, so lately I’ve been using plain-old remote to force me to restart it with each session.
A “load” command to GDB will now flash your program to the board. A typical session after a load might be:
break main continue list n n n
The “n” command steps to the next instruction.You can find a lot more about using GDB in an earlier post. You also might find it easier to watch the walkthrough in this video:
A few caveats. First, optimization can cause your lines to execute out of order, or even go backwards. It can also cause variables to not be visible where they have been optimized out. The other thing to watch out for is that, in some cases, the debugger internally single steps. This can cause very slow execution of delay routines, for instance. You might reduce or remove delays while debugging or be careful where you try to single step instead of placing breakpoints.
Final Thoughts
It would be neat if the Arduino IDE let you debug inside of it. However, there are ways to do that using Eclipse (and GDB) or Visual Studio (if you use Windows). If you are like me and OK with the command line, you might think about using one of the Makefiles for Arduino instead of the IDE. If you aren’t OK with the command line, there are GUI shells for GDB that you could try. If you’d rather hack the ST-Link firmware, we’ve seen that done, too. If you miss doing printf’s, you might want to try a Black Magic probe, which ought to work about the same as the ST-Link interface, but also provides a serial port for printf and other mischief.
By the way, Arduino isn’t the only choice for this board. It is possible to use mBed and other development tools with them. But that’s a topic for a future post.
Filed under: Arduino Hacks, ARM
The $2 32-Bit Arduino (with Debugging) was originally published on PlanetArduino
0 notes