News for hackers. Stuff that matters.

c_s_guy

Re:Plan Mode Is Dead on Saturday September 26, 2026 @01:43AM (#49853555)
> write down a markdown file with its plan, then review the plan using plannotator

How do I use plannotator to review an arbitrary markdown file? It always opens the Claude Code plan file for me.

Re:Vitest Browser Mode Guide on Monday December 29, 2025 @10:24PM (#46429185)
> Fast execution... despite running in a real browser, which at first might seem like it would be slow - it is actually really fast.

What makes it fast?

Re:DeepWiki – Which repo would you like to understand? on Saturday April 26, 2025 @09:51PM (#43808845)
Hi Silas!

Are there any plans to allow running DeepWiki against private non-GitHub repos (e.g. GitLab, Azure DevOps, etc) and keep the output private?

Re:Ask HN: My manager is bad. Should I care? on Monday June 17, 2024 @11:00AM (#40706266)
> someone who is good (in competence and/or in behavior) than someone who is nice

What if you're both? This makes me feel self-conscious about being "nice" and toning it down.

One of the biggest problems I run into with Web Components is how to share common CSS styles between them. I understand that goes against the idea that each web component should be encapsulated, but sometimes this is desirable.

Say you have a component library where each component depends on a base set of styles and you don't want to load duplicate styles for each component.

Is there a best practice around this yet?

Re:Optimize CSS with SAT Solving on Monday March 18, 2024 @12:32AM (#39740536)
As a starting point, Tailwind used to use PurgeCSS [0] but I'm not sure what they use now.

[0] https://purgecss.com

Re:FreeTaxUSA on Wednesday January 10, 2024 @05:52PM (#38944613)
Anyone know of a Canadian equivalent?
If Emmett will run this the same way he ran Twitch, I'm not expecting much action from him.
Re:Archived YouTube Video Finder on Saturday November 11, 2023 @01:48PM (#38233239)
Interestingly, my YouTube playlists now say "unavailable videos are hidden" so I can't get the link.
Re:An Interactive Intro to CRDTs on Wednesday October 04, 2023 @10:11AM (#37765462)
I've seen it come up often in collaborative text editors.

Also see: https://github.com/yjs/yjs

Re:TypeScript NPM Packages Done Right on Sunday September 24, 2023 @11:44AM (#37634120)
To go from .ts -> .js -> execution more quickly. Am I misunderstanding something?
There are plenty of use cases so I'm sure it varies.

For example, I often have my browser on the left side and my editor on the right. With only 50% of the width, I sometimes prefer to reclaim the horizontal space and switch back to horizontal tabs.

Re:We reduced the size of our JavaScript bundles by 33% on Wednesday August 16, 2023 @12:59PM (#37149992)
I was actually looking into building a library today with Webpack and ran into similar problems. But could you help me understand what you meant here?

> but it won't output to a standard format, even with experimental ESM output feature enabled,

Are you saying ESM is not a standard format? Or that the ESM output doesn't actually follow standard ESM? Or maybe you meant something else entirely?

Is there an equivalent article for "what happens when you load a website?"? If it's written anything like this one, it'd be super helpful and I'd love to read it!
Re:Tailwind and the Beauty of Ugly Code on Friday July 07, 2023 @12:23AM (#36627089)
I've never understood why public opinion is so polarizing on Tailwind.

Could someone with experience in both camps help me understand the tradeoffs, and offer any guidance on whether Tailwind would (not) be a good fit?

Re:Breaking Up with SVG-in-JS in 2023 on Sunday July 02, 2023 @11:38AM (#36562460)
Are there any negative impacts to accessibility with the `<use href="#icon-name" />` sprite approach?
Re:Launch HN: Moonrepo (YC W23) – Open-source build system on Wednesday February 22, 2023 @10:31AM (#34897137)
> However, it's not the taskrunner that I want.

Could you elaborate a bit on what you mean here? Is this saying Turborepo's task runner is flawed in some way?

Re:Summer Afternoon – A WebGL Experiment on Friday January 20, 2023 @09:58PM (#34463407)
Secret hints:

1. Animal on roof

2. Animal on tree

3. Large object in trees

4. Beach goer

5. Small wooden fence room

Re:It's always been you, Canvas2D on Friday March 04, 2022 @06:54PM (#30562237)
May I ask why `window.resize` is used over `matchMedia`[0] to detect DPR changes? Is one approach better than the other?

[0] https://developer.mozilla.org/en-US/docs/Web/API/Window/devi...

Re:It's always been you, Canvas2D on Friday March 04, 2022 @02:14PM (#30559066)
> Though you don't need 4 arcTo in order to make a rounded rect, you can use bezier instead (we do)

I'm pretty new to this - do you have an example of using bezier? And why is it preferred over arcTo?

Re:Where do your eyes go? on Saturday October 30, 2021 @03:50PM (#29051802)
For fighting games, here's an example of what Sako looks at. He is playing as Elena on the 2P side.

https://youtu.be/RmAwAefKZ8o?t=58

Re:Cleaning Up Git History on Sunday August 08, 2021 @02:43PM (#28109042)
I'm not experienced enough to form a strong opinion on this. Could you provide some reasons why you strongly disagree?

At first glance, it seems like a beneficial goal. If I ever need to checkout different points of history to find a breaking change, it'd be nice if I can run the code after every `git checkout`.

Re:Why I distrust Google Cloud more than than AWS or Azure on Wednesday April 21, 2021 @09:21PM (#26897546)
I had a similar problem. We wanted to get on a call to resolve it quickly, but was instead forced into an email chain where I received a reply every 3 weeks.
Re:Does Amazon make more from ads than AWS? on Saturday March 27, 2021 @10:49PM (#26607526)
I've never actually bought straight from a dealership so excuse my naivety here, but wouldn't they be better off trying to sell me the car that is best for me? Otherwise if it doesn't meet my needs, I won't be buying anything.
Re:Just Wanted to Say Thanks on Sunday December 27, 2020 @04:14PM (#25554310)
I imagine it might also cause adverse effects if someone happens to be missed.
Re:Baremetrics required a phone call to cancel on Wednesday December 23, 2020 @01:14AM (#25514932)
I've had a very similar experience with Fido Solutions a few years ago.

When I eventually gave up and called, the representative tried to convince me not to cancel by describing the various scenarios in which emergencies could happen (including my family getting hurt) and I wouldn't be reachable without the phone plan.

Re:New things in Android 11 on Tuesday September 08, 2020 @02:22PM (#24411228)
Do you have examples of where Apple is ahead? I'm currently trying to decide if I should make the switch to iOS.
Re:Chrome OS has stalled out on Friday January 03, 2020 @01:35PM (#21948846)
As in a temporary loss? It's been a while since I've used this, but I believe some of those services support an "Offline Mode". Not perfect, but it's something.