0 Commenti
0 condivisioni
15 Views
Elenco
Elenco
-
Effettua l'accesso per mettere mi piace, condividere e commentare!
-
GAMEDEV.NETSimple Arena Robots PVPWelcome to Simple Arena Robots, this an Android/PC Multiplayer game currently in it's Beta Stage, we're a small team of 2-3 developers but the game is out in it's Beta stage after two years of developm0 Commenti 0 condivisioni 12 Views
-
GAMEDEV.NETStarting a new c++ threadI hope creating several discussions in a short time period is not regarded as an abuse. I have another question, codeproject.com forums are down and I have nowhere to go for help.I'm looking to find out how you can start a new thread in c++ and check back later to see if the thread is done working and pick up the result. The internet example I found looks a lot like running a function in the same thread rather then a new thread(I modified the example to fit what I need)0 Commenti 0 condivisioni 13 Views
-
BLOGS.NVIDIA.COMHow RTX AI PCs Unlock AI Agents That Solve Complex Problems Autonomously With Generative AIEditors note: This post is part of the AI Decoded series, which demystifies AI by making the technology more accessible, and showcases new hardware, software, tools and accelerations for GeForce RTX PC and NVIDIA RTX workstation users.Generative AI has transformed the way people bring ideas to life. Agentic AI takes this one step further using sophisticated, autonomous reasoning and iterative planning to help solve complex, multi-step problems.AnythingLLM is a customizable open-source desktop application that lets users seamlessly integrate large language model (LLM) capabilities into various applications locally on their PCs. It enables users to harness AI for tasks such as content generation, summarization and more, tailoring tools to meet specific needs.Accelerated on NVIDIA RTX AI PCs, AnythingLLM has launched a new Community Hub where users can share prompts, slash commands and AI agent skills while experimenting with building and running AI agents locally.Autonomously Solve Complex, Multi-Step Problems With Agentic AIAI agents can take chatbot capabilities further. They typically understand the context of the tasks and can analyze challenges and develop strategies and some can even fully execute assigned tasks.For example, while a chatbot could answer a prompt asking for a restaurant recommendation, an AI agent could even surface the restaurants phone number for a reservation and add reminders to the users calendar.Agents help achieve big-picture goals and dont get bogged down at the task level. There are many agentic apps in development to tackle to-do lists, manage schedules, help organize tasks, automate email replies, recommend personalized workout plans or plan trips.Once prompted, an AI agent can gather and process data from various sources, including databases. It can use an LLM for reasoning for example, to understand the task then generate solutions and specific functions. If integrated with external tools and software, an AI agent can next execute the task.Some sophisticated agents can even be improved through a feedback loop. When the data it generates is fed back into the system, the AI agent becomes smarter and faster.A step-by-step look at the process behind agentic AI systems. AI agents process user input, retrieve information from databases and other sources, and refine tasks in real time to deliver actionable results.Accelerated by NVIDIA RTX AI PCs, these agents can perform inferencing and execute tasks faster than any other PC. Users can operate the agent locally to help ensure data privacy, even without an internet connection.AnythingLLM: A Community Effort, Accelerated by RTXThe AI community is already diving into the possibilities of agentic AI, experimenting with ways to create smarter, more capable systems.Applications like AnythingLLM let developers easily build, customize and unlock agentic AI with their favorite models like Llama and Mistral as well as with other tools, such as Ollama and LMStudio. AnythingLLM is accelerated on RTX-powered AI PCs and workstations with high-performance Tensor Cores, dedicated hardware that provides the compute performance needed to run the latest and most demanding AI models.AnythingLLM is designed to make working with AI seamless, productive and accessible to everyone. It allows users to chat with their documents using intuitive interfaces, use AI agents to handle complex and custom tasks, and run cutting-edge LLMs locally on RTX-powered PCs and workstations. This means unlocked access to local resources, tools and applications that typically cant be integrated with cloud- or browser-based applications, or those that require extensive setup and knowledge to build. By tapping into the power of NVIDIA RTX GPUs, AnythingLLM delivers faster, smarter and more responsive AI for a variety of workflows all within a single desktop application.AnythingLLMs Community Hub lets AI enthusiasts easily access system prompts that can help steer LLM behavior, discover productivity-boosting slash commands, build specialized AI agent skills for unique workflows and custom tools, and access on-device resources.Example of a user invoking the agent to complete a Web Search query.Some example agent skills that are available in the Community Hub include Microsoft Outlook email assistants, calendar agents, web searches and home assistant controllers, as well as agents for populating and even integrating custom application programming interface endpoints and services for a specific use case.By enabling AI enthusiasts to download, customize and use agentic AI workflows on their own systems with full privacy, AnythingLLM is fueling innovation and making it easier to experiment with the latest technologies whether building a spreadsheet assistant or tackling more advanced workflows.Experience AnythingLLM now.Powered by People, Driven by InnovationAnythingLLM showcases how AI can go beyond answering questions to actively enhancing productivity and creativity. Such applications illustrate AIs move toward becoming an essential collaborator across workflows.Agentic AIs potential applications are vast and require creativity, expertise and computing capabilities. NVIDIA RTX AI PCs deliver peak performance for running agents locally, whether accomplishing simple tasks like generating and distributing content, or managing more complex use cases such as orchestrating enterprise software.Learn more and get started with agentic AI.Generative AI is transforming gaming, videoconferencing and interactive experiences of all kinds. Make sense of whats new and whats next by subscribing to the AI Decoded newsletter.0 Commenti 0 condivisioni 14 Views
-
BLOG.PLAYSTATION.COMPlayStation Plus Monthly Games for December: It Takes Two, Aliens: Dark Descent, TemtemLearn to work together in a hilarious co-op adventure, think tactically to survive and outsmart the perfect organism, then discover and tame new species with the PlayStation Plus Monthly Games for December. It Takes Two, Aliens: Dark Descent and Temtem launch December 3 for PlayStation Plus members1.But before we take a closer look at each game in turn, we want to share some PlayStation Plus activities taking place this December as part of the wider PlayStation 30th anniversary celebrations (which you may have had a glimpse of earlier this year). Activities include Tournaments, free Online Multiplayer Weekend, PlayStation Plus Premium Game Trial, an early look at Classic Games and more. You can find out more information further into this post.Now, back to the games!View and download imageDownload the imagecloseCloseDownload this imageIt Takes Two | PS4, PS5It Takes Two is a genre-bending platform adventure created purely for co-op. Choose from couch or online co-op with split-screen play, invite a friend to join for free with Friends Pass2 and work together across a huge variety of gleefully disruptive gameplay challenges. Play as the clashing couple Cody and May, two humans turned into dolls by a magic spell. Together, trapped in a fantastical world where the unpredictable hides around every corner, they are reluctantly challenged with saving their fractured relationship. Master unique and connected character abilities in every new level. Help each other across an abundance of unexpected obstacles and laugh-out-loud moments. Kick gangster squirrels furry tails, pilot a pair of underpants, DJ a buzzing night club, and bobsleigh through a magical snow globe. Embrace a heartfelt and hilarious story, where narrative and gameplay are interwoven in a uniquely metaphorical experience.View and download imageDownload the imagecloseCloseDownload this imageAliens: Dark Descent | PS4, PS5Battle to keep your squad alive against the deadliest foe mankind has ever faced. Aliens: Dark Descent is a real-time combat strategy game where youll command a squad of hardened colonial marines to stop a terrifying Xenomorph outbreak on Moon Lethe. Lead your soldiers against iconic Xenomorphs, rogue operatives from the insatiable Weyland-Yutani Corporation and a host of horrifying creatures new to the Alien franchise. Infiltrate large open levels and annihilate enemies with your squad, dispatching orders strategically and intuitively. Tread carefully, as your foes will adapt their tactics to your actions while hunting you down because death is permanent.View and download imageDownload the imagecloseCloseDownload this imageTemtem | PS5Every kid dreams about becoming a Temtem tamer; exploring the six islands of the Airborne Archipelago, discovering new species, and making good friends along the way. Now its your turn to embark on an epic adventure and make those dreams come true. Catch new Temtem on Omninesias floating islands, battle other tamers on the sandy beaches of Deniz or trade with your friends in Tucmas ash-covered fields. Defeat the ever-annoying Clan Belsoto and end its plot to rule over the Archipelago, beat all eight DojoLeaders, and become the ultimate Temtem tamer.All three games will be available to PlayStation Plus members on December 3 until January 6.1Availability of Classics, Game Trials and Game Catalog varies over time, region/country, and plan. See https://www.playstation.com/Plus for details and updates on PS Plus offerings. PlayStation Plus is an ongoing subscription subject to a recurring subscription fee taken automatically (at the then-current PS Store price) at the frequency you choose at purchase until cancellation. Terms apply: play.st/psplus-usageterms.2Find out more about Friends Pass here.View and download imageDownload the imagecloseCloseDownload this imageLast chance to download Novembers gamesPlayStation Plus members have until December 2 to add Hot Wheels Unleashed 2 Turbocharged, Ghostwire: Tokyo and Death Note Killer Within to their game libraries.PlayStation 30th Anniversary celebrationsView and download imageDownload the imagecloseCloseDownload this imagePlayStation Plus Premium Game TrialPlayStation Plus Premium members can enjoy a game trial of thrilling sci-fi action-adventure Warhammer 40K Space Marine 2 when it joins the service on December 3. But thats not the only PlayStation Plus Premium news we have to share1View and download imageDownload the imagecloseCloseDownload this imagePlayStation Plus Premium Classics for DecemberToday were happy to share the first reveal of a trio of PlayStation classic titles joining PlayStation Plus Premiums lineup in December, all of which help celebrate PlayStations 30th anniversary. Starting December 10, members will be able to complete the PS2 Sly trilogy with the release of Sly 2: Band of Thieves and Sly 3: Honor Among Thieves and also enjoy Naughty Dogs PS2 adventure Jak and Daxter: The Precursor Legacy. Well have more news on the full PlayStation Plus Game Catalog and Premium lineups1, later.View and download imageDownload the imagecloseCloseDownload this imageFree online multiplayer weekend | December 6-8To keep celebrating the fantastic online games and communities on PlayStation, were hosting an extended free online multiplayer weekend on Dec 6 8. During those days, you can enjoy online multiplayer for games you own without having a PlayStation Plus membership, on PS5 and PS4 consoles3.3Available for PS5 and PS4 games with online mode. Internet connection and account for PlayStation Network required.View and download imageDownload the imagecloseCloseDownload this imageesports Tournament | December 6-8During the same weekend, well host a series of PS5 esports tournaments, featuring titles like EA Sports FC 25, NBA 2K25, Tekken 8, Mortal Kombat 1, Madden NFL 25, College Football 25, UFC 5, MLB The Show 24 and Guilty Gear Strive. If you own any of these games and qualify, you can compete on December 6-8 to win avatars and other game-specific prizes. Players on PS5 can sign up via the Game Hub or the in-game PlayStation Tournaments button. Keep an eye on compete.playstation.com for all the upcoming tournament details.View and download imageDownload the imagecloseCloseDownload this imageSweepstakes | December 10 23To celebrate PlayStations 30th anniversary, were giving away a 30-month PlayStation Plus Premium membership to 30 winners in each participating country!Well be honoring the legendary games in our Classics Catalogue for this 30th anniversary-themed sweepstakes starting December 10 to 23. To enter, purchase any PlayStation Plus Premium/Deluxe membership and play any game from the Classics Catalog. If youre already a PlayStation Plus Premium/Deluxe member, just dive into any game from the Classics Catalog to qualify.The participating countries are Austria, Cyprus, Czech Republic, Denmark, France, Germany, Greece, Hungary, Ireland, Luxembourg, Netherlands, Norway, Portugal, Slovakia, Slovenia, South Africa, Spain, Sweden, Switzerland, United Arab Emirates, United Kingdom,United States, Taiwan, Singapore, Korea, Malaysia.Restrictions apply, see Official Rules here.View and download imageDownload the imagecloseCloseDownload this imageSony Pictures Core Offer | December 3-9To celebrate 30 years of PlayStation, PlayStation Plus members get 30% off 100 top movies on Sony Pictures Core starting December 3 through December 94. Explore a collection of fan-favorite films like Spider-Man: Into the Spider-Verse, Uncharted, Gran Turismo: Based on a True Story and Ghostbusters: Frozen Empire5.View and download imageDownload the imagecloseCloseDownload this imageSony Pictures Core Movie Credit Promo | December 10 January 106Purchase any 12-month PlayStation Plus membership and get movie credit(s) to use on the Sony Pictures Core app. Dive into epic blockbusters like Spider-Man: Across the Spider-Verse, Venom, Venom: Let There Be Carnage, and more7your next movie marathon starts here8!4Regions: US, UK, Canada, Australia, New Zealand, Spain, Portugal, Mexico, Poland, Belgium, Luxembourg, Netherlands, Germany, Austria, Switzerland, Ireland, Denmark, Finland, Norway, Sweden, Italy, Japan, France.5Access requires a PlayStation 5 or PlayStation 4 console, and a SONY PICTURES CORE account subject to SONY PICTURES CORE Terms of Service. Availability of movie/TV content varies over time, region, format, and plan. Must be age 18+. Movie credit, if available, may be applied instead of discount6Offer valid between December 10, 2024 to January 10, 2025. Offer available only where no other discount applies. Cannot combine or stack offers. Number of movie credits varies based on plan and membership status. Offer only available when purchased on PS5, Web browser and Mobile (PS App). PS Plus is subject to a recurring subscription fee taken automatically until cancellation. Terms apply: play.st/psplus-usageterms. Separate download of the Sony Pictures Core App is required to redeem Movie Credits. Must be 18+ to register for a Sony Pictures Core account. Movie Credits must be claimed and redeemed in App by January 10, 2026. Sony Pictures Core terms apply: https://www.sonypicturescore.com/termsofservice7Titles and availability vary by market.8Regions: US, UK, Canada, Australia, New Zealand, Spain, Portugal, Mexico, Poland, Belgium, Luxembourg, Netherlands, Germany, Austria, Switzerland, Ireland, Denmark, Finland, Norway, Sweden, Italy, France.0 Commenti 0 condivisioni 12 Views
-
BLOG.PLAYSTATION.COMWarhammer 40,000: Darktide brings grimdark co-op to PlayStation with PS5 Pro enhancements on Dec 3Hi everyone! My name is Juan Martinez, executive producer at Fatshark and part of the Warhammer 40,000: Darktide team. Id like to welcome all PlayStation players to the four-player co-operative grimdark experience we have created.Today we opened access to Warhammer 40,000: Darktide for PS5 players who pre-ordered the Imperial Edition. We are super excited to announce that the game will be available for all PS5 players on December 3.Darktide originally launched on PC in November 2022 and since then we have been working nonstop to expand the game, including nine major additions and 25+ updates worth of content and improvements. The release on PS5 coincides with the release of our 10th major free update: Grim Protocols. And we have even more in store for you in the years ahead!Fast paced-combat, Fatshark styleWe have dreamt of making a game set in the Warhammer 40,000 universe for years, and with Darktide, weve turned this dream into reality. Darktide is a four-player co-op action game in which you play as a conscripted convict a Reject serving the Inquisition in reclaiming the city of Tertium, which has fallen to hordes of Chaos. To survive, youll switch between melee and ranged combat, a hybrid system weve worked hard to perfect.Bringing Warhammer 40,000: Darktide to PS5 and PS5 ProWhile developing Darktide for PS5, we focused on delivering the best possible experience to players. We spent a great deal of time and effort in adapting the game to the PS5 hardware. PS5 users have the freedom to choose between Performance mode (running at 60FPS on a 1440p resolution) and Quality mode (running at 30FPS on a 4K resolution). For those of you with a PS5 Pro, we harnessed PSSR technology to get Warhammer 40,000: Darktide running at a steady 60FPS at 4K resolution.We also spent quite a bit of time with the adaptive triggers and haptic feedback features of the DualSense wireless controller. Our team wants the DualSense controller to feel like a natural extension of the Warhammer 40,000: Darktide experience. From the iconic Boltgun firing explosive rounds, to the point accuracy of the energy-based Lasgun or a Force Staff channeling psyker powers, each weapon provides a unique experience whenever you swap gear.Automatic weapons have never felt as good as they do with the DualSense controllers haptic rumble and trigger effects. Feel the triggers shaking with every shot, while the rumble is punching away inside the DualSense controller. When your ammo count is getting lower, the triggers feel more intense, so you always know when you are about to run dry. Feeling the blades of the Chainsword spinning and the haptic feedback of your blade cutting through the flesh of heretics and demons is pure, grisly enjoyment. We cant wait to see your reactions to these features once they launch on December 3.Unlock your potentialTo make you feel at home on Tertium, we included a huge amount of options in the character creator so that you can fine-tune the appearance of your Reject in the game including their class, looks, background history, and voice. We want to empower players to become part of this world, and its conflict, in more personal ways.Each class has its own complex talent tree, allowing you to further customize your play style among three main domains (or sub-classes) and anything in between. We also expanded freedom of choice with our Itemization overhaul, which allows you to gain experience within each of the 40+ weapon families you want to become proficient in.An ever-evolving gameDecember 3 is both the launch of the game on PlayStation and sees the release of our 10th major update: Grim Protocols which brings a slew of new content. Here is a glimpse at what we have in store!We will be introducing a new endgame mode called Havoc where the most seasoned operatives test their mettle. Be ready to face daunting challenges! But first, you have to master Tertium.A new mission will enter our 20+ mission roster, challenging Rejects to explore the Carnival, a notorious area for entertainment, the sort of place you go for a little relaxation and lots of illicit diversions.Three new weapon families will be added, allowing you to tear through waves of enemies with the destructive might of the Two-Handed Force and Power Swords, and the Ogryn Heavy Stubber.Keep an eye out for our official PS5 news to keep up to date with all the content coming in 2025. Warhammer 40,000: Darktide officially launches onto PS5 on December 3. Welcome to Tertium, Rejects, we hope you survive the challenges ahead. For the Emperor!0 Commenti 0 condivisioni 13 Views
-
WWW.POLYGON.COMWatch Thanksgiving this Thanksgiving, if your family has the stomach for itWhat to watch with your family at Thanksgiving can turn into an endless debate, particularly with the seemingly infinite options that streaming services provide. So to save you time this holiday weekend, weve handpicked a thematically appropriate film that should bring the whole family together* no matter what: the Turkey Day-themed slasher Thanksgiving.*bringing the family together can mean getting nauseous via immaculately crafted goreDirected by master of gore Eli Roth, and originally based on his Grindhouse short of the same name, Thanksgiving is a holiday slasher that follows a small New England town thats being terrorized by a murderous Thanksgiving mascot exactly one year after a Black Friday tragedy.The whole thing is exactly as silly and ridiculous as it sounds, but its also a bloody good time. Each of the movies many, many kills gets progressively bigger, gorier, and more absurd, but the real treat with this movie is how carefully it dials in its suspense, finding the perfect line to make every moment tense without ever really being terrifying. Even more importantly, for a silly slasher of this variety, Thanksgiving has a great mix of characters that youre rooting for and characters that feel tailor-made for you to cheer when they meet their fate. As for family appeal, its even got a cast that spans pop culture generations, from Greys Anatomys Patrick Dempsey to TikToks Addison Rae. This delicate balance makes it a secretly perfect watch with a group that enjoys horror movies but may have different levels of tolerance for the actual scares those movies contain as long as everyone is down for some particularly gnarly and graphic kills.Of course, that does bring up the biggest caveat to this recommendation: whether or not the idea of watching a particularly gory horror movie together on Thanksgiving is your familys idea of a good time or not. As for my family, a good silly slasher thats equal parts fun and bloody is always a perfect way to spend some time together. If that sounds like something you can relate to, then this one is perfect for your happy Thanksgiving.Thanksgiving is streaming on Netflix.0 Commenti 0 condivisioni 13 Views
-
WWW.POLYGON.COMMarvel Multiverse writer and Minecraft novelist has a Minecraft TTRPG on the wayMatt Forbeck, New York Times bestselling author and lead designer of the Marvel Multiverse RPG, partnered with his son Marty to release a new tabletop adventure set in the world of Minecraft. Now available for pre-order, Minecraft: Roll for Adventure: The Temple of the Charged Creeper is meant to imbue the mass appeal of the online open world crafting game with an easy-to-learn set of role-playing rules.The publisher, Penguin Random House, doesnt offer any description of the mechanics a common theme in pre-orders for big IP-based tabletop releases. The books cover depicts two six-sided dice, and the publishers listing states that four dice are included with the gamebook. The brief description also says the book includes a removable character sheet and a rules reference to help you track your heroic progress, suitable for solo play or to hand off to a game master. (In this context, referred to as your narrator.)The adventure is set in an isolated village which has recently been invaded by illagers, a type of hostile mob in the Minecraft universe. (Theyre also the main antagonists in Forbecks 2020 novel Minecraft Dungeons: The Rise of the Arch-Illager.) Much as in a traditional Dungeons & Dragons quest, the player is called on to aid a village thats under attack by finding the source of the issue (the Temple of the Charged Creeper) and destroying it.While there have been collaborations between Minecraft and Dungeons & Dragons in the past like the Lightning Keep adventure geared toward young players this standalone adventure is entirely the Forbecks creation. Matt Forbecks previous work, both as a designer of tabletop games and as an author of novels for properties like D&D, Minecraft, Halo, and Life is Strange, alongside his own original titles, gives the lack of description on the games page some weight to throw around. Whether it lands with Minecraft fans and tabletop gamers will be seen when the book hits shelves in July 2025.The hardcover edition of Minecraft: Roll for Adventure: The Temple of the Charged Creeper is available for pre-order on the Penguin Random House site for $20.0 Commenti 0 condivisioni 13 Views
-
SMASHINGMAGAZINE.COMThe Hype Around SignalsThe groundwork for what we call today signals dates as early as the 1970s. Based on this work, they became popular with different fields of computer science, defining them more specifically around the 90s and the early 2000s.In Web Development, they first made a run for it with KnockoutJS, and shortly after, signals took a backseat in (most of) our brains. Some years ago, multiple similar implementations came to be.MobX observable statesVue.js refs and shallow refsSolidJS signals With different names and implementation details, those approaches are similar enough to be wrapped in a category we know today as Fine-Grained Reactivity, even if they have different levels of fine x coarse updates well get more into what this means soon enough.To summarize the history: Even being an older technology, signals started a revolution in how we thought about interactivity and data in our UIs at the time. And since then, every UI library (SolidJS, Marko, Vue.js, Qwik, Angular, Svelte, Wiz, Preact, etc) has adopted some kind of implementation of them (except for React).Typically, a signal is composed of an accessor (getter) and a setter. The setter establishes an update to the value held by the signal and triggers all dependent effects. While an accessor pulls the value from the source and is run by effects every time a change happens upstream.const [signal, setSignal] = createSignal("initial value");setSignal("new value");console.log(signal()); // "new value"In order to understand the reason for that, we need to dig a little deeper into what API Architectures and Fine-Grained Reactivity actually mean.API ArchitecturesThere are two basic ways of defining systems based on how they handle their data. Each of these approaches has its pros and cons. Pull: The consumer pings the source for updates.Push: The source sends the updates as soon as they are available.Pull systems need to handle polling or some other way of maintaining their data up-to-date. They also need to guarantee that all consumers of the data get torn down and recreated once new data arrives to avoid state tearing.State Tearing occurs when different parts of the same UI are at different stages of the state. For example, when your header shows 8 posts available, but the list has 10.Push systems dont need to worry about maintaining their data up-to-date. Nevertheless, the source is unaware of whether the consumer is ready to receive the updates. This can cause backpressure. A data source may send too many updates in a shorter amount of time than the consumer is capable of handling. If the update flux is too intense for the receiver, it can cause loss of data packages (leading to state tearing once again) and, in more serious cases, even crash the client.In pull systems, the accepted tradeoff is that data is unaware of where its being used; this causes the receiving end to create precautions around maintaining all their components up-to-date. Thats how systems like React work with their teardown/re-render mechanism around updates and reconciliation.In push systems, the accepted tradeoff is that the receiving end needs to be able to deal with the update stream in a way that wont cause it to crash while maintaining all consuming nodes in a synchronized state. In web development, RxJS is the most popular example of a push system.The attentive reader may have noticed the tradeoffs on each system are at the opposite ends of the spectrum: while pull systems are good at scheduling the updates efficiently, in push architectures, the data knows where its being used allows for more granular control. Thats what makes a great opportunity for a hybrid model.Push-Pull ArchitecturesIn Push-Pull systems, the state has a list of subscribers, which can then trigger for re-fetching data once there is an update. The way it differs from traditional push is that the update itself isnt sent to the subscribers just a notification that theyre now stale.Once the subscriber is aware its current state has become stale, it will then fetch the new data at a proper time, avoiding any kind of backpressure and behaving similarly to the pull mechanism. The difference is that this only happens when the subscriber is certain there is new data to be fetched.We call these data signals, and the way those subscribers are triggered to update are called effects. Not to confuse with useEffect, which is a similar name for a completely different thing.Fine-Grained ReactivityOnce we establish the two-way interaction between the data source and data consumer, we will have a reactive system.A reactive system only exists when data can notify the consumer it has changed, and the consumer can apply those changes.Now, to make it fine-grained there are two fundamental requirements that need to be met:Efficiency: The system only executes the minimum amount of computations necessary.Glitch-Free: No intermediary states are shown in the process of updating a state.Efficiency In UIsTo really understand how signals can achieve high levels of efficiency, one needs to understand what it means to have an accessor. In broad strokes, they behave as getter functions. Having an accessor means the value does not exist within the boundaries of our component what our templates receive is a getter for that value, and every time their effects run, they will bring an up-to-date new value. This is why signals are functions and not simple variables. For example, in Solid:import { createSignal } from 'solid-js'function ReactiveComponent() { const [signal, setSignal] = createSignal() return ( <h1>Hello, {signal()}</h1> )}The part that is relevant to performance (and efficiency) in the snippet above is that considering signal() is a getter, it does not need to re-run the whole ReactiveComponent() function to update the rendered artifact; only the signal is re-run, guaranteeing no extra computation will run.Glitch-Free UIsNon-reactive systems avoid intermediary states by having a teardown/re-render mechanism. They toss away the artifacts with possibly stale data and recreate everything from scratch. That works well and consistently but at the expense of efficiency.In order to understand how reactive systems handle this problem, we need to talk about the Diamond Challenge. This is a quick problem to describe but a tough one to solve. Take a look at the diagram below:Pay attention to the E node. It depends on D and B, but only D depends on C. If your reactive system is too eager to update, it can receive the update from B while D is still stale. That will cause E to show an intermediary state that should not exist.Its easy and intuitive to have A trigger its children for updates as soon as new data arrives and let it cascade down. But if this happens, E receives the data from B while D is stale. If B is able to trigger an update from E, E will show an intermediate state.Each implementation adopts different update strategies to solve this challenge. They can be grouped into two categories:Lazy SignalsWhere a scheduler defines the order within which the updates will occur. (A, then B and C, then D, and finally E).Eager SignalsWhen signals are aware if their parents are stale, checking, or clean. In this approach, when E receives the update from B, it will trigger a check/update on D, which will climb up until it can ensure to be back in a clean state, allowing E to finally update.Back To Our UIsAfter this dive into what fine-grained reactivity means, its time to take a step back and look at our websites and apps. Lets analyze what it means to our daily work.DX And UXWhen the code we wrote is easier to reason about, we can then focus on the things that really matter: the features we deliver to our users. Naturally, tools that require less work to operate will deliver less maintenance and overhead for the craftsperson.A system that is glitch-free and efficient by default will get out of the developers way when its time to build with it. It will also enforce a higher connection to the platform via a thinner abstraction layer.When it comes to Developer Experience, there is also something to be said about known territory. People are more productive within the mental models and paradigms they are used to. Naturally, solutions that have been around for longer and have solved a larger quantity of challenges are easier to work with, but that is at odds with innovation. It was a cognitive exercise when JSX came around and replaced imperative DOM updates with jQuery. In the same way, a new paradigm to handle rendering will cause a similar discomfort until it becomes common.Going DeeperWe will talk further about this in the next article, where were looking more closely into different implementations of signals (lazy, eager, hybrid), scheduled updates, interacting with the DOM, and debugging your own code!Meanwhile, you can find me in the comments section below, on (Twitter), LinkedIn, BlueSky, or even youtube. Im always happy to chat, and if you tell me what you want to know, Ill make sure to include it in the next article! See ya!0 Commenti 0 condivisioni 13 Views
-
DESIGN-MILK.COMA New Miami Restaurant + Lounge Celebrates Jamaican CultureAt a new restaurant and lounge in Miami, Florida, diners can indulge in different dining experiences in one space, with vibrant touches that reference Jamaican culture. Designed by Andreas De Camps, in collaboration with FictionWorks (founded by De Camps and Olivia King), the project emphasizes a seamless transition from daytime eatery to a lounge setting at night.Guests can access the single-level space via an antique elevator scissor gate sourced from Argentina. They then enter Jrk!, a fast-casual restaurant with a bright and inviting atmosphere. A range of food and beverage options are available during the morning and afternoon. Customers can select the build-your-own-bowl options, fresh pastries, or the perennial favorite, Jamaican breakfast patties, which they get through the patty window.Handcrafted rattan fixtures rest overhead, infusing this area with plenty of light. Brand colors of yellow and green are showcased, complemented by a range of textures. The wall behind the counter is clad in a mustard tone glazed tile, while the verdant hues of foliage and crates on the shelves add a fresh touch.When night falls, visitors head to the other side of the interior. Its here that they find Mangrove, the speakeasy-style bar and lounge. This section is more intimate and filled with an eclectic mix of mid-century modern elements that are reminiscent of the 1960s and 1970s. Aged, patinated materials are prominently featured, evoking a sense of nostalgia and character, De Camps says.The main dining area features a green leather and dark walnut banquette along the wall. Above this seating there is a carefully curated gallery wall with Jamaican-inspired artwork by Nick Mahshie. Bespoke glass chandeliers, Cesca cane chairs, and cement floor tiles in a jade hue adorn the center of the main dining area. More plants are placed in every corner and also overhead, with leaves gently cascading over wooden beams.A zinc-topped bar is the centerpiece, with its old-time charm. Peill and Putzler orange opaline glass pendant lights provide a soft amber glow that illuminates the bar. And the rear wall, instead of a typical backsplash, is covered with dominoes in a deep emerald tint, which produces a playful pattern.Patrons can sit at the classic red vinyl and cast metal stools as they Pass the Dutchie in this case, a delicious Cognac cocktail and listen to music. The DJ spins records from behind a tiled booth, backed with decorative breeze blocks. All of the facets meld to create the relaxed, community-driven eatery that the client envisioned. Rough, unfinished textures and a collection of vintage decor items lends an air of lived-in authenticity to the space, De Camps adds.To see each of the designers other works visit studioad.do and fiction-works.com.Photography by pabloenriquez.com.0 Commenti 0 condivisioni 13 Views