Lisplog

Blogging in Lisp

Search

Feed Aggregator Page 687

Rendered on Wed, 23 Feb 2022 04:31:25 GMT  newer latest older 

Quicklisp news: February 2022 Quicklisp dist update now available

via Planet Lisp by on Wed, 23 Feb 2022 00:06:00 GMT

 New projects

  • 3d-quaternions — A utility library implementing quaternion and dual-quaternion functionality. — zlib
  • 3d-transforms — A utility library implementing a common structure to encapsulate spatial transformations — zlib
  • ci — A tool simplify continuous deployment for Common Lisp projects. — BSD
  • cl-lambdacalc — Define Lisp functions using lambda calculus syntax — MIT
  • cl-lib-helper — For common-lisp, organisation of popular functionalities in a central, easy-to-browse set of packages. — MIT
  • cl-myriam — Simple actor model implementation for local and remote actors — 3-clause BSD
  • cl-tar — A high level interface for tar archives — MIT
  • cl-tar-file — A system for reading and writing physical entries from/to tar files. — BSD-style (http://opensource.org/licenses/BSD-3-Clause)
  • cl-veq — reasonably fast operations for 1d, 2d, 3d vectors and arrays of vectors. — MIT
  • cl-wol — CLI built on top of the cl-wol.core system — BSD 2-Clause
  • clop — CLOP - Common Lisp tOml Parser — MIT
  • factory-alien — Factory alien is a library for generating fixture data for testing applications. — MIT
  • in-nomine — Utilities for extensible namespaces in Common Lisp. — LLGPL
  • journal — A library for logging, tracing, testing and persistence. — MIT, see COPYING.
  • json-schema — JSON schema validation — LLGPL
  • mgl — MGL is a machine learning library for backpropagation neural networks, boltzmann machines, gaussian processes and more. — MIT, see COPYING.
  • mgl-mat — MAT is library for working with multi-dimensional arrays which supports efficient interfacing to foreign and CUDA code. BLAS and CUBLAS bindings are available. — MIT
  • mk-defsystem — The MK-DEFSYSTEM ASDF System. — Other
  • named-closure — Named closures — GPLv3+
  • nfiles — Manage file persistence and loading. — BSD 3-Clause
  • nhooks — Improved hooks facility inspired by Serapeum. — MIT
  • phos — An experimental Gemini client library — ISC
  • stumpwm-dynamic-float — stumpwm-dynamic-float is an extension to the X window manager "StumpWM". It provides a dynamic-tiling environment based on StumpWM's floating-group. — MIT
  • tiny-routes — A tiny routing library for Common Lisp targeting Clack. — BSD 3-Clause
  • try — Try is a test framework. — MIT, see COPYING.
  • with-branching — An implementation of macroexpand-time conditionalization — MIT

Updated projects: 3d-matrices, 3d-vectors, adhoc, alexandria, amb, anaphora, array-operations, birch, bitio, bknr-datastore, bnf, caveman, chameleon, check-bnf, chipz, cl+ssl, cl-ana, cl-apertium-stream-parser, cl-catmull-rom-spline, cl-data-structures, cl-erlang-term, cl-fad, cl-fix, cl-forms, cl-gopher, cl-gserver, cl-hamcrest, cl-info, cl-json, cl-kraken, cl-markless, cl-mathstats, cl-mixed, cl-pdf, cl-ppcre, cl-schedule, cl-sdl2, cl-str, cl-tld, cl-utils, cl-webkit, clack, claxy, clerk, climc, climon, clingon, clml, clobber, clog, closer-mop, collectors, common-doc, commondoc-markdown, consfigurator, croatoan, ctype, defmain, deploy, depot, dexador, djula, doc, ernestine, esrap, external-symbol-not-found, fiveam, flexi-streams, fresnel, functional-trees, gadgets, gtwiwtg, harmony, helambdap, herodotus, ieee-floats, imago, introspect-environment, ironclad, lack, lake, latter-day-paypal, lichat-protocol, lichat-serverlib, lichat-tcp-client, lichat-tcp-server, lichat-ws-server, lionchat, lisp-binary, lmdb, log4cl-extras, lsx, lunamech-matrix-api, maiden, math, mcclim, mgl-pax, micmac, mnas-package, mutility, named-readtables, neo4cl, neural-classifier, nyxt, omglib, opticl, osicat, overlord, papyrus, petalisp, polymorphic-functions, postmodern, purgatory, qbase64, qlot, random-state, rove, safe-read, scriba, sel, serapeum, shasht, shop3, slime, slite, sly, spinneret, stripe-against-the-modern-world, stumpwm, symbol-munger, ten, tfeb-lisp-hax, tooter, track-best, trivial-extensible-sequences, trivial-package-local-nicknames, trivial-utf-8, trucler, uncursed, vellum, vellum-csv, vivid-colors, vivid-diff, vk, websocket-driver, with-contexts, wordnet, xhtmlambda, yason, zippy.

To get this update, use: (ql:update-dist "quicklisp").

Enjoy!

NoMissingTypeConstructor elm-review rule fix

via Elm - Latest posts by @francescortiz Francesc Ortiz on Mon, 21 Feb 2022 13:45:22 GMT

When the type constructor accepts parameters the rule checker= considers them as missing. Consider this example:

type Route 
    = Root
    | Home
    | UserDetails Int

allRoutes : Int -> List Route
allRoutes userId =
    [ Root
    , Home
    , UserDetails userId
    ]

In this example, it complaints that UserDetails constructor is not present. It would be great that it realized that there is a UserDetailts. Does it look consistent with what you want to achieve?

Announcing Elmcraft - a place for all things Elm

via Elm - Latest posts by @supermario Mario Rogic on Sun, 20 Feb 2022 22:32:32 GMT

Not yet! Not all of the content is managed in code though.

The best way to engage at this early stage is to join Discord, or you can DM me here, or email me at hello@mario.net.au.

Announcing Elmcraft - a place for all things Elm

via Elm - Latest posts by @MartinS on Sun, 20 Feb 2022 21:34:27 GMT

Very cool! Is there a github repo somewhere in case other people want to contribute to elmcraft?

Announcing Elmcraft - a place for all things Elm

via Elm - Latest posts by @supermario Mario Rogic on Sun, 20 Feb 2022 20:35:02 GMT

Hi all :wave:

I’ve been around long enough to see the huge wealth of projects, initiatives, knowledge and people in the Elm community.

However this info isn’t particularly accessible to newcomers or Elm folks who don’t spend a lot of time on Slack/Discord and there’s nowhere to easily see all of it at once.

So I’m excited to share the beginnings of Elmcraft - a place for all things Elm.

Elmcraft is a curated set of content using the digital garden approach. I’ve started by focusing on media:

  • Almost 200 Elm videos classified into categories
  • Elm podcasts and newsletters
  • Elm learning resources
  • Elm meetups and conferences

There’s a long list of ideas for future content and direction. If any of this interests you, or you have feedback, you’re welcome to come chat about it in the Elmcraft Discord #contributing channel!

A special thanks to @katjam, @dillonkearns, @mdgriffith and @georgesboris for their input and support. Elmcraft isn’t even a tenth of what we dreamed up, but hopefully it will get there with time!

PS: If you appreciate my work in the Elm community, I’d be honoured if you’d consider supporting me via Github Sponsors.

Adding formatting options to Date/Time lib (elm-cldr)

via Elm - Latest posts by @system system on Sat, 19 Feb 2022 23:26:03 GMT

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.

What's wrong with using Html.map?

via Elm - Latest posts by @system system on Sat, 19 Feb 2022 22:51:03 GMT

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.

What to do if you have a Non Exhaustive pattern match

via Elm - Latest posts by @system system on Sat, 19 Feb 2022 18:15:49 GMT

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.

:studio_microphone: Episode 049: Optimizing Performance with Robin Hansen is out!

via Elm - Latest posts by @system system on Sat, 19 Feb 2022 17:09:52 GMT

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.

:studio_microphone: Episode 050: Large Elm Codebases with Ju Liu is out!

via Elm - Latest posts by @Laurent Laurent Payot on Sat, 19 Feb 2022 14:28:30 GMT

@jfmengels I am the one who asked you how fast Elm-review was at the Elm meetup in Paris. Your presentation was great. It’s the first question that came to my mind, not because I have a huge codebase, but because the laptop I use sometimes is hugely slow :wink:

IntelliJ Elm Plugin future

via Elm - Latest posts by @clojj on Sat, 19 Feb 2022 13:22:03 GMT

Hi, if you can describe these cases in detail, please feel free to create an issue in my Github repo.
Of course these kind of issues will (for me anyway) require longer investigation or even (hopefully) some support from the original contributors of the type-checking part of this plugin.

IntelliJ Elm Plugin future

via Elm - Latest posts by @sebbes Sébastien Besnier on Sat, 19 Feb 2022 09:07:10 GMT

Hey didn’t have time to take a serious look to your work but this looks great, thank you for making this tool up to date !

I am pretty happy with the current tool, there are just some complicated situations where the plugin doesn’t catch type error / exhaustiveness checking but that’s pretty fine, those situations don’t arise a lot :slight_smile: .

So just a short message to say THANK YOU SO MUCH !

IntelliJ Elm Plugin future

via Elm - Latest posts by @julianp Julian Pistorius on Fri, 18 Feb 2022 21:55:51 GMT

This is fantastic @clojj! Thank you very much.

I am building your fork from source and using the plugin in the latest WebStorm (2021.3.2) on a project with about 32k lines of Elm. Seems to work well so far. Thanks again! Please let us know if there is any way to support your efforts.

IntelliJ Elm Plugin future

via Elm - Latest posts by @francescortiz Francesc Ortiz on Fri, 18 Feb 2022 17:53:07 GMT

Correct, not it works. Thanks for the quick fix.

IntelliJ Elm Plugin future

via Elm - Latest posts by @clojj on Fri, 18 Feb 2022 15:40:15 GMT

@francescortiz
format-on-save should be fixed now
Please try 5.0.0-beta3

IntelliJ Elm Plugin future

via Elm - Latest posts by @clojj on Fri, 18 Feb 2022 11:19:09 GMT

just activated issues

IntelliJ Elm Plugin future

via Elm - Latest posts by @francescortiz Francesc Ortiz on Fri, 18 Feb 2022 11:13:04 GMT

I don’t see the issues tab. They might no be enabled.

IntelliJ Elm Plugin future

via Elm - Latest posts by @francescortiz Francesc Ortiz on Fri, 18 Feb 2022 11:11:50 GMT

Elm format on save doesn’t seem to be working now. I tried in 2 different projects and I get the same issue. I have created a FileWatcher to work around the issue for now.

IntelliJ Elm Plugin future

via Elm - Latest posts by @clojj on Fri, 18 Feb 2022 10:53:56 GMT

Hi @francescortiz meanwhile I have reproduced your project setup. This should be solvable !
You could actually create an issue with your last description of the problem here:

Super lightweight SVG identicon (avatar) generator

via Elm - Latest posts by @Laurent Laurent Payot on Fri, 18 Feb 2022 09:55:16 GMT

I just ported Minidenticons to Elm: minidenticons-elm 1.0.1

This package allows you to generate SVG identicons (pixelated avatars) on the client from usernames instead of fetching images from a server:

You can set the saturation and lightness to adapt to your color theme.

It is super lightweight. On my app using the Minidenticons Elm module added only around 250 bytes to the final minified + compressed output (gzib as well as brotli).

The hash function used is exposed as a bonus. Always useful because big integers manipulation in Elm is a bit quirky…

It is my first Elm package, so feel free to tell me what you think :slightly_smiling_face:

Cheers,
Laurent

 newer latest older