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 |
|---|---|---|---|---|---|
Indentation is broken
Bug Description
For 17.10, please treat this as a 0-day SRU bug report.
[Impact]
Without this fix, in any text editor that uses this framework (Kate and KDevelop are two of them), the text editor unexpectedly and automatically indents when the user types any of the following characters directly af... | https://bugs.launchpad.net/ubuntu/+source/ktexteditor/+bug/1724709 | CC-MAIN-2022-33 | refinedweb | 235 | 55.13 |
Set movement/walking animations?
Hello, does anyone know how to set movement / walking animations?
@LeeC2202 @stillhere @aimless @Frazzlee
@NotCrunchyTaco);
And to reset.
Function.Call(Hash.RESET_PED_MOVEMENT_CLIPSET, Game.Player.Character, 0.0f);
@aimless said in Set movement/walking animations?:);
How would I set thi... | https://forums.gta5-mods.com/topic/6605/set-movement-walking-animations/4 | CC-MAIN-2018-39 | refinedweb | 593 | 65.22 |
#include <cstdio> #include <cstdlib> #include <iostream> using namespace std; char* saying; int n; int x; int main (/*int nArg, char* pszArgs[]*/) { //attempt to read a string of variable length cout << "here goes nothing\n"; cin>>n; cin.width(++n); saying = new char[n]; cout << endl; cin >> *saying; cout << endl; x = ... | http://www.dreamincode.net/forums/topic/193274-dynamic-memory-allocation/ | CC-MAIN-2017-22 | refinedweb | 216 | 70.16 |
#include <mlRuntimeType.h>
RuntimeType thus represents the TYPE on an associated class.
Thread-safety: This class is reentrant.
An instance of RuntimeType is associated with a class (e.g., an image processing module like AddModule) and contains
This class has (static) access to a static dictionary, in which entries for... | http://www.mevislab.de/fileadmin/docs/current/MeVisLab/Resources/Documentation/Publish/SDK/ToolBoxReference/classml_1_1RuntimeType.html | crawl-003 | refinedweb | 402 | 60.51 |
4.8. Processing large NumPy arrays with memory mapping
Sometimes, we need to deal with NumPy arrays that are too big to fit in the system memory. A common solution is to use memory mapping and implement out-of-core computations. The array is stored in a file on the hard drive, and we create a memory-mapped object to th... | https://ipython-books.github.io/48-processing-large-numpy-arrays-with-memory-mapping/ | CC-MAIN-2019-09 | refinedweb | 541 | 54.93 |
Advancing Open Domain Question Answering with RocketQA
Overview
We discussed building an Open Domain Question Answering (ODQA) system with Jina in our previous post. The two-stage pipeline consisting of a retriever and reader is widely used in practice.
As the reader part is relatively developed, most of the recent res... | https://jina.ai/blog/2022-01-03_RocketQA/ | CC-MAIN-2022-05 | refinedweb | 1,083 | 54.83 |
Logistic regression explained¶
Logistic Regression is one of the first models newcomers to Deep Learning are implementing. The focus of this tutorial is to show how to do logistic regression using Gluon API.
Before anything else, let’s import required packages for this tutorial.
import numpy as np import mxnet as mx fr... | https://mxnet.apache.org/versions/1.6/api/python/docs/tutorials/getting-started/logistic_regression_explained.html | CC-MAIN-2020-34 | refinedweb | 1,806 | 51.24 |
HOWTO: MFC user defined message maps
IN THE VIEW CLASS HEADER FILE
Add the prototype for the function to which the message is to be mapped. This function will be named "On" + (Second half of message name), here: "OnFind()". Further, the function declaration will be preceded by the term "afx_msg". We will define this fu... | http://www.codeguru.com/cpp/misc/misc/article.php/c301/HOWTO-MFC-user-defined-message-maps.htm | CC-MAIN-2013-48 | refinedweb | 1,667 | 51.07 |
The Business Data Catalog
PDC 2005 Session OFF321
This could be the best thing I've seen at PDC -- a powerful way to manage business objects in disparate systems and provide access to them over SharePoint. I think it's a no-brainer to say that of all the features in SharePoint 2006, this will have the most transforming... | http://weblogs.asp.net/erobillard/425364 | CC-MAIN-2015-27 | refinedweb | 849 | 54.32 |
- Files
- DB-API II
- Qt SQL and Data-Aware Widgets
- Gadfly
- Object Databases
- Object-Relational Mappers
- A Simple GUI Using PyQt's Data-Aware Objects
A Simple GUI Using PyQt's Data-Aware Objects
If are looking for the easiest way to create a database application, you might want to take a look at PyQt. PyQt, the Py... | https://www.informit.com/articles/article.aspx?p=30649&seqNum=7 | CC-MAIN-2020-29 | refinedweb | 826 | 65.22 |
thanks!
Search Criteria
Package Details: sabnzbd 2.3.0-1
Dependencies (12)
- curl (curl-git, curl-http2-git)
- par2cmdline (par2cmdline-git, par2cmdline-tbb)
- python2 (placeholder, pypy19, python26, stackless-python2)
- python2-cheetah
- python2-sabyenc
- sqlite
- unrar , xdg-utils-patched, xdg-utils-slock) (optional)... | https://aur.archlinux.org/packages/sabnzbd/?ID=13691&detail=1&comments=all | CC-MAIN-2017-43 | refinedweb | 19,484 | 66.54 |
std::codecvt::length, do_length
From cppreference.com
< cpp | locale | codecvt
Revision as of 00:01, 12 June 2014 by 98.207.250.35 (Talk)
1) public member function, calls the member function
do_lengthof the most derived class.
2) attempts to convert the
externTcharacters from the character array defined by
[from, from_... | http://en.cppreference.com/mwiki/index.php?title=cpp/locale/codecvt/length&oldid=71513 | CC-MAIN-2014-42 | refinedweb | 227 | 52.19 |
Hey Kodlogs,
I hope all of you are doing good. Well, I am struggling with a problem, regarding C++ programming. I am trying to write codes that should delete the last node in the linked list. For example, if I give an input of
1 -> 2 -> 3 -> 4 -> 5 -> NULL
The output should be
1 -> 2 -> 3 -> 4 -> NULL
Perhaps, I miscal... | https://kodlogs.com/38745/delete-last-node-in-linked-list-c | CC-MAIN-2021-21 | refinedweb | 224 | 80.11 |
There’s a difference between defining an object and declaring it. First, multiple declaration is ok, but multiple definition leads to compilation error.
We declare a function by omitting their bodies like:
int function(int a, int b);
And declare+define it including their bodies:
int function(int a, int b){ return a+b; ... | https://kuniganotas.wordpress.com/2010/07/15/define-and-declare/ | CC-MAIN-2017-34 | refinedweb | 301 | 56.86 |
This article explains the absolute basics of WPF data binding. It shows four different ways how to perform the same simple task. Each iteration moves closer to the most compact, XAML-only implementation possible. This article is for people with no experience in WPF data binding.
Programming in WPF involves a lot of dat... | http://www.codeproject.com/KB/WPF/MovingTowardWpfBinding.aspx | crawl-002 | refinedweb | 1,585 | 56.55 |
Scans your Python project for all installed third party pip libraries that are used and generates a requirements.txt based output. This module should be used when no virtual environments are used in a project and you forgot to keep track of your requirements.txt file. You can find the full project and it's source code ... | https://www.paradoxis.nl/projects/pip-module-scanner | CC-MAIN-2017-51 | refinedweb | 449 | 56.25 |
This, help others, and be more efficient and productive, we all will keep them working and improving.
And that's what we are all doing. 🤓🚀
Intro
You might have heard not long ago about PEP 563, PEP 649, and some changes that could affect Pydantic and FastAPI in the future.
If you read about it, I wouldn't expect you ... | https://dev.to/tiangolo/the-future-of-fastapi-and-pydantic-is-bright-3pbm | CC-MAIN-2021-31 | refinedweb | 3,775 | 60.45 |
Results 1 to 1 of 1
- Join Date
- Dec 2010
- Location
- United States of America
- 505
- Thanks
- 39
- Thanked 47 Times in 46 Posts
Problem with "getopt" in Linux (GCC)
Hi all,
I have this little snippet of test code:
Code:
#include <ctype.h> #include <stdio.h> #include <stdlib.h> #include <unistd.h> #include <getopt.h... | http://www.codingforums.com/computer-programming/246034-problem-getopt-linux-gcc.html | CC-MAIN-2017-17 | refinedweb | 237 | 80.01 |
Java Byte Code is the language to which Java source is compiled and the Java Virtual Machine understands. Unlike compiled languages that have to be specifically compiled for each different type of computers, a Java program only needs to be converted to byte code once, after which it can run on any platform for which a ... | http://en.m.wikibooks.org/wiki/Java_Programming/Byte_Code | CC-MAIN-2015-18 | refinedweb | 703 | 56.76 |
To read all comments associated with this story, please click here.
Indigo = Webobjects
Avalon = InterfaceBuilder
Both have been around for a very long time. Of course if you mean "OSX doesn't" in the terms of .NET integration, you're right, but why would you want that if you weren't developing on/for a MS platform?
Av... | http://www.osnews.com/thread?4264 | CC-MAIN-2015-32 | refinedweb | 376 | 57.57 |
How to make a point system
I was wondering how to make a point system.
I've tried using a "Point" variable and changing it to its current state by one every time the player wins but it seems just to show 1 every time since at the beginning I set points to zero but even then, I can't seem to find a way to make a point s... | https://replit.com/talk/ask/How-to-make-a-point-system/131196 | CC-MAIN-2021-17 | refinedweb | 280 | 57.64 |
Hello everyone, Yhc now includes support for concurrency! The interface is the same as Concurrent GHC, so for example the following is a concurrent Yhc program: ------------------------------------------------------------------ module Fair where import Control.Concurrent import Control.Concurrent.MVar consumer :: MVar ... | http://www.haskell.org/pipermail/yhc/2006-March/000085.html | CC-MAIN-2014-15 | refinedweb | 240 | 50.67 |
An SE(2) state space where distance is measured by the length of Dubins curves. More...
#include <ompl/base/spaces/DubinsStateSpace.h>
Detailed Description
An SE(2) state space where distance is measured by the length of Dubins curves.
Note that this Dubins distance is not a proper distance metric, so nearest neighbor ... | http://ompl.kavrakilab.org/classompl_1_1base_1_1DubinsStateSpace.html | CC-MAIN-2017-22 | refinedweb | 247 | 57.67 |
Do domain names matter?
Expand Messages
- Below is my essay on the state of domain names, and generally the idea
of naming entities online. You may recognize some of the text below
from some of the discussions we had here a few months back.
For a permalink (with links), go to .
------
July 25, 2003
Is it just me, or ar... | https://groups.yahoo.com/neo/groups/decentralization/conversations/topics/6523 | CC-MAIN-2015-35 | refinedweb | 1,791 | 61.36 |
UART over Pyscan pins
- Louis Henn last edited by
Hi everyone.
I'd like to know whether I can use existing pins on the pyscan board to communicate with another device via UART. Can't find anything on the matter. I would for example like to use the fingerprint reader's RX/TX pins as my UART pins. Currently using it with... | https://forum.pycom.io/topic/6803/uart-over-pyscan-pins | CC-MAIN-2022-21 | refinedweb | 266 | 84.78 |
int strcmp ( const char * str1, const char * str2 );
<cstring>
Compare two strings
Compares the C string str1 to the C string str2.This function starts comparing the first character of each string. If they are equal to each other, it continues with the following pairs until the characters differ or until a terminanting... | http://www.cplusplus.com/reference/clibrary/cstring/strcmp/ | crawl-002 | refinedweb | 101 | 70.29 |
Hi,
I was trying to run the following code in UNIX:
import java.awt.*;
public class FontTest
{
public static void main(String[] args)
{
GraphicsEnvironment ge = GraphicsEnvironment.getLocalGraphicsEnvironment();
Font[] fa = ge.getAllFonts();
for (int i=0; i<fa.length; i++)
{
System.out.println(fa[i].getFontName());
}
}... | http://www.theserverside.com/discussions/thread.tss?thread_id=24387 | CC-MAIN-2015-18 | refinedweb | 386 | 58.08 |
import "github.com/stellar/go/support/render/hal"
handler.go io.go link.go link_builder.go page.go paging_token.go
StandardPagingOptions is a helper string to make creating paged collection URIs simpler.
func Render(w http.ResponseWriter, data interface{})
Render write data to w, after marshalling to json
type BasePage... | https://godoc.org/github.com/stellar/go/support/render/hal | CC-MAIN-2020-45 | refinedweb | 298 | 64.81 |
There images generated from the photobooth and create a task that only humans can do — coming up with funny captions.
How Does It Work?
The photobooth tutorial culminated in uploading photos to Dropbox. This tutorial picks up where it left off.
- When a new file is uploaded to Dropbox a task gets created
- Volunteers t... | https://www.twilio.com/blog/taskrouter-and-the-internet-of-things-html | CC-MAIN-2019-51 | refinedweb | 3,310 | 62.68 |
Setup Guide
This tutorial is on how to set up the development environment for programming with the SuanShu library (the Java version). In order to use the SuanShu library, you need to know some Java programming. Sun (or Oracle) provides excellent online tutorials on learning Java. You can find a lot of easy-to-read-and... | http://numericalmethod.com/up/suanshu/tutorial/setupguide/ | CC-MAIN-2017-26 | refinedweb | 878 | 69.07 |
In this Java XPath tutorial, we will learn what is XPath library, what are XPath data types and learn to create XPath expression syntax to retrieve information from XML file or document. This information can be XML nodes or XML attributes or even comments as well.
Table of Contents 1. What is XPath? 2. XPath Data Model... | https://howtodoinjava.com/xml/java-xpath-tutorial-example/ | CC-MAIN-2019-43 | refinedweb | 2,977 | 58.38 |
Utilities to read/write Python types to/from HDF5 files, including MATLAB v7.3 MAT files.
Project description
Overview
This Python.
All of this is done without pickling data. Pickling is bad for security because it allows arbitrary code to be executed in the interpreter. One wants to be able to read possibly HDF5 and M... | https://pypi.org/project/hdf5storage/ | CC-MAIN-2021-10 | refinedweb | 1,266 | 66.74 |
NEW: Learning electronics? Ask your questions on the new Electronics Questions & Answers site hosted by CircuitLab.
Project Help and Ideas » First Project - Make command does not work
I'm doing the first project and in step 10c I keep getting the following when I type in "make":
make -C ../libnerdkits
make: *** ../libn... | http://www.nerdkits.com/forum/thread/465/ | CC-MAIN-2019-18 | refinedweb | 451 | 83.36 |
PHP Cookbook/Files
From WikiContent
Introduction
The C's, although less complicated. The fundamental unit of identifying a file to read from or write to is a file handle . This handle identifies your connection to a specific file, and you use it for operations on the file. This chapter focuses on opening and closing fi... | http://commons.oreilly.com/wiki/index.php/PHP_Cookbook/Files | CC-MAIN-2014-42 | refinedweb | 9,082 | 62.27 |
Get the highlights in your inbox every week.
A glimpse into R counterculture
A glimpse into R counterculture
The statistical computing languages R and Python offer similar features. The decision comes down to contrasting philosophies.
Subscribe now
Back in 2009, Anne Milley of SAS dismissed the increasing significance ... | https://opensource.com/article/18/3/r-programming-features | CC-MAIN-2021-39 | refinedweb | 992 | 51.78 |
Wikibooks:Deletion policy
From Wikibooks, the open-content textbooks collection
Administrators have the ability to delete pages from the Wikibooks database. Administrators should use their best judgment in making this decision.
Administrative deletion removes not just the present content of a page (which is something t... | http://en.wikibooks.org/wiki/Wikibooks:Deletion_policy | crawl-001 | refinedweb | 1,460 | 59.03 |
Table of Contents
When you create a new plugin, you need to tell RKWard about it. So the first thing to do, is to write a
.pluginmap file (or modify an existing one). The format of
.pluginmap is XML. I will walk you through an example (also of course, be sure you have RKWard configured to load your
.pluginmap -- → → ):... | https://api.kde.org/doc/rkwardplugins/pluginmap.html | CC-MAIN-2020-40 | refinedweb | 1,109 | 59.19 |
Hybrid View
Error: namespace is undefinedDesigner version tested:
- Designer 1.2.2 Build 48
- Windows 7
- Ext JS 4.x
- When I link a class into another class I get "namespace undefined" error
- Create a form panel
- Create a window
- Link panel into the window
- Export your code and execute your application
- the windo... | https://www.sencha.com/forum/showthread.php?162271-Error-namespace-is-undefined&mode=hybrid | CC-MAIN-2015-22 | refinedweb | 271 | 68.87 |
django-smoketest 0.1.3
Django smoketest framework
================
PLEASE NOTE: I'm basically doing README-driven development here,
writing documentation for how this code should work before actually
implementing it. This notice will go away when django-smoketest is
actually implemented and remotely suitable for real-w... | https://pypi.python.org/pypi/django-smoketest/0.1.3 | CC-MAIN-2017-09 | refinedweb | 457 | 60.65 |
Invert sign on import with scriptuser1659263 Nov 6, 2014 8:35 PM
Dear Guruz,
Both FDMEE 11.1.2.3 and new scripting language Jython are beautiful.
Now please help me please with the following :
This script works fine :
def separation(strfield,strrec): if strfield == 0: return strrec.split(";")[8] else: x = strfield retu... | https://community.oracle.com/thread/3627827 | CC-MAIN-2018-05 | refinedweb | 393 | 69.31 |
Details
- Type:
Improvement
- Status: Closed
- Priority:
Minor
- Resolution: Fixed
- Affects Version/s: 1.1.0
-
- Component/s: deployment
- Labels:None
- Flags:Patch
Description
Add a puppet config option to control ip_hostname_check. If deploying on a cloud that does not provide reverse DNS service, the DataNode regis... | https://issues.apache.org/jira/browse/BIGTOP-2458 | CC-MAIN-2017-43 | refinedweb | 861 | 58.79 |
Technical Support
On-Line Manuals
RL-ARM User's Guide (MDK v4)
#include <net_config.h>
U16 cgi_func (
U8* env, /* Pointer to input string from a TCPnet script. */
U8* buf, /* Location where to write the HTTP response string. */
U16 buflen, /* Number of bytes in the output buffer. */
U32* pcgi ); /* Pointer to a storage... | http://www.keil.com/support/man/docs/rlarm/rlarm_cgi_func.htm | CC-MAIN-2019-43 | refinedweb | 461 | 64.61 |
Up to [cvs.NetBSD.org] / src / lib / libc / gen
Request diff between arbitrary revisions
Default branch: MAIN
Revision 1.11 / (download) - annotate - [select for diffs], Thu Oct 22 21:50:01 2009 UTC (6 years, 7: +1 -3 lines
Diff to previous 1.10 (colored)
Remove closes 3 and 4 from my copyright.
Revision 1.10 / (downlo... | http://cvsweb.netbsd.org/bsdweb.cgi/src/lib/libc/gen/bswap.3 | CC-MAIN-2016-22 | refinedweb | 770 | 77.03 |
The
MB_ flag
controls how the
MultiByteToWideChar
function treats invalid characters.
Some people claim that the following sentences in the documentation
are contradictory:
- "Starting with Windows Vista, the function does not drop illegal code points if the application does not set the flag."
- "Windows XP: If this fl... | https://blogs.msdn.microsoft.com/oldnewthing/20120504-00/?p=7703 | CC-MAIN-2018-30 | refinedweb | 697 | 62.07 |
how to use tostring method in java tutorial
How to use toString Method in Java Tutorial using Net beans
This tutorial is all about How to use how to use tostring method Tutorial using Net beans.In this tutorial you will learn how to use toString method in java, toString method in java is very useful when it comes to co... | https://itsourcecode.com/free-projects/java-projects/how-to-use-tostring-method-in-java-tutorial/ | CC-MAIN-2021-49 | refinedweb | 201 | 72.36 |
Writing View Employee Functionality
Before an audit can occur, we need the ability to view specific employee records. We will view and record audits from the same page, recordaudit.aspx, but separate the implementation. Let's tackle the view functionality first. From the solution explorer, do the following:
- Left clic... | http://www.webreference.com/programming/asp_net/audit-history/2.html | CC-MAIN-2015-18 | refinedweb | 1,635 | 53.1 |
Building an AR game with ARKit and SpriteKit
This article is part of ARKit course.
ARKit is the new Apple framework that integrates device motion tracking, camera capture, and scene processing to build augmented reality (AR) experiences.
When using ARKit, you have three options to create your AR world:
- SceneKit, to r... | https://blog.pusher.com/building-ar-game-arkit-spritekit/?learn-arkit | CC-MAIN-2021-21 | refinedweb | 2,945 | 54.12 |
On Sun, Aug 14, 2011 at 17:03, Jochen Keil <jochen.keil at gmail.com> wrote: > > It's because your function is doing stuff instead of listening for X > > events. If you want to go off and do something else, forkIO a thread > I've already tried forkIO, xfork, seq, par, etc. all with more or less > seq and par won't do a... | http://www.haskell.org/pipermail/xmonad/2011-August/011643.html | CC-MAIN-2014-42 | refinedweb | 530 | 72.16 |
!
WARNING: Some people weren't able to get the FPS library to work. If this is the case, you can try downloading an older version of the Arduino IDE here..
Update (2/2/19): Thanks to JustinO60, there is a design outfitted for the new FPS that can be downloaded here (Main, Cover).
Grand Prize in the
Sensors Contest
Gran... | https://www.instructables.com/id/DIY-Fingerprint-Scanning-Garage-Door-Opener/ | CC-MAIN-2019-30 | refinedweb | 860 | 72.97 |
RDF::RDFa::Generator::HTML::Pretty::Note - a note about something
Often you'll want to create your own subclass of this as the basic notes are pretty limited (plain text only).
$note = RDF::RDFa::Generator::HTML::Pretty::Note->new($subject, $text)
$subject is an RDF::Trine::Node (though probably not a Literal!) indicat... | http://search.cpan.org/~tobyink/RDF-RDFa-Generator-0.102/lib/RDF/RDFa/Generator/HTML/Pretty/Note.pm | CC-MAIN-2016-44 | refinedweb | 143 | 53.17 |
This is a follow-up to the post about deploying R models using web services.
Within 1 hour I was able to take an existing R function and publish to the Domino Data Lab web service AND write a simple Python script to call the service. Domino make it super simple.
The R code I used was the Sales Price calculator I previo... | http://leehbi.com/2015/06/consuming-r-through-api-endpoints-with-domino-data-lab/ | CC-MAIN-2017-26 | refinedweb | 334 | 66.03 |
Let’s say we’ve loaded a bunch of posts with
loadAll:
match "index.html" $ do route idRoute compile $ do myPosts <- loadAll "posts/*" ...
We can iterate over these posts in a template file if we expose them with
listField:
match "index.html" $ do route idRoute compile $ do myPosts <- loadAll "posts/*" let indexContext ... | https://beerendlauwers.be/posts/2016-04-29-hakyll-adding-to-loadall.html | CC-MAIN-2022-21 | refinedweb | 727 | 61.87 |
Architecture of Convolutional Neural Networks (CNNs) demystified
Introduction
I will start with a confession – there was a time when I didn’t really understand deep learning. I would look at the research papers and articles on the topic and feel like it is a very complex topic. I tried understanding Neural networks and... | https://www.analyticsvidhya.com/blog/2017/06/architecture-of-convolutional-neural-networks-simplified-demystified/?utm_source=blog&utm_source=tensorflow-2-tutorial-deep-learning | CC-MAIN-2022-40 | refinedweb | 3,630 | 63.7 |
Python Programming, news on the Voidspace Python Projects and all things techie.
mock 0.7.2 released
There's a new minor release of mock, version 0.7.2 with two bugfixes in it.
- (download)
- (documentation)
- (repo and issue tracker)
mock is a Python library for simple mocking and patching (replacing objects with mock... | http://www.voidspace.org.uk/python/weblog/arch_d7_2011_05_28.shtml?utm_source=feedburner&utm_medium=feed&utm_campaign=Feed%3A+voidspace+%28The+Voidspace+Techie+Blog%29 | CC-MAIN-2015-35 | refinedweb | 912 | 64.41 |
Type: Posts; User: rliq
Can anyone see a way that I can calculate layerOutputs[layerIndex] using a LINQ expression?
layerOutputs[layerIndex] = 0.0;
for (int layerInput = 0; layerInput <...
1) Rectangle or Square?
2) Are all Rectangles/Squares the same size?
3) Are the circles always the same size?
It's hard to read cod... | http://forums.codeguru.com/search.php?s=213b3a41d31939494d322e5cf035d960&searchid=9125611 | CC-MAIN-2016-30 | refinedweb | 635 | 77.13 |
RDebug is a useful utility for checking a log of specific messages generated by the running code. This feature is helpful when the breakpoint/step debug tricks' using space has been limited.
To use RDebug, include the header file, e32debug.h. (In 2nd Edition SDK, RDebug class declared in E32SVR.H)
#include <e32debug.h>... | http://wiki.forum.nokia.com/index.php/How_to_use_RDebug | crawl-002 | refinedweb | 673 | 63.8 |
Ticket #8133 (closed Bugs: fixed)
multiprecision, failed gcd tests (test_cpp_int.cpp)
Description
I modified test_cpp_int.cpp to generate random numbers with a lot of ones or zeros.
I modified T generate_random(unsigned bits_wanted):
... T val = 0; for(unsigned i = 0; i < terms_needed; ++i) { val *= (gen.max)(); switch... | https://svn.boost.org/trac/boost/ticket/8133 | CC-MAIN-2016-44 | refinedweb | 401 | 66.13 |
Related
Question
browser shows page that I dont have
I am just flummoxed.
I started the web having just 1 single view in my views.py page, with one line to see if everything was working, namely:
from django.http import HttpResponse
def home(request):
return HttpResponse(‘Hello, World!’)
so a few days after I return, I ... | https://www.digitalocean.com/community/questions/browser-shows-page-that-i-dont-have | CC-MAIN-2020-40 | refinedweb | 216 | 66.23 |
I've been teaching myself some OpenGL using SFML for creating
windows/handling inputs, etc. My main.cpp started getting a bit unwieldy so
I decided to start splitting my code up. I created a 4X_vertex.h and a
4X_vertex.cpp (4X is the name of the project) and moved the relevant
functions and structs out of my main and i... | http://bighow.org/tags/declared/1 | CC-MAIN-2017-39 | refinedweb | 572 | 65.83 |
Details
- Type:
New Feature
- Status: Resolved
- Priority:
Major
- Resolution: Later
- Affects Version/s: None
- Fix Version/s: None
- Component/s: datanode, hdfs-client, libhdfs, namenode
- Labels:None
Description
We would like to be able to create certain files on certain storage device classes (e.g. spinning media, ... | https://issues.apache.org/jira/browse/HDFS-4672 | CC-MAIN-2015-32 | refinedweb | 2,794 | 58.21 |
This is your resource to discuss support topics with your peers, and learn from each other.
02-19-2012 11:34 AM
Hi All,
I managed to get the symbian qt-components working on the playbook, they are symbian style but look good on the pb in my opinion.
To use them just add the standard import to your qml file as you would... | http://supportforums.blackberry.com/t5/Native-Development/QML-symbian-qt-components-for-PlayBook/m-p/1575537 | CC-MAIN-2014-23 | refinedweb | 706 | 79.09 |
In this tutorial, you will learn how to create a server-side Blazor application that interacts with an external web API using HttpClientFactory. Later in the series, you will add IdentityServer4 authentication to protect the API and authorize the client web app.
In Part 1, you will create a public Web API, and you will... | https://wellsb.com/csharp/aspnet/blazor-httpclientfactory-and-web-api/ | CC-MAIN-2020-16 | refinedweb | 2,309 | 50.84 |
The Mappedin React Native SDK lets you render the maps of your venue, designed using Mappedin CMS, inside a React Native application. The SDK is a Typescript package and can be downloaded from NPM.
You can find the Mappedin React Native demo application on Github at
In this section, we'll help you set up a React Native... | https://developer.mappedin.com/react-native-sdk/v4/getting-started/ | CC-MAIN-2022-33 | refinedweb | 383 | 51.68 |
Created on 2013-08-26 17:23 by aisaac, last changed 2016-10-14 05:20 by python-dev. This issue is now closed.
The need for weighted random choices is so common that it is addressed as a "common task" in the docs:
This enhancement request is to add an optional argument to random.choice, which must be a sequence of non-n... | http://bugs.python.org/issue18844 | CC-MAIN-2016-44 | refinedweb | 4,909 | 56.76 |
public class ArrayConversion { public static void main(String[] args) { int i,j,flag=0; int count=10; int ar[][]=new int[2][3]; int arCopy[]=new int[6]; for(i=0;i<2;i++){ for(j=0;j<3;j++){ ar[i][j]=count; count++; } } for(i=0;i<2;i++){ for(j=0;j<3;j++){ System.out.print(ar[i][j]); System.out.print(" "); } System.out.pr... | https://community.oracle.com/thread/1211221?tstart=89880 | CC-MAIN-2014-15 | refinedweb | 886 | 76.01 |
.tasklist.usertasks.model;21 22 import junit.framework.Test;23 24 import org.netbeans.junit.NbTestCase;25 import org.netbeans.junit.NbTestSuite;26 27 /**28 * Tests for Duration.29 * 30 * @author tl31 */32 public class DurationTest extends NbTestCase {33 public DurationTest (String name) {34 super (name);35 }36 37 publi... | http://kickjava.com/src/org/netbeans/modules/tasklist/usertasks/model/DurationTest.java.htm | CC-MAIN-2018-09 | refinedweb | 125 | 52.66 |
SYNOPSIS
#include <sys/sendfile.h>
ssize_t sendfile(int out_fd, int in_fd, off_t *offset, size_t count);
DESCRIPTION sup-
ports mmap(2)-like operations (i.e., it cannot be a socket); and out_fd
must refer to a socket.
applications may wish to fall back to read(2)/write(2) in the case
where sendfile() fails with EINVAL ... | http://www.linux-directory.com/man2/sendfile64.shtml | crawl-003 | refinedweb | 169 | 68.16 |
Windows Runtime delegates and object lifetime in C# and other GC languages
Raymond
In C# and other GC languages such as JavaScript, delegates (most typically used as event handlers) capture strong references to objects in their closures. This means that you can create reference cycles that are beyond the ability of the... | https://devblogs.microsoft.com/oldnewthing/20190522-00/?p=102511 | CC-MAIN-2021-10 | refinedweb | 619 | 51.78 |
DID Working Group F2F, 1st day — Minutes
Date: 2020-01-29
See also the Agenda and the IRC Log
Attendees
Present: Manu Sporny, Samuel Smith, Brent Zundel, Daniel Burnett, Tobias Looker, Ganesh Annan, Michael Jones, Drummond Reed, Joe Andrieu, Kenneth Ebert, Yancy Ribbens, Yoshiaki Fukami, Christopher Allen, David Ezell,... | https://www.w3.org/2019/did-wg/Meetings/Minutes/2020-01-29-did | CC-MAIN-2022-27 | refinedweb | 14,672 | 64.14 |
- The Speed of Sound
- All the Servers You Want
- Everything Is a File?
- Plug and Play
- A Different Core
- Can I Use It?
Everything Is a File?
Mach used a port as a basic abstraction for communicating, since it wasn’t restricted to UNIX-like behavior. In contrast, HURD aims to be a POSIX-compliant OS. As such, it use... | http://www.informit.com/articles/article.aspx?p=1180992&seqNum=3 | CC-MAIN-2019-04 | refinedweb | 468 | 61.26 |
CodeGuru Forums
>
.NET Programming
>
.NET Framework
> ProcessStartInfo.WorkingDirectory Ignored
PDA
Click to See Complete Forum and Search -->
:
ProcessStartInfo.WorkingDirectory Ignored
buggieboy
October 17th, 2008, 02:19 PM
I have a previously working program, currently built with VS .NET 2008 with SP1, that starts a... | http://forums.codeguru.com/archive/index.php/t-463387.html | crawl-003 | refinedweb | 889 | 69.28 |
(For more resources related to this topic, see here.)
Services
A service is just a specific instance of a given class. For example, whenever you access doctrine such as $this->get('doctrine'); in a controller, it implies that you are accessing a service. This service is an instance of the Doctrine EntityManager class, ... | https://www.packtpub.com/books/content/services | CC-MAIN-2016-36 | refinedweb | 1,690 | 50.36 |
and
QuoteServerThread. A single class implements the client application:
QuoteClient.
Let's investigate these classes, starting with the class that contains the
mainmethod for the server application. Working with a Server-Side Application contains an applet version of the
QuoteClientclass.
The
QuoteServerclass, shown h... | http://java.sun.com/docs/books/tutorial/networking/datagrams/clientServer.html | crawl-002 | refinedweb | 981 | 56.25 |
xml
Scala 2.13.0-M4 release notes (collections changes)
Under the covers — and sometimes above the covers — Scala is changing. These notes about Scala 2.13.0-M4 describe some of the changes coming to the Scala collections classes.
A few things not shown in the image are:
- The scala-xml library is no longer bundled wit... | http://alvinalexander.com/index.php/taxonomy/term/3148 | CC-MAIN-2020-05 | refinedweb | 173 | 72.16 |
A great text editor
There's an old joke that Emacs would be a great operating system if only it had a decent text editor, whereas vi would be a great text editor if only it had a decent operating system. This gag reflects the single greatest strategic advantage that Emacs has always had over vi: an embedded extension p... | http://www.ibm.com/developerworks/linux/library/l-vim-script-1/ | CC-MAIN-2014-42 | refinedweb | 4,390 | 50.06 |
().
Hello Jeff,.
I think Clojure macros hit a sweet spot between CL macros and Scheme macros - I think the mandatory namespace qualification is a win,as you get certain aspects of hygiene, and metadata might allow for more contextual info to be attached to symbols a la syntax case.
I will continue to follow your blog :... | http://www.fatvat.co.uk/2009/01/metadata-in-clojure.html?showComment=1250188765174 | CC-MAIN-2022-27 | refinedweb | 252 | 67.99 |
Event Based Programming in JavaFX
Old Song, New World
I decided to try my hand at some JavaFX programming to see what the language had to offer. Two of the key features of JavaFX are its ability to bind to data, and its access to all Java libraries. I used that to see how it handles for event-based programming. I built... | https://weblogs.java.net/node/242548/atom/feed | CC-MAIN-2015-40 | refinedweb | 2,549 | 73.78 |
A while ago, I developed a small PyGtk programme that could dynamically reload all the working callbacks and logic while the GUI was still running. I could get away with this because of the flexible way Python loads modules at runtime, but it ended up being a waste of time as implementing it took more time that actuall... | https://mail.python.org/pipermail/python-ideas/2007-January/000062.html | CC-MAIN-2014-15 | refinedweb | 264 | 53.44 |
Exercise 2 ask us to write a loop that does not terminate until it sees a zero. A Do-While loop will best serve our interest for this exercise. The loop will sum all user inputted integers until a zero is inputted. Here is my solution:
2. Write a program that asks the user to type in numbers. After each entry, the prog... | https://rundata.wordpress.com/2012/11/02/c-primer-chapter-5-exercise-2/ | CC-MAIN-2017-26 | refinedweb | 168 | 72.97 |
The
include statement includes a template and returns the rendered content of that file into the current namespace:
{% include 'header.html' %} Body {% include 'footer.html' %}
Included templates have access to the variables of the active context.
If you are using the filesystem loader, the templates are looked for in ... | https://docs.w3cub.com/twig~2/tags/include/ | CC-MAIN-2020-24 | refinedweb | 340 | 57.47 |
what is use of new and this keyword in java
The keyword this is useful when you need to refer to instance of the class from its method. The keyword helps us to avoid name conflicts.
The keyword new in Java that allocates new objects and initialises them.
gabhinav, I suggest you don't waste the time to drop these type o... | https://www.daniweb.com/programming/software-development/threads/298294/core-java-question | CC-MAIN-2017-09 | refinedweb | 510 | 71.44 |
Complex examples
Common ancestor
This example replaces the dom
In some cases, you want to find the common ancestor of two given nodes. To do this, you can use the intersect expression. The intersect expression returns all nodes that occur in both given sequences.
Common ancestor
XQuery
let $nodeA := //nodeA, $nodeB := ... | https://documentation.fontoxml.com/latest/complex-examples-fc437bab8c4d | CC-MAIN-2021-25 | refinedweb | 317 | 54.12 |
how to validate the email login
how to validate the email login // JavaScript Document
JOIN US...;
}
}
return true
}
function validate(){
var fname=document.form.fname.value... into login(firstname,lastname,email,contactNo,address,city) values('"+fname
login How to create login page in jsp
login form validation - JSP-... | http://www.roseindia.net/tutorialhelp/comment/83668 | CC-MAIN-2014-49 | refinedweb | 1,905 | 53.92 |
JawnJawn
"Jawn is for parsing jay-sawn."
OriginOrigin
The term "jawn" comes from the Philadelphia area. It conveys about as much information as "thing" does. I chose the name because I had moved to Montreal so I was remembering Philly fondly. Also, there isn't a better way to describe objects encoded in JSON than "thin... | https://index.scala-lang.org/non/jawn/jawn-parser/0.10.4?target=_2.12 | CC-MAIN-2020-45 | refinedweb | 1,919 | 58.69 |
good programming examples.
great code system.
:-)
thnx for giving a good continue example.....I liked it and understood as well
The above program code is very helpful & easy to understand. It is the best source to clear our concept.
Post your Comment
Continue and break statement
is an example of break and continue stat... | http://roseindia.net/discussion/23747-C-break-continue-example.html | CC-MAIN-2015-22 | refinedweb | 925 | 59.5 |
django-crowdsourced-fields 0.4
A reusable Django app that allows to mark certain fields of your models as masterdata. Users would still be able to enter their own values but the app will map them to unique instances. Admin staff is able to review all user generated entriesand mark them as approved.
A reusable Django ap... | https://pypi.python.org/pypi/django-crowdsourced-fields/0.4 | CC-MAIN-2016-22 | refinedweb | 778 | 55.24 |
A multi-worker pipe mechanism that uses AWS SQS
Project description
A multi-worker pipe mechanism that uses AWS SQS.
Instructions
Install the latest version of the package: pip install sqspipes
Create a client
from sqspipes import TaskClient client = TaskClient( domain='my-app', aws_key='YOUR_AWS_KEY', aws_secret='YOUR... | https://pypi.org/project/sqspipes/0.1.2/ | CC-MAIN-2020-50 | refinedweb | 896 | 55.54 |
Let's dive into the basics of unsupervised Machine Learning algorithms! In this weeks BaseCamp tutorial, we will show you the (probably) most common clustering algorithm: KMeans.
We will be working with the famous packages pandas, numpy, and sklearn. Let's start by loading them:
import pandas as pd import numpy as np
W... | https://www.basecamp.ai/blog/introduction-to-clustering | CC-MAIN-2018-26 | refinedweb | 1,343 | 55.24 |
#include <Wt/Ext/LineEdit>
A line edit.
To act upon text changes, connect a slot to the changed() signal. This signal is emitted when the user changed the content, and subsequently removes the focus from the line edit.
To act upon editing, connect a slot to the keyWentUp() signal.
At all times, the current content may ... | http://webtoolkit.eu/wt/doc/reference/html/classWt_1_1Ext_1_1LineEdit.html | CC-MAIN-2015-32 | refinedweb | 155 | 78.75 |
Content-type: text/html
getttyent, getttyent_r, getttynam, getttynam_r, setttyent, setttyent_r, endttyent, endttyent_r - Get a /etc/securettys file entry
Standard C Library (libc.a)
#include <ttyent.h>
struct ttyent *getttyent ( void );
struct ttyent *getttynam(
const char *name);
int setttyent(void);
void endttyent(vo... | https://backdrift.org/man/tru64/man3/getttynam_r.3.html | CC-MAIN-2017-43 | refinedweb | 525 | 57.87 |
Ok, there's a problem that can't really be overcome in the pydev debugger when using turbogears... (just doing "import turbogears" would already break it).
Actually, no OPTIMIZED debugger would be able to work with that. I'm saying optimized because the implementation seems to take into account naive debuggers which wo... | http://pydev.blogspot.com/2007/06/why-cant-pydev-debugger-work-with.html?showComment=1183128960000 | CC-MAIN-2013-48 | refinedweb | 2,142 | 52.05 |
PsychoModerators
Content count11,936
Joined
Last visited
Days Won113
Community Reputation553 Excellent
About Psycho
- RankMove along, nothing to see here
Profile Information
- GenderNot Telling
- LocationCanada
Refactoring this code...
Psycho replied to phreak3r's topic in PHP Coding HelpInstead of one long procedural ... | https://forums.phpfreaks.com/profile/32104-psycho/ | CC-MAIN-2018-51 | refinedweb | 2,580 | 61.06 |
In this article, we'll cover the important things you can quickly learn to be informed and confident with using and conversing on React Router v4.
What is React Router?
React Router is a client-side router (CSR) for use with React projects (I know, duh right?). It provides routing which is the fancy term for the render... | https://www.freecodecamp.org/news/bluffers-guide-to-react-router-v4-20f607a10478/ | CC-MAIN-2021-31 | refinedweb | 1,885 | 59.33 |
This action might not be possible to undo. Are you sure you want to continue?
1 October 2010
EUROPEAN CREDIT ALPHA More answers than questions
Matthew Leeming +44 (0) 20 7773 9320 matthew.leeming@barcap.com Zoso Davies +44 (0) 20 7773 5815 zoso.davies@barcap.com Arup Ghosh +44 (0) 20 7773 6275 arup.ghosh@barcap.com
Thi... | https://www.scribd.com/document/45657141/BarCap-on-Distressed-Debt-Markets | CC-MAIN-2017-13 | refinedweb | 11,172 | 56.55 |
How to Make a Waiting Game Like Farmville with SpriteKit and Swift
In this SpriteKit tutorial, you’ll learn how to make your very own waiting game — just like Farmville — with SpriteKit and Swift.
Popular “waiting games” like Clash of Clans and Farmville are played in short, frequent bursts, punctuated by periods of wa... | https://www.raywenderlich.com/143258/make-waiting-game-like-farmville-spritekit-swift | CC-MAIN-2017-13 | refinedweb | 3,588 | 63.39 |
#if (C# Reference)
When the C# compiler encounters an
#if directive, followed eventually by an #endif directive, it compiles the code between the directives only if the specified symbol is defined. Unlike C and C++, you cannot assign a numeric value to a symbol. The #if statement in C# is Boolean and only tests whether... | https://docs.microsoft.com/en-us/dotnet/csharp/language-reference/preprocessor-directives/preprocessor-if | CC-MAIN-2019-47 | refinedweb | 221 | 60.41 |
I usually use fvwm, but sometimes I like to switch to enlightenment. The problem was maintaining two sets of menus. So, with a little tweaking, I now use the gnome menu editor to maintain both.
Enlightenment is simple. The menu.cfg can read gnome's menus with:
BEGIN_NEW_GNOME_MENU("GNOME_USER_SUBMENU", "ROOT", HOME_DIR... | http://ldp.indosite.co.id/LDP/LGNET/issue45/lg_tips45.html | crawl-003 | refinedweb | 4,617 | 75.3 |
Ok so I stumbled on to this subject the other day and thought it was worth noting. Take these simple classes:
public class First { public String FirstOutput { get; set; } } public class Second : First { public String SecondOutput { get; set; } } public class Third : Second { public String ThirdOutput { get; set; } }
So... | https://byatool.com/uncategorized/covariance-versus-contravariance/ | CC-MAIN-2021-31 | refinedweb | 481 | 61.16 |
AUTHOR: Ivan Stefanov
DATE MODIFIED : January 08, 2018
DATE POSTED: July 09, 2014
With Q1 2014 of Telerik Reporting the style manager is no longer supported and instead implicit styling has to be used. There are few key things that you have to know which will help you when you add a Telerik Reporting report viewer to y... | https://www.telerik.com/support/kb/reporting/details/wpf-silverlight-report-viewers-troubleshooting | CC-MAIN-2018-05 | refinedweb | 480 | 59.74 |
Alan:> > I can do this, although it will mean renaming all the uses of the semid_ds> > and shmid_ds structures to something like kernel_semid_ds,> > kernel_shmid_ds, etc. (my proposed change would make semid_ds and shmid_ds> > private to the kernel, as msg_queue and shmid_kernel are now)> > Call them semid64_ds etc - t... | https://lkml.org/lkml/1999/12/1/134 | CC-MAIN-2014-15 | refinedweb | 277 | 64.41 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.