IT |
InfoQ |
Java News Roundup: Sequenced Collections, Spring 6.0-RC1, Apache Tomcat, Reactor 2022.0-RC1 |
https://www.infoq.com/news/2022/10/java-news-roundup-oct10-2022/?utm_campaign=infoq_content&utm_source=infoq&utm_medium=feed&utm_term=global
|
Java News Roundup Sequenced Collections Spring RC Apache Tomcat Reactor RCThis week s Java roundup for October th features news from OpenJDK JDK Spring Framework RC Spring Batch M Quarkus Helidon and Project Reactor RC Piranha JHipster Lite Apache Tomcat and Apache James and Devoxx Belgium By Michael Redlich |
2022-10-17 09:30:00 |
ROBOT |
ロボスタ |
人工衛星を操作して宇宙から地球が見られる日がもうすぐやってくる!ソニーが「STAR SPHERE」体験ブースを展示 CEATEC2022 |
https://robotstart.info/2022/10/17/ceatec-sony.html
|
人工衛星を操作して宇宙から地球が見られる日がもうすぐやってくるソニーが「STARSPHERE」体験ブースを展示CEATECシェアツイートはてブ「CEATEC」おいてソニーは、持続可能な社会の実現と、地球環境を保全することをコンセプトに、様々な取り組みを盛り込んだブースを展開している。 |
2022-10-17 09:48:18 |
IT |
ITmedia 総合記事一覧 |
[ITmedia ビジネスオンライン] 野村不動産、石神井公園駅に地上26階・地下2階の複合施設を建設へ |
https://www.itmedia.co.jp/business/articles/2210/17/news154.html
|
itmedia |
2022-10-17 18:36:00 |
IT |
ITmedia 総合記事一覧 |
[ITmedia Mobile] CASETiFY、黄ばみにくい「UVディフェンダー」採用のiPhone 14シリーズ向けクリアケース発売 |
https://www.itmedia.co.jp/mobile/articles/2210/17/news153.html
|
casetify |
2022-10-17 18:05:00 |
python |
Pythonタグが付けられた新着投稿 - Qiita |
【Python】妻に真夜中のダンスレッスン予約を強要されたので、Webスクレイピングで回避を試みようとしている話 (4.処理フローについて考える) |
https://qiita.com/sibulabo/items/f951f8e2dfa713cccbdc
|
chrome |
2022-10-17 18:53:09 |
js |
JavaScriptタグが付けられた新着投稿 - Qiita |
ほぼ毎日Qiitaを2時間見る私が、特に好きな記事をまとめてみた |
https://qiita.com/scythercas/items/ba3a8cb8fd4fe83ef146
|
qiita |
2022-10-17 18:42:24 |
js |
JavaScriptタグが付けられた新着投稿 - Qiita |
Phoenix LiveView と キーボードイベント |
https://qiita.com/sand/items/a72a74ce7885a80eb969
|
javascript |
2022-10-17 18:09:13 |
技術ブログ |
Developers.IO |
[Amazon FSx for NetApp ONTAP] ワークグループのCIFSサーバーをドメイン参加させてみた |
https://dev.classmethod.jp/articles/amazon-fsx-for-netapp-ontap-workgroup-cifs-server-to-join-domain/
|
amazonfsxfornetappontap |
2022-10-17 09:32:43 |
海外TECH |
DEV Community |
🕶 What it takes to build a Static Analysis tool |
https://dev.to/antoinecoulon/what-it-takes-to-build-a-static-analysis-tool-4p40
|
What it takes to build a Static Analysis toolHey dear developer Welcome to the first chapter of My journey of building Skott an open source Node js library a little series in which I ll talk about different steps I ve been through building the Skott project Before diving into the subject of today here is the blog post introducing the project which is not mandatory to read to make this article valuable though but it can help providing some background Ok without further ado let s talk about the topic of the day building a static analysis tool What is a Static Analysis A Static Analysis represents the process of analyzing the source code without running the application You probably know many tools leveraging Static Analysis behind the scenes for example JavaScript Node js ESLintPython PylintRust ClippyLinters are a set of tools fully leveraging Static Analyzes to flag programming errors bugs stylistic errors and suspicious constructs without having to run the code As you can see on the image above ESLint is able to detect unused variables and flag them as errors according to the provided configuration How does the Static Analysis work behind the scenes The answer to that question will be done in three steps What is a Parser What is an Abstract Syntax Tree How to use an Abstract Syntax TreeBuilding static analysis tools is not a trivial task so we ll only scratch the surface here but you should have some basics to go further if you want What is a ParserA Parser is a program generating an intermediary data structure from an input string Parsing is a is most typically done in two phases Lexical Analysis also known as Lexer Tokenizer The goal of this tokenization phase is to generate tokens from the input program which is only a raw string at this point any programming language file in fact js rs go py etc Tokens are a collection of characters allowing to describe pieces of code Syntactic AnalysisFollowing the tokenization the Syntactic Analysis takes produced tokens and generates an intermediary data structure describing precisely these tokens and their relationships Spoiler this intermediary data structure is most of the time an Abstract Syntax Tree AST Here is a schema of a common parsing process What is an Abstract Syntax TreeAs already said in the previous section an Abstract Syntax Tree is one of the data structure that can be generated while parsing source code other structures can be used instead such as Concrete Syntax Trees depending on the use case The goal of this intermediate representation is to have a standardized way of representing the code that is easy to work with but without any loss of information The most important keyword here is probably standardized which is one of the main characteristics an AST should respect to be useful As the AST is an intermediary data structure the overall goal is to be able to transform the tree to anything we want for example transform the tree to produce a program in an entirely new language e g generating JavaScript from Scala or most commonly JavaScript from TypeScript etc To allow that each ecosystem language has strict specifications describing what should be the standard shape of its own Abstract Syntax Tree For the JavaScript language this is the ESTree spec This standardized format has the advantage of allowing any type of Parser written using any programming language to produce a common AST following the ESTree spec that can be then interpreted by any Interpreter written in any language How to use an Abstract Syntax TreeGenerally speaking for compilers an Abstract Syntax Tree is as I said multiple times an intermediary data structure which can be then transformed to produce byte code or any other source target e g TypeScript emits JavaScript using its own AST Nevertheless in the context of a Static Analysis an Abstract Syntax Tree will most likely represent our final data structure needed as it will allow us to inspect the source code patterns directly from it no need further transformations that a compiler would do By using the spec describing the shape of the AST we re able as Static Analysis tools developers to rely on it to determine whatever static rule condition it s just a matter of finding data structure combinations To explore a little bit further the structure of ASTs for various languages I like a lot AST Explorer Let s wrap it up by exampleTo demonstrate a little Static Analysis tool in action I ll show one use case of Skott a library that builds a Directed Graph of relationships between files of a Node js project If you are not fully sure of the purpose of Directed Graphs you can check series I wrote on the topic hereTo build that Directed Graph Skott has to Use the entrypoint of the project and parse it Statically find imports exports statements of the entrypoint from the AST Recursively follow imported exported files and keep doing it until all files have been discoveredLet s do this Use the entrypoint of the project and parse itindex jsimport runMain from program js import makeDependencies from dependencies js do something with runMain and makeDependenciesOnce we read the entrypoint file we can use Skott to extract import statements here is above a simplified snippet from the Skott s codebase At line we import parseScript from meriyah which is a JavaScript parser could have been babel acorn swc etc doesn t matter for our use case as long as they correctly implement the spec After that we can parse the file content that will return us the root node of the Abstract Syntax Tree Once the AST is generated by meriyah the only thing left to do is to traverse the whole tree recursively and find the import statements To simplify the example we only track ECMAScript modules here but Skott also tries to deal with CommonJS modules How to find an import statement from within the AST Okay so now you might wonder how we can use the AST data structure to find import statements Let s first take a look at the ESTree spec for es to see how an import statement is represented in the AST Well pretty simple Anytime we meet a node with type ImportDeclaration we know that s an import statement So here s the function to detect if an AST node is a es import statement Great we re now able to find all import statements from any JavaScript file Using the AST we could also get back information about where the import is located in the file and make it red highlighted in vscode for instance but I ll let that vscode thing for Thanks to our wonderful Skott performing Static Analysis we re now able to generate and display the graph from all collected imports As we can see three nodes have been found the only three files of the sample project and dependencies have been established between index js and its two children being imported ConclusionIf you made it this far thanks I appreciate it But it also means that you ve probably understood foundations about Parsers and Abstract Syntax Trees and that s even nicer Be sure to follow me if you re interested in discovering other topics I ve covered throughout the journey of building Skott For the next episode of this series I m planning to talk about Test Driven Development amp Dependency Injection Last but not least don t hesitate to bring stars ️ issues feedbacks directly on GitHub here as it will allow me to drive the project where it will bring the most value for each developer Wish everyone a wonderful day ️ |
2022-10-17 09:40:00 |
海外TECH |
Engadget |
New iPad Pro M2 models are reportedly just days away |
https://www.engadget.com/apple-ipad-pro-m2-chip-arriving-soon-092959464.html?src=rss
|
New iPad Pro M models are reportedly just days awayThe next generation iPad Pro with Apple s latest M processor is set to arrive in quot a matter of days quot according to Bloomberg s Mark Gurman It ll be the first new model since May of last year and reportedly offer a percent speed boost over the M version Apple will also introduce an iPad dock with an integrated speaker in and launch new Macs later this year Gurman wrote in his newsletter The new iPad Pro models will keep the same form factors as the current models with inch and inch display versions While the performance bump isn t enormous percent is still significant the M chips should bring more efficiency to the iPads Pro Along with the new high end models Apple is about to launch an entry level iPad soon Gurman said It ll reportedly have a USB C instead of a Lightning port in line with upcoming European rules along with G support ーbut will use an A Bionic rather than an M series chip nbsp Another intriguing piece of news it that Apple is working on an iPad docking accessory with a built in speaker that s could be announced next year The idea is that users could attach an iPad to the device and get a full home hub smart speaker experience It appears to resemble the Pixel charging speaker dock that Google revealed was coming with the Pixel Tablet going on sale next year nbsp Along with new iPads Apple will be launching and inch MacBook Pro models later in the year They ll come with more powerful versions of the M chip including the M Pro and M Max A Mac Mini with an M processor is also coming in the near future nbsp Finally Apple is working on the next generation Apple TV that will use an A chip and come with GB of RAM offering a significant boost over the current A model While Gurman is generally accurate about these sort of things Apple also tends change its mind about products and launch dates ーso take the rumors with some salt until they re officially announced nbsp |
2022-10-17 09:29:59 |
医療系 |
医療介護 CBnews |
ストレスチェック・治療と仕事両立など重点課題に-今後の産業保健、厚労省が検討会に論点提示 |
https://www.cbnews.jp/news/entry/20221017175759
|
厚生労働省 |
2022-10-17 18:20:00 |
金融 |
RSS FILE - 日本証券業協会 |
外国株式信用取引の取扱状況 |
https://www.jsda.or.jp/shiryoshitsu/toukei/foreign-shinyo/index.html
|
信用取引 |
2022-10-17 10:00:00 |
海外ニュース |
Japan Times latest articles |
BOJ may lift fiscal 2022 inflation outlook on weak yen and high commodities |
https://www.japantimes.co.jp/news/2022/10/17/business/boj-inflation-outlook/
|
BOJ may lift fiscal inflation outlook on weak yen and high commoditiesWhen the BOJ holds its regular two day policy meeting next week it will likely forecast core consumer inflation to rise above in fiscal |
2022-10-17 18:50:18 |
海外ニュース |
Japan Times latest articles |
Project aims to help mothers run in Japan’s local elections next year |
https://www.japantimes.co.jp/news/2022/10/17/national/politics-diplomacy/mothers-local-elections-support-project/
|
Project aims to help mothers run in Japan s local elections next yearThe project ーcalled “Kosodate Senkyo Hack ーaims to give a greater voice in local politics to the dwindling ranks of families with small |
2022-10-17 18:07:43 |
海外ニュース |
Japan Times latest articles |
Buffaloes and Swallows prove last season’s success was no fluke |
https://www.japantimes.co.jp/sports/2022/10/17/baseball/japanese-baseball/swallows-buffaloes-prove-worth/
|
straight |
2022-10-17 18:20:38 |
ニュース |
BBC News - Home |
Pressure mounts on Liz Truss ahead of Jeremy Hunt statement |
https://www.bbc.co.uk/news/uk-politics-63282694?at_medium=RSS&at_campaign=KARANGA
|
government |
2022-10-17 09:23:44 |
ニュース |
BBC News - Home |
Hong Kong protester dragged into Manchester Chinese consulate grounds and beaten up |
https://www.bbc.co.uk/news/uk-63280519?at_medium=RSS&at_campaign=KARANGA
|
democracy |
2022-10-17 09:54:38 |
ニュース |
BBC News - Home |
Mason Greenwood appears in court over attempted rape charge |
https://www.bbc.co.uk/news/uk-england-manchester-63276169?at_medium=RSS&at_campaign=KARANGA
|
greenwood |
2022-10-17 09:35:08 |
ニュース |
BBC News - Home |
Chancellor Jeremy Hunt to fast-track tax and spending measures |
https://www.bbc.co.uk/news/business-63281005?at_medium=RSS&at_campaign=KARANGA
|
london |
2022-10-17 09:18:29 |
ニュース |
BBC News - Home |
Jurgen Klopp red card among incidents prompting referee charity to call for inquiry into managers |
https://www.bbc.co.uk/sport/football/63281933?at_medium=RSS&at_campaign=KARANGA
|
Jurgen Klopp red card among incidents prompting referee charity to call for inquiry into managersA leading referees charity calls for an inquiry into the touchline behaviour of managers after ugly scenes at Premier League matches |
2022-10-17 09:16:19 |
GCP |
Google Cloud Platform Japan 公式ブログ |
PromQL の追加によりオープンソースの支持を高める Cloud Monitoring |
https://cloud.google.com/blog/ja/products/devops-sre/cloud-monitoring-ui-now-features-promql-querying/
|
本日は、MetricsExplorerやダッシュボードビルダーをはじめとする、CloudMonitoringのユーザーインターフェース全体でPromQLを使用できるようになったことをお知らせいたします。 |
2022-10-17 09:50:00 |
GCP |
Google Cloud Platform Japan 公式ブログ |
BigQuery SQL で Google Earth Engine の衛星画像を解析 |
https://cloud.google.com/blog/ja/products/data-analytics/analyzing-satellite-images-in-google-earth-engine-with-bigquery-sql/
|
たとえば、この投稿では、GEEカタログ内のLandsat衛星画像から気温と植生のデータを取得するCloudFunctionsの関数を作成するのですが、それらすべてをBigQueryのSQLから行っていきます。 |
2022-10-17 09:40:00 |
GCP |
Google Cloud Platform Japan 公式ブログ |
BigQuery Export ユーザーの Log Analytics への移行 |
https://cloud.google.com/blog/ja/products/data-analytics/moving-to-log-analytics-for-bigquery-export-users/
|
BigQueryへのログシンクLogAnalytics運用上のオーバーヘッドログシンクつまたは複数とBigQueryデータセットを追加で作成、管理し、ログエントリのコピーをエクスポートGoogleが管理するリンクされたBigQueryデータセットをGoogleCloudコンソールからワンクリックでセットアップ費用BigQueryでデータが複製されるため、ストレージと取り込みで重の費用を支払う必要があるBigQueryのストレージと取り込みの費用は、CloudLoggingの取り込み費用に含まれるLogAnalyticsからのクエリは無料枠ストレージテーブル作成時にログタイプごとにスキーマを定義ログ形式を変更すると、スキーマの不一致によりエラーが発生する可能性がある単一の統合型スキーマログ形式を変更しても、スキーマの不一致によるエラーは発生しない分析BigQueryからSQLでログのクエリを実行LogAnalyticsページで、またはBigQueryページからSQLでログのクエリを実行ネイティブJSONデータ型を使用して簡単にJSONフィールドに対するクエリを実行可能事前構築済みの検索インデックスを使用することで検索を高速化セキュリティログバケットへのアクセスを管理BigQueryデータセットへのアクセス権を管理し、ログのセキュリティと整合性を確保ログバケットへのアクセスを管理リンクされたBigQueryデータセットへの読み取り専用アクセス権のみを管理LogAnalyticsと従来のBigQueryへのログシンクとの比較シンプルなテーブル構成データに関する最も重要な変更点は、LogAnalyticsでアップグレードされたログバケット内のすべてのログを、GoogleCloudのすべてのログタイプまたはログ形式をサポートする包括的なスキーマ次のセクションで詳述を使用して、単一のログビューAllLogsで利用できることです。 |
2022-10-17 09:30:00 |
GCP |
Google Cloud Platform Japan 公式ブログ |
Vertex AI Model Registry でモデルの本番環境への移行を合理化する |
https://cloud.google.com/blog/ja/products/ai-machine-learning/vertex-ai-model-registry/
|
図VertexAIModelRegistryモデル評価ビュー簡素化されたモデルの検証でモデルのリリースを改善する MLOps環境では、適切なモデルのバージョンをダウンストリームシステム全体で一貫して使用するために、自動化が重要です。 |
2022-10-17 09:20:00 |
GCP |
Google Cloud Platform Japan 公式ブログ |
BigQuery に課金データをエクスポートして分析する |
https://cloud.google.com/blog/ja/topics/developers-practitioners/exporting-and-analyzing-billing-data-using-bigquery/
|
このデータにBigQueryを使用する理由は何ですか課金データのエクスポートではすべて、大量のデータが生成されます。 |
2022-10-17 09:10:00 |
北海道 |
北海道新聞 |
札幌の演劇ユニット「OrgofA」、死刑テーマにソウルで公演 |
https://www.hokkaido-np.co.jp/article/746534/
|
orgofa |
2022-10-17 18:08:00 |
北海道 |
北海道新聞 |
「知らない電話に出ないで」ロコ・ソラーレの選手、特殊詐欺被害の防止訴え 北海道信金が動画放映 |
https://www.hokkaido-np.co.jp/article/746533/
|
北京冬季五輪 |
2022-10-17 18:03:31 |
北海道 |
北海道新聞 |
女子中学生を3日間連れ回しか 自殺前、SNSで誘い出し |
https://www.hokkaido-np.co.jp/article/746532/
|
交流サイト |
2022-10-17 18:01:00 |
ビジネス |
東洋経済オンライン |
大幅下落でもアメリカの株価はまだ割安ではない 「割高感は解消」と楽観的になるのはまだ早い | インフレが日本を救う | 東洋経済オンライン |
https://toyokeizai.net/articles/-/626309?utm_source=rss&utm_medium=http&utm_campaign=link_back
|
東洋経済オンライン |
2022-10-17 19:00:00 |
IT |
週刊アスキー |
バター20倍!ハッピーターン新味「ガーリック香る濃厚バター味」は圧倒的バター感でヤミツキ必至 |
https://weekly.ascii.jp/elem/000/004/109/4109248/
|
濃厚 |
2022-10-17 18:45:00 |
IT |
週刊アスキー |
「おひとり様ピザ」10種どれでもワンコイン! 一流ピザ職人も認めたおいしさはピザハットで楽しもう |
https://weekly.ascii.jp/elem/000/004/109/4109247/
|
限定 |
2022-10-17 18:25:00 |
GCP |
Cloud Blog JA |
PromQL の追加によりオープンソースの支持を高める Cloud Monitoring |
https://cloud.google.com/blog/ja/products/devops-sre/cloud-monitoring-ui-now-features-promql-querying/
|
本日は、MetricsExplorerやダッシュボードビルダーをはじめとする、CloudMonitoringのユーザーインターフェース全体でPromQLを使用できるようになったことをお知らせいたします。 |
2022-10-17 09:50:00 |
GCP |
Cloud Blog JA |
BigQuery SQL で Google Earth Engine の衛星画像を解析 |
https://cloud.google.com/blog/ja/products/data-analytics/analyzing-satellite-images-in-google-earth-engine-with-bigquery-sql/
|
たとえば、この投稿では、GEEカタログ内のLandsat衛星画像から気温と植生のデータを取得するCloudFunctionsの関数を作成するのですが、それらすべてをBigQueryのSQLから行っていきます。 |
2022-10-17 09:40:00 |
GCP |
Cloud Blog JA |
BigQuery Export ユーザーの Log Analytics への移行 |
https://cloud.google.com/blog/ja/products/data-analytics/moving-to-log-analytics-for-bigquery-export-users/
|
BigQueryへのログシンクLogAnalytics運用上のオーバーヘッドログシンクつまたは複数とBigQueryデータセットを追加で作成、管理し、ログエントリのコピーをエクスポートGoogleが管理するリンクされたBigQueryデータセットをGoogleCloudコンソールからワンクリックでセットアップ費用BigQueryでデータが複製されるため、ストレージと取り込みで重の費用を支払う必要があるBigQueryのストレージと取り込みの費用は、CloudLoggingの取り込み費用に含まれるLogAnalyticsからのクエリは無料枠ストレージテーブル作成時にログタイプごとにスキーマを定義ログ形式を変更すると、スキーマの不一致によりエラーが発生する可能性がある単一の統合型スキーマログ形式を変更しても、スキーマの不一致によるエラーは発生しない分析BigQueryからSQLでログのクエリを実行LogAnalyticsページで、またはBigQueryページからSQLでログのクエリを実行ネイティブJSONデータ型を使用して簡単にJSONフィールドに対するクエリを実行可能事前構築済みの検索インデックスを使用することで検索を高速化セキュリティログバケットへのアクセスを管理BigQueryデータセットへのアクセス権を管理し、ログのセキュリティと整合性を確保ログバケットへのアクセスを管理リンクされたBigQueryデータセットへの読み取り専用アクセス権のみを管理LogAnalyticsと従来のBigQueryへのログシンクとの比較シンプルなテーブル構成データに関する最も重要な変更点は、LogAnalyticsでアップグレードされたログバケット内のすべてのログを、GoogleCloudのすべてのログタイプまたはログ形式をサポートする包括的なスキーマ次のセクションで詳述を使用して、単一のログビューAllLogsで利用できることです。 |
2022-10-17 09:30:00 |
GCP |
Cloud Blog JA |
Vertex AI Model Registry でモデルの本番環境への移行を合理化する |
https://cloud.google.com/blog/ja/products/ai-machine-learning/vertex-ai-model-registry/
|
図VertexAIModelRegistryモデル評価ビュー簡素化されたモデルの検証でモデルのリリースを改善する MLOps環境では、適切なモデルのバージョンをダウンストリームシステム全体で一貫して使用するために、自動化が重要です。 |
2022-10-17 09:20:00 |
GCP |
Cloud Blog JA |
BigQuery に課金データをエクスポートして分析する |
https://cloud.google.com/blog/ja/topics/developers-practitioners/exporting-and-analyzing-billing-data-using-bigquery/
|
このデータにBigQueryを使用する理由は何ですか課金データのエクスポートではすべて、大量のデータが生成されます。 |
2022-10-17 09:10:00 |
コメント
コメントを投稿