text
stringlengths
20
1.01M
url
stringlengths
14
1.25k
dump
stringlengths
9
15
lang
stringclasses
4 values
source
stringclasses
4 values
Why does JRules show incorrect results when performing certain arithmetic operations on decimal numbers? For example, if I add 1.09 to 0.9, the result is 1.990000000000003. Answer by odmfp (10435) | Feb 11, 2015 at 02:57 AM Cause Decimal numbers are generally encoded in computer programs. Therefore, they cannot be repr...
https://developer.ibm.com/answers/questions/174813/the-results-of-arithmetic-operations-show-unexpect.html?smartspace=hybrid-cloud-core
CC-MAIN-2019-26
en
refinedweb
No, this is not a known issue. Please raise a ticket on the JIRA issue tracker for this. The more information about the bug, the faster it is likely to be resolved. (Adding a patch or a pull request with unit tests is ideal.) Remko (Shameless plug) Every java main() method deserves > On May 30, 2018, at 8:36, Husby, Jo...
http://mail-archives.us.apache.org/mod_mbox/logging-log4j-user/201805.mbox/%3C208A9621-4FCA-49A0-9608-F128961589FF@gmail.com%3E
CC-MAIN-2019-26
en
refinedweb
Archive Retrieving web pages with foreign characters When you make a request to a web page using code such as: HttpWebRequest httprequest = (HttpWebRequest)WebRequest.Create(requestURI); HttpWebResponse httpresponse = (HttpWebResponse)httprequest.GetResponse(); Stream responsestream = httpresponse.GetResponseStream(); ...
https://blog.dotnetframework.org/2005/03/
CC-MAIN-2019-26
en
refinedweb
Timeline … - 10/01/09: - 17:17 Ticket #2380 (Refactor template plugin options loading in view.load_engines) closed by - fixed: Yes, corrected that already in my working copy. I have applied it now in … - 17:08 TicketQueries edited by - (diff) - 16:53 TicketQueries edited by - Updated to show links for current milestone...
http://trac.turbogears.org/timeline?from=2009-10-17&daysback=30&authors=
CC-MAIN-2019-26
en
refinedweb
In my code below, I am defining two functions. main cube main cube main >>> def main(): number = int(input('Enter a number: ')) cubed_number = cube(number) print("The number cubed is: ", cubed_number) >>> def cube(number): return number * number * number >>> cube main NameError >>> main() Enter a number: 5 The number c...
https://codedump.io/share/ADBtRb7YTW8A/1/why-can-i-use-a-variable-in-a-function-before-it-is-defined-in-python
CC-MAIN-2019-26
en
refinedweb
Another angle, with Big Bang, what happens to companies that have purchased an application container? Are they going to pay for an upgrade that includes just a namespace change? Where Iâve had trouble upgrading application servers in the past has centered around the JSF UI stuff. For some old applications, EE upgrades ...
https://www.eclipse.org/lists/jakartaee-platform-dev/msg00216.html
CC-MAIN-2019-26
en
refinedweb
> to test out my json save function i built my game i clicked my savegame button and it saved my data when i clicked my load button it changed my players coordinates to the coordinates of the player when i saved my game. However when i exited my game and tried to load it didnt save the map or my position heres my savin...
https://answers.unity.com/questions/1540906/my-json-saves-but-doesnt-load-after-i-exit-my-game.html
CC-MAIN-2019-26
en
refinedweb
Xamarin.Essentials: Geocoding The Geocoding class provides APIs to geocode a placemark to a positional coordinates and reverse geocode coordinates to a placemark. To start using this API, read the getting started guide for Xamarin.Essentials to ensure the library is properly installed and set up in your projects. To ac...
https://docs.microsoft.com/en-us/xamarin/essentials/geocoding?context=xamarin/xamarin-forms
CC-MAIN-2019-26
en
refinedweb
The product function is one of several handy combinatoric iterators included in the itertools module. Combinatoric iterators are related to an area of mathematics called enumerative combinatorics, which is concerned with the number of ways a given pattern can be formed. product gives us a way to quickly calculate the c...
https://blog.tecladocode.com/python-snippet-8-itertools-part-1-product/
CC-MAIN-2019-26
en
refinedweb
Toggle navigation About Products WPC Decking Wall Panel Privacy Fence PVC Synthetic Boat Decking PVC Fence Outdoor Furniture Market Gallery Durable Composite deck For Sale Product List kerala pvc panel ceiling image australia wood panel veranda horizontal rail kit composite decking forms chat line composite decking joh...
https://www.certificadoenred.es/composite-deck/
CC-MAIN-2019-26
en
refinedweb
. Step 1: How It Works: - Red for Anger - Yellow for Happy - Pink for Love - White for Fear - Green for Envy - Orange for Surprise - Blue for Sadness - "wow" - "can't believe" - "unbelievable" - "O_o". - You could put it on your desk to get an early warning of something big happening somewhere in the world - A literal ...
https://www.instructables.com/id/Twitter-Mood-Light-The-Worlds-Mood-in-a-Box/
CC-MAIN-2019-26
en
refinedweb
ExpressionToCodeLib 1.5.0. See the version list below for details. Install-Package ExpressionToCodeLib -Version 1.5.0 dotnet add package ExpressionToCodeLib --version 1.5.0 <PackageReference Include="ExpressionToCodeLib" Version="1.5.0" /> paket add ExpressionToCodeLib --version 1.5.0 Release Notes Added experimental A...
https://www.nuget.org/packages/ExpressionToCodeLib/1.5.0
CC-MAIN-2019-26
en
refinedweb
Java’s generics have undoubtedly made life easier in some cases by enforcing type safety on collections. One collection that frequently does not benefit from them is maps used in a heterogeneous way – that is, a java.util.Map (or equivalent) that contains several non-compatible values. Assuming the keys are of the same...
https://www.objectify.be/wordpress/2010/04/21/storing-multiple-object-types-in-java-maps-with-type-safety/
CC-MAIN-2019-26
en
refinedweb
CodePlexProject Hosting for Open Source Software I would like to render a part that will supply my pages with general functionality such as rendering resources @Script.Include, @Style.Include and general background widgets like Popup windows etc. that all pages and widgets can use. How would I go about including this p...
http://orchard.codeplex.com/discussions/259475
CC-MAIN-2017-51
en
refinedweb
Getting Started WinShared is both a starting framework and sample code for Unity ports to Windows. The repository itself is a Unity project with useful plugins, scripts, tools and a sample game. The repository contains Windows Solutions which enhance and extend the base solutions outputted from Unity specifically for W...
http://unitylist.com/r/19h/marker-metro-.-unity-.-win-shared
CC-MAIN-2017-51
en
refinedweb
setpgid(2) BSD System Calls Manual setpgid(2) NAME setpgid, setpgrp -- set process group SYNOPSIS #include <unistd.h> int setpgid(pid_t pid, pid_t pgid); pid_t setpgrp(void); DESCRIPTION Setpgid() sets the process group of the specified process pid to the specified pgid. If pid is zero, then the call applies to the cur...
http://www.manpagez.com/man/2/setpgrp/
CC-MAIN-2017-51
en
refinedweb
India asks Israel to speed up supply of radars Expand Messages - India Wants Arms Purchases Deals With Israel, United States Expedited SAP20020601000078 Mumbai The Times of India (Internet Version-WWW) in English 01 Jun 02 [PTI Report: "India asks Israel to speed up supply of radars" ] [FBIS Transcribed Text] NEW DELHI...
https://groups.yahoo.com/neo/groups/MewNews/conversations/topics/6102
CC-MAIN-2017-51
en
refinedweb
This proposal attempts to provide combined wording for the changes requested by the NB comments GB 55, US 84, US 85, and US 86 against C++17.The general approach is to follow the suggested directions described by the issues: Required change: Split INVOKE_R from being an additional INVOKE "overload". Required change: Re...
http://www.open-std.org/jtc1/sc22/WG21/docs/papers/2017/p0604r0.html
CC-MAIN-2017-51
en
refinedweb
These Lights look incredible thank you so much for source. When the new haxeflixel version comes out you should really try giving your assets some normal maps your game would look even more incredible with lights then. Posts made by PXshadowHF - RE: Super Cute Alien - A cute platformer, inspired on BattleBlock Theater,...
http://forum.haxeflixel.com/user/pxshadowhf/posts
CC-MAIN-2017-51
en
refinedweb
Lots of really important news coming in right now, both because the mid-year updates of the Revit family products are now available and because we just released the Revit 2011 DevTV recordings that we are so excited about. Similar to last year, Autodesk provides two types of mid-year updates to Revit: - The Web Update ...
http://thebuildingcoder.typepad.com/blog/2010/10/subscription-release-and-updated-sdk.html
CC-MAIN-2017-13
en
refinedweb
Programming help with monthly compound interestIf you are supposed to use sum.cpp and the instructions on the course page, I would use (principle *... Help with programming compound interest programI'm a noob too, but maybe this will work? #include <iostream> using namespace std; int main() { ... This user does not acc...
http://www.cplusplus.com/user/Ante1234/
CC-MAIN-2017-13
en
refinedweb
Problem: Imagine you start at the corner of an X by Y grid. You can only move in two directions: right and down. How many possible paths are there for you to go from (0, 0) to (X, Y) def gridMovingCount(x, y, cache): if x == 0 or y == 0: return 1 elif str(x)+":"+str(y) in cache: return cache[str(x)+":"+str(y)] else: ca...
https://codedump.io/share/7wdJz42Kdo9s/1/python-recursive-call-counting-ways-of-walking-grid-yield-incorrect-answer-when-grid-size-is-too-large
CC-MAIN-2017-13
en
refinedweb
Foreword If you already read some other blog post about unusual mocking, you can skip prelude via this link. I was asked to put together examples for how to mock Java constructs well known the current hectic agile world to make such classes easy to unit test the standard way. When you are trying to unit test such class...
https://dzone.com/articles/mock-private-method
CC-MAIN-2017-13
en
refinedweb
A Walk Through Fire Frodo is on the quest to destroy the Lord of the Rings. But Frodo has to cross some dangerous blocks which have fire on them. There are N blocks and Frodo starts from block 1, which doesn’t have fire.Each i-th block will have fire starting at time 0 and stopping at time T[i]. Of-course, T[1]=0 as Fr...
https://coderinme.com/walk-fire-hackerearth-problem-coderinme/
CC-MAIN-2018-47
en
refinedweb
A colleague approached me today asking whether I've tried importing TIFFs into Python for image processing with SciPy. My image processing experience has been mainly focussed within a MATLAB environment, so we set about going through this together. Unfortunately, none of the images we tried to process with imread and i...
http://andrew-hills.blogspot.com/2013/03/importing-16-bit-tiffs-into-numpy.html
CC-MAIN-2018-47
en
refinedweb
This node represents an addition of some number of SCEVs. More... #include "llvm/Analysis/ScalarEvolutionExpressions.h" This node represents an addition of some number of SCEVs. Definition at line 217 of file ScalarEvolutionExpressions.h. Methods for support type inquiry through isa, cast, and dyn_cast: Definition at l...
http://llvm.org/doxygen/classllvm_1_1SCEVAddExpr.html
CC-MAIN-2018-47
en
refinedweb
On Sun, Jul 7, 2013 at 3:14 AM, Jeff King <p...@peff.net> wrote: > The pack revindex stores the offsets of the objects in the > pack in sorted order, allowing us to easily find the on-disk > size of each object. To compute it, we populate an array > with the offsets from the sha1-sorted idx file, and then use > qsort t...
https://www.mail-archive.com/git@vger.kernel.org/msg31659.html
CC-MAIN-2018-47
en
refinedweb
This document describes the TCallBack class. The class encapsulates a pointer to a function which takes an argument of type TAny* and returns a TInt. The class is generally useful but, in particular, simplifies the programming interface of the CIdle and CPeriodic classes. Given a suitable function and a pointer to an o...
http://devlib.symbian.slions.net/belle/GUID-C73318E7-44E2-5F42-BDB0-AAE9BD72BF5C.html
CC-MAIN-2018-47
en
refinedweb
One of the greatest challenges associated with maintaining a complex desktop application like Dropbox is that with hundreds of millions of installs, even the smallest bugs can end up affecting a very large number of users. Bugs inevitably will strike, and while most of them allow the application to recover, some cause ...
http://engineeringjobs4u.co.uk/crash-reporting-in-desktop-python-applications
CC-MAIN-2018-47
en
refinedweb
Introduction This. - Note - Before starting, make sure you have built mlpack for Windows following this Windows guide Creating the VS project - Open Visual Studio and create a new project (Windows Console Application) - For this sample, the project is named “sample-ml-app” Project Configuration There are different ways...
http://mlpack.org/docs/mlpack-git/doxygen/sample_ml_app.html
CC-MAIN-2018-47
en
refinedweb
Final Destination Bob and Khatu are stuck in matrix. The command center sent them a string which decodes to the their final destination. Since Bob and Khatu are not good at problem solving help them to figure out their final destination. They are initially at (0, 0). String contains L, R, U, D denoting left, right, up ...
https://coderinme.com/final-destination-hackerearth-problem-coderinme/
CC-MAIN-2018-47
en
refinedweb
OK I'm using VC++ and I've read the MSDN description at wcsrtombs_s but I've obviously misunderstood something. The following function is supposed to produce a popup window with the message given in 'str'. When compiled as a Unicode program the wide string str needs to be converted into a UTF-8 string for fl_message. W...
https://cboard.cprogramming.com/cplusplus-programming/116567-wcsrtombs_s-question.html
CC-MAIN-2017-22
en
refinedweb
when one value matches the value of the variable, the computer continues executing the program from that point. C switch statement is a multiway decisions that tests whether a variable or expression matches one of a number of constant integer values, and branches accordingly. Syntax of switch statement: switch(express...
http://csetips.catchupdates.com/switch-statement/
CC-MAIN-2017-22
en
refinedweb
Ionic 2 and External Libraries Now that Ionic 2 is out in beta, people are setting aside some time to give it a shot and investigate everything it has to offer. Ionic 2 and Angular 2 bring a lot of improvements, but it’s a fairly different style of developing that what people were used to before. Now, since everything ...
https://mhartington.io/post/ionic2-external-libraries/
CC-MAIN-2017-22
en
refinedweb
#include <DrawableMesh.h> Inheritance diagram for Track::DrawableMesh: The mesh's faces are defined using the vertex position, normal, and texture coordinates. Shaders / texturing / materials etc is left to the user. Definition at line 26 of file DrawableMesh.h. Method for rendering. Definition at line 30 of file Drawa...
http://racer.sourceforge.net/classTrack_1_1DrawableMesh.html
CC-MAIN-2017-22
en
refinedweb
Download & Releases NEST is available under the GNU General Public License 2 or later. This means that you can - use NEST for your research, - modify and improve NEST according to your needs, - distribute NEST to others under the same license. To find out more about NEST, see the list of features and the user documenta...
http://nest-simulator.org/download/
CC-MAIN-2017-22
en
refinedweb
there, The one important thing is, that the gl commands are sent to the actual gldevice context. To set the actual context you have to use glCanvasSetCurrent. So when you want two gl windows just do it and befor drawing in one switch the contex to this one. Here is the modified GlCanvas.hs from the sample directory th...
https://sourceforge.net/p/wxhaskell/mailman/wxhaskell-users/?viewmonth=200501&viewday=30&style=flat
CC-MAIN-2017-22
en
refinedweb
Hello everybody, I have a little problem.. A program I'm modifying has the following behavior : If an option is given, it will write information messages to the screen, but if an other option is given, it will write information messages to a File named LogFile.txt ... Now, what's done in the code is this : freopen("Log...
http://forums.codeguru.com/showthread.php?267841-cong.-Chinese-Spaceship&goto=nextnewest
CC-MAIN-2017-22
en
refinedweb
I recently became very interested in the Neo4j graph database:, as I'm working on data structures that are hierarchical and tricky to walk in a relational database. I came across an interesting video presentation on neo4j by Ian Robinson on the skillsmatter website -. He and colleagues have put together a database of f...
http://thornydev.blogspot.com/2011/11/
CC-MAIN-2017-22
en
refinedweb
view raw Here is the code for a calculator in Python: import time #Returns the sum of num1 and num2 def add(num1, num2): return num1 + num2 #Returns the difference of num1 and num2 def subtract(num1, num2): return num1 - num2 #Returns the quotient of num1 and num2 def divide(num1, num2): return num1 / num2 #Returns the...
https://codedump.io/share/fQXzUb85Og0H/1/simplifying-code---perform-mathematical-operations-based-on-operator
CC-MAIN-2017-22
en
refinedweb
This forum is now read-only. Please use our new forums at discuss.codecademy.com. Getting Started with Programming Forum if / else errors - learn how to fix these If you have a question that isn't answered here, please use the green "Ask a question" button. Copy/paste all of your code in with your question, include the...
https://www.codecademy.com/forum_questions/52373a75548c3515940000dc
CC-MAIN-2017-22
en
refinedweb
Q:. Q:.) Q: Q: Q: [footnote] and it may not do everything you want it to. (For instance, it does not handle quoting.) Here is a usage example, which simply prints each field as it's extracted: #include <stdio.h> #include <string.h> char string[] = "this is a test"; /* not char *; see Q 16.6 */ char *p; for(p = strtok(...
http://c-faq.com/~scs/cgi-bin/faqcat.cgi?sec=lib
CC-MAIN-2017-22
en
refinedweb
I have two paired bluetooth devices (my car's head-unit for phone audio and a separate bluetooth receiver for A2DP). On my phone there's a checkbox for "Use for media audio" that I have to manually toggle for my A2DP output to go to my car's speakers. My goal is to toggle this programmatically. I tried using both the A...
http://ebanshi.cc/questions/203153/toggling-a2dp-device-android
CC-MAIN-2017-22
en
refinedweb
In part 1, we had gotten a crash by sending a 2048-byte pattern to the vulnerable program. The saved return address had been overwritten with 0x41367241 and restored to the $ra register. That value is located at an offset of 528 in our overflow buffer. Now we need to start describing ROP gadgets and substituting them f...
http://shadow-file.blogspot.com/2013/03/buffer-overflows-with-crossbow-part-2.html
CC-MAIN-2017-22
en
refinedweb
I don’t know how many times I have seen a method which I have been trying to debug with a whole stack of parameter checking code at the start of the method to ensure nothing weird happens with unexpected input. This subsequently caused the nicely abstracted methods to be less abstract than originally intended. Thankful...
https://blogs.msdn.microsoft.com/davethompson/2010/01/12/code-contracts-with-net-4-0/
CC-MAIN-2017-22
en
refinedweb
The "Avalon" Input System Nick Kramer Microsoft Corporation March 2004 Summary: The presentation subsystem in "Longhorn" (code-named "Avalon") provides powerful new APIs for input. This article gives an overview of these APIs: What services are provided to applications, the architecture of the input system, and how new...
https://msdn.microsoft.com/en-us/library/aa480167.aspx
CC-MAIN-2017-22
en
refinedweb
Add an Alias (CNAME) Resource Record to a Zone Applies To: Windows Server 2008, Windows Server 2008 R2 server-1, for the server computer that hosts these services. Membership in the Administrators group, or equivalent, is the minimum required to complete this procedure. Review details about using the appropriate accoun...
https://technet.microsoft.com/library/cc772053.aspx
CC-MAIN-2017-22
en
refinedweb
Your answer is one click away! I have a very simple Java class, that does nothing else but: public class TestMain { public static void main(String[] args) { System.out.println("Running!"); System.exit(1111); } } , packed into a TestOSX.jar file. While on Windows I can run the above snippet and show that %ERRORLEVEL% ha...
http://www.devsplanet.com/question/35282281
CC-MAIN-2017-22
en
refinedweb
Right?? Sometimes both are overkill, and we're not doing anyone a favor by over-architecting a solution. Providing a bigger solution than is needed wastes time and money, increases complexity and maintenance costs, and more importantly, doesn't provide any extra value to our users. The de facto approach for application...
http://www.matthanger.net/2010/07/storing-data-on-filesystem-with-touch.html
CC-MAIN-2017-22
en
refinedweb
Type: Posts; User: Chris ZANARDI Yes, it's the problem. What I do now is I keep my exe alive as long as my AUDROS application is alive. So the icons stay correct. Thanks. hi gurus I try to make an exe to change the icon of a window of an other application. here my code : #include "stdafx.h" #include <winbase.h> #includ...
http://forums.codeguru.com/search.php?s=30c088d9f4e788c144588528ae9c8ab2&searchid=7002865
CC-MAIN-2015-22
en
refinedweb
Details - Type: Bug - Status: Closed - Priority: Major - Resolution: Fixed - Affects Version/s: 1.8.4 - Fix Version/s: 1.8.6, 2.0-beta-3 - Component/s: parser-antlr - Labels:None - Number of attachments : Description Take this code and put it into the groovy console: def meth() { label: assert i == 9 } Now inspect the ...
http://jira.codehaus.org/browse/GROOVY-5197?focusedCommentId=287029&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel
CC-MAIN-2015-22
en
refinedweb
" EBOs evolve over multiple generations as you add, remove, or change the semantics or characteristics of content. The primary reasons for changes in EBOs are: Product enhancements Bug fixes Adoption of new technologies and language enhancements Each EBO in the library has its own release life cycle, so each object has...
http://docs.oracle.com/cd/E28280_01/doc.1111/e17363/chapter07.htm
CC-MAIN-2015-22
en
refinedweb
[ Link to First Tutorial ] While there is much you can “pick up as you go” if you are an Objective-C programmer, understanding some of the fundamental differences in C# can save you a great deal of time and confusion. But programming Windows Phone 7 involves two languages, C# and Xaml, and fully grokking Xaml and the r...
http://jesseliberty.com/2010/09/18/iphone-to-windows-phone-7-tutorial-objective-c-c-xaml/
CC-MAIN-2015-22
en
refinedweb
10 May 2013 22:23 [Source: ICIS news] MEDELLIN, ?xml:namespace> The incident at the According to the company, a new Topping C unit will be operational within a few weeks, while a new coking facility currently under construction is expected to come online in 2015. “Technical evaluations are being carried out with the ob...
http://www.icis.com/Articles/2013/05/10/9667555/argentina-ypf-refinery-to-operate-at-reduced-capacity-until.html
CC-MAIN-2015-22
en
refinedweb
Using. (The general approach would also work for a web service using SOAP.) We will also see how the reports (or "living documentation", in BDD terms) generated by these automated acceptance criteria also do a great job to document the web service. Thucydides is an open source BDD reporting and acceptance testing libra...
https://weblogs.java.net/blog/johnsmart/archive/2014/04/22/using-bdd-web-services-tutorial-using-jbehave-and-thucydides
CC-MAIN-2015-22
en
refinedweb
Hi !! I wanted to know how to go about game development. What should the language be, VB or JAVA or C,C++ ? Can anyone suggest a good book and site for game programming ? I know a bit of C. Can anyone please help me with this? Thanks in advance. Printable View Hi !! I wanted to know how to go about game development. Wh...
http://cboard.cprogramming.com/game-programming/9553-game-prgramming-where-begin-printable-thread.html
CC-MAIN-2015-22
en
refinedweb
06 June 2012 04:43 [Source: ICIS news] SINGAPORE (ICIS)--China-based Qingyuan Natural Gas had to postpone the start-up of its 50,000 cubic metre (cbm)/day liquefied natural gas (LNG) project at Ordos in ?xml:namespace> Problems at the unit’s compressor prevented it to start production as originally scheduled on 6 June,...
http://www.icis.com/Articles/2012/06/06/9566566/chinas-qingyuan-natural-gas-delays-start-up-of-ordos-lng-plant.html
CC-MAIN-2015-22
en
refinedweb
26 March 2013 19:10 [Source: ICIS news] LONDON (ICIS)--The European Commission has opened an in-depth investigation into the planned takeover by ?xml:namespace> The Commission fears that the deal would remove the only competing producer of naphthenic base oils in the European Economic Area (EEA), it said. Under the dea...
http://www.icis.com/Articles/2013/03/26/9653672/EU-to-probe-Nynas-deal-for-Shells-Hamburg-base-oil-assets.html
CC-MAIN-2015-22
en
refinedweb
[JXSE 2.6] Problems joining to a peergroup Hi! Have there been changes when joining a group? I can't use the code that I wrote to join to a group, now the method isReadyForJoin always return false. PeerGroup group = netpg.newGroup(id, impAdv, name, description); AuthenticationCredential myAuthCred = new AuthenticationC...
https://www.java.net/node/702992/atom/feed
CC-MAIN-2015-22
en
refinedweb
lttng-ust — LTTng user space tracing #include . Note: Using the tracef(3) API, which is similar to printf(3). Using the tracelog(3) API, which is tracef(3) with a log level parameter. Defining your own tracepoints. See the Creating a tracepoint provider section below. Creating a tracepoint provider is the first step of...
http://lttng.org/man/3/lttng-ust/v2.9/
CC-MAIN-2017-13
en
refinedweb
Hi I am sending a JSON Post request using the FireFox RestClient. My JSON Request is as below: { "firstName": "Test", "lastName": "1", "isActive": 1 } private boolean isActive; @RequestMapping(method = {RequestMethod.POST, RequestMethod.PUT}, value = "/save") public ResponseEntity<RestResponse> save( @RequestBody POJOU...
https://codedump.io/share/75xXvVRDUjYG/1/json-post-request-for-boolean-field-sends-false-by-default
CC-MAIN-2017-13
en
refinedweb
This article describes an easy approach to keeping track of each installation of an application. The intent of the example is to demonstrate the use of a simple web service to collect and store information about each user and machine running the application. I was originally driven to coming up with something like this...
https://www.codeproject.com/articles/15636/phone-home-an-approach-to-software-activation?msg=2038294
CC-MAIN-2017-13
en
refinedweb
extension:() HttpRequest => HttpResponsefor)() In this example, a request is handled by transforming the request stream with a Future’s completion: import akka.actor.ActorSystem import akka.http.scaladsl.Http import akka.http.scaladsl.Http.ServerBinding import akka.stream.ActorMaterializer import scala.concurrent.Futu...
http://doc.akka.io/docs/akka-http/current/scala/http/low-level-server-side-api.html
CC-MAIN-2017-13
en
refinedweb
#include <OgreAnimationUpdater.h> Allows blended animation playback of OgreVisibleObjects. NOTE: This method applies the animation to an entity attached to the OgreVisibleObject's SceneNode with the same name as obj_. It is assumed that obj_ is in this Updater. Returns false if obj_ is already in this updater. Reimplem...
http://tactics3d.sourceforge.net/Docs/html/class_open_sky_net_1_1_ogre_core_1_1_ogre_animation_updater.html
CC-MAIN-2017-13
en
refinedweb
I'm using mingw gcc(3.xxx) compiler. In the following code I pass a variable 'q'as 'const' but I later use its private members in the '>>'operator (in the same function) which obviously modify it. but the compiler did'nt complain and the programm compiled. Later during execution when I used the '>>' operation, the prog...
https://cboard.cprogramming.com/cplusplus-programming/70324-mingw-not-complaining.html
CC-MAIN-2017-13
en
refinedweb
BWU Log BWU Log is a fork of Quiver log. It is a set of logging utilities that make it easy to configure and manage Dart's built in logging capabilities. The Basics Dart's built-in logging utilities are fairly low level. This means each time you start a new project you have to copy/paste a bunch of logging configuratio...
https://www.dartdocs.org/documentation/bwu_log/0.1.1/index.html
CC-MAIN-2017-13
en
refinedweb
IniFiles(3pm) User Contributed Perl Documentation IniFiles(3pm) NAME Config::IniFiles - A module for reading .ini-style configuration files. SYNOPSIS use Config::IniFiles; my $cfg = new Config::IniFiles( -file => "/path/configfile.ini" ); print "The value is " . $cfg->val( 'Section', 'Parameter' ) . "." if $cfg->val( '...
http://modman.unixdev.net/?sektion=3&page=Config::IniFiles&manpath=Debian-5.0
CC-MAIN-2017-13
en
refinedweb
Contents - Description - Bugs/Feature Requests - Download - Source - Installation - Configuration - Permissions - Exporting and formats - Notes - Recent Changes - Author/Contributors Make Trac wiki pages printable Description This plugin allows you to make Trac wiki pages easily printable, exporting to PDF (book or art...
https://trac-hacks.org/wiki/TracWikiPrintPlugin
CC-MAIN-2017-13
en
refinedweb
I was plotting a line graph and a bar chart in matplotlib import numpy as np import matplotlib.mlab as mlab import matplotlib.pyplot as plt xs,ys = np.loadtxt("c:/users/name/desktop/new folder/x/counter.cnt",delimiter = ',').T fig = plt.figure() lineGraph = fig.add_subplot(211) barChart = fig.add_subplot(212) plt.title...
https://codedump.io/share/9ermowRc5k2g/1/plotting-2-graph-in-same-window-using-matplotlib-in-python
CC-MAIN-2017-13
en
refinedweb
One of the key values of SOAP is that it is platform agnostic. Regardless of the platform a system may be on, there is potential to readily interoperate with others. Through the .NET Framework and the SOAP Toolkit, Microsoft provided the capability to create Web services hosted within Internet Information Server (IIS)....
http://codeidol.com/community/dotnet/an-overview-of-interoperability/10209/
CC-MAIN-2017-17
en
refinedweb
This article is about compensating for verbal communication misunderstandings; sounds deceptive, but simple and easy. To give an example, suppose you are administering a system remotely, you need to check a command by talking to a technician on the other end of the telephone, and you are unsure if you got the spelling ...
http://www.codeproject.com/Articles/37851/NATO-Phonetics?PageFlow=FixedWidth
CC-MAIN-2017-17
en
refinedweb
NativeScript and Angular 2 provide you with the tooling to accomplish some pretty great things in the native mobile space. For example, I wrote an article not too long ago demonstrating how to create a barcode scanning application with a local inventory, which used a variety of technologies including NativeScript and A...
http://www.telerik.com/blogs/working-with-restful-data-in-angular-2-and-nativescript
CC-MAIN-2017-17
en
refinedweb
Binary trading bitcoin Panels The Next Generation. If the left hemisphere has asymmetries related to language, then the right hemi- sphere must have specialized for some other function. 76) (2. 6 Extended gcd, call by reference, and overloading. Some transformed cell lines do not conform to this criterion, Binary optio...
http://newtimepromo.ru/binary-options-non-deposit-bonus-2.html
CC-MAIN-2017-17
en
refinedweb
Opened 9 years ago Closed 8 years ago #2922 closed defect (worksforme) Parent module 'tracrpc' not loaded error Description I'm new to python and trac so the answer to this may be obvious. My env. is a standalone installation on winxp sp2, trac 0.11b2, tracd is started with BASIC_AUTH. My goal is to link with mylyn/ecl...
https://trac-hacks.org/ticket/2922
CC-MAIN-2017-17
en
refinedweb
.wsdl.extensions.format;59 60 import org.apache.wsif.logging.Trc;61 62 /**63 * Extension registry for format binding. 64 * @author Gerhard Pfau <gpfau@de.ibm.com>65 * @author Jeremy Hughes <hughesj@apache.org>66 * @author Mark Whitlock <whitlock@apache.org>67 */68 public class FormatExtensionRegistry69 extends javax.ws...
http://kickjava.com/src/org/apache/wsif/wsdl/extensions/format/FormatExtensionRegistry.java.htm
CC-MAIN-2017-17
en
refinedweb
'm currently working on a small project using a gumstix overo with the tobi extension board. Via the I2C bus I connected a HMC6343 compass from Sparkfun. The underlying OS is Linux 2.6.36. The following code is used to communicate with the peripherals via I2C: ***********************************************************...
https://sourceforge.net/p/gumstix/mailman/message/27952408/
CC-MAIN-2017-17
en
refinedweb
Changing File Creation Dates in OSX On my last vacation, I have taken a bunch of pictures, and a bunch of video. The problem is, I hadn't used the video camera in a long time, and it believed that all it's videos were taken on the first of January 2012. So in order for the pictures to show up correctly in my picture li...
http://bastibe.de/2015-10-03-changing-file-creation-dates.html
CC-MAIN-2017-17
en
refinedweb
@Target(value=TYPE) @Retention(value=RUNTIME) @Documented @Import(value=TransactionManagementConfigurationSelector.class) public @interface EnableTransactionManagement Enables Spring's annotation-driven transaction management capability, similar to the support found in Spring's <tx:*> XML namespace. To be used on @ Con...
http://docs.spring.io/autorepo/docs/spring/3.1.x/javadoc-api/org/springframework/transaction/annotation/EnableTransactionManagement.html
CC-MAIN-2017-17
en
refinedweb
I have this code write in Python and works fine with Brython. This code rotate image in this case a cog. How Can I change it, and what change to work with RapydScript? I am new at programming so please have patience :D <!DOCTYPE html> <html> <head> <!-- load Brython --> <script src=""></script> <!-- the main script; af...
https://codedump.io/share/T0ZjKWWDxhTe/1/simple-image-rotation-with-python-and-dom-using-rapydscript
CC-MAIN-2017-43
en
refinedweb
Reducer Snapshots for Rapid Development Test Driven Design (TDD) is a great way to ensure that you are getting the expected behavior from any given piece of code. When writing tests I follow Eric Elliott’s advice in TDD the Rite Way and favor equality tests as much as possible. A test written this way, with explicit ex...
http://brianyang.com/reducer-snapshots-for-rapid-development/
CC-MAIN-2017-43
en
refinedweb
Coffeehouse Thread27 posts Forum Read Only This forum has been made read only by the site admins. No new threads or comments can be added. Where is GACUTIL? Back to Forum: Coffeehouse Conversation locked This conversation has been locked by the site admins. No new comments can be made. Pagination. Actually, there is a ...
https://channel9.msdn.com/Forums/Coffeehouse/205281-Where-is-GACUTIL
CC-MAIN-2017-43
en
refinedweb
How to catch a signal emitted from cpp class in Qml ? Hi all, I am using s signal slot communication for cpp and qml interaction. but when i emit a signal from cpp class i am not able to catch that in Qml...can anyone guide me in this matter... the code is as follows... thanks. my .h code #ifndef HANDLETEXTFIELD_H #def...
https://forum.qt.io/topic/74076/how-to-catch-a-signal-emitted-from-cpp-class-in-qml
CC-MAIN-2017-43
en
refinedweb
src/diffusion.h Time-implicit discretisation of reaction–diffusion equations We want to discretise implicitly the reaction–diffusion equation where is a reactive term, is the diffusion coefficient and can be a density term. Using a time-implicit backward Euler discretisation, this can be written Rearranging the terms w...
http://basilisk.fr/src/diffusion.h
CC-MAIN-2017-43
en
refinedweb
The feature of anonymous types can be felt specially when we work with the composite type rather than the simple types. The below example is more like you are defining an inline class without actually having the definition. Example of Composite Anonymous Types in C# Below is an example of the anonymous type in C# that ...
http://abundantcode.com/example-of-composite-anonymous-types-in-c/
CC-MAIN-2018-47
en
refinedweb
How to Create a WhizzML Script (Part 4) How to Create a WhizzML Script (Part 4) Dive deeper into the world of machine learning automation via WhizzML and learn the BigML Python bindings way to create WhizzML scripts. Join the DZone community and get the full member experience.Join For Free Start coding something amazin...
https://dzone.com/articles/how-to-create-a-whizzml-script-part-4
CC-MAIN-2018-47
en
refinedweb
Generics fail using JPAAnnotationProcessor Bug #798653 reported by Damien Hollis on 2011-06-17 This bug affects 1 person Bug Description I've just started trying Querydsl on quite a large code base and seem to have a problem. I have a class declared as: public abstract class EnumPermissions<P extends Enum<P> & Permissi...
https://bugs.launchpad.net/querydsl/+bug/798653
CC-MAIN-2018-47
en
refinedweb
How to continously run a piece of code while simultaneously checking for a condition? Hi. How can you make Sikuli check if a statement / condition is being fulfilled while simultaneously executing another piece of code? What I'm trying to achieve: * While there isn't an image in a region, keep running a piece of code *...
https://answers.launchpad.net/sikuli/+question/660366
CC-MAIN-2018-47
en
refinedweb
Go to the source code of this file. Specialised LocatingPin for use in Placement, especially for globally fixed positions The FixedLocation is assumed to play a central role within the Build process, which ultimately aims ad resolving any part of the session into either a wiring directive or a piece of media or process...
https://lumiera.org/doxy/fixedlocation_8hpp.html
CC-MAIN-2018-47
en
refinedweb
Issues with MapReduce The MapReduce solution achieves scalability, but scalability is relative. We were able to scale our application to find the sum of the number of flowers for a trillion or more pickers. But what if we wanted to perform another operation, such as finding the standard deviation among the number of fl...
https://www.javaworld.com/article/3184109/analytics/aggregating-with-apache-spark.html?page=2
CC-MAIN-2018-47
en
refinedweb
a state node for walking towards a visual target More... #include <WalkToTargetNode.h> a state node for walking towards a visual target Definition at line 9 of file WalkToTargetNode.h. List of all members. constructor, pass VisionObjectSourceID_t Definition at line 12 of file WalkToTargetNode.h. constructor, pass insta...
http://tekkotsu.org/dox/classWalkToTargetNode.html
CC-MAIN-2018-47
en
refinedweb
This chapter is from the book Summary The new Web programming capabilities in WCF simplify the building of services for use on the Web. They help Web developers get stuff done quickly in the manner that they wish to build and consume services for the Web. This means providing features that allow developers to work with...
http://www.informit.com/articles/article.aspx?p=1173045&seqNum=9
CC-MAIN-2018-47
en
refinedweb
. FREE TRADE AGREEMENT WITH SINGAPORE It is high time that Pakistan should have much stronger and active trade relations with the active economies in this region . By AMANULLAH BASHAR Mar 29 - Apr 04, 2004 . 2003 2006 BANNER TARIFF Advertisement Tariff ONLINE SUBSCRIPTION Us WEB DESIGNING TARIFF New Pakistan, which has...
http://www.pakistaneconomist.com/issue2004/issue13/i&e2.php
CC-MAIN-2018-47
en
refinedweb
Preface In object – oriented programming, we create objects every day, describing the whole world with objects, but how does the object come into being? Catalog - 1 breeding object - The birth of 2 objects - 3 the growth of the object - 4 destruction of objects - 5 Summary Breeding object Every day we are developing al...
http://w3cgeek.com/the-objc-object-of-this-present-life.html
CC-MAIN-2017-51
en
refinedweb
Rafal Zawadzki <bluszcz at jabberpl.org> writes: > Fragments my configurations are: > > <Directory /var/www/modpython> > AllowOverride All > AddHandler python-program .py > PythonHandler mptest.py #i tried also with mptest (withoout .py) > PythonDebug On > </Directory> Do you want to use the publisher-handler? (Makes s...
http://modpython.org/pipermail/mod_python/2005-May/018212.html
CC-MAIN-2017-51
en
refinedweb
On 28/01/2006, at 6:53 AM, Sean Jamieson wrote: > Hello everybody, > I don't know if there's already been a discussion about this, it seems > like a small but obvious issue. Many times. ;-) > The current working directory does not apear to be set when a > mod_python.publisher script runs; or rather it's set to "/" whic...
http://modpython.org/pipermail/mod_python/2006-January/020143.html
CC-MAIN-2017-51
en
refinedweb
Finance questions This is a business financials problem I need major help on. Problem 1 - EPS Analysis ABC Company has 11,000 shares of equity outstanding with a market price of $100. The company is not encumbered with any debt. Management is looking at two alternative recapitalization plans. The first alternative call...
https://brainmass.com/business/capital-budgeting/finance-questions-230678
CC-MAIN-2017-51
en
refinedweb
Philipp Auersperg writes: > .... missing control over stack trace .... I agree with you: you should have control over this stack trace. However, I fear, you will need to change the Zope source to get this. It should be easy to implement: Bind the traceback to a variable in the namespace, the "standard_html_error" page ...
https://www.mail-archive.com/zope@zope.org/msg11801.html
CC-MAIN-2017-51
en
refinedweb
>> > Does anyone know why we skip lisp/term in update-subdirs? >> Because files in lisp/term are always loaded with the term/ prefix. > Thanks. But why is that a good idea? It reduces the length of load-path and increases our namespace? > A remnant from past, perhaps, > when lisp/term held only terminal-specific files?...
https://lists.gnu.org/archive/html/emacs-devel/2009-09/msg00725.html
CC-MAIN-2017-30
en
refinedweb
Created by . Last modified on 2003/08/01. There are several layers of caching built in to Zope: These caches reduce the time taken to execute any Zope query, however they are all ultimately limited. They can not reduce the time for a single request below a hard limit that is made up of: Zope itself cannot do anything a...
http://old.zope.org/Members/htrd/howto/caching
CC-MAIN-2017-30
en
refinedweb
Problem compiling C++ for SCC: could not open source file "cstdio"ally Aug 10, 2011 9:00 AM Hi I'm trying to compile a large C++ application to run on the SCC cores. I have sourced "crosscompile.sh", and have set my Makefile to use icpc instead of g++. When I type: which icpc, I get: /opt/icc-8.1.038/bin/icpc which I b...
https://communities.intel.com/thread/24023
CC-MAIN-2017-30
en
refinedweb