TECH |
Engadget Japanese |
ネックスピーカーのおすすめ5選。耳に負担のない装着感が魅力。テレワークやテレビ視聴にいかが? |
https://japanese.engadget.com/best-selection-wireless-neck-speaker-053531071.html
|
魅力 |
2022-03-22 05:35:31 |
TECH |
Engadget Japanese |
15分前までの検索履歴を消す機能、Android版Googleアプリにも展開 |
https://japanese.engadget.com/google-15-053030374.html
|
theverge |
2022-03-22 05:30:30 |
TECH |
Engadget Japanese |
Studio Displayは64GBストレージ内蔵、「第9世代iPadとほぼ同等」スペックと判明 |
https://japanese.engadget.com/studio-display-64-gb-storage-9th-ipad-050052571.html
|
studiodisplay |
2022-03-22 05:00:52 |
IT |
ITmedia 総合記事一覧 |
[ITmedia Mobile] ソラコム、IoT向けにKDDI回線の5G対応プランを提供 小型の「エコSIM」採用 |
https://www.itmedia.co.jp/mobile/articles/2203/22/news132.html
|
itmediamobile |
2022-03-22 14:28:00 |
IT |
ITmedia 総合記事一覧 |
[ITmedia ビジネスオンライン] 運動部で身に付いたと思う「強み」 3位は「上下関係の理解」、2位と1位は? |
https://www.itmedia.co.jp/business/articles/2203/22/news134.html
|
itmedia |
2022-03-22 14:23:00 |
IT |
ITmedia 総合記事一覧 |
[ITmedia ビジネスオンライン] 渋谷・センター街に「癒される待ち合わせ場所」が誕生 何があるの? |
https://www.itmedia.co.jp/business/articles/2203/22/news130.html
|
citycamp |
2022-03-22 14:17:00 |
IT |
ITmedia 総合記事一覧 |
[ITmedia PC USER] レノボ、中規模企業向けのITインフラソリューションを発表 |
https://www.itmedia.co.jp/pcuser/articles/2203/22/news131.html
|
itmediapcuser |
2022-03-22 14:15:00 |
IT |
ITmedia 総合記事一覧 |
[ITmedia News] Apple Studio Displayが買えなくてもユニバーサルコントロールがあるじゃない |
https://www.itmedia.co.jp/news/articles/2203/22/news105.html
|
itmedia |
2022-03-22 14:10:00 |
IT |
情報システムリーダーのためのIT情報専門サイト IT Leaders |
パロアルトネットワークス、ファイアウォールOS新版「PAN-OS 10.2」、防御処理速度を向上 | IT Leaders |
https://it.impress.co.jp/articles/-/22868
|
パロアルトネットワークス、ファイアウォールOS新版「PANOS」、防御処理速度を向上ITLeadersパロアルトネットワークスは年月日、ファイアウォールのOSソフトウェアをバージョンアップした。 |
2022-03-22 14:33:00 |
python |
Pythonタグが付けられた新着投稿 - Qiita |
Pythonの関数をGUIで管理、テスト可能なOSSライブラリ「Logicbook」を開発した話 |
https://qiita.com/rui0930/items/1d25697e096e0e607129
|
Pythonの関数をGUIで管理、テスト可能なOSSライブラリ「Logicbook」を開発した話LogicbookとはLogicbookはPythonの関数を独立してGUI上で管理・テストするためのオープンソースライブラリです。 |
2022-03-22 14:09:42 |
AWS |
AWSタグが付けられた新着投稿 - Qiita |
[RTX830]YAMAHAルーターでAWS-VPCに接続してVPNをはってみた |
https://qiita.com/YasuhaF/items/0c3f88a7b83e9e787240
|
他に名前を任意で設定し、後は全てデフォルトのままにしました。 |
2022-03-22 14:31:00 |
AWS |
AWSタグが付けられた新着投稿 - Qiita |
S3で静的ウェブサイトをホスティングする |
https://qiita.com/koyama_0122/items/33b95558bbeab22b7666
|
ファイルのアップロードバケットを作成するとコンソール画面にバケットが追加されています。 |
2022-03-22 14:15:47 |
AWS |
AWSタグが付けられた新着投稿 - Qiita |
AWSのec2-userにログイン出来なかった話 |
https://qiita.com/anoneiro/items/9b93b63833118456b2a9
|
AWSのecuserにログイン出来なかった話概要local環境からawsに構築したECへ接続が出来なかった時の対処法について備忘録として記す発生したエラーsshecuserIPaddressPermissiondeniedpublickeygssapikeyexgssapiwithmic対処法sshi鍵pemecuserIPaddress※鍵pemはEC作成時に指定した鍵のこと。 |
2022-03-22 14:01:45 |
Docker |
dockerタグが付けられた新着投稿 - Qiita |
Docker + Next.jsでAPIを叩く時のプチハマり |
https://qiita.com/YasuhaF/items/8a72d2898736fb60315f
|
DockerNextjsでAPIを叩く時のプチハマり以前構築したDockerNginxNodejs環境でAPIを叩く時にプチハマりしたことを書きます。 |
2022-03-22 14:24:41 |
Docker |
dockerタグが付けられた新着投稿 - Qiita |
Docker + Nginx + Node.js で開発環境構築 |
https://qiita.com/YasuhaF/items/b42de23a7517406dddd6
|
ローカル開発環境構築の想定のため、セキュリティは本番環境を想定していません。 |
2022-03-22 14:23:39 |
Azure |
Azureタグが付けられた新着投稿 - Qiita |
Microsoft Tech Flash 2 月号 まとめ |
https://qiita.com/Azure_App_Innovation_team/items/cb3a6d9f3a471adb61d7
|
まだ購読されていない方はぜひご登録くださいMicrosoftTechFlash購読はこちらからMicrosoftTechFlash月号スタートアップ向けイベントやAzureArc、AzureSynapseAnalyticsのウェビナー・最新技術情報をお届けします。 |
2022-03-22 14:16:24 |
技術ブログ |
Developers.IO |
EC2 インスタンスの起動に失敗し、コンソール上で「状態遷移の理由: Server.InternalError」が表示されている場合の対処方法 |
https://dev.classmethod.jp/articles/tsnote-ec2-server-internal-error/
|
serverinternalerror |
2022-03-22 05:49:24 |
海外TECH |
DEV Community |
Step-by-step to learn and optimize Dockerfile |
https://dev.to/kevwan/step-by-step-to-learn-and-optimize-dockerfile-5a69
|
Step by step to learn and optimize Dockerfile BackgroundI worked around the clock and overtime to develop the simplest Go Hello world application and although I just ran a print and quit my boss also asked me to go live with the only application I could write The project layout is as follows ├ーgo mod└ーhello gohello go code as follows package mainfunc main println hello world And the boss asked for docker deployment to make us look up to date First tryAfter visiting some friends for the martial arts I found that it would be good to compile the whole process into docker and after a bit of work I got the following Dockerfile FROM golang alpineWORKDIR buildCOPY hello go RUN go build o hello hello goCMD hello To build the image docker build t hello v Done let s get a closer look docker run it rm hello v ls l buildtotal rwxr xr x root root Mar hello rw r r root root Mar hello goAll my code is packed into the image it looks like I can t write bad code otherwise the ops girl will laugh at me if she read my code We look at what s the size of the mirror it is said that the larger image the slower to pull docker docker images grep hellohello v ee minutes ago MBWow MB did docker build make the Go program become Java Let s see why it s so large Look we ve got MB before we run the first instruction WORKDIR that s a bit fierce Anyway let s run it and see docker run it rm hello vhello world No problem at least it works Second tryAfter a lot of research and some advices from friends we found that the base image we were using was too big docker images grep golanggolang alpine da days ago MBAnd my friend told me that I could compile the code first and then copy it in without the huge base image but that s easier said than done so I put some effort into it and the final Dockerfile looks like this FROM alpineWORKDIR buildCOPY hello CMD hello Try running docker build t hello v gt ERROR COPY hello s gt COPY hello failed to compute cache key hello not found not foundNo hello was not found I forgot to compile hello go first come again go build o hello hello goThen run docker build t hello v no problem take two steps and try docker run it rm hello vstandard init linux go exec user process caused exec format errorFailed Well the format is not right so our development machine is not linux ah again GOOS linux go build o hello hello goRerun docker build finally done hurry up and run docker run it rm hello vhello world No problem let s see the content and size docker run it rm hello v ls l buildtotal rwxr xr x root root Mar helloThere is only hello executable inside no more worrying about people despising my code docker images grep hellohello v ddfc seconds ago MBhello v aceb minutes ago MBWow MB absolutely Look we only got MB in front of the first command WORKDIR happy Third tryAfter a bit of showing off someone actually despised me and said that it is now popular to build in multiple stages so what is wrong with the second way After thinking about it I found that we need to be able to build a docker image from Go code which is divided into three steps compile the Go code natively if it involves cgo cross platform compilation will be more troublesomebuild the docker image with the compiled executablewrite a shell script or makefile to make these steps available via a single commandA multi stage build puts it all into a Dockerfile no source code leaks no scripting to compile across platforms and a minimal image I finally wrote the following Dockerfile no one line more no one line less FROM golang alpine AS builderWORKDIR buildADD go mod COPY RUN go build o hello hello goFROM alpineWORKDIR buildCOPY from builder build hello build helloCMD hello The first FROM starts by building a builder image to compile the executable hello in and the second From starts by copying the executable hello from the first image and using the smallest possible base image alpine to keep the final image as small as possible as to The reason why we don t use the smaller scratch is that scratch really has nothing so we don t even have a chance to look at it if there s a problem and alpine is only MB so it won t have much impact on our service And I ll talk about generating the images from scratch later in this article Let s run it and verify that docker run it rm hello vhello world No problem as expected Let s see how the size is docker images grep hellohello v febe hours ago MBhello v ddfc hours ago MBhello v aceb hours ago MB The image size is exactly the same as the second method And look at the contents of the image shell docker run it rm hello v ls l buildtotal rwxr xr x root root Mar helloalso has only one executable hello file perfect It s basically the same as the second final image but we ve simplified the process to only a Dockerfile and run one command so I don t need to go through all the obscure shell and makefile God s work is doneSo far my teammates thought it was perfect and gave me a lot of praise However every time I write such a Dockerfile I still feel quite annoying so I wrote a tool let me show it shell install it first go install github com zeromicro go zero tools goctl latest write a Dockerfile with one command goctl docker go hello go Done Look at the generated Dockerfile dockerfileFROM golang alpine AS builderLABEL stage gobuilderENV CGO ENABLED RUN apk update no cache amp amp apk add no cache tzdataWORKDIR buildADD go mod ADD go sum RUN go mod downloadCOPY RUN go build ldflags s w o app hello hello goFROM alpineRUN apk update no cache amp amp apk add no cache ca certificatesCOPY from builder usr share zoneinfo America New York usr share zoneinfo America New YorkENV TZ America New YorkWORKDIR appCOPY from builder app hello app helloCMD hello A few the points to understand are cgo is disabled by defaultRemoved the debug message ldflags s w to reduce the image sizeInstalled ca certificates so that using TLS certificates is not a problemtzdata is installed in the builder image and only the required timezone is copied in the final imageautomatically set the local time zone so that we see New York time in the containerLet s look at the size of the image built with this auto generated Dockerfile shell docker images grep hellohello v baece hours ago MBhello v febe hours ago MBhello v ddfc hours ago MBhello v aceb hours ago MBIt s slightly larger because we copied ca certificates and tzdata Verify that Let s see what s in the image shell docker run it rm hello v ls l apptotal rwxr xr x root root Mar helloAlso only the hello executable and the file size has been reduced from KB to KB run it and see shell executableshell docker run it rm hello vhello world And you can specify the base image as scratch when generating the Dockerfile so the image is smaller but you can t log in directly via sh shell goctl docker base scratch go hello goThe size is also really small shell docker images grep hellohello v deedd seconds ago MBhello v baece hours ago MBhello v febe days ago MBhello v ddfc days ago MBhello v aceb days ago MB And look what s in the mirrorYou can provide the options platform linux amd or platform linux arm to docker build for generating the docker images of different OS and ARCH Okay okay no more Dockerfile I m going to learn new skills Project address |
2022-03-22 05:40:59 |
海外科学 |
NYT > Science |
The Smaller Bombs That Could Turn Ukraine Into a Nuclear War Zone |
https://www.nytimes.com/2022/03/21/science/russia-nuclear-ukraine.html
|
The Smaller Bombs That Could Turn Ukraine Into a Nuclear War ZoneMilitary experts say a new generation of nuclear weapons has raised the risk that Mr Putin might introduce less destructive atomic arms into the battlefields in and around Ukraine |
2022-03-22 05:12:18 |
医療系 |
内科開業医のお勉強日記 |
HFpEF検出法としてのPassive leg raising |
https://kaigyoi.blogspot.com/2022/03/hfpefpassive-leg-raising.html
|
侵襲的な運動負荷血行動態検査は、潜在的HFpEFを同定するための理想的な方法であることが確立された。 |
2022-03-22 05:26:00 |
医療系 |
医療介護 CBnews |
コロナ病床確保補助金、申請期限31日に再延長-疑い患者受け入れ病床確保支援も、厚労省 |
https://www.cbnews.jp/news/entry/20220322130302
|
医療機関 |
2022-03-22 14:40:00 |
金融 |
JPX マーケットニュース |
[東証]令和3年度「なでしこ銘柄」の公表について |
https://www.jpx.co.jp/news/1120/20220322-01.html
|
東証 |
2022-03-22 15:00:00 |
金融 |
ニッセイ基礎研究所 |
米国の株式市場と債券市場、どちらの見通しが正しい? |
https://www.nli-research.co.jp/topics_detail1/id=70576?site=nli
|
nbsp米国株式が底堅い背景には米国経済や米国企業の業績が堅調であると株式市場で考えられているためである。 |
2022-03-22 14:56:31 |
海外ニュース |
Japan Times latest articles |
Quick evacuation could cut tsunami fatalities by 80% in northern Japan, task force says |
https://www.japantimes.co.jp/news/2022/03/22/national/quick-evacuation-quake-fatalities/
|
Quick evacuation could cut tsunami fatalities by in northern Japan task force saysProposals to shorten evacuation times include creating evacuation routes protected from the elements as well as constructing facilities with heating available for evacuees |
2022-03-22 14:42:26 |
海外ニュース |
Japan Times latest articles |
Japan fully lifts COVID quasi-emergency measures in all 18 prefectures |
https://www.japantimes.co.jp/news/2022/03/22/national/japan-fully-lifts-covid-quasi-emergency-measures-18-prefectures/
|
emergency |
2022-03-22 14:40:21 |
ニュース |
BBC News - Home |
China plane crash: Rescuers search for survivors as families await news |
https://www.bbc.co.uk/news/world-asia-china-60830395?at_medium=RSS&at_campaign=KARANGA
|
eastern |
2022-03-22 05:21:34 |
ニュース |
BBC News - Home |
The Papers: Putin's Mariupol threat and Gove 'target of plot' |
https://www.bbc.co.uk/news/blogs-the-papers-60829722?at_medium=RSS&at_campaign=KARANGA
|
michael |
2022-03-22 05:19:32 |
ビジネス |
ダイヤモンド・オンライン - 新着記事 |
ウクライナ危機で復活、「現実政治」の時代 - WSJ発 |
https://diamond.jp/articles/-/299819
|
現実 |
2022-03-22 14:10:00 |
IT |
週刊アスキー |
Fukuoka Smart City Community、9つの防災課題の中から選んで投票するオンライン企画「防災選」を実施 |
https://weekly.ascii.jp/elem/000/004/086/4086832/
|
fukuokasmartcitycommunity |
2022-03-22 14:40:00 |
IT |
週刊アスキー |
「建築」消失の衝撃。『フォートナイト』チャプター3 シーズン2が開催中 |
https://weekly.ascii.jp/elem/000/004/086/4086833/
|
epicgames |
2022-03-22 14:20:00 |
コメント
コメントを投稿