text
stringlengths
0
30.5k
title
stringclasses
1 value
embeddings
listlengths
768
768
the Content. The ContentPresenter just allows you to use a DataTemplate to display some random data. But you could just replace it with a TextBlock and an Image. You just lose the ability to specify a DataTemplate. The problem with Jobi's approach is that the select item won't show it's image, even if it's in the drop...
[ 0.23888148367404938, -0.4535912573337555, 0.6186742186546326, 0.5227178931236267, -0.35025471448898315, -0.07284276187419891, -0.18641051650047302, -0.10391874611377716, -0.08739491552114487, -0.6568386554718018, -0.17949815094470978, 0.4329889118671417, -0.2630997598171234, -0.00936026312...
get the default Style from [here](http://msdn.microsoft.com/en-us/library/dd334408(v=VS.95).aspx1.1.). There is a ContentPresenter with the name "ContentPresenter". You would need to: 1. Remove/change the name of the ContentPresenter, so the ComboBox will not automatically set the Content/ContentTemplate properties 2....
[ 0.3318690359592438, -0.3158242702484131, 0.6682759523391724, 0.23270367085933685, -0.18989744782447815, -0.23021753132343292, 0.05265349522233009, -0.4720631539821625, 0.018837492913007736, -0.8013244867324829, -0.2202713042497635, 0.4643610715866089, -0.3278760313987732, 0.069891795516014...
but uses it when display the ComboBoxItem in the drop-down.
[ -0.15640930831432343, -0.09670551866292953, 0.6485272645950317, 0.015916138887405396, 0.20416459441184998, -0.18587927520275116, 0.21260549128055573, -0.21261173486709595, -0.031065229326486588, -0.44804030656814575, -0.027168642729520798, 0.43409502506256104, -0.060821760445833206, -0.121...
Using [DBIx::Class](http://search.cpan.org/dist/DBIx-Class/) and I have a resultset which needs to be filtered by data which cannot be generated by SQL. What I need to do is something effectively equivalent to this hypothetical example: ``` my $resultset = $schema->resultset('Service')->search(\%search); my $new_r...
[ 0.27002137899398804, 0.12304691970348358, 0.38468021154403687, -0.025810515508055687, -0.14615964889526367, -0.2973344326019287, 0.19435438513755798, -0.3503821790218353, 0.07047770172357559, -0.8242189884185791, -0.09895305335521698, 0.5124852657318115, -0.34971004724502563, 0.16378612816...
than when you ask for results. * They are composable. Allowing filtering by code that runs on the Perl side would make it extremely hairy to achieve those properties, and would hide the fact that such result sets actually run N queries when composed. Why do you want this, anyway? Why is simply retrieving the results ...
[ 0.27725860476493835, -0.2703947424888611, 0.2742832899093628, 0.4962332844734192, -0.15944316983222961, -0.19894950091838837, 0.3636540174484253, -0.31832799315452576, -0.26765918731689453, -0.8026584386825562, -0.20223009586334229, 0.5764150023460388, -0.3815045654773712, -0.0556487999856...
you will reject most results so you don’t want the overhead of creating objects for them.) Then use HashRefInflator.
[ -0.201968714594841, -0.09822563827037811, -0.1620529443025589, 0.006929891649633646, -0.2801125943660736, -0.021144980564713478, 0.12988567352294922, -0.21058984100818634, 0.07897264510393143, -0.5659979581832886, -0.2310396134853363, 0.5068705677986145, -0.25363001227378845, 0.14757941663...
i met a problem with iphone simulator application directory, when i run the application everytime, the name of application directory was changed each of time,can anyone tell me how to keep a static application directory ? i'm going to take a guess here and say.. you don't need a static directory. I think what you nee...
[ 0.21787013113498688, -0.18852119147777557, 0.530146062374115, 0.09792069345712662, 0.07081542164087296, 0.0635901615023613, 0.2543046772480011, -0.15713150799274445, -0.41358229517936707, -0.7041555643081665, -0.060700371861457825, 0.5473067164421082, -0.4819716215133667, -0.20786316692829...
onto that. hope that helps. NEW INFO: If you are saving information, (a log, stats etc..) you can retrieve the files saved in the NSDocumentDirectory above using the Xcode organiser. * select your device * got the summary tab * find you application in 'Applications' section. * expand the entry and it should have an...
[ 0.37203866243362427, -0.06181535869836807, 0.5697424411773682, 0.23589462041854858, 0.3507942259311676, -0.19106952846050262, 0.19423626363277435, 0.3307572603225708, -0.49163711071014404, -0.8386504054069519, -0.23356927931308746, 0.5756441354751587, 0.1769002377986908, 0.0069238934665918...
I have a CGI-script which produces a `.pdf` file from the HTML page. My problem is that when it is launched from the Web Browser, there is no creation of the `.pdf` document. What I have done so far: * chmod settings set to above recommended (777) * tested normal output on the file from the script, which works fine *...
[ 0.7620052099227905, 0.2989753186702728, 0.7579382061958313, -0.02807977981865406, -0.02213563770055771, -0.0539567656815052, 0.262117475271225, -0.3271920084953308, -0.16982877254486084, -0.5208204388618469, -0.17053642868995667, 0.6670386791229248, -0.06982984393835068, 0.1743248999118805...
take a guess here and say.. you don't need a static directory. I think what you need is to get the 'base directory' programatically. ``` NSString *docsDirectory = [NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES) objectAtIndex:0]; NSString *path = [docsDirectory stringByAppendingPathC...
[ 0.20217636227607727, -0.23183618485927582, 0.6798087358474731, 0.1716587096452713, 0.17106379568576813, -0.07556355744600296, 0.2530251741409302, -0.0730041041970253, -0.4984048306941986, -1.0523043870925903, -0.14250603318214417, 0.4569488763809204, -0.1528814136981964, 0.0251522511243820...
'Applications' section. * expand the entry and it should have an 'Applcation data' entry. * press the down arrow on the right to save your files.
[ 0.05235353484749794, 0.11400414258241653, 0.5419473648071289, 0.12957929074764252, 0.23122863471508026, -0.12243890762329102, 0.07877092808485031, 0.13116313517093658, -0.41322800517082214, -0.4762080907821655, -0.3590930998325348, 0.3785366714000702, 0.007537858095020056, -0.0715104565024...
I have the following file/line: ``` pc=1 ct=1 av=112 cv=1100 cp=1700 rec=2 p=10001 g=0 a=0 sz=5 cr=200 pc=1 ct=1 av=113 cv=1110 cp=1800 rec=2 p=10001 g=0 a=10 sz=5 cr=200 ``` and so on. I wish to parse this and take the key value pairs and put them in a structure: ``` struct pky { pky() : a_id(0), ...
[ -0.03916033357381821, 0.38192155957221985, 0.5617919564247131, -0.15124496817588806, 0.10294122993946075, 0.43882566690444946, -0.0731918141245842, -0.5850338339805603, -0.286986768245697, -0.4187779128551483, -0.12144103646278381, 0.6418710947036743, 0.019262896850705147, 0.10874003916978...
a(0), pc(0), p_id(0) { } }; ``` wherein either all the structure fields are used or some might be omitted. How do I create a C++ class, which will do the same? I am new to C++ and not aware of any functions or library which would do this work. Each line is to be processed, and the structure will be ...
[ 0.157704696059227, -0.01421930268406868, 0.24816930294036865, -0.10846159607172012, -0.0859154611825943, -0.03590647876262665, -0.09001343697309494, -0.2662404477596283, -0.19383904337882996, -0.3045811951160431, -0.07775039970874786, 0.26033923029899597, -0.4940636157989502, 0.25127786397...
line; std::map<std::string, std::string> props; std::ifstream file("foo.txt"); while(std::getline(file, line)) { std::string token; std::istringstream tokens(line); while(tokens >> token) { std::size_t pos = token.find('='); if(pos != std::string::npos) { props[token.substr(0, po...
[ -0.39491578936576843, -0.6351496577262878, 0.6962046027183533, -0.19094708561897278, 0.03225722163915634, 0.34630537033081055, 0.17543230950832367, -0.4271877706050873, -0.41786572337150574, -0.5589456558227539, -0.5899134874343872, 0.15451404452323914, -0.2605324983596802, -0.005543750710...
for the next line */ props.clear(); } ``` i hope it's helpful. Line can be like this: ``` struct Line { std::string pc, ct; Line(std::string const& pc, std::string const& ct):pc(pc), ct(ct) { } }; ``` now that works only if the delimiter is a space. you can make it work with other delimiters too...
[ -0.3377518653869629, -0.4718511700630188, 0.6733810305595398, -0.017830118536949158, -0.16330108046531677, 0.2142312228679657, 0.13448604941368103, -0.11849016696214676, -0.2843411862850189, -0.5661795139312744, -0.2767939865589142, 0.24827906489372253, -0.29270297288894653, -0.03884738311...
std::string token; std::istringstream tokens(line); while(tokens >> token) { std::size_t pos = token.find('='); if(pos != std::string::npos) { props[token.substr(0, pos)] = token.substr(pos + 1); } } ``` into this then: ``` int value; std::string key; std::...
[ -0.3970072865486145, -0.48461320996284485, 0.6130743622779846, -0.2836637496948242, -0.023784352466464043, 0.3000970780849457, 0.2398991733789444, -0.472735732793808, -0.45311108231544495, -0.5018520951271057, -0.6703816652297974, 0.20598439872264862, -0.29583895206451416, 0.06474351882934...
tokens >> std::ws >> value) { props[key] = value; } ``` `std::ws` just eats whitespace. you should change the type of props to ``` std::map<std::string, int> props; ``` then too, and make Line accept int instead of std::string's. i hope this is not too much information at once.
[ 0.07830756902694702, -0.2132599800825119, 0.15807893872261047, -0.06791717559099197, -0.18846774101257324, 0.25192105770111084, 0.3088347017765045, 0.0629565566778183, -0.28449124097824097, -0.8156161308288574, 0.06429461389780045, 0.1329006552696228, -0.12508535385131836, 0.07908353209495...
I have two lists of custom objects and want to update a field for all objects in one list if there is an object in the other list which matches on another pair of fields. This code explains the problem better and produces the results I want. However for larger lists 20k, and a 20k list with matching objects, this take...
[ 0.43393486738204956, -0.3891158998012543, 0.53299480676651, 0.0814928412437439, 0.14473702013492584, 0.20056948065757751, 0.4845084846019745, -0.629425585269928, -0.0889497846364975, -0.8370620012283325, -0.1186433956027031, 0.7264160513877869, -0.19472725689411163, 0.040872037410736084, ...
string Name; public decimal Val; public decimal Total; } public class Adjustment { public string PropName; public decimal AdjVal; } class Program { static List<PropValue> propList; static List<Adjustment> adjList; public static void Main()
[ -0.2947389483451843, -0.16337767243385315, 0.456562340259552, -0.31038427352905273, 0.10304553806781769, 0.6819765567779541, 0.0641920268535614, -0.13477759063243866, -0.09048262238502502, -0.20002789795398712, -0.5184480547904968, 0.6946666836738586, -0.22185294330120087, 0.17985607683658...
{ propList = new List<PropValue>{ new PropValue{Name = "Alfa", Val=2.1M}, new PropValue{Name = "Beta", Val=1.0M}, new PropValue{Name = "Gamma", Val=8.0M} };
[ 0.1310185343027115, -0.9283069372177124, 0.41782766580581665, -0.19961406290531158, -0.09981688112020493, 0.23652061820030212, 0.31725597381591797, -0.2975459396839142, -0.12739290297031403, -0.4680153429508209, -0.3887026906013489, 0.9271745681762695, -0.7848907709121704, 0.07375611364841...
adjList = new List<Adjustment>{ new Adjustment{PropName = "Alfa", AdjVal=-0.1M}, new Adjustment{PropName = "Beta", AdjVal=3M} }; foreach (var p in propList) {
[ -0.2200305014848709, -0.23758524656295776, 0.6452257037162781, -0.69577556848526, -0.03207865729928017, 0.71193528175354, 0.22159887850284576, -0.7013643980026245, -0.1108543649315834, -0.48564764857292175, -0.3638714551925659, 0.7150707244873047, -0.6553918123245239, -0.2331925332546234, ...
Adjustment a = adjList.SingleOrDefault( av => av.PropName.Equals(p.Name) ); if (a != null) p.Total = p.Val + a.AdjVal;
[ -0.19228246808052063, -0.2255396693944931, 0.5786489844322205, -0.33828532695770264, -0.13043908774852753, 0.5762228965759277, 0.42175549268722534, -0.6484697461128235, -0.4400288164615631, -0.24980689585208893, -0.26308462023735046, 0.6772082448005676, -0.36464887857437134, -0.06453895568...
else p.Total = p.Val; } } } } ``` The desired result is: Alfa total=2,Beta total=4,Gamma total=8 But I wonder if this is possible to do even faster. Inner joining the two lists takes very little time, even when looping over 20k items in the resultset. ``` var joined = fro...
[ 0.10832729935646057, -0.45198163390159607, 0.3672386705875397, -0.31848594546318054, -0.29296302795410156, 0.1470024287700653, 0.16710937023162842, -0.6206448078155518, -0.4381156861782074, -0.1982356309890747, -0.09734539687633514, 0.5903284549713135, -0.45218780636787415, -0.049334485083...
join a in adjList on p.Name equals a.PropName select new { p.Name, p.Val, p.Total, a.AdjVal }; ``` So my question is if it's possible to do something like I would do with T-SQL? An UPDATE from a left join using ISNULL(val,0) on the adjustment value. That join should be fairly fast, as it will first loop ...
[ -0.018753301352262497, -0.19140353798866272, 0.713449239730835, -0.23663461208343506, -0.09255283325910568, -0.08625607937574387, 0.10500378906726837, -0.5205416083335876, 0.014755157753825188, -0.6133421063423157, 0.027712883427739143, 0.4815874397754669, -0.5808660387992859, -0.086077339...
\* M) method in the larger code - although that could easily be fixed by calling [`ToLookup`](http://msdn.microsoft.com/en-us/library/system.linq.enumerable.tolookup.aspx) (or [`ToDictionary`](http://msdn.microsoft.com/en-us/library/system.linq.enumerable.todictionary.aspx) as you only need one value) on `adjList` befo...
[ -0.05992994084954262, -0.1520901918411255, 0.6032789945602417, -0.3582768142223358, 0.07445788383483887, 0.32642990350723267, 0.42601433396339417, -0.7083239555358887, -0.2627304196357727, -0.33294424414634705, -0.43955129384994507, 0.6507325768470764, -0.4270971417427063, -0.1925684958696...
} } ```
[ 0.17493881285190582, 0.41805654764175415, 0.05209751054644585, -0.04864929988980293, 0.437467485666275, -0.15825650095939636, 0.13202530145645142, 0.5446501970291138, 0.35430577397346497, -0.4846813380718231, -0.2295716553926468, 0.546978771686554, -0.3188462555408478, 0.2798506021499634, ...
I have many emails coming in from different sources. they all have attachments, many of them have attachment names in chinese, so these names are converted to base64 by their email clients. When I receive these emails, I wish to decode the name. but there are other names which are not base64. How can I differentiate w...
[ -0.2567698657512665, 0.25231826305389404, 0.5213248133659363, -0.2115176022052765, -0.04612452909350395, 0.12937425076961517, -0.0632467046380043, -0.29833656549453735, -0.052548814564943314, -0.6252750158309937, -0.3592069745063782, 0.4312680959701538, -0.2432863414287567, 0.2354086637496...
`Content-Transfer-Encoding` only applies to the body payload, not to the headers. ``` =?gb2312?B?uLGxvmhlbrixsb5nLnhscw==?= ``` That's an **RFC2047**-encoded header atom. The stdlib function to decode it is `email.header.decode_header`. It still needs a little post-processing to interpret the outcome of that functio...
[ 0.021746594458818436, 0.24052056670188904, 0.6315734386444092, 0.2788660228252411, 0.10932672023773193, -0.21302559971809387, 0.08180657774209976, -0.2146742194890976, -0.07145203649997711, -0.680790364742279, -0.33744555711746216, 0.23163942992687225, -0.5792050361633301, 0.21999792754650...
explicitly denies this: > * An 'encoded-word' MUST NOT appear within a 'quoted-string'. The accepted way to encode parameter headers when long string or Unicode characters are present is **RFC2231**, which is a whole new bag of hurt. But you should be using a standard mail-parsing library which will cope with that fo...
[ 0.29927247762680054, 0.5547052025794983, 0.2663029730319977, 0.2740172743797302, -0.0597211979329586, -0.16497908532619476, 0.3131587505340576, -0.3194367587566376, 0.060461435467004776, -0.15118256211280823, 0.13095051050186157, 0.31367138028144836, -0.3138754069805145, 0.3676472902297973...
I'm *considering* migrating my c# application from using custom GDI+ drawn controls to a WPF application with custom controls etc. I would like to know what's involved and what to expect. Are there any resources people can recommend that might help? Or indeed any personal experiences that might be beneficial? *(I apol...
[ 0.5120198726654053, 0.0476842038333416, 0.07303660362958908, -0.030571898445487022, -0.038587819784879684, -0.35487353801727295, 0.08653639256954193, 0.15393494069576263, -0.42264777421951294, -0.9256081581115723, -0.016242751851677895, 0.4659484624862671, 0.1075877994298935, 0.07521644979...
was to build these GDI+ controls ... and now to build the WPF ones. I agree with Bijington that making your application completely 100% WPF from the ground up is the way to go ... if you can convince the powers that be to go that route. However, we ourselves are converting our Windows Forms application in-place, takin...
[ 0.512975811958313, -0.032138749957084656, 0.3115079700946808, 0.014781199395656586, -0.21295154094696045, -0.1560625582933426, 0.0728309378027916, -0.43361470103263855, 0.09235291928052902, -0.7197834253311157, -0.17566370964050293, 0.3508313298225403, -0.1743515580892563, -0.0521333888173...
control in WPF.** And then, when you are finished, throw it away and do it again. You will invariably learn something during the first effort ... and discover that there is a better way to do it instead. I would start with something small ... a custom button is a good place to begin. Doing the above will give you a ta...
[ 0.361462265253067, -0.4402262568473816, 0.3767277002334595, 0.3096829354763031, 0.02652602083981037, -0.2550707459449768, 0.007321001496165991, -0.29801425337791443, -0.10161595791578293, -0.5180701017379761, 0.06534085422754288, 0.3480294346809387, -0.15502996742725372, 0.1680309772491455...
are going to be building custom looking controls. As Abe has mentioned, it is a completely different world. WPF definitely brings a lot of power, but that power comes at a cost of learning how to use it. Abe mentions how custom controls in WPF are 'lookless' and that their 'look' can be provided with a ControlTemplate....
[ 0.7972010970115662, -0.08604717999696732, 0.2061530351638794, 0.29480069875717163, -0.2597288489341736, -0.1420278251171112, 0.16177527606487274, -0.2704850435256958, -0.1197158470749855, -0.6951255798339844, 0.07034296542406082, 0.3757135570049286, -0.08239595592021942, 0.0544894039630889...
derived from ContentControl. This allow you to stick arbitrary looking 'content' into visuals of a control (e.g. maybe sticking a custom drawn shape into the middle of a button). 3. Compose a control out of other controls/elements by taking advantage of UserControl. 4. Derive from an existing control/class in WPF, exte...
[ 0.5301515460014343, -0.48367974162101746, 0.4580204486846924, 0.36575573682785034, -0.14027485251426697, -0.024061089381575584, 0.03631129115819931, -0.7084454298019409, 0.17514201998710632, -0.6753454804420471, 0.10219106823205948, 0.17978540062904358, -0.19901344180107117, -0.17327235639...
screwdriver (Control). However, in WPF ... they have given you the whole toolbox with all 100 tools. And this is part of the reason for the bigger than normal learning curve. However, now you can take that saw that you never had before and use it to saw off the end of a 2x4 instead of using the hammer and/or screwdrive...
[ 0.6064404845237732, 0.20871137082576752, 0.022243430837988853, 0.11593911796808243, -0.15667936205863953, -0.19478362798690796, 0.41844111680984497, -0.2854115962982178, -0.14325930178165436, -0.543594241142273, -0.04030831903219223, 0.6911263465881348, -0.17111322283744812, -0.16082040965...
by Matthew MacDonald (in particular, chapter 24) * WPF Unleashed by Adam Nathan (in particular, chapter 16) * Applications = Code + Markup by Charles Petzold (in particular, chapters 10, 11, & 12) * Essential WPF by Chris Anderson (in particular, chapter 3) My favorite books are Charles Petzold's book and Adam N...
[ 0.6314904689788818, -0.01068421732634306, 0.02098066546022892, 0.18626093864440918, -0.08311765640974045, -0.07921677827835083, 0.4766925573348999, -0.3685751259326935, -0.18681997060775757, -0.4263788163661957, -0.2997826039791107, 0.6161466836929321, -0.274990975856781, -0.32521632313728...
take a look at ([one](https://stackoverflow.com/questions/183315/what-are-the-best-resources-for-learning-wpf-net), [two](https://stackoverflow.com/questions/129772/how-to-begin-wpf-development)). 3. **MSDN** I agree with Bijington that the [MSDN documentation](http://msdn.microsoft.com/en-us/library/ms754130.aspx) ...
[ 0.21206822991371155, -0.05083411559462547, 0.17653869092464447, 0.3099965751171112, 0.08702774345874786, -0.2319526970386505, 0.0056991116143763065, -0.2938614785671234, -0.40127453207969666, -0.7392058968544006, -0.08559401333332062, 0.20712131261825562, -0.04319151118397713, -0.381375551...
and more Samples** There are just a ton of samples out there. Almost too many! I would point to [Family.Show](http://www.codeplex.com/familyshow) (it was created as an end-to-end reference sample for WPF) and I would point to the [WPF SDK samples](http://msdn.microsoft.com/en-us/library/ms771633.aspx) and in particu...
[ 0.7338813543319702, -0.1008128747344017, -0.09207863360643387, 0.269209086894989, 0.16828010976314545, 0.2720750868320465, -0.19712460041046143, -0.37239840626716614, -0.4010109305381775, -0.5141860842704773, 0.09667332470417023, -0.049854688346385956, -0.22328466176986694, 0.3795048296451...
I am currently working in C/C++ in a Unix environment and am new to Linux environments. I would like to learn about the Linux OS and learn C# as the next level of programming language for my career. I decided to put Ubuntu Linux on my laptop. But I am not sure whether we can write, compile and run C# programs in Linux...
[ 0.2628234922885895, 0.34729278087615967, -0.009368493221700191, -0.007930377498269081, -0.05916096270084381, -0.1646396368741989, -0.06948857754468918, 0.6715697050094604, -0.10199277102947235, -0.6753655672073364, 0.08193161338567734, 0.5804035067558289, -0.13303138315677643, 0.1341438442...
my laptop - Vista to learn C# and Linux for the other OS. Learn [Mono](http://www.mono-project.com/Main_Page). > The Mono Project is an open > development initiative sponsored by > Novell to develop an open source, UNIX > version of the Microsoft .NET > development platform. Its objective is > to enable UNIX deve...
[ 0.6645272970199585, 0.1758735328912735, -0.2514781057834625, 0.22205227613449097, 0.027033988386392593, 0.026975998654961586, 0.2306484878063202, -0.020703401416540146, -0.1092127189040184, -0.42413467168807983, -0.30111879110336304, 0.40147343277931213, 0.05429587885737419, 0.371704459190...
languages.
[ 0.37265193462371826, 0.20164823532104492, -0.02911103144288063, -0.3852114975452423, 0.3268015384674072, 0.6537594199180603, 0.09886165708303452, 0.5009925365447998, -0.1839192509651184, -0.7462358474731445, -0.25929126143455505, 0.5009007453918457, 0.06343168020248413, -0.0337859578430652...
As best-behaved as I try to be about keeping my unit tests disconnected from the database, etc. etc, it still seems inevitable that my day will be interrupted by small regular enforced breaks while I wait for my machine to do something boring. ![xkcd comic: compiling](https://imgs.xkcd.com/comics/compiling.png) I per...
[ 0.28984153270721436, 0.21043755114078522, -0.13641658425331116, 0.042509160935878754, -0.48862242698669434, -0.4027280807495117, 0.8103615641593933, -0.04108712822198868, -0.09151637554168701, -0.3145914375782013, -0.07893103361129761, 0.40845417976379395, 0.2637264132499695, -0.1696241497...
done. I used to fantasize about a Tetris plugin for Visual Studio that popped up during the build and then paused and disappeared automatically when the build completed, but I never actually did anything about it. Lately we were thinking about building something into [autotest](http://www.zenspider.com/) which helps y...
[ 0.6365576386451721, 0.03025852143764496, 0.02732864022254944, 0.060342006385326385, -0.04074281454086304, -0.16060057282447815, -0.05562961846590042, -0.11464760452508926, -0.3387899398803711, -0.435969740152359, 0.057419706135988235, 0.5484667420387268, 0.04345797374844551, -0.46532472968...
I'm trying to parse a html page and extract 2 values from a table row. The html for the table row is as follows: - ``` <tr> <td title="Associated temperature in (ºC)" class="TABLEDATACELL" nowrap="nowrap" align="Left" colspan="1" rowspan="1">Max Temperature (ºC)</td> <td class="TABLEDATACELLNOTT" nowrap="nowrap" align...
[ -0.21904325485229492, 0.12881295382976532, 0.8429257273674011, -0.06172548979520798, 0.042459625750780106, 0.20743632316589355, 0.39991387724876404, -0.4013230800628662, 0.128540500998497, -0.9478008151054382, -0.08763181418180466, 0.21306605637073517, -0.21511273086071014, -0.106312140822...
I'd like to send mail without bothering with the SMTP-Server which is used for delivery. So [JavaMail API](http://java.sun.com/products/javamail/) doesn't work for me because I have to specify a SMTP server to connect to. I'd like the library to find out on its own which SMTP server is responsible for which email add...
[ 0.12414621561765671, 0.09135393798351288, 0.309427410364151, -0.2569601237773895, -0.19879020750522614, -0.02468426153063774, 0.460534930229187, 0.0720120444893837, -0.0918704941868782, -0.49333807826042175, 0.07501191645860672, 0.0011387226404622197, -0.583886444568634, 0.3299291431903839...
documentation concerning whether this is possible. Or does anyone know about other libraries I could use? This is completely the wrong way to handle this. Anyone connected to the internet will have some kind of "legit" SMTP server available to them to take the submission of email -- your ISP, your office, etc. You W...
[ 0.36920249462127686, -0.004090278409421444, 0.49889904260635376, 0.4231950044631958, -0.031052090227603912, -0.6236420273780823, 0.19530810415744781, 0.0365326888859272, -0.5020751357078552, -0.4240972399711609, 0.09465403109788895, 0.0572718009352684, -0.2927516996860504, 0.33608078956604...
server handles it, not your code. 3) You, as a client of that sending mail system, already have whatever credentials you need to talk to that server. Main SMTP servers are locked down via authentication, IP range, etc. 4) You're not reinventing the wheel. Leverage the infrastructure you have. Are you writing an appli...
[ 0.2713260054588318, -0.03209599107503891, 0.23528309166431427, 0.24016085267066956, -0.20151756703853607, -0.1587364375591278, 0.23003041744232178, -0.041000284254550934, -0.3769908845424652, -0.522964596748352, 0.1157730296254158, 0.21596311032772064, -0.25249919295310974, 0.0420356951653...
We've installed Windows Search Server Express on one of our servers, which apparently runs on top of sharepoint. Sharepoint was installed on port 80, where our "normal" intranet runs. When I disable the intranet and run the sharepoint site, everything works as intended. The intranet is linked in many places it would b...
[ -0.21914729475975037, 0.10758184641599655, 0.5100995302200317, -0.10125021636486053, 0.2745169997215271, -0.05650341883301735, 0.38019561767578125, 0.33019524812698364, -0.1233355849981308, -0.935945987701416, 0.05542291700839996, 0.40405333042144775, -0.2913988530635834, 0.091406308114528...
the intranet root. Not sure what it is looking for there, but ok, I give "Network service" (the acocunt the "Sharepoint 80" application pool is running under) access to the intranet root. This gets me one step further, I am stumped: When I move the Sharepoint website to another port, it complains that it can't find de...
[ -0.09985055774450302, -0.14590923488140106, 0.24161796271800995, -0.024387862533330917, 0.03592768684029579, -0.14893846213817596, 0.39605841040611267, 0.6238601207733154, -0.42541947960853577, -0.898635983467102, 0.0371490940451622, 0.4924119710922241, -0.4525885283946991, 0.2848768532276...
the "Application configuration" is - as far as I understand - identical to that of the Sharepoint site, and allows GET, HEAD, POST, DEBUG for .asax. Any suggestions? Sharepoint sites should be able to run on any port- if you go into Sharepoint Central Admin and create or delete web applications without a problem. Is ...
[ 0.22619298100471497, 0.3073884844779968, 0.2806116044521332, -0.030682412907481194, 0.2188766747713089, -0.23239469528198242, 0.09059269726276398, -0.03547156974673271, -0.4013415277004242, -0.6763115525245667, -0.053704530000686646, 0.6021119952201843, -0.24511082470417023, 0.151285424828...
port and any number of Site Collections within that, each of which has it's own directory path and can contain lists, libraries, other Site Collections and so on ) just creating one on a different path, but I don't know for sure how that would work alongside an existing web site on the same port- it may not play nice. ...
[ 0.2582095265388489, -0.053403910249471664, 0.5707800984382629, 0.16633868217468262, -0.07699280977249146, -0.20919856429100037, -0.05018049478530884, 0.17944590747356415, -0.3833487629890442, -0.9308209419250488, 0.09600797295570374, 0.6535925269126892, -0.3339616060256958, 0.5672910213470...
Express related to Sharepoint's own search facilities? If it is you may find that it expects to run using some of the Shared Service Provider facilities, which even Sharepoint doesn't expect to be running on the same port as the sites it's providing services for.
[ -0.021243976429104805, -0.12527912855148315, 0.08276079595088959, 0.23668770492076874, -0.2564550042152405, -0.2264309972524643, 0.22052228450775146, 0.1486448496580124, -0.30691850185394287, -0.10645126551389694, 0.1823268085718155, 0.1642885059118271, -0.22987733781337738, -0.03884568065...
Is there a better way to write this code? I want to show a default value ('No data') for any empty fields returned by the query: ``` $archivalie_id = $_GET['archivalie_id']; $query = "SELECT a.*, ip.description AS internal_project, o.description AS origin,
[ 0.23776032030582428, 0.09792906045913696, 0.255134254693985, 0.06118273735046387, 0.41468948125839233, 0.08153247833251953, -0.09728759527206421, 0.049326080828905106, -0.02330959029495716, -0.4502057731151581, -0.25042587518692017, 0.20962920784950256, -0.17134705185890198, 0.505163073539...
to_char(ad.origin_date,'YYYY') AS origin_date FROM archivalie AS a LEFT JOIN archivalie_dating AS ad ON a.id = ad.archivalie_id LEFT JOIN internal_project AS ip ON a.internal_project_id = ip.id LEFT JOIN origin AS o ON a.origin_id = o.id
[ -0.14185892045497894, 0.25706666707992554, 0.14273008704185486, -0.03820297494530678, 0.2576926350593567, 0.6021634936332703, -0.3025668263435364, 0.2716887891292572, 0.0019424876663833857, -0.3350375294685364, -0.15355022251605988, -0.3207129240036011, 0.20746316015720367, 0.8302618861198...
WHERE a.id = $archivalie_id"; $result = pg_query($db, $query); while ($row = pg_fetch_object($result)) { $no_data = '<span class="no-data">No data</span>'; $internal_project = ($row->internal_project != '') ? $row->internal_project : $no_data; $incoming_date = ($row->incoming_date != '') ? $row->incomin...
[ -0.3305473327636719, -0.13735057413578033, 0.42025136947631836, -0.0963672399520874, 0.19203881919384003, 0.28131231665611267, 0.04814571514725685, -0.25501641631126404, -0.25106334686279297, -0.3093239367008209, -0.2942028343677521, 0.18584226071834564, -0.2187381237745285, 0.241565778851...
$default='<span class="no-data">No data</span>'; } if (!empty($value)) { return $value; } else { return $default; } } ```
[ -0.04046313837170601, -0.05229740962386131, 0.4983738660812378, -0.32157793641090393, 0.12662681937217712, -0.18194639682769775, 0.2578643262386322, -0.2361891120672226, -0.2393229603767395, -0.31113696098327637, -0.5593259930610657, 0.9363571405410767, -0.37399548292160034, -0.04323726147...
Does that mean that I can't share a Form between delphi 2007 and 2009? Yes. It is not possible unless you remove the properties that are not published in Delphi 2007 from the DFM.
[ 0.36557814478874207, 0.2941704988479614, 0.6761237382888794, -0.17022526264190674, 0.10049574822187424, -0.6641629338264465, 0.19182485342025757, -0.07917774468660355, 0.12585702538490295, -0.2776673138141632, -0.08939077705144882, 0.4854336082935333, 0.29522082209587097, 0.269514769315719...
After upgrading a project from Delphi 2007 to Delphi 2009 I'm getting an Unknown memory leak, so far I've been tryin to track it down using fastMM, here is what fastMM stack trace reports: ``` A memory block has been leaked. The size is: 20 This block was allocated by thread 0x111C, and the stack trace (return addres...
[ -0.47013071179389954, 0.01091301254928112, 0.3724273443222046, 0.21567796170711517, 0.003383696312084794, -0.1676291823387146, 0.3788532316684723, -0.1814969927072525, -0.4046650528907776, -0.48302122950553894, -0.12876451015472412, 0.07862646877765656, -0.25815901160240173, 0.168080613017...
block was allocated by thread 0x111C, and the stack trace (return addresses) at the time was: 40339E [System.pas][System][@GetMem][3412] 534873 [crtl][_malloc] 56D1C4 [canex.cpp][MidasLib][DllGetDataSnapClassObject][3918] 56D316 [canex.cpp][MidasLib][DllGetDataSnapClassObject][3961] 77DC921A [RtlAnsiStringToUnicodeS...
[ -0.5041242241859436, -0.025033514946699142, 0.32494908571243286, 0.12213514000177383, 0.17833909392356873, -0.11451186239719391, 0.4959089457988739, -0.03325021639466286, -0.374203622341156, -0.03804685175418854, -0.25210389494895935, -0.10445388406515121, -0.45015949010849, 0.617344677448...
I have a set of core, complicated JavaScript data structures/classes that I'd like to be able to use both in the browser as JavaScript and run on the desktop with .NET 3.5. Is it possible to compile web-friendly JavaScript into assemblies that my C# code can access? * Managed JScript - Is there a compiler for this ava...
[ 0.7678753733634949, 0.2614906132221222, -0.07642044872045517, 0.18284066021442413, -0.21822327375411987, -0.14969775080680847, 0.2703991234302521, 0.21916869282722473, -0.28822100162506104, -0.6438336968421936, 0.16810142993927002, 0.42866581678390503, -0.0736069604754448, -0.0640777498483...
the Silverlight tools and then run on the desktop CLR? * JScript .NET - Sounds like it's got enough custom language extensions where having the same code run in a browser would be really hard, but maybe there's a way...? If neither of those work, I guess my options are to: * Have a C# version and a JavaScript version...
[ 0.7115037441253662, 0.12770633399486542, 0.24467770755290985, 0.05028652027249336, -0.3629264533519745, -0.14480797946453094, 0.3112352788448334, 0.07505444437265396, -0.2751680612564087, -0.5737409591674805, 0.21205294132232666, 0.5725626945495605, -0.2689971923828125, -0.0793237537145614...
code. Not awesome since I'd prefer to be able to heavily tune JavaScript code directly, but it could work. Anyone have success with any of these options? JScript.Net is actually mostly EMCAScript3 compliant. As long as you treat your code as a processing library (only have it do crunching, etc - use callbacks to inter...
[ 0.5582744479179382, -0.021730728447437286, 0.08727408200502396, 0.26295891404151917, -0.31526267528533936, -0.35650861263275146, 0.25326645374298096, 0.22373421490192413, -0.27604901790618896, -0.748441219329834, 0.1716914027929306, 0.7228854298591614, -0.319322794675827, -0.38211938738822...
In my database application I sometimes have to deal with `null` strings in the database. In most cases this is fine, but when it comes do displaying data in a form the Swing components - using `JTextField` for example - cannot handle null strings. (`.setText(null)` fails) (**EDIT:** I just noticed that `JTextField` ac...
[ 0.31145748496055603, 0.25062108039855957, 0.1431533694267273, -0.13104920089244843, -0.17466981709003448, -0.3712974190711975, 0.5379173755645752, -0.12592671811580658, -0.24231739342212677, -0.6782501935958862, -0.017906667664647102, 0.6056135296821594, -0.36316800117492676, 0.20319804549...
the database*. * Checking every value if it is `null` before calling `setText()`? * Adding a try-catch handler to every `setText()` call? * Introducing a static method which filters all `null` strings? * Replace all `null` values to empty strings immediatly after reading from the database? * ... [your suggestions] If ...
[ 0.49117541313171387, -0.13828545808792114, 0.23852065205574036, -0.08823419362306595, -0.045584723353385925, -0.3229307532310486, 0.17442335188388824, -0.2288527488708496, -0.14605812728405, -0.5504368543624878, -0.10307461768388748, 0.4819127023220062, -0.9029721617698669, -0.075058244168...
I upgraded from SQl server 05 to 08 and had a few issues. After uninstalling 05 and a few restarts later 08 installed okay, but now I don't have any SQL Server services running. I can't connect to (local)\SQLExpress or .\SQLEXPRESS via SQL Server management studio and the SQL Server services dialog shows no services. ...
[ -0.021178673952817917, 0.12050747126340866, 0.48277735710144043, -0.21331964433193207, -0.33123084902763367, 0.15365812182426453, 0.6198505163192749, 0.15835730731487274, -0.025902969762682915, -0.7211487293243408, 0.25680822134017944, 0.7661449909210205, -0.35229113698005676, 0.1677495539...
or named instance, used a named instance and continue on. This does not affect any currently installed instances but creates a new instance of the name supplied and then from there on should be usable.
[ 0.054523076862096786, 0.1059194803237915, 0.1728295087814331, 0.14092397689819336, 0.24413084983825684, -0.22992971539497375, 0.3950599133968353, 0.3065711259841919, -0.24441617727279663, -0.6072118878364563, -0.30049628019332886, 0.5205705761909485, -0.23049524426460266, 0.452279329299926...
I have a scenario where users of my ASP.NET web application submit testimonials consisting of text info and images. The submit process has the following steps: * First the user inputs the content and chooses a path to an image * When he clicks preview, the info is once again shown so that he can confirm * Once confirm...
[ 0.6999441981315613, 0.018478941172361374, 0.24040807783603668, 0.2567233443260193, -0.21386831998825073, -0.012578743509948254, 0.3179180324077606, -0.1959368884563446, 0.10782872885465622, -0.6620382070541382, 0.08279489725828171, 0.22102274000644684, -0.07616455107927322, -0.045109648257...
also want my application to run in medium trust, I have write permissions only to the application directory and nowhere outside. I even want to limit write permissions for the ASPNET / NETWORK SERVICE user to the ~/App\_Data folder. The problem with my scenario is that once a temporary file is created in this folder, t...
[ 0.35850846767425537, 0.28081488609313965, 0.37909573316574097, 0.1509200483560562, 0.21798831224441528, -0.2614078223705292, 0.3782680332660675, 0.01544780284166336, -0.30591899156570435, -0.4420391917228699, -0.07526235282421112, 0.5819239020347595, -0.16658997535705566, 0.070316232740879...
store whole images in a single file for all users. What do you think? **UPDATE**: I should note that I'm using a third party control for upload. It gives me programmatic access to the binary stream of the file contents after upload, but I cannot keep this after a second postback (the first step and postback actually d...
[ 0.2834153175354004, -0.191683828830719, 0.3956340253353119, 0.10242080688476562, -0.07299485057592392, -0.21018481254577637, -0.007410011254251003, 0.0677197128534317, -0.30179738998413086, -0.5920566320419312, -0.09492870420217514, 0.30188456177711487, -0.6258978843688965, 0.1602564603090...
storage file." ); writer.WriteLine( "This is second line." ); writer.Close(); ``` **UPDATE**: To clean up your file just do this: ``` string fileName = "isolatestorage.txt"; IsolatedStorageFile storage = IsolatedStorageFile.GetStore( IsolatedStorageScope.User | IsolatedStorageScope.Assembly, null, null); strin...
[ 0.009211567230522633, -0.07381834089756012, 0.4597855508327484, -0.4218854010105133, 0.3883436918258667, 0.036388833075761795, 0.509126603603363, -0.007201130036264658, -0.25753307342529297, -0.7792088985443115, -0.2258264720439911, 0.502711832523346, -0.5400844812393188, 0.513564527034759...
Is there a function in glut which moves the mouse to a specific position? There is a similar function in SDL (SDL\_WarpMouse) but I want to stick to glut. I've just found it, you just have to ask the right question and google helps :D Its `glutWarpPointer(middleX, middleY)`;
[ -0.3149150609970093, -0.4386480748653412, 0.6851003766059875, -0.029630964621901512, 0.14057447016239166, 0.25468650460243225, -0.14720024168491364, 0.5895818471908569, -0.16004782915115356, -0.7626089453697205, -0.1749172955751419, 0.5121508836746216, -0.45058685541152954, 0.2329564690589...
Having sorted out an issue with clickonce deployment the client has asked whether we can modify the installation sequences and pretty them up. Can anyone shed any light on how to customise the look and feel of the clickonce initial installer? Are you are talking about the initial page (publish.htm) that users have to a...
[ 0.720186710357666, -0.2243822067975998, 0.459755539894104, 0.05616050213575363, 0.1989760547876358, -0.3159410059452057, -0.0005682915216311812, -0.1823415607213974, -0.23552510142326355, -0.6769800186157227, 0.1363704353570938, 0.5264047384262085, -0.31461620330810547, -0.1960777640342712...
a certificate that the client machines trust. This MSDN link has some information on how to do that. <http://msdn.microsoft.com/en-us/library/ms996418.aspx>
[ 0.3281897306442261, 0.31198349595069885, 0.2122572809457779, 0.28403693437576294, 0.04359443113207817, -0.3177858591079712, 0.5153039693832397, -0.24601417779922485, -0.00466448999941349, -0.372330904006958, -0.19610242545604706, 0.5361166000366211, -0.11617395281791687, -0.058095216751098...
I'm looking for a PHP (with MYSQL) nested sets class with all needed functions. For example: createLeftNode, createRightNode,createRootNode, createSubNode,deleteNode and **moveTree**. Not only 1 left, 1 right, 1 up and 1 down but also a part of a tree in a nother tree. Thanks! Well nested sets are great if you are wo...
[ 0.26098132133483887, -0.29977598786354065, 0.40602579712867737, 0.2354779839515686, -0.2632104754447937, 0.1866465061903, 0.003185760695487261, -0.18549160659313202, -0.27896663546562195, -1.0471247434616089, 0.20874513685703278, 0.10811763256788254, -0.199334055185318, 0.09230459481477737...
Why is it called a single in VB.net? I'm sure there is a good reason but it doesn't seem intuitive to a non formally trained programmer like me. BPAndrew's question seems to be really "why float in C# and Single in VB.NET", which noone actually answered, so here's my 2p... The use of "float" in C# seems to be a throwb...
[ 0.6231125593185425, -0.02043748088181019, 0.021141713485121727, 0.051502734422683716, -0.5529365539550781, -0.42527881264686584, -0.10534802824258804, -0.28346019983291626, -0.32837173342704773, 0.05575641617178917, 0.06236124411225319, 0.18204668164253235, -0.4646855890750885, 0.052168041...
above, naming them Single/Double actually makes more sense as they are single/double precision floating-point numbers.)
[ 0.2785487473011017, 0.21101409196853638, -0.002767300233244896, 0.08900406956672668, -0.232021763920784, 0.08408498018980026, -0.11825723201036453, -0.27458637952804565, -0.33762574195861816, -0.17528723180294037, -0.14718304574489594, 0.022053834050893784, -0.1291351467370987, 0.329716920...
We're implementing a hosted Windows SharePoint Services 3.0 system and I need to limit the number of users that a customer can give access to a site collection. A customer should be able to manage his entire site collection. He should just not be able to delete the site collection itself or add more than a given number...
[ 0.47191357612609863, -0.04139227792620659, 0.2824155390262604, 0.08350517600774765, -0.04944772645831108, -0.3698802590370178, 0.137716606259346, -0.12454592436552048, -0.44625037908554077, -0.6398838758468628, -0.08886301517486572, 0.20675872266292572, -0.4789981544017792, 0.2037619054317...
template but you cannot restrict the number of users. There is not standard way of limiting the number of users that can be added to a site. Not without serious hacking or removing functionality from users. One cannot eliminate the problem, only manage it: * Use the *peoplepicker-onlysearchwithinsitecollection* prope...
[ 0.5597220063209534, -0.18812178075313568, 0.2663310766220093, 0.015662137418985367, -0.03724713623523712, -0.46931588649749756, 0.25840553641319275, -0.44694286584854126, -0.2665863633155823, -0.570156991481781, -0.008955887518823147, 0.24661238491535187, -0.4008244276046753, 0.06220776215...
qualified names or SAM account names. You can periodically query SharePoint for the number of users added to the site collection (using the SiteUsers property of the SPWeb class). If the number added exceeds a specified limit you can notify someone or remove users automatically or whatever. Hopefully future versions...
[ 0.47049275040626526, -0.2163529396057129, 0.6379855275154114, 0.10994361340999603, 0.0908718928694725, -0.4097076952457428, 0.33056533336639404, -0.28650933504104614, -0.5705822110176086, -0.7606434226036072, -0.24057933688163757, 0.13675081729888916, -0.11160232871770859, 0.18093608319759...
In my Seam application, I have a Seam component that returns a (`@Datamodel`) list of items I want to transform into a set of `<li>` HTML elements. I have this working without a problem. But now, I want to split up the list according to an EL expression. So the EL expression determines if a new `<ul>` element should ...
[ -0.12479014694690704, -0.119891457259655, 0.3721029758453369, -0.12817040085792542, -0.2505941092967987, 0.20080682635307312, -0.06940322369337082, 0.00719451904296875, -0.2680037021636963, -0.9912475943565369, -0.35258734226226807, 0.4799481928348541, -0.2388552874326706, 0.02479688636958...
which isn't pretty but works: ``` <f:verbatim rendered="#{action.isNewList(index)}"> &lt;ul&gt; </f:verbatim> <!-- stuff that does the <li>'s goes here --> <f:verbatim rendered="#{action.isNewList(index)}"> &lt;/ul&gt; </f:verbatim> ```
[ -0.017529483884572983, 0.0035988022573292255, 0.44541266560554504, -0.2545783221721649, 0.21682511270046234, 0.3136807680130005, 0.48838576674461365, -0.30111366510391235, -0.3510957956314087, -0.13463926315307617, -0.5634730458259583, 0.5826237797737122, -0.41598349809646606, -0.708309412...
is there any way of making sure that, one user is logged in only once? I would like to avoid two different persons logging into the system with the same login/password. I guess I could do it myself by checking in the django\_session table before logging in the user, but I rather prefer using the framework, if there i...
[ 0.3878670632839203, 0.04180335998535156, 0.37856626510620117, -0.06766481697559357, -0.2512979805469513, -0.08876263350248337, 0.5250681638717651, 0.1568848341703415, -0.5354403853416443, -0.7186034917831421, 0.13179798424243927, 0.6312865614891052, 0.062365543097257614, 0.0024106528144329...
logging in again. How would the server know it was me trying to re-login vs. me trying to login twice? You can try things like checking the IP address. And what if the accidental disconnect was my router crashing, releasing my DHCP lease? Now I'm trying to re-login, but I have a new address and no established cooki...
[ 0.5402013063430786, -0.19985073804855347, 0.37027937173843384, -0.015826515853405, -0.11510983109474182, -0.2677355110645294, 0.6207353472709656, -0.118428535759449, -0.6108846068382263, -0.36709481477737427, 0.1073155403137207, 0.3617508113384247, -0.3995455801486969, 0.33447515964508057,...
up a rule appropriate to your application and figure out how to enforce it.
[ 0.5020390152931213, 0.4202731251716614, 0.14024823904037476, 0.10617665946483612, 0.27789074182510376, -0.38866758346557617, -0.06450383365154266, -0.3094662129878998, 0.16473445296287537, -0.4963504672050476, 0.053034309297800064, 0.5002912878990173, -0.03237064555287361, -0.3141821622848...
I have a csv file of the format: ``` 270291014011 ED HARDY - TRUE TO MY LOVE - Cap NEU 2008 NEU 0,00 € 0,00 € 0 1 0 22.10.2008 03:37:10 21.11.2008 02:37:10 21.11.2008 02:42:10 50 0 0 0 39,99 € http://i7.ebayimg.com/02/i/001/16/0d/68af_1.JPG?set_id=800005007 0 2 8.10.2008 13:40:20 8.10.2...
[ 0.21007850766181946, 0.418095201253891, 1.1031291484832764, -0.06300278753042221, -0.07687568664550781, 0.2915019094944, 0.6947045922279358, -0.5635792016983032, 0.05779051035642624, -0.24980448186397552, -0.02093864418566227, 0.48896074295043945, -0.11490393429994583, -0.071978360414505, ...
size="6"><b><font color="#990000" face="arial"><font color="#ff0000">100% ORGINAL MARKENWARE AUS DEN USA</font></font></b></font></h1> <p style="color: rgb(0, 0, 0);"><font size="6"><b><font face="arial">ED HARDY</font></b></font></p><p style="color: rgb(0, 0, 0);"><b><font face="arial" size="5">CAP<br></font></b></p><...
[ 0.07984797656536102, 0.3632337152957916, 0.4929644763469696, -0.08164768666028976, -0.6079998016357422, 0.4871687591075897, 0.7495088577270508, -0.558456540107727, -0.047703880816698074, -0.36904460191726685, 0.011358831077814102, 0.6154181361198425, -0.10640430450439453, 0.122322894632816...
color="#990000" face="arial"><font color="#ff0000"><b><font color="black" face="arial">Wir tragen die ebay Kosten und der Kaeufer die Versandkosten.</font></b></font></font></b><br><b><font color="#990000" face="arial"><font color="#ff0000"><b><font color="black" face="arial">Versandkosten nach Europa sind folgend:</fo...
[ -0.3725701868534088, 0.5086237192153931, 0.29996493458747864, -0.30636605620384216, -0.3366520404815674, 0.9906454086303711, 0.49541911482810974, -0.48874276876449585, 0.07442755252122879, -0.5196865797042847, -0.0298480074852705, 0.576389729976654, -0.08085913211107254, -0.039957091212272...
color="#990000" face="arial" size="5"><font color="#ff0000"><b><font color="black" face="arial" size="3"><font color="#ff0000"> </font></font></b></font></font></b><marquee width="70%" bgcolor="#ffffff"> <h2><b><font color="#990000" face="arial" size="5"><font color="#ff0000"><b><font color="black" face="arial" size="3...
[ -0.35279881954193115, 0.42391690611839294, 0.2555171251296997, -0.11410438269376755, -0.6639952659606934, 0.7447325587272644, 0.8271985054016113, -0.5128766298294067, 0.03187781572341919, -0.5300917029380798, -0.4170767664909363, 0.40557217597961426, -0.08917311578989029, -0.10241068899631...
keine e-mail erhalten haben, setzen Sie sich bitte mit uns per e-mail in Verbindung. <br><br> </font></font></font></font></b><h2><b><font color="#990000" face="arial" size="5"><font color="#ff0000"><font color="black" face="arial" size="3"><font color="black" face="arial" size="3">Kauf von mehreren Artikeln</font></fo...
[ -0.07110998034477234, 0.47107797861099243, 0.11584152281284332, -0.28591257333755493, -0.5224920511245728, 0.7003543376922607, 0.9217308163642883, -0.5087581276893616, 0.2676813006401062, -0.35378822684288025, -0.1443231701850891, 0.4249948561191559, -0.2129465490579605, -0.297194302082061...
color="#990000" face="arial" size="5"><font color="#ff0000"><font color="black" face="arial" size="3"><font color="black" face="arial" size="3">Versand</font></font></font></font></b></h2><b><font color="#990000" face="arial" size="5"><font color="#ff0000"><font color="black" face="arial" size="3"><font color="black" f...
[ -0.0409206748008728, 0.18150123953819275, 0.3938387930393219, 0.013674716465175152, -0.15789175033569336, 0.7283287644386292, 0.18791283667087555, -0.07532139122486115, -0.21745333075523376, -0.13727028667926788, -0.10782896727323532, 0.6517972350120544, 0.06661240011453629, -0.25389111042...
auch wenn es nur selten vorkommt sollten Sie sich mit den Einfuhrbestimmungen Ihres Landes vertraut machen. <br></font></font></font></font></b><br><b><font color="#990000" face="arial" size="5"><font color="#ff0000"><font color="black" face="arial" size="3"><font color="black" face="arial" size="3"><br> </font></font>...
[ -0.14188030362129211, 0.86363285779953, 0.22558365762233734, -0.6508645415306091, -0.7409743070602417, 0.9100063443183899, 1.20945405960083, -0.6360498070716858, 0.2308618575334549, -0.2799597978591919, -0.12136159092187881, 0.45175886154174805, -0.2833386957645416, 0.012373970821499825, ...
color="black" face="arial" size="3"><font color="black" face="arial" size="3">Wir bitten bei Beanstandungen der Ware sich erst mit uns in Verbindung zu setzten. Wir pruefen unsere Ware immer auf Defekte aber es kann vorkommen das uns etwas entgeht und bevor Sie eine "negative Bewertung" abgeben moechten wir die Chance ...
[ -0.40541940927505493, 0.35710105299949646, 0.05881226435303688, -0.24371862411499023, -0.7734392881393433, 0.8844499588012695, 0.9822063446044922, -0.5228100419044495, 0.07963363081216812, -0.39173197746276855, -0.2828461825847626, 0.4831623435020447, -0.28921017050743103, -0.2363894283771...
1 0 1 0 0 0,10 € 0,00 € 0,00 € 0 0 1 77 ``` I would like to know if there is an easy way with sed or awk to remove the HTML tags except for `<p>` tags. I would also like to know if it is possible for any link html embedding a Flash SWF file, to change the HTML automatically to link to this file. S...
[ 0.3662852346897125, 0.35572344064712524, 0.6071733236312866, -0.13960008323192596, -0.41422536969184875, -0.04352651536464691, 0.12299129366874695, -0.42095455527305603, -0.33047670125961304, -0.2537060081958771, -0.18856921792030334, 0.43620654940605164, -0.3957556188106537, -0.0212167520...
here for external description</a>` and then remove all other HTML tags except for `<p>` Is this even possible? Here's the Perl for removing the non-p tags--it won't work across lines though ``` perl -pe 's/<\/?(?>[^p]|p\w+)[^>]*>//ig' ``` That will print it out to standard out and you can redirect it from there. ...
[ -0.03449485823512077, -0.08028562366962433, 0.6926480531692505, -0.05829818546772003, -0.42988452315330505, 0.08555170148611069, 0.017048077657818794, -0.2859925329685211, -0.2412555068731308, -0.4703832268714905, -0.17928680777549744, 0.32884833216667175, -0.4444206953048706, -0.113241598...
If I define a struct in C# using automatic properties like this: ``` public struct Address { public Address(string line1, string line2, string city, string state, string zip) { Line1 = line1; Line2 = line2; City = city; State = state; Zip = zip; } public string ...
[ -0.054391223937273026, -0.467643141746521, 0.47559595108032227, -0.09751717746257782, -0.13546758890151978, -0.11743155866861343, 0.3364308178424835, -0.3633544445037842, 0.23577654361724854, -0.6926537156105042, -0.5718460083007812, 0.10304169356822968, -0.41168731451034546, -0.0425906814...
public string Line2 { get; protected set; } public string City { get; protected set; } public string State { get; protected set; } public string Zip { get; protected set; } } ``` When I attempt to build the file, I get a compilation error saying `The 'this' object cannot be used before all of its fields a...
[ 0.1805812269449234, -0.2783806324005127, 0.45276039838790894, -0.20634475350379944, 0.23275317251682281, -0.09382110089063644, 0.4609832465648651, -0.3290267586708069, -0.016044078394770622, -0.668210506439209, -0.645495593547821, 0.1215788945555687, -0.5688104629516602, 0.2937516272068023...
Line1 = line1; Line2 = line2; City = city; State = state; Zip = zip; } ``` My question is, why does this work, and what is happening? I have a guess, and I tried to prove it by looking at IL, but I'm only kidding myself if I think I can break down IL. But my guess is, auto properties work by having th...
[ 0.5656098127365112, -0.25278714299201965, -0.012552882544696331, 0.2691648006439209, 0.03486150875687599, -0.10447905212640762, 0.03699735552072525, -0.2884384095668793, 0.0527205653488636, -0.7058460712432861, -0.16062277555465698, 0.34437161684036255, -0.43354520201683044, -0.09541676938...
When creating a struct, a default constructor cannot be explicitly defined. So behind the scenes, the compiler must be generating a default constructor that sets the values of the fields that the developer can't see. Any and all IL wizards are welcome to prove or disprove my theory. **Note: as of C# 6, this isn't requ...
[ 0.21881844103336334, 0.14696666598320007, 0.3253854811191559, -0.11497186124324799, -0.45332813262939453, -0.22815045714378357, 0.31323450803756714, -0.005277844145894051, 0.21438093483448029, -0.5699203610420227, -0.3135242164134979, 0.6509346961975098, -0.3280176818370819, -0.18797488510...
you can start accessing *any* properties. It's annoying, but that's the way it is. Are you sure you really want this to be a struct though? And why use a protected setter on a struct (which can't be derived from)?
[ 0.48369067907333374, -0.03639652580022812, 0.2704631984233856, 0.3612905442714691, -0.1211053803563118, -0.5457664132118225, 0.174952894449234, -0.09074859321117401, 0.01790549047291279, -0.37811750173568726, 0.12405625730752945, 0.28699225187301636, -0.21733130514621735, 0.151766046881675...
I have a triangle mesh that has no texture, but a set color (sort of blue) and alpha (0.7f). This mesh is run time generated and the normals are correct. I find that with lighting on, the color of my object changes as it moves around the level. Also, the lighting doesn't look right. When I draw this object, this is the...
[ 0.21438230574131012, -0.11259479820728302, 0.8153918385505676, -0.09905263036489487, -0.0635933130979538, 0.33802470564842224, 0.23016686737537384, -0.38326796889305115, 0.07857827842235565, -0.974940299987793, 0.31997883319854736, 0.7563336491584778, -0.29421675205230713, 0.32267850637435...