Better HN
topnewbestaskshowjobs
Log inSign up

CIAvash

55 karma · joined Jan 2, 2012 (14y ago) · 18 submissions

Web designer & developer.
Submissions

1.

App::Rak – 21st century grep / find / ack / ag / rg on steroids(github.com ↗)

96 points · by CIAvash · 3y ago · 95 comments

comment 3y ago · link · parent

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.

3.

Moar – A pager designed to just do the right thing without any configuration(github.com ↗)

1 points · by CIAvash · 4y ago · discuss

4.

Show HN: Sway:Config – A Raku library and script for parsing Sway's config(github.com ↗)

5 points · by CIAvash · 5y ago · discuss

5.

Show HN: Sway-preview-keys – Program for previewing key bindings of Sway modes(github.com ↗)

3 points · by CIAvash · 5y ago · discuss

6.

LavaLauncher – a simple and customizable launcher panel for Wayland desktops(git.sr.ht ↗)

1 points · by CIAvash · 5y ago · discuss

7.

Raku, Go, Chroma, Germanium, Hugo and My Blog(ciavash.name ↗)

3 points · by CIAvash · 5y ago · discuss

comment 5y ago · link · parent

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.

comment 5y ago · link · parent

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

comment 5y ago · link · parent

Wezterm, like Alacritty doesn't support RTL languages.

comment 5y ago · link · parent

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.

12.

Show HN: MovieInfo – Information and Ratings for Movies, TV Series and Games(movie-info.ciavash.name ↗)

1 points · by CIAvash · 5y ago · 1 comment

13.

An alternative website for Raku programming language(raku-lang.ir ↗)

4 points · by CIAvash · 5y ago · discuss

comment 6y ago · link · parent

There are a lot of misinformation here. Nobody has to block Iranians. Look at GitHub, they limited Iranian accounts, not block them.

comment 9y ago · link · parent

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

comment 9y ago · link · parent

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-...

17.

HTML Editing and other improvements in Firefox 17 Developer Tools(hacks.mozilla.org ↗)

3 points · by CIAvash · 14y ago · discuss

18.

Google Reader, FeedBurner and +1(potatozone.com ↗)

2 points · by CIAvash · 14y ago · discuss