|
1
|
DonationCoder.com Software / Post New Requests Here / Re: IDEA: drag window to edge automatically resizes it
|
on: May 23, 2013, 01:40:45 PM
|
Hi poidi! I find your idea interesting, I would only suggest that to aim at a 100%-focused keyboard solution, it would be better to consider that "actual monitor = monitor where the window is". Regardless, and to be honest, I have posted the code for GridMove on github because I haven't been able to followup on the requests posted to the forum (I've explained it elsewhere, but basically not being a Windows user anymore makes developing GridMove a burden instead of a pleasure). So, unless someone else steps up to fullfil your request, I fear it won't be done  I'm really sorry for this, João
|
|
|
|
|
4
|
DonationCoder.com Software / JGPaiva's Ahk Tools / Re: GridMove at github
|
on: February 27, 2013, 08:13:14 AM
|
I wonder if the FSF would answer a license-question email along the lines of "ohaithar, you haz real software license comparable to CC-BY-NC-SA, canhazpzlkthx?" :-)
I asked google instead, and got here. I think one of the commenters says what I believe to be correct (and in line with what I found the last time I dwelved into this): A license can't restrict use. If you look at all the exclusive rights in 17 USC 106 you'll see that none of them have anything to do with use. This is why licenses (like the GPL) restrict distribution and modification, not use. – David Schwartz Sep 25 '11 at 21:13 So, I guess I'll have to update the license. Btw, I think it's great you have released the source and put it on GitHub, so please do not take my comments as being negative, I just find this licensing stuff interesting in a kind of masochistic manner  . I don't, and I thank you for your help! To be honest, I only have 3 objectives: - protect the code from being copied to create another exact clone
- allow others to use my code on their own projects (even though it's a total mess and probably not that useful
) - not allow usage in a commercial environment.
From what I understand, the hard part is the last one, since the source code does not have an EULA.
|
|
|
|
|
5
|
Main Area and Open Discussion / Living Room / Re: PayPal users are frauds :-(
|
on: February 25, 2013, 12:25:16 PM
|
Yeah but so what.. if a user is going to do that then they weren't going to purchase from you anyway, so what do you care if they got a free license key or not.
I agree. Also, the scammer could always have gotten the software through other "less than legal" ways. On the other hand, if paypal has something like "reputation" associated to a seller, it'd be awful to lose reputation due to a bunch of scammers. I wonder how ebay handles these situations. This report just made me find the first genuinely useful use for DRM: if a scammer tries to get free software, you could just revoke his key. (even without DRM, you can always make sure that the scammer's key won't work for the next versions)
|
|
|
|
|
6
|
DonationCoder.com Software / JGPaiva's Ahk Tools / Re: Trying to make fast move accept F1-F12 isn't working
|
on: February 25, 2013, 03:27:28 AM
|
I see a few problems: From what I understand, AHK doesn't support the "for each" loop you're using. Also, you're defining a subroutine inside the loop, which I don't think can be done either (rubroutines can only be declared at topmost level?). Also, I don't think you can define a subroutine using the name of a variable (but I may be wrong). If you want to use the keys only up to F9, this should work: [ copy or print] DefineHotkeys: loop,9 { Hotkey, F%A_Index%, WinHotkeys } if FastMoveMeta <> Hotkey, %FastMoveModifiers%%FastMoveMeta%, WinHotkeysMeta return WinHotkeys: StringRight,Number,A_ThisHotkey,1 MoveToGrid(Number) return To make this work for the remaining keys, you'd have to make the loop go up to 22, and change the code for parsing the number, which currently only takes the last character in the hotkey to figure out the grid. (I'm referring to this line:)
|
|
|
|
|
7
|
DonationCoder.com Software / JGPaiva's Ahk Tools / Re: GridMove at github
|
on: February 23, 2013, 05:26:23 AM
|
I am not a license expert, but it is my understanding that CC licenses are generally aimed more at "works of art" like text, music, images, etc., and not software. You might want to consider picking a software license instead. (..) On a personal note I would probably not choose GPL, but that has been discussed extensively on these forums already  . I understand that. I've looked at it for a bit, but couldn't find anything that compares to the CC license I'm "using" now and just gave up. Also, like you, I'm not a big fan of GPL, and it looks like it's sort of the standard these days.
|
|
|
|
|
10
|
DonationCoder.com Software / JGPaiva's Ahk Tools / GridMove at github
|
on: February 22, 2013, 04:10:08 AM
|
Hi guys, As you probably have already noticed, I haven't had the time to update GridMove as frequently as I should. So, I've decided to make the fact that GridMove is open-source more explicit. Even though the source has been available at GridMove's site for a while, it wasn't very easy to fork, so I have created a GitHub project for it. Not only does this simplify integrating any changes other people propose, but also makes it easier for me to update the code. Please keep in mind that (unfortunately) this will probably not reflect in more frequent updates for the compiled version available on the site, since it's really hard for me to test code or create new packaged versions (mostly due to the fact that since 2 years ago I've moved completely to mac). So, I leave you with a link to the repository: https://github.com/jgpaiva/GridMove
|
|
|
|
|
12
|
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 }
|
|
|
|
|
14
|
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  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  ), but I hope this helps.
|
|
|
|
|
18
|
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.
|
|
|
|
|
22
|
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  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?  ). 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.
|
|
|
|
|