Skip to content
#

Crystal

crystal logo

Crystal is a programming language with friendly syntax, static type checking and modern stdlib. It compiles into efficient, easy-to-distribute native code.

Here are 1,348 public repositories matching this topic...

spencerking
spencerking commented Aug 30, 2019

I've found that a clean install of Fedora 30 is pretty lacking when it comes to building the project. I'm using this issue to document all of the packages I need to install as I work towards a build. Going forward it may make sense to create a nix or guix configuration, or perhaps split the custom components into their own repositories with clear documentation.

Packages:
llvm-devel
pcre-devel

next-mad-hatter
next-mad-hatter commented Feb 10, 2018

Currently out of the box build fails on some systems (e.g. latest Slackware Linux).

From what I gather [1] the readline library might not be explicitly linked to one providing termcap capabilities, so it needs to be explicitly given to the linker. On Slackware either --link-flags "-lncurses" or --link-flags "-ltermcap" works.

Not sure though if automatic detection, settling for one of

acoustep
acoustep commented Nov 29, 2019

I wanted to check if this is intended or not. I'm happy to try and put together a pull request if you'd like this implemented.

At the moment validate_required returns true so long as the field exists in the changeset. This differs from Elixir Ecto's implementation which from their docs says:

If the value of a field is nil or a string made only of whitespace, the changeset is marked as inv

digitalcora
digitalcora commented Feb 17, 2020

Unless I've missed something, right now it doesn't seem possible to get an overview of all supported rules and their default settings. This makes it difficult to discover rules that are disabled by default, and to decide ahead of time what kind of code style you want to enforce. For example, even if you're in the habit of running ameba --all, you might not realize LineLength exists.

How oth

faustinoaq
faustinoaq commented Mar 7, 2018

Hi @crystal-lang-tools/scry community!

This project is getting better everyday. I think is cool but some newcomers are getting confused on how to use scry. This is mainly because the lack of documentation on LSP clients configuration:

I propose to write some wiki articles about configuring scry to run on:

⚠️ Work In Progress, see the wiki: https://github.com/crystal-lang-tools/scry

encryptednonrandom
encryptednonrandom commented Mar 18, 2017

Add a --verbose option to output more information on the searching, ripping and encoding process of mp3s. It'd be nice to see a --logging option where we could specify log-level such as info, debug. --verbose could also be set to log-level debug while info messages are copied to standard output and to a log file...all configured in the config file of course.

irlcatgirl
irlcatgirl commented Sep 21, 2019

Hi, at my organization (@ulayer) we are interested in the ability for Granite to have a sort of Psuedo Arrays to avoid needing to write complex custom setter and getter methods.

Context: Our users want to be able to share their Virtual Machines with trusted contacts. To accomplish that we currently have a String field that looks like @allowed_clients = "1,2,5,6,8," and so forth. Our model for

girng
girng commented Feb 23, 2019

Example Code:

alias ItemTuple = {Int64, Int32, String, Int16, Int8, Int8, Int8, Int16, Int16, Float64, Float64, Int8, Int16}
db.query_all "select #{ItemQuery} from rpg_user_items where rpg_character_id = ? and user_id = ? and in_stash = 0", client.selected_characterid, client.user_id, as: ItemTuple

Result:

MySql::ResultSet#read returned a Int64. A Tuple(Int64, Int32,

Created by Ary Borenszweig, Juan Wajnerman

Released June 2011

Organization
crystal-lang
Website
crystal-lang.org
Wikipedia
Wikipedia
You can’t perform that action at this time.