I was reading Joel On Software today and ran across this quote:
Without understanding functional
programming, you can't invent
MapReduce, the algorithm that makes
Google so massively scalable. The
terms Map and Reduce come from Lisp
and functional programming. MapReduce
is, in retrospect, obvious to anyone
who remembers from their
6.001-equivalent programming class that purely functional programs have
no side effects and are thus trivially
parallelizable.
What does he mean when he says functional programs have no side effects? And how does this make parallelizing trivial?
Hello everybody,
I would like to put a progress bar in the notification bar. The idea is showing the progress bar while the program uploads a file to a server. Everything else is ok, but I can not figure out how to refresh the progress bar inside the notification. Does anybody knows any pattern to play with? I mean, where I should refresh the progress bar, in a service or activity and so.
Thanks in advance.
Hello,
I wasn't able to find out (googling, reading mysql reference manual) how to get value of DATETIME in seconds in MySQL.
I dont mean to extract seconds from datetime, but to convert it into seconds.
Thanx
What is the benefit of using POCO? I don't understand the meaning of Persistence Ignorance, what does this mean? That the poco object can't expose things like Save? I can't wrap my head around this POCO that there's alot of buzz around.
What is the difference with the EF generated entities and POCO?
Is it possible in Excel 2007 to customise the floating format bar that is shown when you right-click on a cell? To avoid confusion, I don't mean the "Cell" commandbar menu, but the second floating toolbar with formatting buttons.
e.g. is it possible to add a Styles dropdown, or have any other text alignment option than centre?
Thanks in advance,
Charles
I am reading WCF book.It states that the client can consume service running on same AppDomain or different application Domain.
Suppose I am creating a service in IIS localhost.
example
localhost\TestService\Service.svc (WCFService Website).
and my client is in
d:\demo\client (windows form)
Does it mean client is running on
different AppDomian and Service is
running on different Appdomain?
How can i have client and service
both running on same AppDomain?
Possible Duplicate:
C++ Virtual/Pure Virtual Explained
Hi,
Need to know what is the difference between a pure virtual function and a virtual function?
I know "Pure Virtual Function is a Virtual function with no body" but what does this mean and what is actually done by the line below
virtual void virtualfunctioname() = 0
Is it possible to make content assistant work as Netbeans code completion during typing "new "? I mean that Netbeans suggests all possible classes that fit to the type requirements including extending classes. Eclipse suggest only exact classes that fit to the required type.
Here is example comparison:
http://img12.imageshack.us/img12/360/comparisons.jpg
After some struggling I managed to get boost smart pointers to build for Windows CE/Mobile at warning level 4.
I found the least-resistance-way to get rid of compile errors and warnings to be
#define BOOST_NO_MEMBER_TEMPLATES
What does it actually mean? Did I sell my soul to the devil? Will all hell break loose when I actually use the types?
can somebody explain me what does this error mean:
> ./rank lines.in
'nknown option: `-
Usage: tcsh [ -bcdefilmnqstvVxX ] [ argument ... ].
this is my script rank:
#! /bin/tcsh -f
set line = `cat ${1}`
echo $line
I think that the problem I have is with first row #! /bin/tcsh -f
I'm working on Windows! but after I wrote script on windows editor, I converted it using dos2unix rank, what can be the problem, thanks in advance for any help
Hey, guys. I want to ask if someone can give me an example of creating child through xml. I mean creating custom components through xml (for every xml tag you create your own custom component and then add it as a child to the stage). I hope is it clear enough... :)
What is the difference between:
git commit -m "added a new page"
and
git commit -a -m "added a new page"
I know that the -a option will stage files that have been modified and deleted, but then what does running it without the -a mean?
Thanks for reading.
Is it possible, to save the state of the package explorer when closing Eclipse (3.4) and to restore it when opening the workspace again?
By state I mean the nodes (expanded or collapsed).
I am trying to embed a Javascript engine into my application. But the license for Mozilla Javascript engine is GNU/GPL/MPL based and I don't have the time and energy to digest the cryptic legal document.
In short, does the license mean I need to publish my application's source code if I embed the engine into my own appli.? Something I think is quite impossible but as what i understand from the CopyLeft license, any work derived from modifying the source code means the derived work must be made open source as well.
Can one please explain with example what does $obj-$a()-$b mean? I've used PHP OOP quite a long time and have seen in some places this structure and not just this $obj-$a(); In what cases should I use it?
Thanks in advance!
When using log4j, the Logger.log(Priority p, Object message) method is available and can be used to log a message at a log level determined at runtime. We're using this fact and this tip to redirect stderr to a logger at a specific log level.
slf4j doesn't have a generic log() method that I can find. Does that mean there's no way to implement the above?
I want to slight variation of the custom cell code example from the MS website
How to: Customize Cells and Columns in the Windows Forms DataGridView Control by Extending Their Behavior and Appearance
by passing an argument to the custom cell constructor.
Public Sub New(ByVal a As Object)
End Sub
but then when I run the code it throws and exception
MissingMethodException occured
No parameterless constructor defined for this object.
Does this mean that custom cells must have a parameterless constructor?
Thanks.
I have submitted the binary file of my application to apple on appstore.
But i dint configure the APP ID i mean i forgot to do that. Does it will affect my application for apple submission.
Should i do a developer reject and if i do that Can i upload the new binary ..
Please reply me as soon as possible i dont want ma application to get rejected by apple..
I'm trying to set the UIRequiredDeviceCapabilities properties in my Info.plist file. My app requires a persistent network connection. If I look at the definition for the "wifi" key, it says:
Include this key if your application
requires access to the networking
features of the device.
So: does the "wifi" key indicate that I need WiFi, as the key name would suggest? Or does it mean that I simply need network access, as the key definition would suggest?
If in SqlProfiler you can see that to execute a query a Scan is Started, does this mean a full table scan or can it just be a lookup? If it can be both, how can you tell which one of the two it is?
Long time ago, I saved a sentence from a Java reference book: "Java has no mechanism to handle deadlock. it won't even know deadlock occurred." (Head First Java 2nd Edition, p.516)
So, what is about it? Is there a way to catch deadlock case in Java? I mean, is there a way that our code understands a deadlock case occurred?
I want to know how, from a controller action, I could identify the area in which the controller is in via the MVC framework (I mean, without making all controllers in a given area inherit from a base controller with that info).
I'm particularly interested in the case of child actions (controller actions rendered via RenderAction), the area of the calling parent controller for instance.
I'm using ASP .NET MVC 2.0 RTM
Hi there
I wanna know how I can create a folder via Oracle form Builder?
is it possible?
I mean I wanna create a folder dynamically and after that open it by Internet explorer to customer that customer easily copy his files.
I use oracle 6i.
Hi guys,
I would like to know whether is there an option to detect locked tables in mysql or no. I mean locked by LOCK TABLE table WRITE/READ command ?
cheers,
Marcin