text
stringlengths
454
608k
url
stringlengths
17
896
dump
stringclasses
91 values
source
stringclasses
1 value
word_count
int64
101
114k
flesch_reading_ease
float64
50
104
I've been playing around with files and streams and just hit a pot hole. My goal is to be able to input time and date into a file when say someone "clocks in/out". Just a little program that will help me keep up with my time in school. #include <iostream> #include <fstream> using namespace std; int main() { ofstream a_...
https://www.daniweb.com/programming/software-development/threads/18583/inputing-system-date-t-and-system-time-t-into-a-file
CC-MAIN-2018-43
refinedweb
143
83.46
A Programming Language with Extended Static Checking An interesting problem I’ve encountered many times in Java is that of conflicting names. For example, suppose I have the following code: import wyil.lang.*; import wyil.lang.Type.*; ... public static Type T_Bool = new Type.Bool(); This is all well and good. The probl...
http://whiley.org/2010/10/04/better-namespaces/
CC-MAIN-2020-05
refinedweb
225
61.53
RECOMMENDED: If you have Windows errors then we strongly recommend that you download and run this (Windows) Repair Tool. A block of code is set as follows: Function Multiply-Numbers { Param($FirstNum, $SecNum) Try { Write-Host ($FirstNum * $SecNum) } Catch { Write-Host "Error in function, present two numbers to multipl...
http://thesecondblog.com/win32-error-code-109/
CC-MAIN-2018-09
refinedweb
586
59.9
Technical Support On-Line Manuals RL-ARM User's Guide (MDK v4) #include <rtl.h> OS_RESULT os_tsk_delete ( OS_TID task_id ); /* Id of the task to delete */ If a task has finished all its work or is not needed anymore, you can terminate it using the os_tsk_delete function. The os_tsk_delete function stops and deletes the...
http://www.keil.com/support/man/docs/rlarm/rlarm_os_tsk_delete.htm
CC-MAIN-2019-30
refinedweb
142
68.67
28 February 2012 09:53 [Source: ICIS news] By Clive Ong SINGAPORE (ICIS)--Asian acrylonitrile-butadiene-styrene (ABS) producers may hold on to their current offers given high feedstock costs, despite recent falls in values of a major raw material butadiene (BD), traders said on Tuesday. ABS offers are at a wide range t...
http://www.icis.com/Articles/2012/02/28/9536319/asia-abs-makers-may-keep-high-offers-despite-bd-fall.html
CC-MAIN-2015-18
refinedweb
465
55.1
Navigate2 method Navigates the browser to a location that might not be expressed as a URL, such as a pointer to an item identifier list (PIDL) for an entity in the Windows Shell namespace. Syntaxobject.Navigate2(URL, Flags, TargetFrameName, PostData, Headers) Parameters - URL [in] Type: VariantRequired. A variable or e...
https://msdn.microsoft.com/en-us/library/windows/desktop/aa752094(v=vs.85)
CC-MAIN-2016-50
refinedweb
312
55.74
You can subscribe to this list here. Showing 1 results of 1 >>> Daniel Clemente <dcl441-bugs@...> seems to think that: > >> 1) A java specific implementation of `semantic-tag-include-filename' >> to turn 'org.slf4j.Logger' into 'org/slf4j/Logger.java' (or whatever) > > This can be hard because: >1. You have to know the...
http://sourceforge.net/p/cedet/mailman/cedet-devel/?viewmonth=200901&viewday=5
CC-MAIN-2014-52
refinedweb
563
76.82
Can I resize ui.image pictures in Pythonista? I know I can do resizing with pillow(i.e. reducing the dimensions of the picture), but to start with I have the picture as a ui.imageobject. So can I resize it as that (before I send it over to pillow)? @halloleooo try import ui ui_image = ui.Image.named('test:Lenna') w,h =...
https://forum.omz-software.com/topic/7011/can-i-resize-ui-image-pictures-in-pythonista/?
CC-MAIN-2022-27
refinedweb
120
54.49
Hi! - DC NIC teaming - SPNs with IP addresses - Moving the DFSR conflict folder - Issuing user certs to unmanageable Apple devices - DFSR USN Journal recommendations - Windows 2008 DFS Event Log Messages - DFSR and object access auditing SACLs - SID uniqueness - USN journal loss - Setting SPN with AD PowerShell - KCC n...
https://blogs.technet.microsoft.com/askds/2011/01/21/friday-mail-sack-the-gangs-all-here-edition/
CC-MAIN-2019-39
refinedweb
685
58.48
File .babelrc is Missing Projects generated with the CLI after upgrading to @quasar/cliwill not answer to buildor devbut instead cite a missing .babelrcfile when quasar devis run. Dev mode.......... spa Quasar theme...... mat Quasar CLI........ v0.17.25 Quasar Framework.. v0.17.20 Debugging......... enabled app:quasar-...
https://forum.quasar-framework.org/topic/3930/file-babelrc-is-missing
CC-MAIN-2019-43
refinedweb
740
70.8
Many of you must have played HiLo game in your childhood. Game may be some sort of similar to it, if not exactly same. It was fun, right?? So what if we are adult now? Let’s play this game once again in our own way. Let’s build a java program for this and start playing this wonderful game HiLo. Writing HiLo game in Jav...
https://howtodoinjava.com/java/puzzles/hilo-guessing-game-in-java/
CC-MAIN-2021-31
refinedweb
686
53.27
I get this linker error: "public: void __thiscall rsblsb::Sound::play(void)" (?play@Sound@rsblsb@@QAEXXZ) if I call system->playSound() from one file. If I call the exact same function from another file, it links correctly and the sound plays no problem. I’m linking fmodex_vc.lib. I tested in 3 different configurations...
https://www.fmod.org/questions/question/forum-30597/
CC-MAIN-2017-13
refinedweb
350
67.45
bundled with Java 1.4 and later. Furthermore, most current XSLT processors written in Java support TrAX, including Xalan-J 2.x, jd.xslt, LotusXSL, and Saxon. The specific implementation included with Java 1.4 is Xalan-J 2.2D10. Note Annoyingly, the Xalan-J classes included in Java 1.4 are zipped into the rt.jar archiv...
https://flylib.com/books/en/1.131.1.174/1/
CC-MAIN-2021-31
refinedweb
1,881
56.66
BridJ is a library that lets you call C, C++ and Objective-C libraries from Java as if you were writing native code. It is a recent alternative to JNA. With the help of JNAerator, it provides clean and unambiguous mappings to C/C++ code and a very straightforward and highly typed API to manipulate pointers, classes, st...
http://code.google.com/p/bridj/wiki/FAQ
crawl-003
refinedweb
891
55.74
12.8.: Try running this in Codelens. When a function is invoked in Codelens, the local scope is separated from global scope by a blue box. Variables in the local scope will be placed in the blue box while global variables will stay in the global frame. lifetime ends when the function completes its execution. So it is n...
https://runestone.academy/runestone/static/fopp/Functions/Variablesandparametersarelocal.html
CC-MAIN-2018-51
refinedweb
321
72.97
Display all Acct_No's in a subject line of a Form_letter Report.Vijetha Aug 21, 2013 10:53 AM Hi Everyone, I have a problem in the reports. I have created a report which involves a 'Form_Letter' & 'Tabular' Styles. In the Subject line of the form_letter_text there is a field selected from database-table-column that is ...
https://community.oracle.com/message/11156019
CC-MAIN-2017-22
refinedweb
443
53.41
07 May 2013 18:49 [Source: ICIS news] HOUSTON (ICIS)--The average price for a gallon of gasoline in the ?xml:namespace> Diesel prices are projected to average $3.88/gal for April-September, the EIA said in its short-term energy outlook (STEO). US gasoline prices averaged $3.69/gal last summer, while diesel averaged $3....
http://www.icis.com/Articles/2013/05/07/9665837/us-eia-projects-16-centgal-decrease-in-gasoline-prices-this.html
CC-MAIN-2014-49
refinedweb
226
69.99
GREPPER SEARCH SNIPPETS USAGE DOCS INSTALL GREPPER All Languages >> Javascript >> get channel id discord js v12 “get channel id discord js v12” Code Answer’s get channel id discord js v12 javascript by Crazy Cod on Jan 02 2021 Comment 0 client.channels.cache.get('id') discord js v12 get user tag with id javascript by W...
https://www.codegrepper.com/code-examples/javascript/get+channel+id+discord+js+v12
CC-MAIN-2022-05
refinedweb
4,644
57.06
I have a CLion C++ project that has the following structure: project ---->my_includes | ----> my_own.hpp ---->source ----> my_app ----> my_src.cpp #include "my_includes/my_own.hpp" You need to create a CMakeLists.txt for CLion to be happy. It is enough to declare all the source files, you don't have to convert your sco...
https://codedump.io/share/AepC0bNKMpwS/1/clion-indexer-does-not-resolve-some-includes-in-the-project-directory
CC-MAIN-2016-50
refinedweb
220
68.36
shown in other instead. Unigine::Schemer Schemer is a visual scripting system that allows a developer to create complex sequences of gameplay events without having to script them manually. This way the artists can add interactivity to the world without the help of a programmer. By connecting paths in a flow graph, it i...
https://developer.unigine.com/en/docs/2.4.1/code/uniginescript/scripts/systems/unigine_schemer?rlang=cpp
CC-MAIN-2019-35
refinedweb
1,278
65.83
Contents This section describes a grammar common to any version of CSS (including CSS2). Future versions of CSS will adhere to this core syntax, although they may add additional syntactic constraints. These all rule sets. Here is an example. Assume a CSS2 parser encounters this style sheet: @import "subs.css"; H1 { col...
http://www.w3.org/TR/WD-CSS2/syndata.html
CC-MAIN-2018-39
refinedweb
453
59.4
I have multiple case classes representing values in DB for ex User which saves user based properties like name / age / address and CallLog which saves timestamp / status_of_call What i want to achieve I want to have a helper function which accepts list of models and checks if the list is empty then returns "error" othe...
https://codedump.io/share/59NRqBwfWCsu/1/how-to-define-implicit-writes-in-trait
CC-MAIN-2018-22
refinedweb
318
52.19
Installation and Deployment of AiiDA¶ Supported architecture¶ AiiDA has a few strict requirements, in its current version: first, it will run only on Unix-like systems - it is tested (and developed) in Mac OS X and Linux (Ubuntu), but other Unix flavours should work as well. Moreover, on the clusters (computational res...
https://aiida.readthedocs.io/projects/aiida-core/en/v0.4.1/installation.html
CC-MAIN-2020-50
refinedweb
2,333
53.21
Convert large Accomplishments class to aspected "container" class Bug Description The daemon code has a very large class called Accomplishments. It performs the following sorts of tasks: * image manipulation * configuration management * cache dir setup * accomplishment management * trophy file utilities * UbuntuOne int...
https://bugs.launchpad.net/ubuntu-accomplishments-daemon/+bug/947288
CC-MAIN-2016-26
refinedweb
276
54.42
Using static typing Python is both a strongly typed and a dynamically typed language. Strong typing means that variables do have a type and that the type matters when performing operations on a variable. Dynamic typing means that the type of the variable is determined only during runtime. Due to strong typing, types ne...
https://www.futurelearn.com/courses/python-in-hpc/0/steps/65121
CC-MAIN-2020-05
refinedweb
770
56.18
The base method for inserting images into a POD result is to use the document function, described in the previous section. That being said, this method has its limits, due to the fact that it implies using a POD statement. Indeed, a statement completely replaces the portion of the ODF result being its target. For examp...
https://appyframe.work/100/view?page=main&nav=ref.19.pages.15.18&popup=False
CC-MAIN-2022-27
refinedweb
545
52.39
Video Skills for Fire TV Apps Overview from the Alexa Skills Kit. However, the integration into Android-based streaming media apps for Fire TV will involve additional APIs and services, including Amazon Device Messaging (ADM), AWS Lambda, AWS IAM, Login with Amazon, Cloudwatch, Node JS, Alexa Client Library, and more. ...
https://developer.amazon.com/pt-br/docs/video-skills-fire-tv-apps/introduction.html
CC-MAIN-2019-39
refinedweb
1,811
53.51
Developing JAX-WS Web Service Clients. Consuming the Spell Checker Web Service. Creating the Client In this section, you use a wizard to generate Java objects from the web service’s WSDL file. Choose File > New Project (Ctrl-Shift-N on Windows and Linux, ⌘-Shift-N on MacOS). Under Categories, choose Java Web. Under Pro...
https://netbeans.apache.org/kb/docs/websvc/client.html
CC-MAIN-2022-33
refinedweb
1,250
68.26
Difference between revisions of "User talk:Kynikos" Revision as of 22:55, 25 December 2013 Feel free to leave here your comments on my edits or anything else you want to talk about: I'll reply as soon as I can! Contents - 1 Xyne-related page edits after Powerpill, Bauerbill... discontinuation - 2 Where should translati...
https://wiki.archlinux.org/index.php?title=User_talk:Kynikos&curid=11164&diff=290379&oldid=290359
CC-MAIN-2017-34
refinedweb
879
53.65
The System.console() method provides an access point for the Console object, which is used to read input from a character input device like the keyboard and prints to character display device like the screen’s display. If the JVM is started indirectly or as a background process, the method will return null. The Console...
https://stonesoupprogramming.com/2017/11/19/kotlin-console-object/
CC-MAIN-2021-31
refinedweb
441
67.15
Sven-Thorsten Dietrich <sdietrich@mvista.com> writes:> +#if defined(CONFIG_SMP) && defined(CONFIG_PREEMPT)> +/*> + * This could be a long-held lock. If another CPU holds it for a long time,> + * and that CPU is not asked to reschedule then *this* CPU will spin on the> + * lock for a long time, even if *this* CPU is ask...
https://lkml.org/lkml/2004/10/9/38
CC-MAIN-2017-30
refinedweb
168
54.32
This is very similar to the first example, this time I wanted to check out the MH-ET LIVE MiniKit for ESP32 rather than the Lolin32 Parts List Pinout This is taken from And here is the image from the same site Code The code is similar – just uses a different I/O from the Lolin32 – I added debug as I was having problems...
http://www.esp32learning.com/micropython/mh-et-live-minikit-for-esp32-and-micropython.php
CC-MAIN-2021-39
refinedweb
104
73.51
import data into quickbooks Orçamento $30-500 USD I need a program/script that takes supplied data and using that supplied data create an IFF file(or other suitable method) that will create a new customer, create a new invoice, and then memorize a new invoice. The data comes from the following page: [url removed, login...
https://www.br.freelancer.com/projects/php-perl/import-data-into-quickbooks/
CC-MAIN-2017-39
refinedweb
128
58.82
go to bug id or search bugs for Description: ------------ the newest 5.1.X version of PHP does not seem to work with day light savings time. the Expected result was recieved from PHP 5.0.4 I am adding 6 days to Oct 25th to cross over daylight savings time on Oct 30th. There should be 25 hours in Oct 30th. Reproduce cod...
https://bugs.php.net/bug.php?id=33871
CC-MAIN-2018-09
refinedweb
1,431
82.95
On Wednesday 13 May 2009, Andrew Morton wrote:> On Wed, 13 May 2009 10:39:25 +0200> "Rafael J. Wysocki" <rjw@sisk.pl>.> > > > Isn't this a somewhat large problem?Yes, it is. The thing is 8 times slower (15 s vs 2 s) without theshrink_all_memory() in at least one test case. 100% reproducible.> The main point (I thought)...
https://lkml.org/lkml/2009/5/13/362
CC-MAIN-2018-09
refinedweb
406
58.38
Odoo Help Odoo is the world's easiest all-in-one management software. It includes hundreds of business apps: CRM | e-Commerce | Accounting | Inventory | PoS | Project management | MRP | etc. Can't override rml report I created module that overrides default invoice and it should use different rml file making it easy to ...
https://www.odoo.com/forum/help-1/question/can-t-override-rml-report-20315
CC-MAIN-2017-30
refinedweb
638
52.97
Ads Via DevMavens In June, Dmitry posted a very simple photo album on his blog. I immediately liked it because it's both easy to set-up (just drop the ashx file into your web site's photo directory) and to manage (no need to upload images one by one using a clumsy web upload field, just upload new photos using ftp or t...
http://weblogs.asp.net/bleroy/archive/2005/09/08/a-simple-asp-net-photo-album.aspx
crawl-002
refinedweb
6,417
76.22
This is wash. It is yet-another shell environment for the web. Wash's special trick is that it can “mount” virtual file systems using postMessage based IPC. It is accidentaly similar to Plan 9‘s file system, in that each origin comes with it’s own virtual filesystem that can contain data and executables. The actual IPC...
https://chromium.googlesource.com/apps/libapps/+/hterm-1.32/wash/README.md
CC-MAIN-2019-22
refinedweb
127
67.86
Subject: Re: [boost] [bcp] Bcp namespace rename causes compileerrorsonmultiple libraries (type_traits, range, spirit, foreach, regex, iostreams) in 1.43 From: John Maddock (boost.regex_at_[hidden]) Date: 2010-06-10 11:01:03 >> I will look into and try and fix all the issues you identify as soon as I >> can, > > Thanks!...
https://lists.boost.org/Archives/boost/2010/06/167878.php
CC-MAIN-2021-10
refinedweb
112
68.87
- NAME - VERSION - SYNOPSIS - DESCRIPTION - METHODS - SYNTAX - OPTIONS - SEE ALSO - BUGS - AUTHOR NAME Syntax::Feature::Sugar::Callbacks - Add sugar for declarative method callbacks VERSION version 0.002 SYNOPSIS use AnythingExportingMethodModifiers; use syntax 'sugar/callbacks' => { -callbacks => { after => {}, before...
http://web-stage.metacpan.org/pod/Syntax::Feature::Sugar::Callbacks
CC-MAIN-2019-43
refinedweb
553
55.44
I opened an existing 1.2 app, added a store, assigned it to a combo, then generated the code. Loaded it up in Firefox and got "c is not a constructor". I eventually figured out that the namespace I had in the 1.2 project settings window is now available under the "Application" component config's "name" attribute, but i...
https://www.sencha.com/forum/showthread.php?181929-App-name-reverts-to-MyApp-opening-old-projects
CC-MAIN-2017-09
refinedweb
357
69.96
Discover more resources for these services: Virtual Machines Discover more resources: Compute Data Services App Services This tutorial describes how to use MySQL in conjunction with Django on a single Azure virtual machine. This guide assumes that you have some prior experience using Azure and Django. For an introducti...
http://azure.microsoft.com/en-us/documentation/articles/virtual-machines-python-use-mysql-django/
CC-MAIN-2014-15
refinedweb
1,203
57.67
I'm new to the topic shell extensions and I'm looking for resources about namespace extensions. I would like to write a namespace extension which supports SFTP with all options to browse like FTP in the explorer. I read the examples 1, 2 of zengxi from codeproject, but they don't compile right and seems to be old. I th...
https://codedump.io/share/er7eUN5ww7Qw/1/writing-namespace-extensions-with-windows-7-integration
CC-MAIN-2017-04
refinedweb
237
62.48
WiFi question On the WiPy 2.0 when does the wireless interface come up? I know I can disable both the wireless network and network server using the following code in my boot.py (before re-configuring them as required) but I was wondering if the default wireless access point and network server are active before the boot...
https://forum.pycom.io/topic/1006/wifi-question
CC-MAIN-2021-31
refinedweb
185
68.26
Library Interfaces and Headers - shared memory facility #include <sys/shm.h> The <sys/shm.h> header defines the following symbolic constants: attach read-only (else read-write) round attach address to SHMLBA The <sys/shm.h> header defines the following symbolic value: segment low boundary address multiple The following...
http://docs.oracle.com/cd/E18752_01/html/816-5173/shm.h-3head.html
CC-MAIN-2015-27
refinedweb
129
50.94
Home > c#, Visual Studio 2005 > ReSharper 3.0 and Namespaces? ReSharper 3.0 and Namespaces? May 7, 2007 I’ve been using b423 of ReSharper 3.0 for a while now (the EAP program is great! thank you JetBrains!) and, today, noticed that in Orcas, my namespaces have issues. Odd; it seems to be something to ignore for now; bu...
https://tiredblogger.wordpress.com/2007/05/07/resharper-30-and-namespaces/
CC-MAIN-2018-05
refinedweb
267
65.62
Java inherited bit manipulation from C. As a programmer you might not use it often, but still, it's quite important. Java integers are of 32 bits (4 bytes) and are signed. This means that left most bit (Most Significant Bit / MSB) works as the sign identifier. If it's 1, the number is negative (and positive if it's 0)....
http://geekrai.blogspot.com/2014/03/bit-manipulation-in-java.html
CC-MAIN-2019-04
refinedweb
897
58.99
Nevertheless colleagues to do when developing using mapped collections in Hibernate. Below are the 5 things to consider when working with Hibernate mapped collections : Lets consider the following classic “Library – Visit” example : The following Library class has a collection of Visit instances: package eg; import jav...
https://www.javacodegeeks.com/2011/02/hibernate-mapped-collections.html
CC-MAIN-2018-39
refinedweb
2,052
50.87
For many software developers, Apple’s iPhone prints money. For other developers, it’s a vexing mess. As you waltz into the depths of Objective C, Cocoa, and the host of iPhone software development tools, it can be difficult to find sufficient official documentation and near impossible to find examples of many technique...
http://www.linux-mag.com/id/7368/
crawl-003
refinedweb
806
51.99
This sponsored post features a product relevant to our readers while meeting our editorial guidelines for being objective and educational. As developers, we want the applications we build to be resilient when it comes to failure, but how do you achieve this goal? If you believe the hype, micro-services and a clever com...
https://code.tutsplus.com/articles/writing-robust-web-applications-the-lost-art-of-exception-handling--net-36395
CC-MAIN-2018-47
refinedweb
3,378
52.09
Bugzilla – Bug 63 #ident is not recognized by C frontend Last modified: 2003-12-10 16:41:22 You need to before you can comment on or make changes to this bug. Gcc 2.96 has no problem with #ident directive in the file. Haven't checked if GCC 3.4 itself has deprecated this directive though... I'm not familiar with #ident...
http://llvm.org/bugs/show_bug.cgi%3Fid=63
crawl-002
refinedweb
271
79.97
How to trigger change detection in Angular? I perform add, update and delete operations on the grid but I can’t able to refresh the grid without refreshing the page. How Can I dothis? Answers (1)Add Answer Using detect changes() in a component will immediately run change detection in that component and its children. Th...
https://www.thecodehubs.com/question/how-to-trigger-change-detection-in-angular/
CC-MAIN-2022-21
refinedweb
123
51.14
org.apache.commons.pipeline.Stage; 21 22 /** 23 * This class is used to store a collection of information about a particular 24 * validation failure. 25 * 26 */ 27 public class ValidationFailure { 28 /** 29 * Enumeration of possible causes of validation failure 30 */ 31 public enum Type { 32 /** 33 * Indicates that a ...
http://commons.apache.org/sandbox/pipeline/xref/org/apache/commons/pipeline/validation/ValidationFailure.html#0
crawl-003
refinedweb
331
55.07
Hi Everyone… I’m following a railscast episode on how to implement an invitation feature. It’s going really well, but i’ve hit a minor snag that I cant get over… undefined method `generate_token’ for #Invitation:0x2563bf8 The invite form allows me to check for a user, and whether they already have registered. If they h...
https://www.ruby-forum.com/t/undefined-method-generate-token/183209
CC-MAIN-2022-40
refinedweb
156
56.86
ServerCheck: Building a Python CLI with Click Keith Thompson DevOps Training Architect II in Content. ServerCheck: Building a Python CLI with Click Introduction. Connect to the Lab Option 1: Connect with the Visual Studio (VS) Code Editor - Open your terminal application, and run the following command: ssh cloud_user@P...
https://linuxacademy.com/hands-on-lab/570c4e02-f3fb-468b-a1e6-e60938ee4b70/
CC-MAIN-2020-05
refinedweb
814
51.34
In this exercise, we explore the use of WIN32_product and classes provided by the Windows installer provider. Open Notepad or your favorite script editor. At the top of your script, declare a variable called $strComputer. Assign the WMI shortcut dot character (.) to indicate you want to connect to WMI on your local mac...
https://www.safaribooksonline.com/library/view/microsoft-windows-powershelltm/9780735623958/ch06s08.html
CC-MAIN-2018-30
refinedweb
126
85.39
Deblank June 28, 2019 There are at least 37.19 bajillion ways to do this, probably a few more. I’ll give six: awk '!/^[:space:]*$/' grep -v "^[ \t]*$" sed '/^[ \t]*$/d' awk '!/^[ \t]*$/' grep -vE "^\s*$" awk '!/^\s*$/' Those aren’t all the same, because of varying definitions of white space. At fourteen characters, I’m...
https://programmingpraxis.com/2019/06/28/deblank/2/
CC-MAIN-2021-21
refinedweb
269
67.35
Red Hat Bugzilla – Full Text Bug Listing Created attachment 422218 [details] Spec file for python-mock Description of problem: This is for info on a name space collision for Red Hat or Fedora folks. In my adventures to put together a test passing rpm build of BuildBot 0.8.0, I cherry picked a couple of commits for the ...
https://bugzilla.redhat.com/show_bug.cgi?format=multiple&id=601725
CC-MAIN-2017-30
refinedweb
3,020
56.96
This article is in the Product Showcase section for our sponsors at CodeProject. These articles are intended to provide you with information on products and services that we consider useful and of value to developers. Previously we have written about profiling performance and profiling memory with ANTS Profiler. This t...
https://www.codeproject.com/articles/10174/ants-profiler-how-to-reduce-the-number-of-objects?fid=173352&df=90&mpp=10&noise=1&prof=true&sort=position&view=expanded&spc=none
CC-MAIN-2016-50
refinedweb
446
62.07
Overview Atlassian SourceTree is a free Git and Mercurial client for Windows. Atlassian SourceTree is a free Git and Mercurial client for Mac. Play with Error-Monads in OCaml PVEM actually stands for “Polymorphic Variants-based Error Monads.” Usage The basic idea of these modules is to manipulate: type ('ok, 'error) re...
https://bitbucket.org/smondet/pvem.git
CC-MAIN-2015-48
refinedweb
306
58.38
EuroPython 2017, part 1 (Needs editing after I get some time and sleep) Day zero, Sunday After a rather pleasant flight on Sunday morning, where out of 80 passengers, I sat next to the only other EuroPython visitor, I took a nicely airconditioned train from Bologna to Rimini. I really hoped that airco was everywhere, o...
https://medium.com/sanoma-technology-blog/europython-2017-part-1-4067aabc5487
CC-MAIN-2017-47
refinedweb
2,040
59.43
Can you show me by using my code for an example? Type: Posts; User: LooneyTunerIan Can you show me by using my code for an example? import java.util.Random; import java.util.Scanner; /* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Template...
http://www.javaprogrammingforums.com/search.php?s=af24fbc9d5d0a903ce1bea90a48d1365&searchid=1461423
CC-MAIN-2015-14
refinedweb
429
80.38
mr.bob templates for Odoo projects Project description bobtemplates.odoo is a set of mr.bob templates to use when developing Odoo addons. It provides the following templates: - addon: an addon skeletton, with optional OCA README and icon - model: an Odoo model with accompanying form, tree, action, menu, demo data and A...
https://pypi.org/project/bobtemplates.odoo/
CC-MAIN-2021-17
refinedweb
671
64.81
0 def my_startswith(s1, s2): if s1[0] == s2[0]: return True elif s1[0] != s2[0]: return False elif s2 == '': return True elif s1 == '' and s2 == '': return True Iam having trouble with the third and fourth elif. Third elif: i need to say that if s1 is a string and s2 is an empty string -> true, the fourth elif: i need ...
https://www.daniweb.com/programming/software-development/threads/465682/i-am-trying-to-create-a-function-like-startswith
CC-MAIN-2016-50
refinedweb
101
85.83
Events are objects that are used for communication between threads. A thread waits for a signal while another thread outputs it. Basically, an event object manages an internal flag that can be set to true with the set() method and reset to false with the clear() method. The wait() method blocks until the flag is true. ...
https://www.oreilly.com/library/view/python-parallel-programming/9781785289583/ch02s10.html
CC-MAIN-2019-35
refinedweb
120
74.79
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
refinedweb
654
68.81
Search Inbox Data Using Smart Tags in Word 2003 This content is no longer actively maintained. It is provided as is, for anyone who may still be using these technologies, with no warranties or claims of accuracy with regard to the most recent product version or service release. Summary: Link your data points in Microso...
https://msdn.microsoft.com/en-us/library/bb226685(office.11)
CC-MAIN-2015-11
refinedweb
3,337
56.86
Python Tutorial PythonContents - Why Python? - Variables - Types of Variables - Strings and Characters - Lists and Tuples - Loops - Decisions - Importing Modules - Writing Functions - Writing Programs - Errors and Warnings - Input - Exercise 1 - Adding numbers - Exercise 2 - Adding positive numbers - Arithmetic - Exerc...
http://www-h.eng.cam.ac.uk/help/languages/python/tutorial/index.php?reply=extravariables
CC-MAIN-2017-51
refinedweb
6,795
71.14
std::packaged_task::packaged_task From cppreference.com Constructs a new std::packaged_task object. 1) Constructs a std::packaged_taskobject with no task and no shared state. 2) Constructs a std::packaged_taskobject with a shared state and a copy of the task, initialized with std::forward<F>(f). 3) Constructs a std::pa...
http://en.cppreference.com/mwiki/index.php?title=cpp/thread/packaged_task/packaged_task&oldid=64858
CC-MAIN-2014-52
refinedweb
229
51.24
Oracle 1z0-804 1z0-804 : Java SE 7 Programmer II Exam Q: 2 Given: public class DoubleThread { public static void main(String[] args) { Thread t1 = new Thread() { public void run() { System.out.print("Greeting"); } }; Thread t2 = new Thread(t1); // Line 9 t2.run(); } } Which two are true? A. A runtime exception is throw...
https://issuu.com/certifyhere/docs/120803094504-03cb89ffba0d43cfa8fbcc53d72448c6
CC-MAIN-2017-43
refinedweb
627
60.82
Smart home intents are simple messaging objects that describe what smart home Action to perform such as turn on a light or cast audio to a speaker. All of the smart home intents are contained in the action.devices namespace and you must provide fulfillment for them. Whenever Google Assistant sends an intent to fulfillm...
https://developers.google.com/assistant/smarthome/concepts/intents?hl=de-DE
CC-MAIN-2021-21
refinedweb
541
57.37
User Tag List Results 1 to 2 of 2 Thread: Not Railsy, But... How Do You... Hybrid View - Join Date - Apr 2005 - 485 - Mentioned - 0 Post(s) - Tagged - 0 Thread(s) Not Railsy, But... How Do You... i'm workign through agile web dev with rails. i understand the scaffold and that it generates forms based off of your db def...
http://www.sitepoint.com/forums/showthread.php?400470-Not-Railsy-But-How-Do-You&mode=hybrid
CC-MAIN-2015-35
refinedweb
202
84.17
Requirement: I have a custom desktop application and I have created an installer for it. During installation it needs to connect trough Internet to receive the key. Now I have stored these keys in a SharePoint List as given below: The user will provide the Activation Key and Registration Number and will receive the Unl...
http://blogs.msdn.com/pranab/archive/2008/11/24/sharepoint-2007-moss-wss-using-lists-asmx-getlistitems.aspx
crawl-002
refinedweb
838
60.11
A value class that defines the style for pen strokes. More... #include <Wt/WPen> A value class that defines the style for pen strokes. A pen defines the properties of how lines (that may surround shapes) are rendered. A pen with width 0 is a cosmetic pen, and is always rendered as 1 pixel width, regardless of transform...
https://webtoolkit.eu/wt/wt3/doc/reference/html/classWt_1_1WPen.html
CC-MAIN-2021-31
refinedweb
270
70.19
mini18n − translates strings #include <mini18n.h> const char * mini18n(const char * source); const char * mini18n_with_conversion(const char * source, unsigned int format); mini18n() searches for source in the currently loaded translation and returns the translated value if it’s found. In this case, the returned string...
http://man.m.sourcentral.org/ubuntu1710/3+mini18n
CC-MAIN-2019-47
refinedweb
135
54.93
I started thinking about a replacement, it's in org.apache.river.imp.util. The name spaces are as follows: net.jini.* API - must be backward compatible, or breakage minimal for if there's a good reason. com.sun.jini.* - implementation, subject to change. com.artima.* - implementation, subject to change. org.apache.rive...
http://mail-archives.apache.org/mod_mbox/river-dev/201006.mbox/%3C4C2B200C.6050807@zeus.net.au%3E
CC-MAIN-2019-04
refinedweb
477
54.93
ELMAH was originally introduced with the MSDN article “Using HTTP Modules and Handlers to Create Pluggable ASP.NET Components.” The goal of the article was to demonstrate how HTTP modules and handlers can be used in ASP.NET to provide a high degree of componentization that goes just beyond the classical reuse through c...
http://code.google.com/p/elmah/wiki/TechnicalNotes
crawl-002
refinedweb
6,170
53.41
Having built the ICE Code Editor out into separate, reusable classes, I have learned much. Mostly I have learned that I really do not enjoy building large applications in JavaScript. I have to compile it constantly into a single downloadable file. While developing, I have to be sure to load all of the individual files ...
https://japhr.blogspot.com/2013/04/using-ace-code-editor-with-dart.html
CC-MAIN-2018-30
refinedweb
565
60.82
I just discovered that in using pylab you can plot an array or list of number vs the list lenght by default. Let’s say we have a list of point like [2,2,3,4,5,5,6,10, 23,45,58,42,12] points = [2,2,3,4,5,5,6,10,23,45,58,42,12] well to plot this you just have to pylab.plot(points) and this is the results: The whole scrip...
https://blog.michelemattioni.me/tag/plotting/
CC-MAIN-2020-40
refinedweb
185
74.02
I work in a public place where I have to deal with NT 4.0 machines and I can't be logging in and out manually all the time so I was wondering if anyone could help me create a program that would use a username and pass to get out of the program. I am a newb to programming and on chapter 2 of Beginning C++ Game Programmi...
https://cboard.cprogramming.com/windows-programming/74937-lockdown-program.html
CC-MAIN-2017-09
refinedweb
233
63.9
.pool;23 24 /**25 * PoolKeeper class allows to clean up automatically dead and26 * expired objects.27 */28 public class PoolKeeper implements Runnable {29 30 private long sleepTime; // timeout between 2 clean up31 private GenericPool pool; // the pool to clean up32 private boolean running = true;33 34 /**35 * construct...
http://kickjava.com/src/org/enhydra/jdbc/pool/PoolKeeper.java.htm
CC-MAIN-2017-04
refinedweb
164
56.76
Introduction: Arduino Mini Spotlight This is a mini led spotlight that I made which can be controlled by a potentiometer. Step 1: Materials You will need: Arduino Uno Rev 3 Radioshack Standard Servo Potentiometer(I used a 10k) 6v Battery Pack Breadboard Jumper wires Small led Flashlight Step 2: Attach the Potentiometer...
https://www.instructables.com/Arduino-Mini-Spotlight/
CC-MAIN-2020-50
refinedweb
238
71.75
For denoting windows in Architectural Work many architects use a feet and inches finished size to denote the door so a 2668 is a 2’-6" (30") by 6’-8" (78"). On drawings this is typically noted with the feet component being larger than the inches so its a big 2 small 6 big 6 small 8. Is there a way (preferably an easy w...
https://discourse.mcneel.com/t/multiple-font-sizes-in-single-text-box/94125
CC-MAIN-2020-10
refinedweb
638
72.36
You’ve got a very busy calendar today, full of important stuff to do. You worked hard to prepare and make sure all the activities don’t overlap. Now it’s morning, and you’re worried that despite all of your enthusiasm, you won’t have the energy to do all of this with full engagement. You will have to manage your energy...
https://www.programminglogic.com/google-code-jam-2013-round-1a-problem-b/
CC-MAIN-2020-16
refinedweb
865
68.1
First things first here's the code: IEnumerator FadeToBlack() { Debug.Log ("hi"); mySprite.color = GameObject.FindWithTag ("PlayerBase").GetComponent<ColourMaster> ().worldColour; Color TempC = mySprite.color; float speedFade = 5f; while (mySprite.color.a > 0f) { TempC.a -= (0.01f * speedFade); mySprite.color = TempC; ...
https://answers.unity.com/questions/1463849/trying-to-make-sprites-alpha-decrease-to-0-in-orde.html?sort=oldest
CC-MAIN-2019-43
refinedweb
486
59.7
I was thrilled to see in a recent survey from zeroturnaround that Spring MVC was voted the most popular web framework for Java. This framework is very flexible and there are dozens of ways to use it. As with all flexible frameworks that have many options, it is important to discuss common practices. The project I have ...
http://spring.io/blog/2012/08/29/integrating-spring-mvc-with-jquery-for-validation-rules
CC-MAIN-2013-48
refinedweb
1,064
51.78
The Kiwi project aims to automatically translate concurrent C# and F# programs into FPGA circuits for accelerated execution. I work with David Greaves at the University of Cambridge Computer Laboratory and we have a prototype system that consumes .NET bytecode and converts it into VHDL or Verilog circuit descriptions. ...
https://blogs.msdn.microsoft.com/satnam_singh/2010/04/28/kiwi-synthesis-of-c-and-f-combinational-circuit-models-into-fpga-circuits/
CC-MAIN-2017-22
refinedweb
918
50.26
Why does InDesign create widows when you split a paragraph?NightEd-UK Mar 21, 2012 8:53 AM Take a look at the two screen grabs. In this first one the price £48.25 fits at the end of the fourth line. But I want to split the paragraph at that point. Look what happens when I do: Why does it do that? As you see from the fi...
https://forums.adobe.com/thread/978152
CC-MAIN-2016-30
refinedweb
1,701
68.4
How to import excel data into GridView using File Upload Control? In this article I have explained about how to read excel data and convert into dataset and bind in the Grid View. In this example I have get Excel file using file upload control. For the security reasons we are not keep the file upload client path in the...
https://www.dotnetspider.com/resources/43010-how-import-excel-data-into-dataset-using-file.aspx
CC-MAIN-2019-30
refinedweb
517
59.6
A well designed application should probably support Copy and Paste. While it sounds simple, it actually entails a few features. Copying from Your Application to Other Applications This means that your application should offer up data formats that other applications can read. So a user should be able to copy in your app...
http://theravingrick.blogspot.com/2011/08/coding-copy-and-paste-functionality.html
CC-MAIN-2018-30
refinedweb
1,852
55.13
I love to organize my code, so ideally I want one class per file or, when I have non-member functions, one function per file. The reasons are: include // foo.h void foo(int n); // bar.h void bar(double d); // foobar.cpp #include <vector> void foo(int n) { std::vector<int> v; ... } void bar(double d) { std::vector<int> ...
https://codedump.io/share/b4asSMwUu1mm/1/should-i-put-many-functions-into-one-file-or-more-or-less-one-function-per-file
CC-MAIN-2017-17
refinedweb
179
67.55
import "golang.org/x/image/font/basicfont" Package basicfont provides fixed-size font faces. var Face7x13 = &Face{ Advance: 7, Width: 6, Height: 13, Ascent: 11, Descent: 2, Mask: mask7x13, Ranges: []Range{ {'\u0020', '\u007f', 0}, {'\ufffd', '\ufffe', 95}, }, } } Face is a basic font face whose glyphs all have the same...
https://godoc.org/golang.org/x/image/font/basicfont
CC-MAIN-2017-43
refinedweb
101
71.92
(@bind_values); ; $rv = $sth->rows; $rc = $dbh->commit; $rc = $dbh->rollback; $sql = $dbh->quote($string); $rc = $h->err; $str = $h->errstr; $rv = $h->state; $rc = $dbh->disconnect; This is the DBI specification that corresponds to the DBI version 1.13 ($Date: 1999/07/13 14:58:32 $). The DBI specification is evolving a...
http://www.fnal.gov/docs/products/perl/pod.new/site_perl/5.005/i686-linux/DBI.html
crawl-002
refinedweb
6,354
56.45
tensor.fft – Fast Fourier Transforms¶ Performs Fast Fourier Transforms (FFT). FFT gradients are implemented as the opposite Fourier transform of the output gradients. Warning The real and imaginary parts of the Fourier domain arrays are stored as a pair of float arrays, emulating complex. Since theano has limited suppo...
http://deeplearning.net/software/theano/library/tensor/fft.html
CC-MAIN-2019-09
refinedweb
332
60.92
curl-library https redirect problem? Date: Sun, 10 Oct 2004 18:10:07 -0400 Hi, I'm a novice of libcurl. Now I'm trying to utilize it to develop an https client. Basically, just to automate the procedure of login to an https website, and then downloading a file from it. I did a small test at first and figured out there ...
https://curl.haxx.se/mail/lib-2004-10/0096.html
CC-MAIN-2017-17
refinedweb
895
61.12
This is a standard knapsack problem with a bit of a twist. After Bessie drinks water once, her fullness value will decrease, but she won't be able to drink water again. A standard knapsack algorithm won't quite work here because the maximum fullness Bessie can achieve might not be the result of a non-decreasing functio...
http://usaco.org/current/data/sol_feast_gold_dec15.html
CC-MAIN-2018-17
refinedweb
343
66.54
5 important programs that you should know: 1.sorting technique of array using pointers: #include<stdio.h> #include<stdlib.h> void create_array(int *p,int n); void display(int *p,int n); void sorting(int *p,int n); int main() int *p,n; printf(“enter how many element you want to insert in the array?\n”); scanf(“%d”,&n); ...
https://lastminutetechnology.com/array-and-pointers/
CC-MAIN-2022-21
refinedweb
7,296
73.27
Fetching data from a Web API to our Aurelia SPA Welcome to this third episode in the blog series about writing an Aurelia SPA with a Web API hosted on ASP.NET Core. This post will focus on getting data from the Web API into our Aurelia SPA. We will also start looking into Aurelia views and try out a few ways to list th...
http://mobilemancer.com/2016/11/04/aurelia-fetch-client-web-api-asp-net-core/
CC-MAIN-2017-22
refinedweb
1,623
61.67
Statements (C# Programming Guide) A statement is a procedural building-block from which all C# programs are constructed. A statement can declare a local variable or constant, call a method, create an object, or assign a value to a variable, property, or field. A control statement can create a loop, such as a for loop, ...
http://msdn.microsoft.com/en-US/library/ms173143(v=vs.80).aspx
CC-MAIN-2013-20
refinedweb
315
53.92
hey, I'm making a crappy little rpg text game. Anyway I set it up so that the player stats are all saved into a class. I have a function which creates the class when a new game is started. The problem is that I can only access the class functions through the function which I used to create it. I realize this code is pr...
http://cboard.cprogramming.com/cplusplus-programming/67433-problem-class.html
CC-MAIN-2015-18
refinedweb
400
80.11