投稿時間:2022-02-15 16:35:55 RSSフィード2022-02-15 16:00 分まとめ(37件)

カテゴリー等 サイト名等 記事タイトル・トレンドワード等 リンクURL 頻出ワード・要約等/検索ボリューム 登録日
IT 気になる、記になる… タイムズカー、iOS向け公式アプリで車のドアを解施錠可能に https://taisy0.com/2022/02/15/152060.html 会員カード 2022-02-15 06:34:12
IT 気になる、記になる… Anker、軽量コンパクトな新型ワイヤレスイヤホン「Soundcore Life P2i」を発売 − 20%オフセールも開催中 https://taisy0.com/2022/02/15/152057.html anker 2022-02-15 06:22:54
TECH Engadget Japanese テキサス州、2021年に停止された顔認識システムをめぐりMetaを提訴 https://japanese.engadget.com/texas-sues-meta-facial-recognition-060017834.html facebook 2022-02-15 06:00:17
IT ITmedia 総合記事一覧 [ITmedia News] Inspiration4のリーダー、初の商用船外活動を含むミッション「Polaris Dawn」を年内実施へ https://www.itmedia.co.jp/news/articles/2202/15/news134.html inspiration 2022-02-15 15:31:00
IT ITmedia 総合記事一覧 [ITmedia PC USER] 厚さ14.5mmの薄型ゲーミングノートPC「Alienware x14」が日本上陸 直販価格は約28万円から https://www.itmedia.co.jp/pcuser/articles/2202/15/news132.html alienwarex 2022-02-15 15:30:00
IT ITmedia 総合記事一覧 [ITmedia News] Twitterを卒業するのは30代が最多? 20代から30代で利用率2割減 https://www.itmedia.co.jp/news/articles/2202/15/news133.html itmedianewstwitter 2022-02-15 15:22:00
IT ITmedia 総合記事一覧 [ITmedia PC USER] サードウェーブ、ゲーミングPC「GALLERIA」にGeForce RTX 3080 12GB搭載モデル2製品を追加 https://www.itmedia.co.jp/pcuser/articles/2202/15/news131.html galleria 2022-02-15 15:03:00
AWS AWS - Japan [AWS Black Belt Online Seminar] AWSで構築するSmart Mirrorのご紹介 https://www.youtube.com/watch?v=aNDJs9pyiuY AWSBlackBeltOnlineSeminarAWSで構築するSmartMirrorのご紹介アフターコロナにも対応した、店舗での接客ソリューションを、AmazonLexなどを活用し、実演しながら紹介していきます。 2022-02-15 06:46:13
js JavaScriptタグが付けられた新着投稿 - Qiita 【JavaScript関数ドリル】を毎日やる【勉強用】その6 tail関数 https://qiita.com/maruyama1991/items/0d42989b2892851d172a 2022-02-15 15:50:58
js JavaScriptタグが付けられた新着投稿 - Qiita eslint-plugin-reactで未使用メソッドを検知:no-unused-class-component-methods https://qiita.com/Anders/items/f15a53640bd82391cb01 eslintpluginreactで未使用メソッドを検知nounusedclasscomponentmethodseslintpluginreactに正式に未使用メソッド検知が正式にサポートされるようになった。 2022-02-15 15:47:07
js JavaScriptタグが付けられた新着投稿 - Qiita フロントエンド画像リサイズ https://qiita.com/MIYAKEZAKA/items/11c93bceb18cd8e3ff50 画像をリサイズして表示する表示するだけであれば、わざわざ容量を落とす必要もないためCSSで調整可能です。 2022-02-15 15:33:12
Docker dockerタグが付けられた新着投稿 - Qiita curlエラー35:接続中の不明なSSLプロトコルエラー確認・対応方法 https://qiita.com/santosh_shah/items/727b43995789c1631d87 結果まだ同じエラー出てた最後にDockerEngineのバージョンを確認するしかなかった、DockerdesktopgtPreferencesーgtDockerEngineにクリックするとバージョン情報などを表示されるv上記のdockerengineのバージョン最新にアップデート後、再度curlを試した結果成功した。 2022-02-15 15:23:58
Git Gitタグが付けられた新着投稿 - Qiita gitがhttpsのみ通信可(ssh接続不可)の時に、認証を自動化したい https://qiita.com/lndclt/items/bb62d012a01532537e6d gitがhttpsのみ通信可ssh接続不可の時に、認証を自動化したい要旨リモートリポジトリがssh通信を受け付けておらず、https接続のみ使える、という場合があったりすると思います。 2022-02-15 15:59:18
Git Gitタグが付けられた新着投稿 - Qiita 初めてgit patchを使った https://qiita.com/astrsk_hori/items/48012928544fee8ae6dd ・Bリポジトリに存在しないファイルの差分・Bリポジトリでは中身が全然異なるファイルの差分・Bリポジトリのファイルに対象の行がない・ファイル名のリネームPatchfailedatほげほげこのようなメッセージが表示された場合は残念ながらマージに失敗しているので差分を確認する。 2022-02-15 15:26:23
技術ブログ Developers.IO AWS Lambda Powertools TypeScript がbeta releaseされたので触ってみた。 https://dev.classmethod.jp/articles/aws-lambda-powertools-typescript/ iamthrilledtoan 2022-02-15 06:43:22
技術ブログ Developers.IO Google アカウントに FIDO2 対応のセキュリティキーを設定してみる https://dev.classmethod.jp/articles/set-up-fido2-enabled-security-key-for-google-account/ google 2022-02-15 06:36:32
技術ブログ Developers.IO Discogs APIを使ってリリース済みアナログレコードについて検索してみた https://dev.classmethod.jp/articles/introduces-discogs-api/ amazon 2022-02-15 06:31:13
海外TECH DEV Community FoalTS framework - version 2.8 is here with complete Websocket support 🎉 https://dev.to/loicpoullain/foalts-framework-version-28-is-here-with-complete-websocket-support-2kjm FoalTS framework version is here with complete Websocket support Version of FoalTS is here and it brings support for Websocket with all the architecture that comes with it controllers and sub controllers hooks success and error responses message broadcasting rooms use from HTTP controllers DI error handling validation unit testing horizontal scalability auto reconnection etc In case you don t know Foal is Node JS frameworkwritten in TypeScriptfully featured dependency injection local and Cloud storage CLI ORM Swagger auto generation test environments etc and with an architecture which keeps complexity away no over engineering It is backed by more than tests and lines of documentation Get Started Servernpm install foal socket ioservices websocket service tsimport EventName ValidatePayload SocketIOController WebsocketContext WebsocketResponse from foal socket io export class WebsocketController extends SocketIOController EventName create product ValidatePayload additionalProperties false properties name type string required name type object async createProduct ctx WebsocketContext payload name string const product new Product product name payload name await product save Send a message to all clients ctx socket broadcast emit refresh products return new WebsocketResponse src index ts async function main const serviceManager new ServiceManager const app await createApp AppController serviceManager const httpServer http createServer app Instanciate init and connect websocket controllers await serviceManager get WebsocketController attachHttpServer httpServer ClientThis example uses JavaScript code as client but socket io supports also many other languages python java etc npm install socket io client import io from socket io client const socket io ws localhost socket on connect gt socket emit create product name product response gt if response status error console log response error socket on connect error gt console log Impossible to establish the socket io connection socket on refresh products gt console log refresh products When using socket io with FoalTS the client function emit can only take one two or three arguments socket emit event name socket emit event name payload The acknowledgement callback must always be passed in third position socket emit event name payload response gt do something Architecture Controllers and hooksThe WebSocket architecture is very similar to the HTTP architecture They both have controllers and hooks While HTTP controllers use paths to handle the various application endpoints websocket controllers use event names As with HTTP event names can be extended with subcontrollers user controller tsimport EventName WebsocketContext from foal socket io export class UserController EventName create createUser ctx WebsocketContext EventName delete deleteUser ctx WebsocketContext websocket controller tsimport SocketIOController wsController from foal socket io import UserController from user controller ts export class WebsocketController extends SocketIOController subControllers wsController users UserController Note that the event names are simply concatenated So you have to manage the spaces between the words yourself if there are any ContextsThe Context and WebsocketContext classes share common properties such as the state the user and the session However unlike their HTTP version instances of WebsocketContext do not have a request property but a socket property which is the object provided by socket io They also have two other attributes the eventName and the payload of the request ResponsesA controller method returns a response which is either a WebsocketResponse or a WebsocketErrorResponse If a WebsocketResponse data is returned the server will return to the client an object of this form status ok data data If it is a WebsocketErrorResponse error the returned object will look like this status error error error Note that the data and error parameters are both optional HooksIn the same way Foal provides hooks for websockets They work the same as their HTTP version except that some types are different WebsocketContext WebsocketResponse WebsocketErrorResponse import EventName WebsocketContext WebsocketErrorResponse WebsocketHook from foal socket io export class UserController EventName create WebsocketHook ctx services gt if typeof ctx payload name string return new WebsocketErrorResponse Invalid name type createUser ctx WebsocketContext Summary tableHTTPWebsocket Get Post etc EventNamecontrollerwsControllerContextWebsocketContextHttpResponse s WebsocketResponse WebsocketErrorResponseHookWebsocketHookMergeHooksMergeWebsocketHooksgetHookFunction getHookFunctionsgetWebsocketHookFunction getWebsocketHookFunctions Send a messageAt any time the server can send one or more messages to the client using its socket object Server codeimport EventName WebsocketContext WebsocketResponse from foal socket io export class UserController EventName create createUser ctx WebsocketContext ctx socket emit event first message ctx socket emit event second message return new WebsocketResponse Client codesocket on event payload gt console log Message payload Broadcast a messageIf a message is to be broadcast to all clients you can use the broadcast property for this Server codeimport EventName WebsocketContext WebsocketResponse from foal socket io export class UserController EventName create createUser ctx WebsocketContext ctx socket broadcast emit event first message ctx socket broadcast emit event second message return new WebsocketResponse Client codesocket on event payload gt console log Message payload Grouping clients in roomsSocket io uses the concept of rooms to gather clients in groups This can be useful if you need to send a message to a particular subset of clients import EventName SocketIOController WebsocketContext WebsocketResponse from foal socket io export class WebsocketController extends SocketIOController onConnection ctx WebsocketContext ctx socket join some room EventName event createUser ctx WebsocketContext ctx socket to some room emit event return new WebsocketResponse Accessing the socket io serverYou can access the socket io server anywhere in your code including your HTTP controllers by injecting the WsServer service import dependency HttpResponseOK Post from foal core import WsServer from foal socket io export class UserController dependency wsServer WsServer Post users createUser this wsServer io emit refresh users return new HttpResponseOK Error handlingAny error thrown or rejected in a websocket controller hook or service if not caught is converted to a WebsocketResponseError If the settings debug configuration parameter is true then the error is returned as is to the client Otherwise the server returns this response status error error code INTERNAL SERVER ERROR message An internal server error has occurred Customizing the error handlerJust as its HTTP version the SocketIOController class supports an optional handleError to override the default error handler import EventName renderWebsocketError SocketIOController WebsocketContext WebsocketErrorResponse from foal socket io class PermissionDenied extends Error export class WebsocketController extends SocketIOController implements ISocketIOController EventName create user createUser throw new PermissionDenied handleError error Error ctx WebsocketContext if error instanceof PermissionDenied return new WebsocketErrorResponse Permission is denied return renderWebsocketError error ctx Payload ValidationFoal provides a default hook ValidatePayload to validate the request payload It is very similar to its HTTP version ValidateBody Server codeimport EventName SocketIOController WebsocketContext WebsocketResponse from foal socket io export class WebsocketController extends SocketIOController EventName create product ValidatePayload additionalProperties false properties name type string required name type object async createProduct ctx WebsocketContext payload name string const product new Product product name payload name await product save Send a message to all clients ctx socket broadcast emit refresh products return new WebsocketResponse Validation error response status error error code VALIDATION PAYLOAD ERROR payload errors Unit TestingTesting WebSocket controllers and hooks is very similar to testing their HTTP equivalent The WebsocketContext takes three parameters NameTypeDescriptioneventNamestringThe name of the event payloadanyThe request payload socketanyThe socket optional Default Advanced Multiple node serversThis example shows how to manage multiple node servers using a redis adapter npm install socket io redis adapter redis websocket controller tsimport EventName SocketIOController WebsocketContext WebsocketResponse from foal socket io import createAdapter from socket io redis adapter import createClient from redis export const pubClient createClient url redis localhost export const subClient pubClient duplicate export class WebsocketController extends SocketIOController adapter createAdapter pubClient subClient EventName create user createUser ctx WebsocketContext Broadcast an event to all clients of all servers ctx socket broadcast emit refresh users return new WebsocketResponse Handling connectionIf you want to run some code when a Websocket connection is established for example to join a room or forward the session you can use the onConnection method of the SocketIOController for this import SocketIOController WebsocketContext from foal socket io export class WebsocketController extends SocketIOController onConnection ctx WebsocketContext The context passed in the onConnection method has an undefined payload and an empty event name Error handlingAny errors thrown or rejected in the onConnection is sent back to the client So you may need to add a try catch in some cases This error can be read on the client using the connect error event listener socket on connect error gt Do some stuff socket connect Custom server optionsCustom options can be passed to the socket io server as follows The complete list of options can be found here import SocketIOController from foal socket io export class WebsocketController extends SocketIOController options connectTimeout 2022-02-15 06:34:45
海外TECH DEV Community Never stop learning https://dev.to/dailydevtips1/never-stop-learning-2h83 Never stop learningWhen someone asks me what the best thing about being a developer is my answer is always the same It s an endless game of learning And most people either think it s a joke or think I m crazy But I m not This is why I got into development The ever changing ecosystem and upcoming frameworks fuel my endless need to learn and grow Never stop learningNever stop learning comes to mind when thinking about what it means to be a good developer And I would say this should be the fact for every single one of us There is always something to learn something that changed or something you could improve on It also means we are never at making the hunt to become your best self even more fun Once upon a time There was a raging evil called imposter syndrome Note Don t worry Imposter syndrome happens to all of us Let s paint a scene for a second You are a legendary Angular developer but your company has a massive product that runs on Angular so it s what you dream breathe and code like a legend You might be the best in the world when it comes to being an Angular developer At one stage the business might finally decide to switch and they make a drastic decision to move everything over to Vue You ve seen Vue you know the basics but the intern sitting next to you seems to be doing a better job than what you used to do However a good developer will put this feeling aside and take this as a learning opportunity Dive into Vue master that and you ll be back to your old self Why Because good developers have a knack for learning absorbing and mastering things How to keep up Keeping up is not easy I can tell you that It also depends on your goals where you are and more The main advice Take small steps Some might think I do a lot but I only learn a tiny amount but I do this every day So over time I m soaking up massive amounts of data If you try to master React in a week I m sure you ll be burned out within three days It s just not feasible And sorry to break it to you there are no shortcuts Also depending on your preference you can decide on taking a reading learning approach or the practical approach I love a more practical approach as seeing stuff happening makes things more straightforward But if books work for you there is nothing wrong with that Another tip that can help you is documenting your journey This doesn t mean writing in public It can even be a notebook you keep next to your computer The main thing is you can use this as a reference and see how much you ve grown Concepts that once looked impossible to grasp are now as easy as changing a lightbulb These moments will make you realize you ve grown so much What to learnThis is of course very personal and nobody except you can answer this However people can help inspire and encourage you It all comes down to knowing what you already got at what level and moving forward I often look at my current stack and decide if I can explain a concept to someone If the answer is no I ll revisit the basics of that If yes I can see the next best thing and go from there By taking this approach you make sure your basis is strong and will never fail you ConclusionNever stop learning There is always something we can improve on learn more about or even something new we could pick up That s what it means to be a developer And that s why I fell in love with being one How do you keep up with learning Thank you for reading and let s connect Thank you for reading my blog Feel free to subscribe to my email newsletter and connect on Facebook or Twitter 2022-02-15 06:02:29
海外科学 NYT > Science Did the ‘Black Death’ Really Kill Half of Europe? New Research Says No. https://www.nytimes.com/2022/02/10/science/black-death.html Did the Black Death Really Kill Half of Europe New Research Says No Looking at ancient deposits of pollen as markers of agricultural activity researchers found that the Black Death caused a patchwork of destruction in Europe 2022-02-15 06:42:24
海外科学 NYT > Science This Galápagos Volcano Produced a ‘Mesmerizing’ River of Fire https://www.nytimes.com/2022/02/09/science/volcano-lava-eruption-pictures.html This Galápagos Volcano Produced a Mesmerizing River of FireWhen Wolf Volcano erupted last month in a remote corner of Ecuador its lava trail extended for miles in an orange line so bright that it was visible from space 2022-02-15 06:47:05
金融 JPX マーケットニュース [東証]新規上場の承認(市場第一部):住信SBIネット銀行(株) https://www.jpx.co.jp/listing/stocks/new/index.html 住信sbiネット銀行 2022-02-15 15:30:00
金融 JPX マーケットニュース [東証]制限値幅の拡大:1銘柄 https://www.jpx.co.jp/news/1030/20220215-01.html 東証 2022-02-15 15:15:00
金融 ニッセイ基礎研究所 昨今のメイドカフェ事情-「萌え萌えキュン」だけがコンカフェじゃない!? https://www.nli-research.co.jp/topics_detail1/id=70239?site=nli このCUREMAIDCAFEacuteでは店員の制服をメイド服に統一し、それまでの様にただコスプレをする店員がいるカフェから、メイドが給仕する空間そのものがコンセプトとして提供されるようになった。 2022-02-15 15:52:20
金融 日本銀行:RSS 指数連動型上場投資信託受益権等買入等基本要領に定める信託の受託者選定にかかる一般競争入札の結果について http://www.boj.or.jp/announcements/release_2022/rel220215a.pdf 一般競争入札 2022-02-15 16:00:00
金融 日本銀行:RSS フランクフルト事務所の移転について http://www.boj.or.jp/announcements/release_2022/rel220215b.htm 事務所 2022-02-15 16:00:00
ニュース BBC News - Home Cost of living: Most Welsh households to get £150 payments https://www.bbc.co.uk/news/uk-wales-politics-60376864?at_medium=RSS&at_campaign=KARANGA council 2022-02-15 06:33:17
ニュース BBC News - Home Winter Olympics: Anna Gasser beats Zoi Sadowski-Synnott to win snowboard big air gold https://www.bbc.co.uk/sport/av/winter-olympics/60384720?at_medium=RSS&at_campaign=KARANGA Winter Olympics Anna Gasser beats Zoi Sadowski Synnott to win snowboard big air goldAustria s Anna Gasser wins snowboard big air gold with an absolutely massive run beating New Zealand s slopestyle champion Zoi Sadowski Synnott at the Winter Olympics 2022-02-15 06:04:59
ビジネス ダイヤモンド・オンライン - 新着記事 ウクライナ国境のロシア軍、多方面攻撃が可能に - WSJ発 https://diamond.jp/articles/-/296436 攻撃 2022-02-15 15:23:00
ビジネス ダイヤモンド・オンライン - 新着記事 ウクライナ侵攻、市場への影響は限定的か - WSJ発 https://diamond.jp/articles/-/296437 限定的 2022-02-15 15:14:00
ビジネス ダイヤモンド・オンライン - 新着記事 マスク氏がテスラ株を昨年寄付、6600億円相当 - WSJ発 https://diamond.jp/articles/-/296438 相当 2022-02-15 15:05:00
北海道 北海道新聞 釧路管内の新規感染60人 根室管内は18人 新型コロナ https://www.hokkaido-np.co.jp/article/645892/ 根室管内 2022-02-15 15:15:00
IT 週刊アスキー 「白いダース」の味わいを再現、森永製菓「白いダースアイスバー」 https://weekly.ascii.jp/elem/000/004/083/4083455/ 森永製菓 2022-02-15 15:30:00
IT 週刊アスキー DMM GAMES、「ふるーつふるきゅーと!〜創生の大樹と果実の乙女〜」リリース2.5周年記念のキャンペーンを開催! https://weekly.ascii.jp/elem/000/004/083/4083511/ dmmgames 2022-02-15 15:20:00
IT 週刊アスキー 報酬2倍&消費TP半分で育成びより!『ウマ娘 プリティーダービー』で「1st Anniversaryキャンペーン第1弾」が開催中 https://weekly.ascii.jp/elem/000/004/083/4083516/ anniversary 2022-02-15 15:15:00
IT 週刊アスキー DMM GAMES、青春育成ゲーム「ウインドボーイズ!」にて伊礼康人の限定SSRカードが登場するイベント「銀花煌めくナイトパフォーマンス」開催 https://weekly.ascii.jp/elem/000/004/083/4083508/ dmmgames 2022-02-15 15:10:00
マーケティング AdverTimes 希望退職に2868人が応募 JT、国内たばこ事業構造改革で https://www.advertimes.com/20220215/article377012/ 希望退職 2022-02-15 06:42:42

コメント

このブログの人気の投稿

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