投稿時間:2023-01-29 00:11:07 RSSフィード2023-01-29 00:00 分まとめ(15件)

カテゴリー等 サイト名等 記事タイトル・トレンドワード等 リンクURL 頻出ワード・要約等/検索ボリューム 登録日
python Pythonタグが付けられた新着投稿 - Qiita PIVをやってみる.part 1 無料のOpenPIVを試してみる. https://qiita.com/higeDss/items/2d3771339e612001bddd openpiv 2023-01-28 23:53:43
python Pythonタグが付けられた新着投稿 - Qiita 【Django】逆参照してCountとる時に条件(filter)を指定したい時 https://qiita.com/chatrate/items/5d5329290a43b81006ca count 2023-01-28 23:52:01
python Pythonタグが付けられた新着投稿 - Qiita VS Codeのデバックコンソールへの出力表示方法 https://qiita.com/ray00456456/items/119bc988944a9daab630 printhalo 2023-01-28 23:03:39
海外TECH Ars Technica The weekend’s best deals: Apple computers, Kindles, 4K TVs, charging cables, and more. https://arstechnica.com/?p=1913220 components 2023-01-28 14:00:57
海外TECH MakeUseOf Targus Energy Harvesting EcoSmart Keyboard Review https://www.makeuseof.com/targus-ecosmart-keyboard-review/ bluetooth 2023-01-28 14:06:15
海外TECH DEV Community How to create a Simple & Modern Profile Card using TailwindCSS in 2023 https://dev.to/fredy/how-to-create-a-simple-modern-profile-card-using-tailwind-css-471b How to create a Simple amp Modern Profile Card using TailwindCSS in As we all know Tailwind CSS is a utility first CSS framework for rapidly building custom user interfaces It provides a wide range of low level utility classes that make it easy to build complex designs by composing simple CSS classes Also now is one of the most popular CSS frameworks in the whole web development industry ️Some of the benefits of using Tailwind CSS include Speed Because Tailwind provides a wide variety of pre defined CSS classes it can help developers quickly build and prototype user interfaces without having to write custom CSS Consistency By using the same set of classes throughout a project developers can ensure that the design is consistent across different pages and components Customizability Tailwind CSS is highly customizable allowing developers to easily adjust the design to match their project s specific needs Accessibility Tailwind CSS provides a set of classes that make it easy to implement accessibility best practices such as providing sufficient contrast between text and background colors A profile card is a great way to showcase important information about an individual or organization on a website In this article we ll show you how to create a modern profile card using the popular CSS framework Tailwind CSS So let s get started Step Setting up the Tailwind CSS config fileLet s set up our project by creating the Tailwind CSS config file and adding base css Here we will use some colors shadows and more from the upcoming Horizon UI template for Tailwind tailwind config jsmodule exports darkMode class content src js jsx ts tsx theme extend fontFamily dm DM Sans sans serif boxShadow xl px px px px borderRadius primary px colors colors gt white ffffff lightSecondary AAED bluePrimary B gray DEFAULT colors gray fffa edff eecef cbde aaec adbbd aaed eae f b navy ddcfb aacfe abf fea ba bbbb a BB c b shadow rgba index css import url wght amp display swap import url Sans wght amp display swap tailwind base tailwind components tailwind utilities layer base html font family DM Sans sans serif font feature settings kern webkit font smoothing antialiased letter spacing px Step Create the HTML structureFirst we ll create the HTML structure for our profile card We ll use a div container to hold the card and within that we ll add several divs to hold the different elements of our card such as the background image profile picture name and its statistics index html lt div gt Banner image lt div style background image url gt Profile picture separate div for future positioning lt div gt lt img src alt gt lt div gt lt div gt General info lt div gt lt h gt Adela Parkson lt h gt lt p gt Product Manager lt p gt lt div gt lt div gt lt div gt lt h gt lt h gt lt p gt Posts lt p gt lt div gt lt div gt lt h gt K lt h gt lt p gt Followers lt p gt lt div gt lt div gt lt h gt lt h gt lt p gt Following lt p gt lt div gt lt div gt lt div gt Step StylingAdd Tailwind CSS classes so the card has its own identity lt div class dark bg navy shadow shadow shadow xl rounded primary relative mx auto flex h full w full max w px flex col items center bg white bg cover bg clip border p px dark text white dark shadow none gt lt div class relative mt flex h w full justify center rounded xl bg cover style background image url gt lt div class absolute bottom flex h px w px items center justify center rounded full border px border white bg pink gt lt img class h full w full rounded full src alt gt lt div gt lt div gt lt div class mt flex flex col items center gt lt h class text bluePrimary text xl font bold gt Adela Parkson lt h gt lt p class text lightSecondary text base font normal gt Product Manager lt p gt lt div gt lt div class mt mb flex gap md gap gt lt div class flex flex col items center justify center gt lt h class text bluePrimary text xl font bold gt lt h gt lt p class text lightSecondary text sm font normal gt Posts lt p gt lt div gt lt div class flex flex col items center justify center gt lt h class text bluePrimary text xl font bold gt K lt h gt lt p class text lightSecondary text sm font normal gt Followers lt p gt lt div gt lt div class flex flex col items center justify center gt lt h class text bluePrimary text xl font bold gt lt h gt lt p class text lightSecondary text sm font normal gt Following lt p gt lt div gt lt div gt lt div gt Step Hooray You re done All you have to do is integrate the card in your project The final result should look like this If it helps you here is a link with the full code of today s card  play tailwindcss comIn conclusion creating a modern profile card with Tailwind CSS is a simple and efficient way to add a visually appealing element to your website or application By utilizing the pre designed classes and responsive design capabilities of Tailwind CSS you can easily customize the layout and style of your profile card to fit the look and feel of your project More cards like the one we made components like navbars dropdowns and so on will be available in the upcoming Horizon UI Tailwind version which will be released by the end of February 2023-01-28 14:52:55
海外TECH DEV Community React Carousel Component "with Batteries Included" https://dev.to/yifanai/react-carousel-component-with-batteries-included-42i1 React Carousel Component quot with Batteries Included quot GitHub Demo or BackgroundI have used and carefully analysed a lot of carousel slider components I summarised that their issues are Some of them do not move the slide as the user swipes on the slide Most of them do not support mouse dragging to move to the previous or the next slide With the ones those support mouse emulation some of them do not properly handle the case where the mouse leaves the carousel which allow the user to continuously control the carousel Most of them do not support keyboard navigation i e left right and tab key Most of them cannot be maximised to fullscreen modal lightbox With fullscreen there is the issue of browser compatibility i e iOS Safari on iPhone does not support the fullscreen API Most of them do not have an easy solution for building thumbnails With the ones those have thumbnails most of the thumbnails cannot be freely scrolled which lead to poor user experience In addition most of the thumbnails cannot be lazy loaded Most of them cannot lazy load and preload images With the ones those can lazy load most of them have transition that traverses the intermediate images when the user goes to a distant slide which defeat the purpose of lazy loading Some of them cannot autoplay With the ones those can autoplay they cannot auto pause For example when the user hits another tab or goes to another app the autoplay on those carousels do not pause Most of them do not respect the reduced motion settings by the user Most of them disregard the velocity of the swipe and just set a constant transition duration Some of their carousels will be in different sizes when the images slides inside are in different sizes Some of their transitions are bumpy when their images slides are in different sizes Most of them do not support custom elements in a slide Most of them cannot be set to display in Right to Left RTL Some of them disable pinching to zoom while some others glitch when pinching with fingers Besides when the window is zoomed in most of them still detect for touch swiping to move to the previous or the next slide while the intention of most users in this scenario is panning to see other parts of the current slide Some of them will cause the slides to stuck its position on window resize or on mobile device orientation change until another user interaction Some of them can only have predetermined images i e before the carousel component mounts Most of them do not provide a solution for fallback image for when an image is not available Some of them get zoomed in when the user double taps on the control while the intention of most users in this scenario is to quickly go to the next after the next slide Some of them remove the left or right button to indicate that there are no more slides in that direction However user is likely to click that spot where the button used to be which causes undesired behaviours e g clicking on a link or button which is also at that spot Some of them use the method of cloning the first and the last slide to achieve looping or infinite mode I think that method is not great semantically Some of them cannot distinguish a vertical swipe from a horizontal swipe so that a not exactly vertical swipe moves the slides slightly horizontally and a not exactly horizontal swipe moves the document page slightly vertically ️I wanted to write my own detail oriented and exquisite carousel component that is easy to use yet solves supports all these things above under the hood I wanted to take my understanding of JavaScript events DOM manipulation browser APIs cross browser compatibility and performance debugging to the next level I wanted to master React functional components hooks custom hooks and reconciliation I wanted to learn more place more care and attention to accessibility I want to give focus outlines to the right users support keyboard navigation support screen reader and follow WC accessible carousel tutorials ️My carousel should support touch mouse emulation keyboard navigation modal lightbox thumbnails autoplay and auto pause RTL right to left for internationalisation image lazy loading and preloading responsive images fallback image reduced motion settings instantaneous velocity detection responsive design images with any sizes custom elements in a slide pinch to zoom customisation and great accessibility e g To solve the last issue in the list above my carousel should be able to detect a mostly vertical swipe and then fix the slides horizontally in the carousel It should also be able to detect a mostly horizontal swipe and then fix the carousel vertically in the page DemoDemo or GitHub Demo or npm I carefully handcrafted icons wrote many useful custom hooks and wrote many exquisite functional components to complete this piece of work ‍Everyone is welcome to come and ask questions find and report issues make pull requests and suggestions GitHub Demo or Buy me a coffee to support me 2023-01-28 14:35:28
海外TECH DEV Community The Top 18 AI Image Generation Tools for Designers & Content Creators 👇 https://dev.to/hr21don/the-top-18-ai-image-generation-tools-for-designers-content-creators-5hd0 The Top AI Image Generation Tools for Designers amp Content Creators There are several image generation tools that can be useful for bloggers looking to enhance their posts with visuals Here are that you should know AI RenderStable Diffusion in Blender Create amazing images using Stable Diffusion AI AlpacaAI models for Image Generation Combining Human skill and AI generative power ChatsonicTime to level up your content creation game with the most powerful and incredible AI assistant for text and image creation Chatsonic CraiyonFormerly DALL·E mini is an AI model that can draw images from any text prompt DALL·E by OpenAIDALL·E is a new AI system that can create realistic images and art from a description in natural language Diffusion BeeDiffusionBee is the easiest way to generate AI art on your computer with Stable Diffusion Completely free of charge GauGAN by NVIDIAA deep learning model that turns a simple written phrase into a photorealistic masterpiece getimg aiMagical AI art tools Generate original images modify existing ones expand pictures beyond its original borders and more GPT x GANsAI generated faces All these generated faces do NOT exist in real life They are machine generated Handy if you want to use models in your mock designs Hotpot aiHotpot ai helps you create amazing graphics pictures and text Image GPTImage GPT Generative Pretraining from Pixels Imagen by GoogleA DALL·E competitor by Google Research Imagen is a text to image diffusion model with an unprecedented degree of photorealism and a deep level of language understanding Lensa AI Magic AvatarsLensa is an all in one image editing app that takes your photos to the next level MidjourneyMidjourney is an independent research lab exploring new mediums of thought and expanding the imaginative powers of the human species AI Art Generator DALL·E by OpenAIDALL·E by OpenAI GPT Model for Image Generation PlaygroundAIPlayground AI A free to use online AI image creator AstriaTailor made AI image generation ZoomScape aiStand out from the crowd on Zoom with personalized AI generated backgrounds Your real estate to showcase your personality while working remote is limited Use it wisely ConclusionThank you for reading and let s connect Feel free to subscribe to my email newsletter and connect on Twitter 2023-01-28 14:32:25
海外TECH DEV Community Is Tracking User Behavior with JavaScript Ethical? https://dev.to/sarahokolo/is-tracking-user-behavior-with-javascript-ethical-2km8 Is Tracking User Behavior with JavaScript Ethical Privacy is not something that I m merely entitled to it s an absolute prerequisite Marlon BrandoHave you ever thought about the amount of data that is being collected on you while you re browsing the internet ever wondered how websites know what you re interested in and show you relevant ads Well it turns out that JavaScript plays a big role in tracking user behavior JavaScript is a programming language that allows websites to be more interactive and responsive But it s not just used for making cool animations or pop ups it can also be used to track your behavior on a website Everything from your clicks scrolls and even keystrokes can be tracked and analyzed by companies According to research posted by Timothy Libert on the ReaserchGate website Findings indicate that nearly in websites leak user data to parties of which the user is likely unaware more than in websites spawn third party cookies and more than in websites load Javascript code from external parties onto users computers Let s take a look a some few ways on how JavaScript is being used to track user behaviour on the web Event tracking This is when a website uses JavaScript to track specific actions that you take on the website For example if you click on a button or scroll to a certain point on the page the website can record that information Session tracking This is when a website uses JavaScript to keep track of how long you spend on the website and which pages you visit A B testing This is when a website shows different versions of a website to different users and then uses the data to see which version is more popular or leads to more conversions User Agent tracking This is a string that identifies the browser and version of the browser that is accessing the website Website can track the user agent of the user and can use this information to detect the browser and device of the user This information can be used to deliver the browser specific content or to show the browser specific pop up Have you ever seen a website with a Heat Map This is when a website uses JavaScript to track where you click on the website Based on this information the website can create a map that shows which parts of the website are being clicked on the most All this tracking might help the website improve their user experience However a lot of these companies are not fully transparent to their users on how they track their user s behaviour Tracking without consent Some companies may use JavaScript to track user behavior without obtaining the user s consent Misrepresentation of data collection Some companies may collect and use data for purposes other than what they have stated in their privacy policy Selling user data Some sell their users data to third parties without obtaining the user s consent Not providing an opt out mechanism Some companies deliberately choose not to provide users with an easy way to opt out of tracking Not providing clear and conspicuous notice Some companies may not provide clear notice on the data collection use and sharing of the user data A lot of these companies also track their users while offline as well collecting data and information even while the user is away from their site here are a few ways in which this is done Device Fingerprinting This is a technique used to track users by collecting information about the user s device such as the browser version screen resolution installed fonts and more browser cookiesbrowser cachebrowser historybrowser form dataThis is why it is always advised to clear your browser cache and history regularly and disable cookies on your browser Now this raises an important question is it ethical for companies to track our behavior without our knowledge or consent Some argue that tracking user behavior is necessary for companies to improve their products and services They might say that tracking behavior helps them to understand how people interact with their website and as a result they can make it more user friendly On the other hand others might argue that tracking user behavior without consent is a violation of our privacy and goes against our basic human rights Personally I believe that companies should be transparent about their data collection practices and users should have the option to opt out of behavior tracking if they choose And the best way is to give the users the right to control their data and how it is used It should be their choice not the company s What s your opinion on this topic Share your thoughts in the comments below 2023-01-28 14:29:22
Apple AppleInsider - Frontpage News Apple Fitness+ review: Two years later, barely treads water https://appleinsider.com/articles/23/01/26/apple-fitness-review-two-years-later-barely-treads-water?utm_medium=rss Apple Fitness review Two years later barely treads waterApple Fitness joined the workout streaming movement in December It s a good start but it is barely afloat next to shiny competitors brimming with personality in an ever shifting online fitness market It took two years for Apple to realize that having to buy an Apple Watch to use Apple Fitness was not a clever marketing ploy incentivizing people to buy the watch but an ostracization that led consumers to find other means to reach their fitness goals As of October of Apple Fitness is now available to all iPhone users whether or not they own an Apple Watch Read more 2023-01-28 14:13:29
海外TECH Engadget Mac mini review (M2 Pro, 2023): Just call it a Mac mini Pro https://www.engadget.com/mac-mini-review-m2-pro-2023-140052205.html?src=rss Mac mini review M Pro Just call it a Mac mini ProSince the Mac mini s debut in it s been Apple s affordable small form factor trooper Need something cheap to pair with an old monitor Just get the Mac mini Want to start a low power media server or a computer right near your TV Mini baby The line has had its share of ups and downs ーthe refresh was criticized for replacing a quad core model with a dual core chip the update had notoriously weak graphics ーbut it made a full recovery with the M powered model in This year though the Mac mini is different The model remains an entry level champ especially since it s less than the M version maybe we ll see the option return eventually But you can also pay over double that ー ーfor a Mini with a slightly stripped down M Pro chip and GB of RAM That might have sounded crazy a few years ago but now it sits neatly into Apple s desktop ecosystem Not all creatives need the power of a Mac Studio with an M Max but those same folks may feel limited by the base M chip At last there s a mighty Mini to serve them And no the now dead Intel model never really filled that role Just like with Apple s new MacBook Pros the Mac mini doesn t look any different than before It s still a squat little aluminum box with a ton of ports on the back and a slightly raised black base underneath to allow for airflow The model features an M chip with eight CPU cores graphics cores GB of RAM and GB of storage ーthat s about as basic as you can get with PC hardware these days The M Pro Mini offers CPU cores GPU cores GB of RAM and a GB SSD For an additional you can also upgrade to the full powered M Pro chip with a core CPU and core GPU but that s probably not a wise idea as I ll discuss later On the rear the base Mac mini offers two Thunderbolt USB C connections HDMI with K Hz and K Hz output two USB A ports a headphone jack and gigabit Ethernet upgradeable to gigabit The M Pro model adds two additional USB C ports making it even more useful for creatives with a ton of accessories Devindra Hardawar EngadgetMost striking about the Mac mini is its combination of simplicity and functionality Unlike the taller and more domineering Mac Studio the Mini is meant to disappear into your desk a sliver of power that doesn t need to be seen That could be a bad thing if you need to access its rear ports frequently though The Studio in comparison offers two USB C ports and an SD card slot up front You ll need a separate adapter to use SD cards with the Mini ーa cheap fix but one that also leads to more desk clutter Our review model which featured the pricier core M Pro chip performed as well as I expected It s slower than the M Max in the inch MacBook Pro in GeekBench s CPU benchmark but it also beats the M Max in the Mac Studio The M Ultra equipped Studio is far faster not surprisingly because that s essentially two M Max chips joined together What s most important for some creatives though is its potential rendering performance The Mac Mini scored points higher than the M Max Studio in the Cinebench R benchmark and it was on par with the MacBook Pro inch with M Max NoneGeekbench CPUGeekbench ComputeCinebench RDMark Wildlife ExtremeApple Mac Mini Apple M Pro Apple MacBook Pro inch Apple M Max Apple MacBook Pro inch Apple M Apple Mac Studio Apple M Max Apple Mac Studio Apple M Ultra In a more practical test the Mac Mini transcoded a minute long K clip into p in seconds with pure CPU power using Handbrake ーthe same job took seconds with the GPU Both figures narrowly surpassed the M Max Studio which took seconds with a CPU encode and seconds using the GPU Beyond benchmarks the Mac Mini was an absolute dream for my typical workflow dealing with dozens of browser tabs batch image processing and practically every chat app out there But I d expect a similar result from the model so long as I cut down on demanding browsers to survive with GB of RAM The computer remains a solid entry for mainstream users and it s potentially a great home theater PC if you wanted something more customizable than an Apple TV As I tested the Mac Mini I started to wonder if it was even worth having a giant mid tower PC as my daily driver Realistically though I could never become a fulltime Mac guy because I like games There are a few modern titles like Resident Evil Village that natively support Macs but there simply aren t enough titles out there That game by the way easily reached fps while playing in p on the Mac Mini To reiterate though you d have to pay for the upgraded M Pro to get the same performance figures I didn t have the slower Mac Pro model to compare it to but based on what we re seeing with Apple s M chips it would still be a noticeable step up from comparable M hardware Stepping back a bit I can t help but think that the M Pro Mini makes more sense for creatives If you upgraded our review model to GB of RAM it would come to the same as the base Mac Studio And given that the Studio is almost a year old it s due for an M refresh in the coming months nbsp Devindra Hardawar EngadgetMy advice Get the Mac mini if you re looking for a beefier Mac desktop but try to avoid upgrading any hardware if possible I could see stomaching the upcharge to get TB of storage but spending an additional just to get GB of RAM isn t worth it Apple has always been notorious for expensive upgrades ーremember the monitor stand ーlet s not encourage them Apple might as well have just called this computer the Mac mini Pro but I can see how that would have been confusing Now the Mini exists in two forms A cheap computer for most people and a secret powerhouse for creators It s close to being the ideal small form factor PC if only it didn t cost so much to get more RAM 2023-01-28 14:00:52
ニュース BBC News - Home Hexham stabbing: Murder arrest after girl, 15, dies https://www.bbc.co.uk/news/uk-england-tyne-64438430?at_medium=RSS&at_campaign=KARANGA northumberland 2023-01-28 14:09:28
ニュース BBC News - Home Accrington Stanley 1-3 Leeds United: Jesse Marsch's side progress to fifth round https://www.bbc.co.uk/sport/football/64438638?at_medium=RSS&at_campaign=KARANGA Accrington Stanley Leeds United Jesse Marsch x s side progress to fifth roundJack Harrison scores a stunning yard drive as Leeds United progress into the FA Cup fifth round at the expense of League One Accrington Stanley 2023-01-28 14:48:38
ニュース BBC News - Home FA Cup: Leeds United v Accrington Stanley: Junior Firpo doubles Leeds' lead off Patrick Bamford scoop https://www.bbc.co.uk/sport/av/football/64439700?at_medium=RSS&at_campaign=KARANGA FA Cup Leeds United v Accrington Stanley Junior Firpo doubles Leeds x lead off Patrick Bamford scoopLeeds United s Junior Firpo scores first time thanks to a clever Patrick Bamford assist against Accrington Stanley in the FA Cup fourth round 2023-01-28 14:17:15
ニュース BBC News - Home Walsall 0-1 Leicester: Kelechi Iheanacho's deflected strike breaks hosts resistance https://www.bbc.co.uk/sport/football/64438525?at_medium=RSS&at_campaign=KARANGA Walsall Leicester Kelechi Iheanacho x s deflected strike breaks hosts resistanceKelechi Iheanacho s fortuitous second half strike breaks resistance of League Two Walsall and sends Leicester into the FA Cup fifth round 2023-01-28 14:43:17

コメント

このブログの人気の投稿

投稿時間:2021-06-17 05:05:34 RSSフィード2021-06-17 05:00 分まとめ(1274件)

投稿時間:2021-06-20 02:06:12 RSSフィード2021-06-20 02:00 分まとめ(3871件)

投稿時間:2020-12-01 09:41:49 RSSフィード2020-12-01 09:00 分まとめ(69件)