Homer: remember son, if something is hard to do, it ist not worth trying.
Re:Yep...and...
on
USB Batteries
·
· Score: 2, Informative
Take a look at the Palm Treo 600/650/700p series. It's a triband cellphone, palm OS5, blue-tooth enabled, MMC/SD card, all in one thingie. With pocket-tunes it an MP3 player (mp3, ogg, flac), with TCMPMP you can watch the simpsond on a plane, heck you can even use it as an GPS navigation system over bluetooth. Runs VNC and SSH too if you want.
It can do just about anything you can throw at it.
But, the build in camera is real crap though, don't even think about making a decent picture with it.
I don't think I follow you correctly here, or we are using differnt vim's.
> If you're in an array of text and your cursor is as anArray[57], inserting a character should insert at position 57
As a test I opened vim in an xterm. Did an 'I 1234567890 ESC', resulting in the following screen (I have linenumbers on):
1 1234567890
I then positioned the cursor on the number 5, so that it 'covers' the number 5 completely. This could translate to your anArray[5] if you want. I then hit 'i a ESC' wich results in:
1 1234a567890
So the INSERT command mode switch will result in inserting/creating new characters _before_ the current highlighted cursor position, and shifting following charcters to the right. The APPEND command inserts/creates characters _after_ the currently highlighted cursor position.
So in my examle an 'a a ESC' results in:
1 12345a67890
I cannot find anything wrong with that.
On a site note, I often get confused by the difference in the p and P command to paste a buffer, if the buffer is a complete line, the behaviour is obvious, but if the buffer only contains some words, it often seems to paste in an illogical location.
Correct, in this day and age, it is very uncommon to see an application/editor which does not have the abbility to remap keys it uses.
answer to 2)
Not quiet, this might be because you are misinterpreting the cursor position, the cursor block covers one character, insert/append create scharacters on the corsor boundaries (left for insert, right for append)
I use vim for all text/config file editing, but as a java developer, I use eclipse for java. I do use vim a lot for html and template files.
you could propose that a company like diebold has to open up (open source) their software. Just because it should be open source, it does not automaticly mean it has to be coded by some long-hair-hippy-hackers. It must not be a community project on sourceforge, and could still be open, you know.
I have a small button in the gnome desktop/toolbar, which flips the cpu speed between 1 and 2 Ghz. System starts with low speed (per/etc/init.d/SCRIPT)
If want to play a game, I push the full_speed_switch on the desktop, and increase the cpu fan speed (Got an Zalman fan, with external speed adjuster)
In quiet mode, my PC (located in the living room) is so silent, my wife sometimes ask me if the thing is on or off.
(obligatory simpsons quote) marge: Homer, you lied to me, again, what do you have to say in your defence? homer: Marge, I lied to you because I thought you would never find out.
The difference between Cedega from CVS and the commercial package is mainly the copyprotection stuff. Commercial cedega is able to play games from the original disc using the original binaries with copyprotection. Transgaming cannot release the code for this because it is the IP from another company, Transganming is licesing the code.
If you use Cedega from CVS, you have to use some hacked binaries from gamecopyworld for most of the games you play.
AFAIK wine does not incorporate CEDEGA's code because they implement their own way of DirectX 9.0 For some games it works even better then the cedega version, YMMV
Don't use JavaHL if you don't want to, it's another dependency waiting to break.
In the subclipse preference you can check the "Native Java SVN" support. It's not on by default, but has worked for my for several months. (I do eclipse/java development for work, I should know:-)
If you are bothered by "postcard" website like TFA, just use "zap->style-sheets", voila! Picture moved to the top, text was black on a white background. No more stylish layouts.
These bookmarklets are really handy for reading obnoxious sites.
Then you tried it "the wrong way." (tm) I tried it like you descibed too, and it was hard.
Then I found the "ubuntu way":
The Ubuntu way of sharing a folder with samba is: - 1 open Nautilus - 2 navigate to the folder you want to share with other users - 3 right-click the folder - 4 choose "share folder" ("ordner teilen" in the german translation (which reads "split folder", but thats another story)) - 5... - 6 done
There might be a step 5: If this is the first time you try to share a folder, Ubuntu prompts you how you would like to share it : NFS or SAMBA. You choose from a dropdown, ubuntu installs the needed packages, presto!
A collegue and I switched from sarge to ubuntu 2 weeks ago. We really liked changing configs and "hackin" in sarge, but now with ubuntu we commonly say "too easy" or "boring", because it "just works" (well, most of the time..)
If you try to do something in ubuntu, the most simple and idiotic way you can think of how to accomplish your task, will work most of the time.
I don't blame you if you like to go back to editing config files and reading man pages, I'm still indecisive myself if I really like it this way.
I wrote a bookmarklet, which I personaly use in Galeon,
but it should work in all Moz* browsers.
If you hover over the comment Link (#15013415) it will pull the moderation results for this post with xmlHttp, and display the result table in a DIV tag, beside the current post.
The bookmark name is "slash mod"
The URL is:
(AFAIK this should all be in one single line.)
javascript:(function(){ var currentUrl =''; function h(event){ var url = 'http://' + this.host + '/comments.pl' + this.search; if(currentUrl == url){ var theDiv = document.getElementById('kwsmodding'); if (theDiv != null) { theDiv.style.display='block'; } } else { var req = new XMLHttpRequest(); req.open("GET", url, false); req.send(""); var resultText = req.responseText; var tableText = '' + resultText.split('data_head">')[1].split('')[0] + ''; var theDiv = document.getElementById('kwsmodding'); if (theDiv == null) { var theDiv = document.createElement('DIV'); var mybody=document.getElementsByTagName('body').item( 0); mybody.appendChild(theDiv); theDiv.style.zIndex=100; theDiv.style.backgroundColor='grey'; theDiv.id='kwsmodding'; theDiv.style.position='absolute'; theDiv.style.backgroundColor='grey'; theDiv.style.display='block'; } theDiv.innerHTML=tableText; theDiv.style.right='30px'; theDiv.style.top=(event.pageY - 20 ) + 'px'; theDiv.style.display='block'; currentUrl = url; } event.preventDefault(); } function hout(event){ var theDiv = document.getElementById('kwsmodding'); if (theDiv != null) { theDiv.style.display='none'; } } var xpe = new XPathEvaluator(); var nsResolver = xpe.createNSResolver(document); var result = xpe.evaluate('//li/div/div/a[contains( @href , "comments" )]', document, nsResolver, 0, null); while (res = result.iterateNext()) { res.addEventListener('mouseover', h, false); res.addEventListener('mouseout', hout, false); } })();
Once this is added to the bookmarks you can use it in the following way.
go to slashdot
pick story
click "read more"
after the page has finished loading, klick the Bookmark
mouse hover over a Comment Url (normaly the last part of: " by Poromenos1 (830658) Alter Relationship on 23:26 28 March 2006 (#15013415)" in the Comment header)
wait a sec.
read result
mouseOut the let the table dissapear again.
The code does some cacheing, if the users hovers/mOuts the same link a few times, the URL request is done only once.
That's one of the reasons I opted in to buy a "real" athlon 64. Not because of the 64 Bit and speed, but because of the fact that you can change it's running speed with a simple "echo 1000000 >/sys/devices/system/cpu/cpu0/cpufreq/scaling_setspeed "
Normaly my cpu runs at 1 Ghz, and has a 31C temp. when playning games, I bump the speed to 2Ghz, and increase the cpu fan speed.
The s/n ratio is disaterous if you read at score 0 or -1.
Maybe you should set some score parameters in your profile (I have mod_funyy= +2 for example) After that you can switch to read a +2, the Comments are pretty good at that level.
I read at +2 nowadays, and only Whenever I moderate I will switch to read at -1, just to catch some badly moderated post mod them up again.
As other posters pointed out, s/n ratio on slashdot has been bad for years, and we all like to complain about it. It allways reminds me of everybody in germany who thinks he knows his way around in IT complaints about how low cT magazine has sunk. Neither the magazine nor slashdot has changed a lot over time, but you (and they) have.
It's all about growing up, and valuing things differently than before.
like: Qwyjibo"
According to "The Simpsons," a qwyjibo is a fat, dumb, balding North American ape with no chin. They're very dangerous when angered. The only way to stop them is by throwing a pork chop in the other direction.
This word is very usefull while playing scrabble too.
repeat after me:
"there is no such thing as client side security!"
--
happy hacking
Homer: remember son, if something is hard to do, it ist not worth trying.
Take a look at the Palm Treo 600/650/700p series.
It's a triband cellphone, palm OS5, blue-tooth enabled, MMC/SD card, all in one thingie.
With pocket-tunes it an MP3 player (mp3, ogg, flac), with TCMPMP you can watch the simpsond on a plane,
heck you can even use it as an GPS navigation system over bluetooth.
Runs VNC and SSH too if you want.
It can do just about anything you can throw at it.
But, the build in camera is real crap though, don't even think about making a decent picture with it.
I don't think I follow you correctly here, or we are using differnt vim's.
> If you're in an array of text and your cursor is as anArray[57], inserting a character should insert at position 57
As a test I opened vim in an xterm.
Did an 'I 1234567890 ESC', resulting in the following screen (I have linenumbers on):
1 1234567890
I then positioned the cursor on the number 5, so that it 'covers' the number 5 completely.
This could translate to your anArray[5] if you want.
I then hit 'i a ESC' wich results in:
1 1234a567890
So the INSERT command mode switch will result in inserting/creating new characters _before_ the current highlighted cursor position, and shifting following charcters to the right.
The APPEND command inserts/creates characters _after_ the currently highlighted cursor position.
So in my examle an 'a a ESC' results in:
1 12345a67890
I cannot find anything wrong with that.
On a site note, I often get confused by the difference in the p and P command to paste a buffer,
if the buffer is a complete line, the behaviour is obvious, but if the buffer only contains some words,
it often seems to paste in an illogical location.
Correct, in this day and age, it is very uncommon to see an application/editor which does not have the abbility to remap keys it uses.
answer to 2)
Not quiet, this might be because you are misinterpreting the cursor position, the cursor block covers one character, insert/append create scharacters on the corsor boundaries (left for insert, right for append)
I use vim for all text/config file editing, but as a java developer, I use eclipse for java.
I do use vim a lot for html and template files.
Well,
you could propose that a company like diebold has to open up (open source) their software.
Just because it should be open source, it does not automaticly mean it has to be coded by some long-hair-hippy-hackers.
It must not be a community project on sourceforge, and could still be open, you know.
Happy Hacking,
Huibert
Thats exactly what I do at home with my Athlon64.
/etc/init.d/SCRIPT)
I have a small button in the gnome desktop/toolbar, which flips the cpu speed between 1 and 2 Ghz.
System starts with low speed (per
If want to play a game, I push the full_speed_switch on the desktop, and increase the cpu fan speed (Got an Zalman fan, with external speed adjuster)
In quiet mode, my PC (located in the living room) is so silent, my wife sometimes ask me if the thing is on or off.
(obligatory simpsons quote)
marge: Homer, you lied to me, again, what do you have to say in your defence?
homer: Marge, I lied to you because I thought you would never find out.
(from: homer gets a gun)
Cedega ist available from CVS.
The difference between Cedega from CVS and the commercial package is mainly the copyprotection stuff.
Commercial cedega is able to play games from the original disc using the original binaries with copyprotection.
Transgaming cannot release the code for this because it is the IP from another company, Transganming is licesing the code.
If you use Cedega from CVS, you have to use some hacked binaries from gamecopyworld for most of the games you play.
AFAIK wine does not incorporate CEDEGA's code because they implement their own way of DirectX 9.0
For some games it works even better then the cedega version, YMMV
"Sombody is still an idiot"
Don't use JavaHL if you don't want to,
:-)
it's another dependency waiting to break.
In the subclipse preference you can check the "Native Java SVN" support.
It's not on by default, but has worked for my for several months.
(I do eclipse/java development for work, I should know
(from GTA3 talk radio)
I can't stand all this talk about guns killing people.
Guns don't kill people, bullets don't kill people either.
People allways die from loss of blood or vital organs stop working!
No,
Ragnarok is a Disco/Church in the game Max Payne (part one).
Go to this http://www.squarefree.com/bookmarklets/ page,
download the bookmarklets in the ZAP section.
If you are bothered by "postcard" website like TFA,
just use "zap->style-sheets", voila!
Picture moved to the top, text was black on a white background.
No more stylish layouts.
These bookmarklets are really handy for reading obnoxious sites.
Another try at the code, this time without any Bookmarklet spezifiks:
( 0);
var currentUrl ='';
function h(event){
var url = 'http://' + this.host + '/comments.pl' + this.search;
if(currentUrl == url){
var theDiv = document.getElementById('kwsmodding');
if (theDiv != null) {
theDiv.style.display='block';
}
} else {
var req = new XMLHttpRequest();
req.open("GET", url, false);
req.send("");
var resultText = req.responseText;
var tableText = '' + resultText.split('data_head">')[1].split('')[0] + '';
var theDiv = document.getElementById('kwsmodding');
if (theDiv == null) {
var theDiv = document.createElement('DIV');
var mybody=document.getElementsByTagName('body').item
mybody.appendChild(theDiv);
theDiv.style.zIndex=100;
theDiv.style.backgroundColor='grey';
theDiv.id='kwsmodding';
theDiv.style.position='absolute';
theDiv.style.backgroundColor='grey';
theDiv.style.display='block';
}
theDiv.innerHTML=tableText;
theDiv.style.right='30px';
theDiv.style.top=(event.pageY - 20 ) + 'px';
theDiv.style.display='block';
currentUrl = url;
}
event.preventDefault();
}
function hout(event){
var theDiv = document.getElementById('kwsmodding');
if (theDiv != null) {
theDiv.style.display='none';
}
}
var xpe = new XPathEvaluator();
var nsResolver = xpe.createNSResolver(document);
var result = xpe.evaluate('//li/div/div/a[contains( @href , "comments" )]', document, nsResolver, 0, null);
while (res = result.iterateNext()) {
res.addEventListener('mouseover', h, false);
res.addEventListener('mouseout', hout, false);
}
Hope it helps.
Then you tried it "the wrong way." (tm)
...
I tried it like you descibed too, and it was hard.
Then I found the "ubuntu way":
The Ubuntu way of sharing a folder with samba is:
- 1 open Nautilus
- 2 navigate to the folder you want to share with other users
- 3 right-click the folder
- 4 choose "share folder" ("ordner teilen" in the german translation (which reads "split folder", but thats another story))
- 5
- 6 done
There might be a step 5:
If this is the first time you try to share a folder, Ubuntu prompts you how you would like to share it : NFS or SAMBA.
You choose from a dropdown, ubuntu installs the needed packages, presto!
A collegue and I switched from sarge to ubuntu 2 weeks ago.
We really liked changing configs and "hackin" in sarge, but now with ubuntu we commonly say "too easy" or "boring", because it "just works" (well, most of the time..)
If you try to do something in ubuntu, the most simple and idiotic way you can think of how to accomplish your task, will work most of the time.
I don't blame you if you like to go back to editing config files and reading man pages, I'm still indecisive myself if I really like it this way.
If you hover over the comment Link (#15013415) it will pull the moderation results for this post with xmlHttp, and display the result table in a DIV tag, beside the current post.
The bookmark name is "slash mod"
The URL is:
(AFAIK this should all be in one single line.)
Once this is added to the bookmarks you can use it in the following way.
- go to slashdot
- pick story
- click "read more"
- after the page has finished loading, klick the Bookmark
- mouse hover over a Comment Url (normaly the last part of: " by Poromenos1 (830658) Alter Relationship on 23:26 28 March 2006 (#15013415)" in the Comment header)
- wait a sec.
- read result
- mouseOut the let the table dissapear again.
The code does some cacheing, if the users hovers/mOuts the same link a few times, the URL request is done only once.> "But you only changed 1 line"
> "Yer, but that one line makes it work now...."
from "One note Song" by Tenacious D:
K.C.: "But, it's only one note, anybody could've wrote it..."
J.B.: "Yeah, but guess who _did_ write it."
That's one of the reasons I opted in to buy a "real" athlon 64. /sys/devices /system/cpu /cpu0/cpufreq/scaling_setspeed "
Not because of the 64 Bit and speed, but because of the fact that you can change it's running speed with a simple "echo 1000000 >
Normaly my cpu runs at 1 Ghz, and has a 31C temp.
when playning games, I bump the speed to 2Ghz, and increase the cpu fan speed.
I had these Problems with Palm/Evolution too.
Now I use Kontact and Kpilot (from the Kde project), and I'm totaly happy.
I use Gnome as desktop, but I use a lot of Kde apps in Gnome without any problems
"realnowhereman" (263389) in reply to "BadAnalogyGuy" (945258)
> None of what you say make any sense
Do you know who you are replying to?
BadAnalogyGuy is not just a name, it's a way of life.
The s/n ratio is disaterous if you read at score 0 or -1.
Maybe you should set some score parameters in your profile (I have mod_funyy= +2 for example)
After that you can switch to read a +2, the Comments are pretty good at that level.
I read at +2 nowadays, and only Whenever I moderate I will switch to read at -1, just to catch some badly moderated post mod them up again.
As other posters pointed out, s/n ratio on slashdot has been bad for years, and we all like to complain about it.
It allways reminds me of everybody in germany who thinks he knows his way around in IT complaints about how low cT magazine has sunk. Neither the magazine nor slashdot has changed a lot over time, but you (and they) have.
It's all about growing up, and valuing things differently than before.
"You decide" is the most important part here.
We have to realise that we all have the freedom to choose.
"You are free to choose between the actions.
You can not choose the concequences of these actions, but you can choose"
from: "the 7 habbits of highly effctive people"
http://www.stephencovey.com/
This book has helped me a lot.
Don't let the "I know it all" title confuse you,
this book has givven _me_ some of the greatest insights in my life.
I've been reading Slashdot regularly (almost every day) since 1998, under various accounts.
My karma has not always been good, but has been positiv for most of the time.
I never got modpoints until recently (about 4 month ago)
My tactic is this.
- visit slashdot every day (but only once, that's enough)
- read a few stories
- post sometimes
- metamod once a week
Since then I've been getting modpoints about once or twice a week.
I've been modded down in metamod only twice.
Don't know if this helps, but it's what I do.
Huibert Gill
PS: does anybody know how I can change my nickname into my real name?
like: Qwyjibo"
According to "The Simpsons," a qwyjibo is a fat, dumb, balding North American ape with no chin. They're very dangerous when angered. The only way to stop them is by throwing a pork chop in the other direction. This word is very usefull while playing scrabble too.