Daniele Scasciafratte

Results 325 issues of Daniele Scasciafratte

Right now to loop files in Amber: ``` let std = unsafe $/usr/bin/ls "/your-folder/"$ let stdlib = split(std, "\n") loop v in stdlib { if (contains(v, ".ab") and file_exist("/your-folder/{v}")) {...

enhancement
stdlib
syntax

Fix https://github.com/amber-lang/amber/issues/441 I am not sure why it is reporting "Variable 'len' does not exist", someone can help me?

We can integrate https://github.com/xvoland/Extract/blob/master/extract.sh as extract for tons of formats (or rewrite in amber). Or also this one https://github.com/Bash-it/bash-it/blob/master/plugins/available/extract.plugin.bash

enhancement
stdlib

It is the same stuff for https://github.com/Ph0enixKM/Amber/issues/219 or https://github.com/Ph0enixKM/Amber/issues/223 The idea is to have a flag that you put on top of the Amber script that automatically with `mktemp -d`...

enhancement
stdlib

So can be handy to be able to run the script just once and not multiple times together. I am thinking like a statement that you put on top of...

enhancement

An example code: ``` pub fun round(number: Num): Num { let operator = "+" if number > 0 { operator = "-" } return unsafe $echo "({number}{operator}0.5)/1" | bc$ as...

bug
compiler

I see https://github.com/nikalexis/django_htmx_ui_adminlte but is not helpful as example as it is a complete new admin instead of a classic frontend.

**Describe the bug** I am trying to run tabby but I get: ``` WARN llama_cpp_server::supervisor: crates/llama-cpp-server/src/supervisor.rs:98: llama-server exited with status code 1, args: `Command { std: "//tabby_x86_64-manylinux2014-cuda122/llama-server" "-m" "/home/mte90/.tabby/models/TabbyML/Mistral-7B/ggml/model-00001-of-00001.gguf" "--cont-batching"...

enhancement

I just tried to setup the LSP server on the Kate kde editor with this settings: ``` "php": { "command": ["npx", "tabby-agent", "--lsp", "--stdio"], "path": ["/usr/local/bin"], "url": "https://tabby.tabbyml.com/" }, "python":...

bug-unconfirmed

With the latest version I tried to scan a folder but is not clear if reads also the various subfolders. I wrote as path `file:///[...]/Amber/*` (the [...] part is to...

bug-unconfirmed