text
stringlengths
0
30.5k
title
stringclasses
1 value
embeddings
listlengths
768
768
Assuming network access is sporadic with no central server, what would be the best way to use git to keep three or more branches in sync? Is there a way to extract just my deltas, email those, and merge them on the other end? While "git format-patch" and "git am" are great ways to manage patches from non-git sources, f...
[ 0.4101318120956421, -0.228836327791214, 0.16950279474258423, 0.33816760778427124, 0.16067913174629211, 0.0050762128084897995, 0.37434121966362, 0.009230970405042171, -0.32078447937965393, -0.8480737209320068, -0.1592150330543518, 0.1318582445383072, -0.08258216083049774, 0.2353715449571609...
alternative file transfer mechanism (e.g. email, snail-mail, etc.). git bundles will preserve commit ids, whereas format-patch/am will not resulting in the destination commits not being identical (different SHA1s).
[ 0.10918854922056198, -0.3123706877231598, 0.13866843283176422, 0.31401684880256653, -0.09277734160423279, -0.24892155826091766, 0.04559510946273804, -0.11965872347354889, -0.3957810401916504, -1.027592420578003, -0.3582247197628021, 0.3355165123939514, -0.2558806240558624, 0.10722733289003...
OK, this begins to drive me crazy. I have an asp.net webapp. Pretty straightforward, most of the code in the .aspx.vb, and a few classes in App\_Code. The problem, which has begun to occur only today (even though most of the code was already written), is that once in a while, I have this error message : > Error BC300...
[ 0.42483559250831604, 0.29861152172088623, 0.419888973236084, -0.13102389872074127, 0.10623101145029068, -0.12490355968475342, 0.4992305040359497, 0.3037246763706207, -0.5392409563064575, -0.8003457188606262, 0.11775785684585571, 0.5694266557693481, -0.2869219481945038, 0.0580618679523468, ...
exactly how to trigger this error. I just have to wait a little bit without touching anything, then refresh the page and it works, but it's very annoying. So I searched a little bit, but nothing came up except imports missing. Any idea ? I think I found the problem. My code was like that : ``` Imports CMS Sub What...
[ -0.009405878372490406, 0.3440565764904022, 0.1814955621957779, -0.15584422647953033, 0.24877329170703888, 0.03159615397453308, 0.32117021083831787, 0.3730691373348236, -0.269842267036438, -0.5144144296646118, 0.004036950413137674, 0.5799170732498169, -0.6503987908363342, -0.033410605043172...
was calling classes without either calling their whole namespace or importing their whole namespace was triggering the error. I rewrote it like this : ``` Imports CMS.Arbo Imports CMS.Util Sub Whatever() Dim a as new MyObject() Dim b as new MyOtherObject() End Sub ``` And now it works...
[ -0.04173579439520836, 0.13759560883045197, 0.2320474088191986, -0.35271739959716797, 0.02758391946554184, 0.000038256381230894476, 0.23059691488742828, -0.014547491446137428, -0.09406086057424545, -0.3301895260810852, -0.21943560242652893, 0.501727819442749, -0.33749136328697205, 0.1508457...
So I have a backlog of features and we are about to get started on a sizable project. I am working on defining the structure of our sprints and I'm interested in the communities feedback. What I'm thinking is: * One day sprint planning + Fill the backlog and figure out what each dev will go after this sprint * Three...
[ 0.5767645239830017, -0.14405785501003265, 0.11807411164045334, 0.1273506134748459, -0.1507284790277481, -0.23714397847652435, 0.5694801807403564, -0.1461719572544098, -0.22520649433135986, -0.6068159937858582, 0.3437705636024475, 0.4354795217514038, 0.351300448179245, -0.3920893967151642, ...
last sprint? how can we do better next time? Sprints should always end on a Tuesday (to avoid too much weekend stress). Anything else? There is obviously more to agile than this. I want to provide the team with a simple outline of how we are going to operate as we get this project started. I'd consider experimenting ...
[ 0.195038303732872, -0.5085197687149048, 0.3013373613357544, 0.3327672779560089, -0.3010563552379608, -0.10233607143163681, 0.5305962562561035, 0.2713160514831543, -0.35022667050361633, -0.5562892556190491, 0.5635033249855042, 0.4531797468662262, 0.3886440098285675, -0.22796940803527832, ...
the 30 day sprint - two days sounds about a day to long for the sprint review... and one day sounds about 0.5 days too long for the retrospective. I've found that if you need much more than that there have been communication problems while the iterations has been going on - so you might want to look at needing long rev...
[ 0.25620630383491516, -0.38516122102737427, -0.13630305230617523, 0.37426620721817017, -0.052328165620565414, 0.0007877370808273554, 0.4887335002422333, 0.07307928055524826, -0.04317351058125496, -0.5026902556419373, 0.3399123251438141, 0.7293819189071655, 0.25472936034202576, -0.6024417281...
- a lot of things get easier if you do them more often.
[ 0.5359836220741272, 0.1599014848470688, -0.0833984762430191, 0.14070309698581696, -0.18342064321041107, 0.12320180237293243, 0.2800672650337219, 0.2943486273288727, -0.21034950017929077, -0.3852095901966095, 0.22097072005271912, 0.18603911995887756, 0.46120089292526245, 0.1976703405380249,...
I know you can do redirection based on the domain or path to rewrite the URI to point at a site-specific location and I've also seen some brutish `if` and `elif` statements for every site as shown in the following code, which I would like to avoid. ```py if site == 'site1': ... elif site == 'site2: ... ``` W...
[ 0.536242663860321, 0.349052369594574, 0.09713844954967499, 0.016229236498475075, -0.12109674513339996, -0.3075615167617798, 0.098314069211483, -0.02926056459546089, -0.4236515760421753, -0.6049403548240662, 0.09112469851970673, 0.2723281979560852, -0.32771727442741394, 0.27385762333869934,...
schema attached to the data you want to be host-specific, then include the `Host` HTTP header in the query when you are retrieving data.
[ 0.1295190304517746, -0.10999226570129395, 0.3624889850616455, 0.24183212220668793, -0.16033262014389038, -0.6009090542793274, -0.05515671521425247, 0.11500667035579681, -0.06677846610546112, -0.7039793133735657, -0.33546578884124756, 0.10259434580802917, -0.13088400661945343, 0.33864441514...
On Windows I have a problem I never encountered on Unix. That is how to get a thread to sleep for less than one millisecond. On Unix you typically have a number of choices (sleep, usleep and nanosleep) to fit your needs. On Windows, however, there is only *Sleep* with millisecond granularity. On Unix, I can use the u...
[ 0.2914908826351166, -0.41104403138160706, 0.47297903895378113, -0.13035470247268677, 0.15903086960315704, -0.173296719789505, 0.23216195404529572, 0.11767123639583588, -0.2530328929424286, -0.9864081740379333, -0.029520612210035324, 0.548166036605835, 0.017263267189264297, 0.14481045305728...
&tv); } ``` How can I achieve the same on Windows? On Windows the use of `select` forces you to include the [Winsock](https://msdn.microsoft.com/en-us/library/windows/desktop/ms740673(v=vs.85).aspx) library which has to be initialized like this in your application: ``` WORD wVersionRequested = MAKEWORD(1,0); WSADATA...
[ 0.23192237317562103, -0.47113218903541565, 0.5862521529197693, -0.19026963412761688, 0.0972924679517746, -0.0919816866517067, 0.09386034309864044, -0.3439998924732208, -0.07946662604808807, -0.6554329991340637, -0.3204007148742676, 0.5351106524467468, -0.20455442368984222, 0.25513076782226...
tv.tv_usec = usec%1000000L; return select(0, 0, 0, &dummy, &tv); } ``` All these created usleep methods return zero when successful and non-zero for errors.
[ 0.40849921107292175, -0.20606274902820587, 0.5493078827857971, 0.11471237987279892, 0.00039184451452456415, -0.12954404950141907, 0.227214053273201, -0.11590953171253204, 0.16362859308719635, -0.5672029852867126, -0.13532210886478424, 0.7319040894508362, -0.5117835998535156, 0.152438029646...
MonoDevelop 1.0 doesn't appear to have a code-formatter like Eclipse does for Java. Is there a preferred shell script (or MonoDevelop add-in?) that you've found to work well? At the moment, source code formatting in MonoDevelop is marked as a future enhancement: <https://bugzilla.novell.com/show_bug.cgi?id=321946> In ...
[ 0.5662878751754761, -0.22274450957775116, -0.24536961317062378, 0.22914327681064606, -0.31115609407424927, -0.27589401602745056, 0.431871235370636, -0.11180762946605682, -0.1786675751209259, -0.24884016811847687, 0.018815921619534492, 0.7327486872673035, -0.2801215648651123, -0.24259835481...
and patch for MonoDevelop too :-) I wonder how recent the version is that is included with Ubuntu... Either way, I'm glad you found something that works for you.**
[ 0.5273207426071167, -0.11611131578683853, 0.058871686458587646, 0.2620488405227661, 0.12625235319137573, -0.06830289959907532, -0.07100913673639297, 0.46010205149650574, -0.03789404407143593, -0.8457987308502197, -0.15389354526996613, 0.6536867618560791, -0.13075195252895355, -0.2092525959...
Is there any way to parse a string in the format HH:MM into a Date (or other) object using the standard libraries? I know that I can parse something like "9/17/2008 10:30" into a Date object using ``` var date:Date = new Date(Date.parse("9/17/2008 10:30"); ``` But I want to parse just 10:30 by itself. The following...
[ 0.27409854531288147, 0.2529105842113495, 0.5224214196205139, 0.12281045317649841, -0.010656878352165222, -0.09573893994092941, 0.17958411574363708, -0.23374834656715393, -0.37580984830856323, -0.42182987928390503, -0.004122941289097071, 0.5110870599746704, -0.5031242966651917, 0.1747329533...
but then there's no library function for parsing dates on the ISO format, on the German format, on the Swedish format, dates where the years are in roman numerals etc. Why not use regular expressions? That's what they are for.
[ 0.3299821615219116, 0.23366613686084747, 0.2629602551460266, 0.36294087767601013, -0.004951119888573885, -0.2651516795158386, 0.09985038638114929, 0.2708326578140259, -0.40045392513275146, -0.14820611476898193, 0.08214972913265228, -0.19950458407402039, 0.15602640807628632, 0.2565647363662...
I have an object that implements IDisposable that is registered with the Windsor Container and I would like to dispose of it so it's Dispose method is called and next time Resolve is called it fetches a new instance. Does ``` container.Release(obj); ``` automatically call Dispose() immediately? Or do I need to do...
[ 0.13391029834747314, 0.11706142127513885, 0.08526890724897385, -0.05111867934465408, 0.13552998006343842, -0.11074104905128479, 0.2285030633211136, -0.37690770626068115, -0.15984246134757996, -0.7098820805549622, 0.004697216209024191, 0.7220298647880554, -0.2841051518917084, 0.271962583065...
and writing a custom lifecycle seems far too heavyweight, is there no built in way of doing it? This is something I think people aren't really aware of when working with the Windsor container - especially the often ***surprising*** behavior that disposable transient components are held onto by the container for the lif...
[ 0.4152389168739319, -0.09116095304489136, 0.3431829810142517, 0.01640765555202961, 0.1285703182220459, -0.15627256035804749, 0.01836993359029293, -0.048241160809993744, -0.5381277799606323, -0.4480458199977875, -0.17129147052764893, 0.7245230674743652, -0.18966463208198547, 0.0662856101989...
with three IReleasePolicy implementations: > > > * AllComponentsReleasePolicy: track all components to enforce correct disposal upon the MicroKernel instance disposal > * LifecycledComponentsReleasePolicy: only track components that have a decommission lifecycle associated > * NoTrackingReleasePolicy: does not perfor...
[ 0.12796825170516968, -0.2418864369392395, 0.4193981885910034, 0.10053344070911407, -0.12729303538799286, -0.04276692494750023, 0.17040497064590454, -0.4549185037612915, -0.2711530923843384, -0.537308394908905, 0.02809331566095352, 0.5802033543586731, -0.7663276791572571, -0.074121095240116...
probably not a big deal. Remember however that any components which have already been injected with the singleton will hold a reference, so you could end up causing problems trying to "refresh" your singletons - it seems like a bad practice, and I wonder if perhaps you can avoid having to do this in the first place by ...
[ 0.7801682949066162, 0.007711946964263916, 0.06290768086910248, 0.2968374192714691, 0.13464635610580444, -0.12787103652954102, 0.024471275508403778, -0.0425705686211586, -0.3929862082004547, -0.32572007179260254, 0.004337605554610491, 0.6000535488128662, -0.238601416349411, 0.28755772113800...
for your service registered in the container with a singleton lifestyle, but your actual underlying service registered in the container with a transient lifestyle - then when you need to refresh the component just dispose of the transient underlying component held by the decorator and replace it with a freshly resolved...
[ 0.4349612891674042, -0.042048756033182144, 0.21110989153385162, 0.1413392275571823, 0.4879436790943146, 0.04480510950088501, 0.21452118456363678, -0.11528102308511734, -0.1528882086277008, -0.7717450261116028, 0.011433066800236702, 0.5859944820404053, 0.0655505582690239, 0.3408092856407165...
to make it work.
[ 0.3920970559120178, 0.12608881294727325, -0.1339179426431656, 0.20414313673973083, -0.08171775192022324, 0.23331832885742188, 0.11591674387454987, -0.14691294729709625, 0.15821874141693115, -0.1472022831439972, 0.05145245045423508, 0.3805020749568939, -0.4361474812030792, -0.00245882780291...
Consider: ``` List<String> someList = new ArrayList<String>(); // add "monkey", "donkey", "skeleton key" to someList ``` ``` for (String item : someList) { System.out.println(item); } ``` What would the equivalent `for` loop look like without using the *for each* syntax? ``` for (Iterator<String> i = someItera...
[ 0.08420002460479736, -0.1151966080069542, 0.011824999004602432, -0.3137321174144745, -0.05272423103451729, 0.20603317022323608, 0.23962745070457458, -0.40834474563598633, -0.588023841381073, -0.19416946172714233, -0.1359996348619461, 0.4959053099155426, -0.4239277243614197, 0.0663851425051...
interface](http://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html). Also, if the right-hand side of the `for (:)` idiom is an `array` rather than an `Iterable` object, the internal code uses an int index counter and checks against `array.length` instead. See the [Java Language Specification](http://docs.orac...
[ -0.06245088577270508, 0.07677093893289566, 0.48742327094078064, -0.16427387297153473, -0.10980408638715744, 0.257658451795578, 0.09826656430959702, -0.5507239699363708, -0.21755823493003845, -0.558665931224823, 0.05982465296983719, 0.7758839726448059, -0.6448097825050354, -0.17213387787342...
Can anyone suggest me a helpful programming language which can be used to create a tool which will analyse the given C program and generate a txt report or html report containing information about the given program (function list, variable list etc). The program I intend to build is similar to doxygen but i want it for...
[ 0.5099766254425049, 0.14847064018249512, 0.12037628889083862, 0.2664491832256317, -0.09497670829296112, -0.18813559412956238, -0.2049868255853653, 0.2980876863002777, -0.08575218915939331, -0.5055834054946899, 0.19278107583522797, 0.5812704563140869, -0.3492027521133423, -0.091518029570579...
programs can read it. See <http://ctags.sourceforge.net> for more information on ctags itself and the file it uses.
[ 0.07479977607727051, -0.04440191388130188, 0.31982436776161194, 0.24240688979625702, 0.009473311714828014, -0.40277814865112305, -0.3358025550842285, 0.39592480659484863, -0.437289834022522, -0.5920270085334778, -0.4349876046180725, 0.5885834097862244, -0.2506798207759857, -0.0444622039794...
Anyone can read the GoF book to learn what design patterns are and how to use them, but what is the process for figuring out when a design pattern solves a problem? Does the knowledge of the pattern drive the design, or is there a way to figure out how a pattern can be used to change a design? In other words, are ther...
[ 0.4291999340057373, -0.12588374316692352, 0.13309414684772491, 0.4994736313819885, -0.04631127789616585, -0.09638696908950806, 0.15719540417194366, 0.009889927692711353, -0.49170878529548645, -0.749298632144928, 0.11351723968982697, 0.43706145882606506, -0.3447461426258087, -0.087764769792...
any fits a design pattern. In particular, you will probably need to generalise your problem, or its solution, in order to make a design pattern fit. The answer is, it's an art. *Knowing* the design patterns is certainly an important step. One way to get used to this sort of thing is to study *applications* of design p...
[ 0.6873723268508911, 0.07784736156463623, 0.08588851243257523, 0.2522891163825989, -0.3178671896457672, 0.0024239157792180777, 0.37201768159866333, 0.12746047973632812, -0.3962382972240448, -1.2674368619918823, -0.07158267498016357, 0.2526005804538727, -0.3698168694972992, -0.10203316807746...
My strongest lead is that the code who deals with the incoming XMLs is actually receiving an invalid/incomplete file hence failing the DOM parsing. Any suggestions? Incomplete file is definitely the place to start looking. I'd print out the file right before the point you parse it to see what's getting sent to the pars...
[ 0.018685126677155495, 0.08412545919418335, 0.1173265352845192, 0.011419327929615974, -0.30128538608551025, -0.17172110080718994, 0.24457667768001556, 0.09763197600841522, -0.09548530727624893, -0.7038362622261047, -0.19575025141239166, 0.4778282642364502, 0.15226979553699493, 0.07234797626...
I've been using VMWare for a while and am very happy with it, but I would like to compare it with VirtualBox. Apparently the disk images are compatible, and I have successfully booted my Fedora based VM created by VMWare in VirtualBox... but the network is completely unavailable. How do you port a virtual machine from ...
[ 0.5799810290336609, -0.05965737998485565, 0.2643274962902069, 0.14965295791625977, -0.015442021191120148, 0.02201000601053238, -0.20519280433654785, 0.23743435740470886, -0.35623234510421753, -0.642223060131073, 0.19485612213611603, 0.6262884140014648, -0.324979692697525, 0.608685314655304...
attached to the nic and then specify that one as the primary nic.
[ 0.5652258396148682, -0.20630194246768951, 0.5952188968658447, 0.31416600942611694, 0.2947232723236084, -0.19606927037239075, -0.38771378993988037, -0.013777359388768673, -0.003149627707898617, -0.5350507497787476, -0.5872422456741333, 0.5376837253570557, -0.24033986032009125, 0.12418241798...
I have a series of PDFs named sequentially like so: * 01\_foo.pdf * 02\_bar.pdf * 03\_baz.pdf * etc. Using Ruby, is it possible to combine these into one big PDF while keeping them in sequence? I don't mind installing any necessary gems to do the job. If this isn't possible in Ruby, how about another language? No co...
[ 0.222486212849617, 0.0841478705406189, 0.25219807028770447, 0.2844471335411072, 0.006457082461565733, -0.11098875105381012, 0.1654832810163498, -0.30560407042503357, -0.2572287917137146, -0.6198907494544983, -0.014172550290822983, 0.7540109753608704, -0.23656201362609863, -0.21472960710525...
as a one-liner from the command-line: ``` ruby -e '`pdftk #{Dir["[0-9][0-9]_*"].sort.join(" ")} output combined.pdf`' ``` Great suggestion Jason, perfect solution, thanks. **Give him an up-vote people**. A [Ruby-Talk](http://www.ruby-forum.com/topic/120008#new) post suggests using the **[pdftk](http://www.accesspdf....
[ -0.09659967571496964, -0.013157372362911701, 0.24500931799411774, 0.1708187460899353, -0.21027159690856934, -0.13632382452487946, 0.5296401381492615, -0.22861291468143463, -0.04706918075680733, -0.48645836114883423, -0.24113960564136505, 0.7004795670509338, -0.24873968958854675, -0.2630224...
Ok, I've run across my first StackOverflowError since joining this site, I figured this is a must post :-). My environment is Seam 2.0.1.GA, JBoss 4.2.2.GA and I'm using JSF. I am in the process of converting from a facelets view to JSP to take advantage of some existing JSP tags used on our existing site. I changed th...
[ 0.05270376801490784, 0.4172956049442291, 0.5939539670944214, -0.4308619201183319, -0.39704012870788574, 0.07190289348363876, 0.6639979481697083, 0.05364902317523956, -0.43312808871269226, -1.1799753904342651, 0.020272551104426384, 0.6702046990394592, -0.16336700320243835, -0.22229732573032...
[org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/].[Faces > Servlet]] Servlet.service() for > servlet Faces Servlet threw exception > java.lang.StackOverflowError > at org.apache.catalina.core.ApplicationHttpRequest.getAttribute(ApplicationHttpRequest.java:210) > at org.apache.catalina.core.Appl...
[ -0.2562203109264374, 0.47765180468559265, 0.619003176689148, -0.2279682606458664, -0.4622732698917389, 0.4283357858657837, 0.310364693403244, -0.42313775420188904, -0.5380865931510925, -0.6774638295173645, -0.09864717721939087, 0.1922694742679596, -0.015734359622001648, 0.06626342982053757...
<servlet-class>org.jboss.seam.servlet.SeamResourceServlet </servlet-class> </servlet> <servlet-mapping> <servlet-name>Seam Resource Servlet</servlet-name> <url-pattern>/seam/resource/*</url-pattern> </servlet-mapping> <!-- Seam end --> <!-- JSF --> <context-param> <param-name>javax.faces.DEFA...
[ -0.24366191029548645, 0.030939437448978424, 0.25989940762519836, -0.13326109945774078, -0.4749791622161865, 0.5060589909553528, 0.08427716791629791, -0.6126313209533691, -0.6515239477157593, -0.5192040801048279, -0.30848392844200134, -0.0009293158072978258, -0.2931897044181824, 0.149633705...
(\*.jsp). If you change your url-pattern to *.jspx or to /whateverdirnameyouwant/* the application starts up with no stack overflow errors. (note: the key is that DEFAULT\_SUFFIX and Faces Servlet url-pattern cannot be the same regardless of what they are.) Hope this helps anyone else that experiences this specific pro...
[ 0.1747204214334488, -0.03493571653962135, 0.5993046164512634, -0.03125137463212013, -0.029164887964725494, -0.34306976199150085, 0.6000457406044006, 0.382194459438324, -0.38261187076568604, -0.9358384609222412, -0.3447692096233368, 0.6173202395439148, -0.06053159758448601, 0.01513566263020...
MSDN says that you should use structs when you need lightweight objects. Are there any other scenarios when a struct is preferable over a class? Some people might have forgotten that: 1. *structs* can have methods. 2. *structs* cannot be inherited. I understand the technical differences between structs and classes, ...
[ -0.0209648497402668, -0.02902747131884098, 0.025194084271788597, 0.12651972472667694, -0.21618063747882843, -0.18802233040332794, 0.3103446960449219, -0.14590030908584595, -0.3609924614429474, -0.6888765692710876, -0.32032275199890137, 0.3265746235847473, -0.471481591463089, -0.11181695014...
the following > characteristics: > > > * It logically represents a single value, similar to primitive types > (integer, double, and so on). > * It has an instance size smaller than 16 bytes. > * It is immutable. > * It will not have to be boxed frequently.
[ -0.06505636125802994, 0.21890787780284882, 0.15808318555355072, 0.18522600829601288, 0.0037310575135052204, -0.08474159985780716, 0.06478412449359894, -0.15138991177082062, -0.31498831510543823, -0.5030818581581116, -0.24046458303928375, -0.0504351444542408, -0.26549190282821655, 0.1047146...
I have a problem in my project with the .designer which as everyone know is autogenerated and I ahvent changed at all. One day I was working fine, I did a back up and next day boom! the project suddenly stops working and sends a message that the designer cant procees a code line... and due to this I get more errores (2...
[ 0.4128447473049164, 0.1913255900144577, 0.032686639577150345, -0.11745776981115341, -0.13069479167461395, -0.06507686525583267, 0.6564590930938721, 0.3574596643447876, -0.4421810805797577, -0.5489612221717834, 0.2595908045768738, 0.36940255761146545, -0.11892269551753998, 0.591016650199890...
delete the "FitTrack"? The incredible part is that while I was trying on the laptop the errors on the desktop were gone in front of my eyes, one and one second later the other one (but still have the warning from the designer and cant see the form), I closed and open it again and again I have the errors... The error i...
[ 0.1956268697977066, 0.3241848647594452, 0.44322818517684937, -0.026055794209241867, 0.2435901015996933, 0.10972943156957626, 0.5386413931846619, -0.22906494140625, -0.27021607756614685, -0.8447468876838684, -0.15748004615306854, 0.6334116458892822, -0.41755881905555725, 0.15635855495929718...
opening the designer again. C:\Documents and Settings\Alan Cardero\Desktop\Reportes Liquidacion\Reportes Liquidacion\Reportes Liquidacion\Form1.Designer.vb 28 0 ``` I would back up the designer.cs file associated with it (like copy it to the desktop), then edit the designer.cs file and remove the offending lines...
[ 0.054821331053972244, -0.11647689342498779, 0.8951771259307861, 0.009551020339131355, -0.28049105405807495, -0.19716228544712067, 0.06488114595413208, 0.46379348635673523, -0.19017484784126282, -0.81697678565979, -0.09270869195461273, 0.4333052337169647, -0.17018002271652222, 0.29516521096...
I've seen there are a few of them. [opencvdotnet](http://code.google.com/p/opencvdotnet/), [SharperCV](http://www.cs.ru.ac.za/research/groups/SharperCV/), [EmguCV](http://sourceforge.net/projects/emgucv), [One on Code Project](http://www.codeproject.com/KB/cs/Intel_OpenCV.aspx#install). Does anyone have any experienc...
[ 0.4547874629497528, -0.03294527530670166, 0.07438213378190994, 0.0589851438999176, -0.41994741559028625, -0.1475246548652649, 0.22814048826694489, 0.06560026854276657, -0.45910632610321045, -0.6173985600471497, 0.06779658794403076, 0.4732773005962372, -0.5058245658874512, 0.160776913166046...
behind it is very responsive to suggestions and requests. The code is a joy to look at and is known to work on Mono. I've wrote up a quick [getting-started guide](http://friism.com/webcam-face-detection-in-c-using-emgu-cv) on my blog.
[ 0.4648726284503937, 0.03728215768933296, 0.1261935830116272, -0.30187830328941345, -0.26095327734947205, -0.06999929994344711, 0.1017780676484108, 0.24252817034721375, 0.06296942383050919, -0.43245819211006165, 0.06541895121335983, 0.5473626852035522, 0.14039649069309235, 0.031876012682914...
I'd like to search for a given MAC address on my network, all from within a Python script. I already have a map of all the active IP addresses in the network but I cannot figure out how to glean the MAC address. Any ideas? You need [ARP](http://en.wikipedia.org/wiki/Address_Resolution_Protocol). Python's standard libra...
[ 0.3084980249404907, -0.036416132003068924, 0.1497373729944229, 0.054065052419900894, 0.0167645663022995, -0.07752647250890732, 0.1468983292579651, 0.17571115493774414, -0.3718510866165161, -0.8020635843276978, -0.06626757979393005, 0.4814949929714203, -0.3281412422657013, -0.06552923470735...
My attempts to install modperl under the default vanilla Leopard Apache 2 have failed and all I can find online are variations on [this](http://www.nabble.com/Building-mod_perl2-on-Leopard-td13682685.html): I would like if possible not to rely on MacPorts or Fink, though if they can be made to work with the default Ap...
[ 0.14179494976997375, 0.1365755945444107, 0.48939380049705505, -0.15850594639778137, -0.4202156662940979, -0.26042282581329346, 0.7537170648574829, -0.3330478072166443, -0.3357435464859009, -0.4260452389717102, -0.21860116720199585, 0.7623741626739502, -0.4166162312030792, 0.084658488631248...
on Tiger running Apache 1.3!) (And let's see if stackoverflow manages to lift this answer to the top since it is the only "correct" answer)
[ -0.018079835921525955, 0.07292331010103226, -0.08108697831630707, -0.060808178037405014, -0.1967436820268631, -0.41658586263656616, 0.7143997550010681, -0.5782966017723083, -0.21996594965457916, 0.05978424847126007, -0.17337822914123535, 0.3224219083786011, -0.5515551567077637, -0.20558039...
I have two tables I would like to complare. One of the columns is type CLOB. I would like to do something like this: ``` select key, clob_value source_table minus select key, clob_value target_table ``` Unfortunately, Oracle can't perform minus operations on clobs. How can I do this? The format is this: ``` dbms_l...
[ 0.029539428651332855, 0.3045734167098999, 0.43086177110671997, -0.22697675228118896, -0.10263144969940186, 0.3641560673713684, -0.3631303012371063, -0.34346312284469604, -0.11149955540895462, -0.7513787746429443, 0.2289661169052124, 0.4425790011882782, -0.35911765694618225, 0.0747135579586...
glob_value From source_table Left Join target_table On source_table.key = target_table.key Where target_table.glob_value is Null Or dbms_lob.compare(source_table.glob_value, target_table.glob_value) <> 0 ```
[ -0.4375690221786499, 0.39394354820251465, 0.6943656802177429, -0.3644919991493225, -0.2126113772392273, 0.33351823687553406, -0.1851344108581543, -0.2795725166797638, -0.03978639096021652, -0.822914719581604, -0.36599627137184143, 0.13186559081077576, -0.3096301853656769, 0.363301157951355...
here is the input i am getting from my flash file process.php?Q2=898&Aa=Grade1&Tim=0%3A0%3A12&Q1=908&Bb=lkj&Q4=jhj&Q3=08&Cc=North%20America&Q0=1 and in php i use this code foreach ($\_GET as $field => $label) { $datarray[]=$\_GET[$field]; ``` echo "$field :"; echo $_GET[$field];; echo "<br>"; ``` i get this out...
[ 0.00020701510948128998, 0.4203649163246155, 0.44655561447143555, -0.2605527639389038, -0.16491657495498657, 0.13334622979164124, 0.22198428213596344, -0.05636376887559891, 0.026535093784332275, -0.6908326745033264, -0.1859373301267624, 0.11761656403541565, -0.15956446528434753, 0.002474948...
I'm an experienced client application developer (C++/C#), but need to come up to speed quickly on writing server side code to perform RESTful interactions. Specifically, I need to learn how to exchange data with OpenSocial containers via the RESTful API. [RESTful Web Services](http://www.crummy.com/writing/RESTful-Web-...
[ 0.304841548204422, 0.40449199080467224, 0.3689539432525635, -0.10015244781970978, 0.082740418612957, -0.2546943426132202, 0.21543318033218384, 0.11419624090194702, -0.15490928292274475, -0.6619712114334106, -0.07276459783315659, 0.38031768798828125, 0.039283134043216705, 0.0593418180942535...
Currently I'm doing some unit tests which are executed from bash. Unit tests are initialized, executed and cleaned up in a bash script. This script usualy contains an init(), execute() and cleanup() functions. But they are not mandatory. I'd like to test if they are or are not defined. I did this previously by greping...
[ 0.4212252199649811, 0.19171816110610962, 0.29330354928970337, -0.15807706117630005, 0.08839111030101776, -0.18764552474021912, 0.2063659429550171, -0.32816916704177856, -0.0789753794670105, -0.5325518250465393, -0.013436460867524147, 0.6749144196510315, -0.10526304692029953, 0.164585694670...
exists"` The built-in `type` command will tell you whether something is a function, built-in function, external command, or just not defined. Additional examples: ```none $ LC_ALL=C type foo bash: type: foo: not found $ LC_ALL=C type ls ls is aliased to `ls --color=auto' $ which type $ LC_ALL=C type type type is ...
[ 0.21007812023162842, 0.2746131122112274, 0.3320768475532532, -0.1972321718931198, 0.4364067316055298, -0.2601759731769562, 0.41451650857925415, 0.09891542792320251, -0.11306682974100113, -0.21499624848365784, -0.33230650424957275, 0.5218353867530823, -0.5253978967666626, 0.4002807140350342...
I tried scouring the web for help on this issue, but there are so many generic words in there, that I couldn't find much of anything that was relevant. I have MS Office 2007 installed on Vista and later installed XML Notepad 2007 (also a Microsoft product). It seems that the MS Access help system is using some sort of...
[ -0.22581113874912262, 0.31130528450012207, 0.5167543888092041, 0.2181384414434433, 0.06833399832248688, -0.059389788657426834, 0.35137590765953064, 0.2882845401763916, -0.3638797402381897, -0.5585652589797974, 0.04230605810880661, 0.7029901146888733, -0.13399237394332886, 0.256058335304260...
the answer and I'm a little embarrassed by it. In fact, my question was pretty much off the mark. First, there is no involvement in this problem with XML Notepad 2007. It didn't hijack a file extension or make a registry entry or anything else like that. It's a great little program if you just want to open and examine...
[ 0.1478784680366516, 0.17374975979328156, 0.2523788809776306, 0.3044293522834778, -0.1464204341173172, -0.33497756719589233, 0.25578033924102783, 0.13596276938915253, -0.14046068489551544, -0.3621312379837036, 0.2255575954914093, 0.5148558020591736, -0.018334122374653816, 0.1091675385832786...
to attempt to download a file called browse0.access.xml, is to be in offline mode. If you open up the table of contents, all the content is available except the home page which must require an internet connection. To correct the issue, click the "offline" word in the lower right corner of the application and select "s...
[ 0.11644676327705383, 0.059288520365953445, 0.5351319313049316, 0.16485539078712463, 0.19936606287956238, -0.572068452835083, 0.4730202257633209, 0.37186530232429504, -0.3254978656768799, -0.9286715388298035, -0.5363578200340271, 0.42605075240135193, -0.023470578715205193, 0.460037261247634...
I have an old .dot file with a few dozen styles in it. I need to place them into **another .dot file** that I received. Is there a better way to get them in there than manually recreating each style? There is a 'Style Organizer' tool within Word which will let you copy styles from one document to another if they ar...
[ 0.19175612926483154, -0.01910032145678997, 0.7684229612350464, -0.03690942004323006, -0.3178488612174988, 0.05348001793026924, 0.17437744140625, -0.014204145409166813, -0.2563959062099457, -0.7586007714271545, 0.19472602009773254, 0.7678667902946472, -0.11233372241258621, 0.138169631361961...
was Tools -> Style Organizer or similar.
[ -0.07882332056760788, -0.32442018389701843, -0.07668009400367737, 0.5473790764808655, -0.3844231367111206, -0.0948454737663269, -0.07685337960720062, 0.08877123147249222, 0.33750784397125244, -0.36952105164527893, 0.08084294945001602, 0.17170538008213043, 0.03648170083761215, -0.0268797408...
I get the following error when running my Visual Studio 2008 ASP.NET project (start without Debugging) on my XP Professional box: ``` System.Web.HttpException: The current identity (machinename\ASPNET) does not have write access to 'C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files'. ``` How can ...
[ 0.04592229053378105, 0.3726811707019806, 0.31703656911849976, -0.12992307543754578, -0.04626409709453583, -0.10666075348854065, 0.7099640965461731, -0.054527223110198975, -0.12830674648284912, -0.4783788323402405, -0.033228352665901184, 0.5692604184150696, -0.26502156257629395, 0.005695388...
How do I enumerate the properties of a JavaScript object? I actually want to list all the defined variables and their values, but I've learned that defining a variable actually creates a property of the window object. Simple enough: ``` for(var propertyName in myObject) { // propertyName is what you want // you...
[ 0.14182227849960327, 0.23064497113227844, 0.11381669342517853, -0.15286466479301453, -0.12312418967485428, -0.4006396234035492, 0.21165083348751068, -0.3326285779476166, -0.05002140626311302, -0.5628250241279602, -0.17000393569469452, 0.6038141846656799, -0.24605171382427216, 0.05381903797...
programming would expect anything less! Typically, someone that brings this up has been subjected to Douglas Crockford's warnings about this, which still confuse me a bit. Again, inheritance is a normal part of OO languages and is therefore part of JavaScript, notwithstanding it being prototypical. Now, that said, `ha...
[ 0.35698339343070984, 0.08962073177099228, -0.20531581342220306, 0.024592306464910507, -0.04480470344424248, -0.42935803532600403, 0.2838922441005707, -0.2602652311325073, -0.2868333160877228, -0.330782949924469, -0.11833508312702179, 0.5053418874740601, -0.22679199278354645, 0.164969652891...
its prototype) - while it is true that this might cause unexpected behavior, I personally don't see that as my problem entirely. Just a matter of opinion. Besides, what if I design things in such a way that I use prototypes during the construction of my objects and yet have code that iterates over the properties of the...
[ 0.31560900807380676, 0.14393393695354462, -0.007350963540375233, 0.2661411762237549, -0.13744883239269257, 0.09463297575712204, -0.07268073409795761, 0.0368867963552475, -0.443758100271225, -0.5136227011680603, 0.14767968654632568, 0.14178353548049927, 0.03363873437047005, 0.46367725729942...
example, has specified ways of extending how it works (via `jQuery.extend` and `jQuery.fn.extend`).
[ 0.06533311307430267, -0.18747060000896454, 0.36576440930366516, -0.013617797754704952, 0.23374681174755096, -0.3754425048828125, -0.33888739347457886, 0.027155358344316483, 0.017476510256528854, -0.5838999152183533, -0.6098215579986572, 0.379194051027298, -0.008058702573180199, -0.24143630...
I wrote myself a little downloading application so that I could easily grab a set of files from my server and put them all onto a new pc with a clean install of Windows, without actually going on the net. Unfortunately I'm having problems creating the folder I want to put them in and am unsure how to go about it. I wa...
[ 0.6000002026557922, 0.20452958345413208, 0.5519573092460632, 0.09989888966083527, 0.20853394269943237, 0.06297025084495544, 0.10147304832935333, 0.036795005202293396, -0.3377886712551117, -0.9490068554878235, 0.032267212867736816, 0.5731215476989746, -0.41460034251213074, 0.116996437311172...
I need to write a Delphi application that pulls entries up from various tables in a database, and different entries will be in different currencies. Thus, I need to show a different number of decimal places and a different currency character for every Currency data type ($, Pounds, Euros, etc) depending on the currency...
[ 0.3557898998260498, 0.2709116041660309, 0.34050941467285156, 0.28586307168006897, 0.02658572420477867, 0.3112851679325104, -0.2933988571166992, -0.09230326116085052, -0.4955570697784424, -0.4749605059623718, 0.16792188584804535, 0.07978738099336624, -0.009824316948652267, 0.216990187764167...
associate a LOCALE instead of the currency only with your values. You can use a simple Integer to hold the LCID (locale ID). See the list here: <http://msdn.microsoft.com/en-us/library/0h88fahh.aspx> Then to display the values, use something like: ``` function CurrFormatFromLCID(const AValue: Currency; const L...
[ 0.011077892035245895, -0.228487029671669, 0.832965612411499, 0.012754777446389198, -0.0006038419669494033, 0.3580518662929535, 0.16440953314304352, -0.27179622650146484, -0.07851800322532654, -0.32796475291252136, -0.5368218421936035, 0.29586705565452576, -0.32499513030052185, 0.3269713521...
ShowMessage('GB: ' + CurrFormatFromLCID(val, 2057)); // 2057 = GB_LCID ShowMessage('def: ' + CurrFormatFromLCID(val)); end; ```
[ -0.4214465320110321, 0.017655862495303154, 1.214171290397644, -0.4765050411224365, 0.11006442457437515, 0.10116130113601685, 0.160760298371315, -0.2749463617801666, -0.44859790802001953, -0.4565844237804413, -0.6221102476119995, 0.42707762122154236, -0.21200068295001984, 0.5088810920715332...
How do i measure how long a client has to wait for a request. On the server side it is easy, through a filter for example. But if we want to take into accout the total time including latency and data transfer, it gets diffcult. is it possible to access the underlying socket to see when the request is finished? or is...
[ 0.6150788068771362, -0.14107009768486023, 0.37572434544563293, 0.04428616538643837, -0.2970893681049347, 0.07121744006872177, 0.2617146372795105, -0.07599065452814102, -0.22333259880542755, -0.6679468154907227, 0.189830020070076, 0.4964999258518219, 0.09143660217523575, 0.20441079139709473...
need some JavaScript. You don't want to synchronize the client and server clocks, that's overkill. Just measure the time between when the client makes the request, and when it finishes displaying its response. If the client is AJAX, this can be pretty easy: call new Date().getTime() to get the time in milliseconds wh...
[ 0.22412703931331635, -0.13071972131729126, 0.060545023530721664, 0.20149505138397217, -0.014083455316722393, -0.12446770817041397, 0.13509638607501984, -0.06523564457893372, -0.14327798783779144, -0.9716815948486328, 0.029536180198192596, 0.44134411215782166, -0.2140929102897644, -0.198661...
to the server along with the query, and pass that same timestamp back through to the client when the resulting page is reloaded. In that page's onLoad handler, measure the total elapsed time, and then send it back to the server - either using an XmlHttpRequest or tacking on an extra argument to the next request made to...
[ 0.12767435610294342, -0.19966809451580048, 0.6673806309700012, 0.15702596306800842, -0.06570732593536377, 0.03711792826652527, -0.014433376491069794, -0.3688344657421112, 0.008387092500925064, -0.47175729274749756, -0.5258165001869202, 0.045673709362745285, -0.11148511618375778, 0.08231247...
I'm wondering the *best* way to start a pthread that is a member of a C++ class? My own approach follows as an answer... I usually use a static member function of the class, and use a pointer to the class as the void \* parameter. That function can then either perform thread processing, or call another non-static membe...
[ 0.3065119683742523, 0.17746229469776154, 0.10876468569040298, -0.031231073662638664, 0.11477158963680267, 0.05752204358577728, -0.07681216299533844, 0.12343817949295044, 0.042566534131765366, -0.45730260014533997, -0.06661669909954071, 0.5008264183998108, -0.2724616825580597, 0.35968524217...
My web application has a login page that submits authentication credentials via an AJAX call. If the user enters the correct username and password, everything is fine, but if not, the following happens: 1. The web server determines that although the request included a well-formed Authorization header, the credentials ...
[ 0.01529746875166893, 0.23907901346683502, 0.7469648718833923, 0.05246637761592865, 0.1366148442029953, -0.19946733117103577, 0.45198753476142883, -0.15752658247947693, 0.14741653203964233, -0.4100673198699951, -0.1572285145521164, 0.3605337142944336, -0.0693148672580719, 0.0032110726460814...
up an authentication dialog asking, again, for the username and password. This is all fine up until step 3. I don't want the dialog to pop up, I want want to handle the 401 response in my AJAX callback function. (For example, by displaying an error message on the login page.) I want the user to re-enter their username...
[ -0.10321349650621414, 0.40941449999809265, 0.7598896622657776, -0.13343390822410583, 0.13460110127925873, 0.034406427294015884, 0.27251186966896057, -0.11855453252792358, -0.37764787673950195, -0.5146210789680481, -0.006217841524630785, 0.616085946559906, -0.15324899554252625, -0.216566756...
401) is not an option. Is there any way I can suppress the authentication dialog? In particular, can I suppress the Authentication Required dialog in Firefox 2 or later? Is there any way to suppress the Connect to *[host]* dialog in IE 6 and later? --- **Edit** *Additional information from the author (Sept. 18):*...
[ 0.058472760021686554, 0.2024901956319809, 0.48563462495803833, 0.05596194043755531, 0.2970844507217407, -0.11782585829496384, 0.39733976125717163, -0.06554021686315536, -0.1787559688091278, -0.5857632160186768, -0.18260148167610168, 0.6393631100654602, -0.18391168117523193, -0.283190786838...
he has clicked the submit button or hit enter. His expectation is that he will be taken to the next page or perhaps told that he has entered his information incorrectly and should try again. However, he is instead presented with an unexpected dialog box. The dialog makes no acknowledgment of the fact he just *did* ent...
[ 0.09586083143949509, 0.052621617913246155, 0.5754240155220032, 0.1768645942211151, 0.01310737058520317, -0.1104397103190422, 0.5190097689628601, 0.17605066299438477, -0.28404614329338074, -0.47191229462623596, -0.4692656993865967, -0.03883397951722145, -0.29080742597579956, 0.3657280206680...
a programmer could love. Web broswer designers take note: no one would ask how to suppress the authentication dialog if the dialog itself were simply more user-friendly. The *entire* reason that I am doing a login form is that our product management team rightly considers the browsers' authentication dialogs to be awf...
[ 0.7284996509552002, 0.18279780447483063, 0.15990717709064484, 0.17945434153079987, -0.032798558473587036, -0.47957876324653625, 0.3817746341228485, 0.004145842976868153, -0.17666658759117126, -0.6662853956222534, 0.05196525901556015, 0.8288480639457703, -0.11354675889015198, -0.14297688007...
a 'proxie' for the service that you're accessing on your own server, and have it modify the authentication headers a bit, so that the browser doesn't recognise them.
[ 0.3829493820667267, -0.13491596281528473, 0.19453196227550507, -0.026420414447784424, 0.005572706460952759, -0.26435524225234985, 0.4057372212409973, -0.011298623867332935, 0.12004195153713226, -0.2754640579223633, -0.28521910309791565, 0.04550454020500183, -0.3194655179977417, -0.06291865...
I need to get the default printer name. I'll be using C# but I suspect this is more of a framework question and isn't language specific. The easiest way I found is to create a new `PrinterSettings` object. It starts with all default values, so you can check its *Name* property to get the name of the default printer. `...
[ 0.42587900161743164, 0.22417666018009186, 0.8674338459968567, -0.05442119017243385, 0.002812596270814538, -0.08960990607738495, -0.06511424481868744, -0.059484340250492096, -0.1973564475774765, -0.9668852090835571, 0.19355414807796478, 0.7075403928756714, -0.35758668184280396, 0.2093189209...
documentation seems to suggest it won't work. Apparently *IsDefaultPrinter* is only true when *PrinterName* is not explicitly set.
[ 0.3998650014400482, 0.10209205746650696, 0.7219545841217041, 0.06302962452173233, 0.3317977488040924, -0.32567867636680603, 0.08812205493450165, -0.057473212480545044, -0.21935541927814484, -0.6870508193969727, -0.08124610781669617, 0.059690527617931366, -0.15516090393066406, 0.04384120181...
There are a couple of tricks for getting glass support for .Net forms. I think the original source for this method is here: <http://blogs.msdn.com/tims/archive/2006/04/18/578637.aspx> Basically: ``` //reference Desktop Windows Manager (DWM API) [DllImport( "dwmapi.dll" )] static extern void DwmIsCompositionEnabled( ...
[ -0.10803771764039993, -0.025676371529698372, 0.9170222282409668, -0.008262579329311848, -0.039396125823259354, 0.15398278832435608, 0.45523661375045776, -0.6248701810836792, -0.19020527601242065, -0.5882615447044373, -0.028740575537085533, 0.7142346501350403, -0.1636354625225067, 0.2205325...
a black box over the alpha-ed area //Before SP1 you could also use a black form background ``` That final step is the issue - any sub controls drawn over that area seem to also treat black as the alpha transparency mask. For instance a tab strip over the class area will have transparent text. Is there a way around ...
[ 0.439480185508728, 0.2055843621492386, 0.001845203572884202, -0.052726566791534424, 0.06414754688739777, -0.39356520771980286, 0.3445096015930176, 0.0957990512251854, -0.09165454655885696, -0.6714650988578796, -0.1250716745853424, 0.4521867036819458, -0.3718370497226715, 0.0472430177032947...
exposed by the .NET Framework (yet), so the only way to do it is through some kind of interop (or WPF). As for working with both Windows versions, the code you have should be fine, since the runtime does not go looking for the entry point to the DLL until you actually call the function.
[ 0.2986811697483063, -0.17320582270622253, 0.20706069469451904, 0.07789390534162521, 0.12152925133705139, -0.5380069613456726, 0.42939528822898865, -0.0316227488219738, -0.18948572874069214, -0.6535244584083557, -0.213291198015213, 0.47931981086730957, -0.016124960035085678, 0.0519552901387...
**First, a little background:** I'm displaying a data set with 288 rows and 8 columns (2304 records) using a ScrollableDataTable and the performance leaves a lot to be desired. An AJAX request that rerenders the control takes nearly 20 seconds to complete, compared to 7 seconds when rendering the same data using a Dat...
[ 0.10405974090099335, 0.008335181511938572, 0.5399523973464966, -0.09941262006759644, -0.13521814346313477, 0.3911057412624359, 0.27630648016929626, -0.19652330875396729, -0.20435982942581177, -0.9609696269035339, -0.010954371653497219, 0.4364379644393921, 0.0005183784523978829, -0.03440998...
control cuts the request, response, and render cycle down to 1/3 of what I'm seeing with the ScrollableDataTable, but also removes several important features. **And now the question:** Has anyone else experienced performance issues with the ScrollableDataTable? What's the most efficient way to render large amounts of...
[ -0.18994338810443878, -0.15208764374256134, 0.6621847152709961, 0.36327701807022095, -0.3474727272987366, 0.24495188891887665, 0.10452000051736832, -0.01983792334794998, -0.10742088407278061, -0.6038734912872314, 0.057252779603004456, 0.6208158731460571, -0.06307686120271683, -0.1360518485...
of the JSF lifecycle. It's trying to render too many components for the view at one time. My suggestion is to use pagination. It should significantly increase your performance because it's rendering smaller portions of the view at a time. Be sure that your `rich:dataTable` has the `rows` property set and also -- if y...
[ 0.24874302744865417, -0.13475459814071655, 0.38458722829818726, 0.04614650085568428, -0.06191438063979149, -0.1726759672164917, -0.18625935912132263, -0.040294721722602844, -0.391621470451355, -0.6324166059494019, -0.13848158717155457, 0.6851083636283875, -0.2509119510650635, -0.1571305692...
I'm designing this collection of classes and abstract (MustInherit) classes… ![class diagram](https://web.archive.org/web/20120911004421/http://img396.imageshack.us/img396/1711/nodeclassinheritanceej0.gif) This is the database table where I'm going to store all this… ![database table](https://web.archive.org/web/201...
[ 0.17392222583293915, 0.20340511202812195, 0.49841544032096863, 0.14636145532131195, 0.056012317538261414, -0.11385807394981384, 0.40815165638923645, -0.23191392421722412, -0.346371054649353, -0.7197889685630798, 0.07205112278461456, 0.2559870779514313, -0.3333183526992798, 0.22065053880214...
learned about the LINQ to SQL IsDiscriminator property. [What’s the best way to handle one-to-one relationships in SQL?](https://stackoverflow.com/questions/57152/whats-the-best-way-to-handle-one-to-one-relationships-in-sql) But then I learned that LINQ to SQL only supports single table inheritance. [Can a LINQ ...
[ -0.12274584174156189, 0.0529959499835968, 0.26235610246658325, 0.27109721302986145, -0.05024534836411476, -0.37789180874824524, -0.2086286097764969, -0.48513248562812805, -0.09868624806404114, -0.22347985208034515, 0.10674259066581726, 0.5424675345420837, -0.4160929322242737, -0.1418179422...
any logical (Boolean) expression that > returns TRUE or FALSE based on the > logical operators. For the previous > example, the logical expression is: > salary >= 15000 AND salary <= 100000.
[ 0.18626664578914642, -0.08849960565567017, 0.33642837405204773, 0.12813027203083038, -0.08966629207134247, 0.395579993724823, 0.028780626133084297, -0.3533949553966522, 0.13572922348976135, -0.4839557707309723, 0.09170622378587723, 0.43330466747283936, 0.09928563237190247, 0.20646046102046...
Using a configuration file I want to enable myself to turn on and off things like (third party) logging and using a cache in a C# website. The solution should not be restricted to logging and caching in particular but more general, so I can use it for other things as well. I have a configuration xml file in which I ca...
[ 0.679144024848938, 0.14489248394966125, 0.043062835931777954, 0.008828990161418915, 0.06850434839725494, -0.5327012538909912, 0.048023369163274765, 0.15833641588687897, -0.2510944604873657, -0.7267213463783264, -0.14807991683483124, 0.7198472023010254, -0.39766356348991394, 0.1354055255651...
`true` or `false`. The question is about this part: **What I can do is prepend every logging/caching related statement with `if (logging)` and `if (caching)`. What is better way of programming this? Is there also a programming term for this kind of problem? Maybe attributes are also a way to go?** I'm curious what kin...
[ 0.6394609808921814, 0.2660650610923767, -0.11750368028879166, 0.13786210119724274, -0.257612943649292, -0.2902623414993286, 0.35536617040634155, 0.04509306326508522, -0.08854108303785324, -0.30538567900657654, 0.25967419147491455, 0.7454593777656555, -0.04203662648797035, 0.138505160808563...
logging/caching was on, then you could save your self a bunch of If statements at each instance.
[ 0.30639663338661194, -0.06169048324227333, -0.0860414132475853, 0.31055769324302673, -0.5190111398696899, -0.13239532709121704, 0.38650837540626526, 0.1589895784854889, -0.40945300459861755, -0.11095773428678513, 0.3343949317932129, 0.38503435254096985, -0.03036447986960411, -0.26875868439...
Does anyone know of any 'standard' way to interface with a telephony system (think Cisco CCM) from a C/C++ app in \*nix? I have used MS TAPI in the past but this is Windows only and don't want to go the jTAPI (Java) route, which seems to be the only option on the face of it. I want to monitor the phone system for logg...
[ 0.28620514273643494, -0.2292506992816925, 0.0670357346534729, 0.19862797856330872, 0.021084899082779884, -0.18229086697101593, 0.5545749068260193, 0.17504623532295227, -0.26742470264434814, -0.42496034502983093, 0.2201176881790161, 0.5248725414276123, -0.28839465975761414, -0.3140449523925...
Windows server. Note that I need to integrate with existing PABX systems - notably Cisco CCM and Nortel BCM. I have experience with two telephony standards TAPI, and CSTA, as far as I know there is no such agreement between vendors (e.g. Cisco, Nortel, NEC) regarding THE standard API. I would recommend looking at the...
[ 0.2498738169670105, -0.03559748828411102, 0.643492579460144, 0.1289013773202896, 0.009535440243780613, -0.23121227324008942, 0.10380244255065918, 0.15043297410011292, -0.37792718410491943, -0.7631474137306213, -0.3574385941028595, 0.611664354801178, -0.2332170158624649, -0.1558708548545837...
the format between the PBX vendors will be different but hopefully this could be abstracted away so that the core application functionality is re-usable. This is likely to be a more portable option, again assuming no call/device control is required, as you are not relying on the vendor providing CTI connectivity on yo...
[ 0.34763893485069275, -0.04563840106129646, 0.5241587162017822, 0.1884480118751526, -0.025520864874124527, -0.26826417446136475, -0.21333491802215576, 0.0918128713965416, -0.1931856870651245, -0.6690346598625183, -0.4138718843460083, 0.31235063076019287, -0.22223632037639618, 0.093733571469...
I have a Perl script that I'm attempting to set up using Perl Threads (use threads). When I run simple tests everything works, but when I do my actual script (which has the threads running multiple SQL*Plus sessions), each SQL*Plus session runs in order (i.e., thread 1's sqlplus runs steps 1-5, then thread 2's sqlplus ...
[ 0.5448837280273438, -0.027256324887275696, 0.20493634045124054, 0.047153979539871216, -0.23444685339927673, -0.10044455528259277, 0.42777183651924133, -0.05657016485929489, -0.38906580209732056, -0.4527410864830017, 0.4848822355270386, 0.14586211740970612, -0.5060243606567383, 0.1183590814...
have one CPU only one thread can use it at any time. 2. Are there transactions or locks involved with steps 1-6 that would prevent it from being done concurrently? 3. Are you certain you are using multiple connections to the database and not sharing a single one between threads?
[ 0.5529269576072693, -0.1646519899368286, 0.06468706578016281, 0.35022568702697754, 0.32630565762519836, -0.28457215428352356, 0.08065957576036453, -0.25341591238975525, -0.5836736559867859, -0.48540040850639343, 0.22279483079910278, 0.29898008704185486, -0.4249597489833832, -0.173467367887...
I have searched around, and it seems that this is a limitation in MS Access, so I'm wondering what creative solutions other have found to this puzzle. If you have a continuous form and you want a field to be a combo box of options that are specific to that row, Access fails to deliver; the combo box row source is only...
[ 0.21190963685512543, -0.18746145069599152, 0.4183497726917267, 0.1941886842250824, 0.038776833564043045, 0.03323173522949219, 0.2744463384151459, -0.025967465713620186, -0.06950227171182632, -0.7343998551368713, -0.16853876411914825, 0.5234740376472473, -0.14654229581356049, 0.113990142941...
does in fact limit the options to the given row. However, at this point, Access goes nuts, and requeries *all* of the combo boxes, for every row, and the result is often that of disappearing and reappearing options in other rows, depending on whether they have chosen an option that is valid for the current record's row...
[ 0.057444777339696884, 0.2055555135011673, 0.12526409327983856, 0.1982305943965912, 0.20083151757717133, 0.0705752745270729, 0.2705405056476593, 0.19250981509685516, -0.48221611976623535, -0.6135408282279968, 0.0505770668387413, 0.42046788334846497, -0.2753576934337616, 0.3363701403141022, ...