IT |
気になる、記になる… |
NOMAD製の高級感あるiPhone用MagSafeスタンド「NOMAD MagSafe Mount Stand」が登場 |
https://taisy0.com/2022/02/10/151863.html
|
apple |
2022-02-10 02:55:35 |
IT |
気になる、記になる… |
新型「iPhone SE」は既に量産中で、3月末に発売見込みとの情報 |
https://taisy0.com/2022/02/10/151860.html
|
apple |
2022-02-10 02:03:30 |
TECH |
Engadget Japanese |
「Rakuten Hand 5G」楽天モバイルが2月14日発売、細身ボディそのままで5G対応 |
https://japanese.engadget.com/rakuten-hand-5g-025058315.html
|
rakutenhandg |
2022-02-10 02:50:58 |
TECH |
Engadget Japanese |
コスパ抜群&お洒落なワイヤレスイヤホン Nothing ear (1) が10%オフで販売中! 2月14日まで |
https://japanese.engadget.com/sale-nothing-ear-025036855.html
|
amazon |
2022-02-10 02:50:36 |
TECH |
Engadget Japanese |
小型ながら静電気集塵式。フィルター交換不要、コードレス卓上空気清浄機「Purifa」 |
https://japanese.engadget.com/purifa-air-purifier-024049850.html
|
「Purifa」には珍しい静電気集塵浄化技術を採用しています。 |
2022-02-10 02:40:49 |
TECH |
Engadget Japanese |
『MOTHER』と『MOTHER2』がNintendo Switch Onlineに追加。糸井重里氏のRPGがスイッチに降臨 |
https://japanese.engadget.com/mother-mother2-nintendo-switch-online-023030751.html
|
mother |
2022-02-10 02:30:30 |
TECH |
Engadget Japanese |
シャープ、最廉価スマホ AQUOS WishをSIMフリーでも販売 3万円代前半 |
https://japanese.engadget.com/wish-020116412.html
|
aquos |
2022-02-10 02:01:16 |
ROBOT |
ロボスタ |
NEC、顔認証とワクチンパスポートの連携サービスを開発 観光施設やイベント入場時のワクチン接種証明を顔認証で手軽に |
https://robotstart.info/2022/02/10/nec-face-rec-delight-services.html
|
|
2022-02-10 02:51:36 |
IT |
ITmedia 総合記事一覧 |
[ITmedia News] アイ・オー・データ機器、6月に上場廃止の見通し 創業者による自社買収で |
https://www.itmedia.co.jp/news/articles/2202/10/news104.html
|
itmedia |
2022-02-10 11:50:00 |
IT |
ITmedia 総合記事一覧 |
[ITmedia News] PayPay、「コロナお見舞い金」の保険料を値上げ、3倍に 「商品の安定運用と継続提供を行うため」 |
https://www.itmedia.co.jp/news/articles/2202/10/news102.html
|
itmedianewspaypay |
2022-02-10 11:30:00 |
IT |
情報システムリーダーのためのIT情報専門サイト IT Leaders |
海外拠点向けクラウドERP「multibook」、不正取引を検知する機能を追加 | IT Leaders |
https://it.impress.co.jp/articles/-/22699
|
海外拠点向けクラウドERP「multibook」、不正取引を検知する機能を追加ITLeadersマルチブックは年月日、クラウドERPソフトウェア「multibook」を強化し、不正取引を検知可能なデータ可視化機能「マネジメントコックピット」を追加した。 |
2022-02-10 11:35:00 |
python |
Pythonタグが付けられた新着投稿 - Qiita |
Zipファイル展開_Python |
https://qiita.com/hpfuku/items/caded7cd3ea366a21775
|
Zipファイル展開PythonZipファイルを展開するプログラムを、Webページを参考に書きました。 |
2022-02-10 11:30:42 |
Ruby |
Rubyタグが付けられた新着投稿 - Qiita |
▸ Error: docker build exited with Error: 1 & executor failed running [/bin/sh...] : exit code: 100 の対処法 |
https://qiita.com/keitaro-code/items/fa82cdeb038afe20791f
|
ただ、nodejsたちがインストールされていないと後々、影響が出てくるかもしれないので頭に入れておくことにします。 |
2022-02-10 11:14:00 |
Docker |
dockerタグが付けられた新着投稿 - Qiita |
▸ Error: docker build exited with Error: 1 & executor failed running [/bin/sh...] : exit code: 100 の対処法 |
https://qiita.com/keitaro-code/items/fa82cdeb038afe20791f
|
ただ、nodejsたちがインストールされていないと後々、影響が出てくるかもしれないので頭に入れておくことにします。 |
2022-02-10 11:14:00 |
Ruby |
Railsタグが付けられた新着投稿 - Qiita |
▸ Error: docker build exited with Error: 1 & executor failed running [/bin/sh...] : exit code: 100 の対処法 |
https://qiita.com/keitaro-code/items/fa82cdeb038afe20791f
|
ただ、nodejsたちがインストールされていないと後々、影響が出てくるかもしれないので頭に入れておくことにします。 |
2022-02-10 11:14:00 |
技術ブログ |
Developers.IO |
[AWS Step Functions] 名前のプレフィックスが一致するEventBridgeルールを一定期間有効化や無効化するステートマシンを作成してみた |
https://dev.classmethod.jp/articles/change-status-of-eventbridge-rules-at-once/
|
awsstepfunctions |
2022-02-10 02:51:50 |
技術ブログ |
Developers.IO |
【2/21(月)】事例紹介から学ぶ!LINEミニアプリ開発ウェビナー |
https://dev.classmethod.jp/news/220221-line-webinar/
|
開始 |
2022-02-10 02:17:19 |
海外TECH |
Ars Technica |
May the 25th be with you: Obi-Wan Kenobi poster, premiere date revealed |
https://arstechnica.com/?p=1833004
|
release |
2022-02-10 02:28:54 |
海外TECH |
DEV Community |
How to Optimize Your Frontend Development Workflow for Greater Efficiency 🍄 |
https://dev.to/yaku/how-to-optimize-your-frontend-development-workflow-for-greater-efficiency-469j
|
How to Optimize Your Frontend Development Workflow for Greater Efficiency What is a workflow A workflow is a collection of tools and processes that you use to get your work done It might include a text editor a code linter a build tool and a version control system Why optimize your workflow A well optimized workflow can save you timeimprove your productivitymake your code easier to read and maintainThere are many different ways to optimize your workflow Here are tips that can help you get started Use a text editor that supports syntax highlighting and autocompletion A good text editor can make your life a lot easier It should have syntax highlighting and autocompletion to make it easy to read and write code Use a code linter to help you write clean code A code linter can help you write code that is error free and consistent It can also help you learn the rules of your language Use a build tool to automate your development tasks A build tool can automate common tasks such as compiling your code minifying your code and running tests This can save you time and improve your productivity Use a version control system to track your changes and collaborate with others A version control system can help you track your changes collaborate with others and roll back changes if necessary Use a package manager to manage your dependencies A package manager can help you install and manage your dependencies This can make it easier to keep your code up to date Use a code formatter to format your code automatically A code formatter can help you keep your code organized and consistent It can also make your code easier to read and maintain Use a code scanner to scan your code for potential security vulnerabilities A code scanner can help you find and fix potential security vulnerabilities in your code This can help keep your code safe and secure Use a code obfuscator to protect your code from theft and reverse engineering A code obfuscator can help protect your code from theft and reverse engineering It can make your code harder to read and understand Use a testing framework to automate your testing tasks A testing framework can help you automate your testing tasks and improve your testing coverage This can help you find and fix bugs more quickly Use a code quality tool to help you analyze your code and identify potential problems A code quality tool can help you analyze your code and identify potential problems It can help you improve the quality of your code and maintainability Thanks for reading this article remember you can follow me GitHub by clicking here |
2022-02-10 02:48:52 |
海外TECH |
DEV Community |
More C# Console Games |
https://dev.to/zacharypatten/more-c-console-games-27bg
|
More C Console GamesBack on Jan I wrote an article Learn C Through Console Games TLDR I have been working on a GitHub repository with open source C console game examples aiming to help people learn C in fun ways When I wrote that first article the repo had console game examples As of now I have coded console games so I ve added in the past years I felt like writing this follow up article so I could highlight some of those games and share some thoughts I had while coding them Keep in mind I only work on this in my spare time for fun Most of the games in the repo took me less than hours to develop although there are a few exceptions I ll mention below DriveAdded November In this game the background scrolls downwards and you try to keep your car on the road with the arrow keys ↑ ← → One topic I had to overcome while making this game is that there is no built in way to query if a key is down or not there is no Console IsKeyDown ConsoleKey LeftArrow method You would have to dig into native libraries for that which I wanted to avoid for these game examples So I couldn t just have the car move left while you hold down the ← left arrow key I had to compromise by having the arrow keys ↑ ← → set the velocity of the car rather than needing to be held down Press left arrow key ← once and it will set the velocity of the car to turn left Now there is no need to continually query if the left arrow is down because the velocity will be constant until a different key is pressed The road is randomly generated Each time the background scrolls downward it randomly generates a new row at the top There are three types of road that it can generate straight turn left turn rightWhen I started randomly generating the road I split it evenly and gave each possible option a chance to be the next row However that usually resulted in a mostly straight road with jagged edges that wasn t very fun to play D How did I fix this I added in a bias that so that when a new row is generated it has a chance to be the same as the previously generated row For example this meant that once a left turn was started it would likely continue to turn left for at least several rows This resulted in roads that you would expect to see in a driving game with some longer turns and straightaways Drive was one of the easiest games to make and turned out to be one of the most enjoyable to play in my opinion Unlike Snake which starts off slow easy and gradually gets harder Drive has a consistent difficulty until you make a mistake and die Role Playing GameAdded October ╔═══════════════════════════════════════════════════════════════════════════════════════════════════╗║║║║║ ║║ Inn Store ║║ ║║ █ █ ║║O ║║L ║║ ║║ ║║ ║║ ║║ ║║█ █ █ █ █ █ █ █║║═══╗╔═════╗╔═════╗╔═════╗╔═════╗╔═════╗ ╔═════╗╔═════╗╔═════╗╔═════╗╔═════╗╔═══║║███║║█████║║█████║║█████║║█████║║█████║ ║█████║║█████║║█████║║█████║║█████║║███║║███║║█████║║█████║║█████║║█████║║█████║ ║█████║║█████║║█████║║█████║║█████║║███║║═══╝╚═════╝╚═════╝╚═════╝╚═════╝╚═════╝ ╚═════╝╚═════╝╚═════╝╚═════╝╚═════╝╚═══║║║╚═══════════════════════════════════════════════════════════════════════════════════════════════════╝Move arrow keys or w a s d Check Status enter Quit escape This game is pretty self explanatory It is a role playing game When most people think of a text based RPG they probably think of a purely text question and answer type of game with stuff like Where would you like to move n s e w Although Role Playing Game is technically a text based RPG it visually represents the world with WASD movement and character animations albeit rather simple character animations Role Playing Game is currently the most complex of the games I have added to the repo While most games took hours to code Role Playing Game took hours to code Luckily I was able to re use some assets from other games such as the character running animation from Hurdles and the punching fall get up idle animations from Fighter One of the features I wanted to add with this game was respecting the current console size You can resize the console window and the game will re render itself with the character in the center of the screen Nothing revolutionary of course D but dynamic screen size is a little weird when you are dealing with a console terminal application Not sure if it was a bug but I kept getting ArgumentOutOfRangeException exceptions when setting the Console BufferHeight or Console BufferWidth even though my values were totally valid so I had to wrap it in an ugly try catch Also there are some differences between cmd exe and the VsDebugConsole exe Visual Studio Debug Console When you write to the last character in a line they behave differently One will write the character and stay on the same line while the other will write the character and jump to the next line and since I was Console WriteLine ing at the end of each row one console had blank lines while the other did not D But it was an easy fix once I figured out what was happening Even though all the graphics were made out of ascii characters I still found it beneficial to make sprite sheets and define the maps with sprites The game has different maps town field and castle Here is what the definition of the field map currently looks like for example public static readonly char Field new char mmmpmmmmpmmmmmpmmmmmpmmmmmpmmmpmmmpmmmpmm ToCharArray mmpppppppmmmpppmmmpppppmmppmmmpmmmmpppmmm ToCharArray mmpmmpmmpmppmmpmpmmpmmpmmmmmmpppmmpmpmmmp ToCharArray TTTTTc mpmm cTT mmcmmpp ToCharArray TTTT mm g mmm ToCharArray TTT TT mm mpm ToCharArray TTT TTT mmmm TT ppm ToCharArray www T mm TTT www ToCharArray www TT ww T www ToCharArray www ww TTT wwwww ToCharArray www ww Tww mmmmmm ToCharArray wwww wwwwwww TT cmmmmmmmm ToCharArray wwwwwwwwwwwwwwwwwwwwwTTTTTTTTTTTTmmmmmmmm ToCharArray wwwwwwwwwwwwwwwwwwwwTTTTTTTTTTTTTTmmmmmmm ToCharArray wwwwwwwwwwwwwwwwwwwTTTTTTTTTTTTTTTTmmmmmm ToCharArray Each of the characters is an id of a sprite See the source code for the full list but here are what a few of the characters represent W is water m is mountains and T is tree WordleAdded January ╔═══╦═══╦═══╦═══╦═══╗ ║H ║O ║U ║S ║E ║ ╠═══╬═══╬═══╬═══╬═══╣ ║P ║L ║A ║C ║E ║ ╠═══╬═══╬═══╬═══╬═══╣ ║S ║E ║A ║R ║S ║ ╠═══╬═══╬═══╬═══╬═══╣ ║║║║║║ ╠═══╬═══╬═══╬═══╬═══╣ ║║║║║║ ╠═══╬═══╬═══╬═══╬═══╣ ║║║║║║ ╚═══╩═══╩═══╩═══╩═══╝ Wordle has gone a bit viral and is all over social media I just wanted to mention that I hate this game P But I went ahead and coded it because it was too easy not to code it D But the game still sucks PacManAdded December ╔═══════════════════╦═══════════════════╗ ║·········║·········║ ║·╔═╗·╔═════╗·║·╔═════╗·╔═╗·║ ║ ╚═╝·╚═════╝·╨·╚═════╝·╚═╝ ║ ║···················║ ║·═══·╥·══════╦══════·╥·═══·║ ║····║····║····║····║ ╚═════╗·╠══════╨══════╣·╔═════╝ ║·║║·║ ══════╝·╨╔════ ════╗╨·╚══════ ·║████║· ══════╗·╥║║╥·╔══════ ║·║╚═══════════╝║·║ ║·║READY ║·║ ╔═════╝·╨══════╦══════╨·╚═════╗ ║·········║·········║ ║·══╗·═══════·╨·═══════·╔══·║ ║ ·║······█······║· ║ ╠══·╨·╥·══════╦══════·╥·╨·══╣ ║····║····║····║····║ ║·══════╩══════·╨·══════╩══════·║ ║···················║ ╚═══════════════════════════════════════╝PacMan is a PacMan clone in the console Get the dots Dodge the ghosts It s not intended to be very faithful though I didn t research the AI of the ghost I just came up with my own AIs that worked Here is what I did for the ghost AIs Ghost a follows you via Dijkstra Path Finding and updates every frames faster Ghost b randomly moves and updates every frames faster Ghost c follows you via Dijkstra Path Finding and updates every frames slower Ghost d randomly moves and updates every frames slower Note for this game I pulled in a reference to my nuget package Towel because it includes generic versions of the Dijkstra Path Finding algorithm Out of all the games this is the only one that really needs color All the other games could likely be pretty easily made to not rely on color but without different colors in Pac Man you wouldn t be able to distinguish the ghosts or Pac Man and we also need the ghosts to turn blue when Pac Man eats one of the bigger dots The ConsoleColor enum only has different colors but luckily I ve been able to make everything work so far with that very limited palette Yes there are ways to render more colors in the console but these are intended to be relatively simple examples for newer developers so I don t want to overcomplicate things if I can make due with just ConsoleColor PacMan like Role Playing Game took a bit longer than most of the other games to develop I can t remember exactly how long it took to code but a good guess is that it took me hours to code I ve never actually been a fan of Pac Man so it wasn t all that fun to make for me D But I like a challenge so I did it anyway MancalaAdded February ╔══════════════════════════════════╗ ║ ║ ║ ║ ║ ║ ║ ║ ║ ║ ╚══════════════════════════════════╝Mancala is currently the newest game in the repo It was a suggestion from a user on the C Discord Server I had never played Mancala before coding this game so if anyone is a Mancala expert and finds a bug in my code please let me know DMancala was a funny game to code because the game itself is extremely simple but I found visually representing it in the console harder than it would seem When you make a move you pick up seeds and move in a counter clockwise motion putting a seed in each pit along the way How do you represent that in the console I started to make a little counter clock wise animation but quickly found myself thinking This animation is not going to help anyone learn how to play Mancala D So instead of trying to have some fancy animation I just show the X and X of each pit and store after a move is processed ╔══════════════════════════════════╗ ║ ║ ║ ║ ║ ║ ║ ║ ║ ║ ╚══════════════════════════════════╝I thought that would be the best way to convey what happened to the user But it still isn t great and I assume Mancala is probably the most confusing game to play in the entire repo unless you are already familiar with Mancala FighterAdded February HP ████████████████HP EN ██████████EN o O gt L gt I d never seen a D fighter game in the console so I decided to make this game to try to push myself to see if it was possible Is it good Nope D But hey it works So can you make a D fighting game in the console Yes Yes you can As of writing this article Fighter definitely has the worst code quality of all the games There is spaghetti code and magic numbers P You are welcome Maybe someday I ll clean up the code and improve the game a bit But the goal isn t to make AAA games here this is the console terminal after all SudokuAdded August ╔═══════╦═══════╦═══════╗║ ║ ║ ║║ ║ ║ ║║ ║ ║ ║╠═══════╬═══════╬═══════╣║ ║ ║ ║║ ║ ║ ║║ ║ ║ ║╠═══════╬═══════╬═══════╣║ ║ ║ ║║ ║ ║ ║║ ║ ║ ║╚═══════╩═══════╩═══════╝Pretty much exactly what you would expect Sudoku in the console ConclusionIf anything here caught your interest or if you know someone who is looking for fun beginner C projects I encourage you to check out the repo where all the games are open source My general recommendation is for beginners to play the games find one they like then try to code it from scratch if you get stuck you have the working example to refer to I would also gladly accept contributions if you make a console game of your own and would be willing to add it to the repo Or if you have an idea of a game you would like to see in the console feel free to comment below or open a discussion on the GitHub repo How many more console game will I make No idea P But I have several ideas so you can expect to see more in the future Thank you for reading Have a great day |
2022-02-10 02:11:08 |
金融 |
ニッセイ基礎研究所 |
老後準備への拠出額が、必要と考える額に達している人の傾向 |
https://www.nli-research.co.jp/topics_detail1/id=70213?site=nli
|
その結果、年収が高い人、同居の子がいない有配偶者、現在バイアスが弱い人の拠出金額が、必要と考える金額に達している傾向があることが確認された。 |
2022-02-10 11:02:54 |
ニュース |
ジェトロ ビジネスニュース(通商弘報) |
ドバイで2022年7月からプラスチック製レジ袋を有料化 |
https://www.jetro.go.jp/biznews/2022/02/5993ad7051123eda.html
|
年月 |
2022-02-10 02:25:00 |
海外ニュース |
Japan Times latest articles |
Under new ownership, will Shinsei Bank be able to draw a line under its debt legacy? |
https://www.japantimes.co.jp/news/2022/02/10/business/corporate-business/shinsei-new-ownership-debt-legacy/
|
Under new ownership will Shinsei Bank be able to draw a line under its debt legacy Shinsei Bank is the only bank that has yet to repay public funds it received followed the collapse of the speculation driven bubble economy in the |
2022-02-10 11:29:45 |
海外ニュース |
Japan Times latest articles |
Climate hope as scientists in U.K. set nuclear fusion record |
https://www.japantimes.co.jp/news/2022/02/10/world/uk-nuclear-fusion-record/
|
Climate hope as scientists in U K set nuclear fusion recordA team generated megajoules of energy for five seconds during an experiment in December ーabout the power needed to power homes for |
2022-02-10 11:17:14 |
海外ニュース |
Japan Times latest articles |
Canada protest starts to bite as Ford is forced to close engine plant |
https://www.japantimes.co.jp/news/2022/02/10/world/canada-trucker-protest-bites-ford/
|
Canada protest starts to bite as Ford is forced to close engine plantThe blockade of the Ambassador Bridge between the U S and Canada by protesters angry over COVID restrictions is in its third day with no end |
2022-02-10 11:16:07 |
海外ニュース |
Japan Times latest articles |
Tokyo and 12 prefectures to remain under quasi-emergency until March 6 |
https://www.japantimes.co.jp/news/2022/02/10/national/tokyo-12-prefectures-quasi-emergency-march-6/
|
severe |
2022-02-10 11:08:26 |
ニュース |
BBC News - Home |
'Don't Say Gay': Biden denounces 'hateful' new Florida bill |
https://www.bbc.co.uk/news/world-us-canada-60326418?at_medium=RSS&at_campaign=KARANGA
|
classrooms |
2022-02-10 02:07:21 |
ニュース |
BBC News - Home |
What will Jacob Rees-Mogg do in his new job? |
https://www.bbc.co.uk/news/uk-politics-60321890?at_medium=RSS&at_campaign=KARANGA
|
brexit |
2022-02-10 02:10:13 |
ニュース |
BBC News - Home |
The hackers hunting for the lost Bitcoin billions |
https://www.bbc.co.uk/news/technology-60318946?at_medium=RSS&at_campaign=KARANGA
|
bitcoin |
2022-02-10 02:11:42 |
北海道 |
北海道新聞 |
文大統領、首相に対話呼び掛け 佐渡金山推薦には「憂慮」 |
https://www.hokkaido-np.co.jp/article/644102/
|
佐渡金山 |
2022-02-10 11:16:00 |
北海道 |
北海道新聞 |
17億円分の覚醒剤密輸疑い 男逮捕、貨物に隠したか |
https://www.hokkaido-np.co.jp/article/644098/
|
航空貨物 |
2022-02-10 11:06:00 |
北海道 |
北海道新聞 |
【道スポ】日本ハム・杉谷、頂点目指し大飛躍だ スキー・ジャンプの小林陵侑から刺激 |
https://www.hokkaido-np.co.jp/article/644097/
|
小林陵侑 |
2022-02-10 11:01:00 |
マーケティング |
MarkeZine |
【ウェビナー】EC化率世界一の中国、現地で見てきたリアルな姿/データから売れない要因を突き止める |
http://markezine.jp/article/detail/38311
|
現地 |
2022-02-10 11:30:00 |
IT |
週刊アスキー |
バーガーキング名物! 自虐的!?な「アグリー(醜い)バーガー」からピリ辛「ハバネロチーズ」など登場 |
https://weekly.ascii.jp/elem/000/004/083/4083005/
|
期間限定 |
2022-02-10 11:50:00 |
マーケティング |
AdverTimes |
プレナス、事業開発推進本部を新設(22年3月1日付) |
https://www.advertimes.com/20220210/article376677/
|
構造改革 |
2022-02-10 02:40:54 |
コメント
コメントを投稿