Hacker News new | past | comments | ask | show | jobs | submit login
How to Send an SMS in Haskell (2017) (twilio.com)
12 points by mooreds on April 13, 2024 | hide | past | favorite | 9 comments



I'd recommend using ghcup to install Haskell nowadays. (https://www.haskell.org/ghcup/) It makes it easy to install and switch versions of the compiler, language server, and build tools.


Haskell's ecosystem went such a long way in, I d say,last 5 years? Or maybe it's just me who became more proficient at following instructions? I distinctly remember not being able to setup my working environment for Haskell sometime before 2018 and then I tried it again couple of months ago, and all well smoothly


Yes, it has improved a great deal, and ghcup has been an important aspect of that improvement.


I've always liked Twilio. I stopped using it about a year ago because there was no longer a need for me to continue using it, and they have this "feature" where you can suspend your account, which means that it will release all numbers and disable billing, so that you can reactivate it later without having to worry that you get billed accidentally.

I wanted to do the same with AWS this week, since I'm always getting 0€ invoices, and I'm worried that some day something will happen without me doing anything and I'll get billed for it. Apparently it isn't even possible to set a spending limit of let's say 5€ as a warning mechanism.


Best you can do with AWS AIUI is set a billing alarm on your account, and hook it up to an SNS topic, and subscribe your email address to that topic.


Very easy...


I wouldn't say that, no. Especially not for people just getting started and who don't want massive surprise bills.


How to use Twillio's API in Haskell*

I thought this was going to be about using an actual radio module with a SIM card and communicate with a cell tower or something


Well, you can see the twilio.com next to the title...




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: