IT |
気になる、記になる… |
任天堂、3DSシリーズとWii Uの「ニンテンドーeショップ」のサービス終了日程の情報を更新 |
https://taisy0.com/2022/07/19/159266.html
|
終了 |
2022-07-19 07:29:31 |
IT |
InfoQ |
Amazon Announces General Availability of EC2 M1 Mac Instances to Build and Test on macOS |
https://www.infoq.com/news/2022/07/aws-ec2-mac-m1/?utm_campaign=infoq_content&utm_source=infoq&utm_medium=feed&utm_term=global
|
Amazon Announces General Availability of EC M Mac Instances to Build and Test on macOSAWS recently announced the general availability of the EC M Mac instances based on the Apple ARM based processor and designed for CI CD of Apple based applications The M Mac option is faster and cheaper than the existing x based Mac version but still requires a minimum hours commitment By Renato Losio |
2022-07-19 07:14:00 |
IT |
ITmedia 総合記事一覧 |
[ITmedia PC USER] ついに3:2の画面になった「Dragonfly G3」やハイスペックなChromebookが続々登場! 日本HPのビジネス向けPC新製品 |
https://www.itmedia.co.jp/pcuser/articles/2207/19/news142.html
|
chromebook |
2022-07-19 16:45:00 |
IT |
ITmedia 総合記事一覧 |
[ITmedia PC USER] MSI、スリム設計のビジネスデスクトップPC「PRO」シリーズ Microsoft Officeを標準で導入 |
https://www.itmedia.co.jp/pcuser/articles/2207/19/news147.html
|
itmediapcusermsi |
2022-07-19 16:39:00 |
IT |
ITmedia 総合記事一覧 |
[ITmedia ビジネスオンライン] ファミマ、マンゴーを使用したスイーツを4品発売 「たべる牧場マンゴー」やラッシー風パフェなど |
https://www.itmedia.co.jp/business/articles/2207/19/news144.html
|
itmedia |
2022-07-19 16:15:00 |
IT |
情報システムリーダーのためのIT情報専門サイト IT Leaders |
Oracle Cloud ERP導入時の標準業務フィッティングを1日で体験─TIS | IT Leaders |
https://it.impress.co.jp/articles/-/23497
|
OracleCloudERP導入時の標準業務フィッティングを日で体験ーTISITLeadersTISは年月日、「DayOracleCloudERP体験サービス」を発表した。 |
2022-07-19 16:36:00 |
AWS |
AWS - Webinar Channel |
Securing Your Log Analytics and Search Data with Amazon OpenSearch Service |
https://www.youtube.com/watch?v=DsMju7NOz3M
|
amazon |
2022-07-19 07:04:46 |
python |
Pythonタグが付けられた新着投稿 - Qiita |
Python の Dataflow SDKで repeated なschema定義をBigQueryに対して行う |
https://qiita.com/munaita_/items/ed0441afb305892643c6
|
fieldtypefieldtyp |
2022-07-19 16:49:14 |
js |
JavaScriptタグが付けられた新着投稿 - Qiita |
JavaScript 関数メモ |
https://qiita.com/ochanoma3/items/0d5839a6e93c4d348dae
|
function |
2022-07-19 16:32:02 |
Ruby |
Rubyタグが付けられた新着投稿 - Qiita |
SlackでグループメンションのIDを取得したい。Webhookで必要だから。 |
https://qiita.com/kakudaisuke/items/4f60d75a1f8f66b40241
|
slack |
2022-07-19 16:00:41 |
Linux |
Ubuntuタグが付けられた新着投稿 - Qiita |
クライアントゾーンにあるUbuntu 20.04 LTSにMacでリモート接続 |
https://qiita.com/R1ngNebula/items/d9a6222db8cfdbe61d2b
|
amdepycubuntult |
2022-07-19 16:47:35 |
技術ブログ |
Developers.IO |
Amazon FSx for Windows File Server คืออะไร? การแนะนำฟังก์ชันล่าสุดของ AWS ในปี 2022 |
https://dev.classmethod.jp/articles/what-is-amazon-fsx-for-windows-file-server/
|
Amazon FSx for Windows File Server คืออะไร การแนะนำฟังก์ชันล่าสุดของAWS ในปีสวัสดีครับทุกคนอาโอยากิครับรายการนี้จะเขียนเกี่ยวกับAWS ปี ฉบับเบื้องต้นโดยฝ่ายConsulting ของบริษัท |
2022-07-19 07:46:42 |
技術ブログ |
Developers.IO |
速くてAll in OneなJavaScriptランタイム 「Bun」 |
https://dev.classmethod.jp/articles/bun/
|
allinone |
2022-07-19 07:13:15 |
海外TECH |
DEV Community |
Git basics: Changing your last commit message |
https://dev.to/dailydevtips1/git-basics-changing-your-last-commit-message-egc
|
Git basics Changing your last commit messageYou might accidentally make a typo while writing your commit message Or because you quickly tried to solve a bug you accidentally left the old commit message and pushed that It s a good practice to keep the message meaningful so you ll know what you change in which commit I made a wrong commit message on my GitHub repo to showcase how it works In the image above we see I committed some changes with the message fix image name wrong message Let s see how we can fix that Fixing a non pushed commit messageIf you haven t pushed your code yet it s easier to fix You can run the following command git commit amendThis will open up a vim editor where you can change the commit s message To edit the text press the i key and to stop press esc then wq to save the file However a faster way is to use the m property which can be used to amend the commit message git commit amend m fix image name correct message We can see the commit message altered without pushing a new commit Fixing a pushed commit messageHowever what happens if we already pushed the wrong message to GitHub for instance No worries we can still fix it without messing things up If we are addressing the last commit we can again run the following command git commit amend m fix image name The next step is to push while overwriting the previous commit message For that to work use the following command git push force with lease origin your branch in my case git push force with lease origin masterAnd that s it We now changed the already pushed commit message Thank you for reading and let s connect Thank you for reading my blog Feel free to subscribe to my email newsletter and connect on Facebook or Twitter |
2022-07-19 07:24:55 |
海外TECH |
DEV Community |
LOC is an important metric to measure developer productivity |
https://dev.to/polterguy/loc-is-an-important-metric-to-measure-developer-productivity-21no
|
LOC is an important metric to measure developer productivityThere s this superstitious belief in our industry that LOC count is irrelevant to measure developer productivity In this article I will debunk that belief and show how it s one important metric to measure performance LOC is not the only metric and there are exceptions where it s completely irrelevant but it s still much more important than what most developers claims and waving it being irrelevant is often a crutch for lazy software developers to hide behind such that nobody shall notice they re not doing their jobs I once worked for a company as an architect I had developers on my team whom I was supposed to manage I once went through all repositories to measure how my team performed and for a period of months there was lines of code changed in our entire codebase lines of changes in two months for developers The industry average is between and LOC per month per developer This implies that my team as a whole had delivered roughly of the industry average I tried contacting my superiors about it without conveying names or blaming my team members in any way I was told to stop delivering I wasn t expected to deliver I resigned a week later LOC is not the only important metric and there are developers whom are doing a great job even though they rarely if ever commit code to your git repositories An example from Aista is Mohsen who is waking up at AM in the morning and working non stop until at least PM and always available if needed However his job isn t to commit code but rather to maintain our Kubernetes cluster and he is doing an amazing job at it too Other examples might include testing engineers whom might be doing an amazing job even though they rarely if ever commit code to git repositories There are also other exceptions to the rule where software developers who never committed a single line of code might still be extremely valuable for your organisation such as illustrated above with Mohsen However if your job is to create software by coding and you deliver lines of code per month somebody needs to talk to you about your performance Hence realise that when most software developers claims that LOC is completely irrelevant what they re really saying is the following I m lazy I don t like to work but I love getting paidAt this point I guarantee you that some software developer is going to pop out of the woodwork and tell you he created a bot to apply a single change in his codebase for then to automatically commit it towards git I should know because it was the only way somebody was able to outperform me at GitHub for the country of Cyprus Counting LOC alone is meaningless for these reasons but having a human being read through commits and verify that people are actually delivering by checking changes to the codebase ensuring things are actually done is crucial for an organisation who is focusing on delivering And if somebody in your organisation now objects towards that statement you should reconsider your hiring strategy Free riders or surfers not doing their jobs destroys the moral of everybody else in your organisation since everybody can clearly see with their own eyes who is delivering and doing their jobs and who is not Hence LOC is one important metric to measure developer productivity It s not the only metric and there are exceptions where it s not relevant but it is relevant as a general rule of thumb And today it s dead simple to measure LOC thanks to Linus Torvalds and git |
2022-07-19 07:10:48 |
海外TECH |
DEV Community |
Post-review: Migrating Create-React-App to Vite |
https://dev.to/wkrueger/post-review-migrating-create-react-app-to-vite-7le
|
Post review Migrating Create React App to Vite Previous stateCreate react app application takes around minutes to build requiring around GB of RAM Why ViteWe wanted a quick frictionless migration so picking a framework like Next is out of scope We wanted to avoid low level tools We want something well mantained with a good preset out of the box It looks like Vite achieved these goals other similar tooling might have too Migration tweaksThis might change a bit depending on what kind of stuff you have in your project Here s what we had Initial setupVite s docs doesn t have any article about migrating from an existing project So I have launched a starter project and copied the following files vite config tstsconfig json adapt accordingly tsconfig node jsonReview the package json and remove anything related to Create React App Babel or Webpack For instance react scriptsAlso replace the package json s scripts accordingly Ex vite vite start vite build vite build preview vite preview test vitest run test watch vitest Add Vite yarn add vite Update TS to the latest version since you don t have CRA locking you to an ancient version anymore React pluginOne of the first things to add is the React plugin in the Vite Config vitejs plugin react Below is shown the final version of the vite config lt reference types vitest gt import defineConfig from vite import react from vitejs plugin react import resolve parse from path import as fs from fs import svgr from vite plugin svgr const rootPaths fs readdirSync src reduce out item gt const parsed parse item return out parsed name resolve src item export default defineConfig plugins svgr react resolve alias rootPaths envPrefix REACT APP test globals true environment happy dom Path mappingIn CRA folders at the source root can be acessed as absolute paths I e src ListComponent Somefile ts can be imported asimport Somefile from ListComponent Somefile This special handling doesn t exist on Vite I have then manually stitched this mapping on vite config s resolve alias setting const rootPaths fs readdirSync src reduce out item gt const parsed parse item return out parsed name resolve src item export default defineConfig resolve alias rootPaths SVG ImportsCreate React App embeds the SVGR library If you use any import like import ReactComponent as MySvg from file svg then this won t work anymore A frictionless fix was to add the vite plugin svgr shown above found in a Stack Overflow reply Vite is based on Rollup and SVGR provides its own Rollup plugin svgr rollup Unfortunately this seemed not to work properly here because Vite already embeds a static file URL plugin which takes higher precedence Even following the provided steps to use it alongside the URL plugin didn t work well Environment variablesVite doesnt read environment variables from process env but rather from import meta env Also the NODE ENV variable is found on the import meta env mode which is set according to the build environment used Vite dev server Vite build or vitest Some badly tasting environment variables like BROWSER none or PORT won t be needed anymore Vite s server accepts a port argument like of other software in the world The default environment variable safe prefix is VITE APP instead of REACT APP This can be changed on the envPrefix setting as shown above as to avoid some refactoring Type defsIf you previously had written a strictly typed process env you may need to move those types to the corresponding global interfaces ImportMetaEnv and ImportMeta as shown on the environment variable docs We also need to replace the build tool types On react app env d ts replace lt reference types react scripts gt lt reference types vite client gt Other static asset importsImporting non public static assets like images generates an unique URL import Smiley from assets smiley png Smiley is just an URL stringIf you really can t import those assets though a static import or through an async import the following trick may also work as shown on the static asset docs function getImageUrl name return new URL dir name png import meta url href The index htmlThe index html now lives in the root folder It also requires a new script tag on its body pointing to the project root lt body gt lt div id root gt lt div gt lt script type module src src index tsx gt lt script gt lt body gt Also any PUBLIC URL tags must be removed lt link rel icon href PUBLIC URL favicon ico gt Refactor sync require sOn webpack you could still get away with writing a synchronous CommonJS require anywhere On Vite this simply won t work out unless maybe with a plugin Default build folderThe default build folder on Vite is dist instead of build This can be tweaked with build outDir TestingThe quickest way around testing is probably swithing to Vitest as the Jest test runner kinda relies on Babel Webpack We still kept Jest on the project we re just not using its test runner anymore Other parts of Jest like assertions or mocks are still there Vitest reads from the same config file vite config ts You need to add its type directive for TS not to complain on vite config ts lt reference types vitest gt As shown before we needed a couple extra settings on the test key test globals true environment happy dom globals adds the mocha like globals describe test etc to the context environment allows you to enable JSDOM or other When you set an environment the CLI will suggest you to separately install it ESLintMany ESLint plugins that were previously bundled with CRA had to be manually installed and added typescript eslint eslint plugin typescript eslint parsereslint plugin jsx ayeslint plugin reacteslint plugin react hooksWe ended up with something like this on the eslint config root true parser typescript eslint parser plugins typescript eslint react hooks jsx ay extends plugin react recommended plugin import recommended plugin import typescript settings react version Build and developmentThe Vite Dev server does not automatically include TS checking It suggests you to run tsc on the build task tsc amp amp vite build The tsconfig is already suggested with a noEmit While you may probably add tsc to the build through a plugin in the end I think it is better not to since VSCode already runs its own TS Server Running tsc on the development server creates a duplicate TS Server In case you d like to check errors project wide you may still run tsc wor use a VS Code Task F gt Run Build Task gt tsc watchSince type checking and building are now separate tasks you may run them on parallel on the CI Performance feelingsBuild time went to around seconds down from min could be lower if I hadn t disabled SMT on my processor While Webpack uses only a single core during most of the build Vite displays some average activity on all cores Peak memory usage went to GB down from GB The development server starts right away since it actually didn t compile anything Pages are compiled as you load them similar to what happens on Next js The development mode may not feel THAT fast on a first page load since every dependency is served individually If you look at the requests pane you can see an enormous number of files being served Nonetheless it is orders faster than Webpacks minute build of everything Only the files required by a specific page are compiled and served This also means that when performing HMR only the changed files are re served HMR feels more responsive This may also mean that once the first load is done the browser may leverage caching of individual files on its side On the production mode the files are bundled more like it happens on other traditional tools Development and production builds are considerably different from each other The differences are explained right on the first page of the docs |
2022-07-19 07:07:23 |
海外TECH |
CodeProject Latest Articles |
Response Time Header in ASP.NET Core |
https://www.codeproject.com/Tips/5337523/Response-Time-Header-in-ASP-NET-Core
|
coreadd |
2022-07-19 07:54:00 |
医療系 |
医療介護 CBnews |
【感染症情報】手足口病、33都道府県で患者増-RSウイルス8週連続増、感染性胃腸炎3週連続減 |
https://www.cbnews.jp/news/entry/20220719155752
|
医療機関 |
2022-07-19 16:35:00 |
金融 |
ニッセイ基礎研究所 |
老後のための資産形成-確定拠出年金等で老後のために何に投資したら良いのか?-外国株式型、国内株式型、バランス型、外国債券型と国内債券型でのパフォーマンス比較 |
https://www.nli-research.co.jp/topics_detail1/id=71804?site=nli
|
老後のための資産形成ー確定拠出年金等で老後のために何に投資したら良いのかー外国株式型、国内株式型、バランス型、外国債券型と国内債券型でのパフォーマンス比較目次ーはじめにー株式インデックスについて知るべきこと国内外における代表的な株式インデックスの紹介代表的な株式インデックスの過去の推移ー株価下落直前に投資をする場合、その後どうなる万円一括投資の場合毎月万円積立投資の場合ahrefpnoampmoresitenliー株式インデックスの将来のパフォーマンスー「確定拠出年金」制度における資産配分確定拠出年金の資産配分の現状バランス型投資信託はどんな運用商品であろうか金融危機の直前にバランス型に投資したらいくらになるかつ金融危機直前にバランス型に投資したらいくらになる若い人ほど、もっとリスクの高い資産を多く配分すべきであるー結論※本稿は年月年月に発行した「基礎研レポート」を加筆・修正したものである。 |
2022-07-19 16:36:05 |
金融 |
日本銀行:RSS |
FSBが「金融セクターにおける公平な回復を支援するための出口戦略及び新型コロナウイルス感染症の傷跡化する効果への対処:中間報告書」を公表 |
http://www.boj.or.jp/announcements/release_2022/rel220719d.htm
|
中間報告 |
2022-07-19 17:00:00 |
金融 |
日本銀行:RSS |
FSBが「気候変動に伴う金融リスクに対処するためのFSBロードマップ:2022年進捗報告書」を公表 |
http://www.boj.or.jp/announcements/release_2022/rel220719c.htm
|
気候変動 |
2022-07-19 17:00:00 |
金融 |
日本銀行:RSS |
FSBがG20財務大臣・中央銀行総裁へのレターを公表 |
http://www.boj.or.jp/announcements/release_2022/rel220719b.htm
|
中央銀行 |
2022-07-19 17:00:00 |
金融 |
日本銀行:RSS |
業態別の日銀当座預金残高(6月) |
http://www.boj.or.jp/statistics/boj/other/cabs/cabs.xlsx
|
日銀当座預金残高 |
2022-07-19 17:00:00 |
海外ニュース |
Japan Times latest articles |
With Shinzo Abe pale and lifeless, a doctor at the scene prayed for a miracle |
https://www.japantimes.co.jp/news/2022/07/19/national/shinzo-abe-doctor-pray-miracle/
|
With Shinzo Abe pale and lifeless a doctor at the scene prayed for a miracleThe moment he laid eyes on Shinzo Abe s ashen face Shingo Nakaoka knew that any attempt to revive the former Japanese prime minister was likely |
2022-07-19 16:22:00 |
ニュース |
BBC News - Home |
UK heatwave: Hottest day on record likely with highs of up to 42C |
https://www.bbc.co.uk/news/uk-62217282?at_medium=RSS&at_campaign=KARANGA
|
struggle |
2022-07-19 07:45:57 |
ニュース |
BBC News - Home |
Ukraine war: Putin to visit Iran in rare international trip |
https://www.bbc.co.uk/news/world-europe-62218696?at_medium=RSS&at_campaign=KARANGA
|
february |
2022-07-19 07:08:04 |
ニュース |
BBC News - Home |
Spending power squeeze worst for 20 years |
https://www.bbc.co.uk/news/business-62218706?at_medium=RSS&at_campaign=KARANGA
|
yearsbasic |
2022-07-19 07:50:24 |
ニュース |
BBC News - Home |
Public sector pay: Millions of workers await deal decision |
https://www.bbc.co.uk/news/uk-politics-62206733?at_medium=RSS&at_campaign=KARANGA
|
await |
2022-07-19 07:55:07 |
ビジネス |
不景気.com |
埼玉の「武蔵オプティカルシステム」が破産申請へ、負債18億円 - 不景気com |
https://www.fukeiki.com/2022/07/musashi-optical-system.html
|
信用調査会社 |
2022-07-19 07:47:34 |
北海道 |
北海道新聞 |
美唄湿原の今、初調査 市郷土史料館 1年かけ草花撮影 |
https://www.hokkaido-np.co.jp/article/707505/
|
農業試験場 |
2022-07-19 16:38:00 |
北海道 |
北海道新聞 |
維新代表、安倍氏の国葬反対せず 「首相は国会で説明を」 |
https://www.hokkaido-np.co.jp/article/707504/
|
大阪市長 |
2022-07-19 16:37:00 |
北海道 |
北海道新聞 |
サッカー女子の米国、パリ五輪へ 北中米カリブ海選手権で優勝 |
https://www.hokkaido-np.co.jp/article/707503/
|
選手権 |
2022-07-19 16:36:00 |
北海道 |
北海道新聞 |
首相「機動的に経済運営」 IMF専務理事と面会 |
https://www.hokkaido-np.co.jp/article/707495/
|
国際通貨基金 |
2022-07-19 16:15:08 |
北海道 |
北海道新聞 |
首相、韓国外相と会談 関係改善へ意見交換 |
https://www.hokkaido-np.co.jp/article/707491/
|
岸田文雄 |
2022-07-19 16:14:08 |
北海道 |
北海道新聞 |
<旬の味オホーツク>7月メロン 寒暖差と日照で増す甘み 手間かけて守るブランド |
https://www.hokkaido-np.co.jp/article/707501/
|
日照時間 |
2022-07-19 16:26:00 |
北海道 |
北海道新聞 |
JR北海道、11月末で回数券の販売終了 |
https://www.hokkaido-np.co.jp/article/707490/
|
回数乗車券 |
2022-07-19 16:17:35 |
北海道 |
北海道新聞 |
道南162人感染 新型コロナ |
https://www.hokkaido-np.co.jp/article/707493/
|
道南 |
2022-07-19 16:09:00 |
ビジネス |
東洋経済オンライン |
16代目クラウンが何とも大胆な変身を遂げた意味 目指すのはレクサスにもベンツ、BMWにもない境地 | トヨタ「16代目クラウン」の衝撃 | 東洋経済オンライン |
https://toyokeizai.net/articles/-/605004?utm_source=rss&utm_medium=http&utm_campaign=link_back
|
幕張メッセ |
2022-07-19 16:30:00 |
ニュース |
Newsweek |
HIMARS使用を高く評価されるウクライナ軍だが、いずれロシアに研究される |
https://www.newsweekjapan.jp/stories/world/2022/07/himars.php
|
ウクライナがロシア国内の標的を攻撃し、紛争をエスカレートさせることを恐れているためだウクライナ側はそのような攻撃はしないと言明している。 |
2022-07-19 16:22:42 |
IT |
週刊アスキー |
本格アドベンチャー『波動の標的(MSX2版)』が「プロジェクトEGG」で本日リリース! |
https://weekly.ascii.jp/elem/000/004/098/4098444/
|
配信サービス |
2022-07-19 16:55:00 |
IT |
週刊アスキー |
台湾風まぜそばパン、マンゴープリンなど108円! ローソンストアで「アジアンフェア」スタート |
https://weekly.ascii.jp/elem/000/004/098/4098371/
|
追加 |
2022-07-19 16:30:00 |
IT |
週刊アスキー |
おいしそうな絵画を鑑賞しよう! SOMPO美術館「おいしいボタニカル・アート 食を彩る植物のものがたり」11月5日~2023年1月15日開催 |
https://weekly.ascii.jp/elem/000/004/098/4098399/
|
sompo |
2022-07-19 16:30:00 |
IT |
週刊アスキー |
HYPER、Apple MFi認証取得の折りたたみ式充電スタンド「HyperJuice 4in1 MagSafeワイヤレスチャージャー」をMakuakeで先行販売 |
https://weekly.ascii.jp/elem/000/004/098/4098400/
|
applemfi |
2022-07-19 16:30:00 |
IT |
週刊アスキー |
親子で「京王ライナー」「Mt.TAKAO号」に500円で乗ろう! 京王電鉄「こどもといっしょ割 座席指定券」7月23日~8月28日の土・休日限定販売 |
https://weekly.ascii.jp/elem/000/004/098/4098409/
|
mttakao |
2022-07-19 16:30:00 |
IT |
週刊アスキー |
キンレイのヒットシリーズ「お水がいらない」定番「鍋焼きうどん」が5年ぶりにリニューアル! パッケージは「透明窓」に |
https://weekly.ascii.jp/elem/000/004/098/4098355/
|
味噌煮込みうどん |
2022-07-19 16:10:00 |
マーケティング |
AdverTimes |
エステー「米唐番」がCM 20〜30代向けにTikTokも |
https://www.advertimes.com/20220719/article390105/
|
tiktok |
2022-07-19 07:04:09 |
コメント
コメントを投稿