Better HN
topnewbestaskshowjobs
Log inSign up

ddanieltan

151 karma · joined Feb 9, 2023 (3y ago) · 30 submissions

Submissions

comment 5mo ago · link · parent

Tell us more! Did you create a tool to change keymaps?

comment 10mo ago · link · parent

https://tools.ddanieltan.dev/

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

comment 10mo ago · link · parent

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.

comment 1y ago · link · parent

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?

comment 1y ago · link · parent

The launch of the documentary was followed up by a live Q&A session at EuroPython: https://youtu.be/Sf2AqQ5a38Y?si=BbJywWDCMZPgjhlN

comment 1y ago · link · parent

Used to play a MUD called heroes of the lance

comment 1y ago · link · parent

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

comment 1y ago · link · parent

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

comment 1y ago · link · parent

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...)

comment 1y ago · link · parent

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.

comment 1y ago · link · parent

which part of this framework is Batman inspired?

comment 1y ago · link · parent

“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.

comment 1y ago · link · parent

Related idea to local-first: https://stephango.com/file-over-app

comment 1y ago · link · parent

my guess would be a tool like excalidraw of tldraw

comment 1y ago · link · parent

How does this compare with FastHTML?

comment 2y ago · link · parent

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.

comment 2y ago · link · parent

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.

18.

In Memory of Jake(bessstillman.substack.com ↗)

24 points · by ddanieltan · 2y ago · 1 comment

comment 2y ago · link · parent

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

comment 2y ago · link · parent

FYI: Same dev building obsplot is also building a Python version at https://github.com/juba/pyobsplot

comment 2y ago · link · parent

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.

comment 2y ago · link · parent

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?

comment 2y ago · link · parent

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!

24.

Why I Like Obsidian(ddanieltan.com ↗)

293 points · by ddanieltan · 2y ago · 368 comments

comment 3y ago · link · parent

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.

comment 3y ago · link · parent

woah! Didn't know this existed https://shell.duckdb.org, it's pretty cool!

comment 3y ago · link · parent

Yes, that's a pretty small number. I would assume that Duckdb will have >130 releases in the future.

comment 3y ago · link · parent

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?

comment 3y ago · link · parent

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.

30.

Google's Demo for Bard in Paris(arstechnica.com ↗)

1 points · by ddanieltan · 3y ago · discuss