ROBOT |
ロボスタ |
AI音声プラットフォーム「CoeFont」最高精度のAI音声モデルのβ版提供開始 「Businessプラン」2ヶ月間無料トライアルを実施 |
https://robotstart.info/2022/08/23/coefont-bp-free-cmp.html
|
|
2022-08-23 05:34:28 |
ROBOT |
ロボスタ |
毎時1,400枚のトレイを無人洗浄するロボットシステム「crewbo トレイ system」を展示開始 チトセロボティクス |
https://robotstart.info/2022/08/23/tray-washing-robot-system.html
|
|
2022-08-23 05:11:58 |
IT |
ITmedia 総合記事一覧 |
[ITmedia Mobile] povo2.0の「1GB/30日間」トッピングが期間限定で復活 9月12日まで購入可 |
https://www.itmedia.co.jp/mobile/articles/2208/23/news125.html
|
itmediamobilepovo |
2022-08-23 14:45:00 |
IT |
ITmedia 総合記事一覧 |
[ITmedia News] 「カーズ」ヒロイン「サリー・カレラ」モデルのポルシェ、360万ドル(約5億円)で落札 |
https://www.itmedia.co.jp/news/articles/2208/23/news123.html
|
itmedia |
2022-08-23 14:38:00 |
IT |
ITmedia 総合記事一覧 |
[ITmedia ビジネスオンライン] 横浜市、利用金額の20%を還元する「レシ活」 4億枚のレシートを買い取ってきたONEの狙い |
https://www.itmedia.co.jp/business/articles/2208/23/news090.html
|
itmedia |
2022-08-23 14:25:00 |
IT |
ITmedia 総合記事一覧 |
[ITmedia PC USER] セルシス、「CLIP STUDIO PAINT」現行バージョンの機能追加アップデートを2022年内で終了 次期バージョンを2023年前半に投入 |
https://www.itmedia.co.jp/pcuser/articles/2208/23/news122.html
|
clipstudiopaint |
2022-08-23 14:21:00 |
TECH |
Techable(テッカブル) |
健康管理アプリ「カロミル」、ユーザーの課題に沿った商品・サービスを提案する機能を追加 |
https://techable.jp/archives/184528
|
株式会社 |
2022-08-23 05:30:20 |
IT |
情報システムリーダーのためのIT情報専門サイト IT Leaders |
アズジェント、クラウド型のファイル無害化サービス「VOTIRO Secure File Gateway」を販売 | IT Leaders |
https://it.impress.co.jp/articles/-/23663
|
アズジェント、クラウド型のファイル無害化サービス「VOTIROSecureFileGateway」を販売ITLeadersアズジェントは年月日、クラウド型ファイル無害化サービス「VOTIROSecureFileGateway」を販売開始した。 |
2022-08-23 14:50:00 |
AWS |
AWS Japan Blog |
【開催報告】サーバーレス活用と効果の実際 – 事例セミナー |
https://aws.amazon.com/jp/blogs/news/serverless-customer-case-seminar-20220617/
|
開催 |
2022-08-23 05:23:36 |
AWS |
AWS - Webinar Channel |
Best Practices to migrate from Amazon RDS for Oracle to Aurora/RDS for PostgreSQL |
https://www.youtube.com/watch?v=L2X1uW7AyhI
|
postgresql |
2022-08-23 05:03:53 |
AWS |
AWS - Japan |
第二十回 ちょっぴりDD -サーバーレスきたる。Amazon EMR Serverless について語る |
https://www.youtube.com/watch?v=S02Bep2dMLc
|
AmazonEMRServerlessについて語る第回年月日ちょっぴりDDでは、データアナリティクス編ということで昨今多くのお客様でテーマとなっているデータの分析、活用について、より便利になったAWSのアナリティクス関連サービスの活用例をご紹介しました。 |
2022-08-23 05:30:47 |
AWS |
AWS - Japan |
第二十回 ちょっぴりDD -Amazon Athena であっちこっちのデータを一括分析しよう |
https://www.youtube.com/watch?v=_mGvfwRoWYQ
|
第二十回ちょっぴりDDAmazonAthenaであっちこっちのデータを一括分析しよう第回年月日ちょっぴりDDでは、データアナリティクス編ということで昨今多くのお客様でテーマとなっているデータの分析、活用について、より便利になったAWSのアナリティクス関連サービスの活用例をご紹介しました。 |
2022-08-23 05:29:14 |
AWS |
AWS - Japan |
第二十回 ちょっぴりDD - オープニング&SAの今月のお勧め 5 分間アップデート |
https://www.youtube.com/watch?v=qpXqX15boyE
|
第二十回ちょっぴりDDオープニングampSAの今月のお勧め分間アップデート第回年月日ちょっぴりDDでは、データアナリティクス編ということで昨今多くのお客様でテーマとなっているデータの分析、活用について、より便利になったAWSのアナリティクス関連サービスの活用例をご紹介しました。 |
2022-08-23 05:24:26 |
python |
Pythonタグが付けられた新着投稿 - Qiita |
機械学習で創造的なことに初挑戦 ~C-GAN × MNIST編1~ |
https://qiita.com/hilosophy/items/20c00319bad0efa477af
|
mnist |
2022-08-23 14:26:57 |
AWS |
AWSタグが付けられた新着投稿 - Qiita |
【AWS】【GCP】AWSとGCP間のキーなし認証を試みる(2) AWS→GCP |
https://qiita.com/hyj624117615/items/6cb58bd19a9c065137cf
|
認証 |
2022-08-23 14:17:38 |
GCP |
gcpタグが付けられた新着投稿 - Qiita |
【AWS】【GCP】AWSとGCP間のキーなし認証を試みる(2) AWS→GCP |
https://qiita.com/hyj624117615/items/6cb58bd19a9c065137cf
|
認証 |
2022-08-23 14:17:38 |
技術ブログ |
Developers.IO |
ReactのOSSを Amplify でホスティングしてみた – BMI Calculator編 |
https://dev.classmethod.jp/articles/amplify-oss-hosting-challenge-bmi-calculator/
|
amplify |
2022-08-23 05:14:15 |
海外TECH |
DEV Community |
React Aria - Improve accessibility of React components in refine app |
https://dev.to/refine/react-aria-improve-accessibility-of-react-components-in-refine-app-3kg0
|
React Aria Improve accessibility of React components in refine app IntroductionIn this tutorial we ll walk you through how to use React Aria to build a web application in a refine application You ll create components using React Aria and use them to build a demo application Steps we ll cover includes IntroductionWhat is React Aria What is refine Why use React Aria Bootstrapping a refine appCreating React componentsAdding Server side rendering What is React Aria React Aria is a library of React Hooks that provides accessible UI primitives for your design system It provides accessibility and behavior for many common UI components so you can focus on your unique design and styling It implements adaptive interactions to ensure the best experience possible for all users including support for mouse touch keyboard and screen readers What is refine refine is a a collection of helper hooks components and providers that helps you build React based CRUD apps like admin panels dashboards and internal tools It s a headless framwork and the core is fully independent of UI The core components and hooks can be use without any UI dependency Why use React Aria Here are some of the reasons you should consider using React Aria in your web application It is easily accessibleReact Aria offers complete screen reader and keyboard navigation support as well as accessibility and behavior that adhere to WAI ARIA Authoring Practices To offer the greatest experience for every user every component has been tested on a wide range of screen readers and devices It is adaptiveNo matter the UI React Aria maintains consistent functionality It enables interactions with the mouse touch keyboard and screen reader that have been tried on a range of browsers gadgets and platforms InternationalOver languages are supported by React Aria which also has right to left behavior and the internationalized date and number formatting among other features It is fully customizableNo rendering is implemented by React Aria nor is a DOM structure style approach or design specific information imposed It enables interactions behavior and accessibility while letting you concentrate on your design Bootstrapping a refine appNow let s go ahead and set up a refine project to create a component library using React Aria To do that run the command below npx superplate cli p refine react component libraryThe above command will prompt you to complete options for your project Your selection should look like the screenshot below Then wait while refine installs the required packages for this project Once that is done let s install React Aria React Aria published all components as a separate module for adoptable sake so you can choose to install the components independently or as all the package Eg npm install react aria button To save our time we ll install all the component which is packaged under the react aria scope with the command below yarn add react ariaNow change the directory to the project folder and run the application with the command below cd component library amp amp yarn dev Adding Tailwind CSSWe will use Tailwind CSS for the UI of the example app You can prefer any UI library or design system since it s not affecting the usability Install tailwindcss and its peer dependencies via npm and then run the init command to generate both tailwind config js and postcss config js npm i D tailwindcss postcss autoprefixernpx tailwindcss initAdd the paths to all of your template files in your tailwind config js file module exports content src js jsx ts tsx theme extend plugins Add the tailwind directives for each of Tailwind s layers to your src index css file src index css tailwind base tailwind components tailwind utilities Add css file import to src App tsx App tsx import index css Creating React componentsWe ll use the React hooks provided by Aria to create component libraries for our Refine application React Aria offers accessibility and behavior for React hooks You must define the DOM structure for your component and send the DOM props supplied by each React Aria hook to the proper elements because it does not provide any rendering Additionally it allows you total control over the DOM by enabling you to add additional components for styling or layout control such as CSS classes inline styles CSS in JS etc We ll explore some of them and how they work To get started create a component folder in the src folder of our React project to save the component libraries mkdir src components Create Button componentLet s start with the button component and we ll use the useButton hook The useButton hook takes care of several cross browser discrepancies in interactions and accessibility capabilities so you can focus on the styling Create a Button tsx in the component folder and add the code snippet below Button tsximport React ElementType RefObject from react import useButton from react aria button import AriaButtonProps from react aria export default function Button props AriaButtonProps lt ElementType gt any const ref RefObject lt any gt React useRef const buttonProps useButton props ref return lt button buttonProps ref ref className flex items center self end rounded lg bg indigo mb px py mt text center text sm font medium text white hover bg indigo sm w auto gt props children lt button gt In the above code snippet we imported the useButton hook and called it passing the props along with a ref to the DOM node for this component to get the buttonProp property Then we spread the props returned from the hook into the button element that we want to render passing the ref and the style props Create Input componentNext let s create the input component library using the useTextField hooks The useTextField hook offers a text field s behavior and accessibility implementation Create an Input tsx file in the component folder and add the code snippet below Input tsximport React RefObject from react import useTextField from react aria textfield import AriaTextFieldProps from react aria export default function Input props AriaTextFieldProps const ref RefObject lt any gt React useRef const inputProps className inputProps useTextField props ref return lt div className w full gt lt input inputProps ref ref className border border slate hover border sky focus border sky active border sky rounded md py px w full className gt lt div gt We called the useTextField passing the props along with a ref to the DOM node for this component to get the inputProps property Then we spread the props returned from the hook into the input element that we want to render passing the ref and the style props Create Header ComponentTo create a Header component we ll use the useHover hook This hook handles the pointer hover interactions for an element Create a Header tsx file in the component directory and add the code snippet below Header tsximport React ElementType from react import useHover from react aria interactions import AriaButtonProps from react aria export default function Header props AriaButtonProps lt ElementType gt any let hoverProps isHovered useHover return lt div hoverProps style background isHovered B DE color white padding cursor pointer display block tabIndex gt lt div style display flex justifyContent space between fontSize px gt props children lt div gt lt div gt We ll use the isHovered props to know when the mouse or pen goes over the element and we will change the background color of the elements in the header Then we spread the hoverProps into the div element that we want to render passing an initial tabIndex of Create Modal ComponentWe ll take advantage of the useDialog useOverlay usePreventScroll and useModal Create a Modal tsx file in the component folder and add the code snippet below Modal tsximport React ElementType RefObject PropsWithChildren from react import AriaButtonProps OverlayProvider from react aria import OverlayTriggerState from react stately overlays import useOverlay usePreventScroll useModal OverlayContainer from react aria overlays import useDialog from react aria dialog import FocusScope from react aria focus function ModalDialog props AriaButtonProps lt ElementType gt any const title children props const ref RefObject lt any gt React useRef const overlayProps underlayProps useOverlay props ref usePreventScroll const modalProps useModal const dialogProps titleProps useDialog props ref return lt div style position fixed zIndex top left bottom right background rgba display flex alignItems center justifyContent center underlayProps gt lt FocusScope contain restoreFocus autoFocus gt lt div overlayProps dialogProps modalProps ref ref className w full bg white text black p max w xl gt lt h titleProps className mt pb border b border slate border solid text xl mb font bold gt title lt h gt children lt div gt lt FocusScope gt lt div gt type ModalProps title string overlayState OverlayTriggerState export default function Modal props PropsWithChildren lt ModalProps gt const title overlayState close isOpen children props return lt OverlayProvider gt isOpen amp amp lt OverlayContainer gt lt ModalDialog title title isOpen onClose close isDismissable gt lt div style display flex justifyContent center alignItems center flexDirection column gt children lt div gt lt ModalDialog gt lt OverlayContainer gt lt OverlayProvider gt In the above code snippet we imported the Aria hooks we need for this component and we created a ModalDialog component to create a dialog for the modal In the ModalDialog we used the useOverlay hook which returns the overlayProps and underlayProps props to handle the user interactivity outside a dialog and to close the modal Then we used the useDialog hook which returns dialogProps and titleProps to get the props of the dialogue and its title Also we used the FocusScope component to specify the focus area to be controlled by the dialog Lastly we used the ModalDialog we created to create a dialog for the modal and pass in the required props Also we wrapped the application in an OverlayProvider hook so that it can be hidden from screen readers when a modal opens You can learn more about creating a modal from this link Using React Aria componentsNow let s use the components libraries to create a small application To do that we ll create a Layout tsx file in the components folder and add the code snippets below import useMenu useNavigation LayoutProps from pankod refine core export const Layout React FC lt LayoutProps gt children gt const menuItems useMenu const push useNavigation return lt div className App gt lt div className flex min h screen flex col gt lt div className mb border b py gt lt div className container mx auto gt lt div className flex items center gap gt lt img className w src alt Logo gt lt ul gt menuItems map name label icon route gt lt li key name className float left gt lt a className flex cursor pointer items center gap rounded sm px py capitalize decoration indigo decoration underline offset transition duration ease in out hover underline onClick gt push route gt icon lt span gt label name lt span gt lt a gt lt li gt lt ul gt lt div gt lt div gt lt div gt lt div className bg white gt children lt div gt lt div gt lt div gt We ll start connecting to our API by adding a resource to our application Creating a List pageFirstly we ll create a CategoryList page to show data from API in a table Now create a new folder named pages category under src Under that folder create a list tsx file with the following code pages category list tsximport React from react import useTable ColumnDef flexRender from pankod refine react table export const CategoryList React FC gt const columns React useMemo lt ColumnDef lt any gt gt gt id id header ID accessorKey id width id title header Title accessorKey title const getHeaderGroups getRowModel useTable lt any gt columns refineCoreProps permanentSorter field id order desc return lt div className container mx auto pb max w xl w full gt lt table className min w full table fixed divide y divide gray border gt lt thead className bg gray gt getHeaderGroups map headerGroup gt lt tr key headerGroup id gt headerGroup headers map header gt lt th key header id colSpan header colSpan className py px text left text xs font medium uppercase tracking wider text gray gt flexRender header column columnDef header header getContext lt th gt lt tr gt lt thead gt lt tbody className divide y divide gray bg white gt getRowModel rows map row gt return lt tr key row id className transition hover bg gray gt row getVisibleCells map cell gt return lt td key cell id className whitespace nowrap py px text sm font medium text gray gt flexRender cell column columnDef cell cell getContext lt td gt lt tr gt lt tbody gt lt table gt lt div gt Refer to official refine documentation for details about creating a list pageWe need to import and initialize the CategoryList pages to lt Refine gt component App tsximport Refine from pankod refine core import routerProvider from pankod refine react router v import dataProvider from pankod refine simple rest import Layout from components Layout import index css import CategoryList from pages category list function App return lt Refine routerProvider routerProvider dataProvider dataProvider resources name categories gt list CategoryList lt Layout children gt lt Layout gt children lt Layout gt gt export default App You should see the output below on the browser Creating a recordWe ll create a new lt CategoryCreate gt page responsible for creating a single record Until this point we were basically working with reading operations such as fetching and displaying data from resources Now we are going to start creating records by using pankod refine react hook form pages category createimport Controller useForm from pankod refine react hook form import HttpError from pankod refine core import useOverlayTriggerState from react stately overlays import Modal from components Modal import Input from components Input import Button from components Button export const CategoryCreate React FC gt const state useOverlayTriggerState const refineCore onFinish control handleSubmit formState errors useForm lt title string HttpError title string gt refineCoreProps onMutationSuccess gt state close return lt div className container gt lt div className w full flex justify end gt lt Button onPress state open gt Create lt Button gt lt div gt lt Modal overlayState state title Create a category gt lt form onSubmit handleSubmit onFinish className w full flex flex col gap gt lt Controller control control name title rules required field is required render field gt lt gt lt Input field type text placeholder Title gt errors title amp amp lt div className text red text xs mt font semibold gt errors title message lt div gt lt gt gt lt Button type submit gt Create lt Button gt lt form gt lt Modal gt lt div gt We also import CategoryCreate page to show create button and modal page when clicked pages category list import React from react import useTable ColumnDef flexRender from pankod refine react table highlight next lineimport CategoryCreate from create export const CategoryList React FC gt return highlight next line lt CategoryCreate gt Note resources is a property of lt Refine gt representing API Endpoints The name property of every single resource should match one of the endpoints in your API Now if you click the Create button you should see the form modal below By now we can add a new record to the category resource Adding Server side renderingSSR or server side rendering is the process of rendering components to HTML on the server as opposed to only on the client A comparable strategy is static rendering except instead of pre rendering pages to HTML on each request but rather at build time To make components using React Aria work with SSR you will need to wrap your application in an SSRProvider This signals to all nested React Aria hooks that they are being rendered in an SSR context Update the index tsx file with the code snippet below import SSRProvider from react aria lt SSRProvider gt lt App gt lt SSRProvider gt ConclusionThroughout this tutorial we ve implemented how to create a component library in React using React Aria We started by understanding what React Aria is and why you should consider using it for creating component libraries Then we created some component libraries using React Aria and used it to build a signup form You can learn more about React Aria from the official docs Writer Ekekenta Clinton Live StackBlitz Example Build your React based CRUD applications without constraintsLow code React frameworks are great for gaining development speed but they often fall short of flexibility if you need extensive styling and customization for your project Check out refine if you are interested in a headless framework you can use with any custom design or UI Kit for control over styling refine is an open source React based framework for building CRUD applications without constraints It can speed up your development time up to X without compromising freedom on styling customization and project workflow refine is headless by design and it connects backend services out of the box including custom REST and GraphQL API s Visit refine GitHub repository for more information demos tutorials and example projects |
2022-08-23 05:22:00 |
医療系 |
医療介護 CBnews |
【感染症情報】手足口病が減少に転じる-感染性胃腸炎は8週連続で減少 |
https://www.cbnews.jp/news/entry/20220823135209
|
医療機関 |
2022-08-23 14:05:00 |
金融 |
ニッセイ基礎研究所 |
老後のための2,000万円をどうやって確保するか―目標金額の2,000万円を超えたら、何をすべきか |
https://www.nli-research.co.jp/topics_detail1/id=72144?site=nli
|
目次はじめにー年間の積立投資で、万円を達成できる割合がどれぐらいかー年後は目標未達でも投資期間中に一度でも目標達成するケースを確認するーどのようにすれば万円を確保できたのか具体的な改善方法とは何か毎月万円の場合の最終的な時価残高毎月万円の場合の最終的な時価残高投資期間中に万円を超えた時に考えるべきことーまとめ年の夏に金融庁によって公表された報告書で、公的年金のほかに、老後の年で約万円、年で約万円が必要という試算が示されたように、ほとんどの人は老後に備えて一定金額以上の資産を形成する必要がある。 |
2022-08-23 15:00:24 |
海外ニュース |
Japan Times latest articles |
Japanese developer bringing bright ideas to ‘smart homes’ in the U.S. |
https://www.japantimes.co.jp/news/2022/08/23/business/corporate-business/developer-smart-homes/
|
Japanese developer bringing bright ideas to smart homes in the U S Homma Group homes automatically turn lights on and off and adjust brightness and tones blending into the daily lives of inhabitants depending on the time |
2022-08-23 14:17:51 |
ニュース |
BBC News - Home |
Liverpool shooting: Girl, 9, shot dead and two injured |
https://www.bbc.co.uk/news/uk-england-merseyside-62642060?at_medium=RSS&at_campaign=KARANGA
|
liverpool |
2022-08-23 05:19:59 |
ニュース |
BBC News - Home |
Edinburgh Festival Fireworks display will not take place this year |
https://www.bbc.co.uk/news/uk-scotland-edinburgh-east-fife-62637318?at_medium=RSS&at_campaign=KARANGA
|
festival |
2022-08-23 05:24:47 |
ニュース |
BBC News - Home |
Ben Stokes: England Test captain feared he may never play again during mental health struggles |
https://www.bbc.co.uk/sport/cricket/62608060?at_medium=RSS&at_campaign=KARANGA
|
Ben Stokes England Test captain feared he may never play again during mental health strugglesEngland Test captain Ben Stokes says he feared he may not play again during his mental health break from the sport |
2022-08-23 05:40:10 |
ニュース |
BBC News - Home |
Ben Stokes: England Test captain on his break from cricket to prioritise mental health |
https://www.bbc.co.uk/sport/av/cricket/62633483?at_medium=RSS&at_campaign=KARANGA
|
Ben Stokes England Test captain on his break from cricket to prioritise mental healthEngland Test captain Ben Stokes talks to BBC Breakfast about taking a mental health break from cricket having spent five months away from it in to prioritise his mental wellbeing |
2022-08-23 05:40:07 |
北海道 |
北海道新聞 |
浅野忠信さんが結婚 モデルの中田クルミさんと |
https://www.hokkaido-np.co.jp/article/720984/
|
中田クルミ |
2022-08-23 14:16:00 |
北海道 |
北海道新聞 |
コロナ給付金詐欺認める 無職女、東京地裁で初公判 |
https://www.hokkaido-np.co.jp/article/720966/
|
新型コロナウイルス |
2022-08-23 14:14:03 |
北海道 |
北海道新聞 |
障害者にバス降車急がす 運転手、「手帳偽物」と発言 |
https://www.hokkaido-np.co.jp/article/720967/
|
男性運転手 |
2022-08-23 14:12:05 |
ビジネス |
東洋経済オンライン |
ライフハックで効率上げるとますます忙しくなる 「すべてをこなそう」という誘惑に打ち勝つ | リーダーシップ・教養・資格・スキル | 東洋経済オンライン |
https://toyokeizai.net/articles/-/611473?utm_source=rss&utm_medium=http&utm_campaign=link_back
|
東洋経済オンライン |
2022-08-23 15:00:00 |
マーケティング |
MarkeZine |
SMBC、家族のお金・健康を見守る「ファミリーネットワークサービス」をリリース |
http://markezine.jp/article/detail/39783
|
家族 |
2022-08-23 14:30:00 |
マーケティング |
MarkeZine |
デサントジャパンの運用事例から学ぶ、SEO戦略と課題設定【参加無料】 |
http://markezine.jp/article/detail/39755
|
参加無料 |
2022-08-23 14:15:00 |
仮想通貨 |
BITPRESS(ビットプレス) |
コインチェック、2022/9/1より「Polkadot(DOT)」取扱開始 |
https://bitpress.jp/count2/3_10_13343
|
polkadot |
2022-08-23 14:26:46 |
仮想通貨 |
BITPRESS(ビットプレス) |
bitFlyer、IEO事業に参入しナナメウエとIEO実施に向けた契約を締結 |
https://bitpress.jp/count2/3_11_13342
|
bitflyer |
2022-08-23 14:22:11 |
IT |
週刊アスキー |
「PlayStation VR2」の発売時期が2023年初頭に決定!視線トラッキングも備えた次世代VRヘッドセット |
https://weekly.ascii.jp/elem/000/004/102/4102593/
|
playstation |
2022-08-23 14:30:00 |
IT |
週刊アスキー |
レシート登録で最大20%還元! 横浜市内で2つの「レシ活」8月26日からスタート |
https://weekly.ascii.jp/elem/000/004/102/4102562/
|
横浜市内 |
2022-08-23 14:15:00 |
コメント
コメントを投稿