AWS |
AWS Big Data Blog |
Configure cross-Region table access with the AWS Glue Catalog and AWS Lake Formation |
https://aws.amazon.com/blogs/big-data/configure-cross-region-table-access-with-the-aws-glue-catalog-and-aws-lake-formation/
|
Configure cross Region table access with the AWS Glue Catalog and AWS Lake FormationToday s modern data lakes span multiple accounts AWS Regions and lines of business in organizations Companies also have employees and do business across multiple geographic regions and even around the world It s important that their data solution gives them the ability to share and access data securely and safely across Regions The AWS Glue Data … |
2023-08-03 14:55:55 |
AWS |
AWS Big Data Blog |
Create an Apache Hudi-based near-real-time transactional data lake using AWS DMS, Amazon Kinesis, AWS Glue streaming ETL, and data visualization using Amazon QuickSight |
https://aws.amazon.com/blogs/big-data/create-an-apache-hudi-based-near-real-time-transactional-data-lake-using-aws-dms-amazon-kinesis-aws-glue-streaming-etl-and-data-visualization-using-amazon-quicksight/
|
Create an Apache Hudi based near real time transactional data lake using AWS DMS Amazon Kinesis AWS Glue streaming ETL and data visualization using Amazon QuickSightWe recently announced support for streaming extract transform and load ETL jobs in AWS Glue version a new version of AWS Glue that accelerates data integration workloads in AWS AWS Glue streaming ETL jobs continuously consume data from streaming sources clean and transform the data in flight and make it available for analysis in seconds AWS also offers a broad selection of services to support your needs A database replication service such as AWS Database Migration Service AWS DMS can replicate the data from your source systems to Amazon Simple Storage Service Amazon S which commonly hosts the storage layer of the data lake This post demonstrates how to apply CDC changes from Amazon Relational Database Service Amazon RDS or other relational databases to an S data lake with flexibility to denormalize transform and enrich the data in near real time |
2023-08-03 14:46:38 |
AWS |
AWS Machine Learning Blog |
Build and train computer vision models to detect car positions in images using Amazon SageMaker and Amazon Rekognition |
https://aws.amazon.com/blogs/machine-learning/build-and-train-computer-vision-models-to-detect-car-positions-in-images-using-amazon-sagemaker-and-amazon-rekognition/
|
Build and train computer vision models to detect car positions in images using Amazon SageMaker and Amazon RekognitionComputer vision CV is one of the most common applications of machine learning ML and deep learning Use cases range from self driving cars content moderation on social media platforms cancer detection and automated defect detection Amazon Rekognition is a fully managed service that can perform CV tasks like object detection video segment detection content moderation … |
2023-08-03 14:53:06 |
python |
Pythonタグが付けられた新着投稿 - Qiita |
【Python】PythonのClassについて復習 |
https://qiita.com/oriefield/items/29e68ba889778e2058bf
|
class |
2023-08-03 23:30:16 |
海外TECH |
MakeUseOf |
4 Apps for Healthy Summer Dishes That Are Best Served Cold |
https://www.makeuseof.com/apps-healthy-summer-dishes-served-cold/
|
mobile |
2023-08-03 14:45:24 |
海外TECH |
MakeUseOf |
An Introduction to Pinia in Vue.js |
https://www.makeuseof.com/pinia-vuejs-introduction/
|
javascript |
2023-08-03 14:31:22 |
海外TECH |
MakeUseOf |
How to Fix the “There Are No More Files” Error on Windows 10 & 11 |
https://www.makeuseof.com/there-are-no-more-files-error-windows/
|
quick |
2023-08-03 14:16:25 |
海外TECH |
MakeUseOf |
The 10 Best Android Apps to Track the Movies and Shows You've Watched |
https://www.makeuseof.com/android-apps-track-movies-watched/
|
The Best Android Apps to Track the Movies and Shows You x ve WatchedIf you want to keep track of all the movies and TV shows you ve seen in your life you should use one of these great free Android apps |
2023-08-03 14:16:25 |
海外TECH |
MakeUseOf |
You Can Turn Google Pink by Typing "Barbie Movie" Into Search |
https://www.makeuseof.com/google-barbie-easter-egg/
|
You Can Turn Google Pink by Typing amp quot Barbie Movie amp quot Into SearchGoogle packs plenty of Easter eggs and its latest celebrates one of s biggest film releases Here s how you can turn Google pink for Barbie |
2023-08-03 14:05:24 |
海外TECH |
DEV Community |
Getting started with Pico CSS |
https://dev.to/logrocket/getting-started-with-pico-css-5cji
|
Getting started with Pico CSSWritten by Kapeel Kokane ️Styling web applications has become more complicated over the years In the early days of web development the css file was responsible for styling the UI via selectors Then libraries like Bootstrap introduced a few utility classes that developers could apply to their HTML elements instead of writing them from scratch Eventually Tailwind came along with an extreme approach providing a single utility class for every atomic style that you d want to apply to your element Occasionally this led to a lot of classes being applied to a single element When building small to medium sized applications we rarely need that level of customization Here Pico CSS comes into the picture In some ways it is the anti Tailwind library Pico CSS discourages using a large number of classes in your application Instead it styles the semantic HTML elements in such a way that you don t need to write a lot of code yourself In this article we ll explore Pico CSS in depth by building a React app with dark mode and custom theming support Let s get started Jump ahead What exactly is Pico CSS Layout support in Pico CSS The container class The grid class Other common components Inputs and buttons Special components with semantic HTML Dropdown Accordion Modal Getting hands on with React and Pico CSS Setting up the navbar Adding list items Final touches Dark mode support Theming What exactly is Pico CSS According to its homepage Pico is a minimal CSS framework for semantic HTML Pico styles the built in HTML elements so that when you re building a small app you don t need to write a lot of custom CSS This doesn t mean that Pico CSS is limited in terms of its capabilities Rather it is packed with features like dark mode support and custom theming out of the box Layout support in Pico CSS Building proper responsive layouts forms an integral part of app development Pico CSS helps us to achieve this with the help of the container and the grid classes The container class We can use the container class to center content in the main part of our application For example the code below will center the inner content export default function App return lt main className container gt lt h gt React ️ Vite Replit lt h gt lt main gt Pico also sets pre configured breakpoints which are similar to Bootstrap that help to distinguish between devices based on their screen sizes The font sizes and viewport size are modified automatically depending on what device is being used The grid class Pico s grid system is quite interesting To set it up we need to apply the grid class on the parent div as follows lt div class grid gt lt a href role button class outline gt Link lt a gt lt a href role button class outline gt Link lt a gt lt a href role button class outline gt Link lt a gt lt a href role button class outline gt Link lt a gt lt a href role button class outline gt Link lt a gt lt a href role button class outline gt Link lt a gt lt div gt Pico ensures that these links are rendered in a row layout on large devices and it automatically switches to a column layout when the viewport size is smaller than px This will look like the following Other common components Inputs and buttons In addition to the layout components above Pico CSS also provides basic components like buttons and input elements Let s create an input component followed by two buttons that we ll use in our final to do app lt div class grid gt lt input type text id newitem name newitem placeholder Add an item to list required gt lt div gt lt button gt Add item lt button gt lt div gt lt div gt In the code above we created a grid component that contains two items laid out side by side The first is an input that will accept whatever the user types in and the second is a button that will add the item to the list You can style buttons in different ways like primary secondary contrast and outline Now that we ve covered the most common components let s review some special components Special components with semantic HTML When we use React components we tend to use customized components to provide certain functionality like dropdowns modals etc But we can achieve all this easily using semantic HTML elements which Pico CSS provides styling support for out of the box Dropdown The dropdown is an important component that helps us to take and store input from the user You can easily achieve a dropdown with the help of the lt select gt and lt option gt HTML semantic elements lt select onChange e gt console log e target value value fruit gt lt option value apple gt Apple lt option gt lt option value mango gt Mango lt option gt lt option value banana gt Banana lt option gt lt select gt In the example above we have a dropdown with three options Whenever we change the value of the dropdown the onChange handler gets triggered and the value prop passed to each of the options is passed to the handler as e target value Additionally the value prop passed to the select element decides what option is selected in the dropdown AccordionAnother fairly complicated component is the accordion The accordion component displays a list of items and clicking on one of the items expands it to show more details To create an accordion component we can use the lt details gt and lt summary gt elements from Pico CSS The summary shows up as the title for the minimized accordion Anything outside of the summary and inside details will show up when it is maximized lt details gt lt summary gt Accordion lt summary gt lt p gt This is the first accordion lt p gt lt details gt lt details open true gt lt summary amp gt Accordion lt summary gt lt p gt This is the second accordion lt p gt lt details gt Also notice the open prop passed to the details component This keeps the particular accordion open by default ModalA modal is another important component that is fairly difficult to implement A modal appears on top of the main content and presents some additional context to the user In Pico CSS we can create a modal with the help of the lt dialog gt semantic element lt dialog open true gt lt article gt lt h gt Confirm your action lt h gt lt p gt Are you sure you want to delete the item You will lose all related data and this operation is irreversible lt p gt lt footer gt lt a href cancel role button class secondary gt Cancel lt a gt lt a href confirm role button gt Delete lt a gt lt footer gt lt article gt lt dialog gt The text inside of the h tag shows up as the modal title The text inside the p tag shows up as the modal content The footer tag hosts the action buttons for the modal The modal can be shown and hidden by passing true and false values to the open prop respectively The modal above shows up in the open state as follows Getting hands on with React and Pico CSS Now that we ve discussed the various components provided by Pico CSS let s build a simple to do app with React and Pico CSS We ll use a few of the components discussed above You can follow along with this tutorial or check out the final result in this Repl Setting up the navbar First let s add a navbar to our app lt nav gt lt ul gt lt li gt lt strong gt Todo list lt strong gt lt li gt lt ul gt lt ul gt lt li gt lt a href role button class outline secondary gt Toggle dark mode lt a gt lt li gt lt ul gt lt nav gt We ve implemented a simple navbar using the semantic nav element and provided unordered lists for the left and right side items On the left we just have the name of the app while on the right we ve added a placeholder button for implementing dark mode which we ll come back to later With the changes from the previous sections our app now looks like the following Now we ll add the list items and make the app functional Adding list items We already have the input and button components so let s move to the implementation of the list items We ll keep all the list items inside a div assign it the class list container and create each of the list items as a div with the class list item Note that Pico CSS doesn t discourage us from using classes as long as we don t go overboard with it The JSX for the list items looks like the following lt div className list container gt items map item gt lt div className list item key item id gt lt span style textDecoration item done line through none fontSize rem gt item label lt span gt lt div gt lt a href role button id item id className outline onClick e gt checkItem e gt done lt a gt lt a href role button id item id className outline secondary onClick e gt deleteItem e gt delete lt a gt lt div gt lt div gt lt div gt Below are the two CSS styles list container display flex flex direction column align items flex start list item display flex width flex direction row justify content space between align items center We ve provided two actions for each of the list items done and delete The done action strikes through the text of the list item and the delete action deletes the item from the list The following functions handle that behavior const checkItem e gt let item items find item gt item id e target id item done true setItems items const deleteItem e gt let index items findIndex item gt item id e target id items splice index setItems items Final touchesFinally to wire everything up we create a new variable to hold the value of the previously created input field and add a new item to the list when the button is clicked lt input type text id newitem value newItem placeholder Add an item to list onChange e gt setNewItem e target value gt lt div gt lt button onClick gt addItem gt Add item lt button gt lt div gt The function below generates a random ID for each item and adds it to the list of items const addItem gt const id Math round Math random const item id id label newItem done false setItems items item setNewItem That completes the core set of functionality that we expect from our to do app Here s what that looks like Checking off the items looks like the following Deleting items will look like the image below Dark mode supportNow that the core functionality is working as expected let s implement support for dark mode We already have a placeholder button in place so enabling dark mode in Pico CSS is as simple as passing the data theme attribute to any element on which we want to set the theme It accepts two values light and dark We ll set dark mode on our entire app and therefore we pass the attribute to the main element lt main data theme theme style padding rem gt rest of the app lt main gt The theme variable that we are passing to the data theme attribute is a state variable that we ll be toggling on the click of a button const theme setTheme useState light const toggleTheme gt if theme light setTheme dark else setTheme light Next we plug this toggleTheme function with the button that we have in the navbar lt ul gt lt li gt lt a href role button className outline secondary onClick toggleTheme gt Toggle dark mode lt a gt lt li gt lt ul gt With just those simple code changes the dark mode is fully functional ThemingThe colors that we see in both light and dark mode are the default ones provided by Pico CSS Thankfully we can customize the colors to suit our needs All the default Pico CSS colors are set with CSS variables Therefore we just need to override these CSS variables to get the color theme that we want Let s say that we re looking to get a dark orange color scheme in light mode and the orange color scheme in dark mode We need to set these respective colors as the primary CSS variable data theme light main not data theme dark primary fe primary hover ff primary focus rgba primary inverse FFF data theme dark main not data theme light primary fbc primary hover fc primary focus rgba primary inverse FFF With the code above we ll get the following effect on the to do app that we just developed We ve just changed the primary colors in the code blocks above but you can customize all the variables mentioned in this file in a similar fashion And we re done With that we have a fully functional to do app with dark mode support and a custom color scheme ConclusionIn the current web development environment where having many Tailwind classes applied to an element is a norm Pico CSS is a breath of fresh air In this article we explored how to use semantic HTML with Pico CSS This is a welcome change all the defaults can very easily be customized making Pico CSS a great choice for building small to medium sized apps I hope you enjoyed this article Be sure to leave a comment if you have any questions or concerns Happy coding |
2023-08-03 14:15:32 |
Apple |
AppleInsider - Frontpage News |
Original unopened iPod to sell for record-breaking $29,000 |
https://appleinsider.com/articles/23/08/03/original-unopened-ipod-to-sell-for-record-breaking-29000?utm_medium=rss
|
Original unopened iPod to sell for record breaking A first generation iPod that s been around the auction block is up for sale once again ーfetching the highest price yet at An unopened iPodThe original iPod launched in for The unit up for auction was originally purchased and offered as a gift then left unopened for over a decade on a shelf Read more |
2023-08-03 14:42:00 |
Apple |
AppleInsider - Frontpage News |
Russian kangaroo court fines Apple two seconds of profit over News row |
https://appleinsider.com/articles/23/08/03/russian-kangaroo-court-fines-apple-two-seconds-of-profit-over-news-row?utm_medium=rss
|
Russian kangaroo court fines Apple two seconds of profit over News rowA Russian court this week fined Apple about for failing to suppress Apple News content about Russia s invasion of Ukraine equivalent to barely over two seconds of profit for the company Moscow RussiaApple was found guilty of violating a law against discrediting Russia s military and spreading false information about the Ukraine conflict by a justice of the peace in a magistrate s court according to the Associated Press Specifically the court found podcasts and articles offered through Apple News to be at odds with current Russian law prohibiting discussion of the war siding with Ukraine Read more |
2023-08-03 14:38:35 |
Apple |
AppleInsider - Frontpage News |
South Korean under-30s tend to buy Android first, then switch to iPhone |
https://appleinsider.com/articles/23/08/03/south-korean-under-30s-tend-to-buy-android-first-then-switch-to-iphone?utm_medium=rss
|
South Korean under s tend to buy Android first then switch to iPhoneNew research claims that while of South Koreans aged under will have first bought an Android phone more than half then switch to Apple s iPhone Samsung Galaxy S Ultra left and Apple s iPhone ProThe iPhone is already holding up well against Android in the declining US smartphone market and it s even expanding more than rivals in China Now new figures from Counterpoint Research show that the number of switchers to iPhone is high even in South Korea home of Apple s largest rival Samsung Read more |
2023-08-03 14:02:33 |
金融 |
金融庁ホームページ |
職員を募集しています。(金融モニタリング業務に従事する職員) |
https://www.fsa.go.jp/common/recruit/r5/souri-02/souri-02.html
|
Detail Nothing |
2023-08-03 15:12:00 |
金融 |
金融庁ホームページ |
金融庁の災害用備蓄食品において提供可能となる食品に関する情報を公表しました。 |
https://www.fsa.go.jp/choutatu/choutatu_j/choutatsu_saigaisyokuhin.html
|
食品 |
2023-08-03 14:41:00 |
金融 |
金融庁ホームページ |
入札公告等を更新しました。 |
https://www.fsa.go.jp/choutatu/choutatu_j/nyusatu_menu.html
|
公告 |
2023-08-03 14:38:00 |
ニュース |
BBC News - Home |
UK interest rates to stay higher for longer, Bank of England says |
https://www.bbc.co.uk/news/business-66384289?at_medium=RSS&at_campaign=KARANGA
|
comments |
2023-08-03 14:29:42 |
ニュース |
BBC News - Home |
Lizzo lawsuit: Singer says dancers’ harassment claims are false |
https://www.bbc.co.uk/news/entertainment-arts-66393817?at_medium=RSS&at_campaign=KARANGA
|
calls |
2023-08-03 14:10:54 |
ニュース |
BBC News - Home |
Trump 'knew well he lost the election' - ex-US attorney general |
https://www.bbc.co.uk/news/world-us-canada-66388176?at_medium=RSS&at_campaign=KARANGA
|
appearance |
2023-08-03 14:44:26 |
ニュース |
BBC News - Home |
Arrests after Greenpeace protest at Rishi Sunak's North Yorkshire home |
https://www.bbc.co.uk/news/uk-england-york-north-yorkshire-66391947?at_medium=RSS&at_campaign=KARANGA
|
constituency |
2023-08-03 14:20:33 |
ニュース |
BBC News - Home |
Lake District village painstakingly created in miniature |
https://www.bbc.co.uk/news/uk-england-cumbria-66398348?at_medium=RSS&at_campaign=KARANGA
|
period |
2023-08-03 14:05:01 |
コメント
コメントを投稿