投稿時間:2021-05-29 23:20:40 RSSフィード2021-05-29 23:00 分まとめ(21件)

カテゴリー等 サイト名等 記事タイトル・トレンドワード等 リンクURL 頻出ワード・要約等/検索ボリューム 登録日
Program [全てのタグ]の新着質問一覧|teratail(テラテイル) %leとは何か教えてください。 https://teratail.com/questions/341085?rss=all 書式 2021-05-29 22:57:11
Program [全てのタグ]の新着質問一覧|teratail(テラテイル) WPでbackground-imageが表示されない https://teratail.com/questions/341084?rss=all WPでbackgroundimageが表示されない前提・実現したいことWordPressnbspnbspを使用してbackgraoundimageでサイトロゴ画像を表示したいのですが、表示されません。 2021-05-29 22:55:34
Program [全てのタグ]の新着質問一覧|teratail(テラテイル) 構造体の配列を渡してメンバの部分を加算する https://teratail.com/questions/341083?rss=all 構造体の配列を渡してメンバの部分を加算する前提・実現したいことC言語の初心者です。 2021-05-29 22:42:59
Program [全てのタグ]の新着質問一覧|teratail(テラテイル) Unity プロジェクト作成時のエラー https://teratail.com/questions/341082?rss=all Unityプロジェクト作成時のエラー私はUnityを用いてゲーム作成をしようと思いインストールしましたプロジェクトを作成し、いざゲーム作りだと意気込んでおりましたら以下のようなエラーメッセージが出ました。 2021-05-29 22:13:19
Program [全てのタグ]の新着質問一覧|teratail(テラテイル) PHPのモジュールについて https://teratail.com/questions/341081?rss=all 2021-05-29 22:05:59
Ruby Rubyタグが付けられた新着投稿 - Qiita サイバー攻撃についてまとめてみた https://qiita.com/tochisuke221/items/9c2a906f599c7430e044 攻撃者がこのセッションIDを何らかの方法で入手したり推測したりして、利用者に代わってWebサイトに不正にアクセスすることを「セッションハイジャック」といいます。 2021-05-29 22:46:15
AWS AWSタグが付けられた新着投稿 - Qiita Route53と連携したExternalDNSをhttps化する https://qiita.com/guile/items/bea2cea5ec5b34b13449 awsacmcertificatevalidation作ったACM証明書とCNAMEレコードの連携をします。 2021-05-29 22:41:59
AWS AWSタグが付けられた新着投稿 - Qiita AWSソリューションアーキテクト―アソシエイト用語集⑤アプリケーション統合編 https://qiita.com/tatsumicro/items/8e28662967c267697102 2021-05-29 22:25:56
golang Goタグが付けられた新着投稿 - Qiita DynamoDB+Goでmapのデータを取得する https://qiita.com/summergirlna/items/7e7a0825955e13f50124 とはいえ、Noシンプルなmapと同じで、各mapを別構造体で定義し、structtagにmapのキーを指定する。 2021-05-29 22:51:28
Ruby Railsタグが付けられた新着投稿 - Qiita 非同期通信 xhr.open https://qiita.com/takuo_maeda/items/47747cf18f16d6595cda 非同期通信xhropenxhropen第引数hostuserstrueopenとはXMLHHttpRequestで定義されているメソッドで、初期化してどのようなリクエストをするか指定するメソッドです。 2021-05-29 22:01:18
海外TECH DEV Community Diving into Object Detection Basics https://dev.to/aipool3/diving-into-object-detection-basics-1ak Diving into Object Detection Basics IntroThe prospects of Artificial Intelligence AI are not just limited to predicting if a person will get a loan or not by giving his credit history annual income annual expenses criminal records etc Computer Vision is a trending topic for AI enthusiasts of any experience level Let me give you a brief idea about Computer Vision It is nothing but when a machine identifies an object in an image video after learning from the data that was fed to it For example when we see an object first time we are mostly aware of it like what it is called But after getting to know its name the next time we see it we know exactly what it is Exactly like our brain Computer Vision to be specific Object Detection works Introduction of Object DetectionObject detection is locating and identifying an object in an image or in a video Locating an object is nothing but giving the exact position where the object resides in the frame Here frame can be a single image or a sequence of frames that is a video To locate an object we can either use a bounding box or any other geometrical shape like a circle The easiest and standard approach is by using the bounding box where we first obtain the center coordinates x y and the width w and height h of the box To identify an object the network must be trained on data for example images of the person This step is called the classification of objects and it is very essential for the bounding box to be formed correctly To ensure the correct training of the network ensure the data is correct Anchor BoxesHow does the network predict or identify the box The network first makes a random guess of the coordinates and assigns them a value w for width and h for height It assigns for the center of the box x y Of course this is not the actual prediction So after every step of training which is termed as an iteration the network performs regression to get the correct estimates Datasets to start withThere are many datasets to start training your first object detection model These datasets are open source meaning anyone is free to use them These datasets have a large collection of classes of objects to choose from So have fun while exploring these datasetsCOCO DatasetImageNetOpen Image Dataset VLabelmeCelebFaces other datasetsYou can find more in the Following Article Other ResourcesDropout in Deep LearningNormalization in Deep learningYolov and Yolov in Object DetectionHow can I find the paper of yolov 2021-05-29 13:57:47
海外TECH DEV Community Introduction of Fast Fourier Transformation (FFT) https://dev.to/aipool3/introduction-of-fast-fourier-transformation-fft-555k Introduction of Fast Fourier Transformation FFT IntroductionSuppose you have an audio file or even a video file or let s say you have an image file But the only problem is it has lots of noise You can t distinguish between the required audio frames or the object in the three files respectively So how are you supposed to distinguish between the noise and the actual signal The odds are quite high that the file may contain a term called noise Though the terms are of the communication domain they are also involved in the AI domain NoiseNoise is a random signal which consists of equal intensities or powers at every frequency In computing it is statistically defined as a sequence of random variables So basically in very simple terms it is a random thing that may be a part of your signal Fourier Transformation FT Fourier Transformation which is the main highlight of this article is a very useful tool for analyzing signals especially noisy signals It transforms or converts complex mathematical equations into simpler trigonometric functions in terms of sin or cos Sin or Cos are used because the signal is easier to analyze in their format In other terms Fourier transformation is used to convert time signals into frequency signals and power signals You are using the applications of Fourier Transformation unknowingly every day Implementation of FFTNote The codes are written and tested by the author The outputs are the screenshots of Jupyter Notebook cells For this implementation we will be using scipy library as a Fourier transformation calculator Let s import the libraries for python fftimport numpy as npimport matplotlib pyplot as pltfrom scipy fftpack import fft fftfreqNote If you have the latest package of scipy use scipy fft instead of scipy fftpack Defining a random signaln Number of data pointsdx Sampling period in meters x dx np arange n x coordinatesw wavelength meters w wavelength meters fx np sin np pi x w plt title Signal as a function of time plt plot x fx Getting the Discrete Fourier Transform DFT using FFTFk fft fx n Fourier coefficients divided by n To plot in the frequency domainFk fftshift Fk Shift zero frequency to centernu fftfreq n dx Natural frequenciesnu fftshift nu Shift zero frequency to centerplt title DFT of the signal plt plot nu np abs Fk Get the absolute values of DFTAs you can see in the above image the DFT of our signal is a simple graph in which we have a single pair of frequencies as I had mentioned earlier that DFTs are symmetrical As the signal is a simple continuous signal and contains only one frequency component it was expected to get a single pair of frequencies Adding a random noisenew fx np sin np pi x w np cos np pi x w new old random signal noiseplt title Modified Signal plt plot x new fx Getting the DFT for the modified signalnew Fk fft new fx n Fourier coefficients divided by n new Fk fftshift new Fk Shift zero frequency to centerplt title DFT of Modified Signal plt plot nu np abs new Fk Get the absolute values of DFTYou can find more details with plotted images in this article Other ResourcesVisualization with SeabornUnderstanding of Probability Distribution and Normal DistributionUnderstanding of Regularization in Neural Networks 2021-05-29 13:45:45
海外TECH DEV Community #30DaysOfAppwrite: Grafana Integration https://dev.to/appwrite/grafana-integration-50p9 DaysOfAppwrite Grafana Integration IntroAppwrite is an open source self hosted Backend as a Service that makes app development easier with a suite of SDKs and APIs to accelerate app development DaysOfAppwrite is a month long event focused at giving developers a walk through of all of Appwrite s features starting from the basics to more advanced features like Cloud Functions Alongside we will also be building a fully featured Medium Clone to demonstrate how these concepts can be applied when building a real world app We also have some exciting prizes for developers who follow along with us Grafana IntegrationWelcome to Day today marks the last day of DaysOfAppwrite and we thought it would be a fun little exercise to show you how you can add external services to the Appwrite stack and make it work seamlessly We love Dashboards and we thought it would be great to add Grafana support to Appwrite Appwrite doesn t come with Grafana out of the box and for a couple of reasons First you may already have your own set of monitoring tools in your stack and we believe that our stack should be un opinionated and allow you to work with the tools you feel comfortable with The second reason is that we try to ship the Appwrite setup with minimal components to make Appwrite easy to start but still flexible enough to grow Add Grafana to AppwriteWe will be creating two Dashboards one for monitoring Appwrite s usage stats and one for monitoring your Server stats The first step is to add the Grafana service to Appwrite s docker compose yml file grafana image grafana grafana container name appwrite grafana ports networks appwrite volumes appwrite grafana var lib grafanaNext you need to add the appwrite grafana volume to the list of all volumes This will allow your Grafana container to persist data volumes appwrite mariadb appwrite redis appwrite cache appwrite uploads appwrite certificates appwrite functions appwrite influxdb appwrite config appwrite grafana Now rundocker compose up d Dashboard Appwrite MetricsFor your first Dashboard we don t need any additional configuration in our services Now head over to http localhost to configure Grafana You can login using the default credentialsusername adminpassword adminYou will be prompted to enter a new password and it is highly recommended that you change it Learn more about managing users and passwords in their official guide The first step is to configure your Data Source In our case we will be using the InfluxDB plugin Once you add the InfluxDB data source it s time to configure it Here you need to fill in the values of fields URL http influxdb Database telegrafFinally click Save and Test to check your database connection If all goes well you will see a success message The next step is to import the Dashboard we created for you Head to the Grafana s Dashboard Library and copy the ID of our Dashboard You can then Import the Dashboard in your Grafana instance like so And that s it You should now see this fancy Dashboard Dashboard Server MetricsThe next Dashboard is one that that will monitor our server metrics This includes the CPU usage Disk I O Network I O and much more This Dashboard requires some additional info so we need to make a few changes in our telegraf Docker image to make this information available We ll start by cloning Appwrite s telegraf imagegit clone cd docker telegrafWe need to make more metrics available to the collector Add the following lines to line inputs cpu percpu true totalcpu true collect cpu time false report active false inputs disk ignore fs tmpfs devtmpfs devfs inputs io inputs mem inputs net inputs system inputs swap inputs netstat inputs processes inputs kernel Now we need to build a new Docker image using the changes we made docker build t telegraf local Once this build is complete we can make use of our new telegraf local image in the main Appwrite docker compose yml Replace the appwrite telegraf image in line with our telegraf local image telegraf image telegraf local container name appwrite telegraf networks appwriteNow run docker compose up d remove orphans from your appwrite directory to restart your services Now head over to your Grafana Dashboard and import this new Dashboard the same way as you did the previous one and if everything goes well you should see the following Dashboard And just like that you now have access to all your server information in one place This was just the tip of the iceberg Grafana has many more amazing features It s completely open source has support for over Data Sources has support for Alerting etc You can setup custom alerts and Grafana will continuously evaluate and send notifications to systems like Slack PagerDuty VictorOps and OpsGenie You can learn more about all of Grafana s features in their dedicated tutorials section CreditsWe hope you liked this write up You can follow DaysOfAppwrite on Social Media to keep up with all of our posts The complete event timeline can be found hereDiscord ServerAppwrite HomepageAppwrite s GithubFeel free to reach out to us on Discord if you would like to learn more about Appwrite Aliens or Unicorns Stay tuned for tomorrow s article Until then 2021-05-29 13:13:04
海外TECH DEV Community Headless-UI "Fully Accessible" - it's not your fault you believe the 💩 BS 💩 [accessibility rants] https://dev.to/inhuofficial/fully-accessible-it-s-not-your-fault-you-believe-the-bs-accessibility-rants-54f5 Headless UI quot Fully Accessible quot it x s not your fault you believe the BS accessibility rants In case you haven t read one of these posts before the anger is just for fun the message is really important I am not actually angry On a side note There is something wrong with you all You all seem to like me being angry and ranting at you people are going to think I am a monster if this carries on Fully Accessible what a crock of sh tI have seen loads of people praising headless UI for accessibility mentioning it in comments or even writing articles about how accessible it is just regurgitating the crap they have been fed you know like the articles where React virtual DOM is faster than vanilla JS DOM manipulation that sort of crap poor understanding I mean I don t even blame them for believing it they say it right on the home page fully accessible UI components and when someone makes a claim with a popular library of course they aren t full of crap I mean it isn t like people can just write what they want A quick word from our sponsor MagiGrow So before we continue let me just tell you about today s sponsor MagiGrow Do you want bigger boobs Just apply MagiGrow ointment times a day and you will soon be sooooo front heavy you might just topple over Nobody will talk to your face again Do you want an ass that just won t quit Use MagiGrow on your butt and you will cause earthquakes when you twerk You will be that Thicc after using MagiGrow that people will call you bowl of oatmeal Oh and guys we haven t forgotten you Want a bigger dick MagiGrow for Men has got you covered too Apply liberally and you will soon have horses jealous of you Tripod won t even be an accurate name for you as one leg will be longer than the other two Order today Only I mean I wouldn t just write some random made up crap to make a point you do believe me that I am sponsored by MagiGrow and it works don t you Ok we get it don t believe everything you read Yeah sorry the ointment isn t real and neither are headless UI s claims Don t believe me Let me break down the first example they give Menu drop down Right first one they showcase there shouldn t be too many problems with this one surely as they are leading with it They start with a lt button gt A great start it is semantically correct you did read my rant on buttons didn t you They also apply aria haspopup true so screen readers can let people know that this opens something up looking good so far They even remembered to apply aria expanded true when the menu is open so screen readers can let people know that the menu is open And they add aria controls idOfTheMenu so screen readers can let people know what this button controls and make associations It looks pretty accessible so far doesn t it The list is where it all goes to I mean first thing is first why if you have a list of buttons would you not use a LIST It is just a lt div gt with a load of lt div gt s with buttons in them The list should be a lt ul gt with lt li gt containing the buttons SE fucking MANTICS people Instead it is a lt div gt with other lt div gt s inside it yeah they added some WAI ARIA but seriously why not start with the right elements in the first place Why does it matter Because an lt ul gt has a secret super power It allows screen readers to announce how many options there are list with items This is really useful information if you can t see and your screen reader doesn t support the WAI ARIA properties used They can t even use role properlyNext thing on the lt div gt s that should be lt li gt they apply role none Who told them to do that A lt div gt doesn t have a role so what is the point of that Oh and they obviously haven t even read the WAI ARIA spec as the editor note says not to use role none yet use role presentation I am guessing someone read the role menu spec and got confused and that is why they added role none to an element without a role or maybe they didn t who knows Anyway it is just wasted bytes no big deal it doesn t do any harm at least Why are they interfering in keyboard controls they shouldn t Next issue you can t Tab out of the menu this isn t a bloody modal Once the menu is open you can t Tab to the next control What the hell are they thinking Was it too difficult for their little brains to work out how to close the menu if it didn t have focus anymore It isn t like they made it so you can Tab to the next item in the menu itself so they effectively just removed functionality for no reason And why can t they follow simple patterns for keyboard controls Then there is the cycling of items in the menu If I press the up arrow when the menu opens or when I have the first item in the list highlighted it should go to the last item in the list It doesn t Same with if you are on the last item in the list and press the down arrow it should cycle to the first item It doesn tOr what about the fact that you should be able to jump to items based on their first letter I press d it jumps to duplicate as expected I press d again and it does nothing It should jump to delete It doesn tThat last one is even more painful as they half arsed the solution But it can cause massive confusion if the menu is dynamic If delete is sometimes disabled as it isn t applicable I might press d a couple of times find it doesn t cycle and think oh I obviously can t delete this item WAI ARIA is not a fix for everything in fact it is a last resort Finally because of their massive over reliance on WAI ARIA to correct their crappy HTML this is likely to not be particularly Robust which is what R stands for in the WCAG principles known as POURWAI ARIA is like CSS it isn t universally supported and there are loads of compatibility issues so you need to use it sparingly or with graceful degradation But hey that is just one component maybe we can do better with some of the others Listbox select Ah they can t possibly get this one wrong I mean other than the fact that you can press Space to select an item which is really weird because they used lt button gt elements that accept both space and enter to activate them I can t spot any new issues we hadn t seen previously Obviously they treat it like a modal again disabling Tab for no reason Oh and I can t just change options using the arrow keys like I should be able to pressing up or down opens the list which is fine if you can tab out of the list and it remembers what item you had used the arrows to get to so I have to press Enter or Space to close the list before I can move on You know what it is passable I will put the angry man away for a minute as I have seen far worse attempts Other componentsLook I am already exhausted and finding accessibility errors in just two components already makes my point But because I know the Tailwind zealots are going to want to defend their precious cult let me just list a few more issues in short hand Switch toggle The role switch only has about support which would be fine but they start building the component from a lt button gt why WHY Using a checkbox would be a better base Also by using a lt button gt as the base how do they expect you to add an associated lt label gt that is visible I suppose visually hidden text text that only a screen reader can see will just have to do I mean who cares about people with cognitive impairments who may need to see the label to reassure them that they are on the correct control But you could just add text above the switch to solve that you could but then what happens when someone who needs a larger tap target i e someone with Cerebral Palsy or Parkinson s disease who may have accuracy issues tries to click on the label to activate the control That is expected behaviour clicking a label checks a checkbox ah who cares there are only a few hundred million people who rely on good design in the world Disclosure componentI mean most would call this an accordion but hey who am I to judge on naming components let s call it magic expandy thingy from now on I don t want things to be clear for anyone So with the Magic Expandy Thingy MET they have used buttons and all sorts of crap I haven t even looked if they have done that correctly I really can t be arsed Why Well because we have this fantastic super modern technology called HTML Don t worry if you haven t come across this before it only came out in it is still quite new In the HTML spec are a super secret pair of elements So secret that they cleverly hid them as the first item mentioned under Interactive Elements Nobody could possibly find them lt summary gt and lt details gt I mean to be fair to headless ui MDN call the summary element the HTML Disclosure Summary element so perhaps their naming of the pattern was based on that But then that would mean they know about the elements and chose to ignore them ah forget it I can t work out what they are thinking Here try it for yourself I am sick of explaining things to you Now if you want to go and add your utility classes to that you can lt summary gt and lt details gt will work in of browsers and even degrade gracefully in IE not that it matters if you think headless ui is accessible you won t support IE anyway probably saying things like it s End Of Life EOL bro so who gives a shit Dialog modal Oh I am excited to see this one I mean just read the blurb on the site A fully managed renderless dialog component jam packed with accessibility and keyboard features perfect for building completely custom modal and dialog windows for your next application It is Jam packed with accessibility and keyboard features exciting Ok so when the modal is open it applies aria hidden true to all other content on the page right It adds tabindex to all other interactive elements on the page so they are inactive right Does it fuck You see they think that keyboard users only use Tab They haven t even laid eyes on a screen reader never mind used one In a screen reader you don t navigate with Tab you navigate with arrow keys the numbers to jump to headings k to cycle through links etc etc Your modal traps focus to the same level of success as the rest of your accessible library it doesn t it isn t you failed I can get to everything on the page with a screen reader and not even know that there is a modal I didn t even take the time to see if this returns focus to the button that activated it when it is closed someone please tell me they at least implemented that Radio GroupYeah I know I skipped popover couldn t even be bothered as it is essentially the same as a modal so all the same problems will be there So I moved onto radio group I can t even be bothered here either as the first thing I saw was lt div role radio Honestly what is wrong with using a fucking lt input type radio for a fucking radio groupThat is it I am done fanito finished headless UI is obviously written by a load of fucking amateurs ConclusionYet again the anger is for fun In reality the headless ui library does a better job than a lot of libraries when it comes to accessibility and I applaud any company who is at least trying to make things accessible I just get annoyed with the fully accessible crap they keep saying I understand that in marketing bigging yourself up is essential but this is too far and is misleading people If they just said accessibility focused library I would think Yeah not a bad job few issues but on the right track at least But no they are leading developers into thinking that they can just drag and drop their components into their application and they will be WCAG compliant That people with disabilities will be able to use their website without any issues They won tIf you take anything away from this article don t believe the crap that companies feed you research it yourself question everything including me Would you use headless ui though after all that putting your non angry head on No sadly I can t recommend it at time of writing They don t use semantically correct HTML as the base and if you want an accessible library you gotta start with the basics using the right native elements for the job and progressively enhance them I will happily return to this article if they improve things and change my opinion For the Algo My new sign off experiment If you enjoyed this article give it a if you thought it was special give it a and above all don t forget Leave a comment for the algorithm Even if it is just to tell me to stop being so angry Oh and if you are a Tailwind evangelist sorry that I attacked your religion you will be OK don t worry Leave a comment defending it by all means 2021-05-29 13:08:04
Apple AppleInsider - Frontpage News WhatsApp won't limit accounts that don't accept new privacy policy https://appleinsider.com/articles/21/05/29/whatsapp-wont-limit-accounts-that-dont-accept-new-privacy-policy?utm_medium=rss WhatsApp won x t limit accounts that don x t accept new privacy policyWhatsApp is no longer going to limit the accounts of users who do not accept the updated privacy policy with the Facebook owned iOS app now saying it wont be harming anyone s usage of the service for the moment Since February WhatsApp has warned users to accept the new privacy policy it brought into force from May th Users who didn t accept the changes were informed they won t have full functionality of WhatsApp until they accept but it seems the app has backtracked on the threat In a statement where it claims to have talked to various authorities and privacy experts WhatsApp seems to have reversed course on limiting accounts We want to make clear that we currently have no plans to limit the functionality of how WhatsApp works for those who have not yet accepted the update the statement to The Next Web states Read more 2021-05-29 13:19:55
ニュース BBC News - Home Duchess of Cambridge gets first Covid vaccine dose https://www.bbc.co.uk/news/uk-57291608 rollout 2021-05-29 13:12:03
ニュース BBC News - Home San Jose shooting: Guns, petrol and 22,000 rounds of ammunition found https://www.bbc.co.uk/news/world-us-canada-57293174 molotov 2021-05-29 13:26:35
ニュース BBC News - Home Celtic in advanced talks with former Australia manager Postecoglou https://www.bbc.co.uk/sport/football/57293750 manager 2021-05-29 13:33:17
LifeHuck ライフハッカー[日本版] 興奮が冷めた後の「引っ越しブルー」に対処する方法 https://www.lifehacker.jp/2021/05/moving-out-blue.html 家財道具 2021-05-29 22:05:00
サブカルネタ ラーブロ らーめん 勝 燕三条店/特勝ラーメン 全部乗せ (980円) http://feedproxy.google.com/~r/rablo/~3/hiOBpEerptI/ae0181aebf6c194a886d99ae38ad5be7 新潟県燕市 2021-05-29 14:20:52
北海道 北海道新聞 リスク同意書で透明性確保と主張 五輪参加「自己責任」でIOC https://www.hokkaido-np.co.jp/article/549543/ 東京五輪 2021-05-29 22:04: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件)