投稿時間:2023-08-12 21:15:23 RSSフィード2023-08-12 21:00 分まとめ(16件)

カテゴリー等 サイト名等 記事タイトル・トレンドワード等 リンクURL 頻出ワード・要約等/検索ボリューム 登録日
TECH Techable(テッカブル) 米国の“空飛ぶ車”、飛行試験で安定した空中停止に成功。事例からみるエアモビリティの動向 https://techable.jp/archives/217097 排出削減 2023-08-12 11:00:52
AWS AWSタグが付けられた新着投稿 - Qiita 【AmazonLinux2023】NTP(Chrony)とタイムゾーンの設定 https://qiita.com/NMRt/items/883296b819b4182031e4 amazon 2023-08-12 20:18:55
GCP gcpタグが付けられた新着投稿 - Qiita Terraform で GCP Cloud Run をデプロイする https://qiita.com/takengineer1216/items/40db479a49d77c07b07b cloudrun 2023-08-12 20:28:50
技術ブログ Developers.IO AWS Secrets Manager の CloudTrail イベントデータに関する変更がアナウンスされていたので、実動作を確認し EventBridge ルールを変更してみた https://dev.classmethod.jp/articles/upcoming-changes-to-cloudtrail-events-published-by-aws-secrets-manager/ traileventspublishedby 2023-08-12 11:33:07
海外TECH Ars Technica The “Shove” mechanic in Baldur’s Gate 3 can ruin an encounter, and I love it https://arstechnica.com/?p=1960409 anarchy 2023-08-12 11:07:32
海外TECH DEV Community Amazing Developer T-shirt https://dev.to/ahmed_onour/amazing-developer-t-shirt-1h5j Amazing Developer T shirtAre you a fan of great developer t shirts Do you want to support your favorite developer and show off your love for coding at the same time Here are some tips on how to promote and sell developer t shirts to your followers Evaluate where your largest audience is Before promoting your t shirts it s important to know where your largest audience is If Instagram is a prominent platform for your community follow some helpful tips to help you maximize your promotion and increase t shirt sales Post content and comment on others posts Commenting on other big accounts posts can help you get visibility on your posts especially when you re starting out You can comment to provide value ask questions or share your thoughts Use different styles of photos Make sure you have a collection of awesome Instagram worthy photos of your shirt and use different styles of photos Post on Instagram Stories to keep your supporters engaged Consider paid advertising Depending on your budget consider paid advertising While it can be costly it will increase your chances of getting noticed Choose your sales channels When you re ready to sell it s time to choose a sales channel You can host sales on your own website but online marketplaces are also an easy way to sell All of these services can be integrated with a print on demand service if that s how you re producing your t shirts Offer value to your followers Make sure to offer value to your followers whether it s through your t shirts or other content This will help you build a loyal following and increase your chances of making sales By following these tips you can promote and sell your developer t shirts to your followers and show off your love for coding at the same time Hello World T shirt Bonfire The Hello World T shirt is a stylish and comfortable way for developers The Hello World T shirt is a stylish and comfortable way for developers to show off their love bonfire com Developer T shirt Bonfire Developer T shirt Laptop coffee code Introducing the Developer T shirt Laptop coffee code the perfect addition to any programmer s wardrobe This t shirt bonfire com 2023-08-12 11:35:22
海外TECH DEV Community Backup Strategies: Preserving Data Integrity and Resilience with Regular Backups https://dev.to/documatic/backup-strategies-preserving-data-integrity-and-resilience-with-regular-backups-5839 Backup Strategies Preserving Data Integrity and Resilience with Regular Backups IntroductionData has become one of the most important things now Companies stored data and processed it to provide a better experience to their users These data can be a variety of types such as personal information authentication data or other application related data As the importance of data has increased there is also an increase in the importance of storing data Data can be stored on physical servers or any other cloud based database Sometimes there can be issues with the database such as physical damage overloading security negligence or any other incident causing a break in the normal flow of the database Such cases can take some time to get restored or many times cause permanent damage To tackle such scenarios you should have a backup of the data Backing up data is not a simple process of just having a copy of your production database It involves multiple critical methods that require to preserve the data integrity and get it running whenever required Today we will look into some data backup strategies you can implement in your data back process So let s get started Backup FrequencyBased on the data changes and criticality of the data choose how often you need to perform data backups When the data is the critical part of your application in the case of a social media based application you need to perform data backup more frequently to match the production database In many cases it is quite real time to the storing in the production database Also systems with high changes require more frequent backups to minimize loss of data in case of any adversity An ideal frequency of data backups can depend on a variety of criteria few of them can be data changes business impact criticality of data storage and bandwidth constraints and performance impact Most of the time a day data backup is enough but sometimes you require more frequently to backup the data Data RedundancyIt is a strategy to maintain different copies of backup in different storage locations In any case you do not want to lose your data if any things happen with the backup and production data you should have another copy of the backup in different locations The primary goal of data redundancy is to ensure data availability reliability and resilience in case of data loss or hardware failures It is one of the methods that are practiced by most tech giants companies and even lesser known companies This will add an extra layer of protection to the data Offsite BackupsIn the case of physical backups you should have at least one copy of backups offsite away from the primary location This safeguards data against physical damage or loss due to disasters like fires floods or theft It will also increase the copy of your backup which means having data redundancy also being covered EncryptionEncrypting the data before the backup has to be done to protect the sensitive data In any case these should be protected from unauthorized access Even if it gets unauthorized access during transit or storage these should be encrypted So that data will eventually become useless There are various methods of encryption that you can use Here are some of them AES Advanced Encryption Standard It is a widely used symmetric encryption algorithm It is known for its security and efficiency RSA Rivest Shamir Adleman It is an asymmetric encryption algorithm used for secure key exchange and digital signature TLS SSL Transport Layer Security TLS and Secure Sockets Layer SSL are cryptographic protocols Both these encryption method is used for securing data while transmitting over networks These include backup data transfer Note Symmetric encryption uses a single shared secret key to both encrypt and decrypt data While asymmetric encryption uses a pair of related keys These keys are public keys and private keys The public key is used for encryption and the Private key is used for decryption Version ControlYou should implement version control while backing up the data These will help you have different versions of the backup These will allow you to recover back to a certain version when required in case of adversity This can be very helpful if data corruption is not detected initially This will help in keeping the history of change which can be valuable for auditing and compliance Also it will help protect against loss of data due to accidental or malicious changes Versioning thus allows precise and flexible data recovery while providing historical data insights Full and Incremental BackupsFull backups involve copying all the data to the backup storage While Incremental backups involve copying the only data that has changed since the last backups Incremental backups can be the solution to a system that has fewer resources Here is a quick comparison to understand both backup methods PointsFullIncrementalBackup Sizeslarger in sizessmaller in sizesBackup Frequencyless frequent often scheduled on daily weekly or monthly basismore frequent scheduled to run on daily or multiple times a dayRestore Timerestoring data is faster as all data present in single backuprestoring data requires longer time as it first restore to last full backup and then all subsequent incrmetnal backupsThe choice between these two depends on various factors As you want to focus on performance you can choose Incremental backups while your priority lies in faster recovery of data then Full backups are the way to go But the best way is to combine both of them to strike a balance between data integrity and backup performance For example organizations may perform a full backup periodically e g weekly and supplement it with daily incremental backups to ensure comprehensive data protection and efficient use of resources Performance ImpactYou should take a look into the performance impact on the system while backing up the data Data backup operations can be resource intensive and may consume system resources such as CPU memory disk I O and network bandwidth As a result you should consider the performance impact of different kinds of backup strategies It is essential to find the best performance based strategies to back up the data There are various tips that you can use to back up the data that will help you not overload the system Here are some of them Backup Window In this method backup is only done in a particular timeframe These times are particularly chosen when the system is not at its peak Thus allowing the system to run even with low resources and backup can take place Backup Frequency As discussed earlier you should find an ideal frequency to back up the data This frequency should also depend on the resources that are available Network Impact For offsite backups or cloud backups you should be considered the network bandwidth Large backup files can cause network congestion You can look at the table for different performance impacts based on the backup strategy you choose Backup StrategyDescriptionPerfromance ImpactFull Backupinvolve copying all the data to the backup storage High resource usageIncremental Backupinvolve copying the only data that has changed since the last backupsLow resource usageOffsite Backupinvolves copying of backup away from the primary locationHigh resource usageDifferential Backupinvolves backing up of data since last last full backupHigh resource usage ConclusionImplementing effective backups is a crucial part of preserving data integrity It can help in various adversity such as potential data loss hardware failures cyberattacks or unforeseen disasters Thus having regular backups to the data will help in safeguarding critical information You can choose different backup strategies for your organization based on different criteria such as network bandwidth storage contrarians and others mentioned in the article I hope this article has helped you know various strategies for efficient and effective data backups Thanks for reading the article Image CreditsIn order of their appearance Image by FreepikImage by FreepikImage by vectorstock on FreepikImage by storyset on FreepikImage by storyset on FreepikImage by storyset on FreepikImage by Freepik 2023-08-12 11:30:00
海外TECH DEV Community 🚀 Building an Invoice PDF system with React.js , Redux and Node.js https://dev.to/idurar/building-an-invoice-pdf-system-with-reactjs-redux-and-nodejs-5g1a Building an Invoice PDF system with React js Redux and Node jsBuilding an Invoice PDF system with React js Redux and Node js can be a complex task but I m here to guide you through the process Here s a step by step tutorial on how you can create such a system Github Repository Step Set up the environmentMake sure you have Node js installed on your machine Create a new directory for your project and navigate into it using the terminal Initialize a new Node js project by running npm init Install required dependencies by running npm install react redux react redux Step Setting up the server Node js Express Create a new file called server js and set up a basic Express server Import the necessary dependencies express html pdf in the server file Define routes for generating and downloading invoices const express require express const helmet require helmet const path require path const cors require cors const cookieParser require cookie parser require dotenv config path variables env const helpers require helpers const erpApiRouter require routes erpRoutes erpApi const erpAuthRouter require routes erpRoutes erpAuth const erpDownloadRouter require routes erpRoutes erpDownloadRouter const errorHandlers require handlers errorHandlers const isValidAdminToken require controllers erpControllers authJwtController create our Express appconst app express serves up static files from the public folder Anything in public will just be served up as the file it is Takes the raw requests and turns them into usable properties on req bodyapp use helmet app use cookieParser app use express json app use express urlencoded extended true app use express static path join dirname public pass variables to our templates all requestsapp use req res next gt res locals h helpers res locals admin req admin null res locals currentPath req path const clientIP req socket remoteAddress let isLocalhost false if clientIP clientIP Connection is from localhost isLocalhost true res locals isLocalhost isLocalhost next app use function req res next if req url slice amp amp req path length gt req path req path slice req url req url slice next Here our API Routesvar corsOptionsDelegate function req callback var corsOptions const clientIP req socket remoteAddress let isLocalhost false if clientIP clientIP Connection is from localhost isLocalhost true if isLocalhost corsOptions origin credentials true else corsOptions origin true credentials true callback null corsOptions callback expects two parameters error and options app use api cors origin true credentials true erpAuthRouter app use api cors origin true credentials true isValidAdminToken erpApiRouter app use download cors erpDownloadRouter If that above routes didnt work we them and forward to error handlerapp use errorHandlers notFound Otherwise this was a really bad error we didn t expect Shoot ehif app get env development Development Error Handler Prints stack trace app use errorHandlers developmentErrors production error handlerapp use errorHandlers productionErrors done we export it so we can start the site in start jsmodule exports app Step Building the React js applicationIn the root directory of your project create a new folder called client Navigate into the client folder and run npx create react app to generate a new React js application Replace the contents of the generated src folder with your own code Create components for the invoice form invoice list and invoice detail view Use Redux to manage the state of your application including the invoice data import React from react import dayjs from dayjs import Tag from antd import InvoiceModule from modules InvoiceModule import useMoney from settings export default function Invoice const moneyRowFormatter useMoney const entity invoice const searchConfig displayLabels name surname searchFields name surname birthday const entityDisplayLabels number client company const dataTableColumns title N dataIndex number title Client dataIndex client company title Date dataIndex date render date gt return dayjs date format DD MM YYYY title Due date dataIndex expiredDate render date gt return dayjs date format DD MM YYYY title Total dataIndex total render amount gt moneyRowFormatter amount title Balance dataIndex credit render amount gt moneyRowFormatter amount title status dataIndex status render status gt let color status draft cyan status sent magenta gold return lt Tag color color gt status amp amp status toUpperCase lt Tag gt title Payment dataIndex paymentStatus render paymentStatus gt let color paymentStatus unpaid volcano paymentStatus paid green paymentStatus overdue red purple return lt Tag color color gt paymentStatus amp amp paymentStatus toUpperCase lt Tag gt const PANEL TITLE invoice const dataTableTitle invoices Lists const ADD NEW ENTITY Add new invoice const DATATABLE TITLE invoices List const ENTITY NAME invoice const CREATE ENTITY Save invoice const UPDATE ENTITY Update invoice const config entity PANEL TITLE dataTableTitle ENTITY NAME CREATE ENTITY ADD NEW ENTITY UPDATE ENTITY DATATABLE TITLE dataTableColumns searchConfig entityDisplayLabels return lt InvoiceModule config config gt Step Integrating React js with Node jsIn your React js application make HTTP requests to the server endpoints created in Step using libraries like axios or fetch When submitting the invoice form send the form data to the server and handle the creation of the PDF invoice on the server side Retrieve the generated PDF from the server and display a link or button to let users download it import React useState useEffect from react import Form Divider from antd import Button PageHeader Row Statistic Tag from antd import useSelector useDispatch from react redux import erp from redux erp actions import selectCreatedItem from redux erp selectors import useErpContext from context erp import uniqueId from utils uinqueId import Loading from components Loading import CloseCircleOutlined PlusOutlined from ant design icons function SaveForm form config let CREATE ENTITY config const handelClick gt form submit return lt Button onClick handelClick type primary icon lt PlusOutlined gt gt CREATE ENTITY lt Button gt export default function CreateItem config CreateForm let entity CREATE ENTITY config const erpContextAction useErpContext const createPanel erpContextAction const dispatch useDispatch const isLoading isSuccess useSelector selectCreatedItem const form Form useForm const subTotal setSubTotal useState const handelValuesChange changedValues values gt const items values items let subTotal if items items map item gt if item if item quantity amp amp item price let total item quantity item price sub total subTotal total setSubTotal subTotal useEffect gt if isSuccess form resetFields dispatch erp resetAction actionType create setSubTotal createPanel close dispatch erp list entity isSuccess const onSubmit fieldsValue gt if fieldsValue if fieldsValue expiredDate const newDate fieldsValue expiredDate format DD MM YYYY fieldsValue fieldsValue expiredDate newDate if fieldsValue date const newDate fieldsValue date format DD MM YYYY fieldsValue fieldsValue date newDate if fieldsValue items let newList fieldsValue items newList map item gt item total item quantity item price fieldsValue fieldsValue items newList dispatch erp create entity jsonData fieldsValue return lt gt lt PageHeader onBack gt createPanel close title CREATE ENTITY ghost false tags lt Tag color volcano gt Draft lt Tag gt subTitle This is create page extra lt Button key uniqueId onClick gt createPanel close icon lt CloseCircleOutlined gt gt Cancel lt Button gt lt SaveForm form form config config key uniqueId gt style padding px px gt lt PageHeader gt lt Divider dashed gt lt Loading isLoading isLoading gt lt Form form form layout vertical onFinish onSubmit onValuesChange handelValuesChange gt lt CreateForm subTotal subTotal gt lt Form gt lt Loading gt lt gt Step Styling and enhancing the user interfaceUtilize CSS and any CSS framework of your choice e g Ant Design to style your application Enhance the user interface with features like pagination sorting searching and filtering invoices import React useState useEffect useRef from react import dayjs from dayjs import Form Input InputNumber Button Select Divider Row Col from antd import PlusOutlined from ant design icons import DatePicker from components CustomAntd import AutoCompleteAsync from components AutoCompleteAsync import ItemRow from components ErpPanel ItemRow import MoneyInputFormItem from components MoneyInputFormItem export default function InvoiceForm subTotal current null const total setTotal useState const taxRate setTaxRate useState const taxTotal setTaxTotal useState const currentYear setCurrentYear useState gt new Date getFullYear const handelTaxChange value gt setTaxRate value useEffect gt if current const taxRate year current setTaxRate taxRate setCurrentYear year current useEffect gt const currentTotal subTotal taxRate subTotal setTaxTotal subTotal taxRate toFixed setTotal currentTotal toFixed subTotal taxRate const addField useRef false useEffect gt addField current click return lt gt lt Row gutter gt lt Col className gutter row span gt lt Form Item name client label Client rules required true message Please input your client gt lt AutoCompleteAsync entity client displayLabels company searchFields company managerSurname managerName onUpdateValue autoCompleteUpdate gt lt Form Item gt lt Col gt lt Col className gutter row span gt lt Form Item label Number name number initialValue rules required true message Please input invoice number gt lt InputNumber style width gt lt Form Item gt lt Col gt lt Col className gutter row span gt lt Form Item label year name year initialValue currentYear rules required true message Please input invoice year gt lt InputNumber style width gt lt Form Item gt lt Col gt lt Col className gutter row span gt lt Form Item label status name status rules required false message Please input invoice status initialValue draft gt lt Select options value draft label Draft value pending label Pending value sent label Sent gt lt Select gt lt Form Item gt lt Col gt lt Col className gutter row span gt lt Form Item label Note name note gt lt Input gt lt Form Item gt lt Col gt lt Col className gutter row span gt lt Form Item name date label Date rules required true type object initialValue dayjs gt lt DatePicker style width format DD MM YYYY gt lt Form Item gt lt Col gt lt Col className gutter row span gt lt Form Item name expiredDate label Expire Date rules required true type object initialValue dayjs add days gt lt DatePicker style width format DD MM YYYY gt lt Form Item gt lt Col gt lt Row gt lt Divider dashed gt lt Row gutter style position relative gt lt Col className gutter row span gt lt p gt Item lt p gt lt Col gt lt Col className gutter row span gt lt p gt Description lt p gt lt Col gt lt Col className gutter row span gt lt p gt Quantity lt p gt lt Col gt lt Col className gutter row span gt lt p gt Price lt p gt lt Col gt lt Col className gutter row span gt lt p gt Total lt p gt lt Col gt lt Row gt lt Form List name items gt fields add remove gt lt gt fields map field gt lt ItemRow key field key remove remove field field current current gt lt ItemRow gt lt Form Item gt lt Button type dashed onClick gt add block icon lt PlusOutlined gt ref addField gt Add field lt Button gt lt Form Item gt lt gt lt Form List gt lt Divider dashed gt lt div style position relative width float right gt lt Row gutter gt lt Col className gutter row span gt lt Form Item gt lt Button type primary htmlType submit icon lt PlusOutlined gt block gt Save Invoice lt Button gt lt Form Item gt lt Col gt lt Col className gutter row span offset gt lt p style paddingLeft px paddingTop px gt Sub Total lt p gt lt Col gt lt Col className gutter row span gt lt MoneyInputFormItem readOnly value subTotal gt lt Col gt lt Row gt lt Row gutter gt lt Col className gutter row span offset gt lt Form Item name taxRate rules required false message Please input your taxRate initialValue gt lt Select value taxRate onChange handelTaxChange bordered false options value label Tax value label Tax gt lt Select gt lt Form Item gt lt Col gt lt Col className gutter row span gt lt MoneyInputFormItem readOnly value taxTotal gt lt Col gt lt Row gt lt Row gutter gt lt Col className gutter row span offset gt lt p style paddingLeft px paddingTop px gt Total lt p gt lt Col gt lt Col className gutter row span gt lt MoneyInputFormItem readOnly value total gt lt Col gt lt Row gt lt div gt lt gt Step Testing and debuggingUse tools like React DevTools and Redux DevTools to debug your application Write unit tests using libraries like Jest or Enzyme to ensure the stability of your codebase Step DeploymentDeploy your Node js server and React js application to a hosting platform like Heroku AWS or Netlify Configure the necessary environment variables and ensure that everything is working as expected in a production environment Github Repository This tutorial provides a high level overview of building an Invoice PDF system using React js Redux and Node js Each step requires more detailed implementation so it s recommended to refer to documentation and additional resources for each specific task Good luck with your project 2023-08-12 11:27:19
海外TECH DEV Community React's Responsive Magic: Harnessing useCheckMobileScreen Hook 🔥 https://dev.to/malikbilal111/reacts-responsive-magic-harnessing-usecheckmobilescreen-hook-5fg0 React x s Responsive Magic Harnessing useCheckMobileScreen Hook Hey fellow developers Have you ever thought about how to make your React app look good on both small mobile screens and big desktop computers You know we have these things called media queries in CSS that help us with that But sometimes dealing with media queries can be tough and make things messy Well guess what You don t need to worry anymore Let me introduce you to a new friend the useCheckMobileScreen custom hook It s here to make things easier for you Meet the Hook in ActionNow let s see how this magical hook works in your code import useEffect useState from react const useCheckMobileScreen gt const width setWidth useState window innerWidth const handleWindowSizeChange gt setWidth window innerWidth useEffect gt window addEventListener resize handleWindowSizeChange return gt window removeEventListener resize handleWindowSizeChange return isMobile width lt export default useCheckMobileScreen import useCheckMobileScreen from hooks const App gt const isMobile useCheckMobileScreen return lt gt isMobile lt div gt Render something for Mobile Only lt div gt lt div gt Render Something on Desktop Only lt div gt Also In Case if you have different styles for mobile amp desktop lt p className isMobile mobile screen paragraph desktop screen paragraph gt Text Goes here lt p gt lt gt export default App Wrapping It UpSo there you have it the secret to making your React app a superstar on every screen the useCheckMobileScreen hook It s a simple little helper that makes a big difference in creating a user friendly and adaptable app So go ahead give it a try and watch your app shine bright on screens big and small Happy coding and keep spreading that responsive magic 2023-08-12 11:14:56
海外TECH DEV Community Simple Text-Based Adventure Game in Node.js https://dev.to/shawn2208/simple-text-based-adventure-game-in-nodejs-490j Simple Text Based Adventure Game in Node jsIn this tutorial we ll walk through creating a simple text based adventure game in Node js using the inquirer library for user prompts PrerequisitesBasic knowledge of JavaScript and Node js Node js installed on your computer Setting UpFirst create a new directory called simple game mkdir simple gamecd simple gameInitialize a new npm project npm init yInstall the inquirer library npm i inquirerTo allow the use of ES import export syntax open package json and add the following line type module Create a new file named game js Import the inquirer library to handle user inputimport inquirer from inquirer Define an array of different game scenariosconst scenarios Scenario Introduction name intro message You wake up in a mysterious room What do you do choices name Look around nextScenario lookAround name Open the door nextScenario openDoor Scenario Looking around name lookAround message You find an old key on a table and a window that is slightly ajar What do you do choices name Take the key nextScenario takeKey name Open the window nextScenario openWindow Scenario Opening the door name openDoor message The door creaks open revealing a dark hallway choices name Enter the hallway nextScenario darkHallway name Stay in the room nextScenario stayInRoom more scenarios Scenario Conclusion name ending message Congratulations You have completed the adventure choices Function to present a scenario and get player choiceconst presentScenario async scenario gt const answers await inquirer prompt type list name choice message scenario message choices scenario choices map choice gt choice name return answers choice Function to start the gameconst startGame async gt Start with the intro scenario let currentScenario scenarios find scenario gt scenario name intro Continue looping through scenarios as long as there s a current scenario while currentScenario Present the current scenario to the player and get their choice const playerChoice await presentScenario currentScenario Find the next scenario based on the player s choice and update the current scenario currentScenario scenarios find scenario gt scenario name currentScenario choices find choice gt choice name playerChoice nextScenario Print a thank you message when the game ends console log Thanks for playing Goodbye Start the game by calling the startGame functionstartGame This code defines various game scenarios and presents them to the player in sequence Each scenario provides the player with multiple choices When a choice is made the game moves to the next scenario Playing the GameTo play the game run the following command in your terminal node game jsConclusionWith just a few lines of code you ve created a simple engaging text based adventure game in Node js This is just the foundation you can expand on this by adding more scenarios integrating more libraries or even creating a graphical interface There you go A simple tutorial on how to create a text based adventure game in Node js You can further extend this by adding images sounds or even making it have a health system and more complex with additional logic and scenarios 2023-08-12 11:12:05
海外TECH DEV Community Configuring vm.max_map_count for Elasticsearch in Docker using WSL https://dev.to/shunmare/configuring-vmmaxmapcount-for-elasticsearch-in-docker-using-wsl-3fhc Configuring vm max map count for Elasticsearch in Docker using WSL Configuring vm max map count for Elasticsearch in Docker using WSLWhen running Elasticsearch on Docker you might encounter an error message like the following if the default value of vm max map count is too low max virtual memory areas vm max map count is too low increase to at least To resolve this error you need to use Windows Subsystem for Linux WSL to properly configure the value of vm max map count Accessing Docker Desktop s WSL EnvironmentOpen a command prompt and access the WSL environment of Docker Desktop using the following command PS C work project logstash gt wsl d docker desktopModifying System SettingsOnce inside the WSL environment use the following command to change the value of vm max map count DESKTOP XXXXXXX path to directory sysctl w vm max map count Exiting the WSL EnvironmentExit the WSL environment using the following command DESKTOP XXXXXXX path to directory exitFollowing these steps should resolve the Elasticsearch error related to vm max map count allowing Elasticsearch to run smoothly 2023-08-12 11:05:28
海外TECH DEV Community The magic of Generative AI with AWS! https://dev.to/aws-builders/the-magic-of-generative-ai-with-aws-277g The magic of Generative AI with AWS Building training and deploying machine learning models at scale is now possible for developers and data scientists thanks to Amazon SageMaker a potent and completely managed service provided by Amazon Web Services AWS SageMaker is an effective and practical framework for developing training and deploying Generative Adversarial Networks GANs or Variational Autoencoders VAEs for a variety of generative applications including producing music art and other generative works Key Features of AWS SageMaker ScalabilityBuilt in AlgorithmsCustom Model DeploymentHyperparameter OptimizationModel VersioningCost OptimizationLet s look into each of these features before building our very own Generative AI model with AWS Scalability Generative AI models especially GANs and VAEs can be computationally intensive and require significant computational resources With SageMaker you can easily scale your training and inference tasks to utilize high performance GPU instances allowing you to process large datasets and train complex models efficiently Built in Algorithms SageMaker offers built in algorithms for Generative AI tasks including GANs and VAEs This eliminates the need for manually implementing complex algorithms saving time and effort for researchers and developers Custom Model Deployment Once you have trained your Generative AI model SageMaker allows you to deploy it as a real time endpoint or as a batch transform job This enables you to use your model for generating new content on demand or in a batch mode for large scale processing Hyperparameter Optimization SageMaker provides tools for hyperparameter tuning enabling automatic search and optimization of hyperparameters for better model performance This is crucial for tuning the parameters of complex Generative AI models like GANs and VAEs Model Versioning Version control for models is essential for iterative improvements and tracking changes SageMaker allows you to version your trained models and manage the deployment of different versions Cost Optimization With SageMaker you can optimize costs by using spot instances for training and deploying your Generative AI models Spot instances offer significant cost savings making large scale experimentation more affordable Implementing generative AI algorithms like GANs and VAEs is made simple and comprehensive by AWS SageMaker Data scientists researchers and developers can use Generative AI to create art produce realistic visuals and address other imaginative and useful problems since it accelerates the development training and deployment processes In order to build a GAN the steps involved are Import required librariesBuild the Generator ModelBuild a Discriminator ModelPreprocess the datasetInitialize GAN and the Generator and Discriminator Models createdDefine the Training Loop Let s look at the code implementation You can also fork the repo    and use the code as a boilerplate to build on it It is advised to leverage AWS SageMaker s GPU instances for faster training as GAN training can be time consuming and resource intensive Thank you for reading If you have reached so far please like the articleDo follow me on Twitter and LinkedIn  Also my YouTube Channel has some great tech content podcasts and much more 2023-08-12 11:05:09
海外TECH Engadget Sony and other music labels sue Internet Archive for digitizing old records https://www.engadget.com/sony-and-other-music-labels-sue-internet-archive-for-digitizing-old-records-110108988.html?src=rss Sony and other music labels sue Internet Archive for digitizing old recordsThe Internet Archive is facing another lawsuit over one of its conservation projects Sony Music Entertainment Universal Music Group and a handful of other music labels have filed a lawsuit against the nonprofit organization accusing it of copyright infringement for digitizing quot willfully upload ing distribut ing and digitally transmitt ing quot pre sound recordings In particular the labels are suing Internet Archive for the Great Project which seeks to preserve music recorded on rpm discs nbsp The labels call Internet Archive s efforts quot blatant infringement quot involving music by artists that include Frank Sinatra Ella Fitzgerald Billie Holiday Miles Davis and Louis Armstrong They also listed a few examples of quot iconic recordings quot available through the Great Project such as White Christmas Sing Sing Sing and The Christmas Song nbsp The companies said the the songs preserved on the project website are already available through streaming and other music services so they quot face no danger of being lost forgotten or destroyed quot But the organization explained on the project portal that there s quot still research value in the artifacts and usage evidence in the often rare rpm discs and recordings quot nbsp The plaintiffs disagree writing in their complaint that Internet Archive s activities quot far exceed quot the limited purposes of preservation and research quot Internet Archive unabashedly seeks to provide free and unlimited access to music for everyone regardless of copyright quot they added The labels are asking statutory damages of up to for each protected sound recording and that could add up to million for the listed recordings according to Bloomberg Internet Archive is also embroiled in a legal battle with a group of US publishers led by Hachette Book Group over the National Emergency Library The organization lent out digitally scanned copies of books through the program during the height of the pandemic which the publishers described as quot willful mass copyright infringement quot A federal judge ruled against Internet Archive for that particular case though the organization is planning to appeal that decision This article originally appeared on Engadget at 2023-08-12 11:01:08
ニュース BBC News - Home Migrant boat sinks in Channel killing six people https://www.bbc.co.uk/news/uk-66484699?at_medium=RSS&at_campaign=KARANGA authorities 2023-08-12 11:49:59
ニュース BBC News - Home Women's World Cup 2023: Australia hold nerve to beat France on penalties - highlights https://www.bbc.co.uk/sport/av/football/66470700?at_medium=RSS&at_campaign=KARANGA Women x s World Cup Australia hold nerve to beat France on penalties highlightsWatch highlights as co hosts Australia reach the Women s World Cup semi finals for the first time as they beat France in an incredible penalty shootout 2023-08-12 11:32:52
ニュース BBC News - Home Arsenal v Nottingham Forest: Premier League match delayed by 30 minutes because of ticketing issue https://www.bbc.co.uk/sport/football/66486322?at_medium=RSS&at_campaign=KARANGA Arsenal v Nottingham Forest Premier League match delayed by minutes because of ticketing issueArsenal s Premier League match against Nottingham Forest is delayed by minutes after fans were unable to enter the stadium because of an e ticketing issue 2023-08-12 11:50:06

コメント

このブログの人気の投稿

投稿時間: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件)