Latest Tech News

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

Filtered by: library Clear Filter

Rules for creating good-looking user interfaces, from a developer

Creating good-looking user interfaces has always been a struggle for me. If you’re in the same camp, this might help. I recently redesigned Lighthouse, and during that process built a system that helped me create much better designs than I ever did before. This system is about achieving the best possible design with the least amount of effort. There’s no need to know about the psychological impact of colors, which fonts are best for which purpose, golden ratios, etc. This is expert-level desig

Apple Music import tool now available worldwide, with a few exceptions

Following a limited launch late last month, Apple has now officially rolled out its Apple Music import tool worldwide, making it easier for users who want to switch from Spotify and other music platforms. Here is how it works, and where it is (and isn’t) available. Apple began testing its Apple Music importing tool back in February, and following a limited release to users in Australia and New Zealand in May, it began rolling it out more widely last month to users in Brazil, Canada, France, Ger

Reshaped is now open source

About five years ago, I started Reshaped. I built it for myself, since I had a few projects in urgent need of a component library for both React and Figma. Having worked in the design systems space for over a decade, I had developed a clear sense of what a good design system should be — and what tends to go wrong in others. I noticed that no matter how trends evolve, around 80% of the web is still built on the same core design practices. So I set out to build a system that covers that 80%, whil

Debugging Rustler on Illumos

Welcome to SYSTEM•ILLUMINATION! This is the first illumination I have written and the one that prompted me to start this space. This first session tackles several topics as you join me on the journey I took to debug Rustler misbehaving on OmniOS. I'm a beginner with illumos. This page serves a twofold purpose: to help me document and clarify my learnings as I delve into the illumos/Solaris world. And to shine a bit of light into a system that is fairly obscure and hard to get good info on. Howe

Why did dlclose not unload the library? (2023)

Recently, at work, we were debugging an issue where dlclose was not unloading the library . You might wonder why that even matters - if your library contains any global symbols, then their state will persist across a dlopen, dlclose sequence. In other words, your library isn’t starting from a clean state every time. In the case we were debugging, this issue manifested in the following fashion: We had two libraries libA and libB and libA dynamically depends on libB. When you dlopen libA, it also

Fixing an old .NET Core native library loading issue on Alpine

In this post I describe an issue I ran into at work when we were trying to test an app using Microsoft.Data.SQLite on Alpine Linux, and were running into this error: Unhandled exception. System.DllNotFoundException: Unable to load shared library 'e_sqlite3' or one of its dependencies . This post is primarily a walkthrough of the steps I took to solve the issue. I describe the problem itself, the environment in which it happened, the things we tried to isolate the issue, the eventual root cause,

Show HN: Regolith – Regex library that prevents ReDoS CVEs in TypeScript

Regolith A server-side TypeScript and JavaScript library immune to Regular Expression Denial of Service (ReDoS) attacks by using Rust and linear Regex under the hood. Regolith has a linear worst case time complexity, compared to the default RegExp found in TypeScript and JavaScript, which has an exponential worst case. Motivation: I wanted a Regex library for TypeScript and JavaScript where I didn't have to worry about ReDoS attacks. Important Regolith is still early in development! We need h

Library of Congress explains how parts of US Constitution vanished from its website

The Library of Congress has given a fuller explanation as to why large sections of the U.S. Constitution suddenly vanished from its official website. As TechCrunch previously reported, parts of Section 8, as well as the entirety of Section 9 and Section 10, were deleted from Article 1 of the Constitution on the U.S. government’s official website over the past month. The changes to the sections, which pertained to the Congressional powers, the rights of individual states, and the rights to due p

Coding error blamed after parts of Constitution disappear from US website

The Library of Congress today said a coding error resulted in deletion of parts of the US Constitution from Congress' website and promised a fix after many Internet users pointed out the missing sections this morning. "It has been brought to our attention that some sections of Article 1 are missing from the Constitution Annotated (constitution.congress.gov) website," the Library of Congress said today. "We've learned that this is due to a coding error. We have been working to correct this and e

Apple Music 5.0 beta brings iOS 26 features to Android

Ahead of iOS 26 launching this fall, Apple Music for Android is beta testing version 5.0.0 with new features and design tweaks. The Android app does not get a Liquid Glass redesign with the same bottom bar and docked Now Playing controls as before. It’s unfortunate from a cross-platform parity standpoint, but hopefully a future update will introduce it. That said, there are some design tweaks like pill-shaped buttons throughout the app replacing the rounded rectangles. For example, shuffle, re

Belgium bans Internet Archive's ‘Open Library’

The Business Court in Brussels, Belgium, has issued an unprecedentedly broad site-blocking order that aims to restrict access to shadow libraries including Anna's Archive, Libgen, OceanofPDF, Z-Library, and the Internet Archive's Open Library. In addition to ISP blocks, the order also directs search engines, DNS resolvers, advertisers, domain name services, CDNs and hosting companies to take action. Traditional site-blocking measures that require local ISPs to block subscriber access to popular

Belgium Bans Internet Archive's 'Open Library' in Site Blocking Order

The Business Court in Brussels, Belgium, has issued an unprecedentedly broad site-blocking order that aims to restrict access to shadow libraries including Anna's Archive, Libgen, OceanofPDF, Z-Library, and the Internet Archive's Open Library. In addition to ISP blocks, the order also directs search engines, DNS resolvers, advertisers, domain name services, CDNs and hosting companies to take action. Traditional site-blocking measures that require local ISPs to block subscriber access to popular

Internet Archive joins federal library system as official repository for government documents

What just happened? Non-profit organization Internet Archive was founded by Brewster Kahle in 1996, as a digital library conceived to provide free access to digital knowledge via the internet. Now, the IA is getting yet another noteworthy "upgrade" thanks to an official federal designation promoted by a US Senator. The Internet Archive was recently designated as an official "federal depository" library for the state of California. Senator Alex Padilla made the designation in a letter sent to Sc

Internet Archive is now a US federal depository library

The Internet Archive has become an official U.S. federal depository library, providing online users with access to archived congressional bills, laws, regulations, presidential documents, and other U.S. government documents. U.S. Senator Alex Padilla designated it as such in a July 24 letter to the Superintendent of Documents at the Government Publishing Office, which oversees the Federal Depository Library Program that coordinates a network of over 1,150 such libraries. "Through its Democracy

Janet: Lightweight, Expressive, Modern Lisp

Janet is a functional and imperative programming language. It runs on Windows, Linux, macOS, BSDs, and should run on other systems with some porting. The entire language (core library, interpreter, compiler, assembler, PEG) is less than 1MB. You can also add Janet scripting to an application by embedding a single C source file and a single header. Use Cases Janet makes a good system scripting language, or a language to embed in other programs. Janet also can be used for rapid prototyping, dyna

Internet Archive is now a federal depository library

While documents stored on microfiche or microfilm are easy to copy, they aren’t easy to access. The GPO has been moving toward digital preservation since 2016 and runs an online database of government records, and in recent years, it has ramped up efforts to digitize the Federal Depository Library Program. Participating libraries have largely pivoted to the GPO’s digital approach, but digitizing countless physical documents is a massive undertaking — one that the Internet Archive has experience

Internet Archive Is Now a Federal Depository Library

While documents stored on microfiche or microfilm are easy to copy, they aren’t easy to access. The GPO has been moving toward digital preservation since 2016 and runs an online database of government records, and in recent years, it has ramped up efforts to digitize the Federal Depository Library Program. Participating libraries have largely pivoted to the GPO’s digital approach, but digitizing countless physical documents is a massive undertaking — one that the Internet Archive has experience

Interactive Programming in C (2014)

December 23, 2014 nullprogram.com/blog/2014/12/23/ I’m a huge fan of interactive programming (see: JavaScript, Java, Lisp, Clojure). That is, modifying and extending a program while it’s running. For certain kinds of non-batch applications, it takes much of the tedium out of testing and tweaking during development. Until last week I didn’t know how to apply interactive programming to C. How does one go about redefining functions in a running C program? Last week in Handmade Hero (days 21-25),

No Cheese Please

Libraries​ were all the rage in Renaissance Europe, and no wonder. Theatres of knowledge, grandly decorated and proudly displayed, they hosted dramas of many kinds. Learned men used them for lively conversation on such irresistible topics as the philosophies of Hermes, Zoroaster and Pythagoras or relations between the later Roman Empire and the Persian king Shapur II, which Angelo Poliziano, Pico della Mirandola and others debated in the new Florentine library of San Marco. Yet they were also –

SIOF (Scheme in One File) – A Minimal R7RS Scheme System

SIOF (Scheme In One File) - A Minimal R7RS Scheme System SIOF is a portable interpreter for the R7RS Scheme programming language. It can be built from a single C source file siof.c; there are no OS- or hardware-specific parts, no compiler-specific tricks, no dependency on platform-specific building tools. There is no distributives or packages: just compile the source file with your favorite C compiler, link it with the standard C runtime libraries and be done with it. For some platforms, precom

Hungary's oldest library is fighting to save books from a beetle infestation

Hungary's oldest library is fighting to save 100,000 books from a beetle infestation toggle caption Bela Szandelszky/AP PANNONHALMA, Hungary — Tens of thousands of centuries-old books are being pulled from the shelves of a medieval abbey in Hungary in an effort to save them from a beetle infestation that could wipe out centuries of history. The 1,000-year-old Pannonhalma Archabbey is a sprawling Benedictine monastery that is one of Hungary's oldest centers of learning and a UNESCO World Herit

Show HN: Easy alternative to giflib – header-only decoder in C

GIF Decoder Library TurboStitchGIF is a lightweight, header-only C library for decoding GIF images with a focus on efficiency and minimal resource usage. Designed for embedded systems and performance-critical applications, it provides a simple API for decoding both static and animated GIFs while maintaining a tiny footprint. ✨ Key Features Single-header implementation - Just include gif.h in your project - Just include in your project Zero dynamic allocations - Works with user-provided memor

Easy dynamic dispatch using GLIBC Hardware Capabilities

TL;DR With GLIBC 2.33+, you can build a shared library multiple times targeting various optimization levels, and the dynamic linker/loader will pick the highest version supported by the current CPU. For example, with the layout below, on a Ryzen 9 5900X, x86-64-v3/libfoo0.so would be loaded: In the meantime, ggml has extended its support for its own dynamic dispatch to arm64 and ppc64el , the lack of which originally motivated this work. The Debian package will soon switch to this. However, an

Lua beats MicroPython for serious embedded devs

Why Lua Beats MicroPython for Serious Embedded Devs In professional embedded projects, ranging from industrial automation to medical devices and commercial IoT products, developers increasingly favor high-level, lightweight, and easy-to-use environments. While MicroPython has earned praise for rapid prototyping and field deployments on microcontrollers, its active ecosystem is largely centered around hobbyist boards. It is important to note that Python’s greatest strength, its vast library eco

Automatically Packaging a Haskell Library as a Swift Binary XCFramework

Announcing xcframework or: the happy path for wiring a Haskell dependency to your Swift app I’ve written about Haskell x Swift interoperability before. Calling Haskell from Swift is about marshalling and the foreign function interface. But Creating a macOS app with Haskell and Swift tells the much messier tale of hijacking XCode to vodoo together the Haskell library, its headers, and two handfuls of other magic ingredients into one buildable SwiftUI application. Stop! Don’t click on the last l

A Virginia public library is fighting off a takeover by private equity

Photo from The Samuels Public Library After being targeted by anti-LGBTQ book banners and having their funding pulled, a local library in Virginia successfully stopped a threatened takeover by a private equity group. The local community rallied around The Samuels Public Library in Front Royal, Virginia, to push back against attacks and the private equity owned Library Systems & Services withdrew their bid to run operations. But with their funding cut for the fiscal year that began this July, th

Browser extensions turn nearly 1 million browsers into website-scraping bots

Extensions installed on almost 1 million devices have been overriding key security protections to turn browsers into engines that scrape websites on behalf of a paid service, a researcher said. The 245 extensions, available for Chrome, Firefox, and Edge, have racked up nearly 909 million downloads, John Tuckner of SecurityAnnex reported. The extensions serve a wide range of purposes, including managing bookmarks and clipboards, boosting speaker volumes, and generating random numbers. The common