HNHacker News
TopNewBestAskShowJobs

CIAvash

55 karma · joined January 2, 2012

Web designer & developer.
submissionscomments
CIAvash··on Raku is pretty damn Cool
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.

CIAvash··on Wezterm – A GPU-accelerated cross-platform terminal emulator and multiplexer
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.
CIAvash··on Wezterm – A GPU-accelerated cross-platform terminal emulator and multiplexer
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

CIAvash··on Wezterm – A GPU-accelerated cross-platform terminal emulator and multiplexer
Wezterm, like Alacritty doesn't support RTL languages.
CIAvash··on Show HN: MovieInfo – Information and Ratings for Movies, TV Series and Games
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.

CIAvash··on Gitlab Blocked Iranians’ Access
There are a lot of misinformation here. Nobody has to block Iranians. Look at GitHub, they limited Iranian accounts, not block them.
CIAvash··on Ask HN: Perl 6: Do you use it, how do you like it, what do you do with it?
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

CIAvash··on Set in Your Ways: Perl 6’s Setty and Baggy Types
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-...