投稿時間:2021-06-03 19:39:30 RSSフィード2021-06-03 19:00 分まとめ(47件)

カテゴリー等 サイト名等 記事タイトル・トレンドワード等 リンクURL 頻出ワード・要約等/検索ボリューム 登録日
IT ITmedia 総合記事一覧 [ITmedia News] 楽天モバイル、180日間利用のない回線は予告後に停止する可能性 7月1日に規約変更 https://www.itmedia.co.jp/news/articles/2106/03/news159.html itmedia 2021-06-03 18:45:00
IT ITmedia 総合記事一覧 [ITmedia News] エアコン使い始めの臭い、発生のメカニズムと対策 https://www.itmedia.co.jp/news/articles/2106/03/news155.html itmedia 2021-06-03 18:25:00
IT ITmedia 総合記事一覧 [ITmedia ビジネスオンライン] 「給与に不満」84%、希望のアップ額はいくら? https://www.itmedia.co.jp/business/articles/2106/03/news140.html itmedia 2021-06-03 18:06:00
AWS lambdaタグが付けられた新着投稿 - Qiita AWS LambdaにC#プロジェクトをデプロイする https://qiita.com/ryohei0109_develop/items/ff05cfad2cb276af1169 dotnettoolinstallgAmazonLambdaToolsプロファイル作成ローカルPCからAWSへCLIで操作を行う場合、都度「プロファイル」を指定して接続する形になります。 2021-06-03 18:24:58
AWS lambdaタグが付けられた新着投稿 - Qiita 【シェアハウス🏠ハック】洗濯機が稼働しているかわかるサーバレスなWebシステムを作ってみた【IoT AWS Lambda APIGateway DynamoDB】 https://qiita.com/yuki5664/items/aac81d730187f8cfbc7b システム構成図はこんな感じ開発の流れ①アーキテクチャ設計、言語設定とりあえず安価なことを含め、環境構築が不要なサーバーレスでアーキテクチャを組むことに、最初は、GCPとAWS組み合わせて作ろかと模索していましたが、それぞれの相性を考慮してAWSに統一してLambda、APIGateway、DynamoDBで構築することにLambdaで使った言語ですが、日頃、業務ではRubyを使用しているのですが、Nodeに興味があったのでNodejsで書くことにしました。 2021-06-03 18:08:31
Program [全てのタグ]の新着質問一覧|teratail(テラテイル) GASの繰り返し処理の止め方 https://teratail.com/questions/341986?rss=all GASの繰り返し処理の止め方はじめまして。 2021-06-03 18:53:08
Program [全てのタグ]の新着質問一覧|teratail(テラテイル) MySQLでCASEとMAXを組み合わせたときにNaNと表示される https://teratail.com/questions/341985?rss=all 一度OKと表示されるように書き換えたのですが、保存されておらずどのような記述がされていたかわからない状態です。 2021-06-03 18:46:00
Program [全てのタグ]の新着質問一覧|teratail(テラテイル) 空白文字のみはNGだが、文中ではOKにする正規表現 https://teratail.com/questions/341984?rss=all 空白文字のみはNGだが、文中ではOKにする正規表現Javascriptで改行のみスペースのみといった空白文字のみの場合はNGで、文中のスペースや改行はOKのテキストエリアを作りたい。 2021-06-03 18:37:23
Program [全てのタグ]の新着質問一覧|teratail(テラテイル) ドロップダウンメニューがページ読み込み時に開いた状態になってしまいます。 https://teratail.com/questions/341983?rss=all ドロップダウンメニューがページ読み込み時に開いた状態になってしまいます。 2021-06-03 18:36:17
Program [全てのタグ]の新着質問一覧|teratail(テラテイル) エディター内では正常なコードがAtCoder内ではREになってしまう件について。 https://teratail.com/questions/341982?rss=all エディター内では正常なコードがAtCoder内ではREになってしまう件について。 2021-06-03 18:24:55
Program [全てのタグ]の新着質問一覧|teratail(テラテイル) CMakeを使用してVSでopencvをコンパイルするときに発生したエラーの対処 https://teratail.com/questions/341981?rss=all CMakeを使用してVSでopencvをコンパイルするときに発生したエラーの対処CMakenbspを使用して、VisualnbspStudionbspnbspでopenCVを動かす環境を用意したいのですが、cmakeguiにて、以下のエラーが出てしまいました。 2021-06-03 18:21:12
Program [全てのタグ]の新着質問一覧|teratail(テラテイル) nginxでreactのデプロイができません。 https://teratail.com/questions/341980?rss=all appサーバは立ち上がるのですが、webサーバにreactでbuildしたページが反映されません。 2021-06-03 18:16:07
Program [全てのタグ]の新着質問一覧|teratail(テラテイル) Pyhtonファイル(slackbot)を.exeファイル化したところTypeError: cafile, capath and cadata cannot be all omittedが出てしまった https://teratail.com/questions/341979?rss=all Pyhtonファイルslackbotをexeファイル化したところTypeErrorcafilecapathandcadatacannotbeallomittedが出てしまった前提・実現したいこと現在、slackbotをローカル上で動作させるために作成したpythonファイルrunpyをpyinstallerで実行ファイル化runexeし、タスクスケジューラでPC起動時にbotが起動するようにしたい。 2021-06-03 18:05:17
Program [全てのタグ]の新着質問一覧|teratail(テラテイル) いくつかのフォルダ内で、Pythonを動かすと、'openpyxl' has no attribute 'load_workbook' エラーが出る。 https://teratail.com/questions/341978?rss=all いくつかのフォルダ内で、Pythonを動かすと、xopenpyxlxhasnoattributexloadworkbookxエラーが出る。 2021-06-03 18:03:37
Ruby Rubyタグが付けられた新着投稿 - Qiita Ruby 問題⑩ 配列を利用したrubyプログラム作成 https://qiita.com/N396184501/items/271993e83eb64c3be668 今回はtargetnumにが入り、inputには配列が入っていますdefsearchtargetnuminputendinputsearchinputsearthメソッド内の処理でinputeachwithindexを使い、inputに格納されている要素をnumとして取り出し、要素毎に割り当てられた添字をindexとして取得します。 2021-06-03 18:32:21
AWS AWSタグが付けられた新着投稿 - Qiita Security Hub → EventBridge → SNS → Chatbot → Slack https://qiita.com/leomaro7/items/c936572726adb1d35229 SecurityHub→EventBridge→SNS→Chatbot→SlackSecurityHubからSlackに通知させるSecurityHubで評価gtgtEventBridgeをトリガーにSNSトピックに通知gtgtSNSトピックに設定されているChatbotに情報送信gtgtChatbotがSlackに通知というのをCloudFormationでデプロイしていこうと思います。 2021-06-03 18:50:02
AWS AWSタグが付けられた新着投稿 - Qiita AWS LambdaにC#プロジェクトをデプロイする https://qiita.com/ryohei0109_develop/items/ff05cfad2cb276af1169 dotnettoolinstallgAmazonLambdaToolsプロファイル作成ローカルPCからAWSへCLIで操作を行う場合、都度「プロファイル」を指定して接続する形になります。 2021-06-03 18:24:58
AWS AWSタグが付けられた新着投稿 - Qiita 【シェアハウス🏠ハック】洗濯機が稼働しているかわかるサーバレスなWebシステムを作ってみた【IoT AWS Lambda APIGateway DynamoDB】 https://qiita.com/yuki5664/items/aac81d730187f8cfbc7b システム構成図はこんな感じ開発の流れ①アーキテクチャ設計、言語設定とりあえず安価なことを含め、環境構築が不要なサーバーレスでアーキテクチャを組むことに、最初は、GCPとAWS組み合わせて作ろかと模索していましたが、それぞれの相性を考慮してAWSに統一してLambda、APIGateway、DynamoDBで構築することにLambdaで使った言語ですが、日頃、業務ではRubyを使用しているのですが、Nodeに興味があったのでNodejsで書くことにしました。 2021-06-03 18:08:31
Docker dockerタグが付けられた新着投稿 - Qiita docker-composeで躓いたところ https://qiita.com/Micchili/items/2db585b116d676bfed3f FROMFROMcentos※centosはサポートが結構間近なので気をつけましょうdockercomposeymlで躓いたところvolumsでカレントディレクトリを指定して、docker側のrootディレクトリに送るとホットリロードになる神機能なのでみなさん使いましょう。 2021-06-03 18:45:37
技術ブログ Developers.IO Spring Boot + Amazon MQ(ActiveMQ)でメッセージの送受信を実装する https://dev.classmethod.jp/articles/jms-on-spring-boot-with-amazon-mq-for-activemq/ activemq 2021-06-03 09:56:23
海外TECH DEV Community How to use ControlValueAccessor to enhance date input with automatic conversion and validation https://dev.to/shhdharmen/how-to-use-controlvalueaccessor-to-enhance-date-input-with-automatic-conversion-and-validation-3lo4 How to use ControlValueAccessor to enhance date input with automatic conversion and validationOverall idea behind this article to explain and demonstrate the usage of ControlValueAccessor and Validator interfaces The former is used to bind together a FormControl from Forms package and native DOM elements The latter is used to implement validation logic They can exist independently of each other but in this article we ll implement both using a single directive Our directive will add the following functionality to the application Conversion between input value and control valueValidation for invalid dateIf you re using ControlValueAccessor for the first time I would recommend going through this article first Never again be confused when implementing ControlValueAccessor in Angular forms Conversion of valuesWe will first create a directive and handle conversion between UI and control value src app directives date input directive tsimport Directive from angular core import ControlValueAccessor NG VALUE ACCESSOR from angular forms Directive selector input type date providers provide NG VALUE ACCESSOR useExisting DateInputDirective multi true export class DateInputDirective implements ControlValueAccessor constructor writeValue obj any void registerOnChange fn any void registerOnTouched fn any void We mainly did things for directive Set the selector to input type date This will add the conversion mechanism and validations to all date inputs without any extra effort Defined DateInputDirective class as Value Accessor through the NG VALUE ACCESSOR token Our directive will be used by Angular to set up synchronisation with FormControl implemented the ControlValueAccessor interfaceFor this example we are only concerned with two methods on the interface writeValue this method is used to write a value to the native DOM element Simply put this can be utilised to convert FormControl value to UI value registerOnChange This method will help us to store a function which will be called by value changes on the UI In simpler terms with this we can convert UI value to FormControl value This illustration from the linked article above demonstrates this mechanism Writing value to the native DOM element with writeValueWe want to show the correct and formatted date on the UI when it gets updated through FormControl For example let s assume that we are getting ISO string of date from our API which looks something like this T and when we set the value for FormControl bound to the date input we want the input type date to display date in correct format The code below demonstrates how we convert the ISO string into YYYY MM DD before we set the resulting value for the native HTML date input src app directives date input directive tsimport formatDate from angular common export class DateInputDirective implements ControlValueAccessor writeValue dateISOString string void const UIValue formatDate dateISOString YYYY MM dd en IN this renderer setAttribute this elementRef nativeElement value UIValue Here s what s going on above We are creating a string called UIValue which will hold the date in YYYY MM DD format As you can see we have used the formatDate function from angular common to get the formatted date And then we are setting input s value attribute using RendererLet s quickly try out the above changes src app app component ts Component selector app root templateUrl app component html export class AppComponent fg new FormGroup date new FormControl new Date toISOString get date return this fg get date Note things in above code We set the current date s ISO string in date FormControl ideally you would get it from API We created a date getter to get the FormControl In a reactive form you can always access any form control through the get method on its parent group but sometimes it s useful to define getters as shorthand for the template lt src app app component html gt lt code gt lt b gt Control Value lt b gt date value lt code gt If you look at the output now it is setting the correct date in input Output after setting writeValue Getting value from the native DOM element with registerOnChange The DOM element holds the value as formatted date When the user updates the value we ll need to convert it to a valid ISO string Let s add a HostListener first typescript src app directives date input directive ts …export class DateInputDirective implements ControlValueAccessor … HostListener input event target valueAsNumber onInput any gt We are using valueAsNumber to read the value valueAsNumber returns the timestamp in milliseconds the reason we are using it is because it will help us directly get date using new Date valueAsNumber Also notice the onInput function above it s just a skeleton for now It s time to implement the conversion logic in registerOnChange src app directives date input directive ts …export class DateInputDirective implements ControlValueAccessor … registerOnChange fn any gt void void this onInput value number gt fn this getDate value toISOString registerOnChange is called just once by Angular passing us the callback named fn in the code above We can use this callback to update the FormControl value as a reaction to DOM element update And we are calling it on the input event of date input through onInput function We also need to create a couple of helper functions you can change them as per your need getDate value number if value const dateObj new Date value return this isValidDate dateObj dateObj toISOString gt null return toISOString gt null isValidDate d Date number null return d instanceof Date amp amp isNaN d as unknown as number Let s look at the output now As you can see it s updating the control s value with a valid ISO string ValidationNow we will add the validation part so that date input supports validation out of the box We will first add NG VALIDATORS in providers src app directives date input directive ts … Directive selector input type date providers provide NG VALUE ACCESSOR useExisting DateInputDirective multi true provide NG VALIDATORS useExisting DateInputDirective multi true Next we will implement the Validator interface and add validate method export class DateInputDirective implements ControlValueAccessor Validator validate control AbstractControl ValidationErrors null const date new Date control value return control value amp amp this isValidDate date null date true Angular will call the validate method whenever the value of the control changes Let s modify the template lt form formGroup fg gt lt input type date id birthDate formControlName date gt lt div class invalid feedback ngIf date touched date dirty amp amp date invalid gt Invalid Date lt div gt lt form gt As you can see we added a div to show a validation message It uses the date getter defined in the component class Let s understand the ngIf expression ngIf date touched date dirty amp amp date invalid We don t want to show validation message if user has not interacted with the input so we have added date touched date dirtyWe also don t want to show if date is valid so we added date invalidYou can read more about Validating form input on Angular docs Let s look at the output now ConclusionWe learned below How to use ControlValueAccessor to Convert UI value to valid ISO string and attach it to form control s value Convert form control s ISO string value to YYYY MM DD format and update the same on UIHow to use Validator to validate user input for dateYou can find the code on Stackblitz and GitHub Thanks for reading 2021-06-03 09:26:56
海外TECH DEV Community Why `hsl` is better https://dev.to/siddharthshyniben/why-hsl-is-better-3inl Why hsl is betterI prefer hsl over rgb It s really impossible to get colors manually using rgb unless you have some paint and a palette near you hsl h s l hsla h s l a is really easy to understand h Hue The hue It s the only thing you actually need to know Think of it like a color wheel Around o and o are reds o is where greens are and o are blues Use anything in between Values above and below will be modulus s Saturation is completely desaturated grayscale is fully saturated full color l Lightness is completely dark black is completely light white is average lightness a Alpha Opacity Transparency value is fully transparent is fully opaque is transparent You can hand manipulate any of those four values and have a decent idea of what s going to take place Change the hue to take a journey around the color wheel Change the saturation to get deeper or more muted hues Change the lightness to essentially mix in black or white You may know what rgb and rgb is but creating a sea blue and going a bit darker or getting a deep yellow isn t exactly math hsl is also easy to manipulate with JavaScript You could create a color scheme from a hue by adjusting the saturation and lightness 2021-06-03 09:16:39
ラズパイ Raspberry Pi Recreate Exerion’s pseudo-3D landscape | Wireframe #51 https://www.raspberrypi.org/blog/recreate-exerions-pseudo-3d-landscape-wireframe-51/ Recreate Exerion s pseudo D landscape Wireframe Swoop over mountains in our homage to Jaleco s shooter Mark Vanstone has the code in the latest issue of Wireframe magazine out now Taking the shooting action of Galaxian from a few years earlier Japanese developer Jaleco released Exerion in What helped Exerion stand out from other shoot em ups of the period though was its The post Recreate Exerion s pseudo D landscape Wireframe appeared first on Raspberry Pi 2021-06-03 09:50:16
医療系 医療介護 CBnews 在宅医療充実度は西高東低、ミーカンパニー-高齢者10万人当たり届け出数、最多は和歌山 https://www.cbnews.jp/news/entry/20210603180751 在宅医療 2021-06-03 18:45:00
医療系 医療介護 CBnews インフルやBCGなどのワクチン接種の14件認定-厚労省が疾病・障害認定審査会分科会審議結果公表 https://www.cbnews.jp/news/entry/20210603175532 予防接種 2021-06-03 18:10:00
金融 金融庁ホームページ 入札公告等を更新しました。 https://www.fsa.go.jp/choutatu/choutatu_j/nyusatu_menu.html 公告 2021-06-03 11:00:00
金融 金融庁ホームページ 事業承継時に焦点を当てた「経営者保証に関するガイドライン」の特則の適用開始等を受けた取組状況に関するアンケート調査の結果について公表しました。 https://www.fsa.go.jp/news/r2/ginkou/20210603.html 開始 2021-06-03 11:00:00
金融 金融庁ホームページ 職員を募集しています。(金融モニタリング業務に従事する職員) https://www.fsa.go.jp/common/recruit/r2/souri-27/souri-27.html Detail Nothing 2021-06-03 09:29:00
ニュース BBC News - Home Napier barracks: Migrant housing unlawful, court rules https://www.bbc.co.uk/news/uk-england-kent-57335499 covid 2021-06-03 09:55:50
ニュース BBC News - Home Birmingham stabbing: Man charged with murder of Dea-John Reid https://www.bbc.co.uk/news/uk-england-birmingham-57342979 birmingham 2021-06-03 09:49:17
ニュース BBC News - Home Foreign aid: Conservative rebels aiming to reverse cuts https://www.bbc.co.uk/news/uk-57338465 income 2021-06-03 09:34:46
ニュース BBC News - Home Covid-19: UK open-minded on extending furlough says Michael Gove https://www.bbc.co.uk/news/uk-northern-ireland-57337965 wales 2021-06-03 09:20:13
ニュース BBC News - Home Robinson will 'try to focus on cricket' after apologising for tweets - Wood https://www.bbc.co.uk/sport/cricket/57343482 Robinson will x try to focus on cricket x after apologising for tweets WoodEngland debutant Ollie Robinson had a pretty tough night after apologising for historical racist and sexist tweets says team mate Mark Wood 2021-06-03 09:11:10
ニュース BBC News - Home Tokyo Olympic Games: When are they and will they go ahead despite Covid? https://www.bbc.co.uk/news/world-asia-57240044 japan 2021-06-03 09:09:39
サブカルネタ ラーブロ ハイデン.コッコFACTORY マルソン (丸孫商店)@青梅市<限定・特上天然霜入り牛タンの韓国風まぜソバ+韓国風まぜカップごはん> http://feedproxy.google.com/~r/rablo/~3/ZYkn--fxnro/single_feed.php ハイデンコッコFACTORYマルソン丸孫商店青梅市lt限定・特上天然霜入り牛タンの韓国風まぜソバ韓国風まぜカップごはんgt訪問日メニュー特上天然霜入り牛タンの韓国風まぜソバ韓国風カップごはん味醤油コメント今日紹介するのは、河辺駅から離れた「丸孫商店」。 2021-06-03 10:04:51
北海道 北海道新聞 4月下旬に菅氏再訪を米が打診 日米韓首脳会談を計画、文氏難色 https://www.hokkaido-np.co.jp/article/551417/ 日米首脳会談 2021-06-03 18:01:10
北海道 北海道新聞 国内初の電動三輪車シェア開始 高齢者も運転しやすく https://www.hokkaido-np.co.jp/article/551429/ 電動三輪車 2021-06-03 18:14:00
北海道 北海道新聞 特産カンロ 味も値段も初競り上々 むかわ・安平 https://www.hokkaido-np.co.jp/article/551425/ 追分 2021-06-03 18:10:00
北海道 北海道新聞 東京円、109円台後半 https://www.hokkaido-np.co.jp/article/551424/ 東京外国為替市場 2021-06-03 18:09:00
北海道 北海道新聞 4日の予告先発 https://www.hokkaido-np.co.jp/article/551423/ 予告先発 2021-06-03 18:09:00
北海道 北海道新聞 海外留学予定者に優先接種へ 政府方針、大学の義務化受け https://www.hokkaido-np.co.jp/article/551421/ 政府方針 2021-06-03 18:03:00
北海道 北海道新聞 リモートツアーで根室半島一周 根室交通がZoomで配信、お土産も https://www.hokkaido-np.co.jp/article/551402/ 根室半島 2021-06-03 18:01:01
ビジネス 東洋経済オンライン 精神科医が解説する大坂なおみ「うつ告白」の勇気 突発的な行動や発言が出るときの脳の状態 | 健康 | 東洋経済オンライン https://toyokeizai.net/articles/-/432139?utm_source=rss&utm_medium=http&utm_campaign=link_back bouts 2021-06-03 18:20:00
IT 週刊アスキー 『PSO2 ニュージェネシス』スターターパッケージの店舗別特典デザインが公開! https://weekly.ascii.jp/elem/000/004/057/4057734/ 発売予定 2021-06-03 18:50:00
IT 週刊アスキー バッファロー、メーカーの垣根を超えて接続可能「EasyMesh」の採用や対応するWi-Fiルーターの新製品を発表 https://weekly.ascii.jp/elem/000/004/057/4057737/ easymesh 2021-06-03 18:45:00
IT 週刊アスキー OKI、小型ATMを一般車両に搭載した「移動ATM車」を宮崎銀行へ納入 https://weekly.ascii.jp/elem/000/004/057/4057733/ 事業継続計画 2021-06-03 18:30:00
IT 週刊アスキー PS4/Xbox Oneで本格カジノ!『THE カジノコレクション (略)』が発売!! https://weekly.ascii.jp/elem/000/004/057/4057707/ playstationxboxone 2021-06-03 18:15:00

コメント

このブログの人気の投稿

投稿時間: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件)