AWS |
AWS Architecture Blog |
AWS Cloud service considerations for designing multi-tenant SaaS solutions |
https://aws.amazon.com/blogs/architecture/aws-cloud-service-considerations-for-designing-multi-tenant-saas-solutions/
|
AWS Cloud service considerations for designing multi tenant SaaS solutionsAn increasing number of software as a service SaaS providers are considering the move from single to multi tenant to utilize resources more efficiently and reduce operational costs This blog aims to inform customers of considerations when evaluating a transformation to multi tenancy in the Amazon Web Services AWS Cloud nbsp You ll find valuable information on how to optimize … |
2023-08-04 13:25:54 |
AWS |
AWS Machine Learning Blog |
Use the Amazon SageMaker and Salesforce Data Cloud integration to power your Salesforce apps with AI/ML |
https://aws.amazon.com/blogs/machine-learning/use-the-amazon-sagemaker-and-salesforce-data-cloud-integration-to-power-your-salesforce-apps-with-ai-ml/
|
Use the Amazon SageMaker and Salesforce Data Cloud integration to power your Salesforce apps with AI MLThis post is co authored by Daryl Martis Director of Product Salesforce Einstein AI This is the second post in a series discussing the integration of Salesforce Data Cloud and Amazon SageMaker In Part we show how the Salesforce Data Cloud and Einstein Studio integration with SageMaker allows businesses to access their Salesforce data securely … |
2023-08-04 13:28:06 |
AWS |
AWS Machine Learning Blog |
Bring your own AI using Amazon SageMaker with Salesforce Data Cloud |
https://aws.amazon.com/blogs/machine-learning/bring-your-own-ai-using-amazon-sagemaker-with-salesforce-data-cloud/
|
Bring your own AI using Amazon SageMaker with Salesforce Data CloudThis post is co authored by Daryl Martis Director of Product Salesforce Einstein AI We re excited to announce Amazon SageMaker and Salesforce Data Cloud integration With this capability businesses can access their Salesforce data securely with a zero copy approach using SageMaker and use SageMaker tools to build train and deploy AI models The inference endpoints are … |
2023-08-04 13:27:49 |
AWS |
AWS Government, Education, and Nonprofits Blog |
Enhancing multidisciplinary collaboration in digital pathology with cloud-based PACS |
https://aws.amazon.com/blogs/publicsector/enhancing-multidisciplinary-collaboration-digital-pathology-cloud-based-pacs/
|
Enhancing multidisciplinary collaboration in digital pathology with cloud based PACSINFINITT Healthcare a healthcare technology HealthTech company based in South Korea is working to streamline digital pathology by extracting and transforming whole slide imaging WSI output as a Digital Imaging and Communications in Medicine DICOM fileーa digital version of WSI that is helping pathologists save time and resources streamline multidisciplinary communication and accelerate time to solutions in patient care This is then stored in their cloud based digital pathology system DPS built on AWS |
2023-08-04 13:49:00 |
python |
Pythonタグが付けられた新着投稿 - Qiita |
AttributeError: partially initialized module 'ray' has no attribute '_private' (most likely due to a circular import) |
https://qiita.com/inoshun/items/b08251ac12ee59def120
|
|
2023-08-04 22:04:56 |
python |
Pythonタグが付けられた新着投稿 - Qiita |
matplotlibで絵を描く |
https://qiita.com/yohm/items/f76645bad04dd7057753
|
matplotlib |
2023-08-04 22:02:37 |
Ruby |
Rubyタグが付けられた新着投稿 - Qiita |
Railsで画像を表示する方法、Bootstrapのスタイルの当て方 |
https://qiita.com/t-masa-works/items/807cab3ef476fb4f4701
|
bootstrap |
2023-08-04 22:31:22 |
golang |
Goタグが付けられた新着投稿 - Qiita |
Go(echo)とMySQLでAPIサーバー構築してみた |
https://qiita.com/T_death/items/e5d99d26b235ddf7659a
|
goecho |
2023-08-04 22:52:12 |
Azure |
Azureタグが付けられた新着投稿 - Qiita |
Azure MigrateでLinuxをLift&Shiftしようとしてコケまくり詰んだ話 |
https://qiita.com/fsdg-kohei-ioroi/items/e60b9974b22a6ca3c9b5
|
azuremigrate |
2023-08-04 22:18:48 |
Ruby |
Railsタグが付けられた新着投稿 - Qiita |
Railsで画像を表示する方法、Bootstrapのスタイルの当て方 |
https://qiita.com/t-masa-works/items/807cab3ef476fb4f4701
|
bootstrap |
2023-08-04 22:31:22 |
海外TECH |
MakeUseOf |
What Is 5G? Here's How It'll Make Mobile Internet Faster and Better |
https://www.makeuseof.com/tag/what-is-5g/
|
What Is G Here x s How It x ll Make Mobile Internet Faster and BetterFeel your mobile internet is too slow G is the latest generation of mobile internet and will make mobile data faster than ever |
2023-08-04 13:00:25 |
海外TECH |
DEV Community |
The Best UI Libraries for Cross-Platform Apps with Tauri |
https://dev.to/crabnebula/the-best-ui-libraries-for-cross-platform-apps-with-tauri-2d78
|
The Best UI Libraries for Cross Platform Apps with TauriDeveloping native cross platform experiences requires choosing the right user interface UI library as it serves as the foundation for creating visually appealing and interactive user experiences Tauri a popular toolset for building lightweight desktop and soon mobile apps using web technologies offers compatibility with various UI libraries Here we cover some of the fastest UI libraries suitable for native cross platform apps with the Tauri toolset We explore Angular React Vue Svelte SolidJS and Qwik and other UI libraries that primarily focus on JavaScript and or TypeScript and how they compose together with Tauri SvelteSvelte and Tauri together form an attractive solution for creating performant lightweight and cross platform apps Svelte is a modern JavaScript compiler that helps to write easy to understand JavaScript code which when compiled results in highly efficient imperative code that directly updates the Document Object Model DOM The synergy of Svelte and Tauri allows developers to build projects that are both high performing and resource efficient mainly because both approaches tend to disappear and focus on the end products Fun fact this entire website is built on SvelteKit the Svelte based framework Svelte differs from other frontend frameworks and libraries like React Vue or Angular in that it shifts the work from the browser to the build step by writing code that directly updates the DOM when state changes This results in less JavaScript that needs to be downloaded and parsed ultimately resulting in faster initial load times Tauri is designed to offer a lean and efficient runtime for desktop apps It accomplishes this by utilizing a Rust backend and leveraging the system s webview for rendering the frontend The end result is a small binary size and a low memory footprint leading to quicker startup and better runtime performance Svelte s performance is generally better than that of React Vue and Angular because it compiles components to highly efficient imperative code that directly manipulates the DOM React and Vue use a virtual DOM which introduces additional overhead while Angular s performance can be affected by its complex change detection mechanism Things built with Svelte tend to have smaller bundle sizes compared to those with React Vue and Angular because Svelte removes the need for a virtual DOM and includes only the necessary code in the final bundle Since Tauri is agnostic to the frontend framework apps use it can be combined with Svelte to provide a lightweight runtime for projects built with Svelte React Vue or Angular Svelte is often considered easier to learn than React Vue and Angular due to its simpler syntax and more intuitive reactivity system However its ecosystem and community are not as large as those of React Vue and Angular which might result in fewer resources for learning and troubleshooting SolidJSSolidJS and Tauri form another potent combination for creating performant lightweight and secure experiences SolidJS is a reactive UI library that is similar to Svelte in the way it compiles away reactivity and updates the DOM directly but it also incorporates a fine grained reactivity system reminiscent of libraries like Marko Knockout and MobX Some would say SolidJS is “like Svelte given that SolidJS is compiled like Svelte is with the added benefits of fine grained reactivity We do not necessarily share this view but it might help formulating a mental model about SolidJS if there is already some familiarity with Svelte SolidJS is designed with performance as its primary focus It uses a specific reactivity system which means it can track dependencies at a granular level and only update the parts of the DOM that depend on changed state This results in highly optimized updates that can outperform even the most performant virtual DOM libraries In addition like Svelte SolidJS compiles components to highly efficient imperative code that updates the DOM directly SolidJS also champions the use of signals as a primitive for its reactivity that has taken the web community by so much of a storm that Angular is also adopting them giving Angular a further performance boost and bringing Angular closer to SolidJS in terms of performance SolidJS s performance is often compared favorably to that of other libraries and frameworks due to its fine grained reactivity and compile time optimizations This makes SolidJS highly efficient and can result in better runtime performance compared to React Vue Angular and even Svelte in some cases Similarly Tauri provides a lightweight and efficient runtime for any frontend library or framework It uses a Rust backend and leverages the system s webview for rendering the frontend This approach results in a very small binary size and a low memory footprint leading to quicker startup and ultimately better runtime performance SolidJS also like Tauri aims to be as minimal as possible often resulting in smaller bundle sizes compared to React Vue and Angular and similar sizes to Svelte However at scale the need to add plugins for additional functionality could increase complexity AngularAngular and Tauri form a robust combination for creating powerful apps Together they offer an interesting blend of features each balancing the other s strengths and weaknesses Angular as a comprehensive framework is known for its completeness in managing complex applications It s a type of swiss army knife in terms of UI capabilities It employs a change detection mechanism and ahead of time AOT compilation which optimizes apps by compiling components into highly efficient JavaScript code before the initial load This enhances the performance of Angular by reducing the need for client side compilation and minimizing the amount of JavaScript downloaded and parsed by the browser However Angular s completeness can be a double edged sword While it performs excellently with complex and large scale projects it might be overkill for simpler use cases where a more lightweight library could suffice Tauri stands out for its focus on minimalism and efficiency It uses Rust a language known for its memory safety and performance to interact with the operating system s webview for rendering the user interface The Tauri team has made conscious design choices to keep the binary sizes incredibly small and the memory footprint minimal This leads to faster startup times lower memory usage and overall snappier performance compared to alternatives ReactReact and Tauri form an innovative blend for building lightweight secure and performant projects React the most popular JavaScript library for building user interfaces has been developed and maintained by Meta This combination can bring several benefits It allows developers to harness the power of React for the frontend while Tauri facilitates a secure and efficient container for running the application as a desktop app on various operating systems React is renowned for its simplicity and component model courtesy of its virtual DOM feature In a typical web site direct manipulation of the DOM is slow and often unsafe React overcomes this bottleneck by introducing a virtual DOM It creates an in memory cache of the real DOM computes the differences between the real DOM and the virtual DOM and then efficiently updates the real DOM This is different from Svelte where there is no virtual DOM and Svelte merely transforms your Svelte code into highly efficient imperative code that directly manipulates the DOM React s virtual DOM makes a difference where user interaction leads to frequent changes in the UI However for simple use cases or static pages the virtual DOM may not offer any significant performance advantage In fact it might add unnecessary overhead VueVue js and Tauri bring together the best of both worlds offering a compelling stack for creating performant cross platform apps Vue js an approachable versatile and performant JavaScript framework has gained immense popularity for building user interfaces When combined Vue js and Tauri provide a unique blend of tools that allows developers to create robust and performant experiences that are both small and fast Vue js is known for its high performance primarily due to its lightweight design and efficient update strategy Like React Vue js uses a virtual DOM to update components efficiently However Vue js optimizes this process further by asynchronously batching updates Vue js automatically batches multiple changes to the same component in a single update cycle reducing the overhead of rendering updates Vue js also uses a lazy evaluation strategy for computed properties meaning that computed properties are only evaluated when a dependency has changed further optimizing rendering performance In the context of adoptability Vue js is often considered easier to learn than both React and Angular due to its simpler syntax and more intuitive reactivity system Angular with its extensive feature set has the steepest learning curve Similarly to Vue js Tauri s learning curve is relatively low for developers familiar with web technologies QwikQwik and Tauri represent a novel combination for creating performant secure and lightweight apps Qwik is a modern JavaScript framework optimized for maximizing First Contentful Paint speed by prioritizing above the fold content Qwik is designed with a unique approach to rendering called resumability Instead of sending JavaScript to the client and then rendering Qwik sends server rendered HTML to clients and then the clients “resume where the server left off becoming interactive if and when required in an incremental manner This results in extremely fast initial rendering as the browser can render the HTML immediately and then progressively enhance the experience as JavaScript loads Similarly Tauri is built for efficiency Utilizing a Rust backend and the system s webview for rendering the frontend it offers a small binary size and a low memory footprint This results in quick startup and superior runtime performance Qwik s unique approach to rendering can result in faster initial render times compared to React Vue Angular Svelte and SolidJS as it sends HTML to the client first and then progressively enhances the application However as more of the page is interacted with more JavaScript will be loaded which could impact runtime performance This can also result in a smaller initial bundle size compared to React Vue Angular Svelte and SolidJS but the total size can increase as more parts are interacted with In fact there is data showing that Qwik might be slightly more performant than SolidJS in terms of initial load because Qwik loads a consistent kB of data on initial load which is then progressively enhanced This is unique among UI libraries SolidJS like other UI libraries loads a larger initial bundle size which can then be cached and reused for subsequent loads However most applications load components over time so a more appropriate apples to apples comparison could be a fully loaded Qwik application vs a fully loaded SolidJS application being used over time As far as we can tell such a comparison has not been done yet Finally Qwik introduces a new approach to rendering though maintains syntax that is near identical to React which greatly lowers the learning curve for developers Trade OffsNow that we understand the various UI libraries and their interplay with Tauri let s examine some of the trade offs involved in choosing which one to use according to the parameters we all care about and should ideally consider when making such a decision Size and ComplexitySvelte s innovative approach results in a smaller bundle size which can significantly improve load times particularly for more complex use cases However Svelte currently doesn t have as robust an ecosystem as other more established frameworks like Angular React or Vue For complex projects this might mean having to write more functionality from scratch Svelte as a language however is very easy to learn and has a very low learning curve so this should be no problem SolidJS focuses on being minimal and lightweight It offers a lean core and has a vast ecosystem for additional benefit such as routing or state management SolidJS also ships with a framework like others called SolidStart that provides primitives for routing data fetching and more directly to SolidJS applications This can be a great starting point for building applications However this can also lead to a larger bundle size which can impact load times React is a library focused on building user interfaces and it does an excellent job in this domain However for features like routing or state management you ll have to rely on additional libraries like React Router or Redux This modularity gives you the freedom to pick only what you need potentially keeping your bundle size small But it also adds complexity as you need to ensure compatibility between different libraries Angular does the opposite and gives a developer everything out of the box including powerful primitives for routing state management and more However sometimes this can lead to a larger bundle size which can impact load times Vue js is designed to be incrementally adoptable which means you can use as much or as little of the framework as you need For complex cases you can use Vue Router for routing Vuex for state management and Vue CLI for tooling However each additional library adds to the overall size of the project Qwik s focus on fast initial rendering leads to a minimal amount of JavaScript being sent to the client initially However as things become more interactive more JavaScript will be loaded This progressive enhancement can lead to a small initial size but the total size can increase as more parts of the page are interacted with Qwik also depends on serverful code splitting and infrastructure so local only desktop projects may be out of the question here Ultimately these are the major trade offs between these UI libraries However Tauri counterbalances any increase in size by packing the app into small efficient binaries which are significantly smaller compared to alternative solutions This makes bundle size a smaller factor since binaries are downloaded once and then installed executed locally Learning Curve and Development ExperienceSolidJS s API is similar to other UI libraries which can make it easier for developers coming from React Vue or Svelte However SolidJS s fine grained reactivity system introduces new concepts that can take time to understand fully and come with a few small footguns exclusive to SolidJS s reactivity primitives signals This can make it more difficult to learn than React Vue or Svelte for the uninitiated However the SolidJS documentation makes these footguns abundantly clear and the SolidJS community is very helpful and responsive Svelte is designed to be easy to learn with a simple and intuitive syntax that integrates well with standard JavaScript It removes the need for a virtual DOM which can simplify the mental model for developers Vue js is known for its simplicity and ease of use It provides a gentle learning curve making it an excellent choice for developers new to frontend development The syntax is straightforward and the single file components make it easy to understand the structure of Vue js projects React is known for its component based architecture and the unidirectional data flow which make it predictable and easy to understand JSX an HTML like syntax used by React allows for clear and concise code However mastering React s concepts and ecosystem of libraries can take time Qwik introduces a new approach to rendering which can require a shift in thinking for developers accustomed to traditional JavaScript frameworks However its API is designed to be simple and intuitive and as close to React as possible This makes it easy to learn for developers coming from React Tauri is relatively straightforward to set up and integrate with JavaScript applications but it requires some familiarity with Rust and Node js tooling It also might have fewer resources available for learning and troubleshooting compared to more mature projects However its setup and configuration are straightforward making it easier to integrate with existing projects regardless of UI library SecurityOne of Tauri s main security features is its ability to prevent remote code execution It restricts the actions that the frontend can perform on the backend adding an additional layer of security It achieves this by isolating the frontend from the backend with a permission layer ensuring that only safelisted commands can be executed This security feature is crucial when paired with the mentioned UI libraries While these libraries offer various levels of built in security mechanisms they generally operate in a web context which could potentially expose them to common web security vulnerabilities such as cross site scripting XSS and cross site request forgery CSRF Tauri helps mitigate these risks by isolating the app in its own window separate from the user s regular browser environment This isolation technique effectively puts up a barrier against potential security threats originating from the web In addition it also reduces the attack surface by eliminating the use of Node js in the runtime This results in a more secure environment for your applications regardless of the UI library you choose to use At CrabNebula we are experts and authors of Tauri particularly around security If you re interested in getting help feel free to reach out to us Cross Platform CompatibilityTauri provides a unique capability for a wide range of JavaScript based libraries and frameworks enabling them to be packaged as desktop applications for Windows MacOS and Linux This includes libraries and frameworks like SolidJS Svelte Vue js React Angular and Qwik which are inherently portable across platforms due to their web based nature However when using it there might be slight differences in behavior and appearance between different operating systems This is because Tauri uses the system s webview for rendering the frontend Despite these potential differences it offers a balanced approach to building desktop applications by complementing the strengths of these libraries and frameworks For instance the sophistication of React s user interfaces pairs well with Tauri s focus on performance and security Angular s rich feature set also complements its emphasis on efficiency and security In SummaryHaving explored the synergy between Tauri and a range of frontend frameworks and libraries such as Angular React Vue js Svelte SolidJS and Qwik for building desktop applications here is an integrated summary of the discussions Each combination brings unique advantages and considerations with performance varying based on the library or framework in use Tauri consistently enhances these combinations by providing a lightweight and efficient runtime leading to smaller binary sizes and faster startup times compared to other solutions Angular and Tauri form a robust combination leveraging Angular s comprehensive feature set and Tauri s minimalistic approach However the complexity of Angular might be unnecessary for simpler applications In combination with React it capitalizes on React s virtual DOM and Tauri s focus on minimalism and efficiency resulting in performant applications Yet for more complex applications additional libraries may be needed due to React s library centric nature Vue js offers a balanced approach to building desktop applications Vue js s incremental adoptability and lighter footprint make it an attractive choice particularly when combined with Tauri s lean runtime Svelte provides a compelling toolkit for developers shifting work from the browser to the build step for performance benefits However Svelte s smaller ecosystem and community might pose challenges SolidJS focus on fine grained reactivity and compile time optimization offers a modern lean and efficient stack for building desktop applications This is arguably the best UI library for Tauri applications ConclusionTauri provides a robust secure and efficient platform for transforming applications built with a variety of frontend frameworks and libraries into lightweight desktop and soon mobile applications Whether you re using Angular React Vue js Svelte SolidJS or Qwik it can and does enhance the capabilities of these technologies allowing for the creation of performant secure and platform independent applications Each combination of Tauri with a frontend technology offers unique advantages and trade offs and the choice between them should depend on the specific requirements of the project including factors like application complexity the learning curve of the technology security needs and cross platform compatibility Ultimately it s clear that Tauri with its focus on performance security and efficiency has the potential to radically improve the way we build desktop applications with web technologies Its ability to interface seamlessly with a multitude of frontend frameworks and libraries makes it a versatile and valuable tool in the modern web development landscape We re the team that creates it If you re interested in using Tauri for a new project or getting our expertise on an existing one please do not hesitate to reach out to us immediatelyAuthor Tejas Kumar Director of Developer Relations |
2023-08-04 13:34:13 |
海外TECH |
DEV Community |
Route-based code splitting with React |
https://dev.to/cathalmacdonnacha/route-based-code-splitting-with-react-4hm
|
Route based code splitting with ReactCode splitting is a technique used to optimize the loading performance of web apps by breaking down the bundled JavaScript files into smaller more manageable chunks By loading only the required code for a specific route or page route based code splitting significantly reduces the initial load time and improves the overall user experience In this article we will explain some aspects of how we can achieve route based code splitting along with some code examples Why Route based Code Splitting When developing large scale applications loading all the JavaScript code upfront can lead to increased initial load times and negatively impact user experience In contrast route based code splitting allows you to divide your application into smaller chunks based on different routes or features Only the code relevant to the current route is loaded resulting in faster loading times for the specific page and better overall application performance By using route based code splitting you can prioritize the most critical code for each route optimizing the initial loading experience and reducing the time to interactive TTI What do we need In order to actually implement route based code splitting we need to make use of two things Dynamic importReact lazy Let s take a look at these in a bit more detail Dynamic importDynamic import is an ECMAScript feature that allows us to import modules on the fly This is really powerful and unless you re unlucky enough to have to support IE it can be used in all major browsers Here s what the syntax looks like import path to my module js import will return a promise so you would handle it just like any other promise within your app import carModule js then module gt module startEngine catch error gt console error Error loading carModule error or you can use async awaitconst carModule await import carModule js carModule startEngine A great use case for this would be when you only make use of a heavy module in a specific part of your app lt button onClick onSortCarsClick gt Sort cars lt button gt function onSortCarsClick Load in the heavy module const carModule await import carModule js carModule sortCars React lazy React lazy is a function in React that enables you to perform lazy or on demand loading of components It ensures that the component will only be loaded when it s actually rendered Before React lazy was introduced you might have needed to set up a more complex build tooling configuration to achieve similar code splitting behavior With React lazy this process is simplified and integrated directly into React s core const MyLazyComponent React lazy gt import MyComponent SuspenseSince the component is no longer statically imported we need to display something while it s dynamically loading For that we use React s lt Suspense gt boundary In the example below you ll see we are displaying some fallback UI while the component is being loaded lt Suspense fallback lt div gt Loading lt div gt gt lt MyLazyComponent gt lt Suspense gt Show me the codeHere s a full example of how we can use a combination of dynamic imports React lazy and React Router to achieve route based code splitting import lazy Suspense from react import BrowserRouter as Router Switch Route Link from react router dom These components will only be loaded when they re actually rendered const Home lazy gt import components Home const About lazy gt import components About const Contact lazy gt import components Contact function App return lt Router gt lt nav gt lt ul gt lt li gt lt Link to gt Home lt Link gt lt li gt lt li gt lt Link to about gt About lt Link gt lt li gt lt li gt lt Link to contact gt Contact lt Link gt lt li gt lt ul gt lt nav gt lt Suspense fallback lt div gt Loading lt div gt gt lt Switch gt lt Route path about gt lt About gt lt Route gt lt Route path contact gt lt Contact gt lt Route gt lt Route path gt lt Home gt lt Route gt lt Switch gt lt Suspense gt lt Router gt export default App Code splitting using bundlersModern bundlers have built in support for code splitting to enable efficient loading of modules What often happens is when a bundler comes across a dynamic import within your app it automatically creates a separate chunk javascript file which can be loaded later This way it s not bundled within your main bundle file and hence improving the initial load time of your app Final thoughtsAs you can see code splitting has the potential to give us big performance improvements However it s important not to become too obsessed with it as like most performance related features it also adds complexity so only use it where it makes sense This is why it s often a great first step to only use it for routes and take it from there Want to see more I mainly write about real tech topics I face in my everyday life as a Frontend Developer If this appeals to you then feel free to follow me on Twitter Bye for now |
2023-08-04 13:31:28 |
海外TECH |
DEV Community |
How to Create an Engaging Drag and Drop Experience With JavaScript |
https://dev.to/aagamezl/how-to-create-an-engaging-drag-and-drop-experience-with-javascript-mp7
|
How to Create an Engaging Drag and Drop Experience With JavaScript How to Create an Engaging Drag and Drop Experience With JavaScriptEstimated Read Time minDrag and drop functionality is a powerful tool that significantly enhances user interactions on the web From rearranging to do lists and file uploads to interactive dashboards it provides a smooth and engaging user experience In this tutorial we ll learn how to implement a simple drag and drop feature for a list of items using JavaScript By the end you ll have a better understanding of how drag and drop works and how to make it visually appealing and user friendly Setting Up the HTMLLet s start by creating the HTML structure for our drag and drop list To make an element draggable we can set its draggable attribute to true For our list items we ll set this attribute to enable reordering Here s the basic HTML structure lt DOCTYPE html gt lt html lang en gt lt head gt lt meta charset UTF gt lt meta name viewport content width device width initial scale gt lt title gt Drag and Drop Tutorial lt title gt lt style gt CSS styles will be added later lt style gt lt head gt lt body gt lt h gt Drag and Drop Tutorial lt h gt lt div class list container gt lt ul class draggable list gt lt li class draggable list item draggable true gt Item lt li gt lt li class draggable list item draggable true gt Item lt li gt lt li class draggable list item draggable true gt Item lt li gt lt li class draggable list item draggable true gt Item lt li gt lt li class draggable list item draggable true gt Item lt li gt lt ul gt lt div gt lt script src script js gt lt script gt lt body gt lt html gt Styling the ElementsWhile not strictly necessary styling the elements enhances the visual appeal of our drag and drop list It also provides important visual cues to users Here s the CSS to style our list body font family sans serif margin px text align center h margin bottom px list container display inline block border px solid ccc padding px width vw ul draggable list list style none padding ul draggable list li background color dbef Pastel Blue cursor grab Cursor style indicates draggable element margin bottom px padding px transition background color s Smooth transition on hover ul draggable list li hover background color cdea Lighter shade of Pastel Blue on hover CSS styles for the dragging effect dragging opacity cursor grabbing The CSS styles apply a clean and modern look to the list The cursor grab property on list items changes the cursor to indicate that the items are draggable offering a visual cue to the user The transition on hover adds a subtle effect when the user hovers over a list item Implementing Drag and DropNow let s dive into the JavaScript code to implement the drag and drop functionality Drag and drop is event driven and there are three key events we need to handle dragstart dragover and drop Each event plays a critical role in the drag and drop process const handleDragStart e gt const target e target target classList add dragging e dataTransfer setData text plain target innerHTML const handleDragOver e gt e preventDefault const target e target if target classList contains draggable list item const container target parentNode const y e clientY target getBoundingClientRect top const height target offsetHeight const draggedItem document querySelector dragging if y gt height container insertBefore draggedItem target nextSibling else container insertBefore draggedItem target const handleDrop e gt e preventDefault const target e target const draggedItem document querySelector dragging if target classList contains draggable list item const container target parentNode const isFirstItem target container firstElementChild const draggedItem document querySelector dragging if target draggedItem if isFirstItem container insertBefore draggedItem target else if target container lastElementChild container appendChild draggedItem else container insertBefore draggedItem target nextSibling draggedItem classList remove dragging const handleDragEnd e gt const target e target target classList remove dragging const listItems document querySelectorAll draggable list item listItems forEach item gt item addEventListener dragstart handleDragStart item addEventListener dragover handleDragOver item addEventListener drop handleDrop item addEventListener dragend handleDragEnd Let s break down the code for each event handleDragStart EventThe dragstart event fires when the user starts dragging an element In this event we add a CSS class dragging to the dragged item to visually indicate that it s being dragged We also set the data to be transferred during the drag operation using e dataTransfer setData In this case we re setting plain text data to the inner content of the dragged element handleDragOver EventThe dragover event fires for every element the dragged item is dragged over To allow drop on a specific element we need to prevent the default behavior which is to disallow dropping We also set the e dataTransfer dropEffect to move to show that the dragged item can be moved handleDrop EventThe drop event fires when the dragged item is dropped on a valid drop target Here we prevent the default behavior and rearrange the list items using insertBefore method We place the dragged item after the target element in the list Finally we remove the dragging class from the dragged item to reset its visual appearance Enhancing the User ExperienceFor an even better user experience we can add a subtle opacity effect on the dragged element giving it a ghostly appearance We do this via the dragging CSS class in the handleDragStart and handleDragEnd functions const handleDragStart e gt const target e target target classList add dragging e dataTransfer setData text plain target innerHTML const handleDragEnd e gt const target e target target classList remove dragging In the handleDragStart function we add the dragging CSS class to the dragged element creating the ghostly effect In the handleDragEnd function we remove the dragging CSS class making the element fully visible again after dragging ConclusionCongratulations You ve now implemented a captivating drag and drop functionality using JavaScript By understanding the dragstart dragover and drop events you ve unlocked the potential to create various interactive features in your web applications Additionally by incorporating subtle CSS effects like the ghostly opacity you ve improved the overall user experience Experiment further with drag and drop interactions and you ll be able to build more sophisticated features for your web applications such as dynamic dashboards Kanban boards and collaborative tools The possibilities are endless and with drag and drop you can provide a more intuitive and enjoyable user experience for your visitors Happy coding If you have any questions or need further assistance please let me know in the comments section below or message me at Twitter or LinkedIn |
2023-08-04 13:29:55 |
海外TECH |
DEV Community |
Animation Component with Compose |
https://dev.to/marialuizacs/animation-component-with-compose-132g
|
Animation Component with ComposeHello amazing person of the internet Hope you re doing well As users become increasingly accustomed to fluid animations and intuitive interactions incorporating animation into your app has become a pivotal element for success Animate AsStateThis API should be used when animating State changes Let s see how we can do this in practice You just need to declare your variable as animate AsState In my case I am going to animate a color I am simply setting a color with the color variable and the backgroundColor that we are going to use is declared using animateColorAsState which takes the color as a parameter Now let s create two buttons and upon clicking them we will set another value to the color variable You are going to see something like that Animating Content SizeExpanding the content of a component is not a surprise to us but you can make it even prettier by adding some animation You just need to add animateContentSize to the modifier of your cardHere is my card without any animation It simply expands when you click on it To animate I am going to call the animateContentSize on the modifier s column Animating VisibilityI love how it s easy to create animated views with Jetpack Compose Have you ever wondered how to animate elements when scrolling through a list Let s do this First things first I am going to create a lazy column list If you don t know how to develop this just check out my article about list and grid layouts To create animated visibility we can utilize The AnimatedVisibility method This method triggers the animation component each time the associated Boolean value changes I m going to animate two components a floating action bar and a text Let s create a function responsible for animating each of these views visible Set this to determine if the animation should occur or not exit Use it to control how the animation occurs when the component is disappearing enter Use it to control how the animation occurs when the component is appearing Now let s call those functions in our main activity using the scaffold methods First the floating action button Now let s refer to the animated text in the content parameter Last but not least let s call the list ConclusionThere are many other animations you can create with Compose If you all are interested I can demonstrate and provide those customization integrating animation directly into Compose it simplifies the process and optimizes performance Embracing this technology opens up a world of creative possibilities and enhances the user experience ensuring a promising future for Android UI development All the code and exemple it is on this repository Happy coding Please let me know what you think in the comments…Connect with me LinkedinGitHubInstagramMedium |
2023-08-04 13:11:38 |
海外TECH |
DEV Community |
How Profile Enrichment can boost your product |
https://dev.to/bobur/how-profile-enrichment-can-boost-your-product-1nk0
|
How Profile Enrichment can boost your productSometimes your business may need more details about your users than what they provide when they first sign up or log in But how do you get these details It wouldn t be good to keep asking your users for the same information every time they log in as that would make their experience less enjoyable Also it s not practical or efficient for someone in your company to search for and add extra information to each user s profile manually In such cases the Profile Enrichment method can help in finding and adding information that is publicly available to a user s profile In this post we ll explore how enriching user profiles work their benefits and how you can enable it using Authgear to boost your product usage by understanding who your customers are What is Profile Enrichment Profile enrichment as the name suggests means making your current customer data better by adding more details from outside sources It s all about bringing in extra information about your customers from other places and mixing it with the basic data you already have For example when a user logs in or during the sign up process you can request public Geolocation API to capture more information about the user s country city or time zone by using their IP address Boosting product value with Profile EnrichmentThere are a lot of benefits of using profile enrichment practice here are some of them you might think of Personalization Personalization is more than just a trend it s a necessity in the current business environment For instance if you know your customer s job titles or the industry they work in you can create hyper personalized communication and experiences that speak directly to their needs and interests Increased Customer Engagement Profile enrichment provides deeper insights into user behaviors preferences and lifestyles These insights can then be used to create strategies that will increase user engagement This might include sending personalized emails displaying relevant product recommendations or designing user interface enhancements based on user behaviors and preferences Better Segmentation With enriched user profiles segmentation becomes more accurate and insightful Companies can segment users based on their demographic information behavior interests or preferences This enhanced segmentation can lead to more effective marketing campaigns improved user experience and ultimately higher conversion rates Improved Customer Retention Understanding your customer is key to retaining them Profile enrichment offers a deeper understanding of your users allowing you to proactively address issues predict future behavior and offer products or services tailored to their needs leading to increased customer satisfaction and loyalty How to enable profile enrichment with Authgear For profile enrichment with Authgear you create a Hook that could call an external API such as FullContact and Clearbit to grab some data and then put any extra information into the User Profile that every user gets when they sign up through Authgear You could also integrate that data with the profile custom attributes of existing users who are logging in but are missing that information Hooks are snippets of code in JavaScript TypeScript that run at specific Events in the identity workflow such as when the user logs in or signs up for an account or updates their profile a new event is triggered By default Authgear has standard attributes which contain basic info such as name email and timestamp of the user s latest login in pre defined attributes of OIDC specification See the full list of attributes here You can access user profiles in different ways and you add new attributes to the custom attributes section both in the Auhtgear and programmatically using Hooks Example of profile enrichment with AuthgearSuppose you wanted to gather more detailed information about your users than the basic details they gave when they first registered for their accounts In this case you could use a Hook This Hook could activate right after a user creates an account using user pre create event and it would link to location data APIs to collect more demographic data about them city country and timezone This Hook would then put this extra information into the user s profile custom attributes Here are easy steps on how to achieve this Step Make sure that you have an Authgear account If you don t have one you can create it for free on the Authgear website Start by logging into your Authgear dashboard This is your command center for managing authentication for your apps Step Go to User Profile →Custom Attributes page Step Add new attributes there namely city name and timezone Step Navigate to your Authgear Dashboard s Advanced gt Hooks section Step Add a new Blocking Event Step Choose the Block Hook Type as the TypeSctipt and set the Event option to User pre create You will write a new Typescript function from scratch Step Click on Edit Script under the Config option Step Write a function logic for how you integrate any external API to populate custom attributes into the editor For example export default async function e EventUserPreCreate Promise lt HookResponse gt API Key for IP Geolocation const apiKey MY API KEY Any random IP address const ipAddress Fetch data from the IP Geolocation API const response await fetch apiKey amp ip ipAddress const data await response json return is allowed true mutations user custom attributes city data city country data country name timezone data time zone name Step Now if you navigate to User Management and Add a new userStep After the user is created you should able to see custom attributes values have been updated for the user Progressive ProfilingAsking for too much information all at once can overwhelm users Progressive profiling is another smart way to learn more about your customers Rather than bombarding your users with lots of questions when they first sign up you simply ask them a couple of questions each time they log in or update their user profile Using progressive profiling with Authgear makes things better for your users by making sign up forms shorter not asking the same questions over and over gathering more useful information and helping more users complete sign up SummaryProfile Enrichment when used effectively can offer significant benefits to businesses It enables deeper connections with customers leading to improved user experiences more effective marketing and increased customer loyalty Related resourcesAuthentication as a Service What Is It and Why You Need ItFrictionless Authentication What Is It amp How To Implement It Recommended contentSimplifying Authentication Integration For Developers With Authgear SDKsSocial Login Why You Should Implement It Community Join the Authgear Community on Discord Follow on Twitter Ask questions Check out open source SDKs About the authorVisit my blog www iambobur com |
2023-08-04 13:05:37 |
海外TECH |
Engadget |
The best budget wireless earbuds for 2023 |
https://www.engadget.com/best-budget-wireless-earbuds-130028735.html?src=rss
|
The best budget wireless earbuds for While the absolute best true wireless earbuds tend to cost between and the market has matured to the point where it s possible to get something good enough without spending triple digits Yes you ll still find lots of junk in the bargain bin but with each passing year we re seeing more earbuds that offer pleasing sound quality solid battery life and extensive feature sets without putting a heavy burden on your wallet To help those on a budget we researched and tested a range of true wireless earbuds that cost less than These are the ones we found to offer the best value Best for most Anker Soundcore Space AThe Anker Soundcore Space A are often available for but offer the kind of performance and features you d see from earphones that cost twice as much Their little round earpieces are light and evenly balanced so they shouldn t be a pain for most to wear for hours at a time The default sound profile is good enough It s warm with a bump in the upper bass and a dip in the treble that can dull some finer details but sounds pleasant on the whole Unlike many cheaper headphones it doesn t completely blow out the low end As with many modern pairs you can tweak the sound with custom EQ tools in the Soundcore app Using these won t make the Space A sound as nice as the best wireless earbuds on the market but it can give them a touch more deep bass or high frequency emphasis The app in general is easy to use and it saves any changes you make directly to the earphones The Space A s best feature is their active noise cancellation ANC which is outstanding for the money It won t totally block out higher pitched sounds but it s plenty effective at muting the rumbles of a train or jet engine By default Anker uses an adaptive ANC system that automatically tweaks the intensity based on your surroundings though you can manually set it to strong moderate or weak levels too That s great for those with sensitive ears There s also a transparency mode which isn t nearly as good as what you d find on a high end pair like the AirPods Pro but works in a pinch Most of the little touches you d want from a modern set of headphones are here as well The Space A can connect to two devices simultaneously and you can use one earbud on its own Battery life is solid at eight ish hours per charge while the included case can supply another or so hours and supports wireless charging The IPX water resistance rating isn t anything special but still means the earphones can survive light rain and everyday sweat The touch control scheme can feel somewhat busy as it lets you assign up to six different shortcuts to different taps and long presses and effectively forces you to omit a function or two but it works reliably We ve had no real connection issues either The only major shortcomings are the mic quality and the lack of auto pausing when you remove an earbud The former doesn t handle sibilant sounds very well and can lose your voice in particularly noisy areas so this isn t the best option for phone calls but it s usable Bluetooth vActive noise cancellation YesTransparency mode YesCustom EQ YesCharging port USB CWireless charging YesWater resistance IPXMultipoint connectivity Yes devices Auto pause NoBattery life rated hrs hrs w caseFast charging rated mins hrsCodecs SBC AAC LDACWarranty monthsRunner up EarFun Air Pro The EarFun Air Pro are a commendable alternative to the Space A if you see them on sale or if you prefer an AirPods style “stem design Like the Space A they come with ANC a transparency mode a relatively stable fit a pocketable case that supports Qi wireless charging and the ability to connect to two devices at once Battery life is slightly worse closer to six or seven hours than eight but it s not bad Their IPX water resistance rating is a touch better as is their built in mic The Air Pro sounds decent too By default they have an excited V shaped EQ curve with intense bass and a noticeable spike in the treble Some might enjoy this as it gives EDM and pop a good sense of thump but others might find it fatiguing and it can make higher frequencies sound a hair too sharp The Space A s sound isn t exactly balanced but it should be a little more agreeable for most You can still rein in and personalize the sound with a less flexible custom EQ tool in the EarFun app though Likewise the Air Pro s active noise cancellation is serviceable in most cases but it s a half step behind the Space A and isn t customizable Plus while the design is generally comfortable for extended listening it s bulkier than our top pick On the plus side the touch controls are slightly more extensive as you can triple tap each earbud to access additional shortcuts Bluetooth vActive noise cancellation YesTransparency mode YesCustom EQ YesCharging port USB CWireless charging YesWater resistance IPXMultipoint connectivity Yes devices Auto pause NoBattery life rated hrs w ANC on hrs w ANC off hrs w caseFast charging rated mins hrsCodecs SBC AAC LC aptX adaptiveWarranty monthsBest under EarFun Free SIf you don t want to spend more than on a set of true wireless earbuds consider the Earfun Free S Like the Air Pro it has a big bass response and a smaller bump in the treble It misses details in the mids and can get fatiguing over extended periods but it s a richer example of this kind of “fun sound signature than most pairs in this price range You can adjust the sound through EarFun s app as well though there s still fewer EQ presets to choose from than with the Soundcore Space A The earpieces themselves are well shaped and not oversized combined with their soft silicone ear tips they should be comfortable for most to wear over long periods of time An IPX rating means they re fully waterproof too There s a suite of reliable touch controls and battery life sits at around seven hours The included case adds another or so hours and supports wireless charging too It s not the smallest case we ve used but it s not so large that it can t fit in a pocket either That said you start to run into more “you get what you pay for situations once you drop into this price range In addition to not sounding quite as sharp as our pricier picks the Free S lack active noise cancellation multi device connectivity auto pausing and a transparency mode And though their mic quality is decent in most cases it s pretty susceptible to wind noise Bluetooth vActive noise cancellation NoTransparency mode NoCustom EQ YesCharging port USB CWireless charging YesWater resistance IPXMultipoint connectivity NoAuto pause NoBattery life rated hrs hrs w caseFast charging rated mins hrsCodecs SBC AAC aptXWarranty monthsBest for workouts Jabra Elite The Jabra Elite are a couple of years old but since they re frequently on sale in the to range they re still worth a look They re particularly useful for workouts as their compact design should be snug yet comfortable for most What s more they don t require any bulky wing stabilizers or over ear hooks They also have an IP water resistance rating which should be enough to withstand most gym sessions As with most earbuds you should give them a light cleaning between workouts Plus they use physical buttons instead of touch controls When you re on the move having that immediate tactile feedback is more reliable for quickly changing tracks or adjusting volume The Elite still sound better than most pairs in this price range too As noted in our review the Elite s signature is balanced enough for most music with a slight but not overbearing bass boost that gives tracks a nice sense of body By default it sounds a bit better than both the Space A and the Air Pro The treble is more present than the former and the bass is less boomy than the latter It s more measured than the Free S as well so if you see the Elite on sale for around it s the pair to get Similar to our other top picks you can also customize the Elite s EQ through the Jabra Sound app Where the Elite falls short is in all the other stuff There s no active noise cancellation no wireless charging no multipoint connectivity and no auto pausing And while there is a transparency mode the effect is so meager that you re better off just removing the earpieces entirely The seven ish hours of battery life is solid however and you can use a single earbud at a time if needed Call quality is acceptable as well though not a standout feature You could also consider the Elite which launched in March nbsp and feature both ANC and multipoint connectivity At though most budget conscious buyers are better off with the Space A Bluetooth vActive noise cancellation NoTransparency mode YesCustom EQ YesCharging port USB CWireless charging NoWater resistance IPMultipoint connectivity NoAuto pause NoBattery life tested hrs hrs w caseFast charging rated mins hrCodecs SBC aptXWarranty years w Sound app registration Best for an open design Amazon Echo Buds All of our picks so far are technically earphones meaning they extend into your ear canal For many people that is inherently uncomfortable Unfortunately the market for decent yet affordable “earbuds which rest on the concha instead of going all the way in your ear is spotty If you can t bring yourself to pay for a pair of AirPods though the Amazon Echo Buds are a worthy compromise at The plastic earpieces here aren t exactly premium but they rest lightly in the ear and feel sturdily put together They let in and leak noise more easily than in ear headphones but if you prefer open earbuds that s a feature rather than a bug If the fit doesn t feel right you can shed a little bulk by removing the pre installed silicone covers Like most open earbuds though comfort here is dependent on your ear shape Mic quality is more than adequate and the circular touch panels give ample room for using the controls which are customizable and consistently responsive Battery life sits around nbsp five hours which is middling but not out of character for budget earbuds nbsp The pocket friendly case adds about three full charges but it s worth noting that Amazon doesn t include a USB C charging cable A poor IPX water resistance rating means you should avoid the gym too While the Echo Buds sound fine out of the box I d use the EQ sliders in the Alexa app to bring down the treble a click or two By default the highs are a bit too edgy That said this emphasis lends a nice crispness to things like vocals cymbals and strings and there s enough separation to keep complex tracks from sounding totally muddled The profile here isn t as full bodied as the latest AirPods and no open earbuds deliver true sub bass but there s at least some rumble for hip hop and EDM Unlike many cheap earbuds the Echo Buds support auto pausing and multipoint I often had to manually pause playback on one device before I could switch to the other but having the feature at all at this price is great Unsurprisingly they also come with Alexa baked in which you can access hands free You manage the Echo Buds through the Alexa app which is much more cluttered than a dedicated audio app but includes extras like a lost device tracker and sidetone control for phone calls And if you want nothing to do with Alexa it also lets you turn off the mics and wake word support Bluetooth vActive noise cancellation NoTransparency mode NoCustom EQ YesCharging port USB CWireless charging NoWater resistance IPXMultipoint connectivity Yes devices Auto pause YesBattery life rated hrs hrs w wake word off hrs w caseFast charging mins hrsCodecs SBC AAC aptXWarranty yearHonorable mentionsJLab Go Air PopIf you just want a competent pair of wireless earbuds for as little money as possible take a look at the JLab Go Air Pop For they have a light design with decent isolation plus eight to nine hours of battery life IPX water resistance and a full set of touch controls that actually work JLab even lets you swap between three EQ presets from the buds themselves It s still worth upgrading to the EarFun Free S if you can afford it as the Go Air Pop sounds boomier by comparison and isn t as clear in the treble and upper mids There s no app support either But for expect trade offs like this QCY T AilyPodsIf you want the cheapest acceptable pair of open earbuds meanwhile get the QCY T AilyPods They are an unabashed rip off of the third gen AirPods from a relatively obscure Chinese brand but they cost and their pleasingly smooth sound is arguably better than the Echo Buds out of the box They have a higher IPX water resistance rating too There s no auto pausing or multipoint however and their touch controls border on unusable The Echo Buds sound is also easier to tidy up as the handful of EQ presets in the QCY app actually make things worse Nothing Ear StickThe Nothing Ear Stick have a fashionable transparent design and a case that looks like a big clear tube of lipstick To access the earbuds you just twist the case which is always fun The earpieces feel sturdy and polished with responsive controls built around AirPods style stem squeezes Audio quality isn t bad either though the treble is a little shouty by default The main problem is that these are unsealed earbuds that cost That s still under our “budget threshold but it s a little too close to AirPods territory for a pair with far fewer software tricks to make up for the sound sacrifices inherent to this design If you re particular about aesthetics and must have open earbuds then the Ear Stick are a good take on the idea Most others are better off with the Space A This article originally appeared on Engadget at |
2023-08-04 13:30:04 |
海外TECH |
Engadget |
Sony's WH-XB910 ANC headphones fall to a new all-time low |
https://www.engadget.com/sonys-wh-xb910-anc-headphones-fall-to-a-new-all-time-low-131556093.html?src=rss
|
Sony x s WH XB ANC headphones fall to a new all time lowIf you ve got a trip coming up to close out the summer and are dreading the idea of hearing a crying baby or loud group the whole way there then you re in luck Sony s WH XBN Extra Bass Noise Cancelling headphones in Black are currently at an all time low price of down from Yes a wonderfully large percent discount means you can block out fellow travelers or even your family at home and have enough money left over for an upgrade or to buy a second as a gift The cheapest we ve seen them previously is so it s a significant drop Just be aware that the discount appears to only show up for certain accounts some may see a discounted price of instead Sony s WH XBN ANC headphones are a solid option ーespecially at this price point ーthat provide you with nice mid and high range sounds great noise canceling and a respectable hours of battery life If you forget to juice them up a minute charge will give you a solid four and a half hours The WH XBN headphones are also equipped with a powerful bass Alexa and Google Assistant voice control support and Sony s Reality Audio which works with streaming services like Amazon Music HD nbsp If you re on the go and want to be a bit more aware of your surroundings the headphones have an ambient setting that will give you a bit more perception Plus they can amplify your voice if you pass down a busy street while on a call Once you re done just tuck them into the included carrying case and off you go nbsp Follow EngadgetDeals on Twitter and subscribe to the Engadget Deals newsletter for the latest tech deals and buying advice This article originally appeared on Engadget at |
2023-08-04 13:15:56 |
海外TECH |
Engadget |
Will AI revolutionize professional soccer recruitment? |
https://www.engadget.com/will-ai-revolutionize-professional-soccer-recruitment-130045118.html?src=rss
|
Will AI revolutionize professional soccer recruitment When Major League Soccer MLS announced plans to deploy AI powered tools in its recruiting program starting at the tail end of this year the eyebrows of skeptics were raised The MLS will be working with London based startup ai io and its aiScout app to help the league discover amateur players around the world This unprecedented collaboration is the first time the MLS will use artificial intelligence in its previously gatekept recruiting program forcing many soccer enthusiasts and AI fans to reckon with the question has artificial intelligence finally entered the mainstream in the professional soccer industry There is no doubt that professional sports have been primed for the potential impact of artificial intelligence Innovations have the potential to transform the way we consume and analyze games from both an administrative and fan standpoint For soccer specifically there are opportunities for live game analytics match outcome modeling ball tracking player recruitment and even injury predicting ーthe opportunities are seemingly endless quot I think that we re at the beginning of a tremendously sophisticated use of AI and advanced analytics to understand and predict human behaviors quot Joel Shapiro Northwestern University professor at the Kellogg School of Management said Amid the wave some experts believe the disruption of the professional soccer industry by AI is timely It s no secret that soccer is the most commonly played sport in the world With million registered players globally and billions of fans FIFA is currently made up of member associations with over clubs according to the Library of Congress Just days into the game tournament FIFA officials said that the Women s World Cup in Australia and New Zealand had already broken attendance records Visionhaus via Getty ImagesThe need for more players and more talent taking on the big stage has kept college recruiting organizations like Sports Recruiting USA SRUSA busy quot We ve got staff all over the world predominantly in the US …everyone is always looking for players quot Chris Cousins the founder and head of operations at SRUSA said Cousins said he is personally excited about the potential impact of artificial intelligence on his company and in fact he is not threatened by the implementation of predictive analysis impacting SRUSA s bottom line quot It probably will replace scouts quot Cousins said but at the same time he said he believes the deployment of AI will make things more efficient quot It will basically streamline resources …which will save organizations money quot Cousins shared that SRUSA has already started dabbling with AI even if only in a modest way It collaborated with a company called Veo that deploys drones that follow players and collect video for scouts to analyze later nbsp Luis Cortell senior recruiting coach for men s soccer for NCSA College Recruiting is a little less bullish but still believes AI can be an asset “Right now soccer involves more of a feel for the player and an understanding of the game and there aren t any success metrics for college performance While AI won t fully fill that gap there is an opportunity to help provide additional context View this post on InstagramA post shared by aiScout aiscout app At the same time people in the industry should be wary of idealizing AI as a godsend quot People expect AI to be amazing to not make errors or if it makes errors it makes errors rarely quot Shapiro said The fact is predictive models will always make mistakes but both researchers and investors alike want to make sure that AI innovations in the space can make quot fewer errors and less expensive errors quot than the ones made by human beings But ultimately Shapiro agrees with Cousins He believes artificial intelligence will replace some payrolls for sure quot Might it replace talent scouts Absolutely quot he said However the ultimate decision makers of how resources are being used will probably not be replaced by AI for some time Contrary to both perspectives Richard Felton Thomas director of sports sciences and chief operating officer at ai io said the technology being developed and used by the MLS will not replace scouts “Scouts are super important to the mentality side the personality side you ve still got to watch humans behave in their sporting arena to really talent ID them Photo by Rob HartWhen the aiScout app launches in the coming weeks and is used by the MLS later this year players will be able to take videos of themselves performing specific drills Those will then be uploaded and linked to the scout version of the app where talent recruiters working for specific teams can discover players based on whatever criteria they choose For example a scout could look for a goalie with a specific height and kick score Think of it as a cross between a social media website and a search engine Once a selection is made a scout would determine whether or not they should go watch a player in person before making any final recruitment decisions Felton Thomas explained “The main AI actually happens less around the scoring and more around the video processing and the video tracking Felton Thomas said “Sport happens at frames per second type speeds right So you can t just have any old tracking model It will not track the human fast enough The AI algorithms that have been developed to analyze video content can translate human movements into what makes up a player s overall performance metrics and capabilities nbsp Getty ImagesThese performance metrics can include biographical data video highlights and club specific benchmarks that can be made by recruiters The company said in a statement that the platform s AI technology is also able to score and compare the individual players “technical athletic cognitive and psychometric ability Additionally the AI can generate feedback based on benchmarked ratings from the range of the club trials available The FIFA Innovation Programme the experimental arm of the association that tests and engages with new products that want to enter the professional soccer market reported that ai io s AI powered tools demonstrate a percent accuracy level when compared to current gold standards Beyond the practical applications of AI powered tools to streamline some processes at SRUSA Cousins said that he recognizes a lot of the talent recruitment process is “very opinion based quot and informed by potential bias ai io s talent recruitment app because it is accessible to any player with a smartphone broadens the MLS reach to disadvantaged populations The larger goal is that aiScout will potentially disrupt bias from continuing to play a huge role in who gets what opportunity or at least in the pre screening process Now a scout can make the call to see a player in real life based on objective data related to how a player can perform physically “The clubs are starting to realize we can t just rely on someone s opinion Felton Thomas said Of course it s not an end all be all for bias considering preferential humans are the ones coding the AI There is no complete expunging of favoritism from the equation but it is one step in the right direction aiScout could open doors for players from remote or disadvantaged communities that don t necessarily have the means or opportunity to be seen by scouts in cups and tournaments quot Somebody super far in Alaska or Texas or whatever who can t afford to play for a big club may never get seen by the right people but with this platform there boom They re going straight to the eyes of the right people quot Cousins said about ai io s app View this post on InstagramA post shared by SRUSA College Soccer Recruiting Agency sportsrecruitingusa The MLS wrote in a statement that ai io s technology quot eliminates barriers like cost geography and time commitment that traditionally limit the accessibility of talent discovery programs quot Felton Thomas said it is more important to understand that ai io will “democratize the recruiting process for the MLS ensuring physical skills are the most important metric when leagues and clubs are deciding where to invest their money “What we re looking to do is give the clubs a higher confidence level when they re making these decisions on who to sign and who to watch By implementing the AI powered app recruitment timelines are also expected to be cut Silvia Ferrari professor of mechanical and aerospace engineering at Cornell and Associate Dean for cross campus engineering research who runs the university s Laboratory for Intelligent Systems and Controls said she couldn t agree more AI has the potential to complement the expertise of recruiters while also helping quot eliminate the bias that sometimes coaches might have for a particular player or a particular team Ferrari said Adjacent to this subject algorithms developed in Ferrari s lab can accurately predict the in game actions of volleyball players with more than accuracy Now the lab which has been working on AI powered predictive tools for the past three years is collaborating with Cornell s Big Red men s ice hockey team to expand the project s applications Ferrari and her team have trained the algorithm to extract data from videos of games and then use that to make predictions about game stats and player performance when shown a new set of data LISC lab quot I think what we re doing is like very easily applicable to soccer quot Ferrari said She said the only reason her lab is not focused on soccer is because the fields are so large that her team s cameras could not always deliver easily analyzed recordings There is also the struggle with predicting trajectory and tracking the players she explained However she said in hockey the challenges are similar enough but because there are fewer players and the fields are smaller so the variables are more manageable to tackle While the focus at Ferrari s lab may not be soccer she is convinced that research in the predictive AI space has made it “so much more promising to develop AI in sports and made the progress much faster quot The algorithms developed by Ferrari s lab have been able to help teams analyze different strategies and therefore help coaches identify the strengths and weaknesses of particular players and opponents “I think we re making very fast progress quot Ferrari said LISC labThe next areas Ferrari plans to try to apply her lab s research to include scuba diving and skydiving However Ferrari admits there are some technical barriers that need to be overcome by researchers quot The current challenge is real time analytics quot she said A lot of that challenge is based on the fact that the technology is only capable of making predictions based on historical data Meaning if there is a shortage of historical data there is a limit to what the tech can predict Beyond technical limitations Felton Thomas said implementing AI in the real world is expensive and without the right partnerships like the ones made with Intel and AWS it would not have been possible fiscally Felton Thomas said ai io expects “tens of millions of users over the next couple of years And the company attributes that expected growth to partnerships with the right clubs like Chelsea FC and Burnley FC in the UK and the MLS in the United States And while aiScout was initially designed for soccer the company touts that its core functionalities can be adapted for use in other sports LISC labBut despite ai io s projections for growth and all the buzz around AI the technology is still a long way from being fully trusted From a technology standpoint Ferrari said “there s still a lot of work to be done and a lot of the need for improvement is not just based on problems with feeding algorithms historical data Predictive models need to be smart enough to adapt to the ever changing variables in the current On top of that public skepticism of artificial intelligence is still rampant in the mainstream let alone in soccer “If the sport changes a little bit if the way in which players are used changes a little bit if treatment plans for mid career athletes change whatever it is all of a sudden our predictions are less likely to be good Shapiro said But he s confident that the current models will prove valuable and informative At least for a little while This article originally appeared on Engadget at |
2023-08-04 13:00:45 |
海外科学 |
NYT > Science |
After Ukraine’s Kakhovka Dam Disaster, a Hunt for Ancient Treasures |
https://www.nytimes.com/2023/08/04/world/europe/ukraine-kakhovka-dam-artifacts.html
|
After Ukraine s Kakhovka Dam Disaster a Hunt for Ancient TreasuresAfter the Kakhovka dam was blown up in June the reservoir above it quickly drained revealing a bonanza of artifacts that has electrified Ukrainian archaeologists |
2023-08-04 13:33:19 |
金融 |
ニュース - 保険市場TIMES |
SBI生命、ARUHI新住宅ローンに「全疾病保障付団信」提供開始 |
https://www.hokende.com/news/blog/entry/2023/08/04/230000
|
|
2023-08-04 23:00:00 |
ニュース |
BBC News - Home |
UK Scouts pulled out of camp after S Korea heatwave |
https://www.bbc.co.uk/news/uk-66407392?at_medium=RSS&at_campaign=KARANGA
|
korea |
2023-08-04 13:44:01 |
ニュース |
BBC News - Home |
Commonwealth Games: Will there be another event after Alberta and Victoria withdrawals? |
https://www.bbc.co.uk/sport/commonwealth-games/66405359?at_medium=RSS&at_campaign=KARANGA
|
Commonwealth Games Will there be another event after Alberta and Victoria withdrawals The Commonwealth Games is in crisis seeking hosts for the and editions after Victoria and Alberta s withdrawals So what happens next |
2023-08-04 13:50:11 |
Azure |
Azure障害情報 |
Azure Static Web Apps - High latency - Investigating |
https://status.azure.com/ja-jp/status/
|
Azure Static Web Apps High latency InvestigatingWe are currently investigating reports of high latency affecting Azure Static Web Apps customers More information will be provided as it becomes available nbsp nbsp |
2023-08-04 13:53:06 |
コメント
コメントを投稿