投稿時間:2023-03-26 05:15:45 RSSフィード2023-03-26 05:00 分まとめ(21件)

カテゴリー等 サイト名等 記事タイトル・トレンドワード等 リンクURL 頻出ワード・要約等/検索ボリューム 登録日
js JavaScriptタグが付けられた新着投稿 - Qiita JavaScriptを初めて学ぶ4 https://qiita.com/yudai39/items/43f22844129993768c98 getelementbyid 2023-03-26 04:33:03
Ruby Rubyタグが付けられた新着投稿 - Qiita 【Rails】初心者向けチュートリアル(DB のデータを画面に表示する) https://qiita.com/to3izo/items/422e06724f360e1d0d19 rails 2023-03-26 04:18:32
Ruby Railsタグが付けられた新着投稿 - Qiita 【Rails】初心者向けチュートリアル(DB のデータを画面に表示する) https://qiita.com/to3izo/items/422e06724f360e1d0d19 rails 2023-03-26 04:18:32
海外TECH DEV Community Stop Wishing for TypeScript and Start Using JSDocScript in your Vanilla JS! https://dev.to/noriller/stop-wishing-for-typescript-and-start-using-jsdocscript-in-your-vanilla-js-1319 Stop Wishing for TypeScript and Start Using JSDocScript in your Vanilla JS First no didn t create a new framework so no worries JSDocScript isn t really a thing I think Second just use Typescript But when you can t…then read on There are a bunch of benefits to using Typescript everyone knows that The problem is that this isn t true for the people of the past poor them so you will probably still find a lot of legacy projects in Vanilla JS So before you start crying again because the IDE doesn t help you with anything and rage over hours wasted because of a typo that the framework just said “hey there s an error and then you in vain kept asking the screen with “yes I know there s an error but WHERE and then the framework just like “¯ ツ ¯ If this is based on real events I won t confirm nor deny Anyway…the more you use Typescript the more you feel like missing a limb when you have to use Vanilla JS but the thing people don t tell you is JSDOC An exampleI put together a little Todo example for you to play with don t mind the example much…have I ever said that I m awful at creating examples Anyway for this you need to open an IDE to check all the types I also left a lot of comments Yes this is React but you can use JSDOC with anything They are just comments that your IDE interprets so there s no need to “compile them Need more I m of the opinion that your documentation and JSDoc even TS is a type of documentation needs to be the closest it can be to where you use it But for some cases where you can create a d ts file that will help you and your colleagues with advanced stuff And that will totally ignored by compilers and anything else I usually create it to copy utilities that JSDoc might not support out of the box or any utility I might need doing extend this or infer with multiple generics is really hard in JSDoc although not impossible for many things mind you CaveatsUnfortunately JSDoc is not TS Not only that it s really limited in what it can do Don t get me wrong It s amazing in what it can do but there are things it just can t Not only that it s verbose You need a lot to do the same as with TS And an important one from what I understood the way the JSDoc comments are interpreted into usable types might be different depending on the IDE…if you re using VSCode you can do anything you ll find out there about it but for others I m not sure How to startIf you check the example again you will see a ts check at the top of the file You will need this in every file you want to be checked or you can add checkJs true to a jsconfig json in this case you can add a ts nocheck to the files you don t want checking You also want in your VSCode settings to search and check true checkJs or add js ts implicitProjectConfig checkJs true to the settings JSON When to startIf you re in a legacy project and like TS but you have JS and can t migrate to TS for any reason then start NOW You can start with the feature fix you re working on then expand to utilities…also bring your colleagues on it with you And when you just show the “magic of types working to your fellow programmers then I don t think you need arguments The less you wait the fewer problems you ll have and you ll probably have enough of them So the first thing you have to do is set stuff up and start sprinkling the types VSCode is really smart so you don t really need to type everything and the more you do the more you ll be helped by it My experience with the adoptionIn my case I ended up using a whole day or two just making and passing types that the frontend was using but because I never had to think about actually typing them then I had a lot of problems even figuring out what I had in there I was just coming back from vacations I still had a lot of problems thereafter it was a HUGE feature but it s totally worth it Every time it just knows what I m using and gives me completions and errors on typos…it s bliss Sources you can useThe official docs which are really bad TBH The typescript one that doesn t really help much but hey all of this is powered by TS And then there are a lot of people who already wrote about this this one is a little outdated but still gives a lot of good info and saved me more than a few times 2023-03-25 19:07:34
海外TECH Engadget Microsoft releases fix for Windows 11 screenshot privacy bug https://www.engadget.com/microsoft-releases-fix-for-windows-11-screenshot-privacy-bug-195412172.html?src=rss Microsoft releases fix for Windows screenshot privacy bugMicrosoft has released a pair of emergency updates to address the “aCropalypse security flaw found within its native Windows and screenshot editing apps As Bleeping Computer nbsp reports the company began testing a fix for the vulnerability earlier this week shortly after it was discovered by retired software engineer Chris Blume On Friday evening Microsoft began rolling out public updates for Windows s Snipping Tool as well as Windows s Snip amp Sketch app You can manually prompt Windows to patch the app you use by opening the Microsoft Store and clicking on “Library followed by “Get Updates Microsoft recommends all users install the updates The aCropalypse flaw was first discovered on Pixel devices and subsequently addressed by Google in Android s recent March security update In the case of Windows s Snipping Tool it turned out the utility wasn t properly overwriting cropped PNG data The issue did not affect all PNG files but the concern was that bad actors could exploit the vulnerability to partially recover edited images particularly those that had been cropped to omit sensitive information As with Google s March Android update Microsoft s patches won t protect images that were previously created with its screenshot tools nbsp This article originally appeared on Engadget at 2023-03-25 19:54:12
ニュース BBC News - Home Halt Israel legal reform, urges defence minister https://www.bbc.co.uk/news/world-middle-east-65076682?at_medium=RSS&at_campaign=KARANGA nationwide 2023-03-25 19:32:17
ニュース BBC News - Home Women's Six Nations 2023: England 58-7 Scotland - Red Roses score 10 tries in Hunter's last game https://www.bbc.co.uk/sport/rugby-union/65077147?at_medium=RSS&at_campaign=KARANGA Women x s Six Nations England Scotland Red Roses score tries in Hunter x s last gameEngland captain Sarah Hunter s career comes to an emotional end as the Red Roses secure a try Six Nations win against Scotland in Newcastle 2023-03-25 19:08:36
ニュース BBC News - Home Women's Six Nations: England score 10 tries in win over Scotland https://www.bbc.co.uk/sport/av/rugby-union/65077834?at_medium=RSS&at_campaign=KARANGA newcastle 2023-03-25 19:12:49
ニュース BBC News - Home Manchester United Women 4-0 West Ham United Women: Marc Skinner's side return to WSL summit to put pressure on Chelsea. https://www.bbc.co.uk/sport/football/64997985?at_medium=RSS&at_campaign=KARANGA Manchester United Women West Ham United Women Marc Skinner x s side return to WSL summit to put pressure on Chelsea Manchester United move top of the Women s Super League and put pressure on Chelsea as they beat West Ham at Old Trafford on Saturday evening 2023-03-25 19:53:14
ビジネス ダイヤモンド・オンライン - 新着記事 「あなたの英語は変」なんて無視!“インド人の英語”から日本人が学べること - ビジネスを強くする教養 https://diamond.jp/articles/-/319982 驚き 2023-03-26 04:55:00
ビジネス ダイヤモンド・オンライン - 新着記事 CAがひれ伏しかけた超有名男性の礼儀、JAL在籍25年で見たのは一人だけの究極作法【見逃し配信】 - 見逃し配信 https://diamond.jp/articles/-/320120 関連 2023-03-26 04:50:00
ビジネス ダイヤモンド・オンライン - 新着記事 40代半ばで第2子誕生の共働き夫婦、妻が転職で収入減…学費用に家を売るべき? - お金持ちになれる人、貧乏になる人の家計簿 深野康彦 https://diamond.jp/articles/-/320102 代半ばで第子誕生の共働き夫婦、妻が転職で収入減…学費用に家を売るべきお金持ちになれる人、貧乏になる人の家計簿深野康彦今回は、歳男性からの相談をピックアップする。 2023-03-26 04:45:00
ビジネス ダイヤモンド・オンライン - 新着記事 「手抜き」と言わずカット野菜を使おう!栄養士が“超シンプル調理”を勧める理由 - ニュース3面鏡 https://diamond.jp/articles/-/318115 冷凍食品 2023-03-26 04:40:00
ビジネス ダイヤモンド・オンライン - 新着記事 道路標識の「東京まで50km」は、東京のどこまでの距離のこと? - 日本の道・道路がわかる雑学 https://diamond.jp/articles/-/319194 浅井建爾 2023-03-26 04:35:00
ビジネス ダイヤモンド・オンライン - 新着記事 口癖を「~すべき」から「~したい」に!他人軸じゃなく“自分軸”で生きよう - ニュースな本 https://diamond.jp/articles/-/319003 生きよう 2023-03-26 04:30:00
ビジネス ダイヤモンド・オンライン - 新着記事 池上彰が語る「地味だけどすごく聞き上手、その人は“スパイ”かも」 - ニュースな本 https://diamond.jp/articles/-/319046 聞き上手 2023-03-26 04:25:00
ビジネス ダイヤモンド・オンライン - 新着記事 なぜか好かれる人が「お久しぶりです」の後に“ちょい足し”する言葉とは - from AERAdot. https://diamond.jp/articles/-/319992 なぜか好かれる人が「お久しぶりです」の後に“ちょい足しする言葉とはfromAERAdotコミュニケーションで悩む人にぜひ試してほしいのが、「ちょい足しことば」です。 2023-03-26 04:20:00
ビジネス ダイヤモンド・オンライン - 新着記事 3カ月で体重11.5kg減の男性が語る「肉体改造のコツ」、筋トレと食生活の中身は? - 男のオフビジネス https://diamond.jp/articles/-/320100 肉体改造 2023-03-26 04:15:00
ビジネス ダイヤモンド・オンライン - 新着記事 フランス紅茶の老舗「ニナス」のサロンが東京進出、気分はマリー・アントワネット! - 地球の歩き方ニュース&レポート https://diamond.jp/articles/-/319938 地球の歩き方 2023-03-26 04:10:00
ビジネス ダイヤモンド・オンライン - 新着記事 新日本酒紀行「旭鳳」 - 新日本酒紀行 https://diamond.jp/articles/-/320002 品質向上 2023-03-26 04:05:00
ビジネス 東洋経済オンライン 勝田線が「廃止すべきでなかった」と言われる由縁 鉄道とは関係なくベッドタウン化した沿線 | ローカル線・公共交通 | 東洋経済オンライン https://toyokeizai.net/articles/-/661685?utm_source=rss&utm_medium=http&utm_campaign=link_back 東洋経済オンライン 2023-03-26 04:30: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件)