News Nug |
---|
All Proton Drive apps are now open source Published: 2024-09-25 | Origin: /r/programming Proton is committed to privacy and security, offering a suite of services designed to protect user data, including encrypted email, a secure calendar, cloud storage, a password manager, and a self-custody Bitcoin wallet. Their mission emphasizes transparency, allowing users to inspect and verify the open-source code of their applications. Proton promotes a non-profit model that prioritizes people over profits and encourages community involvement in improving internet privacy. The company is actively seeking talented individuals to further develop their services and offers guides and |
A search engine in 80 lines of Python Published: 2024-09-25 | Origin: /r/programming In a recent article, a Data Scientist at Wallapop shares their journey of building a simple search engine from scratch using Python. The motivation behind this project stems from the "Small Website Discoverability Crisis," a challenge where small websites struggle to be found on popular search engines like Google. The author aims to enhance the visibility of these lesser-known sites by creating a straightforward search engine that demonstrates the underlying mechanics of search technology. Although the engine consists of approximately 80 lines of code, the complete project, |
Program a Real 6502 using your Browser. Published: 2024-09-25 | Origin: /r/programming The 6502 chip is now available for programming in the Chiplab, which allows users to upload and queue their programs for execution on a real 6502 chip. This provides a highly accurate alternative to emulators, facilitating both testing and research into the chip's behavior. Users can write assembly code or upload pre-assembled programs, which will run for 100 cycles, approximately one second. After execution, a trace is provided, displaying the values of the chip's address and data busses |
Orion, our first true augmented reality glasses Published: 2024-09-25 | Origin: Hacker News Meta has announced the launch of Orion, described as the most advanced augmented reality (AR) glasses to date, designed to seamlessly bridge the physical and virtual worlds. The company emphasizes that these glasses will empower users, allowing them to access information while remaining present in their surroundings. The development of AR glasses is seen as a crucial step towards significant advancements in human-oriented computing, merging the convenience of wearables with intelligent displays and AI in a comfortable format for daily use. Previous products like the Ray-Ban Meta |
Llama 3.2: Revolutionizing edge AI and vision with open, customizable models Published: 2024-09-25 | Origin: Hacker News Meta has announced the release of Llama 3.2, which includes varied model sizes (11B, 90B for vision and 1B, 3B for text) to enhance accessibility for developers lacking significant compute resources. This follows the earlier success of the Llama 3.1 models, including the groundbreaking 405B model. Over the past year and a half, Llama has achieved substantial growth and is recognized as a standard in responsible innovation, emphasizing openness, modifi |
The bizarre world of V Published: 2024-09-25 | Origin: /r/programming The V programming language (vlang) was created by Alexander Medvednikov and emerged in 2019 as a simple, fast, and safe compiled language inspired by Go, Rust, Swift, and C. Its goal is to combine the positive features of these languages while minimizing complexity. Despite its ambitions, V received mixed reviews upon release, with criticisms focusing on unmet promises and questionable decisions. The article seeks to provide a comprehensive overview of V, including its historical context and current status, in response to |
Launch HN: Haystack (YC S24) – Visualize and edit code on an infinite canvas Published: 2024-09-25 | Origin: Hacker News The Haystack Editor is developed by Haystack Software in collaboration with the community, with a focus on user feedback and input. It features a combination of a code editor and a canvas UI for better code comprehension, alongside tools for editing, navigation, debugging, and integration with existing tools. The software is updated weekly and available for Windows, macOS, and Linux. Developers are encouraged to contribute by addressing issues and participating in the code base, with various extensions available for enhanced functionality. The project is open |
The lost language extensions of MetaWare's High C compiler (2023) Published: 2024-09-25 | Origin: Hacker News The author reflects on an unexpectedly engaging '80s C compiler manual from their collection of FM TOWNS books. They highlight the historical context of C and its vendor extensions, noting how, in the competitive environment of the 1980s, smaller companies like Phar Lap and MetaWare contributed significantly to the C programming landscape. Phar Lap developed a DOS extender that enabled better utilization of the 32-bit 80386 processor in a 16-bit MS-DOS environment, and the High C Compiler, |
Hanami 2.2.0.beta2 Published: 2024-09-25 | Origin: /r/ruby The latest update to Hanami's database layer introduces support for MySQL, allowing users to create a MySQL-backed application easily. The new features include full validation contract support for actions and the ability to work with multiple databases within any slice. This is facilitated by gateways in ROM, which represent connections to distinct databases and can be configured without additional setup using environment variables. Hanami's database commands have been updated to handle multiple gateways, enabling users to specify which database to target during operations like migrations. Overall |
Unplanned exposure during diving in the spent nuclear fuel pool (2011) Published: 2024-09-25 | Origin: Hacker News Failed to generate summary |
Hunting for Gems: How Ruby's package management system evolved Published: 2024-09-25 | Origin: Hacker News The content discusses the use of libraries, known as "gems," in Ruby and Rails projects, highlighting their importance in saving time by allowing developers to use existing code instead of writing it from scratch. It reflects on the challenges of sharing Ruby code in the 90s, including manually managing the $LOAD_PATH to include downloaded libraries. The introduction of RubyGems in 2003 is presented as a solution to these challenges, simplifying the process of installing and managing dependencies. Instead of manually downloading and |
Winamp finally open sources their code, under license preventing forking and source/binary distribution Published: 2024-09-25 | Origin: /r/programming Winamp, launched in 1997 by Nullsoft, is an iconic multimedia player known for its flexibility and compatibility with various audio formats. Although its development slowed over time, the opening of its source code to the community has allowed for updates and modernization. Currently, the Winamp desktop client is built using Visual Studio 2019 and specific libraries like Intel IPP and OpenSSL. The development process involves modifying and unpacking several libraries, including libvpx and libmpg123, and requires |
Ask HN: What do you use to backup your VMs? Published: 2024-09-25 | Origin: Hacker News The described backup setup prioritizes security and efficiency. The backup server operates independently by pulling snapshots without needing to know ZFS encryption keys, ensuring a zero trust environment. The main server cannot access the backup server; access is only one-way, configured through IPSEC in OPNsense. The backup server is isolated in its own subnet, accessible only from selected locations. This arrangement leverages the self-starting automation of the Shelly Plug S. For database backups, the user transitioned from using a system |
Avoiding if-else Hell: The Functional Style Published: 2024-09-25 | Origin: /r/programming The author reflects on their experience developing a taxi-hailing mobile app, particularly focusing on its early driver assignment code, which consisted of several nested if statements. While the code may seem manageable, it can quickly become complex with additional checks like surge pricing. To improve the code structure, they suggest "flattening" it through refactoring techniques. The first step involves converting certain if statements into guard clauses, which simplifies the code by removing levels of nesting. Following this, the author recommends using a decision |
I have 2000 old VHS tapes in my garage and don't know what to do with them Published: 2024-09-25 | Origin: Hacker News The author has approximately 2000 VHS tapes containing off-air recordings of British television from the late 1990s and early 2000s, which they hope to donate to an archive for preservation. This week highlights the 50th anniversary of Ceefax, the UK's first teletext service launched on BBC1. Teletext was a crucial source of real-time news and information before the internet became mainstream, widely used by millions. The author fondly recalls spending hours on teletext, particularly |
LevelDB Explained - Understanding Advanced C++ Techniques Published: 2024-09-25 | Origin: /r/programming The article discusses advanced C++ techniques used in LevelDB, emphasizing the relationship between the breadth and depth of knowledge required to understand its implementation. While LevelDB's code is generally comprehensible, it employs certain uncommon techniques such as flexible arrays, symbol exporting, and Pimpl class design. A key example is the use of a flexible array member, `char key_data[1]`, in the `LRUHandle` structure to manage variable-length data. This member serves as a placeholder, with |
Go and my realization about what I'll call the 'Promises' pattern Published: 2024-09-25 | Origin: Hacker News The author reflects on their realization regarding the challenges of implementing 'promises' or asynchronously waitable objects in Go, particularly for handling asynchronous execution with ordered reporting of results. They want to perform multiple DNS lookups in parallel while maintaining the order of printed results to avoid confusion. The common pattern in Go for submitting requests to worker pools allows handling completions in any order, but this does not meet their requirement for ordered reporting. The author discusses two options for achieving their goals: using a single channel with |
NIST to forbid requirement of specific passwords character composition Published: 2024-09-25 | Origin: Hacker News Of course! Please provide the content you'd like me to summarize. |
Doom on a Modified Rotary Phone Published: 2024-09-25 | Origin: Hacker News Dialrhea is a repurposed rotary phone that was modified to control the classic video game Doom via Bluetooth. This project was completed in just two days during the “Internet Of Shit” hackathon in Vilnius, Lithuania, where participants created amusingly pointless yet functional devices. The team behind Dialrhea won the "Least Shitty Project" award and the "Public Prize," which was a gold-painted rubber drainage cleaning pump. The idea for Dialrhea stemmed from a conversation fueled |
SQL Tips and Tricks Published: 2024-09-25 | Origin: Hacker News The document emphasizes the importance of feedback and outlines various SQL tips and tricks that the author has learned over time. Key points include: 1. Use a leading comma in the SELECT clause for clarity and easier identification of omitted commas. 2. Employ a dummy value in the WHERE clause to facilitate dynamic condition adjustments. 3. Indent code for better readability and easier comprehension by others. 4. The :: operator can be used for type casting in some RDBMSs, but not in SQLite. 5. |