-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path800_llda_dataset.txt
800 lines (800 loc) · 285 KB
/
800_llda_dataset.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
[.net,math]difference math.floor math.truncate .net
[com,vb6]part everyday work maintaining extending legacy vb6 applications common engine written c/c++ vb6 uses functions order improve performance comes asynchronous programming interface enough rely com controls fire events vb6 problem register control vb6 loads control memory unload quit vb6 ide control loaded whole time unable recompile vc6 dll file locked solution found enable control use createobject full name control problem must declare control object vb6 knows nothing interface using access intellisense pain idea tell vb6 unload controls quitting application directly ide
[datetime,.net,c#]given datetime representing person birthday calculate age years
[html]let say create wizard html form one button goes back one goes forward since back button appears first markup press enter use button submit form example would like get decide button used submit form user presses enter way press enter wizard move next page previous use tabindex
[winforms,c#]want use track-bar change form opacity code build application gives following error implicitly convert type 'decimal 'double tried using trans double control n't work code worked fine past vb.net project
[linux,unix,visual-c++,winapi]find porting game originally written win32 api linux well porting port win32 port linux implemented queryperformancecounter giving useconds since process start coupled queryperformancefrequency giving constant frequency works well machine giving bit variable contains useconds since program start portable n't want discover works differently kernel compiled certain way anything like fine non-portable something linux however
[email]tricky one 've always relied techniques permission-based emails i.e sending people permission send using blatantly spamish terminology late emails send programmatically started shuffled people spam folder automatically wondering despite fact particular emails ones humans would mark spam specifically emails contain license keys people paid good money n't think 're going consider spam figure big topic essentially ignorant simpleton
[objective-c]note question historic interest best way create iphone application runs landscape mode start regardless position device programmatically using interface builder
[c#,datetime]given specific datetime value display relative time like hours ago days ago month ago
[compiler-construction,.net,c#,scripting]little game written uses database back-end trading card game wanted implement function cards script mean essentially interface icard card class implements public class card056 icard contains function called game make thing maintainable/moddable would like class card source code database essentially compile first use add/change card 'll add database tell application refresh without needing assembly deployment especially since would talking assembly per card means hundreds assemblies possible register class source file instantiate etc language extra bonus possible write script .net language
[c#]often sort dictionary consisting keys values value example hash words respective frequencies want order frequency sortedlist good single value say frequency want map back word sorteddictionary orders key value resort custom class cleaner way
[svn,tortoisesvn]branch merge apache subversion using tortoisesvn client
[sql-server-2005,sql-server,mysql]mysql incredibly useful yet properitary replace sql command easily emulated sql server starting new transaction select either update insert commit always little bit pain especially application therefore always keeping versions statement wonder easy universal way implement function sql server
[database,.net]anybody know way create sqlite database based xsd dataset past 've used basic sqlite manager want fuse things bit .net development possible
[linux,c]trying implement win32 messagebox using gtk app using sdl/opengl n't gtk app handle initialisation gtk_init sort stuff inside messagebox function follows means experienced gtk programmer realise probably something horribly wrong however problem last dialog popped function stays around process exits ideas
[c++]optimal level concurrency c++ implementation berkeleydb reasonably support many threads hammering away throughput starts suffer resource contention 've read manual know set number locks lockers database page size etc like advice someone real-world experience bdb concurrency application pretty simple 'll gets puts records 1kb cursors deleting
[windows]using wmv videos internal site embedding web sites works quite well internet explorer firefox 've found ways make work firefox stops working internet explorer want use silverlight yet especially since sure clients running windows windows media player installed sort universal code embeds wmp internet explorer firefox need implement user-agent-detection deliver different html different browsers
[database,sql-server,svn,version-control]want get databases version control anyone advice recommended articles get started 'll always want least data alumb mentions user types administrators 'll also often want large collection generated test data performance measurements
[linux,apache]one linux server running apache php got multiple virtual hosts separate log files everything thing seem separate virtual hosts php error_log overriding setting location httpd.conf seem anything overlook something way separate php error_logs virtual host
[browser,javascript,html]standard way web server able determine user timezone within web page perhaps http header part user-agent string
[arrays,php]following arrays want generate tag cloud artists higher number count enclosed tags lowest enclosed tags
[language-agnostic,performance,algorithm,unix]solutions welcome language looking fastest way obtain value personal challenge specifically using ways n't involve using defined constants like m_pi hard-coding number program tests various ways know inline assembly version theory fastest option though clearly portable 've included baseline compare versions tests built-ins atan version fastest gcc auto-folds atan constant -fno-builtin specified atan2 version fastest main testing program pitimes.c inline assembly stuff fldpi.c noting work x86 x64 systems build script builds configurations testing build.sh apart testing various compiler flags 've compared 32-bit 64-bit optimisations different 've also tried switching order tests around atan2 version still comes top every time though
[java,oop,php]purist correct way access object properties within object method getter/setter method know outside object use getter/setter within would java php would java php forgive java little year since programmed java edit seems people assuming talking private protected variables/properties learned taught use getters/setters every single property even public actually told never make variable/property public may starting false assumption get appears people answering question maybe saying public properties n't need getters setters goes taught talking although maybe needs discussed well probably good topic different question though
[.net-3.5,linq]page collection linq given startindex count
[c++,c,sockets]'ve issues getting sockets api work properly c++ specifically although including sys/socket.h still get compile time errors telling af_inet defined missing something obvious could related fact coding z/os problems much complicated update upon investigation discovered ifdef hitting apparently z/os n't happy unless define type sockets using personally idea _oe_sockets actually z/os sockets programmers perhaps could give rundown works sure post test app compile/link output cxx -wc xplink -wl xplink inet_test inet.c ./inet.c line ccn5274 name lookup af_inet find declaration ccn0797 compilation failed file ./inet.c object file created check sys/sockets.h include definition need far tell blocked ifdef statements however noticed contains following encapsulates basically whole file sure matters
[performance,.net].net perspective memory leak determine whether application leaks effects prevent memory leak application memory leak away process exits killed memory leaks application affect processes system even process completion unmanaged code accessed via com interop and/or p/invoke answers questions incomplete think
[flex,actionscript-3]'ve written database generation script sql want execute adobe air application execute adobe air using following methods errors generated however trole exists seems looks first query semicolon- remove query fails way call multiple queries one statement
[sql,database,version-control,oracle]often run following problem work changes project require new tables columns database make database modifications continue work usually remember write changes replicated live system however n't always remember 've changed n't always remember write make push live system get big obvious error newcolumnx ugh regardless fact may best practice situation version control system databases n't care specific database technology want know one exists happens work sql server great
[sql,asp.net,xml]anyone got experience creating sql-based asp.net site-map providers 've got default xml file web.sitemap working properly menu sitemappath controls 'll need way users site create modify pages dynamically need tie page viewing permissions standard asp.net membership system well
[sql,sql-server]monitor sql server database changes table without using triggers modifying structure database way preferred programming environment .net like able support sql server sp4 newer application bolt-on data visualization another company product customer base thousands n't want put requirements modify third-party vendor table every installation changes table mean changes table data changes table structure ultimately would like change trigger event application instead check changes interval best course action given requirements triggers schema modification sql server seems use binary_checksum function t-sql way plan implement every seconds run following query compare stored value value changed table row row using query compare returned checksums stored values
[architecture,plugins,php]starting new web application php time around want create something people extend using plugin interface one writing 'hooks code plugins attach specific events
[language-agnostic,string,cross-platform]would generating list possible permutations string characters length containing variable list characters language would work portable
[sql-server]yes know existence running copy sql server absurd stipulated best way migrate direct path documentation 've found deals upgrading forget native sql server upgrade utilities script objects data try recreate scratch going attempt upgrade weekend server issues pushed back till next ideas would welcomed course week update ended back database question master execute sql server instcat.sql master allows sql server oledb provider connect use sql server standalone import export data create dts package using oledb connect successfully copied tables new database also using oledb use enterprise manager script database indexes triggers .sql file execute .sql file new copy database management studio use enterprise manager script stored procedures execute .sql file database several dozen sprocs issues making incompatible mainly non-ansi joins quoted identifier issues corrected issues re-executed .sql file recreated logins gave appropriate permissions bit rinse/repeat correcting stored procedures hundreds correct upgrade went great otherwise able use management studio instead query analyzer enterprise manager amazing difference report queries took 20-30 seconds database running 1-2 seconds without modification new indexes anything n't expect kind immediate improvement
[.net,c#]anyone know good way compress decompress files folders quickly handling large files might necessary
[python,xml]build piece project need construct post xml document web service like python means expand skills unfortunately whilst know xml model fairly well .net uncertain pros cons xml models python anyone experience xml processing python would suggest start xml files 'll building fairly simple
[ruby]want format existing comments 'rdoc comments viewed using recommended resources starting using rdoc
[internet-explorer,windows-mobile]way launch mobile favorites screen directly specifying command line parameter
[ruby-on-rails,http,ruby]rails-app sign box remember checkbox users check box remain logged even closing browser keeping track whether users logged storing user session sessions implemented rails session cookies persistent make persistent seems like hack surprising common functionality better way edit gareth answer pretty good would still like answer someone familiar rails unique cookiesessionstore
[osx,python]using photoshop javascript api find fonts given psd given font name returned api want find actual physical font file font name corresponds disc happening python program running osx guess looking one photoshop javascript python function osx api call python
[.net,web-services]'ve writing web services .net app ready consume 've seen numerous examples homegrown code consuming service opposed using auto generated methods visual studio creates adding web reference advantages
[data-binding,winforms,c#]assume something like following combo boxes bound array everything works fine change value one combo box changes combo boxes one selected know arrays always passed reference learned learned earth would combo boxes change together n't believe combo box control modifying collection work around n't would achieve funcionality expected desired
[search]lucene multiple indexes covered one partition search different indexes return results different scores results different servers match exactly i.e searched name john smith dob 11/11/1934 partition would return score partition would return score match exactly name dob
[.net-3.5,linq,c#,web-services]expose linq query asmx web service usually business tier return typed dataset datatable serialized transport asmx linq query way populate typed dataset datatable via linq query get result set linq query dataset datatable alternatively linq query serializeable expose asmx web service
[database,mysql]trigger update table throw error prevents update table
[windows]make mailto links registered program would handle event program solutions found quick google search manually need automatically users program click button set default email client edit removed reference delphi answer independent language
[database,mysql]store binary data mysql
[apache,logging,php]website plays mp3s flash player user clicks 'play flash player automatically downloads mp3 starts playing easy way track many times particular song clip binary file downloaded play link link actual mp3 file javascript code pops player latter easily add logging code track number hits former 'll need something track web server log make distinction hosting plan comes webalizer nicely javascript code answers however would nice know track downloads using method without switching hosts
[flex,actionscript-3]forcefully unload bytearray memory actionscript tried without success
[language-agnostic,algorithm]something 've pseudo-solved many times never quite found solution stuck problem come way generate colors distinguishable possible parameter
[java,xml]existing application library java allow convert csv data file xml file xml tags would provided possibly first row containing column headings
[database,.net]pretty standard table set-up current application using .net xsd dataset tableadapter features contracts table consists standard contract information column primary department column foreign key departments table store basic department name notes setup functioning sql server use xsd tool drag tables auto detects/creates foreign key two tables works great main page viewing contract data however administrative page modify department data typically something like however point exception thrown saying effect foreign key reference broken guessing since n't contract datatable filled fix problem know simply remove foreign key xsd make things work fine additional integrity check xsd schema match sql schema database nice
[css,html]absolutely positioned div containing several children one relatively positioned div use percentage-based width child div collapses width internet explorer firefox safari use pixel width works parent relatively positioned percentage width child works something missing easy fix besides pixel-based width child area css specification covers
[c#,web-services,html]want print html web service web browser control overkill function well service environment function well system tight security constraints sort free .net library support printing basic html page code far run properly works fine called ui-type threads nothing happens called service-type thread changing print showprintpreviewdialog yields following script error error 'dialogarguments.___ie_printtype null object url res //ieframe.dll/preview.dlg small empty print preview dialog appears
[svn,eclipse]version subclipse 1.2.4 currently available aptana automatic plugins manager work newest version subversion see subclipse website however 1.4.2 eclipse added new remote update site update manager tried install told needed mylyn 3.0.0 much searching found mylyn 3.0.0 added another new remote update site update manager tried install told needed org.eclipse.ui 3.3.0 equivalent looking configuration details aptana looks like built eclipse 3.2.2 anyone know way upgrade version eclipse aptana built 3.3.0 way get subclipse work newest version subversion know n't necessarily programming question hope since highly relevant programming experience
[generics,java]meaning java warning type safety cast object list actually checking erased type list get warning try cast object type generic information following code
[versioning,.net,svn,asp.net]stack overflow subversion version number bottom svn revision want use automatic versioning .net web site/application windows forms wpd projects/solutions implement
[sql-server-2005,sql-server,mysql]'ve banging head sql server trying get lot data 've given database nearly tables need turn mysql database first call use bcp unfortunately n't produce valid csv strings n't encapsulated n't deal row string comma whatever use delimiter would still hand write create table statements obviously csv n't tell anything data types would better tool could connect sql server mysql copy lose views stored procedures trigger etc n't hard copy table uses base types one another anybody know tool n't mind many assumptions makes simplifications occur long supports integer float datetime string lot pruning normalising etc anyway n't care keeping keys relationships anything like need initial set data fast
[sql,database,php]best practices around creating flat file database structures php lot mature php flat file frameworks see attempt implement sql-like query syntax top purposes cases would use database point elegant tricks get good performance features small code overhead one would want taking problem first place
[sql,c#,vb.net]recently site deluged resurgence asprox botnet sql injection attack without going details attack attempts execute sql code encoding t-sql commands ascii encoded binary string looks something like able decode sql little wary since n't know exactly happening time tried write simple decode tool could decode type text without even touching sql server main part need decoded 've tried following commands luck proper way translate encoding without using sql server possible 'll take vb.net code since familiar okay sure missing something since input basic string started snippet encoded portion 4445434c41 translates decla first attempt return exact thing put since converted character byte realized need parse two characters byte manually since n't know methods yet little decoder looks something like things look good first couple pairs loop balks gets pair says string incorrect format interestingly enough step debugger getstring method byte array able parse point get result figure missing need direct cast byte instead attempting parse
[language-agnostic]appropriate use unsigned variable signed one loop hear lot opinions wanted see anything resembling consensus know java n't unsigned values must concious decision sun microsystems part
[.net-3.5,linq,c#]let say datatable name column want collection unique names ordered alphabetically following query ignores order clause orderby get enforced
[.net,c#,vb.net]aware .net three timer types see comparing timer classes .net framework class library chosen threaded timer types drift main thread busy need reliable way timer works control timer put another thread always tick along work begin completed parent thread busy issue timer console application timer ticking along another thread main thread anything application closes tried adding true loop main thread busy timer
[windows,svn]'ve using tortoisesvn windows environment quite time seems feature-complete nicely integrated windows shell importantly fairly painless teach colleagues little experience source control however since moved windows vista 64bit tortoise buggy seemed cause lots explorer.exe abnormalities crashes happened older versions software latest version 1.5.1 build curious anyone suggestions subversion clients run windows specifically vista 64bit developers use variety text editors using visual studio dreamweaver svn ideal heard great things cornerstone would love something similar windows exists correlating vista/explorer problems tortoise normally occur using functionality tortoise sometimes bringing merge screen cause gui start acting strange eventually hang crash see 1.5.2 installing maybe fix issues
[c++,oop]working collection classes used video playback recording one main class acts like public interface methods like play stop pause record etc workhorse classes video decoding video encoding learned existence nested classes c++ curious know programmers think using little wary really sure benefits/drawbacks seem according book reading used cases mine book suggests scenario like mine good solution would nest workhorse classes inside interface class separate files classes client meant use avoid possible naming conflicts n't know justifications nested classes new concept want see programmers think issue
[security,php]guidelines maintaining responsible session security php information web time landed one place
[.net,c#,asp.net,internationalization]one fun parts multi-cultural programming number formats americans use 10,000.50 germans use 10.000,50 french use 000,50 first approach would take string parse backwards encounter separator use decimal separator obvious flaw would interpreted another approach string contains different non-numeric characters use last one decimal separator discard others one check occurs discard appears check digits yes discard otherwise use decimal separator obvious best solution would detect user culture browser work frenchman using en-us windows/browser .net framework contain mythical black magic floating point parser better double try parse trying auto-detect number format
[svn]best practices checking bin directories collaborative development environment using svn project level references excluded checkin easier add bin directories develop lot dotnetnuke sites seems multi-developer environment always huge task get environment setup correctly ultimate goal course new developer checkout trunk svn restore dnn database 'work
[performance,reflection,.net,c#]one may always know type object compile-time may need create instance type get new object instance type
[encryption,php]fastest yet secure way encrypt passwords php preferred ever method choose portable words later migrate website different server passwords continue work method using told dependent exact versions libraries installed server
[oop,python]'ve read possible add method existing object e.g class definition python understand always good might one
[language-agnostic,unit-testing,testing]would like test function tuple set fringe cases normal values example testing function returns true whenever given three lengths form valid triangle would specific cases negative small large numbers values close-to overflowed etc main aim generate combinations values without repetition order get set test data note actually know answer might helpful others challenge people post answer later
[python]n't able find understandable explanation actually use python itertools.groupby function trying take list case children objectified lxml element divide groups based criteria later iterate groups separately 've reviewed documentation examples 've trouble trying apply beyond simple list numbers use itertools.groupby another technique using pointers good prerequisite reading would also appreciated
[exception,.net,c#]maintaining .net application one things 've tasked making sure user n't see unfriendly error notifications 've added handlers application.threadexception appdomain.currentdomain.unhandledexception get called problem standard clr error dialog still displayed exception handler called jeff talks problem blog solution standard way .net handle uncaught exceptions display friendly dialog box jeff response marked correct answer link provided complete information required
[c#]looking way delete file locked another process using suspect method must able find process locking file perhaps tracking handles although sure close process able complete file delete using file.delete
[css,html]given relatively simple css make string stays constrained width simply wraps newline hyphen
[performance,algorithm]want print first prime numbers anyone give efficient code clarifications matter code inefficient size code matter hard code values manner
[java,c#]reading joel software came across joel spolsky saying something particular type programmer knowing difference int integer java/c object oriented programming languages difference
[ruby]ruby subtle differences proc/lambda one hand proc.new differences give guidelines decide one choose ruby proc lambda different deal
[math]need programmatically solve system linear equations objective needed c++ example equations like get best approximation
[php]php variables passed value reference
[css,javascript,html]suppose following css rule page detect one defined fonts used user browser edit people wondering want font detecting contains glyph available fonts user font want display link asking user download font use web application correct font currently displaying download font link users want display people correct font installed
[versioning,visual-studio,c#]would like version property application incremented build sure enable functionality visual studio 2005/2008 tried specify assemblyversion n't get exactly want also using settings file earlier attempts assembly version changed settings got reset default since application looked settings file another directory would like able display version number form 1.1.38 user finds problem log version using well tell upgrade old release short explanation versioning works would also appreciated build revision number get incremented
[language-agnostic,math]mathematicians agree eπi however floating point implementations disagree well settle dispute keen hear different languages implementations various methods make result close zero possible creative
[sql,database]database table one fields primary key unique index want swap values column two rows could done two hacks know delete rows re-insert update rows value swap update actual value n't want seem appropriate solution problem could anyone help
[language-agnostic,authentication,security,http]form-based authentication websites believe stack overflow resource specific technical questions also general guidelines solve variations common problems form based authentication websites fine topic experiment include topics log remain logged managing cookies including recommended settings ssl/https encryption store passwords using secret questions forgotten username/password functionality use nonces prevent cross-site request forgeries csrf openid remember checkbox browser autocompletion usernames passwords secret urls public url protected digest checking password strength e-mail validation much form based authentication include things like roles authorization http basic authentication please help suggesting subtopics submitting good articles subject editing official answer
[c++,visual-studio]mfc application trying migrate uses afxext.h causes _afxdll get set causes error set /mt please use /md switch _afxdll builds research date indicates impossible build application execution windows using visual studio c++ case really true workaround available
[python]starting work hobby project python codebase would like set form continuous integration i.e running battery test-cases time check-in made sending nag e-mails responsible persons tests fail similar cruisecontrol teamcity realize could hooks vcses requires tests run machine version control server n't elegant would like anyone suggestions small user-friendly open-source continuous integration system suitable python codebase
[ruby-on-rails,exception,ruby,plugins]upgrading rails website exceptionnotifier plugin longer works complaining error actionview :templatefinder :invalidviewpath unprocessed view path found /path/to/appname/vendor/plugins/exception_notification/lib/../views set view paths append_view_path prepend_view_path view_paths= causes fix
[ruby-on-rails,ruby]ruby rails website makes http calls external web service day get systemexit stacktrace error email call service failed try exact query site moments later works fine happening since site went live 've luck tracking causes ruby version 1.8.6 rails version 1.2.6 anyone else problem error stacktrace systemexit occurred /usr/local/lib/ruby/gems/1.8/gems/rails-1.2.6/lib/fcgi_handler.rb:116 exit' /usr/local/lib/ruby/gems/1.8/gems/rails-1.2.6/lib/fcgi_handler.rb:116 exit_now_handler' /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.4.4/lib/active_support/inflector.rb:250 to_proc /usr/local/lib/ruby/1.8/net/protocol.rb:133 call' /usr/local/lib/ruby/1.8/net/protocol.rb:133 sysread' /usr/local/lib/ruby/1.8/net/protocol.rb:133 rbuf_fill' /usr/local/lib/ruby/1.8/timeout.rb:56 timeout' /usr/local/lib/ruby/1.8/timeout.rb:76 timeout' /usr/local/lib/ruby/1.8/net/protocol.rb:132 rbuf_fill' /usr/local/lib/ruby/1.8/net/protocol.rb:116 readuntil' /usr/local/lib/ruby/1.8/net/protocol.rb:126 readline' /usr/local/lib/ruby/1.8/net/http.rb:2017 read_status_line' /usr/local/lib/ruby/1.8/net/http.rb:2006 read_new' /usr/local/lib/ruby/1.8/net/http.rb:1047 request' /usr/local/lib/ruby/1.8/net/http.rb:945 request_get' /usr/local/lib/ruby/1.8/net/http.rb:380 get_response' /usr/local/lib/ruby/1.8/net/http.rb:543 start' /usr/local/lib/ruby/1.8/net/http.rb:379 get_response
[c++,regex]looking robust easy-to-use regular expression evaluator native c++ either platform-independent windows-specific requirements n't use boost ace regex libraries unfortunately n't use .net regex managed code main requirement standalone open
[linux,unix]often editing config files 'll open one save realize n't type way give sudo privileges save file seem recall seeing something looking stuff ago n't find
[windows,visual-studio,installation]trying maintain setup project visual studio yes legacy application problem moment need write registry entries hkcu every user computer need hkcu rather hklm default user settings change per user feeling n't possible n't something installer something application happens user profile created install mind still want change little possible application question possible add registry entries every user visual studio setup project moment project lists five registry root keys hkey_classes_root hkey_current_user hkey_local_machine hkey_users user/machine hive n't really know anything users root key n't seen user/machine hive anyone enlighten perhaps could solve problem
[language-agnostic,opengl]like display ~100 floating cubes using directx opengl looking either sample source code description technique know kind thing easy accomplished '3d gurus enough trouble getting even one cube display correctly 've combed net good series tutorials although talk primitives n't find information large numbers primitives cubes spheres pyramids forth
[database,python,sql,oracle]several ways iterate result set tradeoff
[php,debugging,eclipse]debug php scripts aware basic debugging using error reporting breakpoint debugging phpeclipse also quite useful best terms fast easy way debug phpstorm ide
[database,sql-server]designed database tables normalised sql server created standalone windows front end application used handful users add edit information add web interface allow searching accross production area later date concerned two users start editing record last commit update would 'winner important information may lost number solutions come mind sure going create bigger headache nothing hope two users never going editing record time might never happed editing routine could store copy original data well updates compare user finished editing differ show user comfirm update would require two copies data stored add last updated datetime column check matches update show differences requires new column relevant tables create editing table registers users start editing record checked prevent users editing record would require carful thought program flow prevent deadlocks records becoming locked user crashes program better solutions one
[language-agnostic,unicode,internationalization]implemented internationalization i18n actual projects 've worked took interest making software cross-cultural read famous post joel absolute minimum every software developer absolutely positively must know unicode character sets excuses however yet able take advantage real project besides making sure used unicode strings possible making strings unicode ensuring understand encoding everything work tip i18n iceberg everything worked date use controlled set english speaking people i18n n't something time work pushing project live looking tips war stories people making software localized real world projects
[linq,c#]sql
[asp-classic]asp classic .net get way sftp server upload download couple files kicked user people used sftp asp classic necessarily opposed purchasing control
[windows,php]writing cms application php one requirements must able interface customer exchange server 've written functionality times always used webdav leaning away running site iis apache preference windows server things would need include adding contacts given user address book sending emails given user running reports contacts user pretty easy webdav better way n't require functionality likely deprecated time soon ideas update justin love idea using com objects worry maintaining 3rd product make everything work john write web service interface functions access php app also little bit way far convinced either better webdav anyone show silly
[.net,internationalization,date]best way localise date format descriptor anyone culture use mm/dd/yyyy format knows annoying enter dates format .net framework provides good localisation support trivial parse dates according users culture often want also display helpful hint format required especially distinguish yyyy interchangeable cultures best way way make sense users e.g dd/m/yyy confusing change case switching one two letters
[windows,image,python]cross-platform python application needs generate jpeg preview first page pdf mac spawning sips something similarly simple windows
[language-agnostic,string]format string title case
[database,c#]simplest way connect query database set records
[c++,c#]looking performant reasonably robust rng using special hardware use mathematical methods mersenne twister etc collect entropy machine whatever linux/etc drand48 generates random bits like similar function/class c++ generate bits randomness low-order bits equally random high-order bits n't cryptographically secure must use based c-language rand .net system.random source code links source etc would appreciated failing type rng looking
[postgresql,python,mysql]get python work postgresql get work mysql main problem shared hosting account ability install things django pysql generally fail installing computer maybe good n't install host found bpgsql really good require install single file look read call functions anybody know something like mysql
[c#,asp.net]uploading first decently sized web app shared host provided fresh set challenges mean sleepless nights issue certainly developed application medium trust clue mitigated issues save one written installer admin able specify connectionstring preferences find way write web.config medium trust anyone solution putting preferences another file
[windows,c++,memory,debugging,multithreading]working multithreaded c++ application corrupting heap usual tools locate corruption seem inapplicable old builds months old source code exhibit behaviour recent release around long time n't noticed downside source deltas n't used identify bug introduced lot code changes repository prompt crashing behaviuor generate throughput system socket transfer data munged internal representation set test data periodically cause app exception various places various causes including heap alloc failing thus heap corruption behaviour seems related cpu power memory bandwidth machine easier crash disabling hyper-threading core dual-core core reduces rate eliminate corruption suggests timing related issue rub run lightweight debug environment say visual studio aka msvc6 heap corruption reasonably easy reproduce ten fifteen minutes pass something fails horrendously exceptions like alloc running sophisticated debug environment rational purify vs2008/msvc9 even microsoft application verifier system becomes memory-speed bound n't crash memory-bound cpu getting disk light program going fast box consuming 1.3g ram 've got choice able reproduce problem identify cause able idenify cause problem n't reproduce current best guesses next get insanely grunty box replace current dev box 2gb ram e6550 core2 duo make possible repro crash causing mis-behaviour running powerful debug environment rewrite operators new delete use virtualalloc virtualprotect mark memory read-only soon done run msvc6 catch bad-guy writing freed memory yes sign desperation hell rewrites new delete wonder going make slow purify shipping purify instrumentation built option colleague walked past asked stack overflow getting stack overflows question locate heap corruptor update balancing new delete seems gotten long way towards solving problem instead 15mins app goes two hours crashing yet suggestions heap corruption persists update release build visual studio seems dramatically better current suspicion rests stl implementation ships vs98 reproduce problem watson produce dump might helpful analysis 'll take note concerned watson tripped fact heap getting stomped another try might using windebug debugging tool quite powerful time also lightweight got going moment much help something goes wrong want catch vandal act maybe tools allow least narrow problem certain component n't hold much hope desperate times call sure components project correct runtime library settings c/c++ tab code generation category project settings 'll spend couple hours tomorrow going workspace projects checking 're compiling linking appropriate flags update took seconds select projects settings dialog unselect find project n't right settings right settings
[database,php]'ve got upcoming project wherein need connect website php5/apache 1.3/openbsd back-end system running iseries os400 v5r3 access tables stored 've done checking around running roadblocks 've seen db2 extensions db2 software ibm run linux 've tried compiling extensions software ibm even tried precompiled ibm_db2 extension luck ibm supports linux turned linux emulation kernel n't seem help anything anyone run across getting everything run natively openbsd would great think may setting second server running centos db2 installed likely via zendcore ibm since seems driver set small transaction server post get json representation db2 data need second option seem overkill anyone else better ideas
[database,.net]still looking embedded database used .net application caveat application least database stored network drive used user time first idea sql server compact edition really nicely integreated run network firebird seems issue .net integration seems really first-class largely undocumented blackfish sql looks interesting trial .net version pricing also suggestions something works well .net runs network without need actually installing server software
[language-agnostic,algorithm]ascending list numbers efficient algorithm think get ascending list sums every two numbers list duplicates resulting list irrelevant remove avoid like clear interested algorithm feel free post code language paradigm like
[postgresql,string]attempting insert escape character table results warning example produces warning using psql anyone know get around
[vb6]imported kernel32 library createmutex function available quite sure various parameters return values classic visual basic visual basic.net probably work either language form answer
[sql-server-2005,deployment,sql-server]wonder guys manage deployment database sql servers specifically sql server development live one part buildscript standard windows batch even current complexity scripts might switch powershell later enterprise manager/management studio express count would copy .mdf file attach always bit careful working binary data seems compatiblity issue even though development live run version server time given lack explain create table t-sql something exports existing database sql-scripts run target server yes tool automatically dump given database sql queries runs command line enterprise manager/management studio express count lastly given fact live database already contains data deployment may involve creating tables rather checking difference structure alter table live ones instead may also need data verification/conversion existing fields change hear lot great stuff red gate products hobby projects price bit steep using automatically deploy sql server databases test live
[sql-server-2005,sql-server]'re upgrading existing program win2k/sql server windows sql server well purchasing new program also uses 2k3/2k5 vendor says host databases need get enterprise version softwares clients use different collation connections enterprise supports find anything site support honestly n't want pay extra enterprise standard edition works missing talked feature sql server suspect vendor trying upsell
[sql-server-2005,.net]wrote windows service using read legacy data visual foxpro databases inserted sql problem use run fine windows server 32-bits client recently moved windows 64-bits service n't work getting message vfp .net oledb provider found researched everything seems point solution help please
[sql-server-2005,indexing,sql-server,sql]instance query like following using sql server full text index defined use column searchfield returns results using believe special letter allow freetext work correctly query
[django,oop,python]django view points function problem want change bit functionality yes could million keyword arguments even statements function thinking object oriented approach example page displays user page similar page displays group still similar use another data model group also members etc one way would point views class methods extend class anyone tried approach idea
[documentation,visual-studio,xslt]easy way produce msdn-style documentation visual studio xml output patient enough set good xslt know first person cross bridge also tried setting sandcastle recently really made eyes cross either missing something important process way involved know somebody really nice dead-simple solution reiterating think formatting made paragraph non-inviting read gave sandcastle try really hard time getting set really mind something much simpler unless n't understand sandcastle process seemed like awful lot extra baggage produce something nice testers work
[flash,winforms,c#]best way display flash content winforms application would like create user control similar current picturebox able display images flash content would great able load flash content stream sorts rather file disk
[cruisecontrol.net,msbuild]trying setup cruisecontrol.net moment far works nice problem msbuild task according documentation passes ccnetartifactdirectory msbuild use tried work fact kills service error thoughtworks.cruisecontrol.core.config.preprocessor.evaluationexception reference unknown symbol ccnetartifactdirectory documentation rather sparse google und mainly offers modifying .sln project file want avoid order able manually build project later would really prefer outputpath
[c#,asp.net]need grab base64-encoded representation viewstate obviously would available fairly late request lifecycle example output page includes need way server side get value /wepdwujodu0njc5md clarify need value page rendered postback e.g need know viewstate value sent client viewstate getting back
[visual-studio,.net,c#,unit-testing]looking introduce unit testing framework mix job 're using visual studio though may moving within next months work primarily framework kind ide integration would best open frameworks n't integration still relatively simple get set going get resistance one way another make sure pushing n't pain neck would help case obvious choice research 've done far points nunit like get impressions someone actually used recommending team anyone used nunit pitfalls limitations aware good options 've used nunit greatly appreciate idea strengths weaknesses
[arrays,python]n't remember whether dreaming seem recall function allowed something like 've looked docs kind thing n't fall obvious listed headers
[git,svn]'ve using subversion years using sourcesafe love subversion combined tortoisesvn n't really imagine could better yet growing number developers claiming subversion problems moving new breed distributed version control systems git git improve upon subversion
[authentication,iis,asp.net]'ve trouble getting asp.net application automatically log users intranet site building matter googling experimentation applied always login box displayed ie7 've got windows authentication mode set web.config disabled anonymous access configured correct default domain iis still asking user log annoyingly user required provide domain domain\auser causing problems non-technical visitors thank zeus password remembering functionality network administrator possible something active directory set incorrectly could missing something simple please note n't want impersonate user need know iprincipal.name property matches valid record user database hence authenticating user application end would useful checklist configuration requirements asp.net iis work together manner reference debugging hopefully reducing user friction
[database,indexing,sql,performance]given indexing important data set increases size someone explain indexing work database-agnostic level information queries index field check index database column
[c#,silverlight,wpf]looking way effectively hide inherited members library classes inherit common base classes recent descendant classes inherit dependency properties become vestigial little confusing using intellisense using classes visual designer classes controls written compiled either wpf silverlight know icustomtypedescriptor icustompropertyprovider pretty certain n't used silverlight much functional issue usability issue update properties would really like hide come ancestors specific tool designing n't member hiding new operator know ridiculous
[language-agnostic,compiler-construction]preferred languages c/c++ java ruby looking helpful books/tutorials write compiler simply educational purposes familiar c/c++ java ruby prefer resources involve one three good resource acceptable
[sql]looking tool detect malicious requests obvious sql injection gets posts immediately ban address requester/add blacklist aware ideal world code able handle requests treat accordingly lot value tool even site safe kinds attacks lead saving bandwidth preventing bloat analytics etc ideally looking cross-platform lamp/.net solution sits higher level technology stack perhaps web-server hardware level sure exists though either way like hear community feedback see options might regard implementation approach
[parsing,regex]file following format like grab data want start end tags using regex anyone show might done
[c++,exception]exceptions c++ n't need caught compile time errors calling function developer judgment whether catch using try/catch unlike java way one ensure exceptions thrown always caught using try/catch calling function
[html]set icon appears iphone web sites create
[sql,database,indexing]hopefully get answers database server outline indexing works check database indexing work
[database,mysql]point mysql database start lose performance physical database size matter number records matter performance degradation linear exponential believe large database roughly 15m records take almost 2gb based numbers incentive clean data safe allow continue scaling years
[unit-testing,glossary]saw many questions asking 'how unit test specific language question asking 'what 'why 'when use use also common pitfalls misconceptions
[performance,data-structures,python]need able manipulate large 10^7 nodes graph python data corresponding node/edge minimal say small number strings efficient terms memory speed way dict dicts flexible simpler implement intuitively expect list lists faster list option would also require keep data separate structure dicts would allow something sort would suggest yes bit clearer mean efficiency particular case mean terms random access retrieval loading data memory n't huge problem done time consuming part visiting nodes extract information measure metrics interested n't considered making node class properties nodes seems like would add extra layer overhead hoping someone would direct experience similar case could share graphs one common abstractions
[python,syntax]express integer binary number python literals easily able find answer hex octal use literals express binary python summary answers python earlier express binary using int '01010101111',2 literal python earlier way express binary literals python beta like 0b1100111 0b1100111 python beta also allow 0o27 0o27 second character letter represent octal python beta longer allow older syntax octals
[regex,php]trying grab capital letters couple words wrap span tags using preg_replace extract wrapping purposes outputting anything
[c]'ve tried write string replace function works char allocated using malloc little different find replace strings rather characters starting string trivial search replace strings length replace string shorter search string since enough space allocated try use realloc get error tells double free n't see since using realloc perhaps little code help program works try realloc instance replaced string longer initial string still kind works spits errors well result helps calling code looks like
[.net,collections]queue object initialised capacity obviously capacity keeps expanding add items already object automatically dequeues item limit reached best solution create inherited class
[javascript,asp.net,validation]custom validation function javascript user control .net web site checks see fee paid excess fee amount due 've placed validator code ascx file also tried using page.clientscript.registerclientscriptblock cases validation fires find javascript function output firefox error console feeamountcheck defined function taken directly firefox- view source ideas function n't found remedy without add function master page consuming page
[svn,version-control]company using cvs de-facto standard source control however 've heard lot people say svn better know svn newer unfamiliar benefits looking good succinct comparison two systems noting advantages disadvantages java/eclipse development environment
[sql-server]adding column table microsoft sql server control column displayed logically queries n't want mess physical layout columns disk would like logically group columns together possible tools like sql server management studio list contents table convenient way know sql management studio going design mode tables dragging order columns around like able raw sql perform ordering scripted command line
[language-agnostic]original question looking function attempts quantify distant distinct two colors question really two parts color space best represents human vision distance metric space best represents human vision euclidean
[ajax]writing ajax app user moves app like url address bar update despite lack page reloads basically like able bookmark point thereby return current state people handling maintaining restfulness ajax apps
[unix]correct way get process size solaris hp-ux aix use top vsz something else
[database,svn,mysql,php]best methods tracking and/or automating schema changes team uses subversion version control 've able automate tasks way pushing builds staging server deploying tested code production server 're still database updates manually would like find create solution allows work efficiently across servers different environments continuing use subversion backend code updates pushed around various servers many popular software packages include auto-update scripts detect version apply necessary changes best way even larger scale across multiple projects sometimes multiple environments languages existing code simplifies process best roll solution anyone implemented something similar integrated subversion post-commit hooks bad idea solution supports multiple platforms would preferable definitely need support linux/apache/mysql/php stack majority work platform
[php]trying produces unexpected t_variable error n't want put magic number weight since object using defaultweight parameter new shipments get n't specify weight n't put defaultweight shipment changes shipment group shipment group better way following
[language-agnostic,ruby].xfdl file extension identifies xfdl formatted document files belong xml-based document template formatting standard format exactly like xml file format however contains level encryption use secure communications know view xfdl files using file viewer found also modify save files file save/save like however modify files fly suggestions even possible update successfully decoded unziped .xfdl xml file edit looking way re-encode modified xml file back base64-gzip using ruby command line
[cruisecontrol.net,svn,msbuild]using ccnet sample project svn source control ccnet configured create build every check ccnet uses msbuild build source code would like use latest revision number generate assemblyinfo.cs compiling retrieve latest revision subversion use value ccnet edit using nant msbuild
[web-applications]looking allow users control subdomain app toying much like basecamp customusername.seework.com required dns end allow created dynamically available instantly recommend dealing logic site htaccess rule lookup subdomain
[.net,c#,io]way check whether file locked without using try/catch block right way know open file catch system.io.ioexception
[flex]need name current logged user air/flex application application deployed windows machines think could attain regexing user directory open ways
[iphone]sure correct size many sites seem repeat apple-touch-icon 57x57 pixels cite broken link source hanselman playgroundblues comments suggest different sizes including 163x163 60x60 apple apple.com icon 129x129 see related question give web sites icon iphone
[unix,ruby]like create progress bar indicate status batch job ruby 've read tutorials libraries using curses none particularly helpful explaining create animated progress bar terminal using curses ruby already aware using separate thread monitor progress given job sure proceed drawing progress bar update progressbar class incredibly straight-forward perfectly solved problem
[linux,windows,xml]software recommended working editing large xml schemas looking windows linux software n't cross platform want suggestions help dealing huge xml files
[audio,c]specify callback rb- pcm_play_data
[vim,osx,editor,emacs]like use graphical version vim emacs instead console version version recommend vim mac vim macvim vim-cocoa emacs carbonemacs xemacs aquamacs ready prime-time tough call trade-offs still maintained discussion vim emacs n't mind comparisons editors
[apache,php]possible configure xampp serve file outside htdocs directory instance say file located follows \projects\transitcalculator\trunk\transitcalculator.php xampp files normally served \xampp\htdocs\ default configuration way make apache recognize serve transitcalculator.php file without moving htdocs preferably like apache serve up/have access entire contents projects directory n't want move projects directory htdocs edit edited add apache question title make q/a searchable
[c++,sockets,c#]client-server app client windows mobile device written c++ server full windows written originally needed send messages client server server ever sending back acknowledgment received message would like update server actually send message client request data currently set client receive mode sends data server n't allow server send request time would wait client data first thought would create another thread client separate open socket listening server requests like server already respect client way within thread using socket server send requests time use something affect waitformultipleobjects pass receive buffer event tells data sent
[sql-server]always create new empty database backup restore existing database really best way seems error prone complicated
[windows,file]need copy hundreds gigs random files around computer pretty leery using vanilla file copy built windows n't want hang sure really sure even zip files surely read-only files loop soon step away n't want work hours stop unexpectedly someone opened file n't copy cancel whole copy quit indication done work remains file management programs experience recommend question related question use old pata hard disk drive newer sata-only computer
[ruby,open-source]recently started study ruby lieu jeff advice weekend stop theorizing write lots software learn mistakes interested honing skills helping open source community process thought ask anyone suggestions cool/interesting open source projects written ruby know involved
[language-agnostic,windows]back old days help trivial possible generate funky .rtf file special tags run compiler got winhelp file .hlp actually works really well microsoft decided winhelp hip cool anymore switched chm point actually axed winhelp vista chm maybe nice everyone tried open .chm file network know nice navigation webpage canceled screen caused security restrictions ways make chm work network hardly good choice user presses help button wants help make funky settings bottom line find chm absolutely unusable winhelp option anymore either wonder alternatives especially comes integrate application i.e winhelp chm functions allow directly jump topic pdf disadvantage requiring adobe reader one lightweight ones many people use could live seeing kind standard nowadays tell reliably jump given page/anchor html files seem best choice deal different browsers css stuff edit looking create help files fan setup extract run philosophy problem many times past many users run network causes exactly problem looking robust future-proof way provide help users without code different help system application make chm really nice format security stuff makes unusable help system supposed provide help user generate even problems
[sql-server]setting dedicated sql server box windows server week would like pare barebones possible still fully functional end server core option sounds appealing clear whether run sql server sku several services addressed microsoft website n't see indication sql server anyone know definitively
[.net,c#]one sites maintain relies heavily use viewstate n't code however certain pages viewstate extra-bloated safari throws validation viewstate mac failed error appears happen safari firefox opera load successfully scenario
[database,python,xml]looking information google protocol buffers data interchange format anyone played around code even created project around currently using xml python project structured content created hand text editor wondering general opinion protocol buffers user-facing input format speed brevity benefits definitely seem many factors comes actually generating processing data
[cruisecontrol.net,visual-studio,unit-testing]looking using visual studio built unit test projects instead nunit wondering anyone experience trying integrate type unit test project cruise control.net
[visual-studio,design]spliting solution logical layers best use separate project grouping folder
[iis,asp.net]writing application downloads large files background clients logged locally vpn logged locally want throttle downloads however would like limit downloads kbps user connected via vpn differentiate users address range since air application figure throttle via server-side since either server iis web service asp.net throttling iis seems work fine seems like done across entire web site anyway via rig .net
[authentication,apache,php]first let get security considerations way using simple authentication apache one-off internal use non-internet connected lan php web app get http authenticated user name php
[language-agnostic,algorithm]original question given maximally distant colors associated distance metric come way sort colors order first also reasonably close maximally distinct set words given bunch distinct colors come ordering use many colors need starting beginning reasonably assured distinct nearby colors also distinct e.g bluish red n't next reddish blue randomizing certainly optimal clarification given large visually distinct set colors say want sort use first say get relatively visually distinct subset colors equivalent roughly saying want sort list closer individual colors visually farther apart list
[sql]often encounter following scenario need offer many different types permissions primarily use asp.net vb.net sql server scenario want offer dynamic permission system work different parameters let say want give either department specific person access application pretend number applications keeps growing past chosen one following two ways know use single permission table special columns used determining apply parameters special columns example typeid typeauxid sql would look something like use mapping table type permission joining together thoughts hope examples make sense cobbled together first example requires less work neither feel like best answer better way handle
[asp.net]looking guidance regarding best practice around use profile feature asp.net decide kept built-in user profile create table add column desired fields example user zip code save zip code table add web.config xml profile access via user profile asp.net mechanize pros/cons think since n't know profile well bit matrix right probably whatever want table route e.g sql get users zip code current user n't know use asp.net profile
[nhibernate,.net,orm]concensus use one tools adversed find subsonic useful terms getting things done quickly large projects tends scale ties domain model database model nhibernate comes gives lightweight pocos unrelated database model setup time much longer
[cruisecontrol.net,build-process,msbuild]using cruisecontrol quite nunit nant recent project decided use testing framework comes visual studio far adequate attempting get solution running cruisecontrol 've finally got build work however unable get tests show cruisecontrol interface despite adding custom build tasks components designed anyone definitive link instructions getting set
[exception,c#]'ve never completely happy way exception handling works lot exceptions try/catch brings table stack unwinding etc seems break lot model process anyway problem let say class wraps includes networked file operations e.g reading writing file particular unc path somewhere various reasons n't want operations fail detect fail retry keep retrying succeed reach timeout already convenient retrytimer class instantiate use sleep current thread retries determine timeout period elapsed etc problem bunch operations several methods class need wrap try-catch retry logic example code snippet avoid duplicating code every file operation throughout class solution use anonymous delegate blocks single method class executed delegate block passed allowed things like methods like somewhat leaves lot desired like hear people would solve sort problem
[.net]open-ended question approaches consider
[version-control]office central source safe install use source control n't change office uses server develop laptop would like different local source control repository sync central server available regardless central provider reason request maintain local stable branch/build client presentations continuing develop without jump flaming hoops also consultant clients may request use source control provider flexibility would make life easier existing distributed source control clients handle
[windows,shell,command-line,iis]lamp developer considering moving .net iis platform one concerns loss productivity due lack shell anyone else experience possibly linux shell equivalent windows
[.net-3.5,.net,msbuild]using msbuild build stuff want use cruisecontrol.net build server ccnet refers nant lot looks ccnet stuff nant could project configuration msbuild also nant seems bit unsupported beta release almost year old short actually quite happy msbuild especially since official compiler front end bit uncomfortable nant want judge prematurely would reasons use nant msbuild especially ccnet seems overlap bit nant terms features adding automated build related stuff
[web-services]dilemma basically share enumeration two applications users upload documents front-end application web application calls web service back-end application passes document back-end app saves document inserts row document table document type possible document types invoice contract etc passed parameter web service uploaddocument method question type possible values parameter since need hardcode values applications think o.k use descriptive string invoice contract workorder signedworkorder maybe better approach create documenttypes enumeration first application reproduce also second application pass corresponding integer value web service
[design-patterns,glossary,model-view-controller,user-interface]looking beyond rad drag-drop configure way building user interfaces many tools encourage likely come across three design patterns called model-view-controller model-view-presenter model-view-viewmodel question three parts issues patterns address similar different
[java]way create jbutton button graphic image inside button another way create custom jbutton java
[java,testing]looking books references discuss actually write code coverage tool java various techniques tricks source byte code instrumentation scripting language generates java byte code hood
[c#]currently use datatable get results database use code however many example web show using dataset instead accessing table collections method advantage performance wise otherwise using datasets datatables storage method sql results
[performance,optimization,frameworks,.net]come across lot optimization tips say mark classes sealed get extra performance benefits ran tests check performance differential found none something wrong missing case sealed classes give better results anyone run tests seen difference help learn
[python,cross-platform]need look see windows unix etc
[svn,asp.net]see stack overflow footer svn revision number displayed automated one implement asp.net solutions languages acceptable
[language-agnostic,open-source]'re following open source project would like contribute code changes need
[ruby,shell]call shell commands inside ruby program get output commands back ruby
[javascript,asp.net]delimit javascript databound string parameter anchor onclick event anchor tag asp.net repeater control onclick event anchor contains call javascript function javascript function takes string input parameter string parameter populated databound value repeater need double quotes container.dataitem need 'single quotes onclick still need one delimiter triple quotes input string parameter javascript function call since n't use 'single quotes ensure javascript function knows input parameter string integer without extra quotes around input string parameter javascript function thinks passing integer cheers advance knowledge drop anchor javascript
[python]many places 1,2,3 1,2,3 used interchangeably use one
[html]checkboxes html forms n't implicit labels adding explicit label text next n't toggle checkbox make checkbox toggle clicking text label well
[svn]result codes svn mean need quick reference
[tdd,testing,.net,c#]looking add testing suite application however n't move newer testing frameworks .net anyone suggestion good testing frameworks use
[asp.net]web applications develop often require co-dependant configuration settings also settings change move environments settings currently simple key value pairs would useful create custom config sections obvious two values need change together settings need change environment best way create custom config sections special considerations make retrieving values
[asp-classic,arrays]code point asking using lbound surely always
[c#,io]trying read binary data using information layout data files want read able read data chunk chunk i.e getting first bytes data converting string get next bytes since least three slightly different version data would like read data directly struct feels much right reading line line tried following approach avail stream opened filestream began read get accessviolationexception using marshal.ptrtostructure stream contains information trying read since interested data end file struct defined like examples code changed original make question shorter would read binary data file struct
[linq,.net-3.5,.net-2.0,.net]linq enabled app run machine .net runtime installed theory linq nothing syntactic sugar resulting code look would .net write linq without using .net libraries run .net
[sql,sql-server]want get md5 hash string value sql server following command however returns varbinary instead varchar value attempt convert 0x68e109f0f40ca72a15e05cc22786f8e6 varchar get ðô§*à\â'†øæ instead 68e109f0f40ca72a15e05cc22786f8e6 sql-based solution yes
[delphi,windows,winapi]windows exe file access command string invoked including path filename \myapp\myapp.exe help dll invoked via loadlibrary anyone know way dll find path filename specifically interested delphi solution suspect answer would pretty much language
[asp.net-mvc,c#]using asp.net mvc situations form submission may require redirecttoaction one situation encounter validation errors form submission need redirect back form would like url reflect url form action page submits require form contain originally posted data user convenience well validation purposes pass data redirecttoaction use viewdata parameter post parameters changed get parameters
[database,postgresql,sql,stored-procedures]postgresql interesting supports several languages writing stored procedures one use
[python,php]created php-script update webserver live inside local directory migrating script python works fine part put command size file appears change thus size file different file server download file ftp server difference cr/lf mark annoys script comparing size files update also case means anything script works perfectly php vía ftp_put suggestions
[file,c#,vb.net]realize newbie question looking simple solution seems like one best way import csv file strongly-typed data structure simple better
[performance,c++]wondering elegant way set maximum cpu load particular thread intensive calculations right located time consuming loop thread compression use gettickcount sleep hardcoded values makes sure loop continues certain period time sleeps certain minimal time less job i.e guarantees thread use cpu however behavior dependent number cpu cores huge disadvantage simply ugly smaller disadvantage ideas
[.net,c#]building web page show customer software purchased give link download said software unfortunately data purchased download information separate databases n't take care joins query common item sku 'll pulling back list skus customer purchases database download table comma delineated list skus associated download intention moment create one datatable populate gridview suggestions efficiently would appreciated helps pretty easily pull back data dataset datareader either one would better purpose
[svn,version-control]create branch svn
[php]trying set flag show hide page element always displays even expression false
[.net,c#]values stored strings datatable value could really represent int double string converted strings import process external data source need test see type value really efficient application practical difference try convert int double conversion works return true exception thrown return false regular expressions designed match pattern int double method
[.net,c#,asp.net]specifically want add style background-color body tag master page code behind content page uses master page different content pages need make master page different colors depending content page loaded master page matches content page theme solution looking something like inside page load function content page n't get line work need change background-color body tag page
[asp-classic]want able classic asp .net
[database,documentation,sql-server]project working couple databases table column database description set extended property sql part documentation going client need produce data dictionary showing tables columns along collection meta data data-type optionality constraints anyone using tool automatically create kind document tools use used data dictionary creator awesome n't seem data types optionality unless want add custom fields fill
[unit-testing,.net,c#,testing]getting back bit .net few-years using full-time wondering good unit testing packages days familiar nunit years ago played briefly around ironruby goal getting something like rspec going n't know much beyond realize could google call day believe likely get better informed response asking question suggestions
[asp.net-mvc,visual-studio,c#]instead writing asp.net applications visual studio used favorite text editor ultraedit32 anyway implement mvc without use
[python]'ve got menu python part easy using raw_input get selection user problem raw_input input require user press enter make selection way make program act immediately upon keystroke 've got far would great something like
[c++,data-structures,c#]way mapping data collected stream array data structure vice-versa c++ would simply matter casting pointer stream data type want use vice-versa reverse c++ obviously c++ way pretty unsafe unless sure quality stream data reading incoming data outgoing data super quick easy
[math]bunch latitude/longitude pairs map known x/y coordinates geographically distorted map one latitude/longitude pair want plot map best possible first decided create system linear equations three nearest lat/long points compute transformation n't work well since linear system n't use nearby points either n't assume north existing lat/long- x/y mappings edit mercator projection anything like arbitrarily distorted readability think subway map want use nearest mappings distortion parts map n't affect mapping trying compute entire map small geographical area need worry globe flat-earth assumptions good enough
[build-automation,flex,unit-testing,eclipse]currently working application frontend written adobe flex aware flexunit really like unit test runner ant/nant runner integrates flex builder ide aka eclipse one exist also resources flex development right way besides cairngorm microarchitecture example
[ajax,asp.net]'ve got web application trying optimise controls hidden dialog-style divs like load via ajax user wants see fine controls mostly literal-based various menus widgets call dirty controls ones write extensive information viewstate put tons css script page require lots references etc seemingly impossible move page especially considering asp.net react postback considering kind step override render find markers bits want move put ajax placeholders server overhead seem extreme also feels like complete hack besides key element dialog boxes contain forms validation controls n't imagine would move controls required scripts fevered imagination want sadly know dream close really get quick-and-easy ajaxification without causing much load server
[language-agnostic,oop]learning new programming language one possible roadblocks might encounter question whether language default pass-by-value pass-by-reference question favorite language actually done possible pitfalls favorite language course anything ever played popular obscure esoteric new old
[tdd,unit-testing,sql-server]novice practicing test-driven development often end quandary unit test persistence database know technically would integration test unit test want find best strategies following testing queries testing inserts know insert gone wrong fails test inserting querying know query n't wrong testing updates deletes testing inserts best practices regarding testing sql aware could done use o/r mapper like nhibernate attaches naming warts aliases used output queries somewhat unpredictable sure could test abandon everything simply trust nhibernate sure prudent
[linq-to-sql,.net,asp.net]order fully use linqtosql asp.net application necessary create datacontext classes usually done using designer perspective datacontext design sections database would like expose linqtosql integral setting orm features linqtosql question setting project uses large database tables interconnected way foreign keys first inclination make one huge datacontext class models entire database way could theory though n't know would needed practice use foreign key connections generated linqtosql easily related objects code insert related objects etc however giving thought thinking may make sense create multiple datacontext classes one relating specific namespace logical interrelated section within database main concern instantiating disposing one huge datacontext class time individual operations relate specific areas database would impose unnecessary imposition application resources additionally easier create manage smaller datacontext files one big one thing would lose would distant sections database would navigable linqtosql even though chain relationships connects actual database additionally would table classes would exist one datacontext thoughts experience whether multiple datacontexts corresponding namespaces appropriate place addition one large datacontext class corresponding whole
[asp.net]rewrite url asp.net would like users able goto http //www.website.com/users/smith instead http //www.website.com/ user=smith
[osx]windows windows form web browser use tab button switch focus form fields stop textboxes radiobuttons checkboxes dropdown menus etc however mac osx tab skips dropdown menus anyway change behavior access items mentioned without using mouse
[image,c#]currently working project goal locate text image ocr'ing text intention yet want basically obtain bounds text within image using aforge.net imaging component manipulation assistance sense another update 2/5/09 've since went along another route project however attempt obtain text using modi microsoft office document imaging allows ocr image pull text ease
[c#,winapi]bit vanity app situation today work training class machine set lock every minutes well trainers got excited talking opposed changing slides machine would lock like write teeny app nothing taskbar icon nothing move mouse pixel every minutes ways delphi strong language moving work like know path least resistance
[data-binding,c#]data bind thread changes data causes control change thread one control created 'll get exception surfed net found good answer anyone
[visual-studio]add rules visual studio validating property markup html vendor proprietary controls client uses control requires several properties set tags aspx file generates something like validation errors build preventing building real errors getting lost noise
[functional-programming,glossary]possible duplicate monad think understand 'maybe monads sure types
[svn,version-control]possible create federated subversion servers one server location another location sync local versions repository automatically way someone either location interacts repository accessing respective local server therefore faster response times
[osx]fed turn every time open application
[asp.net-ajax,ajax,asp.net]problem maintaining state asp.net ajax page short version need way update page viewstate async callback made reflect state changes server made async call seems common problem describe scenario help explain grid-like control javascript enhancements namely ability drag drop columns rows column row dropped new position ajax method invoked notify control server-side fire corresponding server-side event oncolumnmoved onrowmoved asp.net ajax calls default send entire page request way page goes complete lifecycle viewstate persisted state control restored raisecallbackevent method invoked however since ajax call update page viewstate reflects original state control even column row moved second time client-side action occurs ajax request goes server page control built back reflect first state control state first column row moved problem extends many implications example client-side/ajax action add new item grid row dragged grid built server-side one less item client-side finally seriously specific example actual data source object acting upon stored page viewstate design decision allow keeping stateful copy manipulated data either committed many manipulations discarded user backs difficult change need way page viewstate updated callback ajax method fired
[html]disable autocomplete major browsers specific input form field
[sql,sql-server]using sql server split string access item take string hello john smith split string space access item index return john
[asp.net-mvc,database,c#,ado.net]simple utility class in-house database calls light wrapper around ado.net thinking creating classes database/object would smart thing would benefit using full mvc framework asp.net thinking new record would smart would overkill see benefit reuse changing database maintenance/readability
[data-structures,.net,c#]would best way fill struct byte array data c/c++ struct struct would look something like rusty would fill something like best way copy oldstuff newstuff oldstuff passed byte array currently something like following feels kind clunky better way accomplish would using binaryreader class offer performance gains pinning memory using marshal.ptrstructure
[html]thinking trying beautiful soup python package html scraping html scraping packages looking python requirement actually interested hearing languages well story far python beautiful soup lxml htql scrapy mechanize ruby nokogiri hpricot mechanize scrapi scrubyt wombat watir .net html agility pack watin perl www :mechanize web-scraper java tag soup htmlunit web-harvest jarvest jsoup jericho html parser javascript request cheerio artoo node-horseman phantomjs php goutte htmlsql php simple html dom parser php scraping curl screen-scraper
[java]working jxta last year peer-to-peer computing platform developing migrating jxta process trying clean lot use jxta part approached jxta make work attitude used jumpstart creating managing peer-to-peer overlay network providing basic communication services would like use jxta way since making changes move anyway first step would basic creation custom peergroup see new new mechanisms using meta-inf.services infrastructure java listing related peergroup implementing object guid net.jxta.platform.module understand group spec matching guid encountered joined created automatically use matching object able manually tie peergroup object group new method using meta-inf seems lot easier manage anyone pointers examples using infrastructure peergroup implementation also general information meta-inf.services mechanism java would helpful
[datetime,sql-server]use thinking may better elegant way requirements fast possible less casting better final result datetime type string
[visual-studio,c#]generate mean auto-generation code necessary particuliar selected set variable explicit explication comment good practice welcome
[memory,.net,c#,vb.net]set objects null nothing vb.net finished understand .net essential dispose instances objects implement idisposable interface release resources although object still something disposed hence isdisposed property forms assume still reside memory least part also know object goes scope marked collection ready next pass garbage collector although may take time mind setting null speed system releasing memory work longer scope bad side effects msdn articles never examples currently see harm however come across mixture opinions comments useful
[winforms,c#]find node tree list context menu activated instance right-clicking node selecting option menu n't use treeviews selectednode property node right-clicked selected
[mysql,php]getting following error access denied user 'apache 'localhost using password using following code connect.php file contains mysql connect calls working fine insert queries another portion software comment result mysql_query line goes else statement line content searching net solutions seem related many mysql connections user logging mysql permission checked still perform queries elsewhere software verified account correct permissions
[unit-testing,tdd]test driven development rage .net community last years recently heard grumblings alt.net community bdd makes different tdd
[python,deployment,user-interface]python works multiple platforms used desktop web applications thus conclude way compile executable mac windows linux problem idea start write gui anybody shed light point right direction please
[sql-server-2005,sql,xml]table structure like following pass another stored procedure need xml look like best 've able far getting like using sql statement far 've looked documentation msdn page 've come desired results gave output actually going stick xml explicit chris leon
[database,database-design,mysql]tired opening dia creating database diagram beginning every project tool let select specific tables create database diagram based mysql database preferably would allow edit diagram afterward since none foreign keys set picturing diagram-wise please excuse horrible data design n't design let focus diagram concept actual data represents example see full size diagram
[flex,actionscript-3]sqlite databases one downloaded server server.db one used storage client client.db need perform various sync queries client database using data server database example want delete rows client.db trole table repopulate rows server.db trole table another example want delete rows client.db tfile table fileid server.db tfile table sql server prefix table name database anyway sqlite using adobe air
[security]dad called today said people going website getting viruses trying download computers n't technical built whole thing wysiwyg editor popped site open viewed source line javascript includes bottom source right closing html tag included file among many others http //www.98hs.ru/js.js turn javascript url commented turns ftp password plain dictionary word six letters long think got hacked 've changed password digit non-word string would n't passphrase since hunt-n-peck typer whois 98hs.ru found hosted server chile actually e-mail address associated seriously doubt person culprit probably site got hacked idea point though 've never dealt sort thing anyone suggestions using plain jane un-secured ftp webhost4life.com n't even see way sftp site thinking username password got intercepted make relevant community steps take/best practices follow protect website getting hacked record line code magically got added file n't file computer 've left commented make absolute sure n't anything page although sure jeff would guard
[visual-studio-2008,debugging,iis,visual-studio,asp.net]get following error pretty regularly compiling visual studio running web application unable start debugging web server web server respond timely manner may another debugger already attached web server normally debug application already command line run iisreset /restart fixes problem prevent happening first place
[.net,security]product several components asp.net windows forms app windows service code written vb.net intellectual property reasons need obfuscate code using version dotfuscator years old thinking time move new generation tool looking list requirements consider searching new obfuscator know look far serialization/de-serialization current solution simply tell tool obfuscate class data members pain able load data previously serialized simply big integration build process working asp.net past found problematic due changing .dll names often one per page tools handle well
[data-structures,algorithm]common problems solved data structures would good also recommendations books implement structures implement explain reasoning algorithms use
[sql-server]writing t-sql script plan re-running often times use temporary tables store temporary data since temp table created fly like able drop table exists create 'll post method use like see better way
[security]regarding agile development best practices testing security per release monthly release shops pen-tests every month
[browser]best way record statistics number visitors visiting site set browser block ads
[sql,sql-server]know need although n't know group clause end sql query uses aggregate functions like count sum avg etc else would group useful performance ramifications
[security,mysql,oracle]execute sql query clean strings users execute malicious sql website usually function escape_string blah replaces escapes double escapes replaces single quotes escaped single quote adequate hole code library quickly reliably like see graceful solutions perl java php
[c,syntax]output assume unexpected result printing unsigned long long int printf unsigned long long int
[http]would like make nightly cron job fetches stackoverflow page diffs previous day page see change summary questions answers ranking etc unfortunately could n't get right set cookies etc make work ideas also beta finished status page accessible without logging
[visual-studio,plugins]anyone recommend good add-ons/plugins microsoft visual studio freebies preferred worth cost fine
[language-agnostic,data-structures,file]good sources information binary file layout structures wanted pull btrieve index file parse mp3 headers etc one get reliable information
[language-agnostic,multithreading]rise multicore cpus desktop multithreading skills become valuable asset programmers recommend good resources books tutorials websites etc programmer looking learn threaded programming
[.net]tools used working hsl colors .net
[c#]let say argb color painted top existing color colors blend blended white resulting color color.fromargb solution work like torgb implementation
[winforms,.net,c#]goal would like main processing thread non gui able spin guis background threads needed main non gui thread keep working put another way want main non gui-thread owner gui-thread vice versa sure even possible windows forms background component based system controller dynamically load assemblies instantiates run classes implementing common icomponent interface single method dostuff components gets loaded configured via xml configuration file adding new assemblies containing different implementations icomponent components provides utility functions main application main program thing e.g controlling nuclear plant components might performing utility tasks threads e.g cleaning database sending emails printing funny jokes printer would like one components able display gui e.g status information said email sending component lifetime complete system looks like application starts check configuration file components load load component run dostuff initialize make live life threads continue main application-thingy king work forever yet able successfully perform point component fires gui dostuff simply halts gui closed gui closed program progress point would great components allowed start windows forms guis problem component tries fire gui dostuff exact line code component runs application.run theform component hence system hangs application.run line gui closed well fired gui works fine expected example components one n't nothing gui whilst second fires cute windows pink fluffy bunnies tried luck even try fire gui thread execution halts gui closed possible spin gui return application.run
[unix,testing,c]working project coding unix environment 've using lint tool check source code lint around long time since anyone suggest recent code analysis tool could use preferably tool free
[language-agnostic,svn,version-control,git]need implement version control even developing home read great subversion past couple years dedicate learning side heard git coming version control system given situation hold see one comes top relative advantages one issue noticed git many full featured guis important many users team also would n't mind suggestions get started one tutorials etc
[language-agnostic]'ve used wordpress blog screwturn wiki two separate jobs store private company-specific info looking something created knowledge base specifically like see free/low cost simple method users subscribe sections get updates ability page versioning/audit changes limit access certain pages certain users simple method posting/editing articles simple method adding images articles excellent fast accurate searching abilities ability rate comment articles liked using wordpress blog allowed use live writer add/edit articles images n't page versioning could see like using screwturn wiki ability track article versions like clean look non-technical people balk input editing
[sql-server]think people know via gui right click table properties t-sql totally rocks
[perl]perl hash bunch key value pairs preferred method iterating keys heard using may way unintended side effects true one two following methods best better way
[java,string,parsing]parsing player commands 've often used split method split string delimiters figure rest series ifs switches different ways parsing strings java
[optimization]wondering good idea make verifications getters setters elsewhere code might surprise comes optimizations speeding code think make verifications getters setters code 're updating files database wrong
[linux,editor]let preface question saying use textmate mac osx text needs love anything comparable linux platform 'll mostly use coding python/ruby google search yielded outdated answers edit since concern 'merit question start new ruby programming project linux got started wanted make sure right tools job edit use vim daily basis time enjoy using looking alternatives
[user-controls,winforms]working asp.net projects always used global.asax catch errors looking similar way catch exceptions windows forms user control ends hosted control proper way something like
[language-agnostic,data-structures]'ve able find details several self-balancing bsts several sources n't found good descriptions detailing one best use different situations really n't matter want bst optimal storing excess ten million nodes order insertion nodes basically random never need delete nodes insertion time thing would need optimized intend use store previously visited game states puzzle game quickly check previous configuration already encountered
[templates,css]let aggregate list free quality web site design templates million sites repetitive boring 'll start freecsstemplates.org also think sites follow sort standards example freecsstemplates standards released free creative commons attribution license lightweight terms images tables-free use tables layout purposes w3c standards compliant valid xhtml strict provided public domain photos generously provided pdphoto.org wikimedia commons
[windows,sql-server]know good rule thumb appropriate pagefile size windows server running sql server
[visual-studio]trying learn keyboard shortcuts visual studio order productive downloaded document showing many default keybindings visual basic using ide microsoft tried say keyboard shortcut view open documents ctrl alt arrow got completely unexpected result machine entire screen display flipped upside prank someone microsoft n't imagine practical value flipping screen would anyone know correct keyboard shortcut view open documents try shortcut flips display way mine ctrl alt arrow switch back
[architecture,data-structures,c]good libraries datastructures like vectors deques stacks hashmaps treemaps sets etc plain please platform-independent
[ajax]jeff mentioned concept 'progressive enhancement talking using jquery write stackoverflow quick google found couple high-level discussions anyone recommend good place start programmer specifically writing web apps php would like use yui improve pages writing lot seem javascript based donkey work done using javascript seems bit overkill since viewing site without javascript probably break anyone good places start using idea n't really care language ideally would like see start creating static html first adding yui whatever ajax framework get benefits richer client
[database,sql-server-2005,sql-server]ever seen error messages sql server could allocate ancillary table view function resolution maximum number tables query exceeded sql server many table names query maximum allowable yes done given convinced customer simplify demands denormalized database everyone wanting post query sure paste kilobytes code answer editing window even n't help since kilobytes code reference views would also post since otherwise code meaningless n't want sound like boasting problem queries queries optimal least almost optimal spent countless hours optimizing looking every single column every single table removed imagine report columns filled single select statement designed years ago still small report
[winforms,.net,c#]control modelled combobox want render control control border looks like standard windows combobox specifically followed msdn documentation rendering control correct except rendering control disabled clear system visual styles enabled also parts control render properly except border around disabled control match disabled combobox border colour using visualstylerenderer class msdn suggests using visualstyleelement.textbox element textbox part combobox control standard disabled textbox standard disabled combobox draw slightly differently one light grey border light blue border get correct rendering control disabled state
[ruby,sockets]environment lot computers n't properly inventoried basically one knows goes mac address hostname wrote following everything works except find reverse dns sample output getting nslookup 10.26.6.12 get correct reverse dns shows machine seeing dns server tried socket.gethostbyname gethostbyaddr n't work guidance much appreciated
[flash,asp.net,video]quick glance present-day internet would seem indicate adobe flash obvious choice embedding video web page accurate effective choices choice asp.net platform influence decision
[windows]started trying play mono mostly fun moment first tried use visual studio plugin convert csproj makefile seemed version available visual studio also read monodevelop ide sounded nice unfortunately pre-fab windows package tried follow instructions build combining dependencies semi-related installs n't work probably windows-oriented guy barely spell makefile question lowest-energy way get running try mono-based development windows
[security]best unobtrusive captcha web forms one involve rather non-ui turing test seen simple example non captcha like nobot control microsoft looking captcha ask user question form riddles image
[ide]interested looking erlang want follow path least resistance getting running present planning installing erlang r12b-3 erlide eclipse plugin largely google-result-based decision initially windows system though likely reproduce environment ubuntu shortly significantly better choice even tied one platform please share experiences
[powershell]found softwares free powershell netcmdlets playing love functionality bring command line raises question favorite cmdlets use
[excel]good recommendations platform agnostic i.e javascript grid control/plugin accept pasted excel data emit excel-compliant clipboard data copy believe excel data formatted csv normal clipboard operations dhtmlxgrid looks promising online demo n't actually copy contents clipboard
[language-agnostic]win32 environment use getlastinputinfo api call see msdn doc basically method returns last tick corresponds user last provided input compare current tick determine long ago xavi23cr good example codeproject suggestions environments
[linux,shell,bash]anyone explain behavior running results nothing ouput produces expected output n't pipe one step redirection test.file second example tried code dash bash shells got behavior
[flash]aware fusioncharts good solutions apis creating charts adobe flash
[virtualization]'ve followed otherwise excellent tutorial getting xen working ubuntu able get console virtual machine domu 've got extra console=xvc0 line /etc/xen/hostname_here.cfg file like say able get console statically assign ssh need able use dhcp give address since trying debug problem know 've got free dhcp address although getting moment n't think problem 've looked google xen forums avail well ideas
[winforms,c#]application displays image inside windows forms picturebox control sizemode control set zoom image contained picturebox displayed aspect-correct way regardless dimensions picturebox great visual appearance application size window however want image always displayed using best fit unfortunately also need handle mouse click events picture box need able translate screen-space coordinates image-space coordinates looks like easy translate screen space control space n't see obvious way translate control space image space i.e pixel coordinate source image scaled picture box easy way duplicate scaling math 're using internally position image translation
[sql-server]table n't last updated field need know existing data updated adding last updated field n't help far know
[sql,sql-server-2005]page results sql server tried sql server reliable way wondering sql server built method mean paging example list users username want able return first records next records help would much appreciated
[linux,c++,ide,php]even though robust fast computer pentium dual core 2gb ram always searching lightweight software runs fast even many apps running simultaneously last weeks 've migrating gradually linux want install free lightweight yet useful ide program c++ php sintax highlighting code completition tips must-haves like receive suggestions guys
[c#,winapi]writing application needs bring window external app foreground necessarily steal focus setting user toggle steal/not steal focus best way using win32 api tried setforeground always steals focus consistenly work best way thoughts
[.net,c#]possible duplicate casting using 'as keyword clr actually difference two casts normally explicit casts specified type
[asp.net]using asp.net dynamic data project table two seperate fields link foreign key different table relationship works fine sql server however linq sql model asp.net dynamic data model first field relationship reflected attempt add second relationship manually complains create association foreigntable_basetable property listed msdn article gives helpful advice examine message note property specified message click dismiss message box inspect association properties remove duplicate entries click
[database,testing]anyone good hints writing test code database-backend development heavy dependency state specifically want write tests code retrieve records database answers depend data database may change time people usually make separate development system 'frozen database given function always return exact result set quite sure new issue would interested learn people experience good articles discuss issue web-based development general usually write php code would expect issues largely language framework agnostic
[design-patterns]inversion control ioc quite confusing first encountered problems solve appropriate
[deployment,svn]currently using somewhat complicated deployment setup involves remote svn server svn branches dev stage prod promoting code patches etc wonder use deployment small dev team situation
[css,javascript]set css background color html element using javascript
[c#]would one display add content dynamic aspx page currently working using system.web.httpresponse page.response write file stored web server web request would allow people hit url type http //www.foo.com image=test.jpg image display browser may know revolves around use response.contenttype using able display images type gif/jpeg/png tested far bit trying display .swf .ico files gives nice little error using get flash files play images messed easily choose contenttype
[optimization,performance,algorithm]people degree certainly know big stands helps measure efficient algorithm really know category problem trying solve lays figure still possible squeeze little extra performance.1 curious calculate approximate complexity algorithms say n't overdo premature optimization root evil optimization without justified cause deserve name well
[ruby-on-rails,ruby,mysql]want create rails application mysql like much latest version rails instead default sqlite
[osx,sql-server]connect remote sql server using mac n't really need gui would nice color coding resultset grid rather use sql client mac works sql server
[python]best way calling function given string function name python program example let say module foo string whose contents bar best way calling foo.bar need get return value function n't use eval figured using eval define temp function returns result function call hoping elegant way
[http,caching,css,javascript]css javascript files n't change often want cached web browser also want web browser see changes made files without requiring user clear browser cache also want solution works well version control system subversion solutions seen involve adding version number end file form query string could use svn revision number automate asp.net display svn revision number specify include revision variable another file html file include revision number url css javascript file subversion book says revision keyword describes last known revision file changed repository firefox also allows pressing ctrl+r reload everything particular page clarify looking solutions n't require user anything part
[javascript,user-interface]would like able use tab key within text box tab four spaces way tab key jumps cursor next input javascript capture tab key text box bubbles understand browsers i.e firefox may allow custom key-combo like shift+tab ctrl+q
[sql,mysql]know insert multiple rows way update multiple rows one query mysql edit example following want combine following updates one query
[c#]efficient method converting integer written numbers example would return twenty one way n't involve massive look-up table
[ssl]recently discovered google maps api play nicely ssl fair enough options overcoming others used effectively maps api work ssl https time maps api available secure ssl connection running maps api secure site browser may warn user non-secure objects screen considered following options splitting page credit card collection requirement ssl page google map switching another map provider virtual earth rumor support ssl playing tricks iframes sounds kludgy proxying calls google sounds like lot overhead options anyone insight options considered
[c++,visual-studio,unit-testing,testing]trouble figuring get testing framework set usable visual studio c++ presumably built-in unit testing suite links tutorials would appreciated
[oop,performance]interpreted programming languages php javascript repercussions going object oriented approach procedural approach specifically looking checklist things consider creating web application choosing procedural object oriented approaches optimize speed maintainability well cited research test cases would helpful well know articles exploring bottom line big performance hit really going procedural interpreted language
[arrays,perl]perl variable results gets returned service value supposed array results array reference however array one item results set value referenced array contains one item want foreach loop expected array without checking ref results 'array way something equivalent following particular code sample work reference complain simple scalar edit clarify way change returned service problem value scalar one value array reference one value
[javascript]know get mac address user via activex objects way obtain user mac address using javascript
[c#,javascript,asp.net]writing web page asp.net javascript code submit button click event possible call method created asp javascript click event
[c++,visual-studio]wondering make release build includes necessary dll files .exe program run non-development machine without install microsoft redistributable target machine without get error message application configuration correct reinstall
[ruby]rakefile rake task would normally call command line like write ruby script calls rake task multiple times solution see shelling using backticks system right way
[sql,sql-server]sql server query database bring back tables field specific name
[language-agnostic,algorithm]use data acquisition card take readings device increases signal peak falls back near original value find peak value currently search array highest reading use index determine timing peak value used calculations works well highest value peak looking device working correctly see second peak higher initial peak take readings second devices second period initial thoughts cycle readings checking see previous next points less current find peak construct array peaks maybe looking average number points either side current position allow noise system best way proceed better techniques use labview checked lava forums number interesting examples part test software trying avoid using many non-standard libraries hoping feedback process/algorithms involved rather specific code
[sql-server]note using sql full-text search capabilities contains clauses wildcard full-text like clauses 've read several places leading wildcard searches e.g using *overflow match stackoverflow supported sql considering using clr function add regex matching curious see solutions people might info add asterisk end word phrase along empirical experience matching myvalue my* works asterisk value returns match query simple thus need workaround using search site actual search page needs work basically way google works eyes joe sixpack-type user nearly complicated sort match really n't fail
[sql-server-2005,sql-server,sql,oracle]need create backup sql server database structure records schema way edit trying create backup file use old processes script would n't work purposes sorry
[iis,windows,php]trying write php upload file folder webserver getting errors warning move_uploaded_file ./test.txt function.move-uploaded-file failed open stream permission denied \inetpub\vhosts\mywebsite.com\httpdocs\dump\upload.php line warning move_uploaded_file function.move-uploaded-file unable move \windows\temp\phpa30e.tmp './test.txt \inetpub\vhosts\mywebsite.com\httpdocs\dump\upload.php line warning modify header information headers already sent output started \inetpub\vhosts\mywebsite.com\httpdocs\dump\upload.php:3 \inetpub\vhosts\mywebsite.com\httpdocs\dump\upload.php line php version 4.4.7 running iis windows box particular file/folder permissions ideas
[xml,html]developing new web based application version html aim edit cool attempting get feel others tend use xhtml strict work transitional others involved content creation marked first xhtml transitional post 'correct answer believe strongly answers given point equally valid
[internet-explorer,javascript,debugging]use firebug mozilla console heavily every run ie-only javascript bug really hard locate error line source html lines would love lightweight tool firebug internet explorer something install seconds client run error uninstall microsoft tools take serious download configuration time ideas
[asp.net]managed locate verify existence file using server.mappath want send user directly file fastest way convert absolute path back relative web path
[java,windows,c++,unix]need send receive data serial connections rs-232 rs-422 set communicate connection figure configuration settings e.g baud rate set particular looking java c/c++ one major unix shells also interest serial programming using windows/hyperterminal
[flex,actionscript-3]trying find really fast way parse yyyy-mm-dd date object ways tried times takes method parse 50,000 date time strings anyone know faster ways tips speed methods code date.parse handle dashes default need return null date time strings like 0000-00-00
[ajax,sharepoint]simple page scriptmanager updatepanel contenttemplate one listbox one label trying catch onselectionchanged update text label matter settings try tweak always get full-page postback really going work screwing
[c#]need set height every textbox form nested within controls thought could something like using like course compiler spits dummy foreach expects ienumerable rather ienumerator way without create separate class getenumerator method
[visual-studio,plugins]'ve ever used eclipse 've probably noticed great keyboard shortcuts let hit shortcut key combination type first characters function class filename etc even smart enough put open files first list looking similar functionality visual studio know findfiles plugin codeproject one buggy little weird n't give access functions classes
[apache,security]control httpserver applicationserver java applications sitting need block direct access certain pages applications precisely n't want users automating access forms issuing direct get/post http requests appropriate servlet decided block users based value http_referer user navigating inside site appropriate http_referer well thought implemented rewrite rule .htaccess file says expected forbid access users n't navigate site issue direct get requests servlet1 servlet2 servlets using querystrings expectations ended abruptly regular expression servlet1|servlet2 /.+\ n't worked really disappointed changed expression servlet1|servlet2 /.+ worked well users blocked matter navigated site question accomplish thing allowing robots direct access certain pages access/privileges/time modify application
[.net]seen used every way accused using wrong way though case using way demonstrate point think best practices employing extension methods development teams create library extension methods deploy across various projects collection common extension methods form open source project update decided create organization wide extension methods library
[sql-server-2005,sql-server]simple problem requires quick simple solution sql server table columns want able select one row table transform columns rows sql statement ruturn kevin 've google search topic alot example overly complex example able help mario solution creating columns stores values must work many columns value thought creating query turn rows using generated table subquery say count number rows column
[flex,actionscript-3]y/n edit read-only access fine
[c++,c]want write c/c++ programs take input midi device midi device connects using usb connector looking c/c++ implemented library use read midi signals midi device usb port happy manipulating midi data get n't want implement code capture planning writing code using bloodshed dev-c++ ide windows
[sql,mysql]mysql table approximately rows per user one columns datetime field mutable rows n't chronological order like visualize time distribution chart need number individual datapoints datapoints would enough could look every 150th row could separate queries use limit offset must efficient solution
[sql]data like sql query bring back records name repeated times result would want
[windows,visual-studio,cross-platform]developing cross platform software targeting mono visual studio would like able build installers windows linux ubuntu specifically single button click figure could calling cygwin post-build event hoping best visual studio plugin worst windows-native way seems like package format fairly simple must common need edit re-asked question account due duplicate login issue
[ruby]wondering way python ruby two arrays equal sizes weights data n't seem find function similar map ruby reduce working
[ruby-on-rails,windows,ruby,ide]think best set-up ror win vista environment 've tried radrails eclipse plug-in seemed bulky 've also started use textpad command line used somewhat ide work
[.net,c#]'ve working providers fair bit lately came across interesting situation wanted abstract class abstract static method read posts topic sort made sense nice clear explanation
[vb.net]need implement diff algorithm vb.net find changes two different versions piece text 've scout around web found couple different algorithms anybody know 'best algorithm could implement
[documentation,c#]defining module outsource dont like either maintaining evolving done inhouse good way define autocheck in-code documentation quality
[apache]application heavily relies .htaccess rewriterules prettyurls cakephp case correctly set directives exclude certain directories rewriting default every request /approot/* rewritten picked app/webroot/index.php analysed corresponding controller actions invoked done directives .htaccess want exclude directories like static/ rewriting tried cake rewriterules works far requests longer rewritten requests skipped even legitimate cake requests match static|otherdir tried several variations rules n't get work way want
[c#]using msve tiles displaying layers top problem ton 're network server certain directories something order 30,000+ files initially called directory.getfiles started testing pseudo-real environment timed best way programatically list iterate many files edit coworker suggested using indexing service anyone tried approach worked
[language-agnostic,python]original question currently engaged teaching brother program total beginner smart actually wants learn 've noticed sessions gotten bogged minor details n't feel 've organized answers post helped lot better teach effectively logical order use run concept concept complexities avoid till later language working python advice language welcome help good ones please add following answer beginner exercises project ideas resources teaching beginners screencasts blog posts free e-books print books good beginners please describe resource link take look want everyone know definitely using ideas submissions aggregated post online resources teaching beginners gentle introduction programming using python think like computer scientist alice program beginners scratch system develop programming skills design programs structure interpretation computer programs learn program robert read programmer microsoft xna spawning next generation hackers comp1917 higher computing lectures richard buckland requires itunes dive python python wikibook project euler sample problems mostly mathematical pygame easy python library creating games invent computer games python foundations programming next step beyond basics squeak example snake wrangling kids kids recommended print books teaching beginners accelerated c++ python programming absolute beginner code charles petzold python programming introduction computer science 2nd edition
[silverlight,.net]one know decent way reference sqlite database using mentioned tools tried using odbc sqlite driver connection good get data returned like n't see tables data connection better way edit corrected typos
[math]bodmas useful programming
[svn,tortoisesvn]'ve got totroisesvn installed majority repositories checking \subversion\ couple checking network share forgot originally posted question means n't subversion server per-se integrate tortoisesvn fogbugz edit inserted italics
[web-services,sql]currently working project specific requirements brief overview follows data retrieved external webservices data stored sql data manipulated via web gui windows service communicates web services coupling internal web except via database communication web services needs time-based triggered via user intervention web current pre-pre-production model web service communication triggering via database table stores trigger requests generated manual intervention really want multiple trigger mechanisms would like able populate database table triggers based upon time call see two ways accomplish adapt trigger table store two extra parameters one time-based manually added nullable field store timing details exact format determined manaully created trigger mark processed trigger fired timed trigger create second windows service creates triggers on-the-fly timed intervals second option seems like fudge management option could easily turn programming nightmare know last poll table returned event needs fire stop re-triggering next poll appreciate anyone could spare minutes help decide route one two possibly third unlisted one take
[visual-studio,installer,vb.net]generally use clickonce build vb.net program downsides 've never really used anything else sure options downsides clickonce consists multiple files seems easier distribute one file manageing bunch file downloader download files build installations end user dos n't internet program end program files ends hidden away application catch folder making much harder shortcut pros clickonce works magically built visualstudio express makes easy upgrade application windows installer things well know dose n't clickonce cons would nice know also clickonce pros update ended using wix wix available time project one competent tutorial nice supported three things eventually needed optional start-up-with-windows shortcut start-up-when-the-installer-is-done option three paragraphs text boss thinks keep uses clicking wrong option
[java,file]application writes information file information used post-execution determine pass/failure/correctness application like able read file written pass/failure/correctness checks real time assume possible gotcha involved using java reading catches writing wait writes file closed read throw exception point latter intuition currently pushing towards bufferedstreams way
[mysql]lost mysql username password retrieve
[php]directory structure like following script.php inc/include1.php inc/include2.php objects/object1.php objects/object2.php soap/soap.php use objects script.php /soap/soap.php could move want directory structure like specific reason executing script.php include path inc/include.php executing /soap/soap.php ../inc absolute paths work /mnt/webdev/ project name /inc/include1.php ugly solution ever want move directory different location way use relative paths way programically generate /mnt/webdev/ project name
[sql-server-2005,tsql,sql-server]given constraint using t-sql sql server better way remove decimal point money datatype conversion varchar implicitly replace decimal point currently returns desired wondering better way thoughts
[sql,sql-server,scripting]like script drop tables whose name begins given string sure done dynamic sql information_schema tables anyone script knock one quickly please post no-one posts answer figure 'll post solution
[ado.net]need learn ado.net build applications based office read good deal ado.net msdn library everything seems rather messy basics one must figure using ado.net think key words suffice let organize learning
[exception,java]simple setter method property null appropriate particular property always torn situation throw illegalargumentexception nullpointerexception javadocs seem appropriate kind understood standard one things whatever prefer really correct
[asp.net-mvc,internationalization]best way support multiple languages interface asp.net mvc application 've seen people use resource files applications still best way
[algorithm]looking simple algorithm 'serialize directed graph particular 've got set files interdependencies execution order want find correct order compile time know must fairly common thing compilers time google-fu weak today 'go-to algorithm
[.net,c#]using dictionary string int int count key need access last-inserted key inside dictionary know name obvious attempt work dictionary.keys implement -indexer wonder similar class thought using stack stores string could create struct use stack mystruct wonder another alternative essentially dictionary implements -indexer keys
[c++,data-structures,oop]working project requires manipulation enormous matrices specifically pyramidal summation copula calculation short need keep track relatively small number values usually value rare cases sea zeros matrix multidimensional array sparse array allows user store small number values assume undefined records preset value since physically possibly store values memory need store non-zero elements could several million entries speed huge priority would also like dynamically choose number variables class runtime currently work system uses binary search tree b-tree store entries anyone know better system
[tdd,testing]lots people talk writing tests code start writing code practice generally known test driven development tdd short benefits gain writing software way get started practice
[windows,unix]windows equivalent unix command nice specifically looking something use command line set priority menu task manager attempts finding google thwarted n't come better adjectives
[sharepoint]unusual situation need sharepoint timer job local administrator windows privileges sharepoint\system sharepoint privileges get windows privileges simply configuring timer service use account member local administrators understand good solution since gives sharepoint timer service rights supposed least allows sharepoint timer job run stsadm another problem running timer service local administrator user n't necessarily sharepoint\system sharepoint privileges also need sharepoint job turns spsecurity.runwithelevatedprivileges n't work case reflector shows runwithelevatedprivileges checks current process owstimer service process runs sharepoint jobs performs elevation case rational guess timer service supposed run authority\networkservice windows account sharepoint\system sharepoint privileges thus need elevate privileges timer job possible solution seems run timer service usual networkservice windows account run stsadm local administrator storing administrator credentials somewhere passing system.diagnostics.process.run trough starinfo username domain password seems everything work another problem stuck moment stsamd failing following error popup winternals filemon shows stsadm running administrator case application failed initialize properly 0x0c0000142 click terminate application event viewer registers nothing except popup local administrator user account run stsadm interactively account everything also works fine configure timer service run account suggestions appreciated
[mysql,oracle]currently two linux servers running mysql one sitting rack right next mbit/s upload pipe main server another couple miles away mbit/s upload pipe mirror want able replicate data servers continuously run several roadblocks one mysql master/slave configurations every statements drop meaning people logging mirror url n't see data know main server vice versa let say happens meaningful block data every month live assume lost packet issue i.e god knows 'll compensate important annoying recurring issue reason major upload update reboot one end sever link load data master n't work manually dump one end upload quite task nowadays moving worth data software know mysql corporation offers expensive service full database replication people way structured run automatic failover one server main url resolves server
[sql,mysql,oracle]trying following query three queries stuck together kindasorta however result set comes back reflects results query results query undesired way prioritize results come query query query n't want php yet mention control results showed first query show second forth edit many thanks solution turned mix answers worked beautifully
[c]pass multidimensional array function single argument n't know dimensions array going addition multidimensional array may contain types strings
[sql,database,sql-server]one simple method 've used past basically creating second table whose structure mirrors one want audit create update/delete trigger main table record updated/deleted current state saved audit table via trigger effective data audit table useful simple report wondering anyone better method auditing data changes n't many updates records highly sensitive information important customer changes audited easily reported
[frameworks]start project customer wants cms-like functionality want users able log modify profile basic forum also wish able submit things front page framework barebones cms could expand tailor needs n't need anything feature-rich fancy drupal joomla would actually prefer framework opposed pre-packaged cms confident could code scratch would prefer something like framework would significantly cut time spent coding design layout edit specific looking content management system run debian server .net preferably think may end going drupal adding modules need turbogears looks bit daunting still quite sure minute intro video tinycms n't look like touched since
[.net,vb.net]inherited windows forms app written vb.net certain parts app run dreadfully slow easiest way find parts code holding things looking way quickly find slowest subroutines tackle first attempt speed app know several code profiler products available purchase show long subroutine takes hoping find free solution
[.net,xml]best way get contents mixed body element code element might contain either xhtml text want contents string form xmlelement type innerxml property exactly code written almost want includes surrounding body /body element n't want
[windows,c#]since wmi class win32_operatingsystem includes osarchitecture windows vista quickly wrote method using registry try determine whether current system 64bit system worked pretty well far sure much like looking registry pretty standard practice better method edit wow code looks lot prettier preview 'll consider linking pastebin something next time
[authentication,encryption,.net,ssl]recent edits bold using .net httplistener class n't running iis using asp.net web site describes code actual use implement ssl asp.net site describes set certificates although sure works iis class documentation describes various types authentication basic digest windows etc none refer ssl say https used need set server certificate going one line property setting httplistener figures rest short need know set certificates modify code implement ssl although n't occur trying access https notice error system event log source schannel content message fatal error occurred attempting access ssl server credential private key error code returned cryptographic module 0x80090016 edit steps taken far created working httplistener works http connections e.g http //localhost:8089/foldername/ created certificate using makecert.exe added certificate trusted using certmgr.exe used httpcfg.exe listen ssl connections test port e.g added port httplistener via listener.prefixes.add https //localhost:8090/foldername/ tested http client connection e.g http //localhost:8089/foldername/ browser receive correct return tested https client connection e.g http //localhost:8090/foldername/ browser receive data transfer interrupted firefox debugging visual studio shows listener callback receives requests never gets hit https connection starts n't see place could set breakpoint catch anything else earlier netstat shows listening ports open https http https port time_wait connection attempted fiddler httpanalyzer n't catch traffic guess n't get far enough process show http analysis tools questions could problem piece .net code missing meaning simply add prefix listener points https done missed configuration step somewhere else might analyze problem error message system event log sign problem would fixed
[database,linq,c#,asp.net,linq-to-sql]like use linqdatasource control page limit amount records returned know use code behind could something like anyone know something like possible linqdatasource control update going use linqdatasource listview control gridview repeater linqdatasource wizard provide ability limit number records return advanced options allow enabled deletes inserts updates
[ide,javascript,debugging]past months began first serious javascript development began developing xul applications use notepad++ editor pretty appalled find far tell venkman/javascript debugger tool debugging seems like poor replacement visual studio .net languages missing something best tools best practices javascript development killer ide/debugger/editor combination aware easier though 've heard mention eclipse good choice know little edit pointed firebug guess problem actually using javascript web development firebug seems tool instead using xul development xulrunner may simply weakness immaturity xulrunner
[c#,user-interface]writing application basically preferences dialog much like tree-view preferences dialog visual studio uses function application simply pass-through data serial device file performs many many transformations data writing file gui application simply settings dictate transformations best way designing/coding tree-view preferences dialog way 've going building main window docked tree control left creating container controls correspond node tree node selected app brings node corresponding container control front moves right position maximizes main window seems really really clunky designing basically means tons container controls beyond edge main window design time keep scrolling main window order work n't know totally makes sense way writing maybe visual talking make sense basically work huge form container controls place bunch run-time reformatting make work seems like lot extra work totally stupid way obvious easier way missing
[wcf,.net,c#]anyway configure wcf service failover endpoint primary endpoint dies kind like able specify failover server sql cluster specifically using tcp/ip binding speed rare occurrence machine available would like redirect traffic failover server bothered losing messages prefer write code handle re-routing
[asp.net]acceptable asp.net application without bll business logic layer following sql server data storage stored procedures data link layer strongly typed table adapters connecting stored procs presentation layer aspx pages code behind objectdatasource connection straight dll bll always preferable even business logic entirely validatable presentation code behind potential drawbacks using bll
[oop,php]language since working php supports procedural object-oriented paradigms good rule thumb determining paradigm best suits new project make decision
[asp.net]'ve asp.net development little 've used gridview datagrid controls various things never could find really good reason use one like know difference asp.net controls advantages disadvantages one faster newer easier maintain intellisense summary controls n't seem describe difference two view edit sort data automatically generate columns runtime edit visual studio longer lists datagrid available control toolbox still available legacy support assume type hand though
[linux,osx,python]prolite led sign like set show scrolling search queries apache logs fun statistics problem serial port use usb serial dongle shows /dev/cu.usbserial /dev/tty.usbserial everything seems hunky-dory everything also works use serial port tool talk run piece code mentioned serial port tool everthing also works soon disconnect tool connection gets lost question magicks need perform start talking serial port without serial port tool permissions problem also difference /dev/cu.usbserial /dev/tty.usbserial nope serial numbers thing problem persists even sudo-running python script thing makes open connection gui tool mentioned
[user-interface]prototyping initial gui functionality customer better use pen/paper drawing mock something using tool show argument tool generated design customer sometimes focus low-level specifics mock-up rather taking higher level functional view gui overall
[svn]merge using something like files one simple changelog rather merging changelog changes actually pulled mine plus previous ones destination changelog noticed conflict executed dry-run updated changelog still conflict saw conflict actual merge later diffed file merging see changes made know extra changes n't get somehow makes worried merge actually taking changed would expected anybody explain happened update response nilobject files changed changelog relevant merged fine regular trunk checkout diff command see merge previous changes diff changelog looks like note entry incorrectly pulled file merging yet one changes n't merged anyways easy fix remove extra lines n't part changes still makes worry merging automatically svn
[documentation]best documentation generator want something easily add templates documenting functions classes etc know several tools visual studio plugins external applications take code files input best language-specific specify documentation tools could used multiple languages e.g vb.net javascript bonus points 're free open source
[dom,javascript,firefox]downloading web page tag soup html xmlhttprequest want take output turn dom object run xpath queries convert string dom object appears general solution create hidden iframe throw contents string talk updating domparser support text/html firefox 3.0.1 still get ns_error_not_implemented try option besides using hidden iframe trick best way iframe trick code works outside context currently open tabs closing tabs n't screw code etc example looking solution iframe hack write code robust solution rather keep looking something else
[sql,database,sql-server]'ve tasked redesigning part ms-sql database structure currently involves lot views contain joins views anyway wonder anyone could recommend utility automatically generate diagrams help visualise whole structure best program 've used problems
[sql-server-2005,sql-server]trying enable full-text indexing sql server express running laptop vista ultimate understand standard version sql server express full-text indexing already downloaded installed microsoft sql server express edition advanced services service pack download also ensured sql server instance sql server fulltext search instance services running account network service also selected option use full-text indexing database properties files area run sql query select fulltextserviceproperty 'isfulltextinstalled return problem table open design view select manage fulltext index full-text index window displays message creation full-text index available check correct permissions full-text catalogs defined ideas check next
[caching,.net]process figuring cache strategy current setup currently multiple web servers wanted know best way cache data environment done research memcache native asp.net caching wanted get feedback first linux box use memcache win32 port memcache
[sql-server-2005,sql-server]'re process upgrading one sql server instances installed performance dashboard http //www.microsoft.com/downloads/details.aspx familyid=1d3a4a0d-7e0c-4730-8204-e419218c1efc displaylang=en access high level reporting one reports shows missing recommended indexes think based system view maintained query optimizer question best way determine take index recommendation know n't make sense apply optimizer suggestions see lot advice basically says try index keep performance improves drop performances degrades stays wondering better way make decision best practices exist subject
[java]code analysis tools use java projects interested kinds static code analysis tools findbugs pmd others code coverage tools cobertura emma others instrumentation-based tools anything else missing something applicable also state build tools use well tools integrate ides build tools tool available specific way ide plugin say build tool plugin information also worth noting
[tdd,visual-studio,.net]'ve created mbunit test fixtures setup methods marked setup attribute methods run tests fine using mbunit gui console runner resharper mbunit plugin however run tests testdriven.net run setup methods anyone know bug testdriven.net something setup wrong
[deployment]trying convince providers use ant instead rational application development anyone recompile recheck redeploy solution anyplace anytime anyhow started build.xml project generates jar file stopped need real examples compare notes good friends n't anyone close chat build.xml far edited question based suggestion use pastebin.ca
[java]want convert primitive string tried fails error get primitives reference types object methods however java introduced autoboxing unboxing never liked beside point autoboxing would expect convert myint integer call tostring furthermore believe allows call unless remember incorrectly unfortunate shortcoming java autoboxing/unboxing specification good reason
[visual-studio,visual-studio-2005]get line numbers print visual studio printing code listings
[testing]many people use mock objects writing unit tests mock object would ever need one need mock object framework
[mfc,winapi]experience writing console network client/server applications c++ know next nothing using win32 visual api mfc wxwidgets etc good place start method specialize future ready robust
[http,asp.net]need detect session expired visuial basic web application using note currentsession.isnew returns httpcontext.current.session.isnewsession seems work well internet explorer seems fail firefox
[c#]company stores alot data foxpro database trying get around performance hit touching directly thinking messaging anything done asynchronously snappier user experience started looking activemq n't know well hook wanting hear guys think edit going web application anything touching foxpro kinda slow probably person set years ago messed hell table files incredibly large replicate foxpro sql nightly data reads day old focusing writes plus write affects critical part user experience purchasing store sql message put foxpro wish could get rid foxpro unfortunately company n't want get rid old piece software bought depends
[tfs,svn]months back team switched source control apache subversion visual sourcesafe n't happier recently 've looking team foundation server least surface seems impressive great integration visual studio lots great tools dbas testers project managers etc obvious difference two products price hard beat apache subversion free team foundation server quite expensive extra features would really kick subversion pants anyone practical experience compare team foundation server actually worth expense
[windows]'ve working project accesses wmi get information software installed user machine 've querying win32_product find n't exist 64-bit versions windows optional component know lot really good alternatives querying wmi information 've got bit vested interest finding well going work want know kind redistributable packaged software allow 64-bit users get wmi installer provider put onto machines right install manually installation requires windows disc handy edit n't mention wmi redistributable components version definitely exists operation system 've using .net need packages work xp64 64bit versions windows vista
[configuration,performance,.net,c#]plan storing config settings application app.config section using configurationmanager.appsettings class user changes settings using app clicking checkboxes choosing radio buttons etc plan writing changes appsettings time program running plan accessing appsettings constantly process constantly processing data changes settings via need affect data processing real-time process accessing appsettings constantly good idea regard performance using appsettings supposed right way store access configuration settings writing .net apps worry method n't intended constant load least terms settings constantly read anyone experience would greatly appreciate input update probably clarify points web application connecting database application might overkill simply storing configuration settings windows forms application according msdn documention configurationmanager storing application level settings user settings well especially important instance application installed partial-trust application update accepted lomaxx answer properties indeed look like good solution without add additional layers application database using properties already caching others suggested means changes subsequent reads done memory making extremely fast properties writes changes disk explicitly tell means make changes config settings on-the-fly run time final save disk program exits verify would actually able handle load need testing laptop able 750,000 reads 7,500 writes per second using properties far beyond application ever even come close needing feel quite safe using properties without impacting performance
[language-agnostic]best way typeset function arguments readibility brevity accuracy tend put empty parentheses function name like func even actually arguments function trouble including arguments still feeling like paragraph readable thoughts best practices
[.net,c#]profilers used working .net programs would particularly recommend
[iis,windows,hardware,asp.net]discussion dual quadcore old quadcores answer usually depends scenario scenario web server windows sure x32 x64 ram iis asp.net impression cpu webserver need fast requests usually rather lightweight slower cores better choice got many small requests since much experience iis load balancing since n't want spend lot money find 've made wrong choice someone bit experience comment whether slower fewer faster cores better
[asp.net]'ve got task displaying web form represent properties .net class winforms pre-fab control named propertygrid lot like need looking something display simple layout property names next appropriate control like textbox strings dropdownlist enum properties anything like already exist asp.net rolling
[language-agnostic]trivial least moderately straight-forward way generate territory maps e.g risk looked past best could find vague references voronoi diagrams example voronoi diagram http //www.dma.fi.upm.es/mabellanas/tfcs/fvd/images/voronoi.gif hold promise guess n't seen straight-forward ways rendering let alone holding form data structure treat territory object another approach holds promise flood fill unsure best way start approach advice would much appreciated
[tortoisesvn,svn,vb.net]best svn ignore pattern tortoisesvn vb.net solution
[database,image]using app stores images heavily outlook type store location filesystem store directly think pros/cons
[flex,actionscript-3]wrote component displays filename thumbnail button load/play file component databound repeater make button event fires main application tells file play
[visual-studio,unit-testing,c#,asp.net]suggestions using visual studio specific tools use methods approach update sorry little specific using asp.net looking tool like junit java took look nunit nunitasp looks promising n't even know visual studio pro testing suite 'll look options 've started using visual studio/asp.net/c summer
[visual-studio,build-automation,msbuild]think people understand importance fully automated builds problem one project using integrated visual studio setup project vdproj recently ported visual studio unfortunatly n't build msbuild calling devenv.exe /build crashes apparently multi core computer choice either rollback .net simply ditch visual studio deployement first like second opinion anyone knows another automated way build .vdproj require open ide click stuff wix mind saying would ditch vdproj experience good things caveat
[language-agnostic,caching]currently know two ways cache data use php assume apply languages save cache file save cache large field perhaps better ways caching really simple
[version-control]told least people version control good thing even followup question difference different types version control guide anybody knows version control simple easy understand
[.net]good grid-hosting companies offer .net stacks something like mediatemple n't host worlds fastest websites price far better shared hosting 've used rackspace mosso sucked never felt like normal .net stack caching odd site recompilation odd
[osx,windows-vista]windows file sharing enabled computer accessible via \rudy\myshare windows users network except one guy running vista ultimate 64-bit edition users running vista 32-bit workgroup information login username/password vista guy see mac network login rejected every time imagine vista ultimate something configured differently business version n't really know look ideas
[sql-server]best method executing ftp commands sql server stored procedure currently use something like problem command seems succeed even ftp ended error also use xp_cmdshell requires special permissions may leave room security issues
[visual-studio,.net,ide]let say solution contains two projects project1 project2 project1 set startup project name displayed bold font double-click file project2 open file opens something else happens project2 gets set startup project tried find option configuration change found none feature though like bug disabled
[unix]xming window server installed laptop running windows connect unix development servers works fine connect directly company network office however work connect network remotely vpn start xming connected remotely none terminal windows displayed think may something display environment variable set correctly address laptop connected 've noticed ipconfig whilst connected remotely laptop two addresses one assigned company network local address 've set local network modem/router configuration changes need make xming support use vpn
[html]anyone remember xmp tag used deprecated
[sql,sql-server]currently creating master ddl database historically used backup/restore version database maintained ddl scripts schema quite large current thinking break script parts possibly separate scripts table creation add indexes add triggers add constraints script would get called master script might need script drop constraints temporarily testing may orphaned tables schema plan identify suspect tables advice edit also anyone knows good tools automate part process 're using sql old know
[regex]n't really understand regular expressions explain easy-to-follow manner online tools books could also link
[reflection,c#]eval something execute code dynamically javascript way thing exactly trying integer variable say multiple properties names property1 property2 property3 etc want perform operations propertyi property depending value really simple javascript way
[css,html]trying lay table-like page two columns want rightmost column dock right page column distinct background color content right side almost always going smaller left would like div right always tall enough reach separator row make background color fill space edit agree example table-like actual table would fine choice real page eventually less table-like like first master task also reason create/edit posts ie7 code shows correctly preview view actually post message formatting gets removed editing post firefox seems worked fwiw another edit yeah unaccepted gatekiller answer indeed work nicely simple page actual heavier page 'll investigate links y'all pointed
[version-control,svn,php]php project would like version control right three working development version project resides external folder eclipse ides linked thus version control right way best way version control svn set need find good way check allows test development server ideas
[ruby-on-rails,ruby,python,php]asked create system xyz ask python php ruby main features mention require explain
[functional-programming]really feel learn lisp plenty good resources help put complicated syntax traditional commercial programming would find places would make sense use instead procedural language commercial killer-app written lisp
[language-agnostic,http]generate etag http header resource file
[dom,events,javascript]need help finishing custom built ajax div based dynamic dropdown basically input box onkeyup runs ajax search returns bunch results divs drawn back using innerhtml divs highlights onmouseover typical successful search yields following structure pardon semi-code works. beautifully looks elegant way complete regular dropdown results div bring lot information however missing important functions behind regular html elements n't keyboard options know javascript handles keyboard events n't able find good guide course follow question eventually end use enter trigger onclick event
[javascript,firefox]trying create bookmarklet posting del.icio.us bookmarks seperate account tested command line like works great wanted create bookmarklet firefox googled found bits pieces ended happens get del.icio.us address bar press enter changes ideas get work directly bookmarks
[jquery,css,javascript,html]using coldfusion populate template includes html lists n't long ridiculously long lengths could really stand 2-3 columns html coldfusion perhaps javascript jquery available way easily worth over-complicated heavy weight solution save scrolling
[video]'ve implemented image/video transformation technique called discrete cosine transform technique used mpeg video encoding based algorithm ideas presented following url http //vsr.informatik.tu-chemnitz.de/~jan/mpeg/html/mpeg_tech.html transform 8x8 section black white image image important information top right transformed block looks like need know take advantage transformation like detect 8x8 blocks image another image represent good match also transformation give information stored top right converted image important
[ruby]firewall behind running microsoft isa server ntlm-only mode hash anyone success getting ruby gems install/update via ruby sspi gem method lazy note rubysspi-1.2.4 work also works igem part ironruby project
[visual-studio,web-services,php]available tool php used generate code consuming web service based wsdl something comparable clicking add web reference visual studio eclipse plugin thing java
[string,c]library function return index character string far 've found functions like strstr return found char location original string
[asp-classic,configuration,asp.net]developing data access component used website contains mix classic asp asp.net pages need good way manage configuration settings like use custom configurationsection asp.net pages works great component called via com interop classic asp page component n't running context asp.net request therefore knowledge web.config way tell configurationmanager load configuration arbitrary path e.g ..\web.config assembly /bin folder thinking component fall back default configurationmanager.getsection returns null custom section approaches would welcome
[c#]typical way creating csv string pseudocode create csv container object like stringbuilder loop strings want add appending comma one loop remove last superfluous comma code sample like idea adding comma checking container empty n't mean processing needs check length string occurrence feel easier/cleaner/more efficient way removing last comma ideas
[performance,c#,compiler-construction]compileassemblyfromdom faster compileassemblyfromsource presumably bypasses compiler front-end
[database,sql-server,sql,syntax,oracle]complete correct syntax sql case statement
[virtualization]currently experimenting build script since asp.net web part source control build script end grab naked windows iis vmware virtual image network boot copy files build folder server install whatever else needed never tried automating virtual machine saw vmware virtual server offer automation facilities use virtual server windows home virtual works anyone experience either vmware server virtual sp1 terms automation one better suited run windows platform-independence vmware count easier automate
[authentication,asp.net]simple learning website use built asp.net authentication system adding user table save stuff like zip dob etc question new table key user name string user guid looking number use asp_ tables best practice use ugly guid anyone know get seems accessible easily name system.web.httpcontext.current.user.identity.name suggest use neither guid username fields provided asp.net authentication asp.net authentication one option like use email address user login make asp.net authentication system use email address instead user name nothing deciding know username actually email address please note asking get guid .net referring userid column asp_ tables guid user name unique asp.net authentication
[deployment]installation websphere application server network deployment node physical machine instance operative system logical set instances independent physical machine instance
[.net,email]using mapi functions within managed code officially unsupported apparently mapi uses memory management crashes burns within managed code see want launch default e-mail client subject body one attachments 've looking mapisenddocuments seems work n't able gather courage actually use function production code anybody used function lot horror stories n't shellexecute outlook.exe command line arguments attachments pps attachment support requirement mailto solutions cut
[database,logging]analyze lots text logs hackery looks like locally import logs access reprocess cube link previous mdb analisis service yes use excel visualize cube big milions raw entries hackery succes people demanding access tool see see automating easier deployment tools/libraries would give easier deployment kind embedded olap service edit heard mondrian n't much java seen something similiar done .net/win32 comercial also
[.net,c#]folders solution match namespace one teams projects class library many sub-folders project project name namespace mycompany.project.section within project several folders match namespace section folder vehicles classes mycompany.project.section.vehicles namespace folder clothing classes themycompany.project.section.clothing namespace etc inside project another rogue folder folder businessobjects classes mycompany.project.section namespace cases like folders made organizational convenience question standard class libraries folders usually match namespace structure mixed bag
[networking]talking http //en.wikipedia.org/wiki/quality_of_service streaming stackoverflow podcasts downloading lastest updates ubuntu would like qos working use stackoverflow without http connections timing taking forever using iconnect adsl modem qos built-in n't seem get work even possible control downstream isp modem
[.net,c#]possible make prototype methods .net javascript following create trim method string object .net
[.net,unit-testing]latest disaster stumbling mocking grokking need actually push results inside mock object ienumerable sample demonstration ienumerable actually good interaction-based testing n't like got work following reasons consuming ienumerable ianimal results ilist ianimal understand puts results check onto heap setting contents results understand well main point test zoo.animals returning ienumerable ianimal even better using yield return inside suggestions better simpler edit trying determine optimal way test interaction ienumerable whatever using trying test zoo hold animals rather zoo exposes ienumerable ianimal yield return getting used well
[database,sql-server,sharepoint,search]'ve issues sharepoint instance test environment thankfully production problems started disk sql server databases search index ran space following search service would run search settings ssp accessible reclaiming disk space resolve issue rather restoring decided try fix issue created new ssp changed association services new ssp old ssp databases deleted search results pdf files longer appearing search works fine otherwise mysites also works following implementation change problems occur audit failure message started appearing application event log 'domain\spmosssvc moss farm account sql server profiler showing queries sharepoint reference old deleted ssp database would references domain\spmosssvc old ssp database exist way 'completely remove ssp server re-create option delete available greyed single ssp place
[database,sql-server,sql]new version management studio i.e one ships sql server finally transact-sql intellisense feature however out-of-the-box works sql server instances workaround
[xml]question regards xml-sig need detail optional elements well canonicalization transform stuff 're writing spec small xml-syntax payload metadata media files needs cryptographically signed rather re-invent wheel thought use xml-sig spec think overkill need like information/dialogue people know details specifically need care either transforms canonicalization xml basic tabs formatting specific needs
[.net,c#,sharepoint]developing sharepoint application use .net ajaxcontroltoolkit library adding custom aspx page sharepoint sharepoint run quirks mode 've made modification ajax library make behave like normally problem team already use ajax library different version mine cause conflict could one dll bin folder name know .net able handle situation easily 've tried using strong name gac solve still refer dll bin folder ajaxcontroltoolkit.dll bin folder application simply fail load assembly use complete assembly information like gives compiler error cs0433 someone help use multiple version assembly application
[language-agnostic,http]writing resource handling method control access various files like able make use browser cache question two-fold definitive http headers need check order know sure whether send response looking check additionally headers need send initially send file like 'last-modified response psuedo-code would probably useful answer cache-control header various possible values affect send client namely max-age if-modified-since obeyed
[c#,user-interface]new work existing application directx viewport components want able position using arrow keys currently overriding processcmdkey catching arrow input send onkeypress event works want able use modifiers alt+ctrl+shift soon holding modifier press arrow events triggered listening anyone ideas suggestions
[flex,actionscript-3]'ve written application flex concerned protecting source code fired demo trillix swf decompiler opened swf file installed program files directory saw actionscript packages wrote concerned packages even though substantial amount code still seems pretty unusable without mxml files think converted actionscript atleast hope however would still like explore obfuscation anyone experience flash actionscript flex obfuscators recommend good product
[windows,testing]working quality yesterday formal testing procedure verifying files test machine pulled release way verifying files checking size date/time stamp windows put windows explorer happened another reason able find valid way verify file n't think started argue younger thought n't push far wanted argue binary compare file verify contents exact experience time/date stamps size attributes n't always act expected thoughts
[performance,c#]following best performance seen method two implemented javascript huge performance gains however unable measure gain wondering compiler already method even written like method theory behind method code n't access datatable.rows.count every iteration simple access int method method
[.net,c#]resolve domain name address .net/c
[hardware]way get virtual support multiple displays another virtual machine product available allow work multiple displays company work development virtual machines currently use virtual would love able spread machine display across multiple displays n't know way advice would appreciated
[regex]writing telnet client sorts part parse ansi/vt100 escape sequences specifically used colour formatting detailed one method one find codes remove render text without formatting needed new regular expressions suggested use however failed escape code incomplete due error server suggested friend warned might slower one also matches another condition might come across later worked fact faster reduced impact text rendering someone explain regexp newbie
[.net,winforms,c#,user-interface]using vs2008 .net winforms make regular button look pressed imagine button on/off switch toolstripbutton checked property regular button
[ruby,design-patterns]singleton pattern design pattern used restrict instantiation class one object instance although know code singleton pattern c++ java wondering anyone know implement ruby
[.net-3.5,asp.net]currently aware asp.net 3.x versions .net framework possible upgrade asp.net web server version 3.x .net framework tried however selecting version .net framwork use iis asp.net tab version show work around
[sql,database]developing whether web desktop point developer switch sqlite mysql sql etc
[windows-xp,windows-vista]get new work include option either vista business downgrade pro aside tiny bit testing never used vista overall heard many bad reports good regarding vista n't think hardware issue intel core duo t9300 4gb ram 256mb nvidia terms performance uneasy using vista main dev system given history opportunity keep using anyone experience vista dev machine could choose one would need use visual studio 2003/2005/2008 sql server virtual machines office well lots multi-tasking multi-tab web browsing note interested microsoft-bashing n't used vista heard bad things level experience probably n't answering question edit getting computer work would prefer use one operating systems offered bit pro bit vista
[java]saw answer another question reference shortcomings java spec shortcomings subtle topic check long would printed n't checked compiler choses widening autoboxing careful using autoboxing n't use sure actually example widening instead autoboxing something else entirely initial scanning would agree statement output would long basis declared primitive object however changed output would print integer really going know nothing compilers/bytecode interpreters java
[linq-to-sql]linq sql allows table mappings automatically convert back forth enums specifying type column works strings integers way make conversion case insensitive add custom mapping class extenstion method mix specify string look like detail reasons might order supply nicer naming convention inside new funky code system data schema already set relied upon legacy apps actual text database n't changed
[java]example two shared objects apply .dlls first shared object third-party library 'll call liba.so wrapped jni created library libb.so libb depends liba webstarting libraries places webstart working area java code attempts load libb point system loader attempt load liba system library path java.library.path n't help end result libb unsatisfied link used tried loading liba libb still work seems wants loading way make work statically compiling
[browser,c#]winforms program written .net hosts webbrowser control renders asp.net pages known server would like able drag say tree node treeview winforms app specific location hosted web page trigger javascript event currently implement idochostuihandler interface getting drag\drop events browser control call navigate javascript fire_event control execute script page however want work drop data specific part page one solution suppose would bite bullet write custom browser plugin form activex control embed location want drop let implement needed drag\drop interfaces would work cleaner approach take advantage fact browser control hosted app provide level interaction
[.net-3.5]walking press windows workflow step-by-step book chapter mentions tool filename wca.exe supposed able generate workflow communication helper classes based interface provide n't find file thought would latest .net sdk downloaded fully installed also msdn forum posts links posted 404s find wca.exe
[version-control]want get project distributed version control system mercurial git bazaar catch need windows support good i.e instructions start install cygwin 've heard git windows support decent days n't first hand experience also sounds like bazaar team explicit goal making multiplatform possible get recommendations
[forms,email,html]organization form allow users update email address suggested two input boxes email second email confirmation always copy/paste email address faced confirmation assuming users savvy regardless considered good practice n't stand personally also realize probably n't meant someone screws email n't login must call sort things
[windows,winapi]create custom moniker url protocol windows systems examples http mailto service
[performance,.net]working project uses .net remoting communication client application object server development client server mssql database running local development machine working office responsiveness fine however work home speed significantly slower disconnect vpn speeds believe maybe wishful thinking turn wireless connection completely immediately speeds full throttle assumption remoting traffic routed point slowing everything albeit home router and/or vpn anyone ideas force remoting traffic remain completely localized
[regex]worked years mainly java desktop applications accessing oracle databases never used regular expressions enter stack overflow see lot questions feel like missed something use regular expressions p.s sorry bad english
[sql-server-2005,installation]anyone tried installing sql server developer machine already developer installed unsure need keep machine foreseeable future order test application easily since sometimes need take backup files databases make available people company replace suspect know databases n't backwards compatible kind issues would arise need install new version instance name work use different port number distinguish found entry technet http //forums.microsoft.com/technet/showpost.aspx postid=3496209 siteid=17 n't say yes kinda suspected doable anyway need know anything need know start installing anyone
[version-control]'ve got two developers closed ugh stupid gov network another developer couple minutes drive road fourth developer half-way across country e-mail ftp removal media possible methods transfer people network one two closed network developers consider master location best mercurial setup/pattern group best way trasmit changes to/from remote developers charge figured would keep least one master repo another local repo develop person need clone master right guess also makes responsible merging see still trying wrap head around distributed version control n't think way connectivity situation
[performance,linq-to-sql,sql-server,linq]much database performance overhead involved using linq compared custom optimized queries loaded mostly low-level sql server backend specifically thinking case fairly data-intensive program data refresh update least per screen 50-100 simultaneous users
[web-applications]good way get people alpha test web application making want people use get feedback ways need change cus lot important description http //adamlerman.blogspot.com/2008/07/budgetjax.html site http //www.budgetjax.com app real docs rough right
[javascript]javascript object say built-in accepted best practice way get length object
[git,version-control]possible undo changes caused following command
[unicode,python]try print unicode string windows console get unicodeencodeerror 'charmap codec n't encode character error assume windows console accept unicode-only characters best way around way make python automatically print instead failing situation edit using python note lassev.karlsen answer checkmark sort outdated please use solutions/answers/suggestions care jfsebastian answer relevant today jan
[java,exception]java first line constructor call super implicitly calling super explicitly calling another constructor want know n't put try block around specific case mock class test default constructor want one make tests simpler read also want wrap exceptions thrown constructor runtimeexception want effectively java complains super n't first statement workaround best workaround n't java let former best guess java n't want let constructed object potentially inconsistent state however mock n't care seems able least know safe case seems though anyways overriding methods use tested class risk using uninitialized variables
[css,javascript,asp.net,html]working website switch new style set date site built semantic html css change require css reference change working designer need able see looking well client need able review content updates current look well design progress new look planning use magic querystring value javascript link footer writes cookie select new css page 're working asp.net recommendations mention 're using conditional comments ie8 support may create function replacement
[security,php]know using rand predictable know 're access server project highly dependent upon choosing random number unpredictable possible looking suggestions either built-in functions user functions generate better random number used little test found results evenly distributed odd pattern number times number generated
[html]currently process creating blog got marking comments best way mark information need present persons name gravatar icon comment date comment idea would much appriciated interested semantic html markup
[java,http]java equivalent php _post searching web hour still nowhere closer
[python,c]researcher created small simulation matlab want make accessible others plan take simulation clean things turn set functions plan compile library use swig create python wrapper point able call simulation small django app least hope right plan anyone else done something similar let know serious pitfalls aware moment
[windows,winapi]make sense -managed-bliss back petzold programming windows try produce code pure winapi learn n't outdated useful
[asp.net]anyone ever found/used asp.net application similar joomla need set quick dirty cms windows server client n't want use something else asp.net
[flex,actionscript-3]written air application downloads videos documents server videos play inside application would like user able open documents native applications looking way prompt user open save local file stored application storage directory tried using filereference urlrequest classes throws exception needs remote url last resort copying file desktop
[debugging,internet-explorer,ajax,ssl]setting program question tries post form data via ajax call target procedure contained package caller done site uses secure connection https technology used plsql dojo javascript library development tool basically text editor code snippet problem using ie6 entire user-base uses response sent back server error observations program works fine firefox calling procedure target procedures within package calling procedure target outside sites http https ajax calls package posts form data work fine 've searched internets consulted senior-skilled team members n't discovered anything satisfactorily addresses issue *tried dojo support forums questions troubleshooting techniques recommend troubleshooting tools recommend https analyzing hypotheses issue might ideas workarounds n't total bad hacks solution lomaxx thx fiddler tip idea awesome get use debugging tool starting found fixed least short term seeing message server kicked around fiddler bit see else could learn found webforms tab shows values web form would n't know xxx_displayed_ fields n't really understand yet fields exist n't create explicitly web plsql code understand target procedure include parameters work correctly case ie6 firefox worked fine well short term answer hack fix hopefully little work area lead better understanding fundamentals going
[python]binary file parse using python way take bytes convert single precision floating point number
[database,sql-server-2005,sql-server,php]wanting extra security particular point web app want lock database sql server suggestions even necessary sql server edit question query failing silently errors messages logged occur inside transaction final solution never able solve problem however wound switching mysql using transactional level query main even primary reason switch problems sql server allowed cms various tools running database previous sql server mysql database running run site port bit time consuming however long run feel work much better site business
[asp.net-ajax,javascript,asp.net]asp.net ajax modalpopupextender oncancelscript onokscript properties n't seem onshowscript property like specify javascript function run time popup shown past situations set targetcontrolid dummy control provide control first code uses methods show popup case showing popup client server side code anyone know way btw needed textbox modal want make tinymce editor tinymce init script n't work invisible textboxes find way run time modal shown
[wpf]handling entry numeric values wpf applications without numericupdown control 've using textbox handling previewkeydown event code pretty ugly anyone found graceful way get numeric data user without relying third-party control
[asp.net-mvc]want links include fragment identifier like urls site debugging ie6 ssl ajax post form error way built-in methods mvc would roll html helpers
[osx]anyone know good tools looking ides primarily write assembly mac xcode little cumbersome also intel macs use generic x86 asm modified instruction set information post intel also know windows asm run emulated environment created let code think running dedicated machine osx provide thing
[forms,javascript,c#,asp.net]asp.net server-side controls postback page makes cases want redirect user external page need post page reason authentication instance pain httpwebrequest works great n't want redirect javascript fine cases get tricky really need server-side code get data together post post external url redirect user result asp.net codebehind code
[xml,html]page generated inserts html comment near top page inside comment *nix-style command comment breaks page completely wrong comment cause happen case
[sql-server]wondering alternatives microsoft sql server management studio anything wrong ssms sometimes seem big application want todo browse/edit tables run queries
[oop,php]wanted would work php 5.3.0+ restricted using php 5.2.6 anyone think simple way simulate behaviour without instantiating class
[iis,sharepoint]using iis windows server sharepoint intranet external incoming requests using host header portal.mycompany.com forced use ssl wondering way set alternate host header http //internalportal/ accepts requests internal network n't force users use ssl recommendations set
[asp.net]fairly simple asp.net menu control using sitemap file security trimmings menu options results html menu whopping 14k site hosted company intranet must serverd people worldwide limited bandwidth like reduce size menus best way anybody good reference following constraints solution must reference 3rd part dll files getting approval would nightmare work css javascript fine long work
[tfs]currently evaluating msf cmmi process template tfs use development team trouble understanding need separate bug change request work item types understand beneficial able differentiate bugs errors change requests changing requirements generating reports current system however single type change request use field indicate whether bug requirement change etc field used build report queries benefits separate workflow bugs also confused fact developers submit work bug change request thought intended workflow bugs generate change requests developer references making changes
[ruby-on-rails,ruby]company process starting grails path reason current developers heavy java felt need mvc-style language future web development projects personally coming design/usability world take front-end responsibilities starting feel need learning language intensively code logic especially front-end code uis stuff 've trying get python/django personally never invested much time company jumping grails bought agile web development rails 3rd beta starting get ror still like learn python future side biggest question learning ror versatile language portfolio knowing ror knowledge useful grails needs well -or- skip ror focus learning grails 'll needing work soon work learning ror/django ruby/python later basically question revolves around usefulness grails non-corporate setting similarities rails grails trying avoid centennial discussion python ruby rails
[perl]anyone know online copies old perl journal articles found know owned dobb main page says part whatever section subject matter relevant rather indexed together said never able find online site know mark jason dominus articles site one know good places even search terms use dobb
[iis,sql-server]'ve developing site using asp.net mvc decided use new sql server filestream facility store files 'within database rather separate entities initially working within vs2008 using trusted connection database everything fine dandy issues arose however shifted site iis7 changed sql authentication database seems streaming filestream n't work sql authentication windows authentication given best practice follow way force sort thing work sql authentication add network service database user use trusted authentication create another user run iis site database connection suggestions
[apache,python]tried follow couple googled tutorials setting mod_python failed every time good step-by step rock-solid howto dev box production centos
[reporting-services]box reporting services image element allow centering image dimensions unknown design time words image smaller dimensions allotted design surface anchored top left corner center report know url image runtime need able center image smaller dimensions specified designer
[.net-3.5,linq,c#]prototyping collection filters came across collection products use linq filter works expected use extension method combined lambda filter works well question difference use one
[database,mysql]char great fixed size thus make faster table however limited characters want hold characters blob variable length want way fixed length field characters mysql going use char fields
[web-services]gut feel document based web services preferred practice peoples experience easier support noted sharepoint uses document type wsdl interface guess makes document based also people offering wsdl rest type services functionality wsdl popular code generation front ends like php rails seem prefer rest
[linux,security]like set cheap linux box web server host variety web technologies php java come mind like experiment ruby python future well fairly versed setting tomcat run linux serving java applications like able open server even create tools use working office experience 've configuring java sites intranet applications told focus securing pages external users advice setting personal linux web server secure enough way open external traffic
[xslt]would thought would easy one google 've unsucessful want assign variable value attribute easy far use variable select another node based value attribute example work replace myid value variable find right node doign way produces nothing sure missing something perhaps different way context related data different top-level nodes share value need get related nodes template
[css]seems like every time try create pure css layout takes much longer use table two getting three columns equal lengths different amounts data seems require particular fancy hacks especially dealing cross-browser issues question tables going hurt tables seem work particularly well tabular data reviled day age google.com table source code many sites stackoverflow.com way
[ajax,.net,sharepoint]developing windows sharepoint service application best ajax library available thinking free customizable easy deployment compatible sharepoint meaning run 'quirks mode
[osx,firefox]today ran weird problem user using mac user always failed upload form uses regular input type=file user could upload using browser except firefox mac particular user seeing error obviously problem one particular user
[svn]best approach write hooks subversion windows far know executable files used best choice plain batch files limited perhaps simple solutions dedicated compiled executable applications sledgehammer crack nutshell hybrid choice like batch file running powershell script
[indexing,sql-server]several tables whose unique data uniqueidentifier guid column guids non-sequential 're client-side generated n't use newsequentialid made non-primary non-clustered index field rather giving tables clustered primary key wondering performance implications approach 've seen people suggest tables auto-incrementing identity int clustered primary key even n't meaning means database engine use value quickly look row instead use bookmark database merge-replicated across bunch servers 've shied away identity int columns 're bit hairy get right replication thoughts tables primary keys clustered indexes sensible columns index way
[asp.net-mvc]encounter error form model item passed dictionary type fooviewdata dictionary requires model item type bar even though passing object correct type bar typed user control
[user-interface,python]learned swing back day 've moved python want make apps guis n't time learn new gui api 've using jython would prefer use cpython would great one simple markup allows switch gui libraries would even better use markup language across languages quickly make guis language using anyone know markup/library 've seen markups like glade wxwidget markup forget name 're partly looking making gui without coding language 're intertwined specific library neither really nice looking friendly human editting
[language-agnostic,c#,compiler-construction]feel free answer languages order runtime evaluate logic statement example statement runtime evaluate first time compiler would ever evaluate statement backwards perhaps operator involved known logical bitwise operator always evaluate sub-expressions good example use bitwise operator instead short-circuited boolean
[winforms,c#]articles 've found via google either obsolete contradict one another easiest way print form say richtextbox think using printdiaglog class setting document get converted
[deployment]wrong get adma5026e error deployment application networkdeployment console
[date,vb.net]situation want add hours date new date wrap around work-day cobbled function determine new date want make sure forgetting anything hours added called delay could easily parameter function instead please post suggestions vb.net warning note probably work delay hours long never change edit goal find date time get result adding several hours current time used determine default value due date submission want add hours current time get due date time however n't want due dates beyond 5pm current day tried hours split today 5pm tomorrow 8am adding hours 4pm would give 19am hour added end today hours added beginning tomorrow
[sql]created view machine using substring function firebird worked copied database different machine view broken way used output machine accept function computers configuration expert version 2.5.0.42 run queries deal database firebird version server database bde administration version installed interbase drivers ideas behaving differently machines
[html]supposed backwards compatible html4 xhtml john resig posted benefits long n't use new supported yet features would downside start building sites doctype
[user-interface]although specifically interested web application information would also somewhat curious desktop application development well question driven work personal website well job developed features left others integrate look feel site guides rules thumb things like color schemes layouts formatting etc want ensure readability clarity visitors bland dull time knowledge area hand picture enough knowledge reproduce screen ask design new interface redesign existing one would n't know begin
[http,emacs]recently discovered org-mode emacs works well also like www.rememberthemilk.com would like able sync org-mode file rtm list know rtm api exposed web services currently looking http library could use write script found couple links still entirely satisfied http //www.koders.com/lisp/fidb46ccca8d57fbd093baf6e08289cfb4da7624b2b.aspx s=tv+raman http //www.emacswiki.org/cgi-bin/wiki/http-post-simple.el pointers web service interactions emacs would useful also please keep mind seasoned emacs expert broken initial barriers emacs find way around elisp gentle
[unicode]sure system although n't done anything unusual 've started noticing incorrectly rendered characters popping web pages text-files like http //www.kbssource.com/strange-characters.gif hunch related fairly recent trend use unicode everything good thing think combined fonts n't support possible characters anyone know causing blips right stop showing content
[database,.net,ado.net]self-referential role table represents tree structure using ado.net datatable dataadapter load save values table works create children existing rows make child row make child child update temporary value generated datatable going parentid column following data relation set make new child rows datatable call setparentrow method something special get generation propagate recursively call update dataadapter
[java]saw comment suggesting made wonder real beneficial use java feeling reason would even consider using management decreed company jump java bandwagon .net bandwagon use effectively losing biggest benefit picking java rich cross platform support sure mono richly supported full featured right remember hearing forms fully perhaps supported trying bash .net saying going microsoft route use going java route would enter picture hoping find real world cases please especially respond 've actually used real project
[browser,dom,javascript]gets value whatever selected dropdown menu however find property text currently displayed drop menu tried text looked w3schools n't answer anybody know sure html drop box
[java,linux]running tomcat application need display time values unfortunately time coming hour looked discovered default timezone set rather pacific time zone indicated try print default time zone display name comes gmt-08:00 seems indicate correctly set pacific time zone running ubuntu hardy heron upgraded gutsy gibbon configuration file update tell jre use pacific associated daylight savings time information time machine shows correctly n't seem os-wide misconfiguration update coworker suggested update java_opts /etc/profile include -duser.timezone=us/pacific worked also saw catalina_opts updated well actually exported change variables rather use new /etc/profile reboot later pick changes golden however still think better solution configuration java somewhere says timezone using grabbing timezone someone knows setting would awesome decent workaround using definitely dst problem see time zone set use daylight savings belief generically set offset rather specific pacific timezone since generic offset daylight savings info course using question tell java use pacific time zone starts looking programmatic solution configuration solution
[visual-studio,c#]got error today trying open visual studio project visual studio imported project \microsoft.csharp.targets found
[python]downloading entire directory web server works n't figure get file size download compare updated server done downloading file ftp server jon thank quick answer works filesize web server slightly less filesize downloaded file examples anything cr/lf conversion
[ruby-on-rails,css]following html.erb code looking move haml associate css class currently assigned status span done haml sure missing something really simple solved n't believe n't figure goes show two sets eyes better one thanks
[.net]anyone experience building 'real world application smart client software factory microsofts patterns practices group looking advice difficult master whether decreased time market general pitfalls
[sql]sybase stored proc takes parameter comma separated list strings runs query clause call stored proc value list far 've tried edit actually found page great reference various ways pas array sproc
[git,svn,version-control]let say typical web app file configuration.whatever every developer working project one version dev boxes dev prod stage versions deal source control check file check different names something fancy altogether
[build-automation]automated build machine needs archive version numbers plus various tools used build case ever need replicate exactly build later perhaps machine long dead see command msinfo32.exe used dump whole load system version information might well archive anyone know way easily archive version numbers visual studio tools mechanisms developers use gather kind information archive purposes extra information fabio gomes agree years time 'll probably impossible recreate exact tool configuration nearest security update unfortunately really comes contractual requirement part deliverable customer must provide copy source code clear instructions exactly replicate build probably impossible meet requirement perfectly 'll mark answer correct agree practically impossible get playing rest stack overflow would really great stack overflow supported replies answers instead edit original question. see already denied
[database,web-applications]'ve always preferred use long integers primary keys databases simplicity assumed speed using rest rails-like url scheme object instances end urls like assumption also users ids assuming web app question secure enough prevent people entering numbers view users without authorization simple sequentially-assigned surrogate key also leaks total number instances older one case users might privileged information instance user stackoverflow would uuid/guid better solution could set urls like exactly succinct less implied information users display sure smacks security obscurity substitute proper security seems least little secure benefit worth cost complexity implementing uuids web-addressable object instances think still want use integer columns database pks speed joins also question in-database representation uuids know mysql stores 36-character strings postgres seems efficient internal representation bits n't tried anyone experience update asked using user name url e.g http //example.com/user/yukondude works fine object instances names unique zillions web app objects really identified number orders transactions invoices duplicate image names stackoverflow questions
[language-agnostic]something bugged every language 've used statement conditional part many checks split multiple lines use nested statement accept ugly move life methods 've found might use anybody else hit problem example one line example multi-line example-nested
[data-structures,python]basically 've written api www.thetvdb.com python current code found grabs data api requested store data somehow make available best way abstract data within tvdb class originally used extended dict automatically created sub-dicts could something without .has_key stored data self.data show_id season_number episode_number attribute_name something worked okay easy way checking supposed exist could n't raise season_not_found exception currently using four classes showcontainer show season episode one basic dict easily add extra functionality search function show example __setitem__ __getitem_ has_key works mostly fine check shows season self.data dict raise season_not_found also check season episode problem presenting dict n't functionality overriding __getitem__ __setitem__ functions easy accidentally recursively call __getitem__ sure extending dict class cause problems slight problem adding data dict lot work old dict method self.data seas_no ep_no 'attribute 'something see _setitem _setdata bad since currently read-only api interface users api ever retrieve data add hardly elegant think series-of-classes system probably best way anyone better idea storing data would extending showcontainer/etc classes dict cause problems
[vb.net,vb6]moved visual basic team work equivalent keyword break visual basic exit loop early method
[language-agnostic,parsing]given string like string various values quoted good algorithm split based commas ignoring commas inside quoted sections output array string various values quoted
[c++,visual-c++]'ve opened old workspace libray test harness used work fine n't older versions code n't work either errors 've tried recreating project causes errors nothing seems order project settings code generated works main app 've stripped files got bare minimum generate error unfortunately n't post project used production code lnk2001 linker error get usually means 've left library forgot implement virtual function however part standard template library header code listed problem iocompletionport.obj n't actually use std :string directly call class comms :exception accepts std :string value getlasterror wsagetlasterror function mentioned error getmessage implemented virtual function classes override need however appears compiler made ansi version n't find options settings would control suspect might problem since little way options library way knowing sure however projects specify _mbcs compiler options configuration testcomms win32 debug linking comms.lib iocompletionport.obj error lnk2001 unresolved external symbol public virtual class std :basic_string class std :allocator __thiscall comms :exception :getmessagea void const getmessagea exception comms ube basic_string char_traits std allocator std debug/testcomms.exe fatal error lnk1120 unresolved externals error executing link.exe testcomms.exe error warning suggestions 've lost morning n't want lose afternoon
[javascript,html]following code works great safari n't life work code supposed disable radio buttons select disable radio buttons option enable radio buttons select enable radio buttons option work however n't use mouse move options enable disable radio buttons appear disabled enabled correctly click anywhere else page radio buttons anyone time/is curious/feeling helpful please paste code html page load browser works great problem manifests case safari windows
[firefox]using firebug v1.20b7 firefox v3.0.1 use firebug lot web devlopment often problem firebug n't show web console seeing posts gets view tabs including net tab gives lot information console tab curious anyone else problem maybe solution maybe bug firebug
[.net,email].net system building need automated e-mail notifications editable admin easiest way sql table wysiwig editing queue great idea 've throwing around type process awhile old company
[c#]feel free answer languages loop difference break continue means leave structure loop next iteration example
[math,shell,unix,scripting,date]need date arithmetic unix shell scripts use control execution third party programs using function increment day another decrement need complex arithmetic best compatible way
[sql-server]escape underscore character writing something like following clause want able find actual entries end
[linux,unix,bash]problem zombie-like processes certain server need killed every best identify ones run longer hour
[c++,c]pointers leading factor confusion many new even old college level students c++ tools thought processes helped understand pointers work variable function beyond level good practice things done bring somebody level ah-hah got without getting bogged overall concept basically drill like scenarios
[c#]process parsing text n't remember escape character tab
[vb.net]anyone use vb.net strong preference using isnothing opposed nothing example isnothing anobject anobject nothing edit think 're equally acceptable think best pick one stick mix
[.net,c#]possible access element master page page loaded within contentplaceholder master listview lists people names navigation area master page would like update listview person added table listview data bound listview currently update values cache reloaded found re-running listview.databind update listview contents able run listview.databind page uses master page sample wanted compiler error says peoplelistview exist current context gis.master listview resides gisinput_people.aspx uses gis.master master page gisinput_people.aspx.cs would best way resolve issue like .net
[svn,mysql]'ve hard time trying find good examples manage database schemas data development test production servers setup developer virtual machine running app mysql database personal sandbox whatever want currently developers make change sql schema dump database text file commit svn 're wanting deploy continuous integration development server always running latest committed code reload database svn build test virtual server runs release candidates deploying test server currently manual process usually involves loading latest sql svn tweaking also data test server inconsistent end whatever test data last developer commit sandbox server everything breaks deployment production since n't overwrite live data test data involves manually re-creating schema changes large number schema changes conversion scripts manipulate data get really hairy problem schema easier problem base data database updated development well meta-data security permissions tables biggest barrier see moving toward continuous integration one-step-builds solve follow-up question track database versions know scripts run upgrade given database instance version table like lance mentions standard procedure thanks reference tarantino .net environment found databasechangemangement wiki page helpful especially powerpoint presentation .ppt going write python script checks names *.sql scripts given directory table database runs ones n't order based integer forms first part filename pretty simple solution suspect 'll post 've got working script handles initializing n't exist running upgrade scripts necessary also switches wiping existing database importing test data file lines n't post though might put pastebin interest
[sql,mysql]'ve got table supposed track days costs shipping product one vendor another brilliantly stored shipping vendors fedex ups product handling vendors think dunder mifflin vendor table three columns shipping_details table reference vendor.no reason mysql n't letting define three foreign keys ideas edited remove double primary key definition yeah unfortunately n't fix though getting n't create table './removed name/shipping_grid.frm' errno phpinfo tells mysql client api version 5.0.45 yes vendor.no type int
[.net,c#]unsigned integers cls compliant starting think type specification performance correctness
[sql-server,.net]application team currently developing dll used perform database access application use trusted connection database behind firewall domain server appears connection string needs username password dll currently database connection string hard coded n't want launch assembly disassembled username password would right open one requirements password needs changed every months would need roll internal user base way store password encrypted way easily distribute entire user base without storing assembly update thanks everyone answered 'll try answer questions back data dll used asp.net webforms vb.net winforms understand applications config files n't seen anything config files dlls unfortunately n't get jon galloway post work n't judge work development standpoint n't want use web services inhouse may providing third parties sometime next year n't think impersonation work n't authenticate user firewall user former user attacker 're keeping everyone
[java,eclipse]anyone successfully using latest 64-bit ganymede release eclipse windows vista 64-bit currently run normal eclipse distribution 32bit jdk launch compile apps 64bit jdk previous experience 64bit eclipse distro unstable curious anyone using successfully using jdk 1.6.0_05
[.net,winforms].net form component/object textbox need access parent form obviously need upgrade modifier component internal public level variable providing public variable int string type etc form class would n't think twice using getters maybe setters around even n't anything provide direct access variable however designer n't seem implement getters/setters public objects components form therefore comply good programming practice question order right thing wrap designer components objects getter and/or setter
[winforms]suddenly back winforms years web development trouble something simple arraylist business objects bound windows forms datagrid like user able edit cells finished press save button point like iterate rows columns datagrid find changes save database n't find way access datagrid rows 'll also want validate individual cells real time edited pretty sure done maybe arraylist datasource iterating datagrid quite surprised n't seem possible must really stuff business objects data datatables order use datagrid
[asp.net-mvc]route calling redirecttoroute like also tried route global.asax like get error route route table matches supplied values saw type selectedyear var tried convert int int.parse realised selectedyear actually null would explain problems guess next time 'll pay attention values variables breakpoint
[windows,shell]better windows command line shell cmd better copy paste windows windows console windows
[.net,c#]array.length int uint bothers bit length value never negative also forced use int length-property class specify int-value needs cast explicitly ultimate question use unsigned int uint even microsoft seems use
[file,c#]anyone know binary patch generation algorithm implementation basically compare two files designated old new produce patch file used upgrade old file contents new file implementation would relatively fast work huge files exhibit logn runtimes algorithms tend either lousy fast produce huge patches slow produce small patches n^2 runtime advice pointers implementation would nice specifically implementation used keep servers sync various large datafiles one master server master server datafiles change need update several off-site servers well naive algorithm made works files kept memory follows grab first four bytes old file call key add bytes dictionary key position position position grabbed bytes begin skip first four bytes grab another overlap one add dictionary way repeat steps 1-3 4-byte blocks old file start new file grab bytes attempt look dictionary found find longest match several comparing bytes two files encode reference location old file skip matched block new file found encode byte new file skip repeat steps 5-8 rest new file somewhat like compression without windowing use lot memory however fairly fast produces quite small patches long try make codes output minimal memory-efficient algorithm uses windowing produces much bigger patch files nuances algorithm skipped post post details necessary however feel need different algorithm altogether improving algorithm probably going get far enough edit detailed description algorithm first combine two files one big file remember cut-point two files secondly grab bytes add position dictionary step everything whole file thirdly new file starts loop attempting locate existing combination bytes find longest match make sure consider positions old file earlier new file 're currently ensures reuse material old new file patch application edit source code algorithm might get warning certificate problems n't know resolve time accept certificate source uses lots types rest library file n't takes algorithm implementation lomaxx tried find good documentation algorithm used subversion called xdelta unless already know algorithm works documents 've found fail tell need know perhaps dense took quick peek algorithm site gave unfortunately usable comment binary diff file says finding optimal set differences requires quadratic time relative input size becomes unusable quickly needs n't optimal though looking practical solution thanks answer though added bookmark utilities ever need edit note look code see find ideas 'll also send email later questions 've read book references though solution good finding optimal solutions impractical use due time requirements edit 'll definitely hunt python xdelta implementation
[svn,tortoisesvn,build-process,scripting,php]working php guess programming language using subversion source control way take project example \projects\test\.svn \projects\test\docs\ \projects\test\faq.php \projects\test\guestbook.php \projects\test\index.php \projects\test\test.php build/copy/whatever weeds certain files becomes \projects\test\faq.php \projects\test\guestbook.php \projects\test\index.php automatically getting tired making branch going branch deleting .svn folders docs directory prototyping files know could probably use .bat file copy specific files want hoping way subversion sort pseudo ignore file still version could make snapshot project ignores files told psuedo ignore know read online somewhere functionality least lets copy without .svn folders n't find
[visual-studio]visual studio environment feel wrapping code regions ide something similar
[sql,database,sql-server-2005]way use inheritance database specifically sql server suppose field like createdon createdby want add entities looking alternative way instead adding fields every table
[database]'ve handed table rows record describes location one customer issue person created table add field company name location name one company many locations example records describe customer location table goal make look like location table company table company table generate company name list descriptive best location name represents multiple locations currently thinking need generate list location names similar list hand suggestions approach appreciated neall thank statement unfortunately location name distinct duplicate location names similar results statement repcount row yukondude step heart question
[svn]using subclipse flex builder recently received error trying commit svn checksum mismatch '/users/redacted/documents/flex builder 3/path/to/my/file.mxml expected 'f8cb275de72776657406154dd3c10348 actual 'null' worked around committing changed files omitting troublesome one copying contents trouble file textmate window deleting project flexbuilder/eclipse checking project fresh svn copying text trouble file back textmate window committing changes worked n't help think better way actaully happening cause svn checksum error best fix maybe important symptom greater problem
[mysql,php]turn following queries query using phpbb mod gist grab level add one update seems much easier faster could one query edit already forced integer thus escaping needed time
[visual-studio,.net,tfs]'ve using team foundation weeks last days 've noticed sometimes one objects/controls page disappears intellisense project builds perfectly objects still html still n't find object one else notice edit worth know close open comes back
[javascript,web-applications,ajax]creating web application google app engine fun like include graphs users see stats free either beer speech javascript libraries take table make ajax call display graph
[c#]'ve tasked wife creating program allow track family trees sides family anyone know cost effective free control represent type information looking modified org-chart type chart/tree modification node parent nodes e.g child mother/father solution 've came far trees ancestor tree descendants tree individual inspected root node tree works sort clunky working primarily winforms .net type controls source code preferrable
[flex,actionscript-3]anyone know using bindingutils selecteditem property combobox get following warning ideas resolve issue binding still works properly would nice get rid warning
[c#,asp.net]recently encountered problem value null accessed request.form fine retrieved request.params differences methods could cause
[svn,scripting,version-control]kinds hook scripts people using subversion general ideas code would great
[.net,regex,html]looking .net regular expression extract urls webpage n't found one comprehensive enough cover different ways specify link side question 'one regex rule better using series less complicated regular expressions using mutliple passes raw html speed maintainability
[.net,winforms,events,c#,multithreading]subscribe event object within form essentially handing control callback method event source idea whether event source choose trigger event different thread problem callback invoked assume make update controls form sometimes controls throw expection event callback called thread different thread form run
[java,build-automation]'ve found many sources talk automated eclipse pde process feel sources n't good job explaining going create deployable package semi-manual process via feature export automated process requires knowledge org.eclipse.pde.build scripts work gotten build created jnlp questions anyone ever deployed rcp jnlp able automate builds
[.net]looking way utilize simple markup language plain html displaying text winform applications would like avoid embedding webbrowser control since case want highlight single word two sentence looked using rtfcontrol believe bit heavy n't think language used formatting easy simple control allows display strings like sample string different formating would really neat also possible specify font and/or size text dotnet wpf/xaml option
[web-services,wcf,.net,c#]getting creating wcf services requirement make backward compatible legacy .net client applications 've managed get services run correctly greater clients publish services using basichttpbinding endpoint believe required compatibility need service refactors method signatures e.g appears client apps 've tried every configuration parameter think app.config self-hosting console app n't seem make function expected suppose might lead fact expectations flawed surprised wcf service incapable handling bool return type down-level client current app.config looks like anyone advise please
[javascript]two popular closure styles javascript first call anonymous constructor inline executed function differences behaviour two one better
[sql-server,logging]need get log user access sql server track average peak concurrency usage hidden table something missing information knowledge application looking track application level currently working sql server moving sql server shortly solutions greatly appreciated
[.net]'ve using lot new .net features work 've lately application building intended distribution among consumers probably latest version perhaps version .net framework machines went download .net redistributable package find almost unacceptable application supposed quick painless consumer application installs quickly keeps low profile user machine users .net already installed binary downloads instantaneous far gorilla quadruple size download option redistributable package use make sure framework machine n't take user quick painless workflow target time beginning download finalizing install less two minutes possible someone n't already .net installed
[vb.net,asp.net]building server control search return results server control contains asp panel set default button panel equal button set form default button equal button panel control works fine safari type search term hit enter key searches fine firefox get alert box saying object reference set instance object anyone run across
[database,ms-access,mysql]two users wanted share database originally written access without conflicting one another single mdb file moved tables simple access database mysql using migration toolkit works well way set access link tables via odbc far 've run following n't insert/update/delete rows table without primary key surprise autonumber fields access must primary key 'll end integer columns mysql natch would n't tables migrated mysql innodb table type access relationships n't become mysql foreign key constraints database use expect issues particularly users working table
[css,firefox]'ve got website 've uploaded onto interwebs displaying differently using firefox 3.0.1 ubuntu winxp two things 've noticed ubuntu favicon missing background color n't displaying set stylesheet done wrong css file fetched ubuntu n't applying stylesheet bits likes n't favicon displaying problem answer background color invalid html love someone explain works windows ubuntu answer favicon previously favicon browser cached lack favicon clear firefox cache well
[windows,.net]writing data acquisition software need gui plotting library fast enough realtime updated graphs 've using nplot pretty good free library wondering better libraries preferably free cheap
[osx,svn,version-control]looking good suggestions implement version source control web projects 've looked subversion seems take care code really looking something good version-ing branching archival etc source code web assets like art files movie clips even database backups work mixed mac/pc environment visual source safe anything purely based would help
[svn]web application file hold current revision number via rev work fine except n't make changes file n't get committed anyway force single file always get committed svn server using tortoisesvn windows code step-by-step instructions would helpful
[language-agnostic]company using sort guinea pig developers sides main office located denver louisville 've trying come ideas make remote development experience line better experience main office obviously never line perfectly think still make better reference work primarily java eclipse preferred ide far 've come instant messaging/skype act basic in/out/busy system quick communication system development portal simple web page links important documentation references packages use project useful information cruise control n't waste much time pulling worrying broken builds vnc times want show someone code business checked git yet need walk series screens critique/advice tools available use help feel less like stranded desert island
[windows,visual-studio,tfs]trying customize tfs work items via vs2008 xml editor every time open work item xml file jumps graphical designer gives view xml button n't let edit xml directly
[authentication,web-applications]early design stages major rewrite product right customers mostly businesses manage accounts user names account namespace means n't move assets servers want move single namespace brings problem unique user names best idea email address w/verification unique alpha-numeric string johnsmith9234 look openid
[architecture]pretty new company weeks 're starting new platform system using .net team foundation dotnetnuke architect suggesting use one class project course chime back 3-tier architecture business data web class projects disadvantages using architecture pro would separation code data keeping class objects away code etc
[string,.net,c#]example note case guidelines use differences
[linux,bash,scripting]writing little bash scripts ubuntu linux want able run gui without needing terminal window enter input view output far input required password sudo gksudo handles fine n't found easy way show message box yet kind 'gkmessage command available prefer something present default ubuntu install n't mind installing new package necessary
[c]working scheme interpreter written currently uses runtime stack stack presenting minor problem implementing continuations current solution manual copying stack heap copying back needed aside standard solution hardly ideal simplest way implement continuations scheme
[jquery,data-structures,javascript]data structure represents directed graph want render dynamically html page graphs usually nodes maybe ten upper end guess performance n't going big deal ideally like able hook jquery users tweak layout manually dragging nodes around note looking charting library
[windows]new windows programmer sure store user configurable application settings understand need provide user friendly means user change application settings like edit settings form similar store values user hits apply button form pros cons storing settings windows registry storing local ini file config file similar
[javascript,php]using php javascript building dad website wants incorporate login system website design system using php problem show buttons person logged example home products contact want buttons dealer distributor maybe information user logged home products contacts dealer dealer login distributor distributor login forth would javascript good way would php maybe even using javascript show hide buttons php check see buttons show
[generics,.net,c#]seems list object stored list variable n't even explicitly cast way results implicitly convert type system.collections.generic.list string system.collections.generic.list object results convert type system.collections.generic.list string system.collections.generic.list object course pulling everything string list putting back one time rather convoluted solution
[java,testing]work currently still using junit run tests considering switching junit new tests written keeping eye testng experiences either junit testng seems work better large numbers tests flexibility writing tests also important since functional tests cover wide aspect need written variety ways get results old tests re-written job fine would like see new tests though flexibility way test written natural assertions grouping easily distributed test executions
[multithreading,c#]words singleton implementation thread safe
[objective-c,cocoa,memory,iphone]beginning look objective-c cocoa view playing iphone sdk reasonably comfortable malloc free concept cocoa references counting scheme rather confused told elegant understand hump yet release retain autorelease work conventions use failing read helped get
[css]create rounded corners using css
[sql,sql-server]illustrate assume two tables follows want write query return following results know done using server side cursors however see requires great deal code would like generic function would allow something like possible something similar
[java,sql-server]going start new project rewriting existing system php sql server scratch serious limitations design quite good knowledge sql server currently 're using sql server existing system would like employ newer version guess new project really fond technologies java offers particularly spring framework wicket quite familiar java others projects assignments therefore consider using java microsoft sql server two jdbc drivers sql server jtds microsoft one http //msdn.microsoft.com/en-us/data/aa937724.aspx think test limitations solution know someone experience technology combination
[javascript]ways get class-like behavior javascript common seem prototype based like closure based approaches similar various reasons latter faster 've seen frequently write prototype version curious people
[c]'ve worked number different embedded systems used typedefs defines types uint32 good technique drives home size type programmer makes conscious chances overflow etc systems know compiler processor n't change life project influence decision create enforce project-specific types edit think managed lose gist question maybe really two embedded programming may need types specific size interfaces also cope restricted resources ram n't avoided choose use basic types compiler everything else types less importance need careful cause overflow may need watch register stack usage may lead uint16 uchar using types uchar add compiler 'fluff however registers typically larger compilers may add code force result type become unecessary think question given constraints embedded software best policy set project many people working level experience
[language-agnostic]best popular rule engines n't settled programming language tell rule engine programming languages supports
[visual-studio,c#,msbuild]changing output directory visual studio project started fail build error much like changed output directory target/win_x32/release/results path sgen n't seem updated seems reference project path passed sgen unsure fix work around disabled serialization generation would nice fix underlying problem anybody else seen
[syntax,php]difference methods indexing php array interested performance functional differences update response jeremy sure right ran code got output
[java,file]load files java application
[performance,c#,vb.net]suppose stringbuilder would efficient efficient edit interesting answers realised probably little clearer asking n't much asking quicker concatenating string quicker injecting one string another cases want inject one strings middle predefined template string sorry confusion
[unix]reading anything else please take time read original thread overview .xfdl file gzipped .xml file encoded base64 wish de-encode .xfdl xml modify re-encode back .xfdl file xfdl xml.gz xml xml.gz xfdl able take .xfdl file de-encode base64 using uudeview decommpressed using gunzip xml produced readable looks wonderful without modifying xml able re-compress using gzip re-encoded base-64 thinking correct original file re-encoded file equal put yourform.xfdl yourform_reencoded.xfdl beyond compare however match also original file viewed http //www.grants.gov/help/download_software.jsp pureedge .xfdl viewer viewer says re-encoded xfdl unreadable also tried uuenview re-encode base64 also produces results help would appreciated
[compact-framework,visual-studio,c#,windows-mobile]trying use corecon api visual studio programmatically launch device emulators call device.connect inexplicably get directorynotfoundexception get try powershell console application code using anyone know getting error running winxp 32-bit plain jane visual studio pro imagine config issue since n't console app powershell stack trace
[browser,javascript]aware things like onchange onmousedown onmouseup good reference somewhere lists complete possibly list elements cover
[java,configuration]recent java project needed free java based real-time data plotting utility much searching found tool called scientific graphics toolkit sgt noaa seemed pretty robust found n't terribly configurable least configurable enough meet needs ended digging deeply java code reverse engineering code changing around make plot tool look act way wanted look act course killed chance future upgrades noaa free cheap java based data plotting tools libraries use followup thanks jfreechart suggestions checked website looks like nice data charting plotting utility made clear original question looking specifically plot real-time data corrected question make point clear appears jfreechart support live data marginal best though suggestions
[compact-framework,multithreading,c#]code starting thread .net call inside loop items complete order introduce wait t.start work thread completes code continues begininvoke/endinvoke better option manually creating threads
[algorithm]one classic programming interview questions given two marbles told break dropped certain height presumably suffer damage dropped height taken story building presumably higher certain height asked find highest floor drop marble without breaking efficiently possible extra info must find correct floor possible range marbles guaranteed break floor assume takes zero time change floors number marble drops counts assume correct floor randomly distributed building
[linux]microsoft keyboard series non-standard buttons mail search web/home etc would nice able bind keys execute arbitrary programs anybody know debian etch
[firefox]website 've uploaded onto internet browse site using firefox 3.0.1 ubuntu n't see favicon firefox 3.0.1 winxp display n't favicon displaying ubuntu favicon.ico file root directory referenced meta tags would work better gif
[language-agnostic,unit-testing,tdd]mocking sealed classes quite pain currently favor adapter pattern handle something keeps feels weird best way mock sealed classes java answers welcome fact would anticipate java community dealing longer great deal offer .net opinions duck typing matters develoepers creating wrappers sealed types mocking unit tests wcf moq
[forms,vb6]good way create form vb6 easily embedded inside forms occasions recently 've wanted design code form object could plug several parent forms goal create centralized piece code managing several components particular way able use layout logic one place certainly willing use code rather design view load child form best 've come far pull interesting logic child form class module parent form lay picture control perhaps pass picture object class module class knows operate picture assumes expected pieces laid appropriately approach several downsides like something bit elegant
[visual-studio]ultramon great program dual monitors stretching screen across monitors wondering way something visual studio like one tab code open one monitor second tab code open second monitor one instance visual studio running suggestions getting bang buck dual monitors visual studio
[plugins]long time world warcraft player passionate developer decided would like combine two set developing addins improve gameplay experience great opportunity learn something new anyone advice starting ide one use one testing ready made libraries available would get better learning experience ignoring libraries building scratch oneshot hogger would love hear advice experiences views
[web-services,c#,asp.net]still new asp.net world could way base far best limited knowledge lets say standard business object contact business namespace write web service retrieve contact info database return write client application request said details also create utility method takes contact magic like utils.buycontactnewhat say course takes contact type business.contact back client application want utilise buycontactnewhat method add reference utils namespace however problem arises since return type getcontact mywebservice.contact business.contact expected understand accessing web service actually programming proxy class generated wsdl easier way deal type mismatch considering perhaps trying create generic converter class uses reflection ensure two objects structure simply transferring values across one
[visual-studio,c#]attempting compile project get following error gone many google searches determined usually caused 256x256 image inside icon used project 've gone icons removed 256x256 versions error persists ideas get rid mike showed mysteriously one night 've searched csproj file mention csc97.tmp also checked solution file luck either case helps 've posted contents csproj file pastebin derek problem compiler output also uploaded icon using view mike thanks removing everything 32x32 image everything worked great back add sizes one-by-one see one causing grief derek since first got error done complete reinstall windows along sdk n't main reason reinstall slim hope would fix problem figure previously worked sizes
[java,search,eclipse]hoping someone could help problem using java search function eclipse particular project using java search one particular project get error message saying class file name must end .class see stack trace seem happening projects one particular one perhaps something try get rebuilt already tried project clean closing eclipse deleting built class files restarting eclipse avail reference 've able find google problem http //www.crazysquirrel.com/computing/java/eclipse/error-during-java-search.jspx unfortunately solution closing deleting class files restarting work anyone suggest something try info gather might help track greatly appreciate pointers also found thread http //www.myeclipseide.com/pnphpbb2-viewtopic-t-20067.html indicates problem may occur project name contains period unfortunately case setup still stuck thanks mcdowell closing opening project seems fixed least
[security]writing code consciously program defensively ensure high program quality avoid possibility code exploited maliciously e.g buffer overflow exploits code injection minimum level quality 'll always apply code
[web-services,wcf,visual-studio,.net]working new project benefit going wcf web service regular old fashion web service visual studio offers templates differences pros cons
[oop]since started studying object-oriented programming frequently read articles/blogs saying functions better problems modeled objects personal programming adventures think problem better solved oop
[user-interface,design]probably spend far much time trying make visual interfaces look good pretty adept finding right match usability style one area hopeless making nice looking icons people overcome sure common problem thinking things like images buttons perhaps important actual application icon rely third party designers house know hidden website offers lots icons use 've tried google seem find either expensive packages specific millions star trek icons icons look abysmal 16x16 preferred size in-application buttons help/advice appreciated
[asp.net,logging]asp.net application 've written logging module question standard place write log file i.e website running anonymous user identity e.g iusr iis7 need place know 'll permission write cheers
[networking]would like set vpn access people company use working home road vpn service built watchgard firewall requires windows-only custom client employees macs linux computers sort networking expert solution would need really easy set maintain use mild prejudice toward linux solutions windows one would fine long supports kind client
[performance,optimization,exception,.net]come across following type code many times wonder good practice performance perspective basically coder encompassing exception custom exception throwing differ performance following two putting aside functional coding best practice arguments performance difference approaches
[performance,unix]machine aix without perl need filter records considered duplicated registered period four hours implemented filter using awk work pretty well need solution much faster
[.net,asp.net]'ve learning master pages asp.net sound great well work practice anybody experience using large web site
[svn]tools would recommend setting build deployment multiple websites built dotnetnuke using svn source control currently looking configuring cruise control work nant nunit ncover trac test case combinations would worth investigating full control development environment using form certain would also like convince production services team reliably deploy system test uat even production environments using tools
[svn]switched locally subversion server still runs since every merge takes ages perform took couple seconds area 5-10 minutes difference command line client tortoise talk windows versions anybody else strange phenomenon
[internet-explorer,javascript]currently n't really good method debugging javascript internet explorer safari firefox use firebug logging feature command line functions however n't help move browsers
[c++,multithreading]way implement singleton object c++ lazily constructed thread safe manner two threads might simultaneously first user singleton still constructed n't rely static variables constructed beforehand singleton object safe use construction static variables n't know c++ well enough case integral constant static variables initialized code executed even static constructors executed values may already initialized program image perhaps exploited implement singleton mutex turn used guard creation real singleton. excellent seems couple good answers shame n't mark answer appears two broad solutions use static initialisation opposed dynamic initialisation pod static variable implementing mutex using builtin atomic instructions type solution hinting question believe knew already use library function like pthread_once boost :call_once certainly n't know grateful answers posted
[video,audio]best way transcode audio video show web need programmatically like something like youtube google video users upload whatever format want encode flv mp3 and/or mp4 could server would rather use ec2 instance even web service windows server
[php]inherited legacy php code written back standard practice use register_globals php 4.2.0 directive defaults released apr know bad security enabled problem find places code need use _get _post thought set error reporting warn uninitialized variables test part site easier way test code path site php give warnings file basis
[c++,c]trying alpha blend sprites backgrounds devkitpro including libnds libarm etc anyone know
[php]good steps follow smooth migration php4 php5 types code likely break
[.net]good way perform animation using .net would prefer use flash possible looking suggestions ways work implement different types animation new site producing new site magician want provide animated buttons cards turning etc also embed video possible without using flash real solution would like keep cross-platform standard possible
[flash,firefox]page adobe says add wmode parameter set value transparent http //kb.adobe.com/selfservice/viewcontent.do externalid=tn_1420 works flawlessly background renders correctly firefox safari however soon use browser scroll bar mouse flash control must click activate control see behavior try hit play button adobe example anyone know way around
[performance,multithreading]looking feedback http //code.google.com/p/google-perftools/wiki/googleperformancetools
[browser]trying add favicon website earlier looked better way implement dump favicon.ico file root website found nice little guide add favicon however preferred method work second method old fashioned way resigned use third method works across popular browsers
[sharepoint]recently develop sharepoint workflow found experience quite honestly painful programming task 've ever tackle one big problem problems encountered step debugger article debug sharepoint workflow tells set breakpoints etc involves copying .pdb file gac alongside .dll file containing workflow command prompt batch file windows explorer n't let view relevant subdirectory \windows\assembly however next time try deploy workflow within visual studio complains n't deployed file may signed attempt copy new version dll gac tells .dll file locked 've found time get round iisreset occasions restart visual studio frequent times 've even reboot computer altogether mystery process locked file n't use debugger hand everything works fine anyone know simpler way debugging workflows
[.net]started .net users group missoula seems hard get members speak many people like attend best way encourage attenders become speakers usually two 1-hour presentations per meeting
[performance,multithreading]working project need performance time 've continued evolve design work parallel threaded distributed latest step move part onto new machine cores finding need rethink things scale many cores shared memory model example standard memory allocator n't good enough resources would people recommend far 've found sutter column dobbs good start got art multiprocessor programming o'reilly book intel threading building blocks
[multithreading,c#]quad core machine would like write code parse text file takes advantage four cores text file basically contains one record per line multithreading n't forte wondering anyone could give patterns might able use parse file optimal manner first thoughts read lines sort queue spin threads pull lines queue process means queue would exist memory faily large files keen idea next thoughts sort controller read line assign thread parse sure controller end bottleneck threads processing lines faster read assign know probably another simpler solution moment seeing
[security,wcf]designing rest api service established best practices dealing security authentication authorization identity management building soap api ws-security guide much literature exists topic found less information securing rest endpoints understand rest intentionally specifications analogous ws-* hoping best practices recommended patterns emerged discussion links relevant documents would much appreciated matters would using wcf pox/json serialized messages rest api's/services built using v3.5 .net framework
[architecture,java]first know build java application always puzzled put classes proponents organizing packages strictly domain oriented fashion others separate tier always problems naming placing put domain specific constants best name class put classes stuff infrastructural domain specific instance filestoragestrategy class stores files either database alternatively database put exceptions standards refer
[web-applications,performance]past used microsoft web application stress tool pylot stress test web applications written simple home page login script site walkthrough ecommerce site adding items cart checkout hitting homepage hard handful developers would almost always locate major problem scalability problems would surface second stage even launch url tools used microsoft homer aka microsoft web application stress tool pylot reports generated tools never made much sense would spend many hours trying figure kind concurrent load site would able support always worth stupidest bugs bottlenecks would always come instance web server misconfigurations done tools used success approach part interesting coming kind meaningful formula calculating number concurrent users app support numbers reported stress test application
[sql-server]even valid question .net windows app using mstdc throwing exception system.transactions.transactionmanagercommunicationexception network access distributed transaction manager msdtc disabled please enable dtc network access security configuration msdtc using component services administrative tool system.runtime.interopservices.comexception 0x8004d024 transaction manager disabled support remote/network transactions exception hresult 0x8004d024 system.transactions.oletx.idtcproxyshimfactory.receivetransaction uint32 propgationtokensize byte propgationtoken intptr managedidentifier guid transactionidentifier oletxtransactionisolationlevel isolationlevel itransactionshim transactionshim followed kbalertz guide enable msdtc app installed error still occurs wondering database issue resolve
[c]shift operators arithmetic logical
[bash,shell,scripting]given absolute relative path unix-like system would like determine full path target resolving intermediate symlinks bonus points also resolving ~username notation time target directory might possible chdir directory call getcwd really want shell script rather writing helper unfortunately shells tendency try hide existence symlinks user bash want function resolve executed tmp directory example resolve foo /users/greg/tmp/bar
[c++,memory]need help working project c++ however think somehow managed corrupt heap based fact added std :string class assigning value another std :string crashes system stack dump basically need stop code memory management stuff find 've screwed codebase still small lines easily do-able still head kind stuff thought throw linux system poked around valgrind knowing completely report std :string destructor invalid free admit getting term 'heap corruption google search general purpose articles sort stuff would appreciated well -rf projectdir edit n't made clear asking ways advice diagnosing sort memory problems know std :string stuff right something 've done bug problem select sure could check code 've written smart folks would see problem time want add kind code analysis 'toolbox
[language-agnostic,math,algorithm]efficient algorithm find rectangle largest area fit empty space let say screen looks like represents filled area probable solution normally enjoy figuring solution although time like avoid wasting time fumbling around since practical use project working well-known solution shog9 wrote input array implied responses list occlusions form arbitrarily sized positioned rectangles might case windowing system dealing window positions yes structure keeps track set windows placed screen also grid keeps track areas edge whether empty filled pixel position left top edge think modified form would take advantage property know
[.net,c#]want something like enums combined flagged values could unfortunately generic constraints enum restriction class struct n't see enums structs even though value types n't add extension types like anyone know workaround
[database,database-design,language-agnostic]whenever design database always wonder best way naming item database quite often ask following questions table names plural column names singular prefix tables columns use case naming items recommended guidelines naming items database
[algorithm]recently brushing fundamentals found merge sorting linked list pretty good challenge good implementation show
[arrays,perl]array perl remove duplicates array
[linux]setup public-key authentication ssh
[css,javascript,html]currently working internal sales application company work 've got form allows user change delivery address think would look much nicer textarea using main address details would take area text automatically resize text changed screenshot currently ideas chris good point reasons want resize want area takes area information contained see screen shot fixed textarea takes fair wack vertical space reduce font need address large readable reduce size text area problems people address line takes one takes lines needing user use scrollbar major no-no guess bit specific vertical resizing width n't matter much problem happens iso number large gets pushed address window width small see screenshot gimick text field user edit n't take unnecessary space show text though someone comes another way approach problem open 've modified code little acting little odd changed activate keyup would n't take consideration character typed
[memory,javascript,firefox]recently issues firefox ubuntu hardy heron click link hang n't know bug firefox page running much client side javascript would like try debug bit question way kind process explorer task manager sort thing firefox would like able see tabs using percent processor via javascript page anything page causing cpu/memory usage anybody know plugin something similar anyone else done kind inspection another way know firebug n't imagine would use finger tab using lot resources suggestions insights
[java]searching sample code converting point wgs84 coordinate system map position google maps pixel position also supporting zoom levels codes well commented also language also point open source java project resources found openlayer implementation josm project excellent java map projection library labs pure java proj.4 port projection wgs84 meters quite straightforward convert meters tile pixels
[java]part team develops pretty big swing java applet code legacy tons singleton references 've bunched single application context singleton need create way separate shared context shared across applets currently showing non-shared context specific applet currently showing however n't locations call singleton want propagate locations easiest way identify applet context 're running 've tried messing classloaders thread groups thread ids far could find nothing enable origin call
[unit-testing]lately change code older systems code unit tests making changes want write tests class created lot dependencies anti-patterns made testing quite hard obviously wanted refactor code make easier test write tests change way would spend lot time writing hard-to-write tests would mostly removed refactoring completed
[c++,user-interface]'ve made many different seperate parts gui system nintendo like buttons textboxes select boxes need way containing classes one gui class draw everything screen check buttons check pressed question best way organize classes buttons textboxes one gui class one way thought n't seem right edit using c++ code problems wanted give idea want
[linq,c#]know almost nothing linq gets running processes match criteria n't know get first one examples find net seem imply strikes somewhat ugly also throws exception matching processes better way update actually trying find first matching item call setforegroundwindow 've come solution also strikes ugly awful better ideas
[sql-server]ssw rules better sql server database example full database maintenance plan ssw example run reorganize index rebuild index update statistics point thought reorganize index fast less effective version rebuild index index rebuild would also update statistics automatically clustered index least
[css]element may contain big amounts data n't want ruin page layout set max-height 100px overflow auto hoping scrollbars appear content fit works fine firefox ie7 ie8 behaves overflow hidden present instead overflow auto tried overflow scroll still help ie8 simply truncates content without showing scrollbars changing max-height declaration height makes overflow work combination max-height overflow auto breaks things also logged official bug final release version ie8 workaround resorted using height instead max-height leaves plenty empty space case n't much data
[java,math]recently tried understanding use java.math.mathcontext failed understand properly used rounding java.math.bigdecimal yes round decimal digits even mentissa part api docs came know follows standard specified ansi x3.274-1996 ansi x3.274-1996/am 1-2000 specifications get read online please let know idea
[c++,windows]wrapping existing c++ code bsd project custom wrapper want integrate code changes possible code uses fprintf print stderr order log report errors want redirect alternative place within process unix done socketpair thread one end socket send stderr via call dup2 end monitored thread process output work windows though socket file handle documents found web show redirect output child process want redirect stderr within process getting callback sort output written say 've tried setstdhandle find way make work
[xslt,xml]generating xml documents comes address part fragments look like xslt converting xhtml funky recursive template convert newline characters within strings br/ tags working fine considered bad practice rely linebreaks within xml documents recommended instead seems like really awkward wrap every place text may multiple lines tags like that.
[c++,file,io]want open file reading c++ way need able text files would involve sort read line function binary files would provide way read raw data char* buffer
[unicode,opengl,windows]good way displaying unicode text opengl windows example deal different languages common approach like n't n't create enough lists unicode characters
[unix,php]according php safe mode docs safe_mode_gid default safe mode uid compare check opening files want relax gid compare turn safe_mode_gid whether use uid false gid true checking upon file access php script running web server difference uid user identifier check gid group identifier check
[linux,c,unix]n't seen questions relating gnu autoconf/automake builds hoping least familiar goes project 'll call myproject includes another project vendor vendor project standalone project maintained someone else including project like fairly straightforward case tiny snag project generates config.h file defines standard macros package version etc means build vendor built get lots errors like warnings time least would like get rid relevant information 've able turn google search thread automake mailing list n't whole lot help anybody else better ideas
[.net,email]anyone recommend software .net library check bounced emails reason bounce get bounced emails pop3 account read need keep user database clean invalid email addresses want automate mark user invalid email
[unit-testing,testing]junior programmer simply n't write enough tests nag every two hours written tests 've tried showing design becomes simpler showing prevents defects making ego thing saying bad programmers don't weekend team members come work code null reference n't test work requires top quality stable code usually everyone 'gets need push tests know make write tests know useful tests written 're know motivations
[email,javascript]want create client side mail creator web page know problems using mailto action html form standard default mail appication set client web page n't important n't care much mail created mailto action syntax subject undefined subject body param1=value1 param2=value2 paramn=valuen use javascript format mail like subject xxxxx body value1 value2 value3 valuen
[sql-server-2005,sql-server]best way use sql server development database ensure database compatible sql server
[php]anyone know good method editing pdfs php preferably open-source/zero-license cost methods thinking along lines opening pdf file replacing text pdf writing modified version pdf programmatically created pdf files past using fpdf found little unwieldy times
[indexing,tsql]'ve come across clause compare always write latter clearly someone else thinks differently one going perform better know using going bust hopes using index might surely first approach suffer problem
[windows,java]writing application java desktop using eclipse swt library gui rendering think swt helps java get biggest hurdle acceptance desktop namely providing java application consistent responsive interface looks like belonging app desktop however feel packaging application still issue natively provides easy mechanism wrapping java apps native application bundles producing app windows/linux n't require user run ugly batch file click .jar still hassle possibly issue linux user likely little tech-savvy windows like regular .exe him/her run anyone experience .exe generation tools java 've tried jsmooth various issues better solution crack visual studio roll edit perhaps mention unable spend lot money commercial solution
[.net,wpf]currently working wpf ive seen couple examples dnrtv places like see real stuff anybody knows good examples list far http //en.wikipedia.org/wiki/windows_presentation_foundation wpf_applications http //www.hanselman.com/babysmash/ tim sneath list lawson client yahoo messenger channel list dead see archived version family show wittytwitter billy hollis app blu dead
[visual-studio,.net,c#,vb.net]looking help setting new default property value inherited control visual studio problem base class property dropdownitems 'default attribute set different value result drag control onto form designer file gets explicit mycontrol.dropdownitems line first n't matter later change inherited class dropdownitems constructor affect controls form since designer files still value hard-coded whole point value set one place deal customer changing mind obviously creating custom property subclass could give designer default attribute whatever wanted wanting change default values properties base way apply visual studio attributes base class member workaround get result want
[vb.net]possible change width scroll bar form app touch screen bit narrow
[.net,silverlight,wpf]getting learned binding wpf lot trouble debugging parse errors xaml though somebody pretty please tell wrong little piece databinding breaks get invalidattributevalue exception thumbknob.height try run know must missing something fundamental fill stackers gratitude boundless changing elementname n't help must something else getting mention testing silverlight exact message getting internet explorer xamlparseexception invalid attribute value property height whole thing inside controltemplate making slider control teach concepts
[data-binding,wpf]anyone point good resource throw clue show databinding controls combobox listbox etc wpf bit loss winforms niceities taken away bright start
[unit-testing,user-interface]company currently working using selenium uniting-testing user interface use unit-test web effective find
[javascript,asp.net]asp.net page asp button visible n't turn visible javascript rendered page resolve
[.net,c#,wpf]trying get head around xaml thought would try writing code trying add grid column definitions add textblock one grid cells n't seem able reference cell want method grid add textblock grid.children.add object cell definition xaml update spooky bit using vs2008 pro wpfbrowser project template verified get methods autocomplete
[string,java,serialization,xml]best way verify/test text string serialized byte array certain encoding case want verify xml structure serialized byte array utf-8 encoding variable character length example current ugly procedure inject character known require two bytes structure serializing replacing two-byte character ascii character comparing serialized array lengths yield two serialized arrays array containing two-byte characters length plus solution elegant java n't think elegant way seek byte sequence byte array could used seek known byte sequence representing desired character representation utf-8
[configuration,apache]currently tasked replacing apache resin java web server resin-only configuration currently apache setup use .htaccess small user database provide passwording directory level anyone know equivalent setup using resin web server
[sql,database,mysql]currently relatively small tables rows mysql database would like convert sqlite database potentially grateful anyone could recommend useful tools least easily-replicated method complete admin access database/machines involved
[java,eclipse]read several reviews amazon books seem outdated currently using myeclipse using eclipse interested hearing people experience learning rcp reference material used get started
[unit-testing]best way testing function throws failure testing function fairly immune failure instance i/o completion port class throws constructor n't initialise port correctly uses win32 function createiocompletionport initialiser list handle n't set correctly non-null value constructor throw exception never seen function fail pretty certain functions like code fail behave correctly code lines long including white-space questions worth testing throw worth testing simple wrapper classes unit-tested thought overriding createiocompletionport passing values unit test override cause return certain value passed however since used constructor needs static seem valid
[events]displaying list items using sap abap column tree model basically tree folder files columns want load sub-nodes folders dynamically using expand_no_children event firing correctly unfortunately add new nodes items tree folder automatically collapsing requiring second click view sub-nodes need call method handling event folder stays open something else wrong
[asp.net]making webform using loginview problem control includes grey bar telling type control throws correctly formatting page loginview1 top way hide loginview contentplaceholder excellent job 've found remove seems like hack stops programatic access
[sql-server]done
[events,.net,c#,windows-mobile]way capture mousedown even .net textbox control know inherited control class event exposed textbox way override event handler also tried opennetcf textbox2 control mousedown event exposed matter n't fire handler suggestions kind crazy mobile device mouse yes windows mobile actual mouse mistaken windows mobile .net support mouse events click move screen still considered mouse event done way code could port full windows easily windows mobile specific issue textbox control windows native mouse events either happened using windows mobile case edit side note windows mobile built windowsce core often used embedded desktop systems slim terminal services clients winterms support hardware mouse long time devices n't ports plug one according .net framework mousedown event handler textbox supported happens try run code actually inherits control every form control however overridden changed private believe textbox class show intellisense visual studio however actually write code compile run fine problem textbox1_mousedown fired tap textbox control assume event overridden internally n't even want change happening event internally want add event handler event fire custom code could event
[vb.net]official convention naming private fields vb.net example property called 'foo normally call private field '_foo seems frowned upon offical guidelines use prefix field names example use distinguish static versus non-static fields could call private field 'foo property 'foo refer private field 'this.foo constructor vb.net case insensitive n't suggestions
[ruby-on-rails,design-patterns,oop]learn oop start implement various design patterns keep coming back cases people hating active record often people say n't scale well citing twitter prime example nobody actually explains n't scale well achieve pros without cons via similar different pattern hopefully n't turn holy war design patterns want know ****specifically**** wrong active record n't scale well problems
[xml]would like use language familiar java ruby php c/c++ although examples language pseudocode welcome best way splitting large xml document smaller sections still valid xml purposes need split roughly thirds fourths sake providing examples splitting components would good
[language-agnostic]alright maybe n't shrunk question sooo much seen post efficient way find first primes looking possible ways goal one stop shop primality tests tests people know finding prime numbers welcome different ways finding primes
[compact-framework,windows-mobile]requirements support .net compact framework windows mobile devices need unzip contents directory storage card creation zip files required must able use corporate/commercial software open source gpl viral license 've seen xceed zip library options
[flash,video]custom-built flash-based video player maintain needs support preroll ads ideally progressive video playback streaming depending server switch 've working flvplayback component finding little depth good tutorials resources understanding difference netstream flvplayback one part googled without success preroll ads 'll probably use dart in-stream part reason feel losing grip best way structure thing help best practices links appreciated edit update wrote player hand got less working everything needed migrate player across web properties end six months later reliable well-supported integrated dart system well designers found easy skin
[syntax,perl,oop]perl oop features somewhat rarely used create use perl objects methods properties
[database,sql-server]software must able run sql server simplify development 're running sql server databases compatibility level however database performance seems slower sql sql cases confirmed using benchmarks yet would upgrading compatibility level improve performance sql servers
[flash,video]like concise introduction different options
[web-services]anyone point decent introductions ws-security looking tutorials something provide fairly gentle introduction subject though n't mind assumes basic knowledge web services soap stuff 've seen far technical need lot complex detailed background knowledge understand properly implement web service php one clients .net resources covering would much appreciated
[web-applications,php]couple hours fighting gallery2 rss module getting message feeds yet defined gave based google search feeds yet defined pretty common problem tips and/or tricks getting gallery2 rss module work tips relatively-php-ignorant developer trying debug problems php application
[sql,database,sql-server]simple way drop group interrelated tables sql server ideally like avoid worry order 're dropped since know entire group gone end process
[flex,actionscript-3]like something like following say like extend generated class single method via inheritance via prototype class generated wsdl dynamic class n't want touch generated code overwritten anyway long story short like moral equivalent extension methods as3 edit accepted aib answer fits asking best although upon reflection n't really solve problem fault asking wrong question also upmods good suggestions
[database,linq,orm]project currently working currently supports .net framework love linq framework version n't use want n't much orm side things queryability even word linq far closest llblgen something even lighter weight could querying would even better 've also looked nhibernate looks like could close want pretty steep learning curve mapping files n't get overly excited anyone aware something give similar query interface linq even better get linq work .net framework really like hear
[apache,ssl]redirect https http opposite seemingly everyone teaches server https paid ssl certification mirror n't keep around emergencies n't merit getting certification client desktops shortcuts point http //production_server https //production_server work however know production server goes dns forwarding kicks clients https shortcut staring https //mirror_server n't work big fat internet explorer red screen uneasyness company unfortunately n't switch around client level users computer illiterate likely freak seeing https insecurity errors especially way firefox internet explorer handle nowadays full stop kind thankfully helping lol easy find apache solutions http- https redirection life n't opposite ideas
[compact-framework,c#,graphics]using .netcf windows mobile graphics class drawstring method render single character screen problem n't seem get centered properly matter set coordinate location string render always comes lower larger text size greater offset example text size offset offset want character vertically take rectangle drawn centered horizontally basic code referencing user control drawn yes know label control could use instead set centering actually need manually graphics class
[generics,c#]class want use store properties another class properties simply name value ideally would like able add typed properties value returned always type want type always primitive class subclasses abstract class basically stores name value string idea subclass add type-safety base class well saving conversion created class roughly question generic way convert string back primitive n't seem find generic interface links conversion across board something like itryparsable would ideal
[c#]time time see enum like following n't understand exactly flags -attribute anyone good explanation example could post
[mysql]two mysql servers different jobs holding different databases want able use one slip one fails would suggest keep data equal close realtime obviously possible make full database dump every minutes 've read binary log way need slow fallback server lot way include tables binary log n't matter data changed
[.net]calculate crc32 cyclic redundancy checksum string .net
[winforms,c#]first question desktop application using windows forms asp.net question need interact controls forms trying access controls using example following n't work way would expect end exception thrown main however make controls public instead private access directly best way making controls public form considered best practice better way access controls another form explanation actually sort follow-up another question asked best method creating tree-view preferences dialog type interface answer got great solved many many organizational problems terms keeping straight easy work run-time design-time however bring one niggling issue easily controlling aspects interface basically root form instantiates lot forms sit panel root form instance radio button one sub-forms might need alter state status strip icon main root form case need sub-form talk control status strip parent root form hope makes sense first kind way
[.net,winforms,c#,vb.net]looking wysiwyg editor control windows application vb.net users design html emails send using smtp objects dot net framework sending currently available editors find one following issues rely mshtml.dll web browser control proven unreliable html code editor get sync windows ie6 web based windows form control place styles head document see note unfortunately html email article descries sure way making html emails work styles use inline seems unsupported many editors one experience could suggest solution
[windows,c++,debugging,visual-c++]using microsoft visual studio microsoft visual c++ sp6 running debugger one problem pause program resume everything fine problem hit breakpoint program stops good way execution halts thrown debug mode edit mode fine breakpoint hit know hitting breakpoint see flash little yellow arrow pointing right line code local variables inspect window call stack window staring editor happens projects 've uninstalled re-installed msvc6 n't help start new far anyone know 've done one note msvc6 choice reasons tool work get target nt4 given n't target nt4 issues mfc nt4 msvc6
[unix]like allow user set ssh tunnel particular machine particular port say want restrict user much possible authentication public/private keypair know need edit relevant ~/.ssh/authorized_keys file sure exactly content put public key
[windows]like get tree icon use homegrown app anyone know extract images .icon files like 16x16 32x32 screen capture
[css,html]using put absolutely positioned div select input element select element considered activex object top every html element page already saw people hiding selects opening popup div leads pretty bad user experience controls disappearing fogbugz actually pretty smart solution turning every select text boxes popup displayed solved bug tricked user eye behavior perfect another solution fogbugz use select element recoded everywhere last solution currently use messing rendering engine force render absolutely positioned div activex element ensuring live select element achieved placing invisible iframe inside div styling anyone even better solution one edit purpose question much informative real question find iframe trick good solution still looking improvement like removing ugly useless tag degrades accessibility
[wpf,user-interface]instrumenting past 've read people instrumented user interfaces n't found examples tips instrument instrumenting mean collecting data regarding usage performance system msdn article instrumentation http //msdn.microsoft.com/en-us/library/x5952w0c.aspx would like capture buttons users click keyboard shortucts use terms use search etc instrumenting format storing instrumentation processing instrumented data keeping code clean instrumentation logic specifically implementing wpf provide extra challenges compared instrumenting web-based application i.e need transfer instrumented data back central location etc said feel technology may provide easier implementation instrumentation via concepts like attached properties instrumented wpf application tips achieved edit following blog post presents interesting solution pixel-in-gene blog techniques auditing wpf apps
[sql]need import csv file firebird 've spent couple hours trying tools none fit needs main problem tools 've trying like ems data import firebird data wizard expect csv file contains information needed table need write custom sql insert statement example cvs file city name database already cities another table normalized need write subselect insert statement lookup city write also stored procedure cread guids insert statement would something like know easy write application n't like reinvent wheel sure tools guys give advice
[file,io,c]figure size file bytes
[multithreading,c#]need try lock object already locked continue time without lock statement blocking
[sql-server]restoring sql server database notice different recovery states choose restore recovery restore recovery restore standby 've always left default value mean preferably layman terms
[svn]'ve always found checkin commit mails useful keeping track work people codebase repository set svn email distribution list commit running clients windows apache subversion server linux answers various platforms likely useful people though
[.net-3.5,c#]new extensions .net allow functionality split interfaces instance .net become seems better mechanism many interfaces longer need abstract base share code functionally code works could make code maintainable easier test disadvantage abstract bases implementation virtual worked around would instance method hide extension method name would confusing code reasons regularly use pattern clarification yeah see tendency extension methods end everywhere particularly careful .net value types without great deal peer review think one string .splittodictionary similar .split taking key-value delimiter think whole best practice debate incidentally dannysmurf sounds scary specifically asking using extension methods previously interface methods trying avoid lots levels abstract base classes classes implementing models mostly already base classes think model could maintainable less overly-coupled adding object hierarchies done ienumerable iqueryable linq
[c++,memory,security]want create allocator provides memory following attributes paged disk incredibly hard access attached debugger idea contain sensitive information like licence information inaccessible user done usual research online asked people find good place start problem updates josh mentions using virtualalloc set protection memory space created custom allocator shown found using virtuallock function limits amount memory allocate seems design though since using small objects problem used ted percival mentions mlock implementation yet found practical cryptography neil furguson bruce schneier quite helpful well
[linq-to-sql,.net]read performance linq huge amount gained using compiled linq n't always use compiled linq
[sql-server-2005,sql-server,reporting-services]reports sql server reporting services need keep audit logs audit log include ran report parameters n't use windows authentication best way log information
[asp.net-mvc,forms]using asp.net mvc preview would like know use routing engine form submissions example route like form declaration looks like renders resulting url form submission way form submission route desired url solutions think create separate action checks request parameters use javascript
[wpf,design-patterns]'ve done wpf programing one thing never got command pattern every example seems built ones edit cut paste anyone example suggestion best practice custom commands
[unix,email]handy general items put .procmailrc file
[sql,oracle]find high water mark historical maximum number concurrent users oracle database
[orm,perl,php]inherited old crusty php application like refactor something little nicer deal gradual manner perl cpan series classes around class :dbi allow use database rows basis objects code library generating accessor methods etc appropriate also allowing add additional methods anyone know something like php especially something n't require wholesale adoption framework bonus points works php4 honest love another reason ditch
[design]looking online solution generating .ico files like ico files ability transparency well software web site use create update clarify existing image png format pixels want generate icon existing file create brand new one online sorry confusion
[windows,.net]way watch changes ip-address much possible watch changes files using filesystemwatcher connecting machine via tcp/ip takes gives ip-address would like dim connect button valid ip-address
[python,mysql]hope n't obscure… 'll ask newsgroup nobody knows using pylons python framework serve simple web application seems die time time error log 'mysql server gone away bit checking saw connections mysql renewed n't problem though sqlalchemy.pool_recycle config file automatically keep alive default dialed back problem helped bit fine according docs errors still happen semi-regularly n't want lower much though dos database maybe something mysql config goofy sure look exactly relevant details
[c++,debugging,visual-studio]using visual c++ debug program remotely via tcp/ip set win32 exception c00000005 access violation break debugger thrown set back use parent setting setting parent win32 exceptions continue exception thrown debug program breaks time exception thrown forcing click continue let keep debugging get stop breaking like
[.net-3.5,linq]beta stack overflow seen quite questions linq sql know nothing sounds interesting linq get started links guides documentation bonus long time developer daily uses datatables parameterized sql
[.net]codes allow numerical formatting data using string.format
[visual-studio-2005]workspace running h.263 video encoder loop times i.e main executed times generate different encoded bit streams visual studio workspace source files create debug configuration workspace build execute runs fine i.e generates output files expected set configuration workspace release mdoe repeat process encoder crashes test case run debug verified following analyzed code see variable initialization missed every run encoder checked various workspace solution options modes debug release obvious differences turned optimization related options explicitly modes still could nail problem find fix pointers -ajit
[functional-programming]anyone decent example preferably practical/useful could post demonstrating concept
[svn,tortoisesvn]'ve moved tfs svn tortoisesvn current company really miss shelve feature tfs 've read various articles shelve svn 've read nothing gives simple experience shelve work ideally like extra items added tortoisesvn context menu shelve unshelve shelve would remove current shelve-set upload working directory suitable path defined user options unshelve would merge set working copy something like exist anyone suggest ways hack feature gui note following link n't really achieve user experience looking shelving subversion one greatest things tfs shelve easy use
[java,xml]anyone recommend good binary xml format javame application needs easy implement server easy write low-footprint parser low-end javame client device goes without saying needs smaller xml faster parse data would something akin svg
[internet-explorer,debugging]trying fix javascript bugs firebug makes debugging issues lot easier working firefox code works fine firefox complaining
[svn]best way create redundant subversion repositories subversion repository linked apache2 webdav would like create mirror repository different server event outages certain best way proceed thinking post-commit scripts could used propagate changes sure best way anyone input
[java]currently trying get java development spring framework new spring hard imaging good running project start best practices tipps major nots starter start spring big project small tutorial-like applications technology use right away aop complex hibernate
[java,testing]work running group tests consist 3,000 separate test cases previously running entire test suite one machine took 24-72 hours complete entire test run created system grouping distributing tests among three separate machines tests prioritized core tests get run first immediate results extra tests run available machine curious anyone found good way distribute tests among several machines reduce total test time complete run tools used achieve 've done research looks like testng moving direction looks like still quite bit development n't plan rewriting tests add new tests test new products add-ons like able deal fact working large numbers tests hand find tool would help distribute junit 3.x tests even basic fashion would helpful since would n't maintain tooling
[apache]best way transparently rewrite url ssl connection apache apache natively support multiple name-based virtual hosts ssl connection heard mod_rewrite help would like something like set server sites accessed https //secure.example.com/dbadmin would like https //dbadmin.example.com set rewrite rule rewrite dbadmin.example.com secure.example.com/dbadmin without displaying rewrite client address bar i.e client still see dbadmin.example.com https
[hardware]programmer need place store stuff 've running server parents closet long time recently came across decent server experience dealing hosting companies beyond cheap stuff wondering look colo keep closet server
[sql-server-2005,reporting-services]know bug conditional visibility page breaks sql wonder anyone come work around table conditional visibility expression need page break end table set pagebreakatend property true ignored matter remove visibility condition works place table inside rectangle conditional visibility table page break table result page break property ignored set rectangle pagebreakatend property table visibility condition still get page break even table n't shown ideas try almost point need separate report rather conditional visibility edit josh problems second table conditional visibility n't work n't visibility expression get page break time erick really wanted answer unfortunately n't work visibility expression evaluates hidden big gap rectangles would live evaluates visible page breaks still n't work
[java,security]need prevent session fixation particular type session hijacking java web application running jboss however appears standard idiom n't work jboss worked around
[.net,c#]imagine object working collection objects associated example controls collection winform want check certain object collection collection n't contains method several ways dealing implement contains method looping items collection see one looking seems best practice approach recently came across code instead loop attempt access object inside try statement follows question poor programming practice consider second option performance compared loop collection
[.net,user-controls]past years 've changed long flowing page controls hid/showed using lot user controls 've always bit discussion co-workers best practices properties populate use paramterized sub load information controls part fear using paramteter fact make sure everything populated basic rule using interfaces 've never created one try stay 'sub load
[c]working bringing old code 21st century one first steps process converting printf statements qstring variables matter many times look back printf though always end forgetting one thing fun let decode together ole times sake process create first little 'printf primer stackoverflow code came across little gem variables formatted
[css,validation]even though always strive complete validation days often wonder waste time code runs looks browsers use browsershots.org verify need take overly anal level hold code create clients p.s jeff company n't stack overflow validate edit good insights think since 've valid-obsessed long program knowing cause problems n't better position people create site first back fix validation problems think may post another question stack overflow validate finish back validate seems question going
[user-interface]turn creating user interface programmer designer ideas usually terrible want make work
[windows,user-interface]use rsync synchronize files windows clients server agnostic way methods available send progress rsync parent process display gui progress bar imagine two three choices exist watch stdout watch rsync.exe log file similar unix tail watch rsync console output memory one best/preferred
[string,mysql,regex]importing data csv file numbers larger get turned 1,100 etc good way remove quotes comma put int field edit data actually already mysql table need able using sql sorry mixup
[mysql]setting replication server runs bunch databases one per client plan adding time my.cnf instead rather database log specified assume everything else logged edit actually remove binlog-do-db entries seemingly logs everything see binary log file change position move database slave server nothing gets picked perhaps case use replicate-do-db would kill idea guess cant mysql automagically detect databases replicate
[visual-studio,javascript,debugging,visual-studio-2005]saw mentioned stack overflow question best wysiwyg css editor n't know could done visual studio newbie separate debugger javascript know work one code-behind pages usually use firebug deal debugging javascript code using visual studio
[mysql]mysql administrator backups exactly compatibility mode trying bridge backups generated webmin upload tool available inside mysql administrator data already couple inconsistencies ticks commas etc think wont try kink might reappear future anyways kinks generate errors try restore backups generate backups webmin use mysql administrator restore fail generate backups using mysql administrator tick compatibility mode head mysql administrator another instance restore works according mysql compatibility mode compatibility mode creates backup files compatible older versions mysql administrator webmin hand gives following options compatibility ansi mysql 3.2.3 mysql postgresql oracle microsoft sql db2 maxdb would say best fit data set large would take quite time experiment one one specially whence thinking might beat brute-forcing edit seems like ansi
[visual-studio]visual studio add-in remove method refactoring suppose following method variant result void purpose refactoring replace calls dosomething calls computeresult expression uses parameters computeresult method call
[asp.net-mvc]using preview asp.net mvc code like outputs name form post back javascript labels hoping changing would work instead get exception already somewhere collection somewhere stumped full exception anyone interested follows hey would n't nice attach files
[language-agnostic,security]looks like 'll adding captcha support stack overflow necessary prevent bots spammers malicious scripted activity want human beings post edit things 'll using javascript jquery captcha first line defense http //docs.jquery.com/tutorials safer_contact_forms_without_captchas advantage approach people captcha n't ever visible however people javascript disabled still need fallback gets tricky written traditional captcha control asp.net re-use however prefer something textual avoid overhead creating images server request 've seen things like. ascii text captcha \/\/ \/\/ math puzzles minus times trivia questions tastes better toad popsicle maybe tilting windmills like less resource intensive non-image based noscript compatible captcha possible ideas
[linq,asp.net]trying load linq .net enabled web server adding following .aspx page however fails tells find namespace type namespace name 'query exist namespace 'system also tried luck system.data.linq system.linq system.xml.linq believe .net working var hello hello world seems work anyone help please want clarify n't use visual studio simply text editor write code directly .aspx files
[c#]looking snippet insert windows service code must empty recycle bin users computer previously tried using shemptyrecyclebin ref http //www.codeproject.com/kb/cs/empty_recycle_bin.aspx however code n't work ran windows service service running local system privileges
[database,design-patterns]numerous ways connect interact database layer java example common usages jdbc calls raw sql object relational mappers jdbctemplate spring stored procedures etc language option preference would consider others
[linux]anyplace one download virtual machine containing working install linux distro globus toolkit development tools java testing purposes real deployment grid complicated need something portable development
[.net,c#]working project right involves receiving message another application formatting contents message sending printer technology choice windows service output could called report suppose reporting engine necessary simple templating engine like stringtemplate even xslt outputting html would fine problem finding free way print kind output service since seems work working prototype using microsoft rdlc populating local report rendering image memory stream print issues multi-page printing big headache still use printdocument print memory stream unsupported windows service though may work n't gotten far prototype yet data coming across changes change dataset class data deserialized bad bad bad anyone anything remotely like advice already posed question printing html without user input wasting days come conclusion done least freely available tool help appreciated edit version .net framework
[linq,.net-3.5,performance,.net]yesteryear standards nhibernate good old custom orm something like llbgenpro also run benchmarks suggestions
[sql-server,.net,c#]necessary advantageous write custom connection pooling code developing applications .net sql server database know ado.net gives option enable/disable connection pooling mean built framework n't need worry people talk writing connection pooling software different built ado.net
[plugins]general procedure programming extensibility capability code wondering general procedure adding extension-type capability system writing functionality extended kind plugin api rather modify core code system things tend dependent language system written general method allowing