I'm using MiGLayout and being the freak i am, i was thinking if it's possible to create a single instance of the layout and use it for all my panels? Justcurious...
I'm using Ninject (1.5 ... soon to be 2) and I'm curious how other people use Ninject or other IoC containers to help wire up events to objects? It seems to me in my code that I'm doing it herky-jerky all over the place and would love some advice on how to clean it up a bit.
What are people doing out there to manage this?
I understand that an id must be unique within an HTML/XHTML page.
My question is, for a given element, can I assign multiple ids to it?
<div id="nested_element_123 task_123"></div>
I realize I have an easy solution with simply using a class. I'm justcurious about using ids in this manner.
I was looking through the docs and stumbled onto mysql_real_escape_string() and I'm not understanding why it's useful when you can just addslashes(). Can someone show me a scenario as to why it's useful?
I'm also curious why it requires a database connection.... that seems like a lot of overhead.
I've found this in the CGPath.h header file. I'm curious what this const thing does?
typedef struct CGPath *CGMutablePathRef;
typedef const struct CGPath *CGPathRef;
My guess: If I typedef something as const, it's constant so immutable and can't be changed in any way. Does that make sense?
I am just trying to better understand the directX pipeline. Justcurious if depth buffers are mandatory in order to get things work. Or is it just a buffer you need if you want objects to appear behind one another.
I'm curious about infinite numbers in computing, in particular pi.
For a computer to render a circle it would have to understand pi. But how can it if it is infinite?
Am I looking too much into this? Would it just use a rounded value?
I'm curious if anyone has seen an Open Source radio automation package (I found one in Russian on CodePlex) built on .NET
In addition if I wanted to build something like this in a client server environment is WCF and WPF the best way to do it? Is it fast enough to trigger songs to play/encode on the server from a remote WPF client?
Sort of vague questions but I wanted to get some community feedback.
Currently Buildbot does not support multiple repositories. If one desires to have this then separate instances of Buildbot need to be run.
Still I'm curious if anyone has come up with a creative workaround to get this feature working anyway.
I am curious? What high fundu logic goes behind not implementing:
result+=vector1;
where both result and vector1 are stl vectors.
Note: i know how to implement that bit, but i need to know what logic, the sages who designed STL were using when they chose not to implement this feature?
Ive used visual studio for years, but the answer this eludes me:
When intellisense pops up, for a method call that takes more than one parameter, the summary for the first parameter is shown. The only way i've found to show the summary for the following parameter(s) is to either supply each parameter or just hit comma until i get the one im looking for.
Ive tried ctrl+right arrow, shift + right arrow etc etc, without success.
Justcurious is all.
Is there any practical difference between these two extension methods?
class Extensions
{
public static void Foo<T>(this T obj) where T : class { ... }
public static void Foo(this object obj) { ... }
}
I was poking around in Extension Overflow and I came across the first form, which I haven't used before. Curious what the difference is.
I'm justcurious...on the status bar on the home screen and the lock screen, is there a way to change the time that is displayed??? I've been trying to find things on this both in SDK 3.2 and 4 but with no luck.
Thanks for any responses! I really appreciate them :)
I have a simple index page for clients. Client has 20 fields. I am displaying list of clients in a table. For this I have to write in my views something like:
- @clients.each do |client|
%tr
%td=client.name
%td=client.email
%td=client.address
%td=client.phone etc...
I am justcurious if I can do it something like
- @clients.each do |client|
- client do
%tr
%td= name
%td= email
%td= address
%td= phone etc...
Possible Duplicate:
Why are we using i as a counter in loops
I've used these myself for more than 15 years but cannot really remember how/where I picked up that habit. As it is really widespread, I'm curious to know who originally suggested / recommended using these names for integer loop counters (was it the K&R book?).
Just curious,
Is there any difference between calling len([1,2,3]) or [1,2,3].__len__() ? If there is no apparent difference, what is done differently behind the scenes?
Thanks
I have three tables with a common key field, and I need to join them on this key. Given SQLite doesn't have full outer or right joins, I've used the full outer join without right join technique on Wikipedia with much success.
But I'm curious, how would one use this technique to join three tables by a common key? What are the efficiency impacts of this (the current query takes about ten minutes)?
Thanks!
1 - Curious as to how to make a popup asking to confirm if I want to load the program before it loads. Example:
^g::Run C:\GW2\gw2.exe
2 - How to set a title(instead of the script name), align text within msgbox and control the perimeters of msgbox with this format:
F1::msgbox,
(LTrim
Insert Text Here
)
3 - How to either temporarily pause and unpause a specific AHK script only allowing that hotkey to work within the script OR to disable scripted hotkeys while in a full screen application or game OR a "on/off pause/resume" command to disable multiple other commands such as ^g, ^h and the like.
I'm curious if anyone still creates icons other than RGB/A (or 32-bit with alpha-channel) for your Windows apps?
PS. I know that suggested model is to create 256-color versions of icons, but I always struggle with those. If I automatically convert them in an icon editor they totally decimate the look of my original icons with jagged edges and circa-Windows95 look. So if those are still required, does anyone know the stats on how many people are still using color settings other then 32-bit TrueColor?
I'm doing some initial research on smart phone development, and I noticed that Android and Windows Mobile both support c++ for application development. I was curious if anyone had any experience trying to manage shared files between both Android and Windows Mobile, and to what extent that code can be shared? e.g. no user interface can be shared, but web service and business logic classes can be shared, etc.
Who here is both a musician and a programmer?
I would also be curious to know which instruments you play, the ages at which you started programming and playing music, your personal experiences, etc. Perhaps we can find a relationship between these two things.
I'll begin:
Piano since 10, Computer since 12, I am 21.
Note: Question originally from pheze.myopenid.com.
Related: Jazz Programmer
Hi,
I have a question about how to store the assembly language in memory,when I compile the C-code in assembly, and run by "step", I can see the address of each instruction, but is there a way to change the start address of the code in the memory?
Second question is, can I break the assembly code into two?
I am curious about how the machine store the assembly code.
BTW, I am working on a MACBOOK Pro, duo core.
Thank you.
-da
I was hoping someone could explain why my application when loaded uses varying amounts of RAM. I'm speaking about a compiled version that uses the exe directly. It's a pretty basic applications and there are no conditional branches in the startup of the application. Yet every time I start it up the RAM amount varies from 6MB-16MB.
I know it's on the small end of usage anyways but I'm curious of why this happens.