AWS |
AWS Architecture Blog |
Middleware-assisted Zero-downtime Live Database Migration to AWS |
https://aws.amazon.com/blogs/architecture/middleware-assisted-zero-downtime-live-database-migration-to-aws/
|
Middleware assisted Zero downtime Live Database Migration to AWSWhen trying to figure out how to refactor your applications to leverage AWS Managed Services you have some decisions to make You may have decided to move your storage layer to AWS before the computational layer This may help with using advanced database features in addition to reducing costs associated with writing and reading data … |
2021-08-20 17:27:29 |
Program |
[全てのタグ]の新着質問一覧|teratail(テラテイル) |
リスト内の複数データをフォルダ指定し保存したい時 |
https://teratail.com/questions/355345?rss=all
|
リスト内の複数データをフォルダ指定し保存したい時リストに画像データが複数ありそれを指定したフォルダに保存したいのと思いサイト参考にして次のようなコードを書いてみました。 |
2021-08-21 02:23:05 |
Program |
[全てのタグ]の新着質問一覧|teratail(テラテイル) |
docker-compose upを実行したときにコンテナがExit1となるのを解決したい |
https://teratail.com/questions/355344?rss=all
|
dockercomposeupを実行したときにコンテナがExitとなるのを解決したいdockercomposenbspupを実行したときにコンテナがExitになってしまいます。 |
2021-08-21 02:13:14 |
Program |
[全てのタグ]の新着質問一覧|teratail(テラテイル) |
Tweepyで取得した日付データ('created_at')を日本時間にフォーマットして出力したい。 |
https://teratail.com/questions/355343?rss=all
|
Tweepyで取得した日付データxcreatedatxを日本時間にフォーマットして出力したい。 |
2021-08-21 02:12:22 |
Program |
[全てのタグ]の新着質問一覧|teratail(テラテイル) |
VCIの変換でオブジェクトが青くなってしまいます |
https://teratail.com/questions/355342?rss=all
|
unity |
2021-08-21 02:08:24 |
Program |
[全てのタグ]の新着質問一覧|teratail(テラテイル) |
Dockerを使ってRailsとMySQLの環境構築でdb:createできない。 |
https://teratail.com/questions/355341?rss=all
|
Dockerを使ってRailsとMySQLの環境構築でdbcreateできない。 |
2021-08-21 02:07:34 |
Program |
[全てのタグ]の新着質問一覧|teratail(テラテイル) |
Android-AsyncTaskのキャンセルの仕方が分かりません |
https://teratail.com/questions/355340?rss=all
|
|
2021-08-21 02:02:23 |
Ruby |
Rubyタグが付けられた新着投稿 - Qiita |
MacOS でのRubyの環境構築【初心者向け】 |
https://qiita.com/budoukan0424/items/f167140921a4cd977e34
|
MacOSでのRubyの環境構築【初心者向け】これがわかりやすかったのだが、rbenvにパスを通すため、シェルの設定ファイルbashrcやzshrcに以下を追加します。 |
2021-08-21 02:35:57 |
Ruby |
Rubyタグが付けられた新着投稿 - Qiita |
[Rails]searchアクションの定義方法について |
https://qiita.com/mkato1013/items/944fcdd0bc1ceff4f6c5
|
Railssearchアクションの定義方法についてはじめに本記事では、つのアクション以外であるsearchアクションについて記述します。 |
2021-08-21 02:13:54 |
Linux |
Ubuntuタグが付けられた新着投稿 - Qiita |
Ubuntu20.04にffmpegインストールするには |
https://qiita.com/petertakahashi/items/4fb2a776a97a2b755579
|
ffmpeg |
2021-08-21 02:31:58 |
Ruby |
Railsタグが付けられた新着投稿 - Qiita |
Ubuntu14.04にffmpegインストールするには |
https://qiita.com/petertakahashi/items/201c6f7cdd0d65d9a26a
|
Ubuntuにffmpegインストールするにはrailsで動画変換の機能を作った時に必要でした。 |
2021-08-21 02:30:31 |
Ruby |
Railsタグが付けられた新着投稿 - Qiita |
[Rails]searchアクションの定義方法について |
https://qiita.com/mkato1013/items/944fcdd0bc1ceff4f6c5
|
Railssearchアクションの定義方法についてはじめに本記事では、つのアクション以外であるsearchアクションについて記述します。 |
2021-08-21 02:13:54 |
海外TECH |
Ars Technica |
New Jeopardy! host Mike Richards resigns on first day of production |
https://arstechnica.com/?p=1788827
|
controversial |
2021-08-20 17:18:24 |
海外TECH |
Ars Technica |
Tesla Bot is the company’s troubled Autopilot system in humanoid form |
https://arstechnica.com/?p=1788840
|
autopilot |
2021-08-20 17:08:39 |
海外TECH |
DEV Community |
How create Pure CSS 🤖 Glitch Effect |
https://dev.to/kerthin/how-create-pure-css-glitch-effect-530p
|
How create Pure CSS Glitch EffectIntroductionToday I would like to talk about how to make a Glitch effect using CSS To do this I will use one of the most popular options This is when we use pseudo elements to create copies of the main element DemoHTMLIn the HTML section we need to create just tag inside which you should write the text and also duplicate it in the data text attribute Like that lt h class glitch data text Glitch gt Glitch lt h gt You can specify any tag It is not necessary to use text tags CSSWe need to take into account that the pseudo elements of our text should be located approximately at the same position as the main text Therefore for pseudo elements we need to specify the position property with the value absolute glitch position relative amp before amp after content attr data text position absolute top left Now our text and its copies are on top of each other Before we continue creating the Glitch effect it would be nice to add styles to our text to make it look more beautiful To do this I will make our sans serif font the font size is larger we create shadows and a linear gradient that completely copies our text glitch position relative font family sans serif font size em text transform uppercase text shadow px px px fdf background repeating linear gradient deg px fff px fff px webkit background clip text webkit text fill color transparent Result Changing pseudo elementsNow we need to shift each of our pseudo elements in different directions This is necessary in order to create the effect of shifting the text as it happens during glitches To do this we need to move each pseudo element in the opposite direction from each other by a couple of pixels amp before left px text shadow px fdf amp after left px text shadow px fdf I decided to make the color of the pseudo elements shadows the same as the main one but you can make them different in order to achieve the effect of a broken TV using black and blue colors ClipNext we need to use the clip property The clip property defines the area of the positioned element in which its contents will be displayed Anything that doesn t fit in this area will be cut off and become invisible We use this property to alternately display the cropped parts of our pseudo elements Syntax clip rect Y X Y X The values are the distance from the edge of the element to the clipping area clip rect top right bottom left Therefore in order to completely crop our pseudo elements we set an indent of pixels on the right side You can use any value depending on the size of your element amp before amp after content attr data text position absolute top left right background secondaryColor color primaryColor clip rect px overflow hidden It is very important that the background property of pseudo elements is exactly the same as that of the background so that they merge and there are no problems with the display Clip AnimationIn order to qualitatively animate our elements we need to create a step by step animation where we will change the first and third values in the clip property so that our pseudo elements are displayed only in parts during the animation from top to bottom In this case the second and fourth values of the clip property must be unchanged steps keyframes glitch effect for i from through steps percentage i steps clip rect random px px random px Personally I use a step animation but you can specify any number of steps since the animation is still random and generates changes in the values of the clip property itself The more steps you specify the faster the animation will be And now we just need to attach our animation to our two pseudo elements You also need to specify a different animation playback time for each pseudo element To achieve a more chaotic glitch animation effect amp before left px text shadow px fdf animation glitch effect s infinite linear alternate reverse amp after left px text shadow px fdf animation glitch effect s infinite linear alternate reverse It s all The EndWell that s it This was a very simple and very popular way to create a glitch effect on pure CSS Thank you very much for your time on my post Don t switch |
2021-08-20 17:56:07 |
海外TECH |
DEV Community |
How to write a VERY HIGH quality post on DEV [13 top tips + a bonus 🤯!] |
https://dev.to/inhuofficial/how-to-write-the-highest-quality-posts-on-dev-13-top-tips-cj6
|
How to write a VERY HIGH quality post on DEV top tips a bonus There is a great article on writing high quality posts currently on the feed How to write a high quality post on DEV Ella Ang she her elle for The DEV Team・Aug ・ min read writing howtodevto It is great and I would suggest going to give that a read as you can probably tell I am being mischievous and stealing post titles from people again Following on from that post I am going to expand on a few things and introduce a few more tips for writing high quality posts on DEV and elsewhere This is in addition to the post by ellativity not a replacement for it The tips in this article are ones I wish someone had given me when I first started writing Oh and there are a few tips in here that will make you much faster at creating articles too Contents Use Headings properly Create a document outline Use my editor if you don t know markdown Fill in the blanks and make sure to link to any references Run your article through the Hemmingway App Mind your language Explain abbreviations and acronyms Image alt text a top tip Create a contents section if needed A good cover image is important Refine your opening paragraph Have a promotion strategy if you want more engagement Pay attention to comments and reply Bonus Tip Publish your article on your own site first if you have one Use Headings properlyHeadings help break your article up and make it easier to digest They also help people who use a screen reader orientate themselves in your article There are a couple of things to note headings should start at level on DEV as your article title is level You should not skip heading levels see below When writing your document outline start with the main headings it will help you organise your thoughts and make writing easier a Headings example this article In Markdown the number of s correspond to the heading level As such you will see the following structure only uses levels and more on that after this example Use Headings Properly a Headings example how meta Create a document outline a Headings First b Bullet points and curly braces c Images list Use my editor if you don t know markdown Fill in the blanks and make sure to link to any references a Sentence Length b Use follow on words phrases transitions Run your article through the Hemingway App a Use Grammarly or similar Mind your language a Swearing I should listen to this b Inclusive language Explain abbreviations and acronyms a Brackets method b Glossary method Image alt text a top tip Create a contents section A good cover image is important a Create your own Refine your opening paragraph a Also check your closing paragraphs Have a promotion strategy if you want more engagement Pay attention to comments and reply a Fix problems Bonus Tip Publish your article on your own site first if you have one Notice how the structure is quite flat I only use level and level headings This tends to be better for web based articles If you find yourself getting to level headings you should just check you aren t over nesting information Create a document outlineThis will save you a lot of time and also help your document flow nicely A document outline is like a framework for the article once you have it right all you need to do is follow your own structure and fill in the blanks a Headings FirstThe easiest way to structure your document is to write down all of the headings first or at least the top level headings lt h gt s This lets you put the sections in the right logical order and also highlights areas where you may need some more research etc before you start writing b Bullet points and curly bracesAfter you have your document headings outlined the next step is to detail what is going to go in each section I have a useful method for you here For each section I do bullet points on what needs to be said in that section add curly braces around any thoughts that pop into my head such as referencing sources images screen shots to include create etc Then once I have added bullet points and square brackets to all the sections I can just do CTRL F and search for to quickly see what research I need to do references I need to get together screen shots images I need When you come to write your article leave these bullet points and curly braces in until you have dealt with them to make sure you don t miss anything c Images listOne final thing to note is that I keep my images list separate That way I can just search for images all at one time rather than writing a bit find an image write some more find another image By not task switching context switching often you will work more quickly Use my editor if you don t know markdownNew to writing in Markdown It can be hard work The DEV editor guide is useful but it does take a while to learn everything Don t worry though I created a bookmarklet that gives you a WYSIWYG It is only partially complete but it has most of the features you need to make writing articles easy Check out the editor here new features new bugs added the DEV TO editor PART DEUX InHuOfficial・Apr ・ min read javascript showdev webdev productivity Fill in the blanks and make sure to link to any references By now you should have all of your headings planned out a few bullet points under each heading a list of research items and a list of images to find Do your research first that may alter your headings etc Once you have all your research together it is time to start writing a Sentence and Paragraph LengthYou write differently on the internet to how you would in a book or in an English class You should stick to very short paragraphs to sentences Additionally you should try to keep your sentences short Many people using DEV will not have English as a first language Shorter sentences make your content easier to understand Short sentences are also easier to follow for people with dyslexia etc Finally due to screen sizes short sentences and paragraphs are much more manageable on a mobile screen so you don t get massive walls of text b Use follow on words phrases transitions Transitional words phrases allow a reader to know that a paragraph sentence is a continuation of a previous one For example I just used the phrase for example to indicate that this sentence builds upon the previous one In addition to providing a nice flow to the document it helps with comprehension of your text especially as we are splitting it into very short paragraphs so the association between sentences is not as clear Run your article through the Hemmingway AppDid you know that in people have the reading age expected of a year old in the UK Germany and the USA at least I am sure other Countries are the same The Hemmingway App Editor is a great tool to help make your text easier to understand It highlights long sentences passive voice etc This helps with the points raised in section In addition to this be conscious of the complexity of the words vocabulary you use You do not need to use big words to make yourself sound smart If you can simplify your language it means that more people will be able to enjoy and understand what you have to say The Hemmingway editor will give your article a grade based on complexity You are aiming for grade or below ideally Due to sentence length and careful word choices this article is only grade a Use Grammarly or similarI need to do this one as my grammar is awful Using a service such as Grammarly will help make your article easier to read as well This is especially useful if English is a second or third language and you choose to write in English due to how weird and wonderful English Grammar is If I was to write an article in German which would be impressive given the German words I know I would look to find a similar service for writing in German Mind your languageI am glad this isn t a case of the person who is without sin can cast the first stone I don t follow my own advice here when it comes to swearing But there are things to be conscious of but no fixed rules as such As I have said before context is key to knowing what is appropriate a Swearing I should listen to this Ah who am I kidding I f ing love a good swear every now and then But bear in mind that if you are going to use swearing in an article you should put a warning at or near the start for the people who are offended by swear words Make sure not to swear before that warning Oh and don t do what I did I screenshotted an offensive site I had built for the cover image of the article and forgot to censor the swear words ️ You should also bear in mind that DEV will not promote any articles with swear words in the titles on social media Note if you are not offended by swearing here is the highly offensive website in question b Inclusive languageI am not going to lecture you on ableist language as I know it is such a difficult thing to get right link to comment I made gendered language etc Just bear it in mind Use they where you can instead of he and she or mix it up throughout your article and try and keep it balanced Use language that is acceptable in your culture for describing people with disabilities and read up what is generally considered acceptable so you minimise the chance of people being offended Don t use racial slurs obviously Oh and probably steer clear of politics unless you can take the heat Explain abbreviations and acronymsDo not assume that people know what acronyms and abbreviations mean People from various backgrounds and various stages in their careers from various disciplines will read your article If you are going on about SSR then you need to explain what it is as there are loads of possibilities for what SSR stands for Here are two ways you can explain abbreviations and acronyms a Brackets methodWhen you first use an acronym or abbreviation write out the full phrase and then put the shortened version in brackets For example In this article we will be using JavaScript JS to create a Single Page Application SPA Our SPA will consist of three pages and all routing will be handled by JS Notice how I only add the full phrase once After that you can use the abbreviation for the rest of the article b Glossary methodIf something needs a bit more explanation or you don t want to slow the pace of your article if there are a lot of abbreviations in quick succession then a glossary is a great solution You add a section to the end of your document Glossary You then have a list of terms followed by their explanations we can use the lt dl gt element and lt dt gt and lt dd gt for this You need to then create a hyperlink that points to those terms in the glossary section Here is an example for doing this in markdown In this article we discuss HTML def html CSS def css and JS def js First Heading etc all of your article content Glossary lt dl gt lt dt id def html gt HTML lt dt gt lt dd gt Short for Hyper Text Markup Language It is a programming language lt dd gt lt dt id def css gt CSS lt dt gt lt dd gt Short for Cascading Style Sheets used to make stuff pretty lt dd gt lt dt id def js gt JS lt dt gt lt dd gt Short for JavaScript it was written in days lt dd gt lt dl gt Notice how I prefix the IDs with def this is just to reduce the chance of collisions Image alt text a top tipWhen writing alt text on images the aim is to provide information that is relevant in context That is why it is impossible to just have generic alt text for an image and use it everywhere One way to write good alt text is to imagine you are reading your articles to someone over the phone When you get to the image what information is important so they get an idea of what the image is about and what it adds to the article That is what your alt text should be Oh and also you don t need image of people already know it is an image Create a contents section if needed Right now you should have a beautifully written article using inclusive language and with great alt text and possibly a glossary Once you are happy with the article create a contents section Now this is assuming your article is over words in length which a high quality article is likely to be You do it last because as you write the article the order of sections and headings may change I would advise only adding your lt h gt s to the contents to keep it from getting cluttered I am working on adding an auto contents creator to the WYSIWYG I mentioned earlier A good cover image is importantThe cover image shows on social media and if you article happens to end up at the top of the home feed It is also the first thing people see when they open your article Make sure the image is engaging and relevant or branded a Create your ownIf you write regularly you may want to create a branded template for article covers This saves time and also lets people start to recognise your branding and know to look out for your articles Refine your opening paragraphRight nearly ready to launch Now we do some selfish stuff We need to optimise our opening paragraph for SEO and engagement Now that you have written the article what will people learn is there anything fun in the article that would grab people s attention etc Also think about SEO The first words in an article are very important for SEO Think about key terms semantically relevant similar terms etc Obviously this is secondary to creating an engaging opening paragraph as read time is important a Also check your closing paragraphsSame thing here People tend to read the beginning and the end of an article more than any other parts Yes I am sorry to break it to you people probably won t read your whole article which is why we putting headings in So make sure your closing couple of paragraphs are engaging as well and if you want people to do something visit a site leave a comment follow you on social media etc then make sure you say that prominently Have a promotion strategy if you want more engagementI wish I wasn t just starting to do this myself Content will get some natural traction on DEV and it may even get shared on social media by a couple of people But you need to be in control of your own destiny and not leave it up to others Build a following on social media and then make sure that you queue posts on the various social media channels to send out when you publish your article It is a case of the rich get richer on DEV If you article gets a lot of likes early on then more people are likely to click into it If you get enough likes your article will then sit near the top of the week tab where it will get more likes and views All of this increased your chances of a share on social media which adds more likes etc So if you can give your article a boost when you first publish it then you are far more likely for it to do well Pay attention to comments and reply Engaging with people who take the time to leave comments on your article other than thanks for this type comments is important It is how you get people to follow you and more importantly the comments are where you pick up loads of hints and tips Oh and for the love of all that is mighty please please a Fix problems If somebody pops up in your comments section telling you there are problems with your article and how to fix them then fix them There is no excuse it takes minutes to make a couple of edits Also don t say yeah I will fix it and then do nothing about it such as in this article where I left a comment with a couple of fixes yes I am calling people out on this now there is no excuse for leaving mistakes in articles and misinforming people Bonus Tip Publish your article on your own site first if you have one Just a general Search Engine Optimisation SEO tip and only relevant if you have your own site I still haven t got mine up and running yet Publish articles on your own site a few days before you publish on DEV and other platforms Even though canonical URLs are meant to make sure you get the link juice etc it isn t perfect If you launch on your own site first and wait for Google to index the page then you are far more likely to get your own site appearing in Google search results ConclusionHopefully those points are useful to you If anything isn t clear please let me know in the comments Oh and above all you should follow me on TwitterI am about to ramp up my content game on the bird app you need to follow just for the dad jokes Oh and one last thing if you are wondering why this article has points a bonus then these two articles will make sure you are in on the joke Oh and these articles have some great examples of what not to do if you want to produce high quality content Enjoy silly posts amazing tips for writing listicles don t be mad that you didn t know them before InHuOfficial・Jun ・ min read html css javascript beginners More Amazing Tips for writing listicles that will blow people away InHuOfficial・Jun ・ min read react javascript html css |
2021-08-20 17:12:59 |
海外TECH |
DEV Community |
Concurrency Patterns in Go |
https://dev.to/karankumarshreds/concurrency-patterns-in-go-3jfc
|
Concurrency Patterns in GoBefore we even begin to understand what concurrency is in Go we need to make sure we understand that concurrency is not parallelism Parallelism is means parallel execution of processes where as concurrency is about design With concurrency you can Design your program as a collection of independent processes Design these processes to eventually run in parallel Design your code so that the outcome is always the same Do not worry if you don t understand the above explanation we will take a deep dive into concurrency patterns in this blog with real examples What can we achieve with Concurrency We can have multiple groups of code workers running independent tasks We can eliminate race conditions We can eliminate deadlocks The more workers we have the faster the execution is GoroutinesTo understand concurrency we must understand what Goroutines are A Goroutine is a function or a method which executes independently and simultaneously in connection with any other Goroutines present in your program So we could also say every concurrently running process in Go language is known as a Goroutine func main go makeHttpCall makes this method a GoRoutine func makeHttpCall link string err http Get link if err nil fmt Printf The link v is up link Code explanation The main function invokes the makeHttpCall function with a keyword go in front of it This makes this function run on in a Goroutine You can consider a Goroutine like a light weighted thread The cost of creating Goroutines is very small as compared to a thread The main function also has its own routine which we do not have to define known as main Goroutine All the other Goroutines are working under the main Goroutine If the main Goroutine is terminated all the other Goroutines present in the program are also terminated Where are we going with this Let us say we want to fetch data from multiple links without using Goroutines func main creating a slice of links links string fetching data from each link for link range links makeHttpCall link func makeHttpCall link string err http Get link if err nil fmt Printf The link v is up link Code explanation This code will iterate over the slice of links and sequentially make http calls on each of the links In case on of the links takes x seconds to retrieve the response the other main go routine will block for x seconds before it sends the next request We can easily make use of Goroutines to fix this Let us see the code and then we will discuss how it helps us func main creating a slice of links links string fetching data from each link for link range links go makeHttpCall link func makeHttpCall link string err http Get link if err nil fmt Printf The link v is up link Code explanation We made use of the same go keyword we discuss earlier to run the makeHttpCall function in its own Goroutine Now the main Goroutine will not wait for the request to be resolve rather it will keep on iterating and creating separate Goroutine for each invocation of makeHttpCall Here s the catch We might think that this solves the issue right But it doesn t The output of this function would be Absolutely nothing Why is that This is because the main go routine tied to the main function by default creates the Goroutine for each makeHttpCall function invocation Once the iteration is completed the main function continues to run and reaches the end It doesn t wait for the other Goroutines to finish Remember we discussed a few minutes ago If the main Goroutine is terminated all the other Goroutines present in the program are also terminated This is exactly what happened So how do we solve it To solve this we need a way to communicate between these Goroutines and the main Goroutine And to communicate between multiple Goroutines we make use of something called channels ChannelsGo provides a mechanism called a channel that is used to share data between goroutines Channels act as a pipe between the goroutines and provide a mechanism that guarantees a synchronous exchange There are two types of channels Unbuffered channels which we will be using for the example Buffered channelsUnbuffered channels are used to perform synchronous communication within the goroutines These provide a guarantee that an exchange of the data is performed at the instant it is sent In go we declare the channels and we also must specify the data type at the time of the channel declaration The data type is the type of the data that will be shared through the channel myChannel make chan string This means this channel can be used to only share the data of type string Buffered channels are used to perform asynchronous communication within the goroutines myBufferedChannel make chan string Buffered channels you may skip this section In the buffered channels there is a capacity to hold one or more values before they re received The sending and receiving is not performed synchronously and immediately The blocking cases The receive will block when there is no value in the channel to receive The send will block when there is no available buffer to place the value being sent Code example package mainimport fmt io ioutil log net http sync func main initializing a WaitGroup var wg sync WaitGroup adding counts buffer to the WaitGroup wg Add fmt Println Start Goroutines go responseSize amp wg go responseSize amp wg go responseSize amp wg wait for goroutines to finish wg Wait fmt Println Terminating the main program just prints the response size of the body returnedfunc responseSize url string wg sync WaitGroup schedule the Done call when the goroutine is finished defer wg Done fmt Println Step url response err http Get url if err nil log Fatal err fmt Println Step url body err ioutil ReadAll response Body if err nil log Fatal err fmt Println Step len body The output for the above program would be Start GoroutinesStep Step Step Step Step Step Step Step Step Terminating the main programThis is quite intuitive how it worked For the people who did not understand this three different goroutines were spun up and the main program waited using wait group for the all the goroutines to finish before terminating the program Back to the main topic We learned about channels and how they act as pipes to communicate data within the goroutines Let us continue with the issue at hand that is the how to stop code to from terminating before goroutines are finished executing and get access to which link is down or not So in this code we will make use of channels and communicate the main goroutine running by default in the main function and the goroutine spun up during the helper function invocation func main creating a channel to share string type data myChanel make chan string creating a slice of links links string fetching data from each link for link range links go makeHttpCall link myChanel listening for three messages coming from the chanel for i i lt i fmt Printf Link v is up n lt myChanel func makeHttpCall link string myChanel chan string err http Get link if err nil sending the link name to the chanel myChanel lt link The output of the above program is Link is upLink is upLink is upCode explanation So here we listened times for the message to receive synchronously from the goroutines from the channel In other words the main function s goroutine waited for the chanel to receive a message printed out the print statement and then went on to receive the next message from the channel and repeated itself three times That s all there is to know the basics of goroutines and concurrency patterns There is a lot more to learn So in the future blogs we will take a deep dive on how everything is being handled behind the scenes Until then peace |
2021-08-20 17:05:36 |
Apple |
AppleInsider - Frontpage News |
Android Auto for phones is shutting down in favor of Google Assistant feature in Android 12 |
https://appleinsider.com/articles/21/08/20/android-auto-for-phones-is-shutting-down-in-favor-of-google-assistant-feature-in-android-12?utm_medium=rss
|
Android Auto for phones is shutting down in favor of Google Assistant feature in Android The Google Assistant Driving Mode will replace Android Auto for Phone Screens with Android ーand vehicles with Android Auto will continue to operate normally Android Auto to be restricted to car units after Android Android beta testers began reporting that they could no longer access the Android Auto for Phone Screens experience when connected to their vehicle A message appeared stating Android Auto is now only available for car screens to try Google Assistant driving mode instead Read more |
2021-08-20 17:37:18 |
Apple |
AppleInsider - Frontpage News |
China passes the world's strictest user data protection law |
https://appleinsider.com/articles/21/08/20/china-passes-the-worlds-strictest-user-data-protection-law?utm_medium=rss
|
China passes the world x s strictest user data protection lawChina has passed one of the most restrictive data protection laws in the world tightening control over how personal information is collected and used by companies in the country Credit Li Yang UnsplashThe Personal Information Protection Law lays out a comprehensive set of rules around data collection processing and protection the Associated Press reported Friday Previously regulations on user data were spread out through patchwork legislation Read more |
2021-08-20 17:01:24 |
海外TECH |
Engadget |
OnlyFans’ policy switch is the latest victory in Big Banking’s war on sex |
https://www.engadget.com/onlyfans-big-banks-war-adult-content-174041161.html?src=rss
|
OnlyFans policy switch is the latest victory in Big Banking s war on sexOnlyFans the platform that allows creators to sell material directly to customers will soon implement new restrictions on the publication of adult content Starting in October the company will ban the sale of sexually explicit content and depictions of sexual acts The move does not cover all nudity but says that specific rules will be outlined in an as yet unpublished acceptable use policy In a statement OnlyFans said that the changes were prompted by “requests made by its “banking partners and payout providers In short the company s arm has been twisted by the same big banks that have waged war on online sex work for years Big BusinessThe business can certainly attribute much of its success to enabling sex work and helping sex workers to get paid Over the last two years OnlyFans has grown from relative obscurity into a brand that is synonymous with adult content Earlier this year it boasted that its creators had earned more than billion and the platform was name checked in a Beyoncéremix It s believed that the company which had around million users in has seen that figure reach closer to million in recent months And on June th Bloomberg reported that the site was looking to attract investors in order to raise more funding at a valuation of more than billion here s OF full statement nice of them to throw the transparency report in there here s that too pic twitter com WqjSGjLUkーSamantha Cole samleecole August It is clear however that a number of people who both create content for and use the site feel that the impending adult content ban is a betrayal In a statement shared with Engadget Isaac Hayes III founder of Fanbase ーa social media site that lets users sell their content ーsummed up the general sentiment rather neatly Hayes said that the move was “disgraceful and that OnlyFans had “made billions off that user base He added that dumping sex workers after becoming a household name was “exactly what these platforms do Discard the users who make it popular once they get what they want And in this case it does seem as if the twin aims of securing more money from investors and retaining access to banking is what prompted the move It s a story that we ve heard several times before Deja VuThe most recent example and one that we covered extensively at the time was the cultivation and subsequent dumping of a sex work community on Patreon Before the site had passionately and publicly courted sex workers encouraging them to use its platform In it loudly defied PayPal s longstanding ban on payments to sex workers allowing users to support content creators through its platform At the time Patreon even criticized PayPal s lack of transparency saying that its opaque policy “impacts the lives of Adult Content creators This attitude did not however last very long On September th Patreon raised million from investors and updated its content policy a month later seeming to repudiate the sex workers it had previously courted In subsequent interviews the updated policy was described as not a big deal with the company pledging to work with creators to ensure compliance The general notion was that Patreon would crack down on content that was illegal or otherwise nonconsensual A year later however and the site would further toughen its rules saying that any and all adult content ーincluding the famous erotic art project Four Chambers ーwas no longer permitted Four Chambers the name of a British art erotica collective led by artist Vex Ashley was long held as the canary in the Patreon coal mine Patreon said that it had stepped up “proactive review of content due to requirements from our payment partners In short the same banks that Patreon had battled so loudly the year before had tied the site in knots demanding it hunt out any and all content that could be considered adult It s worth noting that swerving away from sex work doesn t ensure the future prosperity of a business In Patreon CEO Jack Conte told CNBC nbsp that its business model was not sustainable and in April the Wall Street Journal said the site was still not profitable Tumblr meanwhile which under Engadget s parent company mass purged adult content from its site in but left a wide variety of neo Nazi content on its platform saw its valuation fall from billion in to just million in Tangled up in PaperworkBack in April MasterCard announced that it would further toughen the reporting requirements around adult content John Verdeschi Senior Vice President wrote that banks using its network would need to “certify that the seller of adult content has effective controls in place to monitor block and where necessary take down all illegal content This includes rules requiring platforms to keep a record of the identity of every performer shown as well as who uploads the content In addition all content would need to be reviewed prior to release and all platforms need to run a beefed up complaints resolution process to take down illegal or non consensual material within seven days As TechDirt wrote back then as reasonable as these policies sound they seem intentionally designed to block all adult content not just the illegal stuff As it explains “the new policy makes it impossible for streaming platforms to comply with the new rules Since they re not able to prescreen streamed content they re sic just going to start blocking anything that seems like it might lead to MasterCard pulling the plug Mary Moody tweeted upon announcement of the policy change that “OnlyFans MyFreeCams amp more are in danger As with Patreon MasterCard s reporting requirements appear to be such a burden that companies would rather avoid the issue altogether than attempt to comply Today MasterCard introduced a policy that will ban much of online sex work especially live streaming OnlyFans MyFreeCams amp more are in danger We need ACLU RoKhanna AOC ewarren RonWyden to investigate this financial discrimination immediately MasterCensorspic twitter com DURQXCXQーOF SALEMary Moody in VICE NBC amp BBC missmarymoody April This isn t a new story however and in Engadget laid out in detail how banks were systematically withdrawing access for adult content platforms This isn t just prohibitions on working with select adult content sites but a blanket ban that impacted individuals beyond their life in the sex industry JPMorgan Chase shut down a number of bank accounts owned by adult performers and refused banking services to a company that makes condoms This crackdown had an disproportionate impact on individual accounts held by women and LGBTQ people The RightThis crackdown is part of a broader alliance between banks lawmakers right wing pressure groups and religious extremists As The New Republic explained late last year these groups have been able to use the cover of sex trafficking to push an anti porn anti sex agenda The movement s most successful victory was the passing of FOSTA SESTA a US law designed to tackle human trafficking by neutering the safe harbor provisions of Section of the Communications Decency Act Despite contravening the first amendment the move has not shut down many groups of human traffickers but has closed safety services created for and used by sex workers and even forced Barnes amp Noble to purge its ebook store of erotica Naturally OnlyFans became a clear target of those campaigners both because of its success and because it contradicted their narrative By enabling individuals to sell their material to consumers without intermediaries it was allowing people to make a living You can also argue that sites like OnlyFans have enabled people otherwise excluded from the workforce ーthis report from Arousability explains that a person with chronic pain who can t work a to job found that sex work offered them financial independence they couldn t have found otherwise AlternativesWe are drawing together a list of resources for sex workers impacted by the OF ban If you are a sex worker with experience of online work and you have a bit of time today to add any advice tips or recommendations to it please DM us or email mutualaid swarmcollective orgーSWARM SexWorkHive August While creators wait for OnlyFans to detail just what content will be allowed in its brave new world many may wish to take their business elsewhere There are a number of platforms that occupy a similar space in the market including AVN Stars FanCentro Unlockd and AdultNode Just For Fans for instance says that it is a sex worker owned and operated platform and that it will welcome any and all creators that OnlyFans has “abandoned Similarly a number of in progress projects to build more sex worker owned and operated platforms are currently underway Our statement based on today s news pic twitter com PHKmkQqQーJustForFans JustForFansSite August It s likely that this will be seen as another reason to switch to a blockchain and cryptocurrency based system as a way of escaping the reach of big banking There are several including SpankCoin and Nafty that offer sex workers the ability to sell content through their systems And as more major platforms are picked off by a combination of payment processors and regulators this space is going to grow nbsp But there are inherent risks to switching including currency fluctuations and the risk that a sex work specific currency can still be excluded from mainstream exchanges And then there s the fact that if a platform gets big enough it gets noticed ーand targeted ーby anti sex advocates Crypto can shore up the finances but pressure can always be exerted on providers hosts and platform owners wherever they may be nbsp And that often forces creators to leap from platform to platform to keep one jump ahead of the people who want to strip them of their ability to make money But every time they do so they risk losing their user bases and have to expend time and energy to recover the fans that they already had Either way until there is better political and corporate leadership who can handle the nuanced situation of online sex work individuals will often be left with no choice but to keep moving or sink |
2021-08-20 17:40:41 |
海外TECH |
WIRED |
Tesla Promised a Robot. Was It Just a Recruiting Pitch? |
https://www.wired.com/story/tesla-promised-robot-recruiting-pitch
|
pitch |
2021-08-20 17:23:46 |
ニュース |
BBC News - Home |
Afghanistan: Boris Johnson says he has full confidence in Dominic Raab |
https://www.bbc.co.uk/news/uk-politics-58283588
|
foreign |
2021-08-20 17:31:15 |
ニュース |
BBC News - Home |
Stunning fightback helps Oval Invincibles storm into women's Hundred final |
https://www.bbc.co.uk/sport/cricket/58284412
|
Stunning fightback helps Oval Invincibles storm into women x s Hundred finalOval Invincibles fight back from the brink in stunning style to reach the inaugural women s Hundred final with a run win over Birmingham Phoenix |
2021-08-20 17:26:42 |
ニュース |
BBC News - Home |
Women's Open 2021: England's Georgia Hall shares Carnoustie lead after day two |
https://www.bbc.co.uk/sport/golf/58274181
|
Women x s Open England x s Georgia Hall shares Carnoustie lead after day twoEngland s Georgia Hall continues her bid for a second AIG Women s Open title by taking a share of the clubhouse lead on day two at Carnoustie |
2021-08-20 17:22:40 |
北海道 |
北海道新聞 |
亡命希望のロシア人が北海道に 「国後島から泳いできた」 |
https://www.hokkaido-np.co.jp/article/580478/
|
道警 |
2021-08-21 02:19:00 |
北海道 |
北海道新聞 |
米英、化学兵器使用を非難 毒殺未遂1年で共同声明 |
https://www.hokkaido-np.co.jp/article/580477/
|
共同声明 |
2021-08-21 02:02:00 |
コメント
コメントを投稿