Search found 4153 matches

by nnnik
09 Jan 2021, 07:23
Forum: Wish List
Topic: V2 - Map Lookup Fallback / Test + Lookup
Replies: 2
Views: 112

Re: V2 - Map Lookup Fallback / Test + Lookup

Using try is really an antipattern in this case. I would suggest the following function names (taken from https://docs.oracle.com/javase/8/docs/api/java/util/Map.html) map.Get(my_key,my_default) -> map.getOrDefault(my_key,my_default) map.SetIfMissing(my_key,my_value) -> map.computeIfMissing(my_key, ...
by nnnik
01 Dec 2020, 04:32
Forum: Offtopic
Topic: IE's dead.
Replies: 21
Views: 1491

Re: IE's dead.

6 is fundamentally wrong. 1-5 are personal preference. 7 is not an argument but a suggestion as to what to use instead.
by nnnik
01 Dec 2020, 01:03
Forum: Offtopic
Topic: IE's dead.
Replies: 21
Views: 1491

Re: IE's dead.

why not chrome: 1) google 2) google 3) it's too bare without addons 4) relies on addons 5) using too many addons is gross 6) it's not 2008 anymore, all browsers work great with all sites (except may some fringe experiment sites testing experimental features of a specific browser) 7) Vivaldi browser...
by nnnik
01 Dec 2020, 00:57
Forum: Offtopic
Topic: IE's dead.
Replies: 21
Views: 1491

Re: IE's dead.

@nnnik. What is the name of the language used by Internet Explorer? Where can I find information about it? People who don't use Chrome, can you say why? Thanks. JScript is Microsofts extended implementation of JavaScript (ECMAScript) in IE. Actually looking it up I find conflicting information. On ...
by nnnik
21 Nov 2020, 03:50
Forum: Offtopic
Topic: IE's dead.
Replies: 21
Views: 1491

Re: IE's dead.

boots instantly and I never had rendering issues beyond the phase webdevs went through for a few years of limiting their sites to certain browsers. Simply changing the UA proved IE could would on most of those sites. Devs were just being elitists or w/e. for years Internet Explorer worked on a diff...
by nnnik
20 Nov 2020, 05:03
Forum: Bug Reports
Topic: Keybd hook breaks with AHK 32-bit
Replies: 2
Views: 420

Re: Keybd hook breaks with AHK 32-bit

I do not think this is caused or fixable from AHKs side.
by nnnik
20 Nov 2020, 04:49
Forum: Wish List
Topic: Extra functionality for Timeouts and Threads
Replies: 2
Views: 440

Re: Extra functionality for Timeouts and Threads

Dont use #if unless your program structure allows it. To elaborate - the execution of #if may get delayed while another piece of code is running. AutoHotkey itself eventually triggers an IfTimeOut. However the OS itself might already disconnect AutoHotkey from the message queue when that happens. Th...
by nnnik
20 Nov 2020, 04:38
Forum: AutoHotkey v2 Development
Topic: [Wish] longer continuation sections/lines still
Replies: 9
Views: 2939

Re: [Wish] longer continuation sections/lines still

i dont wanna pipe my data into a file ill probably forget to delete when im done
Sounds like a you problem.

That being said the new limits should be documented rather than hidden away.
by nnnik
13 Nov 2020, 07:22
Forum: AutoHotkey v2 Development
Topic: change from v1 to v2 - is it possible to get a whole list of all errors?
Replies: 6
Views: 1496

Re: change from v1 to v2 - is it possible to get a whole list of all errors?

If there was a variable %A_AhkMajorVersion% or similar like I suggested and made pull requests for you could include different libraries depending on your version. This would possibly allow the community to create gui libraries that work independently from a version number. However lexikos seems to ...
by nnnik
02 Sep 2020, 01:17
Forum: About This Community
Topic: Guestbook: say hi, thank you, whatever!
Replies: 68
Views: 33214

Re: Guestbook: say hi, thank you, whatever!

Its against Discord TOS to help anybody with gaming related scripts. We as a community have to make sure that we do not help these people.
So people that a) break the rules b) seemingly bypass bans by making new accounts might get banned a little more quickly than you are used to.
by nnnik
10 Aug 2020, 08:21
Forum: AutoHotkey v2 Development
Topic: Smarter dllcall()
Replies: 3
Views: 2082

Re: Smarter dllcall()

Instead of i64 maybe l for long?
by nnnik
10 Aug 2020, 00:01
Forum: AutoHotkey v2 Development
Topic: Conflicts caused by V2
Replies: 10
Views: 5058

Re: Conflicts caused by V2

I wouldn't exactly call Rosetta code a relevant source for overall coding language popularity.
by nnnik
03 Aug 2020, 08:37
Forum: AutoHotkey v2 Development
Topic: Is it possible to keep string processing syntax consistent?
Replies: 15
Views: 6106

Re: Is it possible to keep string processing syntax consistent?

Yes but those follow a commonly established convention.
For RegExMatch it would be completely random.
Nobody would expect the output parameter to change depending on the calling convention.
by nnnik
01 Aug 2020, 02:55
Forum: AutoHotkey v2 Development
Topic: Is it possible to keep string processing syntax consistent?
Replies: 15
Views: 6106

Re: Is it possible to keep string processing syntax consistent?

Hey if we are at it I think StrLen should return a string too. \s
by nnnik
30 Jul 2020, 07:04
Forum: AutoHotkey v2 Development
Topic: Updated to v2-119. [list of 50 suggestions]
Replies: 78
Views: 28414

Re: Updated to v2-119. [list of 45 suggestions]

You need to use a much larger array to see the real difference between the 2 methods - e.g. 10k entries.
by nnnik
29 Jul 2020, 13:29
Forum: AutoHotkey v2 Development
Topic: Updated to v2-119. [list of 50 suggestions]
Replies: 78
Views: 28414

Re: Updated to v2-119. [list of 45 suggestions]

@swagfag 40. well, what about "For map enumerator to return key is quite convenient cuz value can be obtained via KEY."? Yes, map and array enumerators don't correspond to each other's key / value preference. We just need a unified (expected) rule here. Array s r more commonly used. Solution would ...
by nnnik
18 Jul 2020, 03:57
Forum: AutoHotkey v2 Development
Topic: AutoHotkey v2 - give it a new name
Replies: 18
Views: 5583

Re: AutoHotkey v2 - give it a new name

#Requires AHK200a103-AHK200a106
Perhaps a Tweak of this syntax offers the flexibility we look for.
by nnnik
09 Jul 2020, 09:23
Forum: Offtopic
Topic: « What's on your mind? »
Replies: 4477
Views: 1065775

Re: « What's on your mind? »

For the love of god you can't tell me that saying allowlist instead of whitelist limits your ability to express yourself or criticize twitter. If anything saying allowlist is expanding your options and freedom since it is removed from the racist- undertones white and blacklist contains. I don't actu...
by nnnik
09 Jul 2020, 06:44
Forum: Offtopic
Topic: Thank you for the music
Replies: 204
Views: 113192

Re: Thank you for the music


Go to advanced search