Welcome Guest.   Make a donation to an author on the site June 18, 2013, 02:05:13 AM  *

Please login or register.
Or did you miss your validation email?


Login with username and password (forgot your password?)
Why not become a lifetime supporting member of the site with a one-time donation of any amount? Your donation entitles you to a ton of additional benefits, including access to exclusive discounts and downloads, the ability to enter monthly free software drawings, and a single non-expiring license key for all of our programs.


You must sign up here before you can post and access some areas of the site. Registration is totally free and confidential.
 
Read the Practical Guide to DonationCoder.com Forum Search Features
   
  Forum Home Thread Marks Chat! Downloads Search Login Register  
  Show Posts
      View this member's profile 
      donate to someone Donate to this member 
Pages: Prev 1 2 3 4 5 [6] 7 8 9 10 11 Next
126  Main Area and Open Discussion / Living Room / Re: Bitwise gems - fast integer math on: June 28, 2007, 09:39:17 AM
"This is about 600% faster." - I love people making bold claims without making any reference to which platform they tested it on :] (ah, following the link they mention AS3 - flash actionscript?)
[...]
Keep in mind that decent compilers know a bunch of these tricks already, which is good reason you wouldn't do ">> 2" to divide by four in C.

hehe yes! exactly
the only reason why some of those bitwise ops are that much faster has to be a bad intermediate compiler / interpreter.
after all you want the script to start running, not compile for 5 minutes.
nevertheless, this list shows how to do some nice operations in bitwise and being who i am (someone who enjoys obfuscated c and perl and fancy/different ways to approach simple tasks) i appreciate websites like this one just for the fact that they list the operations ;-)
it's like a work of art
or maybe i already studied too much comp sci :x


I'd highly recommend everyone learning why those gems work. It would teach you a lot about how computers represent numbers and that could lead you to understand when and where those trick are really applicable.

true indeed
127  Main Area and Open Discussion / Living Room / Bitwise gems - fast integer math on: June 28, 2007, 03:42:32 AM
Quote
Fast modulo operation using bitwise AND

If the divisor is a power of 2, the modulo (%) operation can be done with:
modulus = numerator & (divisor - 1);
This is about 600% faster.

[copy or print]
x = 131 % 4;

//equals:
x = 131 & (4 - 1);

Every programmer should know about the simple shift-left, shift-right for base2 multiplication and division (if you don't, you're missing something).
This page, however, lists a couple of real gems (as the title suggests) like the one quoted above.
Enjoy!

128  Main Area and Open Discussion / Living Room / Re: DMZ Linux Cursors For Windows on: June 23, 2007, 04:00:41 PM
Thanks for your comment oh wise one. [attach]

well, at the end of the day you distribute by posting it on a forum that is available to the public.
adding "please don't re-distribute" wont help. just saying.
it's not that i'd care

ps.
i like the ubutu cursors ;-)
the way cursor is pretty nice
129  Main Area and Open Discussion / Living Room / Re: DMZ Linux Cursors For Windows on: June 23, 2007, 04:37:34 AM
TESTING ONLY: Please to not redistribute as I have not yet included all the proper credits.

well, you shouldn't distribute it in the first place
if the cursors are gpl, then just include the gpl text as "LICENSE.TXT" into the rar, and maybe the installer if you have one.
130  Main Area and Open Discussion / General Software Discussion / Re: Making the Switch-05: Ten Great Ideas of GNU/Linux on: June 21, 2007, 10:57:21 AM
ps. I hope you also do a "10 Horid Ideas of GNU/Linux" blog, if you can think of them -- I think it would help complete the picture.

haha, well, as always, there will be a lot of those
since very often the pro of one thing is the contra of another

i'm kinda interested in what you think are the 10 worst things tho ;-)
out of pure curiosity
i know there are plenty of things that suck
i still love it, even after 6+ years
131  Main Area and Open Discussion / Living Room / Re: what is the potential capacity of the internet? on: June 21, 2007, 04:38:51 AM
if you're looking for a proper way to illustrate something, check the periodic table of visualization
http://www.visual-literac...table/periodic_table.html
132  Main Area and Open Discussion / Living Room / Re: what is the potential capacity of the internet? on: June 20, 2007, 06:04:05 AM
haha, i'm glad there are still people who can deal with a bit of criticism Wink
kudos to you nudone

the only occasion i state that the "net is full" is in this context:

somenoob: useless comment or statement
me: get off MY internet, there's not enough bandwidth for you

;-)
133  Main Area and Open Discussion / Living Room / Re: what is the potential capacity of the internet? on: June 20, 2007, 12:38:34 AM
why do people always seek simple answers to complex problems?
the internet just ISN'T "one big fat pipe"
of course you _could_ argue that _if_ one would be able to use all the broadband interconnects and end user connections _at the same time_ you could reach some hypothetical bullshit number
but that would be like arguing that if you put all the lanes of all US highways next to each other over the distance of 1 mile you wouldn't have to worry about traffic jams anymore because there's so much road....

network != single connection

if you're really into that "duh. just keep it simple" stuff, go to your church of choice.
that's one other thing "intelligently designed" for people who like it simple tongue
134  Main Area and Open Discussion / General Software Discussion / Re: Are you a hardcore software fanatic or a poseur? on: June 18, 2007, 03:42:37 AM
i don't know and i don't care
the definition of 'program' is vague to begin with

i can count what packages are installed tho

seidensha gjehle # emerge -pe world | grep '\[ebuild' | wc -l
1038
seidensha gjehle # emerge -pe system | grep '\[ebuild' | wc -l
363

makes a whopping 1371 packages.
almost all of them are compiled from source ;-)

any takers?
135  Main Area and Open Discussion / Living Room / Re: DC get together in Western Europe?! July 2007? on: June 17, 2007, 07:35:06 PM
july is kinda bad, it's when i have to write this semester's finals
maybe next time ;-)
136  Main Area and Open Discussion / Living Room / Re: Is there a Safari for Windows? on: June 12, 2007, 04:18:31 AM
Quote
Safari for Windows, 0day exploit in 2 hours
By Thor Larholm

Apple released version 3 of their popular Safari web browser today, with the added twist of offering both an OS X and a Windows version. Given that Apple has had a lousy track record with security on OS X, in addition to a hostile attitude towards security researchers, a lot of people are expecting to see quite a number of vulnerabilities targeted towards this new Windows browser.

I downloaded and installed Safari for Windows 2 hours ago, when I started writing this, and I now have a fully functional command execution vulnerability, triggered without user interaction simply by visiting a web site. I will not sell this one to ZDI or iDefense but instead release it here, as I have done lately with a number of 0day vulnerabilities. This place is where you get my latest research smiley

ha-ha
so much for all the nice apple software that's oh-so much more secure ;-)


137  Main Area and Open Discussion / General Software Discussion / Re: File Names : what should be avoided on: June 11, 2007, 05:44:17 PM
How does one switch to unicode/utf8 in windows? Through the control panel "Regional and Language Options"?  Please forgive my ignorance... embarassed

well, can't help you with that ;-)
i only know there are language packs so you can display asian stuff, but that was quite a while ago that i used it
now being linux-only i just have to tell my kernel what to use and set my locale ;-)
138  Main Area and Open Discussion / General Software Discussion / Re: File Names : what should be avoided on: June 10, 2007, 07:05:38 PM
some guidelines:
yes i would avoid using periods except to separate a file extension, as you will confuse programs that treat anything

every windows program i used (except for some crappy 8+3 16bit stuff back in the days
was able to handle multiple periods just perfectly fine
/([^\.]+)$/ FTW

and while i'm a friend of the "strict US ascii", "no spaces", "all lower case" i have recently switched to unicode/utf8 for all filesystem related stuff
it's kinda nice to be able to browse folders like this without problems:

[attachimg=1]
139  Main Area and Open Discussion / Living Room / Re: Why do so many micropayment systems fail? on: June 05, 2007, 03:07:20 PM
it has been stated before here i guess but nevertheless
"just because you can pay a small amount doesn't make users want your product"

eg. take the comic strip that was used as an example.
if you start something new that has already been done for free millions of times (web comics) the demand is low.
now if you want users to pay for it from the start, even if it is just 1ct...
if the user can get the satisfaction (reading a comic) elsewhere for less (free) they wont even start reading.
unless of course they want to (well known artist, great (free) story teasers, awesome artwork, whatever makes the producy unique and a must have)

if you have micro donation it implies that you can also get the product without paying up front.
so people use it and if the product is awesome enough for people to notice they might think: well, let's spare a buck for that poor coder.

it doesn't work the other way 'round unless people really, really, really, really want to have it.

in three words: "supply and demand"

micro payment doesn't fail because it's micro payment.
it fails because of other causes, one of the biggest IMHO is a gross misunderstanding or misinterpretation of the system itself.
140  Main Area and Open Discussion / Living Room / Re: What do you do with your old PCs? on: June 04, 2007, 03:00:49 AM
i either stack them or install linux
either way they stay
much to the liking of the rest of the family
cheesy:D:D:D
141  Main Area and Open Discussion / Living Room / Re: Microsoft's proposed new user interface on: June 01, 2007, 03:37:12 PM
i spent the last weekend at c-base in berlin, germany attending a conference.
they had one standing around there that was bigger than MS's
i even played around with it for a a bit, here're some crappy pics i took: http://mein-bowl.de/mt/

nice thing: it was able to detect your hand or other materials responsive to infra red light
while they were still a good 15cm away from the surface and distinguish between touching the surface and just hovering over it
just take a look at the blue/greenish overlay blobs representing the detected area: http://mein-bowl.de/mt/dsc05394.jpg
142  Main Area and Open Discussion / Living Room / Video: Stop the big brother state on: May 30, 2007, 02:28:40 PM
Quote
the big brother state is an educational film about what politicians claim to be
protection of our freedom, but what we refer to as repressive legislation.

since terrorism has become a global threat, especially after 9/11,
governments all over the world have started enforcing laws which,
so the government say, should increase national security.

these laws obviously aim at another goal:
the states gaining more and more control
of their citizens at the cost of our privacy and freedom.

very well-made info video made at the university of applied sciences augsburg, germany.
watch it!

143  Main Area and Open Discussion / Living Room / Re: Why don't you pay for software? on: May 23, 2007, 06:26:40 AM
If you become a linux software developer does your body learn to convert air to food?

no.
it doesn't have to...

stupid ignorant prejudices...
144  Main Area and Open Discussion / Living Room / Re: Why don't you pay for software? on: May 23, 2007, 06:02:47 AM
i don't pay for software because i don't have to
no windows on any of my computers ;-)
145  Main Area and Open Discussion / General Software Discussion / Re: "Files NOT Used" utility on: May 15, 2007, 11:35:55 PM
afaik norton clean sweep did something like that back in the days when i had it once installed.

but be aware that deleting files solely on the last access time is pretty unsafe ;-)
146  Main Area and Open Discussion / General Software Discussion / Re: TRUSTED Download Manager discussion on: May 15, 2007, 05:52:20 AM
i only used download managers back in the days when i had ISDN
who needs a download manages in the times of 6+ mbit DSL ?
haven't used one in years
147  Main Area and Open Discussion / General Software Discussion / Re: Alternatives for creating Powerpoint animations? on: May 14, 2007, 01:05:52 PM
if you're talking about powerpoint PRESENTATIONS
i can "recommend" www.openoffice.org impress.

the 'animation' part is a little awkward, at least it was a few versions back
but since i'm a total animation and slide transition hater using only blank cuts as transitions...
i couldn't care less ;-)
148  Main Area and Open Discussion / Living Room / Re: Microsoft takes on the free world on: May 14, 2007, 02:01:34 AM
well, this sounds like SCO all over again.
i think it just FUD FUD FUD.
MS has been sponsoring SCO anyways.
149  Main Area and Open Discussion / Living Room / 3D freeform rapid prototyping for CANDY! Suger-rush here I come! on: May 13, 2007, 07:23:08 AM
Quote
Solid freeform fabrication: DIY, on the cheap, and made of pure sugar
In February we gave a sneak preview of our project to construct a home-built three dimensional fabricator. Our design goals were (1) a low cost design leveraging recycled components (2) large printable volume emphasized over high resolution, and (3) ability to use low-cost printing media including granulated sugar. We are extremely pleased to be able to report that it has been a success: Our three dimensional fabricator is now fully operational and we have used it to print several large, low-resolution, objects out of pure sugar.



from http://www.evilmadscientist.com/
150  Main Area and Open Discussion / General Software Discussion / Re: How can I automatically run a command after an application closes? on: May 12, 2007, 12:56:16 AM
if you'd start an executable that wont finish till it's done you can write a batchfile

[copy or print]
commandA
commandB
Pages: Prev 1 2 3 4 5 [6] 7 8 9 10 11 Next
DonationCoder.com | About Us
DonationCoder.com Forum | Powered by SMF
[ Page time: 0.042s | Server load: 0.13 ]