Latest Tech News

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

Filtered by: code Clear Filter

How I used ChatGPT to quickly fix a critical open-source plugin - without touching a line of code

PM Images / Getty Images I am not a morning person, yet my alarm goes off at 5:30 am every day. This is because the editorial team I work with is on the East Coast, and I'm in Oregon. I do a quick check of email and Slack to make sure nothing is on fire, then settle down to a relaxed first cup of coffee. Once caffeinated, I'm fairly gruntled. Unfortunately, one day in early June, my website was, at least figuratively, on fire. My hosting provider sent me a notice telling me that one of the plu

Topics: ai code plugin site spam

Showh HN: Microjax - Jax in two classes and six functions

Microjax: JAX in two classes and six functions or Read on Github (I recommend actually running the notebook, either on your own computer or Colab). This is inspired by Andrej Karpathy's Micrograd, a PyTorch-like library in about 150 lines of code. Despite PyTorch's popularity, I prefer the way JAX works because it a more functional style. This tutorial borrows heavily from Matthew J Johnson's great 2017 presentation on the predecessor to JAX, autograd: Video / Slides / Code. My main contribut

When Figma starts designing us

I first encountered Figma in 2013, when Dylan Field demoed an early prototype to me at O’Reilly’s Foo Camp. I remember the pen tool feeling surprisingly elegant, but I missed the bigger picture: the radical implications of a design tool that ran in the browser. A decade later, Figma is a core part of our creative process, and without it, we wouldn't have been able to build a fully remote design practice. That’s probably why Dylan is a near-billionaire and I’m not. However, over the course of th

Opencode: AI coding agent, built for the terminal

AI coding agent, built for the terminal. Installation # YOLO curl -fsSL https://opencode.ai/install | bash # Package managers npm i -g opencode-ai@latest # or bun/pnpm/yarn brew install sst/tap/opencode # macOS paru -S opencode-bin # Arch Linux Note: Remove versions older than 0.1.x before installing Documentation For more info on how to configure opencode head over to our docs. Contributing For any new features we'd appreciate it if you could open an issue first to discuss what you'd lik

Topics: ai bun new opencode run

Building a Mac app with Claude code

I recently shipped Context, a native macOS app for debugging MCP servers. The goal was to build a useful developer tool that feels at home on the platform, powered by Apple's SwiftUI framework. I've been building software for the Mac since 2008, but this time was different: Context was almost 100% built by Claude Code1. There is still skill and iteration involved in helping Claude build software, but of the 20,000 lines of code in this project, I estimate that I wrote less than 1,000 lines by ha

Nothing's untestable

Vidhi Katkoria Technical Writer Nothing's untestable As the co-founder of HashiCorp, Mitchell has been instrumental in the development of tools that many of us use daily, like Vagrant, Terraform, Vault, and more. He also helped shape the initial testing strategies for them, gaining hard-won insights into testing complex software along the way. At BugBash, where everyone is a testing nerd (or at least wants to be), most of us have come across that one piece of code that cannot be tested. What d

Injection Rejection (2006)

Matthias Winkelmann's company decided to go the ole' outsourcing route and hand off all development work for a fixed-bid project to a certain overseas company. As it turned out, the hourly rate for certain overseas programmers were less than half that of the in-house folks, so management did the math and figured they could profit that much more. The in-house programmers were told to spend "only a little bit of time" on the project -- no technical advice, no coding assistance, and no even lookin

Gecode is an open source C++ toolkit for developing constraint-based systems (2019)

2019-09-10 MPG Sources on GitHub The sources for Modeling and Programming with Gecode are now available on GitHub. 2019-04-12 Gecode 6.2.0 Gecode 6.2.0 has been released on April 12th, 2019 (Changelog). 2019-02-14 Gecode 6.1.1 Gecode 6.1.1 has been released on February 14th, 2019 (Changelog). 2018-10-19 Gecode 6.1.0 Gecode 6.1.0 has been released on October 19th, 2018 (Changelog).

Gecode is an open source C++ toolkit for developing constraint-based systems

2019-09-10 MPG Sources on GitHub The sources for Modeling and Programming with Gecode are now available on GitHub. 2019-04-12 Gecode 6.2.0 Gecode 6.2.0 has been released on April 12th, 2019 (Changelog). 2019-02-14 Gecode 6.1.1 Gecode 6.1.1 has been released on February 14th, 2019 (Changelog). 2018-10-19 Gecode 6.1.0 Gecode 6.1.0 has been released on October 19th, 2018 (Changelog).

Show HN: Flint – Write code your way while ensuring remote consistency

Write code your way while ensuring remote consistency. Flint empowers developers to use their personal style and formatting preferences locally, while maintaining a consistent remote codebase. By integrating with Git, Flint automatically formats code during pull and push operations. This approach prevents commits from being cluttered with formatting changes, making code reviews cleaner and collaboration smoother. Note Flint is currently in alpha. Contributions are warmly welcomed. Table of Co

Apple just released a weirdly interesting coding language model

Apple quietly dropped a new AI model on Hugging Face with an interesting twist. Instead of writing code like traditional LLMs generate text (left to right, top to bottom), it can also write out of order, and improve multiple chunks at once. The result is faster code generation, at a performance that rivals top open-source coding models. Here’s how it works. The nerdy bits Here are some (overly simplified, in the name of efficiency) concepts that are important to understand before we can move

DRM Panic QR code generator

This is a simple QR code generator, to display the panic data as a QR code. It is specific to the DRM panic use case, and supports only some parts of the QR code specification. Kernel panic traces are usually displayed on the screen, but then it's hard to copy and paste them to a bug report, so that a developer can take a look, and fix the bug. As QR code are now widespread, using that allows to easily copy and paste the panic traces in a bug report, which makes debugging much easier for both

WASM Agents: AI agents running in the browser

One of the main barriers to a wider adoption of open-source agents is the dependency on extra tools and frameworks that need to be installed before the agents can be run. In this post, we show how to write agents as HTML files, which can just be opened and run in a browser. One of the main barriers to a wider adoption and experimentation with open-source agents is the dependency on extra tools and frameworks that need to be installed before the agents can be run. In this post, we introduce the

Locality of Behaviour (2020)

Locality of Behaviour (LoB) Carson Gross May 29, 2020 “The primary feature for easy maintenance is locality: Locality is that characteristic of source code that enables a programmer to understand that source by looking at only a small portion of it.” – Richard Gabriel Locality of Behaviour is the principle that: The behaviour of a unit of code should be as obvious as possible by looking only at that unit of code The LoB principle is a simple prescriptive formulation of the quoted statement

Introducing tmux-rs

3 July 2025 Introducing tmux-rs by Collin Richards For the 6 months or so I’ve been quietly porting tmux from C to Rust. I’ve recently reached a big milestone: the code base is now 100% (unsafe) Rust. I’d like to share the process of porting the original codebase from ~67,000 lines of C code to ~81,000 lines of Rust (excluding comments and empty lines). You might be asking: why did you rewrite tmux in Rust? And yeah, I don’t really have a good reason. It’s a hobby project. Like gardening, but

Topics: code like mut rust unsafe

Spending Too Much Money on a Coding Agent

On making use of large thinking models. For a year, I’d been coding almost every day with Cursor and Claude Sonnet. Anthropic’s 3.5 and 3.7 Sonnet each rightly earned their dominant place on the programming model charts: they were the least-bad coding models yet. In the earliest days of LLMs, there was tremendous interest in ever-larger model releases. Hype around bigger, slower models has since waned, as Claude 3 Opus, GPT 4.5, and OpenAI o1 – all large and technically impressive model releas

Visible Promo Code: Save Up to $300 in July 2025

Visible offers access to Verizon’s network in two unlimited plans for as low as $25 per month, with unlimited data, talk and text using Verizon’s 5G & 4G LTE networks, and unlimited talk and text to Mexico and Canada. Buying a new phone and signing up for a new phone contract can be super overwhelming—with all of the options available, confusing contract terms, and hidden fees making things more complicated. Visible makes it easy to save even more on their already affordable plans, and you can e

Tools: Code Is All You Need

Tools: Code Is All You Need If you've been following me on Twitter, you know I'm not a big fan of MCP right now. It's not that I dislike the idea; I just haven't found it to work as advertised. In my view, MCP suffers from two major flaws: It isn’t truly composable. Most composition happens through inference. It demands too much context. You must supply significant upfront input, and every tool invocation consumes even more context than simply writing and running code. A quick experiment make

Max, a Real Programmer

The Story of Max, a Real Programmer Sun 29 June 2025 This is a story about Imagebin. Imagebin is the longest-lived software project that I still maintain. I'm the only user. I use it to host images, mainly to include in my blog, sometimes for sharing in other places. Imagebin's oldest changelog entry is dated May 2010, but I know it had already existed for about a year before I had the idea of keeping a changelog. Here's an image hosted by Imagebin: For years Imagebin was wide open to the pu

Topics: code err file just max

Writing Code Was Never the Bottleneck

For years, I’ve felt that writing lines of code was never the bottleneck in software engineering. The actual bottlenecks were, and still are, code reviews, knowledge transfer through mentoring and pairing, testing, debugging, and the human overhead of coordination and communication. All of this wrapped inside the labyrinth of tickets, planning meetings, and agile rituals. These processes, meant to drive quality, often slow us down more than the act of writing code itself because they require t

LLMs as Compilers

LLMs as compilers 7/2/2025 by Kadhir So far, I've only used LLMs as an assistant, where I'm doing something, and an LLM helps me along the way. Code autocomplete feels like a great example of how useful it can be when it gets it right. I don't doubt that over time this will improve, but I'm excited to see a more significant transition from this assistant mode to a compiler mode, at least for coding. It will be exciting when we focus solely on the context we fed the LLM, then test the features

Transform 2025: Why observability is critical for AI agent ecosystems

The autonomous software revolution is coming. At Transform 2025, Ashan Willy, CEO of New Relic and Sam Witteveen, CEO and co-founder of Red Dragon AI, talked about how they’re instrumenting agentic systems for measurable ROI and charting the infrastructure roadmap to maximize agentic AI. New Relic provides observability to customers by capturing and correlating application, log, and infrastructure telemetry in real time. Observability goes beyond monitoring — it’s about equipping teams with the

Grok 4 spotted ahead of launch with special coding features

Elon Musk-funded xAI is skipping Grok 3.5 and releasing Grok 4 after Independence Day in the United States, and it could be the best model from the company. Grok 3.5 was originally supposed to be a huge leap from the previous models, but xAI later made several changes to the training model, and that warranted a new version. As spotted by testers on X and confirmed independently by BleepingComputer, xAI Console, which allows developers to access the Grok API, now has references to Grok 4 availa

Code-GUI bidirectional editing via LSP

I built a small proof-of-concept for a system that enables real-time bidirectional editing between any modern code editor and a GUI, enabled by an LSP server. Code-based CAD I like working on small projects at home that benefit from CAD. I’m also a programmer with a personal development environment that I’ve spent years making as cozy as possible. Naturally I’ve been interested in finding code-based CAD system to use for my projects that allows me to use that cozy development environment. I r

Mandelbrot in x86 Assembly by Claude

Mandelbrot in x86 assembly by Claude. Inspired by a tweet asking if Claude knew x86 assembly, I decided to run a bit of an experiment. I prompted Claude Sonnet 4: Write me an ascii art mandelbrot fractal generator in x86 assembly And got back code that looked... like assembly code I guess? So I copied some jargon out of that response and asked: I have some code written for x86-64 assembly using NASM syntax, targeting Linux (using system calls for output). How can I run that on my Mac? That

20% Off HP Coupon Code | July 2025

If you don't know where to start—and use—your HP coupon code, there’s a wide variety of options available at HP.com in terms of budget and use case, but my eye goes first to the high-end HP Omen gaming monitors, like the fantastic HP Omen Transcend 32. This 4K 240Hz monitor is a favorite among PC gamers, even among the huge amounts of OLED options out there. It can hit a peak brightness of over 1,000 nits in HDR, bringing scenes in games to life in vivid detail. Or if you’re on the other side o

Topics: code discount hp pc promo

Building a Personal AI Factory

Building a Personal AI Factory (July 2025 snapshot) Published: July 1, 2025 Overview I keep several claude code windows open, each on its own git-worktree. o3 and sonnet 4 create plans, sonnet 3.7 or sonnet 4 execute the plan, and o3 checks the results against the original ask. Any issues found are fed back into the plan template and the code is regenerated. The factory improves itself. Read on to see what might be useful for you. Guiding Principle – Fix Inputs, Not Outputs When something

Microsoft open-sources VS Code Copilot Chat extension on GitHub

Microsoft has released the source code for the GitHub Copilot Chat extension for VS Code under the MIT license. This provides the community access to the full implementation of the chat-based coding assistant, including the implementation of “agent mode,” what contextual data is sent to large language models (LLMs), and the design of system prompts. The GitHub repository hosting the code also details telemetry collection mechanisms, addressing long-standing questions about data transparency in

Code⇄GUI bidirectional editing via LSP

I built a small proof-of-concept for a system that enables real-time bidirectional editing between any modern code editor and a GUI, enabled by an LSP server. Code-based CAD I like working on small projects at home that benefit from CAD. I’m also a programmer with a personal development environment that I’ve spent years making as cozy as possible. Naturally I’ve been interested in finding code-based CAD system to use for my projects that allows me to use that cozy development environment. I r

Embabel Agent Framework for the JVM

Embabel Agent Framework Embabel (Em-BAY-bel) is a framework for authoring agentic flows on the JVM that seamlessly mix LLM-prompted interactions with code and domain models. Supports intelligent path finding towards goals. Written in Kotlin but offers a natural usage model from Java. From the creator of Spring. Key Concepts Models agentic flows in terms of: Actions : Steps an agent takes : Steps an agent takes Goals : What an agent is trying to achieve : What an agent is trying to achieve