I've noticed in gcc 3.x that #include "header.h" looks for system header matches *before local scoped headers.
Is it just me or is that wrong and annoying?
I've had to distribute shell scripts to swap out filenames for compilation ( which wouldn't be fun to do by hand, trust me ) everytime gcc3 compiles the code base.
I don't track gcc3.x, but has this been fixed or is it intentional to cause confilcts you can't possibly predict on another system?
Here's a problem you could predict as an example:
#include "endian.h"
Then lots of odd compile errors ensue confusing the user. Also #include seemly includes -- wtf is up with that? Are these people using old/bad gcc3.x builds?
Take a look around the web. You can shared your PS2 kit games using a small bootloader on a memcard and special distrobutions to run off certian discs as well.
"Just wait for the IBM forces to commit suicide on our UNIX IP! Oh we're killing them all over. In fact they're begging for mercy! What? I don't see any tanks..."
Microsoft was undermining OpenGL anyway with their piss poor support and that XP fiasco.
PS - I still love you moogle man dan. Let's play some Rune agian sometime, and I'll bring the kraut and hotdogs. My G400 runs it well with multitexture! hahaha =)
I made a tiny hack util to recover MS office files and RTFs from partial/full disk images I call recover-word, after seeing a lot of damaged floppies/zip disks. I might even make it more efficent one day. However, I did just add a hack to make it automate stripping partial images from a damaged drive, albeit it's not very smart. =)
If you try it please send in comments and suggestions - I'm pondering making it usable for lay data recovery persons. I'm pondering adding my unreleased hacks for various other formats like JPEG or just making it use a RC file with a header dictionary and a simple lisp syantax for reading it. Then agian I worked on this maybe in 3 sit downs since I hated doing the recovery by hand over and over. =)
Well, I remember when they had appealing content
on
Salon Asks for Help
·
· Score: 1
I'm not a right winger by any measure, nor am I for the left... however salon used to have content that was at least partially appealing several years ago. I don't even remember examples, but they were on my/. portal back in the late 90s.
Lately I can't remember seeing a single article I liked, and I vaguely remember some direction change making me pull it off the RDF sidebar. I'm not John Q Public - but if they don't write stories anyone cares for -- then why should anyone care?
If you want overtly liberal content you can go to kir5hoin or whatever it's called... which is another site that seems to blow smoke up it's own ass, but is at least a community portal.
No diff, b/c this works in CVS, debian, etc builds...
In the file src/window.c
In the function constrain_position(...)
In the else {} block after the if else (window->maximized) {} block
After the function call:
meta_window_get_work_area (window, FALSE, &work_area);
Add this code:// Mongoose: This is a hack and it's not ideal, however it took me several _minutes_ to make this!// I might make a real patch later, but for now here you go and I'll make it shift window position if asked// Quick and dirty edge flipping hack,// looks for mouse cursor touching edge during window drag
#define EDGE_FLIPPING_HACK #ifdef EDGE_FLIPPING_HACK if (1)// turnOnTheEvil { static int transition = 0; int threshold = (window->rect.width/2); int left = 0;
if (transition) {
if (!(x work_area.x + work_area.width - (threshold + 16)))
transition = 0; } else if (x work_area.x + work_area.width - threshold) {
MetaWorkspace *workspace;
if (workspace)
{
int index = meta_workspace_index(workspace);
if (x work_area.x - threshold - 40)
{
++index;
left = 1;
workspace = meta_workspace_get_neighbor(workspace, META_MOTION_LEFT);
}
else
{
--index;
if (index 0)index = 3;
workspace = meta_workspace_get_neighbor(workspace, META_MOTION_RIGHT);
}
}// Hack to allow 'ringed' edge flipping needs to use index
if (workspace)
{
meta_window_change_workspace(window, workspace);
meta_workspace_activate(workspace);
} } } #endif// Please remember metacity is a pretty poor code base w/o any documentation I could see and this is the quickest entry to produce this// IMHO havoc should take the carrot out of his ass and add features and fixes instead of bitching
Listen that's not true at all. You can run anything you want when you rename the EXE to a runnable like 'notepad.exe'. Add to this Word VBA scripting and you'll have admin on the box in seconds. In our lab we have people still installing porn and crap b/c it's so easy to do this.
On a floppy copy an alternative shell for windows and name it say winword.exe. You most likely can run anything you want off the floppy, so then you just run say the kernel debugger or the MS hole of the week ( ie is weak to loading HTML scripting attacks off disk also. ) -- and then you can use policy editor to start mounting all those hidden windows shares and hijacking other user's computers.
This is why windows is a joke - suid programs and permissions controls by name of a file.
I run Arena: The Elder Scrolls under it also. It's pretty nice it's SDL based and works in windows also.
One application for everything? MS BOB!
on
More on Longhorn
·
· Score: 3, Funny
Yes, it looks like longhorn is based on MS BOB tech!
Yay! I hope clippy the paper clip is an optional avatar this time.
Anyone considering buy longhorn gets what they deserve imho; but it's too bad most people have no idea about anything computer related -- and will buy anything preinstalled even if they can't even use it.
I like how all these kids on the local campus are removing XP from their machines to install win98 for example.
You can just edit the first ad URL ending in "1a.*" with say a "4.*" and skip to the end of the ad. I'm on dailup at home and used it to avoid downloading all that flash.
After I skipped all the flash I got a page asking to click here to continue and got a cookie that let me back in all day -- it's not too bad b/c I noticed the ad was for a... ah... maybe they are doomed...
Sure it's liberal as hell just like western news outlets, and does cater to westerners in and out of Japan since it's in _English_. However like/. what it loses in transmission of ideas it makes it up with posting from individuals and being entertaining... and we all know the Pop Vox pics of j-girl hotties beats/. anyday.
Hey, maybe you should try Debian... you can even install any any lanaguge you like. The 3.0preX installs prompt you to chose which language you want to install in in that native langauge. Also with KDE/Gnome the language keyboard support doesn't require rebooting at all. You click a little applet in your panel and select which one you want. In fact with newer releases you can mix language input using UTF-8 even in text entry dialogs.
If you use Knoppix it'll 'autodetect' all your hardware and allow you to run KDE/Gnome environment while you install it.
Maybe next time you should actually try a distro out before complaining it doesn't work.
I'm getting it ready for multiplayer and per pixel lighting too. I'm just waiting for the parts to my new machine and some free weekend.;)
I'll throw my hat in too I guess...
on
Shattering Windows
·
· Score: 3, Insightful
Windows NT/2000/XP all have problems with applications running at 'System' or another level below 'Administrator' ( root ).
For example:
1. Setup a win2k box with a user, and make it so that this user can only run the app MS Word using your little GUI profile editor.
No write access to drives, no shell, etc.
2. Log in as that user.
3. Now run MS Word and...
Press Alt+F11 Press F5 Enter "wolf" as the procedure name Enter "Shell "cmd.exe", vb.normalfocusfoo" Press F5
Now using commands like 'control userpasswords' you can fuck up your nice little system.
Also using command.com ( 'NT DOS' ) with your macros you can get beyond kernel rescrictions, which is like the ntsd kernel debugger bug a while back that the patch didn't fix.
Basicly you can still 'own' a network with your garden varity macro virus still.
Hell, I consider it a feature -- you forget your admin password or want to install something by sending a 'macro agent' around the network.
Also don't forget XML+IE+Outlook, DDE, and OLE holes. Btw I never report these exploits I find... I guess BugTraq hates me.
--
Yes, this is why you have to reimage windows so often besides dll hell...
I'm about tired of all this MS this and that. I say why bother honoring their patents. I don't no many people that would honor bad faith laws in any thing else. Just because it's law doesn't mean it's just.
In Rome they used to round up and kill christians, but now look at how much authority the papalicy has there. Laws change when groups act and grow to the majority. Everyone that can should push to shut out groups that abuse patents. You can't invalidate contracts retroactively in the US I thought.
British Telecom claims to own hyperlinking for example, and I don't know any person, government, or company giving in on that...
If everyone not just ignores but protests the law/patent then it can be invalidated.
------------- offtopic -------------
Also remember MS doesn't have all the money they claim -- they use various Enron accounting techniques like wages paid in options, pro forma numbers, and cookie jarring to report false profits. I wouldn't expect the SEC to do anything to them since they're the biggest big cap, and it would hurt the larger markets.
When you see someone saying 'MS has $XXB', please remind them that's not true. I'm willing to bet that they're actually operating at a loss. Look at how they're trying to con schools and companies with over charging... that's enough of that.
Besides having ~5 games that would sell in the market of Japan:
1. They released machines that damaged several users game and dvd discs in Japan at launch
3. They took about a month or two to admit it was broken
4. They replace xboxes
5. They will never replace damaged media
I don't care if you're selling bread or negative io n hairdryers -- you must have consumer support on level with your service. Even the WonderSwan is kicking Xbox in the balls in sells. It's like Y2800 or something! ( ~Y122 : 1 USD )
Japan the same nation that won't put Snow Brand Milk/Foods out of bussiness for countless near yearly food posionings of school children won't even take that. (Humor) =)
Re:Automaticness
on
Is RPM Doomed?
·
· Score: 5, Informative
You must be new to UNIX like systems. You see there is a reason we don't have 50MB executables from all the static linking and DLL hell. We use shared objects between all apps to save disk space, development time, and main memory. I see you complaining about rpms, so maybe you should try a distro like Debian GNU/Linux, and expand your horizons.
For example if we did shar archives ( what you want with your 'setup.exe' ), then you'd have to install all of KDE to just get QT libs. You'd have to install all of GNOME to get gtk+. You see why that's piss poor way to do things just from a packaging standpoint even if you don't understand the techincal aspects? Also versioning would be impossible to support. Versioning is allowing multiple libs to stay on the system without conflicting, so apps can use various versions as they choose. To support versioning you'd have to have N number of KDE installs.
I don't see how that post go modded up, when it's so misinformed... oh this is slashdot.
The mozilla bug was known for some time by everyone on irc.mozilla.org #mozilla that tried my little url test link several weeks back. I gave warning before posting it but you know people. =)
Basicly it's not just CSS it's also mixtures of center and header tags that are NOT escaped. I ran into the bug on a poorly done eBay user home page with code like:
...
The bug is Mozilla (gecko) doesn't parse this very well, and causes the font to scale larger and larger. This in turn allocates more and more main memory until your poor box runs out.
From our tests on #mozilla:
My linux 2.4.16/gdm/XFree 4.x box only crashed X.
A BSD user with experimental video drivers had his machine reboot.
Several other linux users ( 2.4 ) only had X crash.
One linux user with > 1GB of RAM had no effect b/c his session was too short to fill all that. =)
In short this was reported and being worked on before Mozilla 1.0 was even out.
Here's the bug report kindly filed by #mozilla: http://bugzilla.mozilla.org/show_bug.cg i?id=149014
netfront is your best bet. The PS2 has 32MB of memory after all. Look at http://www.access.co.jp/product/develop/demo.html for the x86 linux demo if you don't have the kit.
I installed netfront from the Japanese PS2 on the US kit. It runs just fine with SSL, JS, etc. =)
Look on google and you can find a copy easy, but you might have to register your email/etc in Japanese to download. Also don't listen to those guys in #ps2linux on OPN, since most of them are Qt trolls.;)
I've noticed in gcc 3.x that #include "header.h" looks for system header matches *before local scoped headers.
Is it just me or is that wrong and annoying?
I've had to distribute shell scripts to swap out filenames for compilation ( which wouldn't be fun to do by hand, trust me ) everytime gcc3 compiles the code base.
I don't track gcc3.x, but has this been fixed or is it intentional to cause confilcts you can't possibly predict on another system?
Here's a problem you could predict as an example:
#include "endian.h"
Then lots of odd compile errors ensue confusing the user. Also #include seemly includes -- wtf is up with that? Are these people using old/bad gcc3.x builds?
Take a look around the web. You can shared your PS2 kit games using a small bootloader on a memcard and special distrobutions to run off certian discs as well.
And there's the old 'greyware' way.
"Just wait for the IBM forces to commit suicide on our UNIX IP! Oh we're killing them all over. In fact they're begging for mercy! What? I don't see any tanks..."
-- B. Bob, Sr VP SCO
Microsoft was undermining OpenGL anyway with their piss poor support and that XP fiasco.
PS - I still love you moogle man dan. Let's play some Rune agian sometime, and I'll bring the kraut and hotdogs. My G400 runs it well with multitexture! hahaha =)
I made a tiny hack util to recover MS office files and RTFs from partial/full disk images I call recover-word, after seeing a lot of damaged floppies/zip disks. I might even make it more efficent one day. However, I did just add a hack to make it automate stripping partial images from a damaged drive, albeit it's not very smart. =)
recover-word
If you try it please send in comments and suggestions - I'm pondering making it usable for lay data recovery persons. I'm pondering adding my unreleased hacks for various other formats like JPEG or just making it use a RC file with a header dictionary and a simple lisp syantax for reading it. Then agian I worked on this maybe in 3 sit downs since I hated doing the recovery by hand over and over. =)
I'm not a right winger by any measure, nor am I for the left... however salon used to have content that was at least partially appealing several years ago. I don't even remember examples, but they were on my /. portal back in the late 90s.
Lately I can't remember seeing a single article I liked, and I vaguely remember some direction change making me pull it off the RDF sidebar. I'm not John Q Public - but if they don't write stories anyone cares for -- then why should anyone care?
If you want overtly liberal content you can go to kir5hoin or whatever it's called... which is another site that seems to blow smoke up it's own ass, but is at least a community portal.
"Sure!"
"Hello nurse"
Yes, and the wheel of...
No diff, b/c this works in CVS, debian, etc builds...
// Mongoose: This is a hack and it's not ideal, however it took me several _minutes_ to make this! // I might make a real patch later, but for now here you go and I'll make it shift window position if asked // Quick and dirty edge flipping hack, // looks for mouse cursor touching edge during window drag
// turnOnTheEvil
// Hack to allow 'ringed' edge flipping needs to use index
// Please remember metacity is a pretty poor code base w/o any documentation I could see and this is the quickest entry to produce this // IMHO havoc should take the carrot out of his ass and add features and fixes instead of bitching
In the file src/window.c
In the function constrain_position(...)
In the else {} block after the if else (window->maximized) {} block
After the function call:
meta_window_get_work_area (window, FALSE, &work_area);
Add this code:
#define EDGE_FLIPPING_HACK
#ifdef EDGE_FLIPPING_HACK
if (1)
{
static int transition = 0;
int threshold = (window->rect.width/2);
int left = 0;
if (transition)
{
if (!(x work_area.x + work_area.width - (threshold + 16)))
transition = 0;
}
else if (x work_area.x + work_area.width - threshold)
{
MetaWorkspace *workspace;
transition = 1;
workspace = window->screen->active_workspace;
if (workspace)
{
int index = meta_workspace_index(workspace);
if (x work_area.x - threshold - 40)
{
++index;
left = 1;
workspace = meta_workspace_get_neighbor(workspace, META_MOTION_LEFT);
}
else
{
--index;
if (index 0)index = 3;
workspace = meta_workspace_get_neighbor(workspace, META_MOTION_RIGHT);
}
}
if (workspace)
{
meta_window_change_workspace(window, workspace);
meta_workspace_activate(workspace);
}
}
}
#endif
Listen that's not true at all. You can run anything you want when you rename the EXE to a runnable like 'notepad.exe'. Add to this Word VBA scripting and you'll have admin on the box in seconds. In our lab we have people still installing porn and crap b/c it's so easy to do this.
On a floppy copy an alternative shell for windows and name it say winword.exe. You most likely can run anything you want off the floppy, so then you just run say the kernel debugger or the MS hole of the week ( ie is weak to loading HTML scripting attacks off disk also. ) -- and then you can use policy editor to start mounting all those hidden windows shares and hijacking other user's computers.
This is why windows is a joke - suid programs and permissions controls by name of a file.
Shows how much I use it. I play wolfenstien, AtES, and MoM. =)
Damn pastes, here's the working URL...
http://dosbox.zophar.net/
Try DosBox
http://dosbox.sourceforge.net/
I run Arena: The Elder Scrolls under it also. It's pretty nice it's SDL based and works in windows also.
Yes, it looks like longhorn is based on MS BOB tech!
Yay! I hope clippy the paper clip is an optional avatar this time.
Anyone considering buy longhorn gets what they deserve imho; but it's too bad most people have no idea about anything computer related -- and will buy anything preinstalled even if they can't even use it.
I like how all these kids on the local campus are removing XP from their machines to install win98 for example.
You can just edit the first ad URL ending in "1a.*" with say a "4.*" and skip to the end of the ad. I'm on dailup at home and used it to avoid downloading all that flash.
After I skipped all the flash I got a page asking to click here to continue and got a cookie that let me back in all day -- it's not too bad b/c I noticed the ad was for a... ah... maybe they are doomed...
We've came a long way since then...
APT, Red Carpet, and etc for packaging...
IRC networks like GIMP NET and OpenProjects NET often have the actual developers ( who want to help to get more users ) of the product...
Makes your problems seem quaint and distant...
I read JapanToday has much as I read /.
/. what it loses in transmission of ideas it makes it up with posting from individuals and being entertaining... and we all know the Pop Vox pics of j-girl hotties beats /. anyday.
Sure it's liberal as hell just like western news outlets, and does cater to westerners in and out of Japan since it's in _English_. However like
Hey, maybe you should try Debian... you can even install any any lanaguge you like. The 3.0preX installs prompt you to chose which language you want to install in in that native langauge. Also with KDE/Gnome the language keyboard support doesn't require rebooting at all. You click a little applet in your panel and select which one you want. In fact with newer releases you can mix language input using UTF-8 even in text entry dialogs.
If you use Knoppix it'll 'autodetect' all your hardware and allow you to run KDE/Gnome environment while you install it.
Maybe next time you should actually try a distro out before complaining it doesn't work.
Dude:
;)
http://openraider.sf.net
I'm getting it ready for multiplayer and per pixel lighting too. I'm just waiting for the parts to my new machine and some free weekend.
Windows NT/2000/XP all have problems with applications running at 'System' or another level below 'Administrator' ( root ).
For example:
1. Setup a win2k box with a user, and make it so that this user can only run the app MS Word using your little GUI profile editor.
No write access to drives, no shell, etc.
2. Log in as that user.
3. Now run MS Word and...
Press Alt+F11
Press F5
Enter "wolf" as the procedure name
Enter "Shell "cmd.exe", vb.normalfocusfoo"
Press F5
Now using commands like 'control userpasswords' you can fuck up your nice little system.
Also using command.com ( 'NT DOS' ) with your macros you can get beyond kernel rescrictions, which is like the ntsd kernel debugger bug a while back that the patch didn't fix.
Basicly you can still 'own' a network with your garden varity macro virus still.
Hell, I consider it a feature -- you forget your admin password or want to install something by sending a 'macro agent' around the network.
Also don't forget XML+IE+Outlook, DDE, and OLE holes. Btw I never report these exploits I find... I guess BugTraq hates me.
--
Yes, this is why you have to reimage windows so often besides dll hell...
I guess it's time Debian setup GNU apps/toolchain for OS X... if they haven't already.
I do run Debian on a GNU/Linux...
and on a BSD it's true!
I do run Debian on a Win32...
and on PS2!
But can you can you run it on OS X too?
I'm about tired of all this MS this and that. I say why bother honoring their patents. I don't no many people that would honor bad faith laws in any thing else. Just because it's law doesn't mean it's just.
In Rome they used to round up and kill christians, but now look at how much authority the papalicy has there. Laws change when groups act and grow to the majority. Everyone that can should push to shut out groups that abuse patents. You can't invalidate contracts retroactively in the US I thought.
British Telecom claims to own hyperlinking for example, and I don't know any person, government, or company giving in on that...
If everyone not just ignores but protests the law/patent then it can be invalidated.
-------------
offtopic
-------------
Also remember MS doesn't have all the money they claim -- they use various Enron accounting techniques like wages paid in options, pro forma numbers, and cookie jarring to report false profits. I wouldn't expect the SEC to do anything to them since they're the biggest big cap, and it would hurt the larger markets.
When you see someone saying 'MS has $XXB', please remind them that's not true. I'm willing to bet that they're actually operating at a loss. Look at how they're trying to con schools and companies with over charging... that's enough of that.
Besides having ~5 games that would sell in the market of Japan:
1. They released machines that damaged several users game and dvd discs in Japan at launch
3. They took about a month or two to admit it was broken
4. They replace xboxes
5. They will never replace damaged media
I don't care if you're selling bread or negative io n hairdryers -- you must have consumer support on level with your service. Even the WonderSwan is kicking Xbox in the balls in sells. It's like Y2800 or something! ( ~Y122 : 1 USD )
Japan the same nation that won't put Snow Brand Milk/Foods out of bussiness for countless near yearly food posionings of school children won't even take that. (Humor) =)
You must be new to UNIX like systems. You see there is a reason we don't have 50MB executables from all the static linking and DLL hell. We use shared objects between all apps to save disk space, development time, and main memory. I see you complaining about rpms, so maybe you should try a distro like Debian GNU/Linux, and expand your horizons.
For example if we did shar archives ( what you want with your 'setup.exe' ), then you'd have to install all of KDE to just get QT libs. You'd have to install all of GNOME to get gtk+. You see why that's piss poor way to do things just from a packaging standpoint even if you don't understand the techincal aspects? Also versioning would be impossible to support. Versioning is allowing multiple libs to stay on the system without conflicting, so apps can use various versions as they choose. To support versioning you'd have to have N number of KDE installs.
I don't see how that post go modded up, when it's so misinformed... oh this is slashdot.
The mozilla bug was known for some time by everyone on irc.mozilla.org #mozilla that tried my little url test link several weeks back. I gave warning before posting it but you know people. =)
...
g i?id=149014
Basicly it's not just CSS it's also mixtures of center and header tags that are NOT escaped. I ran into the bug on a poorly done eBay user home page with code like:
The bug is Mozilla (gecko) doesn't parse this very well, and causes the font to scale larger and larger. This in turn allocates more and more main memory until your poor box runs out.
From our tests on #mozilla:
My linux 2.4.16/gdm/XFree 4.x box only crashed X.
A BSD user with experimental video drivers had his machine reboot.
Several other linux users ( 2.4 ) only had X crash.
One linux user with > 1GB of RAM had no effect b/c his session was too short to fill all that. =)
In short this was reported and being worked on before Mozilla 1.0 was even out.
Here's the bug report kindly filed by #mozilla:
http://bugzilla.mozilla.org/show_bug.c
netfront is your best bet. The PS2 has 32MB of memory after all. Look at http://www.access.co.jp/product/develop/demo.html for the x86 linux demo if you don't have the kit.
;)
I installed netfront from the Japanese PS2 on the US kit. It runs just fine with SSL, JS, etc. =)
Look on google and you can find a copy easy, but you might have to register your email/etc in Japanese to download. Also don't listen to those guys in #ps2linux on OPN, since most of them are Qt trolls.