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 |
|---|---|---|---|---|---|
11 July 2012 21:54 [Source: ICIS news]
HOUSTON (ICIS)--US caustic soda exports in May were 360,433 tonnes, down by 2.6% from the 370,140 tonnes shipped the same month a year earlier, according to US International Trade Commission (ITC) data released on Wednesday.
Exports in April were also 30.4% higher than the 276,392... | http://www.icis.com/Articles/2012/07/11/9577586/us-caustic-soda-exports-down-by-2.6-year-on-year.html | CC-MAIN-2014-10 | refinedweb | 111 | 65.32 |
Learn to write PAM (Pluggable Authentication Modules) service modules for authentication and security services, and see an example module.
In the first three articles in this series (Part 1, Part 2, and Part 3) we covered the basics of password-based user authentication, concentrating on the use of PAM (Pluggable Authe... | http://developers.sun.com/solaris/articles/user_auth_solaris4/index.html | crawl-002 | refinedweb | 1,864 | 53.1 |
Program to find all permutations of a string in Java
In this Java tutorial, we will learn how to find all permutations of a string in Java. We will solve the problem using recursion. Recursion is a process where a function calls itself repeatedly. This function is called a recursive function.
Problem Statement
Given a ... | https://www.codespeedy.com/find-all-permutations-of-a-string-in-java/ | CC-MAIN-2019-43 | refinedweb | 501 | 61.73 |
remove() prototype
int remove(const char* filename);
The
remove() function takes a single argument filename and returns an integer value. It deletes the file pointed by the parameter.
Incase the file to be deleted is opened by a process, the behaviour of
remove() function is implementation-defined.
In POSIX systems, if... | https://www.programiz.com/cpp-programming/library-function/cstdio/remove | CC-MAIN-2020-16 | refinedweb | 216 | 62.38 |
std::cout
This would tell you that the output stream instance cout belonged to the namespace std.
18.09.01: Thanks to Wicker808 for the factual corrections!
In Haskell, the :: operator stands for "has type", and is used in the type signatures of functions. For example, the signature of length looks like this:
length ::... | http://everything2.com/title/%253A%253A | CC-MAIN-2016-44 | refinedweb | 238 | 55.17 |
what about the java virtual machine? i have the JRE already
what about the java virtual machine? i have the JRE already
i cant find the JVM on the oracle website. how would i go about installing it onto my computer?
I want to be able to add a new feature that lets me control the paddle to move left and right in a strai... | http://www.javaprogrammingforums.com/search.php?s=11b59083dd8eeed8501495b3fb845d62&searchid=1272817 | CC-MAIN-2014-52 | refinedweb | 247 | 85.18 |
Issue
I am using pygsheets to make a budget. I want to be able to store all the negative cells in some sort of dictionary (I’m not great with python yet)
I’ve been able to select a DataRange of cells, but how do I add a filter to that?
For example,
drange = pygsheets.DataRange(start='A1', worksheet=wks) this is one of ... | https://errorsfixing.com/in-pygsheets-what-is-the-proper-way-of-selecting-negative-numbers/ | CC-MAIN-2022-27 | refinedweb | 180 | 67.96 |
Need help cloning? Learn how to
clone a repository.
Atlassian SourceTree
is a free Git and Mercurial client for Windows.
Atlassian SourceTree
is a free Git and Mercurial client for Mac.
sphinx-apidoc discovers packages and modules via os.walk().
By default, os.walk() skips symbolic links. So does sphinx-apidoc.
sphinx-... | https://bitbucket.org/birkenfeld/sphinx/pull-requests/75/add-followlinks-or-l-option-to-sphinx/diff | CC-MAIN-2016-36 | refinedweb | 186 | 63.86 |
Up to Design Issues
The management of disk space for long-term high-availability items
This article discusses the merging of the concepts of a decent installation manager and a persistent cache. It is a plea for web cacheing to be advanced to the power of current installation systems. It is a plea for XML catalogs to b... | http://www.w3.org/DesignIssues/Installation.html | crawl-002 | refinedweb | 2,948 | 61.06 |
I was trying to figure out how to check if input given by the user is an integer. I tried for a while and failed, until today my teacher showed me a cool trick. In c, you can get a return value from the scanf function like this(returns a 0 if it's false, and a 1 if it's true) hope this helps someone!!:
#include <stdio.... | http://forum.codecall.net/topic/61962-re-check-if-input-is-int-float-or-char/ | crawl-003 | refinedweb | 101 | 57.81 |
I am building a BSP tree using a recursive function, however, I seem to be stuck in getting out of the function. I'll paste my code and explain along the way:
module tree type treenode type (treenode), pointer :: left, right integer :: n real :: data endtype type (treenode), pointer :: root real :: tree_xmin, tree_xmax... | http://www.dreamincode.net/forums/topic/38138-building-a-tree-with-a-recursive-function/ | CC-MAIN-2017-39 | refinedweb | 705 | 51.38 |
Gecko 1.8 products, Thunderbird 2 and SeaMonkey 1.1 in particular, need patches contained in NSS 3.12.3 to fix several SSL bugs will be revealed at BlackHat at the end of July.
We could backport individual fixes perhaps, but it would be safer to take the entire, tested NSS 3.12.3 release. Either way the fixes will be c... | https://bugzilla.mozilla.org/show_bug.cgi?id=504523 | CC-MAIN-2016-36 | refinedweb | 5,562 | 76.32 |
Man Page
Manual Section... (2) - page: bdflush
NAMEbdflush - start, flush, or tune buffer-dirty-flush daemon
SYNOPSIS
#include <sys/kdaemon.h> int bdflush(int func, long *address); int bdflush(int func, long data);
DESCRIPTIONbdIf TObdflush() is Linux-specific and should not be used in programs intended to be portable.... | http://linux.co.uk/documentation/man-pages/system-calls-2/man-page/?section=2&page=bdflush | CC-MAIN-2014-35 | refinedweb | 105 | 68.47 |
flasker 0.1.45
Flask, SQLAlchemy, and Celery integration
Flasker is now deprecated.
Consider using Kit instead, which allows YAML configuration files, running multiple projects side by side and more.
A configurable, lightweight framework that integrates Flask, SQLAlchemy and Celery.
What Flasker is!
- A one stop .cfg c... | https://pypi.python.org/pypi/flasker | CC-MAIN-2018-13 | refinedweb | 683 | 54.42 |
statprof 0.1.2
Statistical profiling for Python
This package provides a simple statistical profiler for Python.
Python’s default profiler has been lsprof for several years. This is an instrumenting profiler, which means that it saves data on every action of interest. In the case of lsprof, it runs at function entry and... | https://pypi.python.org/pypi/statprof/ | CC-MAIN-2016-50 | refinedweb | 453 | 56.76 |
Opened 5 years ago
Closed 5 years ago
Last modified 5 years ago
#16648 closed Bug (invalid)
Router unable to delete relationships spanning multiple DBs
Description
The following method in django.db.models.Model has a deficiency such that if you define a router that uses _meta info to determine where to write and your m... | https://code.djangoproject.com/ticket/16648 | CC-MAIN-2016-40 | refinedweb | 296 | 56.35 |
In this blog, I am going to discuss:
- Feature-Flags.
- How to start working with Feature Flags.
- LaunchDarkly.
- Optimizing Feature-Flag full potential and power with LaunchDarkly.
So let’s start with an overview of what a feature flag is and its uses.
1). Feature-Flags.
(a) Introduction: Feature-Flags is a software ... | https://blog.knoldus.com/feature-flags-and-launchdarkly-what-why-and-how/ | CC-MAIN-2019-22 | refinedweb | 1,693 | 52.6 |
Redux is a library used to contain the state of your application in one single location. Redux is language-agnostic and can be used with React, Vue, Angular, or even vanilla JS. I really love using Redux with React. As our React apps become bigger and more complicated the state can get unwieldy and hard to pass around ... | https://www.jenkens.dev/blog/beginners-guide-to-react-redux/ | CC-MAIN-2022-27 | refinedweb | 943 | 63.29 |
----- Original Message ----- From: "Sean D'Epagnier" <address@hidden>----- Original Message ----- From: "Sean D'Epagnier" <address@hidden>
To: "Anatoly Sokolov" <address@hidden>Cc: "Weddington, Eric" <address@hidden>; <address@hidden>
Sent: Wednesday, May 13, 2009 6:35 PM Subject: Re: [avr-gcc-list] mcall-prologues com... | http://lists.gnu.org/archive/html/avr-gcc-list/2009-05/msg00095.html | CC-MAIN-2016-22 | refinedweb | 131 | 58.38 |
0
Dear friends,
I want to create a program that reads 10 numbers from the user and store it in a file namely Numbers.txt.
After that I have to read each numbers and if it is a Even number then it should be stored in a file "Even.txt" otherwise it should be stored in a file "Odd.txt".
I craeted the program and while exe... | https://www.daniweb.com/software-development/cpp/threads/440422/writing-from-one-file-to-another | CC-MAIN-2015-14 | refinedweb | 248 | 69.89 |
SabreDAV 0.12
I just released a new version of SabreDAV, 0.12. I've skipped on posting for the last few versions, because I didn't want to get too spammy on this blog.
These were mostly bugfixes, and a few added features. SabreDAV is also a PEAR-package again, so installing is as simple as 'pear install SabreDAV-0.12.0... | https://evertpot.com/249/ | CC-MAIN-2017-39 | refinedweb | 241 | 53.47 |
Changelog for package tf2_geometry_msgs
0.4.12 (2014-09-18)
0.4.11 (2014-06-04)
0.4.10 (2013-12-26)
0.4.9 (2013-11-06)
0.4.8 (2013-11-06)
0.4.7 (2013-08-28)
0.4.6 (2013-08-28)
0.4.5 (2013-07-11)
0.4.4 (2013-07-09)
making repo use CATKIN_ENABLE_TESTING correctly and switching rostest to be a test_depend with that change... | http://docs.ros.org/hydro/changelogs/tf2_geometry_msgs/changelog.html | CC-MAIN-2019-35 | refinedweb | 447 | 50.02 |
Date: 06/29/2004 at 23:35:35
From: Adrian
Subject: Coin Toss
What is the expected number of times a person must toss a fair coin
to get 2 consecutive heads? I'm having difficulty in finding the
probabilty when the number of tosses gets bigger.
Here's my thinking:
1) You will only stop when the last two tosses are heads... | http://mathforum.org/library/drmath/view/65495.html | CC-MAIN-2015-27 | refinedweb | 1,022 | 79.3 |
Simple Lopy to Lopy via WiFi
Hi, I have some trouble to connect my two lopy4 via WiFi.
Here is receiver code:
import socket import pycom pycom.heartbeat(False) s = socket.socket() port = 80 s.bind(('0.0.0.0',port)) print("Bind") s.listen(5) print("Listen") while True: pycom.rgbled(0xFFFFFF) # Blue c, addr = s.accept() ... | https://forum.pycom.io/topic/4508/simple-lopy-to-lopy-via-wifi/1 | CC-MAIN-2021-39 | refinedweb | 644 | 63.46 |
Create the RespondToSlackCommand Azure function
You've created the Azure Function
MojifyImage, which returns a mojified image. You need a second endpoint that Slack calls whenever someone executes the
/mojify command. This second endpoint needs to return the URL to the
MojifyImage function.
When you run a Slack command... | https://docs.microsoft.com/en-us/learn/modules/replace-faces-with-emojis-matching-emotion/6-create-the-respondtoslackcommand-function | CC-MAIN-2019-35 | refinedweb | 789 | 58.69 |
numpy tile vs repeat
In this post, we will learn what is numpy tile and what’s the difference between numpy tiles and repeat
Numpy tile - numpy.tile()
The numpy tile function is used for repeating an array by any number of times in any dimension of the array
Here is the formula for using numpy tile:
numpy.tile(A, reps)... | https://kanoki.org/2022/01/03/numpy-tile-vs-repeat/ | CC-MAIN-2022-33 | refinedweb | 702 | 54.6 |
Re: why are overloaded methods statically bound?
From: Chris Smith (cdsmith_at_twu.net)
Date: 11/01/03
- ]
Date: Fri, 31 Oct 2003 16:01:50 -0700
Chris Riesbeck wrote:
> My post said "This can be handled if the language designers so
> choose." and "Again, if the language designers want to support
> this,..."
>
> How doe... | http://coding.derkeiler.com/Archive/Java/comp.lang.java.programmer/2003-11/0010.html | CC-MAIN-2016-44 | refinedweb | 729 | 63.39 |
Python Dataclasses from Scratch
This post assumes a general understanding of common Python structures, but most everything else will be explained.
I've always been fascinated by Python's
dataclasses module. It provides a wrapper that dynamically adds methods to a class based on its type annotations. Coming from the Typ... | https://xavd.id/blog/post/python-dataclasses-from-scratch/ | CC-MAIN-2021-39 | refinedweb | 2,389 | 66.64 |
strstr man page
Prolog
This manual page is part of the POSIX Programmer's Manual. The Linux implementation of this interface may differ (consult the corresponding Linux manual page for details of Linux behavior), or the interface may not be implemented on Linux.
strstr — find a substring
Synopsis
#include <string.h> ch... | https://www.mankier.com/3p/strstr | CC-MAIN-2017-17 | refinedweb | 110 | 58.38 |
class SuffixTree(object): class Node(object): def __init__(self, lab): self.lab = lab # label on path leading to this node self.out = {} # outgoing edges; maps characters to nodes def __init__(self, s): """ Make suffix tree, without suffix links, from s in quadratic time and linear space """ s += '$' self.root = self.N... | http://nbviewer.jupyter.org/github/BenLangmead/comp-genomics-class/blob/master/notebooks/CG_SuffixTree.ipynb | CC-MAIN-2018-51 | refinedweb | 507 | 74.29 |
Agenda
See also: IRC log
nm: Welcome Peter. Let's go around doing brief introductions.
jar: (intro)
ht: (intro) sgml, xml , more recently status of uris in webarch
dka: (intro) mobile web, privacy, social web
timbl: (intro) DIG, privacy, policy, semweb UI
ashok: (intro) standards, oasis, etc, rdb to rdf
plinss: (intro)... | http://www.w3.org/2001/tag/2011/02/08-minutes | CC-MAIN-2014-10 | refinedweb | 7,794 | 73.07 |
How to draw a horizontal line??
I want to draw a horizontal line through code and I tried something like below
drawline.h
#ifndef DRAWLINE_H
#define DRAWLINE_H
#include <QWidget>
#include <QLineF>
#include <QPainter>
#include <QDebug>
#include <QGridLayout>
class DrawLine : public QWidget
{
public:
DrawLine(QWidget *pa... | https://forum.qt.io/topic/68693/how-to-draw-a-horizontal-line | CC-MAIN-2019-47 | refinedweb | 509 | 55.84 |
A SQL client can have access to multiple databases side-by-side. The
same table name (e.g.,
orders) can exist in multiple
databases. When a query specifies a table name without a database
name (e.g.,
SELECT * FROM orders), how does CockroachDB know
which
orders table is being considered?
This page details how Cockroach... | https://www.cockroachlabs.com/docs/v1.0/sql-name-resolution.html | CC-MAIN-2019-43 | refinedweb | 248 | 65.52 |
What is a block in ruby?
Exploring anonymous functions
In Ruby, blocks, as well as Procs and lambdas, are all self contained, anonymous functions. Might sound confusing, but let’s start with an example. If you were in a math class and your teacher told you to “write the function that takes whatever is input (for instan... | https://medium.com/@materialdesignr/what-is-a-block-in-ruby-f3637030483c | CC-MAIN-2017-39 | refinedweb | 705 | 69.62 |
XML.
Keeping up with evolution of XML family of standards, Microsoft products support various other specifications, such as XPath, XSLT, XML Schemas, DOM, SAX, SOAP and Web services. This recent ZDNet story declared Microsoft as one of the winners in the Web services market and mentioned that "Microsoft is establishing... | https://www.sitepoint.com/microsoft-developers-1/ | CC-MAIN-2018-34 | refinedweb | 2,861 | 55.95 |
Your answer is one click away!
I'm scraping some JSON data from a website, and need to do this ~50,000 times (all data is for distinct zip codes over a 3-year period). I timed out the program for about 1,000 calls, and the average time per call was 0.25 seconds, leaving me with about 3.5 hours of runtime for the whole ... | http://www.devsplanet.com/question/35271922 | CC-MAIN-2017-22 | refinedweb | 378 | 68.97 |
Method function
There are functions when you come into contact with the first program in Java. The main function is a function that specifies the writing method in Java: the main function is usually written in an open class, and the code in the main function is automatically generated when executing a java program.
Def... | https://programmer.group/programming-always-needs-some-methods-let-me-tell-you-what-methods-are-today.html | CC-MAIN-2022-40 | refinedweb | 2,252 | 50.97 |
Streams are represented in Java as classes. The java.io package defines a collection of stream classes that support input and output (reading and writing). To use these classes, a program needs to import the java.io package, as shown below
import java.io.* ;
In general, streams are classified into two types known as ch... | http://ecomputernotes.com/java/stream/java-io | CC-MAIN-2020-05 | refinedweb | 1,012 | 56.45 |
react-svg
A React component that injects SVG into the DOM.
Background
Let's say you have an SVG available at some URL, and you'd like to inject it into the DOM for various reasons. This module does the heavy lifting for you by delegating the process to @tanem/svg-injector, which makes an AJAX request for the SVG and th... | https://reactjsexample.com/a-react-component-that-injects-svg-into-the-dom/ | CC-MAIN-2022-27 | refinedweb | 615 | 50.02 |
...one of the most highly
regarded and expertly designed C++ library projects in the
world. — Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
The modular multiplicative inverse of a number a is that number x which satisfies ax = 1 mod p. A fast algorithm for computing modular multiplicative inverses based on ... | https://www.boost.org/doc/libs/1_79_0/libs/integer/doc/html/boost_integer/mod_inverse.html | CC-MAIN-2022-27 | refinedweb | 151 | 53.71 |
- FAQ Topic - What does the future hold for ECMAScript? (2008-11-22)
- Does removing an element also remove its event listeners?
- Re: Muuttujien leveydet C++:ssa?
- Update location.hash without adding to history?
- FAQ Topic - Internationalisation and Multinationalisation in javascript. (2008-11-21)
- pass function in... | http://bytes.com/sitemap/f-63.html | crawl-002 | refinedweb | 3,505 | 64.61 |
The circuit I currently have can be seen in the diagram here:
A photo of my voltage divider can be seen here (all resistors are 10K, so 2 are used to make 20K in one half of the divider. The diode is a 3.3V zener diode. Black wire is 5V sensor output, purple is 3.3V and goes to Pi for reading, grey goes to Pi ground):
... | https://www.raspberrypi.org/forums/viewtopic.php?f=44&t=211133&p=1303165 | CC-MAIN-2020-10 | refinedweb | 171 | 79.6 |
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.
How to make a field readonly from a function? or Can we call a function on readonly attribute like "readonly="function_name" in o... | https://www.odoo.com/forum/help-1/question/how-to-make-a-field-readonly-from-a-function-or-can-we-call-a-function-on-readonly-attribute-like-readonly-function-name-in-odoo9-108009 | CC-MAIN-2018-13 | refinedweb | 276 | 66.03 |
Given a list of arbitrarily many strings, show how to:
- test if they are all lexically equal
- test if every string is lexically less than the one after it (i.e. whether the list is in strict ascending order)
Each of those two tests should result in a single true or false value, which could be used as the condition of... | https://tfetimes.com/c-compare-a-list-of-strings/ | CC-MAIN-2019-30 | refinedweb | 211 | 60.35 |
CGI::AppToolkit::Data::Object - A data source component of CGI::AppToolkit
CGI::AppToolkit::Data::Objects provide a common interface to multiple data sources. The data sources are provided by CGI::AppToolkit::Data::Object decendants that you create, generally on a per-project basis. Providing a data source requires cre... | http://search.cpan.org/dist/CGI-AppToolkit/lib/CGI/AppToolkit/Data/Object.pm | crawl-003 | refinedweb | 680 | 55.84 |
As we all know, one goal set by WS-Security is to enforce integrity and/or confidentially on SOAP messages. In case of integrity, the signature which is added to the SOAP message is the result of a mathematical process involving the private key of the sender resulting in an encrypted message digest.
Most frameworks, su... | https://www.javacodegeeks.com/2013/09/ws-security-using-binarysecuritytoken-for-authentication.html | CC-MAIN-2016-50 | refinedweb | 1,312 | 59.23 |
PROLOGThis manual page is part of the POSIX Programmer's Manual. The Linux implementation of this interface may differ (consult the corresponding Linux manual page for details of Linux behavior), or the interface may not be implemented on Linux.
NAMEsys/uio.h — definitions for vector I/O operations
SYNOPSIS
#include <s... | https://jlk.fjfi.cvut.cz/arch/manpages/man/sys_uio.h.0p.en | CC-MAIN-2019-47 | refinedweb | 139 | 50.84 |
hi folks,
I am new to windows programming, i have the following code:
#include <windows.h>
int main(){
MOUSEMOVEPOINT lppt;
......
}
but MOUSEMOVEPOINT was not defined, what headers should I include?
thanks
Printable View
hi folks,
I am new to windows programming, i have the following code:
#include <windows.h>
int mai... | http://cboard.cprogramming.com/windows-programming/30905-mousemovepoint-printable-thread.html | CC-MAIN-2015-48 | refinedweb | 409 | 67.96 |
Module not found, after installing with pip in stash
Hi, relative Python newcomer here, but with a couple of scripts under my belt, developed on Windows. I've been playing with Pythonista the last few days, but I'm struggling with one aspect. I've installed stash, from there installed some modules via pip, but the scri... | https://forum.omz-software.com/topic/6473/module-not-found-after-installing-with-pip-in-stash/7 | CC-MAIN-2020-40 | refinedweb | 632 | 67.35 |
Detection of planar objects
I am trying to do feature extraction using C++ API. For this, I am using... as reference.
The code I have written is :
#include <opencv2/core/core.hpp> #include <opencv2/highgui/highgui.hpp> #include <opencv2/imgproc/imgproc.hpp> #include <opencv/cv.hpp> #include <opencv2/imgcodecs/imgcodecs... | https://answers.opencv.org/question/62312/detection-of-planar-objects/ | CC-MAIN-2019-47 | refinedweb | 733 | 54.08 |
ASGI, WSGI, and Python
Most popular Python web frameworks, such as Django and Flask, works with WSGI (Web Server Gateway Interface) under the hood, which has been around sincePEP 333 in 2003, and its update PEP 3333 in 2010.
With the introduction of asyncio in Python 3 and
await syntax in Python 3.5,the Python communit... | https://dev.to/victorneo/asgi-frameworks-for-python-are-here-1d36 | CC-MAIN-2021-49 | refinedweb | 419 | 54.66 |
Signals are a neat feature of Qt that allow you to pass messages between different components in your applications. Signals are connected to slots which are functions (or methods) which will be run every time the signal fires. Many signals also transmit data, providing information about the state change or widget that ... | https://www.pythonguis.com/tutorials/pyqt6-transmitting-extra-data-qt-signals/ | CC-MAIN-2022-40 | refinedweb | 1,499 | 50.94 |
Boruvka’s algorithm for Minimum Spanning Tree in Python
Hello coders, In this tutorial, we are going to study about Boruvka’s algorithm in Python.
It is used to find the minimum spanning tree. First of all, let’s understand what is spanning tree, it means that all the vertices of the graph should be connected. It is kn... | https://www.codespeedy.com/boruvkas-algorithm-for-minimum-spanning-tree-in-python/ | CC-MAIN-2020-50 | refinedweb | 669 | 67.15 |
RapidSMS Developers Guide/Internationalization
This section explains how to localize your application. This describes how switch from one language (code language, usually English) to another language. If you want to serve multiple languages at the same this, do it yourself.
Contents
Changing your code to support Locali... | https://en.wikibooks.org/wiki/RapidSMS_Developers_Guide/Internationalization | CC-MAIN-2015-32 | refinedweb | 574 | 67.15 |
Is This Content Helpful?
How can we make this better? Please provide as much detail as possible.
Contact our Support Team
There is no direct way to insert the start and end elevation of a line feature as attribute values. The Interpolate Shape tool can only add z-values to the feature geometry, and the Add Surface Info... | https://support.esri.com/en/technical-article/000014433 | CC-MAIN-2019-43 | refinedweb | 204 | 59.19 |
"T. > So the scripting component is an object, and you are creating instances... > > Example vbs client script(where objFTP is an instance of the Python > WSC): > ---- > strRemotePath = rs.Fields("RemotePath").Value > > 'strRemotePath has a value here > > obj So here you appear to be calling a method of the instance yo... | https://mail.python.org/pipermail/python-list/2001-November/110193.html | CC-MAIN-2016-44 | refinedweb | 234 | 64.1 |
Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you have been placed in read-only mode.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
I want to create a left-aligned group in the menu. I found GroupBeginI... | https://plugincafe.maxon.net/topic/13323/how-to-create-a-left-aligned-group-in-the-menu | CC-MAIN-2021-25 | refinedweb | 894 | 58.69 |
?
A quick background
Spark Streaming provides windowed computations as one of its main features. This allows us to process data using a sliding window very efficiently. Let’s consider the following figure:
As we can see here, we keep sliding the time-window to process the data. The data that falls within the current wi... | https://prateekvjoshi.com/2015/12/29/performing-windowed-computations-on-streaming-data-using-spark-in-python/ | CC-MAIN-2021-39 | refinedweb | 697 | 64.71 |
Amongst the many features introduced in GameplayKit, one of the most immediately useful is its ability to provide artificial intelligence that can evaluate a situation and make smart choices. We're going to be using it in our Four in a Row game to provide a meaningful opponent, but first it's essential that you underst... | https://www.hackingwithswift.com/read/34/6/how-gameplaykit-ai-works-gkgamemodel-gkgamemodelplayer-and-gkgamemodelupdate | CC-MAIN-2021-31 | refinedweb | 996 | 63.83 |
In previous articles I’ve broadly covered some local storage options for HTML5 mobile applications and more recently backend options for HTML5 mobile applications. Now I’m going to get a little more specific and cover a real world example of how to use PouchDB with Ionic 2, which encompasses both local storage and remo... | https://www.joshmorony.com/syncing-data-with-pouchdb-and-cloudant-in-ionic-2/ | CC-MAIN-2021-04 | refinedweb | 2,187 | 65.56 |
It’s just data
I've always wondered about your essays. Who's the target audience?
Half of the things I've read from you specifically both "Gentle Introduction" articles as well as the WSDL 1.1 article seemed to lack any real meat for me. All I got out of them was a good collection of links and a fuzzy feeling about the... | http://www.intertwingly.net/blog/814.html | crawl-002 | refinedweb | 336 | 71.04 |
Programming Language Concepts Using C and C++/Exception Handling in C++
Similar to Java, exceptions in C++ are most often—not always!—objects of a class type. That is, instead of returning a value of a certain type an exception object may be returned from the function. However, one can also throw an exception object of... | https://en.m.wikibooks.org/wiki/Programming_Language_Concepts_Using_C_and_C%2B%2B/Exception_Handling_in_C%2B%2B | CC-MAIN-2022-05 | refinedweb | 4,192 | 60.24 |
present the judy1/L modules have quite a bit of code which
is first shared then specialised (threaded).
The Makefile copies the common code from JudyCommon to
Judy1 or JudyL, giving the new file a new filename corresponding
to the target, then compiles those files with macros to select
whether it's Judy1 or JudyL.
Why... | https://sourceforge.net/p/judy/mailman/message/1027091/ | CC-MAIN-2017-30 | refinedweb | 172 | 72.05 |
Do You Know What Time It Is?
At what time does the Scandinavian Airlines plane from Oslo to Athens arrive on Monday? Why are questions that seem so easy in day to day life, so difficult in programming? Time should be simple, just seconds passing, something a computer is very good at measuring:
System.currentTimeMillis(... | https://medium.com/97-things/do-you-know-what-time-it-is-56e9c14831a1?source=rss----a442d54f5def---4 | CC-MAIN-2019-47 | refinedweb | 545 | 67.96 |
Hot answers tagged command-history
98
You can achieve removal from the history file using the commandline in two steps: Typing history -d <line_number> deletes a specified line from the history in memory. Typing history -w writes the current in-memory history to the ~/.bash_history file. The two steps together remove t... | http://superuser.com/tags/command-history/hot | CC-MAIN-2016-18 | refinedweb | 1,331 | 63.49 |
I' m following this Manipulating matrix elements in tensorflow. using tf.scatter_update. But my problem is:
What happens if my tf.Variable is 2D? Let's say:
a = tf.Variable(initial_value=[[0, 0, 0, 0],[0, 0, 0, 0]])
for line in range(2):
sess.run(tf.scatter_update(a[line],[0],[1]))
TypeError: Input 'ref' of 'ScatterUpd... | https://codedump.io/share/ddzEYLjpadi4/1/use-tfscatterupdate-in-a-two-dimensional-tfvariable | CC-MAIN-2017-04 | refinedweb | 207 | 61.22 |
As I've been working on the front-end of this learning management system (LMS) that my team and I have been building at work, I've had to build out a handful of functionality to deal with the ways that students interact with the courses--whether course content, course meta data, or course materials. In one particular u... | https://codepunk.io/how-to-stream-a-zip-file-to-the-browser-in-express-and-node-js/ | CC-MAIN-2019-30 | refinedweb | 774 | 54.93 |
In this article we will see these topics:
- Explaining about the parameter
- Benefits of using parameters.
- Learn how to create a parameter.
- Learn how to assign parameters to commands.
Introduction about SqlCommand and parameters
When we are working with data, we often come into a situation when there is a need to f... | http://mrbool.com/how-to-incorporate-parameters-to-commands-with-c/25982 | CC-MAIN-2016-40 | refinedweb | 840 | 53.51 |
Python is a powerful multipurpose programming language created by Guido van Rossum.
It has a simple and easy-to-use syntax, making it a popular first-choice programming language for beginners.
This is a comprehensive guide that explores the reasons you should consider learning Python and the ways you can get started wi... | https://www.programiz.com/python-programming/guide | CC-MAIN-2021-39 | refinedweb | 980 | 63.19 |
Report Bursting
How to burst a report? What are the steps for bursting?
Birjesh
- Nov 27th, 2019
Bursting is used to distributing the report with different client
sreenivasulu pokuru
- Aug 5th, 2013
Bursting is nothing but a process of runs once report and dividing the results for various recipients through burst group... | http://www.geekinterview.com/Interview-Questions/Data-Warehouse/Cognos | CC-MAIN-2020-10 | refinedweb | 964 | 54.22 |
What do you need:
Preparing the field
First we create a simple activity that has a method with the native qualifier. That tells the JVM that that method is not implemented in Java but by the native layer on C or C++. With Eclipse and ADT 20 that is pretty easy.
package com.example.testjni; import android.os.Bundle; imp... | http://aoriani.blogspot.com/2012/08/using-native-code-jni-on-android-apps.html | CC-MAIN-2017-17 | refinedweb | 1,355 | 56.76 |
Cluster Utilities
This section provides information on the Hazelcast command line and other Command Line Tool
This is a tool using which you can install and run Hazelcast IMDG and Management Center on your Unix-like local environments. You need JRE 8 or newer as a prerequisite.
This tool comes with your Hazelcast IMDG ... | https://docs.hazelcast.com/imdg/latest/management/cluster-utilities.html | CC-MAIN-2021-10 | refinedweb | 1,965 | 58.38 |
IRC log of ws-ra on 2011-03-01
Timestamps are in UTC.
20:30:18 [RRSAgent]
RRSAgent has joined #ws-ra
20:30:18 [RRSAgent]
logging to
20:30:20 [trackbot]
RRSAgent, make logs public
20:30:20 [Zakim]
Zakim has joined #ws-ra
20:30:22 [trackbot]
Zakim, this will be WSRA
20:30:22 [Zakim]
ok, trackbot, I see WS_WSRA()3:30PM al... | http://www.w3.org/2011/03/01-ws-ra-irc | CC-MAIN-2015-06 | refinedweb | 2,177 | 58.49 |
Opened 10 years ago
Closed 8 years ago
#5272 closed (fixed)
Password reset form resets passwords for all users sharing an email address
Description
In /contrib/auth/forms.py (line 89) it loops through the users found. So if I have 2 or more accounts with the same e-mail address (because the emailfield in Users model is... | https://code.djangoproject.com/ticket/5272 | CC-MAIN-2017-22 | refinedweb | 531 | 50.23 |
iMeshObject Struct Reference
[Mesh plugins]
This is a general mesh object that the engine can interact with. More...
#include <imesh/object.h>
Detailed Description
This is a general mesh object that the engine can interact with.
The mesh object only manages its shape, texture etc. but *not* its position, sector or simi... | http://www.crystalspace3d.org/docs/online/api/structiMeshObject.html | CC-MAIN-2015-18 | refinedweb | 780 | 62.14 |
With.
In this tutorial, I'll show you how to use TensorFlow Mobile in Android Studio projects.
Prerequisites
To be able to follow this tutorial, you'll need:
- Android Studio 3.0 or higher
- TensorFlow 1.5.0 or higher
- an Android device running API level 21 or higher
- and a basic understanding of the TensorFlow frame... | https://code.tutsplus.com/tutorials/how-to-use-tensorflow-mobile-in-android-apps--cms-30957 | CC-MAIN-2019-04 | refinedweb | 1,984 | 53.51 |
Signals
#ifndef COUNTER_H #define COUNTER_H #include <QWidget> #include <QDebug> class Counter : public QWidget { /* * All classes that contain signals or slots must mention Q_OBJECT * at the top of their declaration. * They must also derive (directly or indirectly) from QObject. */ Q_OBJECT public: Counter (QWidget *p... | https://riptutorial.com/qt/example/7016/a-small-example | CC-MAIN-2022-05 | refinedweb | 164 | 50.53 |
.
Before we start, you'll need the following flickr information:
Set Up
I organized my project like so, but you can set up yous any way you want, as long as you modify my code samples to match.
project/ __init__.py apps/ __init__.py photos/ __init__.py models.py ... lib/ __init__.py templates/ manage.py settings.py url... | https://code.djangoproject.com/wiki/FlickrIntegration?version=2 | CC-MAIN-2015-27 | refinedweb | 639 | 67.76 |
What We are Looking At an inbuilt Broadcom WiFi Adapter. If you are using previous versions, you will have to connect an external USB WiFi adapter. Connect the Pi to your network. It is better to provide a static IP address for the Pi. Next you will have to enable and setup SSH on your Pi. Test your connection by conne... | http://hackersgrid.com/2017/02/mobile-phone-accelerometer-controlled.html | CC-MAIN-2018-34 | refinedweb | 519 | 59.6 |
> > Except E* don't have the same value on all platforms. > > It pretty much falls down to my first idea which was > > > > /* os_support.h or whatever */ > > #ifdef __BEOS__ > > that should be #if ENOMEM < 0 Right, much simpler :) > > > > # define FFERR(e) (e) > > #else > > # define FFERR(e) (-(e)) > > #endif > > AVERR... | http://ffmpeg.org/pipermail/ffmpeg-devel/2007-January/028131.html | CC-MAIN-2014-49 | refinedweb | 217 | 81.02 |
DTrace stuck when listing probes with "-P" and "-p"GregoryG. Sep 8, 2013 4:44 PM
Hello,
To provide some other feedback with UEK3/Dtrace 0.4 Beta1
1/- I've built a small USDT sample:
demo_probes.d
provider demo { probe progress__counter(int); };
demo.c
#include <sys/sdt.h> /* ** USDT probes with DTrace and UEK3 beta1 **... | https://community.oracle.com/message/11184642 | CC-MAIN-2016-44 | refinedweb | 541 | 68.91 |
Parallel programming is the future, but how do you get to high-performance parallel
programming that makes effective use of multicore CPUs? Using thread libraries like
POSIX threads is certainly an option, but the POSIX framework for threads was originally
introduced with the
C language in mind. It's also way too
low-l... | http://www.ibm.com/developerworks/aix/library/au-intelthreadbuilding/ | CC-MAIN-2014-52 | refinedweb | 2,892 | 54.12 |
You want the standard Exporter module to
define the external interface to your module.
In module file YourModule.pm, place the
following code. Fill in the ellipses as explained in the Discussion
section.
package YourModule;
use strict;
our (@ISA, @EXPORT, @EXPORT_OK, %EXPORT_TAGS, $VERSION);
use Exporter;
$VERSION = 1.... | http://www.yaldex.com/perl-tutorial/0596003137_perlckbk2-chp-12-sect-1.html | CC-MAIN-2016-44 | refinedweb | 643 | 63.19 |
In a recent project, I decided that using a multiple-document interface (MDI) would be the best approach. I was pleasantly surprised by how easy creating an MDI application in Visual Studio and on the .NET platform is. Simply setting the IsMdiContainer property of the System.Windows.Forms.Form allows other forms to be ... | http://www.codeproject.com/Articles/8489/Getting-a-quot-Handle-quot-on-the-MDI-Client?msg=2451287 | CC-MAIN-2013-48 | refinedweb | 3,243 | 54.32 |
Welcome to the sixth chapter of the Apache Storm tutorial (part of the Apache Storm course). This lesson will introduce you to the concept of Trident interface to Storm.
Now, let us begin by exploring the objectives of this lesson.
By the end of this lesson, you will be able to
Explain what is Trident
Explain the Tride... | https://www.simplilearn.com/apache-storm-trident-tutorial-video | CC-MAIN-2018-47 | refinedweb | 3,344 | 55.84 |
The GIMP ToolKit (GTK+) is a collection of GUI widgets. GTK+
essentially provides the building blocks from which GUIs can be
built. It is highly themable, and its functionality is highly
extensible.
GTK+-3 is a very stable release, similar only in design to GTK+-2.
GTK+-3 can coexist happily alongside GTK+-2, but appli... | https://www.freshports.org/x11-toolkits/gtk30/ | CC-MAIN-2018-47 | refinedweb | 1,057 | 51.14 |
Hi All!
I downloaded some open source library for my C++/CLI project. Let me call it 'library'. It is written completely in C#. The library compiles and builds fine into some library.dll. The samples provided along with it work well also. The problem starts when I try to use this library for my project.
I add a referen... | http://forums.codeguru.com/showthread.php?512840-Send-mails-with-rtf-format-using-smtp-client&goto=nextnewest | CC-MAIN-2014-52 | refinedweb | 180 | 74.69 |
WMI Diagnosis Utility
A New Utility for Diagnosing and Repairing Problems with the WMI Service
Download the All-New WMI Diagnosis Utility
Version 2.0 of the WMI Diagnosis Utility is now available in the Microsoft Downloads Center
The newly-revised WMI Diagnosis Utility is a VBScript script written by Alain Lissoir of t... | https://technet.microsoft.com/en-us/library/ff404265.aspx | CC-MAIN-2015-32 | refinedweb | 4,570 | 51.07 |
Ron Panepinto Jewelers
Jim Stevenson
700 Sansom St. 215-923-1980
9371 ROOSEVELT BLVD. PHILADELPHIA, PA 19114 215-698-7000 JStevenson@ChapmanAutoGroup.com
Vol. XI. No. 8 (Issue 473) We Buy Gold & Diamonds
Serving Citywide Political, Labor, Legal and School Communities of Philadelphia “The good things we do must be made ... | https://issuu.com/phillyrecord/docs/pr-473-p | CC-MAIN-2018-22 | refinedweb | 14,332 | 63.59 |
Getting a runtime error in ContainerControllerjosh_on May 12, 2011 3:53 PM
Using SDK 4.5.0.20967
The error is thrown on line 3182:
while (containerListIndex == -1 && floatIndex > 0)
{
floatIndex--;
floatInfo = _composedFloats[floatIndex - 1];
containerListIndex = _floatsInContainer.indexOf(floatInfo.graphic);
}
floatIn... | https://forums.adobe.com/message/4329956 | CC-MAIN-2016-18 | refinedweb | 4,388 | 50.94 |
Getting Familiar with the My Namespace - 24
- Posted: Nov 21, 2011 at 9:30 AM
- 28,098 Views
- video demonstrates the use of the My Namespace in Visual Basic which provides a short-cut to often used classes in the .NET Framework Class Library. We demonstrate how to use the My Namespace to retrieve information about the... | http://channel9.msdn.com/Series/Visual-Basic-Development-for-Absolute-Beginners/Getting-Familiar-with-the-My-Namespace-24?format=smooth | CC-MAIN-2015-22 | refinedweb | 309 | 74.59 |
Recently a demo bot (to be shared in the near future) that looks up airline flight data. One of the steps asks the user to choose from a list of international airports – some 8,000 of them. It’s routed to the user via the PromptDialog.Choice(…) dialog. The airports are simply passed as a list to the options parameter o... | https://www.jonathanhuss.com/bot-framework-bot-resets-response/ | CC-MAIN-2021-39 | refinedweb | 1,134 | 64.3 |
Service Oriented HTML Application (SOHA) promotes clean and well structured HTML code, and the initial SOHA page layout template HTML code is based on XHTML 1.0 transitional standard. The XHTML 10 Transitional DOCTYPE helped to create well formatted XML based HTML at design time, some IDE (like Visual Studio 2010, Drea... | https://www.codeproject.com/Articles/146409/Semantic-HTML-Page-Layout?msg=3737014 | CC-MAIN-2017-47 | refinedweb | 2,528 | 52.33 |
Capturing screenshots of website with Python
August 19, 2015
If you google how to do a screenshot of a website then you will probably end
with an answer depending on PyQT and WebKit. Sadly, PyQt is not a python package
that you can install easily via
pip and you will few others dependencies
to be able to generate a scr... | http://rachbelaid.com/capturing-screenshots-of-website-with-python/ | CC-MAIN-2018-26 | refinedweb | 214 | 52.6 |
To All:
Can anyone tell me how to use the tell( ) function when
accessing data on the Web?
I know how to use it when reading a file from the hard drive,
but I get an error using it after reading text via the Web and
then trying to use it on that particular "file object."
Part of the code I am using follows.
___________... | http://aspn.activestate.com/ASPN/Mail/Message/python-Tutor/1537279 | crawl-002 | refinedweb | 216 | 70.94 |
I have the code for this in this GitHub Repo
The Problem
Given a string, determine if a permutation of the string could form a palindrome.
Example 1:
Input: "code" Output: false
Example 2:
Input: "aab" Output: true
Example 3:
Input: "carerac" Output: true
My Tests
import pytest from .Week1Bonus import Solution s = Solu... | https://dev.to/ruarfff/week-1-bonus-palindrome-permutation-147a | CC-MAIN-2022-33 | refinedweb | 234 | 60.14 |
LINQ could be used with SQL Azure in the same way it is used with SQL Server. We are going to use School database again. So to see how we can use SQL Azure with LINQ
1. Create a console Appli8cation. For purpose of this walkthrough , I am creating Console app. You can use in same way in other managed application.
2. Ri... | https://debugmode.net/2011/04/08/sql-azure-with-linq/ | CC-MAIN-2022-40 | refinedweb | 184 | 68.87 |
Mastodon bot framework built on Mastodon.py
Project description
Ananas
What is Ananas?
Ananas allows you to write simple (or complicated!) mastodon bots without having to rewrite config file loading, interval-based posting, scheduled posting, auto-replying, and so on.
Some bots are as simple as a configuration file:
[b... | https://pypi.org/project/ananas/ | CC-MAIN-2018-47 | refinedweb | 1,256 | 55.54 |
New-Smb
Creates an SMB share.
Syntax
New-Smb
Share [ Server Message Block (SMB) share.
To delete a share that was created by this cmdlet, use the Remove-SmbShare cmdlet.
Examples
Example 1: named "VMSFiles" and grants Full Access permissions to "Contoso\Administrator", and "Contoso\Contoso-HV1$".
Example 2: Create an e... | https://docs.microsoft.com/en-us/powershell/module/smbshare/new-smbshare?view=windowsserver2019-ps&viewFallbackFrom=win10-ps | CC-MAIN-2021-17 | refinedweb | 362 | 59.3 |
Hello and welcome back to the channel. In this video you will learn useReducer hook. This is the alternative approach to store data inside component that useState. As you can understand the idea came from Redux approach with it's redu why do we need useReducer and how to use it? So actually it's an alternative to useSt... | https://monsterlessons-academy.com/posts/react-hooks-use-reducer-tutorial | CC-MAIN-2022-40 | refinedweb | 1,144 | 66.23 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.