"It is unlikely that Xoce is larger than Xatm , because the ocean initially exists below the atmosphere". From Enhanced atmospheric loss on protoplanets at the giant impact phase in the presence of oceans, Genda et. al, Nature, 2005.
HINT: Please consider adding F_OBEX to your phone capabilities in common/gsmphones.c
F_OBEX will tell Gammu, that phone can be switched to OBEX mode,
which might provide access to more features than generic AT mode.
The word might is important here, because for some phones OBEX does not
bring anything new and using it only hides some AT functionality. This
is also reason, why switch is not done automatically and you must change
sources to do this. I'd gladly accept patches, if you have successfully
tested F_OBEX with your phone!
$ git svn clone -A authors --trunk=trunk/libclass-makemethods-perl \ --branches=branches/libclass-makemethods-perl/upstream \ --tags=tags/libclass-makemethods-perl --no-metadata \ file:///home/svn/debian libclass-makemethods-perl
clean-git-svn:#!/bin/sh -e tags= git branch -r egrep 'tags/[^@]+$' echo "$tags" perl -ne \ 'chomp($_); my $head = $_; s,\s+tags,debian,g; print "git tag $_ $head^\n"' for i in $tags ; do echo "git branch -r -d $i"; done upstream_tags= git branch -r egrep ' +[0-9][^@]+$' echo "$upstream_tags" perl -ne \ 'chomp($_); s,\s+,,g; print "git tag upstream/$_ $_^\n"' for i in $upstream_tags ; do echo "git branch -r -d $i"; done echo "git branch upstream current" echo "git branch -r -d current" echo "git branch -r -d trunk"
gitk to make sure this won't screw anything up. If your the part you're converting also came up from CVS, you'll probably have a bit of a mess on your hands that will need more manual cleanup. gitk is really an amazing visualization tool and can help a lot here. Once you're satisfied just pipe it into /bin/sh. Since git svn mostly can't track where you merged in your SVN repo, make sure you merge the upstream branch into master as soon as you can. It will save you a lot of conflicts later, trust me.svn is svn export. Does an equivalent command exist in git? You would think there would be an option you could pass to git clone to do this but I can't seem to find anything.
if(system("lsrsrc -axd IBM.PeerNode > /tmp/rsct_node_info") == -1)
LOG_ERROR("ERROR:get_nodes_info() fails ");
Why is this bad? Because it users a static filename /tmp/rsct_node_info - and that could be a symlink. Consider what happens if a local user were to run:
skx@vain:~$ ln -s /etc/passwd /tmp/rsct_node_infoThe EVMS plugin would happily trash the /etc/passwd file, rendering the system broken... If this works on other distros that I couldn't spot don't tell anybody; it'll be our little secret ;) X.org Today I rebooted, to make sure that purging EVMS hadn't screwed with my initrd - and found errors relating to failure to load "keyboard" driver(s). Turns out you need to change:
Section "InputDevice"
Identifier "Generic Keyboard"
Driver "keyboard"
Option "CoreKeyboard"
TO:
Section "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
Option "CoreKeyboard"
That took a fair bit of head-scratching.
tc qdisc add dev eth1 root tbf rate 212kbit burst 1540 latency 50ms
This is actually a literal example in the Linux Advanced Router and Traffic
Control-HOWTO, and it works for me. Linux has a reasonably good
default prioritizing and queueing already, and using the tbf filter
doesn't replace them, whereas the detailed sfq example that Erich gave
does. I'm doing this on my router (on the outgoing interface), not my
laptop, which is also a rather important bit.
Of course, it working for me doesn't necessarily mean that it'll work
for you too. But you might just want to try it...
IFACE=wifi0 # setup ingress filtering /sbin/tc qdisc add dev $IFACE handle ffff: ingress # local network is unrestricted /sbin/tc filter add dev $IFACE parent ffff: protocol ip \ prio 10 u32 match ip src 192.168.2.0/24 \ police conform-exceed ok/ok flowid :1 # incoming internet traffic is limited. /sbin/tc filter add dev $IFACE parent ffff: protocol ip \ prio 50 u32 match ip src 0.0.0.0/0 police \ rate 1500kbit burst 10k drop flowid :2 # outgoing traffic /sbin/tc qdisc add dev $IFACE root handle 1: htb default 30 # local network is unrestricted /sbin/tc class add dev $IFACE parent 1: classid 1:10 htb \ rate 54mbit burst 15k /sbin/tc qdisc add dev $IFACE parent 1:10 handle 10: sfq perturb 10 /sbin/tc filter add dev $IFACE parent 1:0 protocol ip \ prio 10 u32 match ip dst 192.168.2.0/24 flowid 1:10 # internet traffic is limited. /sbin/tc class add dev $IFACE parent 1: classid 1:20 htb \ rate 160kbit ceil 196kbit burst 15k /sbin/tc qdisc add dev $IFACE parent 1:20 handle 20: sfq perturb 10 /sbin/tc filter add dev $IFACE parent 1:0 protocol ip \ prio 50 u32 match ip src 0.0.0.0/0 flowid 1:20Long example, I know. The main reason is that I'm not limiting traffic to local computers. Furthermore, I'm also limiting my incoming traffic to use up at most 1.5 mbit of the 2 mbit connection, so my housemates will be able to use the internet as well (Debian mirrors send data fast - fast enough to kick them out of any online game they might be playing...).There is one important detail hidden in there: sfq. This stands for "stochastic fair queueing". It tells the network stack to basically send "one packet for each connection in turn". This way, the small packets needed for download or interactive SSH sessions will get out quickly even when doing a larger upload.It works great for me - I'm having a good download rate, using the 160 kBit upload limit completely (I don't want to completely fill up the 192k upload link either) and I'm actually writing this blog entry remotely via SSH. The lag when writing is okay, probably around 300ms. Without shaping, this wouldn't work this well.(And no: just using 'sfq' for your outgoing traffic is not enough, since the key scheduling is happening at the weakest link. So you have to limit your traffic shaping setup to be just below the actual weakest link.)
I've always been proud of the "vidio" game, which is the first game shown
above. It'd give Pong a run for its money in simplicity, and has gameplay I
still enjoy (for up to 5 minutes at a time). You're the green dot, which is
flying from left to right. Each time it reaches the right side of the
screen, it wraps back to the left -- but leaves a blue wall behind. Crash
into the wall and you lose a life. Sometimes other dots appear that you can
pick up to get new lives.
This sounds easy, but it's not, mostly because the Atari joystick (or my
code for reading it) is not very precise, so it's hard to line up to
exactly the right place on the screen to go through a small hole in the
wall.
In contrast to that piece on innovation, the "jump" game is a pretty
generic platformer, jump over the water and shoot the enemy that's crawling
along the ceiling. It's also a bit buggy.
I took a look at the code, but the bug on line 200 isn't very obvious,
whatever it is. This is how everyone's old code looks to them after 20
years ... right?
My version of Tetris for the Atari. It looks a lot better on a real TV
tube. Two fun things in writing this were that I couldn't figure out how
to program it to rotate the blocks on the fly -- so I just wrote out data
with every possible rotation for every block. Also, Atari BASIC lacks
arrays, so it uses strings for storing the game state.
Next.