@Crell I did look at yours, but Stack Overflow errors have taught me the hard way that PHP has changed a lot recently. Isn't much of PHP different since you wrote the book?
I'm looking for recent books or up-to-date text on #FunctionalProgramming with PHP. #PHP is changing rapidly and all the books I see are nearly a decade old. Any good recommendations? #FP
I had a bash file that was suddenly failing. After TOO LONG debugging, I found that one of the included functions had been broken so it ended with `fi}` instead of `fi\n}` so a linebreak had been removed. As a result the cron job that depended on that script was failing. #BeautifulBash
ah, that's the stuff. Because Gnu `date` can create Julian dates but then cannot read them. #babashka #EayNumber #JulianDates #Clojure
@FinchHaven yeah, this instance has custom code and so deviated from the main branch, apparently a while ago
@borkdude thanks!
@javahippie @borkdude Thanks for that!
@borkdude you mean the `java.text.SimpleDateFormat` ? I searched all over the internet and that is the only thing I could find to get the function right
#Mastodon now has "edit post"? Since when?
Do any #clojure folks out there know of a short language-specific course covering the basic OWASP guidelines?
@borkdude Well, it isn't one line, but it is basically one function. It took some research into how and what libraries to use, but here it is: https://gitlab.com/toryanderson/bb-julian-converter/
@borkdude sounds like it might turn out to be a one-liner then!
I can, for the moment, rest in peace (at least, on the issue of getting my portable docked triple-monitor setup stable with #exwm). https://orys.us/ww
@souldessin I am a fan of Calibre, and have been using it for longer than I've been using Linux! But how do I get it to clean things up?
@writh yeah, an old book from archive.org. Done right, epubs have certain advantages over pdfs. But apparently they can be done very wrong...
#epub. A good thing: officially standardized by the W3C https://github.com/w3c/epubcheck . However, some auto-generated epub seems to be rubbish; 3 out of 4 of my epub readers failed to parse the epub, even after editing missing fields per https://www.edrlab.org/open-standards/anatomy-of-an-epub-3-file/ . I'm not sure how the 4th one managed it, but it's pretty ugly. Guess I'm sticking with #pdf on this one.
@Nundrum I found the issue, which was as stupid as I had suspected: I had something misspelled as "mastadon" rather than "mastodon", and it was looking for a function that didn't exist. Shadow should probably be more explicit about errors like that in my shadow-cljs.edn
Full Stack Clojure web app engineer