like – Devstyler.io https://devstyler.io News for developers from tech to lifestyle Thu, 17 Nov 2022 13:13:56 +0000 en-US hourly 1 https://wordpress.org/?v=6.5.2 Opera becomes the first browser with built-in TikTok https://devstyler.io/blog/2022/11/17/opera-becomes-the-first-browser-with-built-in-tiktok/ https://devstyler.io/blog/2022/11/17/opera-becomes-the-first-browser-with-built-in-tiktok/#comments Thu, 17 Nov 2022 13:13:56 +0000 https://devstyler.io/?p=94528 ...]]> The internet browser Opera develops a feature that makes the TikTok feed equivalent to the mobile app. The new function was announced two days ago and it’s ready to be used. The newest adaptation will help all the user to stop the boring scrolling through the app

People love TikTok for so many reasons. From an entertainment standpoint it’s hard to match – so much content all the time! But we know you also enjoy TikTok for other reasons as well, like following the news, catching emerging trends, and watching tutorials or lectures.

With a mobile-only configuration of TikTok, that situation has “dropped phone” written all over it. Perhaps you’re watching a correspondent deliver his update on the latest news – something you’d prefer to view on a bigger screen as you multitask at your desk? Or maybe you’re just in bed watching funny videos, but for the life of you, you just don’t want to hold onto that phone any longer. Well, today’s release makes Opera the only browser to offer a way to enjoy TikTok without opening a separate app or having to search through tabs.

Enabling the TikTok feature in Opera Browser

If you already use Opera Browser, you can enable TikTok by clicking the three dots at the bottom of the Opera sidebar and enabling it in the Messengers section of the sidebar. If you’re not an Opera user – we hope we’ve convinced you by now to become one. Go download Opera Browser! Once you’ve completed that simple step, it’s all done: you can start enjoying your favorite TikTok content from right there within Opera.

]]>
https://devstyler.io/blog/2022/11/17/opera-becomes-the-first-browser-with-built-in-tiktok/feed/ 1
By removing the count of dislikes, YouTube is trying to deal with its harassment problem https://devstyler.io/blog/2021/11/11/by-removing-the-count-of-dislikes-youtube-is-trying-to-deal-with-its-harassment-problem/ Thu, 11 Nov 2021 13:49:57 +0000 https://devstyler.io/?p=74551 ...]]> Since February 2005 step by step YouTube has become one of the most used sources of video content. Unfortunately we live in a society where harassment is a problem which needs to be solved somehow.

That’s why the social platform decided to hide the count of dislikes from the audience. We need to know that the dislike button will not be removed entirely. The count of the dislikes however will be visible only for the creators, which is YouTube’s way to deal with the social attacks and judgement.

Matt Koval, a YouTube creator liaison, said that after a research, YouTube came to the conclusion that the number of dislikes doesn’t have an influence on the total audience.

In a video, Koval explained that when all the views were visible at first, most of the users  came up with some kind of a game whose aim is to pump up the number of dislikes. In most cases the reason for all of that is very simple – a user doesn’t like the video creator and its content which may lead to a serious type of depression for them. That’s why this update was made in order to defend all of the video creators.

]]>
New Features of Python 3.10 https://devstyler.io/blog/2021/10/07/new-features-of-python-3-10/ Thu, 07 Oct 2021 08:19:27 +0000 https://devstyler.io/?p=72842 ...]]> Python 3.10 is the latest development version of Python. Intrepid Python developers are advised to take appropriate precautions to test their code.

Python 3.10 doesn’t have many new key features, but one of the few features it has, structural pattern matching, could be the only most important addition to the language syntax.

Structural pattern matching

The result of an additional attempt that previously failed switch/case-Similar to Python syntax, structural pattern matching allows variables to match one of a set of possible values ​​(switch/case in other languages). However, you can also collate with a pattern of values. This greatly expands the range of possibilities and allows you to write code that quickly covers different scenarios.

More accurate error reporting

Python error reporting has long been at the mercy of the parser’s whims. Python 3.9 rolled out All new parser — The Python team is faster, more robust, easier to maintain, and less plagued by internal hacks.

Parameter specification variable

The Python typing module used to annotate code with type information allows you to describe the types of callable objects (such as functions). However, that type of information cannot be propagated between callable objects. This makes it difficult to annotate function decorators and the like.

Two new additions to typing, typing.ParamSpec – when typing.Concatenate, it allows you to annotate callable objects with more abstract type definition information.

Other major changes in Python 3.10.

  • Union types can be expressed as: X|Y, Excluding that Union[X,Y], To be concise (PEP 604).
  • NS zip The built-in that combines the results of multiple repeatable objects strict keyword. When set to True, That’s the cause zip Raises an exception if one of the iterables is exhausted before the other iterables (PEP 618).
  • You can now declare variables as type aliases. This improves forward references, more robust type-related errors, and the distinction between in-scope type declarations (PEP 613).
  • OpenSSL 1.1.1 or later is required to build CPython. This will update one of CPython’s major dependencies (PEP 644).
]]>