News Nug |
---|
StackOverflow has lost 77% of new questions compared to 2022. Lowest # since May 2009. Published: 2025-01-08 | Origin: /r/programming The author, a top contributor on StackOverflow, expresses concern over the significant decline in new questions on the platform. They share personal experiences, highlighting that even quality questions can be closed quickly, likely dissuading newer users. Statistics show a dramatic drop in new questions: from over 87,000 in March 2023 to just over 25,000 in December 2024, a decline of 70.7%. This trend suggests an existential crisis for StackOverflow, the worst since |
Just want to share my progress on my 32-bit OS As the title says, I wanted to share my journey of building a 32-bit operating system from scratch. So far, I’ve completed some critical components like the kernel entry, virtual memory management, task switching, interrupt handling, and more. Published: 2025-01-08 | Origin: /r/programming The 32 Bit Operating System (OS_32Bit) is an open-source platform aimed at showcasing technical capabilities and fostering learning and collaboration among developers. It emphasizes the importance of community input and feedback. Key features include: - **Installation**: Detailed steps for installation, including system requirements (Docker), guides, and booting instructions. - **GUI Support**: Users are instructed to install VcXsrv for GUI support, recommending certain settings for optimal performance. - **Docker Usage**: Instructions |
Operating System in 1,000 Lines – Intro Published: 2025-01-08 | Origin: Hacker News This book guides readers through the step-by-step process of building a small operating system from scratch. Although OS and kernel development may seem daunting, the fundamental functions are relatively simple. It highlights that even the initial version of Linux was only 8,413 lines of code. The project will involve implementing basic features such as context switching, paging, user mode, a command-line shell, and file operations in C, with a goal of around 1,000 lines of code. However, debugging poses significant |
If GPUs Are So Good, Why Do We Still Use CPUs at All? Published: 2025-01-08 | Origin: Hacker News A 2009 video making the rounds on Twitter illustrates the differences between CPUs and GPUs through a humorous "painting duel," where the CPU takes 30 seconds to draw a basic smiley face, while the GPU instantly paints the Mona Lisa. This highlights that GPUs are generally faster than CPUs, as indicated by the performance measurement TFLOPS (teraflops). For instance, the Nvidia A100 GPU achieves 9.7 TFLOPS compared to the Intel 24-core processor's 0 |
Build a Secure REST API with Ruby and Sinatra Published: 2025-01-08 | Origin: /r/ruby The article, written by Alvaro, a member of the Zuplo community, introduces a project that combines the Dune saga by Frank Herbert with a practical application using Ruby and Sinatra to create an API for Dune quotes. Alvaro emphasizes the richness of the quotes from the books and suggests building an API to easily access them. The project involves creating a folder named "duneQuotes," a file "server.rb," and using Sinatra along with MongoDB Atlas. Alvaro provides instructions for setting up |
A day in the life of a prolific voice phishing crew Published: 2025-01-07 | Origin: Hacker News Apple and Google have repeatedly warned users that they will never initiate unsolicited communications by phone. Despite this, a voice phishing gang is exploiting legitimate services from both companies to impersonate them and execute phishing attacks. A case highlighted by KrebsOnSecurity involved a cryptocurrency investor named Tony, who lost over $4.7 million through an elaborate scheme that included contact via Google Assistant and emails that appeared to come from Google. The scammer also sent account recovery prompts to Tony’s devices using Google's infrastructure. The story reveals |
Servo Revival: 2023-2024 Published: 2025-01-07 | Origin: Hacker News Igalia took over the maintenance of the Servo project in January 2023, revitalizing an experimental browser engine created by Mozilla in 2012. Developed alongside the Rust programming language, Servo aims to be a performant and secure web rendering engine. After years of Mozilla's support, the project struggled post-2020, leading to its perceived abandonment. Igalia's involvement has brought renewed life; they secured funding and have approximately five engineers working full-time on Servo. In September 2023, Servo |
Magic/tragic email links: don't make them the only option Published: 2025-01-07 | Origin: Hacker News The term "Magic Links" has evolved from referring to a futuristic PDA to denoting a login link sent via email by companies like Auth0. A recent article from 404 Media titled “We Don’t Want Your Password” advocates for magic links, arguing that they are harder to phish than passwords and protect against compromised credentials. However, the article's claim that magic links create an easier login process is challenged, as it may not be simpler for users who access multiple devices or lack a straightforward copy |
Building a Real-time chat app with WebSockets and Ruby Published: 2025-01-07 | Origin: /r/ruby Jose Antonio Torres Garibay explores the workings of real-time applications and their functionality in relation to WebSockets. He expresses his interest in understanding WebSockets better through the development of a real-time chat application, which involves basic actions like joining, sending messages, and leaving. Torres outlines the key differences between WebSockets and traditional HTTP requests. Unlike HTTP, which follows a request-response model requiring clients to initiate every interaction, WebSockets establish a persistent connection that allows both servers and clients to send data |
Mistakes engineers make in large established codebases Published: 2025-01-07 | Origin: Hacker News Working in large established codebases is a significant challenge for software engineers, as traditional learning avenues like open source or personal projects don’t adequately prepare one for this complexity. After a decade of experience, the author emphasizes a critical mistake engineers often make: ignoring the existing codebase in favor of cleanly implementing new features. This approach leads to fragmentation and inconsistency, which are detrimental in a large codebase. Consistency is crucial; it helps avoid surprises, prevents the codebase from deteriorating, and facilitates |
Op-ed: Northeastern’s redesign of the Khoury curriculum abandons the fundamentals of computer science Published: 2025-01-07 | Origin: /r/programming A good computer science curriculum at the university level, particularly for aspiring software developers, should focus on fundamental principles that enable adaptability to rapidly changing technologies. Northeastern University is in the process of overhauling its curriculum to address this challenge. The current curriculum emphasizes foundational skills through courses like "Fundamentals of Computer Science," which teaches systematic program design using the design recipe method, encouraging students to break problems into manageable parts before coding. The objective is to foster problem-solving skills and critical thinking about software rather |
The Most Important Part of Engineering Management: Context Published: 2025-01-07 | Origin: /r/programming The author reflects on their journey from being a new-grad software engineer at Airbnb to co-founding a company called Graphite, which focuses on creating developer tools to enhance software development for other teams. Initially, they enjoyed the thrill of coding and problem-solving, but their passion evolved into building and leading teams. As Graphite expanded, their role shifted from coding to leadership, which involved learning management practices, hiring a leadership coach, and mentoring engineers. The author seeks to articulate the responsibilities of an engineering manager |
Zig-style generics are not well-suited for most languages Published: 2025-01-07 | Origin: /r/programming The content discusses the complexities and limitations of Zig's generics, drawing parallels to C++ and cautioning against the idea that other programming languages should adopt Zig's model. It highlights the misconception that Zig's generics are flawless and criticizes the notion that all languages should embrace this approach. While Zig's generics align with its minimalist philosophy and work well within its specific context, this does not mean they are appropriate for all languages, as many do not prioritize simplicity to the same extent. The author |
Show HN: Tramway SDK – An unholy union between Half-Life and Morrowind engines Published: 2025-01-07 | Origin: Hacker News Tramway SDK (stylized as T̈ra̦m̊ẅa̦ÿ SD̈K) is a graphics package and game engine developed over the past three years. This article argues against mainstream engines like Unity and Godot, citing their high hardware requirements and power consumption. Tramway SDK, in contrast, is lightweight, capable of running on hardware from the last 15 years, and does not require a dedicated graphics card, as it can use software rasterization. |
Parsing JSON in C & C++: Singleton Tax Published: 2025-01-07 | Origin: /r/programming The document outlines an article titled "Parsing JSON in C & C++: Singleton Tax," which discusses the joy open-source developers experience when users engage with their tools beyond basic examples. The article emphasizes the importance of understanding memory usage patterns and the ability to override default memory allocators when dealing with high-throughput software, like network packet analysis. It includes a breadcrumb trail for navigation on a website and mentions the article's keywords, which are "Tech" and "Less Slow." Additionally, there is a |
Show HN: HipScript – Run CUDA in the browser with WebAssembly and WebGPU Published: 2025-01-07 | Origin: Hacker News The content discusses an online compiler designed for HIP and NVIDIA® CUDA® code that can be utilized with WebGPU. The article is authored by Ben Schattinger and mentions that JavaScript is required to use the tool. Additionally, it likely includes some information about the GPU capabilities relevant to the compiler. |
Is XYplorer really written in VB6? Published: 2025-01-07 | Origin: Hacker News Visual Basic (VB), introduced in 1991, is one of the most popular programming languages but has garnered a poor reputation due to its accessibility for beginners, leading to the proliferation of poorly written "spaghetti code." The initial versions, VB1 to VB3, contributed to this negative perception. However, advancements in VB4, VB5, and VB6 improved the language's capabilities, with VB5 allowing compilation to native system code, which attracted more skilled programmers and resulted in better applications. |
Common misconceptions about the complexity in robotics vs. AI (2024) Published: 2025-01-07 | Origin: Hacker News The author reflects on the differences between robotics and artificial intelligence (AI) following the International Conference on Robotics and Automation (ICRA) 2024. They highlight the common misconceptions that equate the two fields, particularly due to advancements in large language models (LLMs) like ChatGPT. The author addresses a frequent question about why robotics has not advanced as rapidly as AI, emphasizing that sensorimotor tasks in robotics are inherently more complex. They argue that the challenges posed by robotics, exemplified by |
Gem Shop: A Vulnerable Rails 8 App for Security Education Published: 2025-01-07 | Origin: /r/ruby Gem Shop is an intentionally vulnerable Ruby on Rails 8 project designed for security education, featuring examples of common vulnerabilities such as SQL injection and cross-site scripting (XSS). It serves as a simple e-commerce platform for users to shop for gemstones, allowing learners to explore security issues within a familiar context. The project is open source and available on the Paraxial.io GitHub. Hands-on labs have proven effective for teaching security to web developers, especially if they are already familiar with Ruby on Rails, |
Useful things you can do with Rails console Published: 2025-01-07 | Origin: /r/ruby The article by Paweł Dąbrowski discusses the importance and utility of the Rails console for developers working with Rails applications, both in production and development settings. It highlights its role in database interaction and other use cases, and emphasizes the ability to customize the console for improved efficiency. Dąbrowski offers tips to enhance comfort while using the console, such as silencing logs to avoid distractions when debugging with `puts`, and utilizing a special variable `_` to access the last printed result |