text
stringlengths
0
30.5k
title
stringclasses
1 value
embeddings
listlengths
768
768
I have a manager that holds connections to the server. I keep the connection alive and i want my threads to request connections when it needs. My question is How do i have track objects automatically? I would like it to work similar to scoped pointer. I request a connection, then when my obj goes out of scope it tells...
[ 0.14264875650405884, 0.014302787370979786, 0.4228507876396179, -0.030968282371759415, 0.061203643679618835, -0.022428346797823906, 0.39032143354415894, 0.12068929523229599, -0.4400802254676819, -0.8833944201469421, 0.16962715983390808, 0.4795270562171936, -0.5973405838012695, 0.11642127484...
your own wrapper object and implements `IDisposable`. In the `Dispose()` method, signal the manager that you're no longer in use. You can then have your statement like... ``` using(Obj obj = Man.GetObj()) { Obj.DoSomething(); } ``` The `using` block automatically calls the `Dispose()` method at the close of the ...
[ 0.13624690473079681, -0.19018012285232544, 0.2837929427623749, -0.20164082944393158, 0.1363290548324585, -0.39199942350387573, 0.3274420499801636, -0.28134816884994507, -0.16845425963401794, -0.7315293550491333, -0.4636220932006836, 0.6458426713943481, -0.4502658247947693, 0.21753247082233...
I have List collection that is populated in specific order (the requirement is that, this order can not be changed). This list contains entity type objects. After initial population of the list, I need to insert few more object, that are coming from another data source. These objects need to be inserted at specific p...
[ 0.16066806018352509, 0.05509018152952194, 0.4039740562438965, -0.08799229562282562, -0.11186324805021286, 0.19352608919143677, 0.16431310772895813, -0.6824005246162415, -0.3502158224582672, -0.505005955696106, -0.10221326351165771, 0.12973086535930634, -0.37816092371940613, 0.1193499416112...
elements. ``` private static int FindPositionForArticle(string word) { string key = word.ToLower(); for (int i = word.Length; i >= 0; i--) { if(i < word.Length) key = key.Remove(i, 1);
[ -0.26095104217529297, -0.2105085253715515, 0.40215712785720825, -0.2871035635471344, 0.36014580726623535, 0.008562687784433365, 0.3578302562236786, -0.4622284770011902, 0.12903350591659546, -0.3888162076473236, -0.4201671779155731, 0.43881022930145264, -0.23962673544883728, 0.0901793539524...
int pos = 0; int insertPos = 0; foreach(ArticleEntity article in list) { if(article.Text.ToLower().StartsWith(key)) insertPos = pos; else
[ -0.413939505815506, 0.09245487302541733, 0.5905613303184509, -0.36553955078125, 0.32020625472068787, 0.018535753712058067, 0.11222680658102036, -0.31777313351631165, -0.09606260061264038, -0.27018192410469055, -0.5716537833213806, 0.7036617398262024, -0.4041905105113983, -0.266377180814743...
if (!article.Text.ToLower().StartsWith(key) && insertPos > 0) return insertPos++; pos++; } } return 0; } ``` The purpose idea behind this method: 1. Take "word" that need to be inserted and try to find position of element with same name as "word" 2.
[ -0.18006549775600433, -0.07498697936534882, 0.04441533237695694, -0.3521251678466797, 0.20220431685447693, -0.29284194111824036, 0.043772488832473755, -0.5204318165779114, 0.2633988857269287, -0.49977800250053406, -0.20394307374954224, 0.6687038540840149, -0.6089798212051392, -0.2152181565...
If nothing has been found, remove last character from "word" and search again. 3. Repeat removal of last characters until best position has been found. Unfortunately my methods has bugs(implemented incorrectly). Currently my methods suggests that best position would be 0, which is totally incorrect. If You want to pl...
[ 0.0444817878305912, -0.13683189451694489, 0.6346185803413391, 0.05678953602910042, 0.18317930400371552, -0.0679948702454567, 0.4182707965373993, -0.13233430683612823, -0.34890806674957275, -0.7180210947990417, -0.19275438785552979, 0.5884245038032532, -0.2794691026210785, -0.09712199866771...
= list.BinarySearch("ABB"); // => -4 int insertIndex = ~index; // => 3 list.Insert(insertIndex, "ABB"); ```
[ -0.17420469224452972, 0.09330763667821884, 0.18251588940620422, -0.36895379424095154, 0.25082728266716003, 0.16310153901576996, 0.24526597559452057, -0.3007510304450989, -0.23936408758163452, -0.3580843210220337, -0.45065632462501526, 0.5821185111999512, -0.5457410216331482, -0.07729812711...
Briefly, I need to create a server whose back end queries information from another server. I'm wondering how others might approach this problem. Here's a longer description of the problem: I need to create a server (call this server Alpha) that makes requests to another server (call this server Omega) based on web pag...
[ 0.23553064465522766, 0.2643357515335083, 0.2997957766056061, -0.03500941023230553, 0.07706838101148605, -0.037455637007951736, 0.1118542030453682, -0.017245426774024963, -0.1863718330860138, -0.5427396893501282, 0.04594233259558678, 0.39364495873451233, -0.44484320282936096, 0.296127796173...
the client's buddy list. Alpha then displays a web page with the buddy list. The clients cannot connect directly to Omega. The server Alpha pretty much just handles client connections, manages queries from the client to the Omega server and serves new web pages (which could contain information queried from Omega). I'...
[ 0.2569548189640045, -0.03127776086330414, 0.47708702087402344, -0.17935429513454437, -0.20428568124771118, -0.11297345906496048, 0.20125295221805573, -0.08762498199939728, -0.3132365643978119, -0.49748674035072327, -0.0915607213973999, 0.6452951431274414, -0.520061194896698, 0.087163351476...
Alpha server from scratch. Which approach would you use? Is there another approach that is better? Without having more detail about what you're doing, it sounds like either of these approaches would be overkill. If I were doing buddy list querying in a modern Web programming environment, I would consider something li...
[ 0.11420701444149017, 0.010918348096311092, -0.21154707670211792, -0.017806589603424072, -0.35483112931251526, -0.09513407945632935, 0.06975863873958588, -0.15010055899620056, -0.2647753357887268, -0.595652163028717, 0.16479763388633728, 0.2529948651790619, -0.538024365901947, 0.12410275638...
requests from users come to Alpha via the www. * My Web app on Alpha connects to Omega via the appropriate protocol. This might be XMPP to query a Jabber server, or LDAP, or whatever. Omega returns its results. * Web app on Alpha uses these results to build a page to return to the user.
[ 0.5667973160743713, 0.06952977180480957, 0.44549667835235596, 0.02684708684682846, -0.13740092515945435, 0.14297154545783997, 0.30854132771492004, -0.1925562471151352, -0.003157784231007099, -0.7533336281776428, -0.40320897102355957, 0.06800975650548935, -0.5341969132423401, 0.096245832741...
How can I manage multiple SVN repositories/trac instances easily? I have a bunch of projects that I want to consolidate into a single authentication scheme. Also, I want to be able to enable plugins for every project and configure a bunch of trac options for multiple projects all at one time. It would also be nice to ...
[ 0.19787108898162842, 0.15968316793441772, 0.3475639820098877, 0.06002510339021683, -0.14538255333900452, -0.4113251566886902, 0.4704906940460205, 0.017330782487988472, -0.2346336990594864, -0.4685952961444855, 0.15367859601974487, 0.4263175129890442, -0.2551819980144501, 0.246040478348732,...
I want to check multiple controls state in one method, in C# this would be accomplished like so: ``` if (((CheckBox)sender).Checked == true) { // Do something... } else { // Do something else... } ``` So how can I accomplish this in VB? C#: ``` (CheckBox)sender ``` VB: ``` CType(sender, CheckBox) ```
[ 0.30936411023139954, -0.07010771334171295, 0.3305579423904419, 0.18334856629371643, 0.13010546565055847, -0.17904974520206451, 0.17680810391902924, -0.4794604182243347, 0.04279371723532677, -0.4915163815021515, 0.1491185873746872, 0.75382399559021, -0.612625777721405, 0.004959979560226202,...
I need to get notified whenever a user clicks a link on a page in an iframe that is not from the same domain. I'm aware of xss restrictions, however all i need to know is the current page being served in the Iframe. Is there a way to do this without violating xss rules? If not for cross-site scripting restrictions this...
[ 0.6649096012115479, 0.351543664932251, 0.4327290952205658, -0.07981528341770172, -0.05962057411670685, -0.5921677947044373, 0.2692096531391144, 0.14934849739074707, -0.2565504312515259, -0.6390566229820251, -0.031048616394400597, 0.2564240097999573, -0.32868698239326477, 0.3688430190086365...
function GetIFrameUrl() { alert('url = ' + document.frames['frame1'].location.href); } </script> </head> <body> <a href="#" onclick="GetIFrameUrl();">Find the iFrame URL</a> <iframe name="frame1" src="http://www.google.com" width="100%" height="400...
[ -0.0016175243072211742, -0.20145079493522644, 0.8124167323112488, -0.18818533420562744, 0.10101950168609619, 0.23076359927654266, 0.3007950782775879, -0.319317102432251, -0.24105170369148254, -0.5746110081672668, -0.626625120639801, 0.5324705839157104, -0.4333219826221466, -0.2966843247413...
Relating to another [question I asked yesterday](https://stackoverflow.com/questions/744693/how-do-i-detect-if-im-running-in-the-console) with regards to logging I was introduced to TraceListeners which I'd never come across before and sorely wish I had. I can't count the amount of times I've written loggers needlessly...
[ 0.2069518268108368, 0.07806028425693512, 0.31164899468421936, 0.12742362916469574, 0.007254316937178373, -0.23590268194675446, 0.28108158707618713, 0.017649950459599495, -0.32763633131980896, -0.3835795819759369, 0.4321959316730499, 0.3613235354423523, -0.20790161192417145, -0.014079160057...
components of their applications had they only known that .NET already had a built in means of supporting it? It would be handy if other developers posted scenarios where they frequently come across components or blocks of code that are completely needless in hindsight had the original developer only known of a built ...
[ 0.5650864839553833, 0.1775970458984375, -0.07778039574623108, 0.20133383572101593, 0.1233307495713234, -0.21491841971874237, 0.5011526346206665, 0.15239360928535461, -0.17192186415195465, -0.4441230595111847, -0.028419891372323036, 0.48241937160491943, -0.3473813235759735, -0.0580095201730...
have been documented before - I'm looking for often overlooked framework components that through my own (or the original developer's) ignorance have written/rewritten their own components/classes/methods needlessly. Also: * [Hidden Features of ASP.NET](https://stackoverflow.com/questions/54929/hidden-features-of-asp-n...
[ 0.2711389362812042, 0.1172739565372467, -0.019282205030322075, -0.08769767731428146, 0.05097837746143341, 0.03180154412984848, 0.4121582508087158, -0.16896943747997284, -0.5319387912750244, -0.35749462246894836, -0.18641126155853271, 0.667134702205658, -0.041203077882528305, -0.03148515895...
`GC.Collect` appears to start the garbage collection in a background thread, and then return immediately. How can I run `GC.Collect` synchronously -- i.e., wait for the garbage collection to complete? This is in the context of NUnit tests. I tried adding the [gcConcurrent](http://msdn.microsoft.com/en-us/library/at1st...
[ 0.29857560992240906, -0.17284390330314636, 0.4408021867275238, 0.04725733399391174, -0.2843831777572632, -0.3531472980976105, 0.37462490797042847, -0.11527259647846222, -0.26012274622917175, -0.3434080481529236, -0.03232405707240105, 0.48026490211486816, -0.3873961269855499, 0.032595537602...
leak (don't call Dispose on) a particular class. So I've added a finalizer to that class that sets a static `wasLeaked` flag; then my test TearDown calls `GC.Collect()` and then throws if `wasLeaked` is true. But it's not failing deterministically, because when it reads `wasLeaked`, the finalizer usually hasn't even be...
[ 0.2909897267818451, -0.3056483268737793, 0.2529001533985138, 0.006134692579507828, 0.0052387649193406105, -0.38405197858810425, 0.27536648511886597, -0.10504287481307983, 0.008040348067879677, -0.5273526310920715, -0.04519249126315117, 0.5997340083122253, -0.4328596293926239, 0.30884844064...
for the finalizer thread to complete.
[ -0.03146971017122269, -0.03393702581524849, 0.6374326944351196, -0.0374818854033947, 0.19099663197994232, 0.1376272439956665, 0.23062141239643097, -0.1201295256614685, -0.055928900837898254, -0.422282874584198, -0.25943872332572937, 0.3267947733402252, 0.20722615718841553, -0.0371597111225...
I have this code to send mail: ``` public bool SendMail(MailMessage message) { message.From = new MailAddress(AppProperties.FromMailAddress, AppProperties.FromDisplayName); SmtpClient smtp = new SmtpClient { EnableSsl = AppProperties.EnableSsl }; try { smtp.Send(message); return true; ...
[ 0.04353132098913193, -0.02159554697573185, 0.8151720762252808, -0.2548421025276184, 0.16903895139694214, 0.06073321774601936, 0.6777403354644775, -0.2974368929862976, -0.1652517020702362, -0.7381260395050049, -0.253776490688324, 0.21548345685005188, -0.48901811242103577, 0.2800944149494171...
<system.net> <mailSettings> <smtp deliveryMethod="Network"> <network host="localhost" userName="" password="" defaultCredentials="false" port="25" /> </smtp>
[ -0.3761971890926361, -0.30646461248397827, 0.2579667270183563, -0.12625178694725037, 0.02061491087079048, 0.17027294635772705, 0.5686278343200684, 0.23846770823001862, -0.5644092559814453, -0.6679080724716187, -0.4396696984767914, 0.0607149675488472, -0.3359113335609436, 0.3964067399501800...
</mailSettings> </system.net> ``` What do I have to do to send mail with my IIS 5.1 in Windows XP? Is possible to do it? I guess yes, as you say, since I don't get any exception, but I don't receive it on destination. If I should put an user and a password, wich must be? You should first install SMTP server (Window...
[ -0.0788012370467186, -0.008400807157158852, 0.5201430320739746, -0.17105737328529358, -0.25103825330734253, -0.3231877088546753, 0.7262972593307495, -0.169143944978714, -0.28066927194595337, -0.7168578505516052, -0.08069872856140137, 0.1820317655801773, -0.44471290707588196, 0.156617715954...
Select - Only the list below > Add > 127.0.0.1
[ 0.046032678335905075, -0.14705650508403778, 0.3280843198299408, 0.0649787187576294, 0.04737883806228638, -0.11908981949090958, -0.13810904324054718, -0.41273006796836853, -0.08189988136291504, -0.5605270862579346, -0.21503250300884247, 0.4181418716907501, -0.26382800936698914, 0.0414239205...
In the app I am writing, I am trying to find a way to store hierarchies effectively. Here is an [example](http://www.battlestarvfx.com/images/bsg_breakouttutorial/BSG_TUT_CompTest_Fusion_GUI.jpg). At the bottom, you can see the nodes to be stored. Should I use multi dimensional lists? That doesn't seem very optimal, r...
[ 0.05369389429688454, 0.11518034338951111, 0.30474376678466797, 0.09832213819026947, -0.048288967460393906, 0.2896956503391266, -0.008791433647274971, -0.1301485002040863, -0.5734164714813232, -0.5254079699516296, -0.17228242754936218, 0.16994337737560272, -0.4295099377632141, -0.0098952148...
Any good sources(links) about optimizing Telerik Web controls? I imagine that there are features that are turned on by default. These features require resources (javascript, css, images) to be downloaded on request. It would be nice to know what these feature are and to turn them off if not used. Do you know of such ...
[ 0.17812314629554749, -0.06610162556171417, 0.30463704466819763, 0.20784126222133636, -0.3770677149295807, -0.3282417356967926, 0.09001339226961136, -0.2152937352657318, -0.31959009170532227, -0.5178604125976562, 0.3932987451553345, 0.6474176645278931, -0.059000395238399506, -0.312516748905...
I have a small project that uses libglade and use the following to load the xml file: ``` self.gladefile = "sdm.glade" self.wTree = gtk.glade.XML(self.gladefile) self.window = self.wTree.get_widget("MainWindow") if (self.window): self.window.connect("destroy", gtk.main_quit) dic = { "on_button1_clicked" : self.b...
[ 0.0067697325721383095, 0.051431212574243546, 0.6773741245269775, -0.1905704140663147, -0.22913338243961334, -0.03351478651165962, 0.2514677047729492, -0.15207330882549286, -0.022704197093844414, -1.228236198425293, -0.09765377640724182, 0.4480181634426117, -0.0257590189576149, 0.1868631094...
the builder class: ``` self.window = self.wTree.get_object("MainWindow") if self.window: self.window.connect("destroy", gtk.main_quit) ``` To connect the signals, just use `connect_signals`, which also takes a dictionary: ``` dic = { "on_button1_clicked" : self.button1_clicked, "on_MainWindow_destroy" : gt...
[ -0.046470239758491516, -0.04939369484782219, 0.15493065118789673, -0.16173259913921356, -0.23486009240150452, -0.179128497838974, 0.451775461435318, -0.2653246521949768, 0.080503448843956, -0.8852866888046265, 0.009024408645927906, 0.6024594306945801, -0.3138885498046875, 0.245081409811973...
Is there any way to grab any information from the top from within an iframe on a separate domain? Somebody has tasked me with validating that their advertising is not next to things like pornography, etc... but their ads are always inside an iframe on publisher sites. Interestingly, when I put twitter.com in an iframe...
[ 0.3778257668018341, -0.06112850457429886, 0.6380640268325806, 0.15729859471321106, -0.17628982663154602, -0.4043838381767273, 0.1868799477815628, 0.16747982800006866, -0.3215402364730835, -0.5077282190322876, -0.0018365116557106376, 0.5327073335647583, -0.23211461305618286, 0.0018997906008...
or window.top.href to get the URL of the top window, I get ``` uncaught exception: [Exception... "Component returned failure code: 0x8007000e (NS_ERROR_OUT_OF_MEMORY) [nsIDOMNSHTMLDocument.write]" nsresult: "0x8007000e (NS_ERROR_OUT_OF_MEMORY)" location: "JS frame :: http://tester.tester.com/iframe3.html :: <TOP_LE...
[ -0.04260218143463135, 0.18077604472637177, 0.37583062052726746, 0.18793010711669922, 0.09114298969507217, -0.22722072899341583, 0.4657526910305023, 0.01696189120411873, -0.13756516575813293, -0.6338788866996765, -0.3431186378002167, 0.37904345989227295, 0.01592184603214264, -0.094365872442...
an equality statement available because the iframe doesn't actually get the data while getting the data itself is not available? It's an ancient quirk of JavaScript that you can always get the ‘window’ object of a cross-domain frame/iframe/parent/opener. But — for obvious security reasons — you can't access most membe...
[ 0.2482927143573761, 0.27478718757629395, -0.07321912050247192, 0.17132771015167236, -0.15881648659706116, -0.273425817489624, 0.3812832534313202, -0.0390140563249588, 0.010784408077597618, -0.6759271025657654, 0.00896342471241951, 0.3669886291027069, -0.4150521755218506, 0.1086362972855568...
the current one. If you want to test whether an unknown window is at least inside your own domain, you can try to access `otherwindow.location` inside a `try...catch` block. > Is there any way to grab any information from the top from within an iframe on a separate domain? No, but you can record the ‘Referer’ header...
[ 0.2619989514350891, -0.25882425904273987, 0.8409855365753174, 0.22397246956825256, -0.04940452799201012, -0.1673392951488495, -0.01494650263339281, 0.2675846815109253, -0.4634397029876709, -0.6316736936569214, 0.22180670499801636, 0.4752284288406372, -0.20271135866641998, 0.328942418098449...
The shortest idiom for this test is: ``` if (top!==self) ``` which works as long as you aren't defining any other variables called ‘top’ or ‘self’.
[ -0.17620976269245148, -0.15371166169643402, 0.16749660670757294, 0.039401885122060776, -0.006803053896874189, -0.18791264295578003, 0.506496012210846, -0.06545381247997284, 0.02179303951561451, -0.16463176906108856, -0.28690892457962036, 0.5830199122428894, -0.1493440419435501, -0.21198166...
Is there a simple way to open a web page within a GUI's JPanel? If not, how do you open a web page with the computer's default web browser? I am hoping for something that I can do with under 20 lines of code, and at most would need to create one class. No reason for 20 though, just hoping for little code... I am p...
[ 0.44262629747390747, 0.12678900361061096, 0.1009955108165741, 0.4078177213668823, -0.31280720233917236, -0.11171963065862656, 0.3853226900100708, 0.23737473785877228, -0.060549307614564896, -0.6013354659080505, 0.23977898061275482, 0.3330860137939453, -0.035798199474811554, 0.0144234681501...
with my code. Opening a web page with the default web browser is easy: ``` java.awt.Desktop.getDesktop().browse(theURI); ``` Embedding a browser is not so easy. `JEditorPane` has *some* HTML ability (if I remember my limited Swing-knowledge correctly), but it's very limited and not suiteable for a general-purpose br...
[ 0.3393481373786926, 0.12681008875370026, 0.47297531366348267, -0.22724726796150208, -0.2714337110519409, -0.30480480194091797, 0.4768661558628082, -0.41148415207862854, -0.034775614738464355, -0.7339341640472412, -0.230039581656456, 0.562026858329773, -0.2118549793958664, -0.14140117168426...
I did a build of my SharePoint site template solution assembly and successfully deployed it to SharePoint, it was version 6.4.0.2032. I did some testing and found a couple problems with my code. I fixed the issues. Uninstalled my solution via "setup.bat /uninstall". Rebuilt my assembly to version 6.4.0.2033. I again in...
[ 0.19022196531295776, 0.29799842834472656, 0.6129757165908813, -0.28297159075737, 0.06745823472738266, 0.11707498133182526, 0.7538461089134216, -0.3730791211128235, -0.28343212604522705, -0.9591087102890015, 0.2242952287197113, 0.5072192549705505, -0.2408185452222824, 0.31111234426498413, ...
w3wp.exe (0x0AA8) 0x0BE4 Windows SharePoint Services Web Parts 8l4f Monitorable Error importing WebPart. Assembly SharePoint.Site, Version=6.4.0.2032, Culture=neutral, PublicKeyToken=db45c0486d0dc06d, TypeName. SharePoint.Site.MetadataSearch, SharePoint.Site, Ver...
[ 0.156913161277771, 0.1294182986021042, 0.1826062947511673, -0.05666370317339897, 0.16573986411094666, 0.009513670578598976, 0.8298395276069641, -0.2987041473388672, -0.13661980628967285, -0.4956754744052887, -0.15726786851882935, 0.477812260389328, -0.3598592281341553, 0.3417274057865143, ...
not get removed. When the new version is re-depolyed these ".webpart" files do not get updated and continue to point to the previous assembly version. To see what assembly version your Web Parts are referencing: 1. Open the top level site settings in SharePoint (Site Actions > Site Settings > Go to top level site set...
[ 0.5776602625846863, 0.1571468561887741, 0.5671425461769104, 0.11370477080345154, 0.04761526733636856, -0.05255696922540665, 0.4675943851470947, -0.2898997664451599, -0.40437525510787964, -0.49359118938446045, -0.27572354674339294, 0.2736581563949585, -0.3695937395095825, 0.1302286386489868...
it to this Web Part Gallery list (remember to check "overwrite the existing files") If you can't find the ".webpart" file, you can always just download the copy from the "Web Part Gallery" and manually modify it. Hope that helps.
[ 0.4113198518753052, -0.21453136205673218, 0.371519535779953, 0.44147005677223206, 0.16094040870666504, -0.40061768889427185, 0.2208612561225891, 0.09918861091136932, -0.16946935653686523, -0.7492181062698364, 0.05208433046936989, 0.6372025012969971, 0.05627131089568138, 0.13617119193077087...
I have at least 100 xml files each about 300 MB with email messages basically in the format listed below. Now my question is, how do I get this data into say SQL Sever database so that I can perform query on this data. My queries would be along the lines of: Has a certain person sent an email to another certain perso...
[ 0.4896117150783539, 0.28319984674453735, 0.2788730263710022, -0.05039909482002258, -0.054446861147880554, 0.02027112990617752, 0.25073882937431335, -0.19567298889160156, -0.3776473104953766, -0.4989855885505676, 0.15683279931545258, 0.24999235570430756, -0.05256480723619461, 0.177053257822...
with the Xpath(?) queries to do what I need. Is it even possible to do this in Xpath? 2) Loading each file into .NET DataSet using ReadXML and ReadSchema. This seems to Load fine and it seems to create the right number of DataTable with the foreign keys etc but this would mean I will have to create 100 sets of table o...
[ -0.03645196557044983, 0.19742560386657715, 0.48277294635772705, 0.2170933037996292, -0.2793740928173065, -0.11904415488243103, 0.2511899173259735, -0.2145480513572693, -0.23413515090942383, -0.9307035803794861, 0.11783342808485031, 0.46210113167762756, -0.34176719188690186, 0.1864062696695...
<LastName>Y</LastName> <AccountName>121212</AccountName> <CorporateEmailAddress>someone@somewhere.com</CorporateEmailAddress> </UserInfo> </Sender> <Recipient DeliveryType = " "> <UserInfo> <FirstName>A</FirstName> <LastName>B</LastName> <FirmNumber>7593</FirmNumber> ...
[ 0.07190931588411331, 0.36861690878868103, 0.2756318151950836, -0.2055143415927887, 0.2963232696056366, 0.3413555324077606, -0.09925942122936249, -0.009012099355459213, -0.1664201319217682, -0.5085352659225464, -0.015591073781251907, 0.46084800362586975, 0.423919141292572, 0.134776279330253...
<FileID>503242486522279_37715772.htm</FileID> <FileSize>31175</FileSize> </Attachment> <MsgBody> This is the message Body </MsgBody> ``` Use the **Xml Bulk Load** component <http://support.microsoft.com/kb/316005>
[ -0.12162156403064728, 0.11841646581888199, 0.5756024718284607, -0.050841983407735825, -0.1976049691438675, 0.007771817501634359, -0.2600655257701874, 0.04827147722244263, -0.2845761179924011, -0.6913735270500183, -0.34043416380882263, -0.10068966448307037, -0.3049783408641815, 0.0410972423...
I have created setup project in Visual Studio 2008. How do I run this setup with admin privileges - I have tried Right-Click, run as administrator. Vista does not prompt me for password. Am I missing something? PK When you right-click and choose "Run as administrator", do you get any kind of popup dialog at all? Also,...
[ 0.6693583726882935, 0.22125187516212463, 0.16432155668735504, 0.12877130508422852, -0.10659991204738617, -0.43499597907066345, 0.05894960090517998, -0.16968302428722382, -0.24290844798088074, -0.690041720867157, 0.004785656463354826, 0.8617772459983826, -0.0999898687005043, -0.004233566112...
be prompted for a password, you'll need to log in with a Standard user account. If you get no popup dialog at all, then my guess is one of the following has happened: * You have User Account Control (UAC) turned off completely Check under "User Accounts" in Control Panel. * You're running from a Standard user account...
[ 0.20196832716464996, -0.11186877638101578, 0.3175658583641052, 0.18525652587413788, 0.16917699575424194, -0.18561558425426483, 0.5781923532485962, 0.24359716475009918, -0.20906732976436615, -0.7047511339187622, -0.2928478717803955, 0.6429818272590637, -0.0814627856016159, 0.250014871358871...
I am VERY new with teamcity so please bear with me I set up an email notifier to let me know when a build has failed, but TeamCity is reporting the following error: > Failed to send email notification via > SMTP server mail, due to error: > Unknown SMTP host: mail; nested > exception is: > java.net.UnknownHostExc...
[ 0.10545425862073898, 0.03911169618368149, -0.01973070576786995, -0.250714510679245, -0.18552850186824799, -0.22097167372703552, 0.6362962126731873, -0.2877424359321594, -0.1604587435722351, -0.873532772064209, 0.24771669507026672, 0.3323780596256256, -0.2591581642627716, -0.192815884947776...
Description ------ ---------- SMTP host Specify the SMTP host name. SMTP port Specify the SMTP port number. Send messages from Specify the email address, from which notification messages will be sent to the user. SMTP login Specify the SMTP login
[ -0.17207501828670502, -0.08349650353193283, 0.6855131387710571, -0.05554353818297386, 0.09847882390022278, 0.18767209351062775, 0.1961166262626648, 0.23402392864227295, -0.18406763672828674, -0.669468879699707, -0.3003931939601898, -0.207969069480896, -0.15408678352832794, 0.60141849517822...
name, if any. SMTP password Specify the SMTP password. Use TLS (SSL) Select this option to secure your SMTP connection with TLS. (This feature is only available in TeamCity 3.1+) Test connection Click this button to establish a connection with the specified SMTP host. Sav...
[ 0.22379660606384277, -0.5192561745643616, 0.10016797482967377, 0.24671773612499237, 0.19637231528759003, -0.37544551491737366, 0.545839786529541, 0.36413678526878357, -0.10722494125366211, -0.8139790892601013, -0.2897605299949646, 0.1205451488494873, -0.23906321823596954, 0.136698514223098...
Click this button to save changes and close the page. ``` source: <http://www.jetbrains.net/confluence/display/TCD3/Email+and+Jabber+Notifier+Settings>
[ 0.20974089205265045, 0.17519164085388184, 0.6314436197280884, -0.10966350138187408, 0.2212855964899063, -0.22853010892868042, 0.04801572859287262, 0.2340628057718277, -0.11368453502655029, -0.6961890459060669, -0.3557940721511841, 0.3391009569168091, -0.6779780387878418, -0.144155472517013...
What do I have to do in order to be able to step into ASP.NET MVC framework functions when debugging my own ASP.NET MVC application in Visual Studio 2008? I've currently installed the framework via the [MSI installer](http://www.microsoft.com/downloads/details.aspx?FamilyID=53289097-73ce-43bf-b6a6-35e00103cb4b&displayl...
[ 0.3105015456676483, 0.28396379947662354, 0.4111761450767517, -0.21134021878242493, -0.0961969718337059, -0.24954146146774292, 0.506290078163147, -0.23987451195716858, -0.1872827261686325, -0.5137008428573608, -0.033926624804735184, 0.5243473649024963, -0.17576128244400024, 0.10738820582628...
I have SMS based survey application which takes in a survey domain, and a answer. I've gotten requests for detailed DDL, so.... The database looks like [this](https://imgur.com/7QFE.jpg) SurveyAnswer.Answer must be unique within all **active** Surveys for that SurveyDomain. In SQL terms, this should always return 0.....
[ 0.10102128237485886, 0.06928931176662445, 0.6445305943489075, -0.11335057020187378, -0.1381893754005432, 0.24796326458454132, 0.37578630447387695, -0.3386467397212982, -0.3525765836238861, -0.4081166088581085, 0.019713742658495903, 0.3425719738006592, -0.12429922074079514, -0.1882018446922...
is the best way to do this? Trigger? Possible in a constraint? As you are covering 2 tables there is AFAIK only 2 ways to enforce this. 1. Trigger as you suggested. 2. Indexed view with unique constraint accross the 3 columns. As far as reliability is concerned I would go for the Indexed view but the only downside is...
[ 0.13070856034755707, -0.2017819881439209, 0.4957740306854248, 0.1045069694519043, -0.35425883531570435, -0.1054304763674736, 0.09274797141551971, -0.6009168028831482, -0.23598019778728485, -0.2653161287307739, 0.26374712586402893, 0.7291942238807678, -0.5689364671707153, -0.289537936449050...
I have a text box where I want to limit the number of selected items to MaxSelection. The desired behaviour is that once MaxSelection items are selected any futher selections are ignored. (Thus this question is different from "[limit selections in a listbox in vb.net](https://stackoverflow.com/questions/541883/limit-se...
[ -0.09332630038261414, -0.3158460259437561, 0.3780997693538666, -0.012487447820603848, -0.10249412804841995, 0.08412826806306839, 0.11651238054037094, -0.391171932220459, -0.27825185656547546, -0.5081208348274231, -0.15764519572257996, 0.5593656301498413, -0.20136864483356476, 0.18469823896...
further down the list. In this case, more than one SelectedIndexChanged event is raised: one for the Shift-click which selects the item that was Shift-clicked, and one to select all the items between the original selection and the Shift-clicked selection. The first of these events allows the user to select the Shift-cl...
[ -0.13139206171035767, -0.38370007276535034, 0.22466759383678436, 0.18751224875450134, -0.054771434515714645, 0.38080015778541565, -0.23464834690093994, -0.3509823977947235, -0.45586177706718445, -0.5920451879501343, -0.31821608543395996, 0.6224631667137146, -0.1952282041311264, -0.03267748...
the first event (which is only the originally selected item). Is there any way to retain the selection before the Shift-click? Thanks, Rob Here's the SelectedIndexChanged event handler: ``` void ChildSelectionChanged(object sender, EventArgs e) { ListBox listBox = sender as ListBox; //If th...
[ -0.0770081877708435, -0.5451565980911255, 0.11454860121011734, 0.1296573281288147, 0.09200640767812729, 0.27367743849754333, -0.027426818385720253, -0.2010846585035324, -0.41389021277427673, -0.3314732015132904, -0.1590941697359085, 0.3344878852367401, -0.19594433903694153, 0.2592931091785...
//Prevent this method from running while reverting the selection listBox.SelectedIndexChanged -= ChildSelectionChanged; //Revert the selection to the previous selection try { for (int index = 0; index < listBox.Items.Count; index++)
[ 0.051492102444171906, -0.5250539779663086, 0.25190800428390503, 0.03280400484800339, 0.3554682731628418, 0.4447286128997803, 0.23579320311546326, -0.5027982592582703, -0.24347950518131256, -0.398184210062027, -0.14607959985733032, 0.30221134424209595, -0.3208107054233551, 0.23486328125, ...
{ if (listBox.SelectedIndices.Contains(index) && !this.previousSelection.Contains(index)) { listBox.SetSelected(index, false); }
[ -0.049097586423158646, -0.31792429089546204, 0.2089512199163437, 0.011830389499664307, 0.3813929259777069, -0.08887320756912231, 0.1966981142759323, -0.4098290801048279, -0.24918204545974731, -0.4411472976207733, -0.37365996837615967, 0.17996746301651, -0.4384089708328247, 0.32387650012969...
} } finally { //Re-enable this method as an event handler for the selection change event listBox.SelectedIndexChanged += ChildSelectionChanged;
[ -0.09512068331241608, -0.708581805229187, -0.016928303986787796, 0.010937058366835117, 0.40298596024513245, 0.25812089443206787, 0.0614091120660305, -0.23335501551628113, 0.011266198940575123, -0.3612000048160553, 0.05420108139514923, 0.28721684217453003, -0.2037190943956375, 0.36707195639...
} } else { //Store the current selection this.previousSelection.Clear(); foreach (int selectedIndex in listBox.SelectedIndices) {
[ -0.11399047821760178, -0.5152627229690552, 0.17897233366966248, -0.22632573544979095, 0.5457360148429871, 0.18354034423828125, -0.09810883551836014, -0.320263534784317, -0.027325225993990898, -0.5858400464057922, -0.19443105161190033, 0.27785471081733704, -0.2055099606513977, 0.36615902185...
this.previousSelection.Add(selectedIndex); } //Let any interested code know the selection has changed. //(We do not do this in the case where the selection would put //the selected count above max since we revert the selection; //there is no net effect in tha...
[ 0.21168266236782074, -0.36307036876678467, 0.1697448343038559, -0.18239055573940277, 0.1996154487133026, 0.004514533095061779, 0.05840723589062691, -0.40500274300575256, -0.3020131587982178, -0.4932151436805725, -0.15015074610710144, 0.47693321108818054, -0.2913281321525574, 0.172849848866...
RaiseSelectionChangedEvent(); } } ``` Some 3rd-party components have cancelable events such as BeforeSelectedIndexChanged. But when using the MS default component, I think that your approach is basically what you need. You could also store the selection in other events (such as MouseDown or KeyDown) whic...
[ 0.05609777942299843, -0.2231038361787796, 0.5061767101287842, 0.012975740246474743, -0.06088440120220184, -0.3230701982975006, 0.30233034491539, -0.40237900614738464, -0.3654523491859436, -0.37839919328689575, -0.04682314768433571, 0.6464812159538269, -0.36842256784439087, 0.02081588841974...
I'm working on sending out an html based email, and every time it sends the image src tags and some of the anchor href tags are modified to be relative url's. **Update 2:** This is happening between when the body of the email is generated and sent and when it arrives in my inbox. **Update:** I am using Postfix on a...
[ 0.4225863516330719, 0.33552661538124084, 0.8901201486587524, -0.37226223945617676, 0.017816150560975075, 0.28467097878456116, 0.20626716315746307, -0.4846309423446655, -0.3373165428638458, -0.6516457796096802, -0.22893302142620087, 0.09774627536535263, -0.15260575711727142, 0.1828879565000...
from userid 0) id 6BF012252; Tue, 14 Apr 2009 12:15:20 -0600 (MDT) To: Gabriel <gabe@example.com> Subject: Free Map to Sales Success From: Somebody <info@example.com> Date: Tue, 14 Apr 2009 12:15:20 -0600 Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: multipart/related Content-Disposition: inl...
[ -0.041320085525512695, 0.00017953137285076082, 1.188050627708435, 0.05078422278165817, -0.07108628004789352, 0.33176273107528687, 0.10578063130378723, -0.49732866883277893, -0.2972003221511841, -0.5481050610542297, -0.5241193175315857, 0.34210658073425293, 0.12430734932422638, 0.0471698977...
</a> </td> </tr> </tbody> </table> <table align="center" border="0" cellpadding="0" cellspacing="0" width="600"> <tbody> <tr> <td valign="top"><img alt="Visit us at High Point to receive your free training poster" src="http://www.furnituretrainingcompany.com/images/email/highpoint_2009_04/hero....
[ -0.13841867446899414, -0.27995404601097107, 0.998515784740448, 0.11136145144701004, -0.07699532806873322, 0.1577967256307602, 0.08969954401254654, -0.6616029143333435, -0.3006289303302765, -0.2770921289920807, -0.19961729645729065, 0.46428272128105164, 0.1238090768456459, -0.01057140994817...
font-family: Verdana,Arial,Helvetica,sans-serif;" color="#000000" face="Verdana, Arial, Helvetica, sans-serif" size="1"><big><big><big><big><small><big><b>See you at Market</b></big><br> </small></big></big></big></big></font> <font originaltag="yes" style="font-size: 9px; font-family: Verdana,Arial,Helveti...
[ -0.009711094200611115, -0.03006657585501671, 0.5286719799041748, 0.2999531626701355, -0.11018241941928864, 0.6886460781097412, 0.29268160462379456, 0.19200104475021362, -0.3153303861618042, -0.8244522213935852, -0.21426358819007874, -0.12978683412075043, -0.335348516702652, 0.5808706283569...
Water to a Thirsty Camel." He&#8217;ll reveal powerful secrets for turning sales associates into furniture experts that will sell. See him Saturday, April 25th at 11:30 AM in the seminar room of the new NHFA Retail Resource Center in the Plaza. <br> <br> Stop by our space to learn how our ingenious internet-deliv...
[ 0.029390525072813034, 0.4033467173576355, 0.9893177151679993, 0.3822222650051117, 0.22817407548427582, 0.4274473190307617, 0.26606285572052, -0.0653456598520279, -0.018838772550225258, -0.5247853398323059, -0.23133747279644012, 0.41598275303840637, 0.0016760752769187093, 0.3020388185977936...
<br> <br> <br> </small></small></big></big></big></big></font><small><font originaltag="yes" style="font-size: 9px; font-family: Verdana,Arial,Helvetica,sans-serif;" color="#000000" face="Verdana, Arial, Helvetica, sans-serif" size="1"><big><big><big><small> </small></big></big></big></font><...
[ -0.3445141613483429, -0.00936890859156847, 0.7981522083282471, -0.2615138292312622, -0.32754528522491455, 0.5881571769714355, 0.22813290357589722, -0.3727228045463562, -0.25811636447906494, -0.43867626786231995, -0.23209227621555328, 0.15186665952205658, 0.039227597415447235, 0.28653347492...
moz-do-not-send="true" height="267" width="186"><br> <font face="Helvetica, Arial, sans-serif"><small><font originaltag="yes" style="font-size: 9px; font-family: Verdana,Arial,Helvetica,sans-serif;" color="#000000" size="1"><big><big><big><small><b>Road Map to Sales Success<br> </b><br> </small></big>...
[ 0.1836916208267212, -0.0132917994633317, 1.2972885370254517, 0.05475417152047157, 0.6602981090545654, 0.2593662738800049, 0.06698239594697952, 0.071368008852005, -0.08919388055801392, -0.7665995359420776, -0.3836565911769867, 0.2722519636154175, 0.02476128749549389, 0.16018527746200562, ...
width="30"><br> <br> </td> </tr> </tbody> </table> <table align="center" border="0" cellpadding="0" cellspacing="0" width="600"> <tbody> <tr> <td bgcolor="#ffffff" valign="top"><img alt="" src="http://www.furnituretrainingcompany.com/images/email/highpoint_2009_04/disclaimer_divider.jpg"...
[ -0.4518285393714905, 0.0006195229361765087, 0.899840235710144, -0.2949388921260834, -0.25025615096092224, 0.2669791877269745, 0.06608007848262787, -0.6050194501876831, -0.3378736972808838, -0.2574256360530853, -0.1948017179965973, 0.6840147972106934, 0.10657758265733719, 0.2559365034103393...
face="Verdana, Arial, Helvetica, sans-serif" size="1"><big><big><big><big><small><small><small>If you are not attending the High Point market in April but would still like to receive a free Road Map to Sales Success poster visit us on the web at <u><a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="http...
[ 0.5164877772331238, 0.08528830856084824, 0.9021905064582825, 0.18680675327777863, 0.16871832311153412, 0.18563538789749146, 0.3179249167442322, 0.24705539643764496, -0.41437828540802, -0.4277876615524292, 0.08054617047309875, 0.22751639783382416, 0.1854335218667984, 0.15976464748382568, ...
</small></small></small></big></big></big></big></font> <font color="#666666"><small><font originaltag="yes" style="font-size: 9px; font-family: Verdana,Arial,Helvetica,sans-serif;" face="Verdana, Arial, Helvetica, sans-serif" size="1"><big><big><big><small><small>We hope you found this message to be useful. However...
[ -0.0664338693022728, 0.44822975993156433, 0.6554326415061951, -0.23497329652309418, -0.04498354345560074, 0.4270414710044861, 0.5039427280426025, -0.09352375566959381, -0.15997187793254852, -0.3077298700809479, -0.27676063776016235, -0.37149253487586975, -0.4628776013851166, 0.467141419649...
align="center" border="0" cellpadding="0" cellspacing="0" width="600"> <tbody> <tr> <td bgcolor="#ffffff" valign="top"><img alt="" src="http://www.furnituretrainingcompany.com/images/email/highpoint_2009_04/footer.jpg" moz-do-not-send="true"> </td> </tr> </tbody> </table> <br> <br> ``` Content th...
[ 0.053406864404678345, -0.052054595202207565, 1.2399251461029053, 0.015463990159332752, 0.01393162552267313, 0.054434582591056824, -0.040568601340055466, -0.628070056438446, -0.2608683705329895, -0.3898444175720215, -0.19623757898807526, 0.6369524598121643, 0.41153913736343384, 0.2489707171...
Market</strong></big>= <br /> </small></big></big></big></big></span> <span style=3D"font-size:= xx-small; font-family: Verdana,Arial,Helvetica,sans-serif; color: #0000= 00;"><big><big><big><big><small><br /> </small></big></big></big></big><= /span><small><span style=3D"font-family: Helvetica,Arial,sans-serif;">Vi= s...
[ 0.2857269048690796, -0.0002653980627655983, 0.8323413729667664, 0.35468170046806335, 0.16196191310882568, 0.147518590092659, 0.03145813196897507, -0.10377246886491776, -0.28337275981903076, -0.5764764547348022, 0.09479259699583054, 0.354641854763031, 0.14890994131565094, 0.4053567945957184...
in the seminar room of the new NHFA Retail= Resource Center in the Plaza. <br /> <br /> Stop by our space to learn= how our ingenious internet-delivered training courses are easy to use,= guaranteed to work, and cheaper than the daily donuts. Over 95% report= increased sales. <br /> <br /> Plan to see us at High Po...
[ -0.020768944174051285, 0.0052064331248402596, 0.8231370449066162, -0.000695277820341289, -0.18011102080345154, 0.5379091501235962, 0.060900405049324036, -0.3792960047721863, -0.3387299180030823, -0.48278725147247314, -0.1617608666419983, 0.291811466217041, 0.16186107695102692, 0.0985250622...
height=3D"28" /><br /></td>=0D=0A<td valign=3D= "top" bgcolor=3D"#ffffff"><img src=3D"http://www.furnituretrainingcompan= y.com/images/email/highpoint_2009_04/image_content_right.jpg" alt=3D"Roa= dmap to Sales Success poster" width=3D"186" height=3D"267" /><br /> <spa= n style=3D"font-family: Helvetica,Arial,sans-serif...
[ 0.13074634969234467, -0.15698926150798798, 1.2256509065628052, 0.28241997957229614, 0.25790369510650635, 0.1343480795621872, -0.09126267582178116, -0.001571592758409679, -0.2819674611091614, -0.55074143409729, 0.06659389287233353, 0.21666423976421356, 0.25845348834991455, 0.328635036945343...
src=3D"http://www.furnituret= rainingcompany.com/images/email/highpoint_2009_04/disclaimer_divider.jpg= " alt=3D"" width=3D"600" height=3D"25" /><br /></td>=0D=0A</tr>=0D=0A</t= body>=0D=0A</table>=0D=0A<table border=3D"0" cellspacing=3D"0" cellpaddi= ng=3D"0" width=3D"600" align=3D"center">=0D=0A<tbody>=0D=0A<tr>=0D=0...
[ -0.19866026937961578, -0.1565665751695633, 1.105406641960144, -0.22330203652381897, -0.31711041927337646, 0.06804759800434113, 0.2590155005455017, -0.39852002263069153, -0.30815359950065613, -0.2550176680088043, -0.09543300420045853, 0.286003440618515, 0.29486697912216187, 0.34223145246505...
more information. Limit one free Road Map to Sales Success pe= r company. Other copies of the poster may be purchased on our web site.<= br /> <br /> </small></small></small></big></big></big></big></span> <sp= an style=3D"color: #666666;"><small><span style=3D"font-size: xx-small;= font-family: Verdana,Arial,Helvetic...
[ 0.11476904898881912, 0.17223745584487915, 0.5206944942474365, 0.11597956717014313, 0.05087453871965408, 0.12603378295898438, 0.2487156093120575, -0.17217594385147095, -0.33998188376426697, -0.21622171998023987, 0.13489383459091187, -0.18274587392807007, -0.4273914694786072, 0.3505389392375...
/></td>=0D=0A</tr>=0D=0A</tbody>=0D=0A</table>=0D=0A<tab= le border=3D"0" cellspacing=3D"0" cellpadding=3D"0" width=3D"600" align= =3D"center">=0D=0A<tbody>=0D=0A<tr>=0D=0A<td valign=3D"top" bgcolor=3D"#= ffffff"><img src=3D"http://www.furnituretrainingcompany.com/images/email= /highpoint_2009_04/footer.jpg" alt=3D"" /...
[ 0.27863699197769165, -0.04458073526620865, 0.7809199094772339, -0.11652068048715591, -0.005119312088936567, 0.22529380023479462, 0.09293718636035919, -0.4482569396495819, -0.08888229727745056, -0.6883745193481445, -0.20848901569843292, 0.4965879023075104, -0.11479257792234421, 0.2941010594...
In jQuery, the `map` and `each` functions seem to do the same thing. Are there any practical differences between the two? When would you choose to use one instead of the other? The [`each`](http://docs.jquery.com/Utilities/jQuery.each) method is meant to be an immutable iterator, where as the [`map`](http://docs.jquery...
[ -0.07559510320425034, -0.24220572412014008, 0.3218226432800293, -0.0210438035428524, -0.16353130340576172, -0.20371796190738678, -0.17948567867279053, -0.16242298483848572, -0.26200178265571594, -0.6643792390823364, -0.09381601214408875, 0.517678439617157, -0.3484322428703308, 0.0970963612...
waste a lot of memory. For example: ``` var items = [1,2,3,4]; $.each(items, function() { alert('this is ' + this); }); var newItems = $.map(items, function(i) { return i + 1; }); // newItems is [2,3,4,5] ``` You can also use the map function to remove an item from an array. For example: ``` var items = [0,1...
[ 0.046294715255498886, -0.10570066422224045, 0.23940353095531464, -0.26315706968307495, 0.25521549582481384, 0.2159285992383957, 0.405458003282547, -0.5030162930488586, -0.30997735261917114, -0.6422016024589539, -0.22656626999378204, 0.5974996089935303, -0.15959924459457397, 0.1561561226844...
(eg we used `i` above). Ironically, the callback arguments used in the each method are the reverse of the callback arguments in the map function so be careful. ``` map(arr, function(elem, index) {}); // versus each(arr, function(index, elem) {}); ```
[ -0.4015125334262848, -0.06937921792268753, 0.3045712113380432, -0.1798490583896637, -0.1206551268696785, -0.03009568713605404, 0.07044494152069092, -0.46133583784103394, -0.10183040797710419, -0.5363298654556274, -0.08650562912225723, 0.878366231918335, -0.3184884786605835, -0.003355205524...
I have a website with only home page available through simple HTTP protocol. All other pages are accessible only through HTTP over SSL(https://). I'm using CDN for home page and very happy with it. But for me it looks like using CDN for https pages is impossible because of security warnings, especially in IE. My file...
[ 0.570917546749115, 0.3496280908584595, 0.30684560537338257, -0.07775039970874786, -0.18360108137130737, -0.35880663990974426, 0.3360661566257477, 0.211868017911911, -0.1503700315952301, -0.8851751685142517, -0.04259253293275833, 0.4881502389907837, -0.17598359286785126, 0.3709549903869629,...
I have a UITableView that I populate with data that i download over the internet. While the data is being downloaded, I want to show a loading label above my TableView to signify to users that something is actually happening and there is not a problem with the app. What is the best way to do this?? I think the best way...
[ 0.46693843603134155, 0.1338488906621933, 0.5251201391220093, -0.19193106889724731, 0.018078282475471497, 0.0017274095444008708, 0.41944146156311035, 0.08165859431028366, -0.24243475496768951, -0.44057509303092957, -0.06423699855804443, 0.38310614228248596, -0.13940341770648956, -0.12591813...
you can download.
[ 0.6405518054962158, -0.2556439936161041, -0.36790159344673157, 0.4581812620162964, 0.31340157985687256, -0.49657464027404785, 0.16926993429660797, 0.6001484394073486, -0.551163911819458, -0.8205127120018005, -0.20687365531921387, 0.5423961281776428, 0.04034673050045967, 0.4826160669326782,...
I've written the JQuery below, and have had to search for items in the DOM using multiple calls to .parent() because the ClientIDs rendered in ASP.Net are built up dynamically in the html. I'm aware that this will cause problems each time we change the markup code, and would like to see if anyone knows of a better way ...
[ 0.008310755714774132, -0.052726034075021744, 0.7302623987197876, -0.10020837187767029, -0.060194872319698334, 0.370887815952301, -0.12070892751216888, -0.4858257472515106, -0.07925554364919662, -0.6511746048927307, -0.13248074054718018, 0.7459906935691833, 0.1431516408920288, -0.1946783810...
get selected. $(".AspNet-CheckBoxList > ul > li > input").click(function() { var itemCost = 0; $(this).find("fieldset:div:span"); itemCost = GetItemCost($(this).parent().parent().parent().parent() .parent().parent().parent().children().find("span").text()); var Compon...
[ 0.00040852391975931823, -0.6089383959770203, 0.6944062113761902, 0.1326758861541748, 0.16822823882102966, 0.3554563820362091, 0.16271008551120758, -0.5050053596496582, -0.2745390832424164, -0.5847525596618652, -0.4801683723926544, 0.4369296729564667, -0.28212618827819824, 0.264109194278717...
} else { itemCost = (itemCost - GetItemCost(Component)).toFixed(2); } $(this).parent().parent().parent().parent().parent() .parent().parent().children().find("span").text("$" + itemCost); $(this).parent().parent().parent().parent().parent() .parent().parent()...
[ 0.0030058843549340963, -0.3294740915298462, 0.38275888562202454, 0.08793507516384125, 0.23829185962677002, 0.5520135760307312, 0.1909945011138916, -0.3629239797592163, -0.2912636995315552, -0.7115717530250549, -0.3150009214878082, 0.530393123626709, -0.21901223063468933, 0.1091912314295768...
.animate({ backgroundColor: 'white' }, 750); }); }); function GetItemCost(text) { var start = 0; start = text.lastIndexOf("$"); var itemCost = text.substring(start + 1); var pattern = /,/g; itemCost = itemCost.replace(pattern, ""); return Number(itemCost); } </script>...
[ -0.16000047326087952, -0.3671815097332001, 0.7857839465141296, -0.27064961194992065, -0.15708117187023163, 0.3167298138141632, 0.10391569882631302, -0.41710126399993896, -0.12916964292526245, -0.900273859500885, -0.43420088291168213, 0.21562670171260834, -0.5689248442649841, -0.06992848962...
Item" src="img/buttons/remove_4c.gif" name="ctl00$ContentPlaceHolder1$ctl00$RemoveCartItem"/> <span id="ctl00_ContentPlaceHolder1_ctl00_TotalItemCost">$315.96</span> </div> <ol id="ctl00_ContentPlaceHolder1_ctl00_InputList"> <li class="pt"> <label id="ctl00_ContentPlaceHolder1_ctl00_ProjectLabel" for="ctl00_Con...
[ -0.2813863158226013, -0.036158788949251175, 0.86931312084198, 0.03550651669502258, -0.26626017689704895, 0.30702129006385803, -0.22000472247600555, -1.0545806884765625, -0.525539219379425, -0.4111650884151459, -0.370688259601593, 0.44614455103874207, 0.023057855665683746, 0.109381452202796...
``` typedef boost::variant<long long,double,string> possibleTypes ; set<possibleTypes,less<possibleTypes> > ascSet ; set<possibleTypes,greater<possibleTypes> > descSet ; ``` When I try to compile I get a bunch of errors in some library headers. But, if I remove the third line (the one with `descSet` ) the code co...
[ -0.030652282759547234, -0.04956391081213951, 0.21683238446712494, -0.2206621617078781, -0.2525465190410614, 0.2189221829175949, 0.36997920274734497, -0.491138219833374, -0.24242155253887177, -0.4444451928138733, -0.10200061649084091, 0.6137599349021912, -0.47407078742980957, -0.32689908146...
; greater<possibleTypes> func ; cout << func(pt1,pt2) << endl ; ``` However, this code compiles just fine: ``` possibleTypes pt1="a", pt2="b" ; cout << (pt1 > pt2) << endl ; ``` Could anyone help me to understand why?? I tried with VC++ 2005 and GCC 3.4.6 As it was suggested, if I define this: ``` bool operat...
[ 0.06906621158123016, 0.13213783502578735, 0.15489062666893005, -0.11048241704702377, -0.08427681773900986, -0.11956129968166351, 0.525626003742218, -0.39476278424263, -0.034737683832645416, -0.4917057156562805, -0.041045334190130234, 0.5864027142524719, -0.30776846408843994, -0.07774273306...
VC++ 2005 and GCC 3.4.6
[ -0.654765784740448, 0.1925424486398697, 0.7765300273895264, -0.10223101079463959, -0.6305159330368042, 0.11225961893796921, -0.0469495914876461, -0.5097970962524414, -0.44714099168777466, 0.10723458975553513, -0.3289949297904968, 0.4038449823856354, 0.026374254375696182, 0.4750544726848602...
One of the sites I develop has lots of information linked between each other; we have companies, we have products for those companies. The company page links to the page listing the products for that company, and vice versa. From the [HTML spec](http://www.w3.org/TR/html401/struct/text.html#edef-CITE): > CITE: > Con...
[ 0.7011666297912598, 0.5584229826927185, 0.32864153385162354, 0.04011208564043045, 0.11854720860719681, -0.2208140790462494, -0.1806921511888504, 0.45295771956443787, -0.17947180569171906, -0.5375226736068726, -0.0622573159635067, 0.3413431644439697, 0.1440085917711258, 0.377265989780426, ...
use `<a href=...>`. If you're quoting a small piece of information, like the information from the HTML spec in your question, and providing a link to the original source, you might use `<cite>`. Think of it as a citation in a book or research paper.
[ 0.47960391640663147, 0.2068740278482437, 0.03827092796564102, 0.22008471190929413, -0.3420276641845703, -0.383118212223053, -0.30069175362586975, 0.15390989184379578, -0.05192966386675835, -0.5046684741973877, -0.2220449298620224, 0.41747069358825684, -0.08916958421468735, -0.1406475752592...
I have the following use case, my file contents look like this ``` a b c ``` I want a regular expression to do this ``` a| b| c| ``` Can you recommend a regex in vim? Type the following in VIM ``` :%s/$/|/ ``` This means replace the end of line represented by `$` with the string `|`.
[ 0.15203744173049927, 0.0031344539020210505, 0.6061612367630005, -0.13409064710140228, -0.0432523675262928, -0.02153594233095646, 0.2569323778152466, 0.11727350950241089, 0.11211103200912476, -0.4827662408351898, -0.09979552030563354, 0.6216039061546326, -0.3278938829898834, 0.1010324731469...
Is there a way to copy the class diagram generated by the LINQ To SQL ORM in VS2008 without using print screen (yes, I know it's pathetic)? For example, when I create database projects in Visual Studio I can copy the database diagrams and save them later in Paint.NET in any image format. Any idea or suggestion will be...
[ 0.39642056822776794, -0.08343364298343658, 0.05365583300590515, 0.25872233510017395, -0.07265673577785492, -0.1098073348402977, -0.0657472088932991, 0.21358747780323029, -0.3104267418384552, -0.6928192377090454, 0.2908371686935425, 0.5896443724632263, -0.17547254264354706, -0.2165054380893...
I can't get this to work, I want to show a simple list of artist names but always get empty links back. ``` foreach (Artist artist in Model) {%> <a href="gotosomewhere"><% Html.Encode(artist.Name); %></a> <%} ``` I have debugged it, and I'm certain that Model contains a list of artists. Thanks, Peter Change it...
[ 0.03190566226840019, -0.11269056797027588, 0.5863398909568787, -0.10260670632123947, -0.3195088803768158, 0.25399547815322876, 0.23316584527492523, -0.3598549962043762, -0.1781730055809021, -0.7299191355705261, -0.13178929686546326, 0.34598487615585327, -0.4830644726753235, -0.035050932317...
A long time ago I remember I could do this in Turbo Pascal 7. Maybe I'm wrong and it's something I need to clarify, but is it possible to declare an array of strings as a constant? If not what's the option/workaround. What I have now is: ``` type TStates = (sOne, sTwo, sThree); var TArrayOfString: array [sOne.....
[ 0.0764792338013649, -0.04790641367435455, 0.25444814562797546, -0.2827003598213196, -0.14815740287303925, -0.015215910039842129, 0.6156786680221558, -0.30407363176345825, -0.1996704488992691, -0.14380565285682678, 0.10631018131971359, 0.7910959124565125, -0.40659299492836, -0.0120113976299...