text stringlengths 20 1.01M | url stringlengths 14 1.25k | dump stringlengths 9 15 ⌀ | lang stringclasses 4
values | source stringclasses 4
values |
|---|---|---|---|---|
An optimization pass providing Scalar Replacement of Aggregates. More...
#include "llvm/Transforms/Scalar/SROA.h"
An optimization pass providing Scalar Replacement of Aggregates.
This pass takes allocations which can be completely analyzed (that is, they don't escape) and tries to turn them into scalar SSA values. Ther... | http://llvm.org/doxygen/classllvm_1_1SROA.html | CC-MAIN-2017-47 | en | refinedweb |
Conservapedia:Timeline
The following is a timeline of major actions at Conservapedia; it will be updated as it unfolds, or folds up, as it may.
November 2006[edit]21st - Aschlafly makes his first edit; Conservapedia begins. The front page reads [1]:
Tired of the LIBERAL BIAS every time you search on Google and a Wikipe... | https://rationalwiki.org/wiki/Conservapedia:Timeline | CC-MAIN-2017-47 | en | refinedweb |
Spark & Python: MLlib Basic Statistics & Exploratory Data Analysis to follow
So far we have used different map and aggregation functions, on simple and key/value pair RDD's to get simple statistics that help us understand our datasets. In this tutorial we will introduce Spark's machine learning library MLlib through it... | https://www.codementor.io/jadianes/mllib-basic-statistics-exploratory-data-analysis-du107nxsy | CC-MAIN-2017-47 | en | refinedweb |
Getting Song Lyrics in Node.js
If you're developing a music app, you probably want access to song lyrics at some point. In this post I'll show you how to get song lyrics using Node.js.
#Using the Genius API
Genius is a site that grew from providing annotated rap lyrics to annotating the whole web. They provide an easy-... | http://cmichel.io/song-lyrics-in-nodejs/ | CC-MAIN-2017-47 | en | refinedweb |
x.metadata;23 /**24 * Exception thrown when a property has an illegal value.25 *26 * @see org.jboss.mx.metadata.AbstractBuilder27 *28 * @author <a HREF="mailto:juha@jboss.org">Juha Lindfors</a>.29 * @version $Revision: 37459 $30 * 31 */32 public class IllegalPropertyException33 extends Exception 34 {35 private static f... | http://kickjava.com/src/org/jboss/mx/metadata/IllegalPropertyException.java.htm | CC-MAIN-2017-47 | en | refinedweb |
django-termsandconditions is a Django app that enables users to accept terms and conditions of a site.
Django Terms and Conditions gives you an configurable way to send users to a T&C acceptance page before they can access the site.
Contributors:
- Tim White (tim@cyface.com)
- Adibo ()
- Nathan Swain ()
Table of Conten... | https://pypi.org/project/django-termsandconditions/ | CC-MAIN-2017-47 | en | refinedweb |
OST Converter tool to convert OST to PST is powerful and effective software that including emails, ...messages, attachments, to-do lists, notes, tasks, journals, contacts etc. If you need to convert OST file in EML and MSG software then it can be also used to do same. We provide gratis version of the product to evaluat... | http://freedownloadsapps.com/s/how-to-get-data-from-ost-file/ | CC-MAIN-2018-17 | en | refinedweb |
Seam Remoting and Contextnathan dennis Mar 5, 2008 7:27 PM
I've been working on a Web 2.0 app that is pretty complex. In the app i perform a lot of partial rerenders based on the users actions.. drag and drop for adding elements to an array... i also use a lot of javascript to calculate various div positions on the scr... | https://developer.jboss.org/thread/180727 | CC-MAIN-2018-17 | en | refinedweb |
GCC 6.1 Brings New C++17 Features, Full Support for OpenMP, Improves OpenACC
- |
-
-
-
-
-
-
Read later
Reading List
A note to our readers: You asked so we have developed a set of features that allow you to reduce the noise: you can get email and web notifications for topics you are interested in. Learn more about our ... | https://www.infoq.com/news/2016/05/gcc61-released | CC-MAIN-2018-17 | en | refinedweb |
Optics are essentially abstractions to update immutable data structures in an elegant way.
A
Lens (aka functional reference) is an optic that can focus into a structure and
get,
modify or
set its focus (target). They’re mostly used for
product types such as a
data class or a
TupleN.
Lenses can be seen as a pair of func... | http://arrow-kt.io/docs/optics/lens/ | CC-MAIN-2018-17 | en | refinedweb |
Here is very simple example of how it could work. You would start this and
call it with this, for example:
curl -i '' -X POST -d '{"Foo":"Bar"}'
HTTP/1.1 200 OK
Some response%
It is missing tons of things, but this should at least give you some sort
of idea.
import SocketServer
class MyTCPHandler(SocketServer.BaseReque... | http://www.w3hello.com/questions/SocketServer-Python-with-multiple-requests | CC-MAIN-2018-17 | en | refinedweb |
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.
Project Issue - Subject
Hi,
On sending emails to customers, the subject is from the name field. Is there any way to concatenate t... | https://www.odoo.com/forum/help-1/question/project-issue-subject-40612 | CC-MAIN-2018-17 | en | refinedweb |
Find Questions & Answers
Can't find what you're looking for? Visit the Questions & Answers page!
Dear Experts,
I'm attempting to perform my first Hana installation.
I've installed the database (SPS12) without any problems.
Now I'm installing NetWeaver 7.4 over that Hana DB.
It shows the following since 2 hours:
Import ... | https://answers.sap.com/questions/234804/please-help-with-sap-hana-installation.html | CC-MAIN-2018-17 | en | refinedweb |
Converting from Hypersonic to MYSQLChristopher Bird Jun 17, 2004 4:23 PM
This is actually a series of messages strung together from a posting at "theserverside.com" I didn't get many helpful answers here, so I am submitting the evidence to this august group and begging for assistance.
Sorry the post is so long, I wante... | https://developer.jboss.org/thread/76048 | CC-MAIN-2018-17 | en | refinedweb |
(For more resources on Flash, see here.)
Customizing your avatar
A Flash virtual world is a social community in which players interact with each other and have their own identity. Virtual world usually lets a user decide the avatar’s appearance by choosing the combination of different styles and colors.
Customizing dif... | https://hub.packtpub.com/customizing-avatar-flash-multiplayer-virtual-worlds/ | CC-MAIN-2018-17 | en | refinedweb |
.
#include <iostream>
#include <fstream>
#include <iomanip>
wchar_t const outtext[] = L"hello world";
char const BOM[] = { 0xFF, 0xFE };
size_t const insize = sizeof(outtext) + sizeof(BOM);
int main()
{
std::ofstream out("c:/temp/myfile.txt", std::ios::binary);
out.write(BOM, sizeof(BOM));
out.write((char *)outtext, si... | https://www.experts-exchange.com/questions/26611612/How-to-read-Unicode-files-in-Visual-C-Multibyte-Application.html | CC-MAIN-2018-17 | en | refinedweb |
Introduction: ESP8266 + Confused.com Brian Toy Robot
I thought it would be fun to add an ESP8266 to a Brian toy robot from confused.com to play the voice samples that are usually played when pressing the confused.com button on the front of the toy.
The ESP8266 will be powered by a single cell lipo that I got with a qua... | http://www.instructables.com/id/ESP8266-Confusedcom-Brian-Toy-Robot/ | CC-MAIN-2018-17 | en | refinedweb |
>
in c# the following code:
transform.position.y = 7.0f; give me this error:
Assets/Scripts/enemy.cs(19,35): error CS1612: Cannot modify a value type return value of `UnityEngine.Transform.position'. Consider storing the value in a temporary variable.
A hand please, i don't know what's wrong.
Answer by aldonaletto
·
No... | https://answers.unity.com/questions/188998/transformposition.html | CC-MAIN-2019-22 | en | refinedweb |
This module is for testing XML::Twig handlers....SEMANTICO/Test-XML-0.08 - 02 Jul 2009 06:12:12 GMT
MIROD/XML-Twig-3.52 - 23 Nov 2016 17:21:16 GMT
KRYDE/rss2leafnode-79 - 05 Feb 2017 11:24:31 GMT
This module provides a handy wrapper around XML::Twig and XML::Literal to provide easy accessors to the XML structures....A... | https://metacpan.org/search?q=module%3AXML%3A%3ATwig | CC-MAIN-2019-22 | en | refinedweb |
Designing APIs Related to LINQ Support
9.6 LINQ Support
Writing applications that interact with data sources, such as databases, XML documents, or Web Services, was made easier in the .NET Framework 3.5 with the addition of a set of features collectively referred to as LINQ (Language-Integrated Query). The following se... | http://www.informit.com/articles/article.aspx?p=1252137&seqNum=5 | CC-MAIN-2019-22 | en | refinedweb |
Hi Kathryn,
Thanks for your question. You are now able to complete raster calculations using our new Python API library. The following example outlines how you would run NDVI:
import numpy from pci.api import gobs, cts, datasource as ds # get the path to irvine.pix in the demo folder inputImage = r'E:\demo\irvine.pix' ... | https://support.pcigeomatics.com/hc/en-us/community/posts/203603273-NDVI-in-Python | CC-MAIN-2019-22 | en | refinedweb |
5.16.1 Problem
You have a time interval represented as a time, but you want the interval in terms of its components.
5.16.2 Solution
Decompose the interval with the HOUR( ), MINUTE( ), and SECOND( ) functions. If the calculation is complex in SQL and you're using the interval within a program, it may be easier to use y... | https://flylib.com/books/en/2.305.1/breaking_down_time_intervals_into_components.html | CC-MAIN-2019-22 | en | refinedweb |
TL; DR
The
globalstatement is a parser directive to indicate that
globalsare being used. When looking up
globals, the
globalsof the current scope are fetched.
Python’s
globalsare really just module-level.
Every function has an associated
__globals__dictionary, which is the same as the module’s
__dict__for the module wh... | http://pythonic.zoomquiet.top/data/20180730120841/index.html | CC-MAIN-2019-22 | en | refinedweb |
The QTextFragment class holds a piece of text in a QTextDocument with a single QTextCharFormat. More...
#include <QTextFragment>
Note: All functions in this class are reentrant..
Creates a new empty text fragment.
Copies the content (text and format) of the other text fragment to this text fragment.
Returns the text fr... | https://doc.qt.io/archives/qt-4.7/qtextfragment.html | CC-MAIN-2021-17 | en | refinedweb |
namespace std {
struct allocator_arg_t { };
constexpr allocator_arg_t allocator_arg = allocator_arg_t();
} ([allocator.requirements]). | https://timsong-cpp.github.io/cppwp/n3337/allocator.tag | CC-MAIN-2021-17 | en | refinedweb |
public class Y
{
private class X { ... }
public X P { ... } // Not allowed
}
mark_me wrote:I want single thread exection at a time
Mark Nischalke wrote:"Phone" is not a subject that will get you anywhere.
General News Suggestion Question Bug Answer Joke Praise Rant Admin
Use Ctrl+Left/Right to switch messages, Ctrl+Up/... | https://www.codeproject.com/Forums/1649/Csharp?df=90&mpp=25&sort=Position&view=Normal&spc=Relaxed&prof=True&select=3085496&fr=117326 | CC-MAIN-2021-17 | en | refinedweb |
autowiring 2 databases and getting ArticleManager to work properly
I really appreciate Latte and Nette.
I need an example of ArticleManager.php showing
everything from the namespace declaration to the end
of the constructor, and common.neon too…
WHEN
local.neon has two databases, not one.
I have searched through a lot ... | https://forum.nette.org/en/34373-autowiring-2-databases-and-getting-articlemanager-to-work-properly | CC-MAIN-2021-17 | en | refinedweb |
One of the challenges we’ve been dealing with in the Yellowbrick library is the proper resolution of colors, a problem that seems to have parallels in
matplotlib as well. The issue is that colors can be described by the user in a variety of ways, then that description has to be parsed and rendered as specific colors. T... | https://bbengfort.github.io/2017/01/resolving-matplotlib-colors/ | CC-MAIN-2021-17 | en | refinedweb |
The QDoubleSpinBox class provides a spin box widget that takes doubles. More...
#include <QDoubleSpinBox>
Inherits QAbstractSpinBox.
The QDoubleSpinBox class provides a spin box widget that takes doubles.
QDoubleSpinBox allows the user to choose a value by clicking the up and down buttons or by pressing Up or Down on t... | https://doc.qt.io/archives/qt-4.7/qdoublespinbox.html | CC-MAIN-2021-17 | en | refinedweb |
imaxabs (3p) - Linux Man Pages
imaxabs: return absolute value
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.
NAME
imaxabs... | https://www.systutorials.com/docs/linux/man/3p-imaxabs/ | CC-MAIN-2021-17 | en | refinedweb |
isinf (3p) - Linux Man Pages
isinf: test for infinity
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.
NAME
isinf - test fo... | https://www.systutorials.com/docs/linux/man/3p-isinf/ | CC-MAIN-2021-17 | en | refinedweb |
Parent Directory
|
Revision Log
|
Patch
--- trunk/pcsx2/MemoryTypes.h 2010/09/07 03:24:11 31 +++ trunk/pcsx2/MemoryTypes.h 2010/09/07 11:08:22 62 @@ -1,3 +1,17 @@ +/*. + * + * PCSCSX2. + * If not, see <>. + */ #pragma once @@ -21,4 +35,74 @@ typedef u16 mem16_t; typedef u32 mem32_t; typedef u64 mem64_t; -typedef u64 me... | http://www.netsolutions.dynu.com:81/viewvc/pcsx2_0.9.7/trunk/pcsx2/MemoryTypes.h?sortdir=down&r1=31&r2=62&sortby=rev | CC-MAIN-2021-17 | en | refinedweb |
I have an entity that has a relation using the FK ProductId, I then have another relation on the same entity using the composite keys ProductId and VehicleId. This does not work. I get
One or more validation errors were detected during model generation:
ProductId: Name: Each property name in a type must be unique. Prop... | https://entityframeworkcore.com/knowledge-base/32523285/property-name--productid--is-already-defined | CC-MAIN-2021-17 | en | refinedweb |
I have a very simple AsyncTask implementation example and am having problem in testing it using Android JUnit framework.
It works just fine when I instantiate and execute it in normal application.
However when it’s executed from any of Android Testing framework classes (i.e. AndroidTestCase, ActivityUnitTestCase, Activ... | https://exceptionshub.com/junit-android-asynctask-testing-with-android-test-framework.html | CC-MAIN-2021-17 | en | refinedweb |
Create UI for widget
The base
Widget class from Experience Builder is extended from React's component subclass:
PureComponent, which provides a function called
render().
Most of the UI work is expected to be happening inside of this function.
Writing JSX
The syntax React used for writing UI templates is called JSX. It ... | https://developers.arcgis.com/experience-builder/guide/widget-ui/ | CC-MAIN-2021-17 | en | refinedweb |
I imported a planet pbf into my local PostgreSQL database and need to do some private update (creation, modification and deletion) because of my business needs. However, I want to keep the local database in sync with osm official database periodically. It can be weekly, even monthly. Is there any best way to do that?
a... | https://help.openstreetmap.org/questions/64519/how-to-keep-a-local-modified-database-in-sync-with-osm-database | CC-MAIN-2021-17 | en | refinedweb |
Hi,
I was trying to manipulate the detail viewport through rhino python, without avail. The viewport does not change. I tried
ZoomBoundingBox and
ZoomExtentsSelected, neither of them worked. I don’t know whether I am missing some steps. I am on Rhino 6.18.
Thanks for advices,
Vincent
import Rhino import scriptcontext a... | https://discourse.mcneel.com/t/cannot-manipulate-detail-viewport/94129 | CC-MAIN-2020-05 | en | refinedweb |
Initial Installation
Correctly configured NVIDIA drivers
Please skip this section if your system doesn’t have an NVIDIA GPU.
This section’s main purpose is to help diagnose and solve the problem of getting
False when running:
import torch print(torch.cuda.is_available())
despite having
nvidia-smi working just fine. Whi... | https://docs.fast.ai/troubleshoot.html | CC-MAIN-2020-05 | en | refinedweb |
An Introduction to Apache Flink
An Introduction to Apache Flink
We've never had to process and stream as much big data as we do these days. Luckily, Apache Flink can help. This article offers a brief introduction.
Join the DZone community and get the full member experience.Join For Free
Until the past couple of years, ... | https://dzone.com/articles/a-practical-introduction-to-apache-flink | CC-MAIN-2020-05 | en | refinedweb |
The Python library to interact with Zipato smarthome controllers
Project description
ZipatoPy: Zipato Python API
The Python library to interact with Zipato smarthome controllers.
Inspired by ggruner. Tested with Zipato Zipatile.
Main features:
- list devices, endpoints, attributes and attribute values
- manipulate virt... | https://pypi.org/project/zipatopy/ | CC-MAIN-2020-05 | en | refinedweb |
Introduction
When you write a J2EE app or use any of the technologies that are built on top of J2EE some aspects of what happens underneath you are one step removed from magic. That's great when you're in the development process, but when you get closer to production you may need pull back the curtain a bit so you can ... | https://www.ateam-oracle.com/authenticated-sessions-and-weblogic-including-clusters | CC-MAIN-2020-24 | en | refinedweb |
Service Provisioning API
The Service Provisioning APIs can be used to register event handlers on services. In CAP everything that happens at runtime is an event that is sent to a service. With event handlers the processing of these events can be extended or overridden. Event handlers can be used to handle CRUD events, ... | https://cap.cloud.sap/docs/java/provisioning-api | CC-MAIN-2020-24 | en | refinedweb |
PE Format
This specification describes the structure of executable (image) files and object files under the Windows family of operating systems. These files are referred to as Portable Executable (PE) and Common Object File Format (COFF) files, respectively.
Note
This document is provided to aid in the development of t... | https://docs.microsoft.com/pt-br/windows/win32/debug/pe-format?redirectedfrom=MSDN | CC-MAIN-2020-24 | en | refinedweb |
I have run into issues the last couple of days trying to get the Xamarin.Auth library to work with my WebAPI and Active Directory. For the life of me, I can't get our API to work with Xamarin.Auth but I can log in through a browser and view our JSON data. I'm using Joe Suave's example as a starter.
Our URL structure is... | https://forums.xamarin.com/discussion/comment/405728 | CC-MAIN-2020-24 | en | refinedweb |
Python Netlink library
Project description
pyroute2'}) # release Netlink socket ip.close()
High-level transactional interface, IPDB, a network settings DB:
from pyroute2 import IPDB # local network settings ip = IPDB() # create bridge and add ports and addresses # transaction will be started with `with` statement # and... | https://pypi.org/project/pyroute2/0.3.21/ | CC-MAIN-2020-24 | en | refinedweb |
Archives
SharePoint RunTimeFilter and audiences... an investigation language="C#"
Inherits="Microsoft.SharePoint.Portal.SitePage" %>
<html dir="ltr">
):
- Audiences are precompiled, so not "real-time"
- Audiences are rules based on profile properties (coming from active directory), often there is already a company dire... | https://weblogs.asp.net/soever/archive/2004 | CC-MAIN-2020-24 | en | refinedweb |
For additional information about this project, please visit the
project page.
source tarball
2013-01-17 23:21 eighthave
* [r16904] .[CPY]: tagging unauthorized v0.1
2013-01-17 23:20 eighthave
* [r16903] support older Pd versions without sys_fopen(),
sys_fclose(), and, sys_close()
2013-01-17 23:15 eighthave
* [r16902] r... | http://puredata.info/downloads/unauthorized/releases/0.1 | CC-MAIN-2020-24 | en | refinedweb |
Welcome to C# 9.0
Mads!
This is all excellent!
Will record types work in .NET Std 2.0 dlls? I ask as I have to make my shared code available to UWP.
Hey Steve, the current plan is that C# 9 will only be officially supported on .NET 5. However, in the current design records do not depend on any new CLR features, so many... | https://devblogs.microsoft.com/dotnet/welcome-to-c-9-0/ | CC-MAIN-2020-24 | en | refinedweb |
#include <mw/QtWebKit/qgraphicswebview.h>
The QGraphicsWebView class allows Web content to be added to a GraphicsView.
If the width and height of the item are not set, they will default to 800 and 600, respectively. If the Web page contents is larger than that, scrollbars will be shown if not disabled explicitly.
the i... | http://devlib.symbian.slions.net/belle/GUID-C6E5F800-0637-419E-8FE5-1EBB40E725AA/GUID-132280BA-6D0F-36AF-B347-F0724FA3E2D1.html | CC-MAIN-2021-21 | en | refinedweb |
Service Header Files Missing Error
I'm a ROS beginner working on a custom controller for a UUV using Gazebo to simulate the environment and ROS to control everything. I'm using the uuv_simulator package, which does a lot of the heavy lifting for me. Currently, when certain conditions are met (i.e. the sonar reads a cer... | https://answers.ros.org/question/271664/service-header-files-missing-error/ | CC-MAIN-2021-21 | en | refinedweb |
, as known from Spring Web MVC usage, you can easily wire
up such a servlet exposing your services. First we’ll have to create a new servlet in
your application (this.
Alternatively, consider the use of Spring’s simpler
HttpRequestHandlerServlet. This
allows you to embed the remote exporter definitions in your root app... | https://docs.spring.io/spring-framework/docs/4.2.7.RELEASE/spring-framework-reference/html/remoting.html | CC-MAIN-2021-21 | en | refinedweb |
In August 2017 a typosquatting attack was discovered:
@kentcdodds Hi Kent, it looks like this npm package is stealing env variables on install, using your cross-env package as bait: pic.twitter.com/REsRG8Exsx— Oscar Bolmsten (@o_cee) August 1, 2017
The npm package
crossenv was found to contain malicious code that exfil... | https://blog.scottlogic.com/2018/02/27/hunting-typosquatters-on-npm.html | CC-MAIN-2021-21 | en | refinedweb |
To help me learn and understand better, I'm going to write a series of posts that compare React and Vue, and how each framework codes some of the most fundamental programming concepts.
This post (and this series) is not an attempt at claiming one is better than the other. They are both very good and popular. The purpos... | https://practicaldev-herokuapp-com.global.ssl.fastly.net/simonhlee97/comparing-react-and-vue-part-1-572n | CC-MAIN-2021-21 | en | refinedweb |
Secrets
All resource input and output values are recorded as
state, and are stored in the Pulumi Service, a file, or a pluggable provider that you choose. These raw values are usually just server names, configuration settings, and so on. In some cases, however, these values contain sensitive data, such as database pass... | https://www.pulumi.com/docs/intro/concepts/secrets/ | CC-MAIN-2021-21 | en | refinedweb |
libcaca-tutorial.3caca - Man Page
Name
libcaca-tutorial — A libcaca tutorial First, a very simple working program, to check for basic libcaca functionalities.
#include <caca.h> int main(void) { caca_canvas_t *cv; caca_display_t *dp; caca_event_t ev; dp = caca_create_display(NULL); if(!dp) return 1; cv = caca_get_canvas... | https://www.mankier.com/3/libcaca-tutorial.3caca | CC-MAIN-2021-21 | en | refinedweb |
d3-zoom is incredibly robust, powerful and flexible. However, its flexibility means it can be quite complex to configure and use correctly. This post covers one way of wrapping it up, reducing its flexibility but vastly simplifying its use for my use-case.
d3-zoom
To shape the discussion, we’ll be creating the chart be... | https://blog.scottlogic.com/2020/10/22/fixing-the-d3-zoom-api.html | CC-MAIN-2021-21 | en | refinedweb |
ArcPy is a Python site package that provides a useful and productive way to perform geographic data analysis, data conversion, data management, and map automation with Python. help system. Functions are documented in the ArcPy documentation.
- Tools return a Result object; functions do not.
- Tools produce messages, ac... | https://pro.arcgis.com/en/pro-app/latest/arcpy/get-started/a-quick-tour-of-arcpy.htm | CC-MAIN-2021-21 | en | refinedweb |
Transpose a 1D Array in NumPy
Arrays and matrices form the core of this Python library. Transposes of these arrays and matrices play a critical role in some subjects, such as machine learning. In NumPy, it’s straightforward to calculate the transpose of an array or a matrix.
Transpose a 1D array in NumPy
To transpose a... | https://www.delftstack.com/howto/numpy/numpy-transpose-a-1d-array/ | CC-MAIN-2021-21 | en | refinedweb |
Why I Still Use Vim
And no, it’s not because I can’t figure out how to close it.
I often get asked about why I use Vim as my primary editor, there is no particular reason for this, except that I ended up learning it when I moved over to Linux full time many years ago. I ended up liking it because I could edit my small ... | https://medium.com/commitlog/why-i-still-use-vim-67afd76b4db6 | CC-MAIN-2021-21 | en | refinedweb |
The string ``
ACL'').
When a command is read, all the symbols in it are converted to uppercase.
Thus, typing
(defun app ...) is the same as typing
(DEFUN APP ...) or
(defun App ...). There are ways to force lowercase case characters into
symbols but we won't discuss them here. A consequence of Common Lisp's
default upp... | http://www.cs.utexas.edu/users/moore/acl2/v6-2/About_the_Prompt.html | CC-MAIN-2017-17 | en | refinedweb |
GameFromScratch.com
In the previous tutorials we covered configuration, game loop and finally keyboard handling. Today we are going to move on to the basics of graphics programming in SFML. We are going to start with simple geographic primitives, then in the following tutorial we will move on to sprites. You will notic... | http://www.gamefromscratch.com/post/2015/10/15/SFML-CPP-Tutorial-Basic-Graphics.aspx | CC-MAIN-2017-17 | en | refinedweb |
This is a working page. It gathers informal descriptions of the subset of RDF that are supported by the RDFa specification. As per decision of the Semantic Web Deployment Working Group at the Boston F2F meeting on 2007-01-23, RDFa is not required to support every feature of RDF.
RDF features covered by RDFa (RiR)
Motiv... | https://www.w3.org/2006/07/SWD/wiki/RDFa/RDFCoverage.html | CC-MAIN-2017-17 | en | refinedweb |
CSC/ECE 517 Fall 2012/ch1b 1w38 nm
Introduction
This page is aimed at asserting the importance of Model View Controller Architecture and how MVC is implemented in Cookbook application.
Model View Controller (MVC) Architecture
The purpose of creating MVC architecture is to have clear separation between the responsibilit... | http://wiki.expertiza.ncsu.edu/index.php/CSC/ECE_517_Fall_2012/ch1b_1w38_nm | CC-MAIN-2017-17 | en | refinedweb |
WELCOME BACK TO ARDUINO PROJECTS.
This is a guide to make an LED flashing circuit that "beats" to an mp3 file on your computer, which can add an awesome effect to any sound-related device, or even your room (if you extend the concept with LED drivers or plenty of resistors/transistors).
The LED flashing circuit makes u... | http://www.instructables.com/id/FLASH-LEDS/ | CC-MAIN-2017-17 | en | refinedweb |
Are you all aware of CWrap? It goes a long way to generating pxd files for a C libary. It can, for example, generate valid pxd files for the whole of the Intel IPP library. This would likely be a good launching point for a GSOC project, unless you really want to start from scratch. It's BSD licensed. On Thu, Mar 29, 20... | https://mail.python.org/pipermail/cython-devel/2012-March/002159.html | CC-MAIN-2017-17 | en | refinedweb |
0
Two lines in the codes below have been remarked out else compiling would fail:
//arrcon[1]=*scon;
//count << "arrcon[1] " << arrcon[1];
The intention was to assign character values to an array with 5 elements, each with a maximum 35 characters, declared as a string array, arrcon[5],[35];
I was trying to use pointer, ... | https://www.daniweb.com/programming/software-development/threads/223534/use-of-pointers-to-assign-values-to-a-string-array | CC-MAIN-2017-17 | en | refinedweb |
1 /*====================================================================2 3 OpenCCM: The Open CORBA Component Model Platform4 Copyright (C) 2000-2004 INRIA - USTL - LIFL - GOAL5 Contact: openccm@objectweb.org21 22 Initial developer(s): Christophe Contreras23 Contributor(s): _____________________________________________... | http://kickjava.com/src/org/objectweb/openccm/descriptor/softpkg/gui/ImplementationZipperHandler.java.htm | CC-MAIN-2017-17 | en | refinedweb |
Feedback
Getting Started
Discussions
Site operation discussions
Recent Posts
(new topic)
Departments
Courses
Research Papers
Design Docs
Quotations
Genealogical Diagrams
Archives
A recent article in Wired with quotes from one of our own. Also, this is a good time to bring up Leo et al. publication draft on Socio-PLT al... | http://lambda-the-ultimate.org/node/4537 | CC-MAIN-2017-17 | en | refinedweb |
Configuring Docker Environments
You can use the Elastic Beanstalk Management Console to configure the software running on your environment's EC2 instances.
To access the software configuration for your Elastic Beanstalk environment
Open the Elastic Beanstalk console.
Navigate to the management page for your environment... | http://docs.aws.amazon.com/elasticbeanstalk/latest/dg/create_deploy_docker.container.console.html | CC-MAIN-2017-17 | en | refinedweb |
I need to duplicate tabs in Chrome and middle clicking refresh does this wonderfully without any reloads.
I get error "C:\slave\WinInstallerMegaPack\src\opencv\modules\core\src\matrix.cpp:113: error: (-215) s >= 0" when it gets to second part of the watch. Getting the whole screen the checking works, but getting just p... | http://www.dreamincode.net/forums/topic/320324-cv2-error-215-while-comparing-images/ | CC-MAIN-2017-17 | en | refinedweb |
CSC/ECE 517 Fall 2012/ch2b 2w62 pv
Memento, directory of sites
The objective of this wiki is to provide a directory of sites that one would refer to while learning about the Memento pattern. This wiki will be giving an overview of the different features of the Memento pattern along with links to useful websites that ex... | http://wiki.expertiza.ncsu.edu/index.php/CSC/ECE_517_Fall_2012/ch2b_2w62_pv | CC-MAIN-2017-17 | en | refinedweb |
Convert the documents by hand (more work, more accurate)
Convert the documents using an automated conversion tool (less work, less accurate)
The former approach requires some serious elbow grease, but it yields the best results because you're carrying out the migration process with considerable attention to detail. On ... | http://www.brainbell.com/tutorials/XML/Migrating_HTML_To_XHTML.htm | CC-MAIN-2017-22 | en | refinedweb |
Proposed features/Hiking
Contents
Rationale
Provide a classification scheme for hiking trails.
- Especially for mountain trails, it is crucial to know wether a trail can be done in sneakers or wether you need contributers to OSM.
As far as I know, there is no internationally standardized classification schema. Thus, I ... | http://wiki.openstreetmap.org/wiki/Approved_features/Hiking | CC-MAIN-2017-22 | en | refinedweb |
A recent comment on the post titled binary stl file reader in numpy prompted me to revisit the code and while I was looking at it , I updated the same for code to view the loaded stl file.
The above picture shows the result.
The code as usual available on github from here
from binarySTLreader import BinarySTL,ShowSTLFi... | https://sukhbinder.wordpress.com/category/python/ | CC-MAIN-2017-22 | en | refinedweb |
). There is no obvious way to speed up this dp, because the transition of states is already done in O(1), and that's where dp optimization techniques usually cut the complexity. It's also useless to use some other definition of dp, since they will all take O(n^3) time to compute. But what we can do is to use the same t... | http://codeforces.com/topic/49921/en5 | CC-MAIN-2017-22 | en | refinedweb |
This page documents the 1.2 (latest stable) release. See 1.0/TracPlugins if you need the previous version.
Contents
- Plugin discovery
- Installing a Trac plugin
- Setting up the plugin cache
- Web-based plugin administration
- Troubleshooting
Trac plugins
Trac is extensible with plugins. Plugin functionality is based ... | https://trac.edgewall.org/wiki/TracPlugins | CC-MAIN-2017-22 | en | refinedweb |
by A. M. Kuchling
Puppet is an indispensable tool for system admins, but it can be tricky at times to make it work the way you need it to. One such problem one of our clients had recently was that they needed to track a file inside a user's home directory via Puppet (a common event). However, for various reasons the us... | http://blog.endpoint.com/2012/03/puppet-custom-fact-ruby-plugin.html | CC-MAIN-2017-22 | en | refinedweb |
XML can also be used with datasets. The DataSet class, described in Chapter 18, has methods for both reading and writing XML. In this section, you’ll learn how to place XML data in a dataset and how to write data from a dataset to an XML file.
To read data into a dataset, you use the ReadXml method of the DataSet class... | http://etutorials.org/Programming/visual-c-sharp/Part+IV+Data+Access+and+XML/Chapter+19+XML/Using+XML+with+Datasets/ | CC-MAIN-2017-22 | en | refinedweb |
GETWCHAR(3P) POSIX Programmer's Manual GETWCHAR(3P)
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.
getwchar — get a wide charac... | http://man7.org/linux/man-pages/man3/getwchar.3p.html | CC-MAIN-2017-22 | en | refinedweb |
import nltk
####
# text to work with
bltext = ""."""
# split up into sentences
sent_detector = nltk.data.load('tokenizers/punkt/english.pickle')
blsentences = sent_detector.tokenize(bltext.strip())
print "Split into sentences."
print blsentences[0]
raw_input()
###
# split up each sentence into words, taking punctuation... | http://www.katrinerk.com/courses/working-with-corpora/working-with-corpora-schedule/nltk-demo-code | CC-MAIN-2017-22 | en | refinedweb |
ConnectionStringEditor Class
Assembly: System.Design (in system.design.dll)
An instance of the ConnectionStringEditor class is a UITypeEditor object that can be used at design time to select and edit a connection string expression and to assign the expression to a control property. For example, the SqlDataSource contro... | https://msdn.microsoft.com/en-US/library/system.web.ui.design.connectionstringeditor(v=vs.80).aspx | CC-MAIN-2017-22 | en | refinedweb |
Today I needed to the derivative of the zeta function. SciPy implements the zeta function, but not its derivative, so I needed to write my own version.
The most obvious way to approximate a derivative would be to simply stick a small step size into the definition of derivative:
f’(x) ≈ (f(x+h) – f(x)) / h
However, we c... | https://www.johndcook.com/blog/2015/11/21/numerical-differentiation/ | CC-MAIN-2017-22 | en | refinedweb |
Prabhu Ramachandran posted the following note to the enthought-dev mailing list. The result is that TVTK Scene in Pyface is now GUI-toolkit-independent, and Mayavi2 is independent of Envisage.
Just a quick note. I’ve refactored the pyface.tvtk scene in the
branches. I’ve “abstracted” the core TVTK functionality of a ge... | http://blog.enthought.com/python/improved-code-separation-in-tvtk-and-mayavi2/ | CC-MAIN-2017-22 | en | refinedweb |
This article was originally written in English. Text in other languages was provided by machine translation.
In June of this year, Flash® Player 10.1, was released that contained a new set of ActionScript classes which aid the creation of applications that support multiple languages and regions. The new classes were pu... | http://blogs.adobe.com/globalization/2010/11/ | CC-MAIN-2017-22 | en | refinedweb |
#include <FXRanged.h>
#include <FXRanged.h>
List of all members.
[inline]
Default constructor.
Initialize from another range.
Initialize from two vectors.
Initialize from six numbers.
Initialize box to fully contain the given bounding sphere.
Assignment.
Set value from another range.
Set value from two vectors.
Set val... | http://fox-toolkit.org/ref16/classFX_1_1FXRanged.html | CC-MAIN-2017-22 | en | refinedweb |
The following example shows how you can expand/collapse branches in a Flex Tree control by clicking on the row instead of having to click on the disclosure/arrow icon.
<?xml version="1.0" encoding="utf-8"?> <!-- --> <mx:Application <mx:Script> <![CDATA[ import mx.collections.ICollectionView; import mx.events.ListEvent;... | http://blog.flexexamples.com/2008/04/05/opening-branches-by-clicking-rows-in-a-tree-control-in-flex/ | CC-MAIN-2017-22 | en | refinedweb |
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 pass connection parameters in the URL ?
I am working with odoo 8. I want to know how can I log in the server by just passi... | https://www.odoo.com/forum/help-1/question/how-to-pass-connection-parameters-in-the-url-88948 | CC-MAIN-2017-47 | en | refinedweb |
The purpose of
base64.b64encode() is to convert binary data into ASCII-safe "text". However, the method returns an object of type bytes:
>>> import base64>>> base64.b64encode(b'abc')b'YWJj'
It's easy to simply take that output and
decode() it, but my question is: what is a significance of
base64.b64encode() returning
b... | http://www.convertstring.com/fi/EncodeDecode/Base64Encode | CC-MAIN-2017-47 | en | refinedweb |
capng_get_caps_fd man page
capng_get_caps_fd —
Synopsis
#include <cap-ng.h>
int capng_get_caps_fd(int fd);
Description
This function will read the file based capabilities stored in extended attributes of the file that the descriptor was opened against. The bounding set is not included in file based capabilities operati... | https://www.mankier.com/3/capng_get_caps_fd | CC-MAIN-2017-47 | en | refinedweb |
Cf 361div2 C [二分]
题目连接
Description
Bad
The single line of input contains the integer m (1 ≤ m ≤ 1015) — the number of ways the thieves might steal the chocolates, as rumours say.
Output
Print the only integer n — the maximum amount of chocolates that thieves’ bags can carry. If there are more than one n satisfying the ... | http://blog.csdn.net/xgogoforit/article/details/52374407 | CC-MAIN-2017-47 | en | refinedweb |
ttyslot - Find the slot for the current user in the user
accounting database
#include <stdlib.h>
int ttyslot(
void );
Standard C Library (libc)
Interfaces documented on this reference page conform to
industry standards as follows:
ttyslot(): XSH4.2
Refer to the standards(5) reference page for more information
about ind... | http://nixdoc.net/man-pages/Tru64/man3/ttyslot.3.html | CC-MAIN-2017-47 | en | refinedweb |
How to serialize/deserialize a Qlist<MyClass*>
I have searched the web and the forum for answers to this question, but have not been able to find information to help me understand how to implement the stream operator functions to achieve this action.
If I have a class MyClassEntry, and another class MyClass containing ... | https://forum.qt.io/topic/58701/how-to-serialize-deserialize-a-qlist-myclass | CC-MAIN-2017-47 | en | refinedweb |
Preface
The intended audience of this article is someone who knows something about Machine Learning and Artifical Neural Networks (ANNs) in particular and who recalls that fitting an ANN required a technique called backpropagation. The goal of this post is to refresh the reader’s knowledge of ANNs and backpropagation a... | https://idontgetoutmuch.wordpress.com/2013/10/13/backpropogation-is-just-steepest-descent-with-automatic-differentiation-2/ | CC-MAIN-2017-47 | en | refinedweb |
in reply to LibXML, XPath and Namespaces
Can I have my bonus points please??
use v5.10;
use strict;
use warnings;
use XML::LibXML;
my $xml = XML::LibXML->load_xml(IO => \*DATA);
say "The root element's namespace is: ",
$xml->documentElement->namespaceURI;
# Give that namespace a prefix so that we can reference it in XP... | http://www.perlmonks.org/index.pl?node_id=1024823 | CC-MAIN-2017-47 | en | refinedweb |
. This section will outline some of these “best practices” for writing reusable Blaze components.
Examples below will reference the
Lists_show component from the Todos example app.
In order to ensure your component always gets the data you expect, you should validate the data context provided to it. This is just like v... | http://docs.w3cub.com/meteor~1.5/guide/reusable-components/ | CC-MAIN-2017-47 | en | refinedweb |
i have a newbie question. when deploying ear files into the $JBOSS_DIST/deploy folder, i found out that, if rename the ear files to different name, there'd be error occurred. for instance, originally there's ear file named abc.ear, then rename it to abc.ear.date_time. then deploy new one to $JBOSS_DIST/deploy with the ... | https://developer.jboss.org/thread/75204 | CC-MAIN-2017-47 | en | refinedweb |
I use tinker for debugging, and use
if (isTinker()) { print "debugging information..."; }
31st August, 2018
mankowitz started a new conversation How To Know If I Am In A Tinker Shell? • 1 month ago
I use tinker for debugging, and use
if (isTinker()) { print "debugging information..."; }
12th August, 2018
mankowitz star... | https://laracasts.com/@mankowitz | CC-MAIN-2018-43 | en | refinedweb |
SYNOPSIS
use Tcl;
$interp = Tcl->new;
$interp->Eval('puts "Hello world"');
DESCRIPTION
The new procedures can be either C code (with addresses presumably obtained using dl_open and dl_find_symbol) or Perl subroutines (by name, reference or as anonymous subs). The (optional) deleteProc callback in the latter case is ano... | http://manpages.org/Tcl/3 | CC-MAIN-2018-43 | en | refinedweb |
import arcpy,sys sdeConn = r"Database Connections\\Test.sde" muniLoc = "Municipalities" luLoc = "Land_Use" tempLoc = "tempMuniLuRatio" lu_lyr = "lu_lyr" arcpy.env.workspace = sdeConn try: print "MakeFeatureLayer_management lu_lyr" arcpy.MakeFeatureLayer_management(luLoc, lu_lyr) prematchcount = int(arcpy.GetCount_manag... | https://community.esri.com/thread/167549-switchselection-in-selectlayerbylocationmanagement | CC-MAIN-2018-43 | en | refinedweb |
import games
Moderator: Gaijin Punch
Postby EOJ » Fri Aug 17, 2007 3:44 am
Postby Gaijin Punch » Fri Aug 17, 2007 5:37 am
Rade wrote:Finally received a reply by posting in a thread at that Gaijin forum:
Postby EOJ » Fri Aug 17, 2007 5:41 am
Postby gothicayu » Wed Feb 10, 2010 2:30 am
Return to “Site Feedback”
Users bro... | http://forums.gamengai.com/viewtopic.php?f=6&t=1852&p=21823&sid=574ffcc5dd0f969dcaaced88a1de9826 | CC-MAIN-2018-43 | en | refinedweb |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.