Quote
"Hiring PHP developers does not contribute to the quota of employees with disabilities."

— via reddit.

Photo
laughterkey:

thisistheverge:

Next-generation condoms might feel like human skin Condoms made out of “tough hydrogels” might one day save lives, reduce unplanned pregnancies, and make safe sex a pleasure. A research team from the University of Wollongong is working to replace latex with the biomaterial, which is similar to the kind used in contact lenses.

Dick contacts! If they don’t put some horrible pun about it being contact material in the ad campaign I will be sad.

Sharing because the university name is perfectly apropos.

laughterkey:

thisistheverge:

Next-generation condoms might feel like human skin
Condoms made out of “tough hydrogels” might one day save lives, reduce unplanned pregnancies, and make safe sex a pleasure. A research team from the University of Wollongong is working to replace latex with the biomaterial, which is similar to the kind used in contact lenses.

Dick contacts! If they don’t put some horrible pun about it being contact material in the ad campaign I will be sad.

Sharing because the university name is perfectly apropos.

(via wilwheaton)

Text

Go is a bit wacky, sometimes

The language is really growing on me, but some things really seem to be harder than they need to be. Like how to figure out the return value of a process you exec’ed: you take the error from exec.Command(...).Run(), and if it’s not nil, then it’s simply a matter of

err.(*exec.ExitError).ProcessState.Sys().(syscall.WaitStatus).ExitStatus()

Update: /u/stephens2424 pointed out that you can get the ProcessState from the cmd itself without having to go via error, thus avoiding one of the type assertions (and associated checks, which I skipped because I felt they muddled the point I was trying to make). This is, as he says, a little bit better.

Text

Grepping through archived IRC logs

I use xchat for IRC, and it (like its hipper fork hexchat) lets you save logs in directories by month. So a bit of cron later, your old logs will be nicely archived in tarballs taking up a lot less space.

And then you want to search through old logs to figure out who it was that told you something a year ago. Or maybe it was two? Definitely after April last year.

Enter tgrep:


#!/bin/sh
set -eu

if [ $# -lt 2 ]; then
    echo "Usage: $(basename "$0") <pattern> <tarfile>"
    exit 1
fi

if [ -t 1 ]; then
    h="$(tput setaf 4)"
    m="$(tput setaf 5)"
    f="$(tput sgr0)"
else
    h=""
    m=""
    f=""
fi

tar xaf "$2" --to-command="awk -e '/$1/{gsub(\"$1\", \"$m&$f\"); print \"$h\" ENVIRON[\"TAR_FILENAME\"] \"$f:\", \$0}'"
Link

evopropinquitous:

gaywrites:

The LGBTQ student empowerment organizations Campus Pride and Point Foundation have partnered up to create an online resource for LGBTQ students looking for financial aid for school. 

The National LGBTQ Scholarship Database is a catalog of scholarships, grants and fellowships available to LGBTQ undergraduates and graduate students alike. The creators’ goal is to show LGBTQ students that there are ways to fund a college education, even if you think it’s outside your means.

“Everyone has a fundamental right to education,” Shane Windmeyer said in a statement. “For our LGBT youth, especially those who are first generation college students and those from low to middle income backgrounds, the dream of going to college is still a dream. This national database is another step toward creating greater accessibility to higher education for LGBT youth. There is much more work to be done.”

Jorge Valencia, the executive director of Point Foundation, which provides many LGBT and ally students with financial assistance, believes this initiative will raise awareness of options these students may have otherwise not knew existed.

“Every year we receive thousands of applications for our Point Foundation scholarships. These are young people hungry to invest in their future and help society by getting a college degree, but are in great need of financial assistance,” Valencia stated. “While Point is able to help some individuals, we are eager to raise awareness of other diverse higher education scholarships.”

Man, I wish this had existed when I was still in school. Spread the word! 

I see you, my lovely followers. APPLY AND REBLOG!

Video

As I watched this thinking of Joaquín, it rained a little bit. Inside. On my eyes.

Video

Fede gave me an Arduino starter kit for my birthday, because he’s awesome like that. Part of the kit was a mysterious 8x8 led matrix. Today, I figured it out, and built this thing.

Code on https://github.com/chipaca/arduino-sketchbook/blob/master/text_scroller/text_scroller.ino

Photo
Tenerife&#8217;s black sands.

Tenerife’s black sands.

Photo
Link

A glimmer of hope for Python in a world driven by Amdahl’s law instead of Moore’s.