Better HN
topnewbestaskshowjobs
Log inSign up

acdw

185 karma · joined Mar 25, 2017 (9y ago) · 85 submissions

I'm a content writer interested in tech and writing and living in Louisiana. Sometimes I write little codey things. Sometimes I stay up too late fiddling.

www.acdw.net git.acdw.net codeberg.org/acdw

Don't allow eel bearing Atlanteans into your country; economic ruin follows close behind.

Submissions

comment 5mo ago · link · parent

In CL and Scheme, it's (let ((var1 val) (var2 val)) body...). So parentheses are used for grouping and function/macro application. In Clojure, parens are just used for application, so you have e.g. (let [var1 val var2 val] body...), or (defn foo [x] ..) or (cond testa 1 testb 2 ...).

It takes some getting used to, and I do wish Clojure would do something more like (let [[var1 val] [var2 val]] ... .. though of course then you'd have to figure something else out for destructuring.

comment 5mo ago · link · parent

I have heard of Smalltalk and it is intriguing but honestly I don't even know how to get started with it lol

comment 5mo ago · link · parent

It's ok because I'm a hobbyist programmer!

comment 5mo ago · link · parent

I use Emacs's built-in structural editing bindings, which doesn't have the auto-move-past any kind of paren/bracket thing. Maybe I could add that in.

But I was talking about like, when refactoring, I'll maybe change something from a list to a vector, and I have to change the delimiters at front and back. Or, where electric-pair does do the move-past-all-parens thing when I just spam ), it doesn't do that with ]}]}]]}}]})).

comment 5mo ago · link · parent

This is very much what I meant in the post (hi, I'm the author :P)! CL has maps, but they're a pain to use - not just because of the syntax, but because of the relative dearth of standard library functions to work with them compared to say, lists or even vectors.

comment 5mo ago · link · parent

Oh I've written an SSG in multiple variations of lisp, as well as sh, make, and most other languages I toy around with. It's been a good "kick the tires" project but I think I need a new one.

comment 10mo ago · link · parent

HAHAHAH Hell yeah that's praxis baby die mad about it

comment 1y ago · link · parent

> What works best for me is no modal editing at all.

I used vim for 8 years and after switching to Emacs, realized that I'm the same. I was spending way more time (in vim) thinking about (to borrow another commenter's metaphor) how I was going to play the notes than what notes I was going to write.

comment 1y ago · link · parent

could you share the code for that? thinking I could set up a fail2ban rule for these ips

comment 1y ago · link · parent

seriously, study after study shows that just giving people money is the most effective form of altruism. just give it away. go to your city's homeless shelter and give money away. write a check for your local school board. keep everything anonymous. give it all away.

comment 1y ago · link · parent

I remember reading long ago that the average person changes careers 6 times. So that means that half of everyone changes more than 6 times.

comment 2y ago · link · parent

> Please do not post this article to Hacker News.

oop!

comment 2y ago · link · parent

honestly I'm so sick of this attitude. it's the same as the recycling push...when like a dozen companies are creating the vast majority of pollution, there's not a lot us little people can do. HSAs are a symptom of an extremely broken system. we should fix the system, not max out on our HSAs (if we even can...see the other replies to this post)

comment 3y ago · link · parent

$ cat ai.txt no $

comment 3y ago · link · parent

$ cat ai.txt no

comment 3y ago · link · parent

so Lisp is actually not a pure language, like, at all. Emacs is often written about as a big hairy ball of state and Lisp itself can be as imperative or statefule as you want. So while I don't know much about what you're designing, Lisp wouldn't be necessarily a bad choice.

comment 3y ago · link · parent

I agree, and I've seen more "blogs" on GitHub lately. it's very annoying.

comment 3y ago · link · parent

I really wish people would stop writing blogs in naked GitHub repos.

comment 3y ago · link · parent

I humbly submit either bash, sh, or zsh --- they all put dotfiles in $HOME that you can't move (zsh technically /can/, but they're still dotfiles and you have to set them in ~/.zshenv). Very annoying IMO.

Course, might not work so well with the way boxxy is run ... unless you chsh to boxxy bash or something.

comment 4y ago · link · parent

God no LMAO

comment 4y ago · link · parent

Pretty much all of my Emacs packages are scratching my own itch. Most of them are at codeberg:

https://codeberg.org/acdw

comment 4y ago · link · parent

Just hopping in to say : it's laughable to claim that open source projects have "hard-coded" anything. It's literally impossible to hard code things when anyone can download the source, edit it, compile it and run it on any machine they own

comment 4y ago · link · parent

thank you!

comment 4y ago · link · parent

okay ya got me! i've read one posthumous book by bukowski and heard that one modest mouse song ... i should obviously read more because the random pick you gave is, indeed, pretty good.

thanks for changing my mind :)

comment 4y ago · link · parent

I'm writing an ed clone in scheme. I hope to have autoindentation since that's about the only thing I miss with ed.

comment 4y ago · link · parent

I'm really bothered by the way you casually conflate an actual war in the middle east---the longest war in American history, by the way---with a metaphorical war on domestic violent extremism and neonazism. these are two very different things.

comment 4y ago · link · parent

Maybe I should read more Bukowski. Have you any recommendations?

comment 4y ago · link · parent

I mean there is no art there. There is art, there is angst, in OG punk songs, and the music helps. There is no art in Bukowski's poems. His line breaks are all over the place, he's cynical and bitter, and ... that's it. That's all there is to his writing. There's no nuance, no feeling, no nothing.

At least punk songs have some kind of emotional resonance, or at the very least a good hook, you know?

I guess what I'm saying is that every Bukowski poem I've read reads like one I wrote in seventh grade.

comment 4y ago · link · parent

honestly this is such a bad take and it really annoys me. it's okay if it doesn't come easily! some of the best works of art took ages to conceptualize and realize, and the fact bukowski thinks that's antithesis to art shows in his sloppy and unconsidered writing.

comment 4y ago · link · parent

MISC is a really good name for these ---- I've been putting them in ~/src/vendor but I might just move em to ~/misc :D
123