text stringlengths 20 1.01M | url stringlengths 14 1.25k | dump stringlengths 9 15 ⌀ | lang stringclasses 4
values | source stringclasses 4
values |
|---|---|---|---|---|
A Jekyll plugin for automatically resizing images. Fully configurable and unopinionated, jekyll-responsive-image allows you to display responsive images however you like: using
<img srcset>,
<picture>, or Imager.js.
This plugin can be installed in three steps:
Either add
jekyll-responsive-image to your Gemfile, or run ... | https://awesomeopensource.com/project/wildlyinaccurate/jekyll-responsive-image | CC-MAIN-2021-25 | en | refinedweb |
This post is an introduction into how operators are implemented in Cats and has been originally published in August 2015. Some more details can be found in the previous post.
One of the simplest and most recognizable type classes is the semigroup. This type class abstracts over the ability to combine values of a certai... | https://typelevel.org/blog/2015/08/07/symbolic-operators.html | CC-MAIN-2019-13 | en | refinedweb |
Fasta files typically contain invalid characters such as "NNNN", how can I remove those and then make sure I still have e.g. a 60 nucleotides per line?
I feel like there's probably a package that does this already.
Fasta files typically contain invalid characters such as "NNNN", how can I remove those and then make sur... | https://www.biostars.org/p/48215/ | CC-MAIN-2019-13 | en | refinedweb |
PHP benchmarking
While.
<?php<br ?> //Initial memory $memory1 = xdebug_memory_usage( ); $data = array(); for ($i=0; $i\<100; $i++) { for ($j =0; $j\<=1000; $j++) { $data[$i][md5($j)] = microtime(); } } $array = xdebug_memory_usage() -$memory1; $time1 = microtime(TRUE); for ($i=0; $i\<100; $i++) { for ($j =0; $j\<=1000;... | https://rolisz.ro/2011/04/23/php-benchmarking/ | CC-MAIN-2019-13 | en | refinedweb |
Opened 11 years ago
Closed 9 years ago
#12794 closed defect (fixed)
MacPorts should warn of old Xcode versions
Description
We have the problem that from time to time, although we say in InstallingMacPorts that people must install the latest Xcode, they don't, and they end up using an older Xcode. Then they run into wei... | https://trac.macports.org/ticket/12794 | CC-MAIN-2019-13 | en | refinedweb |
tag:gamedevelopment.tutsplus.com,2005:/categories/shaders Envato Tuts+ Game Development - Shaders 2018-06-25T13:33:43Z tag:gamedevelopment.tutsplus.com,2005:PostPresenter/cms-30487 Creating Toon Water for the Web: Part 3 <p>Welcome back to this three-part series on creating stylized toon water in PlayCanvas using verte... | https://gamedevelopment.tutsplus.com/categories/shaders.atom | CC-MAIN-2019-13 | en | refinedweb |
UnityEvent issue with multiple copies of same script.
I'm getting a weird issue with serialized UnityEvents when two (or more) instances of the same scripts are on the same GameObject. The "+" and "-" controls in the inspector don't work for the first instance of the script, but on the second (or last) instance, the co... | https://bitbucket.org/sirenix/odin-inspector/issues/294/unityevent-issue-with-multiple-copies-of | CC-MAIN-2019-13 | en | refinedweb |
Accesses information about mapped memory in another process. More...
#include "util/linux/memory_map.h"
Accesses information about mapped memory in another process.
The target process must be stopped to guarantee correct mappings. If the target process is not stopped, mappings may be invalid after the return from Initi... | https://crashpad.chromium.org/doxygen/classcrashpad_1_1MemoryMap.html | CC-MAIN-2019-13 | en | refinedweb |
LISA is a highly generic multi-revision graph database and computation engine designed for analyzing software artifacts that exist in many revisions of a project.
It avoids redundancy when analyzing multiple revisions by loading artifacts from different revisions into a shared representation where only the smallest del... | https://bitbucket.org/sealuzh/lisa/src | CC-MAIN-2019-13 | en | refinedweb |
Archive
Getting Started With #SmtpJs & #React
Getting Started With SmtpJs & React
Introduction
My name is Alec Dilanchian and I am an avid programmer who enjoys working on side projects and creating cool tools. These projects all come to life on Twitch, a live streaming platform where I stream myself programming projec... | https://blog.dotnetframework.org/2018/05/ | CC-MAIN-2019-13 | en | refinedweb |
The coding of a Web Service with Axis doesn’t look that much different than a SOAP Web Service shown in Chapter 7. The main differences are the import statements and how you compile the service for deployment. The following examples show an Axis Web Service and its XML deployment descriptor.
Consider the following code... | https://flylib.com/books/en/1.231.1.58/1/ | CC-MAIN-2019-13 | en | refinedweb |
Latvian.
no example available in JavaScript
using UnityEngine;
public class Example : MonoBehaviour { void Start() { //This checks if your computer's operating system is in the Latvian language if (Application.systemLanguage == SystemLanguage.Latvian) { //Outputs into console that the system is Latvian Debug.Log("This... | https://docs.unity3d.com/ScriptReference/SystemLanguage.Latvian.html | CC-MAIN-2017-51 | en | refinedweb |
Allen Huang wrote:
Advertising
I made a login_form that allows user to input username and password and sends them to a login dtml method that checks username and password with a zobject that contain this attributes and redirect the users to a status sheet. How do I keep the username in the namespace so I can use it aga... | https://www.mail-archive.com/zope-web@zope.org/msg00008.html | CC-MAIN-2017-51 | en | refinedweb |
On Mon, 19 Feb 2001, Itai Tavor wrote: > You posted your questions 3 days ago, so maybe you found a solution > by now... but this might still be useful to you. I just unwrapped the visitor pattern into an psuedo-case statement <grin>. > - I'm passing _ explicitly instead of relying on binding. I vaguely > recall readin... | https://www.mail-archive.com/zope-dev@zope.org/msg04945.html | CC-MAIN-2017-51 | en | refinedweb |
01 June 2012 04:01 [Source: ICIS news]
MELBOURNE (ICIS)--?xml:namespace>
“The plants were restarted early this week,” the official added.
Optimal’s butac plant has a nameplate capacity of 50,000 tonnes/year, while its NBA/IBA plant has a nameplate capacity of 140,000 tonnes/year.
The plants were shut on 3 May to underg... | http://www.icis.com/Articles/2012/06/01/9566113/malaysias-optimal-chemicals-restarts-butac-nbaiba-plants.html | CC-MAIN-2014-10 | en | refinedweb |
*UPDATE: Per sean chambers, this is an example of the adapter pattern
I recently ran into an issue where I needed to implement a simple email service to send users a randomly generated PIN when they are first entered into the system. To accomplish this I decided to just use the System.Net.Mail implementation. To create... | http://lostechies.com/seanbiefeld/2009/04/11/testing-compiled-classes-which-don-t-implement-an-interface/ | CC-MAIN-2014-10 | en | refinedweb |
wcspbrk - scan wide-character string for a wide-character code
#include <wchar.h> wchar_t *wcspbrk(const wchar_t *ws1, const wchar_t *ws2);
The wcspbrk() function locates the first occurrence in the wide-character string pointed to by ws1 of any wide-character code from the wide-character string pointed to by ws2.
Upon... | http://pubs.opengroup.org/onlinepubs/007908775/xsh/wcspbrk.html | CC-MAIN-2014-10 | en | refinedweb |
DZone Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world
Plotting Graph On Pys60
Here's the first step towards porting matplotlib to pys60. I try to replicate some easy examples in <a href=>matplotli... | http://www.dzone.com/snippets/plotting-graph-pys60 | CC-MAIN-2014-10 | en | refinedweb |
Direct3D Rendering Cookbook — Save 50%
50 practical recipes to guide you through the advanced rendering techniques in Direct3D to help bring your 3D graphics project to life with this book and ebook.
(For more resources related to this topic, see here.)
Preparing the swap chain for a Windows Store app
Getting ready
To ... | http://www.packtpub.com/article/integrating-direct3d-xaml-windows81 | CC-MAIN-2014-10 | en | refinedweb |
Created on 2013-09-22 13:22 by grahamd, last changed 2013-10-30 06:36 by grahamd.
The classmethod decorator when applied to a function of a class, does not honour the descriptor binding protocol for whatever it wraps. This means it will fail when applied around a function which has a decorator already applied to it and... | http://bugs.python.org/issue19072 | CC-MAIN-2014-10 | en | refinedweb |
12 January 2012 16:23 [Source: ICIS news]
By Joe Kamalick
WASHINGTON (ICIS)--The US Supreme Court this week took up a case whose outcome could have broad implications – and even pose a major setback – for federal environmental law enforcement.
In Sacketts v. Environmental Protection Agency (Case No. 10-1062), the ?xml:... | http://www.icis.com/Articles/2012/01/12/9522894/insight-us-high-court-case-could-muzzle-environmental-agency.html | CC-MAIN-2014-10 | en | refinedweb |
— This is a first draft of a document that might have become an interest group note. Up until now, however, the document never got the sufficient momentum to be published, so it should be considered even less than a draft. It is kept here mainly for historical reasons...—
Copyright © 2007 W3C ® describes how to define... | http://www.w3.org/2007/02/turtle/primer/ | CC-MAIN-2014-10 | en | refinedweb |
{% comment %}
Below you'll find the steps to create a Django project from scratch, using the Maykin Media starting template. The <project_root> is typically placed in your home directory or /srv/sites/. It can be named anything but typical examples are corporate, website or more specific like acme-website:
$ mkdir <pro... | https://bitbucket.org/maykinmedia/default-project | CC-MAIN-2014-10 | en | refinedweb |
JavaFX - Application Frameworks, Where Art thou??
Stop looking - there is help out there. A small project called eFX (looking for a better name - suggestions anyone?) tries to put together at least some building blocks, to help create complex JavaFX applications, things like:
- A simple docking framework (no drag and d... | https://weblogs.java.net/blog/sven/archive/2013/03/24/javafx-application-frameworks-where-art-thou | CC-MAIN-2014-10 | en | refinedweb |
Helper class describing a trigger pattern in the trigger string. More...
#include <AliEMCalTriggerAnaTriggerClass.h>
Helper class describing a trigger pattern in the trigger string.
A trigger patter has to information:
Definition at line 43 of file AliEMCalTriggerAnaTriggerClass.h.
Dummy constructor
Definition at line ... | http://alidoc.cern.ch/AliPhysics/vAN-20151214/class_e_m_cal_trigger_pt_analysis_1_1_ali_e_m_cal_trigger_ana_pattern_object.html | CC-MAIN-2020-16 | en | refinedweb |
In this article we will be discussing about communicating between child and parent component in Angular. $scope and $rootScope concepts are removed in Angular, and this is one of the reason for improved performance in Angular application.
1. Share data from parent to child component.
2. Share data from child to parent ... | http://www.angulartutorial.net/2017/10/communicate-with-parent-and-child.html | CC-MAIN-2020-16 | en | refinedweb |
Back to: ASP.NET MVC Tutorial For Beginners and Professionals
Business Objects as Model in ASP.NET MVC
In this article and a few upcoming articles, I am going to discuss Business Objects as Model in ASP.NET MVC application. Please read our previous three articles where we discussed how to use Entity Framework and use e... | https://dotnettutorials.net/lesson/business-objects-as-model-mvc/ | CC-MAIN-2020-16 | en | refinedweb |
Hi,
I am embarrassed to admit the photo geotagging plugin has me baffled again. I have a gps trace and a batch of photos I took during a trip I made this summer. Ordinarily, correlating the two is a simple task and I have used this tool and method countless times in the past few years. However, when I move operations t... | https://help.openstreetmap.org/questions/59479/timestamp-synchronization-problem-with-the-photo-geotagging-plugin | CC-MAIN-2020-16 | en | refinedweb |
Angular 5: Making API calls with the HttpClient service
Note to readers, May 18, 2018: the code in this post is built for Angular 5.x. The same techniques will work with Angular 6 as long as you use the rxjs-compat Node package. To see how to upgrade this code for full, native RxJS compatibility, see this post.
Angular... | https://www.metaltoad.com/blog/angular-5-making-api-calls-httpclient-service | CC-MAIN-2020-16 | en | refinedweb |
In previous versions of MVC, you would just create a custom membership provider, override a few methods, register it in the web.config and you were off. Identity 2.0 changed all of that.
In this post I will try and outline what steps I took to create an in memory user store with very limited functionality. Bear in mind... | https://www.shamirc.com/2014/05/ | CC-MAIN-2020-16 | en | refinedweb |
I finally figured out how to make it work. I had first built VBox OSE without hardening, but I was getting an error "kernel driver not accessible". Then I trid to build with hardening, but it didn't allow me to use my own files and I didn't want to modify such an integral part of VBox. I rebuilt it without hardening ag... | https://www.virtualbox.org/pipermail/vbox-dev/2010-June/008463.html | CC-MAIN-2020-16 | en | refinedweb |
Asm.js, universal compatibility to applications
This subset of JavaScript defined by Mozilla gives apps and games nearly the speed of native code.
It was thought for a long time in the interest of a virtual machine in the browser to compile different languages and make them work on all operating systems. This idea took... | https://www.scriptol.com/programming/asm-js.php | CC-MAIN-2020-16 | en | refinedweb |
The presence of whitespace in the DOM can cause layout problems and make manipulation of the content tree difficult in unexpected ways, depending on where it is located. This article explores when difficulties can occur, and looks at what can be done to mitigate resulting problems.
What is whitespace?
Whitespace is any... | https://developer.mozilla.org/en-US/docs/Web/API/Document_Object_Model/Whitespace | CC-MAIN-2020-16 | en | refinedweb |
I had a need to have the ability to select a folder from within the site's media library. Not a file. A folder. The idea behind this requirement was to allow the site administrator to upload a bunch of images to a single directory in the media library, so that the contents (in this case images) could be output to the p... | https://www.surinderbhomra.com/Blog/2013/12 | CC-MAIN-2020-16 | en | refinedweb |
Apparently :)
In ASP.NET when you building a server control that includes an HTTP handler you have this problem - the HTTP handler has to be registered in Web.config. That means it's not enough that your customer developer drops control on her Web form and sets up its properties. One more step is required - manual edit... | http://www.tkachenko.com/blog/archives/2007/03/ | CC-MAIN-2018-05 | en | refinedweb |
CompareInfo Class
Implements a set of methods for culture-sensitive string comparisons.
Assembly: mscorlib (in mscorlib.dll)
System.Globalization::CompareInfo
Conventions for comparing and sorting data vary from culture to culture. For example, may be case-sensitive or case-insensitive, and casing rules may also differ... | https://msdn.microsoft.com/en-us/library/system.globalization.compareinfo.aspx?cs-save-lang=1&cs-lang=cpp | CC-MAIN-2018-05 | en | refinedweb |
Ready to rock:
Same here:
Ready to"}
12 minutes and counting...
Less than ONE minute!!!
What do we think of them? Easy? Tough? Confusing?
I think it's going to be a little more tough than I anticipated. None of the rules have anything to do with my original ideas for a quick game. For example, I don't know anything abo... | https://www.allegro.cc/forums/print-thread/616257 | CC-MAIN-2018-05 | en | refinedweb |
addlocon.3alc man page
addlocon — create a logical connector
Synopsis
#include "mlo.h" locon_list ∗addlocon(ptfig, name, ptsig, dir) lofig_list ∗ptfig; char ∗name; losig_list ∗ptsig; char dir;
Parameters
- ptfig
Pointer to the figure in which the connector should be added
- name
Name of the connector
- ptsig
Pointer on... | https://www.mankier.com/3/addlocon.3alc | CC-MAIN-2018-05 | en | refinedweb |
Random :
Further Learning
Java Fundamentals Part 1,2
Java Fundamentals: The Java Language
Core Java, Volume II--Advanced Features
How to Read/Write into Random Access FileRandom. You can either writes bytes using ByteBuffer and Java NIO Channel API or you can write int, float, String or any other Java data type by usin... | http://javarevisited.blogspot.co.uk/2015/02/randomaccessfile-example-in-java-read-write-String.html | CC-MAIN-2018-05 | en | refinedweb |
Created on 2010-02-15 19:07 by JT.Johnson, last changed 2015-02-06 18:47 by BreamoreBoy.
I am running Python 2.6.4 on Windows Vista and when I try to get any command line arguments via sys.argv, it only contains sys.argv[0], but nothing else. Even if I supply several parameters. The only third-parts modules I am using ... | https://bugs.python.org/issue7936 | CC-MAIN-2018-05 | en | refinedweb |
Use of Hadoop File System for Nuclear Physics Analyses in STAR
- Amber Sullivan
- 1 years ago
- Views:
Transcription
1 1 Use of Hadoop File System for Nuclear Physics Analyses in STAR EVAN SANGALINE UC DAVIS
2 Motivations 2 Data storage a key component of analysis requirements Transmission and storage across diverse re... | http://docplayer.net/19879860-Use-of-hadoop-file-system-for-nuclear-physics-analyses-in-star.html | CC-MAIN-2018-05 | en | refinedweb |
Here are my ongoing adventures in configuring a base Python/Django application.
First let's give you some background on my development environment.
I am using a MacBook Air running Lion.
I have Python 2.7 installed.
For my Python/Django editor I use the Jetbrains PyCharm IDE.
The first thing I want to do is to create a... | http://ekive.blogspot.com/2012/06/journey-in-pythondjango-hello-world.html | CC-MAIN-2018-05 | en | refinedweb |
For this problem, the naive approach is to iterate from n to m and & all the values. However, this approach is time consuming because it waste time to & values which will eventually be 0. The insight of this problem is that we can be sure the value & from n to m will be 0 if the index of the highest 1 in n's binary rep... | https://discuss.leetcode.com/topic/22178/simple-and-fast-java-solution-with-explanation | CC-MAIN-2018-05 | en | refinedweb |
perlquestion mr.dunstan This has been a hot topic at my workplace and my boss came up with this example for showing how closures work. <code> #!/usr/local/bin/perl use strict; my $dave = new Foo ("dave", "oranges", "grapefruit"); $dave->("debug message"); package Foo; sub new { my ($class, @stuff) = @_; return sub { do... | http://www.perlmonks.org/index.pl?displaytype=xml;node_id=139973 | CC-MAIN-2015-35 | en | refinedweb |
ccTalk - Part 2 - Coin acceptor handling
Published on 19 August 2013
Coin acceptor
A coin acceptor is a device that can recognize various types of coins based on its weight, shape, size and more (all depends on the device and the manufacturer). Usually, all the different coins it can recognize are separated in what are... | http://www.balda.ch/posts/2013/Aug/19/cctalk-part2/ | CC-MAIN-2015-35 | en | refinedweb |
:
- I had no prior experience with Rails.
- The methods employed herein are from the perspective of a “.NET guy” using his knowledge to write something in Rails.
If you happen to be a .NET guy like me and you happen to be tasked with writing or porting from a Rails environment, this article should be helpful. I impleme... | http://www.codemag.com/article/1006071 | CC-MAIN-2015-35 | en | refinedweb |
Re: transforming to an XML Schema - targetNamespace
Discussion in 'XML' started by C. M. Sperberg-McQue
xsd:schema targetNamespace="nondomainstring" possible ?Markus Meckler, Jun 27, 2004, in forum: XML
- Replies:
- 3
- Views:
- 777
- Priya Lakshminarayanan [MSFT]
- Jun 29, 2004
[XML Schema] Including a schema document... | http://www.thecodingforums.com/threads/re-transforming-to-an-xml-schema-targetnamespace.165269/ | CC-MAIN-2015-35 | en | refinedweb |
#include "gadts.h" module Darcs.Witnesses.Eq ( EqCheck(..), MyEq(..), isIsEq ) where import Darcs.Witnesses.Unsafe ( unsafeCoerceP ) -- |'EqCheck' is used to pass around evidence (or lack thereof) of -- two witness types being equal. data EqCheck C(a b) where IsEq :: EqCheck C(a a) NotEq :: EqCheck C(a b) instance Eq (... | http://hackage.haskell.org/package/darcs-2.8.2/docs/src/Darcs-Witnesses-Eq.html | CC-MAIN-2015-35 | en | refinedweb |
Making flashblock work again; and why HTML5 video doesn't work in Firefox
Back in December, I wrote about Problems with Firefox 35's new deprecation of flash, and a partial solution for Debian. That worked to install a newer version of the flash plug-in on my Debian Linux machine; but it didn't fix the problem that the... | http://shallowsky.com/blog/tags/flash/ | CC-MAIN-2015-35 | en | refinedweb |
JavaDB End-to-End Security
JavaDB,
as an open source and pure-Java relational database, provides
several features that make it suitable for embedded and network
server modes, including JavaDB mechanisms to make it
secure on several levels. If you are going to build an application
using JavaDB and security is important,... | https://today.java.net/node/219744/atom/feed | CC-MAIN-2015-35 | en | refinedweb |
Out of the box, it's impossible to cascade delete an item hierarchy that's maintained via an adjacency list model in SQL. For example, when you have a single table that maintains item hierarchy by way of a ParentId that points to another record in that same table, SQL will not allow cascade deletions. I wrote some serv... | http://www.codeproject.com/Tips/668199/How-to-Cascade-Delete-an-Adjacency-List-Model-in-S?PageFlow=FixedWidth | CC-MAIN-2015-35 | en | refinedweb |
Details
- Type:
Bug
- Status: Open
- Priority:
Major
- Resolution: Unresolved
- Affects Version/s: 0.23.0
- Fix Version/s: None
- Component/s: None
- Labels:None
Description.
Activity
- All
- Work Log
- History
- Activity
- Transitions
I have a more elegant work-around which doesn't involve deleting the data folders: e... | https://issues.apache.org/jira/browse/HDFS-107?focusedCommentId=12977747&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel | CC-MAIN-2015-35 | en | refinedweb |
Compiler Support for Type Traits (C++ Component Extensions)
The compiler supports type traits, which indicate various characteristics of a type at compile time.
Remarks
Type traits are especially useful to programmers who write libraries.
The following table lists the type traits that are supported by the compiler. All... | https://msdn.microsoft.com/en-US/library/ms177194(v=vs.110).aspx | CC-MAIN-2015-35 | en | refinedweb |
79 replies on
6 pages.
Most recent reply:
Feb 4, 2008 12:52 PM
by
Wolfgang Lipp
Let's go back to the basics. A function is defined like this:
def foo(x: t1, y: t2) -> t3:
...body...
is more or less equivalent to this:
def foo__(x, y): # original function
...body...
def foo(x, y): # wrapper function
x = adapt(x, t1)
y =... | http://www.artima.com/forums/flat.jsp?forum=106&thread=87182 | CC-MAIN-2015-35 | en | refinedweb |
Namespacing is a must know for any JavaScript developer especially when your learning the basics, it’s essential you form a solid basis and know how to protect your code. I think a good way to start this off is by explaining what is is and giving you some examples of namespacing in JavaScript/jQuery.
What is namespacin... | http://www.sitepoint.com/jquery-function-namespacing-plain-english/ | CC-MAIN-2015-35 | en | refinedweb |
import java.util.*; public class SumOfAllEvens { public static void main (String[] args) { Scanner s = new Scanner (System.in); //for (int i=1; i<4; i++){ int usernumber; int sum=0; System.out.print ("Please enter an integer: "); // Prompt usernumber = s.nextInt(); for (int j=2; j<=usernumber; j=j+2){ if (usernumber<2)... | http://www.javaprogrammingforums.com/whats-wrong-my-code/37111-how-add-all-even-numbers-between-2-user-input-number-included-addition.html | CC-MAIN-2015-35 | en | refinedweb |
As a side note to my blog post about renaming the idAttribute in Backbone when using it with ASP.NET (MVC), this post continues with the Id attribute.
The Id attribute in Backbone is very important. Backbone uses it to determine if an object is new, or already existed. Collections use it to determine if it already cont... | http://martinnormark.com/backbone-and-asp-net-mvc-use-nullable-types-as-id/ | CC-MAIN-2015-35 | en | refinedweb |
6 December 2010
By clicking Submit, you accept the Adobe Terms of Use.
The BlackBerry PlayBook runs the BlackBerry Tablet OS, and includes support for Adobe AIR and Adobe Flash Player. The BlackBerry Tablet OS SDK provides tools to package and deploy AIR applications (which use the .bar file extension) to the PlayBook ... | https://www.adobe.com/devnet/devices/articles/blackberry_playbook_battery.html | CC-MAIN-2015-35 | en | refinedweb |
thanq for providing excellent material to all learning people
Apaninng
Post your Comment... of the client. This contrasts with the request object. The class or the interface name
JSP Session Object
JSP Session Object JSP Session Object?
Session Object... or the interface name of the object session is http.HttpSession. ... | http://roseindia.net/discussion/20897-Request-Object-In-JSP.html | CC-MAIN-2015-35 | en | refinedweb |
I use pwsafe on Android. Recently, I decided to backup my password file and wanted to open it with Linux version of pwsafe. It crashed, so I debugged it and found out the reason. It turns out that HDR_LASTUPDATEUSER was set to a value that is an invalid UTF-8 sequence.
What happens when you get an invalid UTF-8 sequenc... | http://sourceforge.net/p/passwordsafe/bugs/968/ | CC-MAIN-2015-35 | en | refinedweb |
'll changes, then,) and built and ran it again to make sure it still worked. This should be familiar (if you've read my head-spinning columns) as the "xcopy port" to the CLR.
Getting to the Project Model
My macro, like the earlier ones, has one line of VB that calls into the C++ DLL:
Sub MakeNative() CppMacroClasses.Ut... | http://www.codeguru.com/cpp/cpp/cpp_managed/general/article.php/c7437/Controlling-Project-and-File-Properties-with-C-Macros.htm | CC-MAIN-2015-35 | en | refinedweb |
Due to Microsoft's flagrant disregard for the thousands of developers who have voiced their utter dislike for the new theme colors used
in Visual Studio 2012, it was necessary to create a custom theme in order to even consider using the new IDE. Included in this article are an outline
of the key changes made to the VS ... | http://www.codeproject.com/script/Articles/View.aspx?aid=453813 | CC-MAIN-2015-35 | en | refinedweb |
repose - a RESTful django framework
Why repose? Why another framework?
This is not the first time I've written a framework for creating a RESTful interface from django. The first attempt, called rest_api was modelled on the django admin interface (django.contrib.admin), and was used in a work project extensively.
There... | https://bitbucket.org/schinckel/django-repose/src/6843241b295b?at=0.2.2 | CC-MAIN-2015-35 | en | refinedweb |
I copied and pasted the code, so I know there aren't any typos. I made sure the file name was correct, but the program just spits random, unreadable characters at me. Any ideas?
Code:
#include <fstream>
#include <iostream>
using namespace std;
int main()
{
char str[10];
//Creates an instance of ofstream, and opens exam... | http://cboard.cprogramming.com/cplusplus-programming/103586-trouble-lesson-10-file-i-o-printable-thread.html | CC-MAIN-2015-35 | en | refinedweb |
#include <ResilientConnection.h>
ResilientConnection represents a Qpid connection that is resilient.
Upon creation, ResilientConnection attempts to establish a connection to the messaging broker. If it fails, it will continue to retry at an interval that increases over time (to a maximum interval). If an extablished co... | http://qpid.apache.org/releases/qpid-0.24/qmf/cpp/api/classqmf_1_1engine_1_1ResilientConnection.html | CC-MAIN-2015-35 | en | refinedweb |
The WebSocket protocol is a protocol introduced in HTML5, intended to
replace Comet and other long-polling solutions, to provide a rich
communication mechanism over HTTP. See the
specification for more information about the protocol itself.
websocket implements the server
side of the WebSocket protocol.
WebSocketSite i... | http://twistedmatrix.com/trac/export/29073/branches/websocket-4173-2/doc/web/howto/websocket.xhtml | CC-MAIN-2015-35 | en | refinedweb |
This article compares Silverlight and KnockoutJS () by looking at the implementation of the same application with both frameworks. During this comparison we’ll see that there are a great many similarities between the two frameworks, with the same concepts appearing in each. However, the execution / realisation of these... | http://www.codeproject.com/Articles/365120/KnockoutJS-vs-Silverlight?msg=4252500 | CC-MAIN-2015-35 | en | refinedweb |
Changed in version 1.5.2: Added namespace support..:). | http://docs.python.org/release/2.1.2/lib/module-xmllib.html | crawl-003 | en | refinedweb |
class Book { … static mapping = { sort "releaseDate" } }
sort(string/map)By default results are sorted by creation date, you can of course order these in a query:
def results = Book.list(sort:"title")
static mapping = { sort "title" }
sortargument is no longer needed. You can also control the sort order:
static mapping... | http://www.grails.org/doc/1.2.0/ref/Database%20Mapping/sort.html | crawl-003 | en | refinedweb |
For the sake of genericity, it is often better to make the functor's member operator() a template. That way, we do not have to concern ourselves with the type of the argument to expect as long as the behavior is appropriate. For instance, rather than hard-coding char const* as the argument of a generic semantic action,... | http://www.boost.org/doc/libs/1_37_0/libs/spirit/classic/doc/techniques.html | crawl-003 | en | refinedweb |
littleworkers 0.3.2
Little process-based workers to do your bidding.
Little process-based workers to do your bidding.
Deliberately minimalist, you provide the number of workers to use & a list of commands (to be executed at the shell) & littleworkers will eat through the list as fast as it can.
Why littleworkers?.
Usag... | http://pypi.python.org/pypi/littleworkers/0.3.2 | crawl-003 | en | refinedweb |
p4a.videoembed 1.3
A registry and adapters for converting urls for various video sharing sites into embed codes.
Overview
A registry and adapters for converting urls for various video sharing sites into embed codes.
This package provides some functions and zope3 components for converting urls from common streaming vide... | http://pypi.python.org/pypi/p4a.videoembed/1.3 | crawl-003 | en | refinedweb |
basic_counter
The class template
basic_counter is a DualUseFilter which forwards data unmodified to the next filter in a chain, keeping track of the number of characters and lines it has processed.
basic_counter is OptimallyBuffered with an optimal buffer size of
0 to keep the character and line counts accurate. When a... | http://www.boost.org/doc/libs/1_37_0/libs/iostreams/doc/classes/counter.html | crawl-003 | en | refinedweb |
SYNOPSIS
patch [options] [originalfile [patchfile]]
but usually just
patch -pnum <patchfile
DESCRIPTION
patch takes a patch file patchfile containing a difference listing pro-
duced by the diff program and applies those differences to one or more
original files, producing patched versions. Normally the patched ver-
sio... | http://www.linux-directory.com/man1/patch.shtml | crawl-003 | en | refinedweb |
Compiler Warning (level 2) CS3021
Visual Studio 2008
'type' does not need a CLSCompliant attribute because the assembly does not have a CLSCompliant attribute
This warning occurs if [CLSCompliant(false)] appears on a class in an assembly which does not have an assembly-level CLSCompliant attribute set to true (i.e., th... | http://msdn.microsoft.com/en-us/library/1x9049cy(v=vs.90).aspx | crawl-003 | en | refinedweb |
#include <itkKdTree.h>
List of all members.
This class stores the instance identifiers and the distance values of k-nearest neighbors. We can also query the farthest neighbor's distance from the query point using the GetLargestDistance method.
Definition at line 411 of file itkKdTree.h.
Constructor
Definition at line 4... | http://www.itk.org/Doxygen36/html/classitk_1_1Statistics_1_1KdTree_1_1NearestNeighbors.html | crawl-003 | en | refinedweb |
SYNOPSIS
#include <pthread.h>
int pthread_cancel(pthread_t thread);
DESCRIPTION
The pthread_cancel() function shall request that thread be canceled.
The target thread's cancelability state and type determines when the
cancellation takes effect. When the cancellation is acted on, the can-
cellation cleanup handlers for ... | http://www.linux-directory.com/man3/pthread_cancel.shtml | crawl-003 | en | refinedweb |
and set the process-shared attribute of the barrier attributes object
(ADVANCED REALTIME THREADS)
SYNOPSIS
#include <pthread.h>
int pthread_barrierattr_getpshared(const pthread_barrierattr_t *
restrict attr, int *restrict pshared);
int pthread_barrierattr_setpshared(pthread_barrierattr_t *attr,
int pshared);
DESCRIPTIO... | http://www.linux-directory.com/man3/pthread_barrierattr_setpshared.shtml | crawl-003 | en | refinedweb |
initialize the barrier attributes object (ADVANCED REALTIME THREADS)
SYNOPSIS
#include <pthread.h>
int pthread_barrierattr_destroy(pthread_barrierattr_t *attr);
int pthread_barrierattr_init(pthread_barrierattr_t *attr);
DESCRIPTION
The pthread_barrierattr_destroy() function shall destroy a barrier
attributes object. A ... | http://www.linux-directory.com/man3/pthread_barrierattr_init.shtml | crawl-003 | en | refinedweb |
SYNOPSIS
#include <sys/stat.h>
int lstat(const char *restrict path, struct stat *restrict buf);
DESCRIPTION
The lstat() function shall be equivalent to stat(), except when path
refers to a symbolic link. In that case lstat() shall return informa-
tion about the link, while stat() shall return information about the
file... | http://www.linux-directory.com/man3/lstat.shtml | crawl-003 | en | refinedweb |
Inattentiveness
V532 Consider inspecting the statement of ‘*pointer++’ pattern. Probably meant: ‘(*pointer)++’. NimContact namereplacing.cpp 92
int findLine(...., int *positionInOldString) { .... *positionInOldString ++; return (linesInFile - 1); } .... }
Probably the programmer wanted to change the variable pointed to... | https://hownot2code.com/2017/03/12/miranda-ng/?shared=email&msg=fail | CC-MAIN-2019-47 | en | refinedweb |
In the following example, we will create a new custom table using the New custom table wizard. It will be a simple table for storing information about people. Each data record in the table will contain a person's first name, last name and date of birth.
1. Go to Site Manager -> Development -> Custom tables and click th... | http://devnet.kentico.com/docs/5_5r2/devguide/creating_custom_tables.htm | CC-MAIN-2019-47 | en | refinedweb |
Spring Cloud Alibaba Sentinel's Integration With Feign
Spring Cloud Alibaba Sentinel's Integration With Feign
Let's explore Spring Cloud Alibaba Sentinel's integration with Feign.
Join the DZone community and get the full member experience.Join For Free
@FeignClient(name = "service-provider") public interface EchoServi... | https://dzone.com/articles/spring-cloud-alibaba-sentinels-integration-with-fe | CC-MAIN-2019-47 | en | refinedweb |
Per-minute tick data for USDJPY is available here. Suppose we download this file to usdjpy.txt and then save it into a Numpy array in Python 3 as follows:
import numpy as np with open('USDJPY.txt','r') as f: data=f.readlines() data=[x.split(',') for x in data][1:] jpy=np.array([float(close) for (ticker,yy,time,open,hig... | https://larswericson.wordpress.com/2017/10/ | CC-MAIN-2019-47 | en | refinedweb |
Hi,
I've seen a program called guessing game in a book. There are basically 3 players in the game. The program generates a random number and the players guess for that number. I wrote my own code for it and need your advice on how to improve the Object Oriented concept in the program. Please tell me the design flaws in... | https://www.daniweb.com/programming/software-development/threads/371472/oop | CC-MAIN-2017-34 | en | refinedweb |
Hello Forum,
I'm trying to follow advice from the Manning book "Mondrian in Action", in order to provide some access control to data in my cubes.
After trying Dynamic Schema Processor (and not being able to solve problems with caching) I'm trying to use Dynamic Role Modification, but I can't compile the sample (downloa... | http://forums.pentaho.com/showthread.php?154735-Dynamic-Role-Modification-can-t-compile&p=362129 | CC-MAIN-2017-34 | en | refinedweb |
petal to the metal
got high on hope
lungs and veins full of promise
lets crash
jet lagged brain waves
wanna deport my insides
import some good news to my chest
nightmare head
pull the covers close and your body closer
i've got a smile made of smoke and broken mirrors
you gotta be good to die young
xo | http://iwontletyouloveme.blogspot.com/2009_07_01_archive.html | CC-MAIN-2017-34 | en | refinedweb |
The Windows SDK for Windows 8 (included with Visual Studio 2012) ships with the DirectXMath library which is the next major revision of the C++ SIMD graphics math library known as “XNAMath” in the DirectX SDK and Xbox 360 XDK. Think of it as “XNAMath version 3”—for the historically inclined, XNAMath itself was essentia... | https://blogs.msdn.microsoft.com/chuckw/2012/03/26/introducing-directxmath/ | CC-MAIN-2017-34 | en | refinedweb |
Geometry Geometry Geometry Geometry Class
Definition
public : class Geometry : DependencyObject, IGeometry
public class Geometry : DependencyObject, IGeometry
Public Class Geometry Inherits DependencyObject Implements IGeometry
// This API is not available in Javascript.
- Inheritance
- GeometryGeometryGeometryGeometry... | https://docs.microsoft.com/en-us/uwp/api/windows.ui.xaml.media.geometry | CC-MAIN-2017-34 | en | refinedweb |
Intro to Machine Learning & NLP with Python and Weka
In this tutorial, you’ll be briefly introduced to machine learning with Python (2.x) and Weka, a data processing and machine learning tool. The activity is to build a simple spam filter for emails and learn machine learning concepts.
This article is written by the Co... | https://www.codementor.io/python/tutorial/get-started-machine-learning-nlp-weka | CC-MAIN-2017-34 | en | refinedweb |
Adding an Amazon RDS DB Instance to Your Python Management Console and verify that your application can connect to it.
To connect to a database, add the driver to your application, load the driver RDS.
Adding a DB Instance to Your Environment
To add a DB instance to your environment
Open the Elastic Beanstalk console.
... | http://docs.aws.amazon.com/elasticbeanstalk/latest/dg/create-deploy-python-rds.html | CC-MAIN-2017-34 | en | refinedweb |
Opened 3 years ago
Last modified 5 months ago
#2878 new defect
Windows escaping seem to produce problems
Description
I am not sure for how long those paste's will be available:
- builder configuration --
- failed step output --
Error message:
'%VCENV_BAT%' is not recognized as an internal or external command, operable ... | http://trac.buildbot.net/ticket/2878 | CC-MAIN-2017-34 | en | refinedweb |
PHP Cookbook/Directories
From WikiContent
Introduction
A filesystem stores a lot of additional information about files aside from their actual contents. This information includes such particulars as the file's size, what directory it's in, and access permissions for the file. If you're working with files, you may also ... | http://commons.oreilly.com/wiki/index.php?title=PHP_Cookbook/Directories&oldid=7331 | CC-MAIN-2017-34 | en | refinedweb |
An open-source library that evaluates distance between songs
Index
What is Bliss?
Bliss is a library used to compute distance between two songs. It can be useful for creating « intelligent » playlists, for instance, and is used as such in leleleplayer and Blissify.
The main algorithm works by outputing a vector V = (a,... | http://lelele.io/bliss.html | CC-MAIN-2017-34 | en | refinedweb |
NIKE FREE 5.0+
Formerly 'Nike Free Run +' series
WOMEN'S RUNNING SHOE - RRP $179.99
BRAND NEW MODEL 100% AUTHENTIC
Black/Grey/White
All shoes are currently in stock and ready to be shipped.
Women's Sizes available:
US 8.5, 9, 9.5, 10.5
NIKE + ready.
--+:: EXPRESS POST ::+--
Australian POWER SELLER
All shoes will be sen... | http://www.ebay.com.au/itm/Nike-Free-Run-5-0-WOMENS-Black-White-Silver-Running-Shoes-AUTHENTIC-IN-STOCK/191147612826?_trkparms=aid%3D555012%26algo%3DPW.MBE%26ao%3D1%26asc%3D20131025134803%26meid%3D6426669614622428098%26pid%3D100028%26prg%3D20131025134803%26rk%3D2%26rkt%3D15%26sd%3D251512111566 | CC-MAIN-2014-49 | en | refinedweb |
27 September 2012 11:39 [Source: ICIS news]
SINGAPORE (ICIS)--?xml:namespace>
The company has prepared sufficient feedstock paraxylene (PX) for the start-up of the second PTA plant and is seeking more PX contract supply for 2013, the source said.
Its No 1 PTA plant at the site with the same 2.2m tonne/year capacity is ... | http://www.icis.com/Articles/2012/09/27/9599042/chinas-hengli-petrochemical-to-start-up-no-2-pta-plant-in-h2.html | CC-MAIN-2014-49 | en | refinedweb |
:
One big advantage of a UML design process is that UML -- through
stereotypes, mostly -- can express designs over three important domains:
WSDL for messaging semantics, WXS for serializable types, and the OO
service or client implementation language. In an older article,
I laid out a convenient UML notation (known as ... | http://www.xml.com/pub/a/ws/2003/08/05/uml.html | CC-MAIN-2014-49 | en | refinedweb |
I am learning C from Deitel & Deitel''s How To Program book. I am trying to learn how to create a structure within a structure.
I want the user to key in the particulars like name and age, etc and use the pointers and arrow pointers to refer to the data input in the structure.
I have not finished coding yet and I faced... | http://cboard.cprogramming.com/c-programming/46695-structure-within-structure.html | CC-MAIN-2014-49 | en | refinedweb |
hey all...I'm working on this Skyline problem, and I'm stuck. I'm not really sure how to merge the two arrays together according to the requirements. If you are not familiar with the Skyline Problem here it is in a nutshell:.
Unfortunately one of the requirements is that I have to use arrays, which is very annoying. It... | http://cboard.cprogramming.com/cplusplus-programming/46870-dreaded-skyline-d-c-algo.html | CC-MAIN-2014-49 | en | refinedweb |
Help:Contents
From FedoraProject
(Difference between revisions)
Revision as of 19:29, 5 March 2009
Creating and editing pages in the wiki
- Help:Wiki structure describes page naming guidelines, namespace usage, and categories.
- Help:Categories provides more details about using categories
- Help:Editing describes heade... | http://fedoraproject.org/w/index.php?title=Help:Contents&diff=86953&oldid=86541 | CC-MAIN-2014-49 | en | refinedweb |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.