 |
|





 |
|
 |
 |
 |
 |
|
 |
 |
We are getting our kitchen renovated. I'll post who is doing it if I like the results and they don't continue to damage our existing floors too much. One of the annoyances though was yesterday where they couldn't give us a time when they would be delivering the new cabinets. So it came to mind that it would be cool if a company could provide a generic system of having: * GPS in every truck doing deliveries with an interface to select the next destination for delivery. * A server that broadcasts to a user when their up for delivery next (IM, text message, phone call, whatever). * Possibly include some statistical work to figure out how long it will be for the driver to get to your place (if the deliveries are ordered and you know the GPS coordinates along with average time spent at each location to deliver goods, then you could have a reasonable estimate). Then people could actually get notified and leave work to be home only when they need to be instead of a four hour (or all day) "window". Most of the parts are already available too. I'm sure UPS and other delivery companies have tracking systems for what is on the vehicle and where it is. It wouldn't be that hard to tie it with a server that tracks progress and the people being visited. Tags: delivery, gps, kitchen, renovation, server, statistics, ups Current Location: Work Current Mood: working
|
 |
 |
 |
 |
|
 |
 |

 |
|
 |
 |
 |
 |
|
 |
 |
First, I will admit I know nothing and that this was a whacked out idea. I just read an article by Douglas Hofstadter (Godel, Escher, Bach: An Eternal Golden Braid) in SEED and something he said tweaked a neuron or two and inspired the following: Remember when you were shown in math (a + ib)(a + ib) = a * a + 2iab - b * b? Well, I was wondering if the "result" of Godel's self-referential contradiction could be treated like i here. Where we give it some symbol but can have interesting consequences when interacting with itself or other types of contradictions like the imaginary part above affectecting the "real" portion. Anyway, monthly post of crazy thoughts complete. Tags: bach, contradiction, escher, godel, hofstadter, imaginary, principia mathematica, real, self-referential Current Location: Work Current Mood: working
|
 |
 |
 |
 |
|
 |
 |

 |
|
 |
 |
 |
 |
|
 |
 |
I ran into this today and it was driving me crazy. I happen to like writing in C#. It's fast and easy and provides a lot of functionality that I use. In this case I needed to expose the code I was writing to script, in particular VB or Java script. To do so then it made sense to expose the functionality I was writing as COM objects. This is generally quite trivial in C# by simply adding the ComVisibleAttribute to the interface or class. However it only exposes the methods on the actual class, not any methods that are public on subclasses or interfaces. To clarify then, if you had:
[ComVisible(true)]
interface IBase
{
int IDoStuff();
}
[ComVisible(true)]
interface IDerived : IBase
{
int IDoOtherStuff();
}
And you have an object of type IDerived in script, you would not be able to call IDoStuff(). Instead you would have to implement the classes as follows:
[ComVisible(true)]
interface IBase
{
int IDoStuff();
}
[ComVisible(true)]
interface IDerived : IBase
{
int IDoOtherStuff();
new int IDoStuff();
}
To expose IDoStuff(). It would be awesome if there was an easy way to explose the members and properties of an inherited class or interface at the same level without having to add a potentially arbitrary large number of methods and properties and maintain them. If there is such a way, then please, please let me know. I find this solution inelegant in the extreme. Tags: c#, com, comvisible, interface, javascript, new, vbs, vbscript Current Location: Work Current Mood: irked Current Music: Ambient fans
|
 |
 |
 |
 |
|
 |
 |


|