投稿時間:2022-04-10 21:27:30 RSSフィード2022-04-10 21:00 分まとめ(33件)

カテゴリー等 サイト名等 記事タイトル・トレンドワード等 リンクURL 頻出ワード・要約等/検索ボリューム 登録日
IT 気になる、記になる… 「Studio Display」のファームウェアアップデートで不具合の発生が一部で報告される − 最悪の場合は修理に出す必要も https://taisy0.com/2022/04/10/155597.html studiodispla 2022-04-10 11:39:34
AWS lambdaタグが付けられた新着投稿 - Qiita Lambdaまとめ https://qiita.com/tatsuya11bbs/items/dfacdaab0eb7ca69cf00 lambda 2022-04-10 20:57:05
python Pythonタグが付けられた新着投稿 - Qiita AWS Cloud9でPython基礎 https://qiita.com/emiki/items/65eb26492be5315d929d awscloud 2022-04-10 20:54:53
python Pythonタグが付けられた新着投稿 - Qiita 『アイの歌声を聴かせて』が21世紀だとしたら何年なのか、プログラミングで挙げてみる https://qiita.com/ftnext/items/b0b3485ee2ed9ee1de70 近く 2022-04-10 20:34:30
python Pythonタグが付けられた新着投稿 - Qiita 地球上のある地点からある距離だけある方向へ離れた点の座標を求める https://qiita.com/kasugab3621/items/47a5077e31c5209e7f9c xxxkm 2022-04-10 20:30:53
python Pythonタグが付けられた新着投稿 - Qiita VSCode の Remote Container で Azure Functions + Python 開発環境を構築する https://qiita.com/takashiuesaka/items/dc6781136b1924b8c0d3 azurefunc 2022-04-10 20:02:37
js JavaScriptタグが付けられた新着投稿 - Qiita 【JS】アコーディオンメニューの様なQandA【jQuery】 https://qiita.com/mushroominger/items/282b43cc8ccee4fad7d2 gtltdivclassqawrappergtlt 2022-04-10 20:20:12
Ruby Rubyタグが付けられた新着投稿 - Qiita Ruby から classify text API を叩く https://qiita.com/tommy-012/items/55066ab99dbcb7626f0a embedcite 2022-04-10 20:37:09
AWS AWSタグが付けられた新着投稿 - Qiita Lambdaまとめ https://qiita.com/tatsuya11bbs/items/dfacdaab0eb7ca69cf00 lambda 2022-04-10 20:57:05
AWS AWSタグが付けられた新着投稿 - Qiita AWS Cloud9でPython基礎 https://qiita.com/emiki/items/65eb26492be5315d929d awscloud 2022-04-10 20:54:53
AWS AWSタグが付けられた新着投稿 - Qiita AWS SysOps Associate対策 https://qiita.com/tatsuya11bbs/items/1796750799ef82afbb54 awssysopsassociate 2022-04-10 20:25:29
AWS AWSタグが付けられた新着投稿 - Qiita AWS Developer Associate を受かったのでメモ公開 https://qiita.com/tatsuya11bbs/items/ad8f6a42ae4f44379b37 awsdeveloperassociate 2022-04-10 20:23:51
Docker dockerタグが付けられた新着投稿 - Qiita kubernetesをざっと勉強した https://qiita.com/tatsuya11bbs/items/b85a3238ec5341daff03 kubernetes 2022-04-10 20:53:17
Docker dockerタグが付けられた新着投稿 - Qiita BlazorとSQL Serverをdocker-composeで立ち上げる https://qiita.com/t13801206/items/61cfae2901dea19dac9b blazor 2022-04-10 20:31:12
Docker dockerタグが付けられた新着投稿 - Qiita VSCode の Remote Container で Azure Functions + Python 開発環境を構築する https://qiita.com/takashiuesaka/items/dc6781136b1924b8c0d3 azurefunc 2022-04-10 20:02:37
Git Gitタグが付けられた新着投稿 - Qiita git で一番危険なコマンドは init ? https://qiita.com/yuji96/items/136b6c8346d99b581f1d mkdirhogecdhogegitinit 2022-04-10 20:56:35
海外TECH DEV Community How to turn HTML webpage into an Image? https://dev.to/jasmin/how-to-turn-html-webpage-into-an-image-n1c How to turn HTML webpage into an Image While working in one of my project I had to implement a feature where I have turn an HTML webpage to an Image The first thought that occurred to me was to use an inbuilt library but like dom to image or using Chrome Headless or a wrapper library like Puppeteer While working I came across this technique using pure Javascript Let s try to achieve this without using any library Converting HTML webpage into an Image by using Canvas We cannot direct draw the HTML into Canvas due to the security reasons We will follow another approach which will be safer StepsCreate SVG Image that will contain the rendering content lt svg xmlns width height gt lt svg gt Insert a lt foreignObject gt element inside the SVG which will contain the HTML lt svg xmlns width height gt lt foreignObject width height gt lt foreignObject gt lt svg gt Add the XHTML content inside the lt foreignObject gt node lt svg xmlns width height gt lt foreignObject width height gt lt div xmlns gt lt style gt em color red lt style gt Hey there lt div gt lt foreignObject gt lt svg gt Create the image object and set the src of an image to the data url of the image const tempImg document createElement img tempImg src data image svg xml encodeURIComponent lt svg xmlns width height gt lt foreignObject width height gt lt div xmlns gt Hey there lt div gt lt foreignObject gt lt svg gt Draw this Image onto Canvas and set canvas data to target img src const newImg document createElement img newImg src data image svg xml encodeURIComponent lt svg xmlns width height gt lt foreignObject width height gt lt div xmlns gt Hey there lt div gt lt foreignObject gt lt svg gt add event listener to image newImg addEventListener load onNewImageLoad method to draw image to canvas and set data to target img srcfunction onNewImageLoad e ctx drawImage e target targetImg src canvas toDataURL You can find the complete code in the CodeSandox Reasons why using SVG and Canvas is safe Implementation of SVG image is very restrictive as we don t allow SVG image to load an external resource even one that appears on the same domain Scripting in an SVG image is not allowed there is no way to access the DOM of an SVG image from other scripts and DOM elements in SVG images cannot receive input events Thus there is no way to load privileged information into a form control such as a full path in a lt input type file gt and render it The restriction that script can t directly touch DOM nodes that get rendered to the canvas is important from the security point of view I tried to cover this topic and steps in brief Please feel free to add on related to this topic Happy Learning ‍ 2022-04-10 11:51:08
海外TECH DEV Community Managing vim plugins using pathogen https://dev.to/snikhill/managing-vim-plugins-using-pathogen-55g9 Managing vim plugins using pathogenI have been using pathogen as a plugin manager for my neovim It is a very simple tool that requires no special commands to install a plugin Just clone the plugin repository to a specified folder bundle by default and pathogen will add the plugin to the runtime path on next restart It works fine but the thing is what if you end up migrating your system or for some reason you had to recover your vim config There is no way to keep a record of the plugins you had installed previously Zum Beispiel vim plug stores the plugins installed in the vimrc between call plug begin and call plug end I wanted something quick and similar to vim plug s solution So I wrote a mini bash script It is just a combination of a PLUGINS meant to hold the url s for all the plugins used and a for loop that clones them to the bundle directory Here is the codeplugins sh bin bash I STORE THE plugins LIST IN A SEPARATE shell fileexport plugins colorschemes OtherPlugins plug install sh bin bash THE FILE THAT CONTAINS THE plugins LISTsource plugins shcd bundlefor plugin in plugins do git clone q plugindoneSure there may be some more sophisticated tools for the same out there but till now this script works for me CaveatsYes there are some caveats like There is no check if a plugin already exists and this may be a problem for people who install new plugins frequently NB I may update the script to address these caveats Custom Cloned Directory Name Yes you can still specify a custom directory name for the plugin so that it is registered under the runtime path appropriately And all you need to do is add the directory name after the git url CUSTOM DIRECTORY NAME For example in the above image I have specified colorschemes as the custom directory name and hence git will clone the vim colorschemes plugin to colorschemes directory and not vim colorschemes directory Using it I have presumed that you are using the same file variable names as my dotfiles Add the new plugin s git repository url to plugins list specified in plugins shRun the plug install shStart your vim instance and run CheckHealth to see if the installed plugin is setup correctlyYou can see this setup in action in my dotfiles repository NB Let me know if you have any questions 2022-04-10 11:32:06
海外TECH DEV Community From ISO to AMI - how to create your own custom AMI? https://dev.to/otomato_io/from-iso-to-ami-how-to-create-your-own-custom-ami-5213 From ISO to AMI how to create your own custom AMI Why do we need custom AMI While it might be very simple to get an instance up and running in AWS this instance might be not exactly what you have been looking for Some files are already customized several packages that you do not either want or need are installed and in some cases you ll want a clean kernel and not the AWS provided version that is compatible with specific cloud tools only So applying anything related to package updates on any other platform besides AWS will be like trying to start someone s car with your own key it has the same functionality but you cannot communicate with it You can always buy an AMI that someone prepared for such purposes For those of us who like to do it the hard way and break their machine in the process there is an alternative way create your own AMI from scratch After spending some time googling this particular task I sadly have found out that most of the tutorials are just copy paste and do not lead to the desired goal This is one that works It might not be the best way or the shortest way but it works What do we need ISO of the distribution of your choice I used Ubuntu server Virtual Box there are many options to create a VM chose your weapon according to your needs I found Oracle VirtualBox to be the most suited for this task I used version AWS account you will need some extended privileges to create buckets roles and policies Configured aws cli if you have never used this tool you can look up how to download it according to your distribution from this link In order to use it you will need to create a pair of the access key ID and secret access key Once you have it run aws configure from your terminal and add your key ID and secret access key The prompted region should match your working AWS region How to do it Step create a machineDownload your favorite flavor of the ISO Create a new machine in the Virtual Box and attach the ISO to it Match the settings to your needs my goal was to merely download and pack latest OS security patches so the basic CPU and RAM did the job Run the machine install the distribution and set username and password You will need them later Either during the installation or afterwards install the openssh package and enable the service If you want to connect to your future instance with a specific SSH key import the public SSH key to the dedicated directory cdmkdir sshtouch ssh authorized keysPaste you public SSH key in the authorized keys file Otherwise you will be able to connect to the instance only with the username and the password you have created for the VM Stop the machine and convert it to OVA format click on file gt export appliance gt chose your machine to export chose the destination to save OVA file export Step prepare AWS resourcesGo to your S storage and create a bucket and upload your OVA Create a local directory with following files containers json role policy json trust policy json These files will define a role a policy and parameters for your AMI conversion First setup a IAM role that will execute the conversion vmimport Edit trust policy json Version Statement Effect Allow Principal Service vmie amazonaws com Action sts AssumeRole Condition StringEquals sts Externalid vmimport Then setup the policy for the role to use in the conversion process Edit role policy json insert the name of your bucket where the OVA is stored Version Statement Effect Allow Action s GetBucketLocation s GetObject s ListBucket Resource arn aws s YOUR BUCKET arn aws s YOUR BUCKET Effect Allow Action s GetBucketLocation s GetObject s ListBucket s PutObject s GetBucketAcl Resource arn aws s YOUR BUCKET arn aws s YOUR BUCKET Effect Allow Action ec ModifySnapshotAttribute ec CopySnapshot ec RegisterImage ec Describe Resource Now create the role From your terminal run aws iam create role role name vmimport assume role policy document file path to trust policy json Afterwards attach the policy to it aws iam put role policy role name vmimport policy name vmimport policy document file path to role policy json The last file you edit will reference the format of the image and the bucket containers json references the command that will read from it and just contains all the information about your image format number of disks bucket and the name SKey of the image Description vm import Format ova UserBucket SBucket YOUR BUCKET SKey NAME OF YOUR IMAGE ova Start the process of conversion Run this command from your terminal aws ec import image description YOUR DESCRIPTION disk containers file path to containers json An output of the command will provide you with ami number use it to check the process aws ec describe import image tasks import task ids import ami When the process is completed your ami will be uploaded directly to your AMI directory Troubleshooting and aftermathAlthough it is possible to use another format of the images vmdk vhd however I had no success with them The format is important There is a documentation for it it might work for you Another issue still needs checking does it work for the distributions that are not supported by AWS by default Happy clouding 2022-04-10 11:23:35
海外TECH DEV Community I need some contributors for two big projects https://dev.to/josephfir/i-need-some-contributors-for-two-big-projects-55j2 I need some contributors for two big projects 2022-04-10 11:03:51
海外TECH DEV Community Future of coding https://dev.to/kjjose00/future-of-coding-4dff Future of codingthe future of coding is going to make human immortalin future human will code human planets stars galaxies etc within no time there will be nothing impossiblethus human will be the most powerful creature in the entire universe aliens will bow their heads in front of human 2022-04-10 11:03:46
海外TECH DEV Community Skills to focus on for staff+ roles https://dev.to/mlowen/skills-to-focus-on-for-staff-roles-41a8 Skills to focus on for staff rolesOriginally posted on my blog Recently a senior developer at work who is on the individual contributor IC path asked for advice as what they should be focussing on as they progress towards a staff role Reflecting on the feedback I realised that with a bit of generalisation it would be useful for anyone looking to step up into a staff style of role With the permission of the developer who requested the guidance here is an edited and slightly expanded version of the feedback I gave A bit of context around the advice given the company I work for is a SaaS product company currently going on a journey to transform our monolith into a service based architecture this does influence some of the advice and recommendations that have been given I m the sort of person whose learning style suits asorbing information from books and then using little projects when I can to apply that knowledge As such I make recommendations of a few books throughout this post these are all books that I have myself As you progress your technical skills while important become less relevant in many respects In my mind what differentiates an intermediate from a senior from a staff engineer is increasing less about technical skill as you go along and much more about what are traditionally called soft skills though I ve never been a big fan of the term as I think these are the skills tend to be more difficult to master As a generalisation communication is always a good thing to keep working on as it will become probably your core tool in your toolbox The IC path is one that is centered around influence without authority and most of what you end up doing is trying to convince people to do things in the way you suggest In terms of specific skill sets that become more prominent when working in staff roles it s my opinion that you would want to focus on the following Strategic thinkingAs you progress down the IC path you will have more and more influence on company and engineering strategy so it is important to get your head in that space This can range from how do you ensure you are supporting the broader strategy and how do you foster and create the appropriate strategies and vision for engineers informed by what the company is doing Part of the role of a staff engineer is to provide the guiding light to rest of the engineering capability A good write up around formulating strategies can be found at StaffEng a book mentioned in there that I have also had recommended to me by others is Good Strategy Bad Strategy I must admit this is one on my to read list but I ve had enough people I respect talk well about it that I got a physical copy Product thinkingYou will find yourself making more and more product decisions or at the very least in assisting in them While a product manager is ultimately accountable for a product roadmap or strategy as a staff engineer I believe it is a shared responsibility between the two roles to develop those artefacts You ll also find yourself being asked more and more product orientated questions by engineers as well so it is important that you build up that product skillset especially working if you continue working for product companies A few books I might recommend are Lean StartupThe Lean Product HandbookProduct Roadmaps RelaunchedEscaping the Build Trap Tradeoff analysisThis again is another key skill set that will come into play to quote Neal Ford There are no right or wrong answers in architectureーonly trade offs Understanding the tradeoffs is also about how do you influence where you system is going in the future Many times this may be unintentionally setting the direction for the architecture for the system Where possible you should avoid concreting over a door and making a decision reversible if possible When making faced with deciding between tradeoffs and making decisions a good question to ask yourself is do I need to make this choice now Sometimes it s better to wait to gather more information and make an informed decision and wait for the last responsible moment One of the core responsibilities of a staff engineer in my opinion is balancing emergent vs intentional architecture Intentional architecture is what you set out to build initially and emergent is what presents itself as you begin to actually build the system In my experience most of the time the emergent architecture is usually the preferred option it usually presents itself due to the discovery of new information At the heart of this balance is making sure you understand the tradeoffs of following either path During delivery this quite often presents itself as when do we take on technical debt which is always a tough decision and one where the manta Perfection is the enemy of good enough comes into play At the end of the day the most important thing is deliverying business value the code and architecture can be perfect but if it s not out in the world being used it doesn t really matter You can always come back and fix up incurred debt it s a different problem if not given that opportunity In my experience and opinion the systems that usually have the higher levels of tech debt are new systems which brings to mind a quote by Reid Hoffman If you are not embarrassed by the first version of your product you ve launched too late Now all this is not to say you should always take the option to incur technical debt but it s important to understand the tradeoffs when making any decision I think it was Neal Ford or Sam Newman who also said that and I m paraphrasing Every decision has trade offs if you think you ve found one that doesn t it just means you haven t found it yet Systems ThinkingPerhaps of all of the areas of focus here this is the one that comes most naturally to a developer the key here is lifting up the level of abstraction which you are working at Where you may be used to working at the class function story level you are having to hoist yourself up to understanding the impact on the entire system I d go so far that you need to make sure that you are operating at a level of abstraction where you understand the impacts on the people and process of either the company or the customer Stakeholder ManagementThinking on all of the above another of the key responsibilities of a staff engineer is stakeholder management You ll be wanting to understand who they are balancing their various needs and wants and how that will impact the system that is being built This also includes making sure they understand the impacts that technical strategies and decisions will have on them One of the things I see people new to the role overlook is that the development teams are also stakeholders that you need to account for General AdviceFrom here I would like to offer more generalised advice from my own journey that I hope you find valuable Starting with some advice that I got when I first moved into an IC leadership role regarding the developers in my team I had just stepped into a technical lead role Just because it s not the way you d do it doesn t mean that it s wrong This is something that I still struggle with at times I think it comes from being overly opinionated when the mood takes me it is something that I ve needed to loosen up on Though loosening up can also be detrimental at times where teams may go too far off the reservation which is likely more to do with a lack of guard rails for the team to operate within I ve also in my time come to value a hunger to learn and adapt over straight skill sets when it comes to working with developers Skills can be taught but that type of mindset it a lot harder to embed in someone who doesn t have it An architects or staff engineer I consider the roles to be largely analogous is a very amorphous role and will generally change to fill the gaps in an organisation this has also been referred to as being glue While your focus will be on the more technical side of things the people side should not be ignored Much like DevOps can be described as the intersection of people process and technology the same can very much be said about architecture after all that s why Conway s law is a thing You will find yourself involved and helping to guide and define organisational change it can be helpful to have a view on how these sort of things could work and the impact it will have on how you build your systems I ve found team topologies to be one that works well for my mental model Now I know I said that I don t think that technical knowledge isn t as important it is not something that should be neglected here are the list of technical books that I ve found to be useful in my role career Fundamentals of Software ArchitectureBuilding Evolutionary ArchitecturesBuilding MicroservicesMonolith to MicroservicesDesigning Distributed SystemsDomain Driven Design DistilledThe Phoenix ProjectThe Unicorn ProjectAnd because I do love me some dead trees on my shelf here are a set of books I have on my backlog that I m working my way through slowly but surely that I think could be applicable interesting Staff Engineer Currently reading EDGE Value Driven Digital TransformationProject to ProductBuilding Event Driven MicroservicesCodersAn Elegant PuzzleLovabilityThe Mom Test 2022-04-10 11:01:26
海外TECH DEV Community What Diversifying the AI & ML workforce with AWS AI & ML Scholarship Program is all about. https://dev.to/apinke/what-diversifying-the-ai-ml-workforce-with-aws-ai-ml-scholarship-program-is-all-about-4mo1 What Diversifying the AI amp ML workforce with AWS AI amp ML Scholarship Program is all about The AWS offers hands on learning scholarships and mentorship for people underserved or underrepresented in tech through AI and ML scholarship The scholarship is a partnership amongst The AWS Intel and Udacity who want to bridge the gap of getting underrepresented and underserved high school and college students learn foundational ML concepts to give them a head start and prepare them for careers in AI and ML Data is everywhere it drives the world the constant need to make data driven decisions cannot be ignored anymore The need to get superior performance deliver faster and accurate results is a deal breaker It is a make and break point that can not be glossed over even more so because of the need to process an outstanding amount of data informs the decision to migrate to the Cloud No longer is it business as usual as most legacy frameworks may be soon be discarded All this been in the front burner AWS provides a solution within reach by students all over the world learn ML faster with AWS DeepRacer Student AWS DeepRacer an all new free service for students over the age of enrolled in high school and higher education institutions around the globe Applicants access hours of AWS AI amp ML content at launch receive hours of model training and GB of storage per month This is to encourage participants take part in the AWS DeepRacer Student League a global racing competition exclusively for AWS AI amp ML students AWS DeepRacer is positioned to help learners grasp Machine learning quickly Application opens on Monday th April sign up here 2022-04-10 11:01:01
海外ニュース Japan Times latest articles Shanghai residents question human cost of China’s COVID-19 quarantines https://www.japantimes.co.jp/news/2022/04/10/asia-pacific/covid-19-shanghai-quarantines/ Shanghai residents question human cost of China s COVID quarantinesShanghai is doubling down on the quarantine policy converting schools new apartment blocks and vast exhibition halls into centers the largest of which can hold 2022-04-10 20:29:05
ニュース BBC News - Home Akshata Murty: Inquiry into leak of Rishi Sunak's wife's taxes begins https://www.bbc.co.uk/news/uk-politics-61055789?at_medium=RSS&at_campaign=KARANGA chancellor 2022-04-10 11:22:04
北海道 北海道新聞 「核戦力完成」と金正恩氏を称賛 党トップ就任10年で大会 https://www.hokkaido-np.co.jp/article/667916/ 朝鮮労働党 2022-04-10 20:28:00
北海道 北海道新聞 京都府知事、西脇氏が再選確実 共産推薦の新人破る https://www.hokkaido-np.co.jp/article/667915/ 京都府知事 2022-04-10 20:28:00
北海道 北海道新聞 北海道2145人感染 5日連続2千人台 新型コロナ https://www.hokkaido-np.co.jp/article/667849/ 新型コロナウイルス 2022-04-10 20:25:01
北海道 北海道新聞 F1第3戦、角田は15位 豪州GP、ルクレール今季2勝目 https://www.hokkaido-np.co.jp/article/667907/ 豪州 2022-04-10 20:08:50
北海道 北海道新聞 国内で4万9172人感染 新型コロナ、死者39人 https://www.hokkaido-np.co.jp/article/667914/ 新型コロナウイルス 2022-04-10 20:12:00
北海道 北海道新聞 日3―2楽(10日) 延長戦で日ハム近藤サヨナラ打 https://www.hokkaido-np.co.jp/article/667894/ 日本ハム 2022-04-10 20:08:27
北海道 北海道新聞 完全試合、すごすぎて言葉ない 佐々木朗希投手の地元、感嘆の声 https://www.hokkaido-np.co.jp/article/667913/ 完全試合 2022-04-10 20:05:00
海外TECH reddit [META] Kingdom Hearts 20th Anniversary Announcements Megathread] https://www.reddit.com/r/KingdomHearts/comments/u0fg71/meta_kingdom_hearts_20th_anniversary/ META Kingdom Hearts th Anniversary Announcements Megathread Well here we are Feel free to use this hub as general discussion about the all the anniversary announcements While we can t stop you guys from containing your excitement this thread is here to mostly serve as a hub of information ANNIVERSARY ANNOUNCEMENTS TRAILER ENG KINGDOM HEARTS After a whirlwind evening of waiting for news from the event attendees Kingdom Hearts was formally announced to be in development Hopefully we ll get more info the coming months Magic is DEFINATELY in the making Dark Road s Finale August After a long wait the finale to Kingdom Hearts Dark Road will finally release this August marking the end of an era for the Union Cross App as a whole It s all connected however Kingdom Hearts Missing Link Announcement iOS Android Looking to be a spiritual sequel to Union Cross but now in the style of the mainline games this mobile game is set to have a Closed Beta Test in limited regions sometime in Frankly must there be more left to say It s hype time submitted by u TwilightMaverick to r KingdomHearts link comments 2022-04-10 11:11: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件)