HN user

paustint

55 karma

meet.hn/city/us-Whitefish

Interests: Web Development, Technology, Startups

---

Posts0
Comments37
View on HN
No posts found.
TypeScript 7 14 days ago

Agree it is a pain. I have been using nx and it handles all that for you, playwright is a separate project with it's own twconfig and they all inherit from a root tsconfig.

I prefer nx for single applications and move shared code to "libraries" (I use non-buildable libs). It's pretty sweet for larger projects.

On the flip side I retrained myself to ask llm questions on my phone or computer browser search bar with the expectation of getting an llm response toy question with no desire to look at anything else.

If I truly want to search I will ignore the llm results, but I like the convenience of a quick llm search that knows "all the things". I get the answer to my question without searching multiple ad-ridden websites (since the ad provider does all the things)

I have a choice and have not moved to codex (100/mo personal + my employer pays for a subscription). I try codex here and there and it seems to go off the rails every time. I have had some good experiences with codex, but generally trying to get something big accomplished it doesn't work out.

But I may not have paid enough to get the full real experience with codex

I had a ton of issues with my Macbook pro M1 16GB, memory pressure would be in the yellow always and into red frequently which caused sound stutter and all sorts of issues.

My M1 air (I think 8GB?) had similar issues My M2 24gb was amazing - especially since it allowed dual monitors. I recently upgraded to the M4 32GB and it is my "do everything" computer and is absolutely awesome.

My personal experience with the m-series is that get as memory as possible. I do feel the M1 had issues based on the couple I owned.

EDIT: Even on 32GB my memory pressure is constantly in the yellow, but have not seen it go to red

Claude Design 3 months ago

Are you sure? I looked at my Claude usage dashboard and design has its own usage bucket not tied to anything else.

Design usage shouldn't impact code usage.

In this case, the author's NPM account was taken over, email address changed to one the attacker controls, and the package was manually published.

Since the attacker had full control of the NPM account, it is game over - the attacker can login to NPM and could, if they wanted, configure Trusted Publishing on any repo they control.

Axios IS using trusted publishing, but that didn't do anything to prevent the attack since the entire NPM account was taken over and config can be modified to allow publishing using a token.

Exact same for me - but I also use the shortcut to move windows between monitors.

I use cmd+tab and cmd+~ a ton also as I have multiple browser profiles and windows open and usually a few instances of ide with different projects.

And always close tabs with cmd+w and apps with cmd+q to avoid running apps with no visible windows.

I feel super productive with this workflow, never need to fiddle with manual resize.

When someone is screen sharing and they have a bunch of random sized windows it drives me crazy.

I recently listened to this episode from the Claude Code creator (here is the video version: https://www.youtube.com/watch?v=PQU9o_5rHC4) and it sounded like their development process was somewhat similar - he said something like their entire codebase has 100% churn every 6 months. But I would assume they have a more professional software delivery process.

I would (incorrectly) assume that a product like this would be heavily tested via AI - why not? AI should be writing all the code, so why would the humans not invest in and require extreme levels of testing since AI is really good at that?

I use https://rectangleapp.com which has been a lifesaver. I only use the following three shortcuts and disable the rest:

cmd+option+f = maximize to fill entire screen

cmd+option+ctrl+left/right = move window to other monitor on left/right

I occasionally use cmd+option+left/right if I need to have two windows side-by-side on the same monitor.

MacOS window sizes have always felt weird to me - no easy way to maximize without making it go into full screen mode.

As I was writing this, I just realized that hovering on the green traffic light shows a menu to choose some window placement options.... not sure how I never realized this before, but even the "maximize" option there doesn't go all the way to the edges - weird.

GPT-5.2-Codex 7 months ago

The one time I was impressed with codex was when I was adding translations in a bunch of languages for a business document generation service. I used claude to do the initial work and cross checked with codex.

The codex agent ran for a long time and created and executed a bunch of python scripts (according to the output thinking text) to compare the translations and found a number of possible issues. I am not sure where the scripts were stored or executed, our project doesn't use python.

Then I fed the output of the issues codex found to claude for a second "opinion". Claude said that the feedback was obviously from someone that knew the native language very well and agreed with all the feedback.

I was really surprised at how long Codex was thinking and analyzing - probably 10 minutes. (This was ~1+mo ago, I don't recall exactly what model)

Claude is pretty decent IMO - amp code is better, but seems to burn through money pretty quick.

Cursor 1.7 10 months ago

The native vs code extension experience was just released a couple days ago, it is no longer a terminal wrapper.

Just use react.... That's what I do - it is so much easier than trying to fight with Next.js.

I have a large application and I use next.js for the landing pages (landing, tos, privacy, blog, login, etc..) - but for the core application after login, I just use vanilla react with react router. For me I keep these as separate applications as I don't want to load the entire app just for the landing page or login box.

Every time I need to work in the nextjs part of the app I always run into problems and have to read the docs and troubleshoot, sift through which part of the docs apply to my setup versus the app router.

If your entire application needs to be indexed as a static site (e.g. content based versus a web application), then vanilla react isn't a good fit - so it depends on your needs.

Unrelated - but shout out to https://nx.dev. I always prefer using this for all of my projects - made it super easy to have my node backend, react frontend, nextjs landing page, chrome extension, cron jobs, etc.. all in the same codebase where I can share code between all of them via non-publishable libraries.

We have been using Jam on our team for a long time (~2 years) and it is awesome! Everyone on our team is posting jam videos to report bugs, explain and walkthrough issues, add a demo on every PR with a demo of what frontend changes are included in the ticket so that QA can get a jump start on understanding the scope of what to test.

I normally just record the jam and get a link and paste it wherever, but I love the ability to have Jam create jira tickets for me. And THANK YOU for making it easy to choose the sprint! the Slack Atlassian plugin makes it impossible to find the sprint and shows all the closed sprints that cannot be used for new tickets.

Really an awesome tool. I have been using it to report bugs for any random open source project I am working on.

Seriously.... My 16gb MacBook pro M1 work machine runs out of memory constantly. I had a MacBook air 8gb and it was useless, it would freeze constantly and have crackly audio. I found that 24GB ram is really the minimum that is usable on M-series when doing any type of basic work.

Likely an output of so many electron based apps which are memory hungry, but if the memory is supposedly "really fast" then I would expect better performance. Never had the issue with Intel.

But with a nice bit or memory, the performance is really nice.

At one point in the article there is a photograph of a chair in the uber hallway and a caption indicating that the couch in the picture (or one similar to it) was where most of the work was done for this project.

WASM is not just a browser technology, it can be (and is heavily) used for edge and servers.

I can write code once and run on many runtimes across many different programming languages.

I think the server use-cases are actually more compelling than the browser use-cases.

For example, Fastly's edge compute supports running WASM code at the edge. Similar to lambda, but in the language of your choice and with great sandboxing qualities baked in.

I have no idea about answers to your question, and this may not be useful at all to you, but find I am very productive using spectacle[0] for window sizing and multi-monitor window arrangement.

cmd+tab to change applications (like on every OS), but also cmd+~ on macos to change windows within active application (e.x. cycle through all web browser windows)

I don't use multi workspaces at all, so sorry if this comment isn't useful, but thought I would throw it out there just in case.

[0]https://www.spectacleapp.com/