Welcome Guest.   Make a donation to an author on the site October 02, 2014, 03:30:27 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.
 
View the new Member Awards and Badges page.
   
  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 ... 184 Next
26  Main Area and Open Discussion / Living Room / Re: silly humor - post 'em here! [warning some NSFW and adult content] on: February 20, 2013, 01:25:09 PM
Really funny, fenix!

I love the switch..case construct in british english:

[copy or print]
what_about (£variable) {
    perhaps ¬£possibility:
        //Code here
        splendid;
    perhaps ¬£other_possibility:
        //Code here
        splendid;
    on_the_off_chance:
        //Code here
        splendid;
}

I don't know why, but the "splendid" clause got me laughing out loud at the workplace!
27  DonationCoder.com Software / JGPaiva's Ahk Tools / Re: Trying to make WindowWidth center on cursor on: February 20, 2013, 04:56:56 AM
I'm sorry, I was probably sleeping when I did the code above.

This version should fix all the problems:
[copy or print]
  If GridTop = WindowHeight
  {
    MonitorBottom := GetMonitorBottom(MouseX, MouseY)
    MonitorTop := GetMonitorTop(MouseX, MouseY)
    GridTop := MouseY - 0.5 * WinHeight
    If (GridTop + WinHeight > MonitorBottom)
      GridTop := MonitorBottom - WinHeight
    If (GridTop < MonitorTop)
      GridTop := MonitorTop
    GridBottom := GridTop + WinHeight
  }
   
  If GridLeft = WindowWidth
  {
    MonitorRight := GetMonitorRight(MouseX, MouseY)
    MonitorLeft := GetMonitorLeft(MouseX, MouseY)
    GridLeft := MouseX - 0.5 * WinWidth
    If (GridLeft + WinWidth > MonitorRight)
      GridLeft := MonitorRight - WinWidth
    If (GridLeft < MonitorLeft)
      GridLeft := MonitorLeft
    GridRight := GridLeft + WinWidth       
  }
28  DonationCoder.com Software / JGPaiva's Ahk Tools / Re: Trying to make WindowWidth center on cursor on: February 19, 2013, 06:16:29 PM
Sorry, bad math on my part. This line:
[copy or print]
If (GridTop + 0.5 * WinHeight > MonitorBottom)
Should be like this:
[copy or print]
If (GridTop + 1.5 * WinHeight > MonitorBottom)
Also, do the same on every other line similar to that one (all those that have the comparisons).
29  DonationCoder.com Software / JGPaiva's Ahk Tools / Re: Trying to make WindowWidth center on cursor on: February 19, 2013, 09:45:00 AM
Ah! Indeed that makes sense smiley
Ok, so what you're looking for is in GridMoveP1, lines 685-701:

[copy or print]
  If GridTop = WindowHeight
  {
    MonitorBottom := GetMonitorBottom(MouseX, MouseY)
    GridTop := MouseY       
    If (GridTop + WinHeight > MonitorBottom)
      GridTop := MonitorBottom - WinHeight
    GridBottom := GridTop + WinHeight
  }
   
  If GridLeft = WindowWidth
  {
    MonitorRight := GetMonitorRight(MouseX, MouseY)
    GridLeft := MouseX
    If (GridLeft + WinWidth > MonitorRight)
      GridLeft := MonitorRight - WinWidth
    GridRight := GridLeft + WinWidth       
  }   

And you should replace it with:

[copy or print]
  If GridTop = WindowHeight
  {
    MonitorBottom := GetMonitorBottom(MouseX, MouseY)
    MonitorTop := GetMonitorTop(MouseX, MouseY)
    GridTop := MouseY - 0.5 * WinHeight
    If (GridTop + 0.5 * WinHeight > MonitorBottom)
      GridTop := MonitorBottom - WinHeight
    If (GridTop - 0.5 * WinHeight < MonitorTop)
      GridTop := MonitorTop
    GridBottom := GridTop + WinHeight
  }
   
  If GridLeft = WindowWidth
  {
    MonitorRight := GetMonitorRight(MouseX, MouseY)
    MonitorLeft := GetMonitorLeft(MouseX, MouseY)
    GridLeft := MouseX - 0.5 * WinWidth
    If (GridLeft + 0.5 * WinWidth > MonitorRight)
      GridLeft := MonitorRight - WinWidth
    If (GridLeft - 0.5 * WinWidth < MonitorLeft)
      GridLeft := MonitorLeft
    GridRight := GridLeft + WinWidth       
  } 



I'm really sorry that I can't neither test nor generate a compiled version of GridMove for you (I now only own macs, unfortunately Sad ), but I hope this helps.
30  DonationCoder.com Software / JGPaiva's Ahk Tools / Re: Trying to make WindowWidth center on cursor on: February 18, 2013, 07:27:16 AM
I'm sorry, but I really can't understand what you want to do Sad

Could you try explaining in another way?

(The last lines - from 30 do 39 - only have to do with drawing the grid, so you should ignore those)
31  Main Area and Open Discussion / Living Room / Re: Bill Gates has donated over $36,854,000,000 in his lifetime on: February 15, 2013, 09:30:48 AM
Bill should have referenced the longer one as the author explains a lot more in there.
Now you've got me curious, do you have that link lying around? (because I'm lazy embarassed)
32  Main Area and Open Discussion / Living Room / Re: Bill Gates has donated over $36,854,000,000 in his lifetime on: February 15, 2013, 05:40:11 AM
I'm a bit more skeptical there.

I read that as "better life conditions usually mean lower birth rates".
I think you're right on the money there. On Bill Gates' AMA at reddit he mentions this, and references this video: http://www.youtube.com/watch?v=lYpX4l2UeZg
33  Other Software / Python / checkio.org: a resource similar to DC's programming school (for python) on: February 14, 2013, 06:12:48 AM
I've been trying to learn some python (trying to add some value to the huge amount of procrastination I've been doing recently), and I've found this site: http://www.checkio.org/

http://www.checkio.org/
[attach=1]


It's pretty interesting because it also features this "after you complete the challenge you can see other's solutions" mentality, and has quite a large user base. However, it has four drawbacks: 1 - the english may be incomprehensible at times, 2 - you must use their interpreter (which misses some modules such as numpy), 3 - the challenges start way too hard, you'll have to know the very basics already 4 - some challenges are not very much a programming exercise but mostly a math challenge (the one I'm now requires me to do trajectory intersections).

I think the biggest advantage is the fact that there are *many* solutions, ranging from way too complicated to very simple, and every solution has a lot of user comments picking apart the code and suggesting improvements.
34  Main Area and Open Discussion / Living Room / Re: When you make your 100'th Post on: December 17, 2012, 12:38:45 PM
What's all the ruckus?
Facebook is creating bad habits in me: I wanted to "like" this post tongue
35  Main Area and Open Discussion / Living Room / Re: I need your help... on: December 07, 2012, 05:59:55 AM
I'm sorry you're going through a rough patch, app. I'm sure things will get better, and I'm glad to see lots of DC members (even anonymous ones!) are helping smiley
36  Main Area and Open Discussion / General Software Discussion / Re: Q: Nexus 7 and Ad Blocking on: November 20, 2012, 10:40:24 AM
I also have one, so I'm interested in this topic cheesy

Have you tried using firefox with adblock? According to this thread, it has worked sometime in the past (maybe it's not working now?).
37  Main Area and Open Discussion / General Software Discussion / Re: Linux Distro features matrix? on: October 09, 2012, 11:53:46 AM
when it comes to software, what determines if it's ready to go for a certain distro?  the distro itself, or the desktop environment?  I'm confused because desktop environments to me sound like they are just "skins" for the OS.
It's really a mix smiley
What really determines if a software can run on some distro is if the OS has the dependencies and can compile the software, than it can run on that OS.
Sometimes, the dependencies are 1) at the OS level (a certain version of a library), or 2)at the desktop environment level (a version of KDE or Gnome) (or both? tongue ).

If 1), and the OS does not have the dependencies pre-installed, there are two options: you either install the dependencies from some repository (this is what package managers do automatically when you ask them to install something -hence why when you ask it to install something it may say "will install 100 other packages"), or if it's not compiled in any repository, you can install it from source.

From my experience, the DE doesn't actually limit your choices in software. If some software depends on a DE that you do not have installed, any package manager will install your software and the whole DE along with it. You'll be able to use that software on your regular DE, it will only look different from the rest of the stuff you're running. However, if it's something tied with the look of the OS (for example a taskbar clock), it will only show up if you start the correct DE.
38  Main Area and Open Discussion / Living Room / Re: What web sites would deserve more attention? on: October 01, 2012, 12:44:29 PM
Uhm. What about http://www.bonkersworld.net/ or smth?
It does have some amusing stuff smiley Thanks
39  Main Area and Open Discussion / Living Room / Re: Self-Portrait Camera - Casio EX-TR150 on: September 26, 2012, 02:08:09 PM
Man, I need one of those cameras.

Any idea how hard it was to snap this picture with a conventional IXUS? Also, I was all out of self-tan and eyeliner. #yolo #fml :-( (see attachment in previous post)
You sure have mastered the art of the duckface, though tongue
40  Main Area and Open Discussion / General Software Discussion / Re: Wicked Cool Unusual Features in Software on: September 26, 2012, 03:26:30 AM
Vim can tweet.  Cool
I'm OK with that, as long as it doesn't turn into Emacs tongue
41  Main Area and Open Discussion / General Software Discussion / Re: Wicked Cool Unusual Features in Software on: September 25, 2012, 01:50:16 PM
Easy. Get eyeballs installed in the back of your head. Problem solved! smiley
I can easily see a bunch of situations in which those would be handy!
42  Main Area and Open Discussion / General Software Discussion / Re: Wicked Cool Unusual Features in Software on: September 25, 2012, 11:40:57 AM
On the other hand, if you indadvertedly hover the box, with someone overlooking your screen while you have something embarrassing in the clipboard.... Oops tongue
43  Main Area and Open Discussion / Living Room / Re: Ubuntu will now have Amazon ads pre-installed on: September 24, 2012, 04:16:16 AM
This does feel a bit wrong to me, however, I've used ubuntu for two years, and most of our test machines at work run ubuntu, and nor me nor anyone at work have actually donated anything to Canonical. So I guess I can understand that they are trying to find some other means of survival.

However, if I used Ubuntu with any graphical shell (unity in particular), I would disable this "feature". Doesn't make me feel very good about myself, though tongue
44  Main Area and Open Discussion / Living Room / Re: $10 for a Facebook Post? Huh? on: September 23, 2012, 03:46:21 PM
Actually, that's not that bad of a deal, if the post is commercial in nature...and you have over a million subscribers.

It's my personal account. I ONLY friend people that I know. I have 226 friends. I do NOT friend people I don't know. Of those, probably half are inactive. Dunno exactly.

So, $10 for a personal post? Seriously? WTF?!?


But Hell yeah! If I could reach out to a million people for $10, that would be a great deal. I'm not talking about that though. $10 for probably 100 people? For a personal post? Of no commercial nature?
Actually, I'd say that if that post is set to public visibility (if it's an ad, probably it wouldn't make much sense not to be, right?), your friend's friends might also see it, if it was promoted. Also, if any of those other friends-of-friends like or comment the post, it'd reach their friends too and so on. So, depending on how many friends your friends have and how many of those overlap, you might actually reach a pretty large number of people.

From what I read about promoting pages, the price is based on how many fans the page has, so I suppose that those 10$ are related to the potential reachability of the post too. It'd be nicer if they actually said how much people is certain to actually see the post.
45  Main Area and Open Discussion / Living Room / Re: 500 Internal Server Error on: September 22, 2012, 06:54:49 AM
I've been wondering if it really is useful information, or just a little prank from the engineers?
If it was caused by an exception, it could be a stack trace? I guess if it's encrypted, there's no way to distinguish if it's random information or not, right?
46  Other Software / Developer's Corner / Re: A Bonehead Programming "Bug" on: September 21, 2012, 05:39:25 AM
It's even funnier when you forget to start a thread in a multi-threaded program. Just happened to me. Twice tongue
47  Main Area and Open Discussion / Living Room / Re: Thread to annoy mouser on: September 20, 2012, 12:24:20 PM
lol, is that posted in the wrong thread (or am I missing something?)
Well, the image is from the Wikipedia page on "Tilting at Windmills". Also, it's funny how in the smaller size, I confused the horse with a dragon..
48  Other Software / Developer's Corner / Re: Licensing Free Software on: September 20, 2012, 09:03:27 AM
According to CC's faq (here), it is not recommended that you use their licenses for software. That's the license I use for GridMove, though. Mostly because I'm lazy tongue
49  Main Area and Open Discussion / Living Room / Re: Thread to annoy mouser on: September 20, 2012, 08:14:18 AM
o0, Who moved it back? lol
According to the moderator log, it was mouser himself tongue
50  Main Area and Open Discussion / Living Room / Re: For XKCD fans on: September 20, 2012, 08:12:31 AM
TL;DR
Yep, really is too long. I also haven't seen the whole thing. But if you didn't already, try zooming out to the max just to have an idea of how large it is smiley
Pages: Prev 1 [2] 3 4 5 6 7 ... 184 Next
DonationCoder.com | About Us
DonationCoder.com Forum | Powered by SMF
[ Page time: 0.057s | Server load: 0.03 ]