AWS |
AWS Startups Blog |
Securing Digital Interactions Within the Pharmaceutical Supply Chain With Spherity |
https://aws.amazon.com/blogs/startups/how-aws-cloud-based-credentialing-service-from-spherity-enables-trusted-and-secure-digital-interactions-within-the-u-s-pharmaceutical-supply-chain/
|
Securing Digital Interactions Within the Pharmaceutical Supply Chain With SpheritySpherity is a German software provider bringing secure and decentralized identity management solutions to enterprises machines products data and even algorithms |
2022-05-05 10:11:15 |
python |
Pythonタグが付けられた新着投稿 - Qiita |
Python(Windows環境)のshebangについて |
https://qiita.com/SAITO_Keita/items/82c0434ec68d1eaf57dc
|
rbinpythoncodingutfhello |
2022-05-05 19:39:52 |
js |
JavaScriptタグが付けられた新着投稿 - Qiita |
JSでECサイトが開発できるのなら、オープンソースコミュニティに入りたいと思った話 |
https://qiita.com/kkopan0/items/8c85acaf953b94678774
|
vuejs |
2022-05-05 19:30:36 |
js |
JavaScriptタグが付けられた新着投稿 - Qiita |
DOMってなんぞや? |
https://qiita.com/Haruki-Sakamoto/items/1ec4ef3058a609aa71fa
|
documentobjectmodel |
2022-05-05 19:19:15 |
Ruby |
Rubyタグが付けられた新着投稿 - Qiita |
destroy action実行時にcouldn't Item find with 'id'=1のエラー表示 |
https://qiita.com/kokmraoi/items/16ede3786e48b5059c73
|
商品情報 |
2022-05-05 19:41:25 |
AWS |
AWSタグが付けられた新着投稿 - Qiita |
【初心者】データアノテーションを調べてみた |
https://qiita.com/zumax/items/d0da86b68b05b99cb23e
|
蓄積 |
2022-05-05 19:33:26 |
Ruby |
Railsタグが付けられた新着投稿 - Qiita |
destroy action実行時にcouldn't Item find with 'id'=1のエラー表示 |
https://qiita.com/kokmraoi/items/16ede3786e48b5059c73
|
商品情報 |
2022-05-05 19:41:25 |
海外TECH |
MakeUseOf |
Using a VPN for Netflix: Is It Legal? Is It Moral? |
https://www.makeuseof.com/is-it-legal-moral-to-use-a-vpn-for-netflix/
|
netflix |
2022-05-05 10:45:13 |
海外TECH |
MakeUseOf |
Xbox Game Streaming Success, Free VPNs, HDMI Cable Types, and NFTs |
https://www.makeuseof.com/xbox-game-streaming-success-free-vpn-hdmi-cable-nft-types/
|
Xbox Game Streaming Success Free VPNs HDMI Cable Types and NFTsLearn why Xbox game streaming is bigger than you think the truth about free VPNs HDMI cable types and NFTs in this week s podcast |
2022-05-05 10:30:14 |
海外TECH |
MakeUseOf |
11 Ways to Fix an iPhone Flashlight That Isn’t Working |
https://www.makeuseof.com/how-to-fix-iphone-flashlight/
|
iphone |
2022-05-05 10:30:14 |
海外TECH |
MakeUseOf |
Angular JS vs. React JS |
https://www.makeuseof.com/angular-vs-react/
|
example |
2022-05-05 10:15:14 |
海外TECH |
DEV Community |
HTML is Amazing. |
https://dev.to/stresseddev/html-is-amazing-1f7e
|
HTML is Amazing JavaScript is cool and all but I m still on the fence HTML is actually pretty amazing and can totally be the right tool for the job without having to get stuck in dependency hell Instead of using a bloated library why not try your hand at what vanilla HTML has to offer Here are some interactive HTML elements you can use without any JavaScript DropdownsThe lt select gt element is commonly used in forms but with a bit of imagination you can use it for a bunch of other things How about a language selector page switcher or a version menu for documentation pages lt select gt lt option value en gt English lt option gt lt option value sv gt Swedish lt option gt lt option value es gt Spanish lt option gt lt option value fr gt French lt option gt lt option value de gt German lt option gt lt select gt Searchable inputsAs you can see select elements are great when you want to limit selections to a predefined list but can become quite overwhelming when you have a large list of options You can use the lt datalist gt element to create a set of values that the browser can then use for autocompletion lt input type text list common search values placeholder Search gt lt datalist id common search values gt lt option gt George Orwell lt option gt lt option gt Daniel Handler lt option gt lt option gt Neil Gaiman lt option gt lt option gt Ernest Hemingway lt option gt lt option gt Virginia Woolf lt option gt lt datalist gt Vanilla HTML datetime pickerThis one is my favorite I spend too much time trying out JavaScript datetime pickers before realizing that HTML already has one All you need is the following snippet lt input type datetime local gt Learn moreYou can try all of the examples shown here on CodePen And here are some links to the MDN resources DropdownsSearch with autocompleteDate pickerWhat are your favorite HTML elements When does it make sense to use JavaScript and when is it best to stick to HTML Let me know in the comments |
2022-05-05 10:46:23 |
海外TECH |
DEV Community |
Python Map Function |
https://dev.to/softhunt/python-map-function-2kmg
|
Python Map Function IntroductionThe Python map function returns a map object an iterator containing the results of applying the provided function to each item of an iterable list tuple etc Syntax map fun iter Parameters fun It is a function to which a map passes each element of a given iterable iter It is iterable which is to be mapped Return It Returns a list of the results after applying the given function to each item of a given iterable list tuple etc Note You can pass one or more iterable to the map function The returned value from map map object then can be passed to functions like list to create a list set to create a set Code ExamplesExample Double all numbers using a map welcome to softhunt net def addition a return a a We double all numbers using map num ans map addition num print list ans Output Example Double all numbers using a map and Lamda Function welcome to softhunt net Double all numbers using map and lambdanum ans map lambda x x x num print list ans Output Example Adding two lists using map and Lamda Function welcome to softhunt net Add two lists using map and lambdanum num ans map lambda x y x y num num print list ans Output |
2022-05-05 10:34:37 |
海外TECH |
DEV Community |
Optimizing website site? Careful with lazy loading! |
https://dev.to/accesto/optimizing-website-site-careful-with-lazy-loading-522g
|
Optimizing website site Careful with lazy loading A few weeks ago I was asked if Accesto could help to optimize a popular online store selling natural cosmetics Of course we can I thought That is what we do for a living we improve existing web applications like SaaS marketplaces or eCommerce sites Thus I thought it would be an optimization like every other But it wasn t Quick wins for website speedAlthough every online product is unique they usually struggle with similar web performance pitfalls Non optimal database queries poor caching too large images resources or unused imports to name a few Usually there are a few things that can be fixed relatively quickly and will result in quite a speed boost Our CTO recently gathered such tweaks for you in his blogpost on top hacks to fix slow web applications Top performance which will hold the exponential growth of users cannot be achieved overnight But if your website is slowing down and you haven t yet put a lot of effort into its optimization there is a high chance that it can be refined in a quite reasonable time Like in one of our recent stories where we managed to decrease website loading time by in just hours of work Initial PageSpeed results for online store selling natural cosmeticsThe case of natural cosmetics eCommerce seemed similar The store owner sent me an email on Friday morning with the Google PageSpeed Insights report It evaluated the overall site performance on for desktop and for mobile Not a tragedy but indeed a lot of room for improvement Great We will apply a few quick tweaks that will speed up the website and I will have good news for a customer even before the weekend Let s start with a website audit amp checking Core Web VitalsWe already knew the overall score for this website our starting point for optimization This score is a composition of metrics evaluated by PageSpeed which for that particular site presented like this Quick look at the metrics and we see that out of metrics look fine Web Vitals but the remaining two Speed Index and Largest Contentful Paint LCP seem way too high Understanding these metrics helps to decide where we shall start our optimization how much we should improve and whether we can find some low hanging fruits Each of these metrics has a different weight importance To see how exactly they influence the overall score you can use the scoring calculator Although PageSpeed evaluated both SI and LCP as poor ones LCP has a higher weight so improving it will have the highest impact on the overall score LCP is one of important metrics introduced by Google called Core Web Vitals Ok but what exactly is this LCP In short it is the time at which the largest visible part of website content is painted This content could be an image a large block of text or any other element that occupies a significant part of the screen when the website loads And the faster this element is displayed to the user the better Knowing that we could assume that perhaps some product image or banner is too large not scaled properly or maybe not compressed Or maybe images are served by PHP and not cached Few basic checks should show us what is going on We used a Lighthouse tool built in Chrome web browser to profile the website We were looking for any performance pitfalls but the audit results were…surprisingly good The site wasn t performing that bad at all Server response time was quite decent images were served in a modern format and with proper sizing All the site assets were properly optimized and served with proper cache policy They even used some of the Progressive Web App capabilities to make the site work smoothly Lighthouse built in Google Chrome Developer Tools can be used to audit the website performanceOk so maybe it was a traffic related issue Maybe site speed is good as long as the number of users using it is low Worth a try It is quite a common situation many websites are tested only on a small number of users When the user base grows website starts to clog More on that topic you can read in my post on why new users can kill you web application I did a few checks with the website load testing tool k io but nothing still a decent response time We also dug into the code to do some checks but it only confirmed what was already obvious to us Someone already did a great job to optimize this website We weren t asked just to do the basics they know how to do that themselves We were asked because none of the popular tweaks worked Great finally some challenge Profiling the website performanceIt was a time to dive deeper and do a step by step analysis First of all we had to figure out which site element was taken to calculate the LCP Performance tool built in Google Chrome shows a precise timeline of all the elements requested loaded and painted It also indicates moments when LCP and other metrics are measured Analysis of this timeline confirmed our assumptions the Largest Contentful Paint element was one of the product images on the homepage Why is this image displayed so late to the user We checked the image format and size and all looked good Actually the image itself was loaded in just milliseconds So why did this image appear after almost seconds if it loads in just a fraction of that We analyzed the timing of that particular image and what surprised us was that it started to load after s since the website was requested But why Server response time was decent and all images should begin to load as soon as the browser receives the HTML from the server right Well… Lazy loading done wrongThe title of this article already revealed the diagnosis yes it was a lazy loader that delayed fetching that image But why Isn t the lazy loader one of the most common mechanisms that improve the website speed Lazy loader prevents images from being fetched if they are not in the current viewport This minimizes the amount of data transferred in situations when only part of the site is seen by the user eg user views only the top of the page Usually it is good and makes the website load visibly faster Usually Unfortunately it also has a side effect that not every web developer is aware of The lazy loader is simply a javascript code that checks the image position and calculates whether it is in the current viewport But this means that before the image is fetched the web browser has to fetch the Javascript code and run it The user won t see the image until Javascript decides that he should see it And that causes a delay And of course there are many ways to implement the lazy loader so that delay is minimized But in our case the code responsible for lazy loading used an external third party javascript library that had to be fetched first And what is more this code was implemented in an onload event handler which means that it was executed only after all website elements finished loading including styles fonts scripts etc And that all took s It s quite a long time to decide if an image should be downloaded or not isn t it Results of website optimizationThere are many ways to solve this problem We could get rid of the dependency on the external library or execute the lazy loader earlier than in onload But the quick fix was to simply switch off the lazy loader for images that are always seen above the fold the portion of the webpage that is visible without scrolling This simple solution took just one line of code and did a job Just see how the website speed improved It took us a few hours to find the cause of the poor LCP and finally add this single line of code Website optimization is usually not about coding it is analytical work of searching digging and investigating Of course this wasn t the end of the optimization still room for improvement But we were surprised how much Core Web Vitals score improved with a simple fix in a lazy loader This made me curious so I also checked other popular eCommerce websites and I was surprised Many of them did have the same issue Seems that lazy loader is seen as a great out of the box solution for optimization but very often added carelessly And adding it too quickly too lazy may actually harm the overall site speed So be careful and don t add stuff to your site just because everyone does it |
2022-05-05 10:02:30 |
海外TECH |
Engadget |
Google acquires MicroLED startup Raxium to help boost its AR ambitions |
https://www.engadget.com/google-just-bought-a-micro-led-startup-with-a-possible-eye-toward-augmented-reality-105046328.html?src=rss
|
Google acquires MicroLED startup Raxium to help boost its AR ambitionsGoogle has purchased a startup called Raxium specializing in MicroLED displays as part of its Devices amp Services group toGoogle has reported Raxium is developing what it calls quot ultra compact low power high resolution quot displays so Google may be planning to use it in future augmented or virtual reality devices Terms of the deal weren t disclosed quot Today we re announcing that Google has acquired Raxium an innovator in single panel MicroLED display technologies quot wrote Google senior VP of Devices amp Services Rick Osterloh in a short blog post quot The team at Raxium has spent five years creating miniaturized cost effective and energy efficient high resolution displays that have laid the foundation for future display technologies quot A deal with Raxium was rumored last March in a report from The Information Google was supposedly interested in owning the company to gain more control over key display components for future AR VR products rather than outsourcing as it generally does now It could also use the tech on future Pixel phones or its Starline immersive videoconferencing product according to the report nbsp To date MicroLEDs have seen meager commercial production due to high manufacturing costs apart from some very exotic products Raxium by contrast says its on the quot cutting edge of bringing monolithic integration quot like that used in silicon computer chips to MicroLEDs That could allow them to be mass produced far more cheaply Unlike Meta and other rivals Google hasn t said much about its augmented reality plans but that doesn t mean the company isn t working on it Last year news of Google s Augmented Reality OS leaked out late last year through job listings and the company reportedly plans to release an AR headset by nbsp |
2022-05-05 10:50:46 |
海外TECH |
Engadget |
Apple's AirTag 4-pack has never been cheaper |
https://www.engadget.com/apples-airtag-4-pack-best-buy-101055969.html?src=rss
|
Apple x s AirTag pack has never been cheaperIf you have several items or pets you want to keep track of this is a great chance to grab multiple Apple AirTags at once You can pick up a four pack from Best Buy for or less than its retail price of That s even cheaper than the package s recent deal on Amazon where it was being sold for The catch is that the Best Buy deal is only available today with only hours left as of this writing nbsp Buy Apple AirTag Pack at Best Buy AirTags are probably the best choice if you have an iPhone especially if you have a newer device These coin sized trackers come equipped with Apple s U ultra wideband chip that acts as a beacon allowing devices that have the same chip to find it more easily That means if you have an iPhone or newer you can simply press the quot Find quot button in the Find My app to access its precise tracking capabilities and narrow down your search Since the AirTag was made to make items easier to find it comes with a speaker that can play an alert tone that was surprisingly louder than we expected when we tested it out Apple also says the device is easy to pair as its AirPods ーwe found that to be the case ーand has user replaceable batteries Perhaps the only downside if you re an iOS user is that it doesn t have a built in keychain ring which means you may have to purchase extra accessories to attach it to whatever it is you want to track Follow EngadgetDeals on Twitter for the latest tech deals and buying advice |
2022-05-05 10:10:55 |
ニュース |
BBC News - Home |
Shell profits nearly triple as oil prices surge |
https://www.bbc.co.uk/news/business-61330552?at_medium=RSS&at_campaign=KARANGA
|
activities |
2022-05-05 10:48:31 |
北海道 |
北海道新聞 |
BMX、中村と内藤が優勝 ジャパンカップ |
https://www.hokkaido-np.co.jp/article/677368/
|
東京五輪 |
2022-05-05 19:12:06 |
北海道 |
北海道新聞 |
長谷川、坂口組がアジア大会へ ビーチバレー |
https://www.hokkaido-np.co.jp/article/677369/
|
長谷川 |
2022-05-05 19:12:06 |
北海道 |
北海道新聞 |
製鉄所内に子ども30人 地元市長「武器供与を」 |
https://www.hokkaido-np.co.jp/article/677383/
|
製鉄所 |
2022-05-05 19:26:00 |
北海道 |
北海道新聞 |
国交省、運航管理者の要件を調査 社長の経験不足指摘も、沈没事故 |
https://www.hokkaido-np.co.jp/article/677382/
|
沈没事故 |
2022-05-05 19:25:00 |
北海道 |
北海道新聞 |
茨城、栃木、群馬で震度4 津波なし |
https://www.hokkaido-np.co.jp/article/677374/
|
震度 |
2022-05-05 19:12:00 |
北海道 |
北海道新聞 |
上川管内132人感染 旭川は95人 新型コロナ |
https://www.hokkaido-np.co.jp/article/677322/
|
上川管内 |
2022-05-05 19:11:20 |
北海道 |
北海道新聞 |
冬眠クマの血清、ヒトの筋肉細胞を増強効果 広島大と北大グループ発見 |
https://www.hokkaido-np.co.jp/article/677373/
|
研究グループ |
2022-05-05 19:06:06 |
コメント
コメントを投稿