My only goal is to try to make the forum feel more friendly towards the users...
This is bad quality? : http://ahkscript.org/boards/viewtopic.p ... 2746#p2746
« What's on your mind? » Topic is solved
Re: « What's on your mind? »
Windows 10 x64 Professional, Intel i5-8500, NVIDIA GTX 1060 6GB, 2x16GB Kingston FURY Beast - DDR4 3200 MHz | [About Me] | [About the AHK Foundation] | [Courses on AutoHotkey]
[ASPDM - StdLib Distribution] | [Qonsole - Quake-like console emulator] | [LibCon - Autohotkey Console Library]
Re: « What's on your mind? »
Ain't tidbit supposed to be dead? Opps I mean braenZ BrAenzZ...Alibaba wrote:Alibaba heals tidbit.tidbit wrote:he never said what infection... could be malaria, aids, pink eye, any of these, rabies
And kills him accidentally by slapping him with the first aid kit.
- smorgasbord
- Posts: 493
- Joined: 30 Sep 2013, 09:34
Re: « What's on your mind? »
@snowflakes
you original PIC as profile pic?
:-p
you original PIC as profile pic?
:-p
John ... you working ?
Re: « What's on your mind? »
lol. @snowflakes & @smorgasbord
Windows 10 x64 Professional, Intel i5-8500, NVIDIA GTX 1060 6GB, 2x16GB Kingston FURY Beast - DDR4 3200 MHz | [About Me] | [About the AHK Foundation] | [Courses on AutoHotkey]
[ASPDM - StdLib Distribution] | [Qonsole - Quake-like console emulator] | [LibCon - Autohotkey Console Library]
Re: « What's on your mind? »
It hink tidbit is only pretending to be an "anti-zombie". in reality he is one! watch out!SnowFlakes wrote:Ain't tidbit supposed to be dead? Opps I mean braenZ BrAenzZ...
"Nothing is quieter than a loaded gun." - Heinrich Heine
Re: « What's on your mind? »
Oh noes! That means I'm infected!! Aaahhhhhh!!!! I'm sorry if I hurt anyone..
/me bites Alibaba's right arm off.
/me bites Alibaba's right arm off.
Windows 10 x64 Professional, Intel i5-8500, NVIDIA GTX 1060 6GB, 2x16GB Kingston FURY Beast - DDR4 3200 MHz | [About Me] | [About the AHK Foundation] | [Courses on AutoHotkey]
[ASPDM - StdLib Distribution] | [Qonsole - Quake-like console emulator] | [LibCon - Autohotkey Console Library]
Re: « What's on your mind? »
BRAINZZZ!!!! BRAINZZ!! (and new right arm if possible, please)
"Nothing is quieter than a loaded gun." - Heinrich Heine
- smorgasbord
- Posts: 493
- Joined: 30 Sep 2013, 09:34
Re: « What's on your mind? »
optimize this
dont break the logic,
but how to make this code get the job done in lesser lines!
i want to know
dont break the logic,
but how to make this code get the job done in lesser lines!
i want to know
Code: Select all
InputBox, prime, enter natural number
k := 2
while mod(Prime, k) != 0
k := K + 1
MsgBox % k = prime ? ("prime") : ("not prime")
John ... you working ?
Re: « What's on your mind? »
Code: Select all
InputBox, prime, enter natural number
k := 2
while mod(Prime, k) {k+=1}
MsgBox % k = prime ? ("prime") : ("not prime")
Windows 10 x64 Professional, Intel i5-8500, NVIDIA GTX 1060 6GB, 2x16GB Kingston FURY Beast - DDR4 3200 MHz | [About Me] | [About the AHK Foundation] | [Courses on AutoHotkey]
[ASPDM - StdLib Distribution] | [Qonsole - Quake-like console emulator] | [LibCon - Autohotkey Console Library]
- smorgasbord
- Posts: 493
- Joined: 30 Sep 2013, 09:34
Re: « What's on your mind? »
Code: Select all
InputBox, prime, enter natural number
Loop, % Sqrt(prime)
x := !Mod(prime, A_Index + 1) ? t:=1 : ""
MsgBox, % x := !t ? "Prime" : "Not Prime"
Edit:
Oooops, looks like I cheated too.smorgasbord wrote:dont break the logic,
- smorgasbord
- Posts: 493
- Joined: 30 Sep 2013, 09:34
Re: « What's on your mind? »
kon wins!!
and kon wins without any cons;
i have to* decode that now
John ... you working ?
Re: « What's on your mind? »
Actually my current avatar(http://ahkscript.org/boards/download/fi ... 842907.jpg) and the one in autohotkey.com(http://www.autohotkey.com/board/uploads ... 1373628823) are different.smorgasbord wrote:@snowflakes
you original PIC as profile pic?
:-p
Differences you may find is
• The image size.
• My avatar here had been edited. There is a little sunlight in top left corner of the avatar here while the other don't.
• The file size.
Brains... Braaeeenz.... Braaeiiennnss...!
Re: « What's on your mind? »
lol.
Windows 10 x64 Professional, Intel i5-8500, NVIDIA GTX 1060 6GB, 2x16GB Kingston FURY Beast - DDR4 3200 MHz | [About Me] | [About the AHK Foundation] | [Courses on AutoHotkey]
[ASPDM - StdLib Distribution] | [Qonsole - Quake-like console emulator] | [LibCon - Autohotkey Console Library]
- smorgasbord
- Posts: 493
- Joined: 30 Sep 2013, 09:34
Re: « What's on your mind? »
@snowflakes
I feel sad for you,
@joedf lol
Actually i am using my own pic, seriously. :-p
I feel sad for you,
@joedf lol
Actually i am using my own pic, seriously. :-p
John ... you working ?
Re: « What's on your mind? »
Hello! Good people of AutoHotkey!
I have recently managed to have Unicode support for "getch()"
in LibCon, since the special key code to indicate keys like Up, Down, PageUp, etc
is 224 but 'à' in Unicode is 0xE0 which is 224 also, so that was a problem, and there were other
problems too, but finally I fixed the bug, but I don't quite exactly understand why it works now...
I understand it partially, but one weird thing is that I have to absolutely "ungetch()" twice.
But it Absolutely has to be the following for it to function properly:
View full code here: https://github.com/joedf/LibCon.ahk/blo ... n.ahk#L363
Thanks to anyone that can help me find out the reason of this "phenomenon".
Regards
I have recently managed to have Unicode support for "getch()"
in LibCon, since the special key code to indicate keys like Up, Down, PageUp, etc
is 224 but 'à' in Unicode is 0xE0 which is 224 also, so that was a problem, and there were other
problems too, but finally I fixed the bug, but I don't quite exactly understand why it works now...
I understand it partially, but one weird thing is that I have to absolutely "ungetch()" twice.
But it Absolutely has to be the following for it to function properly:
Code: Select all
ungetch()
ungetchw() ;or actually name is ungetwch()
Thanks to anyone that can help me find out the reason of this "phenomenon".
Regards
Windows 10 x64 Professional, Intel i5-8500, NVIDIA GTX 1060 6GB, 2x16GB Kingston FURY Beast - DDR4 3200 MHz | [About Me] | [About the AHK Foundation] | [Courses on AutoHotkey]
[ASPDM - StdLib Distribution] | [Qonsole - Quake-like console emulator] | [LibCon - Autohotkey Console Library]
- tomoe_uehara
- Posts: 213
- Joined: 05 Oct 2013, 12:37
- Contact:
Re: « What's on your mind? »
Beware, Psyduck is here, ready to read your mind!
Re: « What's on your mind? »
So you know what I'm thinking right now ?
Then tell me.
Then tell me.
Recommends AHK Studio
- tomoe_uehara
- Posts: 213
- Joined: 05 Oct 2013, 12:37
- Contact:
Re: « What's on your mind? »
You're thinking about buying a new smartphone..
Return to “Off-topic Discussion”
Who is online
Users browsing this forum: No registered users and 24 guests