投稿時間:2022-09-26 03:14:02 RSSフィード2022-09-26 03:00 分まとめ(16件)

カテゴリー等 サイト名等 記事タイトル・トレンドワード等 リンクURL 頻出ワード・要約等/検索ボリューム 登録日
python Pythonタグが付けられた新着投稿 - Qiita matplotlibでtickparamsを使ってもticklabelが消えないときの対処法 https://qiita.com/nabenabe0928/items/d28d8f40d43a8e44f447 yplotaspltaxpltsubplotsax 2022-09-26 02:00:21
golang Goタグが付けられた新着投稿 - Qiita Prismで建てたmockサーバーを使ってGoのリクエストをテストする https://qiita.com/pae_26/items/34e0e837d55ccc4ed430 Prismで建てたmockサーバーを使ってGoのリクエストをテストするはじめに外部サービスへのHTTPリクエスト処理をテストする場合、mockサーバーを使うことが多いと思います。 2022-09-26 02:02:59
海外TECH MakeUseOf How to Improve SSD Performance on Windows 11 https://www.makeuseof.com/windows-11-improve-ssd-performance/ windows 2022-09-25 17:15:14
海外TECH DEV Community Mediapipe | Implementing custom feature on Android https://dev.to/janhavidadhania/mediapipe-implementing-custom-feature-on-android-255i Mediapipe Implementing custom feature on Androidproject link Structure of Mediapipe project repo Compile and try out already implemented example projects on androidbuild docker image using command docker build t mediapiperun docker container over image docker run i t IMAGE ID bin bashinside the container set up Android using command bash setup android sdk and ndk sh Android Sdk Android Ndk rthen build android binary using bazel bazel build c opt mediapipe examples android src java com google mediapipe apps facedetectioncpu facedetectioncpu this command is for building facedetectioncpu project replace project name facedetectioncpu here with the name of the project you want to build Name of the folders under path mediapipe mediapipe examples android src java com google mediapipe apps is name of the inbuild projects this command would take long for first build for any subsequent builds it would use the cached data and shouldn t take long apk will be stored at mediapipe bazel bin mediapipe examples android src java com google mediapipe apps project name copy the apk file sudo docker cp CONTAINER ID mediapipe mediapipe bazel bin mediapipe examples android src java com google mediapipe apps project name home username downloads copy this apk file to your android device and install or directly install from terminal using commands adb install project apk keep the phone connected and logs could be viewed using adb logcat about mediapipe structureImage at the top has general structure of the mediapipe project we call bazel build on BUILD file present at mediapipe examples android src java com google mediapipe apps facemeshgpu This build file refers to graph present at mediapipe graphs facemeshgpu facemeshgpu pbtxt This graph at mediapipe graphs facemeshgpu facemeshgpu pbtxt refers to one or more calculators present at mediapipe calculators folder name calculator cc both folders mediapipe calculators folder name and mediapipe graphs project name has BUILD files that contains information about dependencies about graphsgraphs could be visualised here copy paste content from any of your pbtxt file e g to editor on visualiser It would show the graph on the left side Each box is calculator and has input and output This input output relations are specified in pbtxt graph files about calculatorseach box in graph visualiser is calculator or subgraph made of calculators calculators has process function defined that performes calculations e g render text on frame or render assets like spectacles at specific position on frame e g Lother than process calculator have getcontract and open function Open function is called once at the start and process function is called for each input again and again see below for example about open vs process function in calculatorsconsider we need to display frame count on the camera preview We start with for the first frame as the camera starts and increment count for every subsequent frame For this we would define variable count in open function of calculator and assign value to it We will add increment logic count count in process function and display it on frame count will be incremented for every frame because process function will be called for each input i e frame Open is called once at the beginning and value will be assigned to count Modify current projectadd new calculator in project folder inside calculator folder add entry in BUILD file of the project calculator foldercreate project folder inside graph folder and create pbtxt graph for new project add entry in BUILD file of project graph folder modify BUILD mediapipe examples android src java com google mediapipe apps BUILD compile using command bazel build PATH TO BUILD 2022-09-25 17:34:51
海外TECH DEV Community Using Only CSS to Recreate Windows 98 https://dev.to/smpnjn/using-only-css-to-recreate-windows-98-47b1 Using Only CSS to Recreate Windows As part of my continuous work to see how much I can do with just CSS see other work such as the CSS only Minecraft Chicken I decided to try and recreate Windows using nothing else apart from CSS and HTML Did anyone ask for this Not really Is it fun to try and see what you can accomplish with just CSS Yes sort of Was it time consuming Unfortunately yes Here is the demo and a quick note this is a desktop Windows recreation so it is of course optimised for desktop viewing Ironically though it probably won t work on Windows since you would have to use a very old version of Internet Explorer to view it The link to the demo can be found here since it is better viewed in full screen mode In this demo the things which I thought were cool included Minesweeper with just CSS although no score keeping Login and logout with memory of who is logged in using the brand new CSS parent selector Animated update process Minimising maximising and closing windows It is however worth noting that the things that are hard or just down right impossible to do with only CSS such as Drag and drop not possible at all with CSS Multiple conditions for example hard to say that a window should be both maximised and put on top at the same time Click anywhere to close you have to click the start button to close and open it You can t just click anywhere else to close it Multiple conditions in general CSS doesn t really have an AND operator How to build Windows in CSSSo the first thing I wanted to get right about this version of Windows was the look and feel I m using some pretty cool Windows icons which I do think should make a comeback as well as the standard Windows colour scheme To get the indented and out dented feel I used quite a complicated box shadow as you can see here windows box shadow minesweeper content gt label box shadow px px edede px edede px edede px px white px white px white px px px px px px edede px px px px white px px black px px black px black px black px px white px px black inverse windows box shadow minesweeper content gt label active box shadow px px px px px px black px black px black px px edede px edede px edede px px px px edede px px black px px white px px white px white px white px px black px px white Everything else was relatively straightforward look and feel wise The key to making all of this work is checkboxes and radio buttons Using Checkboxes and Radio buttons as a store of information in CSSCheckboxes and radios are the only way to store information in CSS We can then use them to implement style changes Checkboxes when checked allow us to enable or disable a single feature like show a window maximise a window or click a minesweeper square For things where there is only one option allowed to be active at a time for example which window should be on top we can use radio buttons Both follow the same syntax in CSS where we use the checked selector windows checked windows text CSS here Here when the input windows is checked it will affect its sibling s child text so we can apply some custom CSS Importantly since we can t easily style an HTML input we use labels to model the different features of Windows For example lt form id windows gt lt Login and Shutdown gt lt input type checkbox id login screen input name login screen input gt lt Later on gt lt label for login screen input gt Log Off lt label gt lt form gt Here the label shown is associated with the checkbox login screen input That means when you click the label it will check the checkbox This basically gives us free reign to track a user s clicks and then use the checkbox checked status to show certain windows in certain forms The difficulty is you can only have one label associated with one input That means in a scenario where a button is supposed to open the window and place it on top of all other windows you d have to use Javascript since this will require tracking two states the z index of the window and whether it is open or closed This is a major blocker in implementing CSS only versions of complex UIs Using the parent selector to track who is logged inSince we have a login screen in a div for when a user logs out we can t use sibling selectors to easily track who is logged in We can still use checked statuses to track this but the inputs are too deep in our DOM to affect their parent s sibling s CSS Fortunately we can use the new CSS parent selector for just this task login screen has login window select box zark muckerberg checked start bar zark muckerberg login screen has login window select box donald trump checked start bar donald trump login screen has login window select box spiderman checked start bar spiderman display inline padding left rem Here if login screen has a checked div we can use it to display the user name in the start bar despite these checkboxes being deep within the DOM This is pretty neat and a useful way to use parent selectors if you ever wish to accomplish recreating a CSS only version of a Windows operating system There is no CSS AND SelectorMuch to my dismay there was no way for me to create a CSS AND selector using chained checked boxes For example consider this situation where we apply some CSS based on a checked state minesweeper box checked content gt minesweeper box This works fine but what if we want to check if two minesweeper boxes next to each other are checked before applying CSS I thought logically that the selector would only continue if both were checked so tried this minesweeper box checked minesweeper box checked content gt minesweeper box But unfortunately that doesn t work So while we have a way to track state in CSS it s quite hard to track multi conditioned checkbox states to create logical statements and styles based on that That s disappointing but it doesn t limit us too much for our Windows implementation Achieving Windows TextWindows text is not anti aliased To remove anti aliasing at least for some browsers and achieve that classic crisp Windows finish I used the following CSS body webkit font smoothing none moz osx font smoothing grayscale Recreating MinesweeperSo one of the major undertakings in this project was recreating Minesweeper I kept the grid relatively small to maintain my sanity but I had to make my own Minesweeper map created out of labels Each of these labels mapped to an input which tracked if a cell had been clicked or not If a mine is clicked it s game over and you can t interact with the board anymore As there were Minesweeper cells we needed an equivalent Minesweeper inputs Tracking that all in CSS required a lot of CSS but the overall result is pretty cool looking Overall this follows the same logic as the previously mentioned checkbox and radio trick so conceptually it s not any more complicated than anything else we ve done ConclusionI hope you ve enjoyed this guide Doing this reminded me of how web development was about years ago when things were a lot harder to accomplish and required a lot of manual creation of DOM elements It s fun to see what can be achieved in CSS all these years on including the parent selector Is this a realistic way to create web applications Not really in terms of speed and not yet in terms of functionality but CSS did a lot more than I thought it would be able to and I m pretty happy with the results If you enjoyed this please consider following me on twitter 2022-09-25 17:32:59
Apple AppleInsider - Frontpage News Save $195 on a lifetime Microsoft Office for Mac Home & Business 2021 license https://appleinsider.com/articles/22/09/25/save-195-on-a-lifetime-microsoft-office-for-mac-home-business-2021-license?utm_medium=rss Save on a lifetime Microsoft Office for Mac Home amp Business licenseApple users interested in using Microsoft Office for Mac can score a lifetime Home Business license for just No subscription required This lifetime Microsoft Office for Mac Home Business license is off The Microsoft Office for Mac promotion features the standalone Home Business license for just a discount of off retail Read more 2022-09-25 17:54:36
ニュース BBC News - Home Ukraine war: Protests in Russian Dagestan region against new draft https://www.bbc.co.uk/news/world-europe-63028586?at_medium=RSS&at_campaign=KARANGA backlashes 2022-09-25 17:10:38
ニュース BBC News - Home Liz Truss's top aide Mark Fullbrook paid by his own lobbying firm https://www.bbc.co.uk/news/uk-politics-63028710?at_medium=RSS&at_campaign=KARANGA conflicts 2022-09-25 17:21:50
ニュース BBC News - Home Flint: Arrest as missing girl, 12, found in Birmingham https://www.bbc.co.uk/news/uk-wales-63028482?at_medium=RSS&at_campaign=KARANGA forces 2022-09-25 17:30:52
ニュース BBC News - Home Laver Cup: Andy Murray not planning Roger Federer-style farewell as Europe lose https://www.bbc.co.uk/sport/tennis/63023754?at_medium=RSS&at_campaign=KARANGA Laver Cup Andy Murray not planning Roger Federer style farewell as Europe loseAndy Murray has not been spurred into planning his own send off by Roger Federer s emotional farewell at the Laver Cup which Team Europe lost in London 2022-09-25 17:41:57
ビジネス ダイヤモンド・オンライン - 新着記事 【プロ投資家の教え】仮想通貨は資産として有効か? - 投資家の思考法 https://diamond.jp/articles/-/309427 その思考法が書かれたのが『ビジネスエリートになるための投資家の思考法』奥野一成である。 2022-09-26 02:55:00
ビジネス ダイヤモンド・オンライン - 新着記事 「子どもが賢く育つ家庭、そうでない家庭」親子の会話に決定的差 - ひとりっ子の学力の伸ばし方 https://diamond.jp/articles/-/308826 自己肯定感 2022-09-26 02:50:00
ビジネス ダイヤモンド・オンライン - 新着記事 脳内科医が断言!「左利きと右利きの脳」決定的な差【書籍オンライン編集部セレクション】 - すごい左利き https://diamond.jp/articles/-/309823 なぜそう言われるのか、実際はどうなのか、これまで明確な答えはありませんでした。 2022-09-26 02:45:00
ビジネス ダイヤモンド・オンライン - 新着記事 「ジンバブエってどんな国?」2分で学ぶ国際社会 - 読むだけで世界地図が頭に入る本 https://diamond.jp/articles/-/309399 2022-09-26 02:40:00
ビジネス ダイヤモンド・オンライン - 新着記事 【お客様の心をつかむ! 売れるPOP】を簡単に作る方法! 悩み(欲求)反映編 - 「A4」1枚チラシで今すぐ売上をあげるすごい方法 https://diamond.jp/articles/-/309806 2022-09-26 02:35:00
ビジネス ダイヤモンド・オンライン - 新着記事 【精神科医が教える】 気を遣えば遣うほど不健全になる… 「気くばりのすすめ」という定説を覆す“人間関係の極意” - 精神科医Tomyが教える 1秒で不安が吹き飛ぶ言葉 https://diamond.jp/articles/-/309579 【精神科医が教える】気を遣えば遣うほど不健全になる…「気くばりのすすめ」という定説を覆す“人間関係の極意精神科医Tomyが教える秒で不安が吹き飛ぶ言葉増刷を重ねて好評多々の感動小説『精神科医Tomyが教える心の荷物の手放し方』の出発点となった「秒シリーズ」の第弾『精神科医Tomyが教える秒で不安が吹き飛ぶ言葉』から、きょうのひと言必要以上に相手に気を遣っていませんか仕事でもプライベートでも、家族でも、人間関係を維持するための努力は、ある程度必要です。 2022-09-26 02:25: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件)