Search results

Need help from Lisp wizards — looks like I'm missing something simple and obvious (but not so obvious for beginner). I'm trying to build (with ECL) the simple program, which uses ql:quickload to load parse-number, then prints "Hello world". It builds without errors, but resulting binary could not be executed — it prints error message about unknown "ql:quickload" function.

QuickLisp was installed like described in the official documentation. It works in SBCL, it works in ECL REPL and it has the necessary lines in the ~/.eclrc:

;;; The following lines added by ql:add-to-init-file:
#-quicklisp
(let ((quicklisp-init (merge-pathnames "quicklisp/setup.lisp"
(user-homedir-pathname))))
(when (probe-file quicklisp-init)
(load quicklisp-init)))
(ql:quickload '(:slite) :silent t)

The program, itself, runs successfully if I just evaluate the next code in the REPL:

(ql:quickload '(:parse-number) :silent t)

(defpackage :test
(:use :cl))

(in-package :test)

(defun toplevel ()
(print "Hello world"))

(progn
(toplevel)
(ext:quit))

And it compiles:

ecl --eval '(progn (compile-file "test.lisp" :system-p t) (c:build-program "test" :lisp-files '"'"'("test.o")) (quit))'
;;; Loading "/home/drag0n/quicklisp/setup.lisp"
;;; Loading "/usr/local/lib/ecl-24.5.10/asdf.fas"
;;;
;;; Compiling test.lisp.
;;; OPTIMIZE levels: Safety=2, Space=0, Speed=3, Debug=0
;;;
;;; Finished compiling test.lisp.
;;;

But doesn't print "Hello world":

./test

Condition of type: UNDEFINED-FUNCTION
The function QUICKLISP-CLIENT::QUICKLOAD is undefined.
No restarts available.

Top level in: #<process TOP-LEVEL 0x8295a3f80>.
>

~/g/dotfiles/bin/.cl-bin:master*? λ cat test.lisp
(ql:quickload '(:parse-number) :silent t)

(defpackage :test
  (:use :cl))

(in-package :test)

(defun toplevel ()
  (print "Hello world"))

(progn
  (toplevel)
  (ext:quit))
~/g/dotfiles/bin/.cl-bin:master*? λ ecl --eval '(progn (compile-file "test.lisp" :system-p t) (c:build-program "test" :lisp-files '"'"'("test.o")) (quit))'
;;; Loading #P"/home/drag0n/quicklisp/setup.lisp"
;;; Loading #P"/usr/local/lib/ecl-24.5.10/asdf.fas"
;;;
;;; Compiling test.lisp.
;;; OPTIMIZE levels: Safety=2, Space=0, Speed=3, Debug=0
;;;
;;; Finished compiling test.lisp.
;;;
~/g/dotfiles/bin/.cl-bin:master*? λ ./test

Condition of type: UNDEFINED-FUNCTION
The function QUICKLISP-CLIENT::QUICKLOAD is undefined.
No restarts available.

Top level in: #<process TOP-LEVEL 0x8295a3f80>.
>
0

Since I became vegan (1 year and 7 months ago) I haven't eaten out much.

I did bring home food from a place now and while it was tasty I can't help to think that there can't have been much protein in the meal.

Also, all TV shows I see when they make vegan food it seems to be missing the needed amount of protein.

I've seen a YouTube video with professor Christopher Gardner from Stanford University, and while it's true that 98% of popel does not need more than 0.8g potein/kg body mass, one have to take into the calculation that A - the body can't absorb all protein from a plant based source, and B - even if you mix for example beans with rice you can't get a perfectly complete protein profile (compared animal based protein).

So even if you have 40g of plant based protein in front of you in a mix of say beans and rice, your body might only get 32g complete protein.

So instead of calcualate 0,8g/kg body mass you should aim for 1.1-1.3g/kg.

Yes, I am a overthinker and I tend to obsess about stuff.

Any long time vegans out there that have some insights of this?

#Vegan #Vegans #PlantBased #VeganFood #PlantBasedFood #Protein #VeganProtein #AskFedi
0
0
0
0
0

I see the announcement by a commercial marketing agency of a venture capital based app store joining the fediverse.

Is the we have capable of avoiding as it grows and attracts an increasing number of corporations, who make it their market?

Is our landscape resistant to corporate capture and eventual takeover and domination? Just like the Corporate Web, also decentralized.

There are nice niches on the web, like a bloggosphere, bulletin boards, and news readers, that all still exist. But web as a whole is predominantly corporate, arguably not commons based, for the people by the people.

Social experience design defines "commons based" as "where people are in control of their future on a path of healthy evolution and natural growth". A core principle is being sustainable at all times, and timely acknowledge and mitigate risks.

Is fediverse commons based? Did we cocreate the Future of Social networking?

0
5
0

Hey, Fediverse … Fedi advice needed.

I’m looking for an instance to host an account for my book. I really like .art, but it has defederated a lot of instances so I’m concerned about reach.
I considered bookstodon, but don’t want to CW violence (my book is gothic horror). People like beige, but it feels off brand (see: gothic horror).

So, suggestions?

0
0

text editor recommendations ask, anti-ai discussion

Hey fedi,

So, with the news about , I'm considering branching out and trying different editors/toolchains. Thing is, I've got a that keeps my brain running, a second one that manages the massive project that is and a third that is my website.

I'm hopeful that a non-slop fork of vim is in the future, but I can't maintain one, so I'm wanting to learn about my options.

I could use recommendations of things to explore. Optimally tools where the maintainers have stated a policy of not accepting slop, but I'm willing to risk things where we don't have *known* slop being introduced by maintainers.

I don't need an all-in-one solution necessarily, but I do need both a text editor and a wiki solution. There needs to be some tooling from which I can render a basic static site from the wiki format. I can shell script just enough to ease the practice of pushing files through a series of tools, but I typically need some handholding, so I'd prefer something that's already pretty well established.

I'm not currently looking to leave the terminal, no shade to gui's, just not what I'm looking for right now.

edit: Oh, and I'm on , so preferably something that's already in ports, but I'd still like to know about small projects too.

0
0
2
0
0
0

Dear Fedi friends,

The normalization of "vibe coding" in certain environments is pushing me in the exact opposite direction.

I, a normie (ok maybe a semi-technical person), would like to learn some basic computer programming*.

I need some advice about where to start because I'm a little clueless in this regard. Maybe it will help to share my goals, so that you can tailor your advice:

1) I'd like to become much more proficient using CLI... so that one day for example I could migrate a #YunoHost app to a new server without breaking anything

2) I'd like to be able to confidently run remote backups with rsync

3) Security: I need to learn how to turn my VPS or Raspi into a fortress

4) Eventually I'd like to learn #FreeBSD

Where does one even start?

I'm based in Paris, France, speak French, English and Italian, but remote learning is preferable because my child is in school only 4 days a week and has 2-week holidays every 6 weeks of school (thanks to the French educational system, don't ask me).

I'm super motivated to learn all these things, I just don't know where to start.

*Edit: maybe I'm just dreaming of becoming a proficient sysadmin

#AskFedi #MySoCalledSudoLife #NoAI

0
0
0

RE: mastodon.social/@dansup/116154

I think we should limit starter kit creation to accounts that are older than 90 days, segment max # of kits per user based on follower count, and limit the # of accounts they can add to each kit based on their follower count.

I could be wrong, and want your feedback on these kit rate limits please!

0
0
84
6
0
9
0
0
0

I am now officially an iNaturalist ambassador 👨‍🌾🕵️‍♂️🪿🍄🐝🌻

My first project is organizing a BioBlitz (people come together at a place and identify all the living beings they can find) for the marsh near my apartment.

It's happening on April 25th to coincide with the City Nature Challenge.

It will be co-lead with Ryan Bartlett, a local native bee expert, who'll be bringing fun gear to safely catch insects and ID them.

Our findings will lay the groundwork for more intentional stewardship of that land.

0
0

I don't believe AR filters are harmful, but a few people in my replies do.

You can record a video with the new Loops Camera, using an AR filter, then save it to your camera roll and never upload it to Loops, allowing you to share it with anyone.

This isn't that different from editing a photo in my opinion, what do you think?

0
0

i am once again asking if there is one (1) single solitary GUI static site generator aside from Publii

as in, you can install the program and end up with, like, a folder of static HTML, without ever having to type something into a terminal

(web-based is ok too)

#AskFedi #GUI #SSG

0
0
0
0
0

Serious question: Are we right now at peak technological freedom?
A lot of trends I see are pretty grim, but there is also a lot of seriously interesting work going on.
Maybe I'm oversimplifying, but I'm interested in the full range of perspectives. #AskFedi

0
0

I could use help composing an essential Fediverse (as a topic) book reading list. I'm planning on talking to people with a variety of technical backgrounds (range and expertise) so variety is good. I haven't read any of this yet but I would read it first and either (verbally) summarise points or point people to them for more info.

So far I have on my list:

(continued)

0

I could use help composing an essential Fediverse (as a topic) book reading list. I'm planning on talking to people with a variety of technical backgrounds (range and expertise) so variety is good. I haven't read any of this yet but I would read it first and either (verbally) summarise points or point people to them for more info.

So far I have on my list:

(continued)

0

Question for Emacs wizards. I found a strange thing which I could not understand after reading the documentation (gnu.org/software/emacs/manual/) and even after reading the startup files, shipped with my Emacs 30.2.

If I use the -q option — Emacs will add site-lisp directories to the load-path. But with -Q option — there are no site-lisp catalogs in the load-path. Why is this happens? :drgn_confused:

Note: the option --no-site-lisp is not used in the both examples. So, as I understood after reading the gnu.org/software/emacs/manual/, even with --no-site-file (or -Q) the site-lisp catalogs should be added to the load-path in the both cases :drgn_confused:

Xterm window divided in two panes. On the one pane there is emacs -Q --batch --eval "(print load-path)" command which prints list of catalogs from /usr/local/share/emacs/30.2/lisp/*. On the second pane there is emacs -q --batch --eval "(print load-path)" command wich prints list of catalogs from /usr/local/share/emacs/30.2/lisp/* AND from /usr/local/share/emacs/30.2/site-lisp AND from /usr/local/share/emacs/site-lisp.
0
0
11
0
0
0

What if we do a "Invite one person to the fediverse" day?

A day where everyone at the fediverse go and reach a friend, family, stranger, coworker, partner, mistress, neighbor, rival, coffee buddy, artist, business partner, etc... and invites them/onboard-them to any of the apps.

I Love the Fediverse Day kind of a thing. Does that exists already? Any specific date in mind?

I heart the FEDIVERSE day logo
0
4
0

Is there a website that promotes tech jobs at companies that don't use AI?

I'm not looking for work right now. However, I know a few people who are, and they don't want to work for someone who forces them to use GenAI, either for code, for infrastructure management, or for writing documentation.

For them, the prospect of working in tech in 2026 is just bleak.

0
2
0
0

I've been thinking about building my first desktop app, and one of the ideas is giving people something to do with all of the various "download your data" options from LinkedIn, Google, your Twitter Archive, etc. I know there's the Twitter Archive 11ty project, but I thought there was an effort several years ago for something like this but I can't think of the name or who was involved - does it ring any bells? I'd love to talk to folks who've tried this before - especially if there are wheels here that don't need reinventing that I haven't found yet.

The idea would be something normies can use that gives them the instructions for how to request their archive and then a place to drag and drop it, a way to sync it for storage they already have, and something to DO with that data (digital memoir, some publishing it somewhere option, etc).

0

Is anybody of you using self-hosted along with @CodebergCodeberg Announcements?

I'm just curious whether it is allowed to create dedicated personalized bot users for your own repositories. Couldn't find any hints in the TOS: codeberg.org/Codeberg/org/src/

Using the personal account also for Renovate might reduce clarity and visibility..

0
0
0
0
0
12
0
0

«Stoolap - High-performance embedded SQL database in Rust»

Have any of you tried it before and what is your experience with it? Can it be used in the same way as SQLite? I ask because the open source project is relatively new, i.e. are there certain arguments to (not) use it productively?

🦀 stoolap.io

0

Serious question for computer touchers:

What are the differences, if any, between "user interface" and "user experience"?

I guessed a few things just from the names, but many seem to use these terms interchangeably leading to confusion.

0
0
0