Better HN
topnewbestaskshowjobs
Log inSign up

odino

24 karma · joined Jan 17, 2014 (12y ago) · 19 submissions

Submissions

comment 2y ago · link · parent

ABS creator here. Thanks for the kind words :)

Long way to go but was very happy to see someone wanting a better alternative to bash and trying ABS out!

comment 5y ago · link · parent

BTW if we remove error handling, I think ABS' code would look like:

    ip = `curl -s 'https://api.ipify.org?format=json'`.json().ip
    total = ip.split('.').map(int).sum()
    if total > 100 {
        echo("The sum of [$ip] is a large number, $total.")
    }
I would suggest implementing decorators in NGS. Not because you will need them, but because they're easily the most fun part I had to write in ABS :) That, and seeing stdin() working for the first time on my terminal!

comment 5y ago · link · parent

Yes, I replied to your original comment. Again, truth to be told I've got limited space to work with on the UI to showcase some of the syntax but I agree that snippet doesn't make a lot of sense...suggestions welcome!

comment 5y ago · link · parent

Sorry the example on the docs is definitely not a good one, though I've had a hard time finding something more appropriate that can fit within that block :) Suggestions are more than welcome!

Hash keys need to be string (eg. n -> n.str()), I fixed the example on the homepage.

comment 5y ago · link · parent

I would check in a few weeks :)

https://github.com/abs-lang/abs/issues/447

comment 5y ago · link · parent

https://github.com/abs-lang/abs/issues

Feel free :)

comment 5y ago · link · parent

Author here -- hi! :)

I just wanted to say thanks for sharing this, it made my day. I started ABS a couple Christmases ago as I had a week off and the constant thought that there's gotta be a "nicer" way to script things, without the verbosity of higher-level languages...and I'm happy to see folks finding ABS useful.

I haven't updated it in a couple of months as I find it pretty "complete" from my perspective, but I also have some crazy ideas every now and then that I know I'll want to throw into the language.

Again, thanks for giving ABS a try!

PS. I wanted to credit Thorsten Ball for his books, without them I would have never been able to build ABS:

https://interpreterbook.com/

comment 5y ago · link · parent

https://www.abs-lang.org/

Brings me joy every single day, even if I'm the only user in the world :)

9.

Show HN: Shell scripting just got a whole lot easier with ABS preview 2(odino.org ↗)

2 points · by odino · 7y ago · discuss

comment 7y ago · link · parent

Yeah, 100%. Being able to compile across platforms is one of the reasons Go was an absolute no-brainer:

https://www.abs-lang.org/misc/technical-details

Currently, there are binaries for a few different platforms:

https://github.com/abs-lang/abs/releases

Interestingly enough, the releases are built with an ABS script:

https://github.com/abs-lang/abs/blob/master/scripts/release....

:)

comment 7y ago · link · parent

Disclaimer: author here :)

This is something I've put together to see how scripting with an elegant language and easy bash commands would look like.

Happy to hear your feedback, both positive and negative!

12.

The ABS programming language(abs-lang.org ↗)

6 points · by odino · 7y ago · 3 comments

comment 8y ago · link · parent

> If you're making ~$60,000 or more in the US, you are overwhelmingly going to have good health insurance. If you're making $140,000, you're going to have great health insurance. I fail to see how universal healthcare is a lure in this case.

If you get insured.

I think most Europeans are proud to pay taxes to make sure a random fellow living down the street who got cancer can afford his treatments. At least that has been my mentality around taxes for as long as I've lived there.

Sure, taxes don't all go towards nice things :) but at the end of the day I'm proud to be helpful to those who are in need.

Never understood the healthcare system in the US, it just sounds "wrong" to me.

14.

Local development with rkt containers(odino.org ↗)

1 points · by odino · 9y ago · discuss

comment 11y ago · link · parent

By the way, claps for Tim for the amazing job. He contacted various people and gave them heads up weeks ago. I think the wat this was handled was awesome.

<3 OSS

16.

MockServer, Effortless API Mocking Library in Node Js(tech.namshi.com ↗)

3 points · by odino · 12y ago · discuss

17.

Three key criteria you are gonna violate next time you negotiate a contract(jacoporomei.com ↗)

1 points · by odino · 12y ago · discuss