» Home » named » Page 2
Mixing strongly named assemblies and not strongly named assemblies in a solution
by dmossakowski in Programming Languages

I have a problem I hope someone can help me with.


I have a winforms vb.net 3.5 solution which has some of the assemblies that need to be used in a class library vb.net 3.5 solution for a SSIS package as well. In order to use them in a SSIS package they need to be strongly named so they can be installed in the gac.



Can't add a file named “VERSION” to CVS at the same level of a dir named “version”
by Tmf in Programming Languages

I'm reporting a series of commits from git to cvs with cvsexportcommit. I've found that it's impossible to add the VERSION file in the following context


|
\_version/
| |
| \_version.txt (to be removed)
|
\_VERSION (to be added)

The output I get is the following:


Applying to CVS commit f6ce403e6e1d57b61661527969ac97c52bcbe41f from parent 076d1fb

Python PIL Image Module ImportError: No module named PIL, No module named Image
by postmortemIA in Network & Servers

I've installed Python 2.7 alongside Python 2.4 as instructed here. When running a tests through Mac OSX Terminal connecting to the Server to confirm that the install is working I execute this test:


import Image
img = Image.open("/directory/image.jpg")
img.load()
print img

Result:


<PixelAccess object at 0x2b97d4c25110>

named parameters with same name
by Steven Weber in Programming Languages

I'm using the 'caret' library to to do some cross validation on some trees.


The library provides a function called train, that takes in a named argument "method". Via its ellipsis it's supposed to let other arguments fall through to another function that it calls. This other function (rpart) takes an argument of the same name, "method".


Therefor


c# api named PostMessage
by David Marchant in Development Tools & Services

I'm trying to write an application that going to proccess and send him
the keystrokes ctrl-a and then ctrl-c that i will have the
text content in my clipboard.


I read that the correct api is PostMessage`Sendmeesage`.
with the api i success to write into a program (notepad for example).
but I didnt success to send keystrokes.


here is my co


Likeliness of Named RVO?
by Master843 in Programming Languages

I have a function that looks like this:


// Fetch 1 MB of data
void GetData(std::vector<char> & outData);

The 1MB is exaggerated, but I just want to make the point that it's preferable to avoid unnecessary copies.


If I add this overload:


std::vector<char> GetData()
{
std::vector<char> result;<
TAGS : Likeliness Named

PHP named semaphores?
by Madmick in Programming Languages

I've been looking around but I can't seem to find any implementation of POSIX named semaphores for PHP. The only thing I see is SysV semaphores.


(2 questions)


Is there any way to access named semaphores from PHP currently?


Are there any plans for future releases of PHP?

TAGS : named semaphores

no module named gtk
by Erik Ordway in Programming Languages

Why I install gtk & pygtk with homebrew, but python still not able to find it:


brew test -v pygtk
Testing pygtk
==> chmod +x test.py
chmod +x test.py
==> ./test.py
./test.py
Traceback (most recent call last):
File "./test.py", line 2, in <module>
import pygtk
ImportError: No module named pygtk
Error: pygtk:
TAGS : module named

Put a key named metaClass in a Map
by aShufflinZombie in Development Tools & Services

I've written a small Groovy script that exposes a very weird behaviour. can anyone explain it ?


// Creating a groovy map
def map = [:]
// Putting a value in
map["a"]="b"
// Render it without trouble
println map["a"]
// Putting another value in (yup, this one has THE name)
map["metaClass"]="c"
// Failing to render it
println map[
TAGS : named metaClass

How to use different named query
by iNate2000 in Programming Languages

I'm doing my first application in JSF 2.0 with JPA in Netbeans.


How do I use a different named query of my Java entity in JSF? For example I have this entity,


@Entity
@Table(name = "user")
@XmlRootElement
@NamedQueries({
@NamedQuery(name = "User.findAll", query = "SELECT u FROM User u"),
@NamedQuery(name = "User.findById", query = "SELECT u FR

Prev          Next
Privacy Policy - Copyrights Notice - Feedback - Report Violation - RSS 2017 © bighow.org All Rights Reserved .