HT Tärkeimmät Uutiset taas.

10. kesäkuuta 2014 klo 11.39
Sijainti: Muut: kieli

HT Tärkeimmät Uutiset taas.

Vastaa viestiin sen kontekstissa (kieli)

Why, it’s the one I’ve hand baked myself of course.

7. kesäkuuta 2014 klo 20.03
Sijainti: Muut: reddit
Avainsanat: peli

Why, it’s the one I’ve hand baked myself of course.

Vastaa viestiin sen kontekstissa (reddit)

How about a hook for filtering $articles in FeedParser?

6. kesäkuuta 2014 klo 10.54
Sijainti: Keskustelupalstat: Tiny Tiny RSS Community Forums
Avainsanat: Tiny Tiny RSS

I used to get so many old videos as reruns from Youtube feeds that I got fed up with it and made these changes to init() in classes/feedparser.php (added lines prefixed with ’+’):

foreach ($articles as $article) {
+    $ju_article = new FeedItem_Atom($article, $this->doc, $this->xpath);
+    if ($ju_article->get_date() < strtotime("-14 days")) continue;
+
array_push($this->items, new FeedItem_Atom($article, $this->doc, $this->xpath));
}

(And the same logic for each feed type.)

This seems to work as I like, forcibly dropping everything older than two weeks (I generally don’t care for old content). However, as it is a core change, I’ll have to reimplement it each time TTRSS is updated. Any chance of getting a hook in there somewhere (perhaps operating on $articles prior to that foreach), to do this type of prefiltering in a plugin?

Vastaa viestiin sen kontekstissa (Tiny Tiny RSS Community Forums)

Great, thanks!

5. kesäkuuta 2014 klo 13.02
Sijainti: Blogit: Aurélien's Room
Avainsanat: ohjelmistovapaus

Great, thanks!

Vastaa viestiin sen kontekstissa (Aurélien's Room)

Which license would you apply to this?

5. kesäkuuta 2014 klo 11.16
Sijainti: Blogit: Aurélien's Room
Avainsanat: ohjelmistovapaus

Excellent. Which license would you apply to this? I store many of my small scripts in my personal (but publicly readable) wiki, so I’d like to get the license right for any derivatives I might publish.

Vastaa viestiin sen kontekstissa (Aurélien's Room)

I almost get cramps just by looking at this.

3. kesäkuuta 2014 klo 16.14
Sijainti: Videosivustot: YouTube
Avainsanat: urheilu

I almost get cramps just by looking at this.

Vastaa viestiin sen kontekstissa (YouTube)

I don’t see a J in there, instead there are two L’s.

22. toukokuuta 2014 klo 17.19
Sijainti: Muut: reddit

I don’t see a J in there, instead there are two L’s. A weird anomaly, almost as if somehow significant…

Vastaa viestiin sen kontekstissa (reddit)

/r/mildlyfifthworld

22. toukokuuta 2014 klo 17.13
Sijainti: Muut: reddit

/r/mildlyfifthworld

Vastaa viestiin sen kontekstissa (reddit)

”home” key on the PS/2 keyboard triggers sleep mode in Precise after installing linux-generic-lts-trusty

20. toukokuuta 2014 klo 15.35
Sijainti: Vianhallintajärjestelmät: Launchpad
Avainsanat: Compaq, HP, Linux

I have a HP/Compaq SDM4700P PS/2 keyboard, quite a prevalent model (I even have two myself). The keyboard has a set of 8 ”internet” keys on the top, one of which has a ”home” icon (so it’s supposed to be XF86HomePage I believe).

After installing linux-generic-lts-trusty (3.13.0-27.23 from -proposed), pressing the ”home” key triggers the computer going to sleep (powering down, power led starts blinking).

This did not happen with kernels prior to 3.13.

I installed and booted 3.13.0-24.47 (also available in the repositories now) and the issue was still reproducible.

To be sure, I also tried 3.11.0-22.38 and 3.8.0-41.60 again, and it was *not* reproducible.

(I wouldn’t have much use for the ”home” key as such, but as the keyboard lacks audio controls, I’ve remapped the ”home” key to be my XFAudioMute with ~/.Xmodmap. This was working fine until 3.13; now it still does mute the audio just before putting the computer to sleep. As I don’t use sleep mode otherwise, I’ve worked around this by adding an `exit` at the top of /etc/acpi/sleep.sh.)

Vastaa viestiin sen kontekstissa (Launchpad)

And here I was thinking it was the gynecologist

15. toukokuuta 2014 klo 14.32
Sijainti: Muut: reddit
Avainsanat: Richard Gere

And here I was thinking it was the gynecologist all along. Silly me.

Vastaa viestiin sen kontekstissa (reddit)

« Uudempia - Vanhempia »