News for hackers. Stuff that matters.

Ambrevar

Re:Nyxt Browser on Sunday March 21, 2021 @02:40PM (#26532741)
What mention did you not see? Is there anything I can clarify? Please let me know, feedback is always welcome.

About the .deb: Indeed, it's built on Ubuntu, so it's not guaranteed to work on Debian, which is why we didn't mention it.

Re:Nyxt Browser on Sunday March 21, 2021 @02:38PM (#26532725)
The prompt buffer (previously known as "minibuffer") supports fuzzy completion: you never have to type the suggestion in full. Just type a portion of what you want and the appropriate suggestion should come to the top. Even typos are supported.

If duckduckgo does not load, maybe you enable noscript-mode, proxy-mode or similar? Try starting the browser with `nyxt -I` (no config file). Do other HTTPS site work?

`d` is not bound by default.

To see the full list of commands and bindings, press `Ctrl+space`, it will display them all.

Re:Nyxt Browser on Sunday March 21, 2021 @11:53AM (#26531318)
Click on the URL (" Help" when you start) or run the set-url command with `C-l`.
Re:Nyxt Browser on Sunday March 21, 2021 @11:49AM (#26531287)
Nyxt does not assume POSIX, in fact it is completely independent of any POSIX-ness.

It has been reported to run on Windows via WSL and also without it, but it needs much more work because WebKitGTK is not trivial to get to run on Windows.

Contributions are welcome!

Re:Nyxt Browser on Sunday March 21, 2021 @11:47AM (#26531279)
Thanks for the feedback. Some answers:

- You can press `enter` instead of typing "default" in full if it's selected. - Running `vi-normal-mode` enables VI bindings in the current buffer only. If you want to enable them everywhere, you can use the graphical confiuration menu that's presented on startup.

- `tab` inserts the current selection in the input. Do you mean something else?

Re:Nyxt Browser on Sunday March 21, 2021 @11:43AM (#26531248)
Note this is the "fully contained Guix pack" (a bit like a container) which contains all the recursive dependencies, which includes WebKitGTK, GTK and the like.

Nyxt alone is about 100-150 MiB uncompressed, which is what it costs you if you install it via your package manager.

Re:A Lisp REPL as my main shell on Wednesday February 10, 2021 @06:13AM (#26087782)
Thanks for the suggestion.

The "widget" you are talking about seems to required some specific support from the host REPL, no? Could SLY do it? Could graphical Emacs do it?

Re:A Lisp REPL as my main shell on Wednesday February 10, 2021 @06:10AM (#26087756)
I believe I answered most of your notes in the article ;)
Re:A Lisp REPL as my main shell on Wednesday February 10, 2021 @06:08AM (#26087747)
(To reiterate what I answered for Ammonite, s/Ammonite/Xonsh:)

I've only scratched the surface of Xonsh, so please correct me if I'm wrong.

From what I understand, Xonsh was designed as a "readline shell" as I wrote in the article. It perpetuates this approach that everything is a command.

The thesis of my article suggests we do the opposite: I'm suggesting to rethink shells by starting from the interface (here the SLY REPL) and then implement the shell features. In particular, it seems that Xonsh does not support back-references and I'm not sure it has an interactive inspector (or does Emacs python mode provide one?).

While Xonsh seems to be a definite improvement over the syntax of Bash, etc., I'm not sure it brings much novelty in terms of user interface. But again, I know very little about it so I may have missed some features, in particular regarding the Emacs integration :)

Re:A Lisp REPL as my main shell on Wednesday February 10, 2021 @06:05AM (#26087730)
Wow, looks like you've got a lot of cool stuff in there! I'll try it out later and give you some feedback!
Re:A Lisp REPL as my main shell on Wednesday February 10, 2021 @06:04AM (#26087716)
I've never tested Ammonite, only read the https://ammonite.io/#Ammonite-Shell, so I'm only guessing here.

From what I understand, Ammonite was designed as a "readline shell" as I wrote in the article. It perpetuates this approach that everything is a command.

The thesis of my article suggests we do the opposite: I'm suggesting to rethink shells by starting from the interface (here the SLY REPL) and then implement the shell features.

In particular, it seems that Ammonite does not support back-references and I'm not sure it has an interactive inspector.

While Ammonite seems to be a definite improvement over the _syntax_ of Bash, etc., I'm not sure it brings much novelty in terms of user interface. But again, I know very little about it so I may have missed some features :)

Re:A Lisp REPL as my main shell on Wednesday February 10, 2021 @05:50AM (#26087639)
Agreed, I think Jupyter got many things right, in particular when it comes to prompt handler and data visualization.

What I find limiting for now is interactions with the shell process, in my case the Common Lisp compiler: no interactive stacktrace, no debugger, etc. This is very limiting. I don't know if there is a way around it, as this could be a limitation of the Jupyter design with its kernels. Please let me know if there is a way out! :)

Re:A Lisp REPL as my main shell on Wednesday February 10, 2021 @05:48AM (#26087628)
The article presents a few libraries. There is https://github.com/ruricolist/cmd in particular which is very helpful.

I'm going to publish a few more libraries which should help with file manipulation (as I demoed it).

Stay tuned!

Re:Modern, functional Common Lisp: myths and best practices on Tuesday February 25, 2020 @12:13PM (#22414957)
Thanks for the list! :)
Re:Modern, functional Common Lisp: myths and best practices on Tuesday February 25, 2020 @12:12PM (#22414936)
The binary dump feature is used by projects like StumpWM, Lem and Next.
Re:Modern, functional Common Lisp: myths and best practices on Tuesday February 25, 2020 @09:27AM (#22413455)
Thanks for sharing!
Re:Modern, functional Common Lisp: myths and best practices on Tuesday February 25, 2020 @08:28AM (#22412986)
Right, maybe "best practices" was poorly worded. I'll think of something better.

Regarding the visual aspect: Very nice link, thanks for sharing! I was also thinking of showing off the macro-stepper.

Regarding the lack of libraries: well, Quicklisp is strong of some 1500 libs, which is rather poor compared to most popular languages out there. So yes, it goes both ways!

I'll check out the other libs, thanks!

Re:Modern, functional Common Lisp: myths and best practices on Tuesday February 25, 2020 @08:07AM (#22412845)
Didn't know about this, it looks very cool indeed! Thanks for sharing!
Re:Modern, functional Common Lisp: myths and best practices on Tuesday February 25, 2020 @08:05AM (#22412831)
For immutable data structures, there is this helper library which can help: http://quickdocs.org/immutable-struct/
Re:Modern, functional Common Lisp: myths and best practices on Tuesday February 25, 2020 @08:01AM (#22412810)
Thanks for the fset link.

I understand your comment as a bit judgmental, if not rude. Please keep the tone friendly, it helps if we want to have constructive discussions. I'd be happy (as well as everyone around here I'm sure) to discuss what you find questionable.

Re:Modern, functional Common Lisp: myths and best practices on Tuesday February 25, 2020 @07:58AM (#22412783)
I've never used them myself, so in all honesty I have nothing to say about them! :p

That said, I support free software and I believe a proprietary compiler is not a good idea :(

Re:Modern, functional Common Lisp: myths and best practices on Tuesday February 25, 2020 @07:21AM (#22412554)
A fun read with some good points, although many of them are a bit dated :p
Re:Modern, functional Common Lisp: myths and best practices on Tuesday February 25, 2020 @07:18AM (#22412537)
Indeed, tail-call optimization is not part of the standard, unlike Scheme.

The point of the article is that while the Common Lisp standard is not really focused on functional programming, nothing prevents the implementions (and libraries) of today to be so.

Re:Modern, functional Common Lisp: myths and best practices on Tuesday February 25, 2020 @07:15AM (#22412525)
Immutability is something I'm still exploring in Common Lisp. Any pointer, anyone?

Next Browser 1.2.1 Released

I'm happy to announce the release of Next 1.2.1, the infinitely extensible browser!Though in this release we only have a few new user-facing features, we've succeeded in stabilizing the GNU/Linux port, which should now be much more usable as a daily driver.About Next: Next is a keyboard-oriented, extensible web-browser designed for power users. The application has familiar key-bindings...

( Read More... | no comments | 3 points | on HN )

Older »