Reddit Changing API Reports

Featured Imgs 23

Reddit is implementing changes to its API reporting. In short:

“Currently if a community has chosen to not allow free form reports from users, our API did not enforce that setting,” the developer team posted on Reddit. “We’re here to give you a heads up that will be changing on Monday, September 21st, 2020.”

To grid or not to grid

Category Image 052

Sarah Higley does accessibility work and finds that “tables and grids are over-represented in accessibility bugs.”

The drum has been banged a million times: don’t use a <table> for layout. But what goes around comes around. What’s the the #1 item in a list of “some of the ways tables and grids can go wrong”?

Using a grid when a table is needed, or vice versa

The day has come. CSS grid has dug its way into usage so deeply that developers are using it by default instead of using a classic <table>. And we don’t even have flying cars yet!

Sarah shows clear examples of both techniques and how the same information can be presented in different ways both visually and semantically. For example, a list of upcoming concerts can be displayed as a <table>, and that might be fine if you can imagine the purpose of the table being used for sorting or comparing, but it can also be presented as a grid, which has other advantages, like headers that are easier to skim.

Direct Link to ArticlePermalink


The post To grid or not to grid appeared first on CSS-Tricks.

You can support CSS-Tricks by being an MVP Supporter.

5 Growing Channels to Boost Traffic to Your WordPress Site

Featured Imgs 26

5 Growing Channels to Boost Traffic to Your WordPress SiteWith everyone sticking to email, Facebook, LinkedIn, Twitter and Instagram, you may start to feel like these channels are getting overcrowded. To change your results, sometimes you need to do something different. If you use a channel that’s popular but new, you may have a higher chance of success. Below are five relatively new channels […]

The post 5 Growing Channels to Boost Traffic to Your WordPress Site appeared first on WPExplorer.

Our Website is not coming google 1st page

Featured Imgs 11

Hello all , Our website not ranking on google 1st page . We have done everything , content writing , back links, comments ..etc also spent huge money on google ads and Facebook ads, but no use for it. I have checked many website and their back link is very less also website speed is very less but their website is ranking good .Now our hope is "DANIWEB" . I need your suggestions and guidelines. our website is https://www.bismatrimony.com/

Regards

Soniya Bis

Can you get valid CSS property values from the browser?

Category Image 052

I had someone write in with this very legit question. Lea just blogged about how you can get valid CSS properties themselves from the browser. That’s like this.

That gives you, for example, the fact that cursor is a thing. But then how do you know what valid values are for cursor? We know from documentation that there are values like auto, none, help, context-menu, pointer, progress, wait, and many more.

But where does that list come from? Well, there is a list right in the spec so that’s helpful. But that doesn’t guarantee the complete list of values that any given browser actually supports. There could be cursor: skull-and-crossbones and we wouldn’t even know!

We can test by applying it to an element and looking in DevTools:

Damn.

But unless we launch a huge dictionary attack against that value, we don’t actually know what values it directly in-browser. Maybe Houdini will help somehow in browsers getting better at CSS introspection?

You can also use the CSS object to run tests like CSS.supports(property, value):

Damn.

You’d think we could have like CSS.validValues("text-decoration-thickness") and get like ["<length>", "<percentage>", "auto", "from-font"] or the like, but alas, not a thing.


The post Can you get valid CSS property values from the browser? appeared first on CSS-Tricks.

You can support CSS-Tricks by being an MVP Supporter.

KickEX Launches Open API for its Crypto Exchange

Featured Imgs 23

KickEX, a cryptocurrency exchange, has launched an API. The API is public and available to KickEX users, third party businesses, rating websites, and cryptocurrency directories. Through the API, traders can automate trading strategies through bots and professionals can utilize bots for arbitrage.

MYSQL 8 Query Join Problem

Category Image 101

I have the following query which has died after running over an hour on my local mysql 8 server:

UPDATE download
  LEFT JOIN lookup ON download.ip_address between lookup.start_ip AND lookup.end_ip
SET ref = (
    SELECT lookup.id FROM lookup WHERE download.ip_address between lookup.start_ip AND lookup.end_ip);

All ip fields are IPV4 and stored as unsigned integers and are indexed. The lookup table is approx. 3M rows, relating ip ranges to country, area, and city. The download table is approx. 2K rows. What I'm trying to do is get the id from the lookup table row that has the ip range that the download ip_address falls into.

Does someone see a problem with the query?

5 Graphic Design Tips For Non-Designers

Featured Image 01
In this day and age, when social media is probably the most used form of communication, we can all benefit from some graphic design tips, even if we aren’t graphic designers. Graphic design is...

Visit The Site For More...

Computer Nightmares: 7 Effective Tips for Hard Drive Recovery

Featured Imgs 23

Looking for ways to perform hard drive recovery?

Many things can go wrong while you’re using your device. A power surge can fry it and damage the motherboard, an outage can delete hours of progress if you didn’t save your work, and overuse will cause it to go haywire in the long run.

While these won’t cause any permanent damage or loss, a hard drive crash can prevent you from getting your data. What’s worse is that the simplest things like an OS update can cause your system to crash.

While there’s nothing you can do to prevent it when it happens, you can prepare yourself and your device for the inevitable. Read on to learn about the effective tips to recover your data from your hard drive today.

1. Ensure Your Device Doesn’t Have Malware

The first thing you should always check when you suffer from data loss is to check if your device has malware infecting it. You never know if your device contracted a virus while surfing the web. It’s easy to get one with how accessible everything is through the internet.

Malware can hide files from you or delete them from your hard drive. Scanning your hard drive for any virus can help you find out if you need to dive deeper into hard drive recovery. If you find malware that hides or deletes your data, you need not go further than removing it from your device.

The data it hides will then reappear where you left them. Any deleted data won’t recover themselves, though. You need to run recovery processes for them to undo any damage from the malware.

2. Install Recovery Tools Beforehand

This is the best way to prepare your device from losing data. Many online tools can help you restore your data if your device loses them because of an unforeseen event. Installing them on the regular ensures you store your growing collection of data in the long run.

The hard drive recovery software will save any current data you have on your device. This is customizable to allow them to only save specific folders and files. Doing this ensures private data doesn’t get saved on databases where other people can open them.

There are even versions of software compatible with mobile devices. These will allow you to restore your iPhone data even if you do a factory reset on it.

3. Perform Deep Searches on Your Device

Lost data doesn’t always mean deleted data. It can mean that the data moved to another folder where you can’t find them. It happens more often than you think since some malware moves your data around to mess with your device.

They do this so they can enough space in a certain drive to install more programs to cause more damage. When this happens, searching for the file in the same drive will produce no results. If you do a deep search, though, you can recover the lost data.

These searches differ from normal ones in that they take longer. This is because a deep search checks every corner of your device for the file you’re looking for. It can take up to an hour, but doing this saves you the trouble of recovering the data in other ways.

This is also a way to recover deleted photos on Mac. Most Apple devices have a backup of different media somewhere in your device. All you need to do is do a deep search to find them if you lost them.

4. Back-Up and Store Data in an External Device

The scary thing about a system failure is that it’s next to impossible to recover your data from them. It makes having important files and data on your device nerve-wracking since it can disappear with no warning. A great way to have peace of mind is to save any critical data on an external device.

A flash drive and external hard disk drive can be an expensive investment, but it can save you a world of stress when you save your data in them. All you need to do after that is to update the data. This is to ensure you have little to catch up on during recovery.

5. Store Data in the Cloud

Another way you can save your data is by saving them in the cloud. This is like saving your data to an external device, but you can access it any time you want. It also saves you the trouble of getting a device to save your data.

There are lots of storage platforms online for you to choose from. iCloud is the preferred platform if you have an Apple device. Other platforms like Google Drive also provide the same service.

You can store your data on these platforms for free, but the provided space is small. If you opt for a premium membership, though, you can increase your online storage space.

6. Run Backup CDs and DVDs

Backup DVDs are still a valid option for data recovery if you haven’t prepared for the other steps. The main benefit of using these for backup is that they can restore your data faster than most methods. It’s also a good way for you to ensure your device gets restored with the same specifications that you’ve set before saving it on the DVD.

7. Hire a Professional

If all hard drive data recovery methods you’ve tried have failed, then it’s time to contact a professional. Some people can recover data when things look the bleakest. They do this by having direct access to your hard drive.

This makes them a good option if your device is beyond repair. As long as the hard drive doesn’t sustain damage, they can recover your data. They’re often worth the investment if your data is too precious to lose.

Use These Tips for Hard Drive Recovery Today

Want to recover your lost data? These hard drive recovery tips will help you get what you’re looking for. Dive deep into your device and fish out your files and your data today!

Having trouble using your device? Check out more of our guides to learn all you need to know about your device today! You may even learn about some neat tricks you can do to personalize your experience with your device.

The post Computer Nightmares: 7 Effective Tips for Hard Drive Recovery appeared first on Photoshop Lady.

Convert Reusable Blocks to Block Patterns with 1-Click

Wp Plugins

Now that WordPress 5.5 has shipped, block patterns are available in core for all users. If you have previously been relying on reusable blocks but prefer the flexibility of block patterns, you may want to convert these.

WordPress core developer Jean-Baptiste Audras has made this possible in the latest update of his Reusable Blocks Extended plugin. He posted a video demo of how the plugin converts reusable blocks to block patterns with one click.

What’s the difference between reusable blocks and block patterns?

Why might you want to convert your reusable blocks to block patterns? For users who are new to the concept, there are a few distinctions between these similar features.

Reusable blocks were designed to be a time-saving feature that allows users to save a block or group of blocks for use on other posts or pages. They can be edited but they have a certain distinction in that they are intended to look the same in all places they are used. Any changes made to a reusable block will apply to all instances of the block wherever it is used.

If a user wanted to make changes to a reusable block specific to one page, the process would involve clicking on the block’s properties and selecting “convert to regular block,” which would ensure that all edits would appear only on that specific instance of the block. It’s unlikely that most users would know how to do this without help, so this is one of the drawbacks of reusable blocks.

Block patterns are predefined block layouts that are designed to be changed. Once a pattern is inserted into the content, users can customize with their own text, images, alignments, colors, additional blocks, etc. The options are limitless and any changes made are not saved back to the original pattern. Block patterns provide a flexible starting point that gives users an idea of how blocks can be combined to make attractive layouts.

User-Created Patterns Are Coming Soon to the Block Pattern Builder Plugin

At the moment, users can create their own reusable blocks but not their own block patterns. Patterns have to be registered with code in order to appear in the pattern library. This is another reason that Audras’ one-click conversion is quite useful for users who are limited to capabilities offered in the editor’s current UI.

The ability to create block patterns inside the editor should be a feature in core. It would enable non-technical users to share their designs and creations in a more flexible format than reusable blocks provide. Until this feature is added to core – and it isn’t a guarantee- there is a plugin for that.

Justin Tadlock’s Block Pattern Builder plugin, which is available on WordPress.org, will soon be merging a pull request that adds the option to create block patterns inside the editor. It will work in a similar way to the process of adding reusable blocks. Now that block patterns are available in WordPress 5.5, this feature will be more useful to a wide range of users.

Audras’ Reusable Blocks Extended plugin, like many other amazing utilities for the editor, might be difficult to find unless you already know exactly what to search. Many times users are not even aware of the possibility of converting reusable blocks to patterns. This might also make a useful core feature but doesn’t seem likely to be a high priority at the moment. In the meantime, watch for more plugins to start extending block patterns to do interesting things now that they are available in core WordPress.