Computer Questions Not Worth Their Own Thread II

Gnome 3 follows the Alt + ` standard to switch between windows of the same application.

It's actually really nice, I wish Windows would adopt it.

Ah, I see. It does seem OK, though on my keyboard (Kinesis Advantage) it is a bit of a stretch. Gnome 3 will take a bit of getting used to, but there are some really good things about it.
 
Ooooh, I have a Kinesis Advantage too.

In the past it was primarily hooked up to a PC, but I've been using it on a Mac lately, and have been struggling with shortcuts. Essentially I just have ctrl and alt swapped around, for ease of Mac shortcuts, but I'd have generally the same problems on Gnome:

I've got ctrl+tab doing what alt+tab normally does. (which is fine)
Alt+tab doing what ctrl+tab normally does. (Which is a bit awkward, maybe my hands are just too small.)
Ctrl+` is probably about as awkward as alt + ` would be.

I'm not certain how to fix these, maybe I'll try some more remapping and post back...
 
I have a question. Am I the only one who ends up with huge text files of various text snippets pasted into Notepad for later usage? I was just cleaning out my documents and I have a lot of them, especially since Firefox likes to wipe your clipboard when coming out of private browsing mode. I'm actually trying out various programs now to find a suitable replacement (personally, I'm impressed with this one)
 
I have a question. Am I the only one who ends up with huge text files of various text snippets pasted into Notepad for later usage? I was just cleaning out my documents and I have a lot of them, especially since Firefox likes to wipe your clipboard when coming out of private browsing mode. I'm actually trying out various programs now to find a suitable replacement (personally, I'm impressed with this one)

You aren't the only one. I occasionally do that. The case the comes to mind is when I write up a nice post on CFC, then hit the post button, and sometime in that interval CFC has gone down. In that case, if it's something I cared about, I'll save if off to a text file for when CFC comes back. Fortunately, this hasn't happened in probably more than half a year.

I guess the main other case I'm thinking of is writing things for real-life use in Notepad, instead of on a post-it. Some of those wind up living way longer than if they'd been on a post-it. But those are usually small.

Although for me Notepad serves the purpose fairly well. I usually only need it in the near-term future, when I can find it by date modified even if I didn't name it well.
 
Yeah. In my case though I ended up with multiple ones huge ones. I'd leave the file open until I had to reboot and then save it. For me, reboots are fairly rare, maybe twice a month if something acts up.

Another question: I have a bunch of what I assumed was an Epoch (Unix) timestamp, example: 1292251452000000. Whenever I run them through a parser it spits out an error about it not being a valid timestamp... etc. One of the tools I tried gave me a date of Oct 26 42919, which is a little off the mark, I believe, for a timestamp that was supposed to be within the last two years. If it's not a Unix timestamp, apparently, what is it? It's definitely a timestamp of some kind that much I know.

Edit: Actually, they are Epoch timestamps. I noticed all of them had those trailing 0's at the end and decided to lop them off to see what would happen. That particular one was 9:44:12 13/12/2010.

Okay, more than two years, but close enough estimate.

Can someone explain it to me, though, if they know what's up with the trailing 0's? If it matters, the timestamp's from a Firefox bookmarks JSON backup. I opened it up in Notepad++ to see if it would parse (actually, more or less to see if it crashed) and it did.
 
Hello, I was advised to come here about a problem I'm having getting an old game to work on a newer operating system. It's called Evolution: The Game of Intelligent Life (kind of pretentious name I know but it's a decent game). It's the Windows 95 version, I think (or 98 I can never remember the difference). I used to have the disc copy and I had it working as recently as a year ago on Windows 7. I uninstalled it for a while but kept the disc. Unfortunately I lost the disc, searched high and low for it, no sign, possibly thrown out by accident because I don't live alone.

I downloaded a copy and it wouldn't work at first until I followed some steps from others who had the same trouble and fixed it. Now it gets as far as the game set-up window. I can change the settings and type in my player name, and then I press start and it loads. All the game windows appear, including the minimap and then the program stops responding and needs to close. The overworld window remains blank. I couldn't find a crash log or anything in the game files.

Does anyone here know what I could try?
 
Hello, I was advised to come here about a problem I'm having getting an old game to work on a newer operating system. It's called Evolution: The Game of Intelligent Life (kind of pretentious name I know but it's a decent game). It's the Windows 95 version, I think (or 98 I can never remember the difference). I used to have the disc copy and I had it working as recently as a year ago on Windows 7. I uninstalled it for a while but kept the disc. Unfortunately I lost the disc, searched high and low for it, no sign, possibly thrown out by accident because I don't live alone.

I downloaded a copy and it wouldn't work at first until I followed some steps from others who had the same trouble and fixed it. Now it gets as far as the game set-up window. I can change the settings and type in my player name, and then I press start and it loads. All the game windows appear, including the minimap and then the program stops responding and needs to close. The overworld window remains blank. I couldn't find a crash log or anything in the game files.

Does anyone here know what I could try?

No clue, but maybe mess around with running this in emulation mode.
 
Emulation mode? What is that? I tried getting the Windows XP virtual machine if that's what you mean, but because I don't have the professional version of Windows 7 it won't work.
 
Emulation mode? What is that? I tried getting the Windows XP virtual machine if that's what you mean, but because I don't have the professional version of Windows 7 it won't work.

How did you try to do the "Windows XP virtual machine"? If it was not VirtualBox I would try that.
 
If you have a copy of Windows 9x or XP, you can load it up in VBox and give it a try. DirectX support is a little weird on it though last I checked, don't know if your game uses that (or OpenGL, I suppose).
 
How do I open up a multi-gigabyte text file, or at least chop it up into files that won't crash any text editor I try?
 
Notepad++ will probably work. But I strongly recommend thinking of a way of accomplishing your goal without opening a multigigabyte text file.
 
What Mise said. Notepad++ should work but you have to give it time to open the file which could take its time.
 
How can a text file be an entire gigabyte large, let alone multiples?
 
My question: Does "top" report the real CPU load, or could the network be maxed out and top still report the CPU load as 100%? I have a process that has 192 cores to do the number crunching and 64 cores to do the database work. Top says the CPU's are maxed out on the database server, so I optimized the query and took the read load off it but the process has not speeded up and the DB is still maxed out. I suspect the network bandwidth, but would have expected this to show up as <100% CPU load. Also, any recommendations for network bandwidth monitoring? [EDIT] This is on Fedora running mysql.

How do I open up a multi-gigabyte text file, or at least chop it up into files that won't crash any text editor I try?

One text editor that would open it would vi (though you may not easily be able to do what you want). It is a unix tool, I do not know how to get it too open a file on a windows system, cygwin may do, as may something here but you may have to install a virtual box. Considering the questions you come up with here, I think you would benefit from that.

The way I would do it would be with code. For example, you could install perl and copy some of the examples here. It is a fairly long winded way to solve your problem, but again considering the questions you come up with here, I think you would benefit from the learning process.

[EDIT] Another way, using unix tools, would be something like:

wc -l filename.txt # get number of lines in the file
2000000 # say 2 million
head -50000 filename.txt > file1.txt # get the first 50k lines into new file
head -100000 filename.txt | tail -50000 > file2.txt # get the next 50k lines into new file

etc... if you want many of these you could generate the lines in excel or something.

How can a text file be an entire gigabyte large, let alone multiples?

I get them all the time. Web server logs when someone forgets to take out debugging info is an example.
 
How can a text file be an entire gigabyte large, let alone multiples?

It's a logfile from WinHTTrack. I wanted to get the errors out.

The file is actually close to 40 gigabytes in size. 7z compression got it down to 40 MB. Notepad++ wouldn't open it, and I tried several others and either they told me it was too big or just crashed.
 
It's a logfile from WinHTTrack. I wanted to get the errors out.

The file is actually close to 40 gigabytes in size. 7z compression got it down to 40 MB. Notepad++ wouldn't open it, and I tried several others and either they told me it was too big or just crashed.

If you can restrict what you want out of the file to lines containing a certain text, this is easy with unix tools:

grep errorSting filename.txt

then you get lines like:

01234 errorString the error message
05789 errorString another error message

you could then look at this a page at time:

grep errorSting filename.txt | more

or look at the first 5 lines

grep errorSting filename.txt | head

or look at the last 5 lines

grep errorSting filename.txt | tail

or put all the lines into a text file

grep errorSting filename.txt > errorStings.txt

This is exactly what these tools have been designed for, I think you need some implementation of them. Just ask if you want more help making some solution work, there are many.

I hope noone minds me repeating my question, as it was on the last post of the last page:

My question: Does "top" report the real CPU load, or could the network be maxed out and top still report the CPU load as 100%? I have a process that has 192 cores to do the number crunching and 64 cores to do the database work. Top says the CPU's are maxed out on the database server, so I optimized the query and took the read load off it but the process has not speeded up and the DB is still maxed out. I suspect the network bandwidth, but would have expected this to show up as <100% CPU load. Also, any recommendations for network bandwidth monitoring? [EDIT] This is on Fedora running mysql.
 
Thank you.
 
Back
Top Bottom