Hi, Dallas - I'm around for a couple days, if anyone would like to grab a bite. Maybe #codeandcoffee tomorrow morning at Ascension Coffee in the Design District?
Next step is 'git blame' to see how we introduced this recently. Right?
Nope. This code is untouched since 2012-06-16. It really never worked.
It just took 7.5 *years* for a website to delete a cookie rather than set one. That's 60k submitted stories before 1 removed a cookie!
The exception came from deep in the common page-fetching code. In set_cookie:
if val.to_s == ""
@cookies[host][name] ? @cookies[host][name].delete : nil
@cookies[host][name] = val
Sites delete cookies by "setting" them to empty string, so the logic's right, but there's an obvious confusion in how to delete from a Ruby hash, should be .delete(:name). This indeed never worked.
Lobsters fetches web pages for a couple reasons:
* to prefill the title field on new links as a convenience
* to cache story text for the search engine
* to check for rel=canonical links
* to auth github/twitter/keybase accounts
* to send webmentions back to blogs
Over on Barnacles, the site for bootstrappers: I closed signups, opened the invite queue, and caught up on 2.5y of code from Lobsters: https://barnacl.es/s/rvjtqz/signups_closed_invite_request_open
Nice analysis, to evaluate risk of dying during various sports/hobbies by active hours: https://chessintheair.com/the-risk-of-dying-doing-what-we-love/
just venting a bit - learned about the neat way it supports defining a controller in test (thanks emrox) and bumped into a limitation: https://github.com/lobsters/lobsters/commit/6c804eeea641d11fbbd9992435cbaee2197d9c32#diff-f803dcdbbef9948899992eb475f5af1eR17
15 years ago I made a small PHP CMS for a friend's mom's 35th high school reunion. Today at #CodeAndCoffee, well, they had their 50th, so I'm figuring out how I thought it was a good idea adding photo galleries should work.
I guess it's so ugly it's censored by mastodon.
I don't love that this almost certainly works by keeping a copy of your credentials for every service, but I have wanted version control for every settings page for so long: https://goldfiglabs.com
The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!