Delphi - how to skin a form [closed] - delphi

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 5 years ago.
Improve this question
I just finish reading delphi-skinning-libraries and sptbxtoolbar-skin-change but this is not what I wanted. I'm interested in how to apply a skin on a form, just like the classic WinAmp windows :)
Any aricle or code or ideea is welcomed.
I just found Windows XP Theme Manager, i'm at work now, so i'll study it at home (I hope this is wahat I need)

Actually the former question (with a nudge at VCLSkin) is exactly what you need -- don't get suggested too much by the fact that all the examples look like MSWindows -- the skinning behind them allows for any image-based GUI.
The only alternative is ditching the Forms altogether and building your skin from ground up using WinAPI. An example can be seen on flipcode (C++, but WinAPI's the same).

Related

Visualize travelling salesman solution graphically using ruby [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 6 years ago.
Improve this question
I wrote a ruby script that finds a solution to the Bays29 travelling salesman problem. The bays29 data set is found here:
http://elib.zib.de/pub/mp-testdata/tsp/tsplib/tsp/bays29.tsp
Now say my solution is in an array that says go to city 1, then 4, then 9 etc..
I want to show this visually being solved somehow. For e.g. I would like to have it in a browser showing all the cities connected together and then the solution gets highlighted after it is generated.
How can I go about doing this?
What kind of gems should I use?
Thanks a lot!
You could write a small Rails app with the algorithm in a model and some javascript (with either OpenLayers or Leaflet) for map visualization.
The traveling salesman is a hard problem, so it might take a while to calculate a result. You could use AJAX or Server Side Events to update the map when the server has found a better soluton.

How to write a program that outputs source code [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 6 years ago.
Improve this question
This might not be the right place for this to ask, but I am interested in artificial neural networks and want to learn more.
How do you design a network and train it on source code so it can come up with programs for, for example, easy number theory problems?
What's the general name of this research field?
This is a hugely interesting, and very hard, problem area. It will probably take you months to read enough to even understand how to attack the problem. Here's a few things that might help you get started, and they are more to show the problems you will face than to provide solutions:
http://karpathy.github.io/2015/05/21/rnn-effectiveness/
Then read this, and related papers:
https://arxiv.org/pdf/1410.5401v2.pdf
Next, you probably want to read the classic papers in program synthesis and generation at the parse tree/AST level (mostly out of MIT, I think, in the early 90s.)
Best of luck. This is not trivial.

How can you automatically translate a page on load? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
Google Translate. Bing Translate. You can add a widget. You can select "Spanish" and the page will translate to Spanish.
I do not want to user to have to select "Spanish". I want the page to load in Spanish automatically. Never mind why I want these things. They are necessary parameters.
You could start by looking at navigator.UserLanguage in javascript. It's not entirely foolproof, but it's a good starting point, and provided the users aren't messing with what the navigator object actually pulls (fairly easy to fake) it should give you a reasonably good start.....you don't really have what language(s) you're using on your page tagged, so it's sorta hard to provide specific help.
Reading the documentation might help http://msdn.microsoft.com/en-us/library/dn341982.aspx#feedback

How could I start with TFS2010 and VS2010? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
I'm learning TFS2010 these days, someone said that you could create areas and iterations to begin a project, do I need to put solutions into these areas and how to do it? Is there are any sources for VS2010+TFS2010 development? Thank you!
Areas and iterations are not directly connected to solutions (I think you mean VS - solutions) as you can see in the link to MSDN.
They are the way to structuring you work.
Here you can get started or here
Here you can find a TFS 2010 Work Items Basic User Guide
And here you can find a big collection of videos of different categories.

Building a Code Generator in ruby.. Where to start? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 6 years ago.
Improve this question
I've been thinking about starting an open source admin panel for rails using the cappuccino JavaScript / Objective-J web framework..
How would I get started?
Are there any resources you can point me to, that explain dynamic scaffolding like code generation?
Thanks and looking forward to collaborating if anyones interested?
Daniel
You may want to take a look # rails_admin. It is a port of Merb Admin. It's still pretty young, but may give you ideas on the approach.
ActiveScaffold has been around for a while too which may be another good reference project.

Resources