Зеленый хостинг ТЭИА


LTCBTC - Bitfinex



Syndicate content My RSS Feed
My RSS Feed
Updated: 48 weeks 2 days ago

Site running slow on localhost

Fri, 08/31/2018 - 02:01

I've recently set up a new local dev environment using homebrew, and have installed Drupal 8 using composer, as per


My D8 site is taking a long time to serve pages. Are there some PHP or MySQL settings I should tweak to get the site running more quickly?

Categories: World News

Missing date_select_repeat widget during migration of CCK fields

Fri, 08/31/2018 - 02:01

I have an old drupal6 site and I need to upgrade it to drupal8. I decided to do it in 2 steps (d6 -> d7 -> d8), because I thought this way I can manage the things better.

I removed those fields that I don't need any more or not supported by drupal7 or drupal8 to make the whole process easier. I changed the core of my old drupal6 to drupal7 and installed the necessary modules together with the migration modules: content migrate, date migration example, migrate, migrate UI. I followed this guide: Migrating D6 Content Construction Kit (CCK) to D7 Fields

I have a list of the invalid fields that have to be converted in the content migration UI. I have 2 content types where I use a date field with date repeat options. The widget name is select list with repeat options and I see this error message next to them:

Missing widget: The 'date_select_repeat' widget is not available for the field_date field, it will be set to the default widget.

I accepted it and migrated them. Then I upgraded my site to drupal8. I see a complete mess in drupal8. It added hundreds random dates to every content and there is no option to activate the date repeat option on this date field, because it contains content. So I have to delete and recreate this field again and setup every content except you have an idea. I can't tell you whether the date was right in the drupal7 site (strongly believe not) after the migration, because I reverted this field and so far it disappeared from the affected content types.

Categories: World News

How can I create multiple cropped Media images without re-uploading them?

Fri, 08/31/2018 - 02:01

Solutions that I've found allow to crop Media, type Image when I've uploaded an image, but the media entity is not yet created (on the "Add media" page).

I need to upload a large full image once (and use it in full format on some nodes), and then crop it differently when I select it in different content types (to display small "zoomed" parts of the full image). So I need a manual crop to appear when I select a Media of type Image from a Media library. It can appear in Entity browser or on the node page.

Other solution is that I can create cropped images in advance being in my media library (/admin/content/media) or when adding a media (/media/add/image). The idea is that I do not want to reupload the image and add new title and alt.

Is this possible?

Categories: World News

Date Range expression in Views using Rewrite & Twig

Fri, 08/31/2018 - 02:01

I have an interesting challenge surrounding Views Rewrite Result using Twig for Date/Time Range.

So I have a View listing Events that have a Date/Times Range field for Begin and End Times (it's actually a little more complex than that, but I hope the problem can be resolved with this easier example).

The content editor user enters a bunch of Events. The events display to the public within a View I wrote.

I used 'Rewrite Result' - 'Override the output of this field with custom text' for this field along with extensive use of Twig. (I am really not asking for another 'work-around' solution not using Rewrite and Twig... even if there is one, I am interested in the challenge at hand.)

So with Twig I output the Date, then The Begin Time and the End Time. Works Great. Of course, using various expressions of the Twig equivalent to the php date() function:

{{ EventDateTimeRange|date("g:i a") }}

So for an Event that takes place on September 21, 2018 from 1:30pm to 5:00pm it displays:

Fri Sep 21 1:30 pm • 5:00 pm

The challenge presents when you look a couple months later! For an Event that takes place on November 8, 2018 from 1:30pm to 5:00pm it displays:

Thu Nov 8 2:30 pm • 6:00 pm

OK, in one sense, this is exactly what one would want: The actual time is the actual time, and time entered for November 8th as 1:30 pm to 5:00 pm is properly expressed currently as 2:30 pm to 6:00 pm, and then will read as normal after DST.

However: Users deciding whether to attend will want to know what time it will be on November 8, 2018 and not the proper rendering of the Non-DST expression before DST.

As I mention above, I am NOT looking for a workaround, such as another field holding a String Description, or one field for the Date and another field for the Time. I want this as Data, an actual Date/Time Range. Then I want to manipulate that core, accurate, and flexible data to express to the end user the information that they need to make a decision about whether to attend.

I am tempted to meander about this problem, but since I feel so flummoxed -- I understand both sides and don't know how to resolve the discrepancy -- I am going to resist and hope that better minds can assist.

BTW, this is a D8 site, and New York time zone if it matters.

Categories: World News

Correct field-type to display book pages

Fri, 08/31/2018 - 02:00

I'd like to create a book in my Drupal site but I chose to do that manually, without using the Book module so I won't be limited by its options.

Thus, I first created a new content-type named "book_pages" and then I gave it a long text field with summary ("body"), and I need a second field-type for paging, but I'm not sure what its field-type should be:

It should automatically include the node order-number** so that if the node is the fifth node of the content-type a user would see the following, when visiting the fifth book_page:

text (body) 5 (page-number)

What field-type should I choose?

Categories: World News

Drush 7 @self picks configuration from aliases.drushrc.php randomly

Fri, 08/31/2018 - 02:00

I'm trying to index Search API Solr using Drush 7 on platform environments, but the drush search-api-index command is failing for a very strange reason.

There are clues of the problem below, but I'm not sure what to do next to figure this out. This issue has me very stumped.

1. I've configured platform.sh-specific drushrc.php file, which sets up the --uri option correctly. web@server:~/www$ drush st Drupal version : 7.59 Site URI : https://mysite.us-2.platformsh.site/ Database driver : mysql Database hostname : database.internal Database port : 3306 Database username : user Database name : main Drupal bootstrap : Successful Drupal user : Default theme : mysite_theme Administration theme : seven PHP executable : /usr/bin/php PHP configuration : /etc/php5/cli/php.ini PHP OS : Linux Drush script : /app/.global/vendor/drush/drush/drush.php Drush version : 7.4.0 Drush temp directory : /tmp Drush configuration : /app/www/sites/all/drush/drushrc.php Drush alias files : /app/www/sites/all/drush/aliases.drushrc.php Install profile : mysite Drupal root : /app/www Site path : sites/default File directory path : sites/default/files Private file directory path : /app/private Temporary file directory path : /app/tmp 2. Drush DOES list the search api indexes correctly. web@server:~/www$ drush search-api-list Id Name Index Server Type Status Limit 1 Default node index default_node_index (none) Content disabled 50 34 Location Search location_search Solr Server (Platform.sh) Content enabled 50 35 Page manager pages page_manager_pages Solr Server (Platform.sh) Page manager enabled 50 36 Site General Search site_general_search Solr Server (Platform.sh) Content enabled 50 37 Bookplates bookplates Solr Server (Platform.sh) Content enabled 50 38 Staff Directory staff_directory Solr Server (Platform.sh) Content disabled 50 web@server:~/www$ drush search-api-status Id Index % Complete Indexed Total 1 Default node index - 0 0 34 Location Search 0% 0 2187 35 Page manager pages 0% 0 13 36 Site General Search 0% 0 2187 37 Bookplates 0% 0 2199 38 Staff Directory - 0 0 3. HOWEVER, trying to reindex with drush fails web@server:~/www$ drush search-api-index The index Default node index is up to date. [ok] Indexing a maximum number of 2187 items (50 items per batch run) for the index Location Search. [ok] Command batch-process needs a higher bootstrap level to run - you will need to invoke drush from a more functional Drupal environment to run this [error] command. The drush command 'batch-process 19730' could not be executed. [error] Drush was not able to start (bootstrap) the Drupal database. [error] Hint: This may occur when Drush is trying to: * bootstrap a site that has not been installed or does not have a configured database. In this case you can select another site with a working database setup by specifying the URI to use with the --uri parameter on the command line. See `drush topic docs-aliases` for details. * connect the database through a socket. The socket file may be wrong or the php-cli may have no access to it in a jailed shell. See http://drupal.org/node/1428638 for details. 4. A clue as to what is wrong is then given, with the WRONG db creds and site uri!  Drush was attempting to connect to: Drupal version : 7.59 Site URI : mysite.local Database driver : mysql Database hostname : mysite.local Database port : 3306 Database username : mysite Database name : mysite PHP executable : /usr/bin/php PHP configuration : /etc/php5/cli/php.ini PHP OS : Linux Drush script : /app/.global/vendor/drush/drush/drush.php Drush version : 7.4.0 Drush temp directory : /tmp Drush configuration : /app/www/sites/all/drush/drushrc.php Drush alias files : /app/www/sites/all/drush/aliases.drushrc.php Drupal root : /app/www Site path : sites/default 5. How are the wrong parameters being passed?

It's almost as if it is passing the wrong parameters or a default drush alias to the index task from somewhere, but where? I've scanned the code for "mysite.local":

web@server:~/www$ grep -r mysite.local . ./sites/all/drush/aliases.drushrc.php:$aliases['mysite.local'] = array( ./sites/all/drush/aliases.drushrc.php: 'uri' => 'mysite.local', ./sites/all/drush/drushrc.php.example:$options['uri'] = 'http://mysite.local'; ./sites/all/modules/custom/powell_res/powell_res.module: if ( $_SERVER['HTTP_HOST']=='localhost' || $_SERVER['HTTP_HOST']=='mysite.local') { ./sites/all/modules/custom/rc_res/rc_res.module: if ( $_SERVER['HTTP_HOST']=='localhost' || $_SERVER['HTTP_HOST']=='mysite.local') { ./sites/default/local.settings.php: 'host' => 'mysite.local', ./sites/default/settings.php: 'mysite.local' => 'local.settings.php',

I would think that the only relevant locations from above are ./sites/all/drush/aliases.drushrc.php, ./sites/all/drush/drushrc.php.example, and ./sites/default/local.settings.php. Neither of the later two should be included at runtime from drush cli. The contents of my ./sites/default/settings.php only include local.settings.php if uri = mysite.local. This leaves only aliases.drushrc.php. Could a default alias of @mysite.local somehow be passed under the covers?

FWIW, I also looked for possible hard-coded drush command-specific config options to the search-api-index command placed in another file but couldnt turn up anything useful. There is a ./sites/all/drush/drushrc_shared.php file but this file doesn't appear to be loaded, nor does it contain any relevant command-specific settings or even a --uri option.

6. Debugging with -vvv --debug

From the output below, The first half of the command runs fine, but then at some point after it finds the drush command file for search_api_index, it internally runs another drush command via "Backend invoke", with the wrong settings.

web@server:~/www$ drush search-api-index -vvv --debug Drush preflight prepare loaded autoloader at [preflight] /app/.global/vendor/autoload.php [0 sec, 2.6 MB] Starting Drush preflight. [0 sec, 2.6 MB] [preflight] Cache HIT cid: 7.4.0-commandfiles-0-2cc326a65c41fdab5fcf2c6cb9fb2c3b [0.01 sec, 2.66 MB] [debug] Loading drushrc "/app/www/sites/all/drush/drushrc.php" into "drupal" scope. [0.03 sec, 4.66 MB] [bootstrap] Bootstrap to phase 0. [0.08 sec, 6.65 MB] [bootstrap] Bootstrap to phase 5. [0.08 sec, 6.65 MB] [bootstrap] Drush bootstrap phase : bootstrap_drupal_root() [0.09 sec, 7.03 MB] [bootstrap] Loading drushrc "/app/www/sites/all/drush/drushrc.php" into "drupal" scope. [0.09 sec, 7.03 MB] [bootstrap] Initialized Drupal 7.59 root directory at /app/www [0.09 sec, 7.03 MB] [bootstrap] Find command files for phase 1 (max=5) [0.09 sec, 5.06 MB] [debug] Cache HIT cid: 7.4.0-commandfiles-1-05d40856b788e54ca64b35c99a2c1fd7 [0.09 sec, 5.06 MB] [debug] Drush bootstrap phase : bootstrap_drupal_site() [0.09 sec, 5.07 MB] [bootstrap] Initialized Drupal site mysite.us-2.platformsh.site at sites/default [0.09 sec, 5.07 MB] [bootstrap] Find command files for phase 2 (max=5) [0.09 sec, 5.07 MB] [debug] Cache HIT cid: 7.4.0-commandfiles-2-f17fc6bdab2f74278df75194ca483893 [0.09 sec, 5.07 MB] [debug] Drush bootstrap phase : bootstrap_drupal_configuration() [0.1 sec, 5.3 MB] [bootstrap] Find command files for phase 3 (max=5) [0.1 sec, 5.34 MB] [debug] sql-query: SELECT 1; [0.1 sec, 5.45 MB] [notice] Executing: mysql --defaults-extra-file=/tmp/drush_8YlZWK --database=main --host=database.internal --port=3306 --silent < /tmp/drush_WhdxK8 1 sql-query: SHOW TABLES; [0.11 sec, 5.45 MB] [notice] Executing: mysql --defaults-extra-file=/tmp/drush_I34QoZ --database=main --host=database.internal --port=3306 --silent < /tmp/drush_INSUan [output redacted for brevity] Drush bootstrap phase : bootstrap_drupal_database() [0.14 sec, 5.54 MB] [bootstrap] Successfully connected to the Drupal database. [0.15 sec, 6.07 MB] [bootstrap] Find command files for phase 4 (max=5) [0.15 sec, 6.07 MB] [debug] Drush bootstrap phase : bootstrap_drupal_full() [0.15 sec, 6.07 MB] [bootstrap] Cache HIT cid: 7.4.0-install_profile-66ecfeb9791a023150773849f1550c5d [0.45 sec, 40 MB] [debug] Find command files for phase 5 (max=5) [0.45 sec, 40 MB] [debug] Cache HIT cid: 7.4.0-install_profile-66ecfeb9791a023150773849f1550c5d [0.45 sec, 40.01 MB] [debug] Cache HIT cid: 7.4.0-commandfiles-5-30eb6a40e5b156e214df63a4a8fcfecc [0.45 sec, 40.06 MB] [debug] Bootstrap to phase 6. [0.51 sec, 44.05 MB] [bootstrap] Drush bootstrap phase : bootstrap_drupal_login() [0.51 sec, 44.06 MB] [bootstrap] Find command files for phase 6 (max=6) [0.54 sec, 41.45 MB] [debug] Found command: search-api-index (commandfile=search_api) [0.54 sec, 41.45 MB] [bootstrap] Calling hook drush_search_api_index [0.59 sec, 44.46 MB] [debug] The index Default node index is up to date. [0.61 sec, 45.96 MB] [ok] Indexing a maximum number of 2187 items (50 items per batch run) for the index Location Search. [0.61 sec, 45.96 MB] [ok] Cache HIT cid: 7.4.0-alias-path--0e94eb35635a057777b446898cdd620b [0.62 sec, 46.11 MB] [debug] Backend invoke: /usr/bin/php /app/.global/vendor/drush/drush/drush.php --php=/usr/bin/php --backend=2 --user=0 --verbose --debug --root=/app/www [command] --uri=mysite.local batch-process 19738 2>&1 [0.62 sec, 46.13 MB] /usr/bin/php /app/.global/vendor/drush/drush/drush.php --php=/usr/bin/php --backend=2 --user=0 --verbose --debug --root=/app/www [notice] --uri=mysite.local batch-process 19738 2>&1 [0.62 sec, 46.13 MB] 7. I've found a related issue #1550575, but it claims to have been fixed for 6 years. 8. Drush @self alias is being weird.

If I run drush st the output is correct (see #1 above). If I run drush @self st I get the WRONG db creds and site uri values:

web@server:~/www$ drush @self st Drupal version : 7.59 Site URI : mysite.local Database driver : mysql Database hostname : mysite.local Database port : 3306 Database username : mysite Database name : mysite PHP executable : /usr/bin/php PHP configuration : /etc/php5/cli/php.ini PHP OS : Linux Drush script : /app/.global/vendor/drush/drush/drush.php Drush version : 7.4.0 Drush temp directory : /tmp Drush configuration : /app/www/sites/all/drush/drushrc.php Drush alias files : /app/www/sites/all/drush/aliases.drushrc.php Drupal root : /app/www Site path : sites/default 9 drush sa @self randomly picks the wrong alias from aliases.settings.php web@server:~/www$ drush sa @self $aliases["mysite.local"] = array ( 'root' => '/app/www', 'uri' => 'mysite.local', 'path-aliases' => array ( '%dump' => '/app/db/local-20180830051250.sql', ), 'command-specific' => array ( 'sql-sync' => array ( 'structure-tables-key' => 'custom', 'structure-tables' => array ( 'custom' => array ( 0 => 'cache', 1 => 'cache_block', 2 => 'cache_bootstrap', 3 => 'cache_field', 4 => 'cache_filter', 5 => 'cache_form', 6 => 'cache_image', 7 => 'cache_libraries', 8 => 'cache_menu', 9 => 'cache_page', 10 => 'cache_path', 11 => 'cache_search_api_solr', 12 => 'cache_token', 13 => 'cache_views', 14 => 'cache_views_data', 15 => 'history', 16 => 'sessions', 17 => 'watchdog', ), ), ), 'rsync' => array ( 'mode' => 'rlptDz', ), ), 'target-command-specific' => array ( 'sql-sync' => array ( 'enable' => array ( 0 => 'stage_file_proxy', ), ), ), );

I suspected drush was picking the first alias defined from the ./sites/all/drush/aliases.drushrc.php file, but when I added another different alias and changed the order, I confirmed that it does not do this. Thus, I don't understand why it decides to pull this specific one as the @self.

Categories: World News

How to sort by condition in entityQuery

Fri, 08/31/2018 - 02:00

I want to get a list that the items with a specific term in the top (like promote). The query would be like:

$query = \Drupal::entityQuery('node') ->condition('status', 1) ->condition('type', 'news') ->sort('field_product_category', $tid, '<>') //Error <> ->range(0, 5);

Can I put calculation in sort condition? I do not want to make 2 queries.

Categories: World News

What is this feature called? Making a text change in your website back-end that is pushed through to multiple locations on your website.

Fri, 08/31/2018 - 00:10

I've used a feature like this before years ago at a past job. Now at my new job we use a web editor program that doesn't have this feature, but the program allows for many add-ons, so I might be able to find an add-on that enables this feature if only I could remember what the feature is called so that I could search for it.

So if you have a specific paragraph of text that you use on multiple pages on your website, then instead of writing out the same paragraph on multiple pages, you just place a little code in each spot where you want the paragraph, and then set the text for that code somewhere on the back-end of the website.

Then in the future if you need to make changes to that text paragraph, you make the change in the one spot in your back-end, and it pushes through to all the different spots on your website that contain that code.

My boss called this a "data island" or something about "XML" but neither of those terms are helping me find this feature.

submitted by /u/LilSebs_MrsF
[visit reddit] [comments]
Categories: World News

Two theories about Apple&#8217;s mysterious event

Thu, 08/30/2018 - 23:49

Here’s what we can expect from the September 12th event, for which Apple sent out a typically cryptic invite today.

“Gather round,” suggests the event invite that Apple sent to journalists today. Above it, the center of attention is a single rose gold ring, divided into concentric lines.

Read Full Story

Categories: World News

Burning Man&#8217;s installations are especially crazy this year

Thu, 08/30/2018 - 23:49

When does a festival become a large-scale infrastructure project?

After complex planning and frantic construction, Black Rock City is now fully armed and operational in the Nevada Desert–and even if you think the annual event is a wretched hive, the structures and installations that accompany the festival are actually worth checking out.

Read Full Story

Categories: World News

This Japanese hair salon is like a WeWork for stylists

Thu, 08/30/2018 - 23:49

The Go Today Shaire Salon in Tokyo was inspired by coworking and designed for freelance beauticians.

With the rise of the sharing economy and freelance workforce, coworking has become an ubiquitous feature of urban life. WeWork locations and its competitors dot the landscapes of big cities, where real estate is expensive and having a private office is often out of the question for freelance workers. As the idea of using shared space at a lower cost has made its way into other industries–there’s co-living and co-retailing–it’s also creating a new one: co-hair styling.

Read Full Story

Categories: World News

Ugly Location Photoshoot Challenge

Thu, 08/30/2018 - 23:45

A few weeks ago, a model friend of mine, Rachelle Kathleen, and I were planning to meet for a fun little photo shoot. Instead of searching out the usual beautiful locations around where we live, I had the idea to do just the opposite. I wanted to go somewhere “ugly” by all conventional photography standards and then see what we could do with it. Lowe’s seemed like the perfect option.

The point was to challenge ourselves. I wanted somewhere with horrible lighting and limited backdrops. Somewhere that made absolutely no sense for a photo shoot. Our local Lowe’s home improvement retail store hits all those points. Before we went in we decided on a few rules:

1. We had to work with whatever was already there. I brought in just my camera without any artificial lighting or props. She simply brought a small bag with a couple outfit options.

2. We couldn’t rearrange the displays or make any big changes. In one instance (as you’ll see later) we moved a cart from the side of the aisle to the center, but then put it right back. We’ve both spent years in the service industry, we weren’t about to leave the workers with a trashed store an hour before closing time on a Sunday night.

3. We’d stop shooting if anyone was in the background. We didn’t want to give anyone any reason to complain, so we went to a place that was completely empty of customers, and if someone did show up, we lowered the camera until they were done browsing and left the area.

Of course, if none of this was allowed we would’ve left, but as soon as we walked in an employee asked if they could help us and I asked, “We were just going to take a few photos, is that okay?”

He replied, “Of course! I was just wondering why she was so overdressed for a trip to the hardware store!”

Since they were about an hour from closing the store was almost completely empty. Anyone we didcome in contact with was super friendly, if not slightly curious. We had a few people stop and watch, but that’s to be expected anytime Rachelle models anywhere. The girl just can’t help but stop traffic.

And this is what we got! I’ve included the cell-phone pic of the actual location along with each photoset, so you can see what we were working with.

Lowe’s Location 1: The Paint Samples

I have to admit, I have always wanted to shoot in front of these paint samples, so as soon as we walked in the door I made a bee-line right to them. I’m excited I finally got to shoot in front of them – these shots turned out to be some of my favorites ever!

Location Shot:

Straight Out Of Camera (SOOC):


Lowe’s Location 2: The Lighting Section

I was also excited about the lighting section. I’ve always been a fan of shooting straight into the light (though I’ve heard it’s a bit of a no-no). The main problem was the lights were so much higher than we thought…or maybe we’re just a lot shorter than we realized (we’re both barely 5’4″).

I knew the light itself was going to be pretty horrendous, with all the different colors, brightness levels, and shadows, but I was excited to give it a shot. You can see in the second photo what it looked like straight out of camera.

Location Shot:



Lowe’s Location 3: The Aisles We knew we couldn’t avoid the aisles. Photographically speaking, they were awful. Horrible lighting, lots of plastic surfaces, really nothing that would be considered aesthetically pleasing, but that was the point. This was the essence of Lowe’s, and we wouldn’t have been doing the challenge justice to steer away from it.

Also, yes, we know you aren’t allowed to sit on the carts. An employee was there and gave us permission to keep shooting. Like I mentioned earlier, we were in a pretty big hurry, so she was sitting on that cart for a total of maybe 6 minutes, so calm the hell down, it’s not like we were dancing on them.

And yes, we know there has probably been something pretty disgusting spilled on them at some point, but we really couldn’t care less. Rachelle and I have shot nude in abandoned buildings full of spiders, bats and bird shit, a dry cart really isn’t much of an issue.

We shot in both the larger aisles and the skinnier ones. Here’s the larger aisle:

Location Shot: Aisle 1



Location Shot: Aisle 2

Lowe’s Location 4: The Garden Section

I would’ve loved to spend more time in the garden section, but the store was closing and we were running out of time. We spotted a cluster of fake shrubs and I had her kneel down in front of them so I could fill the frame. It’s too bad we had to move on so quickly – this was actually the best lighting we got out of the entire store! If we had been there in the daytime, it probably would’ve been even better!

I knew I wanted to edit the finished photo with a kind of moody, wintery look. So even though the raw image really wasn’t too bad, it still needed some adjustments to get to what I wanted it to be.

Location Shot:



Overall, this was a really fun challenge! Not that I’d invite an actual client to ever do a Lowe’s photo shoot (I mean, never say never), but I was pretty happy with the result! Horrible location for the win! Next time you see an awful spot, maybe give it a chance, you never know what you might end up with.

About the author: Jenna Martin is the founder of PhotoFern.com and a fine art and underwater photographer based out of Billings, Montana. After acquiring her Master’s in Psychiatric Rehabilitation, she made a drastic career change into the field of photography where she has been producing surreal images ever since. You can find more of her work and writing on her website and blog, or follow her via Instagram or Facebook. This article was also published here.

Read More at Ugly Location Photoshoot Challenge

Categories: World News

Best Desktop Environments for HiDPI?

Thu, 08/30/2018 - 22:53

I have been pretty disappointed with the desktop environments that I have tried. None of them have supported switching between using the laptop screen and external 4k monitors well at all. Ubuntu took a big step backwards switching to Gnome from Unity in terms of HiDPI support. The version of Gnome they are using is missing some of the critical HiDPI features.

Is there anyone else here who transitions between laptop display and 4k monitors? What desktop do you use?

submitted by /u/TheSultanOfSwagger
[visit reddit] [comments]
Categories: World News

Red Hat Enterprise Linux (RHEL) Product Life Cycle

Thu, 08/30/2018 - 22:40

Howdy from Texas, y’all! My name is Rob Marti and I’ve been a System Administrator for around 13 years and in the IT industry for over 20 years. I’ve worked for small businesses, large organizations, and universities. I’ve worked with 10k+ node HPC clusters, 13k+ node Linux server farms, and almost everything in between. For the vast majority of my career in IT, I have been working with Red Hat software including RHEL, Red Hat Cluster Suite, and Red Hat Satellite.

As all Sys Admins know, software is constantly being updated and changed, and older versions are eventually phased out and vendors stop providing support. In order to keep our systems running smoothly, Sys Admins need to be aware of product life cycles.

The product lifecycle of most software typically includes 3-4 phases such as Full Support, Maintenance, and End of Life (EOL). The definition and level of support offered by vendors during each of these phases vary from product to product. However, EOL has a fairly standard meaning and a fairly major impact on multiple levels from Sys Admin all the way to end user.

So what does EOL mean in the technology industry? Typically it refers to the date that a specific product no longer receives support from the company that released it; in other words, the product has reached the end of its useful life. The anticipated EOL date is often published when the product is released along with details explaining the levels of support that will be offered during the various phases of the product’s lifecycle.

Today I will be talking about software giant Red Hat’s product lifecycle. The figure below illustrates the phases specific to RHEL.

Figure 1: RHEL Life Cycle

RHEL is on a 10-year life cycle. Each phase offers slightly less support than the one before it. The 10-year life cycle allows businesses to make long-term plans and decisions.

The first phase, Full Support (FS), is exactly that; it includes everything from bug fixes to security errata to new feature rollouts. During FS, access to all previous content is available and Sys Admins are able to turn to the vendor for help on just about anything such as troubleshooting, downloading additional software, and upgraded hardware support.

The second phase starts about five and a half years from release and is called Maintenance Support 1 (MS1). During this phase, new features are unlikely to appear but bug fixes and security errata are still provided. New hardware support begins to phase out and is typically only added if the driver change requirements are low. Maintenance Support 2 (MS2) starts a year after MS1 and during this phase, there is essentially no new hardware support. MS2 lasts through the end of the 10-year cycle.

But what happens after that? {Does the server implode? Is it time for the Sys Admin to retire?}

In a large Enterprise environment, it is not always feasible to have systems replaced before a product life cycle ends. In light of this, Red Hat offers another product called Extended Lifecycle Support (ELS) for RHEL. ELS allows you to continue to get Critical and Important Security errata as well as limited bug fixes.

What happens if a piece of vendor software must run on an older version of RHEL? Red Hat offers a product called Extended Update Support (EUS) that provides errata that has been tested against a specific minor release and will apply there. Without EUS the errata are only tested against the latest versions of all packages.

Despite the decade-long life cycle, it is challenging for organizations and their Sys Admins to keep their systems running smoothly through varying and non-aligned product life cycles. Fortunately, Linux Academy offers training on the rapidly changing technological landscape that allows organizations to run more efficiently and effectively and avoid the nasty pitfalls that can accompany the EOL phase.

If this is something you’re interested in, check out our Linux Foundation Certified Systems Engineer (LFCSE) course. Hope to see you there!

The post Red Hat Enterprise Linux (RHEL) Product Life Cycle appeared first on Linux Academy Blog.

Categories: World News

How can I host/embed .HTML (Sozi) file with website builder site?

Thu, 08/30/2018 - 21:59

I'm trying to switch from Prezi to Sozi, but I'm stuck at sharing my presentations. I don't want to simply distribute the .html files as most of my audience won't know our be able to open them. I need the presentations to be on my website.

I currently use Weebly, but I would be willing to switch if I need to. I know how to code a little and I've messed with html before. I don't think I'm in a position to build and host (and code) a normal website. Wix? Google sites??

I know I could also convert my sozis to PDFs or ppts but I'd rather not have to do that as it would be a time consuming.

submitted by /u/-Chell
[visit reddit] [comments]
Categories: World News

One-Page or Multi-Page Website For a Dental Practice?

Thu, 08/30/2018 - 21:59

I’ve read that one-pagers are easier to read (if not filled with too much content) and have better SEO traction, but multi-page websites can manage the content easier. On a one-page website I would have six sections which seem, when they are filled, too much. Should I create another page for the About Us and Services section?

submitted by /u/Pixel_Err0r
[visit reddit] [comments]
Categories: World News

Website Help

Thu, 08/30/2018 - 21:59

Not sure if this is the right place to post this, but me and my friends are considering making a website. If anyone can recommend or suggest some good ways to make a website or any sites we can use to make one that’d be great.

It needs to be highly customisable and unique and also professional. Looking for a simple way to do this so preferably little to no coding however we also are looking for a lower cost option.

submitted by /u/El-Sapo
[visit reddit] [comments]
Categories: World News

What Happens When 18 Countries One Photoshopped One Woman

Thu, 08/30/2018 - 21:59

A few years ago, Journalist Esther Honig published a viral series of images showing how different countries around the world would retouch a portrait of a woman according to their beauty standards.

This is the original portrait that was sent out to 18 freelance designers in 18 countries around the world:

Here are the simple instructions that were given by the market agency Fractl, which was commissioned for this project:

Photoshop her form. The idea is to Photoshop and retouch this woman to make her more attractive to the citizens of your country. We are looking to explore how perceptions of beauty change across the world. Multiple designers are involved. You can modify clothing, but her form must be visible. No nudity. All other changes, including those to her shape and form, are up to you.

“We focused on female designers, as we wanted a woman’s view of what her culture finds attractive and to understand more about the pressures they face,” the project says. Here are the Photoshopped images that were sent back:

“The goal of this project is to better understand potentially unrealistic standards of beauty and to see how such pressures vary around the world,” the project says.

The experiment found that…

Some of the designers kept the woman looking like herself, while others made her look like a completely new person.

Some countries gave her an exaggerated hourglass figure, while others gave her an apparent BMI of 17.5, or near anorexic.

China and Italy returned the thinnest Photoshopped figures (China’s had an estimated BMI of 17), while Spain returned the heaviest.

“Beauty cannot be judged objectively, for what one person finds beautiful or admirable may not appeal to another,” the experiment concludes. “And the range of depictions found in our study appears to confirm this notion.”

The team behind this project is planning to do future experiments to further explore perceptions of male and female beauty.

Read More at What Happens When 18 Countries One Photoshopped One Woman

Categories: World News

Просто хороший хостинг