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
java.lang.Object org.netlib.lapack.SGTTRSorg.netlib.lapack.SGTTRS public class SGTTRS SGTTRS is a simplified interface to the JLAPACK routine sgttGTTRS solves one of the systems of equations * A*X = B or A'*X = B, * with a tridiagonal matrix A using the LU factorization computed * by SGTTRF. * * Arguments * ========= *...
http://icl.cs.utk.edu/projectsfiles/f2j/javadoc/org/netlib/lapack/SGTTRS.html
CC-MAIN-2017-51
refinedweb
277
54.52
rpc_ns_mgmt_entry_delete- deletes an entry from the name service database #include <dce/rpc.h> void rpc_ns_mgmt_entry_delete( delete._not_rpc_entry Not an RPC entry. - rpc_s_unsupported_name_syntax Unsupported name syntax. The rpc_ns_mgmt_entry_delete() routine removes an RPC entry from the name service database. - Not...
http://pubs.opengroup.org/onlinepubs/9629399/rpc_ns_mgmt_entry_delete.htm
CC-MAIN-2014-15
refinedweb
140
50.43
I had read the RC reciever part of your blog, but that isn't what I am trying to do right? #include <Servo.h>Servo myservo;int val = 50;void arm(){ // arm the speed controller Serial.println("Arming"); setSpeed(50); delay(2000); //delay 2 second}void setSpeed(int speed){ // speed is from 0 to 100 where 0 is off and 100...
http://forum.arduino.cc/index.php?topic=86883.msg691449
CC-MAIN-2016-40
refinedweb
153
59.8
Here user given a string and user also given the word to count the number of occurrences. Our task is to count the number of occurrences and print it. Input: Python is an interpreted high-level programming language for general purpose programming. Enter the word to count occurrence ::>programming Output:: 2 wordoccuren...
https://www.tutorialspoint.com/write-a-python-program-to-count-occurrences-of-a-word-in-string
CC-MAIN-2021-04
refinedweb
223
53.75
> In this post well be discussing lots of ways to tune web servers and proxies. Please do not cargo-cult them. For the sake of the scientific method, apply them one-by-one, measure their effect, and decide whether they are indeed useful in your environment. Far to often I see people apply ideas from posts they've read ...
http://hackerbra.in/news/1504778521
CC-MAIN-2018-43
refinedweb
4,068
71.75
Hi mates, I am trying to test OpenConfig/NetConf with YANG Development Kit on my local test bed. The IOS-XRv 6.1.2 nodes along with Ubuntu Servers are mounted on vSphere host and the proper connectivity. I followed the steps to install YDK-Gen along with the YDK-Py as listed on this site : So far I haven't been able to...
https://community.cisco.com/t5/yang-development-kit-ydk/couldn-t-start-crud-services/td-p/3441878
CC-MAIN-2021-04
refinedweb
243
60.01
GETTID(2) Linux Programmer's Manual GETTID(2) gettid - get thread identification #include <sys/types.h> pid_t gettid(void); Note: There is no glibc wrapper for this system call; see NOTES.). On success, returns the thread ID of the calling process. This call is always successful. The gettid() system call first appeared...
http://man7.org/linux/man-pages/man2/gettid.2.html
CC-MAIN-2017-30
refinedweb
186
57.27
Eclipse Community Forums - RDF feed Eclipse Community Forums EclipseLink project works in one Eclipse Workspace but not in another <![CDATA[Hi, I have a very small EclipseLink example which runs perfectly in a workspace. I imported this example in another workspace (same Eclipse installation therefore same version, ava...
http://www.eclipse.org/forums/feed.php?mode=m&th=125632&basic=1
CC-MAIN-2017-17
refinedweb
698
52.76
Add Custom Settings to your Theme ARCHIVED This chapter has not been updated for the current version of Orchard, and has been ARCHIVED. When building themes in Orchard, it is often desirable to make certain aspects of the theme available to the administrator to customize. This article describes how to add several simpl...
http://docs.orchardproject.net/en/latest/Documentation/Add-Custom-Settings-to-your-Theme/
CC-MAIN-2017-26
refinedweb
1,207
57.27
- You've created a JAR library whose source code doesn't reference Android-specific APIs, nor does it reference standard Java APIs newer than Java 5, except for the few Java 6 enhancements to Android's version of the java.io.File class (and maybe other Java 6 enhancements that are present in Android). Furthermore, the...
http://www.informit.com/articles/article.aspx?p=1966023&amp;seqNum=3
CC-MAIN-2016-40
refinedweb
832
51.04
Introduction Oracle MAF 2.3.1 has just been released. This release contains a major new feature, the client data model (CDM). CDM is the productized version of the A-Team Mobile Persistence Accelerator (AMPA). This article explains how you can migrate your existing MAF app that uses AMPA to MAF 2.3.1 with CDM. We recom...
https://www.ateam-oracle.com/migrating-ampa-apps-to-oracle-maf-2-3-1-client-data-model
CC-MAIN-2020-24
refinedweb
1,669
55.54
#include <stdio.h> #include <stdlib.h> int main(){ unsigned long n,count=0,*array,size=1,i; while((scanf("%ul",&n))!=EOF){ count=count+1; array =(long*)malloc(count*sizeof(long)); array[count] = n; if (count>size){ size=count; } if (n==5){ break; } } for (i=1;i<=size;i++){ printf("%ul\n",array[i]); } free(array); retu...
https://www.daniweb.com/programming/software-development/threads/195096/unknown-array-size-dynamic-memory-allocation
CC-MAIN-2018-17
refinedweb
122
61.46
proc dict'sort {dict args} { set res {} foreach key [lsort {*}$args [dict keys $dict]] { dict set res $key [dict get $dict $key] } set res } #-- Test: set d1 {foo 1 bar 2 grill 3} puts 1:[dict'sort $d1] ;# 1:bar 2 foo 1 grill 3 puts 2:[dict'sort $d1 -decreasing] ;# 2:grill 3 foo 1 bar 2 This works me correctly for Tcl ...
http://wiki.tcl.tk/17680
CC-MAIN-2016-50
refinedweb
1,171
59.57
From: Stefan Seefeld (seefeld_at_[hidden]) Date: 2005-11-01 09:13:18 Alan, thank you for your interesting points. The API I suggest is not modeled after the the W3C DOM IDL, neither its java implementation. Many people have expressed discomfort both with the W3C DOM API as well as the idea of simply transcribing the ja...
https://lists.boost.org/Archives/boost/2005/11/96138.php
CC-MAIN-2020-29
refinedweb
475
64.71
Overload 4 hit my desk shortly after I returned from San Diego and the most recent meeting of X3J16/WG21. San Diego’s a beautiful city and this was the first occasion that I had taken time off around a committee meeting to explore. I hope we get back there before we’ve finished the standardisation process. The schedule...
https://accu.org/index.php/journals/1770
CC-MAIN-2019-47
refinedweb
1,822
59.94
As will probably be painfully obvious, I do not normally program in C. However, after a lot of searching it seems to be the most efficient language to implement what I want to do, namely generate a large number (10 million) of random integers quickly (using an Xorshift* algorithm). The intention is to seed it with /dev...
https://codedump.io/share/QsO3jswFNXcX/1/c---how-to-read-data-from-devurandom-into-a-uint64t-variable
CC-MAIN-2016-44
refinedweb
260
64.1
C-Style Binary I/O read_size = std::fread(data_ptr, 1, size, file); - read_size - Size of the data that was read. If this is less than size, an end-of-file or error occurred. - data_ptr - Pointer to a buffer to receive the data being read. - 1 - The constant 1. (For the reason behind this constant, see the sidebar.) - ...
http://www.codeguru.com/columns/chapters/article.php/c6667/CStyle-Binary-IO.htm
CC-MAIN-2015-40
refinedweb
816
66.33
d'oh, I fell for the "reply-all" trick. :) Here's the code in question: Apparently there are built in functions hex() and oct() to generate hexadecimal and octal digit strings of numbers, but there's no corresponding bin(). Kind of a bizarre oversight, if you ask me. Searching on the internet, I found this: def bin(int...
https://mail.python.org/pipermail/tutor/2007-February/052856.html
CC-MAIN-2016-44
refinedweb
284
72.56
[No idea if I replied to this, but I'm doing it now.] Hopefully its useful. It is, I have applied it to my GNU Mach NIC update patch, it should be avaiable at in a while (hours more like it). Were these all the PCI ID's for eepro100.c in Linux 2.4.23? If not, then could you submit a patch that adds the missing ones? --...
https://lists.debian.org/debian-hurd/2004/10/msg00037.html
CC-MAIN-2014-15
refinedweb
188
69.68
A Basic Branch and Bound Solver in Python using Cvxpy Branch: $ \max v \cdot x$ s.t. $ \sum_i s_i x_i<= capacity $, $ x \in {0,1}$. The basic heuristic I’m using is to branch on variables that are either 0 or 1 in even the relaxed solution. The alternative branch hopefully gets pruned fast. import cvxpy as cvx import c...
https://www.philipzucker.com/a-basic-branch-and-bound-solver-in-python-using-cvxpy/
CC-MAIN-2021-39
refinedweb
805
63.46
Solving problem is about exposing yourself to as many situations as possible like What are “named tuples” are “named tuples” in Python?, which can be followed any time. Take easy to follow this discuss. Reading the changes in Python 3.1, I found something… unexpected: The sys.version_info tuple is now a named tuple: I ...
https://discuss.dizzycoding.com/what-are-named-tuples-in-python/
CC-MAIN-2022-33
refinedweb
1,494
58.99
You can subscribe to this list here. Showing 4 results of 4 This release adds the following functionality: * Job queueing and notification * umlsh console * uml_mconsole con/ssl handling bugfixes Job handling allows a job to be processed in the background. Currently only one job is performed at any time, so they are qu...
http://sourceforge.net/p/user-mode-linux/mailman/user-mode-linux-devel/?viewmonth=200302&viewday=19
CC-MAIN-2015-48
refinedweb
858
60.82
(Planet image by David A. Aguilar (CfA), Some rights reserved) Despite the Hadoop hype machine crunching away, not everyone is fond of that little yellow elephant. In fact, some fear it. But why should the cute mammal and the innovative data processing technology that it represents raise anxiety levels? Everyone has th...
https://www.xplenty.com/blog/fear-hadoop-planet/
CC-MAIN-2018-30
refinedweb
1,553
61.87
23917/why-are-you-not-able-to-declare-a-class-as-static-in-java Why are you not able to declare a class as static in Java? Declare your class like this: public class eOAuth { private eOAuth(){} public final static int ECodeOauthInvalidGrant = 0x1; public final static int ECodeOauthUnknown = 0x10; public static GetSomeS...
https://www.edureka.co/community/23917/why-are-you-not-able-to-declare-a-class-as-static-in-java?show=48961
CC-MAIN-2021-39
refinedweb
208
68.06
* A friendly place for programming greenhorns! Big Moose Saloon Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies Register / Login Win a copy of JavaScript Promises Essentials this week in the JavaScript forum! JavaRanch » Java Forums » Java » Threads and Synchronization Author Interview Qu...
http://www.coderanch.com/t/618959/threads/java/Interview-listener-deregisters-time-observable
CC-MAIN-2014-49
refinedweb
1,775
62.78
Gatsby is a free and open-source framework based on React that helps developers build blazing-fast websites and apps. It allows you to build apps using modern web technologies with no headaches at all. Gatsby also comes shipped with features like server-side rendering and the ability to generate static progressive web ...
http://blog.logrocket.com/set-up-a-typescript-gatsby-app/
CC-MAIN-2019-43
refinedweb
2,529
57.37
Hi guys, being a beginner I have some trouble with pointers. I don't know but something about using pointers is just not getting clear to me. My assignment requires that from an array of given values, the user inputs a particular integer whose every occurrence with in the array should be deleted and the size of the arr...
https://www.daniweb.com/programming/software-development/threads/155626/deleting-an-index-of-array-using-pointers
CC-MAIN-2018-05
refinedweb
229
62.78
Floor division is a normal division operation except that it returns the largest possible integer. This integer is either less than or equal to the normal division result. Floor function is mathematically denoted by this ⌊ ⌋symbol. Let’s understand this concept through the slides below: Several programming languages ha...
https://www.educative.io/answers/floor-division
CC-MAIN-2022-33
refinedweb
110
56.66
Internet Speed Test using Python Hello there, I am attending a Technical Writing Bootcamp at @hashnode. Hashnode Bootcamp III is a free virtual Bootcamp to help beginner technical writers to improve their writing skill. This article is inspired by the latest session by Sam Julien, @samjulien TASK: Write 1 TIL format bl...
https://ayushi7rawat.hashnode.dev/internet-speed-test-using-python?guid=none&deviceId=ac498df2-685e-4926-8c0b-0daf1c796938
CC-MAIN-2021-31
refinedweb
569
76.72
The following thread appeared in the forum, pointing out that the current drawn through the VB pin (RTC battery back up pin) was observed to be a lot higher than expected. Specifically, the report was 175uA, whereas the datasheet for the LPC1768 suggests it should be around 27uA. The forum thread in question is here : ...
http://mbed.org/users/chris/notebook/rtc-battery-backup-current/
crawl-003
refinedweb
1,050
77.16
CodePlexProject Hosting for Open Source Software I will officially give someone a cookie if they can get Json.Net into WinRT. I will when VS2012 is RTM, although that won't be until halfway through next year. You're welcome to do it yourself and submit the source code. Beyond changing some namespace declarations and so...
http://json.codeplex.com/discussions/273145?ProjectName=json
CC-MAIN-2013-48
refinedweb
109
84.98
== operator.... Ganeshkumar cheekati Ranch Hand Joined: Oct 13, 2008 Posts: 362 posted Dec 11, 2008 03:03:00 0 SOURCE: class MWC109 { public static void main(String args[]) { String a = "A", b = "B", c = a+b, d = a+b; System.out.print(([B](a+b)==(a+b)[/B]) + ","); System.out.print([B](c==d)[/B] + ","); System.out.prin...
http://www.coderanch.com/t/418197/java-programmer-SCJP/certification/operator
CC-MAIN-2015-22
refinedweb
952
60.85
. Python and Microsoft Excel If you’ve looked for examples of using Python and Office, you’ll usually find that the most often hacked component is Excel. In fact, there are several non-PyWin32 modules specifically created to read and write Excel files. They are called xlrd and xlwt, respectively. But that’s a topic for...
https://www.blog.pythonlibrary.org/2010/07/16/python-and-microsoft-office-using-pywin32/
CC-MAIN-2021-31
refinedweb
1,186
66.74
The select package While tinkering on a project, I frequently found myself having to make FFI calls to select(2). This package provides an interface to that system call.. TODO: Return the error code specified by errno if select fails. Possibly move the select retry code from C to Haskell. Reorder functions to make the ...
https://hackage.haskell.org/package/select-0.4
CC-MAIN-2015-11
refinedweb
138
59.7
. . . . .2. . . . . . . . . . . . . . . . . .2. . . . . . . . . . . . .4. . . . . . . . 2. . . . . . . .2 2. . .4. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . SMTP Preprocessor . . . . . . . . . . . .3. . . . . . . . . . . . . . . . . . . . . . Performance Monitor . . . . . . . . .11 SSL/TLS ...
https://www.scribd.com/doc/52871359/snort-manual
CC-MAIN-2016-50
refinedweb
57,687
60.82
This is something I picked up recently. I am unsure what the best practices are-- but the method I picked up appears to work. What you will need is a compiler (we will be using GCC), and of course, Python. We begin by writing some C code we want to compile into a library. For demonstration, I wrote some simple code. No...
https://www.dreamincode.net/forums/topic/252650-making-importing-and-using-a-c-library-in-python-linux-version/
CC-MAIN-2019-47
refinedweb
429
73.47
I am currently reading an analog value on my photon and can see that reading in console thanks to Ric and bdub (cheers) i would like to see that value on my website which i have created on wordpress, is this possible and how would i go about doing it. i have tryed following a few tutorials but had no successhere is my ...
https://community.particle.io/t/wordpress-and-subscribe/29278/9
CC-MAIN-2017-26
refinedweb
1,406
61.77
and give me more feedback regarding my code for this, I'm really struggling with this code. I've even watched you tube tutorials on this but I don't seem to be getting it right, I am getting a SyntaxError.' } def morsify(string): ans = ' ' for char in string: ans.append (morse_dict[char]) return "".join(ans) print mor...
https://teamtreehouse.com/community/hi-could-you-please-help-me-and-give-me-more-feedback-regarding-my-code-for-this-im-really-struggling-with-this-code
CC-MAIN-2021-49
refinedweb
407
73.17
Introduction Writing Windows services never was an easy thing, and it remains quite rarely explained in contemporary technical programming manuals, compared to other types of Windows applications in spite the fact that the family of Windows NT-based operation systems already has a long history at the moment. A more con...
http://mobile.codeguru.com/cpp/w-p/system/services/article.php/c14379/SFL-20-Service-Framework-Library-for-Native-Windows-Service-Applications-Part-1.htm
CC-MAIN-2017-43
refinedweb
1,456
53.21
#include <wx/bitmap.h>). Note that all available wxBitmapHandlers for a given wxWidgets port are automatically loaded at startup so you won't need to use wxBitmap::AddHandler./pointers: wxNullBitmap Default constructor. Constructs a bitmap object with no data; an assignment or another member function such as Create() o...
https://docs.wxwidgets.org/3.1.3/classwx_bitmap.html
CC-MAIN-2021-43
refinedweb
641
60.01
In this section, we will learn to write methods which can return something. First see an example: class Add{ public static int add_int(int x,int y){ return x+y; } public static void main(String[] args){ int z; z = add_int(2,4); System.out.println(z); } } add_int(int x,int y) - This part of code should be clear that 'ad...
https://www.codesdope.com/java-get-values-from-method/
CC-MAIN-2017-43
refinedweb
781
67.15
TWC9: SQL Azure, MVC 2, New Channel 9 Content - Posted: Oct 02, 2009 at 5:48 PM - 52,776. - CodePlex - SQL Azure Explorer project gives you great built-in tools for Visual Studio to visually explore your SQL Azure databases. This is my interesting... When Channel 9 supply those documents or more details about them ??? ...
http://channel9.msdn.com/Shows/This+Week+On+Channel+9/TWC9-SQL-Azure-MVC-2-New-Channel-9-Content
CC-MAIN-2014-42
refinedweb
358
72.05
Red Hat Bugzilla – Full Text Bug Listing strace-4.5.14-0.EL4.1.x86_64 On x86-64, with a 32-bit binary. 1. gcc -m32 -o writex writex.c 2. sudo strace -o foo -v ./writevx 127.0.0.1 22 [ Process PID=4407 runs in 32 bit mode. ] umovestr: Input/output error umovestr: Input/output error Created attachment 142573 [details] wr...
https://bugzilla.redhat.com/show_bug.cgi?format=multiple&id=218043
CC-MAIN-2017-26
refinedweb
291
80.99
Woo hoo! Just got that same thrill. Python + MXS Hi, Again thanks ehulser for sharing the dlx. I’m having the same problem like what cgBartosz has encountered. I’m currently running python 2.5.1. It seems like you can import all the built in modules without any error within max. But when you try to import other library...
http://forums.cgsociety.org/t/python-mxs/1066622?page=7
CC-MAIN-2019-22
refinedweb
1,944
70.43
This article has been excerpted from book "The Complete Visual C# Programmer's Guide" from the Authors of C# Corner.BufferedStream Class The BufferedStream class also extends the Stream class. Buffers, or cached blocks of data in memory, provide speed and stability to the process of reading or writing because they prev...
http://www.c-sharpcorner.com/uploadfile/puranindia/bufferedstream-memorystream-and-characterstream-class-in-C-Sharp/
CC-MAIN-2015-11
refinedweb
602
58.18
If it: - Looks like it took 10 seconds to write. - Doesn't elicit a laugh from you. - Is not something you can picture someone laughing at. - Does not make any intelligible sense, and is not funny being unintelligent. - Is not contributing to ease of management of the Wiki as a whole (this includes pages such as this p...
http://uncyclopedia.wikia.com/wiki/Uncyclopedia:Deletion_Policy?diff=prev&oldid=266857
CC-MAIN-2015-32
refinedweb
124
74.79
Открыть конфигурационный файл #include <cfgopen.h>int cfgopen( const char *path,unsigned flags,const char *historical,char *namebuf,int nblen ); NULLto ignore this option. NULLto ignore this option. 0to ignore this option. libc: You can also include any combination of these bits in the value of flag: 0644, the file's u...
https://help.kpda.ru/help/topic/ru.kpda.doc.os_ru/html/libraries/libc/c/cfgopen.html
CC-MAIN-2022-21
refinedweb
210
55.84
Problem Automatically Downloading Files With Wget You can see them, if you go to their web page. Each one is of the form: "NNN" is a unique level. Now if I do (say): % wget the download succeeds, but the file is saved with a name of "download.php?id=852". If I do: % wget --spider --debug" I can see from the debug messa...
http://blogs.sun.com/richb/entry/problem_automatically_downloading_files_with
crawl-002
refinedweb
513
67.86
#include <numaif.h> int mbind(void *addr, unsigned long len, int mode, unsigned long *nodemask, unsigned long maxnode, unsigned flags); Link with -lnuma.() only has an effect or MPOL_PREFERRED. All policy modes except MPOL_DEFAULT require the caller to specify via the nodemask argument, the node or nodes to which the m...
http://www.makelinux.net/man/2/M/mbind
CC-MAIN-2014-41
refinedweb
208
66.23
Hello once again, I'm trying to write a program that reads input until a '@' is typed in...also, I want to echo the input only without digits, and also convert any uppercase letters to lowercase and vice versa...I have this so far but I'm getting a couple of errors and I'm curious why....any help would be great. Thanks...
http://cboard.cprogramming.com/cplusplus-programming/56747-help-program.html
CC-MAIN-2014-42
refinedweb
110
78.04
This command gets the list of attributes on a node or node type and creates nodes of type TdnAffect, one for each attribute, that are connected iff the source node’s attribute affects the destination node’s attribute. In query mode, return type is based on queried flag. Derived from mel command maya.cmds.affectedNet Ex...
http://www.luma-pictures.com/tools/pymel/docs/1.0/generated/functions/pymel.core.general/pymel.core.general.affectedNet.html#pymel.core.general.affectedNet
crawl-003
refinedweb
115
58.38
The author selected the Open Internet/Free Speech Fund to receive a donation as part of the Write for DOnations program. Introduction It is nearly impossible to build websites that work perfectly the first time without errors. For that reason, you need to test your web application to find these errors and work on them ...
https://www.xpresservers.com/tag/unit/
CC-MAIN-2020-24
refinedweb
1,547
74.08
std::cerr, std::wcerr The global objects std::cerr and std::wcerr control output to a stream buffer of implementation-defined type (derived from std::streambuf and std::wstreambuf, respectively), associated with the standard C error output stream stderr. These objects are guaranteed to be initialized during or before t...
https://en.cppreference.com/w/cpp/io/cerr
CC-MAIN-2020-50
refinedweb
313
51.18
#include <IpJournalist.hpp> Inheritance diagram for Ipopt::Journalist: This class is responsible for all messaging and output. The "printing" code or "author" should send ALL messages to the Journalist, indicating an appropriate category and print level. The journalist then decides, based on reader specified acceptance...
http://www.coin-or.org/Doxygen/CoinAll/class_ipopt_1_1_journalist.html
crawl-003
refinedweb
385
50.33
Down the road, I was going to test out I could use this pattern to create a ProductBuilder (such as ALTA.BLK.LARGE.US) that I could use at my workplace. Much further down the road, I was going to experiment with creating a TestBuilder, where I could set different test parameters, such as placing a standard shopping car...
http://www.tjmaher.com/2016/05/addressbuilder-builder-pattern-example.html
CC-MAIN-2019-51
refinedweb
1,407
55.54
git-cohttp-mirage Support for on-disk and in-memory Git stores. Can read and write all the Git objects: blobs, trees, commits and tags. It can also handle pack files, pack indexes and index files (where the staging area lives - only for git-unix package). All the objects share a consistent API, and convenience function...
https://ocaml.org/p/git-cohttp-mirage/3.3.3
CC-MAIN-2022-27
refinedweb
938
60.21
This documentation is archived and is not being maintained. How to: Read a Text File (C++/CLI) Visual Studio 2010 The following code example demonstrates how to open and read a text file one line at a time. This is accomplished with the StreamReader class defined within the System.IO namespace. An instance of this clas...
https://msdn.microsoft.com/en-us/library/y52yxde8(v=vs.100).aspx
CC-MAIN-2017-47
refinedweb
183
66.44
Custom Site Settings Sometimes you may need to persist some global settings (eg. license code, service login, default width etc.) to be reused across your module. Orchard makes it really simple and I'll show you how to do it. Basically, there are two scopes you can define your settings in: - Site scope - for global sit...
http://docs.orchardproject.net/en/latest/Documentation/Adding-custom-settings/
CC-MAIN-2017-51
refinedweb
492
50.84
getcchar - get a wide character string and rendition from a cchar_t #include <curses.h> int getcchar(const cchar_t *wcval, wchar_t *wch, attr_t *attrs, short *color_pair, void *opts); When wch is not a null pointer, the getcchar() function extracts information from a cchar_t defined by wcval, stores the character attri...
http://www.opengroup.org/onlinepubs/007908799/xcurses/getcchar.html
crawl-001
refinedweb
219
51.58
Although Bill Gates says it won’t happen, here are 10 things I’d like to see if Microsoft would acquire Disney: 10. Free passes to Epcot Center for all MSDN Universal subscribers. 9. Scoble exchanges butterfly suit for Sorcerer’s Apprentice Mickey outfit. 8. Windows ships with “It’s A Small World After All” as startup ...
http://odetocode.com/Blogs/scott/archive/2004/03/04/if-microsoft-would-only-buy-disney.aspx
CC-MAIN-2014-35
refinedweb
199
68.16
#include <wx/thread.h> wxSemaphore is a counter limiting the number of threads concurrently accessing a shared resource. This counter is always between 0 and the maximum value specified during the semaphore creation. When the counter is strictly greater than 0, a call to wxSemaphore::Wait() returns immediately and decr...
http://docs.wxwidgets.org/3.0/classwx_semaphore.html
CC-MAIN-2018-34
refinedweb
218
60.45
Asked by: Export the Workflow details history Hi, I have difficulties in export the workflow details history(which usually on the third page) together with all the data on the first page. For example, from one list, there are about 100 issues listed and each issues have its own workflow details history. If we want to v...
http://social.msdn.microsoft.com/Forums/en-US/9a4284ac-128a-4ac6-9b26-e8deaf9d87bf/export-the-workflow-details-history?forum=sharepointcustomizationlegacy
CC-MAIN-2014-15
refinedweb
438
64.51
So now here we are, having tried to handle errors in Google App Engine...and failed all because silly DeadlineExceededError jumps over Exception in the inheritance chain and goes right for BaseException. How can we catch these in our handlers while staying Pythonic? First and foremost, in the case of a timeout, we need...
https://blog.bossylobster.com/2011/11/python-metaclass-for-extra-bad-errors.html
CC-MAIN-2016-36
refinedweb
642
52.49
From: Joel de Guzman (joel_at_[hidden]) Date: 2004-07-25 22:27:35 Gennadiy Rozental wrote: >>FYI, latest changes to the aforementioned >>file seem to break things for msvc-stlport, >>as shown for instance at: > > > Dave tried to use "using namespace std" solution. It's already fixed in cvs. BTW, you need to special cas...
https://lists.boost.org/Archives/boost/2004/07/69129.php
CC-MAIN-2021-43
refinedweb
115
67.45
Data extraction involves pulling data from different sources and converting it into a useful format for further processing or analysis. It is the first step of the Extract-Transform-Load pipeline (ETL) in the data engineering process. Data is not always available as a CSV file. Sometimes you will need to combine data t...
https://ramseyelbasheer.io/2021/06/08/what-is-data-extraction-python-review-of-json-xml-apis-sql-and-csv-formats/
CC-MAIN-2021-25
refinedweb
768
66.54
Capturing console messages to a log - BetterAuto Pybytes Beta last edited by BetterAuto I want to capture all console output such as debug messages and uncaught exceptions to a log file. I created the following code but it's not working. It does grab the console as expected. Also, if I comment out dupterm I can console...
https://forum.pycom.io/topic/1523/capturing-console-messages-to-a-log/5
CC-MAIN-2019-39
refinedweb
177
68.26
Objective works? While using the Printing support classes, eventually Silver Light application opens the Printing Dialog box like below. What is new in Silver Light 4.0 for printing support? Answer is PrintDocument class. This class provides events and function to achieve Printing in Silver Light application. PrintDocu...
https://debugmode.net/2009/11/23/169/
CC-MAIN-2022-05
refinedweb
314
61.33
-Advertisement - OSI-Approved Open Source (29) - Creative Commons Attribution License (1) - Public Domain (1) - Linux (27) - Grouping and Descriptive Categories (26) - Windows (24) - Mac (23) - BSD (11) - Modern (9) - Android (4) - Other Operating Systems (4) Site Management Software - Link Checking - Hot topics in Sit...
https://sourceforge.net/directory/internet/www/sitemanagement/license:other/license:gpl/
CC-MAIN-2017-47
refinedweb
412
54.73
These instructions tell you how to setup and program the ATtiny85 microcontroller from a Raspberry Pi via the SPI interface. Lots of people use the Ardiuno to do this (then you can use the Arduino IDE and simplified C commands), or you can use a USB based programmer. I do not have an Ardiuno and don't want to buy a ded...
https://www.instructables.com/id/Programming-the-ATtiny85-from-Raspberry-Pi/
CC-MAIN-2019-43
refinedweb
1,190
73.78
17 February 2012 02:39 [Source: ICIS news] SINGAPORE (ICIS)--?xml:namespace> The aromatics unit can produce 220,000 tonnes/year of benzene, 250,000 tonnes/year of toluene and 680,000 tonnes/year of isomer-grade xylene (IX), the source said. The company will also shut its 530,000 tonne/year paraxylene (PX) plant at The ...
http://www.icis.com/Articles/2012/02/17/9533091/chinas-zrcc-to-shut-aromatics-px-units-for-maintenance.html
CC-MAIN-2014-42
refinedweb
112
55.07
This has been mentioned before -- at least by myself, perhaps by others, too -- but the Subversion folks would *really* like to see APR grow a gimme-a-temp-directory function. The following is the code portion from Python2.2's tempfile module whereby a list of places to try as valid temp directories is assembled: attem...
http://mail-archives.apache.org/mod_mbox/apr-dev/200211.mbox/%3Cm3znsd77xf.fsf@localhost.localdomain%3E
CC-MAIN-2015-11
refinedweb
292
58.79
Known issues with Microsoft Graph This article describes known issues with Microsoft Graph. For information about the latest updates, see the Microsoft Graph changelog. Users No instant access after creation Users can be created immediately through a POST on the user entity. An Office 365 license must first be assigned...
https://docs.microsoft.com/en-us/graph/known-issues?toc=./ref/toc.json&view=graph-rest-1.0
CC-MAIN-2019-22
refinedweb
855
52.6
Abstract A proposal for a new Atom construct, "template" whose contents are opaque to the protocol but can be interpreted by clients and servers using the media type of the template. Status New Rationale Many content management systems also allow the management of templates which determine how content will be transform...
http://www.intertwingly.net/wiki/pie/PaceTemplateConstruct
crawl-003
refinedweb
432
54.83
Detect movement, then scare the heck out of an intruder with a high pitched alarm sounds and flashing lights. Does that sound fun? Of course it does. That’s the goal of today’s Arduino project, suitable for beginners. We’ll be writing completely from scratch and testing as we go along so you can hopefully get some idea...
http://www.makeuseof.com/tag/how-to-make-a-simple-arduino-alarm-system/
CC-MAIN-2016-22
refinedweb
1,466
69.41
Froody::Dispatch - Easily call Froody Methods use Froody::Dispatch; my $dispatcher = Froody::Dispatch->new(); my $response = $dispatcher->call( "foo.bar.baz", fred => "wilma" ); or, as a client: $client = Froody::Dispatch->new; # uses reflection to load methods from the server $client->add_endpoint( "uri" ); # look mah...
http://search.cpan.org/~fotango/Froody-42.041_2/lib/Froody/Dispatch.pm
CC-MAIN-2017-04
refinedweb
650
56.35
In 1637, Pierre de Fermat wrote in the margin of a book that he had a proof of his famous "Last Theorem": If $A^n + B^n = C^n$, where $A, B, C, n$ are positive integers then $n \le 2$. Centuries passed before Andrew Beal, a businessman and amateur mathematician, made his conjecture in 1993: If $A^x + B^y = C^z$, where ...
http://nbviewer.jupyter.org/url/norvig.com/ipython/Beal.ipynb
CC-MAIN-2017-22
refinedweb
3,013
63.73
Hi Stefano, thanks for tackling this! On removal of glob_sequence pattern we can also remove is_glob function (and therefore adjust read_probe). Just writing it here as a reminder that we not forget about that. Stefano Sabatini wrote: > Allow to override the default 'glob_sequence' value, which is deprecated > in favor...
http://ffmpeg.org/pipermail/ffmpeg-devel/2012-August/129089.html
CC-MAIN-2014-35
refinedweb
464
53.51
FAQs Search Recent Topics Flagged Topics Hot Topics Best Topics Register / Login Win a copy of Modern JavaScript for the Impatient this week in the Server-Side JavaScript and NodeJS forum! Paul Ralph Ranch Hand 315 46 Threads 0 Cows since Aug 10, 2000 (315/100) Number Threads Started (46 (315/10) Number Threads Started...
https://www.coderanch.com/u/2190/Paul-Ralph
CC-MAIN-2020-40
refinedweb
1,001
62.04
I am not sure of this is teh right forum to ask this question. If not, kindly direct me to the correct forum. I am trying to call a WMI command from a batch file like below: for /f "tokens=2 delims==" %%f in ('wmic /namespace:\some command /value ^| find "="') do set "val=%%f" IF "%val%"==""( echo Null. Exiting... Exit...
https://docs.microsoft.com/en-us/answers/questions/23106/comparing-strings-in-batch-files.html
CC-MAIN-2021-17
refinedweb
163
82.24
Examining the Windows AARD Detection Code A serious message--and the code that produced it Andrew Schulman Andrew is a contributing editor to DDJ, and coauthor of the books Undocumented DOS and Undocumented Windows. Portions of this article are excerpted from Undocumented DOS, Second Edition, (Addison-Wesley, 1993). If...
http://www.drdobbs.com/windows/examining-the-windows-aard-detection-cod/184409070?pgno=4
CC-MAIN-2015-48
refinedweb
5,499
53.71
Why most Front End Dev interviews (#JavaScript #Typescript) are Shit Kristian Ivanov Originally published at hackernoon.com on ・12 min read I am sorry I din’t censored shit, but shit pretty much === s**t and everyone would know what I mean either way. First of all a bit of a back story I am changing my job ( wohoo for ...
https://dev.to/k_ivanow/why-most-front-end-dev-interviews-javascript-typescript-are-shit-2hc
CC-MAIN-2020-16
refinedweb
3,736
72.46
I was wondering how are layer weights and biases initialized by default? E.g. if I create the linear layer torch.nn.Linear(5,100) How are weights and biases for this layer initialized by default? Linear layers are initialized with stdv = 1. / math.sqrt(self.weight.size(1)) self.weight.data.uniform_(-stdv, stdv) if self...
https://discuss.pytorch.org/t/how-are-layer-weights-and-biases-initialized-by-default/13073
CC-MAIN-2022-33
refinedweb
789
68.67
REST API testing tool Project description DBGR Dbgr [read 'ˌdiːˈbʌɡər'] is a terminal tool to test and debug HTTP APIs. It is a alternative to Postman or Insomnia. DBGR strives to give you better control over the requests that and at the same time allow you to write your own python code to process the results. Content ...
https://pypi.org/project/dbgr/1.0.2/
CC-MAIN-2021-39
refinedweb
1,574
58.18
Integrating WebSockets and JMS with CDI Events in Java EE 7 By BrunoBorges-Oracle :-) Nice article! About the session bean; the @LocalBean annotation is not needed, this is already the default if no business interface is present. @LocalBean is only needed if you want both a no-interface view and either a local- or remo...
https://blogs.oracle.com/brunoborges/entry/integrating_websockets_and_jms_with
CC-MAIN-2016-07
refinedweb
1,635
60.95
Creating Unit Tests In Android, unit testing is based on JUnit, and plane use of JUnit is enough to test the features that are exclusively based on Java code. However, to test Android-specific functionality you need a bunch of wrapper classes built on top of JUnit. IntelliJ IDEA streamlines most of the tasks around the...
https://www.jetbrains.com/help/idea/2017.2/creating-unit-tests.html
CC-MAIN-2018-39
refinedweb
874
58.01
Introduction: How to Write a Simple C++ Program In this tutorial, you will learn how to write a program in the C++ programming language. This will go over 10 steps that will explain a simple C++ program. The topics that each step cover in this tutorial are often used in more complex C++ programs. This is only a simple ...
https://www.instructables.com/How-to-Write-a-Simple-C-Program/
CC-MAIN-2022-21
refinedweb
1,969
63.8
This happens to be the first PDC for me. This year a lot of new technologies has been unveiled during the keynotes. One of the most focused is the Windows Azure. This happens to be the one stop shop for building and deploying your service oriented application from local to remote. We all know how slow it is to build se...
http://weblogs.asp.net/mehfuzh/archive/2008/11/09/retrospective-of-pdc-2008-from-my-view.aspx
crawl-003
refinedweb
533
73.68
This is the case where /cit/computer.yml contains the "Computer Name:" which has the value of the i5 TCP Line name instead of the DNS hostname. Can this name just be replaced by the DNS hostname instead? Concern is if later updating the scanner code will it again use the TCP Line name instead of the DNS hostname. How t...
https://developer.ibm.com/answers/questions/387324/can-we-rename-the-iseries-computer-name-that-is-in.html
CC-MAIN-2019-35
refinedweb
252
62.58
I am reading the new book, Windows Internals 5 about memory management (chapter 9 in Physical Address Extension PAE section). It is mentioned "A 32-bit system represents physical addresses internally with 24 bits" on page 770. I am totally confused, and I think x86 physical memory should be also addressed by 32-bit, an...
http://serverfault.com/questions/67074/windows-x86-physical-memory-is-24-bit
CC-MAIN-2015-32
refinedweb
625
60.04
Django Django is an open source Web development framework for the Python language that aims to automate as many processes as possible, allowing you to focus on developing software without worrying about reinventing the wheel. The framework is designed to be loosely coupled and tightly cohesive, meaning that different p...
http://www.ibm.com/developerworks/opensource/library/os-django/index.html
CC-MAIN-2013-48
refinedweb
4,972
54.32
It is very difficult to find a convincing practical example that uses attributes that is general enough to convey the principles and ideas. If you look at the way attributes are used in C# and in the Framework you will soon discover that they have a limited application without extending the way that they behave to affe...
http://www.i-programmer.info/programming/c/972-custom-attributes.html?start=4
CC-MAIN-2013-48
refinedweb
622
56.69
Re: counting nils in a list - From: nick_keighley_nospam@xxxxxxxxxxx - Date: Mon, 16 Mar 2009 07:58:36 -0700 (PDT) On 14 Mar, 19:18, p...@xxxxxxxxxxxxxxxxx (Pascal J. Bourguignon) wrote: david <not...@xxxxxxxxx> writes: i was inspired by this code from graham's acl: [...] to write a little program to generate forsythe ...
http://coding.derkeiler.com/Archive/Lisp/comp.lang.lisp/2009-03/msg00671.html
CC-MAIN-2015-35
refinedweb
416
72.05
Counting uppercase? Part 3 Stacey Johnson Ranch Hand Joined: Jan 11, 2004 Posts: 55 posted Feb 14, 2004 11:41:00 0 Hi out there, Okay I'm slowly figuring things out, my biggest problem was the "isUpperCase()" method, and I don't know if I've fully fixed it. My program does compile now but when I enter a string into th...
http://www.coderanch.com/t/395574/java/java/Counting-uppercase-Part
CC-MAIN-2015-35
refinedweb
1,537
72.26
Hi Jim, > From: Jim Meyering > > Is Visual Studio C++ 6.0 an important (by some measure) > development platform? Let's just say the story of Microsoft, Windows and their tools is a well known and in some circles beloved story. > Isn't there a more-nearly POSIX-conforming > development environment that you can use? Stri...
http://lists.gnu.org/archive/html/bug-cvs/2004-05/msg00186.html
CC-MAIN-2014-10
refinedweb
264
57.57
When you request any page into MVC Application, it will go through the Routing Architecture. Your Routing system will decide your URL pattern. The default routing algorithm is like {controller}/ {action}/ {id} patterns. But it can be possible to change that pattern using Custom Routes. {controller}/ {action}/ {id} In t...
http://www.codeproject.com/Articles/299531/Custom-routes-for-MVC-Application
CC-MAIN-2013-20
refinedweb
969
66.13
LPC4088 Experiment Base Board - Projects LPC4088 Experiment Bundle This page lists a large number of projects for the LPC4088 Experiment Base Board, which together with the LPC4088 QuickStart Board forms the LPC4088 Experiment Bundle. Below is a picture of this bundle. List of projects - Demo application (contains exam...
https://os.mbed.com/users/embeddedartists/notebook/lpc4088-experiment-base-board---projects/
CC-MAIN-2017-43
refinedweb
1,048
55.84
Introduction to PHP OOP Interview Questions and Answers PHP (Hypertext Pre-processor) is a server-side scripting language used in web development which is based on Object-Oriented Programming (OOP) language. It was designed primarily based on the C++ programming language. It is also used as a general-purpose programmin...
https://www.educba.com/php-oop-interview-questions/
CC-MAIN-2020-16
refinedweb
1,340
62.27
TL;DR – A Python queue is a linear data structure, similar to a stack. Contents How to use a queue in Python To start building Python queues, you need to import the queue Python module first: import queue Python 1.4 and all the newer versions have this module available for use. It allows you to implement Python multith...
https://www.bitdegree.org/learn/python-queue
CC-MAIN-2022-40
refinedweb
377
60.82
Calling an object from another class and printing out result - any help? celine scarlett Ranch Hand Joined: Nov 06, 2005 Posts: 93 posted Nov 19, 2005 17:08:00 0 Hi, I have written a class called Title, which contains information about films, including the title, lead actors, director etc. This information is stored i...
http://www.coderanch.com/t/378392/java/java/Calling-object-class-printing-result
CC-MAIN-2015-48
refinedweb
866
60.75
I want select an area and rotate is content. But this content mustn't be scaled (it's why FitInside and FitOuside are not good) and without black zone (or zone is outside of the picture). If you prefer i want : 1- select an area, 2- rotate picture with area center as transform center, 3- crop the rotated picture Edit: ...
http://developer.nokia.com/community/discussion/showthread.php/241537-Nokia-Imaging-SDK-Feedback-(Competition)?p=924405&viewfull=1
CC-MAIN-2014-42
refinedweb
2,558
51.78