TECH |
Engadget Japanese |
ユーロ2020決勝後の人種差別的ツイート、99%が匿名ではなかった―Twitterが調査を公開 |
https://japanese.engadget.com/twitter-says-id-verification-wont-stop-abuse-111503016.html
|
twitter |
2021-08-12 11:15:03 |
IT |
ITmedia 総合記事一覧 |
[ITmedia News] ポケモンGO、2日間の「イーブイ」大量発生 進化方法の一時的な変更に注意 |
https://www.itmedia.co.jp/news/articles/2108/12/news160.html
|
itmedia |
2021-08-12 20:48:00 |
IT |
ITmedia 総合記事一覧 |
[ITmedia Mobile] やはり気になる「スマホの発熱」/auが「3GB+5分以内かけ放題」プランをリリース しかし…… |
https://www.itmedia.co.jp/mobile/articles/2108/12/news159.html
|
itmediamobile |
2021-08-12 20:15:00 |
AWS |
AWS Cloud Enterprise Strategy Blog |
Executives as Pilots |
https://aws.amazon.com/blogs/enterprise-strategy/executives-as-pilots/
|
Executives as PilotsToday s executives have a lot on their hands Not only does the business environment change more rapidly and dramatically than ever but the set of available technologies also evolves at a stunning rate Those technologies are no longer “things that IT does far down in the engine room they have become a critical ingredient for … |
2021-08-12 11:52:56 |
AWS |
lambdaタグが付けられた新着投稿 - Qiita |
初心者がAWS Lambda + Python + LINE BotでWikipediaのタイトルをランダム送信 |
https://qiita.com/kuwayutal/items/9b3cb66a976eecd24fa4
|
今回は会社でのイベントでこういったことを行ったが、プライベートでもやりたいということで、次回はスロット台作ってみたという投稿をする。 |
2021-08-12 20:33:28 |
python |
Pythonタグが付けられた新着投稿 - Qiita |
初心者がAWS Lambda + Python + LINE BotでWikipediaのタイトルをランダム送信 |
https://qiita.com/kuwayutal/items/9b3cb66a976eecd24fa4
|
今回は会社でのイベントでこういったことを行ったが、プライベートでもやりたいということで、次回はスロット台作ってみたという投稿をする。 |
2021-08-12 20:33:28 |
python |
Pythonタグが付けられた新着投稿 - Qiita |
pythonでusbの有無判定 |
https://qiita.com/rune187/items/5f90312176e4ea9245ad
|
pythonでusbの有無判定pythonのwith構文を使用してusbの有無判定を行う環境MacBigSurvscodepythonpythonでusbが刺さっている時と刺さっていない時で挙動を分けたいと思い、適当な方法で実装しました読んでくれている方の役に立てば幸いです。 |
2021-08-12 20:30:22 |
js |
JavaScriptタグが付けられた新着投稿 - Qiita |
SlackWebAPIでJSONが利用できなかった話 |
https://qiita.com/masamin/items/59fabdc6fc28ae51cbbb
|
applicationjsonに対応しましたブラウザからの実行に対応したとは言っていないということなのではないかと。 |
2021-08-12 20:35:48 |
Program |
[全てのタグ]の新着質問一覧|teratail(テラテイル) |
UnityのPhotonでオブジェクトの位置がプレーヤーごとに異なる |
https://teratail.com/questions/354013?rss=all
|
UnityのPhotonでオブジェクトの位置がプレーヤーごとに異なる現在UnityにてPhotonを使用してマルチプレイゲームを開発しております。 |
2021-08-12 20:52:48 |
Program |
[全てのタグ]の新着質問一覧|teratail(テラテイル) |
unity初心者なのですが、よくわからないエラーが出てゲーム開発が進みません。助けてください。 |
https://teratail.com/questions/354012?rss=all
|
エラーメッセージの内容が調べてみてもよくわからないので、解決法を教えてください。 |
2021-08-12 20:44:59 |
Program |
[全てのタグ]の新着質問一覧|teratail(テラテイル) |
androidで音楽ファイルのアルバム画像を更新する方法 |
https://teratail.com/questions/354011?rss=all
|
androidで音楽ファイルのアルバム画像を更新する方法前提・実現したいことandroidで音楽ファイルのタグ情報のアルバム画像を変更したいです。 |
2021-08-12 20:24:04 |
Program |
[全てのタグ]の新着質問一覧|teratail(テラテイル) |
タグの中身だけ抜き出したい |
https://teratail.com/questions/354010?rss=all
|
タグの中身だけ抜き出したいタグの中身だけ抜き出したいですがprintspntextとするとエラーが出ますtextをなくせばエラーはなくなるのですがタグが邪魔です。 |
2021-08-12 20:23:59 |
Program |
[全てのタグ]の新着質問一覧|teratail(テラテイル) |
webpackでexport functionがビルド出来ない |
https://teratail.com/questions/354009?rss=all
|
webpackでexportfunctionがビルド出来ない前提・実現したいことwebpackを用いて以下のTypeScriptファイルtesttsからコンパイルされたJavaScriptのファイルtestjsが得たいです。 |
2021-08-12 20:06:12 |
Program |
[全てのタグ]の新着質問一覧|teratail(テラテイル) |
pythonでjsonファイルの特定の文字列を取得したい |
https://teratail.com/questions/354008?rss=all
|
pythonでjsonファイルの特定の文字列を取得したい前提・実現したいことpythonでjsonファイルの特定の文字列を取得したいです。 |
2021-08-12 20:04:42 |
Ruby |
Rubyタグが付けられた新着投稿 - Qiita |
Ruby on Rails5 学習メモ |
https://qiita.com/KazukiTerashima/items/ece2ff25b6f115808b28
|
consoleはcに省略可能コントローラ作成railsgeneratecontrollerコントローラー名アクション名ルーティングの追加、コントローラファイル、ビューファイルが自動生成される。 |
2021-08-12 20:30:16 |
Ruby |
Rubyタグが付けられた新着投稿 - Qiita |
Herokuで月一回のバッチ処理を実装する方法 |
https://qiita.com/gensan64311466/items/2c6f4ce82dc5d3a1affe
|
ターミナルrakereseteatdaymonthreseteatdayusersテーブルのeatdaymonthをリセットするタスクが定義されていることを確認後、以下のコマンドを実行して、タスクが想定通り動くかを確認。 |
2021-08-12 20:22:34 |
AWS |
AWSタグが付けられた新着投稿 - Qiita |
AWS KMSについて(その2) |
https://qiita.com/pankata79/items/9b8a5250469fd88f1cfe
|
カスタマー管理CMKを使用し暗号化した後、そのデータは通信経路上も暗号化された状態となるためセキュアにデータを扱うことができる。 |
2021-08-12 20:55:53 |
AWS |
AWSタグが付けられた新着投稿 - Qiita |
初心者がAWS Lambda + Python + LINE BotでWikipediaのタイトルをランダム送信 |
https://qiita.com/kuwayutal/items/9b3cb66a976eecd24fa4
|
今回は会社でのイベントでこういったことを行ったが、プライベートでもやりたいということで、次回はスロット台作ってみたという投稿をする。 |
2021-08-12 20:33:28 |
AWS |
AWSタグが付けられた新着投稿 - Qiita |
Lightsailでamplifyする |
https://qiita.com/woolk23/items/4652accaaa0fb2676dae
|
awsamplifyuireactawsamplifyMVPは作れたサンプルコードを追求するのは本意ではないので放置しますすが、ログアウトしても画面はサインイン画面に戻らない。 |
2021-08-12 20:08:34 |
Azure |
Azureタグが付けられた新着投稿 - Qiita |
「.」で起動するgithub.devとGithub Codespacesの違い |
https://qiita.com/ku_suke/items/07deb49dba04bdc36216
|
「」で起動するgithubdevとGithubCodespacesの違い昨日、GithubCodespacesの使い方記事を書いたのですが、本日同じくオープンしたgithubdevどうやらVSCodeWebと呼ぶらしいについて混同しやすいので、記事にまとめてみました。 |
2021-08-12 20:16:16 |
Ruby |
Railsタグが付けられた新着投稿 - Qiita |
Ruby on Rails5 学習メモ |
https://qiita.com/KazukiTerashima/items/ece2ff25b6f115808b28
|
consoleはcに省略可能コントローラ作成railsgeneratecontrollerコントローラー名アクション名ルーティングの追加、コントローラファイル、ビューファイルが自動生成される。 |
2021-08-12 20:30:16 |
Ruby |
Railsタグが付けられた新着投稿 - Qiita |
Herokuで月一回のバッチ処理を実装する方法 |
https://qiita.com/gensan64311466/items/2c6f4ce82dc5d3a1affe
|
ターミナルrakereseteatdaymonthreseteatdayusersテーブルのeatdaymonthをリセットするタスクが定義されていることを確認後、以下のコマンドを実行して、タスクが想定通り動くかを確認。 |
2021-08-12 20:22:34 |
海外TECH |
DEV Community |
async actions in react-redux |
https://dev.to/icecoffee/async-actions-in-react-redux-17p4
|
async actions in react reduxRedux is a widely opinionated tool for state management Although it s not exclusively made for react but it s praised by a lot of react developers Redux uses a big javascript object called the state tree to store and preserve the global state of the application Which we can access via dispatching actions to the reducer Reducer is a special function and in a higher level language I can say reducer is something that takes the original part of the state that it needs to work on and the action that you want it to do and gives away the result Like a black box Now this is a very beautiful concept but you can not do something like this const reducer async state initialState action gt let users state if action type LOAD USER const userData await loadUser users push userData return state loading true To fetch and update state tree with async data the traditional way is to use applyMiddleWare or some rd partly library like redux thunk But I won t be using that To bypass all the fuss we ll use a little trick Since react takes care of all the visual state of the application we just have to make sure that after our async function completes it should somehow tell redux that yo buddy I have done the thing that you asked for and then redux can simply add modify that information inside the global state tree And here is how we can do that Loading Async Data in reducerThis is a multi step processFirst we will pass an action to the reducer which will make an async call Then on the callback of that async action we will set up another dispatch that will be called after that async action completes In the meanwhile we can return that state of the tree with an isLoading label set to true from the original action The on completion action will just return the state with the modified values and the loading label to false et voila Example Application In this application I have used the same concept to load users asynchronously from jsonplaceholder api You can check out the Github repo from here icecoffee dev redux users app REDUX for async tasksYou can manage async data in redux via two methodsVia rd party liberary like redux thunkUnhealthy but simple way Kind of a ruseI am not using the second way because it adds additional compelexiy of the middle ware Main concept behind nd methodSince state of the application changes everytime the state tree changes I can dispatch onCompletion action in the callbackasyncLoading action which is inside the reducer const reducer state initialState action gt let users state if action type DONE console log updated return state loading false else if action type LOAD USER loadUser then user gt users push user … View on GitHubThanks for reading Hope this may have added a little value however small that may be ResourcesCover Image This article by Robin Kim follows the redux thunk middleware approach so it s my advice to check it out Thanks again Have a lovely day |
2021-08-12 11:50:41 |
海外TECH |
DEV Community |
Azure Functions with F# using .NET 5 |
https://dev.to/choc13/azure-functions-with-f-using-net-5-3348
|
Azure Functions with F using NET Serverless computing promises to make it easier to just write some code sling it at the cloud and voila you re done No more worrying about how your code is hosted configuring application servers or writing hundreds of lines of boilerplate to get something running The reality however is a little different as we found out when trying to write an Azure function that targets the NET runtime The reason it failed to live up to this promise is that at this point in time the default Azure functions host supports NET Core So in order to target NET we have to get our hands dirty and write some boilerplate Unfortunately the documentation on how to do this and the project templates for NET Azure functions don t seem to cover all of the quirks that are necessary to make it work In this post I m going to walk through the steps required to get a NET Azure function running both locally and in Azure and highlight the gotchas that tripped us up when trying to do this The function itself will be written in F but all of the quirks are related to using a NET runtime and so would equally apply to a C project In fact switching between the two languages is an extremely minimal code change The final version of the code shown in this blog post can be found on GitHub In process vs Out of process hostingFirst off what s a host In Azure functions the host is the term used to refer to the process that your function will be executed in It includes a runtime e g dotnet or Python and all of the external libraries e g DLLs or Python modules that your code needs to be able to run By default Azure functions uses what it calls an in process hosting model In practice this means that when you deploy your code as a library or a script it runs it in a process with a pre configured host The upside to this model is that you don t have to worry about infrastructure concerns You just write your core logic and ship it This supposedly frees developers from the burden of configuring a host in the entry point to their application saving them time The downside is that if you don t like what s included in the box then your options for altering that are limited to whatever is exposed via the switches and dials they provide Unfortunately there s no NET switch available This is where the out of process host comes in With out of process hosting you get explicit control over how the host is created allowing you to choose a dotnet runtime When you ship an Azure function using this hosting model you re responsible for configuring the host and making sure it boots correctly With that background out the way let s get stuck into the code Create a new projectWe re going to need an F project to work with It will be edited quite heavily so the easiest way to create one is to just create a console app by running the following command from the root of your project directory dotnet new console lang f n Function o src FunctionNote we ve put the project under a src directory as is quite typical for dotnet projects you don t have to follow this convention but the rest of the steps will assume this project layout Configure the fsproj fileThe first step is to ensure the project file fsproj is configured correctly A minimal example looks like this lt Project Sdk Microsoft NET Sdk gt lt PropertyGroup gt lt AzureFunctionsVersion gt v lt AzureFunctionsVersion gt lt FunctionsSkipCleanOutput gt True lt FunctionsSkipCleanOutput gt lt OutputType gt Exe lt OutputType gt lt TargetFramework gt net lt TargetFramework gt lt PropertyGroup gt lt ItemGroup gt lt PackageReference Include Microsoft Azure Functions Worker Version gt lt PackageReference Include Microsoft Azure Functions Worker Extensions Timer Version gt lt PackageReference Include Microsoft Azure Functions Worker Sdk Version gt lt ItemGroup gt lt ItemGroup gt lt Compile Include Execute fs gt lt Compile Include Program fs gt lt ItemGroup gt lt ItemGroup gt lt None Include host json gt lt CopyToOutputDirectory gt PreserveNewest lt CopyToOutputDirectory gt lt None gt lt None Include local settings json gt lt CopyToOutputDirectory gt PreserveNewest lt CopyToOutputDirectory gt lt CopyToPublishDirectory gt Never lt CopyToPublishDirectory gt lt None gt lt ItemGroup gt lt Project gt You can just go ahead and replace the contents of the generated Function fsproj file with the above There are a few things to point out that are required to make this work which weren t documented or included in the official code templates The FunctionsSkipCleanOutput must be set to True The directives for the host json and local settings json must use lt None Include gt The functions templates generate these with lt None Update gt which doesn t work The templates also don t include the correct package references At a minimum we need the ones listed above at their latest versions in order to run on NET Note this example is using Microsoft Azure Functions Worker Extensions Timer because this basic example just uses a simple timer trigger you might need a different extension package if you re using a different trigger e g Blob triggers require Microsoft Azure Functions Worker Extensions Storage Configure host jsonWe need to add a host json file to the project with the following contents version logging applicationInsights samplingSettings isEnabled true samplingExcludedTypes Request There aren t any quirks here so just add that and move on Add a local settings jsonWe also need a local settings json file in the project which should look like this IsEncrypted false Values AzureWebJobsStorage UseDevelopmentStorage true FUNCTIONS WORKER RUNTIME dotnet isolated The crucial bit here is that we ve set FUNCTIONS WORKER RUNTIME to dotnet isolated This is how we specify that we want to use an out of process host Configure the host in Program fsBecause we ve opted to go out of process we need to write the host bootstrapping code in Program fs open Microsoft Extensions HostingHostBuilder ConfigureFunctionsWorkerDefaults Build Run As you can see the boilerplate is actually very minimal for this simple function Also the nice thing about using the dotnet isolated runtime and explicitly defining how the host is bootstrapped is that if the application grows and requires interaction with more azure services such as blob storage or message queues then we get complete control over how those services are configured We re also able to specify exactly which NuGet packages at which versions are included in the runtime too In my experience this leads to much fewer surprises and less time spent opaquely debugging in Azure as compared to using an in process host in which issues such as assembly conflicts occur at runtime Give me that sweet sweet boilerplate every time Add your functionsWe can now go ahead and write our functions Our project is configured to expect a file called Execute fs which is where we re going to place them There s nothing special about that file name so feel free to call it whatever you want or arrange your functions in multiple files if that suits your needs better Here s what our simple example timer function looks like in F namespace My Functionopen Microsoft Azure Functions Workeropen Microsoft Extensions Loggingtype Execute logger ILogger lt Execute gt lt Function Execute gt member Run lt TimerTrigger gt timer TimerInfo logger LogInformation Hello at System DateTime UtcNow from an Azure function using F on NET Somewhat annoyingly we have to add the TimerTrigger attribute to a method parameter rather than being able to specify it at the method level So even if we don t want to use the TimerInfo we need to accept it as an argument Also ironically we have to create a class to write a function Building the codeThis one should be fairly straight forward but there s a gotcha here too In order to build an Azure function running on NET you ll need the NET Core SDK installed There s more information in this GitHub issue Once you ve got that installed you can just run dotnet build like usual Run it locallyAt this point we can run the function locally using the Azure Function Tools and the Azurite storage emulator With these two tools installed you can run the following commands in separate terminals or as background processes to start the function azurite location azurite debug azurite debug logfunc startThe output from func start should look something like this Deploy to AzureIn order to deploy to Azure we need to create some Azure resources At a minimum we need a resource group containing a storage account app service plan on the consumption billing tier and a function app We can configure all of this from an ARM template Whilst straight forward if you know how to use ARM templates it s quite verbose so instead of inlining it here you can see it on GitHub instead Assuming you ve got an Azure subscription and the Az CLI installed then we can deploy it with these commands Create a resource group only needs to be done the first timeaz group create n lt resource group name gt l lt location gt Build the code this will publish all the necessary files to the location specified by the o argumentdotnet build src Function c Release o publish func The template outputs the function app s name so we can use it in the next step to deploy the codeFUNCTION NAME az deployment group create no prompt output tsv query properties outputs functionName value resource group lt resource group name gt template file azuredeploy json cd publish func Zip up the build output for deployment to the appzip r funtionapp zip az functionapp deployment source config zip resource group lt resource group name gt name FUNCTION NAME src functionapp zipOne quirk here is that you might have been expecting to use the dotnet publish command in order to create the deployable artefact as is typical when developing an ASP NET app That s not the case here for Azure functions the publishing happens automatically when running dotnet build Bonus Build and Deploy from GitHubNow that we ve automated the build and deployment using CLI tools it s actually very easy to turn this into a GitHub action Especially if we create a script called deploy sh that takes care of all of the Azure related steps from the previous section name Build amp Deployon push branches master pull request env FUNCTION PACKAGE PATH publish function RESOURCE GROUP az function fsharp netjobs build and deploy runs on ubuntu steps name Checkout code uses actions checkout master with fetch depth name Setup dotnet SDK uses actions setup dotnet v with dotnet version name Setup dotnet SDK uses actions setup dotnet v with dotnet version name Publish Function run dotnet build src Function c Release o env FUNCTION PACKAGE PATH name Login to Azure uses azure login v with creds secrets AZURE RBAC CREDENTIALS name Deploy to Azure uses azure CLI v with inlineScript deploy sh env FUNCTION PACKAGE PATH g env RESOURCE GROUP Note that we have to install both the NET Core and NET SDKs in order to build the code In order for this to work you ll need to set a GitHub secret called AZURE RBAC CREDENTIALS in your repo More details about how to generate and set these credentials can be found on the Azure Login Action s page See the full example on GitHubIf you want to see the final example all in one place then you can check it out on GitHub Feel free to clone it or fork it and use it as a starting template Choc az function fsharp net A minimal example of creating an Azure function using F on NET with bonus GitHub actions deployment Example Azure Function using F on NET This repo shows a minimal example of how to write an Azure function using F and run it on NET It also includes an example of deploying to Azure from your local machine and using GitHub actions GotchasThere were several gotchas that were discovered when trying to get this to work which were often tricky to find in the existing documentationIn fact all of these gotchas are related to using NET and apply equally to a C project Isolated NET HostRunning the function on NET requires an isolated NET hostSpecifically we have to set the environment variable FUNCTIONS WORKER RUNTIME to the value dotnet isolated This is because the default host in the functions runtime is still using NET Core We have to set this in both the local settings json file for running locally and the … View on GitHub The state of Azure severless in Given the variety of triggers available and the consumption based billing model Azure functions are well suited for running reactive asynchronous background tasks This is an important piece in the architecture of any reasonably sized distributed system hosted in the cloud It also provides a complimentary role to that of the backend API such as a REST API which expects to make quick decisions and not spend its time chugging away at long running async computations It s a shame then that Azure functions seem to have conflated this feature set with the one of reducing all the boilerplate It s understandable that there is a use case that exists in which many people will just want to write some code and get it running somewhere with minimal fuss Unfortunately I think that s a completely different set of people to the ones who want to use Azure functions as part of the architecture of a larger distributed system As someone in the latter camp I care much more about being able to have explicit control over the environment in which my code runs than I do about eliminating a dozen lines of host configuration boilerplate Spending time eliminating this boilerplate is a false economy because I probably spend less than of my time when building such a system on those dozen lines of config code The problem with trying to eliminate all the boilerplate is that if you don t nail the abstractions they end up creating more friction than the original boilerplate did by forcing developers to figure out how to work around them ConclusionCreating an Azure function targeting the latest NET runtime is quite fiddly and insufficiently documented at present Fortunately with a bit of tinkering it is possible to make it work Choosing between F and C is also just a matter of which language suits your project better as neither requires any extra Azure functions magic than the other In the future it would be great the see Microsoft focus more on building a solid pay per use background processing solution without all the magic basically good old WebJobs on a consumption plan The in process use case should then be simple to build on top of this foundation for those that don t need such control and don t want to have to figure out how to configure a host Better to try and walk before you can run |
2021-08-12 11:12:12 |
海外TECH |
DEV Community |
Ultimate Vue.js (2021) Cheat Sheet |
https://dev.to/ericchapman/ultimate-vue-js-2021-cheat-sheet-1ihf
|
Ultimate Vue js Cheat Sheet VueJS cheat sheet including VueRouter Vuex and Composition APIIf you want more content like this one click Follow and follow me on twitter EricTheCoder I put a lot of hours creating this cheat sheet I hope you will like it If you discover any errors or have any suggestions please leave a comment at the bottom of this page Must have VSCode extensions for VueJSVetur Syntax highlighting Formating Emmet IntelliSense and moreVue VSCode Snippets Addition to VSCode settings jsonemmet includeLanguages vue html vue html html How to install VueJSVue is a progressive framework You can use it just in a small part of your web page or if you prefer you can use the Vue CLI tool to scaffold a full VueJS application Use Vue only on part of your web pageAdd a script tag that contains a link to the VueJS CDN libraryAdd another script tag that contains a link to your Vue application file app js Create a div with id app which will serve as a container for rendering your Vue application Here is an example of a page using Vue js index html lt html gt lt head gt lt title gt Ma page Vue js lt title gt lt head gt lt body gt lt div id app gt title lt div gt lt script src next gt lt script gt lt script src app js gt lt script gt lt boby gt lt html gt app js function to initialize Vue js instanceVue createApp data return title Hello Word Vue mount app mount specifies that the Vue application will be render in the div with id app Create a full VueJS appThe tool for creating a VueJS project is Vue CLI You will need to install itnpm install g vue cli Create your VueJS appvue create my app name npm run serveOnce the application is created you can position yourself in the folder and start the development servercd my app namenpm run serve Vue addIt is possible to add plugins libraries to your Vue project using the vue add shortcut Here are examples vue add vue routervue add vuexvue add tailwind Entry pointVue CLI will create multiple folders and files The starting point is public index html and src main js import createApp from vue import App from App vue createApp App mount app The component which serves as an entry point is therefore App vueWith a Vue application no HTML code will be written to the index html file Your HTML code will be written in the lt template gt section of each of your components Single File ComponentEach Vue component is defined in its own vue file with the following syntax lt template gt lt script gt lt style gt lt template gt lt img alt Vue logo src assets logo png gt lt HelloWorld msg Hello Vue gt message lt template gt lt script gt import HelloWorld from components HelloWorld vue export default components HelloWorld data return message Hello World lt script gt lt style scope gt app font family Avenir Helvetica Arial sans serif text align center color ce lt style gt Use a component inside your current component lt template gt lt HelloWorld msg Hello Vue gt lt template gt You then need to import the component file import HelloWorld from components HelloWorld vue Component PropsComponents can can define and pass a props value when renderingThe props is define inside your component with this syntaxprops title type String required true default Mon application Props can also be used with shorthand syntaxprops title You can then assign a value to these props when using the component lt div gt lt nav bar title My App gt lt div gt Component file locationSingle File Component are saved in the src components or src pages folder depending on whether the component acts as a page eg About vue or as a reusable component eg NavBar vue Component Data The data function is used to create reactive variables that will be used in your Vue application Whenever a reactive variable is changed whether it is displayed or used in your page Vue will update it immediately To display a reactive variable or an expression in your page you must use the double brackets Vue will replace the content of the expression with its value variable title expression title toUpperCase VueJS directivesVueJS directives are html attributes that can be inserted into your page in order to modify the rendering of your Vue application Here is the list of available directives v bindAllows you to assign an expression to an attribute Vue will replace the expression with its value eg image url lt img v bind src image url gt ou syntaxe raccourci lt img src image url gt v onceWith the v once directive Vue will interpolate the expression only once The expression will therefore be ignored for all other refreshes lt div v once gt title lt div gt v htmlAllows you to display an expression with HTML tags ex title lt h gt Hello World lt h gt lt div v html title gt lt div gt v modelUsed to link the value of an input element with a variable If you change one or the other Vue will automatically update the other As a result the variable and the input element will always have the same value lt input v model name type text gt lt div gt Nom name lt div gt v if v else if et v elseMakes an element visible or not visible depending on the true or false value of the expression When not visible the element is not rendered in the html lt div v if amount gt gt Free Shipping lt div gt lt div v else if montant gt gt Shipping lt div gt lt div v else gt Shipping lt div gt v showMakes an element visible or not visible depending on the true or false value of the expression The element always remains present in the rendering When not visible the element is rendered with the CSS attribute display none lt div v show isError gt errorMessage lt div gt v forDisplay a list of items lt ul gt lt li v for item in items key item id gt item name lt li gt lt ul gt Note the attribute key is necessary to allow Vue to uniquely identify the element RefAllows your Vue application to identify an html element and perform actions on that element lt input type text ref name gt Manipulation from your Vue code using the special object this refsmethods handleClick console log this refs name this refs name classList add active this refs name focus v bind on the class attribute and the style It is possible to v bind the class and style attributes lt div class text xl class isAdmin text red text gray gt Hello World lt div gt Note that the class attribute is used twice Vue will combine these two attributes on renderIt is also possible to use an object to send content in our class attribute lt div class text red isAdmin text gray isAdmin gt Hello World lt div gt Note the syntax of the object attribute expression if the expression returns true then the attribute will be added to the classSimilar syntax applies to the style attribute lt div style margin top px padding px gt Hello World lt div gt Finally the class and style attributes can be defined by an object type variable created elsewhere in your applicationtitleClass text red this isAdmin text gray this isAdmin lt div class titleClass gt Hello World lt div gt lt template gt tagThis element allows you to use Vue directives without creating an html element lt template v show quantity gt Quantity must be greater than zero lt template gt EventsVue allows you to manage javascript events like click input change etc To do this you must use the v on directive followed by the name of the event v on clickAllows you to execute code on the click of an element lt button v on click name Mike gt Display a message lt button gt or shortened syntax lt button click name Mike gt Display a mssagee lt button gt v on keydownAllows you to execute code at the press of a key e g enter lt button v on keydown enter name Mike gt Display a message lt button gt or shortened syntax lt button click name Mike gt Display a message lt button gt Other possible values for v on keydown keyup keypressOther possible values for enter tab esc up down left right delete v on submitAllows you to run code when submitting a form lt form v on submit prevent name Mike gt lt input v model name type text gt lt button type submit gt Save lt button gt lt form gt Note the presence of prevent after the v on submit directive This instruction will prevent the form from being submitted to the server MethodsVue js allows you to create methods in order to place a reusable code block in your applications Here is the syntax for creating a method Vue createApp data return name Mike Taylor methods resetName this name mount app Note the keyword this placed in front of the name variable This keyword is mandatory to allow to reference a variable inside our Vue instance To call a method you can do it simply by using its name lt input v model name type text gt lt button click resetName type text gt Delete lt button gt A method can also contain parametersmethods resetName newName this name newName lt input v model name type text gt lt button click resetName John type text gt Effacer lt button gt A method can also send the object eventmethods resetName newName e this name newName console log e target textContent lt input v model name type text gt lt button click resetName John event type text gt Delete lt button gt Note the special parameter event will send the object event to our method emitThe keyword emit is used to emit an event This event can then be captured by your application with a v on event namemethods sendDelete const userId this emit delete userId lt div gt lt nav bar title My App v on delete deleteUser gt lt div gt Computed MethodsUnlike the other methods which will be re executed each time your application is rendered the computed methods will be re executed only if the variables they contain are modified computed recalcTotal items taxes return this calcTotal items taxes The computed methods can then be called in our page lt button click recalcTotal gt Re Calc lt button gt Note that no parameter or parenthesis is used Watch MethodThese methods will watch a variable and as soon as it changes will execute the code of the method watch title newTitle oldTitle console log Le titre oldTitle àchangépour newTitle Lifecycle Hook MethodsEach view instance goes through a series of initialization steps when it is created for example it needs to set up data observation compile the template mount the instance on the DOM and update the DOM when the data changes Along the way it will also invoke lifecycle hooks which give us the opportunity to execute custom logic at each step For example the created hook is called after the instance is createdcreated console log Component instance created There are several other hook methods Here are a few beforeCreatecreatedbeforeMountmountedbeforeUpdateupdatedbeforeDestroydestroyed Les SlotsSlots allow you to add content to a component lt custom button gt custom content Titre title lt custom button gt Note that the rendering of title will be done in the parent component The same principle will apply for the css So the content of the slot must be defined accessible in the parent componentInternally the custom button looks something like this lt template gt lt slot gt lt slot gt lt template gt The slot tag will be replaced by the content of custom button It is possible to define a default value for the slot lt template gt lt slot gt If nothing than display this lt slot gt lt template gt Note that the default value is defined in the child component so must use the variables or the css defined in the child component Multiple slotsAllows you to add content associated only with a particular slot lt custom button gt Custom Content lt template title gt title lt template gt lt custom button gt title identifies the template in the title slot The v slot title syntax can also be usedInternally the custom button looks something like this lt template gt lt slot gt lt slot gt lt slot name title gt lt slot gt lt template gt Note that the main slot is still available the tags here are optional but it is possible to add a second slot with a name Slot PropsSlots can have props lt template gt lt slot name title status info gt lt slot gt lt template gt The Props can then be used lt custom button gt custom content lt template title titleProps gt title titleProps status lt template gt lt custom button gt It is possible to define Props for the main slot using default lt template gt lt slot type ajout gt lt slot gt lt slot name title status info gt lt slot gt lt template gt lt custom button gt lt template default defaultProps gt custom content defaultProps type lt template gt lt template title titleProps gt title titleProps status lt template gt lt custom button gt Note that if there is no named slot It is possible to use the default Props with this syntax lt custom button default defaultProps gt custom content defaultProps type lt custom button gt Vue Router Client Side RoutingThe client side routing allows you to change the url address of the browser and load another Vue page component without refreshing the browser All this is possible thanks to the VueRouter library Installation VueRouer vnpm install vue router or vue cli pluginvue add router VueRouter ConfigurationAdd in main jsimport createApp from vue import App from App vue import as VueRouter from vue router import Home from pages Home vue import About from pages About vue const router VueRouter createRouter history VueRouter createWebHistory routes path name Home component Home path about name About component About const app createApp App app use router mount app app mount app RouterViewThis component comes with the vue router library and acts as a container to render the routes we have definedApp vue lt router view gt lt router view gt RouterLinkOn clicking this element Vue will render the route specified by the router link tag and the to attribute The render will take place where you placed your lt router view gt lt router view gt lt template gt lt div gt lt h gt Home page lt h gt lt router link to about gt About lt router link gt or lt router link to name About gt About lt router link gt lt div gt lt template gt lt script gt export default lt script gt lt style lang scss scoped gt lt style gt Route ParametersIt is possible to extract the information relating to the path Like for example the Id of a product products idroutes path products id name ProductDetails component ProductDetails You can then launch the link from the Products component lt router link to name ProductDetails params id product id gt See details lt router link gt It will finally be possible to read this parameter from the ProductDetail component lt template gt The product ID is route params id lt template gt It is also possible to read this parameter as a component Props eg ProductDetails component lt template gt The product ID is idid lt template gt lt script gt export default props id lt script gt To enable the conversion of the parameter to Props you must mention it when you define the route routes path products id name ProductDetails component ProductDetails props true route this routeIs a global object that contains information about the current route namefullPathpathqueryparams Route redirectionIt is possible to redirect from one road to another routes path about us redirect about Route AliasIt is possible to have two routes which display the same componentroutes path name Home component Home alias home et home point to the same component The alias property can also be an array home homepage redirectIt is possible to redirect a page if the route does not existroutes path catchAll name NotFound component NotFount Modify the route in your code with this routermethods redirect this router push name Home back this router go or same thing this router back forward this router go or same thing this router forward Route queryIt is possible to read the query parameters passed to the routeex products brand Apple lt template gt Filter Brand route query brand lt template gt It is possible to call a route with a query parametermethods search brand this router push name Home query brand If query is equal to undefined then it will not appear in the url bar of the browser Nested RoutesAllows you to manage the sub routes ex products tagsYou must first define the sub route with the property children routes path products id name ProductDetails component ProductDetails props true children path tags components Tags In the ProductDetails component you can display the component tags using lt route view gt tags lt template gt Product no route params id List of tags associated with the product lt router view gt lt router view gt lt template gt Composition APIIs an alternative to the Option API and allows us to write our code bundled and more naturally without using properties objects and without using the keyword this setup methodAll the code of your component will be write inside this method lt template gt lt template gt lt script gt export default setup component code lt script gt lt style gt lt style gt Note that the template and style section remains unchanged Return value of the setup methodIf you want to use a variable or a function outside the setup method in the template for example you must return it in the return method lt template gt title lt template gt lt script gt export default setup let title My Title return title lt script gt PropsYou can access your component s props with the props parameter lt script gt export default props title setup props console log props title return lt script gt Reactive VariablesTo use the v model directive on a variable you must make this variable reactive with the function ref lt template gt lt input v model title gt lt template gt lt script gt import ref from vue export default setup let title ref My Title return title lt script gt value propertyTo modify a reactive variable declared with ref you must use its value property lt template gt lt input v model title gt lt template gt lt script gt import ref from vue export default setup let title ref My Title title value Hello World return title lt script gt ref directive to link an HTML elementThe ref directive can also be used to create a binding with an html element replacing this ref in the API option lt input ref title type text gt lt script gt import ref from vue export default setup import ref from vue const title ref null return title lt script gt reactive an alternative to the ref function lt template gt lt input v model state title gt lt template gt lt script gt import reactive from vue export default setup const state reactive title My Title state title Hello World return person lt script gt Note that the reactive function only takes an object as a value no string number etc and that unlike the ref function you should not use the value property to return the value of the variable Combination of BeforeCreate and Created Lifecycle HookTo run code when creating the component simply place some code directly in setup lt template gt lt input v model title gt lt template gt lt script gt import ref from vue export default setup let title ref My Title title value Default value on creation return title lt script gt onMountedAllows you to run code when creating the component lt script gt export default import onMounted ref from vue setup let products ref null onMounted async gt const response await fetch products value await response json lt script gt EmitThe emit function replace emit lt template gt lt button click save gt save lt button gt lt template gt lt script gt import ref from vue export default setup props emit const id const save function emit onCLickEvent id return save lt script gt Using the Store Vuex The this store method is not available in composition API mode you must now use the useStore method lt template gt lt input v model title gt lt button click saveTitle gt save lt button gt lt template gt lt script gt import ref from vue import useStore from vuex export default setup let title ref My Title const store useStore title value store state title return title saveTitle gt store commit save lt script gt Note that the saveTitle function is in fact a function Returning a function allows you not to execute the commit right away but only when calling saveTitle The computed methods lt script gt import ref computed from vue import useStore from vuex export default setup let title ref My Title const store useStore title value store state title return title count computed gt store state count lt script gt The computed variable count will be refreshed only if the value of the state count changes Watch methodAllows you to run code when modifying a variable lt script gt import ref watch from vue import useStore from vuex export default setup let title ref My Title const store useStore watch title new old gt console log The title have change return title count computed gt store state count lt script gt To make a watch on several variables at the same time you can use the function watchEffect watchEffect gt console log count title The function will run on each modification of all the variables present in the watchEffect Using Router and RouteIn Composition API mode you cannot use this router and this route you will have to use useRouter and useRoute lt script gt import useRouter useRoute from vue router export default setup const router useRouter const route useRoute router push name Home console log route path route params lt script gt lt script setup gt It is possible to use the abbreviated syntax to create the code of your API composition lt script setup gt import ref watch from vue import useStore from vuex let title ref My Title const store useStore watch title new old gt console log The title have change lt script gt Note the script setup attribute allows not to use a setup method and no return either They are managed automatically Vue returns with all the variables and functions defined in the top level Props and emit with setup attribute lt script setup gt import defineProps defineEmit useContext from vue defineProps msg or defineProps title String or const props defineProps title String console log props title const emit defineEmit handleClick const slot attrs useContext lt script gt Style v bindWith Vue It is now possible to use v bind within the style section lt script setup gt import ref from vue let color ref red lt script gt lt style scope gt css title color v bind color ConclusionThank you for reading this article If you want more content like this click lt strong gt Follow lt string gt or lt a href class twitter follow button gt follow me on Twitter lt a gt |
2021-08-12 11:06:03 |
海外TECH |
DEV Community |
Docker - Understanding the Basics |
https://dev.to/emma_donery/docker-understanding-the-basics-2n37
|
Docker Understanding the BasicsDocker is an open source centralized platform designed to create deploy and run applications It takes away repetitive mundane configuration tasks and is used throughout the development life cycle for fast easy and portable application development Docker uses container on the host s operating system to run applications It allows applications to use the same Linux kernel as a system on the host computer rather than creating a whole virtual operating system Containers ensure that our application works in any environment like development test or production Docker FeaturesEasy and Faster Configuration It helps us to configure the system easily and faster We can deploy our code in less time and effort Increase productivity By easing technical configuration and rapid deployment of application No doubt it has increase productivity Application Isolation It provides containers that are used to run applications in isolation environment Each container is independent to another and allows us to execute any kind of application Swarm It is a clustering and scheduling tool for Docker containers Swarm uses the Docker API as its front end which helps us to use various tools to control it It also helps us to control a cluster of Docker hosts as a single virtual host It s a self organizing group of engines that is used to enable pluggable backendsRouting Mesh It routes the incoming requests for published ports on available nodes to an active container This feature enables the connection even if there is no task is running on the node Services Services is a list of tasks that lets us specify the state of the container inside a cluster Each task represents one instance of a container that should be running and Swarm schedules them across nodes Security Management It allows us to save secrets into the swarm itself and then choose to give services access to certain secrets Difference between Docker Containers and Virtual Machines Docker ContainersDocker containers are the lightweight alternatives of the virtual machine It allows developers to package up the application with all its libraries and dependencies and ship it as a single package The advantage of using a docker container is that you don t need to allocate any RAM and disk space for the applications It automatically generates storage and space according to the application requirement Also Integration in a container is faster and cheap does not waste of memory and It uses the same kernel but different distribution Virtual MachinesA virtual machine is a software that allows us to install and use other operating systems Windows Linux and Debian simultaneously on our machine The operating system in which virtual machine runs are called virtualized operating systems These virtualized operating systems can run programs and preforms tasks that we perform in a real operating systemHowever Integration in virtual is slow and costly wastes a lot of memory and It uses multiple independent operating systems Why Docker It runs the container in seconds instead of minutes It uses less memory It provides lightweight virtualization It does not a require full operating system to run applications It uses application dependencies to reduce the risk Docker allows you to use a remote repository to share your container with others It provides continuous deployment and testing environment Docker Container and ImageDocker container is a running instance of an image An image is a read only template with instructions for creating a Docker container A docker image is described in text file called a Dockerfile which has a simple well defined syntax An image does not have states and never changes A Dockerfile is a text document that contains commands that are used to assemble an image Dockerfile InstructionsThe instructions are not case sensitive but you must follow conventions which recommend to use uppercase Docker runs instructions of Dockerfile in top to bottom order so the first instruction should be FROM in order to specify the base imageA statement begin with treated as a comment You can use RUN CMD FROM EXPOSE ENV etc instructions in your Dockerfile FROMThis instruction is used to set the Base Image for the subsequent instructions A valid Dockerfile must have FROM as its first instruction ARG is the only instruction that may precede FROM in the Dockerfile understand how ARG and FROM interactARG CODE VERSION latestFROM lt image gt FROM lt image gt lt tag gt FROM lt image gt lt digest gt NB The tag or digest values are optional If you omit either of them the builder assumes a latest by default MAINTAINERAllows you to set the Author field of the generated images MAINTAINER lt name gt LABELWe can add labels to an image to organize images of our project We need to use LABEL instruction to set label for the image LABEL lt key gt lt value gt lt key gt lt value gt RUNThis instruction is used to execute any command of the current image RUN lt command gt shell form the command is run in a shell RUN lt executable gt lt param gt lt param gt exec form CMDThis is used to execute application by the image NB There can be only one CMD in a Dockerfile If we use more than one CMD only last one will execute The CMD instruction has three forms CMD lt executable gt lt param gt lt param gt exec form this is the preferred form CMD lt param gt lt param gt as default parameters to ENTRYPOINT CMD lt command gt lt param gt lt param gt shell form EXPOSEInforms Docker that the container listens on the specified network port s at runtime EXPOSE lt port gt lt port gt ENVThe ENV instruction sets the environment variable to the value ENV lt key gt lt value gt ENV lt key gt lt value gt lt key gt lt value gt ADDCopies new files directories or remote file URLs from and adds them to the filesystem of the image at the path ADD lt src gt lt src gt lt dest gt ADD lt src gt lt dest gt COPYThis instruction is used to copy new files or directories from source to the filesystem of the container at the destination COPY lt src gt lt src gt lt dest gt COPY lt src gt lt dest gt this form is required for paths containing whitespace ENTRYPOINTAllows you to configure a container that will run as an executable ENTRYPOINT lt executable gt lt param gt lt param gt exec form preferred ENTRYPOINT lt command gt lt param gt lt param gt shell form VOLUMECreates a mount point with the specified name and marks it as holding externally mounted volumes from native host or other containers VOLUME lt path gt VOLUME lt path gt lt path gt USERThe USER instruction sets the user name or UID to use when running the image and for any RUN CMD and ENTRYPOINT instructions that follow it in the DockerfileUSER lt username UID gt WORKDIRThe WORKDIR is used to set the working directory for any RUN CMD and COPY instruction that follows it in the Dockerfile If work directory does not exist it will be created by default WORKDIR lt path to workdir gt NB We can use WORKDIR multiple times in a Dockerfile ONBUILDAdds to the image a trigger instruction to be executed at a later time when the image is used as the base for another build The trigger will be executed in the context of the downstream build as if it had been inserted immediately after the FROM instruction in the downstream Dockerfile ONBUILD lt Dockerfile INSTRUCTION gt STOPSIGNALThe STOPSIGNAL instruction sets the system call signal that will be sent to the container to exitSTOPSIGNAL lt signal gt HEALTHCHECKTells Docker how to test a container to check that it is still workingHEALTHCHECK lt options gt CMD lt command gt check container health by running a command inside the container HEALTHCHECK NONE disable any healthcheck inherited from the base image SHELLAllows the default shell used for the shell form of commands to be overriddenSHELL lt executable gt lt param gt lt param gt |
2021-08-12 11:03:58 |
Apple |
AppleInsider - Frontpage News |
Police, GreyShift struggle to keep iPhone unlocking tool purchases secret |
https://appleinsider.com/articles/21/08/12/police-greyshift-struggle-to-keep-iphone-unlocking-tool-purchases-secret?utm_medium=rss
|
Police GreyShift struggle to keep iPhone unlocking tool purchases secretPolice and government agencies have tried to keep secret that they ve bought GreyShift s GreyKey iPhone unlocking technology GreyShift s GreyKey unlocking toolGreyShift s GreyKey iPhone forensics tool has been revealed in FCC filings before But now a series of non disclosure agreements and other confidentiality documents have revealed certain details about the use and requirements of the tool Read more |
2021-08-12 11:13:32 |
海外TECH |
Engadget |
Facebook may be forced to sell Giphy following UK regulator findings |
https://www.engadget.com/facebook-giphy-uk-regulator-113520511.html?src=rss
|
Facebook may be forced to sell Giphy following UK regulator findingsThe UK s competition regulator has found that Facebook s acquisition of GIF sharing platform Giphy will harm competition within social media and digital advertising As part of its provisional decision the watchdog voiced concerns that Facebook could prevent rivals including TikTok and Snapchat from accessing Giphy a service they already use It added that Facebook could also require customers of the GIF platform to hand over more data in return for access If its objections are confirmed as part of the ongoing review the regulator said it could force Facebook to unwind the deal and to sell off Giphy in its entirety The Competition and Markets Authority CMA ultimately determined that the deal stands to increase Facebook s sizeable market power Together its suite of apps ーincluding Facebook WhatsApp and Instagram ーaccount for percent of social media activity and are accessed at least once a month by percent of internet users the CMA said Beyond social media the watchdog suggested that the acquisition could remove a potential challenger to Facebook in the billion display advertising market Citing Facebook s termination of Giphy s paid ad partnerships following the deal the regulator said the move had effectively stopped the company s ad expansion including to additional countries like the UK in its tracks This in turn had an impact on innovation in the broader advertising sector the CMA explained Facebook s announcement last May that it was acquiring Giphy with plans to integrate it with Instagram for a reported million immediately raised alarm bells for regulators The social network is facing antitrust complaints in the US and the EU over its social media and advertising monopolies respectively At the same time the UK has ramped up its scrutiny of Big Tech by creating a dedicated Digital Markets Unit to oversee the likes of Google Facebook and Apple The fledgling agency sits within the CMA and is designed to give people more control over their data Today the CMA echoed those principles in its initial decision The regulator said that it would quot take the necessary actions quot to protect users if it concludes that the merger is detrimental to competition It will now consult on its findings as part of the reviews process A final decision is slated for October th A Facebook spokesperson told Engadget nbsp that it quot disagrees quot with the CMA s preliminary findings “We disagree with the CMA s preliminary findings which we do not believe to be supported by the evidence As we have demonstrated this merger is in the best interest of people and businesses in the UK and around the world who use GIPHY and our services We will continue to work with the CMA to address the misconception that the deal harms competition nbsp It previously argued that Giphy has no operations in the UK meaning that the CMA has no jurisdiction over the deal In addition it has claimed that Giphy s paid services cannot be classified as display advertising under the regulator s own market definition nbsp |
2021-08-12 11:35:20 |
海外TECH |
Engadget |
The Morning After: Samsung unveils the more durable Galaxy Z Fold 3 with S Pen support |
https://www.engadget.com/the-morning-after-samsung-galaxy-z-fold-3-flip-3-113019765.html?src=rss
|
The Morning After Samsung unveils the more durable Galaxy Z Fold with S Pen supportI m not sold on foldable phones They re expensive have questionable durability and ーat least so far ーdon t offer a compelling reason for the form factor Having said all that the Galaxy Z Flip Samsung s new clamshell foldable is almost enough to change my mind Revealed alongside the Galaxy Z Fold which unfurls into a squarish almost tablet display it s the Flip that had me considering buying a foldable Maybe it s because Samsung seems to be trying to address those issues I have Both phones are cheaper if not cheap compared to their predecessors with the Z Fold now less than the Z Fold was at launch Engadget Mat SmithAfter the broken screen debacle of the original Galaxy Fold Samsung is keen to stress the hardiness of its new premium phone which it says is percent stronger I m not sure how that increase was so precisely measured but with IPX water resistance a new stronger aluminum hinge and frame and a Gorilla Glass Victus coating on paper at least it sounds tougher The Z Fold might have the tech advances with S Pen support and an in screen selfie camera that can camouflage itself but the Z Flip is the one that caught my attention when I had the chance to play with the phones at a London preview event The Flip series seems like the foldable device for now melding how we use our smartphones in with foldable screens that are let s be honest still not quite perfect nbsp Samsung has expanded the external screen so it functions better for checking notifications or using the cameras without opening the Flip Not that I need an excuse to flip open the satisfying hinge on the thing I ll wait for Cherlynn Low s full review on both phones however before I start getting into preorders Expect those very soon nbsp We do have a full review on Samsung s newest true wireless earbuds to keep you occupied for now Mat SmithSamsung Galaxy Z Flip hands onSamsung Galaxy Z Fold hands onHere s everything Samsung announced at its August Unpacked eventSamsung Galaxy Buds review Premium features at an affordable priceGalaxy Watch and Watch Classic hands onSamsung s new wearable has a built in body composition scanner Cherlynn Low EngadgetAlongside the foldables Samsung also had two wearables to reveal These are the fruits of its renewed collaboration with Google For the sake of clarification Samsung s getting rid of the “Active branding from its existing lineup ーthe Watch is the spiritual successor to the Watch Active there wasn t an Active while it s adding the “Classic moniker to the previous “regular Watch line The big differences between the two A rotating bezel and a hundred bucks Continue reading Apple drops its lawsuit against maker of iPhone emulation softwareThe move comes after Apple suffered a major court loss in the dispute Apple has settled its lawsuit with Corellium a company that builds virtual iOS devices used by security researchers to find bugs in iPhones and other iOS devices The terms of the settlement weren t disclosed but the agreement comes after Apple suffered a major court loss in the dispute in late Corellium s software allows users to run virtual iPhones on a computer browser giving them deep access to iOS without the need for a physical device In addition to accusing Corellium of infringing on its copyright Apple claimed the company was selling its product indiscriminately and compromising the platform s security Continue reading The hacker behind a giant cryptocurrency heist is returning stolen fundsThe intruder stole about million thanks to an exploit A hacker stole about million in Ethereum Shiba Inu and other digital currencies from the decentralized Poly Network finance platform on August th by exploiting a vulnerability Less than a day later however the intruder sent a token indicating they were quot ready to surrender quot and started returning millions in funds Second thoughts nbsp Continue reading iOS will offer Find My support for AirPodsAt least if you re rocking a pair of AirPods Pro or Max Code inside the iOS beta better explains how you ll be able to locate any missing AirPods from your iPhone at least if you have the Pro or Max versions toMac says that those AirPods will be linked with your Apple ID and use Bluetooth to help you locate them when they go missing Even if they re not connected to your phone you should still be able to find them on the map via the Find My network Continue reading T Mobile is selling fiber internet in a very limited pilot programIt s promising Mbps upload and download speeds and a WiFi router T Mobile has launched a pilot offering fiber optic home internet service in New York City It s testing the service in select Manhattan residential buildings offering Mbps upload and download speeds along with a WiFi router It appears to be a third party service and not T Mobile s own Continue reading Finally WhatsApp will let you transfer your chat history between Android and iOSIt s coming to Samsung phones first Facebook piggybacked on Samsung s Galaxy Unpacked event to introduce the option of importing your WhatsApp chat history between Android and iOS It ll initially reach Android devices starting with Samsung phones running Android or newer including the new foldables but it ll eventually be available on both operating systems The transfer includes photos and voice memos and should reach users in the quot coming weeks quot What s a few weeks after waiting years nbsp Continue reading But wait there s moreAudi s Skysphere concept EV roadster can transform into a grand tourerPassword s latest major update is now available in early access on MacsHow to pre order the Samsung Galaxy Z Fold G and the Z Flip GMicrosoft files complaint after Amazon scores billion government contract |
2021-08-12 11:15:19 |
ニュース |
BBC News - Home |
Record GCSE results after second year of no exams |
https://www.bbc.co.uk/news/education-58174253
|
examsrecord |
2021-08-12 11:46:26 |
ニュース |
BBC News - Home |
Tui boss: UK falling behind European travel recovery |
https://www.bbc.co.uk/news/business-58184088
|
restrictions |
2021-08-12 11:29:43 |
ニュース |
BBC News - Home |
Why is so little sequencing of PCR tests being done? |
https://www.bbc.co.uk/news/58176249
|
pcr |
2021-08-12 11:25:04 |
北海道 |
北海道新聞 |
道内のデルタ株陽性者2千人突破 アルファ株より2週間早く |
https://www.hokkaido-np.co.jp/article/577690/
|
新型コロナウイルス |
2021-08-12 20:08:47 |
コメント
コメントを投稿