_id
stringlengths
2
6
text
stringlengths
4
46k
title
stringclasses
1 value
d18101
I'm glad to announce that the problem is finally solved. After spending a few days attempting to recreate this bug in a new application, re-constructing the main form in the application, comment out parts of the code in the main application, and generally just shooting all over to try and find a lead, It finally hit me...
d18102
You need to initialize RoomArea. Even though you initialize inside the class it is creating it's own member , but in order to add values you need to initialize it london[0].RoomArea = new int[10]; london[0].RoomArea[0] = 15;
d18103
Since we found the answer to your issue in the comments, it seemed prudent to write up an answer. The problem was that your weren't doing anything with your email configuration array ($email_config). While you may or may not have had the right settings defined there, they meant nothing as they were not used properly. T...
d18104
readlines() includes the end of line characters: In [6]: ff.readlines() Out[6]: ['word1\n', 'word2'] You need to strip them off: word = word.rstrip() count = "X" with open('data', 'r') as ff, open('/tmp/out', 'w') as fw: for word in ff: word = word.rstrip() # strip only trailing whitespace fw.wr...
d18105
If you create the SecurityGroup within the module, it'll be created once per module inclusion. I believe that some of the variable values for the sg name change when you include the module, right? Therefore, the sg name will be unique for both modules and can be created twice without errors. If you'd choose a static n...
d18106
Your constants CKEY1 and CKEY2 and argument Key have int type. So expression Key = (RStrB[i] + Key) * CKEY1 + CKEY2; is calculated using 32-bit values. For example: (4444 + 84) * 11111 + 22222 = 50 332 830 is close to your shown value, isn't it? Delphi code uses 16-bit unsigned variables and corresponding arithmeti...
d18107
Most RDBMS products will optimize both queries identically. In "SQL Performance Tuning" by Peter Gulutzan and Trudy Pelzer, they tested multiple brands of RDBMS and found no performance difference. I prefer to keep join conditions separate from query restriction conditions. If you're using OUTER JOIN sometimes it's ne...
d18108
I would recommend using the -optf switch that is selectable under Project Settings... Build ... Settings...Tool Settings...Miscellaneous and add your own file to the project that contains whatever compiler switches you want to add. I think most compiler switches are already covered in the GUI, however.
d18109
Daniel - Dude there is an issue with the GCM documentation ! Use Browser key as the authorization key at the place of Server API key . It will work. A: OK, i am just shooting in the dark here. Take a look at this line: Request.Headers.Add(HttpRequestHeader.Authorization, "Authorization: key=AIzaSyCEygavdzrNM3pWNPtvaJ...
d18110
You could store the BackUrl parameter in a cookie and check for that cookie existence everytime you log in. If it's defined, then remove it and redirect the user to its value. A: "But this doesn't work, I guess it is due to Rocketloader, but how can I get around this?" The easy way to check this would be to simply dis...
d18111
Sounds like this is a proxy issue, in order to isolate it, if possible and then host the application on the local box and then try to record it, it will work.!!
d18112
From your description I understand that you want to keep everything in the com.foo.bar package (+ subpackages?). You can achieve this by the following rule: -keep class com.foo.bar.** { *; } The ** pattern will match also subpackages, if you only want to current package, use * instead. If you use a rule like this: -ke...
d18113
Your table view needs a clear background colour. For example myTableView.backgroundColor = [UIColor clearColor]; A: I solved it by using another method to add the background image to the UITableViewCell: UIImage *image = [UIImage imageNamed:@"ny_bg_event.png"]; UIImageView *imageView = [[UIImageView alloc] initW...
d18114
You can use localStorage#getItem to get the current list, and JSON#parse to convert it to an array of objects. Then, use Array#push to add the current item, and finally, use localStorage#set and JSON#stringify to save the updated list: function addToCart(id) { try { const hoodie = allHoodies[id]; if(hoodie) {...
d18115
You can learn the meaning of OpenCL error codes by searching in cl.h. In this case, -11 is just what you'd expect, CL_BUILD_PROGRAM_FAILURE. It's certainly curious that the build log is empty. Two questions: 1.) What is the return value from clGetProgramBuildInfo? 2.) What platform are you on? If you are using Apple's ...
d18116
You're assigning the handler function to the wrong member of sig. The declaration of struct sigaction is: struct sigaction { void (*sa_handler)(int); void (*sa_sigaction)(int, siginfo_t *, void *); sigset_t sa_mask; int sa_flags; void (*sa_restorer)(void); }; sig.sa_handler is ...
d18117
You are using __FUNCTION__ like a preprocessor macro, but it's a variable (please read http://gcc.gnu.org/onlinedocs/gcc/Function-Names.html). Try printf("%s", __FUNCTION__) just for testing and it will print the function name. A: __FUNCTION__ is not standard. Use __func__. As the documentation says, it's as if: <ret-...
d18118
You can do: @vehicles = Vehicle.order('vehicles.id ASC') if params[:vehicle_size].present? @vehicles = @vehicles.where(vehicle_size: params[:vehicle_size]) end Or, you can create scope in your model: scope :vehicle_size, ->(vehicle_size) { where(vehicle_size: vehicle_size) if vehicle_size.present? } Or, according t...
d18119
In TYPO3 you should store images as references. TYPO3 provides a File Abstraction Layer which you and your extension should use. That starts with integration in TCA, see: https://docs.typo3.org/m/typo3/reference-tca/10.4/en-us/ColumnsConfig/Type/Inline.html#file-abstraction-layer For the frontend output, you can refer ...
d18120
A descriptor is a kind of a key. When you want to access some room you need to get the key for it. open grants you an access to the room (the file) by giving you a key for it. To access (read/write) the room (the file) you need the key. Then to be fair (the number of key in the system is bounded), when you no more need...
d18121
The simplest way I've found is to tell the Window to size to its content: <Window ... SizeToContent="WidthAndHeight" ...> and then, once it's done sizing (which will take the child elements' MinWidth and MinHeight into account), run some code that sets MinWidth and MinHeight to the window's ActualWidth and ActualHeigh...
d18122
You can implement your own just using ObjectOutputStream and ObjectInputStream. You can create a directory with map's name. store(key, value) operation creates a file with name key.dat, with content of serialized value. load(key) method reads "key.dat" file into an object and returns. Here usage examples of ObjectOut...
d18123
Inspection is right. You declare your notes variable to be nullable array of not nullable items. notes: Array<KeyValueNote>? // Can be null, cannot contain nulls. notes: Array<KeyValueNote?> // Cannot be null, can contain nulls. With this in mind, filterNotNull()?. is necessary for this array because it is nullable. Y...
d18124
Assuming that gamedate is a date field rather than a datetime field, that should work. If it's a datetime field, you would have to use something like date(gamedate) as the first ordering predicate: SELECT * FROM games ORDER BY date(gamedate) ASC, team_id ASC
d18125
public ClassB extends ClassA { public ClassB() throws MyClassAException { super(); } } A: You can add your exception in the throws clause of your sub class constructor: - class ClassA { ClassA() throws Exception { } } public class Demo extends ClassA { Demo() throws Exception { su...
d18126
I deleted my logic app, and re-deployed it and the Logic App is executing as expected and the Trigger history (where it was showing Failed previously) shows as either Skipped (nothing to do) or Succeeded. Strange that only a handful of my Logic Apps were failing, but this fixed my issue at this time.
d18127
db.words.aggregate([ { "$unwind" : "$phrases"}, { "$lookup": { "from": "phrases", "localField": "phrases", "foreignField": "id", "as": "phrases_data" } }, { "$match" : { "phrases_data.active" : 1} }, { "$group" : { "_id" : "$wor...
d18128
ElasticSearch's main use cases are for providing search type capabilities on top of unstructured large text based data. For example, if you were ingesting large batches of emails into your data store every day, ElasticSearch is a good tool to parse out pieces of those emails based on rules you setup with it to enable s...
d18129
for a in soup.find_all('script', type="text/javascript"): print(a.text) find_all() will return a tag list like: [tag1, tag2, tag3] find() will only return the first tag: tag1 if you want to get all the tag in the tag list, use for loop to iterate it.
d18130
For logon you want to store an iterated salted hash of the password not the password itself. Two possibilities are: * *bcrypt - A modified form of blowfish that increases the work factor *PBKDF2 - A function from the PKCS#5 spec that uses HMAC with a hash function and random salt to iterate over a password many ti...
d18131
Have you tried: $globaloptions = array( 'no-outline', 'encoding' => 'UTF-8', 'orientation' => 'Landscape', 'enable-javascript');
d18132
After getting input from console, you should create a loop which breaks when guessed number equal to input. For example: # Input - Guess guess = int(input('Please guess a number between 1 and 100: ')) att = 1 # Process - Guess and Display Result result = num_check(guess, num) while result != guess: if result =...
d18133
Is the publisher actually using async serving or is the creative actually wrapped in a Safe Frame? The reason I am asking is because if the publisher uses synchronous serving and haven't selected to wrap the creative in SafeFrame, there will be no such. A: It looks like, you don't display ad from SafeFrame, but from F...
d18134
Assuming the collection is actually called resources - i.e. you have something that looks like: resources = new Mongo.Collection('Resources'); Then it sounds like you just need to publish the documents to the client: server/publishers.js Meteor.publish('resources', function() { return resources.find(); }); client/s...
d18135
Your problem is that you are using id for check all checkbox that's why jquery always select check-box from first drop-down (Product) you need to use checkAll as class not id then change your clickMe() function like this and it will work : function clickMe(){ $(".checkAll").click(function () { if ($(this...
d18136
I think that your plugin doesn`t set value for your textarea. Check for this.
d18137
Have you actually assigned a value to the Intent? Simply coding Intent intent; will throw a NullPointerException when you call startActivity(intent); like the one you got. Alternately, have you added your second activity to the Manifest file? Android won't launch an Activity that isn't in its Manifest. A: Add followin...
d18138
I think what you are looking for here is not running in batches but running N workers which concurrently pull tasks off of a queue. N = 10 # scale based on the processing power and memory you have async def main(): async with httpx.AsyncClient() as client: tasks = asyncio.Queue() for item in get_i...
d18139
Okay, here is what you have to do * *Get rid of all the home-brewed stuff. Instead of whatever $user->runQuery use vanilla PDO. *Verify the input. See whether your variable contain anything useful. *Use PDO properly, utilizing prepared statements. *Make your code to give at least any outcome. *Do realize that ab...
d18140
Index of text widget should be in one of these formats (i.e "line.column" or tk.END etc.) and your 0 doesn't fit in to any of those. You should change delete line to: listings.delete("1.0", "end") #you can use END instead of "end" to delete everything in text widget. And to make each row appear on new line, simply i...
d18141
<form method="post"> <input type="text" name="numbers"/> <div><input type="submit" value="submit"></div> </form> <?php if(isset($_POST['numbers'])) { $arrayNums = explode(",", $_POST['numbers']); var_dump($arrayNums); } ?> Submitting a form will not pass a submit value in your html designed. Instead...
d18142
You can use request()->getQueryString() to check against the query parameters. @if (!str_contains(request()->getQueryString(), 'page')) || (str_contains(request()->getQueryString(), 'page=1')) // show pagination only if page is 1 or there is no page param @endif
d18143
Tough it isn't the most eloquent solution, you could try to create your own middleware that loads other middleware in a if/else or switch statement. That way you might be able to achieve the behaviour you'd want. Check the docs on the link below on how to program your own middleware: https://laravel.com/docs/5.3/middle...
d18144
Try using location.hash which should return #random=123
d18145
Not sure if this will exactly fit the bill, but check out the ASP.NET Scrollable Table Server Control Or were you asking for a slider pager control that will load more results for the user? A: For future reference, .FixedHeightContainer { float:left; height: 350px; width:100%; padding:...
d18146
When you docker build, you create a container which embeds all stuffs specified in the Dockerfile. If during the execution a local resource cannot be found, then it is most likely that the ressource is not wothin the container or you passed a wrong location. In your case, you might be looking for the WORKDIR dockerfile...
d18147
You can remove an element in javascript using var el = document.getElementById('id'); var remElement = (el.parentNode).removeChild(el); A: I'd suggest something akin to the following: function swapImageSrc(elem, nextElemId) { if (!elem) { return false; } if (!nextElemId || !document.getElementByI...
d18148
You need an interceptor for your Angular client, so make a new injectable like this: @Injectable() export class AuthInterceptor implements HttpInterceptor { constructor(private authenticationService: AuthenticationService) {} intercept(request: HttpRequest<any>, next: HttpHandler): Observable<HttpEvent<any>> { ...
d18149
How about something like this? Would this work for you? Debug Context: import sys class debug_context(): """ Debug context to trace any function calls inside the context """ def __init__(self, name): self.name = name def __enter__(self): print('Entering Debug Decorated func') # Se...
d18150
As you have already noticed, the difference is due to the different mapping of the labels. LIBSVM uses its own labels internally and therefore needs a mapping between the internal labels and the labels you provided. The labels in this mapping are generated using the order the labels appear in the training data. So if ...
d18151
Just a suggestion. Had you think about create a base result class and derive all different result types from it? Doing in that way you can think in use polymorphism to re-interpret the result to the concrete type. But as I don't know your design in depth this can add some extra complexity for you. At least hope it ca...
d18152
If you want to round up and slice appropriately: l = list(range(363)) at_a_time = 10 n = len(l) d, r = divmod(n, at_a_time) # if there is a remainder, add 1 to the keys, 363 -> 37 keys 360 -> 36 keys num_keys = d + 1 if r else d # get correct slice size based on amount of keys sli = n // num_keys # create "sli"...
d18153
You can't add multiple metrics in metrics argument, changing only the parameter with which you call the metric. During the fit of your model, it will detect that you have multiple metrics with same name. The name is automatically set as the name of the inner metric function: acc1, recall and prec in your case. So when ...
d18154
You can make use of the .on() function in order to fire an event once the window is resized or loaded. Example of non working code: var running = false; function imagePopup() { running = true; do the rest here } $(window).on("load resize",function(e){ if ($(window).width() > 768 && running == false) { ...
d18155
This can be done the following way v[myhash( k )].remove( { k, k } ); A: When you use a range-for loop, you get the items of the list. std::list does not have a version of erase that accepts an item to be removed from a list. Instead of using a range-for loop, use an iterator and a normal for loop. auto& list = v[myh...
d18156
M is not diagonally dominant nor positive definite. Use function chol() for positive definite test. The assignment x_old = x_new should not be in the inner loop: while it < maxit x_old = x_new; x_new(1) = (1 / A(1, 2)) * ( b(1) - A(1, 3) * x_old(2) ); for i = 2 : n - 1 x_new(i) = (1 / A(i, 2)) * ( ...
d18157
(I hope I've understood your question correctly.) The relations in your database are always defined in database types, probably either an int or a uniqueidentifer in the case of foreign key columns. The database should know nothing of the data transfer objects NHibernate returns to your application code. When you map t...
d18158
Ranking in this context appears to be in terms of sorted order. For that purpose one can compare the position of the elements in the original list against a sorted list to get the correct answer. Example: s = [2,1,-99,100,45,-2] sorted_s = sorted(s) ranked_s = [ sorted_s.index(value) + 1 for value in s ] print...
d18159
import re text = """System Id Interface Circuit Id State HoldTime Type PRI -------------------------------------------------------------------------------- rtr1.lab01.some GE0/0/1 0000000001 Up 22s L2 -- thing rtr2.lab01.some GE0/0/2 0000000002 ...
d18160
library(dplyr) dat %>% group_by(Site, Year, Month) %>% summarise_each(funs(sum=sum(., na.rm=TRUE)), Count1:Count3) # Source: local data frame [3 x 6] #Groups: Site, Year # Site Year Month Count1 Count2 Count3 # 1 1 1 July 4 0 3 # 2 1 1 June 23 11 6 # 3 1 1 M...
d18161
I figured it out. I thought the problem was in my swtbot tester plugin, but it was indeed in one of the several plugins present in the product i am testing. Solution was to add the dependency in the correct plugin of the product (instead of adding it in the swtbot tester plugin). Thanks anyway
d18162
After your comment, I took your HTML and checked it with a CDN copy of tinyMCE and it work fine: http://codepen.io/anon/pen/mIvFg so I can only assume it's an error with your tinymce.min.js file.
d18163
You should create the pixmap with its biggest possible dimensions. When the ball is meant to be small, just scale it down as you wish.
d18164
Because you add them to the stage, you could try naming them and then calling them via the stage's getChildByName method. Or you could build an array of loaders or, better yet, movieClips. Something like: import flash.display.Loader; import flash.net.URLRequest; var loader:Loader = new URLLoader(); var request:URL...
d18165
I don't think there is a more idiomatic way than using cond directly, binding "string argument" to a symbol and passing it to each predicate. Everything else looks confusing to people reading your code and involves extra function calls. Extra magic could be achieved with the following helper macro: (defmacro pcond "T...
d18166
I had one of the new devices reported this problem, as you know the the Location Manager usually calls this: -(void)mapView:(MKMapView *)mapView didUpdateUserLocation:(MKUserLocation *)userLocation The bizarre thing is that the UserLocation object contains two coordinate objects: 1) userLocation.location.coordinate: ...
d18167
There is a simple way to do that if you're using numpy: variance = tensors.var(axis=3)
d18168
You've added a static import for ContentDisplay.CENTER. Therefore it's used in this line: grid.setConstraints(new Button("Check"),3,4,1,2,LEFT,CENTER,Priority.SOMETIMES,Priority.SOMETIMES); However this method expects VPos, which is not assignable from ContentDisplay, which is why this doesn't compile. You could simpl...
d18169
The way to approach this is to make the container float right, and the items inside of it to float left, if you want to use floats for this purpose. And since you are using float which will cause the element width to depend on its content, you will need to add a wrapper to your <nav> element, that will have the same ba...
d18170
There is not IsOptional in EntityFrameworkCore but there is IsRequired to do the oposite. By default field are nullable if the C# type is nullable. A: You can achieve the same effect with IsRequired(false). This will override annotations like [Required] so be careful. On another thread, it was pointed out that annot...
d18171
The problem lies in that line because you are returning return ( {authenticated ? (...) : (...)}); Which means, that you're trying to return an object, and that's not what you actually want. So you should change it to this: return authenticated ? ( <Popover overlayClassName="gx-popover-horizantal" place...
d18172
This is because, when you create displayStats you take the value of the textarea at the moment of the creation (e.g. nothing). To make your script working, you can "store" the reference to the textarea in displayStatsand access his value when needed. This is the corrected script: // global variables var numWords = 0; v...
d18173
Not sure but it seems that using : WindowVisibility = Visibility.Hidden; Doesn't help keeping the window from appearing when taking a screenshot, I had to hide the window using the .Hide() method: Application.Current.MainWindow.Hide(); That worked just well, bust still doesn't have any explanation why the Visibility...
d18174
Modern web development is now actually divided in to two major parts * *Frontend (JavaScript and related things) *Backend (PHP, NodeJS or others) Now if you are more interested in designing the User Interface and what shows on the screen, then go forward to HTML and then JavaScipt and then JQuery (which is an opens...
d18175
Do something like this: @published_events = Event.select("events.*, dates.date AS date_of_event") .joins(:dates) # you join dates table to sort the events by date .where(:published => true) # here you take only published events .order("dates.date ASC") # here you order t...
d18176
Twilio SendGrid developer evangelist here. From the docs: To ensure our customers maintain the best possible sender reputations and to uphold legitimate sending behavior, we require customers to verify their Sender Identities. A Sender Identity represents your “From” email address—the address your recipients will see ...
d18177
In general, if entity id is not null, hibernate will perform update. More information here: saveOrUpdate() does the following: * *if the object is already persistent in this session, do nothing if another object associated with the session has the same identifier, throw an exception *if the object has no identifier...
d18178
In the else part, you are not checking again if the names are the same or not. That's why it's not showing Success the next time when you gave the same names. Using a loop would be better if we want to take inputs until the same names are entered. public static void main(String args[]) throws IOException { Buffered...
d18179
I would check php fpm logs. Maybe running out of php fpm processes.
d18180
Solution in my question. In topic1 I found it: X4V1 answered Jun 16 '15 at 20:24 I have found a trick to do that without having to copy the canvas. This solution is really close to css zoom property but events are handle correctly. This is an example to display the canvas half its size: -webkit-transform : scale(0...
d18181
I would set up a parsing function that reacts to every change in any of the form elements, and "compiles" the string containing the bits of information. You could set this function to the "onchange" event of each element. How the parsing function will have to look like is really up to what you want to achieve. It could...
d18182
<?php $code = <<<CODE eval(gzinflate(base64_decode(str_rot13(strrev('==jC9/3aks/9//950fElFo+AhZMoHt5ptamYrSq0F2D9nrc/sBsgZkRIjULvIIa5E0RVGJPIDYErPtxPPVzfh+hlTjjCovI7l2N37C3bPDVxFQ3VrqwHRk4z55vuxZjGro526lFixNQ3ZwmYAA88DzUTzJPk3zwJR9Lsb5VbUg1owEOEGXUL0fVvoTtZWcefoBbqBXK8t/aQTitbtgjJYT3ILq9i8PFvMj9JOp/pcKg/dq55QUPGeaIXyF...
d18183
Is "dateString" supposed to be "dateCreated"? This code works: var dateCreated = new Date('2015-01-20'); var dd = dateCreated.getDate(); var mm = dateCreated.getMonth()+1; var yyyy = dateCreated.getFullYear(); if(dd<10) { dd='0'+dd } if(mm<10) { mm='0'+mm } dateCreated = yyyy + '-' + mm+'-'+dd; ; console.log(da...
d18184
Disclaimer: I work for Redis Labs, the company providing Redis Cloud. 1) Can I choose any of Azure Redis cache or Redis cloud service if I interface through stackexchange.redis nuget? Yes - both Azure Redis and Redis Cloud provide a Redis database that you can use with the StackEchange.Redis client from your app. 2)...
d18185
This is what worked for me in the past. I'm not exactly sure of why it works and your solution doesn't, but I think it has something to do with not specifying the collection or the file in a certain way. mongoimport -u client -h production-db-b2.meteor.io:27017 -d myapp_meteor_com -p passwordthatexpiresreallyfast /path...
d18186
I just solved this issue for myself. Go here: http://search.maven.org/#search%7Cga%7C2%7Cjogamp and download gluegen-2.3.2, gluegen-rt-2.3.2, and jogl-all-2.3.2 (or whatever the latest version is). You have to download two things for each, the regular jar AND the source.
d18187
When you initialize the scroll on load make sure you have stored it in a variable called ias. Something like this var ias = jQuery.ias({ container: "#posts", item: ".post", pagination: "#pagination", next: ".next a" }); And in success method call just the ias.destroy(); and ias.bind(); methods as you have done...
d18188
This is only a workaround Do not use display: none;. Instead write: ... .link{ display: block; cursor: default; } @media(max-width:768px){ .link{ cursor: pointer; } } This will make the mouse cursor appear normal in desktop and appear clickable on mobile. In reality you can still click, but 99+% of visit...
d18189
Try following the instructions given in this link: http://jimneath.org/2011/10/19/ruby-ssl-certificate-verify-failed.html And you have to make this minor change in fix_ssl.rb at the end: self.ca_file = Rails.root.join('lib/ca-bundle.crt').to_s I hope this helps.
d18190
You are updating your @costproject AFTER the if condition, I guess you should do it before. You should consider doing it only if update_attributes returns true, as in following code: respond_to do |format| if @costproject.update_attributes(params[:costproject]) flash[:success] = "Project Submitted" if @costprojec...
d18191
invalidate() just forces a repaint, it doesn't redo the whole layout, as you noticed. You can force a relayout by going up to the parent Screen object, and calling invalidateLayout(). Forcing the layout will almost certainly call setPositionChild() on the field you are trying to move, so you will want to make sure the...
d18192
false }); } else { $(settings.target).stop().animate({ scrollTop: heights[index] }, settings.scrollSpeed,settings.easing); } if(window.location.hash.length && settings.sectionName && window.console) { try { if($(window.location.hash).length) { console.warn...
d18193
The problem is that you have the linux kernel 4.1.4 header files in the directory for kernel compilation. To compile user programs, the compiler normally looks for them in /usr/include (well, in the new architectures, it is some more complicated) and there's normally a copy of the kernel headers for the running kernel ...
d18194
Here are two possible solutions - there may be simpler ones... Version 1: Using find() and project() only plus some BSON magic var collection = new MongoClient().GetDatabase("test").GetCollection<Level>("test"); var projection = Builders<Level>.Projection.ElemMatch(level => level.ConnectingQuestions, q => q.QuestionNu...
d18195
The format you show you want cannot use smalldatetime because that is not the format of the data type you selected on your destination table. The destination date format would be like 2016-03-07 09:27:00, but if you want it as 2016-03-07-09-27:01 then you will have to store that as a string in your table. As well the i...
d18196
As far as I know, a SignalR server could be hosted in IIS, but it could also be self-hosted (such as in a console application or Windows service) using the self-host library. If IIS is not available (or not install) on your windows computer, self-host would be preferable. As you said, you could create a SignalR server ...
d18197
You can use rhc app-tidy <yorApp> to delete the logs and contents of the /tmp directory on the gears (this is used primarily in order to free up some disk space). You can also ssh into your app rhc ssh <yourApp> and check individual logs in ~/app-root/logs/, which may bring some clarity if you are reading only the log ...
d18198
One possible suspect constalation in your use case would be if the threadno is not uniquely mapped to the join keys used in the MERGE. You may quickly check it with the query below - it should not return any row. If yes, you have a postential problem described later. select COY, COL2, TRXNO, min(THREADNO), max(THREADNO...
d18199
You should be able to swap the libraries as you suggested, but they need to all be swapped at once, otherwise you will run into incompatibilities around the event model and inheritance. Make sure to swap the MovieClip library as well. As you suggested, the easiest way to do this is to publish once, then turn off "overw...
d18200
Just dig up the article by Park and Miller in the Oct 88 issue of CACM. The general algorithm they propose is: a = 16807; m = 2147483647; seed = (a * seed) mod m; random = seed / m; Though the article includes several refinements. A: A random number generator is basically a special* hash function which runs recursive...