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

Ask LLM to write a 50 LOC program to convert directory of markdown files to directory of html files using pandoc.

This actually might be the "correct" solution these days. Pre-LLMs I wrote myself a python script to that converts markdown to html with custom headers and footers and rest of the junk, but today I would for sure give LLM a go first and see if what it produces.

Having done a fair amount of LLM webpage generation, it does an okay job, but repeats a lot of "best practices" that are a few years out of date. Specifically around meta tags.

If I were doing this, I would have it do Deep Research or similar on the most minimal, efficient set of tags to include in the `head` tag in late 2025.

It's possible you can get away with a bunch of .md files, but you will need a file to store site-wide metadata and/or YAML "front matter" in the MD to define page-specific variables.


Interesting. I write messages in Teams about the same way I write emails. Some people prefer splitting each sentence in a separate message, some keep the whole body as one.

Email just nudges to send whole body at once because it usually doesn't have a synchronous chat UI.


I run a home server but it is a single post-lease Dell mini PC I got for $50. The only times it goes above 5% CPU/GPU usage is when I'm building a project to deploy or transcode video.

I'm sure nobody needs this much compute for personal use (24/7), so roadster in a garage is a good analogy.


In the age of abundance, smart prioritization is needed.

What is wrong with plastic there? I think possible lack of grounding and messy power cabling are bigger hazards.

I think plenty of folks just have a vague understanding of electrical codes and say stuff like that to impress others.

Generally speaking, you're just not supposed to do permanent electrical wiring with extension cords and power strips, especially not for stuff that goes into or through walls. This has nothing to do with plastic - you have plenty of plastic in electrical boxes, outlets, PVC conduit, etc. Cable insulation is plastic too.

The electrical code doesn't want you to put extension cords in the wall mostly to make sure that the connections can't come apart, that the comparatively softer and more delicate wires aren't easily crushed or abraded, and so on.

This project definitely isn't done the way you should do it if you had a real budget dedicated to it. Is it a death trap? Meh, I've seen far worse extension-cord contraptions in US homes.


Two things come to mind: 1) if any arcing occurs, a metal enclosure will shunt to ground and (hopefully) trip a breaker; 2) in the event of an overload, plastic melts which might result in a fire.

That's a great trick. I often leave myself a TODO in a source code. But as a plain text, not as a syntactically valid comment. With this project won't compile and on the next day is obvious where I ended up.

I'll just delete what I wrote and forget about. It also doesn't work with python. Can someone make a todo app that forces you to see it? I feel like it's already done.

If you'll just delete it anyway, i don't think any amount of tooling would help you with that

That's actually a good idea.

I actually hate leaving something not compiling in the evening, it feels like things are unfinished, but it helps getting back into it. I tend to use this more when taking a break for an hour or two. But it is effective.

However leaving an intentionally broken comment sounds like a good way to get the sense of completion for the day, but have the compiler focus your attention on where you left off!


Expand.

LLMs are amazing at familiarity problems like this. The downside is that the answer has to be present in the training data.

From another angle, user doesn't need 80% of your application. This is a key to keep software simple, fast, and convenient to use. The downside (for some) is that because every users's needs are different, software needs to be tweaked and compiled by the end user.

Notable example of this approach is suckless' programs[1] such as dwm, dmenu, and st.

I also took this philosophy and wrote hat - a hackable text editor[2]. Mostly because tweaking neovim was not a pleasant experience and took more steps than it should.

[1]: https://suckless.org/

[2]: https://github.com/ivanjermakov/hat


> One daily update: We publish once per day around noon UTC, creating a natural endpoint to news consumption. This is a deliberate design choice that turns news from an endless habit into a contained ritual.

I might not agree with all decisions Kagi makes, but this is gold. Endless scrolling is a big indicator that you're a consumer not a customer.


> Endless scrolling is a big indicator that you're a consumer not a customer.

Someone recently highlighted the shift from social networks to social media in a way I'd never thought about:

>> The shift from social networks to social media was subtle, and insidious. Social networks, systems where you talk to your friends, are okay (probably). Social media, where you consume content selected by an algorithm, is not. (immibis https://news.ycombinator.com/item?id=45403867)

Specifically, in the same way that insufficient supply of mortgage securities (there's a finite number of mortgages) led to synthetic CDOs [0] in order to artificially boost supply of something there was a market for.

Social media and 24/7 news (read: shoving content from strangers into your eyeballs) are the synthetic CDOs of content, with about the same underlying utility.

There is in fact a finite amount of individually useful content per unit of time.

[0] If you want the Michael Lewis-esque primer on CDOs https://m.youtube.com/watch?v=A25EUhZGBws


> Social media and 24/7 news (read: shoving content from strangers into your eyeballs) is the synthetic CDO of content, with about the same underlying utility.

This is a great way to put it. Much of the social media content is a derivative/synthetic representation of actual engagement. Content creators and influencers can make us "feel" like we have a connection to them (eg: "get ready with me!" type videos), but it's not the same as genuine connection or communication with people.


Parasocial relationships have always been a thing. People felt like they 'knew' celebrities and would commit weird acts of stalking or violence when that worldview was shattered.

but now it's ABSOLUTELY EVERYWHERE and almost completely socially acceptable. In fact, people look at you weird if you don't have a favorite youtuber or what-have-you.

It's not healthy. Not healthy one bit. Whereas it used to be for 'others' (meaning rich and famous people who lived lives we could never hope for), parasocial relationships tend to be focused on people who are 'just like us' now. There's probably something in there to be studied.


CDO = collateralized debt obligation.

Please expand obscure acronyms, not everyone lives in your niche.


There's literally a link to an explanation.

I agree but I also would like to see yesterday's news. 12 articles is a little to few for me. I would like to come back every couple of days and review what happened.

This is one of the big reasons I've gravitated towards a reverse-chronological feed that takes you from the past to the present -- at some point you hit a natural end, which is a natural prompt to go do something else. I've picked up Reeder[0] as a feed reader, since it can aggregate a bunch of sources (chiefly RSS, but also Mastodon, BlueSky, reddit, etc) and presents it in such a timeline without pressure to read everything.

[0] https://reederapp.com


I am seeing this app mentioned after years. When did this one move to subscription model - it was a one time paid app? Found it - it's also available as Reeder Classic on mac app store.

Anyway, there's this https://netnewswire.com - https://github.com/Ranchero-Software/NetNewsWire (mac native) if someone is looking for an open source alt.


The one-time payment app and NetNewsWire (both excellent RSS readers themselves!) take a different approach than the subscription-only version of Reeder: they treat RSS more like email (with an emphasis on reading everything, or at least marking it as read).

About a year ago I switched my news reading habits.

Now I just read the news on a Sunday (unless I'm doing something much more exciting). For the remainder of the week I don't read the news at all. It's the way my grandad used to read the news when he was a farmer.

I've found it to be a convenient format. It let's you stay informed, while it gives enough of a gap for news stories to develop and mature (unless they happen the day before). There's less speculation and rumours, and more established details, and it has reduced my day-to-day stress.

Annoyingly I still hear news from people around me, but I try to tune it out in the moment. I can't believe I used to consume news differently and it baffles me why I hear of people reading/watching/listening to the news 10+ times per day, including first thing when they awaken and last thing before they sleep. Our brains were not designed for this sort of thing.


I am not so sure. It currently highlights a story from Munich, and in addition to a few factual errors, the information is simply outdated; there have been numerous new relevant developments. (I also don't understand the selection of sources. Aljazeera? rt.com? South China Morning Post? As if there weren't enough sources of original reporting right from Germany.)

I would agree that a single daily news update is useful (and healthy), but this must also be reflected in the choice of topics and the type of reporting.


With time you just feel what kinds of problems it is able to solve. Similar to how all of us have a feeling for "good code" just by looking at it.

Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10

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

Search: