News for hackers. Stuff that matters.

ddanieltan

Tell us more! Did you create a tool to change keymaps?
Re:Ask HN: Could you share your personal website here? on Wednesday January 14, 2026 @09:23PM (#46627212)
https://tools.ddanieltan.dev/

Inspired by @simonw, I also started building, small lightweight tools

Re:The creator of Claude Code's Claude setup on Wednesday January 07, 2026 @12:14AM (#46522859)
Absolutely shocking... Boris uses a light themed terminal?! Kidding aside, these were great tips. I am quite intrigued by the handing off of local Claude sessions to the web version. I wonder if this feature exists for the other Coding CLI agents.
Re:Next.js Is Infuriating on Tuesday September 02, 2025 @05:57AM (#45100963)
A bit of a tangent, but how do you implement the feature when I highlight text on this blog, I get an option to generate a unique link directly to what I highlighted?
Re:Python: The Documentary on Thursday August 28, 2025 @10:57PM (#45059635)
The launch of the documentary was followed up by a live Q&A session at EuroPython: https://youtu.be/Sf2AqQ5a38Y?si=BbJywWDCMZPgjhlN
Re:The Two Towers MUD on Tuesday July 08, 2025 @02:19AM (#44497571)
Used to play a MUD called heroes of the lance
I'm starting to come around to this opinion. I was originally quite bullish on FastHTML but I am starting to feel a little bit lost with all the abstraction and indirection.

I was initially attracted by the idea that I could replace the traditional HTML, CSS, Javascript , Python (backend) project entirely in Python, but it's starting to feel like the original mix of languages might have been the simplest option all along, particularly with GenAI tools

Re:Apache ECharts on Tuesday April 08, 2025 @08:38PM (#43627830)
might want to give https://pyecharts.org/#/ a try. After data manipulation in a notebook, import pyecharts and use their api to create an echart
Re:I've been using Claude Code for a couple of days on Monday March 10, 2025 @04:01AM (#43317996)
do you have a special prompt to instruct aider to log file changes in the repo's README? I've used aider in repos with a README.md but it has not done this update. (granted, i've never /add the readme into aider's context window before either...)
I don't know the price of a magic keyboard off the top of my head but I'm inclined to think that you could get a really good premium split keyboard for the price of buying 2 magic keyboards.
which part of this framework is Batman inspired?
Re:Embedding Python in Elixir, It's Fine on Tuesday February 25, 2025 @09:14AM (#43172090)
“Your scientists were so preoccupied with whether or not they could, they didn't stop to think if they should”

just kidding, this is pretty cool.

Related idea to local-first: https://stephango.com/file-over-app
my guess would be a tool like excalidraw of tldraw
Re:Htmy – Async, pure-Python rendering engine on Tuesday November 26, 2024 @11:25PM (#42252935)
How does this compare with FastHTML?
Re:What book had a big impact on you as a child or teenager? on Monday October 07, 2024 @03:03AM (#41763464)
I remember being very disappointed reading Speaker for the Dead, in that it's a total change of pace from the more "hero's journey" structure for Ender's Game, but now looking back, I really appreciate how it expanded the themes and brought a more nuanced flavour to the whole series.

And yes... I try to separate the art from the artist too when it comes to OSC.

Re:In Memory of Jake on Tuesday August 13, 2024 @06:57AM (#41234220)
I was deeply moved by Jake Seliger's last post on HN frontpage (https://jakeseliger.com/2024/08/04/starting-hospice-the-end/) so I thought Jake's wife's post here was worth sharing.
Re:Vega-Altair: Declarative Visualization in Python on Monday February 26, 2024 @12:01AM (#39507850)
Like many, I was a big fan of ggplot2 from R, so coming into Python, I've always been searching for an equivalent graphical library. I used to be put off by Altair's famous

    MaxRowsError: The number of rows in your dataset is greater than the maximum allowed (5000).
but ever since the Vegafusion companion library came unto the scene, I'm back using Altair.

Overall, it's my preferred Python viz library although I do wish there was a better way for the Python library to better use introspection. After all, rather than

   alt.Chart(df).mark_line.encode(x="abc:Q")
to provide the information that abc is a quantitative variable, I'd much rather the library be able to introspect the df object, column abc to derive the data type and make the inference the column is quantitative.

That said, I'm already used to the extra syntax so still feel confident in using this library daily.

[1] https://vegafusion.io/index.html

Re:Observable 2.0, a static site generator for data apps on Thursday February 15, 2024 @09:17PM (#39392301)
FYI: Same dev building obsplot is also building a Python version at https://github.com/juba/pyobsplot
Re:Uv: Python packaging in Rust on Thursday February 15, 2024 @09:11PM (#39392263)
Any plans to adopt Rye's approach of using standard Python builds to cover the installing of different Python versions?

I feel uv should provide a way to install different python versions to truly cover an end-to-end tool. The current approach of searching for existing virtualenvs of conda envs helps but I was hoping to completely remove the need for another package/dependency manager.

(Taken from the docs)

  If a --python-version is provided to pip compile (e.g., --python-version=3.7), uv will search for a Python interpreter matching that version in the following order:

  - An activated virtual environment based on the VIRTUAL_ENV environment variable.

  - An activated Conda environment based on the CONDA_PREFIX environment variable.

  - A virtual environment at .venv in the current directory, or in the nearest parent directory.

  - The Python interpreter available as, e.g., python3.7 on macOS and Linux. On Windows, uv will use the same mechanism as py --list-paths to discover all available Python interpreters, and will select the first interpreter matching the requested version.

  - The Python interpreter available as python3 on macOS and Linux, or python.exe on Windows.
Re:Observable 2.0, a static site generator for data apps on Thursday February 15, 2024 @12:53PM (#39385869)
I'm super excited to try this out! Couple of questions since I see @mbostock active in the comments.

1. Is the flexibility of languages used in data loaders/backend going to eventually come to the front end/ui? Or will the paradigm always be bring-your-own-language for the data loading but build your dashboard with observablejs/observable plot?

2. Considering ObservableJS is supported by Quarto, can we look forward to Observable Framework integrated with Quarto too? Or is the fact that the latest Quarto version also featured Dashboards more of a competitor to Framework?

3. Saw some comparison to Evidence.dev in the comments. I saw some shades of similarity with the markdown focused dev experience too but I recall Evidence chose Apache Echarts for their main charting library. Any thoughts of the pros/cons of Echarts vs ObservableJS/Plot?

Re:Why I Like Obsidian on Wednesday January 17, 2024 @09:58AM (#39028576)
OP here. Absolutely! I didn't want to go too in-depth into plugins because I wanted to emphasise Obsidian's basic features but DataView is also a plugin that I love!
Re:My Unhealthy Relationship with Keyboards ⌨ on Wednesday September 27, 2023 @11:42AM (#37676343)
I've been very happy with my Keychron K3 pro so far. I'm quite surprised there aren't more options for low profile mechanical keyboards (besides Keychron and Nuphy) as I always though the portability of a keyboard as 1 of the most important features for modern day usage and commuting.
Re:DuckDB 0.9.0 on Wednesday September 27, 2023 @08:57AM (#37673965)
woah! Didn't know this existed https://shell.duckdb.org, it's pretty cool!
Re:DuckDB 0.9.0 on Tuesday September 26, 2023 @09:42PM (#37668703)
Yes, that's a pretty small number. I would assume that Duckdb will have >130 releases in the future.
Re:DuckDB 0.9.0 on Tuesday September 26, 2023 @11:17AM (#37660621)
Just realised DuckDB names each of their releases after different species of ducks. This probably reveals how little I know of duck species but aren't they going to run out of names for future releases pretty soon? How many duck species are there?
Re:Reading thermometer temperatures over time from a video on Wednesday April 05, 2023 @09:56PM (#35463146)
Although the comment section has some critique for the exact methodology used, I quite like this. To me, it's a very real example of how ChatGPT speeds up a personal project to solve a niche problem.

Older »