text stringlengths 0 30.5k | title stringclasses 1
value | embeddings listlengths 768 768 |
|---|---|---|
I am a fairly junior programmer and have the task of interviewing an experienced mainframe COBOL programmer for a position doing C++ development for Windows Mobile. By experienced I mean that the candidate's entire programming career has been COBOL.
I am not biased against any particular language, just slightly concer... | [
0.3817482888698578,
0.6286490559577942,
-0.06493458151817322,
-0.1953035593032837,
-0.004094928968697786,
-0.43582868576049805,
0.14996321499347687,
0.2344755381345749,
0.04322604835033417,
-0.32749050855636597,
-0.13386030495166779,
0.8242202997207642,
0.29885461926460266,
-0.226178050041... | |
SO, what would be helpful are any specific things I look for given the nature of the candidate's background.
The best thing is, give him a task, similar to what he will have to do at your company.
Tell him he can use pseudo code (So no Internet is needed).
Also, The main problem Cobol people have is to grasp OO (Since... | [
0.15377286076545715,
0.23707084357738495,
0.20148012042045593,
0.30599355697631836,
0.16911740601062775,
-0.27998122572898865,
0.2324303388595581,
0.2306167632341385,
-0.11716404557228088,
-0.5657589435577393,
-0.19333474338054657,
0.5764394402503967,
-0.3112945854663849,
-0.35037386417388... | |
The Google AppEngine [development server](http://code.google.com/appengine/docs/java/tools/devserver.html) simulates Google's backend database with an embedded database. It creates a file on you local disk that you can delete to clear the DB.
Is there a tool that allows to browse and edit this data, similar to the Data... | [
0.20977573096752167,
0.2044185847043991,
0.3142596483230591,
0.08186067640781403,
-0.3128228485584259,
0.2661959230899811,
0.17782427370548248,
-0.1057799905538559,
0.0760398879647255,
-0.7853886485099792,
-0.032783251255750656,
0.39647337794303894,
-0.3817068934440613,
0.10843963176012039... | |
Is ext js compatible with .jsp, java backend?
Ext JS is a javascript library. It exists at the client side of the browser. So it doesn't matter whether you use PHP, JSP or ASP.Net, as long as a browser supports javascript, ExtJS will work there. | [
0.20499610900878906,
-0.1409359872341156,
0.6060293316841125,
-0.11438623070716858,
-0.21132537722587585,
-0.24522624909877777,
0.33367106318473816,
0.18668554723262787,
0.07400234788656235,
-0.8296388387680054,
-0.16860145330429077,
0.6226959228515625,
-0.5981671214103699,
-0.363756924867... | |
I have always wondered: what programming languages were used to go to the moon?
I realize there may not be a single answer/language, but it interests me.
How many people worked on the code for these systems? How was it tested?
Not a full answer, but a bit more info:
"The on-board Apollo Guidance Computer (AGC) was ab... | [
0.4697823226451874,
0.5520387887954712,
0.10720755904912949,
0.6403375864028931,
0.14879067242145538,
0.5526474118232727,
-0.2191958874464035,
0.1599804013967514,
-0.2555702328681946,
-0.0636800229549408,
0.08843395113945007,
0.2506103515625,
0.07208642363548279,
-0.3698265850543976,
-0.... | |
time was 11.7 micro-seconds. **Programming was done in assembly language and in an interpretive language, in reverse Polish.**"
<http://www.hq.nasa.gov/alsj/a11/a11.1201-fm.html>
Added: the BBC has recently published a [wonderful article about the AGC](http://news.bbc.co.uk/2/hi/technology/8148730.stm) including inte... | [
0.252974271774292,
0.2748303711414337,
0.5468944907188416,
0.16953285038471222,
0.040970537811517715,
0.46000975370407104,
0.3802203834056854,
-0.33773672580718994,
-0.4897436201572418,
-0.20289663970470428,
-0.15932084619998932,
0.3280467092990875,
0.38497450947761536,
-0.3744868934154510... | |
I want to read line-by-line from a given input file,, process each line (i.e. its words) and then move on to other line...
So i am using fscanf(fptr,"%s",words) to read the word and it should stop once it encounters end of line...
but this is not possible in fscanf, i guess... so please tell me the way as to what to... | [
0.04957275837659836,
-0.16952398419380188,
0.6989412903785706,
0.06002599000930786,
0.05302548408508301,
0.17484520375728607,
0.17789004743099213,
0.16157501935958862,
-0.1841936707496643,
-0.5641923546791077,
-0.2848430275917053,
0.012469676323235035,
-0.21536190807819366,
0.3239641785621... | |
from c `stdio.h`.
You may also use `sscanf()` to read words from string, or just `strtok()` to separate them.
---
*In response to comment:* this behavior of `fgets()` (leaving `\n` in the string) allows you to determine if the actual end-of-line was encountered. Note, that `fgets()` may also read only part of the li... | [
-0.18750660121440887,
-0.08780691772699356,
0.4208679795265198,
-0.2760494649410248,
-0.13911126554012299,
0.089225634932518,
0.3802775740623474,
0.12761275470256805,
-0.24169829487800598,
-0.39173424243927,
-0.535222589969635,
0.40646862983703613,
-0.15905678272247314,
0.11964603513479233... | |
'\n') {
str[len-1] = 0;
}
```
Simple as that. | [
-0.10643815994262695,
-0.01157258078455925,
0.24162012338638306,
-0.4892348051071167,
-0.16032105684280396,
-0.07486752420663834,
0.2285246104001999,
-0.21255527436733246,
-0.07191794365644455,
-0.106057308614254,
-0.5232310891151428,
0.6686151027679443,
-0.38658732175827026,
0.07500496506... | |
I am trying to create a custom scrollbar and am using images as button.
For now a simple
I can handle the MouseLeftButtonDown and Up event just fine but what I'd like to do is while its held down, every so many millisecond trigger an event is fired.
I tried something like this but it isn't quite working. Suggestion... | [
0.30952295660972595,
0.0477188378572464,
0.617858350276947,
-0.1815866380929947,
0.16335849463939667,
0.25277945399284363,
0.3553038537502289,
-0.4097135663032532,
-0.36174461245536804,
-0.625118613243103,
-0.014395185746252537,
0.842387855052948,
-0.6214665174484253,
0.19501450657844543,
... | |
if (this.OnChanged != null)
{
this.OnChanged(this, 1);
}
}
```
The piece of functionality you're looking for is a RepeatButton, this will fire it's Click event repeatedly while the mouse button is held down. You can configure the delay and the interval of the events.
You could then style this button ... | [
0.405009388923645,
-0.2400972694158554,
0.6199346780776978,
-0.05756223946809769,
0.27420687675476074,
-0.2612083852291107,
0.10743359476327896,
-0.34826725721359253,
-0.40743765234947205,
-0.4130569398403168,
0.13109859824180603,
0.588224470615387,
-0.6012303233146667,
0.14942581951618195... | |
I am designing this database that must maintain a history of employee salary and the movements within the organization. Basically, my design has 3 tables (I mean, there more tables but for this question I'll mention 3, so bear with me). Employee table (containing the most current salary, position data, etc), SalaryHist... | [
0.23756685853004456,
0.1361037790775299,
0.7160809636116028,
0.396563857793808,
0.34861230850219727,
0.322351336479187,
-0.4867888391017914,
-0.3388499617576599,
-0.40260985493659973,
-0.5737031698226929,
0.23235802352428436,
0.2401229292154312,
0.1411105990409851,
0.26557445526123047,
-... | |
it using Linq to SQL or triggers?** Thanks for any help, suggestion or idea.
Have a look at <http://www.simple-talk.com/sql/database-administration/database-design-a-point-in-time-architecture> .
Basically, the article suggests that you have the following columns in the tables you need to track history for -
```
* Da... | [
0.16375021636486053,
0.13216570019721985,
0.46342921257019043,
0.07233906537294388,
0.260032057762146,
0.007099076174199581,
-0.07675198465585709,
0.0699673742055893,
-0.15935254096984863,
-0.26305779814720154,
-0.1729680895805359,
0.14844246208667755,
-0.42199575901031494,
0.0429844893515... | |
the row.
```
DateEffective and DateEnd together tell you the time for which the row was valid (or the time for which an employee was in a department, or the time for which he earned a particular salary). | [
0.10056069493293762,
0.38606128096580505,
0.580204963684082,
0.03246369957923889,
0.2131148874759674,
0.30611172318458557,
-0.46459057927131653,
0.10902751237154007,
-0.26014307141304016,
-0.1876038759946823,
-0.26558688282966614,
0.2003101408481598,
-0.0546119324862957,
0.3496421575546264... | |
I built an online news portal before which is working fine for me but some say the home page is slow a little bit. When I think of it I see a reason why that is.
The home page of the site displays
1. Headlines
2. Spot news (sub-headlines
3. Spots with pictures
4. Most read news (as titles)
5. Most commented news (as... | [
0.5058166980743408,
0.3065149784088135,
0.41594037413597107,
0.15398147702217102,
-0.4100383520126343,
-0.2113589644432068,
0.2030334174633026,
0.169157475233078,
-0.1460546851158142,
-0.6688682436943054,
-0.10923858731985092,
0.4878235459327698,
0.18884283304214478,
0.17218631505966187,
... | |
the business logic in my news class that returns the datatables by the tableadapter. from there on, I either use the datatable by just binding it to the controls or (most of the time) the object converts it to a list(of news) for example and I consume it from there.
Doing this for each of the above seems to work fine ... | [
0.5039233565330505,
0.12983159720897675,
0.23455657064914703,
0.3225470781326294,
-0.13406704366207123,
-0.14786405861377716,
-0.14699770510196686,
0.23070989549160004,
-0.3004571199417114,
-0.5883727073669434,
0.07540515065193176,
0.7666354775428772,
-0.1340291053056717,
0.199818834662437... | |
24 hours non-stop. so caching in this case might not sound good. but on the other hand, I know have another similar project for a local newspaper. The site will only be updated once a day. In this case:
Can I only run one query, that would return a datatable containing all the news items inserted for today, then query ... | [
0.8102666139602661,
-0.053117502480745316,
0.34775784611701965,
0.1955614686012268,
-0.11699201166629791,
-0.24044597148895264,
0.34087935090065,
0.3595942258834839,
-0.25297310948371887,
-0.4504983723163605,
0.0746568813920021,
0.8350595235824585,
-0.306171178817749,
-0.06491795182228088,... | |
use FireBug to find out what elements are taking time to load. Sometimes large images can ruin the show (and the size of the image on screen isn't always relative its download size).
Secondly you could download the Yahoo Firefox plugin YSlow and investigate if you have any slowing scripts.
But Firebug should give you... | [
0.41051527857780457,
-0.13232874870300293,
0.3661021292209625,
0.08835524320602417,
-0.37308746576309204,
-0.4934226870536804,
0.3323650062084198,
0.013288683257997036,
-0.25439268350601196,
-0.8101692199707031,
0.056662991642951965,
0.7162372469902039,
-0.27728623151779175,
-0.21352438628... | |
In business Objects, When I click the User Objects icon in a query panel for a universe, the User Objects dialog box doesnt opens up, however, i checked with other universe, there user objects dialog opens up.
I am not sure of what exactly the parameter of the universe in Designer, enables this feature in Business Ob... | [
-0.22097036242485046,
0.22810757160186768,
0.475643515586853,
0.008868824690580368,
0.009982690215110779,
-0.19235052168369293,
0.24430929124355316,
0.109454445540905,
-0.4026699364185333,
-0.7076824307441711,
-0.13687415421009064,
0.5567432641983032,
-0.5261762142181396,
0.66868656873703,... | |
I am writing a server application in Delphi 2009 that implements several types of authentication. Each authentication method is stored in a separate dll. The first time an authentication method is used the appropriate dll is loaded. The dll is only released when the application closes.
Is it safe to access the dlls wi... | [
0.09560878574848175,
0.01326557993888855,
0.6869270205497742,
-0.13430753350257874,
-0.288821816444397,
-0.3006274402141571,
0.25767555832862854,
-0.3003768026828766,
-0.05318140983581543,
-0.4519861042499542,
-0.07416321337223053,
0.19660338759422302,
-0.45460593700408936,
0.0070077632553... | |
own code.
**Long answer:**
If it is *actually* possible depends on the DLL functions using a **shared mutable state** or not.
For example if you do something like this:
```
DLL_SetUser(UserName, Password)
if DLL_IsAuthenticated then
begin
...
end;
```
Then it is most certainly **not** safe to be used from differe... | [
0.48494648933410645,
-0.04394221305847168,
0.5194831490516663,
0.0274274330586195,
0.10887941718101501,
-0.3181268870830536,
0.4728858172893524,
-0.3706808090209961,
-0.12231539934873581,
-0.6393998861312866,
-0.09138666093349457,
0.7645746469497681,
-0.48238787055015564,
0.108257740736007... | |
be careful: It might be possible that a DLL function looks atomic, but internally uses something, which isn't. If for example if the DLL creates a temporary file with always the same name or it accesses a database which can only handle one request at a time, it counts as a shared state. (Sorry, I couldn't think of bett... | [
0.5745749473571777,
-0.13046006858348846,
0.047631774097681046,
0.2627834379673004,
-0.01106833852827549,
-0.3706805109977722,
0.1385982185602188,
0.18813656270503998,
-0.4678543210029602,
-0.4427652359008789,
-0.19145512580871582,
0.6043297052383423,
-0.279438316822052,
0.2082217335700988... | |
you run into performance problems. In that case you could try creating multiple applications/processes which wrap your DLL calls and use them as proxies. | [
0.3777233064174652,
-0.11761397868394852,
0.009232079610228539,
0.515959620475769,
-0.010971209965646267,
-0.3022879660129547,
0.16520552337169647,
-0.07573963701725006,
-0.12446008622646332,
-0.5268352031707764,
-0.21630467474460602,
0.5383371114730835,
-0.4104584753513336,
0.021897755563... | |
Say I have a very simple java object that only has some getXXX and setXXX properties. This object is used only to handle values, basically a record or a type-safe (and performant) map. I often need to covert this object to key value pairs (either strings or type safe) or convert from key value pairs to this object.
Ot... | [
0.3003048896789551,
0.036203235387802124,
0.1023305281996727,
-0.031169205904006958,
-0.07846159487962723,
-0.40661415457725525,
0.23824842274188995,
0.005257232114672661,
-0.20919844508171082,
-0.6135032773017883,
0.09414523839950562,
0.36534926295280457,
-0.398578405380249,
0.01707839965... | |
is always apache [commons beanutils](http://commons.apache.org/beanutils/) but of course it uses reflection under the hood | [
0.4369136691093445,
0.15925122797489166,
0.303594172000885,
0.1183885782957077,
-0.41078218817710876,
-0.7242640852928162,
0.4856010973453522,
0.08984091132879257,
0.08028753101825714,
0.18448607623577118,
0.09662124514579773,
0.2847214639186859,
-0.004542740061879158,
-0.17280040681362152... | |
I have a dropdown list that contains a series of options:
```
<select id=SomeDropdown>
<option value="a'b]<p>">a'b]<p></option>
<option value="easy">easy</option>
<select>
```
Notice that the option value/text contains some nasty stuff:
* single quotes
* closing square bracket
* escaped html
I need to re... | [
-0.0070361304096877575,
-0.1986498087644577,
0.40926992893218994,
0.007094045635312796,
-0.02340093068778515,
-0.0023421389050781727,
0.4177323579788208,
-0.45427849888801575,
-0.2017386555671692,
-0.4227655529975891,
-0.2664899230003357,
0.37090003490448,
-0.400900661945343,
-0.0290112905... | |
work in jQuery because its selector parser is not completely standards-compliant. It uses this regex to parse the `value` part of an `[attr=value]` condition:
```
(['"]*)(.*?)\3|)\s*\]
```
\3 being the group containing the opening quotes, which weirdly are allowed to be multiple opening quotes, or no opening quotes ... | [
-0.13646134734153748,
0.18760520219802856,
0.28500187397003174,
-0.11392617225646973,
-0.3014470040798187,
-0.4297775626182556,
0.44891777634620667,
-0.30005791783332825,
-0.05703136324882507,
-0.4774317741394043,
-0.31608617305755615,
0.5801613926887512,
-0.21556855738162994,
-0.274024367... | |
there are perfectly good DOM methods you can use, in particular HTMLSelectElement.options:
```
var select= document.getElementById('SomeDropdown');
for (var i= select.options.length; i-->0;) {
if (select.options[i].value=="a'b]<p>") {
// do something with option
} }
```
This is many times simpler and f... | [
-0.059598423540592194,
-0.5157453417778015,
0.44486910104751587,
0.010183705948293209,
-0.08716679364442825,
-0.1713230162858963,
0.327796995639801,
-0.37370729446411133,
-0.13560816645622253,
-0.5986888408660889,
-0.3308005630970001,
0.7765798568725586,
-0.17036303877830505,
-0.1319046020... | |
I'm going to bugfix a WinForms application (.NET 2.0) in the near future. Looking through the source code I find large code files (more than 2000 lines) most of them are generated dialogs with lots of code-behind.
Has anyone tips for me to share? Any war stories or best-practices for bug fixing or refactoring WinForms... | [
0.6500844955444336,
0.047146331518888474,
0.3690986931324005,
0.056647889316082,
0.008353509940207005,
-0.16430623829364777,
0.4868464171886444,
0.3232092559337616,
0.016660332679748535,
-1.067366600036621,
-0.03578011691570282,
0.3777393102645874,
-0.3989313542842865,
-0.06932149827480316... | |
Business Layer, Data Access Layer (or some other service layer).
* Lots of patience and document everything!
I think this is the basic stuff. A lot of people here must have lots of suggestions. Good luck! | [
0.5797553062438965,
0.11271567642688751,
0.4728121757507324,
0.1375494748353958,
0.1438300758600235,
-0.4716913104057312,
0.4978572130203247,
0.4223402738571167,
-0.37329620122909546,
-0.6943178772926331,
-0.2568548619747162,
0.45187702775001526,
0.24876196682453156,
0.06674524396657944,
... | |
I'm using the standard Visual Studio deployment project and want to remove the text in the banner (the text that says "Welcome to the Your Project Setup Wizard".
I want to remove it because I want a custom banner and don't want the text written over the banner.
I can't see any properties in VS to allow this. Can it ... | [
0.5465512871742249,
-0.10427764058113098,
0.32826605439186096,
-0.2788657248020172,
-0.1840282678604126,
-0.40512749552726746,
0.45745161175727844,
-0.05938464775681496,
-0.13910290598869324,
-0.8325203061103821,
-0.14719519019126892,
0.8802554607391357,
-0.14053265750408173,
-0.2767572999... | |
- User Interface
* Under the Start group for Install and Administrative Install delete "Welcome"
Then you can add a "Textboxes (A)" dialog (right click the "Start" group and select Add Dialog) to the project, set the visible property for the text boxes to false. Move the Textboxes (A) up to the top of the "Start" sequ... | [
0.4379799962043762,
-0.2287587672472,
0.7401598691940308,
-0.08957302570343018,
-0.42193302512168884,
-0.5100611448287964,
0.36276304721832275,
-0.20840983092784882,
-0.07786533236503601,
-0.9242929220199585,
-0.34994444251060486,
0.3376404047012329,
-0.05899034067988396,
-0.11478365212678... | |
I'm trying to install an Eclipse plugin for Mylyn/Fogbugz, and I get the following error when I try either EclipseBugz or Foglyn:
```
Cannot find a solution satisfying the following requirements Match[requiredCapability: org.eclipse.equinox.p2.iu/org.eclipse.swt
```
I'm using Eclipse 3.4.1
what other update sites do... | [
0.41855388879776,
0.08480173349380493,
0.6743316650390625,
-0.12918365001678467,
-0.2949640154838562,
-0.2809506952762604,
0.24445253610610962,
0.07818564027547836,
0.05907614156603813,
-0.8564821481704712,
0.07131965458393097,
0.9221426248550415,
-0.34518516063690186,
0.04437495768070221,... | |
sites except one I wanted to use.
Btw, Eclipse 3.5M6 has option to use only selected update site -- it is great help when updating/installing plugins. I cannot wait to see Eclipse 3.5 final released, just for this feature. | [
0.733877956867218,
0.027831675484776497,
0.4419071078300476,
0.0928734689950943,
-0.3152587413787842,
-0.5093153119087219,
0.3126763701438904,
0.19990316033363342,
-0.07967830449342728,
-0.6742228865623474,
-0.25103142857551575,
0.6712539792060852,
-0.22369959950447083,
-0.1640443056821823... | |
I'm a newbie in PHP, so forgive me for a basic question.
In a `While` statement, is there a way to know if a value in a row is equal to a value in the previous row?
```
$get = mysql_query("...");
$previous = '';
while ($row = mysql_fetch_assoc($get)) {
$current = $row['...'];
if ($current == $previous) {
// do s... | [
0.08165201544761658,
0.14476343989372253,
0.6790086627006531,
-0.12387769669294357,
-0.02449585683643818,
-0.12069528549909592,
0.42938846349716187,
-0.19263364374637604,
-0.21857979893684387,
-0.3744187355041504,
-0.032389603555202484,
0.4928298592567444,
-0.06417010724544525,
0.399406909... | |
have to be made equal inside the if loop.
```
$get = mysql_query("...");
$previous = '';
$current = '';
while ($row = mysql_fetch_assoc($get)) {
if ($current == $previous) {
$current = $row['...'];
// do stuff
}
$previous = $current;
}
``` | [
-0.1784232258796692,
0.11932113766670227,
0.5596165060997009,
-0.10005517303943634,
0.256562203168869,
-0.16436900198459625,
0.1424909383058548,
-0.3903908431529999,
-0.12338753044605255,
-0.44822341203689575,
-0.20780473947525024,
0.7080543041229248,
-0.20906686782836914,
0.26595678925514... | |
I want to create a website where users who sign up are able to get a subdomain on my main domain a la blogspot.com (ex. user.mywebsite.com)
I really don't know how to get about doing this. I guess this will involve DNS. Here is some more info about my requirement.
1. Don't need to set up an IIS website either.
2. I w... | [
0.5988128781318665,
-0.2953052818775177,
0.38225123286247253,
0.3625956177711487,
0.12266334146261215,
-0.5665835738182068,
0.29151856899261475,
0.14921626448631287,
-0.0936574935913086,
-0.6459478139877319,
0.13133147358894348,
0.09997856616973877,
-0.25587210059165955,
0.2849851250648498... | |
whether the website really exists in your application. Setting each one up in IIS would be a bit messy.
<http://en.wikipedia.org/wiki/Wildcard_DNS_record> | [
0.5250497460365295,
-0.34895840287208557,
0.19602078199386597,
0.4359637200832367,
0.3400265574455261,
-0.24442410469055176,
-0.002456820569932461,
-0.12776751816272736,
-0.420034259557724,
-0.37172457575798035,
-0.11746591329574585,
0.04010986536741257,
-0.013269285671412945,
-0.049823433... | |
I want to implement support of the XMLRPC protocol for my server that is written in C and C++ and now looking for the most widely adopted xmlrpc library. License is not an issue, GPL would be fine. What would you suggest ? Is there any defacto standard xmlrpc C library for such a purpose ?
The de facto standard would i... | [
0.5558164119720459,
0.0833483636379242,
0.35905781388282776,
-0.054804202169179916,
-0.2873406708240509,
-0.27275463938713074,
-0.051027242094278336,
-0.1376395970582962,
-0.17814353108406067,
-0.5788318514823914,
0.1647253930568695,
0.4618651568889618,
-0.15622150897979736,
0.218393370509... | |
go where GPL didn't allow you to go before ;) | [
0.21529212594032288,
-0.11341686546802521,
0.4543459713459015,
0.3141247630119324,
0.3810460865497589,
-0.5219100713729858,
0.5399603843688965,
-0.14128492772579193,
-0.1427370011806488,
-0.22608554363250732,
-0.1183830052614212,
0.44670531153678894,
-0.06511781364679337,
0.017185980454087... | |
I am developing email queue module for my php application. So all emails(user notifications, password reminder ...) will be put into the queue and will send by cron process based on the priority of emails. But i will have news letter module soon. so my question is either to keep newsletter in seperated queue or can be ... | [
0.3765290379524231,
0.0807793065905571,
0.3178415298461914,
0.006074810866266489,
-0.15945535898208618,
-0.08309765160083771,
0.19052618741989136,
0.22231680154800415,
-0.35597941279411316,
-0.6800854802131653,
0.10408138483762741,
0.4362473487854004,
-0.14963528513908386,
0.16802322864532... | |
can stick with one queue, but be sure to have the ability to specify which IP address a particular email can be sent from. You'll want to have different IP addresses for sending newsletters, signups, invoices, etc. And even further, you'll want to have an IP for sending newsletters to trusted addresses and untrusted ad... | [
0.5080026388168335,
-0.2562948167324066,
0.4130503833293915,
0.3839153051376343,
-0.010724462568759918,
-0.08152918517589569,
-0.06988048553466797,
0.16151182353496552,
-0.4051041007041931,
-0.6651484370231628,
0.07060720771551132,
0.25694742798805237,
-0.1644192636013031,
-0.0592455901205... | |
I'm looking for a way to make programs appear (frequently) used, so that they would appear in the Start menu's "Recently Used Programs" (after a zero touch install).
I'm trying to figure out how Windows stores information related to program usage frequency.
The only (maybe) related things I can see being changed when... | [
0.5985817313194275,
0.007288325112313032,
0.08490148931741714,
0.21579229831695557,
0.07039719074964523,
-0.07265956699848175,
0.20499053597450256,
0.2899552583694458,
-0.49660956859588623,
-0.7063722014427185,
-0.06910674273967743,
0.4314274191856384,
-0.19870564341545105,
0.3232776224613... | |
this...**
**Update2**: I'm making progress... Now I know where they keys are stored and I know that the keys are **ROT13** "encrypted". And the second 4 bytes of the values are the counter.. [http://blog.didierstevens.com/2006/07/24/rot13-is-used-in-windows-you’re-joking/](http://blog.didierstevens.com/2006/07/24/rot1... | [
0.10642915219068527,
0.560907781124115,
0.1993078887462616,
0.06736775487661362,
-0.07065078616142273,
-0.0756790041923523,
0.49897274374961853,
0.2551533281803131,
-0.7833550572395325,
-0.3878386318683624,
-0.04537754878401756,
0.5493612289428711,
-0.08275634050369263,
0.1568186730146408,... | |
I'm having a problem pushing a UITableViewController onto a NavigationController. With the following code:
```
ProblemEditController *problemEditController = [[[ProblemEditController alloc] initWithNibName:@"ProblemEditController" bundle:nil] retain];
problemEditController.problem = [[Problem alloc] init];
[self.navig... | [
-0.5720518827438354,
0.14422543346881866,
0.7623711228370667,
-0.10046426206827164,
0.13541345298290253,
-0.004030619747936726,
0.4248336851596832,
-0.06889387220144272,
-0.46675369143486023,
-0.8527177572250366,
-0.15027907490730286,
0.570584237575531,
-0.2274356484413147,
0.2679634988307... | |
than just added a table view.
I'd basically messed up the connection to view in IB. For future reference, this is what a custom UITableViewController should look like in IB:
[alt text http://pix.im/files/134/scaled.jpg?1239453713](http://pix.im/files/134/scaled.jpg?1239453713)
Now I feel like a cretin. | [
0.10489474982023239,
-0.07634500414133072,
0.7418175935745239,
-0.007928406819701195,
-0.11467862129211426,
-0.2901338040828705,
0.3034384548664093,
0.09827136248350143,
-0.5531168580055237,
-0.7108717560768127,
0.059205424040555954,
0.18327540159225464,
0.12307899445295334,
0.634918749332... | |
I was wondering if there is a way to extract an Image object from a Cursor object in Java.
A use for this would be for instance :
```
Image img = extractCursorImage(Cursor.getDefaultCursor());
```
Which you then can draw on a toolbar button (that's the purpose I want it for).
The [Cursor](http://java.sun.com/javase... | [
0.030329981818795204,
-0.14536918699741364,
0.4527694284915924,
-0.1361808329820633,
-0.30354946851730347,
0.1586960256099701,
-0.13293522596359253,
0.016403060406446457,
-0.2555614411830902,
-0.6134476661682129,
0.24167834222316742,
0.7021647095680237,
-0.24097199738025665,
-0.11271114647... | |
mentioned?
Below is some code to draw built-in Windows cursors using the [JNA](https://github.com/twall/jna/) library. If you can use JNA, you can avoid C++ compilers.
I'm probably making too many native calls, but the cost is not significant for one-shot icon generation.
[hand cursor drawn in Java http://f.imagehos... | [
-0.3064873218536377,
-0.03994971886277199,
0.636155903339386,
-0.24806272983551025,
-0.31455332040786743,
0.2653995454311371,
-0.009431383572518826,
-0.3347555100917816,
-0.42328178882598877,
-0.6779488921165466,
-0.054645437747240067,
0.5779312252998352,
-0.43038198351860046,
-0.135825395... | |
Pointer hIcon = user32
.LoadCursorW(Pointer.NULL, cursor);
Pointer hdc = gdi32.CreateCompatibleDC(Pointer.NULL);
Pointer bitmap = gdi32.CreateCompatibleBitmap(hdc,
width, height);
gdi32.SelectObject(hdc, bitmap);
user32.DrawIconEx(hdc, 0, 0, hIcon, width, height, 0,
Pointer.NULL... | [
-0.24001121520996094,
-0.2123340219259262,
0.9577980637550354,
-0.21704459190368652,
-0.09793258458375931,
0.23986931145191193,
0.1716327667236328,
-0.5530014634132385,
0.1543760448694229,
-0.34878072142601013,
-0.3806077539920807,
0.6562517881393433,
-0.49586179852485657,
0.04442270472645... | |
gdi32.GetPixel(hdc, x, y);
image.setRGB(x, y, rgb);
}
}
gdi32.DeleteObject(bitmap);
gdi32.DeleteDC(hdc);
}
public static void main(String[] args) {
final int width = 128;
final int height = 128;
BufferedImage image = new BufferedImage(width, height,
BufferedImage.TYP... | [
-0.3435412049293518,
-0.5434215068817139,
0.701359748840332,
-0.3829936981201172,
-0.084327332675457,
0.4496970772743225,
0.3187485635280609,
-0.1967044174671173,
-0.13847538828849792,
-0.5663765072822571,
-0.47933724522590637,
0.49299195408821106,
-0.5627027153968811,
0.21355752646923065,... | |
User32.IDC_HAND, User32.DI_MASK);
applyMask(image, mask);
JLabel icon = new JLabel();
icon.setIcon(new ImageIcon(image));
JFrame frame = new JFrame();
frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
frame.setContentPane(icon);
frame.pack();
frame.setVisible(true);
}
private ... | [
-0.038863714784383774,
-0.3908945620059967,
0.9386825561523438,
-0.3508972227573395,
0.2350880652666092,
0.12289541214704514,
0.26000919938087463,
-0.750969409942627,
-0.14990234375,
-0.536352813243866,
-0.4257505238056183,
0.6838318705558777,
-0.5305518507957458,
-0.011447187513113022,
... | |
y++) {
int masked = mask.getRGB(x, y);
if ((masked & 0x00FFFFFF) == 0) {
int rgb = image.getRGB(x, y);
rgb = 0xFF000000 | rgb;
image.setRGB(x, y, rgb);
}
}
}
}
}
```
User32.dll interface:
```
public interface User32 extends Library {
public static... | [
-0.11683962494134903,
-0.22239799797534943,
0.7985905408859253,
-0.07797488570213318,
-0.13538970053195953,
0.11355064064264297,
0.3945257365703583,
-0.7471129894256592,
-0.004226849880069494,
-0.5573368072509766,
-0.17771610617637634,
0.6855042576789856,
-0.5024241209030151,
0.21991384029... | |
(User32) Native
.loadLibrary("User32", User32.class);
/** @see #LoadCursorW(Pointer, int) */
public static final int IDC_ARROW = 32512;
/** @see #LoadCursorW(Pointer, int) */
public static final int IDC_IBEAM = 32513;
/** @see #LoadCursorW(Pointer, int) */
public static final int IDC_WAIT = 32514;
... | [
-0.21902285516262054,
-0.14607210457324982,
0.5279837846755981,
-0.3223690390586853,
-0.2343381941318512,
0.27076879143714905,
0.1899217665195465,
-0.5872741341590881,
-0.3172175884246826,
-0.4516766369342804,
-0.25948697328567505,
0.5339030027389526,
-0.3598669171333313,
0.209676831960678... | |
public static final int IDC_SIZENESW = 32643;
/** @see #LoadCursorW(Pointer, int) */
public static final int IDC_SIZEWE = 32644;
/** @see #LoadCursorW(Pointer, int) */
public static final int IDC_SIZENS = 32645;
/** @see #LoadCursorW(Pointer, int) */
public static final int IDC_SIZEALL = 32646;
/** @see #... | [
-0.3709012269973755,
-0.23687481880187988,
0.8389530181884766,
-0.3642508089542389,
-0.17609374225139618,
0.43096625804901123,
-0.1549641340970993,
-0.37832218408584595,
-0.5116279125213623,
-0.21731306612491608,
-0.49848252534866333,
0.6176559925079346,
-0.2556268572807312,
-0.06634311378... | |
final int IDC_HELP = 32651;
/** @see #LoadCursorW(Pointer, int) */
public static final int IDC_ICON = 32641;
/** @see #LoadCursorW(Pointer, int) */
public static final int IDC_SIZE = 32640;
/** @see #DrawIconEx(Pointer, int, int, Pointer, int, int, int, Pointer, int) */
public static final int DI_COMPAT = ... | [
-0.31320720911026,
-0.4645311236381531,
0.7840941548347473,
-0.0053139058873057365,
-0.5347632169723511,
0.4467056393623352,
0.09896772354841232,
-0.4047737121582031,
-0.12665657699108124,
-0.28832176327705383,
-0.1794375628232956,
0.7410237193107605,
-0.3576023578643799,
-0.01519979070872... | |
int, int, Pointer, int, int, int, Pointer, int) */
public static final int DI_MASK = 1;
/** @see #DrawIconEx(Pointer, int, int, Pointer, int, int, int, Pointer, int) */
public static final int DI_NORMAL = 3;
/** @see #DrawIconEx(Pointer, int, int, Pointer, int, int, int, Pointer, int) */
public static final i... | [
-0.23037457466125488,
-0.3524288833141327,
0.7632982134819031,
0.0432603619992733,
-0.4628942906856537,
0.34731414914131165,
0.19655275344848633,
-0.3448944687843323,
-0.06366214156150818,
-0.32563966512680054,
-0.4152616858482361,
0.652528703212738,
-0.6476369500160217,
-0.066087044775485... | |
int istepIfAniCur, Pointer hbrFlickerFreeDraw,
int diFlags);
}
```
Gdi32.dll interface:
```
public interface Gdi32 extends Library {
public static Gdi32 INSTANCE = (Gdi32) Native
.loadLibrary("Gdi32", Gdi32.class);
/** http://msdn.microsoft.com/en-us/library/dd183489(VS.85).aspx */
public Pointe... | [
-0.1583433300256729,
-0.0434320792555809,
0.6018751859664917,
0.22017741203308105,
-0.14547084271907806,
0.17613142728805542,
0.08531419932842255,
-0.31987264752388,
-0.16073252260684967,
-0.8543223142623901,
-0.6099842190742493,
0.619424045085907,
-0.4726894497871399,
0.04935000091791153,... | |
int nYPos);
/** http://msdn.microsoft.com/en-us/library/dd183539(VS.85).aspx */
public boolean DeleteObject(Pointer hObject);
/** http://msdn.microsoft.com/en-us/library/dd183533(VS.85).aspx */
public boolean DeleteDC(Pointer hdc);
}
``` | [
-0.25456148386001587,
0.15030375123023987,
0.28977805376052856,
-0.015076067298650742,
0.15638695657253265,
0.07861971855163574,
0.015412517823278904,
0.03982739523053169,
-0.4936724901199341,
-0.28823643922805786,
-0.5674831867218018,
0.4570193886756897,
-0.483270525932312,
0.313089191913... | |
Is it possible to use **Toplink Essentials** without application server, just on desktop application?
Yes but for certain behaviour you may have to use the JVM startup options to enable the toplink agent. I believe this is for the lazy loading or something similar.
Do you mean TopLink or TopLink Essentials? The first ... | [
0.27975544333457947,
-0.1058441773056984,
0.012750504538416862,
0.028738372027873993,
-0.25348204374313354,
-0.3916957974433899,
0.18372415006160736,
0.022376183420419693,
-0.1215197741985321,
-0.19516071677207947,
-0.030516568571329117,
0.7102988958358765,
-0.4434361755847931,
-0.37345317... | |
SE](http://www.onjava.com/pub/a/onjava/2005/11/16/hibernate-for-java-se.html);
* [Eclipselink in J2SE RCP Applications](http://www.weheartcode.com/2008/08/27/eclipselink-in-j2se-rcp-applications/); and
* [Using the Java Persistence API in Desktop Applications](http://java.sun.com/developer/technicalArticles/J2SE/Deskto... | [
0.12249203771352768,
0.12074104696512222,
0.29949358105659485,
-0.37556371092796326,
-0.39961105585098267,
-0.11559312790632248,
0.3514258563518524,
-0.004803224466741085,
-0.23759348690509796,
-0.2531304657459259,
-0.2777137756347656,
0.5756376385688782,
-0.15570606291294098,
-0.176554143... | |
I'm working on a Open Source project on SourceForge that uses Subversion. A few days ago I did a `git svn clone` and started tracking my changes using Git.
After a while I tried to `dcommit` my changes back upstream. But that failed with the following error:
`Autorisierung schlug fehl: MKACTIVITY von »/svnroot/houseb... | [
0.3385332226753235,
0.2885902225971222,
0.5241497755050659,
-0.296508252620697,
0.007100236136466265,
-0.12219634652137756,
0.795778751373291,
-0.20991791784763336,
-0.24619673192501068,
-0.6826187372207642,
0.06593435257673264,
0.34630244970321655,
-0.22193725407123566,
0.3432878255844116... | |
at a loss to what's actually going wrong here. I would have assumed that it would either work in both svn and git svn or not at all.
Erm... When you access the repository via HTTPS + WebDAV (like the error message suggests), no SSH keys will be used, but plain usernames and passwords...
So either set your correct user... | [
0.34809932112693787,
-0.04813839867711067,
0.1606619507074356,
0.17182248830795288,
-0.30099448561668396,
-0.5562824606895447,
0.553608775138855,
0.1311466097831726,
-0.37859901785850525,
-0.6398193836212158,
-0.23918531835079193,
0.42469272017478943,
-0.15506087243556976,
0.30781131982803... | |
if you want to prepare a patch for a project where you are not member (yet), and want to commit it later when you are member of it. But it triggers some corner cases in code when you first try to commit your changes. | [
0.4821949303150177,
-0.25682228803634644,
0.10715807974338531,
0.044534895569086075,
0.21868543326854706,
-0.3674485683441162,
0.15369801223278046,
-0.0754605382680893,
-0.5059075355529785,
-0.7778046131134033,
-0.12868580222129822,
0.297956258058548,
-0.13797304034233093,
-0.0478241443634... | |
how can i call a VB function - `deleteevent()` in usercontrol.ascx.vb from a javascript function in `clickhandler(e)` in usercontrol.ascx. **The call should cause a postback** because I need the usercontrol to display the changes.
I am currently trying to do it by using a linkbutton with style display:none, and callin... | [
0.2044561803340912,
0.06469372659921646,
0.32307520508766174,
-0.03044199012219906,
-0.05424535274505615,
-0.18838617205619812,
0.51685631275177,
-0.14397168159484863,
-0.3918599486351013,
-0.6170003414154053,
-0.1263463795185089,
0.5820441842079163,
-0.29957956075668335,
0.226329371333122... | |
JQuery :
[Using jQuery to directly call ASP.NET AJAX page methods](http://encosia.com/2008/05/29/using-jquery-to-directly-call-aspnet-ajax-page-methods/)
[Using jQuery to Call ASP.NET AJAX Page Methods](http://weblogs.asp.net/craigshoemaker/archive/2008/09/29/using-jquery-to-call-asp-net-ajax-page-methods.aspx)
You... | [
-0.03535694256424904,
-0.1423226296901703,
0.7070572972297668,
0.09780644625425339,
-0.38757017254829407,
-0.14385896921157837,
0.1637066900730133,
-0.17888566851615906,
-0.36872172355651855,
-0.6357278227806091,
0.010545875877141953,
0.30736398696899414,
-0.4262956976890564,
0.04193951562... | |
How to create a [Panel template](http://drupal.org/project/panels) ( using Panels Module) in Drupal? The reason I ask this is because I have a Panel template to show information for different faculties. Each Faculty will have the same page layout, but the information displays within the page will be faculty specific.
... | [
0.31727334856987,
-0.01997077651321888,
0.3653489649295807,
0.16284428536891937,
-0.17379413545131683,
0.15282867848873138,
-0.15655578672885895,
0.004819897934794426,
-0.20055510103702545,
-0.75966876745224,
-0.10295410454273224,
0.40170109272003174,
0.04593533277511597,
0.270180195569992... | |
project" and it now works. Dirk, if you add all that as an answer I'll select it and give you the rep.
Check if Gdi32.lib is there in the linker commandline(Properties > Linker > CommandLine).
(There you go -- you have successfully appealed to the my selfish, rep seeking part of soul ;) ) | [
0.39943793416023254,
-0.3168337047100067,
0.5630695223808289,
0.3582850992679596,
-0.15010833740234375,
0.18470486998558044,
0.12576602399349213,
-0.2693749666213989,
-0.10564229637384415,
-0.7396330237388611,
-0.10922795534133911,
0.692247748374939,
-0.1983054280281067,
0.2196369171142578... | |
I am trying to send an array of about 50 elements to a WCF service method, but I'm always receiving a `(404) Bad Request` error.
I think that it has to do with the message size or something like that, because if I send an empty array it works.
I did some research and added some stuff in the web.config of the WCF but ... | [
0.265041321516037,
0.029586760327219963,
0.2858855426311493,
-0.006872364319860935,
-0.31002306938171387,
0.03327497839927673,
0.6953859925270081,
-0.39131996035575867,
-0.679924726486206,
-0.48370590806007385,
0.12953990697860718,
0.30165576934814453,
-0.3068925738334656,
0.24171060323715... | |
was creating the binding configuration in the web.config like such:
```
<bindings>
<wsHttpBinding>
<binding name="netTcpBindingConfig" closeTimeout="00:10:00" openTimeout="00:10:00" receiveTimeout="00:10:00" sendTimeout="00:10:00" transactionFlow="false" hostNameComparisonMode="StrongWildcard" maxBufferPo... | [
-0.4176607131958008,
-0.044238559901714325,
0.9065090417861938,
-0.01657295785844326,
-0.22454655170440674,
-0.4345729351043701,
0.5294082760810852,
-0.6196032166481018,
-0.1379626840353012,
-0.8235924243927002,
0.11557894200086594,
0.43297135829925537,
-0.24233008921146393,
0.413644731044... | |
I use to work with Visual Studio + C#, and have been using svn before, but not currently, so I want to put my code again on source's control.
Recently I heard about git, and I have been reading the git wiki and [this](http://git.or.cz/gitwiki/GitSvnComparsion) and [this](http://myxman.org/dp/node/165), and I have read... | [
0.3367709517478943,
-0.004493039567023516,
0.215064138174057,
-0.12974520027637482,
-0.4196079969406128,
-0.08765028417110443,
-0.006707371678203344,
0.28012409806251526,
-0.24866443872451782,
-0.7149619460105896,
0.07157817482948303,
0.888340175151825,
0.06433805823326111,
0.0432960763573... | |
else can I find resources for start with git?
Here my personal experiences with git vs. svn:
* **Git vs. SVN:** git tracks state, history and integrity of the source tree. SVN only tracks state.
Especially when merging, git's extensive use of stored history (across renames and merges) comes handy to make much better ... | [
0.32233545184135437,
0.3243175446987152,
-0.2217131406068802,
0.17747370898723602,
-0.007812312338501215,
-0.183518648147583,
0.5072034001350403,
-0.11443061381578445,
-0.2197461575269699,
-0.8021373152732849,
0.0192730613052845,
0.6188116073608398,
0.11059115082025528,
0.0681363046169281,... | |
it a unbelievably huge boost in contrast to SVN which must go to the central repo for almost any operation.
* **Software:** See [this question](https://stackoverflow.com/questions/32383/is-there-anything-like-tortoisecvs-and-tortoisesvn-for-git), there are several standalone GUIs for working with the repo, history bro... | [
-0.1003083735704422,
-0.37072670459747314,
0.2671334445476532,
0.043983425945043564,
-0.32346111536026,
0.1602538526058197,
0.1922304779291153,
0.054710302501916885,
-0.5495581030845642,
-0.4894576668739319,
-0.3417452871799469,
0.934481680393219,
0.14726471900939941,
-0.2621927857398987,
... | |
I am writing a server program that does some basic threading. It needs to update some UI controls and I learned how to use delegates such that everything is thread safe. For example, here's my delegate that allows me to update a TextBox control from a thread:
```
Private Delegate Sub AddMessageToTXTDelegate(ByVal lst ... | [
0.0983143001794815,
-0.08047783374786377,
0.5224968194961548,
0.12145049124956131,
0.008084140717983246,
-0.047764480113983154,
0.15625984966754913,
-0.2334132343530655,
-0.18214818835258484,
-0.8548020720481873,
-0.012221629731357098,
0.5155080556869507,
-0.16565173864364624,
0.2806191742... | |
Me.BeginInvoke(addTXT, New Object() {txt, str1})
Else
txt.Text = str1
End If
Catch ex As Exception
Console.WriteLine(ex.Message)
Throw (ex)
End Try
End Sub
```
Now i need to update a counter and I figured the same pattern would apply. I put together the following de... | [
-0.04038133844733238,
0.1013709008693695,
0.4681794345378876,
-0.058509960770606995,
0.06176626682281494,
-0.05066503956913948,
0.49022719264030457,
-0.49868932366371155,
-0.03724117949604988,
-0.6325125098228455,
-0.29645994305610657,
0.5125720500946045,
-0.18836183845996857,
0.4566910266... | |
Sub IncrementCounter(ByVal ctr As Integer)
Try
If Me.InvokeRequired Then
Dim incCtr As New IncrementCounterDelegate(AddressOf IncrementCounter)
Me.BeginInvoke(incCtr, New Object() {ctr})
Else
ctr += 1
End If
Catch ex As Exception
Console.WriteL... | [
-0.10960360616445541,
-0.461103230714798,
1.0459975004196167,
-0.34984251856803894,
0.1403827965259552,
0.11152156442403793,
0.6601287126541138,
-0.45150041580200195,
0.03669307380914688,
-0.22184456884860992,
-0.25481292605400085,
0.6158575415611267,
-0.2664717435836792,
0.387666136026382... | |
Throw (ex)
End Try
End Sub
```
The problem is that my counter is not being incremented. When I trace this with debug, the "ctr += 1" statement gets executed but the actual counter remains at zero. I'm thinking I should be passing the counter in by reference.
Can anyone provide some advice here? Thanks!
\cbf
Her... | [
0.3891957998275757,
0.3611968755722046,
-0.08404169231653214,
-0.29588398337364197,
-0.10097283869981766,
-0.11619189381599426,
0.6977426409721375,
-0.3369741141796112,
0.021024638786911964,
-0.577019453048706,
0.11892334371805191,
0.4352344870567322,
0.023668993264436722,
0.13469938933849... | |
informed decisions leading to less conflicts.
Having a complete, cryptographically verifiable integrity chain through the repository helps build trust in the underlying systems, or detect when they fail. On the downside it can be complicated to create "clean" patches. Having a proper workflow helps.
Finally, git work... | [
0.37435010075569153,
-0.0900920182466507,
0.09497570246458054,
0.08606191724538803,
-0.4299381971359253,
-0.2133641093969345,
0.32175561785697937,
-0.047057267278432846,
-0.41114139556884766,
-0.45029717683792114,
-0.38694584369659424,
0.8032712340354919,
-0.011601000092923641,
-0.43152397... | |
Start with the [GIT User's Manual](http://www.kernel.org/pub/software/scm/git/docs/user-manual.html). There are more links to tutorials and books on [git-scm.com](http://git-scm.com/documentation). | [
0.4127963185310364,
0.06688454747200012,
0.2554757595062256,
0.19803093373775482,
-0.11365833133459091,
-0.3161950707435608,
-0.06749680638313293,
0.15932272374629974,
-0.05143414065241814,
-0.6336201429367065,
-0.7651402950286865,
0.6623981595039368,
-0.02348456159234047,
-0.2046665698289... | |
I've been using Mercurial for a little while, but mainly for my own use. Now though, I have a project I'm working on where two of us are building the same project, and we will probably be modifiying each other's files.
I would like to setup a Mercurial repository on a server, make that repository the "server", so my c... | [
0.3502836525440216,
-0.14810162782669067,
0.3175331950187683,
0.029646385461091995,
-0.4946948289871216,
-0.42161643505096436,
0.0712837353348732,
0.4210744798183441,
-0.2378338724374771,
-0.619665801525116,
0.23833394050598145,
0.2866468131542206,
-0.3000744581222534,
0.4506707191467285,
... | |
"server" has [OpenSSH](http://en.wikipedia.org/wiki/OpenSSH) installed. So pushing my changes (I work on multiple computers) from one computer to the server is just a matter of "hg push"; the protocol used is [SSH](http://en.wikipedia.org/wiki/Secure_Shell) for transfering the changes.
The problem is that I use Linux,... | [
0.046544525772333145,
0.23981283605098724,
0.8679818511009216,
-0.14529313147068024,
-0.10524045675992966,
-0.06722120940685272,
-0.04632524028420448,
0.018207723274827003,
-0.28147321939468384,
-0.8457449674606323,
-0.25922587513923645,
0.3481672406196594,
-0.026627864688634872,
0.4229718... | |
my network) and my computer won't be visible from the server, and I'm assuming the other editor will be behind a firewall too (so we can't just start up the local Mercurial HTTP server and get the "server" computer to pull from that).
What's the best way for both editors to get our changes to the server repository? (... | [
0.49216896295547485,
-0.03281114995479584,
0.6867658495903015,
0.07166583091020584,
-0.07283373177051544,
-0.3318406939506531,
0.2423974722623825,
0.17222826182842255,
-0.07334283739328384,
-0.6842942237854004,
0.03773537650704384,
0.5190977454185486,
0.018785322085022926,
0.33925619721412... | |
from [www.fogbugz.com](http://www.fogbugz.com). It's a commercial source control solution, basically a Windows wrapper with Mercurial under the hood.
Update 2020-10-24
-----------------
11 years ago, Mercurial might have been a viable solution, but not any more: Git just works. | [
0.4472610354423523,
-0.013331442140042782,
0.8077415823936462,
0.28233855962753296,
0.20346608757972717,
-0.586822509765625,
0.15228554606437683,
0.4671526253223419,
0.17622986435890198,
-0.24424228072166443,
-0.18488404154777527,
0.6301164031028748,
-0.20252452790737152,
0.051269967108964... | |
We have a 3-tier web application written in ASP.Net Webforms where we will not be able to port it - recession really sucks! - to MVC. Our goal is to implement a plugin architecture. One way would be to use the App\_Code folder. Are there any better alternatives?
My plugin architecture is developed in a completely separ... | [
0.22211427986621857,
0.38501468300819397,
0.5741379261016846,
-0.07536396384239197,
0.37735244631767273,
0.11478671431541443,
0.03326025977730751,
0.3935234248638153,
-0.09268273413181305,
-0.7450110912322998,
-0.15605314075946808,
0.4947216510772705,
-0.13840548694133759,
-0.0091056637465... | |
Activator.CreateInstance to instantiate the plugin. All plugins implement an IPlugin interface as well as an interface for each specific type of plugin. | [
-0.20033876597881317,
-0.44865068793296814,
0.22442129254341125,
0.17476925253868103,
-0.23666328191757202,
0.026707742363214493,
-0.04457257688045502,
0.0008442448452115059,
-0.006454731337726116,
-0.757004976272583,
-0.27437111735343933,
0.3362622559070587,
-0.4780178666114807,
0.1313371... | |
What is the difference between **debug.write** and **Trace.write**? When should each be used?
In the typical release build configuration, the `Debug` class is disabled and does nothing. `Trace`, however, can still be used in the release. You would typically use `Debug.Write` for stuff you only need when debugging and w... | [
0.508534848690033,
-0.0005169140640646219,
-0.10461049526929855,
0.017023993656039238,
0.25577670335769653,
-0.4791528284549713,
0.4519045948982239,
0.06537094712257385,
-0.33238258957862854,
-0.6175033450126648,
-0.3210311233997345,
0.7843334078788757,
-0.36585506796836853,
-0.03329967334... | |
I am considering creating a website that only supports users with JavaScript enabled.
My justification for this is that I want to offer a rich user experience, in a fairly limited time budget, so if I only support people who have JS enabled, I don't have to spend time making sure the UI works without JS and create ser... | [
0.6401432752609253,
0.3052242696285248,
-0.11322756111621857,
-0.07203247398138046,
-0.14935965836048126,
-0.30029040575027466,
0.6459557414054871,
0.18466322124004364,
-0.3578519821166992,
-0.6771954298019409,
-0.16379506886005402,
0.6383004784584045,
-0.41353774070739746,
-0.260297000408... | |
**must** implement validation on the server side of things as otherwise abusing your code will be very easy by just disabling JavaScript.
No, making it "impossible" to submit any data without JavaScript will not solve it.
From personal experience I think most internet users hava JS enabled nowadays. The portion of u... | [
0.6218070983886719,
0.2485014945268631,
0.17545580863952637,
0.17278513312339783,
-0.386040598154068,
-0.34553831815719604,
0.7499924302101135,
-0.22149112820625305,
-0.16243678331375122,
-0.5235171318054199,
-0.10134932398796082,
0.3191051185131073,
-0.24570490419864655,
-0.09295323491096... | |
aforementioned window.location to redirect. After that the server should be able to read the cookie set by JS, assuming it's enabled.
Also, while it's quite difficult to share validation rules and other logic automatically on both server and the client using tech like C#, I would suggest checking out Aptana Jaxer. Jax... | [
0.4617522656917572,
-0.10574915260076523,
0.273275226354599,
0.2679166793823242,
-0.24894267320632935,
-0.19417813420295715,
0.07112041115760803,
-0.10734330117702484,
-0.13164657354354858,
-0.7793653607368469,
0.10624250024557114,
0.6328412294387817,
-0.1937582641839981,
0.020891679450869... | |
I'd like to create a dll library from **C++** code and use it in **C** program.
I'd like to export only one function:
```
GLboolean load_obj (const char *filename, GLuint &object_list);
```
Header file from library:
```
#ifndef __OBJ__H__
#define __OBJ__H__
#include <windows.h>
#include <GL/gl.h>
#include <GL/gl... | [
-0.09508078545331955,
-0.0634402185678482,
0.47490713000297546,
-0.009659167379140854,
-0.0051405648700892925,
0.2385314255952835,
-0.052457474172115326,
-0.11138670891523361,
-0.07193880528211594,
-0.8657084703445435,
-0.2267872542142868,
0.4416186213493347,
-0.4158395528793335,
0.2551914... | |
error C2059: syntax error : 'string'
```
It is about part "extern "C" " in header file.
I've tried to change header file to:
```
extern GLboolean load_obj (const char *filename, GLuint &object_list);
```
then
```
Error 1 error C2143: syntax error : missing ')' before '&'
Error 2 error C2143: syntax... | [
-0.2561948299407959,
0.1651628315448761,
0.4416520297527313,
-0.24615107476711273,
-0.01223636046051979,
0.3820410370826721,
0.5032455325126648,
-0.07631169259548187,
-0.12047556042671204,
-0.4263901114463806,
-0.014166130684316158,
0.7202476263046265,
-0.4613575041294098,
0.12795083224773... | |
6 error LNK2019: unresolved external symbol _load_obj referenced in function _main main.obj
```
I've no idea why it is wrong. .lib .h and .dll are properly added.
The parameter "`GLuint &object_list`" means "pass a reference to an GLuint here". C doesn't have references. Use a pointer instead.
```
// declar... | [
-0.028523756191134453,
0.2543708384037018,
0.6108370423316956,
-0.24354296922683716,
0.15164066851139069,
0.4025675058364868,
0.5633020997047424,
-0.11206278949975967,
-0.2830669581890106,
-0.538332998752594,
-0.13438503444194794,
0.6110664010047913,
-0.5665833353996277,
0.5101276636123657... | |
I have a HorizontalList in Flex that contains some data and an ItemRenderer representing a Page. After the last item (Page) in the list, I want to have a button - a Plus to create a new page.
What data can I look at to get the proper x,y position of the last ItemRenderer? I'm getting the position of
```
this.listCont... | [
0.09843534976243973,
-0.07517305761575699,
1.0238726139068604,
-0.1074056401848793,
-0.0599382109940052,
0.2275758981704712,
-0.1889416128396988,
-0.2681199014186859,
-0.346493124961853,
-0.8829261064529419,
-0.10092505067586899,
0.4660577178001404,
-0.22190585732460022,
0.0379021279513835... | |
interested in doing this via the UIComponent overrides instead of through the ItemRenderer itself because it doesn't seem like this is something that should live in the dataProvider... it would need to be some weird "lastItem" object that the ItemRenderer looked for and just seems odd. Plus, this is a fairly useful fun... | [
0.1060449406504631,
0.05119699612259865,
0.24991364777088165,
0.21810226142406464,
-0.1477632373571396,
-0.43676796555519104,
0.08255088329315186,
0.005147167015820742,
-0.4532965421676636,
-0.618971049785614,
0.21100455522537231,
0.5628710985183716,
-0.412296324968338,
-0.0005077693494968... | |
lowercase hostname. I renamed the system and it worked fine.
Microsoft provides a hotfix to correct the issue if you're averse to renaming your comp: <http://support.microsoft.com/kb/285100/en-us> . | [
0.21028821170330048,
0.23443536460399628,
0.4938967525959015,
0.08163386583328247,
0.048249710351228714,
0.25268518924713135,
0.2545647919178009,
0.3607781231403351,
-0.07031607627868652,
-0.590039074420929,
-0.00571703165769577,
0.18923915922641754,
-0.06189536303281784,
0.588255763053894... | |
I am a bit confused on how to create a symbolic variable in JCL for an assignment I am doing in my COBOL class.
For example, I am supposed to "Specify a symbolic parameter for the PARM option and specify TEST and APOST as the default."
How do I designate the "PARM" option to be a symbolic parameter?
EDIT: Forgive th... | [
0.08327631652355194,
0.1735421121120453,
-0.09185916185379028,
-0.17618994414806366,
-0.029812246561050415,
0.014224771410226822,
0.3174682557582855,
0.28093221783638,
-0.23927392065525055,
-0.4091334342956543,
0.1694922298192978,
0.5635106563568115,
-0.5385048985481262,
-0.182735368609428... | |
parameter when I run this proc with another JCL statement, the parms listed can be changed from the calling JCL?
EDIT:
@avisser:
Yeah, sorry, I really need to work on being more specific... In my COBOL JCL, I am calling the COBOL compiler (IGYCRCTL), the Linkage Editor (HEWL) and a program fetch (EXEC PGM=).
EDIT:
... | [
0.11969330161809921,
0.22500135004520416,
0.336839884519577,
-0.1845947504043579,
-0.1836850941181183,
-0.12021499872207642,
0.07507418096065521,
0.2346043586730957,
-0.3267395496368408,
-0.5129984617233276,
0.0866035744547844,
0.6262534856796265,
-0.3550092577934265,
-0.16327305138111115,... | |
[
-1.06126070022583,
-0.7003979086875916,
-0.42257601022720337,
0.09815213829278946,
-0.49541836977005005,
1.143049955368042,
0.859436571598053,
1.0905910730361938,
-0.6481311917304993,
-0.4323035180568695,
0.5117040276527405,
-0.018845291808247566,
0.3492005467414856,
-0.2664911150932312,
... | ||
61 SYSOUT PRINT RECORDS | [
-0.26342976093292236,
0.10255151242017746,
-0.4530778229236603,
-0.17104028165340424,
0.20943179726600647,
0.11457399278879166,
-0.19334153831005096,
0.0400661900639534,
-0.3381141424179077,
-0.41952943801879883,
-0.3797357380390167,
0.23899702727794647,
0.006378977559506893,
0.37963795661... | |
0 SYSOUT PUNCH RECORDS | [
-0.716292679309845,
0.10102064907550812,
-0.2959325611591339,
-0.11351656913757324,
-0.3396739363670349,
0.37874916195869446,
0.0051730722188949585,
-0.14037613570690155,
-0.15379175543785095,
-0.3525092899799347,
-0.02088908664882183,
-0.1779228150844574,
0.03985051065683365,
0.1197210699... | |
3 SYSOUT SPOOL KBYTES | [
-0.3370409905910492,
0.06506656855344772,
0.07329405099153519,
0.1523527354001999,
-0.25841668248176575,
0.26283204555511475,
-0.0833820104598999,
-0.4483996629714966,
-0.025265637785196304,
-0.3352002799510956,
0.0451173298060894,
-0.0011213886318728328,
-0.14624033868312836,
0.1046567559... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.