IT |
ITmedia 総合記事一覧 |
[ITmedia エグゼクティブ] 保険各社、競う支払い迅速化 広がるAI活用 |
https://mag.executive.itmedia.co.jp/executive/articles/2201/17/news071.html
|
itmedia |
2022-01-17 08:15:00 |
IT |
ITmedia 総合記事一覧 |
[ITmedia News] ウクライナ政府に破壊的なサイバー攻撃 Microsoftが報告 |
https://www.itmedia.co.jp/news/articles/2201/17/news070.html
|
itmedia |
2022-01-17 08:05:00 |
TECH |
Techable(テッカブル) |
転職に追い風の予感。dodaが22年上半期の市場予測発表! IT・テック系注目トピック紹介 |
https://techable.jp/archives/171051
|
採用活動 |
2022-01-16 23:00:49 |
AWS |
AWS Japan Blog |
小売業界パートナー対談:NEC映像アナリティクスを活用した購買体験・業務効率の向上 |
https://aws.amazon.com/jp/blogs/news/aws-retail-partner-nec/
|
特にカメラ技術の世界では今後、人の動きだけではなく、商品棚、欠品検知、レジ不正検知、従業員作業の分析、などなど、小売業界の可視化、効率化、最適化に貢献できると考えており、企画・開発を推進しています。 |
2022-01-16 23:54:03 |
python |
Pythonタグが付けられた新着投稿 - Qiita |
[Python]コードサンプルが正しく動くことを担保し続けるためのdoctest入門 |
https://qiita.com/simonritchie/items/124708cfb7a36b857d92
|
そこで通常の単体テストのようにdocstring内のコードサンプルで実行・返却値の確認などのテストが実行されることでコードサンプルが常に動いていることを担保することができます。 |
2022-01-17 08:16:56 |
Docker |
dockerタグが付けられた新着投稿 - Qiita |
SpringBoot+KotlinでWebアプリ開発からDockerでのビルドまで |
https://qiita.com/kazukiigeta/items/ba2b57c41421726803c5
|
Webアプリの起動シェルにて以下のコマンドを実行することでWebアプリが起動します。 |
2022-01-17 08:07:24 |
技術ブログ |
Developers.IO |
【CodeDeploy】Lambdaデプロイ設定の違いまとめ |
https://dev.classmethod.jp/articles/codedeploy-lambda-deployment-configurations/
|
codedeploy |
2022-01-16 23:27:12 |
海外TECH |
DEV Community |
I erroneously deletedy root partition. Now what? |
https://dev.to/baenencalin/i-erroneously-deletedy-root-partition-now-what-2oi3
|
I erroneously deletedy root partition Now what Posted on Reddit s r archlinux and r techsupport Is there a way I can reinstall Arch from the bootstick I still have I ve been following this tutorial and how my system and it differs is that all of my partitions have unknown filesystems Here s a backlog error disk lvmid MMwt jYqe hUn zoKQw not found Entering rescue mode grub rescue gt ls hd hd hd gpt hd gpt grub rescue gt ls hd hd File system is unknown grub rescue gt set cmdpath hd gpt EFI grub uefi prefix lvmid MMwt jYqe zoKQw boot grub root lvmid MMwt jYqe hUn xeI sqCk RoXD NihFx zeY wEvE jsN EqG TW CeLE zoKQe grub rescue gt And the same error I get for hd applies to the other three hd hd gpt and hd gpt IMPORTANT NOTE hd is my bootstick Removing it beforehand results in hd hd gpt hd gpt |
2022-01-16 23:25:09 |
海外TECH |
DEV Community |
Firing on all cylinders(Part 1): Understanding object value lookup in JavaScript interpreters and the rise of hidden classes |
https://dev.to/about14sheep/firing-on-all-cylinderspart-1-understanding-object-value-lookup-in-dynamic-languages-and-the-rise-of-hidden-classes-in-v8-5h62
|
Firing on all cylinders Part Understanding object value lookup in JavaScript interpreters and the rise of hidden classesThere is a lot of information around writing performant JavaScript and optimizing your code for the v engine When you are reading through this information you will see a lot of phrases like inline caching hidden classes and memory offset but what does it all mean You ll come across quick one liners about always instantiating your object properties in the same order or better yet assign all of the objects properties in the constructor You try to dive into the documentation only to see branching charts with a million tiny words in it that look more like Harry Potter s family tree At the end of all this you end up just trying to commit those one liners to memory without fully understanding why In this series I am going to attempt to explain these concepts in a way where we don t need pages of flow charts and with relatable examples not just look at this code What to expectWe will start by going over the difference between dynamic and non dynamic languages mostly pertaining to how they store objects in memory Then in part we will dive into the v engine and the methods it uses to efficiently handle the concepts we discuss in part Also in part I will describe the common pitfalls and ways you can increase the performance of your code However you can make the code better without first understanding the why Before we beginAlthough I am going to try and explain these concepts in an approachable way these are not easy concepts to grasp Most developers can go their entire career without digging into the minute details of how a particular JavaScript engine accesses objects in memory Modern JavaScript Interpreters like v are amazing tech and mostly handle all of this for you Furthermore with TypeScript you have a compiler that can help keep you from making a lot of the common mistakes that can lead to a decrease in performance However taking the time to try and understand what is happening under the hood can go a long way The dynamic languageJavaScript is a dynamic programming language This means that you can add remove and change the type property values of objects after they are initialized Let s look at the following code Define a simple constructor function for an employeeconst employee function salary position this salary salary this position position Instantiate a new employeeconst newHire new employee sales Dynamically add the employee s desired pay daynewHire payDay Saturday After the employee object is created their preferred payDay is added dynamically This is all perfectly valid JavaScript It will run just fine and the newly hired employee will get paid every Saturday The difference between a non dynamic programming language meaning all of an objects properties are fixed before compilation is that new properties cannot be added or removed at runtime The benefit to a language being non dynamic is that the values of these properties or pointers can be stored in memory with a fixed offset an integer indicating the displacement between the beginning of an object in memory and any given property This offset can be easily determined based on the properties type Skrrtttt offset displacement You said this would be easy to follow and relatable You re right this is why I decided to do this blog in two parts Memory storage displacement offset The easiest way to explain this is with a simple data structure like an array const array value value value value We know we can access a value in that array using its index array this will get us the item at index value If the first value value is at memory position moving two places to the right will give you value So value has an offset of from the start of where the array is stored in memory This is simple enough for an array however not all objects are stored in memory sequentially like an array is With more complex objects like the employee function above you can t be sure where the object and its properties will be stored Thus making it harder to determine the offset between the objects shell to keep it simple and its properties You could have the shell of the object function employee at position then its property this salary at position with other objects in between Back to dynamic vs non dynamicIn order to keep up with these offset values non dynamic languages i ll use Java in this case create a fixed object layout This layout or mapping cannot be changed as in changing the type added too or removed from at runtime The offset is written in stone making it easy usually one instruction to grab any property value of a given object Since you can add remove and even change a properties type in JavaScript at runtime the offset values cannot be set in stone Instead of using a fixed object layout like in the non dynamic Java most JavaScript interpreters use a dictionary like structure based on a hash function to store the objects property values in memory Because of this grabbing the properties value from a hash table is more computationally expensive more instructions than the fixed object layout of a non dynamic language I won t go more into hash tables but you can start here Just know it is extremely inefficient Firing on all cylindersSince using hash tables to get property values is so inefficient the JavaScript engine NodeJS uses v takes a different approach This approach is built around using Hidden Classes and made faster by Inline Caching In part of this series we will dive into hidden classes and inline caching Once you better understand the concepts we can get into techniques you can use to make sure your JavaScript is as performant as it can be Further readingHow Java stores objects in memoryThe official v engine blogMDN JavaScript types and data structuresWikipedia article on Offset |
2022-01-16 23:23:07 |
海外TECH |
DEV Community |
A Guide to writing to better comments |
https://dev.to/plainsight16/a-guide-to-writing-to-better-comments-3pol
|
A Guide to writing to better comments IntroductionYou re probably thinking what s new with comments and you ll be right to think that Often times not much thought is put into writing a comment They are mostly ignored and considered secondary albeit as they should be but this negligence has led many programmers into writing very awful comments for example In order to avoid writing comments like this I have written this article to serve as a guide to writing better comments Here are some guides to writing better commentsAvoid writing redundant commentsComments should be updatedDo not excuse bad code with commentingComments should not reference other codesComments should be informativeComments could be used to provide links to original source codeComments should not be used for attributionThe rest of this article explains these guides and provides examples to them Avoid writing redundant commentsThe above is common among early beginners as they re introduced to code While this could be very helpful with teaching beginners Its considered redundant as it adds no information and merely causes visual clutter Comments should be updated Overtime comments silently degrade While code is continuously updated the comments are forgotten For a code cryptic in nature readers turn to the comments to provide an explanation and when that explanation is false it leaves the readers confused or worse mislead for example The asterisks in the regex pattern show that it matches a whole lot more than it was stated by the comments which could be very misleading to the readers who do not bother to check the regex pattern Do not excuse bad code with commentingCommenting should be used as a last resort Every comment serves as a failure to express yourself clearly in code Always try to clean the code to express yourself better before resulting to commenting for example the code snippet below could have been cleaned up rather than using a comment After cleaning it up Comments should not reference other codesA comment should not reference a code that is not present or local because the reference code could change but the comment wouldn tfor exampleThe comment above references a default that is not present in the code block this confuses the reader as they don t know what default in the comment means Comments should be informativeThe comment above informs the reader that SimpleDateFormat is not thread safe if the code is to be modified the programmer would be well informed of its limitations Comments could be used to provide links to original source codeReaders can follow the link provided in the comments to learn more Comments should not be used for attributionComments like these are unacceptable especially in production The source code control systems can always tell who the author was ConclusionI hope this article has been helpful in highlighting the importance of writing proper comments and the guides provided were well understood References Clean code A handbook of Agile Software Craftsmanship |
2022-01-16 23:22:24 |
金融 |
JPX マーケットニュース |
[OSE]国債先物における受渡適格銘柄及び交換比率一覧表の更新 |
https://www.jpx.co.jp/derivatives/products/jgb/jgb-futures/02.html
|
銘柄 |
2022-01-17 09:00:00 |
ニュース |
BBC News - Home |
The Papers: PM quizzed on parties as he battles 'to save skin' |
https://www.bbc.co.uk/news/blogs-the-papers-60019236?at_medium=RSS&at_campaign=KARANGA
|
papers |
2022-01-16 23:35:26 |
ニュース |
BBC News - Home |
MOTD2: How Jack Harrison stood out for Leeds against West Ham |
https://www.bbc.co.uk/sport/av/football/60018152?at_medium=RSS&at_campaign=KARANGA
|
MOTD How Jack Harrison stood out for Leeds against West HamMatch of the Day pundits Danny Murphy and Ian Wright discuss how Leeds United midfielder Jack Harrison was the standout performer in their win against West Ham United at the London stadium |
2022-01-16 23:15:27 |
ビジネス |
ダイヤモンド・オンライン - 新着記事 |
オミクロン特化ワクチンは必要か? 意見割れる - WSJ発 |
https://diamond.jp/articles/-/293456
|
特化 |
2022-01-17 08:13:00 |
LifeHuck |
ライフハッカー[日本版] |
Googleカレンダーで勤務場所を設定するメリット |
https://www.lifehacker.jp/article/how-to-set-working-locations-google-calendar/
|
追加 |
2022-01-16 23:30:00 |
北海道 |
北海道新聞 |
奥川、4戦連続ゴール 鎌田も得点、ドイツ1部 |
https://www.hokkaido-np.co.jp/article/634138/
|
鎌田 |
2022-01-17 08:18:00 |
北海道 |
北海道新聞 |
リバプール南野が誕生日にゴール イングランド・プレミア |
https://www.hokkaido-np.co.jp/article/634135/
|
誕生日 |
2022-01-17 08:03:00 |
マーケティング |
MarkeZine |
3度の値上げ、好調だったネット通販からの撤退――「ケンズカフェ東京」に学ぶ、ブランドを確立させる方法 |
http://markezine.jp/article/detail/38079
|
度の値上げ、好調だったネット通販からの撤退ー「ケンズカフェ東京」に学ぶ、ブランドを確立させる方法東京・新宿御苑前にあるガトーショコラ専門店『ケンズカフェ東京』のオーナーシェフ、氏家健治です。 |
2022-01-17 08:30:00 |
仮想通貨 |
BITPRESS(ビットプレス) |
マイニングと再エネの相性はいいのか?エネルギー業界の最新事情 |
https://bitpress.jp/video/hansei/entry-12994.html
|
関連 |
2022-01-17 08:17:52 |
仮想通貨 |
BITPRESS(ビットプレス) |
[BUSINESS LAWYERS] NFTと法:第7回 NFTに関する税務上の取扱い |
https://bitpress.jp/count2/3_9_12993
|
businesslawyersnft |
2022-01-17 08:08:44 |
仮想通貨 |
BITPRESS(ビットプレス) |
[NHK] ビットコイン急落 裏には“あの国”が?【経済記者コラム】 |
https://bitpress.jp/count2/3_9_12992
|
記者コラム |
2022-01-17 08:06:57 |
海外TECH |
reddit |
This is weird and embarrassing. |
https://www.reddit.com/r/AmberlynnSnark/comments/s5oco0/this_is_weird_and_embarrassing/
|
This is weird and embarrassing submitted by u SageLaruto to r AmberlynnSnark link comments |
2022-01-16 23:10:33 |
ニュース |
THE BRIDGE |
資金調達の民主化、株式型クラウドファンディングの今【BRIDGE Tokyoセッション紹介】 |
https://thebridge.jp/2022/01/bridge-tokyo-session-equity-crowd-funding
|
資金調達の民主化、株式型クラウドファンディングの今【BRIDGETokyoセッション紹介】本稿はBRIDGETokyoの企画をご紹介いたします。 |
2022-01-16 23:15:19 |
ニュース |
THE BRIDGE |
3代表に聞く、経済デジタル化と民主化の世界【BRIDGE Tokyoセッション紹介】 |
https://thebridge.jp/2022/01/bridge-tokyo-session-about-digital-transformation
|
代表に聞く、経済デジタル化と民主化の世界【BRIDGETokyoセッション紹介】本稿はBRIDGETokyoの企画をご紹介いたします。 |
2022-01-16 23:10:36 |
ニュース |
THE BRIDGE |
石川佑樹氏:メルカリShopsが変える「ECの世界」【BRIDGE Tokyoセッション紹介】 |
https://thebridge.jp/2022/01/bridge-tokyo-session-souzoh-yuki-ishikawa
|
石川佑樹氏メルカリShopsが変える「ECの世界」【BRIDGETokyoセッション紹介】本稿はBRIDGETokyoの企画をご紹介いたします。 |
2022-01-16 23:05:06 |
ニュース |
THE BRIDGE |
SEIMEI:保険会社〜代理店間プラットフォーム「ソリシター君」を運営【BRIDGE Tokyoノミネート企業紹介】 |
https://thebridge.jp/2022/01/bridge-tokyo-2022-intro-showcase-nominee-seimei
|
SEIMEI保険会社代理店間プラットフォーム「ソリシター君」を運営【BRIDGETokyoノミネート企業紹介】本稿はBRIDGETokyoの企画をご紹介いたします。 |
2022-01-16 23:00:57 |
ニュース |
THE BRIDGE |
ACROVE:EC事業者にマーケティング最適化ツール提供やM&A支援【BRIDGE Tokyoノミネート企業紹介】 |
https://thebridge.jp/2022/01/bridge-tokyo-2022-intro-showcase-nominee-acrove
|
ACROVEEC事業者にマーケティング最適化ツール提供やMA支援【BRIDGETokyoノミネート企業紹介】本稿はBRIDGETokyoの企画をご紹介いたします。 |
2022-01-16 23:00:38 |
コメント
コメントを投稿