Hi,
I seem to recall that it's possible to return the resulting object count from an NSPredicate in CoreData without actually performing a fetch, but I can't find any reference to this.
Can someone confirm that I wasn't dreaming (sad dream to have!), and would this be safe to do in another thread?
Thanks
Andy
Can someone help me to buffer a mp3 file on a server using the Blackberry buffered pllayback demo app provided with the jde?
I hav loaded it in the simulator. And my mds is started but I m unable to play the audio.
There is no error but it doesnt play/load.
The code looks all fine.
Thanks
Now and then someone makes a weird argument for software patents.
What are the best reasons against software patents? What are the best replies for commonly heard arguments of patent proponents?
See also the converse question of the dark side. :-) If you are for patents you might want to answer there to keep the stackoverflow philosophy of answers instead of discussions.
Let's say I had a char pointer pointing to a buffer that contained these values (in hex):
12 34 56 78 00 00 80 00
I want to modify the last two bytes to a short value of 42. So I would think I would have to do something like this:
(short)*(pointer+6)=42;
The compiler doesn't complain but it does not do what I'm expecting it to do. Can someone tell me the correct way to assign the value?
Say I have this url:
http://site.example/dir/
In this folder I have these files: test.ascx.cs and test.ascx
Just to be clear, I am not a .NET developer.
From a security point of view - why can't I access http://site.example/dir/test.ascx.cs and how secure is it to keep those files there?
I assume IIS filters out request that query these kind of files, but can someone explain me this?
Thank you.
I followed the answer to this question http://stackoverflow.com/questions/1245364/securing-elmah-in-asp-net-website to restrict access to the elmah handler. However, it seems that adding an RSS feed to Outlook for the URL elmah.axd/rss or elmah.axd/digestrss bypasses the authentication. What's the point of securing the handler if someone can guess the RSS URL and subscribe to a feed of the error log?
Hi,
I have c# application that includes webbrowse control. Recently I could not navigate it to My Computer and My NetworkPlaces. Can someone help?
Thanks,
gil
I'm not sure I like linq query syntax...its just not my preference. But I don't know what this query would look like using lambda expressions, can someone help?
from securityRoles in user.SecurityRoles
from permissions in securityRoles.Permissions
where permissions.SecurableEntity.Name == "Unit" && permissions.PermissionType.Name == "Read"
orderby permissions.PermissionLevel.Value descending
select permissions
There is a many-to-many relationship between users and security roles that makes this extra confusing.
Thanks!
Kelly
hi,
i am getting this
2
Internal Server Error
utf-8
http:http-response-code500
What does the transport response code 2 mean?
I have seen many others as well, Can someone tell me what they mean?
Hi, I have an application that sends you to one website that shows a login form.
I've read up on cookies from the apple reference (http://developer.apple.com/iphone/library/documentation/Cocoa/Reference/Foundation/Classes/NSHTTPCookie_Class/Reference/Reference.html#//apple_ref/occ/instm/NSHTTPCookie/initWithProperties:)
I'm honestly just not understanding this at all.
Can someone please explain how to get cookies working for an app? Post sample code?
Thanks.
Hi
I'm using SWT Text component. Do someone know how can I handle copy/paste operation and modify data when copying to the buffer and when copying from the buffer? I don't want just handle Ctrl-C Ctrl-V because there are a lot of other keys to do that thing (Shift-Del/Shift-Insert) and even user can override these keys.
Thanks
Hi folks,
this one is really easy.
I'm trying to create a Regular Expression that will result in a Successful Match when against the following text
/default.aspx?
So i tried the following...
^/default.aspx$
and it's failing to match it.
Can someone help, please?
(i'm guessing i'm screwing up becuase of the \ and the ? in the input expression).
Hi,
I have made some screenshots of my website, and in internet explorer 6 my website looks crappy (see screenshot)
I have heard something about a PNG fix, is a PNG fix the way to solve the crappy look? and can someone explain me how to implement this?
is there any custom asp.net membership providers that someone has already created online. I want to use a custom provider because their role provider is very sluggish and I would like to use integers instead of guids for user IDs
I need to implement a persistent socket connection from my in-browser Silverlight 4 app to a device on the network.
I need the following:
Connect to it and keep a persistent connection
Send and Receive data
Get some type of event or notification (or detect it) when the connection drops.
Is this possible with Silverlight 4? If so, can someone point me to some examples? All I am finding are some attempts at it with Silverlight 2.
Can anyone point me in the right direction on how I would minimize ambient noise while recording someone speaking using the iPhone SDK Core Audio? I'm guessing a band-pass filter that eliminates any frequencies above and below the human vocal range might work. I have no idea how I would implement band filters on audio in the SDK though. The optimum solution would be one that eliminates the noise from the stream before it is written to memory/disk.
Some sample code would be appreciated.
hi
i'd like to run an android emulator with disk image. so I tried this
./emulator -kernel kernel-qemu -system system.img -ramdisk ramdisk.img -initdata userdata.img -partition-size 512
then error massage is :
if you really want to NOT run an AVD, consider using '-data '
to specify a data partition image file (I hope you know what you're doing).
so I found userdata-qemu.img from /out/
but i can't find that file.
someone help me
It appears that WAS will call ServiceHostFactory.CreateHost() once per each service implementation. How does WAS manage the lifetime of the ServiceHost/ServiceHostFactory? We have a custom factory/host that is occasionally being re-initialized. I'm wondering if WAS is recycling itself or it has some other reason to re-create the ServiceHostFactory/ServiceHost. I'm guessing the ServiceHostFactory gets fired up for the AppDomain and is a singleton, can someone confirm?
can someone please look at page 1789 of this paper and tell me how to calculate pi_i in python? i have no idea what is going on
other references:original paper, pages (according to adobe, not the physical pages) 43 and 86
I have an iPhone app that picks images from my internet server. It picks images with png extension but only PNG-24 is workings. The problem is that PNG-24 need some disk space and internet bandwith in iphone. I tried using PNG-8 but the iphone does not recognize it.
Someone knows if I have a way to use PNG-8 into my app?
Thanks!
xmlhttp.onreadystatechange=function() {
So this says onreadystatechange, invoke function(). Can I put parameters in function()? Second question, what does it mean when someone writes, xmlhttp.onreadystatechange=statechanged? Does that mean it will always be true or something?
Hello EveryOne,
i m using asp.NET MVC 2 for my current project and i need to validate form fields both on client and server side. for that i started with DataAnnotations. Now, i figure out that i have to write buddy class for every model or i have to go to designer generated code and put my annotations there (not a good idea though). if someone can suggest me a solution that helps me avoid writing those buddy classes and get the same functionality.
Regards
Adeel
I am trying to achieve below output using regex but not able to, can someone please correct the regex -
input string :
data-placeholder=""[Refer" to "Conditions To Entry Of The Confirmation Order" and "Conditions To Effective Date" sections]"
output string :
data-placeholder="[Refer to Conditions To Entry Of The Confirmation Order and Conditions To Effective Date sections]"
regex tried
\s*"\s*([^ "]+)"\s*(?=["])