IT |
気になる、記になる… |
Microsoft、「Surface Laptop 3 (Intelモデル)」向けに2023年3月度のファームウェアアップデートをリリース |
https://taisy0.com/2023/04/06/170409.html
|
intel |
2023-04-05 15:18:29 |
IT |
気になる、記になる… |
ソニー、「PS5」のリモートプレイに特化したハンドヘルドデバイスを開発中との噂 |
https://taisy0.com/2023/04/06/170406.html
|
insidergaming |
2023-04-05 15:15:46 |
AWS |
AWS Startups Blog |
Evolutionary architectures series, part 3 |
https://aws.amazon.com/blogs/startups/evolutionary-architectures-series-part-3/
|
Evolutionary architectures series part “Evolutionary Architectures is a four part blog series that shows how solution designs and decisions evolve as companies go through the different stages of the nbsp startups lifecycle In this series we follow the aptly named Example Startup whose idea is to create a “fantasy stock market application similar to fantasy sports leagues They envision holding four “tournaments over the course of a year The second blog described how the startup started evolving their technical solutions while the founders were getting ready for fund raising In part we will see how Example Startup further progresses in maturing their tech stack and positioning themselves well for scale |
2023-04-05 15:43:50 |
AWS |
lambdaタグが付けられた新着投稿 - Qiita |
LamdaとCloudWatch Eventsでnode.js 18を定期実行する |
https://qiita.com/kanerin1004/items/e037e12428d3cb05bd43
|
chatgpt |
2023-04-06 00:33:05 |
python |
Pythonタグが付けられた新着投稿 - Qiita |
【RaspberryPi+Python】pingを利用してAndroid機器の死活監視をする |
https://qiita.com/ajifly723/items/65b81a4ec3f810e6928b
|
android |
2023-04-06 00:27:28 |
golang |
Goタグが付けられた新着投稿 - Qiita |
Goのhtml/templateやGinでコメント文を削除させずに出力させたい時 |
https://qiita.com/waflan/items/38efb07867999b36efaf
|
htmltemplate |
2023-04-06 00:53:32 |
Azure |
Azureタグが付けられた新着投稿 - Qiita |
Azureのネットワーク切り替え時において切り戻しを想定して考えておくこと(リソース編) |
https://qiita.com/hiro1216/items/fefcf8667d1208573cde
|
azure |
2023-04-06 00:14:59 |
Git |
Gitタグが付けられた新着投稿 - Qiita |
GitHub pushまでの流れ |
https://qiita.com/kuramoto30/items/c09a26abef47b6531e16
|
codecommit |
2023-04-06 00:33:28 |
技術ブログ |
Developers.IO |
วิธีสมัคร account สำหรับสอบ AWS Certification |
https://dev.classmethod.jp/articles/how-to-register-aws-certification-exam-account/
|
วิธีสมัครaccount สำหรับสอบAWS Certificationต้าครับวันนี้จะมาแนะนำวิธีสมัครaccount สำหรับสอบAWS Certification ครับAWS มีการอัพเดทCertification อยู่บ่ |
2023-04-05 15:50:08 |
海外TECH |
Ars Technica |
Miles Morales must make a sacrifice in Spider-Man: Across the Spider-Verse trailer |
https://arstechnica.com/?p=1929228
|
spider |
2023-04-05 15:23:40 |
海外TECH |
Ars Technica |
Other than Tesla, which car companies are selling lots of EVs? |
https://arstechnica.com/?p=1929230
|
companies |
2023-04-05 15:02:49 |
海外TECH |
DEV Community |
Confessions from a Golfer Programmer |
https://dev.to/devardi/confessions-from-a-golfer-programmer-3fb5
|
Confessions from a Golfer ProgrammerI love code Not all code just beautiful code One of my favorite activities is to refactor transmuting a program that works into another that does exactly the same thing but better Making it run faster changing it so that it s shorter or more idiomatic whatever that means removing some nasty duplication etc It makes me happy in the inside to see commits that have more removals than additions which is probably the opposite of what the product manager likes to see This is not a good quality to have however It s easy for me to get engrossed in the beauty of my own or someone else s code and not get anything done Look I conceitedly exclaimed I ve reduced the size of the function to one third its size Nice have you added the feature already we really need it My coworker inquired On it Realizing that I spent half an hour and it s still unstarted I come from javascript where every time you try to do something minimally declarative your javascript engine dies a bit on the inside and the garbage collector wishes you very bad things Let s say that our backend has a function that requests IDs These IDs can be empty and we want to ignore those It gets the users from a dictionary in memory and then returns the ones that it has found that are validated function getValidatedUsers userIDs string Users There are two ways to achieve this The imperative way function getUsers userIDs string Users const ret for i in userIDs if i continue const user UsersDictionary i if user undefined amp amp user isValidated ret push user The declarative way function getUsers userIDs string Users return userIDs filter x gt x map x gt UsersDictionary x filter x gt x undefined filter x gt x isValidated Which could even be written more concisely with arrow function syntax To me the declarative way more beautiful and clear the steps look simple and ordered But you would be a fool to use it The engine copies the array times which involves a heap allocation a memory copy and later on a garbage collection pause that is guaranteed to happen at the worst possible time all of the time Not to mention the closures generated too You won t see me writting javascript that looks like that in code that needs to be even minimally performant especially not in node which is single threaded and your pretty little declarative function is slowing down the rest of the server I love Rust I promise this is not another blog of Rust propaganda which probably doesn t come as a surprise given that I m your stereotypical nerd Rust is great but it s also my greatest demise My first contact with the expresiveness of Rust blew me away You can use the declarative way you can use beautiful declarative code all without it slowing anything down it even has the potential to get optimized into being faster Rust is famous for its error handling It does not support exceptions instead opting for returning the errors to the caller The first time I heard of it I thought that it was a step backwards a return to C and its error code returning But I was wrong rust has exceptional tools for working with errors Here s an example from selenium manager maintained by the selenium project and a contribution I madeThis calls three functions that can fail set timeout set proxy and resolve driverIf any of them fails the program exits with a return code match selenium manager set timeout cli timeout Ok gt Err err gt selenium manager get logger error err flush and exit DATAERR selenium manager get logger match selenium manager set proxy cli proxy Ok gt Err err gt selenium manager get logger error err flush and exit DATAERR selenium manager get logger match selenium manager resolve driver Ok driver path gt selenium manager get logger info driver path display to string flush and exit selenium manager get logger Err err gt selenium manager get logger error err flush and exit DATAERR selenium manager get logger This is where my golfer self comes in I want to make this code as concise as I can First let s use if let Err which could translate to javascript s if my fn instanceof Error and extract the error to a functionlet err out e selenium manager get logger error e flush and exit DATAERR selenium manager get logger if let Err err selenium manager set timeout cli timeout err out err if let Err err selenium manager set proxy cli proxy err out err match selenium manager resolve driver Ok path gt selenium manager get logger info path flush and exit selenium manager get logger Err err gt err out err But Rust has so much more to offer Notice that there s a happy path continue and a gutter where all of the errors go This is a common pattern and Rust has really nice tools for working with these in a declarative way We can use all of the expressiveness of rust to golf this downselenium manager set timeout cli timeout and then selenium manager set proxy cli proxy and then selenium manager resolve driver and then path If all of them succeed let log selenium manager get logger log info path flush and exit OK amp log unwrap or else err If any of them fail let log selenium manager get logger log error err flush and exit DATAERR amp log This is reminiscent of the code we saw earlier in javascript this time with errors which in my eyes makes all of it much easier to read and understand and most importantly More beautiful The only metric that matters All of these changes are cool and all but they provide no value The end user doesn t care the compiler doesn t care either they re equivalent but I care I m in for the aesthetics but don t tell my boss When I have to make functional changes they break the perfect aesthetic but given the time to refactor it will become something even more beautiful than before complexity that has been tamed into a coherent piece of machinery With no time given to making it look beautiful it will become an ugly mess but an ugly mess that works There s value in that One time when I read the code of a junior coworker of mine I physically shivered horrified at some of the things I saw and I felt an urge to fix it this is one example of such public isDebug boolean if window localStorage getItem debug true return true else return false I m not kidding that s real code I emotionally had the need to rewrite it topublic isDebug boolean return localStorage getItem debug true I doesn t make me happy that they save it to localStorage that s part of a bigger bodge that I don t even want to look at But that was a part of the code that didn t affect me in any way I just tumbled with it and couldn t look away It might not be pretty but their code worked and at the end of the day that s what matters I have so much to learn from them That was it I hope you liked my first post Remember when I said I wasn t going to make Rust propaganda I kind of lied a bit there |
2023-04-05 15:21:40 |
海外TECH |
DEV Community |
Welcome Thread - v219 |
https://dev.to/thepracticaldev/welcome-thread-v219-57lo
|
Welcome Thread vLeave a comment below to introduce yourself You can talk about what brought you here what you re learning or just a fun fact about yourself Reply to someone s comment either with a question or just a hello Great to have you in the community |
2023-04-05 15:06:41 |
海外TECH |
DEV Community |
From padawan to Jedi - boost your dev skills with the Ultimate Todo App |
https://dev.to/sergiopereira/from-padawan-to-jedi-boost-your-dev-skills-with-the-ultimate-todo-app-155l
|
From padawan to Jedi boost your dev skills with the Ultimate Todo AppBuilding software has come a long way over the past few years but at the same time it has become increasingly complex With new technologies databases frameworks and deployment methods emerging all the time it s hard to keep up As developers we understand the importance of building software that not only functions correctly but also adds real value to the end users This is why we strive to focus on the core business logic and the features that directly contribute to the user experience rather than spending countless hours on the mundane tasks that often come with software development We of course streamline the development process and try to minimize the amount of time spent on non essential tasks but it s still overwhelming Requirements change deadlines always seem impossible the world of software continues to evolve at an ever increasing pace it seems that the challenge of keeping up is here to stay Ultimately we want to create software that has a greater impact on the world while also making our jobs as developers more fulfilling and enjoyable That s why we decided to take a step back and really focus on software architecture We dug deep into Hexagonal Architecture Event Driven Architecture and other patterns like CQRS and Event Sourcing We also dove into Domain Driven Design and Behaviour Driven Development The result Well after months of learning and working on the Bitloops Platform join waiting list release in a few months we created the Ultimate ToDo app that follows all of these great design patterns and principles Now we know what you re thinking a ToDo app might not need to be this over engineered But trust us this app is a great example for building awesome software that s easy to understand and easy to change You can find the entire codebase in our GitHub Repo ddd hexagonal cqrs es eda We ve used TypeScript NodeJS and built it with Nest JS The repo and codebase has been designed to help you learn leverage and copy to build software that s organized easy to understand and easy to change And the best part it uses available open source technologies and has integrations setup for MongoDB PostgreSQL NATS JWT for authentication Jaeger and Prometheus but of course all of these can be changed or adapted if you wish Let me break down the example for you Overarching software architecture and design patternsHexagonal Architecture which is a great approach for building modern software applications is a core inspiration as well as domain driven design DDD for the design of the domain logic The combination of these two software patterns principles makes it really easy to build tests create new features and change stuff without having to worry about unintended consequences At their core both hexagonal architecture and DDD preach the separation of business logic code from infrastructure code This ensures your code is organized easy to understand and easy to change Therefore in the example provided we clearly separated the domain and application code from all the other code including the website authentication database and tracing and observability tools we use Understanding the domainNow when it comes to understanding the domain we use Event Storming to help us out It helps us get all of our domain experts product managers and developers on the same page speaking the same language and aligning on what s required In this particular example we created three bounded contexts and different number of processes within each IAMUser Login processUser Registration processTodoTodo ProcessMarketingOnboarding ProcessClarification the event storming yielded many interesting and valid ideas for the ToDo app the options are almost limitless However the purpose of this example was to demonstrate the software design and architecture not ToDo App features Focusing on the Todo process as it is the core domain we ve identified five commands that are separate use cases Add TodoComplete TodoUncomplete TodoModify Todo TitleDelete TodoEach of these use cases should be separate from the other and that s why this step is so important If you do this well you ll find that the actual coding is quite simple For more details do checkout the Github repo Building the AppWe have a clear project folder structure that follows the output of the event storming The business domain logic code is where the high value code lies This is what differentiates your application from others so it s important to keep it well organized and easily changeable For the Todo process we ve set up the application to coordinate the activities and hold the use cases Why do we need all this The commands trigger the command handlersContracts specify how the todo module communicates with other modulesThe domain contains all the elements using DDDPorts represent the interface between the application and infrastructureQueries trigger the query handlersTests include all the behavior driven tests that were identifiedThe code is all there in the repo but its actually not the most interesting part Setting it up and designing the application correctly is what makes the code so simple and practical So how can this example help you Well we believe that it can help developers of all levels as one of the main benefits is that the overheads and complications of using these design patterns and principles have been taken care of for you More experienced developers can use it as a template to more quickly and efficiently build projects that follow these design patterns and best practices It serves as a quick reference guide or a cheat sheet on the side a cheat sheet that you can easily tailor to your liking or contribute back if you have other things to add The structure of the codebase alone will make your life easier when it comes to coding If you re a developer with intermediate experience this implementation reference is gonna be your sidekick in helping you implement best practices It ll make your software more organized and easier to understand so you can save time and focus on things that are way more important And if you re new to this whole development game this is your chance to get exposure to a modern tech stack that s gonna make you feel like you re in the big leagues So don t be afraid to jump in and give it a shot you might just surprise yourself If you found any of this interesting I recommend taking a look at the project itself we have all the code there Our ultimate goal is to build a platform that will help developers design and build scalable resilient and easy to maintain applications like this example but in an easier and even faster way This implementation reference is a sneak preview of what our platform will offer empowering developers to focus on what really matters the features that add value to your users |
2023-04-05 15:00:31 |
Apple |
AppleInsider - Frontpage News |
Amazon drops Apple's Mac mini M2 to $499, cheapest price on record |
https://appleinsider.com/articles/23/04/05/amazon-drops-apples-mac-mini-m2-to-499-cheapest-price-on-record?utm_medium=rss
|
Amazon drops Apple x s Mac mini M to cheapest price on recordApple s Mac mini M is back down to and this time Amazon is offering the aggressive deal Enjoy savings of up to off retail configurations but please be aware that inventory is limited and the offers may sell out at any time Mac mini M drops to at Amazon Amazon s price on the standard M Mac mini is the cheapest available according to our Mac mini M Price Guide This matches the lowest price we ve seen on the model across Apple resellers ーand a first for Amazon to offer it Read more |
2023-04-05 15:43:47 |
Apple |
AppleInsider - Frontpage News |
HaloLock Power Bank Wallet for iPhone combines a battery, a wallet, and a stand in one accessory |
https://appleinsider.com/articles/23/04/05/halolock-power-bank-wallet-for-iphone-combines-a-battery-a-wallet-and-a-stand-in-one-accessory?utm_medium=rss
|
HaloLock Power Bank Wallet for iPhone combines a battery a wallet and a stand in one accessoryLong time accessory maker ESR has debuted the new Halolock Power Bank that integrates a wallet stand and battery in one accessory for the iPhone Halolock Power Bank WalletThe Halolock Power Bank Wallet is multi functional and comes with a mAh power bank that supports wired and wireless charging a stand that extends for stable hands free viewing at to degrees in either portrait or landscape orientation and a wallet that securely stores up to two cards Read more |
2023-04-05 15:26:29 |
Apple |
AppleInsider - Frontpage News |
Apple Services ending for some older OS versions -- but it's not a big deal |
https://appleinsider.com/articles/23/04/05/apple-service-support-to-end-for-ios-11-era-software-in-may?utm_medium=rss
|
Apple Services ending for some older OS versions but it x s not a big dealA reliable source says internal documents reference the end of Apple Services support except iCloud for older versions of iOS macOS High Sierra and others starting in May but it isn t going to be a problem for most users Here s why iCloud will still work on iOS and related releasesAccording to an accurate leaker named Fudge or StellaFudge on Twitter shared that select operating systems that first debuted in would not be able to access Apple services with the exception of iCloud starting in early May Those still running these operating systems will likely be prompted to update Read more |
2023-04-05 15:12:36 |
海外TECH |
Engadget |
Amazon Fire Kids tablets are up to 45 percent off right now |
https://www.engadget.com/amazon-fire-kids-tablets-are-up-to-45-percent-off-right-now-153710444.html?src=rss
|
Amazon Fire Kids tablets are up to percent off right nowAmazon is running another sale on its own products and this time around it s on Fire Kids tablets Those looking for a way to keep kids entertained in the back seat on a long car ride might want to take a look at the latest Fire Kids tablet The GB model has dropped from to That s just more than the lowest price we ve seen to date Doubling the internal storage to GB will only cost an extra A microSD slot allows you to add up to TB additional storage The tablet which is designed for youngsters aged three to seven comes with a rugged protective case with built in stand and a two year worry free guarantee Also included is a one year subscription to Amazon Kids which includes thousands of books games videos apps and Alexa skills all of which are ad free You ll be able to filter age based content set time limits and open access to apps such as Disney and Netflix via the parent dashboard Amazon says the latest version of the tablet delivers percent faster performance than the previous generation and double the RAM at GB The company says Fire Kids will run for up to hours on a single charge and it has a USB C port rather than the micro USB port of older models In case you feel a little more screen real estate is in order the sale also includes a good deal on our pick for the best tablet for children the Fire HD Kids That model is percent off at The Fire HD Kids is just over ounces heavier than the smaller model at ounces grams so it s maybe better suited for resting on a surface than the back of a car The inch Full HD device also comes with a case and a year of Amazon Kids Amazon says it ll run for up to hours on a single charge As with the Fire Kids this tablet has MP front facing and MP rear facing cameras with p video capture capabilities Follow EngadgetDeals on Twitter and subscribe to the Engadget Deals newsletter for the latest tech deals and buying advice This article originally appeared on Engadget at |
2023-04-05 15:37:10 |
海外TECH |
Engadget |
FBI seizes a giant online marketplace for stolen logins |
https://www.engadget.com/fbi-seizes-a-giant-online-marketplace-for-stolen-logins-151112975.html?src=rss
|
FBI seizes a giant online marketplace for stolen loginsLaw enforcement just took down an important hacker haven TechCrunchreports the FBI has seized Genesis Market a major marketplace for stolen logins as part of an international campaign dubbed quot Operation Cookie Monster quot The UK s National Crime Agency adds that authorities arrested roughly people worldwide as part of the bust including site users in that country We ve asked the FBI and Justice Department for comment In a release the Justice Department says the seizure took down a quot key enabler quot of ransomware Beyond the US and UK the campaign included agencies from Australia Canada Denmark Sweden and European countries like Germany and Poland Europol and the EU s Eurojust were also involved Genesis Market was founded in March and sold logins cookies and browser fingerprints taken from breached systems Hackers could not only sign into accounts but impersonate web browsers to access those accounts without needing a password or two factor authentication token So long as Genesis could still reach a victim s devices it could offer up to the minute data from that victim ーa valuable resource for hackers that sometimes have to settle for old and sometimes useless data The black market shop has sometimes been linked to high profile cybercrime incidents Motherboardnoted that the intruders behind the EA hack said they bought a bot from Genesis to hijack a Slack account at the game publisher The seizure and arrests won t stop sites from peddling bootleg logins It won t be surprising if many of Genesis Market s customers turn to smaller marketplaces All the same this is a significant action that could make it harder for attackers to simply buy the login data they need It also comes as law enforcement is stepping up efforts to disrupt the ransomware networks themselves In theory digital extortion is a more difficult proposition than it was even a few months ago This article originally appeared on Engadget at |
2023-04-05 15:11:12 |
海外TECH |
CodeProject Latest Articles |
Open 16-bit Windows Applications Natively on 64-bit Windows using OTVDM/winevdm |
https://www.codeproject.com/Articles/5358254/Open-16-bit-Windows-Applications-Natively-on-64-bi
|
otvdm |
2023-04-05 15:59:00 |
海外科学 |
NYT > Science |
E.P.A. to Tighten Limits on Mercury and Other Pollutants From Power Plants |
https://www.nytimes.com/2023/04/05/climate/epa-mercury-coal-plants.html
|
E P A to Tighten Limits on Mercury and Other Pollutants From Power PlantsA new rule would reduce mercury arsenic nickel and lead emissions which the Biden administration said would protect public health |
2023-04-05 15:50:55 |
金融 |
金融庁ホームページ |
G7ハイレベル・コーポレート・ガバナンスラウンドテーブルを開催します。 |
https://www.fsa.go.jp/inter/etc/20230405/index.html
|
ラウンドテーブル |
2023-04-05 17:00:00 |
金融 |
金融庁ホームページ |
「中小・地域金融機関向けの総合的な監督指針」等の一部改正(案)について公表しました。 |
https://www.fsa.go.jp/news/r4/ginkou/20230405/20230405.html
|
金融機関 |
2023-04-05 17:00:00 |
金融 |
金融庁ホームページ |
金融安定理事会による「2023年の作業計画」の公表について掲載しました。 |
https://www.fsa.go.jp/inter/fsf/20230405/20230405.html
|
作業計画 |
2023-04-05 17:00:00 |
金融 |
金融庁ホームページ |
バーゼル銀行監督委員会による市中協議文書「技術的改訂―各種の技術的改訂とよくある質問(FAQ)」について掲載しました。 |
https://www.fsa.go.jp/inter/bis/20230405/20230405.html
|
文書 |
2023-04-05 17:00:00 |
金融 |
金融庁ホームページ |
アクセスFSA第236号を発行しました。 |
https://www.fsa.go.jp/access/index.html
|
アクセス |
2023-04-05 16:00:00 |
ニュース |
BBC News - Home |
Barge to house 500 male migrants off Dorset coast, says government |
https://www.bbc.co.uk/news/uk-65193446?at_medium=RSS&at_campaign=KARANGA
|
groups |
2023-04-05 15:41:10 |
ニュース |
BBC News - Home |
Dover to stagger coaches to avoid Easter delays |
https://www.bbc.co.uk/news/business-65187441?at_medium=RSS&at_campaign=KARANGA
|
border |
2023-04-05 15:08:14 |
ニュース |
BBC News - Home |
Brazil kindergarten attack: Man kills four children in Blumenau |
https://www.bbc.co.uk/news/world-latin-america-65192957?at_medium=RSS&at_campaign=KARANGA
|
brazil |
2023-04-05 15:37:01 |
ニュース |
BBC News - Home |
KSI: YouTuber visits mosque after racial slur in Sidemen video |
https://www.bbc.co.uk/news/newsbeat-65187225?at_medium=RSS&at_campaign=KARANGA
|
media |
2023-04-05 15:03:00 |
Azure |
Azure の更新情報 |
Public Preview: Support for Azure VMs using Ultra disks in Azure Backup |
https://azure.microsoft.com/ja-jp/updates/ultra-disk-backup-support/
|
backup |
2023-04-05 16:00:03 |
コメント
コメントを投稿