AWS |
AWS |
Meet Preethi, Software Development Engineer II | Amazon Web Services |
https://www.youtube.com/watch?v=tY6-5fV4Kng
|
Meet Preethi Software Development Engineer II Amazon Web ServicesThe Software Development team at AWS is responsible for leading designing and developing our software applications and systems As part of our team you ll be challenged to not only meet the needs of our customers today but to predict and create what they ll need in the future And if that s not enough you ll have the opportunity to tackle big technical problems and push the boundaries on what s possible for cloud computing Come join us and raise the bar with every project you work on Learn more at Subscribe More AWS videos More AWS events videos ABOUT AWSAmazon Web Services AWS is the world s most comprehensive and broadly adopted cloud platform offering over fully featured services from data centers globally Millions of customers ーincluding the fastest growing startups largest enterprises and leading government agencies ーare using AWS to lower costs become more agile and innovate faster AWS AmazonWebServices CloudComputing |
2022-10-20 16:32:46 |
AWS |
AWS |
Meet Kerri, Recruiter, Public Sector | Amazon Web Services |
https://www.youtube.com/watch?v=fZk7FPtxsHE
|
Meet Kerri Recruiter Public Sector Amazon Web ServicesAt AWS we don t sit back and watch the world change we re the ones changing it We re looking for passionate and curious builders to build the future with us Learn more at Subscribe More AWS videos More AWS events videos ABOUT AWSAmazon Web Services AWS is the world s most comprehensive and broadly adopted cloud platform offering over fully featured services from data centers globally Millions of customers ーincluding the fastest growing startups largest enterprises and leading government agencies ーare using AWS to lower costs become more agile and innovate faster AWS AmazonWebServices CloudComputing |
2022-10-20 16:31:57 |
AWS |
AWS |
Meet Ajay, Solutions Architect, Public Sector | Amazon Web Services |
https://www.youtube.com/watch?v=qPSH0iwShvI
|
Meet Ajay Solutions Architect Public Sector Amazon Web ServicesThe Solutions Architect team at AWS is responsible for helping customers successfully implement cloud technologies As part of our team you ll have the opportunity to innovate daily and define the future of cloud computing Come join us in making the impossible possible Learn more at Subscribe More AWS videos More AWS events videos ABOUT AWSAmazon Web Services AWS is the world s most comprehensive and broadly adopted cloud platform offering over fully featured services from data centers globally Millions of customers ーincluding the fastest growing startups largest enterprises and leading government agencies ーare using AWS to lower costs become more agile and innovate faster AWS AmazonWebServices CloudComputing |
2022-10-20 16:30:30 |
AWS |
AWS |
Meet Brian, Engagement Manager, AWS Professional Services | Amazon Web Services |
https://www.youtube.com/watch?v=3_HdHZ8l04c
|
Meet Brian Engagement Manager AWS Professional Services Amazon Web ServicesOn the AWS Professional Services team we work with global Fortune enterprise customers and their IT providers on some of the most innovative IT projects in the world Use your leadership and technical experience to guide enterprise customers as they incorporate AWS services into their overall architecture Learn more at Subscribe More AWS videos More AWS events videos ABOUT AWSAmazon Web Services AWS is the world s most comprehensive and broadly adopted cloud platform offering over fully featured services from data centers globally Millions of customers ーincluding the fastest growing startups largest enterprises and leading government agencies ーare using AWS to lower costs become more agile and innovate faster AWS AmazonWebServices CloudComputing |
2022-10-20 16:27:48 |
AWS |
AWS |
Meet Imogen, National Security & Defence Program Manager, Public Sector | Amazon Web Services |
https://www.youtube.com/watch?v=iFI89U6NhIs
|
Meet Imogen National Security amp Defence Program Manager Public Sector Amazon Web ServicesAt AWS the spirit of innovation is part of our DNA We strive to hire the brightest minds from universities all around the globe and we have technical and non technical career opportunities throughout Amazon for students from all backgrounds From the start you ll do meaningful work alongside peers and leaders diving deep into projects programmes and services that impact millions of customers At AWS you re given the opportunity to chart your own path by owning your development your career and your future Interested Come build the future with us Learn more at Subscribe More AWS videos More AWS events videos ABOUT AWSAmazon Web Services AWS is the world s most comprehensive and broadly adopted cloud platform offering over fully featured services from data centers globally Millions of customers ーincluding the fastest growing startups largest enterprises and leading government agencies ーare using AWS to lower costs become more agile and innovate faster AWS AmazonWebServices CloudComputing |
2022-10-20 16:27:03 |
AWS |
AWS |
Meet Harpreet, Senior Practice Manager, AWS Professional Services | Amazon Web Services |
https://www.youtube.com/watch?v=CmaHxSwZKzs
|
Meet Harpreet Senior Practice Manager AWS Professional Services Amazon Web ServicesOn the AWS Professional Services team we work with global Fortune enterprise customers and their IT providers on some of the most innovative IT projects in the world Use your leadership and technical experience to guide enterprise customers as they incorporate AWS services into their overall architecture Learn more at Subscribe More AWS videos More AWS events videos ABOUT AWSAmazon Web Services AWS is the world s most comprehensive and broadly adopted cloud platform offering over fully featured services from data centers globally Millions of customers ーincluding the fastest growing startups largest enterprises and leading government agencies ーare using AWS to lower costs become more agile and innovate faster AWS AmazonWebServices CloudComputing |
2022-10-20 16:26:10 |
AWS |
AWS |
Meet Andy, Senior Cloud Consultant, AWS Professional Services | Amazon Web Services |
https://www.youtube.com/watch?v=OrCsdeZ8unY
|
Meet Andy Senior Cloud Consultant AWS Professional Services Amazon Web ServicesOn the AWS Professional Services team we work with global Fortune enterprise customers and their IT providers on some of the most innovative IT projects in the world Use your leadership and technical experience to guide enterprise customers as they incorporate AWS services into their overall architecture Learn more at Subscribe More AWS videos More AWS events videos ABOUT AWSAmazon Web Services AWS is the world s most comprehensive and broadly adopted cloud platform offering over fully featured services from data centers globally Millions of customers ーincluding the fastest growing startups largest enterprises and leading government agencies ーare using AWS to lower costs become more agile and innovate faster AWS AmazonWebServices CloudComputing |
2022-10-20 16:25:35 |
AWS |
AWS |
Meet Silvia, Senior IoT, Robotics and Edge Technologies Specialist EMEA | Amazon Web Services |
https://www.youtube.com/watch?v=0xgiQPLeeXw
|
Meet Silvia Senior IoT Robotics and Edge Technologies Specialist EMEA Amazon Web ServicesThe Software Development team at AWS is responsible for leading designing and developing our software applications and systems As part of our team you ll be challenged to not only meet the needs of our customers today but to predict and create what they ll need in the future And if that s not enough you ll have the opportunity to tackle big technical problems and push the boundaries on what s possible for cloud computing Come join us and raise the bar with every project you work on Learn more at Subscribe More AWS videos More AWS events videos ABOUT AWSAmazon Web Services AWS is the world s most comprehensive and broadly adopted cloud platform offering over fully featured services from data centers globally Millions of customers ーincluding the fastest growing startups largest enterprises and leading government agencies ーare using AWS to lower costs become more agile and innovate faster AWS AmazonWebServices CloudComputing |
2022-10-20 16:24:41 |
AWS |
AWS |
Meet Elzbeth, Head of EMEA Talent Acquisition for Utility Computing | Amazon Web Services |
https://www.youtube.com/watch?v=pkWt71McQJU
|
Meet Elzbeth Head of EMEA Talent Acquisition for Utility Computing Amazon Web ServicesAt AWS we don t sit back and watch the world change we re the ones changing it We re looking for passionate and curious builders to build the future with us Learn more at Subscribe More AWS videos More AWS events videos ABOUT AWSAmazon Web Services AWS is the world s most comprehensive and broadly adopted cloud platform offering over fully featured services from data centers globally Millions of customers ーincluding the fastest growing startups largest enterprises and leading government agencies ーare using AWS to lower costs become more agile and innovate faster AWS AmazonWebServices CloudComputing |
2022-10-20 16:23:52 |
AWS |
AWS |
Meet Sofia, Data Centre Logistics Manager | Amazon Web Services |
https://www.youtube.com/watch?v=ssQZS-bIz3Q
|
Meet Sofia Data Centre Logistics Manager Amazon Web ServicesAWS pioneered cloud computing in creating cloud infrastructure that allows our customers to securely build and innovate faster We are continuously innovating the design and systems of our data centers to protect them from man made and natural risks Whether you re an electrician technician mechanical engineer or security specialist your next career move could be working in an AWS Data Center Learn more at Subscribe More AWS videos More AWS events videos ABOUT AWSAmazon Web Services AWS is the world s most comprehensive and broadly adopted cloud platform offering over fully featured services from data centers globally Millions of customers ーincluding the fastest growing startups largest enterprises and leading government agencies ーare using AWS to lower costs become more agile and innovate faster AWS AmazonWebServices CloudComputing |
2022-10-20 16:23:11 |
AWS |
AWS |
Meet Ehsaan, Manager, Colocation Engineering EMEA | Amazon Web Services |
https://www.youtube.com/watch?v=bTQViNNzdAk
|
Meet Ehsaan Manager Colocation Engineering EMEA Amazon Web ServicesAWS pioneered cloud computing in creating cloud infrastructure that allows our customers to securely build and innovate faster We are continuously innovating the design and systems of our data centers to protect them from man made and natural risks Whether you re an electrician technician mechanical engineer or security specialist your next career move could be working in an AWS Data Center Learn more at Subscribe More AWS videos More AWS events videos ABOUT AWSAmazon Web Services AWS is the world s most comprehensive and broadly adopted cloud platform offering over fully featured services from data centers globally Millions of customers ーincluding the fastest growing startups largest enterprises and leading government agencies ーare using AWS to lower costs become more agile and innovate faster AWS AmazonWebServices CloudComputing |
2022-10-20 16:22:20 |
AWS |
AWS |
Meet Samantha, Regional Colo Field Engineering Manager | Amazon Web Services |
https://www.youtube.com/watch?v=fEA1p6e0DPg
|
Meet Samantha Regional Colo Field Engineering Manager Amazon Web ServicesAWS pioneered cloud computing in creating cloud infrastructure that allows our customers to securely build and innovate faster We are continuously innovating the design and systems of our data centers to protect them from man made and natural risks Whether you re an electrician technician mechanical engineer or security specialist your next career move could be working in an AWS Data Center Learn more at Subscribe More AWS videos More AWS events videos ABOUT AWSAmazon Web Services AWS is the world s most comprehensive and broadly adopted cloud platform offering over fully featured services from data centers globally Millions of customers ーincluding the fastest growing startups largest enterprises and leading government agencies ーare using AWS to lower costs become more agile and innovate faster AWS AmazonWebServices CloudComputing |
2022-10-20 16:21:39 |
AWS |
AWS |
Meet Nathan, Recruiter | Amazon Web Services |
https://www.youtube.com/watch?v=G_9rFCYu8o4
|
Meet Nathan Recruiter Amazon Web ServicesAt AWS we don t sit back and watch the world change we re the ones changing it We re looking for passionate and curious builders to build the future with us Learn more at Subscribe More AWS videos More AWS events videos ABOUT AWSAmazon Web Services AWS is the world s most comprehensive and broadly adopted cloud platform offering over fully featured services from data centers globally Millions of customers ーincluding the fastest growing startups largest enterprises and leading government agencies ーare using AWS to lower costs become more agile and innovate faster AWS AmazonWebServices CloudComputing |
2022-10-20 16:21:02 |
AWS |
AWS |
Meet Myah, Talent Acquisition Intern | Amazon Web Services |
https://www.youtube.com/watch?v=8wMPhgMVQm8
|
Meet Myah Talent Acquisition Intern Amazon Web ServicesAt AWS we don t sit back and watch the world change we re the ones changing it We re looking for passionate and curious builders to build the future with us Learn more at Subscribe More AWS videos More AWS events videos ABOUT AWSAmazon Web Services AWS is the world s most comprehensive and broadly adopted cloud platform offering over fully featured services from data centers globally Millions of customers ーincluding the fastest growing startups largest enterprises and leading government agencies ーare using AWS to lower costs become more agile and innovate faster AWS AmazonWebServices CloudComputing |
2022-10-20 16:20:20 |
AWS |
AWS |
Welcome to AWS, London |
https://www.youtube.com/watch?v=PKbF6x2aW70
|
Welcome to AWS LondonAt AWS we don t sit back and watch the world change we re the ones changing it We re looking for passionate and curious builders in the UK to build the future with us Learn more at Subscribe More AWS videos More AWS events videos ABOUT AWSAmazon Web Services AWS is the world s most comprehensive and broadly adopted cloud platform offering over fully featured services from data centers globally Millions of customers ーincluding the fastest growing startups largest enterprises and leading government agencies ーare using AWS to lower costs become more agile and innovate faster AWS AmazonWebServices CloudComputing |
2022-10-20 16:17:33 |
Google |
Official Google Blog |
10 new reasons to love Messages by Google |
https://blog.google/products/messages/10-new-messages-features/
|
new reasons to love Messages by GoogleWe use messaging apps to feel connected without the headache of needing to know what phone or network we re on That is why our focus with Messages by Google is to help you build connections It s also built around RCS a modern messaging protocol that supports richer text features higher resolution images and videos and enables end to end encryption With RCS we can give everyone a secure and modern messaging experience We continue to advocate for RCS across the industry so key players GetTheMessage and make the experience better for everyone As RCS adoption accelerates we re doing what s possible to improve messaging between Android and iOS like adding support for reactions This builds on a suite of features that you already love like an organized inbox that separates personal and business messages the ability to share sharper videos and scheduled messages And we re doing even more Here are ways Messages is evolving with safer smarter and more modern features Ever been in a chat where the conversation with friends is flowing and you re catching up with tons of messages Soon you ll be able to respond to an individual message in a conversation when RCS is enabled making it easier to respond to a specific message without breaking the flow Earlier this year we started displaying emoji reactions from iPhone users on your Android phone Now we re taking a step further by letting you react to SMS texts from iPhone users with emoji as well While RCS is the ultimate solution we re doing what we can to help Android users have a way to consistently react to messages We re making voice messages more accessible Using machine learning Voice Message Transcription auto transcribes the message so you can access it with ease Say you re in a crowded space and get an audio message from a loved one transcripts will let you “view the audio like you would a traditional text message In addition to Pixel and Pixel Pro this feature is also available on Pixel Pixel A Pixel Pro Samsung Galaxy S and the Galaxy Fold Phone showing the replies feature where a user can respond to a specific message in an RCS conversation Respond to an individual message in a conversationPhone showing reactions where users are reacting to messages with emoji Add an emoji reaction to SMS textsPhone showing the voice message transcription feature where a user can view a voice message transcribed into text View a voice messages transcribed into text Reminders are now included directly in Messages to help you remember important moments without navigating across several apps on your phone Remind yourself to call Mom on her birthday or schedule that appointment during regular business hours And if you save someone s birthday or anniversary in your phone s contacts app you ll get a gentle reminder about them when you open the Messages app You can now watch YouTube videos within Messages without ever leaving the app So when someone sends you a YouTube link you can quickly watch and respond without the hassle of switching back and forth If you are like me and always scrolling through messages endlessly to find the address that your friend sent you a while back we got you covered Messages will now intelligently suggest you “star messages that contain texts like addresses door codes and phone numbers to help you easily keep track and quickly find important conversations Phone showing the reminders feature where a user is selecting a time to remind themselves to respond to a text message The screen shows options for the user to select to set the reminder for one hour later today tomorrow or “pick date and time Set a reminder to respond to a messagePhone showing the YouTube picture in picture feature where a user is watching a video of a taco dip recipe while continuing their chat conversationWatch a YouTube video in a conversationPhone showing a conversation where a star icon is showing on one of the messagesStar a message and easily find it later Sometimes texting is too slow and impersonal so you need to get yourself on a video call Messages will recognize texts like “Can you talk now and suggest a Meet call by showing an icon right next to the message It will also suggest adding calendar events for messages like “Let s meet at pm on Tuesday to help you stay on top of important events In some countries we re experimenting with a feature that lets you chat with businesses you found on Search and Maps directly through Messages so all conversations appear in one place that s searchable private and secure You can plan your next trip score tickets to the big game and find deals from your favorite retailers ーall without leaving the Messages app Messages work across your favorite devices from your phone to Chromebook to your smartwatch Try sending a message from your new Pixel Watch by asking Google Assistant Your messaging apps should work wherever you areーeven in the air That s why we partnered with United Airlines to offer messaging on United flights when you have RCS turned on It will be available on United WiFi for most carriers starting this fall with broader support coming soon A fresh new lookWe re updating the Messages icon over the coming weeks to better reflect today s modern messaging experience and share the same look as many of Google s other products It takes more than one side to have a conversation and that s reflected in the design with overlapping messaging bubbles coming together as one Motion image showing bubbles turning into the new Messages iconNew icon for Messages by GoogleImage showing new icons for Contacts Messages and Phone appsNew icons for Contacts Messages and Phone appsImage showing icon adapted for Material You themesIcons are designed to adapt to Material You themesOur Phone and Contacts apps will also be updated with the same look and feel to signal their shared purpose helping you communicate Each is designed to adapt to Material You themes so they can always match your personal style And of course we obsessed over every pixel to ensure these new icons are instantly recognizable as communication tools and accessible to everyone There s more to come as we continue to build new tools and features into the app ーall with the safety and security of Google Download the Messages app on Google Play today to give it a spin and try out the new features that will begin rolling out in the coming weeks |
2022-10-20 17:00:00 |
js |
JavaScriptタグが付けられた新着投稿 - Qiita |
【LINE Messaging API, GAS】LINE Bot 制作でよく使うコード集 |
https://qiita.com/probabilityhill/items/a9dc082e40aeed8d2a5f
|
linedevelopersspreadshe |
2022-10-21 01:22:14 |
golang |
Goタグが付けられた新着投稿 - Qiita |
gRPCのサーバーが空配列を返してくれない |
https://qiita.com/popo62520908/items/36f58fece415d3315327
|
leftjoin |
2022-10-21 01:04:47 |
海外TECH |
MakeUseOf |
11 Reasons Why Meetup Is Great for Meeting New People |
https://www.makeuseof.com/reasons-why-meetup-great-for-meeting-new-people/
|
ideal |
2022-10-20 16:31:16 |
海外TECH |
MakeUseOf |
What Is a Smart Home Hub? |
https://www.makeuseof.com/what-is-smart-home-hub/
|
smart |
2022-10-20 16:31:16 |
海外TECH |
MakeUseOf |
A Beginner’s Guide to Apple Music Family |
https://www.makeuseof.com/apple-music-family-beginners-guide/
|
familysharing |
2022-10-20 16:15:16 |
海外TECH |
MakeUseOf |
How to Fix the "We Couldn't Find Your Settings" Error 0x80070490 in Mail for Windows |
https://www.makeuseof.com/windows-mail-0x80070490-error/
|
How to Fix the amp quot We Couldn x t Find Your Settings amp quot Error x in Mail for WindowsSometimes adding a Gmail account to Mail for Windows throws a weird error message Fortunately it s an easy fix |
2022-10-20 16:15:16 |
海外TECH |
DEV Community |
Building a startup (build log 2#): Authenticating students with Supabase |
https://dev.to/paul_emechebe/building-a-startup-build-log-2-authenticating-users-with-supabase-1p1b
|
Building a startup build log Authenticating students with SupabaseI ve decided to start documenting my journey as the CTO of Grow Here is the second build log build log where I discuss in detail the development process of how I built the authentication layer for our dashboard What is Grow This is a tweet from our CEO at Grow describing what Grow is In this build log I ll go through the authentication layer for the Grow dashboard The Grow dashboard is where authenticated users registered Grow students have access to course materials recorded lecture sessions course agendas student progress logs etc At the time of this publication the Grow dashboard is still in the infant stages of its development Paul Simon Emechebe ptbthefirst Just built a pretty decent form validation with the supabase database For someone that has used Firebase all his life Supabase made Postgres easy PM Oct In this build log I ll be covering the following The tech stack The login page UI The authentication flow The validation logic The tech stackThe four main dependencies are React Next js Tailwind and Supabase React js I m using React to build the dashboard React is an open source Javascript UI library for building UI components The concept of React is breaking down your app into independent components that can be completely isolated from the rest of the app when developing this is possible due to Reacts rendering behavior Learn more about React js hereNext js Next js is a web framework built on top of React Amongst a lot of the features it provides the most notable one is SSG server side rendering One of the best features Next js provides is its file based routing system Tailwind Tailwind is a CSS framework that gives you the ability to inline style using pre built utility classes Learn more about Tailwind hereSupabase Supabase is a suite of open source tools software to help you build apps using Postgres The Supabase database is what we used to store all the data for our registered students They also offer authentication but I didn t see the need to do my user validation on Supabase I just needed Supabase to give me all our users then I d handle the validation logic on the client Why I ll touch on that in the authentication flow section Learn more about Supabase here The login page UI In this section I go through the process of building the UI of the login page i e styling folder structure and component structure At the time of this publication the UI of the login page was not yet built with our custom UI components e g Form FormInput and FormLabel So a lot is happening in this single file No custom hooks no reusable UI components and no helper functions All the logic was done in this single file This is bad practice for it will catch up with you once you start scaling Below will show you screenshots of the file DISCLAIMER I am not encouraging this approach to building components I am just citing an example of what not to do I built it like this temporarily just to get something running Depending on the time you are reading this the UI must have been written with good scalable practices Too many Usestate This is meant to be avoided by dedicating specific state logic to custom hooks Redundant styling and HTML This is meant to be avoided by building custom UI components that carry identical styling and possibly logic for the sole purpose of them being reusable From the picture below line signifies the start and line signifies the end Do the math that s a total of lines of code for just a login page That s too many lines of code Authentication flowHere I go through the user journey of the login page These are the steps that the User undergoes to get authenticated as a student Step The user does a manual registration in the venue of the Bootcamp and gets an OTP code Step The user goes to the Grow Dashboard login page Step The user logs in with the first name he she used for the manual registration and the OTP code Validation logicIn this section I discuss the logic I wrote to securely validate that the user logging in is indeed who he she claims input to be First of all we ll take an overview of what happens behind the scene Below is a diagram of two parties the client the app and the database server Supabase Supabase provides a feature called Supabase Auth that deals with authenticating users I didn t use Supabase Auth to authenticate my users why Due to the fact we are a young startup we are targeting our students locally So there was no need of integrating an online payment gateway so we did our payments in person The in person payment also requires the student to fill out a form citing the student s credentials Once the student has done this the student is officially registered After this manual registration the student will be sent an OTP to his her email to verify his her account and access his her dashboard The user data for authentication wereStudents registered full name The full name the student used for manual registration OTP code The code is sent to the student s email after manual registration has been completed Now for the validation logic NOTE In the next build log build log I m going to discuss the validation logic in detail line by line The explanation below is just skimming through the important stuff As you can see above Supabase doesn t handle the validation logic all it does is provide all the credentials of manually registered students So what s happening on the client side I havetwo functions handling the validation logic readSupabse onAuthenticate one useEffecttwo components FullnameValidatoinIcon OtpValidationIcon Let s briefly describe what they do readSupabase This function contains a Supabase API that does two things reads a list of all the students registered on the database with their various credentials bound to each student filters the list and spits out all the student s full name and OTP codes onlyafter this API call is run the filtered data is compared with the user s input The comparison returns a boolean so validation is done anytime the user triggers an onChange on the input field More on this will be discussed in the next build log build log The logic from the readSupabase function starts checking wether the user is valid or not once the user starts typingbelow is the validating state below is when the validation is false below is when the validation is true onAuthenticate This runs once the user clicks the login button This function does several things starts the loading statechecks whether the full name exists in the databasechecks whether the OTP exists in the databasechecks whether the full name and OTP are bound to the same studentstarts a modal state redirects to the dashboard NOTE in the next build log I ll go through these line by line FullnameValidationIcon and OtpValidationIcon These two components handle the icons on the right of the input fields They are responsible for displaying the error icon signifying that the user s input does not match what is in the databasecheck icon signifying that the user s input matches what s on the database ConclusionAs of the time of writing this no refactoring was done whatsoever It s the first iteration of the login page I just wanted to get things running in future build logs I ll discuss how I refactored the login page Thanks for reading if you have any suggestions criticism or even ways to make these build logs add more value to you guys feel free to let me know in the comment section below Have a good day |
2022-10-20 16:37:32 |
海外TECH |
DEV Community |
Speeding up ReScript compilation using interface files |
https://dev.to/zth/speeding-up-rescript-compilation-using-interface-files-4fgn
|
Speeding up ReScript compilation using interface filesReScript compilation speeds are really fast out of the box But sometimes editing certain files can take longer to compile than you d expect it to In this article we ll explore a strategy for speeding up compilation by leveraging interface files We ll also dive into why using interface files can speed up compilation And by doing that we ll dig a bit into how the ReScript compiler works internally Let s start from the beginning though with a few concepts that are necessary to understand to be able to follow the rest of the article You can skip the coming sections if you re already familiar with modules interfaces and implementation files in ReScript TLDR If you have files that when edited cause longer compile times than you d expect see if adding interface files for those files help If you re changing the implementation often but not the interface you might see massive speed increases from adding interface files Modules and filesRead the official docs on modules Modules in ReScriptQuoting the official docs modules are like mini files A module is a collection of types values functions and so on For this article s sake pay special attention to the fact that every file is automatically a module So if you have MyFile res that file s contents will be available for you to use under the MyFile module globally We ll use the words module and file interchangeably so please keep in mind that every file is a module Implementation and interface filesRead the official docs Interface and implementation files in ReScriptReScript lets you separate interface and implementation in various ways Interface here means a description of what the outside world has access to in your module This is typically called the signature of the code It s essentially type information Implementation means the code you write to fulfill that description A simple example in your interface you tell the world there s going to be a value called usernames available that s an array of strings And in the implementation you produce that actual array of strings called usernames AllUsers resilet usernames array lt string gt AllUsers reslet usernames allUsersInSystem gt Belt Array map user gt user name Now the outside world doesn t need to care about how the usernames array is produced That s the implementation It just needs to know that that array will be there In ReScript implementation files are suffixed with res and interface files are suffixed with resi So if you have AllUsers res you add an interface by adding a AllUsers resi file So how can interface files speed up compilation Why does all of this matter to compilation speed Let s dive into how the ReScript compiler works a bit When you make a change to your code and then recompile the ReScript compiler needs to type check all affected parts of your program to make sure everything still adds up The ReScript compiler is quite intelligent and mostly knows how to check the minimum set of files needed as you change things This is a huge part of what makes the compiler so fast Type checking is very simplified about ensuring that all the types match each other in the project Is the parts of your program expecting and receiving the right things The compiler looks at each file module and then does one of two things depending on whether that file has an interface file or not If it has an interface file the compiler checks the implementation file to make sure that the implementation matches the interface Are you delivering what you promised in the interface If all checks out it moves on If not it errors If it doesn t have an interface file the compiler needs to derive an interface by itself for the file by looking at the implementation file directly So it looks at the code you ve written infers the signature of that code let myArray some string is an array of strings and then uses that inferred signature as an interface for that file as it moves on And this is because the type checker works on the type information from the interface not on the actual code implementing that interface Compilation slows down because the compiler needs to derive the interface again and againThis is what it all comes down to If there s no interface file the compiler needs to derive that interface itself by looking at the implementation And it needs to do that every time the file changes And after it has done that it needs to recheck all of the modules depending on the file you changed to make sure things still type check But if there is an interface file all the compiler needs to check is that your implementation still matches the interface It doesn t need to check anything else It can safely assume that any other file that s depending on this file and has compiled successfully with the current interface is still valid Because the interface hasn t changed just the implementation for that interface A good strategy for interface filesHow much you make use of interface files or not is largely a philosophical question that I m going to refrain from discussing here Some people never use them Some people use them a lot I personally use them some but not a lot One strategy I will leave you with though is to be mindful of modules you have that are used by many other modules Those might be a good idea to use interface files for not the least because of the speed benefits discussed in this article So be mindful of when editing certain files cause longer compilation times than you d expect See if adding an interface file might help Editor tooling helps make life with interface files easierThe ReScript VSCode extension has two goodies that help make life with interface files easier that I want to mention Automatically generating an interface file from an implementation fileIf you have a res file that you want to create an interface file for you can use the command gt ReScript Create an interface file for this implementation file Cmd Ctrl P brings up the command prompt You ll get a fully filled out resi file right next to your res file that you can edit to your liking Quite convenient Switching between interface and implementation filesThe extension makes it easy to jump between the res and resi file for a module via the command gt ReScript Switch implementation interface Running that command will jump to the resi file if you re in a res file and the resi file exists of course and running it from a resi file will jump to the corresponding res file Wrapping upThere s a ton more to say when it comes to what you can use interface files for both in terms of features but also in terms of techniques for a good developer workflow This article focuses on the performance aspects of interface files but I m likely going to cover the other points too at some point Until then thank you for reading |
2022-10-20 16:18:52 |
Apple |
AppleInsider - Frontpage News |
Microsoft making Xbox mobile game store to challenge Apple's iPhone control |
https://appleinsider.com/articles/22/10/20/microsoft-making-xbox-mobile-game-store-to-challenge-apples-iphone-control?utm_medium=rss
|
Microsoft making Xbox mobile game store to challenge Apple x s iPhone controlMicrosoft plans to fight both Apple and Google by building a mobile gaming store ーbut unless assorted governments mandate it it won t appear in the App Store soon Xbox Series XAt the beginning of Microsoft announced its intention to acquire Activision Blizzard a major deal valued at billion It brings major gaming titles under the company s ownership such as Warcraft Diablo Overwatch Call of Duty and Candy Crush Read more |
2022-10-20 16:14:48 |
海外TECH |
Engadget |
James Webb telescope captures 'knot' of galaxies in the early universe |
https://www.engadget.com/james-webb-space-telescope-galaxy-cluster-early-universe-165352781.html?src=rss
|
James Webb telescope captures x knot x of galaxies in the early universeThe James Webb Space Telescope has produced its second revelatory image in as many days Scientists using the observatory have discovered a tightly packed knot of at least three galaxies that were forming around a quasar billion years ago just over billion years after the Big Bang The telescope s near infrared spectrograph not only showed that the galaxies were orbiting each other at high speeds up to miles per second but that this one of the most dense known areas of early galaxy formation The density is unusually high enough that lead researcher Dominika Wylezalek suggested there may even be two halos of dark matter merging in this area The quasar itself is unusual The not so elegantly named SDSS J is a very red example that doesn t emit as wide a variety of light as already rare normal quasars These objects serve as active galactic nuclei and are powered by the gas tumbling into a supermassive black hole at the core of their galaxies The imagery also underscores the strength of the Webb telescope s sensors Earlier studies using the Hubble and Gemini North telescopes spotted the quasar s outflows but didn t reveal more than one host galaxy More study is necessary to determine how galaxy clusters like this take form and are affected by supermassive black holes However the Webb findings already promise to improve humanity s understanding of how the present day web of galaxies came to be not to mention how quasars might stifle star formation through their flows This is also just the start of Webb based quasar discoveries The team noted that Hubble data suggests there may be still more galaxies twirling around the quasar This is also the first part of a trilogy of studies using Webb to analyze quasars at multiple points in the universe s history These efforts could shed considerably more light on cosmic evolution in the years ahead |
2022-10-20 16:53:52 |
海外TECH |
Engadget |
Facebook Groups now include Reels and more anti-misinformation tools |
https://www.engadget.com/facebook-groups-reels-anti-misinformation-tools-162033187.html?src=rss
|
Facebook Groups now include Reels and more anti misinformation toolsFacebook is giving Groups a tune up with new features not to mention tools to ensure healthy discussions Like it or not Reels are coming to Groups ーmembers can share how to guides vacation recaps and other videos using the seemingly omnipresent format You can also update your Group profile to share things you might have in common and signal that you re open to messages And if you want to broadcast an event you can share public Facebook events as Instagram Stories The social media behemoth is also making it easier to curb the spread of misinformation within Groups Admins can automatically move posts with known false claims that is verified by fact checkers to pending posts so they can be reviewed before they re deleted While leaders could already auto decline posts and even auto block posters this could help them spot trends in bogus content and help make decisions on bans MetaThere are efforts to promote conversations too Facebook is testing an extension shown at top that lets admins allow content that might otherwise be flagged for bullying and harassment such as describing a fish as fatty This will only be available to actively involved admins who haven t either helmed a removed group or committed a serious policy violation In another test admins can reward contributions by giving points to community members You may get badges for welcoming newcomers or providing useful tips for example The changes are both an effort to spur positive engagement and an acknowledgment that Groups have sometimes been the source of Facebook s largest misinformation problems It put some communities on probation for spreading false election claims and banned hundreds of QAnon groups The ability to allow certain flagged content is unusual ーeffectively Facebook is willing to let Groups override its moderation system if they feel there s been a mistake |
2022-10-20 16:20:33 |
海外TECH |
Engadget |
Texas AG sues Google over its facial data collection practices |
https://www.engadget.com/texas-attorney-general-sues-google-over-its-facial-recognition-practices-161942788.html?src=rss
|
Texas AG sues Google over its facial data collection practicesThe office of Texas State Attorney General Ken Paxton announced on Thursday that it has filed a lawsuit against Google over the company s alleged years long practices to capture and use of biometric data from millions of Texans without properly obtaining their informed consent to do so This is allegedly a violation of the state s Capture or Use of Biometric Identifier Act of nbsp The AG argues that Google used features in its Photos and Assistant apps as well as through Nest Hub Max hardware to scan and store the facial and voice data without first acquiring user consent Furthermore Paxton alleges Google then leveraged that data for commercial gain by using it to train the company s machine learning algorithms “Google s indiscriminate collection of the personal information of Texans including very sensitive information like biometric identifiers will not be tolerated Texas Attorney General Ken Paxton said in the Thursday press release “I will continue to fight Big Tech to ensure the privacy and security of all Texans This is far from the first time that Paxton who is up for re election in November has targeted Alphabet and its subsidiaries His office filed a suit in January for engaging in false and misleading practices in violation of the Texas Deceptive Trade PracticesーConsumer Protection Act and then again less than a week later for systematically misleading and deceiving Texas consumers in violation of Texas Deceptive Trade Practices Act Paxton s office is asking the court for a permanent injunction in the case This would prohibit Google from capturing maintaining or using in any way the biometric identifiers captured in Texas or performing voice or facial recognition in Texas without the informed consent of the relevant individual as well as invoke a per infraction fine against the search company nbsp |
2022-10-20 16:19:42 |
海外TECH |
CodeProject Latest Articles |
Benchmarking Intel® Extension for Scikit-learn: How Much Faster Is It? |
https://www.codeproject.com/Articles/5344739/Benchmarking-Intel-Extension-for-Scikit-learn-How
|
Benchmarking IntelExtension for Scikit learn How Much Faster Is It This article will explore and compare the performance of the Intel Extension for Scikit learn and benchmark it against the stock Scikit learn library |
2022-10-20 16:09:00 |
海外科学 |
NYT > Science |
Virginia Uses Treated Wastewater to Shore Up a Drinking Water Aquifer |
https://www.nytimes.com/2022/10/20/climate/treated-sewage-virginia-aquifer.html
|
Virginia Uses Treated Wastewater to Shore Up a Drinking Water AquiferA crucial aquifer is running low so officials are pumping in treated sewage It s an increasingly common strategy as heavy demand and climate change strain water supplies |
2022-10-20 16:37:32 |
金融 |
金融庁ホームページ |
金融安定理事会による「気候関連リスクに対する規制・監督手法:最終報告書」及び「気候関連開示に関するFSB進捗報告書」について掲載しました。 |
https://www.fsa.go.jp/inter/fsf/20221020/20221020.html
|
金融安定理事会 |
2022-10-20 17:00:00 |
金融 |
金融庁ホームページ |
金融安定理事会による市中協議文書「サイバーインシデント報告の更なる収斂の達成」について掲載しました。 |
https://www.fsa.go.jp/inter/fsf/20221020_2/20221020_2.html
|
金融安定理事会 |
2022-10-20 17:00:00 |
金融 |
金融庁ホームページ |
G20サステナブルファイナンス作業部会による「2022年G20サステナブルファイナンス報告書」について掲載しました。 |
https://www.fsa.go.jp/inter/etc/20221020/20221020.html
|
作業部会 |
2022-10-20 17:00:00 |
金融 |
金融庁ホームページ |
金融庁国際総括官のIOSCO(証券監督者国際機構)代表理事会副議長就任について公表しました。 |
https://www.fsa.go.jp/inter/ios/20221020/20221020.html
|
iosco |
2022-10-20 17:00:00 |
ニュース |
BBC News - Home |
Child sex abuse: Failing to report it should be made illegal - major inquiry |
https://www.bbc.co.uk/news/uk-63318342?at_medium=RSS&at_campaign=KARANGA
|
inquiry |
2022-10-20 16:47:40 |
ニュース |
BBC News - Home |
National Grid raises discounts for off-peak electricity use |
https://www.bbc.co.uk/news/business-63329233?at_medium=RSS&at_campaign=KARANGA
|
discounts |
2022-10-20 16:17:29 |
ニュース |
BBC News - Home |
Benjamin Mendy: Girl heard screaming 'rape' at party, trial told |
https://www.bbc.co.uk/news/uk-england-manchester-63331189?at_medium=RSS&at_campaign=KARANGA
|
benjamin |
2022-10-20 16:17:35 |
ニュース |
BBC News - Home |
Tory leadership race: Who could replace Liz Truss as prime minister? |
https://www.bbc.co.uk/news/uk-politics-63332047?at_medium=RSS&at_campaign=KARANGA
|
leader |
2022-10-20 16:04:10 |
ニュース |
BBC News - Home |
Liz Truss's 45 days in office |
https://www.bbc.co.uk/news/uk-politics-63337111?at_medium=RSS&at_campaign=KARANGA
|
ministers |
2022-10-20 16:24:18 |
ニュース |
BBC News - Home |
Graham Brady: The man who sees off Tory prime ministers |
https://www.bbc.co.uk/news/uk-politics-63332425?at_medium=RSS&at_campaign=KARANGA
|
ministers |
2022-10-20 16:08:22 |
ニュース |
BBC News - Home |
Liz Truss resignation: World politicians and media react to Truss departure |
https://www.bbc.co.uk/news/world-63333462?at_medium=RSS&at_campaign=KARANGA
|
commentators |
2022-10-20 16:54:03 |
コメント
コメントを投稿