投稿時間:2021-06-04 06:16:19 RSSフィード2021-06-04 06:00 分まとめ(23件)

カテゴリー等 サイト名等 記事タイトル・トレンドワード等 リンクURL 頻出ワード・要約等/検索ボリューム 登録日
TECH Engadget Japanese 2011年6月4日、ツインカメラ搭載で3D撮影に対応した「AQUOS PHONE 006SH」が発売されました:今日は何の日? https://japanese.engadget.com/today-203057743.html aquos 2021-06-03 20:30:57
Program [全てのタグ]の新着質問一覧|teratail(テラテイル) Word VBAのFindメソッドで「メイン文書」を選択した状態にしたい https://teratail.com/questions/342057?rss=all WordVBAのFindメソッドで「メイン文書」を選択した状態にしたいWordnbspVBAのFindメソッドで「メイン文書」を選択した状態にしたい今以下のようなコードを作っています。 2021-06-04 05:50:30
Program [全てのタグ]の新着質問一覧|teratail(テラテイル) im2colのcol.transpose(0, 4, 5, 1, 2, 3).reshape(N*out_h*out_w, -1)で軸を入れ替える意味がわからない https://teratail.com/questions/342056?rss=all 2021-06-04 05:39:57
AWS AWSタグが付けられた新着投稿 - Qiita CodeCommit導入手順 https://qiita.com/morita-toyscreation/items/dd05eb2f4bdca7d694f4 2021-06-04 05:57:32
海外TECH DEV Community Creating a toggleable dark mode theme https://dev.to/sbrevolution5/creating-a-toggleable-dark-mode-theme-ned Creating a toggleable dark mode themeRead it on My Blog The Coder s CodexIt can be surprisingly simple to add a dark mode toggle to your site but the challenging part can be making that choice persist for the user throughout your app Step Allowing the toggleI m using AdminLTE as a template its free to download and its great which luckily has a wonderful little class dark mode that can be applied to the body to quickly apply a dark theme to the whole site Adding a button with the onclick function toggleDark allowed me to access the function I wrote in my site js file function toggleDark var element document getElementById layoutBody element classList toggle dark mode That was really all it took to be able to toggle once I added the layoutBody Id to my body element Then came the tougher part making that persist across multiple pages Step Saving user preference to LocalstorageUsing localstorage we can save the user s preference to the browser I wrote a function called loadDark that takes care of this and called it using jquery function loadDark default is light mode console log dark mode is JSON parse localStorage getItem jamesonDarkMode let dark JSON parse localStorage getItem jamesonDarkMode if dark null localStorage setItem jamesonDarkMode JSON stringify false else if dark true document getElementById layoutBody classList add dark mode And the Jquery lt script gt window on load loadDark lt script gt This will create a default user preference but theres no way to change it yet Step Changing the user preferenceNow back in our other function we need to add some stuff to our toggleDark functionchange that localStorage variable Otherwise we will only ever have the default setting of false function toggleDark var element document getElementById layoutBody element classList toggle dark mode let dark JSON parse localStorage getItem jamesonDarkMode if dark localStorage setItem jamesonDarkMode JSON stringify false console log Dark mode off else localStorage setItem jamesonDarkMode JSON stringify true console log Dark mode on optional to change fontawesome icon on button var buttonElement document getElementById darkIcon buttonElement classList toggle fa moon buttonElement classList toggle fas buttonElement classList toggle far buttonElement classList toggle fa sun Now whenever the user clicks the button the localstorage variable will be updated and saved across your site 2021-06-03 20:47:37
海外TECH DEV Community 10 Tips to Prevent and Manage Technical Debt https://dev.to/alexomeyer/10-tips-to-prevent-and-manage-technical-debt-1ci4 Tips to Prevent and Manage Technical DebtDevelopers deal with technical debt every day and they know how to prevent and manage it better than anyone else Here s just some of what they had to say Plenty of people have written about technical debt They might be discussing it in the context of improving velocity code churn code refactoring or it might just be an item on a very long to do list that never gets prioritised We put out a call out for real world experiences of what helps when it comes to reducing technical debt and received a huge number of responses from devs across a variety of sectors In the previous article developers told us about their technical debt horror stories Here s what they had to say about how to manage and prevent it Treat technological debt as a tool rather than a scourge“Technical debt like financial debt is more likely to become an issue if you ignore it or act as if it doesn t exist Instead accept it and regard it as a method that needs constant attention and maintenance The first step is to accept that certain technological debt will still exist and that this is a healthy thing Spending time attempting to eliminate technical debt could mean you re not providing enough value to your customers while they re trying to solve new and creative problems A strong rule of thumb for sorting “good debt the technical equivalent of a manageable mortgage for example from “bad debt the technical equivalent of excessive high interest credit card debt The key is to carefully balance the key trade offs that provide the most value to customers while incurring the least amount of debt Also within the same organisation this type of evaluation can differ Jason Mitchell Chief Technology Officer at Smart Billions Embed technical debt management into the company culture“As part of our company s culture we deal with tech debt with a joint code review This helps knowledge move across the organisation and potentially avoids making the same mistakes for the next features and products developed within the company We have created a full “Definition of Done flow where even if you make technological compromises along the way and as part of the design they are logged immediately so the product or feature is not DONE until we have handled them even if that means we are eternally in beta phase We have found that dealing with infrastructure is another great method If we are fixing a tech debt and the cost of making it solid infrastructure as part of the platform for the next services and features is not too high we will choose to do so Additionally we have a few tech debt enthusiasts led by our lead engineer who keep this conversation above the ground at all times Aviad Mizrachi CTO amp Co Founder of Frontegg Documentation is everything“Since IT can be such an effective way to help improve a business losing out on the capabilities that an effective IT team provides can be really damaging to a business Our primary tool in helping with both eliminating technical debt and keeping it gone is solid documentation Training our technicians to always document every element of a ticket and any oddities and configuration details not currently documented that they see in an environment before moving on allows our technical leads to having a much better idea of the state of our customer environments and therefore a much clearer idea of what the issue could be when something goes wrong At the end of the day better documentation and cleaner environments allow more to be done by IT with less labour both in the reactive sense of fixing issues and in the proactive sense to help develop your business Channing Norton owner PC Solutions Product owners can help prevent technical debt“As Product Owners you can aid in the prevention of new Technical Debt If features that are not used by users customers are not maintained at the same level of quality as the rest of the Product they can accumulate Technical Debt Recently one of my teams discovered a functionality that none of our previous or current customers uses Worse there were no corresponding automated checks Not only was it causing difficulties during the coding process but considerable time was being squandered by manually regression checking it Chana Charach Chief Financial Officer at Income ca Make technical debt a priority in open source cultureAccording to Justin Dorfman Open Source Program Manager at Reblaze what has helped is “not being a gatekeeper and or control freak All code is disposable and we should never get attached to any of it For organizations culture is very important Too many developers work in places where “there s never enough time to do it right so later we ll have to do it over For individuals attitude is very important Developers tend to be very independent and we d rather not participate in formal code reviews pair programming and so onーbut those practices can help prevent a lot of technical debt Technical debt is often a hindrance to performance When you get rid of it the code can run faster and better And I find that there s a personal reward too In open source projects that I ve started once the projects have caught on new contributors come in Often they will take my code and before it could turn into incurable spaghetti code technical debt they will rewrite it and optimise better than I could have ever imagined Curiefense is Reblaze s latest open source project “Even though it s only months old we are already fixing tech debt such as rewriting some of the code in Rust for better performance and security What s great about open source is that our practices roles responsibilities and tools are all public The fact that our users can open an issue on GitHub so we can then address and fix it in public clearly shows who what why and how we work to minimise technical debt The tools we use besides GitHub issues to help us fight tech debt are CI CD Bots Dependabot CodeQL and following best practices Justin Dorfman Open Source Program Manager at Reblaze Mention Technical Debt in Stand Up If you re working on something that appears to have the potential to generate technological debt in the future it s worth noting during these stand ups Someone else on the team may have an idea for resolving the issue without incurring debt At the very least it alerts the project manager to the possibility of future attention being required Pooneh Ramezani CEO of Dr Brite Add a Project to Your Product Roadmap The product roadmap is a high level document that communicates what tasks to occur in order for a product to achieve its vision Typically the types of projects that appear on a roadmap are those that address the needs of your product s end users There are several instances where you can argue that adding a technical debt project to the roadmap is essential This is the case where a considerable amount of time is required to complete the solution more than a few weeks of work will provide Similarly to creating a ticket in the backlog once a project is added to the roadmap it should be reviewed in conjunction with all other projects to assess its priority Dusan Stanar Founder amp CEO of VSS Monitoring Adjust Your Definition of Done“If you write tickets properly each one will have a description of completed The term over refers to a set of tasks that will be valid until the ticket is resolved Once all is verified you can close the problem Writing an effective description of finished requires ability A comprehensive definition of done should include the activities necessary to resolve technical debt For instance if you re still using legacy payment provider code and have a ticket open that includes some payment provider code the concept of done could include updates to payment provider API version Including tasks in your concept of finished will lengthen the time required to complete the ticket but once completed you won t have to worry about old code slowing down development work Tony Kelly Founder amp CEO at CameraGroove Choose a Flexible Architecture“I still emphasise the importance of good architectural design Software evolution is the focus of today s development And architecture that needs refactoring and isn t flexible enough to accommodate changes would be a costly debt to repay As a result we at TRGDatacenters use easily scalable architectures such as microservices container based architectures to easily expand them at the start of an agile iteration for new features planned for release Eric McGee Senior Network Engineer at TRGDatacenters Understanding the problem is the key to developing a solutionStepsize enables companies to gain real actionable insights into their technical debt With our product engineers can track debt directly from their workflow code editor pull request Slack and more Stepsize automatically picks up important context like the code the debt relates to and engineers get to quantify the impact the debt is having on the business and the risks it presents e g time lost customer risk and more so that you can prioritise it easily Our core product is available for free to all teams and our debt calculator gives you a starting point to determine where to focus your energies 2021-06-03 20:18:30
海外TECH DEV Community Requests and Connections like LinkedIn - How to Implement These Model Relationships in a Rails App https://dev.to/nicklevenson/requests-and-connections-like-linkedin-how-to-implement-these-model-relationships-in-a-rails-app-59on Requests and Connections like LinkedIn How to Implement These Model Relationships in a Rails AppAs part of a large project I have been working on I wanted to allow users to request and accept connections from other users Very similar to the way LinkedIn works users could ask others to get connected and be connected with those users if the request was accepted This proved to be a challenging but fun exercise in model relationships in a Rails application There are plenty of other ways to do this but this is what worked well for me First and foremost we needed a User class We also know we would need a class for a Request as well as a class for a Connection it s important to keep these as individual models in order to separate concerns We will be customizing our associations with these models using the Rails association methods of class name and foreign key These are important because they allow us to customize our relationships in a way for this whole thing to work Request ModelFirst let s build out our request model since that functionality will precede the connection model This model is relatively simple and will look like this class Request lt ApplicationRecord belongs to requestor class name User belongs to receiver class name Userendcreate table requests force cascade do t t integer requestor id t integer receiver id t datetime created at precision null false t datetime updated at precision null falseendBasically we are telling Rails that the Request class belongs to TWO users one is the requestor and one is the receiver of the request This is why in our migration we specify their ids as we would with any belongs to relationship The only difference is that the User classes that this request belongs to are ALIASED to specify who the requestor is and receiver as opposed to saying belongs to user this would only allow us to have the request belong to a singular user with no alias Now in our User model we can specify this Request association We essentially want to tell Rails that a User has many Requests but with the caveat that this User is labelled as a Receiver or a Requestor Similar to before we will add alias names here has many connection requests as requestor foreign key requestor id class name Request has many connection requests as receiver foreign key receiver id class name RequestLike before we are specifying two has many relationships where the User has many Requests as a Receiver and has many Requests as a Requestor We need to tell Rails what foreign key to associate this User with in the Request instance which is why we specify foreign key in each of these associations We could then call something like user connection requests as requestor which would return to us a list of requests where the requestor is the user That request would also contain the id of whoever the receiver was We could then write two instance methods on the User class to gather incoming connection requests or pending outgoing connection requests These would look something like this def incoming pending requests User where id self connection requests as receiver map request request requestor id end def outgoing pending requests User where id self connection requests as receiver map request request receiver id endThe incoming pending requests methods will return a list of Users who have requested to connect with the current user The outgoing pending requests method will return a list of users that the current user has requested to connect with You can imagine what a method to request a connection would look like def request connection other user id Request create requestor id self id receiver id other user id endConnectionsNow that we have our requests figured out Let s move on to the connections model This model functions very similarly to the Request model in that we will be using Alias names and foreign keys to allow the Connection instance to belong to two distinct users class Connection lt ApplicationRecord belongs to user a class name User belongs to user b class name Userendcreate table connections force cascade do t t integer user a id t integer user b id t datetime created at precision null false t datetime updated at precision null falseendAlmost identical to the Request class out Connection model holds the foreign key to two separate Users user a and user b that it belongs to That way in our User class we can specify class User lt ApplicationRecord has many a users foreign key user a id class name Connection has many b users foreign key user b id class name ConnectionThis means that a User has many connected Users where the user is user a and there are many connected Users where the user is user b Calling either of these association on the user will return an Active Record association containing a list of Connections where the current user is either a or b So we should now write a method to accept an incoming request def accept incoming connection requesting user id request Request find by requestor id requesting user id receiver id self id requested user User find requesting user id if request Connection find or create by user a id self id user b id requesting user id request destroy end endBasically we are finding a request based on whoever has requested to connect with this current user If there is a request we then create a connection between the two users and destroy the request It s that simple Then to get a list of a user s connected users we write the method def connected users connections Connection where user a id OR user b id self id self id User where id connections map c c user a id self id c user a id c user b id endHere we are getting a list of connections where the user a id or user b id is the current user We then get an AR association of users who were included in these connections and who are not the current user And that s all We have successfully implemented a Connected Users relationship similar to something like LinkedIn I hope you ve enjoyed this article and feel free to leave comments or questions 2021-06-03 20:15:25
Apple AppleInsider - Frontpage News Apple CEO Tim Cook talked with Malala about coding, education, the pandemic https://appleinsider.com/articles/21/06/03/apple-ceo-tim-cook-talked-with-malala-about-coding-education-the-pandemic?utm_medium=rss Apple CEO Tim Cook talked with Malala about coding education the pandemicAs part of a video conversation series Apple CEO Tim Cook spoke with Malala Yousafzai about life during the pandemic and what s next Tim Cook and Malala The conversation ranged from how Tim Cook and Malala first met to their love of Apple TV show Ted Lasso Hosted by British Vogue the In Conversation series brings various people together to discuss the world and events around them Read more 2021-06-03 20:05:44
Apple AppleInsider - Frontpage News Nanoleaf Elements Wood Look Hexagons review: A more grounded smart light https://appleinsider.com/articles/21/06/03/nanoleaf-elements-wood-look-hexagons-review-a-more-grounded-smart-light?utm_medium=rss Nanoleaf Elements Wood Look Hexagons review A more grounded smart lightNanoleaf s new wood inspired HomeKit enabled light panels help keep you grounded with a more natural feel for your smart home Nanoleaf Elements Wood Look HexagonsThe Wood Essentials are Nanoleaf s newest designs following the company s rollout of its initial Essentials products The Essentials line began with a light strip and smart bulb both Thread enabled Now the Essentials line is growing with the addition of the Nanoleaf Elements Wood Look Hexagons Read more 2021-06-03 20:22:51
Apple AppleInsider - Frontpage News Potential 16-inch MacBook Pro refresh surfaces in regulatory filings https://appleinsider.com/articles/21/06/03/potential-16-inch-macbook-pro-refresh-surfaces-in-regulatory-filings?utm_medium=rss Potential inch MacBook Pro refresh surfaces in regulatory filingsA Chinese regulatory filing for what appears to be a inch MacBook Pro battery has been discovered ahead of a rumored announcement at WWDC Credit Andrew O Hara AppleInsiderThe regulatory listing filed on April by Apple supplier Sunwoda Electronic doesn t specifically mention Apple However it carries a model identifier of A which lines up with Apple s other model numbers Read more 2021-06-03 20:26:01
Apple AppleInsider - Frontpage News Steve Wozniak can't sue YouTube for Bitcoin scam videos https://appleinsider.com/articles/21/06/03/steve-wozniak-cant-sue-youtube-for-bitcoin-scam-videos?utm_medium=rss Steve Wozniak can x t sue YouTube for Bitcoin scam videosApple co founder Steve Wozniak has lost his bid to sue YouTube over scam videos that claimed he was host of a Bitcoin giveaway and used his image Steve WozniakSanta Clara County Superior Court Judge Sunil R Kulkarnia has denied Steve Wozniak s lawsuit against YouTube saying that there were insufficient factors to overcome Section immunity This is the part of the Communications Decency Act which states that platforms are not typically responsible for content posted by users Read more 2021-06-03 20:27:57
海外TECH Engadget Square Enix will show off 'Babylon's Fall' from PlatinumGames during E3 https://www.engadget.com/square-enix-e3-2021-details-203521126.html?src=rss_b2c babylon 2021-06-03 20:35:21
ニュース BBC News - Home Covid travel rules: Portugal removed from UK green list as seven others join red list https://www.bbc.co.uk/news/uk-57346888 amber 2021-06-03 20:00:49
ビジネス ダイヤモンド・オンライン - 新着記事 「1回100万円」商社のセレブ出張が消滅!コロナで働き方が激変した商社パーソンの本音 - 商社 非常事態宣言 https://diamond.jp/articles/-/272397 昔ながらの 2021-06-04 05:25:00
ビジネス ダイヤモンド・オンライン - 新着記事 商社の出世の王道「看板部門」が解体危機!住友商事の金属、伊藤忠の繊維… - 商社 非常事態宣言 https://diamond.jp/articles/-/272396 事業部門 2021-06-04 05:20:00
ビジネス ダイヤモンド・オンライン - 新着記事 ホテル・旅館の倒産予兆はこう見抜け!帝国データバンクが解説【チェックリスト付】 - 観光・ホテル「6月危機」 https://diamond.jp/articles/-/273064 帝国データバンク 2021-06-04 05:15:00
ビジネス ダイヤモンド・オンライン - 新着記事 楽天&日本郵政提携に早くも亀裂、元凶はアマゾン対抗「物流投資」の押し付け合い - 楽天 底なしの赤字 https://diamond.jp/articles/-/272371 楽天日本郵政提携に早くも亀裂、元凶はアマゾン対抗「物流投資」の押し付け合い楽天底なしの赤字月にタッグを組んだばかりの楽天グループと日本郵政に、早くも不穏な空気が流れている。 2021-06-04 05:10:00
ビジネス ダイヤモンド・オンライン - 新着記事 花王が減収、資生堂は増収となったコロナ禍ならではの「ある事情」 - ダイヤモンド 決算報 https://diamond.jp/articles/-/273068 上場企業 2021-06-04 05:05:00
ビジネス 電通報 | 広告業界動向とマーケティングのコラム・ニュース カスタマーサクセスを実現する「データの使い方」とは? https://dentsu-ho.com/articles/7782 成功体験 2021-06-04 06:00:00
ビジネス 電通報 | 広告業界動向とマーケティングのコラム・ニュース コミュニケーションは、サイエンスである https://dentsu-ho.com/articles/7775 連載 2021-06-04 06:00:00
ビジネス 不景気.com チッソが希望退職制度による120名の人員削減へ - 不景気.com https://www.fukeiki.com/2021/06/chisso-cut-120-job.html 人員削減 2021-06-03 20:37:37
北海道 北海道新聞 五輪開催の判断 専門家の声に耳傾けよ https://www.hokkaido-np.co.jp/article/551534/ 新型コロナウイルス 2021-06-04 05:05:00
ビジネス 東洋経済オンライン 「打倒アイコス」、加熱式新商品に託すJTの命運 大リストラ、上場来初の減配に踏み切って挑む | 専門店・ブランド・消費財 | 東洋経済オンライン https://toyokeizai.net/articles/-/432321?utm_source=rss&utm_medium=http&utm_campaign=link_back 日本たばこ産業 2021-06-04 05:30:00

コメント

このブログの人気の投稿

投稿時間:2021-06-17 22:08:45 RSSフィード2021-06-17 22:00 分まとめ(2089件)

投稿時間:2021-06-20 02:06:12 RSSフィード2021-06-20 02:00 分まとめ(3871件)

投稿時間:2021-06-17 05:05:34 RSSフィード2021-06-17 05:00 分まとめ(1274件)