Home / Companies / Courier / Blog / August 2022

August 2022 Summaries

5 posts from Courier

Filter
Month: Year:
Post Summaries Back to Blog
The parser takes a stream of tokens generated by the lexer, organizes them into an abstract syntax tree (AST), and converts it into a logical hierarchy that can be translated into machine code. The AST is represented as a tree-like data structure where each node represents a "node" in the language. The parser defines several types, including IntNode, FloatNode, IdentifierNode, TypedIdentifierNode, and BlockNode, which are used to define the structure of the AST. The parser also defines functions to consume tokens, parse blocks, and parse expressions, which work together to build the AST. The final output is a BlockNode that acts as the root of the tree, representing the compiled code.
Aug 25, 2022 1,750 words in the original blog post.
WebAssembly (wasm) is a high-performance assembly-like format optimized for the web, enabling demanding desktop-class apps to run in browsers. The WebAssembly team developed binaryen, a powerful compiler toolchain library that facilitates wasm adoption by offering dead code removal, code size reduction, and performance optimizations. A guide on building languages using wasm has been created, focusing on intermediate to advanced software developers looking for a fun side project. The guide covers setup, lexing, parsing, and compiling, with the first part covering setup and lexing. The lex function takes a string input and outputs an array of tokens, which are then identified as specific types such as integers, floats, identifiers, and brackets. A simple example, wispy, is used to demonstrate the lexer's functionality, outputting tokens that represent the code's structure. With the lexer working, the next step will be parsing these tokens into a logical tree for compilation to wasm.
Aug 18, 2022 1,959 words in the original blog post.
Slack's success can be attributed to its holistic approach to user experience, creating a platform that seamlessly integrates into users' lives, providing control over notifications, and delivering actionable, engaging, relevant, and timely messages. By allowing users to customize their notification preferences, Slack has instilled confidence between its platform and users, making it attractive for customers. The company's robust integrations, automations, and APIs enable a wide range of applications to be integrated, streamlining collaboration and productivity. With over 12 million users worldwide, Slack has become the go-to internal communications platform, dominating the market with its user-friendly interface and open documentation process.
Aug 11, 2022 1,544 words in the original blog post.
A multichannel notifications strategy is essential for companies that want to reach users across multiple channels and providers, as user preferences are dynamic and changing. Traditional approaches to managing notifications, such as limited channel notifications and custom channel support, fall short because they can be slow, expensive, and unsustainable. A future-proof multichannel notifications system should enable forward compatibility, integrate with existing tech, reroute messages to different channels, and scale with the company's size. Courier is a solution that empowers companies to build a custom multichannel strategy, providing APIs, SDKs, shortened development time, dynamic templates, and analytics to improve the notification experience for users.
Aug 04, 2022 1,553 words in the original blog post.
Slack notifications are a popular way to reach business users with time-sensitive alerts or action items while they're at work. To send messages in Slack, software systems must integrate with its API, which offers a conventional HTTP REST API that's easy to understand for developers. Beyond sending messages, other functionality can be implemented using Slack's API, such as slash commands, message editing, and bot interactions. Developers should consider technical aspects like rate limits, attachments, and compliance with regulations when building a Slack integration. To design a helpful notification experience, it's recommended to use Slack status information, create message templates, and handle language preferences and translation workflows. Finally, developers can explore tools like Courier, which offers pre-built integrations for various messaging services, to simplify the process of building strong notification systems.
Aug 04, 2022 1,479 words in the original blog post.