Latest Tech News

Stay updated with the latest in technology, AI, cybersecurity, and more

Filtered by: np Clear Filter

A lightweight TypeScript library for assertion-based runtime data validation

Lightweight, zero-dependency library for validating arbitrary runtime data in TypeScript. decode-kit provides assertion-based validation that refines your types in-place — no cloning, no transformations, and minimal runtime overhead. Installation npm install decode-kit Quick Start decode-kit validates your data and narrows its type in-place. Your original values remain unchanged - only their TypeScript types are refined. The validate function runs a runtime check and, on success, asserts the

Gutenprint Discontinues macOS Support

As of July 7, 2024 the Gutenprint project has formally deprecated MacOS support. This means that no further MacOS-compatible binaries will be produced. Gutenprint has not had an active MacOS maintainer for over three years, and the remaining developers lack the technical ability to produce MacOS binaries, much less undertake the substantial amount of work necessary to produce, test, and support binaries on newer (post-Mojave/10.14) MacOS releases. For older versions (<= 10.14) of MacOS, there

AGENTS.md – Open format for guiding coding agents

# Sample AGENTS.md file ## Dev environment tips - Use `pnpm dlx turbo run where <project_name>` to jump to a package instead of scanning with `ls` . - Run `pnpm install --filter <project_name>` to add the package to your workspace so Vite, ESLint, and TypeScript can see it. - Use `pnpm create vite@latest <project_name> -- --template react-ts` to spin up a new React + Vite package with TypeScript checks ready. - Check the name field inside each package's package.json to confirm the right nam

How to Use Snprintf

The sprintf family of functions ( sprintf , snprintf , vsnprintf , …) have this little-known feature to what size your buffer should be. In cases where you don’t have a fixed upper bound, this is really useful. For example: int size = snprintf ( /*str=*/ NULL , /*size=*/ 0 , "%d: %s" , some_int , some_c_str ); if ( size < 0 ) abort (); int size_with_nul = size + 1 ; char * buf = malloc ( size_with_nul ); if ( buf == NULL ) abort (); int result = snprintf ( /*str=*/ buf , /*size=*/ size_with_nu

Court blocks FTC investigation into Media Matters' alleged scheme against X

The court has blocked the Federal Trade Commission's investigation into Media Matters, the media nonprofit that previously published research showing that ads appeared on X alongside neo-Nazi and other antisemitic content. In 2023, Elon Musk's X filed a lawsuit against the media watchdog following an advertiser exodus. It accused Media Matters of "knowingly and maliciously manufactur[ing] side-by-side images depicting advertisers' posts on X Corp.'s social media platform beside Neo-Nazi and whit

Solving the Nostr web clients attack vector

Aug 9 2025 Solving the Nostr web clients attack vector One problem Nostr still has to deal with is the fact that web clients are "owned" by someone, because they rely so much on the domain name they're served from. Everything is fine with, say, https://coracle.social/, until npub1jlrs53pkdfjnts29kveljul2sm0actt6n8dxrrzqcersttvcuv3qdjynqn decides to shut it down or maybe he is threatened to include some malicious code in there, most Coracle users are going to fall for that and Nostr will feel

Gear News of the Week: A New Privacy Phone Arrives, and Samsung Has a $30K 115-Inch Micro RGB TV

There's a new smartphone promising to protect your privacy: the Up Phone, from a company called Unplugged. Except it's not new. Unplugged has been around for a few years—the company was cofounded by Erik Prince, the founder of private military company Blackwater—and it originally announced the Up Phone in 2023. But this week, the company claims it's “relaunching” the phone, under new leadership. Like the original, the Up Phone's UnpluggedOS (formerly LibertOS) is built on the Android Open Sourc

How We’ll Know for Sure If Microplastics Are Destroying Our Health

Researchers have found plastic in almost every corner of the human body, from our brains and poop to blood and testicles (at least it’s not making our stomachs crunch yet). Is this plastic contamination bad for us? While the answer to that question might seem like a no-brainer—and certainly no one is crazy enough to theorize that microplastics in breast milk are a good thing—there haven’t been any human trials to confirm that microplastics are detrimental to human health. Some research has simp

How to Find Out If Microplastics Are Actually Destroying Our Health

Researchers have found plastic in almost every corner of the human body, from our brains and poop to blood and testicles (at least it’s not making our stomachs crunch yet). Is this plastic contamination bad for us? While the answer to that question might seem like a no-brainer—and certainly no one is crazy enough to theorize that microplastics in breast milk are a good thing—there haven’t been any human trials to confirm that microplastics are detrimental to human health. Some research has simp

Angle brackets in a Nix flake world

At DEFCON33, the Nix community had its first-ever presence via nix.vegas and I ended up in fun conversation with tomberek 🙌. “What fun things can we do with < and > with the eventual deprecation of NIX_PATH ? The actual 💡 was from tomberek and this is a demonstration of what that might look like without necessitating any changes to CppNix itself. As a very worthwhile aside, the first time presence of the Nix community at DEFCON was fantastic and I am extra appreciative to numinit and RossComp

Microplastics are everywhere — including in the air around plastic treaty negotiations

is a senior science reporter covering energy and the environment with more than a decade of experience. She is also the host of Hell or High Water: When Disaster Hits Home , a podcast from Vox Media and Audible Originals. Posts from this author will be added to your daily email digest and your homepage feed. Thousands of delegates have descended upon Geneva this week for what’s supposed to be the culmination of years of negotiations that, if successful, are supposed to end in a groundbreaking

Blackwater’s founder would like to sell you a privacy phone made in the USA

Unplugged, a company cofounded and backed by Erik Prince, who is also the founder of infamous private military contractor Blackwater, has just released a new version of its “privacy-first” UP Phone that will be made in the US — at some point. The original UP Phone was described by the company as “the ultimate privacy-focused smartphone” and by privacy platform GrapheneOS as “a clear cut scam.” (It was first announced in June 2022, though it didn’t reach customers until 2024; Unplugged wouldn’t

Manpower discloses data breach affecting nearly 145,000 people

Manpower, one of the world's largest staffing companies, is notifying nearly 145,000 individuals that their information was stolen by attackers who breached the company's systems in December 2024. Together with Experis and Talent Solutions, the company is part of ManpowerGroup, a multinational corporation with over 600,000 workers in more than 2,700 offices and serving over 100,000 clients worldwide. Last year, ManpowerGroup reported revenues of $17.9 billion and a total gross profit of $3.1 bi

Show HN: Stasher – Burn-after-read secrets from the CLI, no server, no trust

Stasher CLI Share secrets from your terminal. One-time only. No accounts. No backend. No BS. I just wanted to share a password. Not spin up a server. Not sign up for a "secure" web app. Not trust a Slack thread. Just. Send. A. Secret. So I built Stasher — a burn-after-read, command-line tool for secure, ephemeral secret sharing. Built for people who are busy, paranoid, or both. "How Can I Trust You?" That's what someone asked me — and they were right to. Even if I say: "It's encrypted"

Show HN: I've been building an ERP for manufacturing for the last 3 years

The open-source operating system for manufacturing Discord · Website · Issues Does the world need another ERP? We built Carbon after years of building end-to-end manufacturing systems with off-the-shelf solutions. We realized that: Modern, API-first tooling didn't exist Vendor lock-in bordered on extortion There is no "perfect ERP" because each company is unique We built Carbon to solve these problems ☝️. Architecture Carbon is designed to make it easy for you to extend the platform b

If you use a password manager app, you probably aren’t using it right

Andy Walker / Android Authority Password managers have their purpose set in their names: to manage passwords. Right? Wrong — they’re meant to do so much more. I used to be in the same boat as many of you probably are, using password managers exclusively for generating and storing strong passwords. Then one day, my life took a wonderful turn: I started using my password manager for more than just passwords. It may sound silly at first, but it’s made my life so much better and more convenient.

A Bytecode VM for Arithmetic: The Parser

In this series of posts, we write a bytecode compiler and a virtual machine for arithmetic in Haskell. We explore the following topics: In this series of posts, we write a bytecode compiler and a virtual machine for arithmetic in Haskell. We explore the following topics: Parsing arithmetic expressions to Abstract Syntax Trees (ASTs). Compiling AST s to bytecode. s to bytecode. Interpreting AST s. s. Efficiently executing bytecode in a virtual machine (VM). Disassembling bytecode and decomp

Topics: bsc expr fails input let

RIP Corporation for Public Broadcasting: 1967–2026

Despite the protests of millions of Americans, the Corporation for Public Broadcasting (CPB) announced it will be winding down its operations after the White House deemed NPR and PBS a "grift" and pushed for a Senate vote that eliminated its entire budget. The vote rescinded $1.1 billion that Congress had allocated to CPB to fund public broadcasting for fiscal years 2026 and 2027. In a press release, CPB explained that the cuts "excluded funding for CPB for the first time in more than five deca

AMD signals push for discrete NPUs to rival GPUs in AI-powered PCs

Serving tech enthusiasts for over 25 years.TechSpot means tech analysis and advice you can trust Forward-looking: As AI workloads reshape computing, AMD is exploring a dedicated neural processing unit to complement or replace GPUs in AI PCs. This move reflects growing industry momentum toward specialized accelerators that promise faster performance and greater energy efficiency – key factors as PC makers race to deliver smarter, leaner machines. AMD is exploring whether PCs could benefit from

Topics: ai amd discrete gpus npu

A major AI training data set contains millions of examples of personal data

Indeed, the curators of DataComp CommonPool were themselves aware it was likely that PII would appear in the data set and did take some measures to preserve privacy, including automatically detecting and blurring faces. But in their limited data set, Hong’s team found and validated over 800 faces that the algorithm had missed, and they estimated that overall, the algorithm had missed 102 million faces in the entire data set. On the other hand, they did not apply filters that could have recognize

Resizable structs in Zig

In this post I will make the case for the concept of a “runtime resizable struct” in Zig. I will then design an API by exploiting Zig’s powerful comptime functionality. If you want to skip straight to the implementation, a minimal proof of concept is available as a package on GitHub. Zig has support for many kinds of collection types in its standard library. All of them can broadly be broken down to two primitive backing types for contiguous data storage: [N]T – arrays, when you always know t

Resizable Structs in Zig

In this post I will make the case for the concept of a “runtime resizable struct” in Zig. I will then design an API by exploiting Zig’s powerful comptime functionality. If you want to skip straight to the implementation, a minimal proof of concept is available as a package on GitHub. Zig has support for many kinds of collection types in its standard library. All of them can broadly be broken down to two primitive backing types for contiguous data storage: [N]T – arrays, when you always know t

Supply-chain attacks on open source software are getting out of hand

It has been a busy week for supply-chain attacks targeting open source software available in public repositories, with successful breaches of multiple developer accounts that resulted in malicious packages being pushed to unsuspecting users. The latest target, according to security firm Socket, is JavaScript code available on repository npm. A total of 10 packages available from the npm page belonging to global talent agency Toptal contained malware and were downloaded by roughly 5,000 users be

Open source repositories are seeing a rash of supply-chain attacks

It has been a busy week for supply-chain attacks targeting open source software available in public repositories, with successful breaches of multiple developer accounts that resulted in malicious packages being pushed to unsuspecting users. The latest target, according to security firm Socket, is JavaScript code available on repository npm. A total of 10 packages available from the npm page belonging to global talent agency Toptal contained malware and were downloaded by roughly 5,000 users be

NPM package ‘is’ with 2.8M weekly downloads infected devs with malware

The popular NPM package 'is' has been compromised in a supply chain attack that injected backdoor malware, giving attackers full access to compromised devices. This occurred after maintainer accounts were hijacked via phishing, followed by unauthorized owner changes that went unnoticed for several hours, potentially compromising many developers who downloaded the new releases. The 'is' package is a lightweight JavaScript utility library that provides a wide variety of type checking and value v

npm 'accidentally' removes Stylus package, breaks builds and pipelines

npm has taken down all versions of the real Stylus library and replaced them with a "security holding" page, breaking pipelines and builds worldwide that rely on the package. A security placeholder webpage is typically displayed when malicious packages and libraries are removed by the admins of npmjs.com, the world's largest software registry primarily used for JavaScript and Node.js development. But that isn't quite the case for Stylus: a legitimate "revolutionary" library receiving 3 million

Popular npm linter packages hijacked via phishing to drop malware

Popular JavaScript libraries were hijacked this week and turned into malware droppers, in a supply chain attack achieved via targeted phishing and credential theft. The npm package eslint-config-prettier, downloaded over 30 million times weekly, was compromised after its maintainer fell victim to a phishing attack. Other packages, namely eslint-plugin-prettier, synckit, @pkgr/core, and napi-postinstall from the same maintainer, were also targeted. The attacker(s) used stolen credentials to pub

A major AI training data set contains millions of examples of personal data

Indeed, the curators of DataComp CommonPool were themselves aware it was likely that PII would appear in the data set and did take some measures to preserve privacy, including automatically detecting and blurring faces. But in their limited data set, Hong’s team found and validated over 800 faces that the algorithm had missed, and they estimated that overall, the algorithm had missed 102 million faces in the entire data set. On the other hand, they did not apply filters that could have recognize

Senate votes to kill entire public broadcasting budget in blow to NPR and PBS

The US Senate voted to rescind two years' worth of funding from the Corporation for Public Broadcasting (CPB), delivering a blow to public radio and television stations around the country. The CPB is a publicly funded nonprofit corporation that supports NPR and PBS stations. The 51-48 vote today on President Trump's rescissions package would eliminate $1.1 billion that was allocated to public broadcasting for fiscal years 2026 and 2027. All 51 yes votes came from Republicans, while Sens. Susan

Best AV Receiver for 2025

AV receivers are notoriously complex, with reams of features and confusing technical specifications. (For example, what's 4K/120Hz anyway?) Yet, what are the things that really matter when buying a new model? I'm going to sum up the most important ones right here. HDMI inputs With most TVs and set-top boxes supporting HDMI, you should buy a receiver that has as many of these HDMI input ports and outputs as possible. Front-mounted HDMI ports are kind of like a human appendix -- unneeded, becaus