Arkisto, huhtikuu 2017

Etusivun uutis- ja tapahtumaotsikkolinkit rikki

23. huhtikuuta 2017 klo 17.08
Sijainti: Muut: Oulun Palautepalvelu
Avainsanat: Chrome, Firefox, Oulu, saavutettavuus

Sivuston uudistuksen myötä etusivulla nyt olevien uutis-, ilmoitus- ja kuulutusotsikkolinkkien toiminnassa on jotain kummallista. Seuraavassa kuvailemani ongelma ilmenee välillä, välillä taas ei.

Jos valitsen esim. ”Omaishoidontuen ohjeet muuttuvat 1.5.2017 alkaen” -otsikon oikealla hiirennapilla, ja valitsen kontekstivalikon ”Avaa uuteen välilehteen” -toiminnon, uuteen välilehteen avautuu etusivu, ei linkattu artikkeli. Bugi ilmenee myös, jos kopioin artikkelin linkin leikepöydälle (saman kontekstivalikon kautta) ja liimaan sitten tuon kopioidun osoitteen toisen välilehden osoitepalkkiin (välilehdellä avautuu artikkelin sijasta etusivu). Tämä hankaloittaa artikkeleiden jakamista.

Suoraan vasemmalla hiirennapilla avattuina linkit tuntuisivat toimivan kuten odottaisinkin (samalla välilehdellä avautuu siis otsikkoon linkitetty artikkeli).

Onnistuin toisintamaan bugin Firefoxilla (53.0) ja Chromella (58.0.3029.81), mutta tosiaan vain hetkittäin; välillä linkit toimivat myös kontekstivalikon kautta kuten pitääkin, eli otsikkoon linkitetty osoite viittaa artikkeliin eikä etusivulle.

Vastaa viestiin sen kontekstissa (Oulun Palautepalvelu)

I get a blank page and a ”Cannot redeclare geoip_country_code_by_name()” error in my log

23. huhtikuuta 2017 klo 13.49
Sijainti: Vianhallintajärjestelmät: Github
Avainsanat: Git

Technical details

  • YOURLS version: master (at e36ec69)
  • PHP version: 5.6.30
  • I’m running Yourls on shared hosting and they have php5-geoip installed

Bug Summary

After pulling recent changes (up to e36ec69) today, I’ve hit what appears to be a regression of issue #359: I get a blank page and a ”Cannot redeclare geoip_country_code_by_name()” (in includes/geo/geoip.inc on line 1602) error in my log.

I can work around the issue by checking out d5a5522, which is the last commit prior to ”Update GeoIP” (96a159b).

 

Vastaa viestiin sen kontekstissa (Github)

Note for non-U.S. folks: the input date is in M/D/Y format

15. huhtikuuta 2017 klo 17.40
Sijainti: Muut: Stack Exchange
Avainsanat: Yhdysvallat

Note for non-U.S. folks: the input date is in M/D/Y format. (I’d edit the answer to use something like ”12/31/2012” as an example to make this more apparent, but the edit queue is currently full.)

Vastaa viestiin sen kontekstissa (Stack Exchange)

Clare seems like the sweetest person in the world!

13. huhtikuuta 2017 klo 20.28
Sijainti: Videosivustot: YouTube
Avainsanat: Clare Gilbert

Clare seems like the sweetest person in the world! And yet at the same time, from listening to the podcast, a very effective attorney too.

Vastaa viestiin sen kontekstissa (YouTube)

None of the helpers I’ve worked with have had any fixes for it

11. huhtikuuta 2017 klo 10.02
Sijainti: Muut: Google
Avainsanat: terveys

I’ve had altogether (I think) 4 years of actual psychotherapy (3 of which group therapy of $deity-knows-what school, 1 brief intervention-type CBT thingy to cope with a crisis), and in between those something like 10 years of (usually weekly) sessions with psychiatric nurses or a psychologist (not considered actual psychotherapy).

The reason was my (ongoing) depression, and I’ve always brought up the emptiness inside being at the core of my problems, and unfortunately none of the helpers I’ve worked with have had any fixes for it. The biggest focus on it I’ve had was with the (also CBT) psychologist, but even with her in the end we just had to put it (along with the cynical worldview I’ve developed from it) aside, thinking I could perhaps go on with my life despite it being in the background. That’s been the only option available, and it’s not a very good one I’m afraid.

The closest I ever came to an actual fix, I think, was a brief moment (during my time with the psychologist) when I had the idea that I could perhaps turn this emptiness into my source of motivation. Since the emptiness really has felt indestructible, it’d mean I’d have virtually never-ending reason to push forward. But that too just doesn’t work in real life like it does in TV Tropes (http://tvtropes.org/pmwiki/pmwiki.php/Main/PowerOfTheVoid).

Vastaa viestiin sen kontekstissa (Google)

[ ”$c” != ”” ] is false for completely empty files which is contrary to what I’d expect.

1. huhtikuuta 2017 klo 17.04
Sijainti: Muut: Stack Exchange
Avainsanat: Bash

`[ ”$c” != ”” ]` is `false` for completely empty files which is contrary to what I’d expect.

Vastaa viestiin sen kontekstissa (Stack Exchange)