News for hackers. Stuff that matters.

CIAvash

Re:Raku is pretty damn Cool on Sunday June 25, 2023 @08:46AM (#36467648)
Not the point of the article, but the script can be written more concisely:

    #!/usr/bin/env raku
    
    run «git switch $_», :!out, :!err and last for <main master>;
    
    run «git branch -d $_» for run(<git branch --merged>, :out).out.lines».trim.grep: !*.starts-with: '*';
> and because you will want to use external libraries for that, and package management for scripting languages is terrible.

I'm not sure Raku can be called a scripting language, although it can be used as one.

Also I would like to know which parts of package management in Raku are terrible, I'm sure it helps people improve it, since Raku implementation and tooling are young.

I'm not very knowledgeable on this. But, a program that wants to support RTL languages, in this case a terminal, needs to support bidirectional text and text shaping.
Currently I'm aware of two terminal that support RTL languages, Konsole and gnome-terminal.

The terminal itself doesn't need to be RTL, but the text that is entered or printed.

Here's screenshots of Konsole and Alacritty: https://imgur.com/a/x8Zy6ug

Wezterm, like Alacritty doesn't support RTL languages.
I needed a fast and simple way of finding information about movie and TV series, and also their IMDB, RottenTomatoes, and Metacritic ratings and an average rating of them. So that's why I created it.

It uses OMDB API, unfortunately its ratings are not very up to date.

I originally created this app with Elm, but after finding Svelte, I recreated it with Svelte to learn using it.

Re:Gitlab Blocked Iranians’ Access on Sunday October 25, 2020 @03:32PM (#24889184)
There are a lot of misinformation here. Nobody has to block Iranians. Look at GitHub, they limited Iranian accounts, not block them.
I like many things about Perl 6, but I mention only the ones I used in my project. MAIN subroutine makes it very easy to create simple CLIs, multiple dispatch, gradual typing, subsets, the object system, roles, Unicode support, being multi-paradigm.

Also, Perl 6 makes it easy to write short and concise code that will also be very readable.

The project I wrote is a command line tool[1] for fetching football(soccer) data, which uses a module[2] I wrote for getting the data from http://football-data.org

[1] https://gitlab.com/CIAvash/App-Football

[2] https://gitlab.com/CIAvash/WebService-FootballData

Re:Set in Your Ways: Perl 6’s Setty and Baggy Types on Tuesday December 13, 2016 @03:52AM (#13165490)
There is a doc for entering unicode characters: https://docs.perl6.org/language/unicode_entry.html

It also has an Emacs section. For a more detailed explanation for Emacs see my blog post: https://blog.ciavash.name/2016/01/09/entering-perl6-unicode-...