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
Linux KVM as a Learning Tool the guest will exit from guest mode, and the configured outb() callback function is called in user mode (with values 0xf1 and 0x0a for its second and third parameters, respectively). Initially, use dummy callbacks. Create and reference them in a variable called my_callbacks, as shown in Lis...
http://www.linuxjournal.com/magazine/linux-kvm-learning-tool?page=0,1&quicktabs_1=1
CC-MAIN-2016-18
refinedweb
718
50.97
I'm still learning, and although having designed systems execs, operating systems, and real time safety critical systems, I'm sure that I still don't understand the mechanisms at work within micropython's asyncio. I'm sure that I'm not using it correctly, I can see latency on the processor with my added co-routine comp...
https://forum.micropython.org/viewtopic.php?p=38347
CC-MAIN-2020-50
refinedweb
696
59.09
Test your app with temporary, test data before you ship This blog post was authored by Andrew Byrne, a Senior Content Developer on the Windows Phone Developer Content team. – Adam Sometimes I need data to test my app in the emulator. The Windows Phone 8 emulator is a powerful tool, but it doesn’t have the kind of data ...
https://blogs.windows.com/buildingapps/2013/07/31/test-your-app-with-temporary-test-data-before-you-ship/
CC-MAIN-2016-36
refinedweb
1,431
62.78
i need a little help with this and since its thanksgiving weekend i cant get a hold of my teacher for help but the question is this. A jailer has 1000 prisoners, locked behind doors which lock and unlock with the turn of a key. The king has ordered that some of the prisoners be freed. In particular, he wants them freed...
http://cboard.cprogramming.com/cplusplus-programming/85800-looking-little-bit-help-my-logic.html
CC-MAIN-2013-48
refinedweb
304
57.3
Every maker has their favourite sensor, board, component. For me the humble L298N is my motor controller of choice, the DS18B20 for temperature sensing, and IR obstacle sensor for simple input. But recently I stumbled upon the TMP36, another temperature sensor, but this is an analogue sensor. Meaning that the output of...
http://bigl.es/using-a-tmp36-sensor-with-micro-bit/
CC-MAIN-2017-26
refinedweb
541
74.08
Created on 2009-06-07 21:30 by Neil Muller, last changed 2010-02-09 16:56 by pitrou. This issue is now closed. In py3k, ElementTree no longer correctly converts characters to entities when they can't be represented in the requested output encoding. Python 2: >>> import xml.etree.ElementTree as ET >>> e = ET.XML("<?xml ...
https://bugs.python.org/issue6233
CC-MAIN-2021-39
refinedweb
1,033
58.79
Helper class for buffering a std::istream. More... #include <buffered_istream.hpp> Helper class for buffering a std::istream. This class is used to buffer a std::istream which is used for small reads; a character at a time. The std::istream needs to create a sentinel object for every read and profiling showed the std::...
http://devdocs.wesnoth.org/classbuffered__istream.html
CC-MAIN-2017-51
refinedweb
457
53.47
10 Packages for Your Next Django Project Last week I attended DjangoCon Europe 2019 in the beautiful city of Copenhagen. The organizers did a great job putting together a fantastic event with three days of insightful talks covering a wide variety of topics followed by two days of sprints. I had a great time catching up...
https://consideratecode.com/2019/04/20/10-packages-for-your-next-django-project/
CC-MAIN-2022-05
refinedweb
1,168
53.81
Setup Single-node Kubernetes Cluster on a Home Lab server using k0s can setup a k8s cluster on your home lab server with k0s. Fortunately, I have a miniPC box with CPU Atom 1.44Ghz , 4GB RAM that I don’t use much. So here come this blog. TL;DR This blog guides you how to setup a single-node Kubernetes cluster with k0s ...
https://pacroy.medium.com/setup-single-node-kubernetes-cluster-on-a-home-lab-server-using-k0s-594e32624399?responsesOpen=true&source=---------3----------------------------
CC-MAIN-2021-21
refinedweb
1,673
58.28
Hi, I have a doubt regarding inheritance of base class constructor by inherited class. I was recently going through some C++ online tutorial when I came across this piece of code: #include <iostream> class Foo { public: Foo() { std::cout << "Foo's constructor" << std::endl; } }; class Bar : public Foo { public: Bar() {...
https://www.daniweb.com/programming/software-development/threads/302353/inheritance-of-base-class-constructor
CC-MAIN-2017-17
refinedweb
191
61.9
The Raspberry PiRaspberry Pi has been a huge phenomenon in the maker scene, spawning a wide range of accessories, add-ons and even specialised 'Hats'. One of the most underappreciated peripherals would have to be the small Raspberry Pi camera boardRaspberry Pi camera board. At first look it might seem to be the same as...
https://www.element14.com/community/community/raspberry-pi/raspberrypi_projects/blog/2015/06/23/the-secrets-of-the-pi-camera--car-dvr-system
CC-MAIN-2018-39
refinedweb
2,449
68.81
Red Hat Bugzilla – Bug 1297788 repo-rss has missing 'Requires: libxml2-python' Last modified: 2016-11-03 20:14:31 EDT Also happens for yum-utils-1.1.31-34.el7.noarch easy reproducer (when yum-utils is already installed): 1. # rpm -e --nodeps libxml2-python 2. # yum -y reinstall yum-utils 3. # repo-rss -h Traceback (mos...
https://bugzilla.redhat.com/show_bug.cgi?id=1297788
CC-MAIN-2018-05
refinedweb
140
51.04
Unit Testing, Agile Development, Architecture, Team System & .NET - By Roy Osherove Ads via The Lounge ↑ Grab this Headline Animator\ Update: I've uploaded a more complete version of the framework and also changes the file name. please get it from here: if you have the earlier version. (and just so you know - it works ...
http://weblogs.asp.net/rosherove/archive/2004/10/05/238201.aspx
crawl-001
refinedweb
620
66.54
Categories: Python | S60 | Code Examples | How To This page was last modified 05:33, 29 April 2008. How to add a text to an image From Forum Nokia Wiki This article contains code snippets showing how text can be added to an image or a photo, using Python. How to add text to an image: from graphics import * bg=Image.new...
http://wiki.forum.nokia.com/index.php/How_to_add_a_text_to_an_image
crawl-001
refinedweb
123
57.87
gocept.exttest 1.0 Helper to integrate external tests with python unittests. Runs tests provided by an external command from Python’s unittest.TestCase. Usage gocept.exttest provides one public function, makeSuite, which returns a unittest.TestSuite and takes a single argument: the name of the external binary to run. (...
https://pypi.python.org/pypi/gocept.exttest/1.0
CC-MAIN-2015-22
refinedweb
669
50.73
Created on 2018-02-08 08:46 by rhettinger, last changed 2018-02-11 09:29 by rhettinger. This issue is now closed. This also applies to 3.6 because ChainMap can be used with OrderedDict. An alternate implementation: d = {} for mapping in reversed(self.maps): d.update(mapping) return iter(d) Unfortunately both implementa...
https://bugs.python.org/issue32792
CC-MAIN-2019-30
refinedweb
367
69.38
java.lang.Object oracle.dss.rules.Ruleoracle.dss.rules.Rule public class Rule An object that specifies: Dataviewrenders an item The property values are specified in a Mergeable object. The applies method specifies whether the properties in the Mergeable should be used. In this class, the applies method always returns t...
http://docs.oracle.com/cd/E28280_01/apirefs.1111/e12063/oracle/dss/rules/Rule.html
CC-MAIN-2017-04
refinedweb
747
50.94
This article shows how to add a menu interface to an application from a DLL at any time. This example was written using VC++.NET 2003 but it should translate to VC++ 6.0 easily, as much of this was developed using 6.0 early on. No managed code was harmed in the process of writing this article. I wanted a flexible way t...
http://www.codeproject.com/script/Articles/View.aspx?aid=11640
CC-MAIN-2015-35
refinedweb
939
53.81
This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project. On Fri, May 06, 2005 at 12:01:26AM -0400, David Edelsohn wrote: > Aldy, > > Why are > > #define MASK_PROFILE_KERNEL 0x00400000 > #define TARGET_PROFILE_KERNEL (target_flags & MASK_PROFILE_KERNEL) > > defined in linux64.h after you...
https://gcc.gnu.org/legacy-ml/gcc-patches/2005-05/msg00476.html
CC-MAIN-2020-50
refinedweb
335
52.87
Contiguous Cache Example#. def data(self, QModelIndex index, int role): if (role != Qt.DisplayRole) def QVari) def cacheRows(self, from, to): for i in range(from, to + 1): lastIndex() and firstIndex() allows the example to determine what part of the list the cache is currently caching. These values don’t represent the ...
https://doc-snapshots.qt.io/qtforpython-dev/overviews/qtcore-tools-contiguouscache-example.html
CC-MAIN-2022-21
refinedweb
118
56.25
» Other JSE/JEE APIs Author How to connect to Linux using Java code? Anam Ghouri Greenhorn Joined: Oct 24, 2011 Posts: 2 posted Oct 24, 2011 12:57:28 0 Hi, I need to connect to Linux using java code from my Windows machine and execute a linux command. Following is the code I am using: import java.io.*; import java.net...
http://www.coderanch.com/t/556707/java/java/connect-Linux-Java-code
CC-MAIN-2015-35
refinedweb
820
50.63
). 1. the calling routine knows the correct format to send it in. 2. the 'right format' is a hash containing a set of records to convert as produced by Mozilla::Mork 3. this is not a full file conversion - some fields are missing, if there is no corresponding field, also, some fields are created from, or imported from ...
http://search.cpan.org/~kript/Convert-Addressbook-Mozilla2Blackberry-0.01/lib/Convert/Addressbook/Mozilla2Blackberry.pm
CC-MAIN-2015-48
refinedweb
350
70.13
changelog2x - Transform ChangeLogML files using XSLT stylesheets changelog2x --format html --css /styles/changelog.css < Changes.xml This script is a simple example of transforming ChangeLogML mark-up into user-friendly formats. The application itself does very little work; it's purpose is mainly to process and handle ...
http://search.cpan.org/~rjray/App-Changelog2x/bin/changelog2x
CC-MAIN-2017-04
refinedweb
3,426
51.38
public class Solution { public ListNode reverseBetween(ListNode head, int m, int n) { if(head == null || head.next == null || m == n){ return head; } ListNode mnode = head; //find m node: the node which rotation will start at ListNode mprev = null; // previous node to mnode if(m == 1){ //if m== 1 that means rotation no...
https://discuss.leetcode.com/topic/10751/accepted-java-solution-without-dummy-head-is-it-good-enough
CC-MAIN-2017-43
refinedweb
220
79.8
Today. This is a great way to get community feedback on enhancements to the BCL. Thanks for including the wider .NET community in the design of these core components! I’m particularly happy to see the new Long Path API. It was far too easy to create paths that were inaccessible using the classes in the System.IO namesp...
https://blogs.msdn.microsoft.com/bclteam/2010/03/30/bcl-codeplex-site-launch/
CC-MAIN-2017-09
refinedweb
204
76.62
First solution in Clear category for Count Consecutive Summers by Sillte """ Policy a + (a+1) + ... + (a + (a + t - 1)) = 1 / 2 * t * (2 * a + t - 1) Seartch the number of a and t under the condition where a >= 1, t >= 1 and both of a and t are integer. The calculation time is O(N). I think efficient calculation of div...
https://py.checkio.org/mission/count-consecutive-summers/publications/Sillte/python-3/first/share/737bccac94e03ee15a7af52e7f0aa3ed/
CC-MAIN-2021-31
refinedweb
123
63.29
On Wednesday 24 October 2007 21:12, Kay Sievers wrote:> On 10/24/07, Nick Piggin <nickpiggin@yahoo.com.au> wrote:> > On Tuesday 23 October 2007 10:55, Takenori Nagano wrote:> > > Nick Piggin wrote:> > > > One thing I'd suggest is not to use debugfs, if it is going to> > > > be a useful end-user feature.> > >> > > Is /s...
http://lkml.org/lkml/2007/10/24/655
CC-MAIN-2017-34
refinedweb
573
56.76
Opened 9 years ago Closed 9 years ago Last modified 9 years ago #6565 closed (wontfix) delete() method is not called on related objects Description Consider the following models.py: from django.db import models class A(models.Model): pass def delete(self): print 'deleting a' super(A, self).delete() class B(models.Model...
https://code.djangoproject.com/ticket/6565
CC-MAIN-2017-26
refinedweb
604
66.94
Created on 2013-04-09 13:51 by bkabrda, last changed 2019-05-17 12:01 by vstinner. This issue is now closed. When compiling Python 3.3.1, I noticed that some variables like LDFLAGS or CFLAGS in sysconfig have some flags multiple times. (Which BTW breaks distutils.tests.{test_sysconfig_compiler_vars,test_sysconfig_modul...
https://bugs.python.org/issue17679
CC-MAIN-2021-49
refinedweb
606
60.21
-- | Constructing and checking whether rewrite rules are valid module DDC.Core.Transform.Rewrite.Rule ( -- * Binding modes BindMode (..) , isBMSpec , isBMValue , RewriteRule (..) , NamedRewriteRule -- * Construction , mkRewriteRule , checkRewriteRule , Error (..) , Side (..)) where import DDC.Core.Transform.Rewrite.Err...
http://hackage.haskell.org/package/ddc-core-simpl-0.3.1.1/docs/src/DDC-Core-Transform-Rewrite-Rule.html
CC-MAIN-2015-11
refinedweb
2,120
67.86
Nix writes: > On 7 Feb 2012, Stefan Monnier said: > > >> I've never understood what's wrong with including cl.el, nor why the > > > > The main issue is namespace. If someone goes through the code to rename > > it all to "cl-*", then we won't need to avoid using it. > > Aha. I'd agree with *that*: it's always been helli...
http://lists.gnu.org/archive/html/emacs-devel/2012-02/msg00260.html
CC-MAIN-2016-36
refinedweb
135
81.02
After). example.com This related question seems to support that conclusion, but I'm still not sure about what other rules there are around naming Active Directory domains. Are there any best practices on what an Active Directory name should or shouldn't be? This has been a fun topic of discussion on Server Fault. There...
http://serverfault.com/questions/76715/windows-active-directory-naming-best-practices?answertab=active
CC-MAIN-2016-18
refinedweb
1,179
65.73
Details - Type: Improvement - Status: Resolved - Priority: Minor - Resolution: Fixed - Affects Version/s: 4.0.2 - - Component/s: Annotations - Labels:None Description Why do I have to type @Component(type = "TextField") when the return type of the abstract method below it is TextField? Can't this be inferred? Activity ...
https://issues.apache.org/jira/browse/TAPESTRY-994
CC-MAIN-2017-13
refinedweb
388
62.78
FeedManager is a custom RSS/Atom Syndication generator that allows for quick and efficient generation of RSS/Atom feeds. Just reference the dll in your web applications, then write a few lines of code to expose your data to external applications/web sites. The rsstoolkit exists for generating syndicated feeds on the fl...
http://weblogs.asp.net/jaycentdrysdale/
crawl-002
refinedweb
3,446
54.22
@eang Thanks. Updated the URL. Search Criteria Package Details: unarchiver 1:1.10.1-1 Dependencies (7) - bzip2 - gcc-libs (gcc-libs-git, gcc-libs-multilib-git, gcc-libs-multilib-x32, gcc-libs-multilib) - gnustep-base (gnustep-base-clang-svn) - ic) - gcc-objc (gcc-objc-git, gcc-objc-multilib-git, gcc-objc-multilib-x32, ...
https://aur.archlinux.org/packages/unarchiver/?comments=all
CC-MAIN-2017-43
refinedweb
1,375
60.21
I’m working on the final exercise, and have a strange issue. I have previously had difficulties with running nosetests. My file structure is the same as laid out in ex 52: - /gothonweb __init__.py - app.py - markup.py - planisphere.py - /static - /templates - layout.html - show_room.html - you_died.html - /tests - app_...
https://forum.learncodethehardway.com/t/ex52-import-error-failed-nosetest-app-py-still-runs-in-browser/3000
CC-MAIN-2022-40
refinedweb
168
53.58
99 questions/Solutions/50 From HaskellWiki Latest revision as of 19:53, 18 January))) []) A relatively short solution: import Data.List (sortBy, insertBy) import Data.Ord (comparing) import Control.Arrow (second) huffman :: [(Char, Int)] -> [(Char, String)] huffman = let shrink [(_, ys)] = sortBy (comparing fst) ys shr...
http://www.haskell.org/haskellwiki/index.php?title=99_questions/Solutions/50&diff=57455&oldid=56885
CC-MAIN-2014-35
refinedweb
188
53.51
Hi, Consider the following C++ code: #include <malloc.h> #include <cmath> #include <complex> int main(int argc, char **argv) { int N = 4000000; double * _arr_4_0; _arr_4_0 = (double *) (malloc((sizeof(double) * (unsigned long) (5331.0)))); for (int _i0 = 0; (_i0 <= 5330); _i0 = (_i0 + 1)) { _arr_4_0[_i0] = std::sin(_i0...
https://community.intel.com/t5/Intel-C-Compiler/unroll-and-jam-pragma-ignored-but-no-reason-specified/td-p/1088652
CC-MAIN-2021-10
refinedweb
558
65.22
csLoadResult Struct Reference Return structure for the iLoader::Load() routines. More... #include <imap/loader.h> Detailed Description Return structure for the iLoader::Load() routines. Definition at line 135 of file loader.h. Member Data Documentation The object that was loaded. Depending on the file you load this can...
http://www.crystalspace3d.org/docs/online/new0/structcsLoadResult.html
CC-MAIN-2016-50
refinedweb
167
69.99
#include <wx/treectrl.h> A tree event holds information about events associated with wxTreeCtrl objects. To process input from a tree control, use these event handler macros to direct input to member functions that take a wxTreeEvent argument. The following event handler macros redirect the events to member function ha...
https://docs.wxwidgets.org/trunk/classwx_tree_event.html
CC-MAIN-2021-17
refinedweb
204
75.91
Write a class called Rational which has instance variables num and den which hold the numerator and denominator values such that the number is always expressed in reduced form. Include the following methods in the class Rational: (a) A constructor that accepts two integer parameters a and b and creates a Rational objec...
http://www.javaprogrammingforums.com/%20whats-wrong-my-code/30406-complex-numbers-need-help-finishing-printingthethread.html
CC-MAIN-2015-11
refinedweb
339
58.42
hi guys unsure what is wrong. This is the start of my code of hangman but I get an error... Traceback (most recent call last): File "python", line 14, in module TypeError: 'str' object does not support item assignment import random listOfWords = ["example", "potato", "python", "rocks","test", "hangman"] guessWord = ran...
https://codedump.io/share/td2diCgNEtxV/1/a-quotquot39str39-object-does-not-support-item-assignmentquotquot-when-replacing-elements-in-a-list
CC-MAIN-2017-09
refinedweb
118
67.28
Logged In: YES user_id=595483 Hi, quiver. I don't think we can easily go around this problem if we have to capture iterators in generator expression. If you run following, you'll know what I mean. >>> a = iter("abcd") >>> b = iter("abcd") >>> [(x, y) for x in a for y in b] [('a', 'a'), ('a', 'b'), ('a', 'c'), ('a', 'd'...
https://bugs.python.org/msg45182
CC-MAIN-2021-43
refinedweb
167
69.31
Important: Please read the Qt Code of Conduct - Test under xvfb fail after upgrade to qt 5.15.0 for python I have my Python application which use qt for GUI. I use qtpy as wrapper so my application can use PyQt5 or PySide2 as frontend. And for both backends for version 5.15.0 when tests are executed on CI server it fai...
https://forum.qt.io/topic/115418/test-under-xvfb-fail-after-upgrade-to-qt-5-15-0-for-python
CC-MAIN-2021-21
refinedweb
4,056
68.1
* A friendly place for programming greenhorns! Big Moose Saloon Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies Register / Login JavaRanch » Java Forums » Java » Beginning Java Author u_int8_t in java Daniel Botelho Greenhorn Joined: Nov 13, 2004 Posts: 6 posted Jan 10, 2005 08:41:00 0 Hi...
http://www.coderanch.com/t/398210/java/java/int-java
CC-MAIN-2014-42
refinedweb
1,117
60.65
Visual Studio makes programming Web Services a breeze. However, if you, like me, offer programs for download that uses Web Services, you will notice that various content filtering devices like firewalls and proxy servers sometimes block the Web Service calls. Ordinary HTTP traffic is almost always allowed, but some fir...
http://www.codeproject.com/KB/webservices/SOAPRelayProxy.aspx
crawl-002
refinedweb
857
62.07
15. Other Haskell utility programs¶ This section describes other program(s) which we distribute, that help with the Great Haskell Programming Task. 15.1. “Yacc for Haskell”: happy¶ Andy Gill and Simon Marlow have written a parser-generator for Haskell, called happy. Happy is to Haskell what Yacc is to C. You can get ha...
https://downloads.haskell.org/~ghc/master/users-guide/utils.html
CC-MAIN-2019-13
refinedweb
779
60.21
Your message dated Mon, 23 Aug 2010 14:12:42 +0200 with message-id <20100823121242.GI12469@melusine.alphascorpii.net> and subject line Package got removed has caused the Debian Bug report #16815, regarding tkfont: wish.) -- 16815: Debian Bug Tracking System Contact owner@bugs.debian.org with problems --- Begin Message ...
https://lists.debian.org/debian-qa-packages/2010/08/msg00280.html
CC-MAIN-2018-13
refinedweb
452
59.9
The Ten Boxes of Heterodoxy, or Why Economics Sucks "I sound my barbaric yawp over the roofs of the world.". Box No. 11: PUBLIC GOODS Public goods are a product or service that benefits the whole community. They are not optimally or well distributed by "free markets". This is primarily because they are characterized by...
http://tpmcafe.talkingpointsmemo.com/2007/07/11/the_ten_boxes_of_heterodoxy_or/
crawl-002
refinedweb
11,934
51.99
- Cycle detection - This article is about iterated functions. For another use, see Cycle detection (graph theory). In computer science, cycle detection is the algorithmic problem of finding a cycle in a sequence of iterated function values. For any function ƒ that maps a finite set S to itself, and any initial value x0...
https://en.academic.ru/dic.nsf/enwiki/356646/Cycle_detection
CC-MAIN-2020-34
refinedweb
3,196
50.67
: ... DEBUG on a C file from the SPEC benchmark suite, it gives a report that looks like this: 7646 bytecodewriter - Number of normal instructions 725 bytecodewriter - Number of oversized instructions 129996 bytecodewriter - Number of byte whereever you install it) to your path. Once in your system and path are set up,...
http://llvm.org/releases/1.6/docs/ProgrammersManual.html
CC-MAIN-2014-42
refinedweb
727
55.95
This is the result of a few things I learned today with suggestions I received. Isn't so hard to read now and I lost one grep, at least. #! /bin/sh while true; do eval $(awk '/^cpu /{print "previdle=" $5 "; prevtotal=" $2+$3+$4+$5 }' /proc/stat); sleep 0.4 eval $(awk '/^cpu /{print "idle=" $5 "; total=" $2+$3+$4+$5 }' ...
https://bbs.archlinux.org/viewtopic.php?pid=1203534
CC-MAIN-2018-05
refinedweb
5,078
70.84
X++ and debugger features This tutorial is for developers to use advanced constructs of the X++ language and take advantage of productive debugger features. This is a walkthrough of the new features with exercises included to practice using these features. In previous versions, the X++ code was compiled into pseudo-cod...
https://docs.microsoft.com/bg-bg/dynamics365/unified-operations/dev-itpro/dev-tools/new-x-debugger-features
CC-MAIN-2018-34
refinedweb
4,949
54.22
: (The Person, Sruden, Employee, Faculty, and Staff classes) Design a class named Person and its two subclasses named Student and Employee. Make Faculty and Staff subclasses of Employee. A person has a name, address, phone number, and email address. A student has a class status (freshman, sophomore, junior, or senior)....
https://www.daniweb.com/programming/software-development/threads/382042/help-programming-in-java-with-super-class
CC-MAIN-2018-39
refinedweb
328
66.74
Hi all, Could you please let us know the best way to do the below validation in xslt we are reading card number using an xpath expression <xsl:value of from input. It is a string of 19 characters. we would like to include a check which will see if the first 15 characters are digits and the next 4 charcters are spaces. ...
https://www.daniweb.com/programming/software-development/threads/349228/validation-of-a-sequence-in-xsl
CC-MAIN-2017-09
refinedweb
130
80.72
Hi all I am using visual studio 2008 and dot net 3.5. I am trying to encrypt a string, but when I use the SHA1 it works fine, but when I try the same with SHA256,SHA384,SHA512 . I am getting the following error the type or namespace name "SHA512" could not be found (are you missing a using directive or an assembly refr...
http://channel9.msdn.com/Forums/TechOff/SHA512-in-visual-studio-2008-and-net-35
CC-MAIN-2015-18
refinedweb
127
75.1
Download source code for Working with WebBrowser in WPF. It is very easy to use WebBrowser control in your WPF application. In your XAML you may include <WebBrowser x: </WebBrowser> This will create a WebBrowser Control within your WPF window. Now to load a document, either you have to navigate to a site or directly lo...
https://www.dotnetfunda.com/articles/show/840/working-with-webbrowser-in-wpf
CC-MAIN-2020-34
refinedweb
1,275
57.47
Closed Bug 232545 Opened 16 years ago Closed 16 years ago Text included by <marquee></marquee> is not shown Categories (Core :: XBL, defect, major) Tracking () People (Reporter: KKuhlemann, Assigned: neil) Details (Keywords: regression) Attachments (2 files) User-Agent: Build Identifier: Mozilla/5.0 (Windows; U; Window...
https://bugzilla.mozilla.org/show_bug.cgi?id=232545
CC-MAIN-2019-51
refinedweb
653
66.74
table of contents NAME¶ CURLOPT_PROXY_SSLCERT - set SSL proxy client certificate SYNOPSIS¶ #include <curl/curl.h> CURLcode curl_easy_setopt(CURL *handle, CURLOPT_PROXY_SSLCERT, char *cert); DESCRIPTION¶ This option is for connecting to an HTTPS proxy, not an HTTPS server. Pass a pointer to a null-terminated string as p...
https://manpages.debian.org/bullseye/libcurl4-doc/CURLOPT_PROXY_SSLCERT.3.en.html
CC-MAIN-2021-43
refinedweb
153
56.96
CFD Online Discussion Forums ( ) - OpenFOAM Installation ( ) - - Compiling with Intel compiler icc90 ( ) hjasak August 24, 2005 20:31 Dear All, I have just succe Dear All, I have just successfully compiled and run FOAM-1.2 with the latest Intel compiler, version 9.0. There is a few minor porting fixes which will be pro...
http://www.cfd-online.com/Forums/openfoam-installation/57477-compiling-intel-compiler-icc90-print.html
CC-MAIN-2016-50
refinedweb
1,883
56.15
How to validate and sanitize user input in JavaScript What’s the best way to validate user inputs in JavaScript or Node.JS? There’s a couple validator modules that I like to use There are a lot of input validation libraries out there. But to me, the 2 listed above provide the easiest API. If I’m looking for a sanitizin...
https://linguinecode.com/post/validate-sanitize-user-input-javascript
CC-MAIN-2022-21
refinedweb
1,100
59.5
There's no better way to explain some code-related issue than providing a test for them, and that is what any NH team member is going to ask you no matter how clearly you described it; that said.. why not being smart enough to provide it since the beginning? For those who doesn't know what a unit test is, or why could ...
http://nhforge.org/blogs/nhibernate/archive/2008/10/04/the-best-way-to-solve-nhibernate-bugs-submit-good-unit-test.aspx
CC-MAIN-2014-10
refinedweb
1,836
59.53
Ok, I think I get the gist of the 405 thing a little. When I do "PythonHandler mod_python.publisher" in httpd.conf I am telling it to use the publisher.py (in the lib of the source download). At least this is my guess :-) I am new to this, so I suppose I didn't understand before. But it looks like I really shouldn't be...
http://modpython.org/pipermail/mod_python/2005-November/019529.html
CC-MAIN-2018-39
refinedweb
180
70.7
You’re sitting at your desk, glaring at your monitor, but it glares back at you with equal determination. Every change you make introduces new bugs, and fixing a bug causes another bug to pop up. You don’t understand why things are randomly breaking, and the lines of code just increase every day. However, by coding in ...
https://henrydangprg.com/2016/07/30/five-great-practices-for-safer-code/comment-page-1/
CC-MAIN-2019-04
refinedweb
1,407
62.07
Does anyone know how I can fix this? Does anyone know how I can fix this? Wow, that's really weird... I could have sworn it didn't work the other day! Perhaps I was clicking on another node instead of pressing "Enter". I have a second problem, however, regarding sorting... Hi, I've been messing around with JTrees recen...
http://www.javaprogrammingforums.com/search.php?s=4b58317146ec0a04fbb03fabc7b1caa4&searchid=1364160
CC-MAIN-2015-06
refinedweb
227
77.13
I have an Aurelia project which is divided in several projects. My folder structure looks like this /myApp /.idea /myApp /myModule1 /myModule2 /myModule3 Each of those is a standalone jspm package (each have their own package.json file). Module myApp refers to myModule1, myModule1 and myModule3 via "jspm install". in m...
https://intellij-support.jetbrains.com/hc/en-us/community/posts/207275195-How-to-reference-internal-libraries?sort_by=votes
CC-MAIN-2019-39
refinedweb
148
65.32
The Vital Guide to Ruby Interviewing The Challenge In his book Seven Languages in Seven Weeks, Bruce Tate compares Ruby to Mary Poppins: “She’s sometimes quirky, always beautiful, a little mysterious, and absolutely magical.” If we really had to pick a character to compare with this language, we could hardly make a bet...
https://www.toptal.com/ruby
CC-MAIN-2017-43
refinedweb
4,287
52.19
My baby is 12! By user12625760 on Nov 05, 2004 It was Guy Fawkes day, 12 years ago that I created what was to become the oldest NIS+ name space in the world , unless of course you know otherwise. It's time of birth is immortalised in the creation time of the directory objects: # niscat -o org_dir Object Name : "org_dir...
https://blogs.oracle.com/chrisg/entry/my_baby_is_12
CC-MAIN-2015-22
refinedweb
340
79.3
null : emp.email_address, member_status_id = emp.member_status_id.Value, member_type_id = emp.member_type_id.Value, // member_job_title_id = emp.member_job_title_id.Value, Marital = emp.Marital == null ? In other words, Single expects there to be one, only one, and always one item in the collection. I just saw this bir...
http://hiflytech.com/int-to/cannot-convert-int-to-int-linq.html
CC-MAIN-2017-39
refinedweb
933
69.18
A Backbone.js Require.js test driven workflow. A Backbone.js and Require.js Test Driven Workflow inspired by Greg Franko's Backbone-Require-Boilerplate-Lite. Together we promote decoupling your JavaScript into modules, separating business logic from application logic using Collections/Models and Views, including non-AM...
https://www.npmjs.com/package/generator-stacked
CC-MAIN-2015-18
refinedweb
3,384
66.84
How Can I Use Laravel Envoy or Deployer with SemaphoreCI? This article was peer reviewed by Wern Ancheta and Viraj Khatavkar. Thanks to all of SitePoint’s peer reviewers for making SitePoint content the best it can be!. We will be using SemaphoreCI for continuous delivery and Deployer to push our code to the DigitalOce...
https://www.sitepoint.com/how-can-i-use-laravel-envoy-or-deployer-with-semaphoreci/?utm_source=rss
CC-MAIN-2020-05
refinedweb
781
53.92
. Now we’re done with adding a nuget package it’s time to write classed that we have decided. Following a code for Person class. public class Person { public int Id { get; set; } public string FirstName { get; set; } public string LastName { get; set; } } Now we are going to create a Employee class which will be inheri...
http://www.dotnetjalps.com/2014/06/entity-framework-code-first-and.html
CC-MAIN-2017-43
refinedweb
343
50.12
Eclipse Community Forums - RDF feed Eclipse Community Forums HelloWorldSWT tutorial <![CDATA[Yes, I'm new to Java and Eclipse (an incredible tool!). I walked through the tutorial to build HelloWorld! and it worked. Then I tried walking through the tutorial for HelloWorldSWT. When I had problems, I deleted the HelloWorl...
http://www.eclipse.org/forums/feed.php?mode=m&th=372232&basic=1
CC-MAIN-2015-18
refinedweb
630
70.29
Bowing to my Visual Studios request, I started my latest project using Entity Framework Core (1.0.1) So writing my database models as I always have using the 'virtual' specifier to enable lazy loading for a List. Though when loading the parent table it appears that the child list never loads. Parent Model public class ...
https://entityframeworkcore.com/knowledge-base/40122162/entity-framework-core---lazy-loading
CC-MAIN-2022-40
refinedweb
400
70.33
In response to the many requests from VB (and other languages) coders, I finally took some time to update the project and move all the functions into a DLL so that any program developed in a language capable of calling Windows standard libraries (DLLs) can use them. To demonstrate these functions, I also included C and...
https://www.codeproject.com/Articles/7392/Lock-Windows-Desktop?fid=62485&df=90&mpp=25&sort=Position&spc=Relaxed&select=4033760&tid=4033760
CC-MAIN-2017-22
refinedweb
1,722
54.12
On 21 Jan, 20:16, George Sakkis <george.sak... at gmail.com> wrote: > On Jan 21, 1:56 pm, glomde <brk... at gmail.com> wrote: > > > > > On 21 Jan, 18:59, Wildemar Wildenburger > > > <lasses_w... at klapptsowieso.net> wrote: > > > glomde wrote: > > > > Hi, > > > > > is it somehow possible to set the current namespace so...
https://mail.python.org/pipermail/python-list/2008-January/493135.html
CC-MAIN-2014-15
refinedweb
322
78.25
2015-02-06 01:31 AM Hi all I have two problems with the create volume command in WFA. As of best practises in a SAN environment we should not mount FC volumes into the global namespace but the "Create volume" command exactly does that. Is there a way to use this command but not to mount the volume into namespace? The o...
http://community.netapp.com/t5/OnCommand-Storage-Management-Software-Discussions/WFA-Create-Volume/td-p/100287
CC-MAIN-2017-34
refinedweb
543
74.59
Bleu score in Python is a metric that measures the goodness of Machine Translation models. Though originally it was designed for only translation models, now it is used for other natural language processing applications as well. The BLEU score compares a sentence against one or more reference sentences and tells how we...
https://www.journaldev.com/46659/bleu-score-in-python
CC-MAIN-2021-17
refinedweb
804
69.18
User talk:SK53 Contents Railway guage I've replied to your comment about tagging railway guages here: Talk:Railways#Gauge. Would welcome your input. Frankie Roberto 13:44, 7 August 2009 (UTC) bulk_upload.py Thank you for the bug report on bulk_upload.py made to the wiki, I will take a look at the patch and apply in due...
https://wiki.openstreetmap.org/wiki/User_talk:SK53
CC-MAIN-2018-13
refinedweb
751
73.47
This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project. To recapitulate the subject: enum x { x1, x2, x3 }; struct elem_t { x a :10; x b :10; }; template <class T> bool operator!= (const T& x, const T & y) { return !(x == y); } bool f(elem_t z) { // replace a with b and watch the error di...
http://gcc.gnu.org/ml/gcc-bugs/1999-02n/msg00162.html
CC-MAIN-2015-40
refinedweb
385
73.07
Hi, We have configured collocated HA topoly with replication in jboss7.2.0. Failover and Failback works fine with data replication for the first time. However below scenario does not work. 1. Kill first server -> failover occurs 2. Start first server -> failback occurs 3. Now HQ backup on 2nd server must be restarted o...
https://developer.jboss.org/thread/234741
CC-MAIN-2018-39
refinedweb
182
59.3
I raised this question in VSTS - Developers community and was advised to consult here, so posting my original question: Is there a way to write unit tests and get code coverage for aspx code behind files? I searched few forums but did not find an answer. And I'm not looking anything outside VSTS (like Nunit or somethin...
https://social.msdn.microsoft.com/Forums/en-US/5c984f7f-31c9-48ef-b8e5-c9c8357431ae/using-unit-test-for-aspx-code-behind-files?forum=vststest
CC-MAIN-2015-32
refinedweb
325
50.84
This page explains how to install GKE On-Prem to a VMware vSphere 6.5 environment using an existing Dynamic Host Configuration Protocol (DHCP) server to assign IP addresses to cluster nodes. You can also install using static IPs. Overview The instructions on this page show you how to create an admin cluster and one use...
https://cloud.google.com/anthos/clusters/docs/on-prem/1.1/how-to/installation/install-dhcp
CC-MAIN-2021-10
refinedweb
3,876
50.23
Beginner Beginner how to call a gui class from applet class Hello Friend, Please visit the following link: Thanks beginner beginner provide a simple java exception program that uses try , catch, throw and finally blocks java beginner java beginner Hi using hashcode() and equal() method and hashmap object how to compare...
http://www.roseindia.net/tutorialhelp/comment/87572
CC-MAIN-2013-20
refinedweb
2,356
63.09
[ ] Noble Paul commented on SOLR-1335: ---------------------------------- bq.Noble - why aren't system properties viable for this? * Setting system properties is error prone. If we have a few dozen properties setting -D for each property is hard. The startup scripts are maintained by operations whereas this properties ...
http://mail-archives.apache.org/mod_mbox/lucene-solr-dev/200908.mbox/%3C1294279058.1250682135066.JavaMail.jira@brutus%3E
CC-MAIN-2019-35
refinedweb
106
59.19
Next: Naming Rules, Previous: Default Namespace, Up: Namespaces [Contents][Index] In order to set the current namespace, use an @namespace directive at the top level of your program: @namespace "passwd" BEGIN { … } … After this directive, all simple non-completely-uppercase identifiers are placed into the passwd namesp...
https://www.gnu.org/software/gawk/manual/html_node/Changing-The-Namespace.html
CC-MAIN-2019-26
refinedweb
230
50.67
Holy cow, I wrote a book!. A customer was having trouble with their shell namespace extension: When we click the [+] button next to our shell namespace extension in the folder tree view, the tree view shows both files and folders, even though it's supposed to show only folders. Our IShellFolder::GetAttributesOf does re...
http://blogs.msdn.com/b/oldnewthing/archive/2010/04.aspx?PageIndex=3
CC-MAIN-2013-20
refinedweb
394
51.24
Jasmine utilities and helpers for testing React components. Turn a jasmine Suite into one suitable for testing React components. Example: var Checkbox = ;; The following features will become available to your suite: In your global suite context, "subject" will contain a reference to the mounted instance of the componen...
https://www.npmjs.com/package/jasmine_react
CC-MAIN-2017-04
refinedweb
561
59.09
Program to print the minimum steps to reach 0 in C++ In this tutorial, we will learn how to print the minimum steps to reach 0 or zero in C++. The program accepts the number ‘N’ and any integer ‘K’. The program prints the minimum number of steps required to reach 0 from N based on certain steps If N is divisible by K t...
https://www.codespeedy.com/cpp-program-to-print-the-minimum-steps-to-reach-0/
CC-MAIN-2020-24
refinedweb
593
67.59
Type Classes With An Easier Example I recently wrote this post. It contained a lot of rather obtuse mathematics, just to introduce what was basically the example problem for the article. That’s because it was a real honest-to-goodness problem I was solving and writing papers on for algebra journals… admittedly, not the...
https://cdsmith.wordpress.com/2009/09/20/side-computations-via-type-classes/?like=1&_wpnonce=d1fb2cdf27
CC-MAIN-2015-32
refinedweb
2,679
59.13
Tell us what’s happening: I’m doing the beta challenges for react/redux. I’m stuck on this last part. I will copy the directions and highlight the sentence I’m having trouble with: React and Redux: Extract Local State into Redux You’re almost done! Recall that you wrote all the Redux code so that Redux could control th...
https://forum.freecodecamp.org/t/extract-local-state-into-redux/182622
CC-MAIN-2018-39
refinedweb
516
51.34
Java Get Example java.net.InetAddress class. Java Example program to get... example to get Object class name at runtime In java there is a way that makes us... can get the name of the object class. Java example program Java Get Example example to get Object class name at runtime In java there is a way that makes us... ...
http://www.roseindia.net/tutorialhelp/comment/94678
CC-MAIN-2013-48
refinedweb
3,510
64.91
Never Should You Ever In Kubernetes Part 5: Your Top 4 FAQs Written By: Danielle Cook As we’ve discussed in this series, there are some things that you should simply never, ever do in Kubernetes. Corey Quinn, founder of Screaming in the Cloud and Chief Cloud Economist at The Duckbill Group, Kendall Miller, President of...
https://fairwinds.medium.com/never-should-you-ever-in-kubernetes-part-5-your-top-4-faqs-d838d79d8d5e?source=post_internal_links---------6----------------------------
CC-MAIN-2021-49
refinedweb
1,171
67.59
List of all Keywords in C Language Description of all Keywords in C auto The auto keyword declares automatic variables. For example: auto int var1; This statement suggests that var1 is a variable of storage class auto and type int. Variables declared within function bodies are automatic by default. They are recreated e...
https://www.programiz.com/c-programming/list-all-keywords-c-language
CC-MAIN-2016-50
refinedweb
912
66.23
I'm doing a file reading. The contents of the file is saved into a subject node called head. In order to perform dynamic node creation, I equated the temp = *head (on line 48). Upon printing, calling print(head) on line 34, the program crashed. I debugged it and found a segmentation fault on printing so I added line 50...
http://cboard.cprogramming.com/cplusplus-programming/149970-struct-node-pointer-dereference-printing-bug-difficulty.html
CC-MAIN-2014-49
refinedweb
361
59.94
Originally posted by Marc Peabody: As good OOAD folks would do, we're hoping to share this Item xsd definition across the two services. The problem now is that if one service needs an extra field added to Item and we change the shared definition for Item, it would effect all dependent services because they all share th...
http://www.coderanch.com/t/422681/Web-Services/java/Managing-xsd-types-multiple-service
CC-MAIN-2014-15
refinedweb
910
52.49
I have a question regardin this Zone file from wikipedia.com " $ORIGIN example.com. ; designates the start of this zone file in the namespace " Why is these lines necessary?: example.com. NS ns ; ns.example.com is a nameserver for example.com ns A 192.0.2.2 ; IPv4 address for ns.example.com We already know that the ns...
http://serverfault.com/questions/313580/zone-file-explaination-dns
crawl-003
refinedweb
192
68.16
Overview of Outlook The. There are several benefits to using Outlook Anywhere to enable Outlook 2003 and Outlook 2007 clients to access your Exchange messaging infrastructure. The benefits are as follows: Remote access to Exchange servers from the Internet. You can use the same URL and namespace that you use for Micros...
https://technet.microsoft.com/en-us/library/bb123741(v=exchg.80).aspx
CC-MAIN-2017-39
refinedweb
158
55.44
Unigram tokenization The Unigram algorithm is often used in SentencePiece, which is the tokenization algorithm used by models like AlBERT, T5, mBART, Big Bird, and XLNet. 💡 This section covers Unigram in depth, going as far as showing a full implementation. You can skip to the end if you just want a general overview o...
https://huggingface.co/course/chapter6/7
CC-MAIN-2022-40
refinedweb
2,653
58.32
Java stack data structure interview questions and answers Core Java Coding Questions and Answers for beginner to intermediate level Q. Can you write a program to evaluate if a given string input has proper closing bracket for every opening bracket? A. Firstly, think of the pseudo code. The pseudo-code goes as follows. ...
http://java-success.blogspot.com.au/2012/04/java-stack-data-structure-interview.html
CC-MAIN-2018-09
refinedweb
1,375
51.85