Valik Posted December 9, 2009 Share Posted December 9, 2009 I swear to whatever gods may or may not exist that the next motherfucker who tries to submit a UDF with a hard-coded buffer size is going to get stabbed 4096 times with a rusted butter knife. Here's a hint: If you're writing code with a fixed buffer size instead of dynamically calculating the buffer size, you are a failure as a programmer and a lazy programmer and need to go find a beach to bury yourself in at low tide. I just used grepWin to search the "Include" directory and it finds 100 instances of "4096". Fucking ridiculous. Link to comment Share on other sites More sharing options...
Administrators Jon Posted December 9, 2009 Administrators Share Posted December 9, 2009 It's like the AutoIt source with the number 32768 (Although there is less of it now ) Deployment Blog: https://www.autoitconsulting.com/site/blog/ SCCM SDK Programming: https://www.autoitconsulting.com/site/sccm-sdk/ Link to comment Share on other sites More sharing options...
Zedna Posted December 9, 2009 Share Posted December 9, 2009 (edited) Here is the link to related Track ticket #1336 http://www.autoitscript.com/trac/autoit/ticket/1336 Edited December 9, 2009 by Zedna Resources UDF ResourcesEx UDF AutoIt Forum Search Link to comment Share on other sites More sharing options...
Valik Posted December 9, 2009 Author Share Posted December 9, 2009 "Om nom nom" You hear that? It's the universe eating itself because of the circular reference posting that link has introduced. Link to comment Share on other sites More sharing options...
Zedna Posted December 9, 2009 Share Posted December 9, 2009 (edited) "Om nom nom"You hear that? It's the universe eating itself because of the circular reference posting that link has introduced.I'm not very good in English :-( so I don't understand exactly.But feel free to remove my above post if you don't like it.I know there is link from Trac to forum but I added link in reverse order from forum to Trac for those people don't reading Track only forum. Edited December 9, 2009 by Zedna Resources UDF ResourcesEx UDF AutoIt Forum Search Link to comment Share on other sites More sharing options...
monoceres Posted December 9, 2009 Share Posted December 9, 2009 (edited) I'm not very good in English :-( so I don't understand exactly.But feel free to remove my above post if you don't like it.I know there is link from Trac to forum but I added link in reverse order from forum to Trac for those people don't reading Track only forum.Recursion Edited December 9, 2009 by monoceres Broken link? PM me and I'll send you the file! Link to comment Share on other sites More sharing options...
Valik Posted December 9, 2009 Author Share Posted December 9, 2009 RecursionI will give you +10 rep if you can do that without editing. Link to comment Share on other sites More sharing options...
monoceres Posted December 9, 2009 Share Posted December 9, 2009 (edited) Recursion Edited December 9, 2009 by monoceres Broken link? PM me and I'll send you the file! Link to comment Share on other sites More sharing options...
Valik Posted December 9, 2009 Author Share Posted December 9, 2009 (edited) Fail. Nice try, though. Please don't keep trying.Edit: Oh no you don't. Post restored so everyone can see your failure. Edited December 9, 2009 by Valik Link to comment Share on other sites More sharing options...
monoceres Posted December 9, 2009 Share Posted December 9, 2009 (edited) If czardas haden't post in another topic it would've worked Edited December 9, 2009 by monoceres Broken link? PM me and I'll send you the file! Link to comment Share on other sites More sharing options...
monoceres Posted December 9, 2009 Share Posted December 9, 2009 (edited) meh, edited wrong post. Edit: Restored fail. Edited December 9, 2009 by monoceres Broken link? PM me and I'll send you the file! Link to comment Share on other sites More sharing options...
czardas Posted December 9, 2009 Share Posted December 9, 2009 If czardas haden't post in another topic it would've worked I was wondering about that. I thought there was something wrong with Firefox. operator64 ArrayWorkshop Link to comment Share on other sites More sharing options...
jvanegmond Posted December 9, 2009 Share Posted December 9, 2009 I found a bug github.com/jvanegmond Link to comment Share on other sites More sharing options...
Valik Posted December 9, 2009 Author Share Posted December 9, 2009 I found a bugWhich is what? Link to comment Share on other sites More sharing options...
jvanegmond Posted December 9, 2009 Share Posted December 9, 2009 Look at the post order numbers on the top right side of each post. github.com/jvanegmond Link to comment Share on other sites More sharing options...
Valik Posted December 9, 2009 Author Share Posted December 9, 2009 Meh, a cosmetic issue. Link to comment Share on other sites More sharing options...
czardas Posted December 9, 2009 Share Posted December 9, 2009 (edited) Meh, a cosmetic issue.This post has been edited by czardas. Yesterday 11.33PM. Edited December 9, 2009 by czardas operator64 ArrayWorkshop Link to comment Share on other sites More sharing options...
jvanegmond Posted December 10, 2009 Share Posted December 10, 2009 (edited) Bravo on the banning show.Edit: Maybe stuff like this is usually in the Chat forum for a reason. Edited December 10, 2009 by Manadar github.com/jvanegmond Link to comment Share on other sites More sharing options...
jchd Posted December 21, 2009 Share Posted December 21, 2009 Leaving out "Klein's URLs" and getting closer to the topic subject, is there any hope the AutoIt statement line size limitation could get removed or at least significantly increased? I ask because there seem to be no way to initialize a medium-size array without hitting this limitation. A good example that did bite me hard is when I tried to use AutoIt to double-check some Unicode tries [for a SQLite extension]. I had a number of : Local $unicode_fold_indexes[$UNICODE_FOLD_INDEXES_SIZE] = [ _ 0, 0, 1, 0, 0, 2, 3, 0, 4, 5, 6, 7, 8, 9, 10, _ 11, 12, 13, 14, 0, 0, 0, 0, 0, 0, 0, 15, 16, 17, 18, _ 19, 20, 21, 22, 0, 23, 24, 25, 26, 27, 28, 29, 30, 0, 0, _ ... ] and Local $unicode_fold_data_table[$UNICODE_FOLD_BLOCK_COUNT][$UNICODE_FOLD_BLOCK_SIZE] = [ _ [ 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF ], _ [ 0xFFFF, 0x0061, 0x0062, 0x0063, 0x0064, 0x0065, 0x0066, 0x0067, 0x0068, 0x0069, 0x006A, 0x006B, 0x006C, 0x006D, 0x006E, 0x006F, 0x0070, 0x0071, 0x0072, 0x0073, 0x0074, 0x0075, 0x0076, 0x0077, 0x0078, 0x0079, 0x007A, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF ], _ ... ] all exceeding the silly 4000 characters limit, and by far. This wonderful site allows debugging and testing regular expressions (many flavors available). An absolute must have in your bookmarks.Another excellent RegExp tutorial. Don't forget downloading your copy of up-to-date pcretest.exe and pcregrep.exe hereRegExp tutorial: enough to get startedPCRE v8.33 regexp documentation latest available release and currently implemented in AutoIt beta. SQLitespeed is another feature-rich premier SQLite manager (includes import/export). Well worth a try.SQLite Expert (freeware Personal Edition or payware Pro version) is a very useful SQLite database manager.An excellent eBook covering almost every aspect of SQLite3: a must-read for anyone doing serious work.SQL tutorial (covers "generic" SQL, but most of it applies to SQLite as well)A work-in-progress SQLite3 tutorial. Don't miss other LxyzTHW pages!SQLite official website with full documentation (may be newer than the SQLite library that comes standard with AutoIt) Link to comment Share on other sites More sharing options...
Valik Posted December 21, 2009 Author Share Posted December 21, 2009 I can think of ways to remove that limitation but they aren't really trivial to implement. The trivial ways to implement it all impact performance. The reason a static line size is used is so that constant allocations and deallocations don't occur. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now