投稿時間:2021-07-13 00:37:17 RSSフィード2021-07-13 00:00 分まとめ(47件)

カテゴリー等 サイト名等 記事タイトル・トレンドワード等 リンクURL 頻出ワード・要約等/検索ボリューム 登録日
AWS AWS Compute Blog Understanding data streaming concepts for serverless applications https://aws.amazon.com/blogs/compute/understanding-data-streaming-concepts-for-serverless-applications/ Understanding data streaming concepts for serverless applicationsIn this post I introduce some of the core streaming concepts for serverless applications I explain some of the benefits of streaming architectures and how Kinesis works with producers and consumers I compare different ways to ingest data how streams are composed of shards and how partition keys determine which shard is used Finally I explain the payload formats at the different stages of a streaming workload how message ordering works with shards and why idempotency is important to handle 2021-07-12 14:51:44
python Pythonタグが付けられた新着投稿 - Qiita Progateで作ったWebアプリをDjangoで作ってみる! Part2 https://qiita.com/insilicomab/items/bab360f4d1503034ddf5 一つのプロジェクトに複数のアプリがあって、「templates」フォルダ直下に同じ「tophtml」ファイルがあった場合、Djangoは区別できないので、「templates」フォルダの下にアプリ名のフォルダを入れて、その下にテンプレートファイルを置きます。 2021-07-12 23:14:29
python Pythonタグが付けられた新着投稿 - Qiita Progateで作ったWebアプリをDjangoで作ってみる! Part1 https://qiita.com/insilicomab/items/5268d49867b0c24d96e9 プロジェクトlistappのurlspyファイルからアプリlistのurlspyを呼び出すためのコードを、プロジェクトlistappのurlspyファイルに書いていきます。 2021-07-12 23:09:15
js JavaScriptタグが付けられた新着投稿 - Qiita 【JavaScript】str.matchAll(re)はre.exec(str), re.test(str)の最後のマッチ位置を引き継ぐので注意 https://qiita.com/zakuroishikuro/items/19b03f024a3684dd92f9 constredconststrabcdefreexecstrreexecstrreexecstr正規表現にgフラグをつけると実行するたびに次のマッチの結果が返ってくる。 2021-07-12 23:08:15
Program [全てのタグ]の新着質問一覧|teratail(テラテイル) c言語のバイナリファイルの読み込みについて https://teratail.com/questions/349121?rss=all c言語のバイナリファイルの読み込みについて前提・実現したいことコマンドライン引数としてjpgファイルを指定して、そのバイナリファイルを読み込んで、新しいファイルとして書き出したい。 2021-07-12 23:56:07
Program [全てのタグ]の新着質問一覧|teratail(テラテイル) plantumlのプレビュー表示がされません https://teratail.com/questions/349120?rss=all plantumlのプレビュー表示がされません打ち消し線nbsp前提・実現したいことここに質問の内容を詳しく書いてください。 2021-07-12 23:53:48
Program [全てのタグ]の新着質問一覧|teratail(テラテイル) ActiveDirectoryドメイン環境下でクライアントのNTPサーバをドメインコントローラー以外に設定する方法 https://teratail.com/questions/349119?rss=all ActiveDirectoryドメイン環境下でクライアントのNTPサーバをドメインコントローラー以外に設定する方法ActiveDirectoryドメイン環境下でクライアントPCのNTPサーバをドメインコントローラー以外に設定する方法を教えてください。 2021-07-12 23:47:03
Program [全てのタグ]の新着質問一覧|teratail(テラテイル) Javaの二次元配列問題です!お願いします!! https://teratail.com/questions/349118?rss=all Javaの二次元配列問題ですお願いしますpublicnbspメソッドnbsp種類の作成が分かりません。 2021-07-12 23:38:19
Program [全てのタグ]の新着質問一覧|teratail(テラテイル) yahoo_finance_api2を実行した際のエラーについて https://teratail.com/questions/349117?rss=all yahoofinanceapiを実行した際のエラーについてYahooFinanceのUS版のサイトより時系列データをダウンロードできるAPIがあります。 2021-07-12 23:28:10
Program [全てのタグ]の新着質問一覧|teratail(テラテイル) PHP DB掲示板削除機能について https://teratail.com/questions/349116?rss=all PHPDB掲示板削除機能について前提・実現したいことパスワードを入力して一致した場合に指定した番号のデータを削除すること。 2021-07-12 23:19:52
Program [全てのタグ]の新着質問一覧|teratail(テラテイル) グローバル変数を使わずに関数の中の変数を変更する方法 https://teratail.com/questions/349115?rss=all グローバル変数を使わずに関数の中の変数を変更する方法足し算の問題を出してその正解数を求める関数を作ろうとしています。 2021-07-12 23:07:26
Program [全てのタグ]の新着質問一覧|teratail(テラテイル) 入力された値が何の倍数か判定したい https://teratail.com/questions/349114?rss=all input 2021-07-12 23:05:15
Program [全てのタグ]の新着質問一覧|teratail(テラテイル) 掲示板に削除機能を実装したい https://teratail.com/questions/349113?rss=all 掲示板に削除機能を実装したい前提・実現したいこと掲示板から指定した番号の投稿をテキストファイルからもブラウザからも削除させたい。 2021-07-12 23:01:30
Git Gitタグが付けられた新着投稿 - Qiita 初学者が「Git をはじめからていねいに」でつまづいたところをまとめてみた https://qiita.com/cheki3cheki3/items/be041bcff5197126429f viではコミットの際qiitagitgitcommitと入力するとエディタが立ち上がり、コミットメッセージを入力してwqと入力すればOKですが、Mac標準エディタではqiitagitgitcommitmコミットメッセージと入力しないとコミットできません。 2021-07-12 23:28:40
技術ブログ Developers.IO [AWS CDK] Lambda@Edge Functionを含んだスタックの削除が失敗する際の対処 https://dev.classmethod.jp/articles/delete-a-stack-that-contains-lambda-edge-function/ cloudfrontdistrib 2021-07-12 14:57:38
技術ブログ Developers.IO 딥러닝 선형회귀 모델을 활용한 공공데이터 분석(선형회귀 모델에 대한 개념정리) https://dev.classmethod.jp/articles/data-analysis-using-linear-regression-models/ 딥러닝선형회귀모델을활용한공공데이터분석 선형회귀모델에대한개념정리 안녕하세요클래스메소드김재욱 Kim Jaewook 이라고합니다 이번에는「딥러닝선형회귀모델을활용한공공데이터분석」첫번째블로그로공공데이터를분석하기전에선형회귀모델이무엇인지 어 2021-07-12 14:35:32
海外TECH DEV Community BUILD YOUR OWN: OS , AI, PROGRAMMING LANGUAGE, CRYPTO etc. : Awesome Tutorial List 😎 https://dev.to/manishfoodtechs/build-your-own-os-ai-programming-language-crypto-etc-tutorial-lists-195o BUILD YOUR OWN OS AI PROGRAMMING LANGUAGE CRYPTO etc Awesome Tutorial List BUILD YOUR OWNThis is wonderful repo providing tutorials to build your own programs Below list is comprehensive Look at building your own augmented reality crypto currency operating system and Programming Language D Renderer Augmented Reality BitTorrent Client Block Chain Cryptocurrency Bot Command Line Tool Database Docker Emulator Virtual Machine Front end Framework Library Game Git Network Stack Neural Network Operating System Physics Engine Programming Language Refer Engine Search Engine Shell Template Engine Text Editor Visual Recognition System Voxel Engine Web Search Engine Web Server UncategorizedShared with awesome people on WORLD AI GROUP 2021-07-12 14:53:00
海外TECH DEV Community 4 Key Observability Metrics for Distributed Applications https://dev.to/mbogan/4-key-observability-metrics-for-distributed-applications-4d27 Key Observability Metrics for Distributed ApplicationsA common architectural design pattern these days is to break up an application monolith into smaller microservices Each microservice is then responsible for a specific aspect or feature of your app For example one microservice might be responsible for serving external API requests while another might handle data fetching for your frontend Designing a robust and fail safe infrastructure in this way can be challenging monitoring the operations of all these microservices together can be even harder It s best not to simply rely on your application logs for an understanding of your systems successes and errors Setting up proper monitoring will provide you with a more complete picture but it can be difficult to know where to start In this post we ll cover service areas your metrics should focus on to ensure you re not missing key insights Before Getting StartedWe re going to make a few assumptions about your app setup Don t worryーyou don t need to use any specific framework to start tracking metrics However it does help to have a general understanding of the components involved In other words how you set up your observability tooling matters less than what you track Since a sufficiently large set of microservices requires some level of coordination we re going to assume you are using Kubernetes for orchestration We re also assuming you have a time series database like Prometheus or InfluxDB for storing your metrics data You might also need an ingress controller such as the one Kong provides to control traffic flow and a service mesh such as Kuma to better facilitate connections between services Before implementing any monitoring it s essential to know how your services actually interact with one another Writing out a document that identifies which services and features depend on one another and how availability issues would impact them can help you strategize around setting baseline numbers for what constitutes an appropriate threshold Types of MetricsYou should be able to see data points from two perspectives Impact Data and Causal Data Impact Data represents information that identifies who is being impacted For example if there s a service interruption and responses slow down Impact Data can help identify what percentage of your active users is affected While Impact Data determines who is being affected Causal Data identifies what is being affected and why Kong Ingress which can monitor network activity can give us insight into Impact Data Meanwhile Kuma can collect and report Causal Data Let s look at a few data sources and explore the differences between Impact Data and Causal Data that can be collected about them LatencyLatency is the amount of time it takes between a user performing an action and its final result For example if a user adds an item to their shopping cart the latency would measure the time between the item addition and the moment the user sees a response that indicates its successful addition If the service responsible for fulfilling this action degraded the latency would increase and without an immediate response the user might wonder whether the site was working at all To properly track latency in an Impact Data context it s necessary to follow a single event throughout its entire lifetime Sticking with our purchasing example we might expect the full flow of an event to look like the following The customer clicks the Add to Cart buttonThe browser makes a server side request initiating the eventThe server accepts the requestA database query ensures that the product is still in stockThe database response is parsed a response is sent to the user and the event is completeTo successfully follow this sequence you should standardize on a naming pattern that identifies both what is happening and when it s happening such as customer purchase initiate customer purchase queried customer purchase finalized and so on Depending on your programming language you might be able to provide a function block or lambda to the metrics service statsd timing customer purchase initiate do endBy providing specific keywords you ought to hone in on which segment of the event was slow in the event of a latency issue Tracking latency in a Causal Data context requires you to track the speed of an event between services not just the actions performed In practice this means timing service to service requests statsd histogram customer purchase initiate do statsd histogram customer purchase external database query do endendThis shouldn t be limited to capturing the overall endpoint request response cycles That sort of latency tracking is too broad and ought to be more granular Suppose you have a microservice with an endpoint that makes internal database requests In that case you might want to time the moment the request was received how long the query took the moment the service responded with a request and the moment when the originating client received that request This way you can pinpoint precisely how the services communicate with one another TrafficYou want your application to be useful and popularーbut an influx of users can be too much of a good thing if you re not prepared Changes in site traffic can be difficult to predict You might be able to serve user load on a day to day basis but events both expected and unexpected can have unanticipated consequences Is your eCommerce site running a weekend promotion Did your site go viral because of some unexpected praise Traffic variances can also be affected by geolocation Perhaps users in Japan are experiencing traffic load in a way that users in France are not You might think that your systems are working as intended but all it takes is a massive influx of users to test that belief If an event takes ms to complete but your system can only process one event at a time it might not seem like there s a problemーuntil the event queue is suddenly clogged up with work Similar to latency it s useful to track the number of events being processed throughout the event s lifecycle to get a sense of any bottlenecks For example tracking the number of jobs in a queue the number of HTTP requests completed per second and the number of active users are good starting points for monitoring traffic For Causal Data monitoring traffic involves capturing how services transmit information to one another similar to how we did it for latency Your monitoring setup ought to track the number of requests to specific services their response codes their payload sizes and so onーas much about the request and response cycle as necessary When you need to investigate worsening performance knowing which service is experiencing problems will help you track the possible source much sooner Error RatesTracking error rates is rather straightforward Any xx or even xx issued as an HTTP response by your server should be tagged and counted Even situations that you ve accounted for such as caught exceptions should be monitored because they still represent a non ideal state These issues can act as warnings for deeper problems stemming from defensive coding that doesn t address actual problems Kuma can capture the error codes and messages thrown by your service but this represents only a portion of actionable data For example you can also capture the arguments which caused the error in case a query was malformed the database query issued in case it timed out the permissions of the acting user in case they made an unauthorized attempt and so on In short capturing the state of your service at the moment it produces an error can help you replicate the issue in your development and testing environments SaturationYou should track the memory usage CPU utilization disk reads writes and available storage of each of your microservices If your resource usage regularly spikes during certain hours or operations or increases at a steady rate this suggests you re overutilizing your server While your server may be running as expected once again an influx of traffic or other unforeseen occurrences can quickly topple it over Kong Ingress only monitors network activity so it s not ideal for tracking saturation However there are many tools available for tracking this with Kubernetes Implementing Monitoring and ObservabilityUp to now we ve discussed the kinds of metrics that will be important to track in your cloud application Next let s dive into some specific steps you can take to implement this monitoring and observability Install PrometheusPrometheus is the go to standard for monitoring an open source system that is easy to install and integrate with your Kubernetes setup Installation is especially simple if you use Helm First we create a monitoring namespace kubectl create namespace monitoringNext we use Helm to install Prometheus We make sure to add the Prometheus charts to Helm as well helm repo add prometheus community helm repo add stable helm repo update helm install f n monitoring prometheus prometheus community prometheusThe values file referenced at sets the data scrape interval for Prometheus to ten seconds Enable Prometheus Plugin in KongAssuming you are using Kong Ingress Controller KIC for Kubernetes your next step will be to create a custom resourceーa KongPlugin resourceーwhich integrates into the KIC Create a file called prometheus plugin yml apiVersion configuration konghq com vkind KongClusterPluginmetadata name prometheus annotations kubernetes io ingress class kong labels global true plugin prometheus Install GrafanaGrafana is an observability platform that provides excellent dashboards for visualization of data scraped by Prometheus We use Helm to install Grafana as follows helm install grafana stable grafana n monitoring values You can view the bit ly URL in the above command to see the specific configuration values for Grafana that we provide upon installation Enable Port ForwardingNow that Prometheus and Grafana are up and running in our Kubernetes cluster we ll need access to their dashboards For this article we ll set up basic port forwarding to expose those services This is a simpleーbut not very secureーway to get access but not advisable for production deployments POD NAME kubectl get pods namespace monitoring l app prometheus component server o jsonpath items metadata name kubectl namespace monitoring port forward POD NAME amp POD NAME kubectl get pods namespace monitoring l app kubernetes io instance grafana o jsonpath items metadata name kubectl namespace monitoring port forward POD NAME amp The above two commands expose the Prometheus server on port and the Grafana dashboard on port Those simple steps should be sufficient to set you off and running With Kong Ingress Controller and its integrated Prometheus plugin capturing metrics with Prometheus and visualizing them with Grafana are quick and simple to set up ConclusionWhenever you need to investigate worsening performance your Impact Data metrics can help orient you on the magnitude of the problem it should tell you how many people are affected Likewise your Causal Data identifies what isn t working and why The former points you to the plume of smoke and the latter takes you to the fire In addition to all of the above you should also consider the rate at which your metrics are changing For example say your traffic numbers are increasing Observing how quickly those numbers are moving can help you determine when or if it ll become a problem This is essential for managing upcoming work with regular deployments and changes to your services It also establishes what an ideal performance metric should be Google wrote an entire book on site reliability which is a must read for any developer If you re already running Kong alongside your clusters plugins such as this one integrate directly with Prometheus which means less configuration on your part to monitor and store metrics for your services 2021-07-12 14:39:34
海外TECH DEV Community Use Kool to run Multiple Docker Applications at the same time in your Local Development Environment https://dev.to/kooldev/use-kool-to-run-multiple-docker-applications-at-the-same-time-in-your-local-development-environment-5ec6 Use Kool to run Multiple Docker Applications at the same time in your Local Development EnvironmentMore and more we find ourselves working with Docker containers in the context of microservice architectures comprising multiple loosely coupled applications and services and or projects made up of two or more distinct apps running side by side talking to each other via APIs As developers who work on these types of projects know all too well setting up your local development environment to run multiple Docker applications at the same time can be a real hassle Developing each app on its own is a breeze using Kool and Docker Compose However when you need to run multiple apps at the same time configuring the routing and intercommunication between different containers can be challenging In this tutorial we ll show you how to set up your local environment to run more than one Docker application at the same time using Kool and a Caddy web server No doubt this is just one of several ways to solve for this use case but we think it s an approach that works really well for most projects RequirementsBefore you start if you haven t done so already you need to install Docker and Kool CLI It also wouldn t hurt to quickly get up to speed with the Kool CLI commands kool is a CLI tool that makes local development with Docker super easy Kool CLI will level up your development workflow and help you and your team improve the way you develop and deploy cloud native applications Make sure you re always using the latest version by running kool self update It always starts off simpleYou have a single application with its Docker Compose environment Let s call it App mkdir p multiple apps app cd multiple apps app Create the two files we need App multiple apps app docker compose ymlservices app image kooldev php nginx ports volumes app public App multiple apps app index php lt php echo Welcome to App n With these two files you can now get App up and running using kool start and check the status of its service container using kool status kool startCreating network app default with the default driverCreating app app done kool status SERVICE RUNNING PORTS STATE app Running gt tcp gt tcp tcp Up seconds done Fetching services status curl localhostWelcome to App Awesome Your app service container is running kool status shows that port is mapped from your host to the container and curl localhost successfully returns the output of App But then it starts getting trickyAs your project evolves over time you need to add a second application called App which runs alongside App In other words to work on the project you need to run both apps at the same time Let s quickly set up App mkdir p multiple apps app cd multiple apps app Once again let s create the two files we need inside the app directory App multiple apps app docker compose ymlservices app image kooldev php nginx ports volumes app public App multiple apps app index php lt php echo Welcome to App n This time when you try to get App up and running using kool start you run into a problem kool startCreating network app default with the default driverCreating app app Creating app app errorERROR for app app Cannot start service app driver failed programming external connectivity on endpoint app app fafdfebafcfccfbfedeacef Bind for failed port is already allocatedERROR for app Cannot start service app driver failed programming external connectivity on endpoint app app fafdfebafcfccfbfedeacef Bind for failed port is already allocatedERROR Encountered errors while bringing up the project As per the error message you have a port conflict Bind for failed port is already allocated You cannot have two different containers bound to the same port on your host Before you continue let s stop your App and App containers cd multiple apps app you should already be here kool stop cd multiple apps app kool stop Not so fast To fix this error your first impulse is probably to use different ports for each service For example you can run App on localhost and App on localhost However you ll quickly realize this solution isn t viable because it s not flexible enough and doesn t provide intercommunication between applications over a shared Docker network Proxy to the rescueThe proxy design pattern provides a much better solution for running multiple Docker applications at the same time in your local development environment Add a global network to Docker ComposeFirst you need to improve the Docker Compose environments used by each of your apps Using one of the many best practices built into the Docker configurations included with Kool Presets let s create a shared network between Docker containers By default all containers in a docker compose yml file will share the same virtual network This means two different applications will not have a channel of communication For this reason Kool Presets will usually have two networks for each container kool local and kool global kool local is a local network that s only available to the group of containers from that docker compose yml file It s the same as the default network if we didn t specify the network ourselves kool global is a global network created outside the scope of any particular docker compose yml file It s available system wide and any containers running on the host can join it Let s create an external kool global network inside each Docker Compose environment and add each app to it App multiple apps app docker compose ymlservices app image kooldev php nginx expose volumes app public networks kool global aliases app networks kool global external true App multiple apps app docker compose ymlservices app image kooldev php nginx expose volumes app public networks kool global aliases app networks kool global external trueNotice that we replaced the ports configuration with expose You don t want these app containers bound to the host anymore in order to avoid a conflict Instead you want to bind a single container to the host which proxies each request internally over the kool global network to the correct service container using its network alias The aliases key on the container network works like a domain name that resolves to that container s address when used within the same network This is a great way to normalize names for service containers that need to talk to each other Set up the proxyAs mentioned earlier we re going to use a Caddy web server as our reverse proxy It s our first choice because it has a simple configuration interface and a rich feature set Traefik or Nginx would work great too so feel free to use what you like best when you implement this solution in a real project Let s start by creating a Caddyfile configuration file in a new proxy directory mkdir multiple apps proxy cd multiple apps proxy multiple apps proxy Caddyfile auto https off http a localhost reverse proxy http app http b localhost reverse proxy http app Notice that we use the app and app container network aliases to point to each destination based on the incoming Host request a localhost vs b localhost You should also add these local domains to your etc hosts file echo a localhost b localhost sudo tee a etc hosts By default Caddy tries to use HTTPS for all hosts For this tutorial we re disabling it We ll cover local TLS usage in a future article Next let s create a new docker compose yml for Caddy itself multiple apps proxy docker compose ymlservices proxy image caddy alpine ports volumes Caddyfile etc caddy Caddyfile networks kool globalnetworks kool global external trueAnd that s it You re done configuring your proxy Now all you need to do is spin up your App App and Proxy service containers using kool start of course and verify it works by sending a couple of test requests Proxy cd multiple apps proxy you should already be here kool startCreating proxy proxy done App cd multiple apps app kool start App cd multiple apps app kool start curl H Host a localhost http localhostWelcome to App curl H Host b localhost http localhostWelcome to App Wt You now have both apps up and running at the same time You can access them using different host names and they can also communicate with each other To clean up your local environment you ll need to move into each directory app app and proxy and run kool stop and then remove the directories you created rm r multiple apps Next stepsKool s core team is already working on a new set of commands to make the above steps seamless and transparent so you don t have to worry about the details We invite you to join the discussion and contribute If you like what we re doing please show your support by starring us on GitHub Support the Kool open source projectKool is open source and totally free to use If you re interested in learning more about the project please check out kool dev If you have questions need support or want to get involved please join our Slack channel 2021-07-12 14:30:29
海外TECH DEV Community Mock-Factory-Pattern in Typescript https://dev.to/davelosert/mock-factory-pattern-in-typescript-44l9 Mock Factory Pattern in TypescriptIf you are writing automated tests and I sure hope you do you most likely also create a lot of mock data to feed into the functions under test With this post I want to show you how to do this in a scalabe reusable and focused way by using a mock factory The initial simple wayWhen starting a new project or test suite creating mock data usually starts out very simple by using object literals it markTodoAsDone sets done to true gt const unfinishedTodo Todo title Write an awesome post about Testdata Patterns done false const resultingTodo markTodoAsDone unfinishedTodo assert deepStrictEquals resultingTodo done true However as your project grows your data usually grows as well New properties and behaviours are added and you will quickly realize that the method above does not scale well Everytime a new property is introduced you have to revisit every single test and adjust the testdata object Depending on the size of your project that might be a dozen or even hundreds of required adjustments because of a single change But the example above actually has another issue can you spot it Maybe it becomes clearer once we actually add some new properties it markTodoAsDone sets done to true gt const unfinishedTodo Todo title Write an awesome post about Testdata Patterns done false dueDate new Date assignee David Losert project Writing Blogposts tags writing blogs const resultingTodo markTodoAsDone unfinishedTodo assert deepStrictEquals resultingTodo done true Right with pure object literals you actually have to specifiy all the properties of the object all the time even if only one of those is relevant for the unit under test That is a lot of distraction Tests should be precise focused and only contain the data and properties currently required Alternative waysSo what is the alternative you might ask I have seen quite some but they usually only address parts of the problem or introduce new ones Putting test objects into their own files This might remove the distraction but it also removes the property the test is about Also it does not help you with the sclaing issue on the contrary Creating a file for every test or maybe different test scenarios you now have to go into every file whenever something on the source type is changed And it becomes quite a mess pretty fast Casting with TypeScript s as const unfinishedTodo done false as Todo While this most certainly works it leaves a bit of a bad taste as it is actually cheating the type system thus openning the door to nasty and hard to track bugs If the function under test expects a Todo we should provide a full fledged object and not just a partial one Maybe the unit under test relies on a ceratin property not being undefined even though it s not really relevant for the test thinking of a stub Plus you have to type as Thing everywhere which again is quite a bit of a distraction in my eyes Spreading on a default object In a separe file or on top of your test file const defaultTodo Todo title Default Todo Title done false dueDate new Date assignee David Losert project Writing Blogposts tags writing blogs it markTodoAsDone sets done to true gt const unfinishedTodo Todo defaultTodo done false This heads into a better direction The test remains focused on the relevant properties yet our unit under test always gets a real Todo object as opposed to when casting It also scales somewhat changes to the type only have to be applied to the defaultTodo object And we get another bonus the defaultTodo serves as a great documentation on how a real Todo object might look in production There remains a tiny problem with this approach Your tests are now tightly coupled to the defaultTodo object which might again introduce problems with you might have guessed it scaling And I wouldn t write this if I did not know of a slightly better approach Enter the stage Typescripts Partial and a factory functionSo the way I usually go is a combination of typescript s Partial and a simple factory function I ll show you the code before going into the details createMockTodo ts const defaultTodo Todo title Default Todo Title done false dueDate new Date assignee David Losert project Writing Blogposts tags writing blogs const createMockTodo overwrites Partial lt Todo gt gt defaultTodo overwrites export createMockTodo The usage of might look like this todo test ts it markTodoAsDone sets done to true gt const unfinishedTodo Todo createMockTodo done false const resultingTodo markTodoAsDone unfinishedTodo assert deepStrictEqual resultingTodo done true So there is a few things happening here let me walk you through the most important ones defaultTodo is basically the same as in the section before A fully defined object of the type to make it easy to always get all required properties from a single place Additional advantage It serves as documentation about the type But rather than exporting this object directly we use a factory function createMockTodo This gives us way more control over how the actual mock object is constructed You will see how this helps us further down Partial lt T gt is a TypeScript utility type that accepts another Type or Interface as generic argument if you don t know about generics I recommend you read the official docs It then creates a new type by copying all properties of the given generic input type but with all properties set to optional This lets us pass in a object with only the properties of our choosing as we did with done in the example while at the same time keeping type safety turned on We can only pass things that actually exist in Todo We use an empty object as deafult argument to overwrites so that we can also call the factory function without any parameters This is especially useful if you just need some stubs in your test but don t care about the precise properties We then finally construct the test object by merging together all properties of defaultTodo with the overwrite object using the spread operators Like this all properties given to the function will overwrite the ones in defaultTodo as the name indicates while leaving the other properties in place Advantages of this patternIt sclaes when adding new properties to the original type you only have to adjust the default Object in a single placeIt sclaes again If for any reason you need to construct the mock data differently e g because of deeply nested structures see below you are completely free to do so within the factory function without having to change any callers Type safety is on at all times This prevents you from introdcuing nasty bugs as well as making refactorings easy especially with IDEs that support things like renamings Hit F in VSCode It s immutable As long as you don t have nested objects see below on how to handle those you are guaranteed to get a new copy for every test preventing another sort of nasty bugs where tests might influence each other It s documentation Give the default object meaningful values and you have a documentation on how it might look like in production It s reusable This pattern can be used in a lot of different scenarios it is actually not even limited to data objects as you might find out if you read on Extending the patternThe pattern as shown is already useful in a lot of ways But I promised you scaling so let me show you how further extended it for more special use cases Use mock factories in other mock factoriesLets say we introduce a User Type in our App that might look like this User tstype User id string firstName string lastName string pronouns string We then create a mock factory for it createMockUser tsconst defaultUser User id fe cca f ac eebcffc firstName Kim lastName Su pronouns they them const createMockUser overwrites Partial lt User gt gt defaultUser overwrites Now we want to adjust our Todo assignee Property to use this type rather than a string Todo tstype Todo title string done boolean assignee User dueDate Date project string tags string This will break all our tests at first so we quickly adjust the default object in the Todo Factory createMockTodo tsimport createMockUser from createMockUser const defaultTodo Todo title Default Todo Title done false assignee createMockUser dueDate new Date project Writing Blogposts tags writing blogs const createMockTodo overwrites Partial lt Todo gt gt defaultTodo overwrites export createMockTodo And that s it Our tests should work again given they did not involve or overwrite the user object And if they did we can now easily find them through our typechecks or by following the failed tests for that matter For example imagine we had a test like this before the change Todo test tsit changes the assignee to the new given user gt const givenTodo createMockTodo assignee David Losert const assignee actualUser assignTodo givenTodo Rahim Vera assert deepStrictEqual actualUser Rahim Vera Now we could write it like this it changes the assignee to the new given user gt const givenTodo createMockTodo assignee createMockUser id oldId const expectedUser createMockUser id newId const assignee actualUser assignTodo givenTodo expectedUser assert deepStrictEqual actualUser expectedUser We have to be careful though Now that we use nested objects we are actually able to mutate the values within the defaultTodo const myFirstTodo createMockTodo console log myFirstTodo assignee firstName Logs Kim myFirstTodo assignee firstName MutatedName const mySecondTodo createMockTodo console log mySecondTodo assignee firstName Now Logs MutatedName This is due to the fact that the spread operator only does a shallow copy of an object but passes deep nested objects by reference This is not too bad if we are actually certain that we are using immutabilty throughout our app But if not there is the option of deep cloning Use cloneDeepAs there actually is no standard way of deep cloning an object in JavaScript TypeScript we ll either have to implement it ourselfs or use a library that does it for us For the simplicity of this post I will be using the cloneDeep function provided by lodash since it is probably the most popular one If we do not want the full lodash library in our project we can also do a standalone install of the cloneDeep function and mark it as a dev dependency so long as we only use it in our tests npm install save dev lodash clonedeep types lodash clonedeepPlease note that you will have to add esModuleInterop true in the compilerOptions section of your tsconfig json to be able use it Now all that is left todo pun intended is to adjust the mock factory accordingly createMockTodo tsimport cloneDeep from lodash clonedeep const createMockTodo overwrites Partial lt Todo gt gt return cloneDeep defaultTodo overwrites And that s it Now you have a truly immutable mock factory Note how we did not have to adjust any tests or other areas of the code to make this central change Sum upAs shown the mock factory pattern is a big win in scalibility and focus for creating test data while at the same time being pretty simple The simplicity makes it reusable for almost every object and I even use it sometimes to mock IO Modules like HTTP Services Using the same pattern for all test data makes writing tests more approchable and it is especially helpful for newcomers to the project as they can see default implementations of all the relevant data and types By having a mix of a default object and a factory function it becomes super flexible while at the same time minimizing maintenance tasks and the need for more static mock code To put this into perspective I once was able to delete ten thousands of lines of code from a project simply by introducing this pattern And there are still a lot of other ways to use and extend it but I ll leave it up to you to find and use them Link to working exampleYou can find a working example of the code in my Github repository davelosert mock factory pattern This repository shows the mock factory pattern and accompanies my blog post about it Mock Factory Pattern in TypeScriptThis repository shows a mock factory pattern example in typescript The mock factory pattern uses a combination of TypeScript s Partial together with a factory function to be able to create scalabe reusable and focused test data const defaultObject ExampleType key value key value const createMockObject overwrites Partial lt ExampleType gt gt defaultObject overwrites export createMockObject You can find two implementations of this pattern here src createMockUser ts simple examplesrc createMockTodo ts example using cloneDeep to ensure immutability You can read more about it in my blog post which this repository accompanies SetupTo execute the tests Clone this repository and cd into it on your terminalnpm installnpm test View on GitHub 2021-07-12 14:24:40
海外TECH DEV Community What's New in Codesphere Version 1.13.0 https://dev.to/codesphere/what-s-new-in-codesphere-version-1-13-0-1gaf What x s New in Codesphere Version  As we are sure that you saw Github finally built the singularity Jokes aside we have exciting news we just released v as the latest version of Codesphere The latest release includes new features to further improve your Codesphere experience New FeaturesCustom PlansAbility to give feedback via Fider​ FixesImproved the look and feel of our code searchNavigate the terminal and file tree faster Custom PlanYou know what your apps need best so Codesphere now allows you to pick the exact computing power for your project With custom plans in addition to having our existing three tiers Basic Awake and Boost you can now select exactly how much storage memory and processing speed you want for your app and only pay for what you really needAnd of course in keeping with our mission of making scaling your app seamless you can adjust these values at any point for when you experience sudden user growth FiderAt Codesphere our users are the center of our design process That s why you can now suggest features for Codesphere on our Fider Additionally if someone has already voiced your concern or suggestion for improvement you can upvote their comment Improved Code Search and TerminalLast but not least we ve done a number of notable bug fixes and improvements Most notably we ve improved the look and feel of code search In addition we ve made our terminal and file tree work much faster Our average IDE startup time is faster down to seconds from a previous of seconds We ll be continuing to reduce these load times to make your Codesphere experience smoother Thank You Our team is working hard to make Codesphere easier and even more enjoyable to use Stay tuned for future releases As always thanks for using Codesphere Happy coding 2021-07-12 14:16:14
海外TECH DEV Community Methods https://dev.to/eduardojuliao/methods-588f MethodsAs we write code to our software it can get messy and complicated to solve this issue we break small parts of our software into methods A method is a block of instructions that are executed only when it s called you can pass parameters to it and have it return a value Creating a methodA method has the follwing structure lt access modifier gt lt instance or static gt lt return type gt lt method name gt lt paramenters gt ExamplesThis an exmaple of a method that can be accessed by everyone indicated by the public access modifier Does not have a return indicate by the void keyword Has a name of WriteToConsole And recieves one parameter indicated by string messagepublic void WriteToConsole string message code For the method Add it recieves to paramenters value and value both of type int and returns the sum of both paramenters indicated by the return keyword public int Add int value int value return value value Breaking down these examples Access ModifierAccess Modifier defines how the code can access part of your code They are used not only for methods but for classes properties enums etc In C there are four types of access modifiers ModifierDescriptionprivateThe code can only be accessed inside the same class publicThe code can be accessed for everyone internalThe code can only be accessed protectedThe code can only be accessed inside the same class or classes that inherit from the declaring class You can also combine them for example Accessed public inside the projectpublic internal Accessed inly by classes that inherit an inside the same projectprotected internal Static vs InstanceA method that are not defined as static by the static keyword is always an instance method InstanceTo access an Instance method first you need to instantiate an object and it works with the instance data Let s use our calculator class as an example public class Calculator public int Add int x int y return x y public static Main Calculator calc new Calculator int result calc Add Now to exemplify what instance data are let s modify our calculator class our new calculator class will have the properties X and Y and a parameterless method public class Calculator public int X get set public int Y get set public int Add return X Y To use this static void Main Calculator calc new Calculator calc X calc Y int result calc Add Calculator calc new Calculator calc X calc Y int result calc Add Console WriteLine result Prints Console WriteLine result Prints StaticA static method is a unique to the application meaning that everyone will use the same copy of the method These methods lives in the Type level instead of a Instance level public class Calculator public static int Add int x int y return x y public static void Main calling a static method int result Calculator Add An instance class can have multiple static instance methods A static class can only have static methods and members A static method cannot be called from an instance of the object Return TypesA method can return a value to its caller the type returned by the method are indicated before the method name and they must have the return keyword void methods does not return a value public void ExecuteAndDoesNotReturnAValue code public string ExecuteAndReturnsAValue return This method has a return value Parameters and ArgumentsParameters are the options listed in the method signature Arguments are the values passed to the method The method signatures has parameters In this case two paramenters x and ypublic int Add int x int y return x y public static Main Calculator calc new Calculator When calling the method we pass arguments to its paramenters in this scenario we are passing to x and to y int result calc Add PolymorphismPolymorphism is when the same method has multiple functionalities public class Calculator returns the sum of a and b public int Add int a int b return a b returns the sum of a b and c public int Add int a int b int c return a b c In the example the calculator class have two methods to add values one that recieves arguments and another one that recieves arguments 2021-07-12 14:06:50
海外TECH DEV Community Uptime Is For Amateurs w/ Brian Murphy https://dev.to/linearb/uptime-is-for-amateurs-w-brian-murphy-ecn Uptime Is For Amateurs w Brian MurphyYou ve probably heard of Site Reliability Engineering but what does it really mean Brian Murphy knows As the SRE Manager at G Research Brian has spent his career building and managing successful SRE teams He joins Dev Interrupted to explain how SRE teams operate what success looks like and why uptime isn t the most important metric Listen to the full episode Episode Highlights include What success looks like for SRE teamsWhat kind of engineer is best for an SRE roleThe most important metrics for SRE teamsHow to get started with SRE at your company Join the Dev Interrupted Discord ServerWith over members the Dev Interrupted Discord Community is the best place for Engineering Leaders to engage in daily conversation No sales people allowed Join the community gt gt 2021-07-12 14:06:37
海外TECH DEV Community Developed a web app to convert images to Pokémon ASCII art style https://dev.to/yuiko/developed-a-web-app-to-convert-images-to-pokemon-ascii-art-style-mb7 2021-07-12 14:05:56
海外TECH DEV Community Hack Any Email Account With A Phishing Link https://dev.to/unitybuddy/hack-any-email-account-with-a-phishing-link-fm6 Hack Any Email Account With A Phishing LinkHello buddies I think you will understand the purpose of this tutorial So today we re going to hack a email with a phishing link without coding Wait what s a phishing Well you might know that However let s learn about it too Only for educational purposes I won t take any responsibility to any crimes that you do with this way What is phishing Phishing is a type of social engineering attack often used to steal user data including login credentials and credit card numbers It occurs when an attacker masquerading as a trusted entity dupes a victim into opening an email instant message or text message The recipient is then tricked into clicking a malicious link which can lead to the installation of malware the freezing of the system as part of a ransomware attack or the revealing of sensitive information An attack can have devastating results For individuals this includes unauthorized purchases the stealing of funds or identify theft Several things can occur by clicking the link For example The user is redirected to myuniversity edurenewal com a bogus page appearing exactly like the real renewal page where both new and existing passwords are requested The attacker monitoring the page hijacks the original password to gain access to secured areas on the university network The user is sent to the actual password renewal page However while being redirected a malicious script activates in the background to hijack the user s session cookie This results in a reflected XSS attack giving the perpetrator privileged access to the university network However today we re hacking email to get IP address password Username etc Don t use it in wrong methods Smikta net What is Smikta net Smikta net is an online website that is very similar to the z shadow that offers users to hack Email Instagram and Facebook accounts It gets attention when z shadow stops working It is popular all around the world but the following five countries browse the site more often AlgeriaEgyptViet NamColombiaVenezuelaThe data is not accurate because most people access these types of sites using a VPN Before Smikta z shadow info was the king among phishing websites but it shut downed in Z shadow was making money with ads Because z shadow was illegal that s why using popular ad network that can provide good income wasn t an option Z shadow users were also interested in the hacking they rarely click on the ad Which turn low income So This could be the reason why Z shadow went down However we have smikta now Start Hacking Get your phishing linkTo do that you need to go to smikta net You will be directed to home page First of all you need to create an account To create an account you need to enter a username password email age and choose any country Sometimes it will give an error Then you have to change usernames email or anything I recommend NOT to add your real e mail since it doesn t give anything to verify or something and we re not sure this is safe Once you enter all information save it and login with the same username and password You ll redirect to the page like this Select what you want I will choose email Next to the link photo there are flags which represent languages Choose UK flag Now you will directed to a page like this Copy the link and you re done Victim s info will be in My Victims tab once they signed in Tease The Victim So we should make Victim to click this link If he she is a friend of you it is easy I m not telling you to hack your friends accounts So here I m going to use a my friend who is a crazy about BTS Since she doesn t know anything about hacking it is super easy Open email and compose Type a text that will attract him her Make sure you ve included a Hyperlink instead of showing original link Original link is somewhat perplex Here is the full email that I sent I m a great astute buddy So this is how you can hack someone s email through a phishing link and this the same way that you can be hacked through phishing Happy coding Originally published on Hashnode 2021-07-12 14:03:09
海外TECH DEV Community Create a Fullstack Next.js App with Authentication, Data, and Storage https://dev.to/aspittel/create-a-fullstack-next-js-app-with-authentication-data-and-storage-47od Create a Fullstack Next js App with Authentication Data and StorageNext js is one of my favorite tools for web development but it s a frontend framework How can you build a fullstack application with it In this tutorial we ll build a Server side Rendered Next js app with a database backed backend static image storage and authentication It ll be National Park themed signed in users will be able to create new parks and everyone will be able to view all added parks If you re new to Next js I wrote a tutorial on how to get started with it If you re new to AWS Amplify here s a tutorial on that as well Create your app BackendFirst create a new Next app npx create next app national parksMake sure you have the Amplify CLI installed if not follow these instructions Then initialize Amplify for your project You should be able to accept the configuration it generates for you and then select your AWS profile or enter your access keys amplify initThen we ll configure the needed services First we ll add authentication amplify add authAnswer the ensuing questions like so Do you want to use the default authentication and security configuration Default configurationHow do you want users to be able to sign in UsernameDo you want to configure advanced settings No I am done Now we ll add storage to our app Select the default configuration options for all questions other than who should have access there give authenticated users access to all actions and unauthenticated users the ability to read data amplify add storage Please select from one of the below mentioned services Content Images audio video etc Please provide a friendly name for your resource that will be used to label this category in the project scdd Please provide bucket name nationalparkbrowserffddffadfe Who should have access Auth and guest users What kind of access do you want for Authenticated users create update read delete What kind of access do you want for Guest users read Do you want to add a Lambda Trigger for your S Bucket NoFinally we ll create an API We ll select GraphQL and use an API key for authorization Open up the GraphQL schema in your text editor amplify add api Please select from one of the below mentioned services GraphQL Provide API name nationalparks Choose the default authorization type for the API API key Enter a description for the API key After how many days from now the API key should expire Do you want to configure advanced settings for the GraphQL API No I am done Do you have an annotated GraphQL schema No Choose a schema template Single object with fields e g “Todo with ID name description If your schema graphql file didn t open in your text editor open it up It will be under amplify backend api nationalparks There will be a sample GraphQL schema already in there but we ll edit it to have the data format we need We ll create two models SObject and Park Park will store our parks each park will have an id a name and an image That image will reference an image stored in Amazon S we created a bucket when we ran amplify add storage The SObject will have information about the image stored on S it s bucket region and key We ll use the key to access the images in our app type SObject bucket String region String key String type Park model id ID name String image SObject Now run amplify push to deploy your resources to the cloud You now have a fully deployed backend Install the Amplify libraries These will allow us to use JavaScript helper code and React components to expedite our frontend development npm i aws amplify aws amplify ui reactOnce our backend is deployed we ll need to link our frontend to our backend using Amplify configure We ll use the configuration information in the src aws exports js file that s automatically generated by Amplify and also make sure to set the ssr flag to true so that we can pull from our API on the server Add this to the top of your pages app js import Amplify from aws amplify import config from src aws exports Amplify configure config ssr true Frontend LogicPhew Done with configuration code now we can write our frontend React logic Let s first create a form in order to create a new park Create a file pages create park js that will house a page that will render our form Create a React component in the file create park jsfunction CreatePark return lt h gt Create Park lt h gt export default CreateParkThen we ll use the withAuthenticator higher order component to require sign in before going to the create park page It will also enable sign up and require account confirmation create park jsimport withAuthenticator from aws amplify ui react function CreatePark return lt h gt Create Park lt h gt export default withAuthenticator CreatePark Now we ll create a React form where a user can input the name of the park and an image create park jsimport useState from react import withAuthenticator from aws amplify ui react function CreatePark const name setName useState const image setImage useState const handleSubmit async gt return lt form onSubmit handleSubmit gt lt h gt Create a Park lt h gt lt label htmlFor name gt Name lt label gt lt input type text id name onChange e gt setName e target value gt lt label htmlFor image gt Image lt label gt lt input type file id image onChange e gt setImage e target files gt lt input type submit value create gt lt form gt export default withAuthenticator CreatePark Finally we ll implement the handleSubmit function which will upload the user s image to S and then store our newly created park in our data base using our GraphQL API We ll import the configuration information from the aws exports js again and one of the GraphQL mutations that Amplify generated in the src graphql directory Then we ll upload the image using Storage put with the image s name as the key and the image itself as the value Then we ll use API graphql to run the graphQL mutation with the user s inputted data and configuration information about the S bucket create park jsimport useState from react import API Storage from aws amplify import withAuthenticator from aws amplify ui react import createPark from src graphql mutations import config from src aws exports function CreatePark const name setName useState const image setImage useState const handleSubmit async e gt e preventDefault upload the image to S const uploadedImage await Storage put image name image console log uploadedImage submit the GraphQL query const newPark await API graphql query createPark variables input name image use the image s region and bucket from aws exports as well as the key from the uploaded image region config aws user files s bucket region bucket config aws user files s bucket key uploadedImage key console log newPark return lt form onSubmit handleSubmit gt lt h gt Create a Park lt h gt lt label htmlFor name gt Name lt label gt lt input type text id name onChange e gt setName e target value gt lt label htmlFor image gt Image lt label gt lt input type file id image onChange e gt setImage e target files gt lt input type submit value create gt lt form gt export default withAuthenticator CreatePark If you want here are a few lines of CSS you can paste into the styles globals css file to make the app look a little more presentable amplify s image width overflow hidden margin auto container max width px margin auto padding rem text align center img square img h margin auto text align center Finally we ll list all of the parks on the index page We ll use the listParks graphql query that was generated in src graphql queries js to fetch the parks and the AmplifySImage component to render the images on the page We ll fetch the parks on the server side so that our app will dynamically update when new parks are added import Head from next head import withSSRContext from aws amplify import listParks from src graphql queries import AmplifySImage from aws amplify ui react import Link from next link export async function getServerSideProps const SSR withSSRContext const data await SSR API graphql query listParks return props parks data listParks items export default function Home parks return lt div gt lt Head gt lt title gt National Parks lt title gt lt Head gt lt div className container gt lt h gt National Parks lt Link href create park gt lt Link gt lt h gt lt div className img grid gt parks map park gt return lt div key park id className img square gt lt h gt park name lt h gt use the AmplifySImage component to render the park s image using its S key lt AmplifySImage imgKey park image key height px gt lt div gt lt div gt lt div gt lt div gt Frontend DeploymentNow our app has a complete frontend Let s deploy it via Amplify hosting Push your code to a GitHub repository then open up the Amplify Console for your app Click on the frontend environments tab and then the connect app button Choose your repository use the auto generated configuration and save and deploy It ll take a few minutes and then your app will be live No extra configuration is needed Amplify will infer that you re creating a SSR Next js app and deploy the needed hosting resources for your app Here s more information if you re interested CleanupYou may not want to keep the app deployed in which case you can click the delete app button in the AWS console or run amplify delete from your command line This will de provision your backend resources from your AWS account AWS Amplify allows you to make your Next js app fullstack with data image storage and authentication without having to have heavy knowledge of the cloud or fullstack development 2021-07-12 14:02:07
Apple AppleInsider - Frontpage News Outage of iCloud Mail stops some users from getting their messages https://appleinsider.com/articles/21/07/12/outage-of-icloud-mail-stops-some-users-from-getting-their-messages?utm_medium=rss Outage of iCloud Mail stops some users from getting their messagesA number of users are experiencing issues when using iCloud Mail with some customers unable to log in to their mail account via the Mail app or third party apps Starting from AM eastern time on Monday Apple s System Status page advises of an issue with iCloud Mail According to the notification the issue is ongoing and some users are unaffected The nature of the problem isn t disclosed other than Users may be unable to access iCloud mail It also appears to be a problem limited just to iCloud Mail with other iCloud online services appearing to be working with no reported faults Read more 2021-07-12 14:50:42
Apple AppleInsider - Frontpage News Nanoleaf adds Thread, cool NFC automations, and intelligent notifications on HomeKit Insider https://appleinsider.com/articles/21/07/12/nanoleaf-adds-thread-cool-nfc-automations-and-intelligent-notifications-on-homekit-insider?utm_medium=rss Nanoleaf adds Thread cool NFC automations and intelligent notifications on HomeKit InsiderOn the latest HomeKit Insider Thread support arrives for select Nanoleaf devices Aqara releases a HomeKit shade controller and how to create smart NFC controls The biggest story of the week is a new firmware update rolling out to Nanoleaf s Shapes and Elements line This new firmware brings Thread support to these devices This isn t standard Thread support though as the lights are still operated over Wi Fi Instead they act as Thread border routers bridging your home s existing Thread devices to the network That means they now operate just like Apple s HomePod mini and so can extend the robustness of your Thread network Read more 2021-07-12 14:24:22
Apple AppleInsider - Frontpage News T-Mobile has fastest 5G speeds with widest availability in the US https://appleinsider.com/articles/21/07/12/t-mobile-has-fastest-5g-speeds-with-widest-availability-in-the-us?utm_medium=rss T Mobile has fastest G speeds with widest availability in the USAn industry report shows T Mobile is the top mobile carrier in G download speed and widespread availability across the US mmWave G provides high speeds but isn t widely availableApple s iPhone lineup is capable of G speeds which has been a big selling point for the devices The high bandwidth wireless technology allows for near gigabit internet speeds when ideal conditions are met Read more 2021-07-12 14:16:44
Apple AppleInsider - Frontpage News Apple TV+ to add multiple Russian-language shows in new deal https://appleinsider.com/articles/21/07/12/apple-tv-to-add-multiple-russian-language-shows-in-new-deal?utm_medium=rss Apple TV to add multiple Russian language shows in new dealRussian producer Alexander Rodnyansky has signed with Apple TV in a deal that gets the streaming service first look at his proposed films and series both Russian language and multilingual Alexander Rodnyansky source Okras Apple TV is reportedly hoping to finance multiple series or films with a Russian focus No projects have been announced nor has any time limit been revealed about Apple s first look deal with producer Alexander Rodnyansky Read more 2021-07-12 14:14:12
海外TECH Engadget Verizon's call filtering app now blocks area code spoofing https://www.engadget.com/verizon-call-filter-neighborhood-spoofing-142918590.html?src=rss Verizon x s call filtering app now blocks area code spoofingSpoofed scam calls are bad enough but neighborhood spoofing is worse ーit can all be too tempting to answer when you see a number eerily similar to your own Verizon currently Engadget s parent company might have a solution It s updating its free Call Filter app with a quot Neighborhood Filter quot that blocks calls from numbers that share your area code and prefix Scammers who try to reach you will go straight to voicemail You can specify other neighborhood numbers if you know scam artists use them provided you pay per month for Call Filter Plus And yes you can make exceptions Any number in your contact list or allowed numbers will still get through and you can correct an accidental block by telling the app to ignore the filter for future calls The updated app is available now for Android and iOS Neighborhood filtering isn t the most sophisticated defense against scam calls but it s arguably overdue This kind of spamming is frequent to the point where you might get multiple calls per day A simple filter could lead to far fewer annoyances not to mention greater trust in those calls that do come in 2021-07-12 14:29:18
海外TECH CodeProject Latest Articles Dazzling Dashboards and Business Intelligence with Azure Synapse Analytics Part 3: Creating Management-Ready Dashboards with Power BI https://www.codeproject.com/Articles/5306724/Dazzling-Dashboards-and-Business-Intelligence-wi-3 power 2021-07-12 14:29:00
海外科学 NYT > Science Did a Cuttlefish Write This? https://www.nytimes.com/2021/07/09/science/cuttlefish-cognition-cephalopods.html Did a Cuttlefish Write This Octopuses and squid are full of cephalopod character But more scientists are making the case that cuttlefish hold the key to unlocking evolutionary secrets about intelligence 2021-07-12 14:10:07
金融 RSS FILE - 日本証券業協会 公社債発行額・償還額等 https://www.jsda.or.jp/shiryoshitsu/toukei/hakkou/index.html 発行 2021-07-12 15:00:00
金融 RSS FILE - 日本証券業協会 J-IRISS https://www.jsda.or.jp/anshin/j-iriss/index.html iriss 2021-07-12 14:46:00
金融 金融庁ホームページ 「新型コロナウイルス感染症関連情報」特設ページを更新しました。 https://www.fsa.go.jp/ordinary/coronavirus202001/press.html 新型コロナウイルス 2021-07-12 15:30:00
金融 金融庁ホームページ 新型コロナウイルス感染症に関連する有価証券報告書等の提出期限について公表しました。 https://www.fsa.go.jp/news/r3/sonota/20210712.html 新型コロナウイルス 2021-07-12 15:30:00
ニュース BBC News - Home Racist abuse of players 'unforgiveable' says Southgate https://www.bbc.co.uk/sport/football/57800431 Racist abuse of players x unforgiveable x says SouthgateEngland manager Gareth Southgate says online racist abuse of Marcus Rashford Jadon Sancho and Bukayo Saka is unforgivable after Prime Minister Boris Johnson and the FA condemn the social media posts 2021-07-12 14:23:44
ニュース BBC News - Home Marcus Rashford mural defaced after England Euro 2020 defeat https://www.bbc.co.uk/news/uk-england-manchester-57803161 child 2021-07-12 14:30:39
ニュース BBC News - Home Cuba protests: Thousands rally against government as economy struggles https://www.bbc.co.uk/news/world-latin-america-57799852 civil 2021-07-12 14:31:24
ニュース BBC News - Home Matsuyama, Watson and Johnson out of The Open as withdrawals mount https://www.bbc.co.uk/sport/golf/57795479 Matsuyama Watson and Johnson out of The Open as withdrawals mountMasters champion Hideki Matsuyama out of The Open after testing positive for coronavirus while Bubba Watson also withdraws due to a close contact testing positive 2021-07-12 14:25:21
ニュース BBC News - Home What are the rules for travelling to green, amber and red list countries? https://www.bbc.co.uk/news/explainers-52544307 countries 2021-07-12 14:30:14
北海道 北海道新聞 強制労働の説明不十分、ユネスコ 明治の産業革命遺産で決議案 https://www.hokkaido-np.co.jp/article/566291/ 教育科学 2021-07-12 23:19:00
北海道 北海道新聞 多様性保全資金、2千億ドルに 30年まで、「愛知目標」の後継 https://www.hokkaido-np.co.jp/article/566289/ 資金 2021-07-12 23:16:00
北海道 北海道新聞 スー・チー氏、また訴追 ミャンマー、汚職容疑で https://www.hokkaido-np.co.jp/article/566284/ 訴追 2021-07-12 23:11:00
北海道 北海道新聞 南ア前大統領の一部支持者が略奪 収監から解放求め暴徒化 https://www.hokkaido-np.co.jp/article/566278/ 前大統領 2021-07-12 23:02:00
仮想通貨 BITPRESS(ビットプレス) [日経] ビットコイン採掘、規制強化で脱中国 価格乱高下の一因 https://bitpress.jp/count2/3_9_12642 規制強化 2021-07-12 23:25:22

コメント

このブログの人気の投稿

投稿時間:2021-06-17 05:05:34 RSSフィード2021-06-17 05:00 分まとめ(1274件)

投稿時間:2021-06-20 02:06:12 RSSフィード2021-06-20 02:00 分まとめ(3871件)

投稿時間:2020-12-01 09:41:49 RSSフィード2020-12-01 09:00 分まとめ(69件)