techlist.io

Techlist.io - Korean Tech Blog Curator

Figma2017-03-132 min readCurated summary

The 6 design trends John Maeda predicted in his State of the Union | Figma Blog

John Maeda’s 2017 *Design in Tech Report* predicted rapid growth and transformation in product design. The article argues that companies increasingly need designers because technology has become easy to build, making user experience and emotional relevance key differentiators. However, fragmented tools and outdated education remain major challenges. ## Designer Hiring Surges - Major corporations are expanding their product design teams. - Companies such as Facebook, Google, and Amazon reportedly hired 65% more designers in the previous year. - More than 35 design agencies were acquired by large companies over two years. - As app development becomes commoditized, design determines how useful and meaningful products feel to people. ## More Inclusive Design - Technology’s broader reach requires products designed for people from varied backgrounds and experiences. - Companies including Airbnb, Slack, Google, and Microsoft were highlighted as leaders in inclusive design. - Inclusion is becoming both a social responsibility and a product-quality requirement. ## Design Education Falls Behind - Many design programs remain focused on print-era disciplines such as traditional typography. - Schools often fail to teach digital product design for web and mobile platforms. - More than two-thirds of surveyed students said they learned digital skills independently through resources such as Lynda.com. - Maeda expects educational institutions to change slowly because their structures and processes evolve deliberately. ## Design-Focused Investment - Venture capital is showing greater interest in companies built around design. - Two VC firms were reportedly launching with design-focused investment strategies. - Designers themselves show entrepreneurial interest: 80% of those surveyed said they would start a company if they had sufficient funding. ## Growing Number of Design Tools - Product design tools remain fragmented, supporting different workflows rather than one unified process. - Many companies are attempting to streamline collaboration and production. - Maeda warned that increasingly sophisticated tools could create more opportunities for machine intelligence and eventually reduce demand for some design work. ## Emerging Specializations - Voice-interface design is growing alongside products such as Amazon Alexa. - Cybersecurity is creating demand for specialized designers. - China is expected to become increasingly influential in the global design landscape. The outlook for technology and product design is strong, but the industry must address outdated education and disconnected workflows. Designers, companies hiring them, and toolmakers all have opportunities—especially to create more unified, collaborative design processes.

OpenAI2017-03-112 min readCurated summary

Prediction and control with temporal segment models

This paper introduces a method for learning the dynamics of complex nonlinear systems using deep generative models over temporal segments of states and actions rather than single timesteps. The approach combines convolutional autoregressive models with variational autoencoders to produce stable, accurate long-horizon predictions for stochastic systems. The learned model and action prior support end-to-end, differentiable trajectory optimization and model-based policy optimization, and the authors evaluate both performance and sample efficiency. ## Segment-level Dynamics Modeling - Traditional dynamics models predict one discrete timestep at a time. - This method instead learns a distribution over future state trajectories. - Predictions are conditioned on past states, past actions, and planned future action trajectories. - A latent prior over action trajectories is learned alongside the dynamics model. ## Architecture - The model is built on convolutional autoregressive models. - Variational autoencoders provide the generative framework. - The design is intended to handle complex, stochastic systems. ## Modeled Phenomena and Prediction Quality - Predictions remain stable and accurate over long horizons. - The model expresses uncertainty explicitly. - It captures collisions, sensory noise, and action delays. ## Applications in Control - The learned dynamics model and action prior can be used for end-to-end, fully differentiable trajectory optimization. - The same components support model-based policy optimization. - The authors use these applications to evaluate both the performance and sample efficiency of the method.

Figma2017-03-083 min readCurated summary

Did Snapchat succeed because of its controversial UI? | Figma Blog

Snapchat’s confusing, unconventional interface may have helped rather than hurt its success. By rejecting standard usability rules, it created a product that encouraged exploration, social teaching, creativity, and a sense of insider belonging. Its design was partly accidental, but it also introduced influential mobile interaction patterns that made Snapchat distinctive. ## Breaking Conventional Usability Rules - Snapchat violated the principle of making interfaces immediately understandable. - Its navigation was chaotic: - Stories used both vertical and horizontal scrolling. - The camera screen contained unrelated controls. - There was no consistent navigation bar. - Designers argued that design should solve a problem, even if the result is less polished or intuitive. - Snapchat demonstrated that usability is not always the most important measure of a successful product. ## Tribal Knowledge and Millennial Appeal - Many users initially found Snapchat frustrating and ridiculous. - Its hidden features, such as filters and video calling, were often learned from friends. - This dependence on “tribal knowledge” created: - A sense of belonging among users. - A private space that felt separate from parents and older generations. - A rewarding discovery process. - The app’s messy interface also reflected the informal, chaotic identity its young audience associated with itself. ## Pioneering Mobile Interaction - Snapchat was among the first major social apps to open directly to the camera. - This encouraged users to create content rather than simply consume it. - Gestures such as swiping, tapping, double-tapping, and holding became essential commands. - Swiping to access filters was more fluid than browsing static filter thumbnails. - Its multidirectional navigation arguably suited touchscreen devices better than tiny menu buttons. ## “Shareable UI” Instead of Intuitive UI - Josh Elman described Snapchat’s approach as “shareable UI.” - Rather than making every feature discoverable by individual trial and error, the app encouraged users to learn from friends. - Social products can benefit from features that people want to demonstrate and discuss. - The goal is not always immediate comprehension; a powerful or entertaining product may spread because users teach one another how to use it. ## Accidental Innovation or Deliberate Strategy? - Some designers believed Snapchat’s interface was simply the result of accumulated bad decisions. - Others saw its design as unusually attuned to younger users and mobile behavior. - Regardless of intent, its unconventional choices helped establish new patterns for camera-first apps, gesture-based controls, and socially learned features. Snapchat’s success suggests that products do not always need to be intuitive or conventionally polished. A distinctive, difficult-to-master interface can succeed when it creates social value, rewards discovery, and gives users something worth sharing.

OpenAI2017-03-052 min readCurated summary

Third-person imitation learning

Reinforcement learning depends on a reward function that is hard to specify, and imitation learning is the traditional workaround. This paper argues that existing imitation methods need first-person demonstrations, which are costly to collect, and proposes an unsupervised method that learns from third-person demonstrations instead. The method uses domain confusion to extract domain-agnostic features, and the authors validate it on simple control tasks. ### Limits of First-Person Imitation Learning - Prior imitation learning methods require demonstrations in the first person, meaning a sequence of states along with the actions the agent should have taken. - Collecting first-person demonstrations is a relatively hard problem, which limits how far these methods scale. - Humans avoid this constraint by watching others perform a task, inferring the goal, and then accomplishing it themselves. ### Unsupervised Third-Person Imitation - The agent learns to achieve a simple goal in a simple environment from a demonstration by a teacher who pursues the same goal from a different viewpoint. - The learning is unsupervised: the agent receives only the third-person demonstrations and no correspondence between teacher states and student states. - The central insight is that recent domain confusion techniques can produce domain-agnostic features, which the training process depends on. ### Experimental Validation - The method is tested on learning from third-person demonstrations in three domains: a pointmass, a reacher, and an inverted pendulum. - The abstract reports successful results in all three domains.

Figma2017-03-053 min readCurated summary

Realtime Editing of Ordered Sequences | Figma Blog

Figma needed a way for multiple users to edit ordered object sequences simultaneously while ensuring every client eventually reached the same state. Although Operational Transformation (OT) could solve the problem, Figma chose fractional indexing because it is simpler, supports efficient reordering, and was sufficient for design documents. The trade-offs—such as possible interleaving and growing index lengths—were acceptable in Figma’s use case. ## The Realtime Ordering Problem - Figma documents contain ordered children inside groups, components, and other compound objects. - Users can insert, delete, or reorder objects while edits are applied locally and propagated asynchronously. - Because clients may receive operations in different orders, the system must guarantee eventual consistency: every client must end up with the same document. ## Operational Transformation - OT transforms concurrent operations so they preserve the intended result regardless of application order. - For example, an insertion before a deletion may require adjusting the deletion’s index so it still removes the intended characters. - OT offers: - Strong performance and low memory usage for very large sequences. - Linearized concurrent insertions rather than interleaved content. - However: - It is difficult to understand and implement correctly. - Reordering is typically represented as a delete followed by an insert. - Supporting more operation types increases implementation complexity substantially because operations must be transformed against one another. - Figma considered OT excessive because its sequences were not enormous, interleaving was acceptable, and reordering was especially common. ## Fractional Indexing - Each object receives a numeric position, and children are ordered by sorting these positions. - To insert between two objects, Figma assigns the new object the average of their positions. - Positions are arbitrary-precision fractions between 0 and 1, stored as strings to preserve precision. - Figma uses a compact base-95 representation, omitting the leading `0.` and using the full ASCII range. - Reordering requires changing only one position value. ## Trade-offs and Conflict Handling - Fractional indexes are easy to understand and implement, but: - Index strings can grow after many insertions. - Concurrent insertions may interleave. - Averaging fails if two neighboring objects have identical indexes. - Index growth is not a practical concern for Figma because document sizes and user-driven reorder operations are limited. - Interleaving is generally acceptable for design objects, which often do not overlap; users can manually correct unusual ordering. - If two clients insert between the same objects, the server assigns a unique position to prevent duplicate indexes. Figma’s experience suggests that a simpler, stable algorithm can be more valuable than a theoretically stronger one. Fractional indexing made collaborative ordering easier to maintain and extend while meeting the practical needs of a design tool.

Figma2017-03-013 min readCurated summary

Can designers make a political difference? | Figma Blog

The post argues that designers can make a political difference by applying their skills, platforms, and creative work to support vulnerable communities and challenge political ideas. After Trump’s election, many designers moved from grief to action through pro-bono services, fundraising, public art, and political satire. Their work may not change policy directly, but it can strengthen organizations, shape public conversation, and build solidarity. ## Visible: Design Support for Grassroots Organizations - Portland agency The Beauty Shop responded to the 2016 election by offering free design work to organizations serving women, people of color, Hispanic, Muslim, immigrant, and LGBTQ communities. - The response quickly grew: - Their Instagram following quadrupled in two days. - Around 300 designers and studios volunteered, including a Facebook design team. - The founders created Visible, a coalition connecting designers with grassroots organizations. - Its initial twelve partners included: - The Iowa Abortion Access Fund - Nightingale, a healthcare-focused publication - The Yemen Peace Project, whose website had been attacked by hackers - The designers argued that strong branding and visual structure can make organizations appear more legitimate and help them succeed. ## Creative Action Network: Celebrating Shared Values - Creative Action Network (CAN) organizes artists around social-good campaigns for groups such as the National Parks Conservation Association and the New York Public Library. - After the election, CAN launched a project to publish one poster per day for the first 100 days of the Trump administration. - The posters celebrated elements of American life including jazz and religious freedom. - Rather than focusing only on protest, CAN emphasized celebrating the values and communities people wanted to preserve, creating common ground. ## Hallie Bateman: Art as Fundraising and Personal Resistance - Illustrator Hallie Bateman questioned whether her usual focus on ordinary moments still fit a changed political reality. - After reflecting on art’s role during periods of conflict, she began using her illustrations to raise money. - She sold a limited-edition drawing and donated the proceeds, excluding printing costs, to Planned Parenthood, raising $2,000. - She later created another print to support the Sierra Club. - Bateman acknowledged that her approach was informal and could become more strategic, but viewed creative fundraising as a meaningful way to contribute. ## Ben Barry: Political Satire Through Design - Former Facebook designer Ben Barry accepted a freelance assignment from The New York Times to design a satirical job application mocking Trump. - He explored several visual directions, including: - A poorly formatted elementary-school field-trip flyer - A document styled like an internal Russian government memo - An exaggerated, gold-and-brassy design reflecting Trump’s public image - The project allowed Barry to use design and humor in one of the country’s largest newspapers to criticize an administration he opposed. Designers can contribute politically by offering practical expertise, amplifying causes, raising funds, celebrating shared values, and using visual communication to expose or ridicule political power. The examples suggest that meaningful action does not require a single grand strategy; individual creative efforts can support broader movements.

Figma2017-02-143 min readCurated summary

Team Libraries in Figma | Figma Blog

Team Libraries bring shared, synchronized components to Figma, addressing the difficulty of maintaining design systems across separate files. The feature builds on Figma’s components, constraints, and web-based collaboration to create a single source of truth that teams can reuse and update efficiently. Its workflow—Publish, Insert, and Update—combines engineering-style structure with an accessible design workflow. ## The Problems with Traditional Design Tools - Many design tools were modeled on print and illustration software rather than interactive applications. - They lack meaningful support for application behavior, platform constraints, and reusable interface structures. - Copying symbols between files creates disconnected versions that must be updated manually. - Large organizations such as Facebook, Google, and Airbnb have had to build custom tools and dedicate staff to maintaining design systems. - Designers need synchronized, compounding component structures to create scalable systems. ## Bridging Design and Dynamic Interfaces - Figma’s earlier features established the foundation for reusable design systems: - Reliable vector editing - Constraints that reflect system behavior - Dynamic, reusable components - Team Libraries extend these capabilities across files and team members. - Because Figma operates online, shared components have effectively no synchronization delay. - Teams can reuse structured components across devices, platforms, layouts, and user flows. ## An Engineering-Inspired Design Workflow - Figma draws on software concepts such as modular composition and frameworks like React. - Structuring interfaces from discrete, clearly defined parts makes products easier to maintain. - The feature adapts engineering principles for designers rather than copying programming workflows directly. ## Publishing Components - Designers select components and choose **Add to Library** in the inspector sidebar. - Multiple components can be collected and reviewed before being published. - Permissions separate the source of truth from its consumers: - Editors of the source file can modify the original components. - Anyone with view access can use the published components. - This lets specialized teams control assets such as icons, colors, or brand guidelines while others reuse them without changing the rules. ## Inserting and Nesting Components - Published components are available in any file for users who can view the source file. - Users insert them through Figma’s components tool. - Components can be nested inside larger components or modules. - Nested structures allow teams to build complex views from reusable source elements while preserving a predictable single source of truth. ## Updating Shared Components - Changes are made to the original component and published again. - Figma provides a confirmation step and a visual diff showing what changed. - Deleting a component from the source file and publishing removes it from the team library. - The update process includes an additional safeguard because changes may affect multiple design explorations and could otherwise cause users to lose work.

Datadog2017-01-232 min readCurated summary

The trouble with mounting

Datadog found that some agents stopped reporting all metrics because they became stuck in an unkillable state during disk checks. The root cause was `os.statvfs`, whose glibc implementation can hang while inspecting NFS mounts configured with hard-mount behavior. Since agents run in unpredictable customer environments, Datadog isolated the call in a separate thread and allowed the main process to continue after a timeout. ## Detecting the Hang - Customers reported gaps across every metric, indicating that the agent—not an individual check—had stopped functioning. - Logs showed the agent sometimes hung without producing an error. - A watchdog failed to terminate it because the process was stuck in an unkillable system call. - Developer-mode timing data identified `os.statvfs` as the consistently slow operation. ## How NFS Causes Unkillable Processes - `os.statvfs` calls the Linux `statvfs` function through CPython and glibc. - `statvfs` can hang when examining a remote directory mounted through NFS. - NFS hard mounts retry indefinitely and do not time out system calls. - Soft mounts eventually return an error, while the `intr` option allows interruption of the calling process. - Hard mounts may be appropriate when reads and writes must eventually succeed, but they are risky with unreliable NFS connections because they are the default in many configurations. ## The `/proc/mounts` Complication - Glibc’s `statvfs` implementation checks each directory listed in `/proc/mounts` until it finds the requested mount. - Consequently, a disconnected NFS mount can block `statvfs` even when the agent is checking a different filesystem. - This made changing NFS mount options impractical as a universal fix because Datadog cannot control customers’ system configurations. ## Datadog’s Workaround - The agent now runs `statvfs` on a separate thread. - If the call exceeds a timeout, the main agent thread continues operating. - This approach avoids total metric loss across heterogeneous environments. - The trade-off is a modest increase in memory usage on systems with hard-mounted NFS volumes. The practical lesson is to treat filesystem statistics as potentially blocking operations, especially in environments with NFS. Isolating such calls behind timeouts provides more reliable monitoring than assuming system calls will always return promptly.

Datadog2017-01-232 min readCurated summary

The trouble with mounting | Datadog

The post explains why filesystem mounting becomes surprisingly complex in containerized Linux environments. Datadog’s Agent needs to inspect host filesystems from inside a container, but mount namespaces, bind mounts, and propagation rules can make the host’s view incomplete or inconsistent. The conclusion is that reliable mounting requires understanding namespace boundaries and deliberately configuring mount propagation rather than treating mounts as ordinary directory mappings. ## Linux Mount Namespaces - Each process can have its own mount namespace, isolating its view of mounted filesystems. - A container therefore sees a filesystem tree that may differ substantially from the host’s tree. - Bind-mounting a directory into a container does not necessarily expose mounts created beneath that directory. - This is particularly problematic for paths such as `/proc`, `/sys`, `/var/lib/docker`, and other locations containing nested mounts. ## The Problem with Bind Mounts - A bind mount initially exposes only the directory tree visible at the time it is created. - Later mounts beneath the source directory may not appear in the container. - Recursive bind mounts can copy nested mounts, but they introduce their own behavior and compatibility concerns. - Mounts can also be shared, private, or “slave,” determining whether mount and unmount events propagate between namespaces. ## Mount Propagation - Linux mount propagation controls how changes in one namespace are reflected in another. - Shared mounts propagate events in both directions, while slave mounts receive changes without sending them back. - Private mounts isolate changes completely. - Choosing the wrong propagation mode can cause the Agent to miss newly mounted filesystems or, worse, allow container-side changes to affect the host. ## Datadog’s Engineering Challenge - Datadog needs host-level visibility while keeping the monitoring container isolated and safe. - The Agent must account for mounts that appear after startup, including dynamically created container and volume mounts. - Correct behavior depends on both the container runtime configuration and the host’s existing mount topology. - A robust implementation must inspect mount metadata and handle namespace and propagation details explicitly. The practical recommendation is to treat mounting as a namespace and event-propagation problem, not merely a path-sharing mechanism. Systems that need host visibility should use carefully selected recursive mounts and propagation modes, validate the resulting mount tree, and test behavior when mounts are created or removed dynamically.

OpenAI2017-01-181 min readCurated summary

PixelCNN++: Improving the PixelCNN with discretized logistic mixture likelihood and other modifications

PixelCNN++ presents a modified implementation of PixelCNN, a class of generative models with tractable likelihood. The changes simplify the model's structure and improve its performance. The authors demonstrate the benefits with state-of-the-art log-likelihood results on CIFAR-10. ### Modeling the Pixel Output - The model replaces the original 256-way softmax over pixel values with a discretized logistic mixture likelihood. - This change speeds up training. ### Simplifying the Input Conditioning - The model conditions on whole pixels rather than individual R/G/B sub-pixels. - This removes complexity from the model structure. ### Capturing Structure Across Scales and Speeding Optimization - Downsampling captures structure at multiple resolutions efficiently. - Additional short-cut connections further accelerate optimization. ### Regularization - Dropout regularizes the model. ### Results on CIFAR-10 - The modified model achieves state-of-the-art log-likelihood on CIFAR-10. - The authors make their implementation publicly available.

Datadog2017-01-171 min readCurated summary

Engineering spotlight: Marie-Laure Bardonnet | Datadog

The provided text contains Datadog’s navigation and promotional banner announcing its recognition as a Leader in the 2026 Gartner® Magic Quadrant™ for Observability Platforms. It does not include the actual blog post about Marie-Laure Bardonnet, so its argument, technical details, and conclusion cannot be reliably summarized. ## Available Content - Datadog promotes its observability platform and Gartner recognition. - The navigation lists products covering: - Infrastructure and application monitoring - Logs, databases, and data observability - Security and cloud protection - Digital experience monitoring - CI/CD and software delivery - Incident and service management - AI-powered observability and investigation - The page URL suggests the article is an “Engineering Spotlight” featuring Marie-Laure Bardonnet. Please provide the article body or a complete extraction of the page for a substantive summary.

Datadog2017-01-172 min readCurated summary

Engineering spotlight: Marie-Laure Bardonnet

Datadog’s Notebooks feature demonstrates that interns can make substantial contributions when given meaningful ownership and effective mentorship. Marie-Laure Bardonnet progressed from small bug fixes to prototyping the feature, gaining hands-on experience with React, Redux, and Redux Saga. Her experience ultimately led to continued part-time work and a full-time role at Datadog. ## From Bug Fixes to Feature Ownership - Marie-Laure initially handled small issues, such as fixing a dashboard favorite-star interaction. - Gradually more complex tasks helped her learn Datadog’s codebase and application architecture. - Rather than limiting her to routine maintenance, Datadog assigned her a major project earlier than expected. ## Building Datadog Notebooks - Notebooks let users save graphs from a specific point in time alongside text and other contextual information. - The feature is designed to preserve and share organizational knowledge, helping teams respond more quickly. - Marie-Laure built most of the prototype during her seven-month internship. - The project introduced her to: - React for the frontend - Redux for state management - Redux Saga for handling side effects ## The Role of Mentorship - Team lead Ivan DiLernia gave Marie-Laure substantial autonomy while remaining available for difficult architectural decisions. - He encouraged her to investigate ideas independently, then collaborated with her when problems required deeper discussion. - Marie-Laure identified this balance between independence and guidance as one of the most valuable parts of the internship. ## Lasting Impact - The internship changed how Marie-Laure viewed her academic coursework, helping her distinguish practical engineering skills from more theoretical material. - After returning to France, she continued working part-time on Notebooks and other web-platform projects. - She later completed her studies and accepted a full-time position at Datadog. Datadog’s experience suggests that internships are most effective when they combine gradual onboarding, meaningful technical ownership, and thoughtful mentorship rather than restricting interns to low-impact tasks.

Figma2016-12-073 min readCurated summary

Components in Figma | Figma Blog

Figma’s 2016 Components release applies software-engineering ideas such as composition, inheritance, and overrides to interface design. Components let designers reuse shared elements as linked instances, so updates remain consistent while local customizations are preserved. The result is a design workflow that supports both systematic reuse and creative flexibility. ## Designing with Components - Components help designers break complex interfaces into smaller, understandable parts. - Reusable elements can appear in multiple locations, at different sizes and with local modifications. - Unlike duplicated copies, component instances remain connected to their source. - Updates to the original component are automatically reflected across all instances, improving consistency and reducing repetitive work. - Examples include repeated address-book rows containing shared typography, spacing, icons, and graphics. ## Figma’s Design Goals Figma aimed to make Components: - Easy for new users to learn. - Powerful enough for advanced design systems. - Flexible throughout the design process. - Low-overhead, so systematic design improves speed without limiting experimentation. ## Creating and Using Instances - Any frame or selected object can be converted into a component through the toolbar. - Duplicating, copying, pasting, or Alt-dragging a component creates instances rather than independent copies. - Instances can move independently on the canvas while retaining their connection to the source component. - Changes made to the main component propagate immediately to its instances. - Certain internal properties, such as the position and size of nested objects, are restricted to make components easier to maintain. ## Style and Property Overrides - Instance changes are treated as overrides of the original component’s properties. - Designers can override fills, strokes, colors, widths, and properties of nested layers. - Overrides remain intact when the source component changes. - Properties that were not overridden continue to update from the source component. - Overrides can be removed with the “Reset Instance” action. ## Complex and Nested Components - Components can contain instances of other components. - Combining nested components makes it possible to build larger systems from smaller, reusable parts. - Designers can add instances to an existing component or create a new component from selected instances. - Nested components are intended to work like other Figma objects, keeping complex systems manageable. ## Constraints - Components can be combined with Figma’s Constraints feature. - Constraints allow elements to respond to changes in size and position. - Together, components and constraints support reusable designs that adapt more intelligently across layouts. Components provide a practical bridge between design and software development: create shared building blocks once, reuse them widely, and preserve controlled customization through overrides. Teams building consistent, evolving interfaces can use them to reduce duplication while keeping designs adaptable.

OpenAI2016-12-044 min readCurated summary

Universe

# Universe: A Platform for Training AI on General Computer Tasks OpenAI's Universe is a software platform for measuring and training AI agents across the full range of tasks a human can perform on a computer. Instead of relying on special APIs or access to program internals, Universe lets an agent view screen pixels and operate a virtual keyboard and mouse, the same way a person does. The release includes roughly a thousand environments, from Flash games and browser tasks to commercial games, with the goal of building a single agent that can quickly master unfamiliar tasks, a step toward general intelligence. ## Motivation: Narrow AI and the Lack of Transferable Experience - Existing systems such as AlphaGo achieve superhuman performance in one domain but cannot apply that knowledge elsewhere. - Standard RL training starts agents from scratch and relies on tens of millions of random trials, so experience does not carry over between tasks. - Progress toward general intelligence requires agents to train on a wide variety of tasks so they can build reusable world knowledge and problem-solving strategies. ## Universe Infrastructure - Each environment runs inside a Docker container that exposes a VNC server for pixels and keyboard/mouse input, plus a WebSocket server that sends rewards and auxiliary information and accepts control messages. - The `universe` Python library acts as a VNC client and wraps each environment as a standard Gym environment, so any program can be turned into one without access to its source code. - Performance target: a single Python process drives 20 environments in parallel at 60 frames per second. A batch-oriented VNC client written in Go and loaded as a shared library keeps frame transfer efficient, reaching about 100ms latency, mostly from server-side encoding. - Debugging and demonstrations are simple: an observer can attach a VNC client to watch training, and human demonstrations can be recorded by saving VNC traffic. These demonstrations can seed agents through behavioral cloning before RL fine-tuning. ## Environment Types - **Atari games:** Run asynchronously over the network, so agents must handle realistic lag (about 20ms observation and 10ms action lag on a cloud LAN, higher over the public internet). - **Flash games:** About 1,000 are included (100 with reward functions), distributed with rightsholder consent. Selenium launches Chrome and clicks through menus automatically. - **Reward extraction:** Since game memory formats vary widely, rewards are read from on-screen scores using a convolutional neural network OCR model. Off-the-shelf OCR like Tesseract struggled with game fonts and animated backgrounds. - **Browser tasks:** Mini World of Bits is an 80-environment benchmark, analogous to MNIST, ranging from clicking a button to replying to an email. Realistic flight-booking tasks use cached site recordings to avoid live bookings. ## Validation Experiments - **Pong:** The agent learned to reach a score of +17 (out of 21) in about an hour, while humans on the same version averaged -11, showing that the variable latency still allows precise, fast reactions. - **Racing Flash games:** RL worked after standard techniques such as reward normalization. - **Browser tasks:** Some tasks with hard exploration problems were solved through behavioral cloning from human demonstrations. - **slither.io:** Agents controlled 32 environments at 5 frames per second. Average reaction time was about 150ms over the public internet, compared with roughly 250ms for humans. ## Running Universe - Install Docker and the `universe` library, then start a runtime such as `universe.flashgames`, which exposes VNC on port 5900 and WebSocket on port 15900. - The Gym interface is used the same way as in other Gym environments, with `env.reset()`, `env.step()`, and `env.render()`. - For large-scale use, an allocator service provisions runtimes on a Kubernetes cluster on demand. ## Future Plans and Community Involvement - A transfer learning benchmark was planned, to measure whether agents actually improve at general problem solving. - The authors compared the project to ImageNet, whose error rate fell from 28% in 2010 to 3% in 2016. They hope Universe can follow a similar path of rapid progress. - Planned contributions include granting permission for games and apps, training agents on Universe tasks, integrating new environments with forthcoming tools, and contributing human demonstrations. - Partners include EA, Valve, Microsoft, NVIDIA, and many independent game studios. Microsoft's Project Malmo team was also planning an integration. ## Practical Takeaway Universe makes it possible to train and evaluate one agent across a broad set of real computer programs using only pixels and input events. Researchers who want to test general problem-solving ability, rather than narrow game performance, can start with the Docker runtimes and the Gym interface.

Figma2016-11-162 min readCurated summary

Delete and Heal for Vector Networks | Figma Blog

Figma’s “delete and heal” feature removes a vertex while preserving the surrounding shape as much as possible. What begins as a simple graph-editing operation becomes complex for curved segments and vector networks, where vertices may connect to many edges. Figma addresses this by fitting replacement Bézier curves and pairing edges according to their geometry. ## Basic Deletion and Healing - Standard deletion removes the selected vertex, its incident edges, and any fills that depend on those edges. - “Delete and heal” instead attempts to connect the neighboring vertices. - If a vertex touches only one edge, that edge is removed because no meaningful healing is possible. - Triangles and other small paths require special-case decisions about whether healing produces one edge or multiple edges. - The behavior differs between open and closed paths. ## Preserving Curvature - Curved segments are represented as cubic Bézier curves. - Deleting a vertex joins two cubic curves into one replacement curve. - Figma keeps the original endpoints fixed but adjusts the neighboring control handles to preserve the original curvature. - The algorithm: - Samples points along both original Bézier curves. - Treats the shared vertex as a single point. - Fits a new cubic Bézier curve through the resulting samples. - Figma uses a curve-fitting technique from Philip J. Schneider’s “An Algorithm for Automatically Fitting Digitized Curves,” published in *Graphics Gems*. ## Healing Vector Networks - Unlike traditional path-based editors, Figma models vector objects as undirected multigraphs with edge identity. - A vertex can therefore have more than two incident edges. - If the vertex has an odd number of connected edges, Figma removes all incident edges because no complete pairing is possible. - With an even number of edges, the edges are paired and replaced with new edges. - To determine which edges are “opposite,” the incident edges are sorted by their angles around the deleted vertex. - This graph-based approach allows delete-and-heal to work on branching vector networks, not just simple paths. Figma’s implementation combines graph topology, geometric pairing, Bézier sampling, and curve fitting to make deletion feel intuitive while retaining as much of the original design as possible.