
Enjoy.
$ cat foo.rbSeems simple enough, right? I mean Hebruby is in the current list of gems today, and it's not like we change the calendaring system everyday.
require 'rubygems'
require 'hebruby'
# the 24th
@day = Date.new(2009, 3, 24)
@hb = Hebruby::HebrewDate.new(@day)
puts @day.to_s + " = " + @hb.heb_date
# the 26th
@day = Date.new(2009, 3, 26)
@hb = Hebruby::HebrewDate.new(@day)
puts @day.to_s + " = " + @hb.heb_date
# the 25th ???
@day = Date.new(2009, 3, 25)
@hb = Hebruby::HebrewDate.new(@day)
puts @day.to_s + " = " + @hb.heb_date
# gem list Hebruby --details --remoteYou cant make this stuff up.
Hebruby (1.2.1)
Author: Ron Evans
Homepage: http://www.deadprogrammersociety.com
Hebruby is a Ruby library to convert julian dates to hebrew dates,
and vice-versa.
$ ruby foo.rbI guess there is no word in Hebrew for "coincidence"?2009-03-24 = כ"ז באדר התשס"ט2009-03-26 = א' בניסן התשס"ט/usr/lib/ruby/gems/1.8/gems/Hebruby-1.2.1/lib/hebruby.rb:101:in `heb_date': undefined method `+' for nil:NilClass (NoMethodError)
from foo.rb:17
$
$ wine eve.exeThis was kind of confusing because opengl was working just fine with my nVidia drivers on the machine as follows:
err:ole:CoGetClassObject class {9a5ea990-3034-4d6f-9128-01f3c61022bc} not
registered
err:ole:CoGetClassObject no class object
{9a5ea990-3034-4d6f-9128-01f3c61022bc} could be created for context 0x1
fixme:heap:HeapSetInformation 0x8d0000 0 0x33fc70 4
err:d3d:WineD3D_CreateFakeGLContext Can't find a suitable iPixelFormat
err:d3d:InitAdapters Failed to get a gl context for default adapter
err:d3d:WineDirect3DCreate Direct3D9 is not available without opengl
$ glxinfo | grep directWell, here are the basic commands and steps i used to correct the problem and start playing EVE Online:
direct rendering: Yes
1. rm -rf ~/.wineAnd now everything is working as you can see from the screenshot of me undocking from a station above (click to enlarge :-).
2. remove the following packages that do NOT work for EVE Online
3. installed the following packages so that wine would work better. Obviously not all of those packages are necessary to get wine to compile, but that's what the following step's page suggested we install in order to get a clean wine compile on 64bit fedora 9.
4. recompiled wine-1.1.17 with this procedure
5. wine winecfg (and set the audio to the ALSA that it defaulted to).
6. sh winetricks corefonts
7. wine EVE_Premium_Setup_84609_m.exe (installing EVE)
kmod-nvidia-beta.x86_64 180.11.02-1.fc9.2 installedI was using these which did NOT work:
xorg-x11-drv-nvidia-beta-libs.i386 180.11.02-2.fc9 installed
xorg-x11-drv-nvidia-beta.x86_64 180.11.02-2.fc9 installed
kmod-nvidia.x86_64 173.14.15-1.fc9.11 installedSo basically, use version 180 of the nvidia drivers, instead of the more common 173. Here is some more info about what I'm running here:
xorg-x11-drv-nvidia-libs.x86_64 173.14.15-2.fc9 installed
xorg-x11-drv-nvidia.x86_64 173.14.15-2.fc9 installed
# uname -rHope that helps someone.
2.6.27.19-78.2.30.fc9.x86_64
# lspci | grep nV
01:00.0 VGA controller: nVidia Corporation GeForce 8500 GT (rev a1)
# wine --version
wine-1.1.17
wine evepremiumpatch84609-85476_m.exeUPDATE: the next patch also installed just fine using the command:
wine evepremiumpatch85476-86756_m.exeUPDATE: the next patch also installed fine using the command:
$ wine evepremiumpatch86756-88737_m.exeUPDATE: the next patch also installed fine using the command:
$ wine evepremiumpatch88737-88974_m.exeUPDATE: the next patch also installed fine as follows:
$ wine evepremiumpatch88974-89883_m.exe
fixme:shell:SHAutoComplete SHAutoComplete stub
fixme:exec:SHELL_execute flags ignored: 0x00000180
fixme:advapi:CheckTokenMembership ((nil) 0x13b920 0x33fb44) stub!
fixme:reg:GetNativeSystemInfo (0x33fb38) using GetSystemInfo()
fixme:mscoree:GetCORVersion (0x33f730, 600, 0x33f71c): semi-stub!
err:setupapi:do_file_copyW Unsupported style(s) 0x144
$
This line is fineAnd then after you read the man page for grep you may have tried this to grep these characters and gotten an error:
This line has  nasty character in it
This line is fine
$ grep '\240' fooWell, try this instead:
grep: Invalid back reference
$ grep $'\240' fooHope that helps.
This line has nasty character in it
$ grep nasty foo | od -c
0000000 T h i s l i n e h a s 240 n
0000020 a s t y c h a r a c t e r i
0000040 n i t . \n
0000046
1. He who knows not, but thinks he knows, he is a fool - shun him.
2. He who knows not and knows he knows not, he is a child - guide him.
3. He who knows and knows not he knows, he is asleep - awaken him.
4. He who knows and knows he knows, he is wise - follow him.