Latest Tech News

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

Filtered by: buf Clear Filter

Stepping Down as Libxml2 Maintainer

Hello, since I’ve stepped in as libxslt maintainer I’ve been studying both libxslt and libxml2 codebases. I have the time to maintain the library I just need to get familiar with the latest changes you introduced like: I haven’t find how to manage both output and input buffers. I found functions like: xmlOutputBufferCreateIO but by the places in which I’ve found them is not clear on how to use them. Should I send you an email with my questions or do you prefer other means of communication?

A string formatting library in 65 lines of C++

In this write-up, I will walk you through an implementation of a string formatting library for C++ I came up with for my video game. The end result came out really compact, at only 65 lines of code—providing a skeleton that can be supplemented with additional functionality at low cost. Usage Given a format buffer… char buffer [ 64 ] ; String_Buffer buf = { str , sizeof str } ; …the fmt::format function provided by this library can be called with a format string parameter, containing the char

Everything from 1991 Radio Shack ad I now do with my phone (2014)

Some people like to spend $3 on a cup of coffee. While that sounds like a gamble I probably wouldn’t take, I’ll always like to gamble– especially as little as… Some people like to spend $3 on a cup of coffee. While that sounds like a gamble I probably wouldn’t take, I’ll always like to gamble– especially as little as three bucks– on what I might be able to dig up on Buffalo and Western New York, our collective past, and what it means for our future. I recently came across a big pile of Buffalo

Everything from 1991 Radio Shack ad I now do with my phone

Some people like to spend $3 on a cup of coffee. While that sounds like a gamble I probably wouldn’t take, I’ll always like to gamble– especially as little as… Some people like to spend $3 on a cup of coffee. While that sounds like a gamble I probably wouldn’t take, I’ll always like to gamble– especially as little as three bucks– on what I might be able to dig up on Buffalo and Western New York, our collective past, and what it means for our future. I recently came across a big pile of Buffalo

Protobuffers Are Wrong (2018)

I’ve spent a good deal of my professional life arguing against using protobuffers. They’re clearly written by amateurs, unbelievably ad-hoc, mired in gotchas, tricky to compile, and solve a problem that nobody but Google really has. If these problems of protobuffers remained quarantined in serialization abstractions, my complaints would end there. But unfortunately, the bad design of protobuffers is so persuasive that these problems manage to leak their way into your code as well. Ad-Hoc and Bu

Colleges see significant drop in international students as fall semester begins

NPR > Education Classes began this week for students at the University at Buffalo, a public research university in western New York, but there were about 750 fewer international students on campus than expected. The new students who did make it gathered for a welcome from the school's dean of students. "We know you have had to overcome hurdles to be here – especially this summer, with visas," Tomás Aguirre told the assembled students, representing more than 100 countries. "And I just wanted yo

Das Problem mit German Strings

German strings are everywhere I look. The impression I’ve gotten from working in the Rust Arrow/Datafusion ecosystem and related file formats for the last couple of months is that StringViews (the implementation of German strings in Arrow) are becoming, if they have not already, the canonical form of representing string columns at execution time. This is generally a good idea. German strings are a fantastic innovation rooted in simplicity that greatly improves most string processing use-cases i

Warren Buffett’s Berkshire Hathaway offloads more AAPL shares

Warren Buffett’s Berkshire Hathaway has again scaled back its stake in Apple. In a regulatory filing this week, Berkshire disclosed that it sold 20 million shares of Apple during the June quarter. Nonetheless, Apple remains the conglomerate’s largest holding at 280 million shares, valued at over $64 billion. Berkshire began buying Apple stock in 2016. At its peak in 2023, Berkshire Hathaway owned over 915 million shares of Apple, accounting for over 50% of the firm’s holdings. Buffett has trimm

Nyxt: The Emacs-like web browser

Nyxt: the Emacs-like web browser Did you know...? LWN.net is a subscriber-supported publication; we rely on subscribers to keep the entire operation going. Please help out by buying a subscription and keeping LWN on the net. Nyxt is an unusual web browser that tries to answer the question, "what if Emacs was a good web browser?". Nyxt is not an Emacs package, but a full web browser written in Common Lisp and available under the BSD three-clause license. Its target audience is developers who wa

Cow vs. Water Buffalo Mozzarella (2011)

Many people don't know that Mozzarella cheese is traditionally made from water buffalo milk. Mozzarella from water buffallo, or Mozzarella di Bufala is considered to be higher quality and better tasting than Mozzarella made frow cow milk. I wanted to know if it was really better, or if cheese snobs just say it's better. I had to wait a few months, though. Nugget Market here in Sacramento carries it, but they only sell it in the summer. Then Saturday came. My cell phone rang. I'd completely for

Cow vs. Water Buffalo Mozzarella

Many people don't know that Mozzarella cheese is traditionally made from water buffalo milk. Mozzarella from water buffallo, or Mozzarella di Bufala is considered to be higher quality and better tasting than Mozzarella made frow cow milk. I wanted to know if it was really better, or if cheese snobs just say it's better. I had to wait a few months, though. Nugget Market here in Sacramento carries it, but they only sell it in the summer. Then Saturday came. My cell phone rang. I'd completely for

Tom Holland Gives Us a Sneaky Look at Spider-Man’s New Web Shooters in ‘Brand New Day’

Has the Buffy reboot found its new slayer? Strange New Worlds‘ Henry Alonso Meyers talks puppet shop with Angel‘s Jeffrey Bell about how to bring puppets to the world of Star Trek. Plus, rumors of Hannibal‘s return are back on the menu. Spoilers get! Spider-Man: Brand New Day To mark the film entering production, Tom Holland shared a few more pictures from set featuring Spider-Man atop a large armored vehicle—and revealing the new spider-suit’s large, rectangular chrome web shooters. Sanatori

XOR_singleheader: Header-only binary fuse and XOR filter library

Header-only Xor and Binary Fuse Filter library Bloom filters are used to quickly check whether an element is part of a set. Xor filters and binary fuse filters are faster and more concise alternative to Bloom filters. Furthermore, unlike Bloom filters, xor and binary fuse filters are naturally compressible using standard techniques (gzip, zstd, etc.). They are also smaller than cuckoo filters. They are used in production systems. This is a simple C header-only library. It implements both binar

Hyperpb: Faster dynamic Protobuf parsing that's faster than generated code

Today we’re announcing public availability of hyperpb, a fully-dynamic Protobuf parser that is 10x faster than dynamicpb, the standard Go solution for dynamic Protobuf. In fact, it’s so efficient that it’s 3x faster than parsing with generated code! It also matches or beats vtprotobuf’s generated code at almost every benchmark, without skimping on correctness. Don’t believe us? We think our parsing benchmarks speak for themselves. Here, we show two benchmark variants for hyperpb: out-of-the-bo

Hyperpb: 10x faster dynamic Protobuf parsing that's faster than generated code

Today we’re announcing public availability of hyperpb, a fully-dynamic Protobuf parser that is 10x faster than dynamicpb, the standard Go solution for dynamic Protobuf. In fact, it’s so efficient that it’s 3x faster than parsing with generated code! It also matches or beats vtprotobuf’s generated code at almost every benchmark, without skimping on correctness. Don’t believe us? We think our parsing benchmarks speak for themselves. Here, we show two benchmark variants for hyperpb: out-of-the-bo

Making a StringBuffer in C, and questioning my sanity

I've been writing a lot of C. Whilst doing so I have been questioning my sanity. Am I an awful programmer? You know what, I think I might be. Kudos to all those devs that created monumental feats with C. Because it is not an easy tool to use. That said, I do enjoy writing C, just as long as I don't have a deadline or any business critical software to deliver. But when I say enjoy, I mean enjoyment in the sense of using a sycthe to cut a lawn, whilst my lawnmower watches on. It's lovely using th

Multiplatform Matrix Multiplication Kernels

Few algorithmic problems are as central to modern computing as matrix multiplication. It is fundamental to AI, forming the basis of fully connected layers used throughout neural networks. In transformer architectures, most of the computation is spent performing matrix multiplication. And since compute largely determines capability, faster matrix multiplication algorithms directly translate into more powerful models [1 ]. NVIDIA probably deserves much of the credit for making matrix multiplicatio

My Favorite Way to Make Cauliflower Takes Less than 15 Minutes

There are a few things I won't put in an air fryer. Soup? Definitely not. Casserole? Maybe. Cauliflower? Well, yes. In fact, it's become my preferred cooking method, and I'm always happy with the results of cooking up this healthy and delicious snack. I like cauliflower each and every way, but as with anything, I especially love this veggie doused in buffalo sauce. Now, I'm not here to convince you that buffalo cauliflower tastes identical to the buffalo chicken wings that I also whip up in my

Show HN: Spegel, a Terminal Browser That Uses LLMs to Rewrite Webpages

Spegel - A Terminal Browser That Uses LLMs to Rewrite Webpages June 23, 2025 TL;DR Spegel is a proof-of-concept terminal web browser that feeds HTML through an LLM and renders the result as markdown directly in your terminal. Your browser does not support the video tag. Two weekends ago, after my family had gone to sleep, I found myself unsupervised with a laptop and an itch to build something interesting. A couple of hours later, I had a minimal web browser running in my terminal (no JavaSc

Transmitting data via ultrasound without any special equipment

There are secret messages flying all around you all the time, being transmitted via, most of the time, electromagnetic waves going from antenna to antenna. ELOs “Secret Messages” is a song about posting conspiracy theories via WiFi. But what if you need to get a few bytes from device A to device B (one of the hard problems in computer science!) and you don’t feel like making sure they’re both connected to the same network? Well, fortunately, another channel is available to us - sound, or for a

Best Internet Providers in Buffalo, New York

What is the best internet provider in Buffalo? CNET’s top pick for the best internet provider in Buffalo is Verizon Fios. The ISP earns the top spot thanks to its fast, symmetrical upload and download speeds, strong customer satisfaction and competitive pricing. The only catch? Fios isn't available everywhere within the city. If Verizon Fios isn’t available at your address, Spectrum is a solid backup. Spectrum offers the most affordable internet plans in Buffalo. Just keep in mind that prices

Show HN: Txeo – A Modern C++ Wrapper for TensorFlow

Txeo: a Modern C++ Wrapper for TensorFlow 📝 Overview Txeo is a lightweight and intuitive C++ wrapper for TensorFlow, designed to simplify TensorFlow C++ development while preserving high performance and flexibility. Built entirely with Modern C++, Txeo allows developers to use TensorFlow with the ease of a high-level API, eliminating the complexity of its low-level C++ interface. ✨ Features 📦 Intuitive API – A clean and modern C++ interface, simplifying TensorFlow C++ usage. – A clean and m

Before the Cult TV Show, the Buffy Movie Proved How Fun Slaying Monsters Can Be

Buffy the Vampire Slayer may soon make a TV comeback with Sarah Michelle Gellar—and the cult-classic series will always be the most beloved version of Buffy’s story. But in 1992, five years prior to fans becoming obsessed with Sunnydale and the Scoobies, a different version of Buffy’s story hit the big screen. The same broad strokes are there; the script is by (now-disgraced) Buffy series creator Joss Whedon, and it follows a chipper blonde named Buffy saving the world from monsters. But it’s go