Hacker Newsnew | past | comments | ask | show | jobs | submit | ddanieltan's commentslogin

https://tools.ddanieltan.dev/

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


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.


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?


Each paragraph/element has a unique ID, starting at 0, incrementing by 1. You originally land at the page https://blog.meca.sh/3lxoty3shjc2z . When you create a link, you're linking instead to a different page at https://blog.meca.sh/3lxoty3shjc2z/l-quote/64_25-65_174#64 . The format of the extra link metadata is `64_25-65_174#64`, which means:

- Start the highlight on the 64th element/paragraph. Inside of that paragraph, start from the 25th character.

- End the highlight on the 65th element. Inside of that element, end at the 174th character.

- Scroll the user to element #64 on page load.

They've then got some code on the page to add a highlighted span starting and ending at those points.

If the site maintainer is here: For me, the links are currently broken, as they should link to https://blog.meca.sh/3lxoty3shjc2z/l-quote/64_25-65_174#64, but currently link to https://blog.meca.sh/3lxoty3shjc2z/l-quote/64_25-65_174#64_2..., and `64_25` isn't a valid id on page-load.


Ok, I think I can reproduce it by starting the selection from the end of the previous line.

I've reported the issue here: https://github.com/hyperlink-academy/leaflet/issues/196


The blog itself is build on leaflet.pub.

I'll take a look and file an issue.


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


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


Actually the abstractions are much thinner than with something like NextJS imo. It all comes down to what you are comfortable with. If you learned web dev in the React era, this approach feels very odd, but if you come from something like Ruby on Rails, this actually quite intuitive and not a lot of abstraction (see Jeremy‘s comment in this thread).

I personally like to stay with normal HTML and FrankenUI instead FastHTML instead of MonsterUI tho.


While I sort of agree with your and the parent post (I have always liked Flask with simple Janga templates) I just put a task on my personal schedule to try a project with FastHTML and MonsterUI. A long time ago I found studying JH’s abstractions for deep learning very useful, even though I did all my real work in TensorFlow. It will probably be the same with FastHTML and MonsterUI: I am likely to just use it for one fun project, but I am sure to learn a few things. And, I might use it long term. A no-lose situation because I am retired and my time is my own.


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


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


Take a loot at conventions.md in aider.chat documentation


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.


It's the opposite.

Magic keyboards are $100 new. Or $30-40 on eBay used.

Split keyboards are more. They're niche so they're more expensive.


which part of this framework is Batman inspired?


It'll be orphaned as a child.


BAM! BONK! POW! BLAP!


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: