text
stringlengths
0
30.5k
title
stringclasses
1 value
embeddings
listlengths
768
768
begin SetInt64Prop(AnObject, APropName, NewValue); <----AV HERE ChangeLogInteger(Name, PropName, OldValue, NewValue); end; end; end; ``` If you want the database behind a firewall, and believe me, you do want your database behind a firewall, see if you can have a VPN for going directly into the box....
[ 0.26196223497390747, -0.015827080234885216, 0.5632304549217224, -0.14628912508487701, -0.0030192709527909756, -0.24075917899608612, 0.32466787099838257, -0.4005708396434784, -0.19124917685985565, -0.6511160135269165, -0.20016777515411377, 0.6012758016586304, -0.5329284071922302, 0.14369019...
has a similar tool, although I'm not that familiar. While having a VPN does incur an extra cost, it will probably make things many times easier.
[ 0.5234628915786743, 0.028850886970758438, 0.26439324021339417, 0.5800354480743408, 0.00594667112454772, -0.21723437309265137, -0.1709209531545639, 0.37808918952941895, -0.14036254584789276, -0.31846481561660767, 0.2535807490348816, 0.4030945599079132, 0.314630925655365, 0.05584194138646126...
I think title should be good enough. **Tags** Think of it as a snapshot in time. I want to be able to go back to that exact point. However, it will never change. You do not do a checkin on a tagged element. Things that can get tagged: * Releases (major and minor) * Patches sent to customers * Bug fixes * Milestones ...
[ 0.7679701447486877, -0.19896841049194336, 0.23758520185947418, 0.2062392681837082, 0.3138274848461151, -0.20595890283584595, 0.20990416407585144, 0.06867639720439911, -0.3767845034599304, -0.537018895149231, -0.2065247744321823, 0.5481928586959839, -0.05842152237892151, 0.0808330848813057,...
it back to the main trunk. You might create a branch for a release (minor or major). The key point is that branches could be modified, and tags **should not be**.
[ 0.19830939173698425, -0.5623155236244202, 0.13285648822784424, 0.33570587635040283, 0.039172276854515076, -0.23124325275421143, 0.38637855648994446, 0.07467442005872726, -0.37093544006347656, -0.06831248104572296, -0.3603965640068054, 0.1094776839017868, -0.27606481313705444, 0.18805429339...
I happened upon a brief discussion recently on another site about C# runtime compilation recently while searching for something else and thought the idea was interesting. Have you ever used this? I'm trying to determine how/when one might use this and what problem it solves. I'd be very interested in hearing how you've...
[ 0.6534554362297058, -0.10101176053285599, -0.3318447768688202, 0.23075884580612183, -0.2011534720659256, -0.3828790485858917, -0.12247706949710846, 0.10550375282764435, -0.4675310254096985, -0.5007613897323608, 0.260463684797287, 0.6095636487007141, -0.23003333806991577, -0.214820906519889...
for you.
[ 0.48026570677757263, 0.2626650333404541, -0.04092003405094147, 0.041094228625297546, -0.010719617828726768, 0.09581850469112396, 0.14491835236549377, -0.056555621325969696, -0.09295427054166794, -0.3049659729003906, -0.3166050910949707, 0.23210075497627258, -0.3027842342853546, 0.251926422...
Wondering if there is any Text to Speech software available as a plug in for IE or Firefox. [WebAnywhere](http://webanywhere.cs.washington.edu/) is a university project aimed at creating a site that allows you to use text to speech from any browser at any location, without installing anything or using any plugins. You...
[ 0.6426708698272705, 0.19956310093402863, -0.11464473605155945, -0.04372015967965126, -0.0184442438185215, -0.09176862239837646, 0.32406631112098694, 0.29098960757255554, -0.2955076992511749, -0.6185764074325562, 0.25435495376586914, 0.20232561230659485, 0.0680115818977356, -0.0449647046625...
While trying to generate classes from a xsd, i got this error: ``` java.lang.IllegalArgumentException: Illegal class inheritance loop. Outer class OrderPropertyList may not subclass from inner class: OrderPropertyList ``` My xsd define a element to group a unbounded element like this: ``` <element minOccurs="0" ...
[ -0.19380028545856476, -0.04989238455891609, 0.572340190410614, -0.020126091316342354, 0.011485284194350243, 0.043407686054706573, 0.22631974518299103, -0.6274021863937378, -0.1534266471862793, -0.5338369607925415, -0.18501798808574677, 0.41691386699676514, -0.634565532207489, 0.22893013060...
<jaxb:class name="OrderPropertyList"/> </jaxb:bindings> </jaxb:bindings> ``` My intention is to generate a individual class for orderPropertyList, not the default behave that is generating a inner class inside the root element of the xsd. I´ve watched someone with the same intention [here](http://forums.java.net...
[ -0.07824750989675522, 0.07882044464349747, 0.35601913928985596, -0.18267956376075745, 0.02708483673632145, -0.07780507206916809, 0.2534524202346802, -0.37277331948280334, -0.22777444124221802, -0.6592196822166443, -0.17437046766281128, 0.3601047396659851, -0.6499443650245667, 0.05168018117...
a redundant binding, since orderPropertyList will map by default to OrderPropertyList. The name of the package includes the outer class name it is nested in by default, so you're not changing that. Also, if you did want to change the name of the generated class, I think the XPath would actually be: ``` <jaxb:bindings...
[ 0.005164013244211674, -0.14460241794586182, 0.43513303995132446, -0.13978545367717743, -0.10230530053377151, -0.2562148869037628, 0.43272295594215393, -0.2858951985836029, -0.18346430361270905, -0.4151042699813843, -0.104535773396492, 0.689784049987793, -0.7540935277938843, 0.2173767685890...
I have a sparse array in Jscript, with non-null elements occuring at both negative and positive indices. When I try to use a for in loop, it doesn't traverse the array from the lowest (negative) index to the highest positive index. Instead it returns the array in the order that I added the elements. Enumeration doesn't...
[ 0.09709488600492477, -0.08304992318153381, -0.010626119561493397, -0.482096403837204, -0.21574293076992035, 0.15611694753170013, 0.5835090279579163, -0.6192123293876648, -0.3041890561580658, -0.3890492618083954, 0.08115097880363464, 0.24964281916618347, -0.5296939611434937, 0.0368223898112...
a negative index. It is just a member of the arrName object. If you check the arrName.length you will see that it is 21 (0,1,2,...,20) Why don't you use a plain object instead (as a hashtable). Something like this should work: ``` <script type="text/javascript"> //define and initialize your object/hastable var obj = {...
[ -0.11009738594293594, 0.11536815762519836, 0.5024644732475281, -0.32914891839027405, -0.2474062144756317, 0.2283496856689453, 0.3023982644081116, -0.3340643346309662, -0.32849493622779846, -0.4998234510421753, -0.017452390864491463, 0.23088814318180084, -0.5772391557693481, 0.1144714802503...
"A B C" to the page </script> ```
[ 0.23928415775299072, 0.48620519042015076, 0.34336161613464355, -0.3651805818080902, -0.13749389350414276, 0.09284238517284393, 0.07290707528591156, 0.2987902760505676, -0.12649445235729218, -0.44170907139778137, -0.5759232640266418, 0.15444734692573547, -0.27946484088897705, 0.170028269290...
So, I'll be getting my T-Mobile G1 within a month or so, and I'm excited to start developing for it. Has anyone started using it yet? Is there a dev wiki or anything set up for it yet? * Google's android groups This is probably the best place to go. However, a good search on google will most likely take you to one of...
[ 0.480293869972229, 0.14229047298431396, 0.4792465269565582, 0.23802638053894043, -0.36336562037467957, -0.07888681441545486, 0.2267920970916748, 0.24937734007835388, -0.3475755751132965, -0.5501591563224792, 0.30556970834732056, 0.6949802041053772, 0.27902981638908386, 0.2302863895893097, ...
android. Apart from the official google groups and the irc channel at #android on irc.freenode.net, they're probably the best place to go or ask questions. * <http://davanum.wordpress.com/> Development halted here but still some rather interesting things that have been done. * phandroid.com Didn't see much developm...
[ 0.42127811908721924, 0.058048754930496216, 0.25653910636901855, 0.05459541454911232, 0.03622996807098389, 0.10351001471281052, 0.2599010467529297, 0.323856383562088, -0.407282292842865, -0.7621591687202454, 0.1596660315990448, 0.5022242069244385, -0.21842095255851746, 0.0760217159986496, ...
I have to implement MPI system in a cluster. If anyone here has any experience with MPI (MPICH/OpenMPI), I'd like to know which is better and how the performance can be boosted on a cluster of x86\_64 boxes. MPICH has been around a lot longer. It's extremely portable and you'll find years worth of tips and tricks onlin...
[ 0.4293672740459442, 0.07720556110143661, 0.24997296929359436, 0.16624952852725983, -0.1729349046945572, -0.1331886202096939, 0.1549680233001709, -0.016576016321778297, -0.3458470404148102, -0.8787568211555481, 0.16233207285404205, 0.42836958169937134, -0.20606374740600586, 0.11233621090650...
for fault-tolerance - but to take advantage of this you may have to use some of its special features that aren't part of the MPI standard. As for performance, it depends a lot on the application; it's hard to give general advice. You should post a specific question about the type of calculation you want to run, the nu...
[ 0.15730969607830048, 0.23411285877227783, 0.1633002907037735, 0.31010186672210693, -0.003326163627207279, -0.2136078178882599, 0.24014361202716827, -0.20935729146003723, -0.16806089878082275, -0.3848256766796112, 0.01831239089369774, 0.5634332299232483, -0.04722242057323456, -0.29813191294...
What are the best approaches / tools to test browser extensions? In my case I work on an IE Browser Helper Object (C#) which has a small UI of its own and a good deal of database interaction. Up till now we've used automated unit tests for testing our model/business objects but manual testing for the UI/scenario testi...
[ 0.4365052580833435, 0.1510063260793686, 0.08053216338157654, 0.10839182883501053, -0.029720379039645195, 0.092921182513237, 0.15221154689788818, 0.015687400475144386, -0.21814683079719543, -0.6845021843910217, 0.11369272321462631, 0.5752174854278564, -0.024322984740138054, -0.1513883471488...
else in a similar situation do (whether developing BHOs or Firefox Extensions or whatever)? We used to use Selenium, but then we switched over to [Webius](http://webiussoft.com/) SWExplorerAutomation (SWEA). A benefit of using Webius is that we can generate c#, wrap them in nunit tests, and compile the tests into .NET...
[ 0.5300852656364441, -0.026351500302553177, 0.404175341129303, 0.1749732792377472, -0.02640078030526638, -0.37603622674942017, -0.04246975854039192, -0.338885635137558, -0.0037884346675127745, -0.6133013367652893, -0.02780791185796261, 0.2903214395046234, -0.09778309613466263, -0.0940463915...
Views (although they will hopefully be very thin and dumb).
[ 0.21489953994750977, -0.09823678433895111, 0.6276275515556335, 0.05660185217857361, 0.05115611478686333, 0.05894675478339195, 0.09739048779010773, 0.36522671580314636, -0.47584739327430725, -0.5505131483078003, 0.10715014487504959, 0.26253029704093933, 0.2015954554080963, -0.40866091847419...
How do i store a directory / hierarchy / tree structure in the database? Namely MSSQL Server. @olavk: Doesn't look like you've seen my own answer. The way i use is way better than recursive queries :) p.p.s. [This is](http://www.developerfusion.co.uk/show/4633/2/) the way to go! There are [many ways](http://troels.ar...
[ 0.14207430183887482, 0.16386254131793976, 0.28267785906791687, -0.02525530941784382, 0.029191602021455765, -0.17916949093341827, 0.4130517542362213, -0.2757474184036255, -0.22034955024719238, -0.5673195719718933, -0.12920348346233368, 0.25386422872543335, -0.2174219787120819, 0.17886571586...
look at [Vadim Tropashko's comparison](http://vadimtropashko.wordpress.com/2008/08/09/one-more-nested-intervals-vs-adjacency-list-comparison/) which highlights differences between models with a focus on multiple performance characteristics.
[ 0.04133741930127144, -0.08471257239580154, -0.09917203336954117, 0.002856409875676036, -0.18830281496047974, 0.4858928322792053, 0.2440512776374817, -0.4836178421974182, -0.07909882068634033, -0.3237681984901428, 0.017271563410758972, 0.10230045020580292, -0.42958614230155945, 0.1539817750...
I'm searching a small **Java** based RSS/Feed Generator, something like the [FeedCreator.class.php](http://www.bitfolge.de/rsscreator-en.html) library, any suggestions?, thanks! There's the Rome framework as well <http://rometools.github.io/rome/> Does RSS and Atom
[ 0.8269643783569336, -0.15717336535453796, -0.009956346824765205, 0.21054905652999878, 0.007887507788836956, -0.20500150322914124, -0.265738308429718, 0.3144172728061676, -0.1589430719614029, -0.542283833026886, 0.12234960496425629, 0.39078062772750854, -0.4256685674190521, -0.3196780383586...
I want to get a files these attributes as integer values. Delphians tend to like the `FindFirst` approach (the `SearchRec` structure has some of those), but I'd suggest the Win32 API function `GetFileAttributesEx`.
[ 0.1041191816329956, 0.005066245328634977, 0.13545812666416168, 0.10222332924604416, 0.11489526182413101, -0.34035617113113403, -0.09818682819604874, -0.0690503939986229, -0.03593657538294792, -0.4989769458770752, -0.06479323655366898, 0.8112553358078003, -0.1695125848054886, 0.084234848618...
I initially designed my system following the s# architecture example [outlined in this codeproject article](http://wwww.codeproject.com/KB/architecture/NHibernateBestPractices.aspx) (Unfortunately, I am not using NHibernate). The basic idea is that for each domain object that would need to communicate with the persiste...
[ 0.013314925134181976, 0.027465002611279488, 0.32412803173065186, -0.13149972259998322, -0.20021463930606842, 0.1677190661430359, 0.2831728160381317, 0.04444962367415428, -0.07046465575695038, -0.7003434896469116, 0.16860033571720123, 0.3410883843898773, -0.4756532311439514, 0.5067638754844...
domain model has grown I am finding myself questioning if there isn't an organizational problem here. For example, almost every object in the domain ends up with a corresponding Data Access Object and Data Access Object interface. Not only that, but each one of these is in a different place which is more difficult to m...
[ 0.007201831322163343, -0.07850033789873123, 0.255584716796875, 0.5008953809738159, -0.11054904013872147, -0.23671028017997742, 0.10390284657478333, 0.3239220082759857, -0.349286288022995, -0.8114254474639893, -0.10187475383281708, 0.10119525343179703, -0.3025990128517151, 0.476702511310577...
such as ``` public interface ICustomerDao { Customer GetById(int id); } public interface IProductDao { Product GetById(int id); } public interface IAutomaticWeaselDao { AutomaticWeasel GetById(int id); } ``` Where their implementors are usually very trivial too. This has me wondering if it wouldn't be simpler...
[ -0.2543659806251526, -0.263255774974823, 0.3193100094795227, 0.1530279815196991, -0.18774037063121796, 0.04372481256723404, 0.10181990265846252, -0.16555961966514587, -0.2085408866405487, -0.7665494680404663, -0.5425764322280884, 0.4307941794395447, -0.4991498291492462, 0.06119132786989212...
AutomaticWeasel GetAutomaticWeaselById(int id); Transaction GetTransactioinById(int id); } public interface TransactionDao { Transaction[] GetAllCurrentlyOngoingTransactionsInitiatedByASweatyGuyNamedCarl(); } ``` Does anyone has any experience with an architecture like this? Overall I am very happy with the s...
[ -0.25579723715782166, -0.21334441006183624, 0.4126930832862854, 0.14505569636821747, -0.294382244348526, -0.32170751690864563, 0.3022167384624481, -0.10775743424892426, -0.2071109563112259, -0.6317667961120605, -0.14977513253688812, 0.5876232981681824, -0.420028418302536, -0.00598066486418...
would to have a repository for each aggregate that needs it, such as CustomerRepository. This would have an Add (save) method and, if suitable for that aggregate, a Remove (delete) method. It would also have any other custom methods that apply including queries (GetActive) and maybe some of those queries could accept s...
[ 0.37299811840057373, -0.06780723482370377, 0.011733317747712135, 0.18994860351085663, -0.0755399763584137, 0.06181006133556366, 0.024513116106390953, -0.3353005647659302, 0.304970383644104, -0.5972833633422852, 0.35077300667762756, 0.670098602771759, -0.18110349774360657, -0.11600606888532...
base class might have methods that apply in all cases, such as GetById. Hope this helps.
[ 0.21855226159095764, -0.4128471314907074, -0.17319530248641968, 0.4438829720020294, 0.017068494111299515, -0.3427703082561493, 0.4052019417285919, 0.10167184472084045, -0.034690115600824356, -0.539447546005249, -0.4281608462333679, 0.1635417342185974, -0.15107361972332, -0.1505516171455383...
I'm currently writing an interface to allow applications to send exception data to a central repository for support purposes. I'm at a quandary about how to pass extra contextual data: ``` public interface IExceptionNotifier { void Notify(Exception ex, NameValueCollection context); //this void Notify(Exc...
[ 0.09294649213552475, 0.1695118546485901, 0.2245243787765503, -0.0544007234275341, -0.03474777564406395, -0.08649355918169022, 0.24455253779888153, -0.1636607050895691, -0.20890451967716217, -0.7976944446563721, 0.013637177646160126, 0.3266126215457916, -0.46400147676467896, 0.0440894551575...
a throw-away value and (here comes the important part) will not be serialized, e.g. for sending the data to another system, I'd go with the IDictionary because it makes using your interface more flexible. If, on the other hand, the context is kept all the time or the context will be serialized, use NameValueCollection...
[ 0.15173281729221344, 0.014479018747806549, -0.016299473121762276, 0.14642032980918884, -0.20995813608169556, -0.1472453474998474, 0.13138286769390106, -0.25983577966690063, 0.15247736871242523, -0.3305257260799408, 0.23690389096736908, 0.4785095155239105, -0.26943063735961914, 0.1696244031...
Why use one over the other? == is the identity test. It will return true if the two objects being tested are in fact the same object. `Equals()` performs an equality test, and will return true if the two objects consider themselves equal. Identity testing is faster, so you can use it when there's no need for more expe...
[ 0.30476903915405273, -0.009688341990113258, -0.4284261167049408, 0.35277625918388367, -0.27865463495254517, -0.19345751404762268, 0.2634037435054779, -0.22496461868286133, 0.13918240368366241, -0.5002753138542175, 0.15175551176071167, 0.6379144787788391, -0.49977901577949524, -0.1365365535...
like `String` or `DateTime` provide overloads for the `==` operator that give it equality semantics. So the exact behavior will depend on the types of the objects you are comparing. --- See also: * <http://blogs.msdn.com/csharpfaq/archive/2004/03/29/102224.aspx>
[ 0.04776214808225632, -0.09816804528236389, 0.0023163037840276957, 0.0547264963388443, -0.080715611577034, -0.12977944314479828, 0.21095295250415802, 0.0024857595562934875, -0.5244346261024475, -0.6206687092781067, -0.19642189145088196, 0.37605538964271545, -0.4318612515926361, 0.0862284004...
We use a grid control from Infragistics at work. Are there others? Pay or free? I'd second Telerik, which is what MS used for office, IIRC. I don't know if they have gone WPF though, but they have a good track record. I am also a fan of [DevExpress](http://www.devexpress.com/Products/NET/Controls/WPF/Grid/), and their ...
[ 0.777606189250946, -0.24433375895023346, 0.2745722830295563, 0.3983558416366577, -0.18349924683570862, -0.07286800444126129, -0.19854041934013367, 0.040224749594926834, -0.11317413300275803, -0.7973059415817261, 0.45083245635032654, 0.5263609886169434, 0.0985051766037941, 0.042273044586181...
ever be a good free one.
[ 0.13102371990680695, -0.20823420584201813, -0.19651420414447784, 0.2559432089328766, 0.04168948903679848, -0.5997987389564514, 0.21517528593540192, 1.022128939628601, -0.0025663028936833143, -0.2330915778875351, -0.17310085892677307, 0.5288002490997314, -0.3797638416290283, -0.165225282311...
**Problem:** Ajax suggest-search on [*n*] ingredients in recipes. That is: match recipes against multiple ingredients. For instance: `SELECT Recipes using "flower", "salt"` would produce: `"Pizza", "Bread", "Saltwater"` and so forth. **Tables:** ``` Ingredients [ IngredientsID INT [PK], IngredientsName VARC...
[ -0.07257863134145737, 0.3852251470088959, 0.046395063400268555, 0.042688269168138504, 0.0388554111123085, 0.5192559361457825, 0.179566890001297, -0.36706608533859253, 0.006137709133327007, -0.9493513107299805, -0.01635996624827385, 0.1821088343858719, -0.1291126012802124, -0.10303569585084...
= Ingredients.IngredientsID INNER JOIN Recipes ON IngredientsRecipes.RecipesID = Recipes.RecipesID WHERE Ingredients.IngredientsName IN ('salt', 'water', 'flower') ``` I am currently constructing my query using ASP.NET C# because of the dynamic nature of the `WHERE` clause. I bites that I have to constr...
[ 0.5327415466308594, 0.3003215193748474, 0.09997215121984482, -0.01696600951254368, 0.17268623411655426, 0.16428051888942719, 0.339119017124176, -0.3336283564567566, 0.2457139492034912, -0.757803738117218, 0.33663299679756165, 0.22880923748016357, -0.17052483558654785, 0.03360201045870781, ...
along the lines of temporary tables: **Step one**: `SELECT IngredientsID FROM Ingredients` and `INSERT INTO temp-table` **Step two**: `SELECT RecipesName FROM Recipes` joined with `IngredientsRecipes` joined with `temp-table.IngredientsID` You have two options. If you're using SQL Server 2008 (or Oracle) you can pass...
[ 0.22768239676952362, -0.11163495481014252, 0.26530003547668457, -0.17783936858177185, -0.040930621325969696, 0.07327482104301453, -0.16025865077972412, -0.4408719539642334, -0.08420239388942719, -0.5475283265113831, 0.19707567989826202, 0.06515946239233017, -0.16127727925777435, 0.01495751...
I thought that there was some way in .net 3.0 to give an array list a type so that it didnt just return Object's but I'm having trouble doing so. Is it possible? If so, how? `List<T>` was introduced with generics in .NET 2.0: ``` using System.Collections.Generic; var list = new List<int>(); list.Add(1); list.Add("str...
[ 0.10413029789924622, -0.32765817642211914, 0.5412174463272095, -0.1374649554491043, -0.6263474822044373, -0.23529386520385742, 0.22651512920856476, -0.27741190791130066, -0.48623430728912354, -0.4616357088088989, 0.027398113161325455, 0.5083030462265015, -0.74874347448349, 0.20482334494590...
I'm looking for a really good dialog resizer class that will stretch and shrink individual items as needed as the screen is resized. Stephan Keil has a good one (DlgResizeHelper) which basically resizes everything by a set ratio, but I'm looking for something smarter. For example: * Icons should not resize * Single-l...
[ 0.2027459293603897, -0.4111695885658264, 0.02086183987557888, 0.14776328206062317, -0.034423504024744034, 0.2879366874694824, 0.038432858884334564, -0.27081578969955444, -0.3130352795124054, -0.8152946829795837, 0.11531687527894974, 0.5565038919448853, -0.3010800778865814, -0.0223857443779...
'smart' way so it looks good. Are there such frameworks out there? I've been working on one but something ready-made would probably be better. FOLLOW UP: I'm looking at the suggested solutions. Many of them require you to go in an anchor each control on the dialog. I'm looking for something smart that will figure out...
[ 0.4300953447818756, -0.21967925131320953, 0.3774213492870331, 0.4525764286518097, 0.36361321806907654, 0.03894058242440224, -0.1567235141992569, -0.020541243255138397, -0.16337396204471588, -0.4846974015235901, -0.005606629885733128, 0.55935138463974, -0.10845167934894562, -0.4153864085674...
a little AI here :) You can use wxWidgets. It completely replaces MFC, is multi-platform, and gives you a layout-based dialog mechanism.
[ 0.11906185746192932, -0.29584652185440063, 0.46933573484420776, 0.3062622547149658, -0.04360043630003929, -0.2648749053478241, 0.3371255695819855, -0.018798740580677986, -0.09265469014644623, -0.942555844783783, -0.1509522944688797, 0.5247191786766052, -0.4671621322631836, -0.1644361317157...
I require a tree / directed acyclic graph implementation something like this: ``` public class TreeNode<K, V> { private K key; // 'key' for this node, always present private V value; // 'value' for this node, doesn't have to be set private TreeNode<K, V> parent; private Set<TreeNode<K, V>> children; ...
[ -0.10705381631851196, -0.03757118806242943, 0.17722967267036438, 0.22051586210727692, 0.16164621710777283, 0.060387954115867615, 0.2371593713760376, -0.09534568339586258, -0.1285485327243805, -0.7230436205863953, -0.30345022678375244, 0.042251016944646835, -0.35109859704971313, 0.143764883...
there in the standard APIs or Commons etc that will do this for me? I don't mind writing it myself (and I'm certainly **not** asking you folks to) I just don't want to re-invent the wheel. There doesn't seem to be anything of the kind. I asked [a similar question](https://stackoverflow.com/questions/66893/tree-data-st...
[ 0.31983649730682373, -0.029637353494763374, 0.20625776052474976, 0.04914635792374611, -0.12720781564712524, -0.029492223635315895, 0.04194951429963112, 0.009813658893108368, -0.33180513978004456, -0.5322223901748657, 0.05822853371500969, 0.5026573538780212, -0.13971072435379028, 0.20140093...
this.value = value; } public LinkedList<TreeNode<T>> GetChildren() { return children; } } ``` You will have to add a link back to the parent(s).
[ 0.18213553726673126, -0.0459718219935894, 0.30571794509887695, 0.023442018777132034, 0.31266725063323975, -0.1734202802181244, 0.3389686942100525, 0.12788036465644836, -0.20262829959392548, -0.6916079521179199, -0.546606183052063, 0.12192204594612122, -0.10550980269908905, 0.58877760171890...
So I managed to get a page with Ajax [ui.tab](http://docs.jquery.com/UI/Tabs) and in one of the tab I put [jWYSIWYG](http://projects.bundleweb.com.ar/jWYSIWYG/) textarea plugin. Unfortunately, I can only see normal textarea. However, accessing the page directly (ie. not using the ajax tab) works. What happened? p/s:...
[ 0.4463191330432892, 0.08871132880449295, 0.5594879388809204, -0.0332784466445446, -0.19783248007297516, -0.258613258600235, 0.2387169897556305, -0.2356608659029007, -0.15207335352897644, -0.7533082962036133, -0.04606672003865242, 0.6744953989982605, -0.04506617411971092, -0.048764973878860...
However, your textarea is not on the page when the page first loads. When your ajax call returns, the textarea is added to the page. At this point you need to call whatever javascript is needed to hook it up to a jWYSIWTG control. There is a new(ish) feature in jquery that means you can still set everything up in d...
[ 0.2680724263191223, -0.14012426137924194, 0.5605345964431763, 0.008018591441214085, 0.016234559938311577, -0.45186176896095276, 0.30138537287712097, -0.18973104655742645, -0.27614882588386536, -0.8107163310050964, -0.3996332585811615, 0.6884970664978027, -0.07559338212013245, -0.1809041649...
Django comes with [CSRF protection middleware](https://github.com/brosner/django-csrf/blob/master/django_csrf/middleware.py), which generates a unique per-session token for use in forms. It scans all incoming `POST` requests for the correct token, and rejects the request if the token is missing or invalid. I'd like to...
[ 0.12205801159143448, 0.3674573302268982, 0.23922030627727509, -0.05546104907989502, -0.5654792189598083, -0.5744253396987915, 0.22937090694904327, 0.07616706192493439, -0.028450319543480873, -0.4858153760433197, 0.23286208510398865, 0.18073594570159912, -0.19044527411460876, -0.06868242472...
browser's cross-site scripting rules to prevent hostile sites from requesting it. Is this a good idea? Are there better ways to protect against CSRF attacks while still allowing AJAX requests? If you know you're going to need the CSRF token for AJAX requests, you can always embed it in the HTML somewhere; then you can...
[ 0.13936656713485718, 0.02241326868534088, 0.2425941824913025, 0.07478029280900955, -0.28590187430381775, -0.500432550907135, 0.2637087404727936, 0.18325142562389374, -0.3784618079662323, -0.9295284152030945, 0.02150704339146614, 0.21319299936294556, -0.28553327918052673, -0.008530262857675...
I have an XML document with un-namespaced elements, and I want to use XSLT to add namespaces to them. Most elements will be in namespace A; a few will be in namespace B. How do I do this? With foo.xml ``` <foo x="1"> <bar y="2"> <baz z="3"/> </bar> <a-special-element n="8"/> </foo> ``` and foo.xs...
[ 0.007122613489627838, 0.26562929153442383, 0.4938758909702301, -0.16890357434749603, 0.18211394548416138, -0.1142730638384819, -0.04596543312072754, -0.5462362766265869, -0.010009023360908031, -0.6947284936904907, -0.14646151661872864, 0.2764338254928589, -0.32744282484054565, -0.030871449...
<xsl:apply-templates /> </xsl:element> </xsl:template> <xsl:template match="a-special-element"> <B:a-special-element xmlns:B="B"> <xsl:apply-templates match="children()"/> </B:a-special-element> </xsl:template> </xsl:transform> ``` I get ``` <foo xmlns="A" x="1"> ...
[ 0.14847660064697266, -0.0007402610499411821, 0.27874308824539185, -0.05754893273115158, 0.11286532133817673, 0.3063497245311737, -0.04630209505558014, -0.44582074880599976, -0.15553613007068634, -0.7589451670646667, -0.42431730031967163, 0.42158767580986023, -0.24126829206943512, -0.178172...
After the last project I've done using WebForms, I've decided to pass on using that framework in the future. It's great for getting your basic features out there...not so great when you have more complex UI logic. I'm looking at ASP.NET MVC, and like what I see so far. Of course the issue is that you lose the server s...
[ 0.4841722846031189, -0.16134962439537048, 0.1760636270046234, 0.35803666710853577, -0.3786231279373169, -0.3249262273311615, 0.05278240889310837, 0.20418575406074524, -0.37822824716567993, -0.9962331652641296, 0.27871593832969666, 0.5703024864196777, -0.0723569244146347, -0.044709697365760...
who has more knowledge. Which Ajax toolkit offers the most complete widget library? Is it possible to combine two or more toolkits to provide supplement to each other (e.g YUI has a great Grid, Scriptaculous has a great Calendar, let's use the best of both worlds)? Or are you more or less tied to one once you choose? ...
[ 0.47290074825286865, -0.40831393003463745, 0.5699244141578674, 0.41398948431015015, -0.4566577672958374, -0.2983438968658447, -0.004230212420225143, 0.11965423077344894, -0.25283119082450867, -0.8823195695877075, 0.01268802210688591, 0.7771851420402527, 0.11621273308992386, -0.246259197592...
with ASP.NET MVC](http://weblogs.asp.net/scottgu/archive/2008/09/28/jquery-and-microsoft.aspx)** I have written an ASP.NET MVC application and I incorporated jQuery into it. I found that jQuery helped me manipulate things that would have overcomplicated my View... such as adding alternating styles to my grids, etc... ...
[ 0.3639056980609894, -0.3964754641056061, 0.24114327132701874, 0.15404057502746582, -0.45367634296417236, -0.11461398005485535, -0.16486629843711853, -0.18747955560684204, -0.12371556460857391, -0.5975837111473083, 0.1369144320487976, 0.4944973587989807, -0.24520495533943176, -0.26811024546...
I have a problem with a string in C++ which has several words in Spanish. This means that I have a lot of words with accents and tildes. I want to replace them for their not accented counterparts. Example: I want to replace this word: "había" for habia. I tried replace it directly but with replace method of string clas...
[ -0.15510687232017517, 0.07244671136140823, 0.39230310916900635, -0.25012680888175964, -0.08591237664222717, 0.09855461865663528, 0.23696865141391754, -0.07413440942764282, 0.11824830621480942, -0.532639741897583, -0.2701290249824524, 0.6558209657669067, -0.14917047321796417, -0.01038084272...
strAux=(it->second); toReplace.erase(found,strMine.length()); toReplace.insert(found,strAux); found=toReplace.find_first_of(strMine,found+1); } } ``` Where `dictionary` is a map like this (with more entries): ``` dictionary.insert ( std::pair<std::string,std::string>("á","a") ); dictionar...
[ -0.19410081207752228, 0.028389889746904373, 0.231800839304924, -0.08850066363811493, -0.1320296674966812, 0.2912236154079437, 0.674987256526947, -0.11000996083021164, -0.028327319771051407, -0.7086220979690552, -0.5405656695365906, 0.47366273403167725, -0.32839199900627136, -0.056222248822...
to people who only speak English, there are literally thousands of writing systems in the world in which such distinctions are very important. Writing software to mutilate someone’s speech puts you squarely on the wrong side of the tension between using computers as means to broaden the realm of human expression vs. to...
[ 0.6611681580543518, -0.23661763966083527, -0.06318889558315277, 0.37847959995269775, 0.12440906465053558, 0.04364858567714691, 0.33006709814071655, 0.3475935757160187, 0.44506141543388367, -0.8071612119674683, -0.25660771131515503, 0.7859726548194885, -0.019601283594965935, -0.300158560276...
the “Input” box; enter ``` NFD; [:M:] remove; NFC ``` as “Compound 1” and click transform. (With help from slide 9 of [Unicode Transforms in ICU](http://macchiato.com/slides/icu_transforms.pdf). Slides 29-30 show how to use the API.)
[ -0.10617932677268982, -0.20717236399650574, 0.5339541435241699, -0.030662791803479195, 0.1492130011320114, 0.12334898859262466, 0.1849314421415329, -0.42034003138542175, 0.002697650110349059, -0.5774021744728088, -0.6568092703819275, 0.8169304132461548, -0.4803345203399658, -0.006307615898...
Should each class in my C# project get its own file (in your opinion)? While the one class per file policy is strictly enforced in Java, it's not required by C#. However, it's generally a good idea. I typically break this rule if I have a very small helper class that is only used by the main class, but I prefer to do ...
[ 0.41697821021080017, -0.14208592474460602, -0.05362001061439514, 0.015847330912947655, -0.22151032090187073, -0.23168911039829254, 0.12203682214021683, -0.010337266139686108, -0.3144955039024353, -0.5818606019020081, -0.15091408789157867, 0.33289915323257446, -0.30428197979927063, 0.080669...
Unfortunately, sometimes the only way to debug a program is by going through its long log files. I searched for a decent log viewer for a while now, and haven't found a real solution. The only program that seemed to be most appropriate was [Chainsaw](http://logging.apache.org/chainsaw/2.x/download.html) with its Sock...
[ 0.4939908981323242, -0.05979042500257492, -0.105146624147892, 0.324201375246048, -0.20522499084472656, -0.19625896215438843, 0.2538869082927704, 0.19381053745746613, -0.23842130601406097, -0.37027958035469055, 0.06273286044597626, 0.4474644362926483, -0.4096599221229553, 0.2017483115196228...
viewer? I'm looking for anything that could work well with log4j. You didn't mention an OS, so I'll mention this though it is only on Windows. **Bare Metal Software makes a product called [BareTail](http://www.baremetalsoft.com/baretail/)** that has a nice interface and works well. They have a free version with a star...
[ 0.9298021793365479, -0.0736376941204071, 0.08211164176464081, -0.026432964950799942, -0.4243102967739105, 0.1073543056845665, 0.37773653864860535, 0.10859911888837814, -0.0696067363023758, -1.037173867225647, 0.2874864339828491, 0.4976818561553955, 0.06129823625087738, 0.1672423779964447, ...
them so much I bought the bundle with both pro versions for $50.
[ 0.2989168167114258, 0.3303183615207672, -0.02203192375600338, 0.21138189733028412, -0.0358237698674202, 0.5364388227462769, 0.23928657174110413, 0.12205011397600174, 0.10614295303821564, -0.059897419065237045, 0.6194333434104919, 0.8720623850822449, 0.03626229614019394, -0.2537330090999603...
I was reading [this](https://stackoverflow.com/questions/144735/best-way-to-get-started-with-programming-other-things-than-your-computer#144843) answer previously and it got me interested in purchasing a Nintendo DS Lite for learning to program embedded devices. Before I go out and splurge on a DS I had a few questions...
[ 0.3911159336566925, -0.3265708386898041, 0.22107195854187012, 0.5336373448371887, -0.04475541412830353, -0.2115381956100464, -0.14079037308692932, 0.16613313555717468, -0.2706792652606964, -0.3877871036529541, 0.28050100803375244, 0.41815313696861267, 0.02533063292503357, 0.002057332778349...
better option for homebrew? 4. What are the best resources to learn about DS development? Thanks for your time, If you have a DS and program on it, I'd love you hear your opinion, or alternatively if you have a better idea, I'd like to hear it too. Thanks =] 1. No, there really isn't much of a limitation beyond that ...
[ 0.27229073643684387, -0.10223989188671112, 0.11599813401699066, 0.3171211779117584, -0.22676236927509308, -0.14965295791625977, -0.16892695426940918, -0.10014301538467407, -0.27477774024009705, -0.5844855904579163, 0.05842512100934982, 0.7836970686912537, -0.10293025523424149, 0.1607772558...
renderer. There are multiple resources on the Nintendo DS section of the [GBADev forums](http://forum.gbadev.org). 2. I would say that the DS is an excellent route to embedded systems development; there is a large and active community that is willing to answer questions and give support, and there is so much h...
[ 0.2307845503091812, -0.11384382098913193, 0.36686187982559204, 0.20968230068683624, -0.3425646722316742, -0.07021274417638779, -0.20144523680210114, -0.10261288285255432, 0.07519258558750153, -0.6706328392028809, -0.02624664269387722, 0.6491833925247192, 0.04624093323945999, 0.195710465312...
that other popular choices are the M3 line and the R4 line, which are pretty much the same thing. I have a TTDS, and it works well, but not out of the box. I would reccommend the other three mentioned. 4. As for beginning DS devving, I would reccommend looking at the basic examples found in the `examples` fold...
[ 0.23344995081424713, -0.2636418044567108, 0.4270001947879791, 0.1533353626728058, -0.14511781930923462, 0.06100477650761604, 0.0851721316576004, -0.1213444322347641, -0.08590424060821533, -0.47346359491348267, -0.012756559997797012, 0.9978097081184387, 0.3617995083332062, 0.008435119874775...
the DS world. There is also a [very comprehensive documentation spec for the GBA and DS known as GBATek](http://nocash.emubase.de/gbatek.htm).
[ -0.001836432726122439, -0.16017986834049225, 0.0989946722984314, 0.23524846136569977, -0.12864449620246887, -0.2403167188167572, 0.39201831817626953, -0.023533791303634644, -0.41963520646095276, -0.2704854905605316, -0.3501168489456177, 0.20655857026576996, -0.18462511897087097, 0.18130631...
I'm confused by the discussion and advancement both of a new version of HTML and a new version of XHTML. Are they competitors? If so, what is likeliest to be the adopted future of the web? If not, what is the differing non-competing purpose for each? Are we due to have a BluRay/HDVD battle here? Is there ultimately an...
[ 0.5493091940879822, 0.08674750477075577, 0.5419003367424011, 0.23517455160617828, -0.2969284951686859, -0.2998010814189911, -0.04604398459196091, 0.2016647607088089, -0.298216313123703, -0.6765188574790955, 0.01044964138418436, 0.39272478222846985, -0.21642820537090302, 0.2376544326543808,...
applications whereas XHTML2 is meant for documents. From the [HTML 5 working draft](http://www.w3.org/TR/html5/introduction.html#relationship0): > XHTML2 defines a new HTML vocabulary with better features for hyperlinks, multimedia content, annotating document edits, rich metadata, declarative interactive forms, and d...
[ 0.31896209716796875, 0.22439998388290405, 0.5386344790458679, 0.11766809970140457, -0.19377745687961578, -0.5554001331329346, 0.13477614521980286, -0.18827295303344727, -0.09646519273519516, -0.5928913354873657, -0.5293684005737305, 0.5408409237861633, -0.6607131361961365, -0.2623316049575...
aims to extend HTML so that it is also suitable in these contexts. > > > XHTML2 and [HTML5] use different namespaces and therefore can both be implemented in the same XML processor.
[ 0.2180624157190323, 0.08362258970737457, 0.37287789583206177, 0.07440003752708435, -0.21970586478710175, -0.38268575072288513, -0.10737466812133789, -0.031268298625946045, -0.28736618161201477, -0.6941393613815308, -0.4724913537502289, 0.13411760330200195, -0.3562541604042053, -0.182076871...
Very simply put, I have the following code snippet: ``` FILE* test = fopen("C:\\core.u", "w"); printf("Filepointer at: %d\n", ftell(test)); fwrite(data, size, 1, test); printf("Written: %d bytes.\n", size); fseek(test, 0, SEEK_END); printf("Filepointer is now at %d.\n", ftell(test)); fclose(test); ``` and it outputs...
[ 0.08950351178646088, 0.23082588613033295, 0.4819764792919159, -0.3508453071117401, 0.24349376559257507, 0.007423053029924631, 0.2446437031030655, -0.13063375651836395, -0.0636051818728447, -0.8000472187995911, -0.26060613989830017, 0.5114787817001343, -0.15974336862564087, 0.03755021840333...
the numbers are identical: ``` FILE* test = fopen("C:\\core.u", "wb"); ``` The C99 standard has this to say in `7.19.5.3 The fopen function`: > The argument mode points to a string. If the string is one of the following, the file is > open in the indicated mode. Otherwise, the behaviour is undefined. > > > `r` o...
[ -0.1560688465833664, 0.23226356506347656, 0.42989441752433777, -0.27445685863494873, -0.005675883963704109, 0.025267375633120537, 0.263350248336792, -0.33560433983802795, -0.09719578176736832, -0.4175955653190613, -0.36793187260627747, 0.5360865592956543, -0.28127893805503845, 0.1735586225...
length or create binary file for writing > > `ab` append; open or create binary file for writing at end-of-file > > `r+` open text file for update (reading and writing) > > `w+` truncate to zero length or create text file for update > > `a+` append; open or create text file for update, writing at end-of-fil...
[ 0.02030062861740589, 0.12244267761707306, 0.29315707087516785, -0.04716665297746658, -0.09159840643405914, 0.25294312834739685, 0.18400117754936218, -0.40979692339897156, -0.07798227667808533, -0.630270779132843, -0.6264035701751709, 0.7524046301841736, -0.35209596157073975, 0.049312073737...
or create binary file for update, writing at end-of-file You can see they distinguish between `w` and `wb`. I don't believe an implementation is *required* to treat the two differently but it's usually safer to use binary mode for binary data.
[ 0.6695300340652466, -0.03787500038743019, -0.04312431067228317, 0.31713011860847473, -0.01364617794752121, -0.3037598729133606, 0.20563168823719025, 0.0991823673248291, -0.07821813970804214, -0.696797788143158, -0.16748709976673126, 0.7718852162361145, 0.03399524837732315, 0.16201534867286...
I believe the architecture type (x86 vs x64) is abstracted away for you when making .Net programs, but are there any other considerations that can cause problems? Beware of third-party COM libraries or third party .NET libraries that secretly make win32 calls. That's where we had our biggest headaches.
[ 0.5069140791893005, 0.39647337794303894, -0.2932705879211426, 0.17653809487819672, 0.1545705497264862, -0.36032676696777344, 0.2690092921257019, 0.4338817596435547, 0.010144881904125214, -0.29266107082366943, 0.26077038049697876, 0.8066125512123108, -0.14256568253040314, 0.1181038096547126...
I have some accesses from 192.168.0.71 on my apache logs. I looked up this IP (because my server almost exclusively takes requests from 127.0.0.1, and I saw that it's reserved for "special purposes." What types of purposes might those be? --- Edit: I didn't tell you, typing 192.168.0.71 brings me straight to my site...
[ 0.27824971079826355, 0.1916201263666153, 0.2746300995349884, 0.19850105047225952, -0.05581909790635109, -0.12573307752609253, 0.28152304887771606, 0.10084061324596405, -0.5037012696266174, -0.5563986301422119, 0.2461317628622055, -0.12157201021909714, -0.10014882683753967, 0.45697784423828...
Can iPhone applications compiled against 2.1 be successfully installed via iTunes on a 2.0 device? I know iPhone applications compiled with 2.1 can *run* on a 2.0 device (assuming they're not using anything new from 2.1). But am not sure if iTunes will let the install take place. Does anyone have concrete information...
[ 0.2862413823604584, 0.06599895656108856, 0.315306156873703, -0.018338333815336227, 0.2509703040122986, -0.2440168410539627, 0.6439498066902161, -0.32779425382614136, -0.14302958548069, -0.3947341740131378, -0.4996464252471924, 0.9227483868598938, -0.35838180780410767, -0.258337140083313, ...
a subset of an app's metadata.) One example: [Caliper](http://phobos.apple.com/WebObjects/MZStore.woa/wa/viewSoftware?id=289310044&mt=8) (it's under "Application Description->Requirements") I don't know if this "requirement" is actually enforced, however.
[ 0.5940158367156982, 0.09671622514724731, 0.6467691659927368, 0.02129703015089035, 0.3916686773300171, -0.04436874017119408, -0.11736253648996353, -0.197154700756073, -0.23697778582572937, -0.2693651616573334, -0.13320621848106384, 0.49928632378578186, -0.3491570055484772, 0.094238884747028...
I'm using the current version of restful\_authentication that is found on github and I'm having a bunch of strange session issues. The server seems to be somehow assigning sessions to users it shouldn't be. This only happens when crossing the logged out/logged in barrier. Here's an example. With no sessions active on ...
[ 0.4019300043582916, 0.3157701790332794, 0.4152996838092804, -0.2974996566772461, -0.07106010615825653, -0.06927481293678284, 0.49150198698043823, 0.32134920358657837, -0.2604294419288635, -0.7998201251029968, 0.15175248682498932, 0.476249635219574, -0.1743142008781433, 0.17495577037334442,...
the site as if I had logged in as that user! Something I've observed via the logs is that when this hijack happens, the session IDs are not the same. User A is logged in in both sessions, but the session ID's are completely different. This is just one example of what might happen. I can't reproduce the issue reliably a...
[ 0.3701440691947937, 0.13317054510116577, -0.08861146867275238, 0.1702350527048111, -0.03322289139032364, -0.22505728900432587, 0.3170259892940521, 0.38677117228507996, -0.45582789182662964, -0.6931026577949524, 0.14249752461910248, 0.6724697947502136, -0.262653648853302, 0.1135172992944717...
am using db-based sessions in this application and it is running on Rails 2.1.1. I applied the stateful option when calling the generator. Otherwise no other modifications have been made to how sessions are handled. Update Here is the offending method which came directly from restful\_authentication. ``` # Accesses t...
[ 0.10681165009737015, 0.3267155885696411, 0.36593449115753174, -0.25062012672424316, -0.20126743614673615, -0.3778533637523651, 0.6304365992546082, -0.6690106987953186, 0.1515897810459137, -0.5650131702423096, -0.109847292304039, 0.7658019065856934, -0.43590664863586426, 0.35982033610343933...
based sessions and everything is working smoothly.
[ 0.6055030226707458, 0.10802329331636429, 0.25886499881744385, 0.1831914633512497, -0.1290624588727951, -0.3151480257511139, 0.28193703293800354, 0.0018166586523875594, 0.054428741335868835, -0.6224972605705261, -0.051992956548929214, 0.5952168703079224, 0.19263935089111328, -0.396768480539...
I guess the question is self-explanatory, but I'm wondering whether HTML qualifies as a programming language (obviously the "L" stands for language). The reason for asking is more pragmatic—I'm putting together a resume and don't want to look like a fool for listing things like HTML and XML under languages, but can't...
[ 0.5802880525588989, 0.10295518487691879, 0.0075459713116288185, 0.037765584886074066, -0.2792765200138092, -0.19057932496070862, 0.2536733150482178, 0.22212836146354675, -0.32467034459114075, -0.5520632266998291, -0.20338302850723267, 0.10861504822969437, -0.19161313772201538, 0.0437090881...
more alphabet soup to your CV, don't classify them at all. Just put them in a big pile called "Technologies" or whatever you like. Remember, however, that anything you list is fair game for a question. HTML is so common that I'd expect almost any technology person to already know it (although not stuff like CSS and s...
[ 0.5990291833877563, -0.06665371358394623, -0.04618949815630913, 0.22100229561328888, -0.07934058457612991, -0.36241355538368225, 0.1889585256576538, 0.3803597390651703, -0.2569880187511444, -0.8707767724990845, 0.09616359323263168, 0.2130880057811737, -0.2618877589702606, -0.16742092370986...
experience includes serious web design stuff including Ajax, JavaScript, and so on, you might talk about those in your "Experience" section.
[ 0.5577783584594727, 0.13756294548511505, -0.21832868456840515, 0.2315349131822586, 0.02338634803891182, -0.3613358736038208, 0.11918547749519348, 0.36907637119293213, -0.26095569133758545, -0.6647233366966248, -0.08172503113746643, 0.46609625220298767, 0.21435919404029846, -0.4311774075031...
What's the best way to store tags for a record? Just use a varchar field? What about when selecting rows that contains tag x? Use the like operator? thanks! Depends on two things: 1) The amount of tags/tagged records 2) Whether or not you have a religious opinion on normalization :-) Unless dealing with very...
[ 0.7037443518638611, 0.12319263815879822, 0.381602942943573, 0.3759598135948181, -0.05694333463907242, -0.20743349194526672, 0.4948176443576813, -0.15748709440231323, -0.1651301234960556, -0.46809330582618713, 0.12811508774757385, 0.6947152614593506, -0.23378577828407288, -0.201918840408325...
keep a single table with a id for the tagged row and the actual text of the tag, but in this I'd suggest you use a char column as it will kill your query if the optimizer does a full table scan against a large table with a varchar column.
[ 0.04974370822310448, -0.028236960992217064, 0.2657985985279083, 0.10684910416603088, -0.21822264790534973, -0.11537238210439682, 0.25540992617607117, -0.14743207395076752, -0.12448157370090485, -0.5855299234390259, 0.016756271943449974, 0.589211642742157, -0.34220436215400696, -0.219571962...
I understand that IronPython is an implementation of Python on the .NET platform just like IronRuby is an implementation of Ruby and F# is more or less OCaml. What I can't seem to grasp is whether these languages perform closer to their "ancestors" or closer to something like C# in terms of speed. For example, is Iro...
[ 0.28324103355407715, 0.2571442425251007, 0.005517774727195501, -0.021233150735497475, -0.2452162802219391, -0.14212386310100555, -0.055121298879384995, 0.200820192694664, -0.16346992552280426, -0.5584231019020081, -0.0557536706328392, 0.5846306085586548, -0.3196945786476135, -0.09309113025...
fly. They're slower than C# but faaaaaaar faster than their non-.NET counterparts. There aren't any decent benchmarks out there, to my knowledge, but you'll see the difference.
[ 0.8630930781364441, 0.0011517256498336792, 0.19250233471393585, 0.49585795402526855, -0.051996491849422455, -0.23068387806415558, -0.00918346643447876, 0.08386848866939545, -0.11840704828500748, -0.5802832245826721, 0.04646066576242447, 0.4015309810638428, -0.01725134439766407, -0.58281612...
I want to mount some internal and external NTFS drives in CentOS 5.2, preferably automatically upon boot-up. Doesn't matter if it's read/write or read-only, but read/write would be preferred, if it's safe. Edit: Thanks for all answers, I summarized them below =) To answer my own question: PostMan and mgb led me to the...
[ 0.14308646321296692, 0.061735112220048904, 0.6030787229537964, -0.024237660691142082, -0.010574614629149437, 0.027088992297649384, 0.22128400206565857, -0.3209169805049896, -0.33252236247062683, -0.7712064385414124, -0.1476672738790512, 0.7730980515480042, -0.14285124838352203, -0.01201202...
for a couple of external NTFS drives: ``` mkdir /mnt/iomega80 mkdir /mnt/iogear250 ``` I had to use the fdisk command, but it wasn't in my system. Here's what installs it: ``` yum install util-linux ``` Then I ran `/sbin/fdisk -l` and found the device names: ``` Disk /dev/sdc: 250.0 GB, 250059350016 bytes 255 he...
[ -0.03476542979478836, 0.31272122263908386, 0.40685269236564636, 0.07359184324741364, 0.3173966705799103, 0.18052493035793304, -0.05075563117861748, -0.23009826242923737, -0.27710509300231934, -0.660796046257019, -0.13719505071640015, 0.8672292828559875, -0.1514054536819458, 0.2440638989210...
30401 244196001 7 HPFS/NTFS Disk /dev/sdd: 82.3 GB, 82348278272 bytes 255 heads, 63 sectors/track, 10011 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start End Blocks Id System **/dev/sdd1** * 1 10011 80413326 7 HPFS/NTFS ``` For me, t...
[ 0.03159337118268013, 0.38292592763900757, 0.17907552421092987, 0.18525990843772888, -0.11374041438102722, 0.1340322643518448, 0.14831721782684326, -0.3369896709918976, -0.2957727909088135, -0.25063836574554443, -0.2321913242340088, 0.6704078912734985, 0.29909488558769226, 0.094879373908042...
`/dev/sdd1`. I had to install NTFS-3G, a package that enables NTFS support on CentOS. To install NTFS-3G, I first had to include RPMFORGE in YUM repository list. To include RPMFORGE in YUM repository list, I used these instructions: <http://rpmrepo.org/RPMforge/Using>. For my system, the two commands I had to run we...
[ 0.2999342083930969, 0.2507818043231964, 0.6655349135398865, 0.04027600213885307, -0.16660891473293304, -0.11047523468732834, 0.03738126531243324, -0.5972647666931152, -0.28953129053115845, -0.5856578946113586, -0.10585397481918335, 1.1370810270309448, -0.24430978298187256, 0.12499088793992...
upon boot-up: ``` /dev/sdc1 /mnt/iogear250 ntfs-3g rw,umask=0000,defaults 0 0 /dev/sdd1 /mnt/iomega80 ntfs-3g rw,umask=0000,defaults 0 0 ```
[ -0.3250179588794708, -0.13787367939949036, 0.3815716505050659, 0.059081077575683594, 0.042599208652973175, 0.17301350831985474, 0.42239490151405334, -0.1551990509033203, -0.14529350399971008, -0.6249046325683594, -0.5598219633102417, 0.8003374338150024, -0.20416346192359924, -0.00411697756...
I'm using Windows Xp and i'm looking for a software where I can see the screen of a remote desktop and be able to show a second mouse (or pointer of any sort) that I can mouse to just show something. I want to work with a peer over the net, pretty much like the XP programming method. I find it useful, but it's pretty ...
[ 0.6057270169258118, 0.09466784447431564, 0.46237537264823914, 0.07396328449249268, 0.21407665312290192, -0.23116911947727203, 0.05165613070130348, 0.32604625821113586, -0.10381095856428146, -0.8340878486633301, 0.39346233010292053, 0.6789388656616211, -0.004513465333729982, 0.1437047719955...
to point to a line of code that need to be changed or something like. Do you know any software like this ? You're after something like Microsoft [SharedView](http://www.microsoft.com/downloadS/details.aspx?familyid=95AF94BA-755E-4039-9038-63005EE9D33A&displaylang=en). It allows sharing applications etc with multiple ...
[ 0.47904154658317566, -0.30132099986076355, 0.21610748767852783, 0.3707542419433594, 0.04887527599930763, -0.20056629180908203, -0.2838735282421112, 0.3453241288661957, -0.4712182283401489, -0.6702529191970825, 0.4391998052597046, 0.01799655146896839, -0.14210401475429535, 0.617936789989471...
Can you have smart behavior for the home key in Emacs? By smart I mean that instead of going to the character number 0, it should go to the first non-blank character, and go to 0 on a second pressing, and back to the first non-blank in a third and so on. Having smart end would be nice as well. ``` (defun smart-beginnin...
[ -0.39228394627571106, -0.04789375513792038, 0.2390504777431488, -0.029507676139473915, 0.40876972675323486, 0.08482155948877335, 0.1946677565574646, -0.04165392369031906, -0.06428889185190201, -0.6168480515480042, -0.18812482059001923, 0.6183597445487976, -0.17084170877933502, -0.329491198...
or older (let ((oldpos (point))) (back-to-indentation) (and (= oldpos (point)) (beginning-of-line)))) (global-set-key [home] 'smart-beginning-of-line) ``` I'm not quite sure what smart end would do. Do you normally have a lot of trailing whitespace? **Note:** The major difference between this fun...
[ -0.3016819953918457, 0.11091159284114838, 0.42567434906959534, -0.2348797619342804, 0.040971800684928894, -0.057835135608911514, -0.05617830529808998, -0.36484435200691223, -0.018048929050564766, -0.4086343050003052, -0.11236325651407242, 0.34019383788108826, -0.26309216022491455, -0.12453...
between them. `(back-to-indentation)` always moves to the first non-whitespace character on a line. `(beginning-of-line-text)` sometimes moves past non-whitespace characters that it considers insignificant. For instance, on a comment-only line, it moves to the first character of the comment's text, not the comment mark...
[ -0.18680699169635773, 0.07602733373641968, 0.29454612731933594, 0.042696595191955566, -0.1761101633310318, 0.20527395606040955, -0.0683196410536766, 0.09782597422599792, 0.08310417085886002, -0.5680922865867615, -0.6128356456756592, 0.26264292001724243, -0.16709387302398682, -0.00132399424...