Вакансии для IT специалистов

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


LTCBTC - Bitfinex



Syndicate content My RSS Feed
My RSS Feed
Updated: 39 min 20 sec ago

KFC Releases Meditation Mantras To Help You Achieve Fast Food Nirvana

48 min 49 sec ago

Video screenshot via KFC

Have you been stressed out from adhering to your salad-filled diet lately? KFC might have found a way to ease your senses—though it’s not exactly through its food.

The fried chicken chain has launched the ‘KFC Comfort Zone’ series, a collection of trippy meditation videos that show you the way to attaining fast food nirvana: its pot pies.

“Comfort and enlightenment are now on the menu at your local KFC,” the company tweeted—so don’t worry, your time might finally be here.

As with your everyday meditation systems, there are a few ground rules you need to follow before you proceed to listen to the ‘KFC Comfort Zone’. “Make sure you are sitting comfortably—no distractions or harmful interruptions. Do not operate heavy machinery… or [eat] pot pie in general.”

Have a preview of the relaxing meditations below. Breathe in and exhale to the full series at ‘KFCComfortZone.com’.

Namaste. pic.twitter.com/MdrgXsWl17

— KFC (@kfc) January 18, 2018

Some people think steam is a way to tell how warm something is. At KFC, we also see it as the evaporation of stress and existential pain. Watch all 5 full Pot Pie meditations at KFCComfort.Zone (link in bio).

A post shared by KFC - Kentucky Fried Chicken (@kfc) on Jan 18, 2018 at 6:23am PST

By focusing on the tenderness of KFC's signature Pot Pie chicken, we can become more tender human beings. Experience all 5 full Pot Pie meditations at KFCComfort.Zone (link in bio)

A post shared by KFC - Kentucky Fried Chicken (@kfc) on Jan 18, 2018 at 7:15am PST

There is a garden from which all life flows, and it also happens to be where KFC gets the carrots for its signature Pot Pies. Experience all 5 full Pot Pie meditations at KFCComfort.Zone (link in bio)

A post shared by KFC - Kentucky Fried Chicken (@kfc) on Jan 18, 2018 at 9:54am PST

The entire history of the universe has led up to the moment you saw this ad for a Pot Pie-based meditation system. Experience all 5 Pot Pie meditations at KFCComfort.Zone (link in bio).

A post shared by KFC - Kentucky Fried Chicken (@kfc) on Jan 18, 2018 at 1:39pm PST

[via KFC]
Categories: World News

Cron a job eventhough charge recycle.

1 hour 10 min ago

So basically I wanted to execute a command after 45 days(at a date time in future) onward to a linux modem but without the limitation of charge recycle in a linux which may make the script unusable.

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

Watch: How Some Prize-Hungry ‘Photographers’ Capture Award-Winning Photos

1 hour 53 min ago

For the sake of a winning shot, some might be willing to do anything, even if it encroaches on the unethical.

Bangladeshi A.M. Ahad, a photojournalist for the Associated Press and co-founder of Absurd Photos, pointed out that prize-hunting photographers have been sojourning Bangladesh to try and snag award-winning “photojournalistic” shots.

Ahad explained to PetaPixel, “For the last couple of years, during the Bishwa Ijtema and Eid al-Adha time, there are hundreds of Malaysian and Chinese tourists carting cameras and doing things. They are all around making images and ruining things for professional photographers.”

Since they are not professional photojournalists, they fail to comply with the standard rules of ethical journalist conduct. Oftentimes, these photographers would use passers-by as subjects and many are obliged because Ahad says, “people think it’s natural to give a pose if a photographer asks.”

An example is a scene that he’d come across at a train station in Bangladesh, where he filmed several photographers trying to capture a young man posed in a prayerful stance, while leaning out of the train window.

“What’s happening in our city? Bangladesh is not for people like this who [come] to ruin professional photographers etiquette for the sake of winning medal[s],” wrote Ahad.

He added that some photographers even went so far as telling potential photo subjects that they were photojournalists from media organizations.

“Stop telling us that you are a foreign media covering the congregation when you have no proof to show us,” he wrote on Facebook.

(function(d, s, id) {
var js, fjs = d.getElementsByTagName(s)[0];
if (d.getElementById(id)) return;
js = d.createElement(s); js.id = id;
js.src = 'https://connect.facebook.net/en_US/sdk.js#xfbml=1&version=v2.11';
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));

What's happening in our city? Bangladesh is not for people like this who came to ruin professional photographers etiquette for the sake of winning medal. Stop telling us that you are a foreign media covering the congregation when you have no proof to show us. Nowadays, it's very hard to make a frame with people like you hogging a place and staging a scene. Just stay home for goodness sake. Whoever local is bringing in these foreign tourists to make money, they should brief them thoroughly to not behave like this.

Posted by A. M. Ahad on Sunday, January 14, 2018

[via PetaPixel, video via A.M Ahad, opening image via video screenshot]
Categories: World News

YouTube Takes Action Against ‘Tide Pod Challenge’ Videos That Are Risking Lives

1 hour 53 min ago
[Click here to view the video in this article]

Image screenshot via YouTube

Ever since the Logan Paul debacle that ignited a serious conversation over how YouTube intends to monitor its content, the platform seems to be taking greater action where negative uploads are concerned.

The recent viral ‘Tide Pod Challenge’ that has teenagers risking lives to eat laundry detergent is getting a supposed plug-pull on the video platform.

According to the American Association of Poison Control Centers (AAPCC), 39 cases of teenagers purposefully misusing laundry pods were reported in the first 15 days of 2018 alone. AAPCC spokesperson Edward Walrod told TIME that this was a rise compared to the 53 cases reported in the whole of 2017, and the 39 cases throughout 2016.

A YouTube spokesperson explained to Mashable that there hasn’t been any policy change, just a continuation of establishing that flagged content on YouTube does not present harm to its viewers.

“YouTube’s Community Guidelines prohibit content that’s intended to encourage dangerous activities that have an inherent risk of physical harm. We work to quickly remove flagged videos that violate our policies.”

A quick search on the platform still serves up ‘Tide Pod Challenges’ though, and YouTube did not reveal on the exact number of videos that have been taken down thus far.

YouTube’s crackdown could also be influenced by pressure from Tide’s parent company, Procter & Gamble, which has expressed worry over this foolish social media challenge.

In a statement to TIME, a spokesperson from the company commented, “We are deeply concerned about conversations related to intentional and improper use of liquid laundry pacs, and have been working with leading social media networks to remove harmful content that is not consistent with their policies.”

“Laundry pacs are made to clean clothes. They should not be played with, whatever the circumstance, even if meant as a joke. Like all household cleaning products, they must be used properly and stored safely.”

[via Mashable and TIME, opening image screenshot via YouTube]
Categories: World News

Underlining Text – Now With Different Colors and More Effects

1 hour 53 min ago

Typography is becoming increasingly more important in web design – especially since the introduction of web fonts. Underlining text, however, has always been a somewhat monotonous endeavor.

Changing the color and style of the underlining was a complicated process. The expanded CSS3 attribute “text-decoration” now gives you additional wiggle room for the design of texts.

“text-decoration” With Additional Features

Until now, the attribute “text-decoration” only allowed you to define how a text should be underlined, or crossed out. The possible values were “underline”, “overline”, and “line-through”. This matches the typical formatting as we know it from word processing.

The fact that web designers have been looking for workarounds to underline text in different colors for a while now shows that these options are insufficient for web design. Often, a frame (“border-bottom”) has been assigned to a text, instead of underlining it via “text-decoration”. This allowed the user to influence color and stroke width.

However, this approach does have downsides. Underlining via “border-bottom” is always a bit further away from the text than real underlining.

Text Underlined in a Different Color

Now, several features have been added to the CSS attribute “text-decoration,” allowing users to define the underline color regardless of the text color. For that, there’s the new attribute “text-decoration-color.” All common CSS colors are allowed, as well as entries via “rgb()” and “rgba()”.

Defining White Space for Underlinings

There’s another new attribute: “text-decoration-skip.” It lets you define when underlining should be interrupted. The value “ink” determines that descenders, like the lower case “g” and “j,” are left out of the underline.

This option should make a lot of web designers happy. The brutal crossing out of descenders by underlines is not a pleasant view, especially not for typographically passionate web designers and developers.

Underlined Text, With Left Out Descenders

The value “spaces” makes sure that punctuation marks and blanks are not underlined. This allows you to only apply the underline to words during enumerations.

Inline-block-elements, like images within a text, are not underlined if the attribute has the value “objects.” Additionally, the value “edges” defines the distance between the underlinings of two adjacent text elements.

Changing the Position of the Underlining

You also get to define the position of underlining – via “text-underline-position.” Normally, it is on the level of the descenders. The value “under,” however, makes sure that the line is displayed below the descenders.

Underlined Text With the Underline Below the Descenders

This placement makes sense when displaying mathematic formulas, for instance. This prevents subscript numbers from being covered by the underline, as it would render them unreadable.

Different Underline Styles

If a simple line is not enough for you, you can use “text-decoration-style” and choose from different styles for the display of the lines. While the value “solid” draws the usual regular line, “double” gives you the option to go for a double underline.

Underlining With a Wavy Line

For curved lines, set the attribute value to “wavy,” and set it to “dotted” for dotted lines.

Tagging Underlines Via Shortcuts

As you already know it from many other attributes, there is also a short version for the new attributes, which are marked up via the old attribute “text-decoration.” The previous use of “text-decoration,” which only allowed for the underlining and crossing out, has been handed to the attribute “text-decoration-line,” but it still works as a short form.

Thus, the markup “text-decoration: underline” is the short form of “text-decoration-line: underline”. You can also combine the values for “text-decoration-line”, “text-decoration-style”, and “text-decoration-color” in a short version: “text-decoration: underline wavy red”.
In this example, a curved line is used as the underlining.

Browser Support

The attribute “text-decoration-skip” is supported by Chrome and Safari, although Chrome only knows the values “ink” and “objects.” “text-decoration-color” and “text-decoration-style” are also supported by Firefox.

Currently, the attribute “text-decoration-position” is only supported by Chrome.

Other browsers will surely follow suit soon. After all, typographic CSS attributes, as well as the trimming of texts, or their orientation towards other elements, have become integral parts of modern web design.

Categories: World News

Apple Will Be Opening A New Campus, Aims To Create 20,000 Jobs In Next 5 Years

1 hour 53 min ago

Image via Igor Plotnikov / Shutterstock.com

Apple has announced plans to open a new campus, with location details scheduled for reveal later this year.

Inside a press release, the brand broadcast its goals to “create over 20,000 new jobs through hiring at existing campuses and opening a new one.” At present, Apple “employs 84,000 people in all 50 states.”

“Apple is a success story that could only have happened in America, and we are proud to build on our long history of support for the US economy,” said Apple CEO Tim Cook inside the statement. “We believe deeply in the power of American ingenuity, and we are focusing our investments in areas where we can have a direct impact on job creation and job preparedness. We have a deep sense of responsibility to give back to our country and the people who help make our success possible.”

Scant details about the new Apple campus were provided, save for the fact that it would “initially house technical support for customers.” Beyond the main Cupertino headquarters, its complex in Austin, Texas that employs around 6,000 people for customer tech support, is the company’s largest.

Apple also highlighted its support for green energy, declaring that all of its US facilities including this upcoming new campus, existing offices, retail outlets, and data centers, will be powered by 100 percent renewable energy sources such as solar, wind, and micro-hydro power.

[via Apple Newsroom, opening image via Igor Plotnikov / Shutterstock.com]
Categories: World News

Drupal 8 frustrations

2 hours 24 min ago

I have been getting more and more frustrated with drupal lately, it seems like things are changing faster than I would like.

My current frustration is that I can no longer update drupal with drush, it seems as though I have to use composer to update.

I am actually considering switching to wordpress where updates are very very simple.

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

PreviousNext: Analysing churn in Drupal core

2 hours 25 min ago

After reading a blog post by Matthias Noback on keeping an eye on code churn, I was motivated to run the churn php library over some modules in core to gauge the level of churn.

Is this something you might like to do on your modules? Read on for more information.

by Lee Rowlands / 19 January 2018 What is churn

As Matthias details in his blog post - churn is a measure of the number of times a piece of code has been changed over time. The red flags start to crop up when you have high complexity and high churn.

Enter churn-php

Churn php is a library that analyses PHP code that has its history in git to identify high churn/complexity scores.

You can either install it with composer require bmitch/churn-php --dev or run it using docker docker run --rm -ti -v $PWD:/app dockerizedphp/churn run /path/to/code

Some results from core

So I ran it for some modules I look after in core, as well as the Drupal\Core\Entity namespace.

Block Content File Times Changed Complexity Score core/modules/block_content/src/Entity/BlockContent.php 41 6 1 core/modules/block_content/src/BlockContentForm.php 32 6 0.78 core/modules/block_content/src/Plugin/Block/BlockContentBlock.php 20 6 0.488 core/modules/block_content/src/Tests/BlockContentTestBase.php 16 6 0.39 core/modules/block_content/src/BlockContentTypeForm.php 18 4 0.347 core/modules/block_content/src/Controller/BlockContentController.php 8 6 0.195 Comment File Times Changed Complexity Score core/modules/comment/src/CommentForm.php 60 45 1 core/modules/comment/src/Entity/Comment.php 55 25 0.548 core/modules/comment/src/Tests/CommentTestBase.php 33 29 0.426 core/modules/comment/src/Controller/CommentController.php 32 20 0.274 core/modules/comment/src/CommentViewBuilder.php 37 16 0.25 core/modules/comment/src/Plugin/Field/FieldFormatter/CommentDefaultFormatter.php 32 18 0.24 core/modules/comment/src/Form/CommentAdminOverview.php 29 17 0.191 core/modules/comment/src/CommentAccessControlHandler.php 17 28 0.19 core/modules/comment/src/CommentLinkBuilder.php 15 29 0.17 core/modules/comment/src/CommentManager.php 29 15 0.157 Drupal\Core\Entity File Times Changed Complexity Score core/lib/Drupal/Core/Entity/ContentEntityBase.php 115 173 0.808 core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorage.php 61 196 0.465 core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorageSchema.php 56 203 0.427 core/lib/Drupal/Core/Entity/Entity.php 131 43 0.212 core/lib/Drupal/Core/Entity/ContentEntityStorageBase.php 41 105 0.16 Conclusion

So, what to do with these results?

Well I think if you're looking to simplify your code-base and identify places that would warrant refactoring, those with a high 'churn' score would be a good place to start.

What do you think? Let us know in the comments.

Tagged Drupal Core, Code Complexity, Drupal 8
Categories: World News

Drupal8 csv for entity reference

2 hours 25 min ago

using content import (great!) but cannot import entity references (taxonomy fine). Can anyone advise please. Have set up as machine name, etc like taxonomy set up and tried every variation but no go. Thanks

Categories: World News

Use existing serial field with same counter across content types

2 hours 25 min ago

how do I use existing Serial field in other content types with same counter db table? Have 2 CCKs, cck-A has a serial field (auto increment) (ParticipantNumber), added same ParticipantNumber serial field (add existing field) in cck-B. But the serial field value for both CCKs have independent auto incremental value.

How do I make the ParticipantNumber values be incremental (and Unique) across cck A and B? (just like node nid)

Categories: World News

How do I hide a view's field based on role?

2 hours 25 min ago

In /admin/people, I want to hide the display name (i.e. the Display name must not appear in the user list), but only for a specific role.

In my .module file, I have tried following hooks:

function hook_views_data_alter(array &$data) { kint($data['users']);die; } function hook_views_pre_render(\Drupal\views\ViewExecutable $view) { if($view->id() == 'myview'){ print_r($view->result);die; // kint($value->_entity->get('title')->value); } } function hook_views_post_render(\Drupal\views\ViewExecutable $view) { if ($view->id() == 'viewid') { // Set the view title. $field_name = $view->getFields(); } } function hook_field_views_data_views_data_alter(array &$data, \Drupal\field\FieldStorageConfigInterface $field) { $field_name = $field->getName(); echo 'hjsjhwd'; print_r($field_name);die; }

None of them helped me. I thought of getting fields of the view "user" and after that I will unset it for particular role. But in views listing, Name field is still appearing. How can I hide it for a particular role?

Is there any way to achieve this?

Categories: World News

Watch: Your First Look Inside MUJI’s Inaugural Hotel In Shenzhen, China

3 hours 9 min ago
[Click here to view the video in this article]

Yesterday, MUJI opened the doors of its very first hotel in Shenzhen, China. As part of its promotional efforts, the brand released a short video to give fans of the minimalist lifestyle brand a taste of what its accommodation has to offer.

MUJI will be building a second hotel in Beijing, China, scheduled to open on 20 March 2018, followed by its flagship in Tokyo, Japan, come Spring 2019.

Find out more about MUJI Shenzhen here or book your stay.

[via MUJIglobal, images via video screenshot]
Categories: World News

Kit Kat Unveils ‘Ruby Chocolate’ Bars That Naturally Appear Rose Quartz

3 hours 9 min ago

Image via Nestlé Japan

Kit Kat bars might seem like a mindless snack to you, but in Japan, they’re like the ‘Kate Middletons’ of the chocolate market. In 2017, Nestlé Japan rolled out faux sushi and birthstone-inspired Kit Kats. It also launched a vending machine that lets you personalize your own Kit Kat boxes.

The confectionery brand has once again proven that it’s in the pink of health with its latest gem-like addition: its very own ruby chocolate bar.

Ruby chocolate, which was developed by cocoa manufacturer Barry Callebaut, has been dubbed the “fourth type of chocolate” in the world and features a naturally-occurring pink color.

After a decade of trial-and-error, the variety was finally ready to meet the world in 2017. Made with ‘Ruby’ cocoa beans, it’s the first natural chocolate to appear after white chocolate, which was introduced 80 years before.

The new bar, which Kit Kat calls ‘Sublime Ruby’, has a “fruity flavor reminiscent of berries.” Nestlé Japan wrote in a press release that it’s the first commercialized ruby chocolate product and will be launched in time for Valentine’s Day.

“I am very pleased that our innovative breakthrough ruby chocolate has come to life so quickly through our partnership with Nestlé and the pioneering Kit Kat Brand in Japan,” said Antoine de Saint-Affrique, the CEO of Barry Callebaut.

“Nestlé was very quick in spotting the trend and in introducing a ruby chocolate version of Kit Kat, which will entice consumers across Asia and beyond.”

Kit Kat Japan’s renowned patissier, Yasumasa Takagi, understandably expressed his excitement about the collaboration. “I have created an especially simple Kit Kat that allows you to enjoy the characteristic fruity fragrance and subtle acidity of ‘Ruby’ cacao to the fullest. Enjoy wonderful flavors that have never been experienced before.”

A single bar will set you back JP¥400 (US$3.60), and only 5,000 of them will be made available. A five-piece ‘Valentine’s Assortment’ box, which will also contain bars of the dark, milk, and white chocolate profiles, will be priced at JP¥1,800 (US$16.25). A seven-piece set that includes green tea and ‘Raw’ flavors will cost JP¥2,400 (US$21.65).

‘Sublime Ruby’ will be available online and at Kit Kat specialty stores across Japan and South Korea beginning 19 January 2018. It will then be distributed to other countries at a later date.

Image via Nestlé Japan

Image via Nestlé Japan

Image via Nestlé Japan

Image via Nestlé Japan

Image via Nestlé Japan

[via SoraNews24, images via Nestlé Japan]
Categories: World News

Handy UX Tools To Bring Your Ideas To Life In A Jiffy

3 hours 9 min ago

Screenshot via Userbrain

Even the most experienced UX professionals might admit that it can get really tricky trying to understand or predict what can work best for their users.

To guide you along, WebDesignDev has put together a list of 20 powerful UX tools that seasoned specialists and big-name brands swear by.

Have a look at six handy resources and view 14 more here.

WhatUsersDo’: Usability and User Testing

Screenshot via WhatUsersDo

‘WhatUsersDo’ is a remote user testing platform that offers you access to about 30,000 UX testers who hail from around the globe. The website cites ASOS, Tesco, and Virgin Atlantic as some of its clients.

Validately’: User Research

Screenshot via Validately

‘Validately’ claims to complete twice the user research in “50% less time,” drawing valuable advice from industry experts such as Satya Patel, former Product Vice President at Twitter, and Marty Cagan, partner at Silicon Valley Product Group. The platform has worked with clients like Google, Amazon, and Salesforce.

Userbrain’: Regular User Testing

Screenshot via Userbrain

What’s unique about ‘Userbrain’ is that it offers a recurrent stream of user feedback. Simply enter your URL, pen a task, and receive weekly videos of user activity on your site. The footage will help you discover new usability problems that might pop up now and then. High traffic websites like Spotify, Lush, and Imgur have used this tool.

Adobe Illustrator’: Vectoring

Screenshot via Adobe Illustrator

The industry staple needs little introduction. Here, you can create icons, logos, drawings, illustrations, and typography for web, mobile, and more.

Proto.io’: Prototypes that Look Real

Screenshot via Proto.io

‘Proto.io’ lets you design hyperrealistic prototypes that “look and work exactly like your app should.” Its drag-and-drop functionality means that what you see is what your users get—no coding required. Clients include Disney, IDEO, BBC, and Paypal.

Adobe Muse’: Stunning Responsive Websites

Image via Adobe Muse

Design and publish responsive sites via free-form layouts that load quickly and translate on “virtually every screen.” Like ‘Proto.io’, this app doesn’t require you to have coding knowledge.

Check out WebDesignDev for 14 more productivity-boosting UX design tools.

[via WebDesignDev, images via various sources]
Categories: World News

HTML Coin (HTML5) declined -2.34% in less than 24 hours - Weekly Register

3 hours 13 min ago
HTML Coin (HTML5) declined -2.34% in less than 24 hours. January 18, 2018 - By Maria Brooks. It was bad day for HTML Coin (HTML5), as it declined by $-7.79999999999999E-05 or -2.34%, touching $0.003259. Global Crypto Experts believe that HTML Coin ...

Categories: World News

Yospace, NexPlayer Integration Assists With Monetizing Live Streams - TV Technology

3 hours 13 min ago
Yospace's HTML5 SDK has been pre-integrated into the NexPlayer HTML5 player, which allows Yospace's Server-Side Dynamic Ad Insertion to be accompanied by real-time, client-side tracking. The integration also allows viewers to click on ads for product ...

Categories: World News

Digital Art & Illustration: NEOMANCER by Kirill Maksimchuk

3 hours 30 min ago
Digital Art & Illustration: NEOMANCER by Kirill Maksimchuk AoiroStudio Jan 19, 2018

Let's share the vibrant 3D work of digital artist Kirill Maksimchuk. Based in Kaliningrad, Russian Federation, we are taking a look at his latest piece entitled: NEOMANCER. It's a cool concept and experimentation about an overdose of exposure from a character's emotions which is a female in this case. You can quite definitely the different approaches that Kirill took. It's impressive work! You should definitely check out his Behance for more of his 3D projects.

Concept of the seamless future. Cyber life and real death. Female body and overwhelming emotions.

More Links
  • Learn more about Kirill Maksimchuk via Behance
Photo Gallery


digital art illustration 3d cgi
Categories: World News

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