Search found 3031 matches

by nnnik
Today, 13:07
Forum: Ask For Help
Topic: Résumé: Definitely no way back to ICO?
Replies: 8
Views: 135

Re: Résumé: Definitely no way back to ICO?

The first example uses a COM Object. This shouldn't be too difficult to do in AHK.

the solutions after that essentially just produce the icon file by completely writing its content using binary data.
In AHK thats either a lot of ugly numputs and gets or you could use a file object.
by nnnik
Today, 12:52
Forum: Ask For Help
Topic: CPU 'benchmark tests'
Replies: 6
Views: 106

Re: CPU 'benchmark tests'

If you want to ensure the correctness of a script using unit tests seems to be the way most people use. Memory leaks can happen regularily on minor scale (for example you dont release an object properly and it resides in memory but it doesn't get created and recreated regularily and doesn't use a lo...
by nnnik
Today, 12:00
Forum: Ask For Help
Topic: CPU 'benchmark tests'
Replies: 6
Views: 106

Re: CPU 'benchmark tests'

Benchmarks are normally done by isolating modular code and checking its speed in a test use case. Checking its speed means measuring the time it takes to complete this specific task. If your specific task requires too much CPU or too much RAM then you can always shift optimization at a later point -...
by nnnik
Today, 03:34
Forum: Offtopic
Topic: searching partner, searching money, searching plans. lets cooperate?
Replies: 3
Views: 64

Re: searching partner, searching money, searching plans. lets cooperate?

Yeah those are some nice features. I personally use Discord a lot and having something similar but more professional and more modifiable seems like a good idea. That being said the members make a community. The discord server is frequented by quite a few people. Establishing such a large community w...
by nnnik
Today, 02:58
Forum: Wish List
Topic: [Request]: Official Library & Wrapper
Replies: 55
Views: 1112

Re: [Request]: Official Library & Wrapper

A nice link :) - though I'd rather like to copy a successful program. I also feel that the majority of users is not against this. Now the question is how the program we create looks like. For that we should probably have a look at a few other package managers and how they handle things. It would be ...
by nnnik
Yesterday, 10:37
Forum: Wish List
Topic: [Request]: Official Library & Wrapper
Replies: 55
Views: 1112

Re: [Request]: Official Library & Wrapper

So I know my vote counts less, but I hope it counts for nnik. Thank you - but its not that important what I want, but what the community wants. I just think it would be best if we didn't reinvent the wheel for once and just adapted what others already thought about. If I get the feeling that I'm wo...
by nnnik
Yesterday, 09:00
Forum: Wish List
Topic: [Request]: Official Library & Wrapper
Replies: 55
Views: 1112

Re: [Request]: Official Library & Wrapper

1. and 5. right now, people pretty much share their libraries on the Scripts forum, or on github. libs are accessible with a few extra clicks to download compared to a single composer/npm/ahklibmanager command And a lot of research resulting in the query for this library. How am I supposed to know ...
by nnnik
Yesterday, 01:45
Forum: Ask For Help
Topic: Résumé: Definitely no way back to ICO?
Replies: 8
Views: 135

Re: Résumé: Definitely no way back to ICO?

Oh yeah true it would be easily possible with GDIp if you loaded an .ico and turned it into a png. Anyways I think I found a solution: First you load the image with gdip then you turn the resulting pBitmap into a hIcon and then you can save it to the file. https://stackoverflow.com/questions/2289894...
by nnnik
Yesterday, 00:48
Forum: Wish List
Topic: [Request]: Official Library & Wrapper
Replies: 55
Views: 1112

Re: [Request]: Official Library & Wrapper

Official package managers solve several problems. They offer a standard way for sharing your library and make it accessible to everyone with a single command. They force people to explain their code and document its use properly. They make it easier to use the libraries that are provided by forcing ...
by nnnik
21 Sep 2018, 09:34
Forum: Ask For Help
Topic: [Objects] - Clone() bug? Topic is solved
Replies: 15
Views: 216

Re: [Objects] - Clone() bug? Topic is solved

Now I know why my FastMatrix library started throwing Access Violations left and right... I'm an idiot
by nnnik
21 Sep 2018, 09:28
Forum: Wish List
Topic: [Request]: Official Library & Wrapper
Replies: 55
Views: 1112

Re: [Request]: Official Library & Wrapper

The forum is an inadequate solution for maintaining and sharing libraries. The good libraries are hidden under a mountain of trash and its hard to find them. Also you are wrong on the fact that normal users don't benefit from this. If you can easily take the library that controls you specific progra...
by nnnik
21 Sep 2018, 09:18
Forum: Ask For Help
Topic: [Objects] - Clone() bug? Topic is solved
Replies: 15
Views: 216

Re: [Objects] - Clone() bug? Topic is solved

Another thing I noticed is binary data.
Would that clone binary data correctly?
by nnnik
21 Sep 2018, 08:23
Forum: Ich brauche Hilfe
Topic: Problem mit ListView in GUIs Topic is solved
Replies: 2
Views: 39

Re: Problem mit ListViiew in GUIs Topic is solved

Selbe Problem hatte ich auch schon.
Um eine ListView verwenden zu können musst du erst das GUI welches die ListView enthält auf Default setzten.
In deinem Fall:

Code: [Select all]GeSHi © Codebox Plus

GUI, PARENT:Default
by nnnik
21 Sep 2018, 08:19
Forum: Ask For Help
Topic: [Objects] - Clone() bug? Topic is solved
Replies: 15
Views: 216

Re: [Objects] - Clone() bug? Topic is solved

No you're right about that - I just think it would be better if we avoided recursion in general. Circular references are a seperate problem which has been adressed adequately by your code. After that it's only handling .base objects, and using ObjRawSet/ObjRawGet and ObjNewEnum instead of the standa...
by nnnik
21 Sep 2018, 07:55
Forum: Ask For Help
Topic: [Objects] - Clone() bug? Topic is solved
Replies: 15
Views: 216

Re: [Objects] - Clone() bug? Topic is solved

Yeah but thats something thats not inherently the problem of this function but rather a problem in the way how our computers are limited.
Where as the stackoverflow from using recursion stems from bad practice.
by nnnik
21 Sep 2018, 07:52
Forum: Ask For Help
Topic: Résumé: Definitely no way back to ICO?
Replies: 8
Views: 135

Re: Résumé: Definitely no way back to ICO?

This should be fairly easy with GDIp.
by nnnik
21 Sep 2018, 07:50
Forum: Wish List
Topic: [Request]: Official Library & Wrapper
Replies: 55
Views: 1112

Re: [Request]: Official Library & Wrapper

I think it would be good to have a web-based application for viewing and searching the libraries. For downloading and updating the local clone of the library it might make sense to have a command line tool. (This command line tool could do other stuff - like switching AHK versions or cloning specifi...
by nnnik
21 Sep 2018, 05:08
Forum: Offtopic
Topic: your personal AutoHotkey style guide
Replies: 67
Views: 3220

Re: your personal AutoHotkey style guide

Its more readeable because your used to it. I'm not used to it so its not readeable to me. Also in other languages like python or javascript there is not a single difference between a variable and a function. I really assumed you had at least the sense to choose something different than variable as ...
by nnnik
21 Sep 2018, 03:48
Forum: AutoHotkey v2 Development
Topic: undefined type
Replies: 2
Views: 107

Re: undefined type

Thank you for your comment :) In either case my point is that an undefined value was returned. If undefined error types could accept an exception: arr.undefined() { return undefined(exception("Did not start the library",-1)) } Edit: It is not really a suggestion to extend the exception sys...

Go to advanced search