User talk:Ahy1

From LiteratePrograms
Jump to: navigation, search


[edit] Welcome!

Hi, Ahy1, and welcome to LiteratePrograms! I hope you like the place and decide to stay. Here are a couple of tips for newcomers:

  • If you haven't done so already, please take a look at how to write an article on LiteratePrograms. The markup is basically the same as that used on Wikipedia, but there are a few differences of which you should be aware.
  • Please sign your name on talk pages using four tildes (~~~~); this will automatically produce your name and the date.

I hope you enjoy editing here! If you need help, post a question on the Public forum, or just ask me on my talk page. --Allan McInnes (talk) 12:44, 3 March 2006 (PST)

[edit] Thanks for your contributions

Welcome from me, too, Ahy! I'm the site owner, User:Deco, and I'm happy to see the contributions you've made to a number of important articles like Hello World (C) and Singly linked list (C). Feel free to ask any questions or make any suggestions either in the public forum or on my personal talk page. Keep up the good work! Deco 16:21, 3 March 2006 (PST)

[edit] Even numbers

Thanks for the quick fix on Handy macros (C). Not quite sure what I was thinking when I wrote the "even numbers" section title, since it was pretty obviously wrong :-( Glad you were able to catch and fix the error so quickly. --Allan McInnes (talk) 13:18, 7 March 2006 (PST)

No problem, I make such errors all the time myself. Ahy1 13:31, 7 March 2006 (PST)

[edit] Great article

Just took a look at Hello World (C Xlib). Really good article! Nice work. --Allan McInnes (talk) 08:39, 16 May 2006 (PDT)

Thank you. I am glad you liked it. Also thank you for correcting spelling mistakes in this and other articles. Ahy1 12:32, 16 May 2006 (PDT)

[edit] You're a sysop

Hi Ahy1. I promoted you to sysop, allowing you to delete articles, protect pages, and do some other handy things. No particular reason, just figured you've done some good work and I'm pretty sure you're not going to screw up the site. :-) Deco 15:10, 25 May 2006 (PDT)

Congratulations! A well-deserved promotion. You've done a lot of great work around here. --Allan McInnes (talk) 16:10, 25 May 2006 (PDT)
Thank you! Ahy1 16:50, 25 May 2006 (PDT)
Thanks for the promotion! I promise not to screw up the site, at least not intentionally :-) This wiki is really a great idea, and working on it is a pleasure. Ahy1 16:50, 25 May 2006 (PDT)
  • I AM AN OPEN PROXY, PLEASE BLOCK ME NOW!-- 19:57, 2 September 2006 (PDT)LOL

[edit] Congratulations as sysop

I work at the same company as Ahy1 and wish him luck with his new 'job' as sysop here at literateprograms. I've been knowing Ahy1 for about a year now and so far he have prooven himself to be a competent programmer especially since we share the same basic ideas about how code should be writen hehe :). Also I want to point out that Ahy1 is a nice and helpful person and I'm sure he will be a valuable resource here at literateprograms. Waxhead 08:13, 27 May 2006 (PDT)

[edit] VB articles

Hi Ahy1, thanks for breaking ground on our Visual Basic articles, I appreciate it. I added another and added basic syntax highlighting support. I added some styles to make it look as similar as possible to how it looks in Visual Studio, since that's the only environment VB people edit in - I think it looks nice. Deco 18:39, 2 June 2006 (PDT)

Yes the styles looks nice. Ahy1 19:07, 2 June 2006 (PDT)

[edit] Thanks!

Thanks for reverting User:Willy on Wheels's vandalism and returning the pages to their correct titles. I've deleted the redirects that were left over and moved a few that you missed (I found these by searching Special:Allpages). I appreciate your effort. Also, this is an attention-seeking vandal, so keep in mind that we shouldn't make a big fuss out of this. Deco 12:34, 11 July 2006 (PDT)

[edit] Matlab to MATLAB

thank you for your changes of my old "Matlab" to a more correct case "MATLAB" - Lehalle

Just finished the work started by User:Predictor (Special:Contributions/Predictor). Ahy1 12:17, 22 August 2006 (PDT)

[edit] UUencode (C) indentation

Thanks for fixing up the indentation. It was getting late, so I gave up trying to puzzle out how to get it right. I haven't figured out the rules for getting pretty results yet, and I couldn't find them listed anywhere. Care to share your technique? RossPatterson 06:45, 30 November 2006 (PST)

You have done a great job making this article an actual literate program!
When it comes to indentation, I don't think I actually got it right, as I obviously haven't figured out the rules myself. I simply replaced all tabs with four spaces (The original code was indented with tabs, while the initial explanation by Deco was indented with 4 spaces). However, it seems like noweb indents the chunks relative to the indentation of the chunk reference -- sometimes. Maybe we should just use the correct indentation in the chunk definitions, and put all chunk references at the first column? Ahy1 08:04, 30 November 2006 (PST)
OK, thanks anyway. I guess it's time for me to crack noweb open again - it's been about 10 years since the last time I read it :-) RossPatterson 18:57, 30 November 2006 (PST)

[edit] Tusen Takk

Thanks for the ceaseless spam reverting. 13:07, 1 February 2007 (PST)

[edit] Thanks

Thanks for the spam reversion. I can't believe it's now considered "hacking" to edit a wiki page... what has the internet come to :-/ --Allan McInnes (talk) 20:16, 31 May 2007 (PDT)

[edit] Forth syntax highlighting

I'll help with this, having just done something similar to support Forth highlighting in my editor. I take it the MediaWiki page of regexps is only editable by admins? Is there a page describing the supported styles? Is there some way to test language highlighting locally? Otherwise, I'll just paste my best guesses here on your talk page.

To start, you can modify these "reserved words" (Forth doesn't really have reserved words, but it is useful to highlight ANS standard words.) Also, all of these are case-insensitive, which means changing the regex from \b to \b(?i).

Delete: 3dup 4dup next not

Add: abort allot base bl bye catch constant cr create decimal defer ?do do does> else erase execute exit fill here hex is i j loop +loop lshift negate nip pad >r r> r@ recurse rshift space throw to tuck type value variable within

Add: : ; 1+ 1- 2* 2/ @ ! +! . , c, c@ c! + - * / /mod ' ['] < > u< = <> 0= 0<

Comment regex: [\( [^\)]*\)] Comment regex: [\\ .*?$]

(Note the required space after the '(' and '\' characters. You could change it to any whitespace if you wish.)

Character regex: [\[char\] .] Character regex: [char .]

Idea: separate the CORE and CORE EXT wordsets from the other wordsets (FILE, FLOAT, etc.) by using the "library function" style.

File words: read-file read-line r/w r/o w/o open-file close-file write-file write-line

Idea: separate IMMEDIATE words from normal words by giving them a different style, such as "brace". For instance, this would make flow-control words stand out.

Immediate words: if else then begin while repeat again until case of endof endcase do ?do loop +loop

Idea: separate defining words from normal words by giving them a different style, such as "predefined type" (since they have similar functionality, to declare things.)

Defining words: create does> variable value constant : ; noname: defer

--IanOsgood 11:29, 31 July 2007 (PDT)

I don't know much about Forth syntax and standard words, so I just added the words I found in source code on the net. Now I have added the words you suggested, except those containing puctuation characters. I have problems with the regex syntax for matching such words.
Unfortunately, the MediaWiki:SyntaxHighlightingRegexps page is only editable by power users. If you have some ideas of how to do this, just paste it here or on MediaWiki talk:SyntaxHighlightingRegexps, and I will include it in the page.
I don't know about a page describing the supported styles. I just look at the definitions for the other languages. Ahy1 13:30, 31 July 2007 (PDT)

[edit] Dealing with spam

Hi Ahy1, I really appreciate you working so hard to deal with the spammers, and decided it's really time for me to use stronger technical measures to deal with them. I upgraded to the latest MediaWiki, I'm using a much stronger CAPTCHA (reCAPTCHA) on registration and link insertion, and I'm using a spam IP blacklist. Since some spammers are still making it through, I've also added Special:AbuseFilter - if you haven't used it before I recommend you learn it (see documentation), as it can be very effective at knocking out lots of spammers at once. With any luck these new measures will greatly ease your load! (Also note that you can now change your skin to Vector if you want to in your preferences.) Deco 11:33, 6 April 2012 (UTC)

Hi! Dealing sith spammers by deleting new spam pages isn't so hard work, but really annoying. Good that you improved the technical measures to deal with this. I will take a look at AbuseFilter when I find some spare time for it. Ahy1 09:41, 8 April 2012 (UTC)
FYI I've also added MediaWiki:Spam-blacklist which is a bit easier to use. The spammers seem to have mostly went away for now, except for the occasional test edit, but it'll be handy to keep it in mind. :-) Dcoetzee 19:02, 10 April 2012 (UTC)

[edit] Deleting page

It would be nice if you deleted "Merge sort (Ruby". It is a stub separate from the completed ruby Merge sort. Found it through uncategorized pages.

Hi! I deleted the page. Thanks for noticing! Ahy1 (talk) 08:26, 28 June 2012 (UTC)

[edit] Delete my page please

I created page "NanoLP" but in wrong place and tool is under GNU GPL (I missed licence agreement of this Wiki), so should be deleted. Please, delete it!

/Best regards, author

Done Ahy1 (talk) 20:26, 14 February 2013 (UTC)