Best of Hacker News2025

  1. 1
    Article
    Avatar of hnHacker News·1y

    JavaScript Animation Engine

    Anime.js is a versatile JavaScript animation library offering several features, including rotating objects, creating motion paths, and animating SVG paths. Users can create timelines, apply staggered animations, and make elements draggable with customizable easing options. The library also supports advanced configurations like spring physics and media query-based animations.

  2. 2
    Article
    Avatar of hnHacker News·27w

    Every Fucking AI-Coded Website Ever

    A satirical critique of AI-assisted coding practices, highlighting common pitfalls like blindly copying generated code without understanding it, poor project organization, lack of testing and documentation, and security vulnerabilities. The piece mocks developers who rely entirely on AI tools like Claude and ChatGPT to build websites without learning the underlying technology, resulting in identical-looking sites with messy codebases and questionable quality.

  3. 3
    Article
    Avatar of hnHacker News·46w

    Odyc.js

    Odyc.js is a lightweight JavaScript library designed to help users create interactive narrative games without requiring extensive programming knowledge. The library aims to make game development accessible to beginners while leveraging JavaScript's capabilities for creating engaging interactive experiences.

  4. 4
    Article
    Avatar of hnHacker News·32w

    Why our website looks like an operating system

    PostHog redesigned their website to function like an operating system, featuring window management, keyboard shortcuts, and multitasking capabilities. The design addresses the common problem of managing multiple tabs on technical websites by allowing users to open and arrange multiple pages simultaneously within a single browser window. The implementation includes OS-inspired UI elements like file explorers, PowerPoint-style presentations, and spreadsheet layouts, built using TypeScript and Tailwind CSS with a JSON-driven content architecture.

  5. 5
    Article
    Avatar of hnHacker News·1y

    The only animated UI library you will ever need

    Reverse UI is a reverse engineered UI library that allows seamless integration of trending animated components into web projects, handling all styling and animations for the user.

  6. 6
    Article
    Avatar of hnHacker News·1y

    Obsidian is now free for work

    Obsidian's Commercial license is now optional, allowing free usage of the software for work. There's no account requirement, no ads, and no data tracking, with all data stored locally in plain text Markdown files. The change aims to simplify the license terms and align with Obsidian's principle of enabling clear thinking and effective organization. Large organizations like Amazon and Google already use Obsidian, and organizations can still support its development by purchasing licenses.

  7. 7
    Article
    Avatar of hnHacker News·1y

    The Worst Programmer I Know

    The post discusses the pitfalls of measuring developer productivity using individual metrics and highlights the significance of team collaboration. The author shares an example of Tim Mackinnon, a programmer whose contributions to team success were not reflected in traditional productivity metrics. Instead of delivering software directly, Tim enhanced the team's overall productivity and cohesion, leading to greater business value. The story emphasizes the importance of assessing the collective impact of a team rather than individual outputs.

  8. 8
    Article
    Avatar of hnHacker News·29w

    The Simple Habit That Saves My Evenings

    Software engineers often get caught in productive flow at the end of the workday, leading to overwork and wasted evenings. Instead of pushing through to completion, write down your next steps and action plan before leaving work. This practice clears your mind, maintains work-life balance, and allows you to return refreshed with a clear plan the next day.

  9. 9
    Article
    Avatar of hnHacker News·1y

    freelancing: How I got clients, part 1 (5min read)

    It took the author two years to get his first freelance client, but the process gradually sped up thanks to structured methods. He outlines the importance of preparation, including having a well-crafted resume, a short verbal presentation, understanding the best times for seeking contracts, and utilizing tools like Calendly and Briskine to optimize the job search process. Essential tips include providing numerical details in resumes, practicing self-descriptions, and using dedicated communication tools to streamline interactions with potential clients.

  10. 10
    Article
    Avatar of hnHacker News·38w

    Read That F*cking Code!

    AI coding tools like Claude Code enable developers to generate working code without reading it, but this practice leads to three critical issues: architectural decay, loss of domain knowledge, and security vulnerabilities. The author advocates for two responsible approaches: fast prototyping with post-session review for peripheral features, and synchronous pair-coding for core functionality. A comprehensive checklist covers architecture consistency, security scoping, meaningful tests, documentation, error handling, and performance considerations.

  11. 11
    Article
    Avatar of hnHacker News·24w

    The (lazy) Git UI You Didn't Know You Need

    Lazygit is a terminal-based Git UI that enhances productivity through consistency, discoverability, and interactivity. The tool maintains Git CLI terminology while providing visual guidance for operations like interactive rebasing, cherry-picking, and commit patching. Its vim-style keybindings enable quick workflows (e.g., amending and force-pushing in 5 keystrokes), while interactive prompts prevent mistakes and teach better Git patterns. The TUI approach delivers speed and portability without overwhelming users, making complex operations like splitting commits or selective line resets significantly simpler than traditional CLI or GUI alternatives.

  12. 12
    Article
    Avatar of hnHacker News·33w

    MitchIvin XP

    An interactive portfolio website designed to mimic the Windows XP operating system interface, showcasing design, video, and UI work through a nostalgic desktop simulation built with HTML, CSS, and JavaScript.

  13. 13
    Article
    Avatar of hnHacker News·28w

    I'm in Vibe Code Hell

    The coding education landscape has shifted from "tutorial hell" (passive video consumption) to "vibe code hell" where learners over-rely on AI coding assistants. While students can now build projects faster with tools like Cursor and Claude, they often fail to develop deep understanding of how software works. AI tools can be valuable for learning when used as Socratic tutors rather than code generators, but the sycophantic nature of LLMs and their tendency to agree with users creates new learning challenges. Effective learning still requires discomfort and independent problem-solving, whether that means turning off tutorial videos or disabling AI autocomplete.

  14. 14
    Article
    Avatar of hnHacker News·1y

    Get the hell out of the LLM as soon as possible

    Large Language Models (LLMs) should not be used for decision-making or implementing business logic due to their poor performance in these areas. Instead, LLMs should be employed as an interface for translating user inputs into API calls, with the actual logic handled by specialized systems. This approach enhances performance, debugging, and reliability. LLMs are best utilized for tasks involving transformation, interpretation, and communication, rather than maintaining critical application state.

  15. 15
    Article
    Avatar of hnHacker News·1y

    Self Hosting Like Its 2025

    Self-hosting has become a popular alternative to using data-collecting services. The post discusses the benefits of self-hosting, highlights helpful yet lesser-known software, and provides insights into container runtimes like Docker, Podman, and Kubernetes. It also covers web-based tools for managing containers such as Portainer and Dockge, and discusses reverse proxy and VPN solutions like Pangolin and NetBird. Additionally, it references resources for finding more applications and tools to enhance the self-hosting experience.

  16. 16
    Article
    Avatar of hnHacker News·52w

    I use Zip Bombs to Protect my Server

    Traffic from bots is a major issue on the web, with many being malicious and aiming to exploit server vulnerabilities. Zip bombs can be used as a protective measure against these bots. A zip bomb is a small compressed file that expands to an enormous size, overwhelming the bot's server and causing it to crash. This method can be implemented by serving bots a deceptive file that they attempt to decompress, leading to system failures in less sophisticated bots. However, it is not foolproof and can be circumvented by more sophisticated scripts.

  17. 17
    Article
    Avatar of hnHacker News·1y

    AI 2027

    AI 2027 portrays a scenario where superhuman AI revolutionizes various industries, surpassing the impact of the Industrial Revolution. Driven by contributions from experts and extensive simulations, the forecast includes predictions about AI becoming autonomous agents in workplaces, the competitive arms race in AI development, and the geopolitical ramifications of AI advancements. The scenario includes different endings to explore potential future outcomes, emphasizing the goal of predictive accuracy rather than recommendations. OpenAI's research and experts play a pivotal role in shaping this vision, and there is a call for debate and alternative scenarios to enrich the conversation about our AI-driven future.

  18. 18
    Article
    Avatar of hnHacker News·1y

    Once You're Laid Off, You'll Never Be the Same Again

    The author shares their experience of being laid off unexpectedly, detailing the emotional impact and signs that hinted at the upcoming layoff. They discuss the broader implications on job security and trust within the modern workplace and provide advice for employees on how to prepare and protect themselves from layoffs. This includes working contract hours, continuously interviewing, and leveraging job offers for salary growth. The author also touches on the perceived myth of job security in Germany, emphasizing that layoffs can happen despite protections for individual employees.

  19. 19
    Article
    Avatar of hnHacker News·1y

    Create a map of your life with each week as a little box.

    Create a life map with each week as a box to visualize your entire life. This tool allows you to track key periods, document meaningful events, and share your life story. It helps you see your life in weeks, color-code different periods, add detailed notes, auto-add birthdays and events, export to YAML, and control privacy settings. Keep your life timeline up to date as you add new events and memories.

  20. 20
    Article
    Avatar of hnHacker News·52w

    bhvr

    bhvr is a modern and lightweight fullstack repository for building web applications using Typescript. It integrates Bun for a JavaScript runtime and toolkit, Hono for a fast web framework, Vite for frontend tooling, and React for UI components. This stack aims to provide an alternative to traditional options like Node.js, Express, and Webpack, offering speed, portability, and minimal vendor lock-in.

  21. 21
    Article
    Avatar of hnHacker News·37w

    I Tried Every Todo App and Ended Up With a .txt File

    A developer's journey through various productivity apps (Notion, Todoist, Things 3, OmniFocus, Trello) ultimately leads back to using a simple plain text file for task management. The author demonstrates how a basic todo.txt file with dated entries and simple formatting can be more effective than complex productivity systems, offering benefits like instant access, searchability, permanence, and freedom from vendor lock-in. The approach combines daily task lists with work logging, creating a living document that serves both productivity and journaling purposes.

  22. 22
    Article
    Avatar of hnHacker News·1y

    We Replaced Our React Frontend with Go and WebAssembly

    Dagger Cloud v3 features a new UI built with Go and WebAssembly, replacing the previous React-based frontend. The decision aimed to unify the codebases of the terminal UI and web UI, enhancing performance and reducing duplication. Despite challenges like the Go + WebAssembly combination's maturity and memory limitations, the team achieved a smoother, more consistent user experience. Key optimizations included reducing memory usage and ensuring better performance for large data sets. This approach is particularly beneficial for teams with a strong Go background and complex UIs.

  23. 23
    Article
    Avatar of hnHacker News·25w

    Why we migrated from Python to Node.js

    A startup rewrote their backend from Python/Django to Node.js/Express one week after launch due to Python's async limitations. The team struggled with Django's incomplete async support, colored functions problem, and the need for constant sync/async conversions. Despite losing Django's ergonomic ORM, they gained 3x throughput, unified their codebase with their existing Node worker service, and improved code maintainability. The three-day migration was driven by concerns about scalability and code quality rather than immediate load issues.

  24. 24
    Article
    Avatar of hnHacker News·32w

    Apple has a private CSS property to add Liquid Glass effects to web content

    Apple has developed a private CSS property called `-apple-visual-effect` that enables Liquid Glass effects in web content within iOS apps. The property supports various system materials including the new glass effects from iOS 26, but requires enabling a private WKPreferences setting called `useSystemAppearance`. While this feature can't be used in App Store apps due to its private nature, it suggests Apple is using webviews with native UI integration in their own applications without users realizing it.

  25. 25
    Article
    Avatar of hnHacker News·24w

    Pikaday

    Most forms don't need JavaScript date pickers. Native HTML date/time inputs handle accessibility, performance, and internationalization automatically. For better usability, consider separate inputs for day/month/year, select dropdowns for limited options, or masked inputs with validation. Complex calendar widgets lead to more errors and accessibility issues. Keep forms simple by using native browser features and basic HTML elements that are easier to use and test.