News

Real-time sentiment analysis using an LSTM network in TensorFlow | Deephaven

Real-time sentiment analysis using an LSTM network in TensorFlow | Deephaven

AI is fundamental to modern strategies for deriving value from unstructured language. TensorFlow enables data scientists to create sophisticated, large-scale neural networks and is a staple for text-based applications like sentiment analysis. The value of these models increase if they're usable with real-time data.Deephaven is a natural pairing for AI libraries like TensorFlow. It couples real-time and batch data processing in a single abstraction and provides infrastructure to support your TensorFlow build, train, test, and deploy cycles.I implement a basic sentiment analysis within the Deephaven framework and deploy it on a (simulated) real-time feed of tokenized Twitter data. It analyzes…
Read More
Unveiling URI, URL, and URN

Unveiling URI, URL, and URN

This guide provides an overview of URI, URL, and URN, explaining their differences and use cases. When developing web apps, we often need to call different web services. When configuring the communication and connection of different web services, we frequently encounter the concepts of URI, URL, and URN. Usually, users find it difficult to distinguish between them, leading to mixed or incorrect usage. In this article, we will provide examples and explain the differences between them to help everyone better understand these concepts and correctly interpret and use them when reading technical blogs, documentation, or communicating with other engineers. What…
Read More
Apple hit with lawsuit for allegedly underpaying female employees

Apple hit with lawsuit for allegedly underpaying female employees

A class action lawsuit filed by two women against Apple seeks damages for 12,000 current and former female employees for allegedly underpaying them. The complaint says the tech giant “systematically” paid them a lower wage than their male employees over a four-year period.The lawsuit filed in a California state court in San Francisco County on Thursday claims Apple’s systematic behavior of sexual discrimination stems from a policy that set employees’ salaries based on their previous employment, according to the Wall Street Journal.Prior to fall of 2017, the complaint states that Apple used job applicants’ provided prior pay rates to set…
Read More
Gremlins in Python default arguments | Deephaven

Gremlins in Python default arguments | Deephaven

When developing software, you should develop APIs and user interfaces that follow the Principle of Least Astonishment (POLA). Basically, you want to develop software that behaves in a way that most users expect. A surprised user is either unhappy or creating buggy software.During some recent Python development, I spent an hour chasing down a bug. When I found the problem, I was surprised.What do you think this code prints?def f(a=[]): a.append(3) return len(a)print(f())print(f())print(f())If you are like me, you expect to see:In reality, you see:How can this be? Calling f() is equivalent to calling f(a=[]).A slight change to the code illustrates…
Read More
FastAPI for Data Applications: From Concept to Creation. Part I

FastAPI for Data Applications: From Concept to Creation. Part I

In this blog post, we'll explore how to create an API using FastAPI, a modern Python framework designed for building APIs with high performance. We will create a simple API that allows users to add, update, and query items stored temporarily in memory. Alongside this, we'll discuss how you can extend this example to expose machine learning models, perform online processing in decision engines, and ensure best practices for a robust, secure API. Pre-requisites: Installation of FastAPI and Uvicorn Before diving into the code, we need to install FastAPI and Uvicorn, an ASGI server to run our application. Run the…
Read More
Tesla shareholders have approved Elon Musk’s ‘unfathomable’ pay package

Tesla shareholders have approved Elon Musk’s ‘unfathomable’ pay package

Tesla shareholders have again approved Elon Musk’s multi-billion dollar pay package several months after a Delaware court it. During the electric car maker’s annual shareholder meeting, the company's stockholders signed off on a proposal to reinstate Musk’s pay package, currently worth about $48 billion, according to .Judge Kathaleen McCormick of Delaware’s Chancery Court previously called the Tesla CEO’s pay, worth $56 billion when it was first approved in 2018, an "unfathomable sum.” Musk responded by threatening to move the company’s state of incorporation to Texas. During Tesla’s meeting, shareholders officially signed off on the move.The approval of Musk’s compensation doesn’t…
Read More
WORDLE, Python, and crowd-sourcing in real time | Deephaven

WORDLE, Python, and crowd-sourcing in real time | Deephaven

Wordle is a clever game, but that’s not why I like it. Instead, I’m fascinated that a game I play in total isolation can feel so social.My teens play. Their friends play. Sometimes they even want to talk to me – the lame dad – about it. This is unusual, something to cherish.Such banter usually includes jabs like “5 tries, dad?... Do better.” Or phrases of solidarity, like “Really, Wordle... ‘Humph’... really?“ However, on two occasions, with a handful of grazing high schoolers in my kitchen, they’ve let me move the conversation toward math and computer science.The first time was…
Read More
Overwatch 2 resurrects Pink Mercy cosmetic for a charity fundraiser

Overwatch 2 resurrects Pink Mercy cosmetic for a charity fundraiser

Finally, something the whole Overwatch community can get behind! For a limited time in 2018, Blizzard sold the Pink Mercy skin as a fundraiser in support of the Breast Cancer Research Foundation. That was back in the day when Overwatch cosmetics only came in loot boxes, so the chance to directly purchase a skin while supporting a worthy cause was a big deal for the player base. Sales of the legendary look during that drive generated $12.7 million for the BCRF. And later this month, you can be pretty in pink once again.The original Pink Mercy skin will be available…
Read More
RSS meta-data discovery and Podcast exploration | Deephaven

RSS meta-data discovery and Podcast exploration | Deephaven

RSS feeds bring together a large amount of frequently updating data from multiple sources. People often use them to scan headlines and article snippets to figure out what's actually worth their time. Podcasts typically publish their metadata, like episode titles, in RSS streams. With over 850,000 podcasts active in 2021, this provides us with a massive source of real-time data - the kind that Deephaven excels at handling.Clearly sifting through that metadata manually would be a Sisyphean chore. In this blog post, we demonstrate how to build a system that aggregates podcast show titles into a single source. Placing the…
Read More
No widgets found. Go to Widget page and add the widget in Offcanvas Sidebar Widget Area.