HNHacker News
TopNewBestAskShowJobs

kagevf

261 karma · joined March 12, 2013

Learning Common Lisp along with Parenscript. Day job using C# on asp.net (core). Also dabble in reactjs and F#
submissionscomments
kagevf··on Ask HN: How should organize and back up 23 TiB of personal files?
rsync
kagevf··on Reading "A Programmer's Guide to Common Lisp"
This works:

  (let ((my-list '(1 2 3))
               (my-other-list '(4 5 6)))
    (format nil "~{~A~}"
     (append my-list my-other-list)))
kagevf··on Kent Pitman's Lisp Eliza from MIT-AI's ITS History Project
What Lisp is that? Lisp 1.5?
kagevf··on Why is Common Lisp not the most popular programming language?
Lately, I've been creating protocols that are meant to be the interface for some kind of entity, such as "user", "utility", "configuration", "auth", and so on. The logistics of that are to use defgeneric for the protocol interface, defmethod in the same package, but can be over-ridden with a more specific defmethod in another package if necessary. I still export regular functions too, but I look to the defgenerics as the main entry points for a particular package. To (sort of) enforce some separation, I try to keep these packages self-contained in their own system (defsystem).

I mean, it's one approach, but my advice would be to take some time to come up with what would work for your appication and CL is flexible enough it can probably support it.

kagevf··on Why is Common Lisp not the most popular programming language?
Lisp is non-opinionated and supports FP, OOP, AOP, in whatever mix you want.
kagevf··on The Emacsen family, the design of an Emacs and the importance of Lisp (2023)
> Emacs is for people who want to make editor customization a _hobby_.

I disagree. I use it for org mode to take notes, track time, and write documentation. I use it with SLIME to program in Common Lisp (side projects, though). I make changes to .emacs or write an elisp function once in a while, usually to finesse something that I do frequently, but it's definitely not a hobby. It's a great tool, even before any customizations, IMO.

kagevf··on I Fucking Hate Jira (2022)
> I can’t get a modal popup when someone messages me directly on teams

that's pretty damning ...

kagevf··on I Fucking Hate Jira (2022)
> But it has a complication that makes managers I want to work for dislike it, while strongly appealing to managers I don’t want to work for.

I think that could also be described as Jira gives people who don't really have anything to do, something to do, but for those who are blessed with an abundance of work, Jira can be unnecessary overhead.

kagevf··on I Fucking Hate Jira (2022)
I've wondered the same thing about Microsoft Teams. Is Teams as horrible as people say, or do they just hate it because it's what they happen to use for video meetings at work? Conversely, I don't hear much hate for zoom.
kagevf··on Compiling a Lisp (2020)
Wouldn't that just be while developing using the repl? I would think compile-file would compile the whole file, not just 1 function at a time ...?
kagevf··on Compiling a Lisp (2020)
> the standard has mandated Roman literals in formating

By the way, in case anyone is wondering what this is, it just means that you can use the FORMAT function to output Roman numbers.

  (format t "~@r" 4)
  ;; => IV
You can also do:

  (format t "~r" 4)
  ;; => four
and just interpolating the number would use "d":

  (format t "The number is: ~d" 4)
  ;; => The number is: 4
kagevf··on Common Lisp's block / return-from and unwind-protect
I think lem looks really promising, buuuut .., I like org and tramp and slime-connect and structural editing and all the other great emacs things. Maybe I’ll try it out in the next few months or so . . .
kagevf··on A Tour of the Lisps
For racket do you use Dr racket or emacs?
kagevf··on If Lisp is so great
What about Coalton?
kagevf··on Embracing Common Lisp in the modern world
> it doesn't let you watch arbitrary expressions

You can't watch expressions, but when the debugger comes up, and I think if you're stepping through too, you can hit "e" for eval and do any expression you basically want. Any variables used would need to be in scope, etc ...

(this is with sbcl and slime ... I'd bet sly supports similar)

kagevf··on Embracing Common Lisp in the modern world
C-c ~ isn't defined in any of my emacsen ... do you happen to know the command name it binds to?

edit never mind ... it's bound when invoked from a .lisp source file ... very cool! I think I will use this a lot! Thank you for sharing it ...

kagevf··on Common Lisp's block / return-from and unwind-protect
When do you work in emacs vs lem?
kagevf··on Modeless Vim
emacs has CUA available and another comment mentioned there's an "easyvim". My point being that those editors already support those features.
kagevf··on Elisp in Replacement String
Wow! and you can C-p back to see earlier ones too! Thank you for sharing this ... to me it's similar in impact to q: in vim.
kagevf··on IDEs we had 30 years ago
I see. I thought I had some .emacs customized settings I could share, but they're all slime specific. It appears tramp otherwise just works without further configuration - unless I set them in ielm and forgot about them before copying them over to .emacs, but I didn't see anything like that in my ielm history.
kagevf··on IDEs we had 30 years ago
What were you trying to do with tramp? I’ve used it for coding Common Lisp, together with a remote SLIME session - ie slime-connect - and while I have run into at least 1 limitation with paths, I have a decent enough work around for it. I think the setup was just a matter of setting some customizable variables.
kagevf··on MongoDB security notice
> It's a really great alternative to firebase for mobile apps.

Isn't firebase built on top of mongoDb?

kagevf··on Why I always hit the crosswalk button (2015)
In Shibuya in Tokyo, there's a famous "scramble intersection" スクランブル交差点, and I assume the "scramble" part came from somewhere in the English speaking world.
kagevf··on The Unix-Haters Handbook (1994) [pdf]
Felt like the hate was mutual.
kagevf··on Python Is Easy. Go Is Simple. Simple != Easy
And also the actual container infrastructure itself.
kagevf··on Interactive Common Lisp Development
It's unlikely the ANSI standard will ever get updated - it's a very expensive process.

Python doesn't have a standard, but it has a canonical implementation, so maybe a "defacto standard". Not having an official standard didn't matter, though.

Common Lisp has defacto "standard libraries" for things like threading. Other things, such as async, are less clear (to me), but libraries do exist. Just because something isn't in the standard, though, doesn't mean it can't exist. Also, implementation such as SBCL pick up a lot of the slack, filling in some of the missing gaps.

kagevf··on Why I tend not to use content negotiation
I use that with a custom feed; works well.
kagevf··on Ask HN: Is (n)vim worth the trouble?
Consider using vim for side tasks to augment your main VS Code use, and maybe you'll make some useful discoveries while gradually getting use to it, instead of going all-in.
kagevf··on I accidentally a scheme
I don't know what the odds are of getting accused, but let's say this was in the context of an interview question, and every answer submitted looks almost 100% the same, or even more telling, has the same logic mistakes, then the odds could be high that plagiarism is afoot.
kagevf··on I accidentally a scheme
> That sounds like a bug farm.

Stealing that expression.

← PreviousPage 4 of 10Next →