Xiaomi Home Assistant Integration Component Officially Launched

2024-12-16
Xiaomi Home Assistant Integration Component Officially Launched

Xiaomi officially released the Xiaomi Home Assistant integration component, enabling users to integrate their Xiaomi IoT smart devices into Home Assistant. The component supports various installation methods, including Git clone, HACS, and manual installation. Users need to log in with their Xiaomi account; multiple accounts and region selection are supported. The component supports most Xiaomi smart home devices but currently excludes Bluetooth, infrared, and virtual devices. Control methods include cloud control and local control (requiring a Xiaomi central gateway or devices with built-in gateway functionality). It maps MIoT-Spec-V2 to Home Assistant entities. The component also supports multiple languages and a debug mode, prioritizing user privacy and security, but requires careful storage of configuration files.

Read more

Open-Source Tool me_cleaner: Streamlines Intel ME Firmware for Enhanced Privacy

2024-12-16
Open-Source Tool me_cleaner: Streamlines Intel ME Firmware for Enhanced Privacy

me_cleaner is an open-source Python script designed to partially deblob Intel Management Engine (ME) firmware, reducing its ability to interact with the system and improving user privacy and security. Intel ME firmware, integrated into all Intel motherboards since 2006, has access to system memory and network, making it difficult to disable or replace. me_cleaner modifies the ME firmware to be inactive during normal operation, activating only during boot, effectively mitigating potential security risks. The tool supports various Intel platforms, but obtaining and flashing the modified firmware requires an external SPI programmer. Results vary depending on the ME firmware version, but generally significantly reduce firmware size, potentially causing minor inconveniences like longer boot times or warning messages.

Read more

AI Visualization: Similar City Road Networks

2024-12-15
AI Visualization: Similar City Road Networks

The website similar-cities uses AI to visualize the relationships between cities by comparing the similarities of their road networks. It employs a unique 'drunkard's walk' algorithm, calculating the similarity of random paths within the road networks to assess structural similarity. Data is sourced from OpenStreetMap, encompassing roughly 2500 cities. The project is open-source, providing detailed algorithm explanations and code, and welcomes more city data for improved accuracy.

Read more

GitHub Project Map: Visualizing 400,000+ Projects

2024-12-15
GitHub Project Map: Visualizing 400,000+ Projects

Developer Anvaka created an interactive map visualizing over 400,000 GitHub projects using publicly available data. The project uses Jaccard similarity to calculate relationships between projects and the Leiden algorithm for clustering. The result is a visually stunning representation of the GitHub ecosystem, allowing users to search and explore connections between projects, revealing its complexity and richness.

Read more
Development project relationships

Vercel Launches ƒun: A Local Serverless Function Runtime

2024-12-15
Vercel Launches ƒun: A Local Serverless Function Runtime

Vercel has released ƒun, a local development runtime for serverless functions, enabling developers to emulate the AWS Lambda environment locally. Supporting various runtimes like Node.js and Python, ƒun allows for quick testing and debugging of serverless functions without cloud deployment. While striving for a close approximation of the real Lambda environment, ƒun has some key differences, notably in process sandboxing and user permissions.

Read more

WASM Program Bypasses node:wasi Filesystem Sandbox

2024-12-15
WASM Program Bypasses node:wasi Filesystem Sandbox

This project demonstrates a proof-of-concept showcasing how a WASM program can bypass the preopens directory restriction in node:wasi to access files outside the sandbox. Normally, WASM programs are limited to accessing pre-opened directories. However, by cleverly using symbolic links to replace files at a precise moment and running an external process, this limitation can be circumvented. This is not a practical security vulnerability in node:wasi, but rather a potential edge case. The project highlights that one shouldn't rely on node:wasi to completely prevent malicious code from accessing external files.

Read more
Development

SVC16: The Simplest Virtual Computer Challenges Programmers

2024-12-15
SVC16: The Simplest Virtual Computer Challenges Programmers

SVC16 is a minimalist 16-bit virtual computer designed for ultimate simplicity. It features no CPU registers, performing all operations within a single memory chunk. The instruction set is extremely streamlined, lacking bells and whistles like sound or variable screen size. Programmers are challenged to write machine code and compilers themselves, creating amazing feats with the simplest of tools. The project provides an emulator to run user-created programs and even games. This is a perfect project for learning low-level computer principles and honing programming skills.

Read more

llama.cpp Integrates Qwen2VL Multimodal Model

2024-12-15
llama.cpp Integrates Qwen2VL Multimodal Model

The llama.cpp project on GitHub recently merged a pull request adding support for the Qwen2VL multimodal large language model. This model combines a large language model with a vision encoder, enabling processing of both images and text. Integration involves converting the model's LLM part and vision encoder into GGUF format and using a new command-line tool for inference. Future work includes adding support for more backends like MPS and Vulkan.

Read more

Buzee: Open-Source Full-Text Search App Released

2024-12-14
Buzee: Open-Source Full-Text Search App Released

Buzee is a cross-platform, full-text search application built with Rust and Svelte. It allows for fast searching of local files, folders, browser history, and more, even extracting text from PDFs and images using OCR. Developed over two years, this project showcases a robust architecture using Tauri for performance, SQLite and Tantivy for indexing, and a clean Svelte frontend. While feature-rich, it still has some areas for future development, and the author is releasing it open-source for others to contribute.

Read more
Development full-text search

Svader: A Svelte Library for GPU-Rendered Components

2024-12-14
Svader: A Svelte Library for GPU-Rendered Components

Svader is a library for creating GPU-rendered Svelte components using WebGL and WebGPU fragment shaders. Developers can write programs in fragment shaders to customize pixel colors and control rendering effects through parameter passing. Supporting Svelte 4 and 5, it offers WebGL and WebGPU rendering modes with built-in parameters like resolution, scale, and time. Svader simplifies GPU rendering with easy-to-use components and provides fallback rendering in environments lacking WebGL or WebGPU support.

Read more
Development

HTMX v2.0.4 Release Notes: Bug Fixes and Improvements

2024-12-14
HTMX v2.0.4 Release Notes: Bug Fixes and Improvements

The HTMX v2.0.4 release notes detail numerous bug fixes and improvements. This release focuses on stability and compatibility enhancements, including fixes for nested shadow root issues, improved `hx-boost` behavior on forms, better support for Web Components and Shadow DOM, and updated extensions for improved performance and reliability. Adjustments to the `htmx.ajax` function and optimizations to `hx-trigger` event handling are also included.

Read more
Development Release Bug Fixes

Farebox: A Multimodal Routing Project in Rust

2024-12-14
Farebox: A Multimodal Routing Project in Rust

Farebox is a fast RAPTOR implementation in Rust designed for memory-constrained machines. It leverages Valhalla for transfers and first/last mile routing, supporting multi-agency and timezone-aware routing. The project aims to supplement OpenTripPlanner, providing infill service for areas not covered by existing instances. Memory mapping is used for timetables to enable planet-scale coverage with a single instance and reduce hosting costs. Future plans include GTFS-RT support and potentially rRAPTOR for simultaneous itinerary calculation across various departure times.

Read more
Development Routing

Luon Programming Language: A Statically Typed Lua

2024-12-14
Luon Programming Language: A Statically Typed Lua

Luon is a new, statically-typed programming language with a syntax similar to Oberon-based languages, incorporating concepts from Lua and targeting the LuaJIT VM. Essentially a statically-typed version of Lua, it allows for the reuse of existing Lua and C libraries via external procedure declarations. Luon addresses shortcomings in Lua's error handling and code structure, offering a compiler and integrated IDE supporting procedural, generic, and object-oriented programming. The project includes extensive examples and test cases and is under active development.

Read more
Development statically typed

Microsoft Open-Sources MarkItDown: A File-to-Markdown Conversion Tool

2024-12-13
Microsoft Open-Sources MarkItDown: A File-to-Markdown Conversion Tool

Microsoft has open-sourced MarkItDown, a Python tool that converts various files (including PDF, PowerPoint, Word, Excel, images, audio, and HTML) into Markdown format. The tool boasts a simple API, supports a wide range of file types, and incorporates OCR and speech transcription for enhanced functionality, making it ideal for text analysis or indexing. Contributions are welcome, and the project adheres to the Microsoft Open Source Code of Conduct.

Read more

Open Source Pen Plotter Robot Project

2024-12-13
Open Source Pen Plotter Robot Project

Robertleoj has open-sourced a project on GitHub called Pen Plotter Robot, a pen plotting robot. The project includes the robot's design, construction, and control program, aiming to help makers and enthusiasts learn about robotics and mechanical design. The code and documentation are publicly available for learning and improvement.

Read more
Hardware pen plotter

New Hash Functions Rain Hashes: Speed and Security Combined

2024-12-13
New Hash Functions Rain Hashes: Speed and Security Combined

DOSAYGO Research has released Rain Hashes, a new family of hash functions featuring Rainbow and Rainstorm algorithms. Rainbow boasts exceptional speed, making it ideal for general-purpose hashing. Its C++ implementation has passed all SMHasher3 tests and is characterized by its concise and efficient code. Rainstorm prioritizes security; while not formally audited, its design incorporates elements from cryptographic hash functions and offers output sizes from 64 to 512 bits. The project provides C++, WASM, and Node.js implementations, along with a command-line tool and benchmark tests for easy evaluation and usage.

Read more
Development hash function

Unexpected Keyboard: A Lightweight Virtual Keyboard for Android

2024-12-12
Unexpected Keyboard: A Lightweight Virtual Keyboard for Android

Unexpected Keyboard is a lightweight Android virtual keyboard designed for developers. Its key feature is the ability to input more characters by swiping towards the corners of keys. Originally designed for Termux users, it's now suitable for everyday use. The app is ad-free, makes no network requests, and is open-source. Users can access special symbols by swiping to the corners of keys; for example, swiping to the bottom-left corner opens settings. Similar apps include Calculator++.

Read more

GitHub Extension Summarizes Hacker News Articles with LLMs

2024-12-12
GitHub Extension Summarizes Hacker News Articles with LLMs

The `hn-tldr-extension` GitHub project offers a browser extension that uses OpenAI and Anthropic's Large Language Models (LLMs) to quickly summarize Hacker News articles. Users provide their own API keys to enable a 'summarize' button on HN pages, providing concise article summaries. The extension's code is open-source and supports browsers like Firefox.

Read more

Easy macOS Installation on Any Computer with Proxmox

2024-12-12
Easy macOS Installation on Any Computer with Proxmox

This project offers a simplified method for installing macOS on any computer using Proxmox VE versions 7.0 to 8.2. A single script automates the setup process, enabling users to easily run macOS versions from High Sierra to Sonoma in a Proxmox virtual machine. Cloud environment installations are also supported, and a video tutorial is available.

Read more
Hardware Virtualization
1 2 43 44 45 46 47 48 49 51 Next →