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

I recently picked up writing short stories again. I briefly looked at different editors, but ended up just doing it in vscode (daily driver). I'll make sure to look at cheese paper for the next one, looks like it has some cool features!

A feature that I have been dreaming about is making an editor that treats each paragraph like a unit of work, and the full text is created by linking together different paragraphs. That way you can easily try different ways without deleting any text. Sort of like nodes in a graph.

And here's my a corporate themed short story: https://dahl.dev/capacity


> making an editor

or you could come up with a notation that works in any editor. I have [1].

> That way you can easily try different ways without deleting any text.

Sorry I haven't yet read your story. Here is how I would explore alternatives with my notation. I do this when designing software/algorithms etc.

``` Elias performed at this level for about a year. He was up for a well-deserved promotion to staff engineer. I sent him a meeting invite to go through the updated leveling framework to make sure we didn't miss anything.

#{ #{ Elias declined the meeting. } #{ Elias went to the meeting but he went late.} ... }

```

[1] https://github.com/pratikdeoghare/brashtag


I'm not sure exactly what you mean by "unit of work" but I really like writing in Bike[1] for this reason, it's a hybrid text editor/outliner. It is simply my favorite rich text editor and the outliner functions provide really good affordances for organizing and reorganizing paragraphs.

[1] https://www.hogbaysoftware.com/bike/


The UX reminds me of logseq: https://logseq.com/

I would give that a try if it supported Windows/Linix.

When each paragraph is one line, you get that for free in any decent editor. Just don't add unnecessary line breaks.

The linebreaks will be added much better by any typesetting algorithm anyway. Like LaTeX.

That's it, no need to overcomplicate things with nodes that are probably the internal memory representation in the text editor anyway.


Is this deliberately borrowing from Herman Melvile's "Bartleby the Scrivener"? If so it might be worth mentioning, rather than just referring to it as "my short story", since it's a nearly identical retelling of it.

“Ah humanity!” Ya, knowing this would have shaped my own reading a lot. I wonder though, if it wasn’t intentional, if the structure came from AI which would have had this in its training data. Asking one for help with outlining a story feels pretty innocuous.

Tool you want is called Essay

> A feature that I have been dreaming about is making an editor that treats each paragraph like a unit of work, and the full text is created by linking together different paragraphs. That way you can easily try different ways without deleting any text. Sort of like nodes in a graph.

You could vibecode it. It's great for prototyping features you've been dreaming about.


Really nice! I tried out a similar thing but with tldraw as the canvas engine: https://github.com/aleda145/terminaldraw

I see Cate also uses node-pty. I didn't know what psuedo terminals were before, it's cool stuff


Nice, I just checked terminaldraw. Very similar core idea, but interesting that you used tldraw more directly as the canvas engine.

Cate is a bit broader in scope: Electron desktop app, persistent project workspaces, node-pty/xterm terminals, browser panels, Monaco editors, docs, git/worktrees, docked tabs/splits, and now agent panels as well.

PTYs were a fun rabbit hole. The basic idea is simple, but making terminals feel native inside a canvas is where it gets tricky: lifecycle, resize behavior, restoring sessions, shell fallback, scrollback, performance, and not breaking when panels are moved/docked/detached.

Cool to see someone else exploring the terminal + canvas direction too. I’ll take a closer look at your repo.


If you haven't already it may be worth looking at https://github.com/coder/ghostty-web which wraps libghostty in an xterm.js compatible wrapper, the focus for Ghostty has very much been the sort of things you're mentioning so it'll hopefully make a solid foundation.

I don't know, it is a useful signal that the person did not think deeply about their code changes, and should be treated as such.

Reminds me of 25 years ago, the default BitchX config on most distributions contained something that would crash the client with a message "I did not read the configuration".

If someone remembers what it was actually, that would really bring back memories



Same with eggdrop.

Speaking of; why the names?


Working alone, I often look at the Git Blame and wonder “Wait, did I write that or did AI write that?”

That’s why I don’t add it because I take the fucking time to read the clankers output and fix that shit.

I use the ai as a tool, it helps me as an adhd autistic person to get things done. I still care about quality as much as before!!!

I’m so tired of bad actors fucking things up for the rest of us who do things right.


It's a signal, and probably a high success signal in open source slop discovery, but it's more of a correlation than a causation. I've seen lots of changes that bear the co-authored tag that have had a lot of thought behind the code changes.

You are responsible, it doesn't matter if a LLM wrote it. Sometimes someone will touch my code and I got wish git blame still had my name. (That is they fixed the spelling of some variables - I'm a bad speller but know the codes are better)

Oh so lobbying the EU comission to both slash CO2 targets and adding tolls to chinese EV cars did not actually make German auto manufacturers more competitive. Who would have thunk?

Yes I'm bitter how much influence the German car companies have over the union.


You're not alone. Several times already I've gotten into internet arguments over this.

"But they provide jobs!" is the usual rebuttal.

Well, they ain't doin' that any more, are they?


>"But they provide jobs!" is the usual rebuttal. Well, they ain't doin' that any more, are they?

People who support stuff like this, are unable to think 15 minutes past their own actions. They can't comprehend the negative externalities and second order effects of the policies they support. They easily get manipulated to just blindly support feel-good policies based on own-group tribalism, platitudes and vibes, especially the German voters.

Same like the crowd who thinks rent freeze is the solution to rising rents. They don't understand supply and demand, so they can't comprehend how this will lead to a massive housing disaster down the road, they just want frozen rents for themselves now, and 'after me, the flood'. Hell, people don't even understand how inflation works, they think prices increases just come from greed of business owners, they can't fathom how currency is being devalued by massive government money printing that inflates assets and devalues their labor. This is beyond their level of understanding.

When you work public facing service jobs, you realize just how stupid the average person is, so no wonder politicians and elites can rob us blind via laws and policies implemented with our own accord, while then having us blame each other and fight over sports-ball.

Sorry if I sound overly nihilistic, but this is my conclusion after so many years of human interactions on this planet. We get the leadership and outcome we deserve, nothing more, nothing less.


Part of the problem is that there are fake “pragmatists” who claim that nothing ever comes from greed or market consolidation, making laymen who can’t mechanistically and empirically think through the markets skeptical of all “pragmatist” claims.

For example, you are right about rent freezes and protection of non-infant industry; however, there were studies showing that ~40% of inflation at the end of Biden’s term was due to “greedflation.” This should not be surprising to anyone who understands that massive consolidation in industry leads to less price competition. Moreover, there were CEOs on shareholder calls bragging how they could get away with price gouging, using inflation as an excuse to justify an order of magnitude more price hikes than inflation justified. We do not need to take their word though, as if inflation was the only cause of inflation, then firm profits should have stayed around the same book ratios, but during the time I discussed firm profits ratios increased dramatically.

So let me make a symmetry argument: why are you so angry at ignorant individuals who throw the baby out with the bath water and dismiss your valid “pragmatist” takes, when you yourself are ignorantly throwing the baby out with the bath water dismissing many valid “greed and consolidation” takes?


> there were studies showing that ~40% of inflation at the end of Biden’s term was due to “greedflation.”

Studies approved by the government show the government is not to blame for the economic situation it created, but the "greedy corporations" are to blame. OK, sure.

>This should not be surprising to anyone who understands that massive consolidation in industry leads to less price competition.

Consolidation which was only possible due to ZIRP era excessive government money printing and lack of anti-monopoly law enforcement, therefore it's the same government being the core issue as I was talking before.

> Moreover, there were CEOs on shareholder calls bragging how they could get away with price gouging, using inflation as an excuse to justify an order of magnitude more price hikes than inflation justified.

So? Of course companies would raise prices if they could. Same how employees would raise their wages, if they could consolidate their bargaining power via unions. Everyone is greedy and self serving when they can get away with it.

The government is the one paid by us who controls and enforces anti monopoly laws. Why didn't they?

>when you yourself are ignorantly throwing the baby out with the bath water dismissing many valid “greed and consolidation” takes?

Because greed is a universal human trait that applies to everyone from employees, to landlords, small business owners, doctors, car dealers, handymen and builders, etc not just corporations. They all want more money than their peers, to get ahead and provide a better future for their offspring, regardless of societal consequences to those below the pecking order.

All the issues you mentioned above, are just secondary order effect from the government's red tape and monetary policies and lack of anti monopoly enforcement. Blaming only the "greedy comparisons" as the root of all evil, is just reductionist scapegoat propaganda that's easily digestible by the simpleton midwits, supported by the government to deflect the societal consequences they're responsible of creating.

No corporation is stronger than the governments. Corporations only operate within the framework of rules created and enforced by the government. Governments control the laws, courts, police, jails and military. They can have the CEOs of the F500 up against the wall and shot for treason or locked up in jail if they wanted to. If F500 rob you and get away with it, then blame your government for enabling them to do it, because ultimately corporations are doing it legally with the approval of your government you pay taxes to.

The reason simpleton midwits always default to blaming the "greedy corporations" for everything is simple: When the government prints zero interest money and devalues your wage and purchasing power, banks and corporations are the smartest and first in line to use that free money for consolidation and stock buybacks, immediately pushing the price of assets up. But ultimately it's the government's fiscal policies enabling this. Corporations are just smarter and faster to taking advantage of the fiscal environment the government cretes. Savvy average people also take advantage of this too, by using that cheap money to go in debt to buy stocks and property to increase their net worth and then have the inflation reduce the value of their debt.

It's the working class who has no assets that gets left behind, but again, that's caused by the government devaluing their labor via money printing, not the corporations. Corporations are better and navigating the environment the government creates because they hire smart savvy well educated specialists to exploit this environment legally, whereas average people are too stupid to know how the system works, they just blame corporations and the rich.

Don't believe me? Just Google it, ChatGPT it, Gemini it, Grok it etc, they'll tell you the same thing I did.


“Pragmatists” (but really anti-pragmatist) like you always find creative ways to bring the blame back to government but then don’t take the next step of blaming the private interests that crafted those government policies.

Effectively, I could make a symmetrical argument and every time you blame the government, I can blame the private interests that primary influence government — especially since citizens united but even before then. Obviously this tactical trick you and other “pragmatists” rely on is therefore fallacious as it leads to a contradiction when you apply it evenhandedly.

I have respect for many libertarians but you are not one of them.


> I can blame the private interests that primary influence government

You always manage to say nothing of value, just accusations.

>I have respect for many libertarians but you are not one of them.

I'm not looking for your respect since you never once argued in good faith in this thread, you added no arguments to prove me wrong, just accusation in quotes. Ignore the truth, keep your head buried in the sand.


Thank you joe_mamba for your nuanced rebuttal to my pointing-out that your main tactical trick is contradictory when used evenhandedly.


Is it egress or storage that's the main cost driver?


Mostly storage. Customers upload large files and expect the original file to always be available.


WSL support too? Could be cool with a unified thing, not sure if that's even possible though.


It’s just a node app written in TypeScript. The OS specific details come from running the right shell commands.

https://github.com/prettydiff/aphorio


Still working on my SQL canvas: https://kavla.dev/

I started with this last summer. Usually I get tired of an idea, but this one is just an endless pit of things to try out.

Currently seeing how we can get an analytics agent working on the canvas. Video here: https://x.com/i/status/2053410747137266070


interesting idea!


I appreciate this part of the agent instructions: `AESTHETICS ARE VERY IMPORTANT. All apps should LOOK AMAZING and have GREAT FUNCTIONALITY!`


Thank you! Yeah, it is surprising how magic words can impact the performance of LLMs


do you actually know or are you just guessing


Funny enough we added this in awhile back when it seemed more conclusive that this does matter.

But I was curious and just did an adhoc eval.

Here's a version with the aesthetic line included

https://with-aes.vercel.app/

Here's a version without the line

https://wo-aes.vercel.app/

Everything else is the same. Will let y'all be the judge which is better.

Both where made in one-shot with this prompt:

Create a habit tracking app where users can create habits, mark daily completions, and visualize streaks. Include features for setting habit frequency (daily/weekly), viewing completion calendars, and tracking overall progress percentages.


hard to try bc with-aes has a login wall lol


Agreed. It is curious how the agent got nudged to add auth in that one.

I did another ad-hoc but this time I added "Use guest auth" to the prompt. This way you don't need to enter an email. Full prompt below

Create a habit tracking app where users can create habits, mark daily completions, and visualize streaks. Include features for setting habit frequency (daily/weekly), viewing completion calendars, and tracking overall progress percentages. Use guest auth

Aesthetic version: https://with-aes-guest-auth.vercel.app/

Non-aesthetic version: https://wo-aes-guest-auth.vercel.app/

I'd give the edge to the aesthetic one.


Trump's tweet style might be onto something.


I thought the same thing!


Mosaic is super cool!

Took me a while to grok what it's all about, I think this example really helps: https://idl.uw.edu/mosaic/examples/flights-10m.html


Appreciate you putting the entire book online!

I read parts of it a while ago when I had an idea on using webRTC data channels to pass data from databases to browser clients via a CLI. Your book made me understand that it's probably not a great fit for my use case. I just used a centralized control plane and websockets instead.

I still feel like there is something fun that we can do with webRTC data channels + zero copy Apache Arrow arraybuffers + duckdb WASM, but haven't figured it out yet


Thanks for reading it!

You can't beat Websockets :) Especially since you have so much tooling/existing stuff that works with HTTP.

I have been trying to get a website off the ground that does Datachannels + SQlite in the browser and then users sync between each other. I have gotten distracted so many times though.


Super cool! Please give me a ping if you ever launch that (my email is on my website (in my profile))


What is preventing the fun is that even though we now have IPv6 widely enough available we still can't have p2p connections in the browser without a cumbersome control plane of servers. If you could join a federation in the browser from some bootstrap IPs then I think we could have some real distributed fun.


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

Search: