Latest Tech News

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

Filtered by: fn Clear Filter

XFN – XHTML Friends Network (2003)

Xhtml Friends Network XFN™ (XHTML Friends Network) is a simple way to represent human relationships using hyperlinks. In recent years, blogs and blogrolls have become the fastest growing area of the Web. XFN enables web authors to indicate their relationship(s) to the people in their blogrolls simply by adding a ' rel ' attribute to their <a href> tags, e.g.: <a href="http://jeff.example.org" rel="friend met">... To find out how to write and use XFN, or to write a program to generate or spide

Kruci: Post-mortem of a UI library

kruci: Post-mortem of a UI library I love doing experiments - side projects to my side projects, for fun or out of necessity. Sometimes those experiments and end up in something useful, other times - not so much. Let me tell you about one of the latter projects - about terminals, user interfaces, and trade-offs. Here's the source code, though beware - it's raw. My programming spare time is dedicated mostly towards kartoffels, a game of mine where you're implementing firmwares for tiny robots

Topics: fn let mut node ui

Kruci: Post-Mortem of a UI Library

kruci: Post-mortem of a UI library I love doing experiments - side projects to my side projects, for fun or out of necessity. Sometimes those experiments and end up in something useful, other times - not so much. Let me tell you about one of the latter projects - about terminals, user interfaces, and trade-offs. Here's the source code, though beware - it's raw. My programming spare time is dedicated mostly towards kartoffels, a game of mine where you're implementing firmwares for tiny robots

Topics: fn let mut node ui

Nvidia’s GeForce Now is upgrading to RTX 5080 GPUs and opening a floodgate of new games

is a senior editor and founding member of The Verge who covers gadgets, games, and toys. He spent 15 years editing the likes of CNET, Gizmodo, and Engadget. Posts from this author will be added to your daily email digest and your homepage feed. It’s been two and a half years since Nvidia’s GeForce Now cloud gaming service got a big boost in graphics, latency, and refresh rates — this September, Nvidia’s GFN will officially add its latest Blackwell GPUs. You’ll soon be able to rent what’s effec

Clojure Async Flow Guide

Flow Guide Getting started The flow library enables a strict separation application logic from the deployment concerns of topology, execution, communication, lifecycle, monitoring and error handling. Step fns and process launchers You provide logic to flow in the form of step-fns, which are wrapped into running processes, executing in a loop. Flow manages the life cycle of the process and handles incoming and outgoing messages by putting or taking them on channels. Step-fns do not access cha

Show HN: Rust macro utility for batching expensive async operations

batched Rust macro utility for batching expensive async operations. Installation cargo add batched Or add this to your Cargo.toml : [ dependencies ] batched = " 0.2.7 " limit : Maximum amount of items that can be grouped and processed in a single batch. : Maximum amount of items that can be grouped and processed in a single batch. concurrent : Maximum amount of concurrent batched tasks running (default: Infinity ) : Maximum amount of concurrent batched tasks running (default: ) window :

Fennel libraries as single files (2023)

I’m pleased to announce that most of my libraries for fennel are now shipped as single files! It was a long-standing issue with Fennel for me, as there was no clear way to ship both macros and functions in the same file, but after some experimentation, I figured out a way. After a bit of testing with my new library for asynchronous programming I can say that it works well enough to be used in most other libraries. Although the implementation is a bit rough and manual, that’s what I’ll try to des

Diffsitter – A Tree-sitter based AST difftool to get meaningful semantic diffs

diffsitter Disclaimer diffsitter is very much a work in progress and nowhere close to production ready (yet). Contributions are always welcome! Summary diffsitter creates semantically meaningful diffs that ignore formatting differences like spacing. It does so by computing a diff on the AST (abstract syntax tree) of a file rather than computing the diff on the text contents of the file. diffsitter uses the parsers from the tree-sitter project to parse source code. As such, the languages sup

Alternative Blanket Implementations for a Single Rust Trait

July 01, 2025 #rust #traits #patterns Serhii PotapovJuly 01, 2025 Rust's trait system is famously powerful - and famously strict about avoiding ambiguity. One such rule is that you can't have multiple blanket implementations of the same trait that could potentially apply to the same type. What Is a Blanket Implementation? A blanket implementation is a trait implementation that applies to any type meeting certain constraints, typically via generics. A classic example from the standard librar

Gene therapy restored hearing in deaf patients

“This is a huge step forward in the genetic treatment of deafness, one that can be life-changing for children and adults,” says Maoli Duan, consultant and docent at the Department of Clinical Science, Intervention and Technology, Karolinska Institutet, Sweden, and one of the study’s corresponding authors. The study comprised ten patients between the ages of 1 and 24 at five hospitals in China, all of whom had a genetic form of deafness or severe hearing impairment caused by mutations in a gene

Deaf Teenager and 24-Year-Old Gain Ability to Hear After Experimental Gene Therapy

In recent years, gene therapy has emerged as a promising treatment for genetic forms of congenital deafness—hearing loss that’s present at birth—in children. A new study shows that gene therapy can bestow hearing in teenagers and adults with this condition, too. The study, published Wednesday in the journal Nature Medicine, recruited patients with deafness or severe hearing impairment caused by mutations in the OTOF gene. This gene manufactures a protein called Otoferlin, which plays a critical

Weird Expressions in Rust

Rust has a very powerful type system, but as a result it has some quirks, some would say cursed expressions. There’s a test file, weird-expr.rs , in the rust repository that tests for some of these and makes sure there consistent between updates. So I wanted to go over each of these and explain how it’s valid rust. Note that these are not bugs, but rather extreme cases of rust features like loops, expressions, coercion and so on. Strange fn strange () -> bool { let _x : bool = return true ;}

Topics: fn let match return u8

Higher: Favourite Haskell type classes for Rust (2023)

higher The functor hierarchy and other terrible ideas for Rust. Yes, this gives you generalisable monads in Rust. No, they're not very nice compared to Haskell, because Rust's functions aren't quite as first class from the type system's perspective as you might like them to be, type constraints in trait implementations can be a serious headache when you want to implement, say, Functor for HashSet , and the type system can be particularly obtuse at times and need a lot of additional and extreme

Topics: f1 f2 fn target type

Augmented Vertex Block Descent (AVBD)

Augmented Vertex Block Descent (AVBD) Vertex Block Descent is a fast physics-based simulation method that is unconditionally stable, highly parallelizable, and capable of converging to the implicit Euler solution. We extend it using an augmented Lagrangian formulation to address some of its fundamental limitations. First, we introduce a mechanism to handle hard constraints with infinite stiffness without introducing numerical instabilities. Second, we substantially improve the convergence in th

Simplest C++ Callback, from SumatraPDF

SumatraPDF is a Windows GUI application for viewing PDF, ePub and comic books written in C++. A common need in GUI programs is a callback. E.g. when a button is clicked we need to call a function with some data identifying which button was clicked. Callback is therefore a combo of function and data and we need to call the function with data as an argument. In programming language lingo, code + data combo is called a closure. C++ has std::function<> and lambdas (i.e. closures). Lambdas convert