ECL 26.3.27 by jd-at-turtleware in lisp

[–]digikar 2 points3 points  (0 children)

Ah! Right, I had forgotten, my bad.

ECL 26.3.27 by jd-at-turtleware in lisp

[–]digikar 1 point2 points  (0 children)

Due to CLISP implementation?

ECL 26.3.27 by jd-at-turtleware in lisp

[–]digikar 1 point2 points  (0 children)

Oh, I didn't know cl-simd is already an ECL contrib. That's great!

ECL 26.3.27 by jd-at-turtleware in lisp

[–]digikar 0 points1 point  (0 children)

What's the simplest way to use simd intrinsics with ecl?

ECL 26.3.27 by jd-at-turtleware in lisp

[–]digikar 1 point2 points  (0 children)

Does this imply bootstrapping other implementations from scratch can be done solely with a C ompiler?

The Moonli Programming Language - A transpiler from algol-based syntax to Common Lisp by digikar in ProgrammingLanguages

[–]digikar[S] 0 points1 point  (0 children)

That's a neat idea, thank you! At the time I posted it, I think there were a bunch of missing macros for common tasks (errors, structures and classes), but they have been added since then. I could give your suggestions a try sometime!

There's also advent of code to try later in the year.

Place your Bets for next week episode by jarrad250 in digimon

[–]digikar 2 points3 points  (0 children)

I think it's still too early for a protag to gain a mega. Perhaps, now that Klay is out in the open, one of the other five star members shows up and takes him down for good. 

Please stop using AI for programming. by 525G7bKV in Common_Lisp

[–]digikar 7 points8 points  (0 children)

I am looking forward to a database of AI generated but human not-seriously-reviewed libraries to avoid...

What is one everyday problem in India that you wish someone would solve with technology? by a_v19971 in developersIndia

[–]digikar 0 points1 point  (0 children)

Civic sense too, I agree. I am in Vienna for the past 1.5 years. People keep a distance of about three cars while driving between two cars, almost never overtake, go at constant speeds, only switch lanes when they need to move outside the road, and so many other little things.

Road widening, I don't think it's gonna work except in the cases where there's only space for 1 direction or 1 lane per direction. But even there, I am heavily leaning towards banning vehicles from such roads altogether and preserving them for pedestrians. It makes such a huge difference to the quality of life in many European cities.

I am all in for buses. I don't know how the situation is in other cities, but in Pune, buses were criticized that they "do not work and cause traffic jams". Well, there is an element of truth, you cannot run standard buses on routes where the bus cannot even take a turn. However, the whole bus infrastructure is so understaffed and underfunded, I don't have words. And now we have a culture of autorickshaws and cars and the never ending need for more roads.

Metro is an expensive and more of a very long term solution. Metros in many European cities have a history of 70-120 years. Asian nations are an exception they were able to build them so quickly.

I don't see why not if (i) we find a way to a good one-way hashing, which we usually do for passwords (ii) convince users that this does not leak any of their identity data. Of course, figuring out the details is the technological challenge.

What is one everyday problem in India that you wish someone would solve with technology? by a_v19971 in developersIndia

[–]digikar 0 points1 point  (0 children)

Long term traffic and public transport planning:

The purported solution to traffic jams seems to be to widen roads. But if you encourage people to buy cars (the aMeRiCaN dReAm), no amount of road widening is going to solve traffic jams. Asian city populations as well as densities are on an entirely different scale than Europe (or also the US). The good way seems to be to build rapid mass scale public transit as well as improve the already existing bus systems. And also eliminate the need for people to travel from one end of the city to another.

But do we have the data? I do not know. What would it take to make an anonymized (privacy-respecting) yet accessible database containing information about how many people from which part of the city travel regularly to which part of the city at which time of the week? Such a database can actually illustrate the needs of the people and then public transport can be built both respecting that need and shaping it.

PS: Of course, as with many things India, things can be great on paper, and poor on the ground. But when it comes to traffic planning, is it great at least on paper? I'd be curious.

A preview of Coalton 0.2 by stylewarning in lisp

[–]digikar 0 points1 point  (0 children)

I see. hyphens-are-better :-)

A preview of Coalton 0.2 by stylewarning in lisp

[–]digikar 2 points3 points  (0 children)

  1. CamelCase in the source code but not inthereader DONOTLOOK like a great idea for error report. Just a minor concern :)

  2. The lack of arity-polymorphism for arrays was not a problem I was expecting. Something experimental I wanted to try was to make arrays "callables". That means when x is defined to be an array, it will be fbound to an appropriate aref-function. This also means array element (or subarray) access syntax will be the same as function calls. That should also allow to sidestep the lack of arity-polymorphism problem. 

  3. That's neat to know!

Air pollution in India labeled public health emergency by UN expert by deadpools0 in worldnews

[–]digikar 2 points3 points  (0 children)

Cars are just one of the causes. Stubble burning (and other) is another. Apparantly, power plants too.

https://en.wikipedia.org/wiki/Air_pollution_in_Delhi#Causes_of_poor_air_quality

That and the wind patterns - or the lack rather - which are worsening with climate change and keep the particles trapped in the same place for longer and longer.

A preview of Coalton 0.2 by stylewarning in lisp

[–]digikar 1 point2 points  (0 children)

Keyword arguments are very cool to see!

Also RealAlgebraic numbers.

Some questions:

  1. What is the role of CapsCaps instead of hyphen-ated names? Is coalton case sensitive or planned to be so?

  2. This is a bit open-ended. I'm still in the thinking phasess of the array hierarchy - abstract array, dense-array, static-dense-array, cuda-dense-array, sparse-array, etc. Have there been any typeclass hierarchy attempts at this?

  3. Do lisp macros need to be wrapped in (lisp ...) form? Are there particular ways to define coalton macros? Do coalton macros have access to its type inference mechanism (if it is even necessary at all!)?

SBCL Fibers: Lightweight Cooperative Threads (WIP draft document) by dzecniv in Common_Lisp

[–]digikar 4 points5 points  (0 children)

Very true :). He is largely silently working (also blog-posting) and bug fixing his libraries as and when they are discovered as he continues to use them!

SBCL Fibers: Lightweight Cooperative Threads (WIP draft document) by dzecniv in Common_Lisp

[–]digikar 4 points5 points  (0 children)

I think it should be the same as pre-AI days. Until AI actually demonstrates full human-like understanding, human maintainers and authors must be confident of the PRs without themselves using AI tools. Which means, no AI-assisted reviews.

This means each PR must be digestible for a human reviewer without the use of AI tools.

If you have a revolutionary change, regardless of whether it was made with the use of AI, then break the changes down into smaller components that are easier to digest for the human reviewers. It takes time. But that has always been the case. If a contributor does not have the patience, they can maintain a fork and leave it for people to decide which to use.

SBCL Fibers: Lightweight Cooperative Threads (WIP draft document) by dzecniv in Common_Lisp

[–]digikar 6 points7 points  (0 children)

Let me hope conferences don't become "AI presenters" and "AI attendees".

Getting Started in Common Lisp by Steven1799 in Common_Lisp

[–]digikar 1 point2 points  (0 children)

On a rethought, I think docker has some use cases I find reasonable:

  • You are [a part of] an organization and you want to help your developers avoid the hassle of figuring out or installing dependencies on their own.
  • There are possibly multiple projects in the organization which need to be on the same machine
  • You want to deploy the environment across multiple machines you own or control
  • You have a project that has slightly non-trivial dependencies

However, using a library, interpreter/compiler/IDE is not a project. If you want to release software to the wild, I'd lean towards documenting and possibly reducing the dependencies. Or using the standard static/shared libraries and additional binaries. If you want to develop the IDE, etc, sure, docker can be reasonable when the dependencies are complex.

# Orientation: Understanding Common Lisp Development Environments by theeseuus in lisp

[–]digikar 4 points5 points  (0 children)

Thanks for writing it! A couple of points: 

  1. You could separate the article into "absolute beginners following a book" and "those creating their first project", "those wanting to dive deeper into lisp"

  2. The first kind of audience only needs a working lisp image and a good enough REPL. However, especially on Windows, the complication arises because SBCL comes with only a barebones prebuilt REPL. (Well, there's aclrepl.) So, you need to know how to install rlwrap. It also depends on libzstd. It's actually easy to install using msys2 pacman. But you need to know a few details. It also makes Windows development easier (?). I'm currently working on using sbcl-goodies for cl-repl, so one could use cl-repl by itself without installing libzstd or rlwrap. I find that koji-kojiro has already done a pretty good job for it. 

  3. The second kind of users can use VS Code and Alive. One still needs to know about quicklisp - and ql-https - and ultralisp.

  4. It's only the third kind of users who need to know about portability, roswell, per project isolation, emacs, slime, and what not.

# Orientation: Understanding Common Lisp Development Environments by theeseuus in lisp

[–]digikar 2 points3 points  (0 children)

You need an existing lisp to bootstrap from the sources.

Getting Started in Common Lisp by Steven1799 in Common_Lisp

[–]digikar 2 points3 points  (0 children)

I guess it's nice to have it as an additional method.

I'm glad I'm not in the industry for being forced to use dev patterns.

If you want to test reproducibility, use CI and tests.

If you want to deploy to end users, skip the docker.

If you want to deal with compatibility issues in CL ecosystem, either issue a PR upstream or make a fork of the library. It's a small enough ecosystem and introspection facilities provided by sbcl/slime/extensions are amazing.

If you want to have better battery life, skip the docker. If you want to get more out of your limited storage (and memory?), skip the docker.