text stringlengths 20 1.01M | url stringlengths 14 1.25k | dump stringlengths 9 15 ⌀ | lang stringclasses 4
values | source stringclasses 4
values |
|---|---|---|---|---|
1. prompt the users to input two integers: firstNum and secondNum (firstNum must be less than secondNum).
2. output all the odd numbers between firstNum and secondNum inclusive
3. output the sum of all the even numbers between firstNum and secondNum inclusive
4. output all the numbers and their squares between 1 and 10... | http://www.dreamincode.net/forums/topic/201391-trouble-with-while-loop-for-a-program/ | CC-MAIN-2016-30 | en | refinedweb |
[
]
Gregory Shimansky commented on HARMONY-5305:
--------------------------------------------
I think I've found out what makes tests hang. It is not a hang, it is an infinite loop in
EUT. Eclipse tries to launch Breakpoints test but it is incorrectly compiled after testSingleListenerMoveCompilationUnit.
This test trie... | http://mail-archives.apache.org/mod_mbox/harmony-commits/200712.mbox/%3C31548385.1197649903428.JavaMail.jira@brutus%3E | CC-MAIN-2016-30 | en | refinedweb |
# c-bs-a.m4 serial 4 (fileutils-4.1.3) dnl Copyright (C) 2000. AC_DEFUN([AC_C_BACKSLASH_A], [ AC_CACHE_CHECK([whether backslash-a works in strings], ac_cv_c_backslash_a, [AC_TRY_COMPILE([], [ #if '\a' == 'a' syntax error; #endif char buf['\a' == 'a' ? -1 : 1]; buf[0] = '\a'; return buf[0] != "\a"[0]; ], ac_cv_c_backsla... | http://opensource.apple.com/source/gpatch/gpatch-2.1/patch/m4/c-bs-a.m4 | CC-MAIN-2016-30 | en | refinedweb |
-- | The.Random qualified Game.LambdaHack.HighScore as H -- One clip proceeds through the following functions: -- -- handleTurn -- handleActors -- handleMonster or handlePlayer -- handleActors -- handleMonsterMonster: determine and process monster ptime ++ ", time = " ++ show time handleActors timeZero modify (updateTi... | http://hackage.haskell.org/package/LambdaHack-0.2.1/docs/src/Game-LambdaHack-Turn.html | CC-MAIN-2016-30 | en | refinedweb |
The ability to have parallel execution paths within a process is implemented in Microsoft Windows since the
first days of Windows NT. Most programmers know this feature from avoiding it. Multithreaded applications are hard to debug and errors
can manifest themselves in multiple ways. Nevertheless it's one of the most p... | http://www.codeproject.com/Articles/288219/Declarative-multithreading?fid=1666985&df=90&mpp=10&sort=Position&spc=None&select=4086585&tid=4085463 | CC-MAIN-2016-30 | en | refinedweb |
Config.log of invocation ./configure CFLAGS='-static -L/usr/local/lib -lcurl -lssl -lcrypto -lz'
Hello Team,
I am trying to link esniper statically for a small environment.
First some info on my build environment:
uname -a
Linux linvdr 2.6.9 #1 Tue Nov 2 08:08:39 CET 2004 i686 unknown unknown GNU/Linux
gcc --version
gc... | https://sourceforge.net/p/esniper/support-requests/11/ | CC-MAIN-2016-30 | en | refinedweb |
I would like to build a simple highlighter program. The idea is to set an image to change the cursor so that it will look like a highlighter. And then, when we move the cursor, it will trace a line along with our movement. The requirement here is to be able to draw the line on a transparent background (not fully transp... | https://www.daniweb.com/programming/software-development/threads/396288/freehand-drawing-on-transparent-background | CC-MAIN-2016-30 | en | refinedweb |
Hi,
I do not know how to code in C Sharp. I want to add a C function to an existing, working C Sharp program, and compile it. Let's say the C function is something like this:
Test_Function ( )
{
/* C codes go here. */
}
What do I need to do to make this C Sharp program compile with the above test C function added? I tr... | http://forums.codeguru.com/showthread.php?518022-Label-Instantiation&goto=nextnewest | CC-MAIN-2016-30 | en | refinedweb |
If you are a user of Canon XF camcorder, including XF100/XF105/XF300/XF305, and even the latest Canon C300, you may be bothered by the problem of importing Canon MXF clips from CF cards to Final Cut Pro. It is easy to understand that MXF recordings can not be ingested into FCP, including FCP 6/7 and FCP X, since the MX... | http://www.brorsoft.com/how-to/import-canon-mxf-from-cf-cards-to-fcp-with-original-quality.html | CC-MAIN-2016-30 | en | refinedweb |
Okay, I am very new to ruby. I have written several standard ruby programs and now I am starting to learn ROR. I am a bit confused though. In a standard ruby program I create a method and then in the main program I pass a variable to the method and have the method print out a value. Now, I know I use the controller fil... | http://forums.devshed.com/ruby-programming-142/ror-confusion-using-methods-651849.html | CC-MAIN-2016-30 | en | refinedweb |
The June 2008 CTP of Parallel Extensions provides the first look at its 3rd major piece, a set of coordination data structures we lovably refer to as CDS. It contains lightweight and scalable thread-safe data structures and synchronization primitives. There are of course already many synchronization primitives present ... | http://blogs.msdn.com/pfxteam/archive/2008/06/18/8620615.aspx | crawl-002 | en | refinedweb |
Since IMM uses Semantic Web technologies like RDF. OWL, and SPARQL, it is a requirement to first set up a useful and meaningful metadata model that can be expressed using the Web Ontology Language (OWL) as the first step in deploying an IMM solution.
The ontology is what defines and describes the data and relationships... | http://blogs.msdn.com/imm/archive/2007/11/21/creating-and-extending-owl-ontologies-in-imm.aspx | crawl-002 | en | refinedweb |
Random musings in code
If you are hosting a control in the browser and have given it elevated permissions (we will use FullTrust for this example) you might notice that you are still getting security exceptions when you try to call protected APIs.
Here's what is going on.
When Internet Explorer creates an AppDomain to ... | http://blogs.msdn.com/andrewdownum/ | crawl-002 | en | refinedweb |
Michael Entin's notebook
Couple.
Note: posted under rant tag, so you are warned ;)
I've just got a new wi-fi router, DIR-655 from DLink. Seems like a nice router, but at least one feature is just plain horrible broken. And it is security feature, which makes me wonder how secure the rest of the code, which is obviously... | http://blogs.msdn.com/michen/ | crawl-002 | en | refinedweb |
Visual Studio .NET® and facilitates in the creation of mixed-language solutions.
In addition, these languages leverage the functionality of the .NET Framework,
which provides access to key technologies that simplify the development of ASP.NET Web
applications and XML Web services. The Microsoft® .NET Framework transfor... | http://www.microsoft.com/middleeast/msdn/arabicsupp.aspx | crawl-002 | en | refinedweb |
52:
UPGRADE: MCAD Skills to MCPD Windows
Microsoft Visual C++ 2005
Audience Profile
Candidates for this exam work on a team in a medium-sized or large development environment that uses Microsoft Visual Studio .NET 2003 Enterprise Developer or Visual Studio 2005. Candidates should have at least two years of experience d... | http://www.microsoft.com/learning/en/us/exam.aspx%3FID=70-552&locale=en-us | crawl-002 | en | refinedweb |
We have made minor but important modifications to the Database Configuration settings, which are still posted under March, 2008 archive. The archived posting includes the most current recommendations. We've also posted a Microsoft Word version of the checklist below..
We have released the RTM version of Event Trace Par... | http://blogs.msdn.com/axperf/default.aspx | crawl-002 | en | refinedweb |
Creating the content you need, when you need it, so you can get your job done.
Note: This is draft documentation for the Team Foundation Server SP1 Beta. The contents of this article should not be considered as final. All feedback is welcome.
New APIs now provide the information from the server that you need to build t... | http://blogs.msdn.com/vstsue/archive/2006/09/27/777559.aspx | crawl-002 | en | refinedweb |
If you are defining a schema that has elements or attribute of numeric types and require more restrictions on their value, try to avoid using pattern facets. If you do, you will get the warning:
Warning: Type (name of your type) is restricted by a facet 'pattern' that may impede full round-tripping of instances of this... | http://blogs.msdn.com/galexy/default.aspx | crawl-002 | en | refinedweb |
These postings are provided "AS IS" with no warranties, and confer no rights. The use of any script / code samples is subject to the terms specified here.
One of the demos I've been doing at the MSDN Roadshow is to take the new ASP.NET routing capabilities (currently in preview) and show them in isolation from MVC / Dy... | http://blogs.msdn.com/mikeormond/archive/2008/05/14/using-asp-net-routing-independent-of-mvc.aspx | crawl-002 | en | refinedweb |
SQL Server Compact Team Blog
Possible causes for Access Violation exception in general:
An access violation occurs in unmanaged or unsafe code when the code attempts to read or write to memory that has not been allocated, or to which it does not have access. This usually occurs because a pointer has a bad value.
In pro... | http://blogs.msdn.com/SqlServerCompact/ | crawl-002 | en | refinedweb |
The py.std object allows lazy access to standard library modules. For example, to get to the print-exception functionality of the standard library you can write:
py.std.traceback.print_exc()
without having to do anything else than the usual import py at the beginning. You can access any other top-level standard library... | http://codespeak.net/py/dist/misc.html | crawl-002 | en | refinedweb |
Using the code from the previous post, if I go ahead and drag a new Activity to the design surface and then try and do something simple like renaming it from its automatically generated name (there's a service doing that somewhere I'm sure) then I get an error saying "You need to provide an ITypeProvider" so that looks... | http://mtaulty.com/CommunityServer/blogs/mike_taultys_blog/archive/2006/08/25/6912.aspx | crawl-002 | en | refinedweb |
Development/Tasks/Packaging/Policies/Library
From Mandriva Community Wiki
In order to enjoy better upgrades, it is important to keep old major library versions in the system so that programs which use them still work.
Naming Conventions
Libraries in /usr/lib and /lib must be separately packaged, in a library-only packa... | http://wiki.mandriva.com/en/Policies/Library | crawl-002 | en | refinedweb |
Nice job on the match pattern. Its kinda hard to make good regular expressions from my limited experience.
Thanks for the sample code.
For more regular expressions, check out:
Hello, thanks for the code, I get this error: 'Text' is ambiguous, imported from the namespaces or types 'System, System.Drawing'.
for Dim check... | http://www.dreamincode.net/code/snippet1378.htm | crawl-002 | en | refinedweb |
1) Introduction
JAXB (Java API for XML Binding) technology which was included as part of JWSDP (Java Web Services Developer Pack) before, is now included with the Mustang Distribution. Simply put, it is a Mapping Technology for Java and XML Documents. Using JAXB, one can Generate XML Documents from Java Objects and als... | http://javabeat.net/mapping-java-objects-and-xml-documents-using-jaxb-in-java-6-0/ | CC-MAIN-2016-44 | en | refinedweb |
" Vim indent file " Language: Pascal " Maintainer: Neil Carter <n.carter@swansea.ac.uk> " Created: 2004 Jul 13 " Last Change: 2005 Jul 05 if exists("b:did_indent") finish endif let b:did_indent = 1 setlocal indentexpr=GetPascalIndent(v:lnum) setlocal indentkeys& setlocal indentkeys+==end;,==const,==type,==var,==begin,=... | http://opensource.apple.com//source/vim/vim-48.1/runtime/indent/pascal.vim | CC-MAIN-2016-44 | en | refinedweb |
1 /*2 * $Id: CharacterProperty.java,v 1.2.2.1 2003/02/25 12:56:54.fo;52 53 public class CharacterProperty extends Property {54 55 public static class Maker extends Property.Maker {56 57 public Maker(String propName) {58 super(propName);59 }60 61 public Property make(PropertyList propertyList, String value,62 FObj fo) {... | http://kickjava.com/src/org/apache/fop/fo/CharacterProperty.java.htm | CC-MAIN-2016-44 | en | refinedweb |
I have been looking through multiple websites, which only give me a half satisfactory answer, how would I colour each part of of a Tkinter OptionMenu Widget?
Code Snippet:
from tkinter import *
root = Tk()
text = StringVar()
fr = Frame (root,bg="yellow")
fr.grid()
menu = OptionMenu (fr, text, "hi", "there")
menu.grid (... | https://codedump.io/share/6njnxoLYT7aA/1/how-to-remove-the-border-of-a-tkinter-optionmenu-widget | CC-MAIN-2016-44 | en | refinedweb |
Software development is one of the areas that most problems occur during its process. However, a group of professionals has found that some problems occur frequently and therefore decided to create a catalog that identify how they could be resolved in the best possible way.
These professionals were four: Erich Gamma, R... | http://mrbool.com/implementing-creational-patterns-in-java/34224 | CC-MAIN-2016-44 | en | refinedweb |
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;;
import java.util.ArrayList;
import java.util.List;
public class ReaderInputStream extends InputStream {
private static final int DEFAULT_CHAR_BUFFER_SIZE = 8192;
private static final int DEFAULT_BYTE_BUFFER_SIZE = 8192;
private i... | http://grepcode.com/file/repo1.maven.org$maven2@com.ning.billing$killbill-osgi-bundles-jruby@0.8.2@org$jruby$embed$io$ReaderInputStream.java | CC-MAIN-2016-44 | en | refinedweb |
WebCookieJar
Since: BlackBerry 10.0.0
#include <bb/cascades/WebCookieJar>
The cookie database for the WebView control.
The WebView uses network protocols such as HTTP, which store "cookies" to maintain some persistent information across requests.
The same cookie database is shared among all WebView controls running in ... | http://developer.blackberry.com/native/reference/cascades/bb__cascades__webcookiejar.html | CC-MAIN-2014-52 | en | refinedweb |
This chapter describes the Oracle BI EE Action Framework and the configuration required to enable the Action Framework. Describes the credentials, privileges, and permissions required to add actions to Oracle BI EE content. Describes how to set up targets by action type (for example, Navigate to Siebel CRM and Invoke a... | http://docs.oracle.com/cd/E23943_01/bi.1111/e16364/actions.htm | CC-MAIN-2014-52 | en | refinedweb |
std::freopen
From cppreference.com
< cpp | io | c
Revision as of 04:56, 31 May 2014 by 89.64.227.30 (Talk)
Reassigns an existing file stream
stream to a different file identified by
filename using specified mode.
mode is used to determine the new file access mode.
[edit] Parameters
[edit] Return value
stream on success... | http://en.cppreference.com/mwiki/index.php?title=cpp/io/c/freopen&oldid=70867 | CC-MAIN-2014-52 | en | refinedweb |
Python has a standard GUI framework - Tkinter - but most Python programmers don't really get to grips with it because they tend to use the command line. In this article we take a look at how a Tkinter program differs from a standard Python program and how to organize things around a GUI.
There are some languages that c... | http://i-programmer.info/programming/python/5073.html | CC-MAIN-2014-52 | en | refinedweb |
CVSROOT: /sources/emacs Module name: emacs Branch: EMACS_22_BASE Changes by: Glenn Morris <gm> 07/04/26 19:42:21 Index: python.el =================================================================== RCS file: python.el diff -N python.el --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ python.el 26 Apr 2007 19:42:21 -0000 1.5... | http://lists.gnu.org/archive/html/emacs-diffs/2007-04/msg00948.html | CC-MAIN-2014-52 | en | refinedweb |
Neutron doesn't update floatingip with multiple L3 agent Icehouse
Hello,
I recently created a five node OpenStack cloud using Packstack. I am using the neutrons OVS agent with GRE tunnels. My goal is to setup two floating ip address pools. In order to accomplish this, we followed this documentation here (...) .
The pro... | https://ask.openstack.org/en/question/34112/neutron-doesnt-update-floatingip-with-multiple-l3-agent-icehouse/ | CC-MAIN-2016-30 | en | refinedweb |
Even Flash Can Get Viruses 277
Mechel Conrad writes: "Heise Online(German) writes about a Virus called SWF/LFM-926. It consists of a Macromedia Flash movie and seems to be the first of its kind. It uses Flash's scripting language in order to open a debug terminal creating and executing a file called V.COM, which infest... | https://it.slashdot.org/story/02/01/08/2240244/even-flash-can-get-viruses | CC-MAIN-2016-30 | en | refinedweb |
django-viewtracker 1.2
Object view tracker for Django
Copyright 2010 - 2013 Caramel (formerly uAnywhere). Released under the 3-clause BSD license.
django-viewtracker is a simple Django application to allow you to do view tracking on objects. The primary purpose of the module is so that a user can determine what objects... | https://pypi.python.org/pypi/django-viewtracker/1.2 | CC-MAIN-2016-30 | en | refinedweb |
>>."
Ambitious but not much has happened in 6 yrs (Score:4, Insightful)
and they expect to be competitive with ZFS?? They have a LOT of work to do.
Re: : (Score:2)
I only use XFS and ZFS on Linux these days, with exception of ext2 on some
/boot volumes. Nobody has shown me a compelling reason to deviate from what works... | https://slashdot.org/story/202175 | CC-MAIN-2016-30 | en | refinedweb |
I'm using g++ 4.5.3 on Linux (and also on an older Solaris box, which is kind of the problem).
I've written fairly extensive unit tests using cppunit 1.12.1 inside a project which is ambivalent about them. However, I've hit a problem:
They are slow to compile, even on a fast machine. The fast linux machine compiles the... | https://sourceforge.net/p/cppunit/discussion/37108/thread/1b78c9b8/ | CC-MAIN-2016-30 | en | refinedweb |
Cocos2d for iPhone 0.99 Beginner's Guide — Save 50%
Make mind-blowing 2D games for iPhone with this fast, flexible, and easy-to-use framework!
Cocos2d for iPhone is a framework for building 2D games, applications, presentations, demos, and more. It was originally made for Python and then ported to IPhone by Ricardo Que... | http://www.packtpub.com/article/cocos2d-iphone-adding-layers-and-making-simple-pause-screen | CC-MAIN-2014-10 | en | refinedweb |
Remote logging with Python logging and Django
As part of my work on EveryWatt, our fledgling energy monitoring web site, I needed a way to consolidate log messages from all the data loggers we have running in a single place. If you're not familiar with it, Python's logging module is good stuff and worth checking out. W... | http://www.caktusgroup.com/blog/2009/06/09/remote-logging-with-python-logging-and-django/ | CC-MAIN-2014-10 | en | refinedweb |
Measuring and Improving the Performance of Berkeley UNIX* April 17, 1991 Marshall Kirk McKusick, Samuel J. Leffler-, Michael J. Karels Computer Systems Research Group Computer Science Division Department of Electrical Engineering and Computer Science University of California, Berkeley Berkeley, CA 94720 ABSTRACT The 4.... | https://www.mirbsd.org/htman/sparc/manPAPERS/sysperf.htm | CC-MAIN-2014-10 | en | refinedweb |
Strategies and tools for debugging your OOP apps
Simon is a member of SCO Canada's C++ development tool project and can be contacted at 130 Bloor Street West, 10th Floor, Toronto, Ontario, Canada M5S 1N5.
This article discusses strategies and tools for object-oriented debugging. Because of its facilities for data abstr... | http://www.drdobbs.com/cpp/object-oriented-debugging/184408441 | CC-MAIN-2014-10 | en | refinedweb |
20 January 2010 03:22 [Source: ICIS news]
SINGAPORE (ICIS news)--Saudi Aramco Total Refining and Petrochemical Co (SATORP) has awarded a contract to US-based Elliott Co to build 17 compressor trains for the Middle Eastern company’s Jubail refinery.
Financial details of the contract were no disclosed.
The centrifugal tr... | http://www.icis.com/Articles/2010/01/20/9327205/saudis-satorp-taps-elliott-to-build-17-trains-at-jubail-refinery.html | CC-MAIN-2014-10 | en | refinedweb |
> Obviously, the docstring and the definition are not consistent. Indeed, yes. > > The parser does indeed pass a (uri, localname) pair to startElement, > > so it *is* capable of dealing with namespaces right now. The only > > uncertainty is the qname parameter, which is also passed and > > documented, but not listed in... | https://mail.python.org/pipermail/xml-sig/2000-September/003346.html | CC-MAIN-2014-10 | en | refinedweb |
java.lang.Object
org.apache.shiro.authc.pam.AbstractAuthenticationStrategyorg.apache.shiro.authc.pam.AbstractAuthenticationStrategy
org.apache.shiro.authc.pam.AtLeastOneSuccessfulStrategyorg.apache.shiro.authc.pam.AtLeastOneSuccessfulStrategy
public class AtLeastOneSuccessfulStrategy
AuthenticationStrategy implementati... | http://shiro.apache.org/static/current/apidocs/org/apache/shiro/authc/pam/AtLeastOneSuccessfulStrategy.html | CC-MAIN-2014-10 | en | refinedweb |
Oracle APEX 4.2 Reporting
Formats:
save 15%!
save 37%!
-
Book DetailsLanguage : English
Paperback : 428 pages [ 235mm x 191mm ]
Release Date : August 2013
ISBN : 1849684987
ISBN 13 : 9781849684989
Author(s) : Vishal Pathak
Topics and Technologies : All Books, Enterprise Products and Platforms, Oracle Applications, Ente... | http://www.packtpub.com/oracle-apex-4-2-reporting/book?tag=sp/oracleweblogic12c-abr1/1013 | CC-MAIN-2014-10 | en | refinedweb |
"Mike Thompson" <mike.thompson at day8.com.au> writes: > I'm attempting to set up a Boost.Python project outside the Boost.Python tree. > I'm working with a modified version of the jam files provided in > boost\libs\python\example\project.zip (see end of post) > > Everything appears to be working perfectly EXCEPT that ... | https://mail.python.org/pipermail/cplusplus-sig/2003-September/005052.html | CC-MAIN-2014-10 | en | refinedweb |
System.nanoTime sporadic and hangs on multi-processor VMWare
I would like to know if anyone knows of a configuration or alternate OS to Solaris that works under VMWare ESX.
Consecutive calls to System.nanoTime() return sporadic differences that are zero, negative, large/huge, and stuck/hung/frozen/not changing for long... | https://www.java.net/node/694103 | CC-MAIN-2014-10 | en | refinedweb |
#include <db_cxx.h> int DbEnv::repmgr_channel(int eid, DB_CHANNEL **channelp, u_int32_t flags);
The
DbEnv::repmgr_channel() method returns a
DbChannel handle. This is used to create and manage custom
message traffic between the sites in the replication group.
This method allocates memory for the handle, returning a poi... | http://idlebox.net/2011/apidocs/db-5.2.28.zip/api_reference/CXX/repmgr_channel.html | CC-MAIN-2014-10 | en | refinedweb |
Fri 2 Apr 2010
Python Text-to-Speech: Making Your PC Talk
Posted by Mike under Linux, Python, Windows
[7] Comments
Soon after getting hired at my current job, my boss sent me a script (which I think was based on this article) about Python and a certain text-to-speech module called pyTTS. This was right after Python 2.5... | http://www.blog.pythonlibrary.org/2010/04/02/python-test-to-speech-making-your-pc-talk/ | CC-MAIN-2014-10 | en | refinedweb |
django-autocomplete / docs / handling-suggestions.rst
Quickstart: Handling suggestions
AutoCompleteWidget can be used to offer suggestions based on the user input. Let's assume for example that we have a Form to send mails to other users:
from django import forms class SendMail(forms.Form): to = forms.EmailField() subj... | https://bitbucket.org/spookylukey/django-autocomplete/src/28490de155fb06e5c159388c1a0e9b6bdfcd6689/docs/handling-suggestions.rst?at=default | CC-MAIN-2014-10 | en | refinedweb |
Hi everyone, I'm trying to use the UUID struct from OpenMetaverse assembly (this is C# code) from IronPy 2.0.3. I'm using: asm2 = clr.LoadAssemblyByName(* and calling: OpenMeta.UUID but no luck. to see more about OpenMetaverse and UUID struct (under OpenMetaverse namespace): any ideas? -------------- next part --------... | https://mail.python.org/pipermail/ironpython-users/2009-November/011688.html | CC-MAIN-2014-10 | en | refinedweb |
NAME
mp4h - Macro Processor for HTML Documents
VERSION
This documentation describes mp4h version 1.3.1.
INTRODUCTION
The mp4h software is a macro-processor specifically designed to deal with HTML documents. It allows powerful programming constructs, with a syntax familiar to HTML authors. This software is based on Meta... | http://manpages.ubuntu.com/manpages/oneiric/man1/mp4h.1.html | CC-MAIN-2014-10 | en | refinedweb |
help me find sample program in array..that determ
help me find sample program in array..that determines the 8 numbers if it is lost or found
doubt in vector code
hi,
how to add the single string as given below
234.9 435.0 903.1
342.1 874.2 234.1
134.1 341.2 123.2
245.1 243.2 342.6
234.9 230.5 343.7
in a vector .I want ... | http://www.roseindia.net/tutorialhelp/allcomments/1564 | CC-MAIN-2014-10 | en | refinedweb |
21 November 2011 05:34 [Source: ICIS news]
SINGAPORE (ICIS)--Saudi International Petrochemical Company (Sipchem) said its affiliate, the International Polymers Company (IPC) - has signed a Saudi Riyal (SR) 600m ($160m) loan to support the construction of an ethylene vinyl acetate (EVA)/low density polyethylene (LDPE) p... | http://www.icis.com/Articles/2011/11/21/9509930/saudis-sipchem-affiliate-secures-160m-loan-for-evaldpe-project.html | CC-MAIN-2014-10 | en | refinedweb |
Komodo IDE/Edit 7.1 Release Notes
These Release Notes cover what's new, detailed changes and bug fixes and known issues for Komodo IDE and Komodo Edit.
What's New in Komodo IDE/Edit)
7.0 support
Detailed Changes and Bug Fixes in Komodo IDE/Edit
Changes related to Debugging, Interactive Shells, Source Code Control, HTTP... | http://docs.activestate.com/komodo/7.1/releases/ide.html | CC-MAIN-2014-10 | en | refinedweb |
The best and easiest way to add the Twilio libraries to your .NET project is to use the NuGet package manager. NuGet is a Visual Studio extension that makes it easy to install and update third-party libraries and tools in Visual Studio.
NuGet is available for Visual Studio 2010 and Visual Studio 2012, and you can find ... | https://www.twilio.com/docs/csharp/install | CC-MAIN-2014-10 | en | refinedweb |
- need help..URGENT!
- cin.getline problem
- A compiler error
- OpenScript v1.1b Released!
- istream??
- ascii escape
- comparing character arrays
- Console text input
- How can I create foreign letters in DOS?
- Arrays
- static const objects
- namespace does not exist
- More Union Struct woes
- operator overloading
- ... | http://cboard.cprogramming.com/sitemap/f-3-p-743.html | CC-MAIN-2014-10 | en | refinedweb |
Floggy Framework: RMS no more!
This article describes the Floggy Framework, a powerful and flexible framework for providing data persistence on Java ME. Floggy is compared and contrasted with the better known RMS API (Record Management System).
Introduction
RMS (Record Management System) is the well-known API to provid... | http://developer.nokia.com/community/wiki/index.php?title=Floggy_Framework:_RMS_no_more!&oldid=133410 | CC-MAIN-2014-10 | en | refinedweb |
§Netty Server Backend
Prior to Play 2.6.x, Play used the Netty server backend as the default. In 2.6.x, the default backend was changed to Akka HTTP, but you can still manually select the Netty backend server in your project.
§Usage
To use the Netty server backend you first need to disable the Akka HTTP server and add ... | https://www.playframework.com/documentation/2.7.x/NettyServer | CC-MAIN-2020-29 | en | refinedweb |
WikiClone wiki
qatrackplus / admin / calculated
Tests with Calculated Results
There are currently three test types that allow you to calculate test results using snippets of Python code. These tests include Composite, String Composite & Upload.
Composite Tests_0<<
and second a slightly more complicated multi-line snipp... | https://bitbucket.org/tohccmedphys/qatrackplus/wiki/admin/calculated.md | CC-MAIN-2020-29 | en | refinedweb |
A configurable, composable, toast notification system for react
- 1137
React Toast Notifications.A configurable, composable, toast notification system for react.
React Toast Notifications.A configurable, composable, toast notification system for react.
Install
yarn add react-toast-notifications
Use
Wrap your app in the... | https://geekwall.in/p/nvlzdlb7/a-configurable-composable-toast-notification-system-for-react | CC-MAIN-2020-29 | en | refinedweb |
Hard to believe
Sanjeev Arora and his coauthors consider it “a basic tool [that should be] taught to all algorithms students together with divide-and-conquer, dynamic programming, and random sampling.” Christos Papadimitriou calls it “so hard to believe that it has been discovered five times and forgotten.” It has form... | https://jeremykun.com/2017/02/27/the-reasonable-effectiveness-of-the-multiplicative-weights-update-algorithm/?like_comment=64655&_wpnonce=92db5e7bfc&replytocom=64593 | CC-MAIN-2020-29 | en | refinedweb |
1st problem - testing for valid pointer:
Here the compiler doesn´t like line three.
Code: Select all
size_t* pCookiesTemp = (size_t*)0x5A0; size_t* pCookies = (size_t*)*pCookiesTemp; if (pCookies){ ... }
2nd Problem - include files and function prototyping:
init.c
init.h
Code: Select all
#include "init.h" bool InitAtar... | https://www.atari-forum.com/viewtopic.php?f=70&t=24476 | CC-MAIN-2020-29 | en | refinedweb |
Autocompletion for ES2015 imports! OMG!
Disclaimer: I’m a devoted fan of the JetBrains IDEs and this is specific to them. I use IntelliJ but this would apply to any variation that supports JavaScript. I’m sure you can do similar tricks in other editors, if you know how — please share!
The Problem
The new import syntax ... | https://medium.com/threefivetwo/autocompletion-for-es2015-imports-afabd45be4d2?source=---------2------------------ | CC-MAIN-2020-29 | en | refinedweb |
Working with zip files in Python
This article explains how one can perform various operations on a zip file using a simple python program.
What is a zip file?
ZIP is an archive file format that supports lossless data compression. By lossless compression, we mean that the compression algorithm allows the original data t... | https://www.geeksforgeeks.org/working-zip-files-python/ | CC-MAIN-2020-29 | en | refinedweb |
SdCardState
Since: BlackBerry 10.0.0
#include <bb/device/SdCardState>
To link against this class, add the following line to your .pro file: LIBS += -lbbdevice
The state of the SD card.
Overview
Public Types Index
Public Types
The state of the SD card.
BlackBerry 10.0.0
- Unknown 0
The media could not be determined.
- M... | https://developer.blackberry.com/native/reference/cascades/bb__device__sdcardstate.html | CC-MAIN-2020-29 | en | refinedweb |
TL;DR;In this blog post, we are going to learn how we can use Nancy framework with ASP.NET Core Application.
NancyFx Introduction:NancyFx is a lightweight, low-ceremony framework for building HTTP based services on .NET and Mono. It is inspired by Sintara Framework for Ruby and hence Nancy was named after the daughter ... | https://www.dotnetjalps.com/2017/01/nacyfx-with-aspnet-core.html | CC-MAIN-2017-51 | en | refinedweb |
Discover faster, more efficient performance monitoring with an enterprise APM product learning from your apps. Take the AppDynamics APM Guided Tour! In DevOps, Continuous Integration (CI) is increasingly the integration method of choice, in large part because of the speed at which it enables the release of new features... | https://www.javacodegeeks.com/ | CC-MAIN-2017-51 | en | refinedweb |
using System; namespace ConsoleApplication1 { class Program { static void Main(string[] args) { string MyString = "A @string & and 2."; Console.WriteLine(MyString); for (int charpos = 0; charpos < MyString.Length; charpos++) { Console.WriteLine(Char.IsLetter(MyString, charpos)); } //Keep the console on screen Console.W... | https://www.daniweb.com/programming/software-development/code/217310/check-if-a-string-contains-only-letters | CC-MAIN-2017-51 | en | refinedweb |
C++ can be quite confusing for me... Haven't touched this file in weeks and it has been compiling with no probs,now today after having been growing my project by modifying other classes, i get an error from a class which hasn't been modified and has been compiling
here's part of the class
I mean i never this problem, a... | https://cboard.cprogramming.com/cplusplus-programming/106614-error-no-appropriate-default-constructor-available.html | CC-MAIN-2017-51 | en | refinedweb |
Introduction : Applets are
small Java programs that are embedded in Web pages. They can be transported over
the Internet from one computer (web server) to another (client computers). They
transform the web into rich media and support the delivery of applications via the
Internet. It is also a special Java program that ... | http://www.c-sharpcorner.com/UploadFile/0d4935/describing-the-life-cycle-of-applet/ | CC-MAIN-2017-51 | en | refinedweb |
Hi
When the following methods are called one after the other, it causes a bug in Illustrator. That is, user can no longer draw in Illustrator, unless the application is closed and restarted.
Code with bug
import flash.filesystem.File;
Illustrator.app.activeDocument.saveAs(new File(File.desktopDirectory.nativePath + "\\... | https://forums.adobe.com/thread/1177773 | CC-MAIN-2017-51 | en | refinedweb |
Hello,
I am extending the IconItemRenderer and am not sure how to have decorator, messageField and so on on the list.
Thank you.
Man, today's been a question bonanza for you hasn't it ? If you are extending the class then the properties and methods should stay exactly the same as on the superclass.
That means if you ha... | https://forums.adobe.com/thread/877465 | CC-MAIN-2017-51 | en | refinedweb |
This is tutorial #7 in our Selenium Online Training Series. If you want to check all Selenium tutorials in this series please check this page.
In the previous tutorial, we tried to shed light on various types of locators in Selenium and their locating mechanisms to build test scripts. The tutorial was primary consist o... | http://www.softwaretestinghelp.com/locate-elements-in-chrome-ie-selenium-tutorial-7/ | CC-MAIN-2017-51 | en | refinedweb |
installed with header files (and a C++ compiler of course):
- Debian/Ubuntu:
sudo apt-get install libtag1-dev
- Fedora/RHEL:
sudo yum install taglib-devel
- Brew:
brew install taglib
- MacPorts:
sudo port install taglib
Then do:
gem install taglib-ruby
OS X C++ compiler override
Not all versions of TagLib get along wi... | http://www.rubydoc.info/gems/taglib-ruby/frames | CC-MAIN-2015-14 | en | refinedweb |
This article extends my discussion of advanced programming, but strays into an area that is not exclusively object oriented. What we are interested in for this installment is ways of writing programs that are declarative rather than imperative. In many cases, simply notating facts is more concise and less error prone t... | http://www.linuxdevcenter.com/lpt/a/4041 | CC-MAIN-2015-14 | en | refinedweb |
Details
- Type:
Improvement
- Status: Closed
- Priority:
Major
- Resolution: Won't Fix
- Affects Version/s: 2.0.0
- Fix Version/s: None
- Component/s: core/search
- Labels:None
- Lucene Fields:New, Patch Available
Description.
Activity
Also tried this with DOCS_NUM == 1,000,000. Right after index creation it was
[junit... | https://issues.apache.org/jira/browse/LUCENE-769?page=com.atlassian.jira.plugin.ext.subversion:subversion-commits-tabpanel | CC-MAIN-2015-14 | en | refinedweb |
...one of the most highly
regarded and expertly designed C++ library projects in the
world. — Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
This is not a toy example. This is actually part of the library. Remember
the
while lazy statement? Putting together
everything we've learned so far, we eill present it... | http://www.boost.org/doc/libs/1_49_0/libs/phoenix/doc/html/phoenix/examples/adding_an_expression.html | CC-MAIN-2015-14 | en | refinedweb |
I wish to keep the for statement for adding towards the variable created when the for statement was created part of my code is
- Code: Select all
def inputheights(x):
for y in range(0, int(x)):
input_height = input('Please enter the height of Student ' + str(y + 1) + "\n")
if str.isdigit(input_height):
heights.append(i... | http://www.python-forum.org/viewtopic.php?p=14109 | CC-MAIN-2015-14 | en | refinedweb |
Opened 6 years ago
Closed 6 years ago
Last modified 3 years ago
#11563 closed (invalid)
Models are not registered at the moment when AdminSite.get_urls() runs, only at mod_wsgi environment
Description
I'm using Django 1.1rc1 on Python 2.5.2 + mod_wsgi 1.3.1 + Apache 2.2.8 on a Ubuntu machine. I have never installed pyt... | https://code.djangoproject.com/ticket/11563 | CC-MAIN-2015-14 | en | refinedweb |
Hello, - 03:24 AM
Hello, - 06:30 AM
Posted 19 January 2013 - 11:09 AM
I too haven't used SFML, but you can always use std::stringstream. Usage is similar to std::cout and std::cin (you can use std::istringstream and std::ostringstream if you want):
#include <sstream> int main() { // ... int fps = 60; std::stringstream ... | http://www.gamedev.net/topic/637514-using-sfstring-to-get-a-variable-on-screen/ | CC-MAIN-2015-14 | en | refinedweb |
This article was contributed by Abhinav Keswani
Abhinav heads up the Bespoke Solutions team at Trineo, a boutique software development shop based in New Zealand and Australia. After way too many years wrangling the vagrancies of massive public facing web infrastructure, Abhinav and the Trineo team focus on developing a... | https://devcenter.heroku.com/articles/queuing-ruby-resque | CC-MAIN-2015-14 | en | refinedweb |
" An example for a vimrc file.
"
" Maintainer: Bram Moolenaar <Bram@vim.org>
" Last change: 2002 May 28
"
" then Vi settings (much better!).
" This must be first, because it changes other options as a side effect.
set nocompatible
" allow backspacing over everything in insert mode
set backspace=indent,eol,start
set aut... | http://www.linuxquestions.org/questions/linux-software-2/vi-problem-never-been-solved-76413/ | CC-MAIN-2015-14 | en | refinedweb |
Here is one such clean up operation that I would need to do on a .r script. A standard function definition looks like this:
- Code: Select all
function_name <- function(params) {
# stuff
}
The above is the right style. Sometimes code can look like one of the following:
- Code: Select all
function_name <- function(param... | http://www.sublimetext.com/forum/viewtopic.php?p=25118 | CC-MAIN-2015-14 | en | refinedweb |
You are not logged in.
Pages: 1
Hi, I want to write a code to handle signal. Suppose I am executing an infinite loop, if I press ctrl+d I want to get out of the loop. The program should not terminate however.
some thing like:
for(; ;)
printf("\n I am inside for loop");
printf("\n For loop terminated");
Can some body wr... | https://developerweb.net/viewtopic.php?id=6094 | CC-MAIN-2021-39 | en | refinedweb |
#include <stdint.h>
Go to the source code of this file.
Definition at line 15 of file field_5x52_int128_impl.h.
Definition at line 18 of file field_5x52_int128_impl.h.
[... a b c] is a shorthand for ... + a<<104 + b<<52 + c<<0 mod n. px is a shorthand for sum(a[i]*a[x-i], i=0..x). Note that [x 0 0 0 0 0] = [x*R].
Defin... | https://doxygen.bitcoincore.org/field__5x52__int128__impl_8h.html | CC-MAIN-2021-39 | en | refinedweb |
At last we can add a geometry or surface shader to an Entity in your RealityKit scene with the release of RealityKit 2! Coming with iOS 15/macOS 12.
What Is a Shader?
A shader is code that is passed to the renderer to then be run at specific stages in the rendering pipeline.
The two shaders we now have in RealityKit ar... | https://maxxfrazer.medium.com/getting-started-with-realitykit-shaders-468c55738f8e | CC-MAIN-2021-39 | en | refinedweb |
Comparing part of a .pdf with a Store.Region
Comparing part of a .pdf with a Store.Region
Team,
I have a Store.Region of an image of a .pdf that looks like:
and I have a generated .pdf from my web application that looks like:
I'm trying to verify that the Logo is found on the .pdf and have tried all different kinds of:... | https://community.smartbear.com/t5/TestComplete-General-Discussions/Comparing-part-of-a-pdf-with-a-Store-Region/m-p/220262 | CC-MAIN-2021-39 | en | refinedweb |
.
The Big Calculator
At first I intended to entitle this article something like “If programmers can’t create medicines, why can medics create programs?” Take some imaginary programmer – he is not allowed to develop and prepare medicines. The reason is obvious: he doesn’t have the necessary education for that. However, ... | https://hownot2code.com/2017/06/14/the-big-calculator-gone-crazy/ | CC-MAIN-2021-39 | en | refinedweb |
table of contents
NAME¶sd_bus_set_watch_bind, sd_bus_get_watch_bind - Control socket binding watching on bus connections
SYNOPSIS¶
#include <elogind/sd-bus.h>
int sd_bus_set_watch_bind(sd_bus *bus, int b);
int sd_bus_get_watch_bind(sd_bus *bus);
DESCRIPTION¶sd.), inotify(7), sd_bus_call(3), sd_bus_add_match(3), sd_bus_... | https://manpages.debian.org/testing/libelogind-dev-doc/sd_bus_get_watch_bind.3.en.html | CC-MAIN-2021-39 | en | refinedweb |
While working on a data science project, the first step is acquiring the data. For this purpose, we traverse through several websites where certain datasets are available in a structured manner and we can download and have it ready to use. Even if we have a dataset, it might not have enough data and we know our ML mode... | https://analyticsindiamag.com/how-to-create-an-image-dataset-and-labelling-by-web-scraping/ | CC-MAIN-2021-39 | en | refinedweb |
If for some reason you need a swiftUI slider that looks like Andoid slider then this custom component may be useful to you.
If you have doubts, please, check the following link:
After successfully retrieved the package and added it to your project, just import
SlottedSlider and you can get the full benefits of it.
impo... | https://swiftpack.co/package/sarrajbs/SlottedSlider | CC-MAIN-2021-39 | en | refinedweb |
ArchWiki talk:Requests
Is the wiki missing documentation for a popular software package or coverage of an important topic? Or, is existing content in need of correction, updating, or expansion? Write your requests below and share your ideas...)
- I have recently added ipxe to
[community], which apart from the defaults ... | https://wiki.archlinux.org/title/ArchWiki_talk:Reports | CC-MAIN-2021-39 | en | refinedweb |
Tensorflow has many inbuilt functions that allow manipulating tensors. The TensorFlow add is one of them. It allows you to add two tensors. In this entire tutorial, you will learn how to add multiple tensors in Tensorflow with examples.
Examples on tensorflow.add() method
In this section, you will know all the examples... | https://www.datasciencelearner.com/tensorflow-add-multiple-tensors-examples/ | CC-MAIN-2021-39 | en | refinedweb |
LOUISVILLE, Ky.--(BUSINESS WIRE)--Brown-Forman Corporation (NYSE: BFA) (NYSE: BFB) reported financial results for its fourth quarter and fiscal year ended April 30, 2018. For the fourth quarter, the company’s reported net sales1 increased 6% to $733 million (+5% on an underlying2 basis) compared to the same prior-year ... | https://www.businesswire.com/news/home/20180606005619/en/ | CC-MAIN-2018-47 | en | refinedweb |
If You're Using Java’s Scanner Class for Keyboard Input, You're Doing it Wrong
If You're Using Java’s Scanner Class for Keyboard Input, You're Doing it Wrong
So, if you're using the Scanner class for keyboard input in Java, you're probably doing it wrong. Check out this post to learn more about the Scanner class.
Join ... | https://dzone.com/articles/if-youre-using-javas-scanner-class-for-keyboard-in | CC-MAIN-2018-47 | en | refinedweb |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.