AWS |
AWS Government, Education, and Nonprofits Blog |
Preventing the next pandemic: How researchers analyze millions of genomic datasets with AWS |
https://aws.amazon.com/blogs/publicsector/preventing-next-pandemic-how-researchers-analyze-millions-genomic-datasets-with-aws/
|
Preventing the next pandemic How researchers analyze millions of genomic datasets with AWSHow do we avoid the next global pandemic For researchers collaborating with the University of British Columbia Cloud Innovation Center UBC CIC the answer to that question lies in a massive library of genetic sequencing data But there is a problem the data library is so massive that traditional computing can t comprehensively analyze or process it So the UBC CIC team collaborated with computational virologists to create Serratus an open science viral discovery platform to transform the field of genomicsーbuilt on the massive computational power of the Amazon Web Services AWS Cloud |
2022-01-26 16:25:41 |
python |
Pythonタグが付けられた新着投稿 - Qiita |
DeepLやーる(Windows 10、Python3.6) |
https://qiita.com/SatoshiGachiFujimoto/items/05d22ffa6e2afda2f7f7
|
DeepLやーるWindows、PythonはじめにDeepLやーる開発環境WindowsPCPython実装無料版に登録認証キーをコピーする下記プログラムを実行testpyimportrequestsauthkeyltinsertyourapikeygttextHelloworldtargetlangJAurlfauthkeyamptexttextamptargetlangtargetlangheadersContentTypeapplicationxwwwformurlencodedresponserequestsposturlheadersheadersprintresponsejson実行結果pyDPythonProjectsDeepLgtpythontestpytranslationsdetectedsourcelanguageENtextハロー、ワールドお疲れ様でした。 |
2022-01-27 01:27:34 |
Docker |
dockerタグが付けられた新着投稿 - Qiita |
VsCodeの拡張機能「Remote-Containers」を利用してコンテナ上で「plantuml」を実行するための設定 |
https://qiita.com/cyan1125/items/021f8807eab8181ba895
|
VsCodeの拡張機能「RemoteContainers」を利用してコンテナ上で「plantuml」を実行するための設定VsCodeの拡張機能「RemoteContainers」を利用してコンテナ上で「plantuml」を実行するための設定業務端末で拡張機能を入れる場合、利用申請が必要になるがコンテナ上であれば申請がいらないということなので、その設定ファイルをメモとして残しておく。 |
2022-01-27 01:26:01 |
海外TECH |
MakeUseOf |
How to Use Alexa on a Windows 10 or 11 PC |
https://www.makeuseof.com/windows-10-11-alexa-guide/
|
windows |
2022-01-26 16:45:23 |
海外TECH |
MakeUseOf |
Microsoft Is Bringing Android Apps to Windows 11, Finally Making Good on Its Promise |
https://www.makeuseof.com/windows-11-android-apps-release-date-announcement/
|
windows |
2022-01-26 16:12:43 |
海外TECH |
DEV Community |
How to Start a Design System Without a Company-Led Initiative (A Use Case for Non-Enterprise Businesses) |
https://dev.to/michaelmangial1/how-to-start-a-design-system-without-a-company-led-initiative-a-use-case-for-non-enterprise-businesses-5fo1
|
How to Start a Design System Without a Company Led Initiative A Use Case for Non Enterprise Businesses It s harder to start when there s not a company led initiativeWhile it does not take much to see the benefits of a design system and there s plenty of material out there on the best way to build a design system it is a bit harder to know how to start when there s not a company led initiative Non enterprise companies may be more likely to not be familiar with designs systems and their importance and many times the need for them is unintentionally discovered in the thick of business needs Practical Use CaseExample A company has found their niche in the industry As the company has grown they acquire other startups that are a good fit extend their product offering and in turn take the company to the next level Suddenly there are variety of applications for products living under one company These applications have originated independently from one another As a result all the applications have very different experiences that they present to the user even if the due diligence has been done to update the logo and some of the colors With time the business realizes that organizing the applications to reflect one brand and communicate a common feel experience to users will do much to drive the business forward Finally an initiative for a design system comes However all the various teams implemented some small version of a design system whether in an external codebase or in their existing one The company is basically asking for a design system whether they realize it or not and someone needs to step up If this practical use case sounds familiar or plausible then what do you do Well first we need to consider how things would have shaken out in an ideal scenario The ideal startWe ve discussed a less than ideal example But how would a design system be started in an ideal scenario Ideally a design system would be initiated proactively and not reactively Meaning a design system would be created upfront because of it s ability to set a foundation to craft common experiences even if the company should grow This is in contrast to starting a design system when its discovered that the customers are basically asking for one In an ideal start the company would dedicate full time resources whether internally or externally acquired to build out a design system And hopefully those resources would include at least one designer and one developer both recognizing that design systems have to be prototyped by designers and distributed by developers with a huge amount of conversation overlapping the handoffs When a design system is created proactively there are still some dangers The design system team fails to showcase their work and invite visibility input from other stakeholders the designers and developers that will be consuming the design system Example On the developer side the design system assets do not meet the technical needs of all the applications and or the assets force a technical transition that others don t want to make The design system team releases documentation before it releases assets that can be consumed in code leading to micro design systems being created independently of one another Putting it all together here s what we would ideally have when starting a design system Support from the company as they recognize the business value of the design system and not just geeking out of designers and developers Dedicated resources working on the design system including designers developers and a healthy amount of collaboration between them Communication about the design system to stakeholders making the work visible through online documentation well documented source code and announce and feedback sessions A streamlined process for releasing versions of the design system including both documentation and consumable assets for both designers and developers i e a Figma library CSS file shared components etc Making the best of the less than ideal situationOk so that s the ideal situation but what about when you are in the less than ideal situation Meaning you are in the situation where you see the need for a design system but there is no company led initiative Usually in such a case bandwidth and deadlines are tight but the need for a design system is wide What do you do Well you have three options You put together a strong case including the business impacts of a design system Then you pitch it to whoever can make it happen whether directly or by promoting your case You create an initiative within the designers and developers creating a proof of the concept and then doing the first option collectively For this option you would start by putting together a strong case for a design system but you focus more on the impact on the designers and developers You pitch the idea to a group of designers and developers and then see what happens You wait it out Truth be told you need a bit of each of these options Everyone needs to familiarize themselves with the practical and technical implication from the perspectives of the business the designers and the developers Everyone needs to know why a design system is valuable Plus you ll need to be patient throughout the process While each option has an element of truth to it you ll need to discern what approach is best in your specific scenario Regardless here are a few things you could do to get started If you re a designer start organizing a design system in your design tools and drive product specific prototypes from the unofficial design system If you re a developer create a POC of a design tokens pipeline If there s no designer with an unofficial design system then reverse engineer one and organize it in code using design tokens Surely there are some commonly used colors typography etc that you could organize There is always a design system it s just a matter of whether or not it is formalized organized After a POC has been created begin to share your progress with designers and developers you work with Prepare your pitch Write out how you could communicate the value of a design system and how you could speak to the specific points of interest depending upon whether you re speaking with a designer developer and business person Lay out some ideas of how a design team could be formalized What resources would be needed How would those resources work together How would the team invite visibility Create a roadmap of what needs to be done to get to a stable state with a design system and its consumable assets Be patient and wait for an opportunity Discern who to speak to and when ConclusionWhen working for a company that is not aware of the value of a design system a not uncommon case for non enterprise companies take initiative to lay a foundation and gain momentum Although the business may be reactionary you do not have to be That is no knock on non technical workers but with your creative technical mind understand that you may see things before others do And when that s the case taking initiative is better than wallowing in disappoint Don t become discouraged Although in some ways the less than ideal scenario is well less than ideal it can eventually bear sweeter rewards There is always pros and cons and do your best to see the pros What can you do to help start a design system |
2022-01-26 16:22:27 |
海外TECH |
DEV Community |
CSS Funstuff: Animated Waveforms |
https://dev.to/rolandixor/css-funstuff-animated-waveforms-4cja
|
CSS Funstuff Animated WaveformsHowwwwwwwwwdy I m back with another CSS tutorial and more fun stuff that you can sink your proverbial teeth into What are waveforms Waveforms are a visual representation of any kind of wave as described here For our example we won t be tying our waveforms to any kind of real data but if you re adventurous enough you can use a bit of JavaScript to do just that Screenshot of our eventual results Note I will share the full source code for this project at the bottom of the document but this article will only cover what s absolutely necessary Building the basics Our HTML code First we need seven divs wrapped up in a section each with a unique class lt section gt lt div class wave gt lt div gt lt div class wave gt lt div gt lt div class wave gt lt div gt lt div class wave gt lt div gt lt div class wave gt lt div gt lt div class wave gt lt div gt lt div class wave gt lt div gt lt section gt You can call your classes anything you like but I ve gone with wave to wave to keep things straightforward Our CSS code We ll let flexbox handle the layout and we ll use a wildcard selector to style all those classes without having to write duplicate selectors or rulesets The section section display flex gap px margin top vw The divs class wave aspect ratio background color white border radius px width vw This should give you a result like this minus the heading of course Animating it all Creating the keyframes We ll create an animation description using keyframes named waveform keyframes waveform transform scaleY transform scaleY transform scaleY When applied to any element this animation will cause it to shrink on the Y axis At to half its vertical size height At to x its vertical size At back to half its vertical size again Note If we were to apply a rotation of degrees the Y axis would now correspond to the element s horizontal size This is important to remember when doing more complex animations Applying the animation To actually apply our animation we will modify the class wave ruleset to include an animation declaration class wave aspect ratio This can all be written on one line animation waveform var wavefreq ease in out infinite forwards background color white border radius px width vw This consists of the property animation and a number of values which correspond to other properties such as animation name animation duration animation timing function etc For the sake of brevity I won t cover all of these in this article but you can read the docs on MDN What s with the var If you ve paid attention to the code you ll notice that I included a custom property often called CSS variables in the animation declaration s values This is critical because it will allow us to change the value of our animation speed animation duration without having to re declare the animation for every class we ve written above Declare the variable Include this snippet of code at the top of your CSS file root m wavefreq calc ms var m This tells the browser to create two custom properties m which acts as a constant and wavefreq which calculates the timing of our animation using the calc function Finally timing each class separatelyThis part calls for some repetition so if you re using a text editor that supports duplication you may want put it to good use Or you may just copy and paste this snippet wave wavefreq calc ms var m wave wavefreq calc ms var m wave wavefreq calc ms var m wave wavefreq calc ms var m wave wavefreq calc ms var m wave wavefreq calc ms var m The result Taking Things Further With this code in place you should get something like this If you play with your values a bit such as the constant m or the number of milliseconds in each wave s calc function you can get some rather interesting results Source code ExampleI ve done exactly this in the full project which you can grab from my gumroad page for free It includes a slider and relevant JS code to allow for changing the animation speed which is listed below the waveform in an lt output gt element If you try this out and build something more with it I d love to see your results so feel free to share them with me in the comments or tag me on Twitter |
2022-01-26 16:18:20 |
海外TECH |
DEV Community |
And We DID IT! || J.A.R.V.I.S Reached 400+ 🌟 and 100+forks || GauravSingh9356 |
https://dev.to/gauravsingh9356/and-we-did-it-jarvis-reached-400-and-100forks-gauravsingh9356-4ohe
|
And We DID IT J A R V I S Reached and forks GauravSinghHi All This is a appreciation post to all the open source lovers out there J A R V I S has now crossed over and forks on GitHub I am overwhelmed with this amazing response If you have not checked it please check it out once I promise this will be one of the amazing beginner project that will take your python skill to NEXT Level You will understand how cool things you can make with python Recently I have added Optical Text Recognition OCR with it GitHub LinkAgain Big THANKS Gaurav Singh |
2022-01-26 16:02:26 |
海外TECH |
DEV Community |
Intro to AWS Websockets Part Two: Auth |
https://dev.to/aws-builders/intro-to-aws-websockets-part-two-auth-541n
|
Intro to AWS Websockets Part Two AuthIn my last post we learned how to create a WebSocket API in AWS We stood up a functional API that we can connect to and send messages from But that was only a piece of the puzzle Now that we are started with WebSockets we have to talk about security Really we should have started with security but that ship has sailed We don t want malicious users connecting to our API and attempt to take us down with a DDoS or injection attempts Today we are going to take what we created last week and add a lambda authorizer to it to make sure everyone who connects is a valid user of the system Understanding WebSocket AuthYou might be thinking to yourself why is this post even a thing I know how to add a lambda authorizer to an API While that might be true there are some gotchas specific to WebSockets that you need to know Most front end JavaScript libraries that connect to WebSockets don t really support standard Authorization headers The WebSocket API only supports the Sec WebSocket Protocol header when establishing a connection Tools like Postman allow you to pass in other headers when making a connection which is a good thing but when you get to writing the code for the front end in your app you will be stopped immediately To work around this while still providing us a way to connect securely we have two options Provide delimited values in the Sec WebSocket Protocol headerProvide the auth token in an access token query string parameterBoth approaches have pros and cons and ultimately the decision is yours to make The solution we have deployed into our AWS accounts supports both approaches I recommend using the query string parameter approach because it is straightforward does not repurpose the Sec WebSocket Protocol header So instead of the standard Authorization header when establishing a new connection we will pass in a query string parameter called access token that contains our jwt Another point to note with WebSocket auth you only need to authenticate on connect Every subsequent call uses the same authenticated connection That makes it easy Deploying Updates for AuthIf you followed part one of this series you deployed a basic WebSocket into your AWS account It has the ability to add and remove connections as well as add and remove subscriptions to specific entities Today we are going to use a branch in that repo that enhances what we had If you are unfamiliar with checking out non main branches in a repository you can run the following commands in a terminal of VS Code to check it out locally git fetchgit checkout added authOnce you have the source locally you can deploy the same way you did before by using the sam deploy command Before you run that there is one more update to make to the samconfig toml file In our lambda authorizer we validate the provided jwt a k a auth token came from a trusted source In order to do that we verify the jwt is signed with our secret key The secret key can be anything you like just be sure not to share it with others when doing this in a production scenario I recommend using the sam deploy guided command to re instantiate the parameters for this stack Once that is completed deploy away What Did I Just Deploy First of all thank you for the trust Second you deployed the same setup as last time with a few new features A new lambda authorizerUpdated connect lambda that stores user information more on this later Test lambda that generates a jwt using the secret you provided at deploymentSecrets Manager secret to securely store your jwt secretIncluded in the repository is a complete infrastructure diagram generated from the template yaml file If you don t already include it as a common practice I highly recommend generated diagrams They take no effort and provide a tremendous value Below is the full set of resources deployed into AWS to build a secure WebSocket API Infrastructure Diagram of a Secure WebSocket Architecture Connecting To A Secured WebSocketWith everything deployed it s time to connect to our WebSocket First we need to verify the connection is secure So we will try to connect to it like we did in part one of the series Open the desktop appSelect New gt WebSocket RequestEnter the route from the output of your SAM deployment use the WebsocketUri output value in the address fieldClick the Headers tab and add the Sec WebSocket Protocol header with the value websocketHit ConnectIf all goes as planned we should receive a because we did not provide an auth token response when connecting without an auth tokenNow let s get a token and establish a connection In a terminal or VS Code enter the following command to execute our test lambda that generates a jwtaws lambda invoke function name CreateTestJwt response jsonOpen the generated response json file and copy the value in the authToken propertyIn Postman add a query string parameter to the url called access token and paste the authToken valueHit ConnectConnected successfully Now that we are connected we can send and receive messages to the WebSocket without the need for additional auth What Can We Do Now Now that our WebSocket is secure we don t have to worry about malicious users taking our system down So the first thing we can do is relax Second we ve enabled ourselves to send notifications on a user specific level Lambda authorizers return a context object that contains data enrichments for you to use in your code In our example authorizer we have decoded the userId firstName lastName and sub from the jwt and passed it to the connect function This information is stored on the connection record in Dynamo so we can use it to send push notifications to users User information from the lambda authorizerThe user id is stored as the GSIPK so we can look up connection information for a user and send them a push if we need to This functionality is not implemented in this walk through but we will expand on that in a future article in this series What s Next In the year of async we re diving headfirst into the WebSocket pool Upcoming in the series are posts about how to document a WebSocket API using the Async API Spec adding user based push notifications and moving from synchronous to asynchronous endpoints without missing a beat Experiment with the stack in this tutorial get familiar with the components and make some changes Happy coding |
2022-01-26 16:01:02 |
Apple |
AppleInsider - Frontpage News |
Woolnut Coated Sleeves review: New protective & waterproof iPad covers |
https://appleinsider.com/articles/22/01/26/woolnut-coated-sleeves-review-new-protective-waterproof-ipad-covers?utm_medium=rss
|
Woolnut Coated Sleeves review New protective amp waterproof iPad coversWoolnut s new line of water resistant iPad Pro covers ditch the leather to help protect your Apple tablet while also looking great Woolnut s new iPad Pro sleevesThe last time we took a look at Woolnut s iPad wares it was its leather sleeve and folio These have the same design but are now made from new materials Read more |
2022-01-26 16:56:17 |
Apple |
AppleInsider - Frontpage News |
Best deals Jan. 26: 30% off Parallels Desktop 17 Pro, refurbished Apple Watch discounts, more! |
https://appleinsider.com/articles/22/01/26/best-deals-jan-26-30-off-parallels-desktop-17-pro-refurbished-apple-watch-discounts-more?utm_medium=rss
|
Best deals Jan off Parallels Desktop Pro refurbished Apple Watch discounts more In addition to big savings on a one year Parallels Desktop Pro subscription Wednesday s best deals include off a W Anker USB C wall charger pack off SwitchBot for HomeKit off Bose Frames Alto and for a Tile pack Best deals January As we do every day we ve collected some of the best deals we could find on Apple products tech accessories and other items for the AppleInsider audience If an item is out of stock it may still be able to be ordered for delivery at a later date Read more |
2022-01-26 16:20:55 |
Apple |
AppleInsider - Frontpage News |
Deal: Lifetime Microsoft Office Home & Business for Mac license dips to $49.99 |
https://appleinsider.com/articles/22/01/19/deal-lifetime-microsoft-office-home-business-for-mac-license-dips-to-4999?utm_medium=rss
|
Deal Lifetime Microsoft Office Home amp Business for Mac license dips to Bargain hunters looking for a cheap Microsoft Office license to run on one Mac can gain lifetime access to the Home Business collection of tools for just Microsoft Office for Mac dealThe Office special is off the retail price delivering access to Microsoft Office Home and Business on one Mac computer It s a cost effective way to run six Microsoft Office programs including Outlook Word and Excel in a home or business setting Read more |
2022-01-26 16:01:43 |
Apple |
AppleInsider - Frontpage News |
Apple iCloud caused some services to be slow or unavailable for four hours on Tuesday |
https://appleinsider.com/articles/22/01/26/apple-icloud-outage-causing-some-services-to-be-slow-or-unavailable?utm_medium=rss
|
Apple iCloud caused some services to be slow or unavailable for four hours on TuesdayApple was having issues with its iCloud servers with many users reporting that they cannot access Messages Apple Music files and more Social media reports show emergent issues with several iCloud services For example users have reported being logged out of their iCloud accounts or unable to access anything stored on iCloud servers This is what happens when your home goes all in on Apple products iPhone ipad Mac Apple TV etc when iCloud goes down Every device starts going off telling you to log in just to go in a continual loop ーKen Crockett Goodeye January Read more |
2022-01-26 16:42:04 |
海外TECH |
Engadget |
Apple marks Black History Month with a 'Black Unity' watch strap |
https://www.engadget.com/apple-watch-black-unity-2022-strap-face-161601410.html?src=rss
|
Apple marks Black History Month with a x Black Unity x watch strapApple is honoring Black History Month once again and that includes a special treat for Watch owners The company has released a special edition Black Unity Braided Solo Loop that weaves the Pan African flag s colors into the stretchable black band There s also a free matching Unity Lights face you can download using your iPhone to show support ーit s reportedly the first watch face to use D ray tracing to simulate light creating a distinctive aura around the minute and hour hands There s no special edition Apple Watch model this year However last year s was really a standard gray aluminum model with a bundled strap This is an acknowledgment that you re more likely to buy the strap for your existing wearable The tech firm is also curating Black content across its services through February and that includes material it s creating for fitness mavens There will be new Black History Month workouts in Fitness with complementary soundtracks a Time to Walk episode with Black Lives Matter co founder Ayo Tometi and a Time to Run episode that includes civil rights landmarks in Atlanta Whether or not you subscribe there s a Unity Challenge Apple Watch owners can earn by closing their Move ring seven days in a row |
2022-01-26 16:16:01 |
Cisco |
Cisco Blog |
The Future of Work, Part 2: Reimagine Mobility |
https://blogs.cisco.com/networking/the-future-of-work-part-2-reimagine-mobility
|
The Future of Work Part Reimagine MobilityWhen the network supports full spectrum wireless access workers can move among workspaces transparently and without interruption to be more productive efficient and inclusive |
2022-01-26 16:19:35 |
Cisco |
Cisco Blog |
Three Questions, One Solution |
https://blogs.cisco.com/partner/three-questions-one-solution
|
Three Questions One SolutionHere at Cisco we believe work is not where you go it s what you do Enabling employees to have a choice in where and how they work is invaluable for any company and one in which Cisco can help |
2022-01-26 16:00:45 |
海外TECH |
CodeProject Latest Articles |
HTML5 Event Calendar/Scheduler |
https://www.codeproject.com/Articles/732679/HTML-Event-Calendar-Scheduler
|
calendar |
2022-01-26 16:17:00 |
海外科学 |
NYT > Science |
SpaceX Rocket Part to Crash Into Moon 7 Years After Launch |
https://www.nytimes.com/2022/01/26/science/spacex-rocket-launch.html
|
SpaceX Rocket Part to Crash Into Moon Years After LaunchThe four ton piece of the rocket hasn t been heard from since it launched an American satellite called DSCOVR It could make a foot crater on the far side of the moon |
2022-01-26 16:56:14 |
海外科学 |
NYT > Science |
An Extraordinary Iceberg Is Gone, but Not Forgotten |
https://www.nytimes.com/2022/01/26/climate/iceberg-a68a-antarctica.html
|
An Extraordinary Iceberg Is Gone but Not ForgottenA chunk of Antarctic ice that was one of the biggest icebergs ever seen has met its end near South Georgia Scientists will be studying its effects on the ecosystem around the island for some time |
2022-01-26 16:01:03 |
ニュース |
ジェトロ ビジネスニュース(通商弘報) |
米ジョージア州、12月の失業率は2.6%、20カ月連続で改善 |
https://www.jetro.go.jp/biznews/2022/01/546a4fccf3178cc3.html
|
連続 |
2022-01-26 16:40:00 |
ニュース |
ジェトロ ビジネスニュース(通商弘報) |
フランス、製造業のスタートアップ支援に23億ユーロ |
https://www.jetro.go.jp/biznews/2022/01/e90e26b73634be2c.html
|
製造業 |
2022-01-26 16:30:00 |
ニュース |
ジェトロ ビジネスニュース(通商弘報) |
高額消費に買い控えの動き、企業の半数は値上げを実施、米NY連銀など調査結果 |
https://www.jetro.go.jp/biznews/2022/01/8735a4bed83adf00.html
|
調査結果 |
2022-01-26 16:20:00 |
ニュース |
ジェトロ ビジネスニュース(通商弘報) |
深セン市、科学技術イノベーションに関する第14次5カ年規画を発表 |
https://www.jetro.go.jp/biznews/2022/01/ece97c68b626ded7.html
|
深セン市 |
2022-01-26 16:10:00 |
ニュース |
BBC News - Home |
Sainsbury's and John Lewis asks shoppers and staff to keep wearing masks |
https://www.bbc.co.uk/news/business-60137428?at_medium=RSS&at_campaign=KARANGA
|
rules |
2022-01-26 16:07:28 |
ニュース |
BBC News - Home |
Koshka Duff: Professor says she faced victim blaming over police claim |
https://www.bbc.co.uk/news/uk-60141559?at_medium=RSS&at_campaign=KARANGA
|
claima |
2022-01-26 16:18:48 |
コメント
コメントを投稿