HNHacker News
TopNewBestAskShowJobs

wilkystyle

1,756 karma · joined February 28, 2014

https://onebadbit.com
submissionscomments
wilkystyle··on OpenClaw Creator Spent $1.3M on OpenAI Tokens in 30 Days
Was already astounded that after decades of universally agreeing that number of lines of code is a terrible metric for software engineering productivity, devs are now using it as the proof that agentic software development is the future. Can't wrap my head around how lighting money on fire is now apparently something to maximize [0].

[0] https://old.reddit.com/r/ProgrammerHumor/comments/1teswot/pe...

wilkystyle··on Lessons for Agentic Coding: What should we do when code is cheap?
I think you missed the point of the person you are replying to.
wilkystyle··on Utah to hold websites liable for users who mask their location with VPNs
"Utah to hold Cloud providers liable for failing to police self-hosted VPNs on their infrastructure"
wilkystyle··on Do_not_track
Not the person you are replying to, but I had the same thought come to mind. Every library and app seems to have its own way of disabling telemetry. In order for a unified way to actually result in unification, everyone has to sign onto it. Otherwise you now have DO_NOT_TRACK=1 for everyone who respects it in addition to all of the existing ways for everyone who does not respect it.
wilkystyle··on Ask HN: Which is Better–Android or iOS?
I have to imagine the takeaway from comments in this thread would be a big old "it depends." Which is the best almost certainly depends on what you are looking to optimize for and which trade-offs you are willing to accept. Is a long-time iOS user who has been casually eyeing other options, I'm curious what other folks will have to say.
wilkystyle··on GAIA – Open-source framework for building AI agents that run on local hardware
Curious to hear more. My experience is limited to llama.cpp on Apple silicon so far, but have been eyeing AMD ecosystem from afar.
wilkystyle··on Cursor 3
I have personally found that I cannot context switch between thinking deeply about two separate problems and workstreams without a significant cognitive context-switching cost. If it's context-switching between things that don't require super-deep thought, it's definitely doable, but I'm still way more mentally burnt-out after an hour or two of essentially speed-running review of small PRs from a bunch of different sources.

Curious to know more about your work:

Are your agents working on tangential problems? If so, how do you ensure you're still thinking at a sufficient level of depth and capacity about each problem each agent is working on?

Or are they working on different threads of the same problem? If so, how do you keep them from stepping on each other's toes? People mention git worktrees, but that doesn't solve the conflict problem for multiple agents touching the same areas of functionality (i.e. you just move the conflict problem to the PR merge stage)

wilkystyle··on Neovim 0.12.0
At least in e.g. Emacs and sublime text, you can mark all occurrences throughout the entire file. Assuming the matches are similar enough that the same motions apply even if you can't see the cursor, you can perform those operations.

Otherwise, as a sibling comment said, incremental search/replace is your friend.

wilkystyle··on Neovim 0.12.0
dot repeat is the wrong comparison. A closer one would be macros, but even then a good multiple cursors implementation is often faster, more intuitive, and requires less cognitive overhead. One of the better examples of the usefulness of multiple cursors is from Emacs Rocks (link goes to 0:23):

https://m.youtube.com/watch?v=jNa3axo40qM&t=23s

wilkystyle··on Adults Lose Skills to AI. Children Never Build Them
This assumes that the way things are now is the way things always will be.

Right now AI is in its mainframe era (thin clients connecting to expensive compute somewhere else that you don't control), but I firmly believe that the AI version of the personal computing revolution is on the horizon. Democratized computing probably seemed pretty out of reach when all we had were mainframes, but in retrospect the progression from mainframe to personal computer to supercomputer in your pocket seems ordinary and almost expected.

I have no doubt that the technology needed to democratized personal AI will also advance in similar ways, and we will have no shortage of next generation's "640K ought to be enough for anybody."

wilkystyle··on Anatomy of the .claude/ folder
but now you can build your AI agent toolkit to work on your init file for you
wilkystyle··on White-collar AI apocalypse narrative is just another bullshit
Technology advances quickly, but the apocalypse narrative is still bullshit. The reality is much closer to what it has always been: technological advances are a way to enhance what humans can do, not replace them. Being adaptable and adopting a spirit of learning and growth is (as it always has been) a key factor in a successful career trajectory.

Through a sufficiently narrow lens, any technological advancement can be perceived as a threat. If your job was to perform calculations for your company using a microscope and calculator (computer, the job title) then the invention of the computer (the machine) was absolutely a threat to your job security. That's not to say that there aren't challenges to adapting or considerations for how to do it well, but it has always been the case that the old way is a casualty of the new way.

I am neither anti-AI nor an AI evangelist but I think a more productive viewpoint is to think about how these advancements could open the door to new opportunity. For example, democratization of learning. It has never been easier for anyone in the world with an Internet connection and a computing device to have access to a personal math tutor or nutrition coach.

wilkystyle··on Supply Chain Attack on Trivy
Of course it's a true statement, but I'm not using self-hosted runners, nor does my comment mention them.
wilkystyle··on Supply Chain Attack on Trivy
If you're getting hung up on "normal machine", what I meant is a computer in general that is not related to GitHub Actions at all.

If that's not the part of my message you're referring to, then your message seems completely orthogonal to what I posted.

wilkystyle··on GrapheneOS will remain usable by anyone without requiring personal information
Not sure why you are being downvoted, as this is a very valid conclusion for you to arrive at, individually.

To those downvoting, please note that this person did not say that nobody should switch, only that the information provided was a clear indication that it is not the right fit for them.

I, for one, greatly appreciated the detailed pro/con list in the post, as many of these would be genuine annoyances to me, and would have probably taken several months to encounter all of them.

wilkystyle··on Supply Chain Attack on Trivy
I have generally preferred to avoid using community-maintained actions as far as possible, instead installing and configuring the runners as though I would a normal machine.

This started from a desire to avoid an unknown amount of bloat and untrusted code, but also because I'm pretty tired of getting Node deprecation warnings for installing/using something that has nothing to do with JavaScript at all.

I've always installed a pinned version of Trivy of my choosing, and installed by curl | sh.

Looks like curl | sh may have saved my skin, whereas even older versions of the github action were force-pushed to install the vulnerable binary.

wilkystyle··on Astral to Join OpenAI
All of them
wilkystyle··on I beg you to follow Crocker's Rules, even if you will be rude to me
I agree with your point about human level communication and treating the recipients like they matter. I generally tend to prefer communication that is more on the blunt/direct side, but if there's one thing about communication that I've learned throughout my career, it is that the people who do best are adept at communicating well with a wide variety of people with different communication styles and preferences.

The people who try to force everyone else to fit into a specific bucket of communication style, or who refuse to deviate from their own strict communication preferences no matter the audience, those are the people I see struggle to find success relative to their peers.

wilkystyle··on Can I run AI locally?
Really appreciate this response! Glad to hear you are running Arch and liking it.

I've been a long-time Apple user (and long-time user of Linux for work + part-time for personal), but have been trying out Arch and hyprland on my decade+ old ThinkPad and have been surprised at how enjoyable the experience is. I'm thinking it might just be the tipping point for leaving Apple.

wilkystyle··on Can I run AI locally?
For me it's a combination of privacy and wanting to be able to experiment as much as I want without limits. I'd happily take something that is 80% as good as SOTA but I can run it locally 24/7. I don't think there's anything out there yet that would 100% obviate my desire to at least occasionally fall back to e.g. Claude, but I think most of it could be done locally if I had infinite tokens to throw at it.
wilkystyle··on Can I run AI locally?
What operating system are you using? I was looking at this exact machine as a potential next upgrade.
wilkystyle··on Two Years of Emacs Solo
> That means the code is sketchy sometimes, sure, but it's in my control. I wrote it, I understand it, and when it breaks, I know exactly where to look.

This resonates with me so hard. I'm not a "no external packages" purist, but there are a number of pieces of functionality that I wrote for myself because there wasn't anything quite like what I wanted.

One example is a function to expand the region (selection) to any arbitrary set of pairing delimiters that I define in a defvar (parens, quotes, brackets, or I can can supply a custom left/right regex for matching). Then, when I execute the function, it waits for a second keypress, which is the trigger key I've defined for that matching pair, and it will expand the region to the left and the right until it meets the applicable delimiter.

Repeating the same key presses results in selecting the left and right delimiters themselves, and another repeat will extend to the next set of matching delimiters, and so on.

Even though I use a treesitter-based expand-region plug-in, my custom function is still invaluable for when I want to jump past a series of valid treesitter object expansions, or when certain text objects are just not defined in treesitter.

Some of the helpful custom expansions I have defined are:

"w" to select what Vim considers a lowercase-w word

Space to select what Vim considers an uppercase-W word

"$" to select ${...}-style expressions

"/" to select everything between forward slashes

"*" to select between asterisks (useful when editing markdown)

It's really an invaluable function for me, personally, but I always talk myself out of trying to open-source it because it has some gotchas and limitations, and I just don't want to be on the hook for trying to make everyone who uses it happy.

wilkystyle··on OpenAI is walking away from expanding its Stargate data center with Oracle
Don't anthropomorphize the lawnmower.
wilkystyle··on Agent Safehouse – macOS-native sandboxing for local agents
Matchlock[0] is probably the best solution I've come across so far WRT problem 1 and 2:

> Matchlock is a CLI tool for running AI agents in ephemeral microVMs - with network allowlisting, secret injection via MITM proxy, and VM-level isolation. Your secrets never enter the VM.

In a nutshell, it solves problem #2 through a combination of a network allowlist and secret masking/injection on a per-host basis. Secrets are never actually exposed inside the sandbox. A placeholder string is used inside the sandbox, and the mitm proxy layer replaces the placeholder string with the actual secret key outside of the sandbox before sending the request along to its original destination.

Furthermore, because secrets are available to the sandbox only on a per-host basis, you can specify that you want to share OPENAI_API_KEY only with api.openai.com, and that is the only host for which the placeholder string will be replaced with the actual secret value.

edit to actually add the link

[0] https://github.com/jingkaihe/matchlock

wilkystyle··on Helix: A post-modern text editor
Curious to hear your gripes about modal editors! I'm a long time Emacs user (traditional keybindings, not evil-mode), but I also started using Vim in parallel a little over a decade ago. I feel very proficient/productive in both, regularly using many of Vim's more advanced motions and functionality. I generally love the power and composability of Vim text objects, and definitely experience the benefit of using them. But there are some times where I am doing things like many small edits within a line where rapidly changing modes for all of the edits starts to feel cumbersome.

For Emacs, I use multiple cursors and a treesitter-based plug-in for incrementally expanding or reducing the selection by text objects. I also have a collection of my own helper functions for working with text that make my non-modal Emacs approach still feel very comparable to the power of manipulating text in Vim.

Curious to hear if your issues with modal editing are similar.

wilkystyle··on Welcome (back) to Macintosh
I am currently all-in on the Apple ecosystem and have been for almost 13 years now. But quality of life in Apple land has steadily been getting worse, so I have been considering making the sort of change you describe, but not quite ready to make that leap yet. What would you say was the hardest part of the transition for you?
wilkystyle··on [dead]
Fun fact: The straight-line dirt path in the image is called a desire path:

https://en.wikipedia.org/wiki/Desire_path

wilkystyle··on How I use Claude Code: Separation of planning and execution
Is parenting making us better at prompt engineering, or is it the other way around?
wilkystyle··on How I use Claude Code: Separation of planning and execution
The author is referring to how the framing of your prompt informs the attention mechanism. You are essentially hinting to the attention mechanism that the function's implementation details have important context as well.
wilkystyle··on Keep Android Open
You're definitely not alone. I just checked the list of installed apps on my phone and found three different banking apps that I completely forgot about because I never use them. I installed them because I thought it would be convenient for checking things on the go, but I actually just end up using the computer whenever I need to do real banking business. The only finance-related app I use with any regularity is Venmo for e.g. paying back a friend for covering dinner.

Another commenter mentioned needing to get alerts for fraud, but none of the financial institutions i'm currently doing business with have any trouble sending me text messages. In fact I have the opposite problem, I can't get them to stop using text for 2FA codes...

← PreviousPage 3 of 10Next →