Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
phforms
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
6 ms
·
31.
▲
by
phforms
2y ago
Good idea to update the radio targets along with the wrapping. Also, I didn’t know `insert-pair` exists, could have saved me some typing. :)
32.
▲
by
phforms
2y ago
To quickly link to bullet points, just use [[*My bullet point]] (if you omit the *, it may still work but Org also finds non-heading elements like table names with the same text). Personally, I like to create custom ids for bullet points so
33.
▲
by
phforms
2y ago
I couldn’t find the command you mentioned “org-insert-radio-target-brackets” in my Emacs and it doesn’t appear to be in the manual[1] either. But of course it is very trivial to write, in case anyone else needs this: (defun org-insert-r
34.
▲
by
phforms
2y ago
Clojure developers also often make use of single-letter variable names, following conventions in `clojure.core`: https://guide.clojure.style/#idiomatic-names My rule of thumb is to only use short names in the local scope of
35.
▲
by
phforms
2y ago
In case anyone finds this who is also interested: I just stumbled upon an implementation of shadcn/ui components with css modules that looks pretty solid: https://github.com/qwalker8408/shadcn-css/tree/ma
36.
▲
by
phforms
2y ago
I love the approach of shadcn and the fact that they use Radix primitives, which have a focus on accessibility. But I wish they would have a pure CSS option without tailwind style classes. It took me some time to translate the classes shadc
37.
▲
by
phforms
2y ago
I second that. One of my favourite things to do when I’m bored is to flip through the INFO manuals and see what functionality of Emacs (or some of the often equally-well documented packages) I haven’t explored yet. It is so pleasent to navi
38.
▲
by
phforms
2y ago
Would also love to see v2 finally get released, since I'm a big fan of Berkeley Mono and would like more weights and widths to make my Emacs look nicer. From their update in february[1] this year it seems like it is basically complete
39.
▲
by
phforms
2y ago
As an aside for Clojure users, there is a nice “declarative, functional and extensible” wrapper for JavaFX called cljfx[1] that has been around for some years now. When I tried it last time to prototype a desktop app, I found it really plea
40.
▲
by
phforms
2y ago
Without any solutions or even problems to begin with and without having a teacher by your side, I found that LLMs can be a good-enough learning assistant. Of course, you cannot rely on their answers and they sometimes lead you astray, but w
41.
▲
by
phforms
2y ago
As an autodidact without an “official” CS degree, discrete Mathematics seemed to me like a key area to open up more advanced topics and solve many practical problems in programming. And indeed it helped me on many such occasions (although I
42.
▲
by
phforms
2y ago
I was trying out Arc and almost forgot about it, but now knowing about this feature changes everything, thanks for pointing it out! Very often I need to see two or more pages side by side and I just hate making a mess in my browser with mul
43.
▲
by
phforms
2y ago
I think you can get away without learning grids, but flexbox is a must - given its convenience over the old “float-hacks” and its omnipresence in modern CSS. Besides the already mentioned css-tricks articles, I recommend checking out the gu
44.
▲
by
phforms
2y ago
I am also a big fan of hydras, but I use them more for workflow things like window movement, editing org tables or quicker navigation in org headings/trees and it complements my keybinding system in `meow`[1] (similar to Evil or the Ka
45.
▲
by
phforms
2y ago
Whenever I find myself learning about something where I know that I will not use it frequently enough to actually remember its keystrokes/commands/etc. I create a new “personal documentation” for it as an .org file (I have a centr
46.
▲
by
phforms
2y ago
I suspect that the “crap applications” issue arises not necessarily due to the method being wrong, but more likely due to people disregarding step 4 in the article: “Finally, once completely done, go back and perfect”. It may be because of
47.
▲
by
phforms
2y ago
Some more context: Ben Fry posted a thread on X in 10/2023[1] where he announced and explained his decision to resign from the Processing Foundation. Seems like Processing got left out from expenses despite their large budget, running
48.
▲
by
phforms
2y ago
If I could afford it, I would buy this just to support the idea and invest in an industry that focusses more on reducing the “virtual noise” and creating computers that are more like natural tools/artefacts that blend in with our envir
49.
▲
by
phforms
2y ago
I know a lot of people think that you write more parentheses in Lispy languages, but actually in most cases you just type them in a different order, e.g. instead of `foo(x, y)` to call a function, you type `(foo x y)` and you even save a co
50.
▲
by
phforms
2y ago
Reagent is nice and has been around for about a decade now, but I moved away from it towards very thin wrappers around React[1], because I felt like it was adding too much additional complexity on top of React, which is already quite comple
51.
▲
by
phforms
2y ago
I also came back to B&W because I’ve noticed that with structural editing I think more in terms of s-expressions than parentheses and distinguishing them isn’t that much of a problem anymore.
52.
▲
by
phforms
2y ago
TIL that there is a whole package for “Common Lisp Emulation”[1] in Emacs that adds functions and control structures from CL “to make Emacs Lisp programming significantly more convenient”. Never developed a package for Emacs myself, but I f
53.
▲
by
phforms
2y ago
This is interesting and reminds me of the idea of “thinking in action” where insights/understanding happens while interacting with the concrete subject matter in exploration, experimentation, etc., which seems to be exactly what the au
54.
▲
by
phforms
2y ago
I actually don’t like the text that I am working on to look like a refined press article in a magazine, a beautifully typeset page from a book or a nice looking website. It is not a published text. It should look rough, unfinished, unrefine
55.
▲
by
phforms
2y ago
I actually just checked and it isn’t, but it would not surprise me if it was real, given there are commands such as `M-x butterfly`, `M-x fortune` or `M-x doctor` in Emacs [1]. [1]: https://www.masteringemacs.org/article
56.
▲
by
phforms
3y ago
Take a look at the GitHub readme[1]: “Lem supports other programming languages thanks to its built-in LSP client. You can choose between an Emacs and a Vim mode.”. Although I wish they’d explore the Kakoune/Helix style of editing too,
57.
▲
by
phforms
3y ago
Many of these suggestions made me remember my own experiences, some where I intuitively followed them and some where I did not. Reading this write-up made me realize their value and will hopefully remind me that I need to do these things mo
58.
▲
by
phforms
3y ago
I also recommend symex[1]. Although it is more “locked-in” to s-expressions than other solutions (which takes some getting used to at first), I find that for me this is exactly what makes movement feel much more intuitive and editing much m
59.
▲
by
phforms
3y ago
I recommend to watch some of his regular livestreams on Twitch [1], where I have learned that he is also a quite humble, honest and kind person. Albeit one who likes to hear himself talk (and is aware of that), but I also really enjoy his r
60.
▲
by
phforms
3y ago
Not using it myself, but there is an insanely well done fan-made game called “MegaMan X: Corrupted”[1][2] which uses Haxe for a custom-made game engine. It has been years (and is still) in development and they sometimes live-stream developm
More ›