Search found 3 matches

by derplumps
Sun Mar 03, 2013 12:37 pm
Forum: Challenges Solved
Topic: Didactic XOR
Replies: 7
Views: 1177

wynk wrote:My solution in ruby:

Code: Select all

input = ["9f", "c7"]
input.map! {
	|x| x.to_i(16)
}
output = input.first ^ input.last
puts output.chr
Python is faster:

Code: Select all

"%c"%(0x9f ^ 0xc7)
by derplumps
Sun Mar 03, 2013 11:46 am
Forum: Challenges Solved
Topic: didactic green
Replies: 12
Views: 1212

my way:

wget png
convert png bmp
cat bmp
by derplumps
Sun Mar 03, 2013 11:35 am
Forum: Challenges Solved
Topic: Didactic RGB
Replies: 17
Views: 1598

Had the same problem, paintbrush gave wrong values. Tip: Use GIMP I am using Ubuntu / Gnome-shell and took GIMP's Pipette tool. It gave me slightly wrong colors :( The same problem when using the clipboard :( [copy graphics from firefox and apste into GIMP) Third attempt: Saving the original file a...