portal VS truss

Compare portal vs truss and see what are their differences.

InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
portal truss
12 4
838 296
- 0.0%
9.5 5.9
5 days ago 25 days ago
Clojure Clojure
MIT License Eclipse Public License 1.0
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

portal

Posts with mentions or reviews of portal. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-09-10.
  • What I Have Changed My Mind About in Software Development
    4 projects | news.ycombinator.com | 10 Sep 2023
    Tracing debuggers give you the best of both worlds. I've recently started using Flow-storm [0], by @jpmonettas), and it's been quite transformative. You can still easily see the values flowing through your system (better than just "prints"), and it can handle multi-threaded / async scenarios quite nicely. You don't need to manually step through code, you can just "see" your data flow, and when you have loops or some other form of iteration, you can see the data for each pass. Coupling this with a good data visualization tool (such as Portal [1]) really feels like magic. I've been doing Clojure for quite a few years now, and was very happy with my plain REPL-driven workflow, but this is way better.

    [0] https://github.com/jpmonettas/flow-storm-debugger

    [1] https://github.com/djblue/portal

  • Visual-tools meeting 16 - Calva Notebooks & Portal - summary & recording
    1 project | /r/Clojure | 1 Dec 2022
    In this meeting, Lukas Domagala of the Calva team and Chris Badahdah, Portal's creator, presented Calva Notebooks, their integration with Portal, and other Portal updates.
  • Clojure at the REPL: Data Visualization
    3 projects | news.ycombinator.com | 26 Nov 2022
  • Request Support for Clojure in JetBrains new Fleet IDE
    3 projects | /r/Clojure | 18 Oct 2022
    Also my dot-clojure and vscode-calva-setup repos have some interesting stuff in for using/customizing Portal for use with VS Code: * https://github.com/seancorfield/dot-clojure * https://github.com/seancorfield/vscode-calva-setup * https://github.com/djblue/portal
  • Book recommendation focusing on tooling?
    4 projects | /r/Clojure | 4 Oct 2022
    One thing that really helps with debugging is learning to use tap>. Even after a decade of using Clojure, I found it game changing. I personally use it with djblue/portal, which has a lot of bells and whistles, but isn't too hard to get going with the basics. You don't need an UI for tap>, though, if you don't want it.
  • Best practices for maintaining REPL "hygiene"?
    3 projects | /r/Clojure | 31 Jul 2022
    You may want to try using tap> for debugging, which avoids this problem and is generally more convenient in my experience. I use it to log values with either an atom or Portal.
  • Things about clojure or tooling, you found out way too late.
    4 projects | /r/Clojure | 2 Jul 2022
    Portal makes deving so much easier! Having your tapped data available to inspect and transform in the Portal UI is much easier, cleaner, and faster than in the REPL/output window.
  • Clay, a way to write Clojure data science notebook value renderers that are portable across the landscape of Clojure notebook & dataviz tools
    2 projects | /r/Clojure | 29 Apr 2022
    Clay is an attempt to create compatibility across data science notebook plugin scripts. Today, Clojure's data viz tools (e.g. Clerk, djbue/Portal) offer similar abstractions for scientists to 1) create notebook documents and 2) enable dynamic exploration of data. These tools all work by attaching rendering metadata to values. But the render code is not portable across tools, which means a script written for one tool is not compatible with all the others, and this inhibits scientific work and makes the toolchain inaccessible to scientists who don't know Clojure.
  • Love Clojure, challenged by discoverability
    6 projects | /r/Clojure | 22 Dec 2021
    tag / stick into something like https://github.com/djblue/portal makes this problem instantly go away, and I get a whole bunch extra stuff at the same time: https://www.youtube.com/watch?v=gIoadGfm5T8 If you MUST have it codified somewhere, probably the next highest leverage point is to use specs. Typically we do this when you've a single set of data structures that are widely reused (as opposed to, say, a map that's only used between a single SPA component and an API call). I've tried both clojure.spec and Malli. Clojure's spec is satisfactory. Malli's ergonomics and performance are fantastic. https://github.com/metosin/malli
  • Sublime (love) Clojure
    3 projects | news.ycombinator.com | 14 Dec 2021
    ;; :main-opts ["-m" "cognitect.rebl"]}

    Into your '~/.clojure/deps.edn'.

    From there I can just add 'rebl' as a profile to my Intellj when you start a REPL it starts automatically.

    There are also alternative tools like Portal to do the same things: https://github.com/djblue/portal

    Or: https://vlaaad.github.io/reveal/

truss

Posts with mentions or reviews of truss. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-01-25.
  • Java 21: What’s New?
    1 project | news.ycombinator.com | 9 Aug 2023
    When type checking is needed, I find the Truss library* does the trick quite well.

    As for the syntax, there is very little, which can make it a harder lift but once you have the hang of it you won't deal with the issues identified in the parent comment.

    * https://github.com/taoensso/truss

  • Tired by the dynamicism
    7 projects | /r/Clojure | 25 Jan 2023
    I use truss extensively throughout my code to prevent those types of errors.
  • Python dataclass equivalent
    7 projects | /r/Clojure | 20 Jan 2022
    I haven't tried it myself. I generally just use truss for runtime constraint checking. I use a modified version that integrates scope-capture. And malli validation for more complex cases, but I try to limit that. For me it is better to validate individual attributes as needed, vs validating an entire "type"/collection of attributes. So each function only cares about the attributes that it needs, and validates only as needed.
  • Love Clojure, challenged by discoverability
    6 projects | /r/Clojure | 22 Dec 2021
    Use assertions for all data requirements inside functions - I use a modified version of https://github.com/ptaoussanis/truss to ensure that I never get NullReference exceptions, and this also helps make functions more self-documenting. Also use this to assert return data.

What are some alternatives?

When comparing portal and truss you can also consider the following projects:

reveal - Read Eval Visualize Loop for Clojure

scope-capture - Project your Clojure(Script) REPL into the same context as your code when it ran

dot-clojure - My .clojure/deps.edn file

spec-tools - Clojure(Script) tools for clojure.spec

clerk - ⚡️ Moldable Live Programming for Clojure

ghostwheel - Hassle-free inline clojure.spec with semi-automatic generative testing and side effect detection

flow-storm-debugger - A debugger for Clojure and ClojureScript with some unique features.

malli - High-performance data-driven data specification library for Clojure/Script.

obb - Ad-hoc ClojureScript scripting of Mac applications via Apple's Open Scripting Architecture.

python-nrepl

cljs-devtools - A collection of Chrome DevTools enhancements for ClojureScript developers

plumbing - Prismatic's Clojure(Script) utility belt