AWS |
AWS |
Summit Technology Group: Building a Data Consumption Model for Multi-Tenant Applications |
https://www.youtube.com/watch?v=-ahWdCysMYw
|
Summit Technology Group Building a Data Consumption Model for Multi Tenant ApplicationsIn this episode Don describes how they built a multi tenant Loan Origination systems as a SaaS application using Amazon EKS and Amazon Aurora for databases As these are end customer loans isolation is done using PODS for tenants Single tenant accounts are created for customers using AWS Control Tower Account Factory for Terraform where a quicksight dashboard is provisioned Customers can not only view their data but also load their data from on premises or other locations using a secure VPN or AWS Direct Connect Check out more resources for architecting in the AWScloud AWS AmazonWebServices CloudComputing ThisIsMyArchitecture |
2023-05-08 16:30:56 |
AWS |
AWS |
How NatWest Bank Personalizes Customer Experience with AWS | Amazon Web Services |
https://www.youtube.com/watch?v=zFUGCibP5Ig
|
How NatWest Bank Personalizes Customer Experience with AWS Amazon Web ServicesZackary Anderson the Chief Data and Analytics Officer at NatWest Bank discusses how the bank leverages machine learning and data analytics to improve customer experiences leveraging AWS Subscribe More AWS videos More AWS events videos Do you have technical AWS questions Ask the community of experts on AWS re Post ABOUT AWSAmazon Web Services AWS is the world s most comprehensive and broadly adopted cloud platform offering over fully featured services from data centers globally Millions of customers ーincluding the fastest growing startups largest enterprises and leading government agencies ーare using AWS to lower costs become more agile and innovate faster DataandAnalytics Machinelearning FinancialServices AWS AmazonWebServices CloudComputing |
2023-05-08 16:21:53 |
AWS |
AWS |
Introducing Amazon SageMaker Canvas support for CV and NLP | Amazon Web Services |
https://www.youtube.com/watch?v=w6RdUE99xL0
|
Introducing Amazon SageMaker Canvas support for CV and NLP Amazon Web ServicesAmazon SageMaker Canvas expands access to machine learning ML by providing business analysts with a visual interface that allows them to generate accurate ML predictions on their ownーwithout requiring any ML experience or having to write a single line of code In this video you ll learn how you can use SageMaker Canvas to access ready to use models or create custom models for specific image or text classification use cases Learn more at Subscribe More AWS videos More AWS events videos Do you have technical AWS questions Ask the community of experts on AWS re Post ABOUT AWSAmazon Web Services AWS is the world s most comprehensive and broadly adopted cloud platform offering over fully featured services from data centers globally Millions of customers ーincluding the fastest growing startups largest enterprises and leading government agencies ーare using AWS to lower costs become more agile and innovate faster AWS AmazonWebServices CloudComputing |
2023-05-08 16:13:04 |
js |
JavaScriptタグが付けられた新着投稿 - Qiita |
もう電気を消し忘れません! |
https://qiita.com/Ichiros_malt/items/bff24b1c964e854be9ec
|
木漏れ日 |
2023-05-09 01:21:41 |
Docker |
dockerタグが付けられた新着投稿 - Qiita |
Docker 入門 |
https://qiita.com/TeihenEngineer/items/aad1b6dbc06da8174bbc
|
docker |
2023-05-09 01:08:22 |
海外TECH |
MakeUseOf |
Notion Free vs. Paid: Which Plan Is Right for You? |
https://www.makeuseof.com/notion-free-vs-paid/
|
premium |
2023-05-08 16:31:16 |
海外TECH |
MakeUseOf |
Your Phone Is Secretly Recording You: How to Stop Google From Listening |
https://www.makeuseof.com/tag/stop-google-android-listening/
|
google |
2023-05-08 16:31:16 |
海外TECH |
MakeUseOf |
How to Run Any Troubleshooter on Windows 10 and 11 |
https://www.makeuseof.com/run-troubleshooter-windows-10-11/
|
windows |
2023-05-08 16:15:16 |
海外TECH |
MakeUseOf |
The Soundboks Go Is the Most Portable Performance Speaker Available Right Now |
https://www.makeuseof.com/soundboks-go-portable-bluetooth-speaker-review/
|
bluetooth |
2023-05-08 16:15:16 |
海外TECH |
DEV Community |
Exploding Kittens Card Game - React, Nodejs and Redis |
https://dev.to/nabajits21/exploding-kittens-card-game-react-nodejs-and-redis-4ci8
|
Exploding Kittens Card Game React Nodejs and Redis IntroductionIf your familiar with Redis you might know it is primarily used as a caching database along with a few other use cases What this basically means is that a Redis database acts as a high speed data store that sits between the client and the main database providing fast data retrieval compared to other primary databases such as MySQL MongoDB etc This makes getting query results very fast Enough about what it is you can read up more about Redis from their docs What this article coversWhat this tutorial is about is How to build a Card game using React and Redux Toolkit on the frontend Nodejs on the backend and Redis as the primary database Now you might be thinking why use Redis as a primary database and for that question my friend I only have one answer On a more serious note Redis provides many modules such as RedisSearch RedisJson etc which allows us to extend the core Redis functionality thus allowing us to use it more like a primary database This article is part of a two part series in this part I ll go over the frontend implementation of the game So if you are only concerned about the backend implementation you can visit just the second blog Prerequisites ️React Basics Nodejs Basics Typescript Basics Let s get startedIf your familiar with game Exploding Kittens that s great but my version of the game is different So even if you re not familiar with the game it doesn t matter Here s how my version works This will be an online single player card game that consists of different types of cardsCat card Defuse card ️Shuffle card Exploding kitten card There will be a button to start the game When the game is started there will be a deck of cards ordered randomly Each time user clicks on the deck a card is revealed and that card is removed from the deck A player wins the game once he draws all cards from the deck and there is no card left to draw RulesIf the card drawn from the deck is a cat card then the card is removed from the deck If the card is exploding kitten bomb then the player loses the game If the card is a defusing card then the card is removed from the deck This card can be used to defuse one bomb that may come in subsequent cards drawn from the deck If the card is a shuffle card then the game is restarted and the deck is filled with cards again What our game offersOur game will allow a player to draw a random card from the deck once the game is started Allow users to create a username to enter the game and create a leaderboard to record how many games they won We will use Redis as a database to store the points of all the users and NodeJs using typescript for the backend One game won is equal to one point This is part of a part series this article will cover the frontend implementation of the game and the second part will cover the backend implementation using Redis as the primary database Here s the projects folder structure ├ーsrc│├ーcomponents │├ーNavbar jsx ├ーLogin jsx ├ーSignup jsx ├ーHighscore jsx │└ーcomponentStyle css ├ーredux └ーslices └ーuserSlice js ├ーApp jsx ├ーBoard jsx ├ーBoard css│└ーmain jsx├ーpackage json└ーpackage lock jsonThe project is setup using viteAfter initial setup runnpm run devto start the frontendBefore we begin I just want to state that there s a lot of room for optimization and removal of redundant code I just wanted to get through the frontend as soon as possible Let s BeginSo our main game logic lies inside Board jsxfunction Board const deck setDeck useState const initializeDeck gt const cards cardName Cat card cardTitle first title cardName Defuse card cardTitle second title cardName Shuffle card cardTitle third title cardName Exploding kitten card cardTitle forth title const tempDeck const getRandomInt min max gt return Math floor Math random max min min for let i i lt i tempDeck push cards getRandomInt cards length return tempDeck useEffect gt const tempDeck initializeDeck setDeck tempDeck return lt div gt Board lt div gt export default BoardWe create a state variable deck which will hold the cards for the game And we create the initializeDeck function which will fill the deck with random cards when the game starts We extract it out into a function because we will need to reuse it multiple times We then call the initializeDeck function inside useEffect and set the deck on initial render const diffuseCardCount setDiffuseCardCount useState const currentCard setCurrentCard useState null const cardIsShowing setCardIsShowing useState false const gameOver setGameOver useState false const gameWon setGameWon useState false const handleCardShow gt const tempDeck deck const currCard tempDeck tempDeck length setCurrentCard currCard setCardIsShowing true setTimeout gt if tempDeck length amp amp currCard cardName Shuffle card amp amp currCard cardName Exploding kitten card setGameWon true dispatch updateScore if currCard cardName Cat card remove card from deck tempDeck pop setDeck tempDeck else if currCard cardName Defuse card setDiffuseCardCount prev gt prev tempDeck pop setDeck tempDeck else if currCard cardName Shuffle card restartGame Restart Game else if currCard cardName Exploding kitten card exploding kitten card if diffuseCardCount gt if player has any diffuse cards setExplodeAction true Game over else setGameOver true setCurrentCard null set currentCard to null after secs setCardIsShowing false lt div className board gt lt div className container gt lt div className card cont gt deck amp amp deck map card ind gt lt div key ind className card card ind gt card ind lt div gt lt div gt currentCard amp amp lt div className card active card gt currentCard cardName lt div gt cardIsShowing amp amp lt button className show btn onClick handleCardShow gt show card lt button gt lt h gt Diffuse Cards Available diffuseCardCount lt h gt lt div gt lt div gt Then we introduce more state variables diffuseCardCount to keep track of total diffuse cards drawn ingame in order to counter the exploding kitten card And the other are what their names suggest Inside the component we map over the deck to display the cards display the current card on show card button press by running the handleCardShow function We display the card for secs before any action takes place const restartGame gt const tempDeck initializeDeck setDeck tempDeck setDiffuseCardCount dispatch fetchHighscore setGameOver false setGameWon false return lt gt lt Navbar gt gameWon lt div gt lt h gt You Won lt h gt lt button onClick restartGame gt Restart lt button gt lt div gt gameOver lt div gt lt h gt Game Over lt h gt lt button onClick restartGame gt Restart lt button gt lt div gt lt div className board gt lt div className container gt Same code as before lt div gt lt Highscore highscore highscore gt lt div gt lt gt Then if user wins set gameWon to true and if user losses set gameOver to true and display their respective div s On click restart button the restartGame function gets called thus reinitializing the deck and resetting all state variables to initial condition The Highscore component gets the top user high scores from the Redis database and displays it on the screen I won t go over the Redux code you can view it from the repo which I ll link below as it contains a very basic code there was no need to use Redux for this project I was just playing around and felt like using Redux Here s the link to the codebase code |
2023-05-08 16:08:04 |
海外TECH |
Engadget |
The Ayaneo Air Plus is the next would-be Steam Deck killer |
https://www.engadget.com/ayaneo-air-plus-mini-steam-deck-163047036.html?src=rss
|
The Ayaneo Air Plus is the next would be Steam Deck killerIf you ve been following the handheld PC craze of late you ll know it s a very kinetic category And with ASUS throwing its hat in the ring expect to see even more gaming handhelds trying to steal a bit of the Steam Deck s lunch Ayaneo a relatively unknown player just a couple of years ago has become one of the more prolific names in this space and its newest handheld the Air Plus is its latest effort to tempt folk over to the warm waters of portable PC gaming If the Air Plus looks familiar that s because it s the third iteration of Ayaneo s “Air series and it comes with a choice of either AMD or Intel chipsets The model we re looking at here has the Ryzen U processor meaning it s technically very similar to the Ayaneo we reviewed in Spring Why make two handhelds with very similar specs Because many people want the performance of the Ayaneo in a more portable formfactor While both are portable in the broadest sense of the word the Air Plus is a shade smaller than a Nintendo Switch albeit somewhat thicker unlike the Ayaneo which has a profile closer to the Steam Deck We should clarify right up top that this generation of Windows based gaming handhelds don t come cheap While the base GB Steam Deck costs the entry level Ayaneo Air Plus will set you back for early birds before it retails for That s a lot more money even if you chose the Steam Deck with the same internal storage GB that would still only cost That said a lot of people really don t like the size and weight of Valve s handheld and appreciate the extra flexibility and power most of these alternatives offer The success of Ayaneo s last Indiegogo campaign tells us there s an appetite for these devices regardless Photo by James Trew EngadgetWhile size is a key selling point here the Steam Deck is over inches wider and an inch taller perhaps more importantly Valve s handheld is over oz g heavier That extra heft does allow for more controls ーthere are no touchpads or rear buttons here That said the Ayaneo sneaks in a few clever controls along the top and on the lower edge for tasks like bringing up the onscreen keyboard or jumping out of Ayaspace to the desktop The Air Plus also sports two USB C ports which opens up the possibility to use peripherals at the same time as charging it The Air Plus isn t quite a straight processor upgrade from the Air Pro ーthere s also a larger battery Wh up from the Pro s Wh and the original Air s Wh along with a new inch p display There are also some other minor cosmetic tweaks that put the power button and headphone jack on the left and right respectively the inverse of the models before them The Plus is also about half an inch mm wider than the original Air and Air Pro which means if you had a case for one of those it won t fit the new model sorry The first time you turn on the Ayaneo Plus you ll go through a minor bit of Windows setup After that you ll be dumped into Ayaspace the company s launcher that is designed to make the experience feel a bit more like a console than a tiny PC It s worth pointing out that Ayaspace is functional but you ll regularly find yourself dealing with Windows Navigating it is easy enough with the left analog stick controlling the mouse aided by a physical shortcut button up top that brings up the on screen keyboard But it s also not the smoothest experience if you re coming over from something like the Steam Deck Photo by Aaron Souppouris EngadgetFor the most part compatibility with the Air Plus should be greater than that of Valve s rival just by virtue of it running vanilla Windows And as true as that is you can still find yourself hitting a few bugs and glitches When I installed Red Dead Redemption RDR nbsp I had to google around to find out how to enter full screen mode hint change the graphics API in advanced settings to DirectX When I tried to install Hotline Miami I was prompted to install the NET framework which is about as fun as it sounds and then it loaded in a window far too big for the display using Ayaspace s resolution picker and then alt tabbing out and back into the game fixed Quirks like this are definitely the exception not the rule but common enough that if you re looking for that dedicated gaming console experience know that it s not quite there yet You can disable Ayaspace if you wish and use something like Steam s Big Picture mode if that s where your games are You could also just launch things right from the desktop too But for all its shortcomings Ayaspace does have some handy features and is a decent experience most of the time Some industrious folks have even managed to get SteamOS running on Ayaneo devices but the compromises still don t make it an attractive alternative After all once you re in a game you soon forget about the OS behind it However you get there once launched everything look great on the inch IPS display It s a shame that it s not an OLED panel like the one on the Air Pro but the larger size more than makes up for it and it s nice and bright with a decent contrast ratio and color reproduction Side by side with the equally sized display on the Ayn Odin the two are pretty close but the Ayaneo is a little more vibrant Photo by James Trew EngadgetI ve been chipping away at Disco Elysium for too long now but having the chance to bring it with me on my travels with the Air Plus has exponentially increased my play time While it s not the most processor intensive game its unique art style looks fantastic here and it runs at a full fps atp using just W TDP thermal design power broadly speaking the setting that determines the amount of power you re willing to give to the CPU at the expense of battery life With these settings I was typically getting about three hours of play time per charge With something more intensive like RDR you ll have to jack the TDP up as it won t run smoothly at W With medium settings and even just TDP I was enjoying fps and about hours of battery life If I wanted Arthur s expeditions up into the snowy mountains to look extra slick or W TDP would make p and fps possible but with a severe hit on play time dropping down to about hours This can reach back up to hours if you sacrifice either fps or drop back down to p So yeah that s not a fantastic outlook for more demanding games on higher settings but with a few minor concessions you can still have a great experience one that will see you through a good chunk of a flight or kill a lazy afternoon without having to hangout near an outlet If you re into less demanding games like Persona Golden or certainly things like Hotline Miami Trine or Celeste you can likely get away with a lower TDP and flirt with around four hours of play time There s enough anecdotal evidence that the Steam Deck can often run games well at lower TDPs giving it longer play times for certain titles but either way these machines are all power hungry right now Photo by James Trew EngadgetFor the brave the Plus will go up to a maximum of W TDP which means it can run quite a lot of AAA titles at higher settings but you re going to want to do that while plugged in And arguably that defeats half the purpose of a portable device But if you want to bring your games with you when you travel rather than rely on WiFi for streaming or simply prefer to play on something like this even when at home on the couch which is me to be fair this is obviously less of an issue In fact right now one could argue that these handhelds are most attractive to those looking for a hybrid option that allows them to break free from the PC even if that is just to play in the lounge and take on the odd flight Regardless of your motives if you re excited by handheld gaming PCs then the Air Plus is a competent if decadent alternative to the Steam Deck that offers generally higher performance If Ayaneo can refine the software experience and at least going forward the price then this whole category could get a lot more interesting This article originally appeared on Engadget at |
2023-05-08 16:30:47 |
海外TECH |
Engadget |
Samsung's Galaxy Watch will soon be able to alert wearers to irregular heart rhythms |
https://www.engadget.com/samsungs-galaxy-watch-will-soon-be-able-to-alert-wearers-to-irregular-heart-rhythms-161545939.html?src=rss
|
Samsung x s Galaxy Watch will soon be able to alert wearers to irregular heart rhythmsSamsung has revealed that the US Food and Drug Administration has approved the Health Monitor app s irregular heart rhythm notification IHGN feature for Galaxy Watch devices The company says that along with the wearable s electrocardiogram ECG capabilities the feature can help to identify signs of atrial fibrillation AFib a type of arrhythmia AFib is widely believed to be an alarm bell for potentially major cardiovascular issues that can lead to increased risk of stroke heart failure and other complications In some cases those with AFib are asymptomatic nbsp The Galaxy Watch s BioActive Sensor will look for irregular heart rhythms in the background after the wearer activates the function in the Samsung Health Monitor app If the sensor picks up several irregular measurements consecutively the watch will alert the wearer to possible AFib activity The notification will suggest that the user takes an ECG reading for a more accurate measurement If the reading detects signs of AFib the watch will urge the wearer to consult their doctor Except for the original model every Apple Watch has offered an IHGN feature in certain markets since Samsung says that availability of its IHGN feature will depend on the market carrier model and the paired smartphone Samsung will include the IHGN feature in the One UI Watch update It will first be available on the next lineup of Galaxy Watch devices which will arrive later this year Owners of Galaxy Watch series and later models will have access to the feature at a later date One UI Watch will also introduce new sleep monitoring functions and a personalized heart rate zone feature for workouts This article originally appeared on Engadget at |
2023-05-08 16:15:45 |
海外TECH |
CodeProject Latest Articles |
Identifying Used and Unused Resources in a Visual Studio’s Project Resources.resx File |
https://www.codeproject.com/Articles/5360390/Identifying-Used-and-Unused-Resources-in-a-Visual
|
filehow |
2023-05-08 16:40:00 |
海外科学 |
NYT > Science |
Price to Plug Old Wells in Gulf of Mexico? $30 Billion, Study Says. |
https://www.nytimes.com/2023/05/08/climate/gulf-of-mexico-oil-wells-plug.html
|
Price to Plug Old Wells in Gulf of Mexico Billion Study Says There are roughly old unplugged wells in the gulf that are at risk of springing leaks or causing environmental damage researchers found |
2023-05-08 16:48:59 |
金融 |
金融庁ホームページ |
職員を募集しています。(金融モニタリング業務に従事する職員【公認会計士】) |
https://www.fsa.go.jp/common/recruit/r5/kantoku-03/kantoku-03.html
|
公認会計士 |
2023-05-08 17:00:00 |
金融 |
金融庁ホームページ |
鈴木財務大臣兼内閣府特命担当大臣閣議後記者会見の概要(令和5年4月28日)を掲載しました。 |
https://www.fsa.go.jp/common/conference/minister/2023a/20230428-1.html
|
内閣府特命担当大臣 |
2023-05-08 17:00:00 |
ニュース |
BBC News - Home |
Coronation: Met Police had every intention of arresting protesters - Republic leader |
https://www.bbc.co.uk/news/uk-65523439?at_medium=RSS&at_campaign=KARANGA
|
coronation |
2023-05-08 16:52:14 |
ニュース |
BBC News - Home |
Met Police shoot dead two dogs and Taser man in Poplar |
https://www.bbc.co.uk/news/uk-england-london-65523821?at_medium=RSS&at_campaign=KARANGA
|
london |
2023-05-08 16:07:10 |
ニュース |
BBC News - Home |
Sudan conflict: 'How I saved my red guitar from Khartoum war zone' |
https://www.bbc.co.uk/news/world-africa-65525006?at_medium=RSS&at_campaign=KARANGA
|
countries |
2023-05-08 16:00:55 |
ニュース |
BBC News - Home |
Fulham 5-3 Leicester City: Foxes remain in deep trouble after dismal first-half display |
https://www.bbc.co.uk/sport/football/65445806?at_medium=RSS&at_campaign=KARANGA
|
cottage |
2023-05-08 16:18:29 |
ニュース |
BBC News - Home |
Charles Leclerc says Ferrari 'struggling like crazy' with car |
https://www.bbc.co.uk/sport/formula1/65527601?at_medium=RSS&at_campaign=KARANGA
|
Charles Leclerc says Ferrari x struggling like crazy x with carFerrari driver Charles Leclerc says it is incredibly difficult to be on the limit with the team s car after a disappointing Miami GP |
2023-05-08 16:32:16 |
ニュース |
BBC News - Home |
Preston North End 0-3 Sunderland: Black Cats crush Preston at Deepdale to reach play-offs |
https://www.bbc.co.uk/sport/football/65445646?at_medium=RSS&at_campaign=KARANGA
|
Preston North End Sunderland Black Cats crush Preston at Deepdale to reach play offsSunderland sneak into the Championship play offs thanks to a crushing win over Preston and Millwall s stunning loss to Blackburn |
2023-05-08 16:37:57 |
ニュース |
BBC News - Home |
Millwall 3-4 Blackburn Rovers: Lions denied play-off spot by Rovers comeback |
https://www.bbc.co.uk/sport/football/65445638?at_medium=RSS&at_campaign=KARANGA
|
blackburn |
2023-05-08 16:43:37 |
コメント
コメントを投稿