投稿時間:2020-08-03 14:36:39 RSSフィード2020-08-03 14:00 分まとめ(44件)

カテゴリー等 サイト名等 記事タイトル・トレンドワード等 リンクURL 頻出ワード・要約等/検索ボリューム 登録日
TECH Engadget Japanese Qi充電対応ベットランプ『SQUARE』の優しい光に癒やされる https://japanese.engadget.com/square-044517327.html afustore 2020-08-03 04:45:17
TECH Engadget Japanese SpaceX Crew DragonがISSより帰還。民間初、米国の宇宙船として9年ぶりの有人飛行 https://japanese.engadget.com/spacex-crew-dragon-splashdown-040035927.html crewdragon 2020-08-03 04:00:35
ROBOT ロボスタ プロ向け水中ドローン「CHASING M2」4Kカメラ搭載、8スラスターで全方位移動、ロボットアーム増設可 CFD販売が発売へ https://robotstart.info/2020/08/03/chasing-m2-cfd.html chasing 2020-08-03 04:49:12
ROBOT ロボスタ AIの学習はコスト、推論が利益 コロナ禍の小売業AIニューノーマル「リターン・オン・モデル」とは リテールAI研究会 今村氏 基調講演 https://robotstart.info/2020/08/03/dll-dldc2020-02.html deeplearninglab 2020-08-03 04:20:34
IT ITmedia 総合記事一覧 [ITmedia News] LINEヘルスケア、登録医師の不適切発言について謝罪 相談者に「ガキンチョ」「世間知らず」 https://www.itmedia.co.jp/news/articles/2008/03/news083.html itmedianewsline 2020-08-03 13:20:00
IT ITmedia 総合記事一覧 [ITmedia News] 気化熱で涼しい「クールマスクパッド」、BLUEDOTが発売 ペット用冷却マットなどの技術を応用 https://www.itmedia.co.jp/news/articles/2008/03/news082.html bluedot 2020-08-03 13:11:00
TECH Techable(テッカブル) 超音速旅客機開発のBoom Supersonicがロールスロイスと提携、10月にデモ機公開へ https://techable.jp/archives/133269 boomsupersonic 2020-08-03 04:00:24
python Pythonタグが付けられた新着投稿 - Qiita AtCoderBeginnerContest174復習&まとめ(前半) https://qiita.com/takaito0423/items/5f7a5c32bb65e5e68ce8 abcapyxintinputifxgtprintYeselseprintNoB問題Distance問題文次元平面上にN個の点があります。 2020-08-03 13:46:27
python Pythonタグが付けられた新着投稿 - Qiita AtCoderBeginnerContest174復習&まとめ(後半) https://qiita.com/takaito0423/items/b8df211b5dd7e9161ed4 AtCoderBeginnerContest復習まとめ後半AtCoderABC日に行われたAtCoderBeginnerContestの問題をA問題から順に考察も踏まえてまとめたものとなります後半ではDEの問題を扱います前半はこちら問題は引用して記載していますが詳しくはコンテストページの方で確認してくださいコンテストページはこちら公式解説PDFD問題AlterAltar問題文祭壇に、左から右へと一列に並ぶN個の石が祀られています。 2020-08-03 13:46:04
python Pythonタグが付けられた新着投稿 - Qiita 【Python】0からWebアプリ!ハンズオン(2)~ハローワールド編~ https://qiita.com/tsumasakky/items/07105da031340257065e todo└api└indexpyBottleWebアプリを作るときに大きな要素となるのがWebフレームワークです。 2020-08-03 13:33:52
python Pythonタグが付けられた新着投稿 - Qiita 【numpy, scipy】半正定値エルミート行列の平方根を計算する方法 https://qiita.com/AKKYM/items/97b28f560ce61f43165f gnpsqrtvalsvecstconjugate 2020-08-03 13:23:24
python Pythonタグが付けられた新着投稿 - Qiita Django Girlsのチュートリアルの要約 前半 https://qiita.com/oioigohan/items/9a69ad6a6e81f62068cd terminalmyvenvgtpythonmanagepymigrateblog管理者権限を持つユーザーを登録するDjangoにはDjangoAdminという機能があり、管理者権限でログインしなければ見られない管理画面がプロジェクト毎に自動作成されます。 2020-08-03 13:06:13
Program [全てのタグ]の新着質問一覧|teratail(テラテイル) standaloneについて https://teratail.com/questions/282196?rss=all standaloneについてraspberrypiでstandaloneを行っているのですが実際に再起動しstatusを見てみると次のように出てきます。 2020-08-03 13:56:39
Program [全てのタグ]の新着質問一覧|teratail(テラテイル) 直線補間をしたいが三角形になってしまう https://teratail.com/questions/282195?rss=all 追加した点と追加した点のつ前の点を次々に直線で結びたいのですがなぜか三角形になってしまいます。 2020-08-03 13:55:53
Program [全てのタグ]の新着質問一覧|teratail(テラテイル) 画像の輝度値250以上を輝度値0にする https://teratail.com/questions/282194?rss=all python 2020-08-03 13:50:18
Program [全てのタグ]の新着質問一覧|teratail(テラテイル) チェックボックスがチェックされている時、指定要素を非表示にしたい。 https://teratail.com/questions/282193?rss=all チェックボックスがチェックされている時、指定要素を非表示にしたい。 2020-08-03 13:38:54
Program [全てのタグ]の新着質問一覧|teratail(テラテイル) virtualbox/centos8でホストOS・ゲストOS間でファイルや画像のドラッグ&ドロップができない https://teratail.com/questions/282192?rss=all virtualboxcentosでホストOS・ゲストOS間でファイルや画像のドラッグドロップができないこんにちは環境は下記のとおりですwindowsprovirtualboxCentOSVirtualBoxでCentOSを使っています。 2020-08-03 13:34:11
Program [全てのタグ]の新着質問一覧|teratail(テラテイル) JSONファイルをURL配下に保存 または GithubのGISTの公開方法 https://teratail.com/questions/282191?rss=all JSONファイルをURL配下に保存またはGithubのGISTの公開方法metadateをjsonファイルで作成し、URL配下に保存したいです。 2020-08-03 13:32:44
Program [全てのタグ]の新着質問一覧|teratail(テラテイル) sambaのグループに追加したユーザーのうち1人だけが異なる挙動をする。 https://teratail.com/questions/282190?rss=all 台のPC用にsambaユーザーuseruseruserusernbspを作成しました。 2020-08-03 13:25:25
Program [全てのタグ]の新着質問一覧|teratail(テラテイル) Wordpressでの画像編集ができない https://teratail.com/questions/282189?rss=all ネット上にあった改善方法を試して見たのですが、改善しませんでした。 2020-08-03 13:24:19
html dotHTML5 HTML5/CSS3のニュースやTIPSなどのまとめ (2020年8月3日) http://feedproxy.google.com/~r/dotHTML5/~3/bnysR5-ghjY/20200803_clips.html 2020-08-03 15:00:00
golang Goタグが付けられた新着投稿 - Qiita ゆっくりGo vol.2 https://qiita.com/B3LYP/items/cb609f81d67c7ab2f6b8 この原因はfmtPrintlnみたいな書き方をしている所にあるっぽい。 2020-08-03 13:19:17
Git Gitタグが付けられた新着投稿 - Qiita Computing average life expectancy of a line of code https://qiita.com/nailbiter/items/0fee2d55f63d2841e8ef Computing average life expectancy of a line of codeMotivationSome time ago when I asked one of my colleagues what whas his main motivation for becoming a programmer He then replied in a sense that he wants his code be part of a software which can be useful for many years Since my colleague worked as a Web Developer at that time I was pretty skeptical of this answer In my previous experience the front end part of an average project tends to be rewritten every three months or so so this is not a very good place to look for stable and unchanging code Later however I became more curious and decided to check how long on average the line of code lives in our company s repository The additional benefit was that I got myself a great excuse to play around with GitPython package during my work time If you have not heard this name before GitPython provides a Python interface to git Since we will use it heavily below the basic familiarity is assumed and welcomed I will also use pandas below pretty much as well Finally one last word before we embark on a journey While working on this I made myself an explicit goal to NOT to use anything except GitPython and pandas remember one of my goals was to learn the former However if you look for something more user friendly there are other packages built on top of GitPython which provide much more rich and friendly interface In particular PyDriller popped out during my searches But perhaps plenty of others exist too Main workOk so here we go First we initialize Repo object which will represent our repository Make sure you have downloaded the repository and checked out the newest version Replace PATH TO REPO below with path to your git repository on your disk from git import RepoPATH TO REPO Users nailbiter Documents datawise dtws rdemo repo Repo Users nailbiter Documents datawise dtws rdemo assert not repo bareNext we check out the branch we want to investigate see the variable BRANCH below In your case it probably will be master but our main branch is called development for some reasons import pandas as pdBRANCH development head repo commit f origin BRANCH from IPython display import HTMLdef head to record head return sha head hexsha parent s sha hexsha for sha in head parents name head message strip commit obj head records while head parents print f parent s of head hexsha is are h hexsha for h in head parents records append head to record head head head parents records append head to record head pd DataFrame records sha parent s name commit obj ad cbfb docs adbbbfeecdfeebe cbfb ddc stash cbfbbaabedddccabdd ddc ff rename owner ddccfdbbaedcfea ff cb stash ffacccfbdbcffb cb b stash cbbeabdedbafde ecf fadd Task Ran Prettier ecfffcfdbaebae fadd eccf Task Setup Prettier fadddcabaeeb eccf edae Feat Can Set Initial State eccfeabdfaaafebcc edae beb Initial DTWS commit edaeaefeaebeb beb Initial commit from Create React App bebfcfadcebcdaeaaeaeeaff rows × columnsNow variables records in the code above represents all the commits on development branch since the beginning till the current moment Next we need to go along these commits and collect info regarding every line which appeared disappeared in that commit This information later will help us to determine lifetime of each line which ever appeared in our repository To do so we create the variable res which is a dictionary It s keys are tuples of the form lt line content gt lt commit gt lt filename gt and its values are sets containing hashes of all the commits in which this line appeared It is a rather big structure and computing it takes some time Therefore be ready that the code below will take some time to finish around seconds on my reasonably new MacBook Pro with our repository having only commits I guess there should be much more effective and elegant way to collect this data but I have not came up with it yet Suggestions are welcomed import pandas as pdfrom tqdm import tqdmdef collect filestates end start None this procedure collects names of all files which changed from commit start till commit end these assumed to be adjacent if start is not None diffs start diff other end fns diff b path for diff in diffs change types diff change type for diff in diffs res filename t status t for t in zip fns change types return res else fns end stats files keys return filename f status C for f in fns def collect lines end start None collects information about all lines that changed from start to end filestates r for r in collect filestates end start if r status D res for fs in filestates fn fs filename blame repo blame end file fn for k v in blame for vv in v res vv k hexsha fn end hexsha return resres for i in tqdm range len records res collect lines end records i commit obj start None if i len records else records i commit obj for k v in res items if k in res res k add v else res k v k v for k v in list res items ██████████ lt it s swo aeccfccccbbbdec pipeline gitignore adbbbfeecdfeebe aeccfccccbbbdec swp aeccfccccbbbdec pipeline gitignore adbbbfeecdfeebe aeccfccccbbbdec pulled data json aeccfccccbbbdec pipeline gitignore adbbbfeecdfeebe aeccfccccbbbdec config custom json aeccfccccbbbdec pipeline gitignore adbbbfeecdfeebe aeccfccccbbbdec stderr txt aeccfccccbbbdec pipeline gitignore adbbbfeecdfeebe aeccfccccbbbdec Now as we have our marvelous res structure we can easily compute the lifetime of every line which ever appeared in our repository for every key in res we simply compute the duration between oldest and newest commit in its value set But again this may take some time around minutes on my machine from datetime import datetimeimport pandas as pdfrom tqdm import tqdm records for k in tqdm res dates datetime fromtimestamp repo commit sha committed date for sha in res k records append dict line k commit k file k lifetime max dates min dates lines df pd DataFrame records lines df ██████████ lt it s line commit file lifetime swo aeccfccccbbbdec pipeline gitignore days swp aeccfccccbbbdec pipeline gitignore days pulled data json aeccfccccbbbdec pipeline gitignore days config custom json aeccfccccbbbdec pipeline gitignore days stderr txt aeccfccccbbbdec pipeline gitignore days supports color bebfcfadcebcdaeaaeaeeaff yarn lock days through bebfcfadcebcdaeaaeaeeaff yarn lock days typedarray bebfcfadcebcdaeaaeaeeaff yarn lock days whatwg fetch bebfcfadcebcdaeaaeaeeaff yarn lock days xtend xtend bebfcfadcebcdaeaaeaeeaff yarn lock days rows × columnsThe table lines df we assembled above contains the following columns line that s line s contentcommit that s the first commit in which this line appeared file filename in which this line appearslifetime lifetime of a lineIn the code below we add two more columns to this table author author of the line to protect their privacy I do not list real names but rather one letter nicknames ext file extension of filenamefrom os path import splitext isfileimport jsonif not isfile author masks json to author lambda s selse with open author masks json as f d json load f to author lambda s d s lines df sort values by lifetime ascending False lines df author to author str repo commit sha author for sha in lines df commit lines df ext splitext fn for fn in lines df file lines df line commit file lifetime author ext swo aeccfccccbbbdec pipeline gitignore days L swp aeccfccccbbbdec pipeline gitignore days L pulled data json aeccfccccbbbdec pipeline gitignore days L config custom json aeccfccccbbbdec pipeline gitignore days L stderr txt aeccfccccbbbdec pipeline gitignore days L supports color bebfcfadcebcdaeaaeaeeaff yarn lock days J lock through bebfcfadcebcdaeaaeaeeaff yarn lock days J lock typedarray bebfcfadcebcdaeaaeaeeaff yarn lock days J lock whatwg fetch bebfcfadcebcdaeaaeaeeaff yarn lock days J lock xtend xtend bebfcfadcebcdaeaaeaeeaff yarn lock days J lock rows × columnsAnalysisFinally having this info we can then group and average lifetime on various parameters For example below we see the average lifetime of every line conditional on file extension from datetime import timedeltafrom functools import reducedef averager key df lines df ltk lifetime days return pd DataFrame key ext ltk reduce lambda t t t t to pytimedelta slc lifetime timedelta len slc days for ext slc in df groupby key set index key sort values by ltk ascending False averager ext plot barh figsize logx True You can see that ironically the lines that stay unchanged the longest belong to insignificant files like lock that s various yarn lock s rules that s Firabase rules html that s index html and since our project uses React the main index html also receives almost no changes and others In particular files with empty extension refer to gitignore s And finally we can see the average lifetime of a line of code conditional on author averager author plot barh figsize We can see that the colleague I mentioned in the beginning he goes by the nickname J here indeed authored the longest surviving lines in the whole repository Good for him However let s look more closely at the secret of his success df lines df ext J for ext in lines df author loc line file lifetime ext df averager df df key ext df x gt for x in df lifetime days lifetime days ext html lock rules yml md ts js json snap css tsx Being the founder of the repository under consideration he in particular mostly authored the aforementioned index html yarn lock and rules files As I explained before these received almost no changes during the subsequent development Further workSince we store the info on filenames as well we can compute the averages conditional on folders thus seeing which parts of project are more stable than the others 2020-08-03 13:58:41
Ruby Railsタグが付けられた新着投稿 - Qiita 【Rails】SNS認証の登録手順(Twitter、Facebook、google) https://qiita.com/manbolila/items/8caa1f5d2b1fb96d2646 GoogleAPIの登録GoogleCloudPlatformにログインし、プロジェクトを作成。 2020-08-03 13:50:38
海外TECH CodeProject Latest Articles A New Implementation for a Fast Hash Table https://www.codeproject.com/Articles/5275171/A-New-Implementation-for-a-Fast-Hash-Table table 2020-08-03 04:44:00
海外科学 NYT > Science Live Coronavirus Updates: Tracking Global News, Cases and Deaths https://www.nytimes.com/2020/08/02/world/coronavirus-covid-19.html minister 2020-08-03 04:38:19
海外科学 BBC News - Science & Environment Whale shark 'crushes' tourist in Australia https://www.bbc.co.uk/news/world-australia-53632975 shark 2020-08-03 04:55:46
医療系 医療介護 CBnews 支払基金5月診療分、減少幅やや拡大にとどまる-件数24%減、金額12%減 https://www.cbnews.jp/news/entry/20200803124154 社会保険 2020-08-03 13:15:00
金融 ニッセイ基礎研究所 ユーロ圏消費者物価(7月)-値引きシーズン後倒しで+0.4%まで上昇 https://www.nli-research.co.jp/topics_detail1/id=65077?site=nli コア部分の「エネルギーと飲食料を除く総合」は前年同月比で加速しており月rarr月、内訳としては「エネルギーを除く財」が急上昇月rarr月したことが主因だった図表。 2020-08-03 13:57:28
金融 ニッセイ基礎研究所 欧州大手保険グループの内部モデルの適用状況(標準式との差異)-2019年のSFCRからのリスクカテゴリ毎の差異説明の報告- https://www.nli-research.co.jp/topics_detail1/id=65079?site=nli ・株式・金利ボラティリティ及びインフレーションリスクの反映・スプレッドリスクにおける技術的準備金の評価における動的ボラティリティの使用・市場データ及び市場リスクモデルに関する説明E内部モデルと標準式とのリスクモジュール毎の主な差異標準式と内部モデルの基本的な違いは、標準式ではファクターベースのショック・シナリオを使用し、内部モデルでは想定された分布と他のリスクドライバーとの相互依存に基づいて、各リスクドライバー及びそれに対応する経済的損益の影響をシミュレートしてリスク資本を導出する。 2020-08-03 13:24:51
金融 ニッセイ基礎研究所 ユーロ圏GDP(2020年4-6月期)-スペインの落ち込みが特に深刻 https://www.nli-research.co.jp/topics_detail1/id=65076?site=nli nbsp【ユーロ圏か国GDP年月期、季節調整値】・前期比は、市場予想と同じ、前期から悪化した図表・前年同月比は、市場予想より下振れ、前期から悪化した図表nbspbloomberg集計の中央値。 2020-08-03 13:16:26
金融 ニッセイ基礎研究所 世界各国の金融政策・市場動向(2020年7月)-株価は過去最高値を記録する国も https://www.nli-research.co.jp/topics_detail1/id=65078?site=nli nbsp【月金融政策】【月の株価・対ドル為替レートの動き】・中国を中心に新興国株価が大幅上昇。 2020-08-03 13:11:10
ニュース ジェトロ ビジネスニュース(通商弘報) 運転資金調達ための親子ローン、年内まで利用可能に https://www.jetro.go.jp/biznews/2020/08/1a0ec923d485cde8.html 資金調達 2020-08-03 04:35:00
ニュース BBC News - Home HSBC's profits slump 65% amid coronavirus downturn https://www.bbc.co.uk/news/business-53633550 coronavirus 2020-08-03 04:37:45
GCP Google Cloud Platform Japan 公式ブログ Google Cloud で SAP システムの障害復旧を行うための 3 つのパス https://cloud.google.com/blog/ja/products/sap-google-cloud/disaster-recovery-strategies-for-sap-on-google-cloud/ 種類のアプリケーションとDRのつのパス使用されるアプリケーションとデータベースに応じて、データと該当するアプリケーション構成をプライマリサイトからDRサイトにレプリケーションするには複数の方法があります。 2020-08-03 05:00:00
北海道 北海道新聞 <デジタル発>「将棋めし」支えた道産食材 「ななつぼし」「十勝ハーブ牛」 https://www.hokkaido-np.co.jp/article/446689/ 将棋めし 2020-08-03 13:47:20
北海道 北海道新聞 飛び込みの寺内選手がコロナ感染 東京五輪代表 https://www.hokkaido-np.co.jp/article/446697/ 東京五輪 2020-08-03 13:45:00
北海道 北海道新聞 元大関照ノ富士、復活優勝に喜び 「周りの支えがあったから」 https://www.hokkaido-np.co.jp/article/446654/ 照ノ富士 2020-08-03 13:10:21
北海道 北海道新聞 小池氏、時短営業開始「協力を」 酒類提供の飲食店や利用者に https://www.hokkaido-np.co.jp/article/446691/ 小池百合子知事 2020-08-03 13:25:00
北海道 北海道新聞 菅氏、お盆帰省の一律自粛求めず 西村担当相の発言を軌道修正 https://www.hokkaido-np.co.jp/article/446690/ 官房長官 2020-08-03 13:25:00
北海道 北海道新聞 高校野球・南大会(3日) https://www.hokkaido-np.co.jp/article/446621/ 円山球場 2020-08-03 13:08:44
ニュース Newsweek ノルウェーのクルーズ船でクラスター発生、40人以上がコロナ感染 下船した乗客の追跡急ぐ https://www.newsweekjapan.jp/stories/world/2020/08/40-30.php 保健当局とトロムソの自治体によると、月日以降に運航されたロアール・アムンセンの本のクルーズに参加した計人の乗客のうち、これまでに人の感染が判明している。 2020-08-03 13:00:36
IT 週刊アスキー 『Epic Seven』で声優の花守ゆみりさんの直筆サイン色紙が当たるキャンペーンを実施! https://weekly.ascii.jp/elem/000/004/022/4022023/ epicseven 2020-08-03 13:35:00
GCP Cloud Blog JA Google Cloud で SAP システムの障害復旧を行うための 3 つのパス https://cloud.google.com/blog/ja/products/sap-google-cloud/disaster-recovery-strategies-for-sap-on-google-cloud/ 種類のアプリケーションとDRのつのパス使用されるアプリケーションとデータベースに応じて、データと該当するアプリケーション構成をプライマリサイトからDRサイトにレプリケーションするには複数の方法があります。 2020-08-03 05:00: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件)

投稿時間:2024-02-12 22:08:06 RSSフィード2024-02-12 22:00分まとめ(7件)