投稿時間:2021-12-21 19:39:35 RSSフィード2021-12-21 19:00 分まとめ(54件)

カテゴリー等 サイト名等 記事タイトル・トレンドワード等 リンクURL 頻出ワード・要約等/検索ボリューム 登録日
ROBOT ロボスタ 「アレクサ、ジャパンハートに100円寄付して」国内認定NPO法人ジャパンハート Alexaスキルを活用した寄付を開始 https://robotstart.info/2021/12/21/japan-heart-alexa-donation.html alexa 2021-12-21 09:24:33
IT ITmedia 総合記事一覧 [ITmedia ビジネスオンライン] 「サントリー1万人の第九」コンサートで投稿動画データを解析 編集時間を40%削減 https://www.itmedia.co.jp/business/articles/2112/21/news128.html itmedia 2021-12-21 18:07:00
IT 情報システムリーダーのためのIT情報専門サイト IT Leaders アスクル、ビッグデータ分析環境をオンプレミスからBigQueryに移行、朝9時前に前日の実績を参照 | IT Leaders https://it.impress.co.jp/articles/-/22495 アスクル、ビッグデータ分析環境をオンプレミスからBigQueryに移行、朝時前に前日の実績を参照ITLeadersアスクル東京都江東区は年月日、ビッグデータ分析環境をオンプレミス環境からGoogleCloud上のBigQueryへと移行した。 2021-12-21 18:48:00
AWS AWS Japan Blog SAP HANA システムレプリケーション – セカンダリインスタンスのメモリサイズ削減 https://aws.amazon.com/jp/blogs/news/sap-hana-sizing-considerations-for-secondary-instance-with-reduced-memory-footprint/ 共有セカンダリ共有セカンダリの一般的な使用例は、アクティブな品質保証QASインスタンスとセカンダリHANAデータベースインスタンスを同じホスト上で運用することで、MCOSMultipleComponentsOneSystemとも呼ばれます。 2021-12-21 09:54:09
python Pythonタグが付けられた新着投稿 - Qiita 【Python】英単語の音声ファイルをスクレイピングして集める https://qiita.com/s0ur_cr3am/items/41c8ab7053034bf5f284 英単語の音声ファイルが欲しかったので、Weblioさんからスクレイピングして拝借したいと思います。 2021-12-21 18:28:53
python Pythonタグが付けられた新着投稿 - Qiita 『pythonで音を鳴らす方法を詳しめに解説』を外部ライブラリなしで実装してみた https://qiita.com/asana_yui/items/f61a4cdfc6f9f750c0ce 外部ライブラリに頼らないとどうなるか外部ライブラリに頼らないとどうなるかという話ですが、まずはnumpyから、元の記事を見ていただければ何となくわかると思いますが、音声ファイルはたくさんの数値の集まりで出来ています、配列ですね。 2021-12-21 18:26:04
python Pythonタグが付けられた新着投稿 - Qiita python-docxの備忘録 https://qiita.com/dkclimb/items/6ce4896d755f7ad4acde 毎日のように「MicrosoftWord」を利用する職業の人が自分でワード文書docxファイルを自動で生成するアプリケーションや文書の内容を自動で解析できるアプリケーションを作りたいと思った時に参考にしていただけると幸いです。 2021-12-21 18:23:51
js JavaScriptタグが付けられた新着投稿 - Qiita Emerging Dynamics社の新サイトのための3倍のパフォーマンス改善のケーススタディ https://qiita.com/human_science/items/ac3c76994a1e4077f6d0 彼らはフラットファイルのCMSであるGravCMSを使用していましたが、パフォーマンスに問題があり、それを処理する必要がありました。 2021-12-21 18:34:51
js JavaScriptタグが付けられた新着投稿 - Qiita JSでのストレージUtil作成 https://qiita.com/MADAOU/items/35076a04792e57c53bae JSでのストレージUtil作成説明セッションストレージとロカールストレージUtilの作成方法を共有します。 2021-12-21 18:33:46
js JavaScriptタグが付けられた新着投稿 - Qiita JSでのレスポンスクラスハンドラーの作成 https://qiita.com/MADAOU/items/f72f3d7985004be2e84a JSでのレスポンスクラスハンドラーの作成目的レスポンスクラスハンドラーの作成方法を共有します。 2021-12-21 18:30:15
Program [全てのタグ]の新着質問一覧|teratail(テラテイル) gridを使って、画像の幅を広げたい https://teratail.com/questions/374918?rss=all gridを使って、画像の幅を広げたい前提・実現したいこと表題の通り、画像をmaxwidthnbsppxの時に画像を広げたいが、できない。 2021-12-21 18:54:44
Program [全てのタグ]の新着質問一覧|teratail(テラテイル) WordpressのURLをhttpsにしたら管理画面が開けなくなった。 https://teratail.com/questions/374917?rss=all https 2021-12-21 18:50:03
Program [全てのタグ]の新着質問一覧|teratail(テラテイル) Pytrends(Googleトレンドのデータ取得API)の利用制限について https://teratail.com/questions/374916?rss=all pytrends 2021-12-21 18:45:06
Program [全てのタグ]の新着質問一覧|teratail(テラテイル) intel REALSENSEのTensorFlowドキュメント Part5が実行できない https://teratail.com/questions/374915?rss=all intelREALSENSEのTensorFlowドキュメントPartが実行できない前提・実現したいことintelnbspREALSENSEのTensorFlowのドキュメント中の「PartnbspnbspnbspApplyingnbsptrainednbspnetworknbsptonbsprealnbspdata」を実行したところエラーが発生しており、解決方法がわからず困っています。 2021-12-21 18:16:01
Program [全てのタグ]の新着質問一覧|teratail(テラテイル) 「Microsoft URL Rewrite」でリダイレクト先にポート番号を指定する時にはどのように設定すればよいのでしょうか? https://teratail.com/questions/374914?rss=all 「MicrosoftURLRewrite」でリダイレクト先にポート番号を指定する時にはどのように設定すればよいのでしょうか環境OSnbspnbspnbspnbspnbspnbspnbspnbspnbspnbspnbspWindowsnbspServernbspWebサーバIISVernbsp質問Webサーバーにのポートにアクセスしてきた時にはのポートにリダイレクトしようと考えているのですが、どうもうまく動作せず悩んでおります。 2021-12-21 18:11:32
Program [全てのタグ]の新着質問一覧|teratail(テラテイル) semopyからModelをインポートしようとするとImportErrorが出てくる https://teratail.com/questions/374913?rss=all semopyからModelをインポートしようとするとImportErrorが出てくる実現したいことsemopyをインポートしてModelっていうのをそこからインポートしようとすると、エラーが出てしまうので、対処法を教えて欲しいです。 2021-12-21 18:11:14
Program [全てのタグ]の新着質問一覧|teratail(テラテイル) Google Formの回答に管理番号を振りたい https://teratail.com/questions/374912?rss=all GoogleFormの回答に管理番号を振りたいGooglenbspFormの回答をスプレッドシートで管理しています。 2021-12-21 18:10:07
Program [全てのタグ]の新着質問一覧|teratail(テラテイル) Rで、複数行に渡る数式を画像出力したい https://teratail.com/questions/374911?rss=all Rで、複数行に渡る数式を画像出力したい前提・実現したいことRで、複数行に渡る数式を画像出力したい発生している問題・エラーメッセージ質問の通りのことができない。 2021-12-21 18:10:00
Program [全てのタグ]の新着質問一覧|teratail(テラテイル) HTML/CSSでボタンがコメントと重なってしまう https://teratail.com/questions/374910?rss=all HTMLCSSでボタンがコメントと重なってしまうHTMLCSS初心者です。 2021-12-21 18:09:53
Program [全てのタグ]の新着質問一覧|teratail(テラテイル) python 足した配列の値の平均 https://teratail.com/questions/374909?rss=all 2021-12-21 18:07:03
Docker dockerタグが付けられた新着投稿 - Qiita WindowsでDockerを使う時、正しくファイル配置しないと激重になるので注意 https://qiita.com/minato-naka/items/84508472c04f628e576e ただし、具体的にどこにどうファイルを置けばいいのか、というのが初心者には読み取りづらい気がする設定作業これから設定作業を解説していきますが、・WSL自体が有効になっていない人・WSLは有効だがDockerがWSLベースになっていない人・DockerがWSLベースになっているがソースコードの配置場所が正しくない人など、人によっていろいろ状態が違い、それぞれ必要な作業が違います。 2021-12-21 18:14:25
GCP gcpタグが付けられた新着投稿 - Qiita いつの間にかGCPで1万円の課金が発生していた件 https://qiita.com/passive-radio/items/e70a8572ffdb2d0ca04e セキュリティー上良くないなと思い段階認証を設定したが、GCPでそのメールアカウントを使ってsmtp経由で送信しているのを忘れていた。 2021-12-21 18:44:04
Git Gitタグが付けられた新着投稿 - Qiita [初心者向け]sourcetreeを使いたいけど、コマンドとかわからない for mac https://qiita.com/nonohohonda-develop/items/69a8cba993ad0e4b453e 初心者向けsourcetreeを使いたいけど、コマンドとかわからないformac対象・macユーザー・業界に入りたてで、コマンドやgitがわからない人・とりあえずsourcetreeを使えればいい人・とりあえずGitHubからクローンしたい人前提GitHubのアカウントを作成済であるダウンロードする公式sourcetreeサイトURLDownloadforMacOSXを選択Importantinformationのダイアログ表示内容同意しますかチェックを入れてDownloadを選択画面下部のインストールしたファイルを開く。 2021-12-21 18:14:11
Ruby Railsタグが付けられた新着投稿 - Qiita 1回の送信で複数のレコードを作成したい https://qiita.com/siroyuri/items/c01094f08b34ed0f773b rubyversionというファイルにそう書いてあったのでテーブル名Categoriesテーブルcnameuser外部キーItemsテーブルnamecategory外部キー他にもテーブルやカラムはありますが、試作段階で使用しているのはこれだけです。 2021-12-21 18:28:03
技術ブログ Mercari Engineering Blog Cloud SpannerとCloud Pub/Subとで実装するTransactional outboxパターン https://engineering.mercari.com/blog/entry/20211221-transactional-outbox/ cloudpubsub 2021-12-21 10:00:51
技術ブログ Developers.IO デザインツール「Framer」の「Handshake」機能をNext.jsで試してみた https://dev.classmethod.jp/articles/tried-to-use-framer-handshake-with-nextjs/ framer 2021-12-21 09:35:11
技術ブログ Developers.IO Cloudformationのテンプレートに使える関数をまとめてみました ( 2 ) https://dev.classmethod.jp/articles/lim-cloudformation-function-2/ cloudformation 2021-12-21 09:28:55
海外TECH MakeUseOf 5 Gift Exchange Apps for a Fun Christmas Party https://www.makeuseof.com/gift-exchange-apps-fun-christmas-party/ holiday 2021-12-21 09:30:23
海外TECH DEV Community Introduction to Management, Governance and Migration with AWS - Part 2 https://dev.to/aws-builders/introduction-to-management-governance-and-migration-with-aws-part-2-3690 Introduction to Management Governance and Migration with AWS Part Customers are able to decrease their IT costs by moving infrastructure and applications to the cloud and are able to free up resources to focus on what truly differentiates their business By migrating legacy applications to the cloud customers routinely save Customers who move to AWS from on premises achieve fewer downtime hours enabling a better customer experience Customers who migrate to AWS gain in staff productivity and increase in agility In this blog post we will discuss some of the most important AWS Migration Services Moving from an on premises environment hosting facility or other public cloud to AWS customers can benefit from IT cost savings productivity improvements business agility and operational resilience The Introduction to AWS is a Series containing different articles that provide a basic introduction to different aws topics categories Each article covers the detailed guide on how to work with particular topic category This series aims at providing A Getting Started Guide on Different aws topics categories AWS Migration ServicesAWS uses real customer results over years of migrations to continuously develop and refine our services AWS helps customers achieve your desired business outcomes with an end to end set of first party and third party tools and services AWS helps customers lift and shift refactor or modernize their workloads AWS can help you improve operational efficiency and application performance quickly AWS has been providing organizations with a secure global cloud presence since AWS Migration HubAWS Migration Hub provides a single location to track the progress of application migrations across multiple AWS and partner solutions Using Migration Hub allows you to choose the AWS and partner migration tools that best fit your needs while providing visibility into the status of migrations across your portfolio of applications Migration Hub also provides key metrics and progress for individual applications regardless of which tools are being used to migrate them For example you might use AWS Database Migration Service AWS Server Migration Service and partner migration tools such as ATADATA ATAmotion CloudEndure Live Migration or RiverMeadow Server Migration Saas to migrate an application comprised of a database virtualized web servers and a bare metal server Using Migration Hub you can view the migration progress of all the resources in the application This allows you to quickly get progress updates across all of your migrations easily identify and troubleshoot any issues and reduce the overall time and effort spent on your migration projects AWS Application Discovery ServiceAWS Application Discovery Service helps enterprise customers plan migration projects by gathering information about their on premises data centers Planning data center migrations can involve thousands of workloads that are often deeply interdependent Server utilization data and dependency mapping are important early first steps in the migration process AWS Application Discovery Service collects and presents configuration usage and behavior data from your servers to help you better understand your workloads The collected data is retained in encrypted format in an AWS Application Discovery Service data store You can export this data as a CSV file and use it to estimate the Total Cost of Ownership TCO of running on AWS and to plan your migration to AWS In addition this data is also available in AWS Migration Hub where you can migrate the discovered servers and track their progress as they get migrated to AWS AWS Server Migration ServiceAWS Server Migration Service SMS is an agentless service which makes it easier and faster for you to migrate thousands of on premises workloads to AWS AWS SMS allows you to automate schedule and track incremental replications of live server volumes making it easier for you to coordinate large scale server migrations AWS DataSyncAWS DataSync is a data transfer service that makes it easy for you to automate moving data between on premises storage and Amazon S or Amazon Elastic File System Amazon EFS DataSync automatically handles many of the tasks related to data transfers that can slow down migrations or burden your IT operations including running your own instances handling encryption managing scripts network optimization and data integrity validation You can use DataSync to transfer data at speeds up to times faster than open source tools DataSync uses an on premises software agent to connect to your existing storage or file systems using the Network File System NFS protocol so you don t have write scripts or modify your applications to work with AWS APIs You can use DataSync to copy data over AWS Direct Connect or internet links to AWS The service enables one time data migrations recurring data processing workflows and automated replication for data protection and recovery Getting started with DataSync is easy Deploy the DataSync agent on premises connect it to a file system or storage array select Amazon EFS or S as your AWS storage and start moving data You pay only for the data you copy AWS Transfer FamilyAWS Transfer Family provides fully managed support for file transfers directly into and out of Amazon S or Amazon EFS With support for Secure File Transfer Protocol SFTP File Transfer Protocol over SSL FTPS and File Transfer Protocol FTP the AWS Transfer Family helps you seamlessly migrate your file transfer workflows to AWS by integrating with existing authentication systems and providing DNS routing with Amazon Route so nothing changes for your customers and partners or their applications With your data in Amazon S or Amazon EFS you can use it with AWS services for processing analytics machine learning archiving as well as home directories and developer tools Getting started with the AWS Transfer Family is easy there is no infrastructure to buy and set up AWS Migration EvaluatorCreating a business case on your own can be a time consuming process and does not always identify the most cost effective options A business case is the first step in your migration journey With Migration Evaluator Formerly TSO Logic you can gain access to insights and accelerate decision making for migration to AWS at no cost Following data collection you will quickly receive an assessment including a projected cost estimate and savings of running your on premises workloads in the AWS Cloud After receiving your initial assessment your organization can work with the Migration Evaluator team to create a directional business case if additional insights are needed The team will capture your migration objective and use analytics to narrow down the migration patterns best suited to your business needs Your organization gets access to AWS expertise visibility into the costs associated with multiple migration strategies and insights on how reusing existing software licensing reduces costs further Results are captured in a transparent business case report to further align business and technology stakeholders while providing a prescriptive next step in your migration journey AWS Application Migration ServiceAWS Application Migration Service AWS MGN allows you to quickly realize the benefits of migrating applications to the cloud without changes and with minimal downtime AWS Application Migration Service minimizes time intensive error prone manual processes by automatically converting your source servers from physical virtual or cloud infrastructure to run natively on AWS It further simplifies your migration by enabling you to use the same automated process for a wide range of applications And by launching non disruptive tests before migrating you can be confident that your most critical applications such as SAP Oracle and SQL Server will work seamlessly on AWS AWS Database Migration ServiceAWS Database Migration Service helps you migrate databases to AWS easily and securely The source database remains fully operational during the migration minimizing downtime to applications that rely on the database The AWS Database Migration Service can migrate your data to and from most widely used commercial and open source databases The service supports homogeneous migrations such as Oracle to Oracle as well as heterogeneous migrations between different database platforms such as Oracle to Amazon Aurora or Microsoft SQL Server to MySQL It also allows you to stream data to Amazon Redshift from any of the supported sources including Amazon Aurora PostgreSQL MySQL MariaDB Oracle SAP ASE and SQL Server enabling consolidation and easy analysis of data in the petabyte scale data warehouse AWS Database Migration Service can also be used for continuous data replication with high availability AWS SnowballAWS Snowball is a petabyte scale data transport solution that uses secure appliances to transfer large amounts of data into and out of AWS The use of Snowball addresses common challenges with large scale data transfers including high network costs long transfer times and security concerns Transferring data with Snowball is simple fast secure and can be as little as one fifth the cost of high speed Internet With Snowball you don t need to write any code or purchase any hardware to transfer your data Simply create a job in the AWS Management Console and a Snowball appliance will be automatically shipped to you Once it arrives attach the appliance to your local network download and run the Snowball client to establish a connection and then use the client to select the file directories that you want to transfer to the appliance The client will then encrypt and transfer the files to the appliance at high speed Once the transfer is complete and the appliance is ready to be returned the E Ink shipping label will automatically update and you can track the job status using the Amazon Simple Notification Service SNS text messages or directly in the console Snowball uses multiple layers of security designed to protect your data including tamper resistant enclosures bit encryption and an industry standard Trusted Platform Module TPM designed to ensure both security and full chain of custody of your data Once the data transfer job has been processed and verified AWS performs a software erasure of the Snowball appliance AWS Snowball EdgeAWS Snowball Edge is a data migration and edge computing device that comes in two options Snowball Edge Storage Optimized provides TB of capacity and vCPUs and is well suited for local storage and large scale data transfer Snowball Edge Compute Optimized provides vCPUs and an optional GPU for use cases such as advanced machine learning and full motion video analysis in disconnected environments Customers can use these two options for data collection machine learning and processing and storage in environments with intermittent connectivity such as manufacturing industrial and transportation or in extremely remote locations such as military or maritime operations before shipping it back to AWS These devices may also be rack mounted and clustered together to build larger temporary installations Snowball Edge supports specific Amazon EC instance types as well as AWS Lambda functions so customers may develop and test in AWS then deploy applications on devices in remote locations to collect pre process and return the data Common use cases include data migration data transport image collation IoT sensor stream capture and machine learning AWS SnowmobileAWS Snowmobile is an exabyte scale data transfer service used to move extremely large amounts of data to AWS You can transfer up to PB per Snowmobile a foot long ruggedized shipping container pulled by a semi trailer truck Snowmobile makes it easy to move massive volumes of data to the cloud including video libraries image repositories or even a complete data center migration Transferring data with Snowmobile is secure fast and cost effective After an initial assessment a Snowmobile will be transported to your data center and AWS personnel will configure it for you so it can be accessed as a network storage target When your Snowmobile is on site AWS personnel will work with your team to connect a removable high speed network switch from the Snowmobile to your local network Then you can begin your high speed data transfer from any number of sources within your data center to the Snowmobile After your data is loaded the Snowmobile is driven back to AWS where your data is imported into Amazon S or S Glacier AWS Snowmobile uses multiple layers of security designed to protect your data including dedicated security personnel GPS tracking alarm monitoring video surveillance and an optional escort security vehicle while in transit All data is encrypted with bit encryption keys managed through AWS KMS and designed to ensure both security and full chain of custody of your data ConclusionAccelerate your migration and modernization journey to the cloud AWS offers a wide range of migration solutions to help migrate workloads from on premises environments hosting facilities or other public clouds Select from services for transferring and modernizing applications websites databases storage physical and virtual servers or even entire data centers Hope this guide helps you with the Introduction to Management Governance and Migration with AWS Part Let me know your thoughts in the comment section And if you haven t yet make sure to follow me on below handles connect with me on LinkedInconnect with me on Twitter‍follow me on github️Do Checkout my blogs Like share and follow me for more content ltag user id follow action button background color important color fac important border color important Adit ModiFollow Cloud Engineer AWS Community Builder x AWS Certified x Azure Certified Author of Cloud Tech DailyDevOps amp BigDataJournal DEV moderator 2021-12-21 09:45:49
海外TECH DEV Community How to create Navigation bar in Figma https://dev.to/ahmadbassamemran/how-to-create-navigation-bar-in-figma-ico How to create Navigation bar in FigmaHow to create Navigation bar in Figma using Variants Speed Art Tutorial Figma UI DesignPlease do not forget to subscribe in my channel 2021-12-21 09:35:55
海外TECH DEV Community Build REST API with Kotlin and Ktor https://dev.to/kfurjan/build-rest-api-with-kotlin-and-ktor-15aa Build REST API with Kotlin and KtorAccording to Stack Overflow survey from Kotlin is one of the most loved programming languages so it is safe to say that JetBrains a company that develops Kotlin is doing an excellent job Kotlin is most well known as a language for developing Android applications but it can be used for developing backend services such as RESTful API JetBrains is also developing a framework named Ktor that can be used for developing RESTful API with Kotlin and as you can imagine it is pretty great What is RESTREST short for Representational state transfer is a software architectural style that was created to guide the design and development of the architecture for internet communication REST defines a set of constraints for how the architecture of an Internet scale system such as the Web should behave A Web API or Web Service conforming to the REST architectural style is a REST API KtorKtor is a web framework made by JetBrains with Kotlin programming language In their own words Ktor is a framework to easily build connected applications web applications HTTP services mobile and browser applications Modern connected applications need to be asynchronous to provide the best experience to users and Kotlin coroutines provide awesome facilities to do it in an easy and straightforward way Main goals of Ktor framework are to be lightweight unopinionated asynchronous and testable meaning that framework itself doesn t impose what technologies project is going to use can be easily deployable and uses Kotlin coroutines to provide asynchronous operations PluginsKtor uses concept of Plugins to extend its functionalities A plugin is a set of common functionalities that extend application logic such as serialization or compression For example typical request response pipeline in Ktor Now using Plugins in Ktor previous request response pipeline can be easily extended with functionalities to something like this Which plugin s you will add to the request response pipeline depends on your preferences and application needs Need Authentication Fine just install a plugin Exception handling Serialization Great just a simple plugin installation Plugins are configured during the initialization phase of the server using the install function which takes a Plugin as a parameter You can install a plugin inside the embeddedServer call import io ktor features fun main embeddedServer Netty port install CORS install Compression start wait true or in desired moduleimport io ktor features fun Application module install CORS install Compression By default Ktor does not activate any plugin s and it s up to developers to install the functionality their application needs Some of my personal favorite plugins are Status pages for exception handlingSerializationServing static contentCORSJWTTo find all other ready to use plugins head over to Generate Ktor project tool Build REST APIFirst we need to create Ktor project There are two ways to create one using online Generate Ktor project tool or if you prefer using Ktor plugin for IntelliJ IDEA Once the project is created it should already have all necessary dependencies added for Ktor itself but we need one more for serialization Dependencies dependencies implementation io ktor ktor server core ktor version implementation io ktor ktor server netty ktor version implementation ch qos logback logback classic logback version implementation io ktor ktor serialization ktor version testImplementation io ktor ktor server tests ktor version testImplementation org jetbrains kotlin kotlin test junit kotlin version Let s keep it simple and add every tutorial ever generic Customer class We will use Kotlin s data class and kotlinx serialization to serialize class to JSON and from JSON to class in case of POST method Since we are keeping it simple the application will use in memory storage For any real world application you would use a database import kotlinx serialization Serializableval customerStorage mutableListOf lt Customer gt Serializabledata class Customer val id String val firstName String val lastName String val email String Next step is to define routes We want to respond to GET POST and DELETE requests on the customer endpoint As such let s define our routes with the corresponding HTTP methods Let s add a new file Routing Routing kt fun Application customerRouting routing route customer get if customerStorage isNotEmpty call respond customerStorage else call respondText No customers found status HttpStatusCode NotFound get id val id call parameters id return get call respondText Missing or malformed id status HttpStatusCode BadRequest val customer customerStorage find it id id return get call respondText No customer with id id status HttpStatusCode NotFound call respond customer post val customer call receive lt Customer gt customerStorage add customer call respondText Customer stored correctly status HttpStatusCode Created delete id val id call parameters id return delete call respond HttpStatusCode BadRequest if customerStorage removeIf it id id call respondText Customer removed correctly status HttpStatusCode Accepted else call respondText Not Found status HttpStatusCode NotFound Last step is to register previously defined routes and to install ContentNegotiation plugin so Ktor can handle serialization Application kt fun main args Array lt String gt Unit io ktor server netty EngineMain main args fun Application module install ContentNegotiation json customerRouting Great our simple REST API is now ready to use and to handle those sweet customer CRUD operations ConclusionThank you for reading and I hope this article was useful to you In conclusion this article went over Ktor framework introduction to it and how you can build simple REST API using Ktor and Kotlin If you are interested in Ktor head over to official Ktor documentation for more thorough guides and explanations If you like my content and find it useful please consider following me If you are feeling extra generous please consider buying me a coffee Connect with me on LinkedIn 2021-12-21 09:34:35
海外TECH DEV Community Pulse Animation in CSS! https://dev.to/ziratsu/pulse-animation-in-css-3a06 Pulse Animation in CSS Hey fellow creatorsYou d like to add a button with a pulse animation to your app You can learn how to do it in CSS in less than a minute Create a buttonThis is a really simple step but create a button in your HTML file lt button gt Go lt button gt   Let s style the buttonCenter the button as well as the text inside it and make it a circle body font family Arial Helvetica sans serif background button position absolute centering top left transform translate display flex centering the content justify content center align items center width px height px border radius make it a circle font size px border none cursor pointer   Create the pseudo element Some are using box shadow to achieve that stuff me included before I knew it was bad for performance So I simply replaced box shadow by a pseudo element that grows and disapears at the same time with the performant transform and opacity properties button after content display block position absolute z index behind the parent width height border radius background fff top left animation pulse s infinite ease out animation configuration  Create the keyframe keyframes pulse to transform scale opacity  And there you go the pseudo element will expand and hide at the time thus creating what we want with good performance no repaint  Come and take a look at my Youtube channel See you soon Enzo 2021-12-21 09:29:15
海外TECH DEV Community Advent of code Day 21 https://dev.to/marcoservetto/advent-of-code-day-21-51kb Advent of code Day The two parts for the problem of today are well divided so I will present them one at a time Or if you prefer you can just look to my comments on you tube Part is really trivial Note the trick with the modulo arithmetic where we store a position that is less than the intended position of the player D Data var I rolled I var I seed I mut method I roll rolled rolled I seed if seed gt I I else seed I seed Player Data var I pos var I points I mut method Void turn mut D that tot that roll that roll that roll pos pos tot mod I pos from real pos is points points pos I read method Bool won points gt I Main p Player pos I p Player pos I dice D while p won amp amp p won p turn dice if p won p turn dice if p won Debug S p loses for p points dice rolled p points dice rolled if p won Debug S p loses for p points dice rolled p points dice rolled p loses for Part is much more interesting and it was feasible thanks to Cache Lazy in this way our recursive call may simply return a pre computed value Report Data Num pWins Num pWins method Bool open pWins pWins Num method This This that This pWins this pWins that pWins pWins this pWins that pWins State Data I pPos I pPos I pScore I I pScore I method This turn I pRoll pPos pPos pScore pScore this pPos pPos pRoll mod I from real pos is pScore pScore pPos I This pPos pPos pPos pPos pScore pScore pScore pScore method This turn I pRoll pPos pPos pScore pScore this pPos pPos pRoll mod I from real pos is pScore pScore pPos I This pPos pPos pPos pPos pScore pScore pScore pScore method Report directWin pPos pPos pScore pScore this X pScore lt I pScore lt I if pScore gt I return pWins pWins if pScore gt I return pWins pWins return pWins pWins Cache Lazy method Report wins Debug this var res this directWin if res open return res r Range I to I for a in r for a in r for a in r stateA this turn pRoll a a a resA stateA directWin if resA open return res resA return for b in r for b in r for b in r stateB stateA turn pRoll b b b resB stateB directWin if resB open return res resB return res stateB wins return res Main s State pPos I pPos I Debug s wins Report pWins pWins What do you think with minor modifications I could combine automatic parallelism and automatic caching for an even faster version 2021-12-21 09:26:38
海外TECH DEV Community Dev Tools To Look Out For In 2022 https://dev.to/morrone_carlo/dev-tools-to-look-out-for-in-2022-2pe2 Dev Tools To Look Out For In Can you believe it s been over two years since the global pandemic had totally shaken up the way we work The beginnings were tough but now with the end of right around the corner we are already used to remote working environments and expect the market to catch up with the new normal The demand for innovation and collaboration improvements for remote teams and dev teams in particular is probably one of the strongest trends we can currently observe in the industry In this short post I rounded up relatively new dev tools that have recently been on my radar and I believe have the potential to improve our daily workflows GitLive Pain Lack of communication tools designed specifically for developersSolution GitLive extend your IDE with real time collaborative superpowers Assuming your team uses Git then GitLive is a no brainer enhancement of your IDE s built in Git functionality Once installed it adds a team view showing all work in progress for each collaborator from your Git repository Any non stale branch ahead of master main is considered work in progress and you can inspect diffs of the files changed as well as view the associated issue or pull request But my favourite feature is probably the automatic merge conflict detection The difference between your local changes and the work in progress of your teammates is shown for your current open file in the gutter of your editor It shows you the type of change addition deletion modification or conflict and you can inspect it to see the diff what branch it s from and even cherry pick into your local file GitLive can be very useful for larger teams and especially useful for open or inner source projects as these features even work across forks What s also cool is as the data comes straight from Git there s no manual entry required to keep it up to date   CodeSee Maps Pain Sophisticated and dense codebases and a lack of shared understanding of how all the code and functionality map to each other Solution CodeSee Maps A tool for developers to visually map their codebase CodeSee Maps provides auto generated self updating code diagrams They sync your codebase as code evolves so that you can quickly identify cross code dependencies and navigate between files and folders It can really improve your understanding of the codebase and guide onboarding planning and reviews The tool is mainly targeted at developers but it s of great value for anyone who interacts with the team To get started using CodeSee Maps you will need to authorize CodeSee on your GitHub user account then install and authorize the CodeSee Architecture Diagrams GitHub action on the repositories you d like to create maps for At the moment they only support GitHub but BitBucket and GitLab are both on the roadmap   Deepsource Pain Time consuming code reviews prone to a human mistakeSolution DeepSource fast and reliable static analysis platform DeepSource is a static code analyzer that can help you with automating the code reviews and save your team a lot of time It can find issues in the codebase and automatically submit PRs to fix them and even evaluate incoming code in PRs and fix them too Supported analyzers include among others Docker Java JavaScript Go Python Ruby as well as PHP and SQL currently in beta It integrates with GitHub GitLab and Bitbucket self hosted is also available There is also a possibility to deploy on premise How can it improve the way your team works Their website states that using the tool can save hours on average per developer every week so you do the math   Appsmith Pain The need for numerous CRUD apps within an organisation which turns out to be a repetitive and often time consuming task Solution Appsmith an open source framework to build internal tools Appsmith describes themselves as “The UI Tool for Busy Developers and it really is that It s great for teams that build a lot of internal apps that are hosted inside their own infrastructure and firewall You can easily build great looking admin panels workflows and dashboards by dragging and dropping pre made customisable widgets You can integrate with any REST or GraphQL API and use JS or a library to create logic for your app   WayScript Pain Setting up internal tooling and applications is time consuming and keeps developers from the actual problems they are trying to solve Solution WayScript the fastest way to turn your local code into a hosted app WayScript is a development hub for internal tools It provides pre configured containers that you can build into so that the code works with your team s existing infrastructure You can quickly set up APIs which traditionally is a long task but also a must for technical customers servers cron tasks custom inpoints interfaces and more When the tool is ready you can deploy it with one click and send it to your team You can use it by downloading the local app or via the web application  We can t be sure what will bring but I am positive that trends we ve seen evolving in the past months will continue to grow I hope some of the tools I proposed in this article will help improve your workflows and make a transition to a remote working setup smoother 2021-12-21 09:25:32
海外TECH DEV Community Sharing Geospatial Data with OGC API, pygeoapi and MongoDB https://dev.to/doublebyte/sharing-geospatial-data-with-ogc-api-pygeoapi-and-mongodb-4lo7 Sharing Geospatial Data with OGC API pygeoapi and MongoDBGeospatial data can be defined as any dataset which has a location tag attached to it i e a pair of coordinates which allows us to position it precisely at the surface of the earth In this post we are going to describe how we can make geospatial data available on the web trough a RESTfull API so that ourselves or others can do something with it for instance creating a map If it is true you can create a map using a static file using an API has numerous advantages like scalability reliability and updatability In order to do this we will use three things a dataset a standard and a stack of Free and Open Source Software FOSS DatasetIn this tutorial we will share a dataset with local shops and products in the city of Barcelona kindly provided by sawcer Each record describes characteristics of the shop such as name address website which products are sold e g Gluten free donut and last but not the least its location as a point geometry with x y coordinates StandardStandards are the glue in the server client architecture The Open Geospatial Consortium OGC is a member organisation which publishes standards to ensure the maximum degree of interoperability between geospatial data and services In practice interoperability would mean that you could write a client application that talks to any server without knowing any details about that server s implementation In this tutorial we will use the OGC API Features standard which was designed for sharing feature data over the web if you are wondering what a feature is you can check out this article These are some of its main traits which make it very convenient to use ModularRESTfullRecommended encodings e g GeoJSON HTML Use of OpenAPI Software StackIn order to publish the dataset using the OGC API Features standard we need a software which implements the standard In this tutorial we will use pygeoapi which is a python server implementation released under a FOSS MIT license pygeoapi needs a backend to store the data For that we will use the MongoDB document oriented database In order to make deployment easier the complete stack was virtualised into a set of docker containers and orchestrated using docker compose Putting it all togetherIn order to publish the dataset you can clone this repository If you navigate to the docker examples mongo folder you will find this docker composition version services pygeoapi image geopython pygeoapi latest container name pygeoapi mongo entrypoint mongo entrypoint sh ports volumes pygeoapi docker config yml pygeoapi local config yml pygeoapi mongo entrypoint sh mongo entrypoint sh pygeoapi wait for mongo sh wait for mongo sh links mongo depends on mongo mongo image mongo container name mongo ports volumes docker entrypoint initdb d add data sh docker entrypoint initdb d add data sh ro mongo data mongo data environment MONGO INITDB DATABASE sawcer mongo express image mongo express restart always container name mongo express links mongo depends on mongo ports mongodb root example mongo volumes mongo data Here is what happens behind the scenes when you type docker compose up The mongo container starts a database is initialised and the data is injected into a collection The data is pulled from a GeoJSON file in the mongo data folder If you are trying this with your own data it is worth to mention that mongo ingests the features array without the outer element You can transform a regular GeoJSON file into MongoDB consumable JSON using the jq command line utility jq compact output features shops orig geojson gt shops geojsonOnce the database is live the pygeoapi container starts The configuration of the service is on this file which is mounted by the container In particular this bit is where the sawcer dataset is exposed from the MongoDB backend sawcer type collection title Shops and Products description SEARCH amp FIND amp SHARE where to get ingredients in local shops keywords cases links type text html rel canonical title information href hreflang en US extents spatial bbox crs temporal begin end null or empty providers type feature name MongoDB data mongodb mongo sawcer collection shopsAt this stage the pygeoapi is running on port http localhost You can access the sawcer dataset at http localhost collections sawcerYou can retrieve the collection items at http localhost collections sawcer itemsThe default response is in html but you can change it using the f format parameter The server supports both JSON and JSON LD encodings For instance http localhost collections sawcer items f jsonldYou can access one particular item using its id http localhost collections sawcer items afaefcbfdfIf you want to explore the MongoDB collection you can use the provided mongo express user interface running on port http localhost What s nextMaking your geospatial dataset available on the web using a standard unlocks a world of possibilities It means that many existing or future client applications will be able to read your data out of the box For instance anyone can use QGIS Esri ArcGIS React leaflet OpenLayers or Python OWSlib to pull your data and analyse it or create products or services on top of it You can explore a live deployment of this dataset at this endpoint On this OpenAPI document you can try all the available endpoints 2021-12-21 09:20:11
Cisco Cisco Blog Giving sick children a direct line to Santa in the North Pole https://blogs.cisco.com/ciscoit/giving-sick-children-a-direct-line-to-santa-in-the-north-pole Giving sick children a direct line to Santa in the North PoleIt s so difficult to bring that Christmas sparkle to families and sick children outside the warmth of their own homes Queue Connected Santa 2021-12-21 09:30:50
医療系 医療介護 CBnews 介護事業者向け「BCP作成セミナー」無料開催-21年度厚労省委託事業 https://www.cbnews.jp/news/entry/20211221180926 介護事業 2021-12-21 18:35:00
金融 金融庁ホームページ 入札公告等を更新しました。 https://www.fsa.go.jp/choutatu/choutatu_j/nyusatu_menu.html 公告 2021-12-21 11:00:00
金融 金融庁ホームページ 職員を募集しています。(金融庁における国際関連業務に従事する職員(課長補佐級)) https://www.fsa.go.jp/common/recruit/r3/soumu-08/soumu-08.html 課長補佐 2021-12-21 10:00:00
ニュース BBC News - Home Covid: Firms urge PM for clarity on restrictions over Christmas https://www.bbc.co.uk/news/uk-59736716?at_medium=RSS&at_campaign=KARANGA england 2021-12-21 09:53:14
ニュース BBC News - Home MPs urge changes to 'outdated' gender recognition laws https://www.bbc.co.uk/news/uk-politics-59735218?at_medium=RSS&at_campaign=KARANGA committee 2021-12-21 09:25:16
ニュース BBC News - Home The Matrix's real-world legacy - from red pill incels to conspiracies and deepfakes https://www.bbc.co.uk/news/entertainment-arts-57572152?at_medium=RSS&at_campaign=KARANGA culture 2021-12-21 09:34:53
ニュース BBC News - Home Silverwood would 'pick same two teams' despite England going 2-0 down in Ashes https://www.bbc.co.uk/sport/cricket/59739472?at_medium=RSS&at_campaign=KARANGA Silverwood would x pick same two teams x despite England going down in AshesEngland coach Chris Silverwood says he would pick the same two teams again despite the tourists going down in the Ashes against Australia 2021-12-21 09:33:03
ビジネス 不景気.com 小田急がベーカリー「HOKUO」の39店舗を閉店し撤退 - 不景気.com https://www.fukeiki.com/2021/12/hokuo-close.html hokuo 2021-12-21 09:08:45
北海道 北海道新聞 神田沙也加さん荼毘に 正輝さん「近親者で別れ」 https://www.hokkaido-np.co.jp/article/625734/ 神田沙也加 2021-12-21 18:17:12
北海道 北海道新聞 田中前理事長の保釈認める 東京地裁、保証金6千万円 https://www.hokkaido-np.co.jp/article/625733/ 所得税法 2021-12-21 18:14:00
北海道 北海道新聞 長崎県、カジノ運営で意見公募 資金に不安も https://www.hokkaido-np.co.jp/article/625728/ 佐世保市 2021-12-21 18:13:00
北海道 北海道新聞 DeNA桑原、初の1億円超え FA権取得前に4年契約 https://www.hokkaido-np.co.jp/article/625727/ 契約更改交渉 2021-12-21 18:09:00
北海道 北海道新聞 エア・ドゥ、1月に12便増便 https://www.hokkaido-np.co.jp/article/625725/ airdo 2021-12-21 18:05:00
北海道 北海道新聞 AIさん、紅白で朝ドラ主題歌 NHKが曲目発表 https://www.hokkaido-np.co.jp/article/625724/ 出場歌手 2021-12-21 18:04:00
北海道 北海道新聞 霧馬山と豊昇龍が連日熱戦 合同稽古、御嶽海は7番 https://www.hokkaido-np.co.jp/article/625723/ 大相撲初場所 2021-12-21 18:04:00
北海道 北海道新聞 別団体でも法律上限超えか 岡山知事、寄付の受領額 https://www.hokkaido-np.co.jp/article/625722/ 伊原木隆太 2021-12-21 18:01:00
IT 週刊アスキー 最新作の『Vanguard』から『Mobile』まで!『Call of Duty』で期間限定イベント「祝祭の熱気(Festive Fervor)」を開催 https://weekly.ascii.jp/elem/000/004/078/4078602/ 最新作の『Vanguard』から『Mobile』まで『CallofDuty』で期間限定イベント「祝祭の熱気FestiveFervor」を開催Activisionは、ファーストパーソンシューティング『CallofDuty』の『Vanguard』『WarzonePacific』『Mobile』にて、ホリデーシーズンを祝う期間限定イベント「祝祭の熱気FestiveFervor」を開催したと年月日に発表。 2021-12-21 18:35:00
IT 週刊アスキー 日本通信、月20GB+かけ放題のプランを月3378円で提供 法人契約も可能 https://weekly.ascii.jp/elem/000/004/078/4078601/ 日本通信 2021-12-21 18:10:00

コメント

このブログの人気の投稿

投稿時間:2021-06-17 22:08:45 RSSフィード2021-06-17 22:00 分まとめ(2089件)

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

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