Archive for September, 2006

Get gnome to restart and read from new XF86Config

how do i get gnome to restart and read from new XF86Config?

XF86Config*

is there something i have to do after i edit it?

other than reboot

yes restart gnome
how do i kill gnome
Divine07: do you have a graphical login ?
switch run levels
james_: not required

killall X

killall gnome

none of these work

Divine07: do you have a graphical LOGIN!????
yeah
ok
i'm in gnome righ tnow
Ctrl+Alt+Backspace

it will die and restart
if your xorg.conf is good
if not
you will get a console
:)

but not to worry you have a back up usually xorg.conf~
codecaine: can he manipulate shell though?
yes
heh!

I had to do it a couple times
james_: :P
ugh

ok

it restarted
still 800×600
Divine07: do this
xrandr
I came in late on this one so what are you trying to do Divine?
i edited XF86Config so the only resolution it supports is 1600×1200
Divine07: do: xrandr

k
it shows 800×600 and 640×480

that's it

Comments

Start vsftpd

i've compiled and install vsftpd
how do i start it?

this guide says to
'service vsftpd start'

but it says unknown service vsftpd
why are you compiling vsftpd on a rpm based distro?
why not?
also
they dont have /etc/inetd.conf like they used to

if i run the binary it says
must be started from inetd
why not?

cause you are on a rpm based distro.. use the pre-build package
i dont see how it'll help me
but i'll try it

then it'll put in the startup script so you can run service vsftpd start
check http://space.coldfirestudios.com/ AWESOME Multiplayer Game, running since 6 Years
nm i got it running in stand lone mode now
just had to configure it

the option wasn't in the example config for some reason …
thanks

Comments

Information on writeObject, or custom serialization

does anyone have any good information on writeObject, or custom serialization?

I can't seem to find much using gooogle:(
F4te: custom serialization is good, writeObject is evil

do you know of anything which would explain the pros and cons of both and give some examples?
src.zip is bundled with the SDK
one look at the implementation of ObjectOuputStream will make it all clear
k thx

horrible hackjob with amazing overhead would describe it pretty good
it sends giant class signatures noone is interested in, does clumsy caching of object instances.. implementation is an awkward mix of reflection and native hacks

due to the caching ObjectOuputStream is unusable for streaming
only good part is that it has a native hack for instantating objects without invoking any constructors on deserialization
but that's it, rest is worthless
chuck
good grief

hmm, i'm pretty glad you explained that to me :)
what would you say is the best way to do custom serialization then?
depends on what you are doing.. but generally serializable classes should have methods for seralizing themselves

rather than trying to make a clone by copying fields with reflection
so implement the writeObject method?
not necessarily _the_ writeObject method
what do you mean?

like make your own writeObject method that doesn't write to an ObjectOuputStream
ah ok
instead it can write to a plain OutputStream or even append directly to a buffer
cool, i'll give it a bash :)
thanks

Comments

Preferences between JMS and JINI

anyone have any preferences between JMS and JINI for distributed processing?

and if you do, what reasons for the preferences?

jini?
isn't it dead?
it's dead?

jini did die long ago.. and it never was an option for anything real world related
jini is reviving itself, through gigaspaces and azul
javaspaces is alive, ALLIIIIIIIIVE

Comments

Install dell 720 usb printer

I have a dell 720 usb printer, how can I go about installing it?

ashlon, type system-config-printer
as root
ok done

sorry I got disconnected if you typed something to me
I'll mess with this later
ok
type

system-config-printer as root
this will help setup a printer for you
ok now what
oh ok thnks

Comments

File i have to put to run some procesess at boot-time

in what file i have to put to run some procesess at boot-time ?

depends
boot time or as a service ?
when the server give restart
there is a difference

lol
after the boot time
well service or on startup ?
they all get started on boot time
service
first the init level services
then
rc.local
ok

you need to create an init script
and dump it into
/etc/init.d/
to put a cronjob on it ?
no
cron is something completly different
after you put a script into init.d you need to run chkconfig
to set it and add it as service
so it makes the required links
and
what type of script
i have to make ?

Read the rest of this entry »

Comments

Unix/Linux Fedora 6 & aiglx

does anyone know if fedora 6 will have xgl as default?

its not xgl that fedora went with .. they choose .. er aigxl ?
or something like that
lol

same tech .. but its the "free" version
Randall, ?
lol
j/k

thats what I give you and I get this in return
lool
im angry and upset ..never mind me

znx will aigxl be incuded with 6
its in 5 .. so :P

http://fedoraproject.org/wiki/RenderingProject/aiglx
http://fedoraproject.org/wiki/RenderingProject/AiglxOnFedora

XGL is a different X server. This is a more incremental change which is slated to become part of Xorg. We don't believe that replacing the entire X server is the right path, and that improving it incrementally is a better way to modernize it.

Posted at Oxxus Web hosting Blog

Comments

« Previous entries ·