IT |
ITmedia 総合記事一覧 |
[ITmedia Mobile] Google初の折りたたみ「Pixel Fold」の動画公開 5月10日発表へ |
https://www.itmedia.co.jp/mobile/articles/2305/05/news038.html
|
google |
2023-05-05 06:24:00 |
AWS |
AWS Big Data Blog |
Single sign-on with Amazon Redshift Serverless with Okta using Amazon Redshift Query Editor v2 and third-party SQL clients |
https://aws.amazon.com/blogs/big-data/single-sign-on-with-amazon-redshift-serverless-with-okta-using-amazon-redshift-query-editor-v2-and-third-party-sql-clients/
|
Single sign on with Amazon Redshift Serverless with Okta using Amazon Redshift Query Editor v and third party SQL clientsAmazon Redshift Serverless makes it easy to run and scale analytics in seconds without the need to set up and manage data warehouse clusters With Redshift Serverless users such as data analysts developers business professionals and data scientists can get insights from data by simply loading and querying data in the data warehouse Customers use … |
2023-05-04 21:13:48 |
AWS |
AWS Database Blog |
Use Amazon Aurora Global Database to set up disaster recovery within India |
https://aws.amazon.com/blogs/database/use-amazon-aurora-global-database-to-set-up-disaster-recovery-within-india/
|
Use Amazon Aurora Global Database to set up disaster recovery within IndiaDisaster recovery DR ensures that businesses can continue to operate in the event of an unexpected disruption such as a natural disaster power outage or cyberattack Maintaining resilience is key to operational success for your business and disaster recovery planning plays a vital role in that Many regulators across multiple industries are mandating disaster recovery … |
2023-05-04 21:11:38 |
AWS |
AWS |
How do I set up ExternalDNS with Amazon EKS? |
https://www.youtube.com/watch?v=lEJ2LtC9IQU
|
How do I set up ExternalDNS with Amazon EKS Skip directly to the demo For more details on this topic see the Knowledge Center article associated with this video Mourya shows you how to set up ExternalDNS with Amazon EKS Introduction Chapter Chapter ClosingSubscribe 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-04 21:26:51 |
AWS |
AWS |
How do I change the time zone of my Amazon RDS DB instance? |
https://www.youtube.com/watch?v=W0zPAb_Pg3g
|
How do I change the time zone of my Amazon RDS DB instance For more details on this topic see the Knowledge Center article associated with this video Kameron shows you how to change the time zone of your Amazon RDS DB instance Introduction Chapter Chapter Chapter ClosingSubscribe 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-04 21:26:11 |
海外TECH |
DEV Community |
Want to be able to drag files into a web app? Got ya covered. |
https://dev.to/krofdrakula/want-to-be-able-to-drag-files-into-a-web-app-got-ya-covered-jh3
|
Want to be able to drag files into a web app Got ya covered It s We all know how annoying it is when a web app wants us to provide a file but makes it cumbersome by only letting you do that by clicking on Ye Olde lt input type file gt All modern browsers have supported a much better way to do that for a while now and this library makes it a snap to use them in any environment vanilla or framework The SetupInstall krofdrakula drop in your dependencies or use krofdrakula drop as your module import Create some HTML in your page lt div id drop target style padding px border px solid blue gt Drop files here lt div gt In your JS grab that element and pass it to the create function import create from krofdrakula drop const dropTarget document body getElementById drop target create dropTarget onDrop files gt console log files Open the page in a browser open dev tools and drag a file into the element you created In React like ComponentsThe create function returns a cleanup function that can be used in conjuction with useRef and useEffect to correctly set it up import useRef useEffect from react import create from krofdrakula drop const MyComponent onDrop gt const dropTarget useRef useEffect gt you must return the returned function for it to be able to clean up event handlers return create dropTarget current onDrop dropTarget current onDrop return lt div ref dropTarget gt Drop files here lt div gt Handy Featurescreate takes a number of options that let you configure the behaviour of the control it exposes various event handlers that let you control the element when the pointer hovers over it when dragging files or without it lets you specify parser functions that allow you to convert files dropped onto the element before passing them to the onDrop handler it uses the native file picker when clicking on the element by default Check out the demo site to see it in action or read the README for the full Monty All of this in a package that fits any application s download limits DevelopmentThis package currently does everything I needed it to for the cases I knew it should handle If you decide to try this out and hit a problem let me know |
2023-05-04 21:36:58 |
海外TECH |
DEV Community |
How to validate ship address in the USA using ReactJS |
https://dev.to/tgmarinhodev/how-to-validate-ship-address-in-the-usa-using-reactjs-2g5g
|
How to validate ship address in the USA using ReactJSTo validate a shipping address in the USA using React and the Google Maps Geocoding API follow these steps Sign up for a Google Maps API key Install the googlemaps google maps services js package yarn add googlemaps google maps services jsCreate a new React component for your address validation form AddressValidationForm jsimport React useState from react import Client from googlemaps google maps services js const AddressValidationForm gt const address setAddress useState const validationMessage setValidationMessage useState const validateAddress async gt const client new Client try const response await client geocode params address address components country US key YOUR API KEY if response data status OK const formattedAddress response data results formatted address setValidationMessage Valid address formattedAddress else setValidationMessage Invalid address catch error console error error setValidationMessage Error occurred while validating the address return lt div gt lt input type text placeholder Enter address value address onChange e gt setAddress e target value gt lt button onClick validateAddress gt Validate Address lt button gt lt p gt validationMessage lt p gt lt div gt export default AddressValidationForm Replace YOUR API KEY with the API key you got from Google Cloud Platform Import the AddressValidationForm component in your main React component and include it in your JSX import React from react import AddressValidationForm from AddressValidationForm const App gt return lt div gt lt h gt Address Validation lt h gt lt AddressValidationForm gt lt div gt export default App Now your React application has a simple form that validates a shipping address in the USA using the Google Maps Geocoding API If you want to use React React Hook Form Zod Install the required packages yarn add zod react hook formCreate a new Zod schema for the address validation validation jsimport z from zod const AddressValidationSchema z object street z string nonempty Street is required city z string nonempty City is required state z string nonempty State is required zip z string nonempty Zip code is required regex d d Zip code is invalid export default AddressValidationSchema Create a new React component for your address validation form AddressValidationForm jsimport React from react import useForm from react hook form import zodResolver from hookform resolvers zod import AddressValidationSchema from validation const AddressValidationForm gt const register handleSubmit formState errors useForm resolver zodResolver AddressValidationSchema const onSubmit data gt Perform address validation or submit data console log data return lt form onSubmit handleSubmit onSubmit gt lt div gt lt label htmlFor street gt Street lt label gt lt input id street type text register street gt errors street amp amp lt p gt errors street message lt p gt lt div gt lt div gt lt label htmlFor city gt City lt label gt lt input id city type text register city gt errors city amp amp lt p gt errors city message lt p gt lt div gt lt div gt lt label htmlFor state gt State lt label gt lt input id state type text register state gt errors state amp amp lt p gt errors state message lt p gt lt div gt lt div gt lt label htmlFor zip gt Zip lt label gt lt input id zip type text register zip gt errors zip amp amp lt p gt errors zip message lt p gt lt div gt lt button type submit gt Validate Address lt button gt lt form gt export default AddressValidationForm Import the AddressValidationForm component in your main React component and include it in your JSX import React from react import AddressValidationForm from AddressValidationForm const App gt return lt div gt lt h gt Address Validation lt h gt lt AddressValidationForm gt lt div gt export default App Now your React application has a form that validates the user s input for the shipping address using Zod schema and react hook form Keep in mind that using the Google Maps API might incur costs depending on your usage There are also other APIs available that you can use to validate shipping addresses such as the USPS Web Tools API SmartyStreets or EasyPost Make sure to review their respective documentation and pricing to find the best fit for your needs Think about GDPL too Article generated by ChatGPT OpenAI reviewed by me |
2023-05-04 21:13:44 |
Apple |
AppleInsider - Frontpage News |
Apple inching closer to one billion paid subscriptions |
https://appleinsider.com/articles/23/05/04/apple-inching-closer-to-one-billion-paid-subscriptions?utm_medium=rss
|
Apple inching closer to one billion paid subscriptionsApple CEO Tim Cook gave encouraging results for its Services business saying the company is nearing one billion paid subscriptions nearly double from three years ago Apple nears a billion paid subscriptionsDuring Apple s conference call to discuss its recent financial results for the second quarter Cook briefly mentions how the company is faring with subscriptions ーevery subscription made via the App Store and other services as a revenue stream Read more |
2023-05-04 21:34:26 |
Apple |
AppleInsider - Frontpage News |
Apple extends share buybacks by another $90 billion |
https://appleinsider.com/articles/23/05/04/apple-extends-share-buybacks-by-another-90b?utm_medium=rss
|
Apple extends share buybacks by another billionOne year after introducing a billion stock buyback program Apple has launched another to recover an extra billion of common stock Apple logo on a buildingAnnounced as part of Apple s financial results for the second quarter of Apple is preparing to perform more buybacks of its shares In a new program the board of directors has authorized the repurchase of up to billion of Apple s common stock Read more |
2023-05-04 21:16:14 |
Apple |
AppleInsider - Frontpage News |
Supply chain issue fixes, plus India expansion led to Apple's excellent quarter, says Tim Cook |
https://appleinsider.com/articles/23/05/04/supply-chain-issue-fixes-plus-india-expansion-led-to-apples-excellent-quarter-says-tim-cook?utm_medium=rss
|
Supply chain issue fixes plus India expansion led to Apple x s excellent quarter says Tim CookApple CEO Tim Cook said the company beat Wall Street s sales and revenue expectations in the second fiscal quarter boosted by higher than anticipated iPhone sales helped by Indian customers switching over from Android The iPhone led sales for Apple in the second quarterThe company has not provided formal guidance which has been its practice since during the onset of the Covid pandemic But Apple executives ーper tradition ーwill discuss the company s financial results in a call with analysts on Thursday Read more |
2023-05-04 21:04:21 |
海外TECH |
Engadget |
8Bitdo launches a $30 version of its Ultimate controller |
https://www.engadget.com/8bitdo-launches-a-30-version-of-its-ultimate-controller-214509427.html?src=rss
|
Bitdo launches a version of its Ultimate controllerGamepad maker Bitdo unveiled a cheaper version of its beloved Ultimate Controller today The new Ultimate C G Wireless Controller is a wireless accessory in purple or green color options It s compatible with Windows Android Steam Deck and Raspberry Pi As its name suggests the new gamepad connects wirelessly using an included GHz USB dongle Bitdo describes it as a “simplified version of the popular Ultimate series of controllers while “offering the same ultimate quality As for what “simplified means the company appears to have helped scale back production costs by skipping the charging dock using cable charging instead and the profile toggling switch from the more expensive variants It also doesn t support the company s Ultimate Software for customizations BitDo says the gamepad can last up to hours of playtime and recharge fully in two hours In addition it supports asymmetrical rumble although vibration feedback only works on Windows The controller also works in wired mode and is plug and play on PC The company expanded into modern console style controllers last year after making its bones on nostalgic gamepads mimicking classic NES and SNES inputs The Ultimate line s design is much closer to today s Xbox controllers including asymmetric stick layouts The more expensive GHz version is still available for while the Bluetooth variant costs You can pre order the new model from Amazon ahead of its scheduled May st release date This article originally appeared on Engadget at |
2023-05-04 21:45:09 |
海外TECH |
Engadget |
Vice President Harris tells tech CEOs they have a moral responsibility to safeguard AI |
https://www.engadget.com/vice-president-harris-tells-tech-ceos-they-have-a-moral-responsibility-to-safeguard-ai-211049047.html?src=rss
|
Vice President Harris tells tech CEOs they have a moral responsibility to safeguard AIThe Biden administration may be funding AI research but it s also hoping to keep companies accountable for their behavior Vice President Kamala Harris has met the CEOs of Alphabet Google s parent Microsoft OpenAI and Anthropic in a bid to get more safeguards for AI Private firms have an quot ethical moral and legal responsibility quot to make their AI products safe and secure Harris says in a statement She adds that they still have to honor current laws The Vice President casts generative AI technologies like Bard Bing Chat and ChatGPT as having the potential to both help and harm the country It can address some of the quot biggest challenges quot but it can also be used to violate rights create distrust and weaken quot faith in democracy quot according to Harris She pointed to investigations into Russian interference during the presidential election as evidence that hostile nations will use tech to undercut democratic processes Finer details of the discussions aren t available as of this writing However Bloombergclaims invitations to the meeting outlined discussions of the risks of AI development efforts to limit those risks and other ways the government could cooperate with the private sector to safely embrace AI Generative AI has been helpful for detailed search answers producing art and even writing messages for job hunters Accuracy remains a problem however and there are concerns about cheating copyright violations and job automation IBM said this week it would pause hiring for roles that could eventually be replaced with AI There s been enough worry about AI s dangers that industry leaders and experts have called for a six month pause on experiments to address ethical issues Biden s officials aren t waiting for companies to act The National Telecommunications and Information Administration is asking for public comments on possible rules for AI development Even so the Harris meeting sends a not so subtle message that AI creators face a crackdown if they don t act responsibly This article originally appeared on Engadget at |
2023-05-04 21:10:49 |
海外TECH |
Engadget |
Strong iPhone sales aren't enough to offset a big downturn in Mac shipments |
https://www.engadget.com/strong-iphone-sales-arent-enough-to-offset-a-big-downturn-in-mac-shipments-210358753.html?src=rss
|
Strong iPhone sales aren x t enough to offset a big downturn in Mac shipmentsApple had its second bad quarter in a row Bad of course is a relative term ーthe company s revenues declined again but Apple is still making a positively massive amount of money Specifically the iPhone and Services categories both of which have been Apple s biggest money makers for years now saw revenue gains year over year But this wasn t enough to offset declines everywhere else the Mac iPad and Wearables Home Accessories divisions all shrank compared to this time a year ago As such Apple s overall revenue dropped a modest three percent year over year to billion while net income of billion was down less than one percentage point Like I said not exactly a bad quarter but given that the company s sales and profits almost always are up it s worth noting when they aren t The strong iPhone sales up two percent to billion marked a record the March ending quarter despite the fact that the iPhone and Pro arrived last September And Apple s services business which has been growing steadily over the past five years to surpass all other products the company offers besides the iPhone of course hit another record with billion in revenue up five percent year over year nbsp Mac sales plummeted from billion a year ago to only billion this quarter past down percent overall That s less than IDC predicted a month ago when it said Mac sales dropped by percent but the general forecast of hugely diminished interest still rings true iPad sales weren t hit as hard but still dropped percent to billion for the quarter despite major updates to the product lineup last fall On a call with investors CEO Tim Cook mentioned that both the iPad and Mac categories faced difficult comparisons with their quarters a year ago because sales were so strong then thanks to product refreshes nbsp Finally the wearables home category which encompasses products like AirPods the Apple Watch and the HomePod lineup dipped less than one percent so there aren t any significant red flags around that nbsp Apple CEO Tim Cook is kicking off the usual call with investors at PM ET and we ll update this story with anything we learn nbsp This article originally appeared on Engadget at |
2023-05-04 21:03:58 |
海外科学 |
NYT > Science |
The Anhinga or ‘Devil Bird’ Lands in New York, With More to Come |
https://www.nytimes.com/2023/05/04/science/anhinga-brooklyn-devil-bird.html
|
The Anhinga or Devil Bird Lands in New York With More to ComeAnhingas water birds with snakelike necks have turned up in Prospect Park in Brooklyn and far upstate a sign of shifting ranges for birds from the South |
2023-05-04 21:58:24 |
金融 |
ニュース - 保険市場TIMES |
損保ジャパン、東京理科大学発ベンチャー「サイエンス構造」と共同研究開始 |
https://www.hokende.com/news/blog/entry/2023/05/05/070000
|
損保ジャパン、東京理科大学発ベンチャー「サイエンス構造」と共同研究開始「地震倒壊危険度診断アプリ」開発に向けて損害保険ジャパン株式会社以下、損保ジャパンは、災害に強い街づくりに貢献するため、株式会社サイエンス構造と「地震倒壊危険度診断アプリ」の開発に向けた共同研究を開始したと年月日に発表した。 |
2023-05-05 07:00:00 |
ニュース |
BBC News - Home |
Local elections 2023: Polls close across England |
https://www.bbc.co.uk/news/uk-politics-65485099?at_medium=RSS&at_campaign=KARANGA
|
local |
2023-05-04 21:53:14 |
ニュース |
BBC News - Home |
Ukraine shoots down own drone over central Kyiv |
https://www.bbc.co.uk/news/world-europe-65489566?at_medium=RSS&at_campaign=KARANGA
|
circumstances |
2023-05-04 21:22:15 |
ニュース |
BBC News - Home |
Donald Trump mistook rape accuser E Jean Carroll for ex-wife, trial told |
https://www.bbc.co.uk/news/world-us-canada-65486437?at_medium=RSS&at_campaign=KARANGA
|
maples |
2023-05-04 21:38:41 |
ニュース |
BBC News - Home |
Udinese 1-1 Napoli: Southern Italian team wins Serie A title for first time in 33 years |
https://www.bbc.co.uk/sport/football/65488842?at_medium=RSS&at_campaign=KARANGA
|
Udinese Napoli Southern Italian team wins Serie A title for first time in yearsNapoli win their first Serie A title for years as they draw with Udinese at Dacia Arena to spark jubilant celebrations back in Naples |
2023-05-04 21:29:35 |
ニュース |
BBC News - Home |
Four Proud Boys guilty in major US Capitol riot case |
https://www.bbc.co.uk/news/world-us-canada-65307770?at_medium=RSS&at_campaign=KARANGA
|
capitol |
2023-05-04 21:21:18 |
ニュース |
BBC News - Home |
Brighton 1-0 Manchester United: Alexis Mac Allister scores 99th-minute penalty to win it |
https://www.bbc.co.uk/sport/football/64929888?at_medium=RSS&at_campaign=KARANGA
|
Brighton Manchester United Alexis Mac Allister scores th minute penalty to win itBrighton snatched a dramatic win over Champions League chasing Manchester United courtesy of a th minute penalty by Alexis Mac Allister |
2023-05-04 21:35:15 |
ニュース |
BBC News - Home |
Huddersfield Town 1-0 Sheffield United: Danny Ward goal keeps Terriers up & sends Reading down |
https://www.bbc.co.uk/sport/football/65407896?at_medium=RSS&at_campaign=KARANGA
|
Huddersfield Town Sheffield United Danny Ward goal keeps Terriers up amp sends Reading downHuddersfield Town beat promoted Sheffield United to secure their Championship status and relegate Reading in the process |
2023-05-04 21:51:59 |
ニュース |
BBC News - Home |
Super League: Hull FC 14-10 Wigan Warriors: Hosts hold on to upset leaders |
https://www.bbc.co.uk/sport/rugby-league/65467719?at_medium=RSS&at_campaign=KARANGA
|
warriors |
2023-05-04 21:35:30 |
コメント
コメントを投稿