ホワイトハット(82,038件)

「いちばん大切なことは、目には見えない」重要なことを見極めるため知識体系情報サイト

 うん、よく見るとリンゴ、傾いてるし。カナダからのニュースをお届けします。カナダのイケメン首相ことジャスティン・トルドー氏、なぜかMacBookユーザーのフリをしています。なんでですか、なんでなんですか!?カナダの自由党が公式サイトに掲載したウェブミーティングをするトルドー首相の写真。一見、いつも通りさわやかなトルドー首相がにこやかにボランティアの皆さんとお話しされている様子です。でもラップトップ

カナダの首相のパソコン、WindowsにAppleステッカー貼ってない? | ギズモード・ジャパン

Webページ

www.gizmodo.jp

2021-05-23 08:03:53

詳細ページ

アジャイルなソフトウェア開発チームは、コラボレーションとダイナミックな交流によって力を発揮する。6つのベストプラクティスを実践することで、チームがリモートワーク時にも効果的に機能し、エンゲージメントを保てる。

リモートワーク時のアジャイルソフトウェア開発チームに役立つ6つのベストプラクティス:Gartner Insights Pickup(208) - @IT

Webページ

www.atmarkit.co.jp

2021-05-23 08:02:51

詳細ページ

レンドマイクロでは、2021年に入り新たに登場したランサムウェア「Cring(クリング)」の被害が国内で拡大していることを確認しました。トレンドマイクロが2021年1~4月の間にインシデント対応を支援したランサムウェア被害事例のうち、およそ7割が「Cring」によるものでした。

ランサムウェア「Cring」の被害が国内で拡大、VPN脆弱性を狙い侵入 | トレンドマイクロ セキュリティブログ

Webページ

blog.trendmicro.co.jp

2021-05-23 08:02:23

詳細ページ

横浜市戸塚区のアパートで飼育中に逃げ出していたアミメニシキヘビが22日、見つかり、捕獲された。地元消防によると、同日午後4時45分ごろ、同アパート2階の天井裏に…

逃走ヘビ、アパート天井裏で16日ぶり捕獲 - 産経ニュース

Webページ

www.sankei.com

2021-05-23 08:01:57

詳細ページ

~/.gitignore_global を指定するのをやめ、デフォルトの置き場に置こう

Webページ

zenn.dev

2021-05-23 08:00:56

詳細ページ

シェルスクリプトでLISP処理系を作ってみた

Webページ

zenn.dev

2021-05-23 08:00:54

詳細ページ

本連載『文系大学生がAI講座受けてみた』では、大学では文学部で日本語学を専攻する文系の私が無料で学べるAI講座にチャレンジしていきます! 第1回目:文系大学生が約1時間半でAIの歴史がわかる無料講座を受けてみた! 第2回目:文系大学生が無料のPython入門講座を受けてみた 必要な数学知識も学べる 第3回目:

文系大学生が松尾豊氏が監修する無料のAI基礎講座を受けてみた! たった5時間でDXも理解できる | Ledge.ai

Webページ

ledge.ai

2021-05-23 08:00:52

詳細ページ

何気なく、ツイートしたところ、たくさんリアクションもらえて嬉しかったのと、僕も普段手癖で打ってて、オプションの記憶怪しかったり、知らないオプションがあった。正確...もっと読む もっと読む

あなたはps -ef派なのか、auxf派なのかをちょっとだけまとめてみた | ten-snapon.com

Webページ

ten-snapon.com

2021-05-23 08:00:20

詳細ページ

自分がすごいと思ったGitHub上のリポジトリ【機械学習編】 - Qiita

Webページ

qiita.com

2021-05-22 20:10:07

詳細ページ

This post is an accelerated introduction to Svelte from the point of view of someone with solid experience with React. I’ll provide a quick introduction,

Svelte for the Experienced React Dev | CSS-Tricks

Webページ

css-tricks.com

2021-05-22 20:09:40

詳細ページ

This issue is meant to track Jest's internal migration to TypeScript. Process We would love to get help from the community here. I've compiled a list of all the packages in this repo below - feel free to claim any package not claimed and...

☂️TypeScript migration tracking issue · Issue #7807 · facebook/jest · GitHub

Webページ

github.com

2021-05-22 20:09:27

詳細ページ

はじめに キッチハイクのエンジニアメンバーでReact Nativeの気になるニュースを持ち寄ってみました! はじめに React Native Japanコミュニティの近況 React Native アプリのクリーンビルドコマンド React Native プロジェクトのクリーンアップを行うライブラリ iOSでのHermesパフォーマンス 決済サービス Stripe の React Native SDK stripe-react-native React Native でグラデーションを再現する キッチハイクのアプリ開発最前線 さいごに We're Hiring React Native J…

RN Features 2021年5月号 - React Native アプリのクリーンビルドコマンド, iOSでのHermesパフォーマンス, 決済サービス Stripe の React Native SDK - KitchHi…

Webページ

tech.kitchhike.com

2021-05-22 20:08:58

詳細ページ

Edit by @nicolo-ribaudo When migrating @babel/core we shouldn't forget about                babel/packages/babel-helper-hoist-variables/package.json                   Lines 16 to 18       in       bfd3f80                                                     "TODO": "The @babel/traverse dependency is only needed for the NodePath TS type. After converting @babel/core to TS we can import NodePath from there.",                                           "dependencies": {                                             "@babel/traverse": "workspace:^7.12.17",                      Still work in progress, but most of the migration already done:  updated lint/build configuration migrated everything to typescript using flowts(see commits with messages starting with flowts:) configured typescript project references so it is nice and fast did some manual fixes:  updated generated code to be in TypeScript did manual fixes where types happened to be incorrect backported some types/comments from DefinitelyTyped    Currently, the whole project passes the type check, also existing tests should be working. Commits are grouped by package and sorted in topological order (before fixing some package - all of its dependencies should be already fixed) I tried to avoid unnecessary changes, and so - for example, did not use strict mode anywhere(I think it would be good to add in some places, but - later). Remaining things, I am planing before marking this as ready for review:  to merge some dependency updates and related improvements (separate PRs) to review the changes I did and to update the comments (some comments might be no longer relevant, and some fixes might be not needed anymore)   Some background: I working on a tool automating the Flow to TypeScript migration, which is already in a quite working state. It is built using Babel, and partially because of that - I want to improve TypeScript typings for Babel. I think, the best way to so is to convert the whole project to TypeScript, which I believe also has other benefits:  all the benefits of TypeScript in comparison to Flow (much bigger community, better IDE support, etc…) finding and fixing bugs… improving type coverage - currently, it is very sparsely typed, and I believe a bit more types would be helpful  Related meeting notes: https://github.com/babel/notes/blob/master/2020/05-07.md#investigate-using-typescript-in-our-code  Migration summary: The most complicated/problematic was babel/parser - there are a lot of issues in flow types that were highlighted after the migration(basically, as often happens with flow… - some issues were ignored) in particular, there are a lot of issues in node type definitions:  some of the types there were impossible(types intersections that should result in empty property types, where it clearly should not be) some node types were missing also, it is out of sync with babel/types (which I think it should use instead of redeclaring all the node types)  weird changes There is a tricky problem about importing ../package.json in TypeScript. Generally TypeScript can support importing json files, but it also wants all imported files to be included as sources. So if to include only src - ../package.json would be allowed. If to include package.json into sources - when building, structure of all the sources (not only src as needed) would be replicated. To solve this, I did a bit weird trick: Where needed - I added src/package.js, with following content: import { version } from "../package.json"; export { version };                               Which is not type-checked, and can be imported instead of package.json. Suggestions for better options are welcome. common fixes:   remove unnecessary typecasts(most common as Array<any>)   add missing optional argument annotations (most often boolean arguments which are optional, are not marked as such)   add as const in some places to get more specific types (typically for "enum-like" constants)  Object.freeze({}) -> Object.freeze({} as const) {…} -> {…} as const    remove some anys(btw, in flow Function and Object - are aliases to any), in many cases typescript can infer better type   remove some typecasts to unknown (mixed in flow) or replace it with any where appropriate   where needed replace $FlowIgnore with @ts-ignore   fixing usages of not existing types (some types used in flow code not were imported, or imported from somewhere they do not exist)   replace void with undefinded in some places (in ts void mean no value and should be used only as return type)   fixing optional argument annotations (in typescript undefned type, does not mean that argument is optional, and so it would require argument which however might be undefined)   change type annotation for some functions to be type guards, for example: - function isThenable(val: unknown): boolean { + function isThenable<T extends PromiseLike<any>>(val: unknown): val is T {                                 in some cases - added type refinement, before the condition, for example: if (t.isStringLiteral(node) && node.value === "use strict") instead of just node.value === "use strict" (which technically will work, but would make TS not happy)   add missing type parameter(most common Array to Array<any>, but also the same for Set, Map and WeekMap types)   fix incorrect DOM type usages:  replace Location with t.SourceLocation replace Node with t.Node    add missing fields in some types(for example recordAndTupleSyntaxType, jsescOption and jsonCompatibleStrings in Format in babel-generator)   declared instance fields in class declarations (often they were assigned somewhere in class methods or constructor, but not declared)   replace some assertions like path.type === "JSXFragment" with appropriate utility calls path.isJSXFragment()   remove unused call arguments or properties on options object where in some places, where function does not have that argument or does not use the property   @ts-expect-error when doing something not type-safe, like assigning .type on AST node   @ts-expect-error when getting tagExpr.value from Literal (because it is not present on NullLiteral)   import and use types from babel-types and babel-travese in some plugins, helpers (not everywhere, I would suggest this can be one of the next steps)   replace template -> template.statement where appropriate to have simpler type-casts   use !!value in some places where value should be converted to boolean   additional type annotations in some places(tried to minimize this, also to consider as one of the next steps after landing this)   typecasts like path.get("tag.object") as NodePath where correct type cannot be inferred   type declaration for visitor state in some helpers/plugins (as possible next step - to do more of this)   use Visitor type from babel-traverse for visitor declaration in plugins (allows improving type coverage for individual visitors without manually typing each property in declaration)   in some places, t.Node validators were used on NodePath(which evetually worked, but is not correct in general), example fix: t.isImportDeclaration(stmt) -> stmt.isImportDeclaration()   notable changes:  updated build config to support TypeScript instead of Flow  use babel preset typescript instead of flow plugin config updates to allow using .ts files update code generating scripts to generate typescript code   babel-types  add more generated types to src (adopting existing logic from scripts/typescript) update generateBuilders to specify exact argument types improve deprecated types generation backport types from generate index.d.ts to be included in sources avoid export of builders starting with upper case in ts sources (generate separate js file for deprecated exports, to avoid exporting types for them)   babel-parser   use abstact class (instead of hack with flow type comments)   refactor parser plugins to be typed   specify exact argument list in methods overridden in parser plugins, and in calls to original implementation - to have exactly the same method signature(which is now type-checked). for example: - return super.parseMaybeAssign(...args); + return super.parseMaybeAssign( +  noIn, +  refExpressionErrors, +  afterLeftParse, +  refNeedsArrowPos, + );                                 refactoring in node type definitions  use interfaces instead of type aliases for node type definitions extend node types (instead of & in flow types, which often looked not correct)    babel-parser move included type definitions to source code   add/fix some node types    babel-generator  babel-generator type this for generators assigned to Printer.prototype   babel-traverse  this type annotation for mixins in NodePath, export types for fields added by mixins validators, asserts and virtual types code generation scripts   babel-core  remove not existing type imports, like replacing type SourceMap = typeof import("convert-source-map").SourceMap; with any in packages/babel-core/src/transformation/file/generate.ts add types for some dependencies   babel-helper-plugin-utils  generic type for declare utility     Going to periodically rebase this on current master, while finishing work on. However, there is not likely to be a big change here, so comments and suggestions are welcome.      Q                       A      Fixed Issues?    Patch: Bug Fix?    Major: Breaking Change?    Minor: New Feature?    Tests Added + Pass? Yes (almost, to be updated)   Documentation PR Link    Any Dependency Changes?    License MIT

Migrate Babel from Flow to TypeScript by zxbodya · Pull Request #11578 · babel/babel · GitHub

Webページ

github.com

2021-05-22 20:08:27

詳細ページ

minne CREを紹介します - ペパボテックブログ

Webページ

tech.pepabo.com

2021-05-22 20:01:08

詳細ページ

スパコンによる大規模分子動力学計算の現状

Webページ

zenn.dev

2021-05-22 20:00:41

詳細ページ