投稿時間:2023-08-18 16:24:59 RSSフィード2023-08-18 16:00 分まとめ(23件)

カテゴリー等 サイト名等 記事タイトル・トレンドワード等 リンクURL 頻出ワード・要約等/検索ボリューム 登録日
ROBOT ロボスタ 86%の企業が「生成AIを画像やテキストのコンテンツ作成に活用したい」アドビが国内マーケティング調査を発表 https://robotstart.info/2023/08/18/adobe-resarch-generative-ai.html 2023-08-18 06:39:23
IT ITmedia 総合記事一覧 [ITmedia PC USER] ViewSonic、教育利用に向く55型/75型/86型インタラクティブディスプレイ https://www.itmedia.co.jp/pcuser/articles/2308/18/news131.html itmediapcuserviewsonic 2023-08-18 15:31:00
IT ITmedia 総合記事一覧 [ITmedia News] 「生成AIは著作権保護の検討が不十分」新聞協会など声明 「著作権法30条の4は大きな課題」 https://www.itmedia.co.jp/news/articles/2308/18/news128.html itmedia 2023-08-18 15:20:00
js JavaScriptタグが付けられた新着投稿 - Qiita Lightning Web Componentでのカスタム表示ラベルの実装メモ https://qiita.com/mkzyk/items/792ed6fb3179ae92fcde lightningwebcomponent 2023-08-18 15:20:56
AWS AWSタグが付けられた新着投稿 - Qiita AWS EventBridgeで毎日EC2の起動・起動停止する定期実行処理を設定してみた。 https://qiita.com/raicho-m/items/a4a48e0a90b70c913fd4 awseventbridge 2023-08-18 15:43:08
AWS AWSタグが付けられた新着投稿 - Qiita AWS FSx NetApp ONTAPを使ったActive DirectoryなしのSMBサーバー構築 https://qiita.com/sakuyann/items/462befac6e0f6a71c864 activedirectory 2023-08-18 15:08:11
Docker dockerタグが付けられた新着投稿 - Qiita 【2023年度版】Laravel + Lighthouse チュートリアル環境構築 ( macOS + DockerCompose ) https://qiita.com/naoto24kawa/items/6c975ca5632d1282f400 laravellighthouse 2023-08-18 15:18:20
海外TECH DEV Community 180k+ Open Source Free Icons https://dev.to/mddanishyusuf/180k-open-source-free-icons-2hfa k Open Source Free IconsThere are numerous Open Source Icon projects available on GitHub however they are not all managed in a single location To address this issue I have developed a project known as IconBuddy app which provides a centralized platform for browsing a collection of k icons Search icons across more than collections Customize icon with color size background color gradient amp more We have a wide range of formats to choose from so you can download the icons in the format you want We have SVG PNG WEBP JSX VUE and BASE URLs CSS background snippers HTML Image tags We have it all Go and checkout here →Looking forward to know your feedbacks Thanks 2023-08-18 06:28:25
海外TECH DEV Community ESP32 Standard Library Embedded Rust: Analog Temperature Sensing using the ADC https://dev.to/apollolabsbin/esp32-standard-library-embedded-rust-analog-temperature-sensing-using-the-adc-5h55 ESP Standard Library Embedded Rust Analog Temperature Sensing using the ADCThis blog post is the sixth of a multi part series of posts where I explore various peripherals in the ESPC using standard library embedded Rust and the esp idf hal Please be aware that certain concepts in newer posts could depend on concepts in prior posts If you find this post useful and to keep up to date with similar posts here s the list of channels you can follow subscribe to Follow Me on TwitterSubscribe to NewsletterFollow me on GitHubClick Here for Rust Swag IntroductionNTC thermistors or Negative Temperature Coefficient thermistors are temperature sensitive resistors made from materials that exhibit a change in resistance with temperature variations As the temperature increases the resistance of an NTC thermistor decreases thus the negative naming and conversely when the temperature decreases the resistance increases This unique property makes NTC thermistors invaluable in temperature measurement and control applications They are widely used as temperature sensors in electronic circuits household appliances automotive systems industrial processes and medical devices NTC thermistors enable accurate temperature monitoring providing feedback for maintaining stable operating conditions triggering alarms and regulating various processes with high precision In this post I will be configuring and setting up an espc hal ADC using the esp idf hal to measure ambient temperature using a k NTC Thermistor The ADC collected value will be converted to temperature and sent to the terminal output Knowledge Pre requisitesTo understand the content of this post you need the following Basic knowledge of coding in Rust Familiarity with the working principles of NTC Thermistors This page is a good resource Software SetupAll the code presented in this post is available on the apollolabs ESPC git repo Note that if the code on the git repo is slightly different then it means that it was modified to enhance the code quality or accommodate any HAL Rust updates Additionally the full project code and simulation is available on Wokwi here Hardware Setup MaterialsESP C DevKitMA k NTC Temperature Sensor A KOhm Resistor If you want to wire real hardware instead of getting the resistor and sensor separately you can get assemblies that contain the needed setup like this one ConnectionsTemperature sensor signal pin connected to pin gpio In Wokwi this is a direct connection However if you have the individual NTC component not integrated on a board you need to set it up in a voltage divider configuration with a K Ohm resistor circuit in next section Circuit AnalysisThe temperature sensor used is a negative temperature coefficient NTC sensor This means the resistance of the sensor increases as the temperature increases The following figure shows the schematic of the temperature sensor circuit It is shown that the NTC Thermistor is connected in a voltage divider configuration with a k resistor As such the voltage at the positive terminal of the op amp V V V ​ is equal to the voltage on the signal terminal and expressed as V Vcc∗RR RNTCV text V cc frac R R R text NTC V ​ Vcc​∗R​R​​ RNTC​Where R kΩR k OmegaR​ kΩ and the resistance value of RNTC R text NTC RNTC​ is the one that needs to be calculated to obtain the temperature This means that later in the code I would need to retrieve back the value of RNTCR text NTC RNTC​ from the V V text V ​ value that is being read by the ADC With some algebraic manipulation we can move all the known variables to the right hand side of the equation to reach the following expression RNTC VccV ∗RR text NTC left frac V cc V text right R RNTC​ V ​Vcc​​ ∗R​After extracting the value of RNTCR text NTC RNTC​ I would need to determine the temperature Following the equations in the datasheet I leverage the Steinhart Hart NTC equation that is presented as follows β ln RNTCR T T beta frac ln frac R text NTC R frac T frac T β T​ T​​ ln R​RNTC​​ ​where β beta β is a constant and equal to for our NTC as stated by Wokwi and TT T is the temperature we are measuring TT T​ and RR R​ refer to the ambient temperature typically Celcius and nominal resistance at ambient temperature respectively The value of the resistance at Celcius TT T​ is equal to kΩk OmegakΩ RR R​ With more algebraic manipulation we solve for TT T to get T β∗ln RNTCR TT frac frac beta ln frac R text NTC R frac T T β​∗ln R​RNTC​​ T​​​Take note that the β beta β value is typically obtained by manufacturers based on Kelvin temperatures As such when doing the calculations we d have to convert back to Celcius ‍ Software DesignNow that we know the equations from the prior section an algorithm needs to be developed and is quite straightforward in this case After configuring the device the algorithmic steps are as follows Kick off the ADC and obtain a reading sample Calculate the temperature in Celcius Print the temperature value on the terminal Go back to step ‍Code Implementation Crate ImportsIn this implementation the following crates are required The espc hal crate to import the ESPC device hardware abstractions The esp backtrace crate to define the panicking behavior The esp println crate to provide println implementation The libm crate to provide an implementation for a natural logarithm use esp idf hal adc config Config use esp idf hal adc use esp idf hal peripherals Peripherals use esp idf hal gpio Gpio use libm log Initialization Configuration Code ️ GPIO Peripheral Configuration ️⃣Obtain a handle for the device peripherals In embedded Rust as part of the singleton design pattern we first have to take the device peripherals This is done using the take method Here I create a device peripheral handler named peripherals as follows let peripherals Peripherals take unwrap ️⃣Configure and Obtain a handle for the ADC driver The ADC is configured in two steps in the esp idf hal first by setting up the AdcDriver that configures the ADC and second setting up the channel that will configure the channel pin settings From the ESPC reference manual the following table exists The table shows which ADC channels are connected to which ADC In this case since we are using gpio then ADC is the one we should be configuring To configure ADC there exists the AdcDriver new method that allows us to create an instance of a configured ADC The new method takes two parameters which are the ADC peripheral instance adc according to the table above and a configuration instance As such I create an adc handle as follows let mut adc AdcDriver new peripherals adc amp Config new unwrap Config comes from the esp idf hal adc config module and contains configuration information like the resolution of the ADC By default the resolution used is bits ️⃣Configure and Obtain a handle for the ADC channel At this point we configured the ADC but not yet the pin channel This is done using the AdcChannelDriver new method The new method takes only one argument which is an instance of a pin I create an adc pin handle that represents a configured channel as follows let mut adc pin esp idf hal adc AdcChannelDriver lt Gpio AttendB lt gt gt AdcChannelDriver new peripherals pins gpio unwrap Note how an attenuation AttendB is specified in the type parameters This is necessary to define the attenuation level of the pin and thus the voltage range the pin will be able to measure The documentation specifies four different attenuation levels of which the dB level supports the range of mV mV which is what we re going to use This is it for configuration Let s now jump into the application code Application CodeFollowing the design described earlier before entering my loop I first need to set up a couple of constants that I will be using in my calculations This includes keying in the constant values for beta and VMAX as follows const B f B value of the thermistorconst VMAX f Full Range Voltage The Application LoopAfter entering the program loop as the software design stated earlier first thing I need to do is kick off the ADC to obtain a sample reading This is done through the read method that takes a mutable reference to the adc pin instance and returns a Result let sample u adc read amp mut adc pin unwrap Note here that the read method in the esp idf hal unlike the read method in the no std libraries returns a voltage not a raw value Next I convert the sample value to a temperature by implementing the earlier derived equations as follows let temperature log VMAX sample as f B A few things to note here First recall from the read method that sample is a u so I had to use as f to cast it as an f for the calculation Second log is the natural logarithm obtained from the libm library that I imported earlier Third and last the temperature is calculated in Kelvins the is what converts it to Celcius Like mentioned earlier the Beta parameter is determined based on Kelvins Finally now that the temperature is available I send it over to the console using the println macro as follows println Temperature Celcius r temperature This is it Full Application CodeHere is the full code for the implementation described in this post You can additionally find the full project and others available on the apollolabs ESPC git repo Also the Wokwi project can be accessed here For a detailed explanation of this code check out the associated blog post GitHub Repo containing source code and other examples For notifications on similar examples and more subscribe to newsletter here use esp idf sys self as If using the binstart feature of esp idf sys always keep this module importeduse esp idf hal adc config Config use esp idf hal adc use esp idf hal peripherals Peripherals use esp idf hal gpio Gpio use libm log fn main gt anyhow Result lt gt let peripherals Peripherals take unwrap Configure ADC Driver let mut adc AdcDriver new peripherals adc amp Config new unwrap Configure ADC Channel let mut adc pin esp idf hal adc AdcChannelDriver lt Gpio AttendB lt gt gt AdcChannelDriver new peripherals pins gpio unwrap const B f B value of the thermistor const VMAX f Full Range Voltage Algorithm Get adc reading Convert to temperature Send over Serial Go Back to step loop Get ADC Reading let sample u adc read amp mut adc pin unwrap Convert to temperature let temperature log VMAX sample as f B Print the temperature output println Temperature Celcius r temperature ConclusionIn this post an analog temperature measurement application was created by leveraging the esp idf hal ADC peripheral for the ESPC The resulting measurement is also sent over to terminal output Additionally all code was created at the HAL level using the espc hal Have any questions Share your thoughts in the comments below If you find this post useful and to keep up to date with similar posts here s the list of channels you can follow subscribe to Follow Me on TwitterSubscribe to NewsletterFollow me on GitHubClick Here for Rust Swag 2023-08-18 06:11:43
海外TECH DEV Community Offline-First Development in React Native: Creating Robust Apps📱🔌🛠️ https://dev.to/medaimane/offline-first-development-in-react-native-creating-robust-apps-1jb Offline First Development in React Native Creating Robust Apps️In today s fast paced world mobile applications have become an integral part of our lives However relying solely on internet connectivity can lead to frustration for users when faced with poor network conditions or no connectivity at all This is where offline first development comes into play In this article we ll explore the concepts strategies and best practices of offline first development in React Native allowing you to create apps that remain functional and user friendly even when the network is unreliable The Importance of Offline First DevelopmentIn a world where users demand seamless experiences offline first functionality has gained immense importance Users expect apps to perform consistently regardless of their connectivity status Offline first apps not only enhance user engagement but also improve customer satisfaction by ensuring uninterrupted access to critical features Consider scenarios like travel apps that need to provide information and booking capabilities even when users are on the move or in remote locations Core Concepts of Offline First DevelopmentOffline first development is built on the principle that an app should be usable even in the absence of a network connection It involves synchronizing data between the device and the server when connectivity is available and seamlessly switching to locally cached data when offline This approach requires a solid strategy for handling data conflicts that may arise when updates are made on both the client and server sides during offline periods Implementing Offline First Strategies in React NativeImplementing offline first functionality in React Native requires utilizing libraries that simplify data caching synchronization and conflict resolution Let s explore how to achieve this using Redux Offline and Apollo Client with Offline Directives Using Redux OfflineRedux Offline is a powerful library that seamlessly integrates offline capabilities into your Redux store It automatically caches actions and their payloads replaying them when network connectivity is restored Here s a simplified example import createStore applyMiddleware from redux import offline from redux offline redux offline import offlineConfig from redux offline redux offline lib defaults const store createStore rootReducer applyMiddleware offline offlineConfig Further Reading Redux Offline Documentation Using Apollo Client with Offline DirectivesApollo Client provides an excellent way to manage offline data in GraphQL powered apps Offline Directives introduced in Apollo Client enable you to specify how queries should behave in offline mode Here s how you can use them import ApolloClient InMemoryCache ApolloLink from apollo client import OfflineCache from apollo client cache const cache new InMemoryCache typePolicies Query fields Specify offline behavior for queries posts keyArgs false merge existing incoming return incoming restore new OfflineCache const client new ApolloClient cache link ApolloLink from Further Reading Apollo Client Official Guide Designing a User Centric Offline ExperienceWhen designing your app s user interface consider providing users with feedback on their connection status Use components like a Connection Status Bar that dynamically updates to indicate whether the app is online or offline Here s a simple example using React Native Elements import Text from react native import StatusBar from react native elements const ConnectionStatusBar isConnected gt lt StatusBar barStyle isConnected dark content light content backgroundColor isConnected white red gt lt Text gt isConnected Online Offline lt Text gt lt StatusBar gt export default ConnectionStatusBar Further reading A Design Guide for Building Offline First Apps Offline Low bandwidth UX Design Patterns Testing and QA for Offline FunctionalityTo test offline functionality tools like react native offline mode can help simulate network disconnections You can wrap your components with this provider to emulate offline scenarios import OfflineProvider from react native offline mode const App gt lt OfflineProvider gt lt RootComponent gt lt OfflineProvider gt Handling Edge Cases and LimitationsWhile offline first development is powerful it s important to address challenges and limitations For instance handling large data syncs and resolving conflicts between locally cached and server data can be complex Additionally real time features may require a different approach to ensure data consistency across devices and servers Real World Use CasesSeveral successful apps have embraced offline first development strategies to their advantage Apps like travel guides note taking apps and e commerce platforms benefit from offline access to information allowing users to remain engaged and productive even without an internet connection By analyzing these use cases developers can gain insights into the potential impact of offline first features Wrap up Offline first development in React Native prioritizes user experience and reliability building robust apps that shine even in challenging network environments Stay tuned for the upcoming tutorial where we ll guide you through the step by step implementation of building an offline first app using React Native From architecture setup to data synchronization get ready to craft apps as resilient as a phoenix rising from connectivity challenges Let s Connect If you re passionate about React Native development offline first strategies and creating robust apps I d love to connect with you Feel free to reach out throughout lnk bio medaimane for discussions questions and collaboration opportunities Embrace the adventure of app development and may your path be filled with curiosity and innovation Happy coding 2023-08-18 06:09:37
海外TECH Engadget Spotify almost removed 'white noise' podcasts to save money https://www.engadget.com/spotify-almost-removed-white-noise-podcasts-to-save-money-065639545.html?src=rss Spotify almost removed x white noise x podcasts to save moneyWhite noise podcast creators on Spotify are making serious money and the audio streaming service was reportedly not happy about it and tried to cut them off According to Bloomberg it has viewed an internal document revealing that podcasts with white noise content such as the sounds of waves vacuums and whirring fans accounted for a total of million consumption hours on the platform every single day That was made possible by Spotify s algorithm inadvertently pushing these types of content to its listeners as part of its efforts to become the go to app for podcasts nbsp Previously Bloombergreported that white noise podcasters were making as a month A lot of creators on the platform not just those broadcasting white noise use Spotify s free hosting software Anchor to publish their shows Spotify purchased Anchor back in and in addition to helping creators make and distribute their podcasts it can also monetize their content nbsp While white noise podcasts turned out to be a hit with listeners they apparently don t make Spotify as much money as other types of programming The company reportedly considered removing them altogether and preventing future uploads in the category Plus it thought of altering its algorithm to recommend quot comparable programming quot that s more economical for Spotify Doing all those would raise the company s annual gross profit by million The news organization didn t say if Spotify elaborated on what it meant by quot comparable programming quot in the internal document but they could be other types of content meant to induce and improve sleep as well as to help calm anxiety which is what white noise is typically used for nbsp A thread on the Spotify subreddit posted a couple of months ago show multiple users complaining that the white noise podcasts they listen to had disappeared Bloomberg also talked to a creator who said their content had vanished for a few weeks before being reinstated Spotify didn t confirm whether it temporarily pulled white noise podcasts from its service but it told the news organization that ultimately quot t he proposal in question did not come to fruition quot and that it continues quot to have white noise podcasts on its platform quot This article originally appeared on Engadget at 2023-08-18 06:56:39
海外TECH CodeProject Latest Articles Time Period Library for .NET https://www.codeproject.com/Articles/168662/Time-Period-Library-for-NET calendar 2023-08-18 06:35:00
金融 JPX マーケットニュース [東証]TOKYO PRO Marketへの上場申請:(株)エンゼルグループ https://www.jpx.co.jp/equities/products/tpm/issues/index.html tokyopromarket 2023-08-18 15:30:00
金融 JPX マーケットニュース [東証]新規上場の承認(グロース市場):ファーストアカウンティング(株) https://www.jpx.co.jp/listing/stocks/new/index.html 新規上場 2023-08-18 15:30:00
金融 JPX マーケットニュース [東証]新規上場の承認(スタンダード市場):笹徳印刷(株) https://www.jpx.co.jp/listing/stocks/new/index.html 新規上場 2023-08-18 15:30:00
金融 JPX マーケットニュース [OSE]特別清算数値(2023年8月第3週限):日経225 https://www.jpx.co.jp/markets/derivatives/special-quotation/ 特別清算 2023-08-18 15:15:00
ニュース BBC News - Home Banks face fines if they breach rules on access to cash https://www.bbc.co.uk/news/business-66537642?at_medium=RSS&at_campaign=KARANGA areas 2023-08-18 06:15:48
ニュース BBC News - Home Shop sales drop in July as rain dampens demand https://www.bbc.co.uk/news/business-66536000?at_medium=RSS&at_campaign=KARANGA clothing 2023-08-18 06:56:40
ニュース BBC News - Home Ulez: More than 300 cameras damaged or stolen in four months https://www.bbc.co.uk/news/uk-england-london-66535086?at_medium=RSS&at_campaign=KARANGA cameras 2023-08-18 06:10:37
ニュース BBC News - Home Theo Walcott: Former Arsenal, Everton and Southampton winger retires from professional football https://www.bbc.co.uk/sport/football/66536939?at_medium=RSS&at_campaign=KARANGA football 2023-08-18 06:34:50
IT 週刊アスキー ゴンチャ新宿ミロード店、巨峰の味わいをしっかりと愉しめる「じゅわっと巨峰 ミルクティー(ICED)」など3品を販売中 https://weekly.ascii.jp/elem/000/004/150/4150457/ 先行販売 2023-08-18 15:10:00
IT 週刊アスキー 明星から新ブランド「BIGだぜ! 一平ちゃん」登場! レギュラープライスで食べ応え十分 https://weekly.ascii.jp/elem/000/004/150/4150501/ 一平ちゃん 2023-08-18 15:45:00
IT 週刊アスキー 和食さと、うなぎ&ステーキの「よくばり丼」がお安く! 夏得テイクアウトキャンペーン https://weekly.ascii.jp/elem/000/004/150/4150505/ 和食さと 2023-08-18 15:15:00

コメント

このブログの人気の投稿

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