投稿時間:2022-04-19 02:18:49 RSSフィード2022-04-19 02:00 分まとめ(24件)

カテゴリー等 サイト名等 記事タイトル・トレンドワード等 リンクURL 頻出ワード・要約等/検索ボリューム 登録日
海外TECH Ars Technica This river is made of light, and it’s beautiful https://arstechnica.com/?p=1848583 beautiful 2022-04-18 16:24:39
海外TECH MakeUseOf How to Change Your Display Name on Slack https://www.makeuseof.com/change-display-name-on-slack/ slack 2022-04-18 16:30:14
海外TECH DEV Community Feature Spotlight: Optional Filters https://dev.to/algolia/feature-spotlight-optional-filters-42lp Feature Spotlight Optional FiltersWhile answering Algolia forum posts last week I ended up doing a deep dive on Optional Filters for Algolia Search Similar to filters and facet filters optional filters are applied at query time allowing you to use all sorts of contextual information to improve results Unlike the other filters optional filters don t remove records from the result set Instead they allow you to say If records match this filter move them up or down the ranking without changing the number of records returned Some interesting use cases Move posts that mention a particular user to the top of the result set Up rank products available at a customer s local storeDown rank products that are out of stockPin a specific record to the top of the listing based on an external recommendations engineYou can use filters and facet filters to reduce the number of records in the result set at query time then optional filters to manipulate the rankings for the remaining records You can even apply filter scoring to further control the order of the records Here s an example that applies facet filters for product type and price range to an index from a Shopify store The code selects the objectID of two records to promote then injects them as optional filters into the query If either of those products is part of the result set that matches the other criteria in the query those products are pushed to the top of the ranking The code uses filter scoring to make sure the featuredProduct will always appear above the alternateProduct import algoliasearch from algoliasearch const featuredProduct const alternateProduct const client algoliasearch HMBJEG bbdfcbbadce Standard replicaconst index client initIndex shopify algolia products price asc standard with paramsindex search query facetFilters product type HardGood price range optionalFilters objectID featuredProduct lt score gt objectID alternateProduct lt score gt hitsPerPage then hits gt console log hits map item gt item title item product type item objectID item price range join n Notice that this code is using a standard replica of the Shopify index sorted by price Optional filters don t play well with Virtual Replica indices since both re rank records at query time leading to unpredictable results If you plan to use optional filters you should use a standard replica that applies ranking at index time You can also use negative optional filters to push records down the ranking For example if you wanted to push posts written by the current user lower in the rankings but not remove them completely index search filters date timestamp gt Math floor d setDate d getDate optionalFilters author user name hitsPerPage then hits gt console log hits Optional filters are a powerful tool to add to your ranking tool belt but remember that any query time calculations are going to impact search performance For instance you shouldn t use filter scoring on searches that may return more than results Always try to move ranking criteria to index configuration when possible Use optional filters only when you need to further tune your results at query time using more real time context Let me know if you find a great or not so great use case for optional filters in your search UI 2022-04-18 16:40:29
海外TECH DEV Community What is a transpiler (with examples)? https://dev.to/arikaturika/what-is-a-transpiler-with-examples-ice What is a transpiler with examples Transpilation means taking source code written in a high level programming language and convert it into code written in another high level programming language We need special programs softwares to do that and these programs are called transpilers or transcompilers Many times compilation and transpilation are used interchangeably Technically they mean the same thing as except for the fact that the target language has a similar abstraction level like the source language e g not machine code but another high level programming language But why do we need code transpilation to begin with Usually there are two main reasons for this process Migration between different versions of the same language Programming languages evolve over time aquiring new features which are more convenient or advanced than the ones in a previous version Unfortunately these changes can t be adopted all at once so the problem of backwards compatibility arises One way to deal with this is by using transpilers that convert code written using the new features into code that follows the rules of an older version of the same programming language Babel is an example of a transpiler which converts ECMAScript ES code into a backwards compatible version of Javascript that can be run by older Javascript engines Transpilation can also be used in the opposite direction to is a program that converts Python into Python code Programs like to can help when we need to update an entire codebase but they usually need a lot of manual error fixing after the code conversion has been completed Translation from one programming language into anotherBesides HTML and CSS browsers can only read Javascript But we can decide that based on our requirements we would be better off writing our code using another programming language The problem is that now the browser won t be able to read our code anymore so we need to translate it into Javascript Typescript TS is a JavaScript superset sometimes called syntactic sugar that supports types a feature that Javascript does not have There are other languages that do the same thing as Typescript Coffescript or Elm for example but TS is the most popular as of today The Typescript transpiler is called tsc Depending on the transpiler the newly generated code can be kept as close as possible to the old source code or it can look completely different from it Image source Árpád Czapp czapp arpad on Unsplash 2022-04-18 16:29:23
海外TECH DEV Community Add Google Analytics to your Next.js application in 5mins https://dev.to/muazu/add-google-analytics-to-your-nextjs-application-in-5mins-269f Add Google Analytics to your Next js application in mins This tutorial will show you how to integrate Google Analytics into your Next js app The implementation is simple and does not necessitate the use of a third party library In approximately min you should be done how sweet yeah let s get started then Getting StartedFor this tutorial you will be needing the following a Next js project a Google Analytics account a Google ID in case you don t have a Google Analytics account visit Analytics create an account under which you would need to create a property then finally extract your google ID Step Add your Google Analytics ID to the env env local file in Next js if you don t have this file create it in the root of your folder Check your gitignore file to make sure you don t accidentally commit this file env local should be included by default in your Next js project but double check inside your env or env local file NEXT PUBLIC GOOGLE ANALYTICS G BCEKVFMK step Google Analytics monitoring code should be injected into your Next js application extract the required google analytics code from your google analytics account dashboard for Next js appNow you insert it into the required file in between the lt Head gt lt Head gt tag For the Next js app Locate your document js file under Pages folder and paste this script import Document Html Head Main NextScript from next document class CustomDocument extends Document static async getInitialProps ctx const initialProps await Document getInitialProps ctx return initialProps render return lt Html lang en US gt lt Head gt start of required script google monitoring analytics code Global Site Tag gtag js Google Analytics lt script async src process env NEXT PUBLIC GOOGLE ANALYTICS gt lt script dangerouslySetInnerHTML html window dataLayer window dataLayer function gtag dataLayer push arguments gtag js new Date gtag config process env NEXT PUBLIC GOOGLE ANALYTICS page path window location pathname gt End of required script lt Head gt lt body gt lt Main gt lt NextScript gt lt script async src gt lt script gt lt body gt lt Html gt export default CustomDocument and whoola we are done you should start seeing your metrics on your dashboard in a couple of minutes But I have a Ramadan package for y all tho i bet you wanna know what it is yeah So in case you also wanna log track stuff like pageViews or Events here s how to go about it Bonus step Pageviews and events can be tracked using custom methods Let s go on to the Google Analytics tracking section You ll need to log page visits and optionally particular events triggered in your app to accurately track your users actions To achieve this I recommend creating a lib folder in which you ll place all of your code related to third party libraries as well as a ga folder for Google Analytics Create an index js file in your lib ga folder with two functions one to track page views and the other to log events inside lib ga index js log the pageview with their URLexport const pageview url gt window gtag config process env NEXT PUBLIC GOOGLE ANALYTICS page path url log specific events happening export const event action params gt window gtag event action params Bonus step Log Pageviews in your Next js appSubscribing to your router and listening for the routeChangeComplete event is the simplest approach to log page views in your Next js project To do so open your app js file and utilize the useEffect function to check for new router events There are many different types of events but for this article we only care about when users successfully go to a new page routeChangeComplete Note If you re interested Next js has a lot of other types of router events You might be interested in logging in when an error happens for example routeChangeError import useEffect from react import useRouter from next router import as ga from lib ga function MyApp Component pageProps const router useRouter useEffect gt const handleRouteChange url gt ga pageview url When the component is mounted subscribe to router changes and log those page views router events on routeChangeComplete handleRouteChange If the component is unmounted unsubscribe from the event with the off method return gt router events off routeChangeComplete handleRouteChange router events return lt Component pageProps gt export default MyApp Bonus step You might also want to Log specific events in your Next js appYou might be interested in logging specific events in your application now that our page views have been tracked A list of Google Analytics Default events may be found here This is an example of how to keep track of user inputted search terms import useState from react import as ga from lib ga export default function Home const query setQuery useState const search gt ga event action search params search term query return lt div gt lt div gt lt input type text onChange event gt setQuery event target value gt lt input gt lt div gt lt div gt lt button onClick gt search gt Search lt button gt lt div gt lt div gt Don t forget to include your Google Analytics secret key to your environment variables once you ve deployed to production To check that Google Analytics is connectedIt takes between hrs for data to show up in Google Analytics However you can check if your tag is working by looking at the Real time viewclick the explore metrics section to see what I saw in my mind I was like ahhhgoogle màpàmínau so sweet business would definitely scale with this Lastly Test and Debug your page views and events with Google Analytics DebuggerIf you don t see any data in Realtime you can use the Chrome addon Google Analytics Debugger to test your Google Analytics tag It prints Google Analytics messages to your console once it s installed and switched on making it easy to view what s going on behind the scenes You now have a Next js application that is ready to track using Google Analytics Come follow meon Twitter or LinkedIn if you enjoyed this essay 2022-04-18 16:13:21
Apple AppleInsider - Frontpage News Crypto wallet warns of iCloud phishing attack that led to $650K in stolen assets https://appleinsider.com/articles/22/04/18/crypto-wallet-warns-of-icloud-phishing-attack-that-led-to-650k-in-stolen-assets?utm_medium=rss Crypto wallet warns of iCloud phishing attack that led to K in stolen assetsCrypto wallet MetaMask is warning Apple iCloud users of a new phishing attack that could lead to stolen non fungible tokens or cryptocurrencies iCloud backupsThe blockchain company noted that iCloud backups for app data will include a user s password encrypted MetaMask vault If the password isn t strong enough the vault could be stolen and compromised during another type of attack Read more 2022-04-18 16:19:21
Apple AppleInsider - Frontpage News Interview with Shortcuts maven Matthew Cassinelli on the AppleInsider Podcast https://appleinsider.com/articles/22/04/18/interview-with-shortcuts-maven-matthew-cassinelli-on-the-appleinsider-podcast?utm_medium=rss Interview with Shortcuts maven Matthew Cassinelli on the AppleInsider PodcastOn this special episode of the AppleInsider podcast Matthew Cassinelli returns to discuss the updates to Shortcuts that arrived in iOS a feature wishlist for WWDC and his new library of free Shortcuts available to download Apple continues to improve its automation app Shortcuts with new actions and bug fixes on iOS and macOS Incorporating those improvements Apple alum Matthew Cassinelli has released a new library of Shortcuts free to download Visiting his website users can browse Shortcuts by categories such as productivity and lifestyle or filter by level of complexity New actions included with iOS for Reminders and AirPlay can be found throughout the catalog Users can also turn off notifications for Automation Shortcuts that run in the background Read more 2022-04-18 16:10:24
Apple AppleInsider - Frontpage News Whistleblower Ashley Gjovik would return to Apple despite 'nightmare' life https://appleinsider.com/articles/22/04/18/whistleblower-ashley-gjovik-would-return-to-apple-despite-nightmare-life?utm_medium=rss Whistleblower Ashley Gjovik would return to Apple despite x nightmare x lifeFormer Apple employee and co founder of the anti harassment AppleToo movement says her life is such a goddamn nightmare now but she would return to Apple Ashley GjovikAshley Gjovik was a senior engineering program manager at Apple who was fired on grounds of alleged disclosure of confidential information Her firing came the AppleToo movement brought out hundreds of accounts of harassment within Apple although Gjovik was not a founder of the campaign as sometimes reported Read more 2022-04-18 16:19:37
金融 金融庁ホームページ 「サステナブルファイナンス有識者会議(第11回)」を開催します。 https://www.fsa.go.jp/news/r3/singi/20220418-3.html 有識者会議 2022-04-18 18:00:00
金融 金融庁ホームページ 金融審議会「市場制度ワーキング・グループ」(第17回)を開催します。 https://www.fsa.go.jp/news/r3/singi/20220418.html 金融審議会 2022-04-18 17:00:00
金融 金融庁ホームページ 「金融商品取引業等に関する内閣府令第百四十二条第一項に規定する金融商品取引業協会の規則等を指定する件の一部を改正する件(案)」に対するパブリックコメントの結果等について公表しました。 https://www.fsa.go.jp/news/r3/shouken/20220418/20220418.html 内閣府令 2022-04-18 17:00:00
ニュース ジェトロ ビジネスニュース(通商弘報) 米テスラの太陽光発電を活用したビットコイン採掘、2022年後半にテキサス州で開始へ https://www.jetro.go.jp/biznews/2022/04/5b2554cdf3c99ac4.html 太陽光発電 2022-04-18 16:40:00
ニュース ジェトロ ビジネスニュース(通商弘報) 政府はイラン暦新年から、生産性の向上、知識ベース経済への転換、雇用創出に注力 https://www.jetro.go.jp/biznews/2022/04/e6981bf563768755.html 雇用 2022-04-18 16:30:00
ニュース ジェトロ ビジネスニュース(通商弘報) 中国CATL、チューリンゲン州で電池セルの製造認可を取得 https://www.jetro.go.jp/biznews/2022/04/3f094539e40923b7.html 電池 2022-04-18 16:20:00
ニュース ジェトロ ビジネスニュース(通商弘報) メルセデス・ベンツ、ESGカンファレンスを初開催 https://www.jetro.go.jp/biznews/2022/04/18c40ba61a4d87dc.html メルセデス 2022-04-18 16:10:00
ニュース BBC News - Home Police speak to Nicola Sturgeon over mask breach https://www.bbc.co.uk/news/uk-scotland-61142777?at_medium=RSS&at_campaign=KARANGA barber 2022-04-18 16:26:54
ニュース BBC News - Home Ukraine war: Dramatic images appear to show sinking Russian warship Moskva https://www.bbc.co.uk/news/world-europe-61141118?at_medium=RSS&at_campaign=KARANGA ukrainians 2022-04-18 16:40:25
ニュース BBC News - Home Ukraine war: First civilian deaths in Lviv shatter sense of safety https://www.bbc.co.uk/news/world-europe-61141817?at_medium=RSS&at_campaign=KARANGA ukraine 2022-04-18 16:10:13
ニュース BBC News - Home Irish Travellers 'mental health crisis' driven by discrimination and deprivation https://www.bbc.co.uk/news/world-europe-61117469?at_medium=RSS&at_campaign=KARANGA ireland 2022-04-18 16:08:42
ニュース BBC News - Home QPR 1-0 Derby County: Rams relegated to League One https://www.bbc.co.uk/sport/football/61062993?at_medium=RSS&at_campaign=KARANGA rangers 2022-04-18 16:40:17
ニュース BBC News - Home Super League: Huddersfield Giants 12-24 St Helens - Leaders battle to hard-fought win https://www.bbc.co.uk/sport/rugby-league/61142163?at_medium=RSS&at_campaign=KARANGA huddersfield 2022-04-18 16:41:02
北海道 北海道新聞 米、G20会合に一部出席へ ウクライナ首相と会談も https://www.hokkaido-np.co.jp/article/671181/ 米財務省 2022-04-19 01:16:00
北海道 北海道新聞 ACL、浦和は2戦2勝 山東に5―0 https://www.hokkaido-np.co.jp/article/671179/ 浦和 2022-04-19 01:15:00
GCP Cloud Blog Announcing Google Cloud 2022 Summits [frequently updated] https://cloud.google.com/blog/topics/events/news-updates-on-the-google-cloud-summit-digital-event-series-2022/ Announcing Google Cloud Summits frequently updated Register for our  Google Cloud Summit series and be among the first to learn about new solutions across data machine learning collaboration security sustainability and more You ll hear from experts explore customer perspectives engage with interactive demos and gain valuable insights to help you accelerate your business transformation  Bookmark the Google Cloud Summit series website to easily find updates as news develops Can t join us for a live broadcast You can still register to enjoy all summit content which becomes available for on demand viewing immediately following each event  Upcoming eventsGoogle Workspace Summit May Join us for the Google Workspace Summit on May to get insights directly from Google executives customers and partners that can help you empower your in office remote and frontline teams  Collaboration today is about more than where you work During our digital event you can explore new ways to accelerate productivity collaboration equity and a healthy work life blend across your business Discover what the world s leading security experts have to say about protecting your organization against security risks and be among the first to learn about the latest collaboration tools and innovations Also find out how companies are using Google Workspace to transform communication and cooperation channels between frontline workers and corporate teams Mark your calendars to get guidance from IT and business leaders and explore how Google technology can help solve your most pressing hybrid work challenge Register today for the Google Workspace Summit Global amp EMEASecurity Summit May Security leaders and business professionals can meet at the Google Cloud Security Summit May for a chance to connect explore new products and enhancements and reimagine how to securely transform Find out from Google Cloud and partner security experts how you can move to zero trust architectures bolster your software supply chain security and defend against ransomware and other emerging threats Dig deep into new solutions supporting cloud governance and digital sovereignty and discover our bold vision for the future of SecOps Uncover innovative approaches to your toughest security challenges in customer spotlights and learn how you can drive security forward with tools that only Google Cloud can provide  Register today for this digital event Related ArticleRead ArticleData Cloud Summit April Mark your calendars for the Google Data Cloud Summit April  Join us to explore the latest innovations in AI machine learning analytics databases and more Learn how organizations are using a simple unified open approach with Google Cloud to make smarter decisions and solve their most complex business challenges At the event you will gain insights that can help move you and your organization forward From our opening keynote to customer spotlights to sessions you ll have the chance to uncover up to the minute insights on how to make the most of your data Equip yourself with the technology the confidence and the experience to capitalize on the next wave of data solutions Register today for the Google Data Cloud Summit 2022-04-18 17:00:00

コメント

このブログの人気の投稿

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

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

投稿時間:2020-12-01 09:41:49 RSSフィード2020-12-01 09:00 分まとめ(69件)