' Draw some colored rectangles oSize = MakeSize( 1000, 2000 ) For i = 0 To 15 oShape = MakeRectangleShape( oDrawDoc, MakePoint( 1000 + (i * 1200), 1000 ), oSize ) oDrawPage.add( oShape )
oShape.FillColor = RGB( 255*i/15,220-i/15*80,250-i/15*200 ) oShape.CornerRadius = 1000 * (i/15) Next End Sub
Function MakePoint( x As Long, y As Long ) As com.sun.star.awt.Point Dim aPoint As New com.sun.star.awt.Point aPoint.x = x aPoint.y = y MakePoint() = aPoint End Function
Function MakeSize( width As Long, height As Long ) As com.sun.star.awt.Size Dim aSize As New com.sun.star.awt.Size aSize.width = width aSize.height = height MakeSize() = aSize End Function
Function MakeRectangleShape( oDrawDoc As Object,_ Optional position As com.sun.star.awt.Point,_ Optional size As com.sun.star.awt.Size ) As com.sun.star.drawing.RectangleShape oShape = oDrawDoc.createInstance( "com.sun.star.drawing.RectangleShape" ) If Not IsMissing( position ) Then oShape.Position = position EndIf If Not IsMissing( size ) Then oShape.Size = size EndIf MakeRectangleShape() = oShape End Function
Too bad I can't quickly figure out how to post formatted code on Slashdot.:-(
I hope this is not typical of the code quality of Slashdot programming? There is going to be a runtime error the second time that line 1010 is reached.
From the article...
In particular, they hope that such a standard will allow 3D data to be more easily incorporated into other apps, such as web browsers, to make 3D imagery more widespread - and, in turn, boost demand for faster processors and graphics chips.
Shouldn't they have said....
...and in turn slow down computers and applications everywhere.
I don't know about lately, but years ago, MS development tools had EULAs that prevented you from using MS tools to develop either (1) more development tools or (2) word processors.
EVERY new machine SHOULD come with a separate developer's CD just as every boxed version of OSX should.
Twenty years ago I would absolutely agree.
Not today.
Only one in one hundred, maybe one in one thousand users would do anything with this CD. (And I am counting the users who make clocks or other decorations out of useless CD's.) Don't increase the cost for everyone so that you can have a CD in the box.
What development tools? What language? What IDE? There are so many to choose from. If the CD doesn't have the right one, then it doesn't do any good anyway. As soon as two (2) of those tools on that CD are out of date, then the CD is perceived to be out of date.
If developer tools are to be free as in lunch, then why not just make them available for download. This is much cheaper than including a CD with every computer.
2) You may not download this Software if you are located in any country (or are a national of a country) subject to a general U.S. or U.N. embargo or are deemed to be a terrorist country (i.e., Cuba,Iran, Iraq, Libya, North Korea, Sudan and Syria).
Ouch! Why the patriotic license clause?
That license clause is to protect us from people in other countries who might start getting ideas about having tamper-free elections.
Re:Is Real their own problem?
on
Real Problems
·
· Score: 1
I'm wondering when the terrorists will catch up and build booby traps that only explodes when the RFID scanner attached to the booby trap detects an e.g. US-american citizen nearby
Someone could even set us up the boom such that it only explodes when brought into proximity of a specific RIAA CD, or a specific Gilette razor. Highly targeted.
Microsoft is desperately trying to get companies to switch, but getting Officer Level peeps to understand the inherent benefits is proving to be... difficult..
Seems to me like it should be easy. First of all, don't PHB's believe everything Microsoft says?
Microsoft should just tell them that they need to upgrade because the Windows 98/SE they are running is "inherently insecure", unstable, obsolete, etc. All the things that we already know. That should convince them to upgrade. And it comes from a trustworthy source.
The problem with agnostics is that they claim that the existence of God is unknowable. I think it is merely unknown but perhaps knowable.
You are free to choose to believe or not, as am I or anyone else.
I am under the impression that few people suffer from hallucinations. Otherwise it would be considered "normal".
Personal knowledge is not a bad way of obtaining knowledge. If there is proof of the knowledge (I discovered that the Earth goes around the Sun!) then there is no problem. If there is no proof, then you have only what someone says. You can take it or leave it. If someone invites you to communicate with God, then it is your choice.
It is simply the lack of any proof with which you use to say that personal knowledge of something is bad.
If someone says they have personal knowledge of something provably wrong (personal knowledge the earth is flat, the moon is made of cheese) then you have good reason to not believe and even argue the disproof.
If someone says they have personal knowledge of something unprovable, then it is only your dodgy "personal knowledge" that they are wrong. I think Carl Sagan's Contact was interesting in this regard. Especially the movie. One individual. Not one shred of proof.
On the other hand, don't fall into the trap of thinking that they are not the solution to anything.
Some people simply will never play nice with others. For these, you must have laws with penalties, and then enforce them.
There is a reason why we go through this completely silly exercise of writing down laws on books that say you can't steal from my home. Such a thing should be obvious right? So why is it that we spend money on legislatures to go through this exercise?
I would point out that the Junk Fax problem is largely a thing of the past.
Instead let's come up with a new, different markup language. No pictures. Everything should be plugins instead. If you need a graphic, use a plugin.
What? Worried that the mail recipient won't have the plugin? No problem. Enhance the e-mail standard such that the plugin executable is included as part of the e-mail message.
What's that you say? Incompatible executable formats? Nonsense. Everyone uses Windows.
The DRM system can keep track of which plugins were used to display your incomming e-mail and charge you accordingly.
This is a great plan....
A new advanced markup language is created
No more ugly text only messages!!!! Guaranteed attractive mail!!!
E-mail messages will look better, therefore they must
be more important
have more intelligent content
Plugin developer's benefit
Microsoft benefits
bandwidth providers benefit
vendors of various parts of the e-mail infrastructure benefit from upgrades
For productivity, SCO needs a good lie management software package.
Maybe Microsoft could write them one?
You know what they say about telling lies leads to the need to tell bigger lies. Sheesh, didn't Darl learn that as a kid?
It isn't over until Lorra Diddlings sings.
Perhaps you mean Laura Didio?
I hope this is not typical of the code quality of Slashdot programming? There is going to be a runtime error the second time that line 1010 is reached.
From the article... In particular, they hope that such a standard will allow 3D data to be more easily incorporated into other apps, such as web browsers, to make 3D imagery more widespread - and, in turn, boost demand for faster processors and graphics chips.
...and in turn slow down computers and applications everywhere.
Shouldn't they have said....
You're presuming that there is some SCO code to actually remove from the kernel. It remains to be seen if it is so.
I don't know about lately, but years ago, MS development tools had EULAs that prevented you from using MS tools to develop either (1) more development tools or (2) word processors.
EVERY new machine SHOULD come with a separate developer's CD just as every boxed version of OSX should.
Twenty years ago I would absolutely agree.
Not today.
Only one in one hundred, maybe one in one thousand users would do anything with this CD. (And I am counting the users who make clocks or other decorations out of useless CD's.) Don't increase the cost for everyone so that you can have a CD in the box.
What development tools? What language? What IDE? There are so many to choose from. If the CD doesn't have the right one, then it doesn't do any good anyway. As soon as two (2) of those tools on that CD are out of date, then the CD is perceived to be out of date.
If developer tools are to be free as in lunch, then why not just make them available for download. This is much cheaper than including a CD with every computer.
2) You may not download this Software if you are located in any country (or are a national of a country) subject to a general U.S. or U.N. embargo or are deemed to be a terrorist country (i.e., Cuba,Iran, Iraq, Libya, North Korea, Sudan and Syria).
Ouch! Why the patriotic license clause?
That license clause is to protect us from people in other countries who might start getting ideas about having tamper-free elections.
Do you mean ex-senior-engineer?
Niether will the RIAA or MPAA. There will still be Trusted Computing. There will still be the DMCA. PATRIOT. PIRATE. etc.
Is it true that SCO and RIAA are planning a merger?
That would be way cold if SCO could take the RIAA down with them when SCO goes down.
If you listen to SCO's financial teleconferences, and hear how they themselves pronounce it, the winner is...
Number 1 -- rymes with "snow".
Or rymes with "fiaSCO". Does not ryme with "SCOundrel".
No need to sacrifice Eben, after IBM is finished with their counterclaims, Darl will be vaporized anyway.
1984, Associate, Cravath Swaine & Moore, New York.
In case nobody noticed, this is the firm representing IBM in SCO vs. IBM.
Moderators on crack again.
Don't you mean still?
That gives you extra time to procrastinate.
I thought March was national procrastination week? (At least in the US.)
"Microsoft pulls stick out of ass... finds it makes for better PR when carrot is tied to it"
I'm not sure I would want that stick, even if the stick had a carrot tied to it.
I'm wondering when the terrorists will catch up and build booby traps that only explodes when the RFID scanner attached to the booby trap detects an e.g. US-american citizen nearby
Someone could even set us up the boom such that it only explodes when brought into proximity of a specific RIAA CD, or a specific Gilette razor. Highly targeted.
Microsoft is desperately trying to get companies to switch, but getting Officer Level peeps to understand the inherent benefits is proving to be... difficult..
Seems to me like it should be easy. First of all, don't PHB's believe everything Microsoft says?
Microsoft should just tell them that they need to upgrade because the Windows 98/SE they are running is "inherently insecure", unstable, obsolete, etc. All the things that we already know. That should convince them to upgrade. And it comes from a trustworthy source.
The problem with agnostics is that they claim that the existence of God is unknowable. I think it is merely unknown but perhaps knowable.
You are free to choose to believe or not, as am I or anyone else.
I am under the impression that few people suffer from hallucinations. Otherwise it would be considered "normal".
Personal knowledge is not a bad way of obtaining knowledge. If there is proof of the knowledge (I discovered that the Earth goes around the Sun!) then there is no problem. If there is no proof, then you have only what someone says. You can take it or leave it. If someone invites you to communicate with God, then it is your choice.
It is simply the lack of any proof with which you use to say that personal knowledge of something is bad.
If someone says they have personal knowledge of something provably wrong (personal knowledge the earth is flat, the moon is made of cheese) then you have good reason to not believe and even argue the disproof.
If someone says they have personal knowledge of something unprovable, then it is only your dodgy "personal knowledge" that they are wrong. I think Carl Sagan's Contact was interesting in this regard. Especially the movie. One individual. Not one shred of proof.
The problem with agnostics is that they claim that the existence of God is unknowable. I think it is merely unknown but perhaps knowable.
How about knowable, but not provable. A matter of personal experience. But not something which can be demonstrated in a lab.
Laws are not the solution to everything.
On the other hand, don't fall into the trap of thinking that they are not the solution to anything.
Some people simply will never play nice with others. For these, you must have laws with penalties, and then enforce them.
There is a reason why we go through this completely silly exercise of writing down laws on books that say you can't steal from my home. Such a thing should be obvious right? So why is it that we spend money on legislatures to go through this exercise?
I would point out that the Junk Fax problem is largely a thing of the past.
Instead let's come up with a new, different markup language. No pictures. Everything should be plugins instead. If you need a graphic, use a plugin.
What? Worried that the mail recipient won't have the plugin? No problem. Enhance the e-mail standard such that the plugin executable is included as part of the e-mail message.
What's that you say? Incompatible executable formats? Nonsense. Everyone uses Windows.
The DRM system can keep track of which plugins were used to display your incomming e-mail and charge you accordingly.
This is a great plan....
- A new advanced markup language is created
- No more ugly text only messages!!!! Guaranteed attractive mail!!!
- E-mail messages will look better, therefore they must
- be more important
- have more intelligent content
- Plugin developer's benefit
- Microsoft benefits
- bandwidth providers benefit
- vendors of various parts of the e-mail infrastructure benefit from upgrades
- Spammers benefit
- Spam recipients benefit from more attractive spam
In short, everyone benefits.