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 |
|---|---|---|---|---|---|
Juan Manuel Diaz wrote:Hi fellows!! I am trying to create a login form for my webapp using richfaces in a facelets page, but i cant did it! If I use the auto-config <login-form /> in my security-context.xml, the ugly login form from spring is rendered and works fine, but I want my own login form! If someone can help it... | http://www.coderanch.com/t/536641/Spring/Login-Form-Spring-Security-JSF | CC-MAIN-2015-14 | refinedweb | 220 | 86.71 |
WikiGraph
MetaWiki-like service delivered via JavaScript. See 2012-12-01-BuildingWikiGraph
Short-term goals: Visible Backlinks and Twin Pages for this WikiLog.
Longer-term goals
- WikiWeb
- encourage use of Smashed Together Words (contra Free Link-s) for Automatic Linking in other WikiEngines
- 2016 update: WikiGraph W... | http://webseitz.fluxent.com/wiki/WikiGraph | CC-MAIN-2022-33 | refinedweb | 897 | 66.33 |
It should be looking in the class path, not the file system.
On Oct 18, 2013, at 12:42 PM, Dan Kaplan <dank@mirthcorp.com> wrote:
> I tried using that, but it "didn't work". Probably because "includes"
> still looks on the file system?
>
>
> On Thu, Oct 17, 2013 at 11:10 PM, Andreas Gudian
> <andreas.gudian@gmail.com>w... | http://mail-archives.apache.org/mod_mbox/maven-users/201310.mbox/%3C17C71EDE-5AC5-46D2-B5F3-BDD519FD218A@gold-family.us%3E | CC-MAIN-2015-18 | refinedweb | 482 | 53.27 |
Introduction: Real Python AI
this is is an instructable that will teach you how to make a python AI.(for real!!!!!!!!!!!)
Step 1: Programing Your AI
here is how to make him. first you have to import random then add different speech categories. like greetings or questions. later you can add categories to your software b... | https://www.instructables.com/id/real-python-AI/ | CC-MAIN-2020-40 | refinedweb | 412 | 73.37 |
I am running a query that needs to exclude all previously seen items and return a certain number of items (10 in this case). The list of items is sent in a querystring parameter and are uuid4 strings separated by '&'.
With a possible very large database, I don't think it makes sense to add the exclude statement with th... | https://codedump.io/share/qdfjwh1W7Pgn/1/efficiency-of-checking-for-string-in-querystring-parameters-in-python | CC-MAIN-2016-50 | refinedweb | 316 | 62.82 |
Creating a movie website with GraphQL and React (2 Part Series)
In part one we created the GraphQL API. Now we are going to create a react application that makes use of that API.
Before we move on, just because I thought it to be cool, we could use an HTTP client, like axios, to make requests to our GraphQL server! Che... | https://practicaldev-herokuapp-com.global.ssl.fastly.net/aurelkurtula/creating-a-movie-website-with-graphql-and-react---part-two-3ahf | CC-MAIN-2020-29 | refinedweb | 2,198 | 58.08 |
Normally, when we work with Numbers, we use primitive data types such as byte, int, long, double, etc.
Example
int i = 5000; float gpa = 13.65; double mask = 0xaf;
However, in development, we come across situations where we need to use objects instead of primitive data types. In order to achieve this, Java provides wra... | http://blogs.binarytitans.com/2016/04/java-numbers-class.html | CC-MAIN-2018-13 | refinedweb | 236 | 53.51 |
Setting the "Stage" for the JavaFX SDK!
(Note: Opinions expressed in this article and its replies are the opinions of their respective authors and not those of DZone, Inc.)
Jacek Furmankiewicz replied on Thu, 2008/07/10 - 4:42am
I don't want to sound like a broken record, but could you post a sample of how to accomplis... | http://java.dzone.com/articles/setting-stage-javafx-sdk | CC-MAIN-2014-35 | refinedweb | 2,513 | 67.69 |
.
template < typename DataType, template < typename > class Storage >
class SomeClass
{
Storage<DataType> data;
};
Select all
Open in new window
This course will help prep you to earn the CompTIA Healthcare IT Technician certification showing that you have the knowledge and skills needed to succeed in installing, manag... | https://www.experts-exchange.com/questions/24561682/templated-templates.html | CC-MAIN-2018-39 | refinedweb | 2,420 | 59.84 |
A first hand look from the .NET engineering teams
In this post, we will look at the improvements that have been made for Windows Phone apps in Windows Phone 8. These improvements deliver major benefits in startup time and app responsiveness to end-users.
Today, we are happy to announce the availability of .NET for Wind... | http://blogs.msdn.com/b/dotnet/archive/2012/10/30/announcing-the-release-of-the-net-framework-for-windows-phone-8.aspx | CC-MAIN-2014-42 | refinedweb | 3,057 | 64.81 |
Fabulous Adventures In CodingEric Lippert's Erstwhile Blog Evolution Platform Developer Build (Build: 5.6.50428.7875)2012-06-05T12:55:00ZA new fabulous adventure<div class="mine"> <p>Tomorrow, the 30th of November, 2012, is the first day of my fifth decade here on Earth, and my last day at Microsoft. (*)</p> <p>I've be... | http://blogs.msdn.com/b/ericlippert/atom.aspx | CC-MAIN-2015-06 | refinedweb | 11,590 | 61.87 |
This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.
On 15 Dec 2001, Alexandre Oliva wrote: > > But I begin to see light at the end of the tunnel. Since the standard > says what constitutes an access is unspecified, implementations are > free to choose whatever makes the most sense ... | https://gcc.gnu.org/ml/gcc-patches/2001-12/msg01704.html | CC-MAIN-2020-05 | refinedweb | 733 | 71.34 |
I've been playing around with the version of the WPµ source that's used on Blogsome's servers, trying to find the exact point where the bug is that escapes apostrophes and quotes.
Basically, the XMLRPC client contacts the server, and sends the data in. According to the console, the content of the post is actually in a ... | http://schinckel.net/2005/10/16/ | crawl-002 | refinedweb | 345 | 71.24 |
If you have an interest in Data Science, Web Development, Robotics, or IoT you must learn Python. Python has become the fastest-growing programming language due to its heavy usage and wide range of applications.
For a beginner or a person from a non-tech background, learning Python is a good choice. The syntax is like ... | https://www.freecodecamp.org/news/the-ultimate-guide-to-python-from-beginner-to-intermediate-to-pro/ | CC-MAIN-2021-21 | refinedweb | 11,472 | 66.03 |
Fast Native Eclipse with GTK+ Looks 300
Mark Wielaard writes "The gcj team created a natively compiled build of the Eclipse IDE. The resulting binary starts up faster then with any traditional JVM since there is no virtual machine to initialize or slow byte code interpreter or just in time compiler involved. This means... | http://developers.slashdot.org/story/03/08/03/1555206/fast-native-eclipse-with-gtk-looks | CC-MAIN-2015-35 | refinedweb | 5,665 | 62.88 |
If you're brand new to using unittests, ...READ MORE
connect mysql database with python
import MySQLdb
db = ...READ MORE
It appears that a write() immediately following a read() on a ...READ MORE
Not sure what your desired output is, ...READ MORE
suppose you have a string with a ...READ MORE
if you google it you can f... | https://www.edureka.co/community/31590/how-to-run-django-unit-tests-on-production-database-in-python | CC-MAIN-2020-05 | refinedweb | 105 | 88.94 |
IP6(4) BSD Programmer's Manual IP6(4)
ip6 - Internet Protocol version 6 (IPv6)
#include <sys/socket.h> #include <netinet/in.h> int socket(AF_INET6, SOCK_RAW, proto); 2553), and the advanced API (defined in RFC 2292). The basic API looks very similar to the API presented in ip(4). Advanced API uses ancillary data and ca... | https://www.mirbsd.org/htman/i386/man4/ip6.htm | CC-MAIN-2015-48 | refinedweb | 774 | 55.44 |
On Fri, Apr 06, 2001 at 11:35:55AM -0400, Tom Diehl wrote: > Hi all, > On another list I am on (Big Brother if anyone cares) it has been reported > that the <time.h> header is no longer included in glibc. Was this changed No, <time.h> is obviously included in glibc, it is required by many standards. What has changed is... | https://listman.redhat.com/archives/wolverine-list/2001-April/msg00264.html | CC-MAIN-2017-34 | refinedweb | 202 | 79.16 |
After spending about an hour trying to figure out what was the problem that my threaded version of a program took more time than the single-core one, I think I rediscovered the wheel. Simply put, I can not use the clock () function to determine the "real" time I spent working in parallel. What do I mean? Example:
A pro... | http://cboard.cprogramming.com/cplusplus-programming/101085-how-measure-time-multi-core-machines-pthreads.html | CC-MAIN-2014-52 | refinedweb | 451 | 66.74 |
A Swipe View Android Example for Screen Paging
This introductory tutorial shows how to code a simple page swiping app with the
ViewPager class. It is the basis for more complex view flipping examples, such as an image swiping gallery (to replace the Android Gallery widget that was deprecated in API 16). The ViewPager c... | https://tekeye.uk/android/examples/ui/a-swipe-view-android-example | CC-MAIN-2018-26 | refinedweb | 1,347 | 58.69 |
hana 0.1dev# Bloom
## Python modules
* pyyaml
* jinaj2
* markdown
* typogrify
## Configs
### site.yaml
* generator (optional; default Bloom.plugins.generators
full class and module name of a generator. If not specified, default publisher gets used
* publisher (optional)
full class name including module to used for publ... | https://pypi.python.org/pypi/hana/0.1dev | CC-MAIN-2016-36 | refinedweb | 403 | 52.26 |
MFi Game Controller Support
I bought a SteelSeries Stratus XL game controller for my new Apple TV today. I thought it would be fun to connect to it with Pythonista, but I ran into problems very quickly.
The whole thing seemed pretty straight forward. The objc_util package is fantastic, it is the first time I read the d... | https://forum.omz-software.com/topic/2508/mfi-game-controller-support/11 | CC-MAIN-2019-09 | refinedweb | 841 | 71.85 |
Investors in Raytheon Co. (Symbol: RTN) saw new options become available today, for the August 2nd expiration. At Stock Options Channel, our YieldBoost formula has looked up and down the RTN options chain for the new August 2nd contracts and identified one put and one call contract of particular interest.
The put contr... | https://www.nasdaq.com/articles/interesting-rtn-put-and-call-options-august-2nd-2019-06-13 | CC-MAIN-2020-45 | refinedweb | 347 | 66.23 |
from pymol import cmd from pymol.cgo import * # This example shows one way to create a plane behind the current # molecule. # # Note that because PyMOL's ray-tracer doesn't currently support # perspective, the plane will not look right if the edges are # showing. Thus, it is best to zoom the image so that the edges can... | http://pymol.sourcearchive.com/documentation/1.2r1-1/cgo__plane_8py-source.html | CC-MAIN-2018-17 | refinedweb | 443 | 65.93 |
21 March 2010
By clicking Submit, you accept the Adobe Terms of Use.
All
MXML files are ordinary XML files, so you have a wide choice of development environments. You can write MXML code in a simple text editor, a dedicated XML editor, or an integrated development environment (IDE) that supports text editing. Flex supp... | http://www.adobe.com/devnet/flex/quickstarts/your_first_app.html | CC-MAIN-2016-36 | refinedweb | 307 | 56.86 |
I am having a hard time with this.
Although am new here.
I am using Codeigniter, This is the query code.
<?php $is_member = $this->db->query("SELECT user FROM chatroom_members WHERE room='$row->id'"); $check = $is_member->result_array(); if (in_array($id, $check)) { echo "Match found"; } else { echo "Match not found"; ... | https://exceptionshub.com/php-how-can-i-check-if-a-value-is-in-codeigniter-result_array.html | CC-MAIN-2021-10 | refinedweb | 323 | 58.01 |
Offline Files considers \\server.domain.com\share and \\server\share 2 independent namespaces. Win2K launches the Offline Files Wizard to walk you through the process. Even when multiple LAN connections are available to you, the Items to Synchronize dialog box doesn't specify which LAN connection you're using. Print re... | http://dlldesigner.com/offline-files/offline-files-computer-is-offline-error.php | CC-MAIN-2017-51 | refinedweb | 1,192 | 57.61 |
This page contains an archived post to the Java Answers Forum made prior to February 25, 2002.
If you wish to participate in discussions, please visit the new
Artima Forums.
look ! What's wrong with java in memory ?
Posted by harold bondz on August 17, 2001 at 2:12 PM
try the following program, it will throwa out of me... | https://www.artima.com/legacy/answers/Aug2001/messages/100.html | CC-MAIN-2018-13 | refinedweb | 119 | 72.76 |
Class
In Microsoft .NET framework all the namespaces derived from
Object. The
System.Diagnostics namespace provides the information about the process state, start the new process, etc. In this namespace allows to starts the new process, kill process, etc..
ProcessStartInfo contains the following properties.
The argumen... | http://www.codeproject.com/KB/mcpp/SelProcessInfo.aspx | crawl-002 | refinedweb | 284 | 60.51 |
I have two dataframes (df) A and B. df A has a column called 'Symbol' with non-unique stock-ticker-symbols as values in random order and the corresponding amount of buy or sell quantities in another column called 'Shares'; it is indexed by non-negative integers. df B, indexed by dates in the same date-order as df A and... | https://codedump.io/share/TG2ZUUzfnirL/1/adding-values-from-a-dataframe-a-acolumn1-by-matching-values-in-acolumn2-to-the-bcolumn1-name-of-another-dataframe-b | CC-MAIN-2018-43 | refinedweb | 254 | 69.62 |
Details
- Type:
Improvement
- Status: Open
- Priority:
Minor
- Resolution: Unresolved
- Affects Version/s: Scala 2.10.0
- Fix Version/s: Scala 2.11.0-RC2
- Component/s: Specification
- Labels:None
- Environment:
Welcome to Scala version 2.10.0-20120501-234146-b27abca41a (Java HotSpot(TM) 64-Bit Server VM, Java 1.6.0_22... | https://issues.scala-lang.org/browse/SI-5787 | CC-MAIN-2014-10 | refinedweb | 603 | 61.06 |
I still cant get the code to work. Here is what I have
I dont know if this helps but the HAT I am trying to attatch is the MCC-118 from Measurement Computing Corporation. When I try to run the code I get these error messages:
Code: Select all
from sense_hat import SenseHat from datetime import datetime sense = SenseHat... | https://www.raspberrypi.org/forums/viewtopic.php?f=31&t=248135&p=1514983 | CC-MAIN-2020-50 | refinedweb | 160 | 65.83 |
If you enter any number into a calculator and repeatedly press the cosine key, you’ll eventually get 0.73908513, assuming your calculator is in radian mode [1]. And once you get this value, taking the cosine more times won’t change the number. This is the first example of a fixed point of an iteration that many people ... | https://www.johndcook.com/blog/2020/01/18/variation-on-cosine-fixed-point/ | CC-MAIN-2022-40 | refinedweb | 513 | 67.89 |
Files changed (1)
- +69 -52src/main.cpp
src/main.cpp
- if (wmemcmp(arguments[0] + (name_len-9), L"-utf8.exe", 9) == 0 || wmemcmp(arguments[0] + (name_len-9), L"-UTF8.exe", 9) == 0) {
- //for native Win32 & full unicode support (well, cli arguments anyway), take whatever 16bit unicode windows gives (utf16le), and conver... | https://bitbucket.org/wez/atomicparsley/commits/bb43f0b13e5c9014db56a643878c1d53b3f05cae?at=0.9.4 | CC-MAIN-2014-15 | refinedweb | 323 | 64.95 |
Patent application title: EFFICIENT ELLIPTIC-CURVE CRYPTOGRAPHY BASED ON PRIMALITY OF THE ORDER OF THE ECC-GROUP
Inventors:
Erdinc Ozturk (Worcester, MA, US)
Vinodh Gopal (Westboro, MA, US)
Gilbert Wolrich (Framingham, MA, US)
Wajdi K. Feghali (Boston, MA, US)
IPC8 Class: AH04L930FI
USPC Class:
380 30
Class name: Crypt... | http://www.faqs.org/patents/app/20090003596 | CC-MAIN-2014-23 | refinedweb | 7,127 | 57.2 |
#include <CGAL/Nef_polyhedron_S2.h>
An object
s of type
Sphere_segment is a segment in the surface of a unit sphere that is part of a great circle trough the origin.
Sphere segments are represented by two sphere points \( p\) and \( q\) plus an oriented plane \( h\) that contains \( p\) and \( q\). The plane determines... | https://doc.cgal.org/4.7/Nef_S2/classCGAL_1_1Nef__polyhedron__S2_1_1Sphere__segment.html | CC-MAIN-2019-30 | refinedweb | 183 | 73.27 |
by Jeffrey Kantor (jeff at nd.edu). The latest version of this notebook is available at.
Demonstrate the use of a Bode plot for controller tuning. The notebook uses the Python Control Systems Library.
The process output $y$ is modeled as the output of a linear system described by the transfer function
$$y = G_p(s)G_v(s... | http://nbviewer.jupyter.org/github/jckantor/CBE30338/blob/master/notebooks/Controller%20Tuning%20Rules%20in%20Frequency%20Domain.ipynb | CC-MAIN-2018-05 | refinedweb | 1,107 | 52.26 |
|
| HCG | Member-Confidential!
Registration is closed.
The W3C Hypertext Coordination Group will hold a meeting in Amsterdam, The Netherlands, on 20/21 November 2006, on the architecture of the proposed W3C Backplane.
Many W3C specifications use similar architectural features, such as the use of events, the idea of ser... | http://www.w3.org/2006/11/backplane/ | CC-MAIN-2015-32 | refinedweb | 462 | 53.61 |
Little Language
One spin-off of the
UnixDesignPhilosophy
was the realization that it is easier to implement a task-specific language optimized for that task than it is to implement a general-purpose language optimized for all possible uses. The
Little Language
title was given by
JonBentley
in the Communications of the ... | http://c2.com/cgi/wiki?LittleLanguage | CC-MAIN-2015-35 | refinedweb | 3,085 | 52.49 |
Notice:
The steps involved in establishing a socket on the server side are as follows:
When a socket is created, the program has to specify the address domain and the socket type. Two processes can communicate with each other only if their sockets are of the same type and in the same domain.
There are two widely used ... | http://linuxhowtos.org/C_C++/socket.htm | CC-MAIN-2018-05 | refinedweb | 2,682 | 61.56 |
Under Tapestry, a component template is a file that contains the markup for a component.
Component templates are well formed XML documents. That means that every open tag must have a matching close tag, every attribute must be quoted, and so forth.
Note:: Component Templates
Templates are handled.). are the most common... | https://cwiki.apache.org/confluence/pages/viewpage.action?pageId=75964315 | CC-MAIN-2019-30 | refinedweb | 156 | 62.24 |
lighterhtmllighterhtml
The hyperHTML strength & experience without its complexity 🎉
faster than hyperHTMLfaster than hyperHTML
Even if sharing 90% of hyperHTML's code, this utility removed all the not strictly necessary parts from it, including:
- no
Component, no
defineand/or intents, no
connector
disconnect, and no ... | https://www.npmjs.com/package/rlighterhtml | CC-MAIN-2022-40 | refinedweb | 1,118 | 50.67 |
Write a program that makes 2 + 2 = 5
Write a program that seemingly adds the numbers 2 and 2 and outputs 5. This is an underhanded contest.
Your program cannot output any errors. Watch out for memory holes! Input is optional.
Redefining 2+2 as 5 is not very creative! Don't doublethink it, try something else.
Why is thi... | https://libstdc.com/us/q/codegolf/28786 | CC-MAIN-2021-25 | refinedweb | 5,222 | 73.78 |
CodePlexProject Hosting for Open Source Software
Hi,
I am about to port my application from PRISM to nRoute and would like to know what the best approach is for implementing a wizard. The wizard will have one view model and multiple views. I am going to use the future desktop as a base. The wizard will
not be in a popu... | http://nroute.codeplex.com/discussions/225598 | CC-MAIN-2017-17 | refinedweb | 1,832 | 52.19 |
Subject: Re: [boost] namespace boost?
From: Kim Barrett (kab.conundrums_at_[hidden])
Date: 2011-01-15 17:12:37
On Jan 15, 2011, at 4:46 PM, Dave Abrahams wrote:
>>> +1, although I think the name should be boost::ratio rather than
>> boost::ratios
>
> If it has a type called "ratio" in it, "ratios" might be a better
> c... | https://lists.boost.org/Archives/boost/2011/01/175022.php | CC-MAIN-2020-16 | refinedweb | 122 | 76.42 |
What will we cover?
In this tutorial we will show how to calculate the Stochastic Oscillator with Pandas DataFrames.
Step 1: Retrieve the Data from CSV file with Pandas DataFrames
We first need to read the data from a CSV file into a DataFrame. You can get the CSV file from here or directly from Yahoo! Finance.
Alterna... | https://www.learnpythonwithrune.org/stochastic-oscillator-with-pandas-dataframes/ | CC-MAIN-2021-25 | refinedweb | 290 | 69.79 |
Before you start writing your first Python program, you’ve got to learn the basics. We will walk you through Python syntax basics that will help as a building block for your Python career.
Throughout the article, we are going to use Python 3 to cover the topic.
To get started, let’s first write a very basic Python prog... | https://www.pythonforbeginners.com/basics/python-syntax-basics?utm_source=rss&utm_medium=rss&utm_campaign=python-syntax-basics | CC-MAIN-2021-31 | refinedweb | 1,155 | 61.77 |
from Graphics import Point
Point(0, 0) - Point(10, 10)
14.142135623731
import random import time import itertools
def exact_TSP(cities): "Generate all possible tours of the cities and choose the shortest one." return shortest(alltours(cities)) def shortest(tours): "Return the tour with the minimum total distance." retu... | https://nbviewer.ipython.org/urls/bitbucket.org/ipre/calico/raw/master/notebooks/Python/Travelling%20Salesperson.ipynb | CC-MAIN-2022-27 | refinedweb | 1,191 | 58.48 |
django-admin-sortable2 0.2.6
Generic drag-and-drop ordering for objects in the Django admin interface
======================
Generic drag-and-drop ordering for objects in the Django admin interface
------------------------------------------------------------------------
Project home:
Ask questions and report bugs on:
I... | https://pypi.python.org/pypi/django-admin-sortable2/0.2.6 | CC-MAIN-2015-11 | refinedweb | 746 | 58.18 |
Bug #12109
Exception during class load can cause partially-loaded class
Description
I noticed this bug using Rails, which lazy-loads classes (via ActiveSupport.)
Here's a minimal test case:
#!/usr/bin/env ruby begin # simulate loading a class from file at runtime eval %q{ class Foo def self.bar fail 'bar' end bar def s... | https://bugs.ruby-lang.org/issues/12109 | CC-MAIN-2017-13 | refinedweb | 352 | 64.71 |
Basic animation in Qt and Windows Phone
This article demonstrates how to create basic animation in Qt and WP7. For a more detailed explanation of animation on each framework see the topics QML Animation and Transitions and Windows Phone Animation Overview, respectively.
Windows Phone 8
Windows Phone 7.5
Symbian
Komalpa... | http://developer.nokia.com/community/wiki/Basic_animation_in_Qt_and_Windows_Phone | CC-MAIN-2014-10 | refinedweb | 280 | 50.02 |
> From: Dmitry <address@hidden> > Date: Tue, 02 Sep 2014 01:53:12 +0400 > > 1. New, empty buffer. > 2. (insert "a\tb") > 3. (posn-actual-col-row (posn-at-point)) > => (3 . 0) > > It should probably return (9 . 0). No, it should return (3 . 0), as it does. You misunderstand the contract of this function (which is not su... | https://lists.gnu.org/archive/html/bug-gnu-emacs/2014-09/msg00046.html | CC-MAIN-2021-43 | refinedweb | 453 | 61.56 |
Gleb Albovsky5,341 Points
Opposite Number Game problem
I was trying to except string and numbers > 10, but got an error:
import random def game(): try: secret_num = int(input("Please enter a number from 1 to 10: ")) except ValueError: print("{} is now a number!".format(secret_num)) except secret_num > 11: print("{} gre... | https://teamtreehouse.com/community/opposite-number-game-problem | CC-MAIN-2020-29 | refinedweb | 519 | 61.22 |
Have a look at section B.1.3 in the VXL book for examples of how to set up your CMakeLists.txt file. You are missing this line:
FIND_PACKAGE(VXL)
Fred
From: Hao Wu [mailto:haowu128@gmail.com]
Sent: Friday, July 19, 2013 12:17 PM
To: vxl-users@lists.sourceforge.net
Subject: [Vxl-users] HelloWorld
Hi,
I am new to VXL and... | https://sourceforge.net/p/vxl/mailman/attachment/4455E9A5C5F75C43947FEC05DE1BCAE223264C35@ALPMBAPA01.e2k.ad.ge.com/1/ | CC-MAIN-2016-50 | refinedweb | 224 | 68.97 |
[SRU] SDL_syswm.h can't find mir_toolkit/mir_client_library.h
Bug Description
I believe something is wrong with MIR support. A daily build of openmw just failed with:
/usr/include/
#include <mir_toolkit/
In SDL_syswm.h:
#if defined(
#include <mir_toolkit/
#endif
the file is:
/usr/include/
http://
openmw buildlog:
https... | https://bugs.launchpad.net/ubuntu/+source/libsdl2/+bug/1306629 | CC-MAIN-2022-05 | refinedweb | 306 | 56.45 |
NRF24+ Module: Spontaneous 5A heating mode?
This is a phenomenon that I've had two or three times already:
- NRF24+ Module from itead.com
- PCB from @sundberg84 Easy PCB because it's awesome
Built a new sensor, works perfectly. Put the sensor into a housing, let it run for a few (last time: less than one) hours and the... | https://forum.mysensors.org/topic/11124/nrf24-module-spontaneous-5a-heating-mode | CC-MAIN-2022-33 | refinedweb | 1,697 | 65.73 |
All of dW
-----------------
AIX and UNIX
Information Mgmt
Lotus
Rational
Tivoli
WebSphere
-----------------
Java technology
Linux
Open source
SOA & Web services
Web development
XML
-----------------
dW forums
-----------------
alphaWorks
-----------------
All of IBM
What open source development is really like
PDF - A41... | http://www.ibm.com/developerworks/java/library/os-ag-renegade12/ | crawl-002 | refinedweb | 2,536 | 62.88 |
Tools for talking to the Tessitura API
Project description
Tessitura
Tools for talking to the Tessitura API from Python. This is all just wet paint at the moment.
Requires Python 3.6+
To install just do:
$ pip install tessitura
To use see the following example:
import tessitura import pprint endpoint = "" credentials =... | https://pypi.org/project/tessitura/0.0.4/ | CC-MAIN-2021-10 | refinedweb | 188 | 56.55 |
Wikipedia's Wales Reverses Decision on Problem Admin 241."
But more importantly... )
Wait and see if he actually does resign, first. By the way, I love the fact that his WP user page [wikipedia.org] is headed "stamus contra malum" -- "we stand against evil." Suuuuure you do, Essjay.
Jimbo's change of mind is a good thi... | https://slashdot.org/story/07/03/03/233224/wikipedias-wales-reverses-decision-on-problem-admin?sdsrc=prev | CC-MAIN-2017-04 | refinedweb | 1,547 | 62.98 |
Hi all
I'm a real newbie to c++ and have the following issue that I was hoping you guys could solve for me.
I want to use strings end up with error :-( Heres my code
#include <iostream.h>
#include <string.h>
int main(int argc, char* argv[])
{
int fred;
string jas;
fred = 0;
cout << "In main\n" << fred;
return 0;
}
When... | https://cboard.cprogramming.com/cplusplus-programming/52837-simple-string-query.html | CC-MAIN-2017-51 | refinedweb | 157 | 80.21 |
Okay, so if you're programming in C++, and you don't know what Precompiled Headers are, chances are that compiling a project takes you something like 4 seconds, and on bigger projects it can even take 20 seconds, and much more just for a simple build.
Obviously, this gets very frustrating.
So if this is the case, this ... | http://www.dreamincode.net/forums/topic/281665-precompiled-headers-fast-build/ | CC-MAIN-2016-30 | refinedweb | 571 | 77.53 |
Marcus
OO Game Design
#1 Members - Reputation: 122
Posted 26 November 1999 - 07:15 PM
Marcus
#2 Members - Reputation: 122
Posted 23 November 1999 - 10:25 AM
You should just pass the right parameters (ie, the surface) to the function which draws the sprite.....
That's what I would do
------------------
Dance with me....... | http://www.gamedev.net/topic/4194-oo-game-design/ | CC-MAIN-2014-42 | refinedweb | 488 | 66.13 |
Standards, Environments, and Macros
- profile within a function
#define MARK #include <prof.h> void MARK(name);
MARK introduces a mark called name that is treated the same as a function entry point. Execution of the mark adds to a counter for that mark, and program-counter time spent is accounted to the immediately pre... | http://docs.oracle.com/cd/E18752_01/html/816-5175/prof-5.html | CC-MAIN-2013-48 | refinedweb | 224 | 72.76 |
C++ File Input/Output
Reliability
When you use C++-style I/O, the system automatically detects the type of the variable and performs the approbate conversion. It's impossible to get the types wrong.
With C-style I/O, it's easy to get the arguments to a std::printf mixed up, resulting in very strange results when you ru... | https://www.developer.com/net/cplus/article.php/10919_2119781_9/C-File-InputOutput.htm | CC-MAIN-2017-51 | refinedweb | 1,150 | 71.14 |
int wait(statusp) union wait *statusp;
int wait((union wait *)0)
#include <sys/time.h> #include <sys/resource.h>
int wait3(statusp, options, rusage) union wait *statusp; int options; struct rusage *rusage;
int wait4(pid, statusp, options, rusage) int pid; union wait *statusp; int options; struct rusage *rusage;
WIFSTOP... | http://www.vorlesungen.uni-osnabrueck.de/informatik/shellscript/Html/Man/_Man_NeXT_html/html2/wait.2.html | CC-MAIN-2013-20 | refinedweb | 369 | 62.07 |
06 February 2012 05:13 [Source: ICIS news]
NEW DELHI (ICIS)--Indian polystyrene (PS) demand is likely to decline by 3.5% in 2011-12 on sluggish market conditions, an industry source said over the weekend.
A weak appliances segment affected demand, which is likely to settle at 250,000 tonnes for the year ending 31 March... | http://www.icis.com/Articles/2012/02/06/9529522/india-ps-demand-may-decline-by-3.5-in-2011-2012-industry.html | CC-MAIN-2015-11 | refinedweb | 174 | 61.26 |
(preventing race condition):
// java program to demonstrate // use of semaphores Locks import java.util.concurrent.*; //A shared resource/class. class Shared { static int count = 0; } class MyThread extends Thread { Semaphore sem; String threadName; public MyThread(Semaphore sem, String threadName) { super(threadName);... | https://www.geeksforgeeks.org/semaphore-in-java/ | CC-MAIN-2018-09 | refinedweb | 263 | 52.76 |
create wireframe outline corners around bounding box More...
#include <vtkOutlineCornerSource.h>
create wireframe outline corners around bounding box
vtkOutlineCornerSource creates wireframe outline corners around a user-specified bounding box.
Definition at line 29 of file vtkOutlineCornerSource.h.
Definition at line ... | https://vtk.org/doc/nightly/html/classvtkOutlineCornerSource.html | CC-MAIN-2020-34 | refinedweb | 173 | 53.68 |
I have managed to solve the problem putting
LoadModule modules/mod_python.so
as the last line of all the LoadModule commands and
AddModule mod_python.c
as the last line of all the AddModule commands.
This helps to kill the problem which I had previously.
Anyway, my test CGI script is very simple.
-- Start of script --
... | http://www.modpython.org/pipermail/mod_python/2001-November/012260.html | crawl-002 | refinedweb | 256 | 77.03 |
You'll need to convert from storage-conf.xml to cassandra.yaml and
import your schema at some point. NEWS.txt outlines the general
approach (see Upgrading).
Gary.
On Tue, Nov 2, 2010 at 13:31, Erik Onnen <eonnen@gmail.com> wrote:
> Hello,
> We're planning an upgrade from 0.6.7 (after it's released) to 0.7.0 (after
> it... | http://mail-archives.apache.org/mod_mbox/cassandra-user/201011.mbox/%3CAANLkTi=5O+mDU+CeuBs9kfX-RYYpNJE0hr2OM31tKAry@mail.gmail.com%3E | CC-MAIN-2015-35 | refinedweb | 215 | 67.45 |
Agenda is to resolve Issues raised during last call.
JT Covered in WCAG already.
PJ This is more important when we are dealing with a user agent.
JT Quite a few WYSIWYG tools move the content around through positioning tricks that re-order the presentation without reordering the document source. But this is already cov... | http://www.w3.org/WAI/AI/f2f3-minutes1.html | CC-MAIN-2016-44 | refinedweb | 8,350 | 72.97 |
Certain methods cannot be executed by the JVM alone. JVM takes the help of the underlying operating system to do the job. Such methods are known as native methods. For example, for all the file operations and thread operations, the JVM should communicate with the operating system and with the operating system cooperati... | https://way2java.com/exceptions/interruptedexception/ | CC-MAIN-2022-33 | refinedweb | 546 | 50.63 |
Feature flags for Wagtail sites
Project description
Wagtail-Flags
Feature flags allow you to toggle functionality based on configurable conditions.
Wagtail-Flags adds a Wagtail admin UI and Wagtail Site-based condition on top of Django-Flags. For a more complete overview of feature flags and how to use them, please see... | https://pypi.org/project/wagtail-flags/ | CC-MAIN-2021-04 | refinedweb | 459 | 50.43 |
POPEN(3P) POSIX Programmer's Manual POPEN(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.
popen — initiate pipe streams to o... | http://man7.org/linux/man-pages/man3/popen.3p.html | CC-MAIN-2017-17 | refinedweb | 353 | 65.22 |
Buildroot:DeveloperDaysELCE2018
Contents
- 1 Buildroot Developers Meeting, 20-21 October 2018, Edinburgh
- 1.1 Location and date
- 1.2 Sponsors
- 1.3 Participants
- 1.4 Meeting report
- 1.4.1 Top-level parallel build
- 1.4.2 Reproducible builds
- 1.4.3 More testing
- 1.4.4 Hardening wrapper migration
- 1.4.5 Link-Time ... | https://www.elinux.org/index.php?title=Buildroot:DeveloperDaysELCE2018&oldid=479136&printable=yes | CC-MAIN-2021-10 | refinedweb | 956 | 55.54 |
Today at MIX11, Brad Olenick announced RIA/JS, a jQuery client for WCF RIA Services. This is an early preview that we want to get your feedback on. Long before WCF RIA Services V1.0 was released, we started talking RIA Services support for AJAX; in fact, you can see the item here on the RIA Services Wish List (11th ran... | http://jeffhandley.com/archive/2011/04/13/RIAJS-jQuery-client-for-WCF-RIA-Services.aspx | CC-MAIN-2017-13 | refinedweb | 1,635 | 61.02 |
After yesterday, I am down to two items on my TODO list for 1.1 of couch_docs:
I spend a lot of time on the
!jsonmacro tonight, making decent progress on it, before deciding to abandon it.
It was hard to give up because of the time invested in it. At first I tried class level methods to locate the source file and to re... | https://japhr.blogspot.com/2010/03/my-chain-next-after-yesterday-i-am-down.html | CC-MAIN-2018-05 | refinedweb | 718 | 74.9 |
> at91rm9200_test.rar > inflate.h
#define DEBG(x) #define DEBG1(x) /* inflate.c -- Not copyrighted 1992 by Mark Adler version c10p1, 10 January 1993 */ /* * Adapted for booting Linux by Hannu Savolainen 1993 * based on gzip-1.0.3 */ /* Inflate deflated (PKZIP's method 8 compressed) data. The compression method searche... | http://read.pudn.com/downloads100/sourcecode/embed/409826/at91rm9200_test/inc/inflate.h__.htm | crawl-002 | refinedweb | 4,866 | 61.9 |
I'm just trying to support the save_and_sleep() support into u-boot
for an au1100 based board.
Into u-boot I added the following code:
Index: cpu/mips/start.S
===================================================================
RCS file: /home/develop/cvs_private/uboot-mips-exadron/cpu/mips/start.S,v
retrieving revision... | https://www.linux-mips.org/archives/linux-mips/2005-12/msg00107.html | CC-MAIN-2017-04 | refinedweb | 361 | 74.08 |
I think the answer crucially depends on what you mean by the word "function".
It could be a Python or Cython function, either defined in an interactive session or in a module. It could be a symbolic expression, or perhaps could be a polynomial, which are sometimes mistaken for a function.
Symbolic function is easy to p... | https://ask.sagemath.org/answers/13356/revisions/ | CC-MAIN-2019-39 | refinedweb | 351 | 56.96 |
The Google URL Shortener at goo.gl is a service that takes long URLs and squeezes them into fewer characters to make a link that is easier to share, tweet, or email.
Steps to integrate with goo.gl :
Step #1 : Register App with Google
Register your App with Google through the API Console. When you create your applicatio... | https://blog.knoldus.com/2013/02/02/how-to-use-goo-gl-api-to-generate-tiny-url-in-play-framework/ | CC-MAIN-2017-43 | refinedweb | 376 | 65.12 |
Python Programming, news on the Voidspace Python Projects and all things techie.
Gentoo
Note
I've had a very pleasant email from the gentleman who added this package to gentoo portage.
It's now updated to the current version.
Like this post? Digg it or Del.icio.us it.
Posted by Fuzzyman on 2005-09-16 11:52:44 | |
On th... | http://www.voidspace.org.uk/python/weblog/arch_d7_2005_09_10.shtml | CC-MAIN-2016-50 | refinedweb | 1,004 | 67.04 |
IWP54 | Windows Phone Data Binding and the Magic of XAML
- Posted: May 02, 2013 at 1:37 PM
- 32,586 Views
- 2 Comments
![if gt IE 8]> <![endif]>
Something went wrong getting user information from Channel 9
Something went wrong getting user information from MSDN
Something went wrong getting the Visual Studio Achievement... | https://channel9.msdn.com/Shows/Inside+Windows+Phone/IWP54--Windows-Phone-Data-Binding-and-the-Magic-of-XAML?format=auto | CC-MAIN-2015-32 | refinedweb | 1,156 | 51.38 |
In the blog, Redacting Personal Data from Connected Cars Using Amazon Rekognition, we demonstrated how you can redact personal data such as human faces using Amazon Rekognition. Traversing the video, frame by frame, and identifying personal information in each frame takes time. This solution is great for small video cl... | https://awsfeed.com/whats-new/architecture/field-notes-speed-up-redaction-of-connected-car-data-by-multiprocessing-video-footage-with-amazon-rekognition | CC-MAIN-2021-17 | refinedweb | 1,610 | 50.23 |
Context View
The context node is valid only for XSLT debugging sessions and is a source node corresponding to the XSL expression that is evaluated. It is also called the context of execution. The context node implicitly changes as the processor hits various steps (at the point where XPath expressions are evaluated). Th... | http://www.oxygenxml.com/doc/versions/19.1/ug-editorEclipse/topics/debug-context-node-view.html | CC-MAIN-2018-05 | refinedweb | 179 | 73.37 |
Steven D'Aprano wrote: > I defined a nested function: > > def foo(): > def bar(): > return "bar" > return "foo " + bar() > > which works. Knowing how Python loves namespaces, I thought I could do > this: > >>>> foo.bar() > Traceback (most recent call last): > File "<stdin>", line 1, in ? > AttributeError: 'function' ob... | https://mail.python.org/pipermail/python-list/2006-October/397968.html | CC-MAIN-2016-36 | refinedweb | 119 | 75.5 |
#include <qgsattributeform.h>
Definition at line 32 of file qgsattributeform.h.
Form modes.
Definition at line 39 of file qgsattributeform.h.
Definition at line 48 of file qgsattributeform.cpp.
Definition at line 80 of file qgsattributeform.cpp.
Definition at line 187 of file qgsattributeform.h.
Takes ownership.
Defini... | http://qgis.org/api/classQgsAttributeForm.html | CC-MAIN-2016-18 | refinedweb | 436 | 62.34 |
Marshmallow schema basics
In this post we’re going to cover the basics of working with Marshmallow.
Marshmallow is a Python library which enables us to easily sanitize and validate content according to a schema.
Schemas are useful when we want to sift through user provided data en-masse as opposed to dealing with each ... | http://wooptoo.com/blog/marshmallow-schema/ | CC-MAIN-2018-47 | refinedweb | 285 | 68.06 |
(From a novice's point of view)
The other day I was thinking about how a typical "passwd" command works in a LINUX OS. For example, when we type in "passwd", a prompt appears letting us type in our password, and then it saves that password wrapping up with cryptographic algorithms and then saves in /etc/shadow. So I ca... | https://superuser.com/questions/1525533/how-does-a-passwd-and-adduser-command-actually-work-on-a-linux-os | CC-MAIN-2020-16 | refinedweb | 580 | 79.8 |
Common issues when running Dapr
I don’t see the Dapr sidecar injected to my pod
There could be several reasons to why a sidecar will not be injected into a pod. First, check your deployment or pod YAML file, and check that you have the following annotations in the right place:
annotations: dapr.io/enabled: "true" dapr.... | https://docs.dapr.io/operations/troubleshooting/common_issues/ | CC-MAIN-2022-05 | refinedweb | 1,581 | 61.16 |
Created on 2018-06-21 16:00 by zezollo, last changed 2018-06-25 10:50 by ncoghlan.
Expected behaviour:
When unset, the locale in use is `C` (as stated in python documentation) and `locale.getlocale()` returns `(None, None)` on Linux with python2.7 or on Windows with python2.7 and python 3.6 (at least):
$ python2
Python... | https://bugs.python.org/issue33934 | CC-MAIN-2022-05 | refinedweb | 1,710 | 60.21 |
Interest rates can be thought of as the price of borrowing to purchase capital (financial resources). It follows, then, that firms should be able to use this price of capital to determine whether a particular project is worth pursuing. The logic is simple: a project is worth pursuing if it provides a higher return (gai... | https://www.coursehero.com/sg/microeconomics/the-present-value-formula/ | CC-MAIN-2021-21 | refinedweb | 248 | 59.23 |
On Tue, Aug 14, 2012 at 3:13 PM, Charles R Harris <charlesr.harris at gmail.com> wrote: > > > On Tue, Aug 14, 2012 at 7:47 AM, Aron Ahmadia <aron at ahmadia.net> wrote: >> >> Hi all, >> >> Installing numpy 1.6.2 against a Python interpreter built with the >> --without threads currently fails due to missing references t... | https://mail.python.org/pipermail/numpy-discussion/2012-August/063631.html | CC-MAIN-2021-39 | refinedweb | 301 | 69.92 |
Code Patterns & Style Guides
Living Style Guide documentation on the web is a difficult problem, gaining a lot of attention in the last few years. Let’s take an in-depth look at one way to store patterns directly in Sass, and generate documentation automatically.
I’ve often been asked how we sell style guides to our cl... | https://www.oddbird.net/2017/03/07/pattern-making/ | CC-MAIN-2020-10 | refinedweb | 1,896 | 52.8 |
Anyone familiar with C++ knows at least one way of generating pseudo-random numbers and that is srand( time(0) ) coupled with one or more consecutive calls to rand() % someValue. In this tutorial, however, you will see a newer way to deal with pseudo-random numbers in C++11.
Things You Need To Know Before Starting
- Wh... | http://cdn.dreamincode.net/forums/topic/379290-generating-random-numbers-the-c-way/ | CC-MAIN-2018-05 | refinedweb | 1,039 | 54.63 |
A simple example of JNI
By Ye Julia Li on Nov 28, 2007
Java Native Interface (JNI) is a standard programming interface for writing Java native methods and embedding the JVM into native applications. Simply, it is a Java technology with which a Java application can call a method written with such as C, C++ and assembly.... | https://blogs.oracle.com/moonocean/tags/junior | CC-MAIN-2016-22 | refinedweb | 471 | 60.41 |
Up to [cvs.NetBSD.org] / pkgsrc / www / davical
Request diff between arbitrary revisions
Default branch: MAIN
Revision 1.36 / (download) - annotate - [select for diffs], Fri May 10 12:25:04 2019 UTC (9 days, 1 hour ago) by hauke
Branch: MAIN
CVS Tags: HEAD
Changes since 1.35: +7 -7 lines
Diff to previous 1.35 (colored)... | http://cvsweb.netbsd.org/bsdweb.cgi/pkgsrc/www/davical/Makefile?r1=1.4 | CC-MAIN-2019-22 | refinedweb | 3,468 | 70.29 |
It atomically sets the flag to true and returns its previous value.
Following is the declaration for std::atomic_flag_test_and_set.
bool atomic_flag_test_and_set( std::atomic_flag* p );
bool atomic_flag_test_and_set( volatile std::atomic_flag* p );
Following is the declaration for std::atomic_flag_test_and_set_explicit... | https://www.tutorialspoint.com/cpp_standard_library/cpp_atomic_flag_test_and_set.htm | CC-MAIN-2020-10 | refinedweb | 216 | 54.02 |
This program identifies 'priority' e-mails in a dataset of e-mails. E-mail $i$ is a priority e-mail if Rank($i$) $\ge$ threshold, where Rank($i$) is the product of 5 weighting factors. So, if:
$\prod_{k=1}^{5}\omega_k(i) \ge \textrm{threshold}$
then e-mail $i$ is a priority message. The weighting functions $\omega_k(i)... | http://nbviewer.jupyter.org/github/carljv/Will_it_Python/blob/master/MLFH/ch4/ch4.ipynb | CC-MAIN-2018-51 | refinedweb | 2,680 | 52.26 |
Ambiguity
I believe nearly every developer eventually creates their own metaphor for programming. Some are rather tame, such as building bridges between users and systems. Others can be quite aggressive. One of my coworkers will often say hes spent his day mangling bits when things have not gone particularly well. As f... | https://weblogs.java.net/blog/castelaz/archive/2004/08/ambiguity.html | CC-MAIN-2015-22 | refinedweb | 622 | 51.58 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.