Neil Banman
12/01/2022, 6:08 PMephemient
12/01/2022, 6:11 PMNeil Banman
12/01/2022, 6:19 PMJoey Haas
12/01/2022, 6:20 PMephemient
12/01/2022, 6:21 PMephemient
12/01/2022, 6:23 PM.openConnection(): URLConnection
is a bit of a confusing name. it doesn't mean that the a connection is open yet; you still have the opportunity to set properties before calling .connect()
. partly this is because <http://java.net|java.net>
is designed for around many types of URLs and connections, some of which aren't HTTP-like (such as JarURLConnection
)ephemient
12/01/2022, 6:24 PMHttpURLConnection
Neil Banman
12/01/2022, 6:27 PMNeil Banman
12/01/2022, 6:48 PMmaiatoday
12/01/2022, 7:18 PMephemient
12/01/2022, 7:19 PMmaiatoday
12/01/2022, 7:19 PMNeil Banman
12/01/2022, 8:51 PMnkiesel
12/02/2022, 12:15 AMTZ=America/New_York day=${1:-$(date '+%-d')}
https -d -q -o "input/Day$day" --session=2022 "<https://adventofcode.com/2022/day/$day/input>"
ephemient
12/02/2022, 12:28 AMephemient
12/02/2022, 12:29 AMnkiesel
12/02/2022, 12:30 AMephemient
12/02/2022, 12:34 AM