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
In order to avoid the difficulties inherent in parsing raw XML input, almost all programs that need to process XML documents rely on an XML parser to actually read the document. The parser is a software library (in Java it’s a class) that reads the XML document and checks it for well-formedness. Client applications use...
http://www.cafeconleche.org/books/xmljava/chapters/ch05s02.html
CC-MAIN-2019-09
refinedweb
5,692
61.67
Conversion error when launching OData v4 Client Code Generator I have an OData service that returns the /$metadata following from an endpoint : <edmx:Edmx <edmx:DataServices xmlns: <Schema Namespace="(...)" xmlns: <!-- ... --> </Schema> </edmx:DataServices> </edmx:Edmx> When I try to run OData v4 Client Code Generator ...
https://daily-blog.netlify.app/questions/2222703/index.html
CC-MAIN-2021-21
refinedweb
255
58.89
Basement.Compat.Base Description internal re-export of all the good base bits Synopsis - ($) :: (a -> b) -> a -> b - ($!) :: (a -> b) -> a -> b - (&&) :: Bool -> Bool -> Bool - (||) :: Bool -> Bool -> Bool - (.) :: Category k cat => forall (b :: k) (c :: k) (a :: k). cat b c -> cat a b -> cat a c - (<$>) :: Functor f =...
https://hackage.haskell.org/package/basement-0.0.7/docs/Basement-Compat-Base.html
CC-MAIN-2021-39
refinedweb
610
64.24
The implementation of a 'Class' type in ActionScript 3. More... #include <as_class.h> The implementation of a 'Class' type in ActionScript 3. A Class is a first-class type, i.e. it can be referenced itself in ActionScript. Although Classes are nominally 'dynamic' types, there seems to be no way to alter them in ActionS...
https://www.gnu.org/software/gnash/manual/doxygen/classgnash_1_1abc_1_1as__class.html
CC-MAIN-2021-43
refinedweb
132
59.7
can I get that change into hours/minutes. I can't simply subtract 12 from the input This course will introduce you to SQL Server Core 2016, as well as teach you about SSMS, data tools, installation, server configuration, using Management Studio, and writing and executing queries. But "military time" (like 1400) could ...
https://www.experts-exchange.com/questions/21184564/I'm-looking-to-convert-from-24hour-clock-to-12hour-using-a-set-driver.html
CC-MAIN-2018-30
refinedweb
928
76.72
public class SanderRossel : Lazy<Person> { public void DoWork() { throw new NotSupportedException(); } } Visual Studio 2010 says:Cannot implicitly convert type 'System.Data.DataRowView' to 'System.Data.IDataRecord'. An explicit conversion exists Visual Studio 2010 says:Unable to cast object of type 'System.Data.DataVie...
http://www.codeproject.com/Lounge.aspx?fid=1159&df=90&mpp=25&noise=3&prof=False&sort=Position&view=None&spc=None&select=4390109&fr=2077
CC-MAIN-2014-52
refinedweb
143
58.18
Join the 85,000 open source advocates who receive our giveaway alerts and article roundups. Open source code libraries for MARC-formatted records for Java, C#, and Perl 3 open source code libraries to handle MARC-formatted records Developers can use these libraries for Java, C#, and Perl. opensource.com Get the newslet...
https://opensource.com/article/17/4/bit-about-marc-handlers
CC-MAIN-2018-39
refinedweb
1,348
57.57
Hi, I have a dataframe in my DSS workflow which I want to change and store in a non-csv file within a folder. Assume my dataframe is called df and for the example you can recreate is as follows df = pd.DataFrame({"a": [1,2,3,4,5], "b": [6,7,8,9,10], "c": [11,12,13,14,15]}) I now want to add a few lines of comment above...
https://answers.dataiku.com/2314/output-tab-file-to-managed-folder-in-dss
CC-MAIN-2019-22
refinedweb
242
68.06
I'm not sure what's happening in my code. But I'm trying the excercice in notepad++ and load it into python terminal. [code is not complete, I'm just not sure why I get this output] When I import the code it prints all the "print" after the for loop like it is in the for loop for. I assume it's because it has text[c] i...
https://discuss.codecademy.com/t/7-reverse-for-loop-problem/18346/2
CC-MAIN-2017-39
refinedweb
325
80.41
Sometimes a mobile application needs to know when it becomes active or inactive. React Native provides the AppState API for this. There are several ways to use this API, including a new one that my colleagues and I just released. In React Native, the AppState API lets you check the current state of the application with...
http://brianyang.com/react-native-appstate/
CC-MAIN-2017-47
refinedweb
483
51.07
I have a trivial resize function that just doubles array size when original list is full. From what I see, C++ treats unset indices as "empty" with values of 0. After I declared new double-sized array and copied elems from old list, I tried to output it in main but once it goes past last index w/ an item, it starts pri...
http://cboard.cprogramming.com/cplusplus-programming/149631-resize-array-values-empty-indices.html
CC-MAIN-2014-35
refinedweb
254
69.86
Added tarball of v3.1 source to the "View All Files" download page. Added tarballs of the source in 'v4.0' and 'trunk' directories to the download page. Branched off v4.0 of the HLA stdlib. Also renamed the "working" directory to "trunk" in order to match the SVN documentation and SVN common usage. Fixed the pat.onePat...
http://sourceforge.net/p/hla-stdlib/news/
CC-MAIN-2014-23
refinedweb
356
68.97
On Fri, 16 Nov 2007 16:52:34 +0100 Daniel Lezcano wrote:> > +1. Both the IPC and the PID namespaces provide IDs to address> > + object inside the kernel. E.g. semaphore with ipcid or> > + process group with pid.> > +> > + In both cases, tasks shouldn't try exposing this id to some> > + other task living in a different ...
http://lkml.org/lkml/2007/11/16/136
CC-MAIN-2016-30
refinedweb
174
63.39
Closed Bug 609114 Opened 9 years ago Closed 9 years ago use freetype's configure script configure its build rather than hard coding the makefile Categories (Firefox Build System :: General, defect) Tracking (fennec2.0b3+) mozilla2.0b8 People (Reporter: blassey, Assigned: blassey) References Details Attachments (1 file,...
https://bugzilla.mozilla.org/show_bug.cgi?id=609114
CC-MAIN-2019-51
refinedweb
655
55.34
Using a codec in a Grails unit test February 24, 2010 14. A couple of typos: I wrapped the XSS attack in a <script> tag, but of course when I posted the result here the tag was lost. I should have escaped the angle brackets. Also, in the last code listing, the method is loadCodec, not loadCode. Thanks! Had the very sam...
https://kousenit.org/2010/02/24/using-a-codec-in-a-grails-unit-test/
CC-MAIN-2019-22
refinedweb
398
60.72
very good one...thanks a lot very good one...thanks a lot Hi Everybody, I made a small sample about using HashMaps in Java ,and i hope to be useful to everyone what to know how to manipulate with it. /** * @author : Mohamed Saleh AbdEl-Aziz */... Thanks a lot helloworld922, It just a tip to view how to interact with bi...
http://www.javaprogrammingforums.com/search.php?s=3d9750d051b310451dd7dd21fbf16f73&searchid=246588
CC-MAIN-2016-36
refinedweb
500
62.64
Hello, im beginning to write a program to calculate the determinant of a 3x3 matrix - i need to read the elements of the matrix from an external file matrix.dat (contains 9 numbers, 3 rows, 3 columns seperated by spaces) I have written the first part of the program - reading from the file: It compiles but doesnt work, ...
http://cboard.cprogramming.com/c-programming/132211-reading-2d-array-file-compiles-but-doesnt-work-properly.html
CC-MAIN-2015-14
refinedweb
268
56.49
This page shows you how to reduce the risk of privilege escalation attacks in your cluster by telling Google Kubernetes Engine (GKE) to schedule your workloads on a separate, dedicated node pool away from privileged GKE-managed workloads. Overview GKE clusters use privileged GKE-managed workloads to enable specific clu...
https://cloud.google.com/kubernetes-engine/docs/how-to/isolate-workloads-dedicated-nodes
CC-MAIN-2022-27
refinedweb
1,124
51.48
Simple base32 encode/decode matching the base32 method used by Google Authenticator. Features: pub.dartlang.org: (you can use 'any' instead of a version if you just want the latest always) dependencies: base32: 0.0.7 import 'package:base32/base32.dart'; Start encoding/decoding ... // Encode a hex string to base32 base3...
https://pub.dartlang.org/packages/base32
CC-MAIN-2015-11
refinedweb
333
62.64
Hi, is there a reason why there is no monadic version of "until" in the Haskell libraries? It would be defined as follows: untilM :: (Monad m) => (a -> Bool) -> (a -> m a) -> a -> m a untilM p f x | p x = return x | otherwise = f x >>= untilM p f The same applies to scanM, also not part of the libraries: scanM :: (Mona...
http://www.haskell.org/pipermail/beginners/2009-January/000667.html
CC-MAIN-2014-42
refinedweb
133
78.72
Hello, I'm trying to bring some assemblies into my bin folder for my website. I've got some C# script on the page that references and uses the assemblies. It looks like this: Code: <%@> ... I can create a new MySqlConnection object just fine but it's the System.Windows.Forms object (or namespace?) that's giving me trou...
http://forums.codeguru.com/showthread.php?528939-assembly-reference-not-working-in-C-script&p=2090767
CC-MAIN-2014-35
refinedweb
762
61.56
As part of the ipyrad.analysis toolkit we've created convenience functions for easily distributing STRUCTURE analysis jobs on an HPC cluster, and for doing so in a programmatic and reproducible way. Importantly, our workflow allows you to easily sample different distributions of unlinked SNPs among replicate analyses, ...
https://nbviewer.org/github/dereneaton/ipyrad/blob/0.9.63/tests/cookbook-structure-pedicularis.ipynb
CC-MAIN-2021-43
refinedweb
2,120
59.09
SwiftBar plugin for storing text snippets Want to share your content on R-bloggers? click here if you have a blog, or here if you don't. Introduction I found that I was constantly referring to the IPython documentation to look up the code for the autoreload magic command and wished there was an easy place for me to kee...
https://www.r-bloggers.com/2022/01/swiftbar-plugin-for-storing-text-snippets/
CC-MAIN-2022-40
refinedweb
917
64.2
Top Core Java Interview QuestionsNIT Manager Core Java Interview Questions 1. Can we write static block within the method? Answer: No. Compiler will give error. public class Test{ public static void main(String[] args) { static{ } } } Compiletime Error: Illegal start of expression. 2. Can we write return statement with...
https://nareshit.com/core-java-interview-questions/
CC-MAIN-2021-39
refinedweb
2,929
58.18
Frequentism and Bayesianism II: When Results Differ In a previous post. While it is easy to show that the two approaches are often equivalent for simple problems, it is also true that they can diverge greatly for more complicated problems. I've found that in practice, this divergence makes itself most clear in two diff...
http://jakevdp.github.io/blog/2014/06/06/frequentism-and-bayesianism-2-when-results-differ/
CC-MAIN-2018-39
refinedweb
4,793
53
Also, you should never get into the habit of any 'using namespace' in general and std in particular in a header. Typing an extra std:: is not bad, adds a lot of clarity and the first time your polluted global namespace gives you hell you will understand the remaining point. I have no idea why, but I converted everythin...
http://www.gamedev.net/user/100490-nuclear-rabbit/?tab=reputation
CC-MAIN-2016-44
refinedweb
101
67.89
My IDE is eclipse and my project is a stand-alone javaFX application (pure CS architecture with OSGI framework). How to use Preloader thus the preloader would be started before my main Application and hid later? I found some code in But I still don't know how to deploy the Preloader with my startup Application in a OSG...
https://javafxpedia.com/en/knowledge-base/15126210/how-to-use-javafx-preloader-with-stand-alone-application-in-eclipse-
CC-MAIN-2020-50
refinedweb
821
50.67
Google Interview Question: Chain of strings There is a list of strings and they ask if it is possible create a chain of string using all the strings in the given list. A chain can be formed b/w strings if last char of the 1st string matches with 1st char of second string. (this question is taken from careercup) To give...
http://hevi.info/uncategorized/google-interview-question-chain-of-strings/
CC-MAIN-2022-27
refinedweb
701
58.48
Details Description There are a lot of common file names used in HDFS, mainly created by mapreduce, such as file names starting with "part". Reusing byte[] corresponding to these recurring file names will save significant heap space used for storing the file names in millions of INodeFile objects. Activity - All - Work...
https://issues.apache.org/jira/browse/HDFS-1110?focusedCommentId=12880355&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel
CC-MAIN-2015-48
refinedweb
3,082
73.88
I am trying to list the contents of all my Web maps for a user. I have a list of all the Web Maps but cannot find how to list the Web Maps content. Each web map has a number of layers, these shown in portal but want to know how to get this list in python. It looks like you can access the layers of a web map using the A...
https://community.esri.com/t5/arcgis-api-for-python-questions/web-map-content/td-p/807968
CC-MAIN-2021-25
refinedweb
188
76.52
Before understanding ,what is routing ,let me explain you why even the concept of routing has been introduced , and the simplest reason that comes in my mind is ,it enables you define URLs of your services and web pages. Let's discuss some points regarding URLs. How the URLs of a web application should look like. See t...
https://www.sharpencode.com/article/WebApi/web-api-routing
CC-MAIN-2021-43
refinedweb
2,451
58.42
Updated by Linode Contributed by Linode Use promo code DOCS10 for $10 credit on a new account. The k8s-alpha CLI is deprecated. On March 31st, 2020, it will be removed from the linode-cli. After March 31, 2020, you will no longer be able to create or manage clusters created by the k8s-alpha CLI plugin, however, you wil...
https://www.xpresservers.com/how-to-migrate-from-k8s-alpha-cli-to-terraform/
CC-MAIN-2021-39
refinedweb
1,328
54.93
Python functions can be called from LabTalk, such as from Set Column Values dialog, Script Window, script associated with a button, or anywhere else in Origin with access to LabTalk scripting. Python functions can be defined and accessed in the Set Values dialog for both Worksheets and Matrixsheets. The Python function...
https://www.originlab.com/doc/python/Calling-Python-Functions-from-Column-Formula-and-LabTalk
CC-MAIN-2020-50
refinedweb
1,489
62.27
If. The town house we’re moving into is definitely larger than our previous condo, but it wasn’t until we had to pack everything, move it, and then unpack it that we realized how much stuff we had accumulated over the years. Yes, there was a reason for everything we had, but it was still a lot of stuff. Then we came to...
http://gamesfromwithin.com/simple-is-beautiful/comment-page-1
CC-MAIN-2020-10
refinedweb
2,538
59.94
Mark Trench Financial Accounting Standards Board (FASB) 401 Merritt 7 P. O. Box 5116 Norwalk, CT 06856-5116 Hans van der Veen International Accounting Standards Board (IASB) 30 Cannon Street London, EC4M 6XH United Kingdom Dear Mark and Hans: The topic of discounting plays a key role in several conceptual accounting pr...
https://issuu.com/actuarypdf/docs/discount_0915091
CC-MAIN-2017-39
refinedweb
8,780
50.67
lookup problemsGen.Java Feb 2, 2013 1:40 PM Hi all, Please check the following code: 1. The first lookup() prints null because of the dot (.). How can I lookup nodes whose ids have dots? I tried "#a\00002Eb", still no luck 2. The second lookup() prints null ? no idea why Thank you Please check the following code: The p...
https://community.oracle.com/message/10852949
CC-MAIN-2017-39
refinedweb
985
74.9
This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project. >>>>> "Jan" == Jan Kratochvil <jan.kratochvil@redhat.com> writes: Jan> Compiler says: Jan> .C:13:6: error: call of overloaded âm()â is ambiguous Jan> .C:13:6: note: candidates are: Jan> .C:6:7: note: int N2::m() Jan> .C:2:7: no...
https://sourceware.org/legacy-ml/gdb-patches/2011-11/msg00195.html
CC-MAIN-2020-34
refinedweb
339
75
Moving Clips from Project Assets to a Folder within Project Assetsbakramer1202 Dec 19, 2014 3:20 PM I am using PRE13. I have many clips in my project assets panel. I also have folders in my project assets panel. I want to move my used clips to a folder but the clips and folder are not visible on the screen the same tim...
https://forums.adobe.com/thread/1662995
CC-MAIN-2018-13
refinedweb
857
82.04
Just The actual bug is probably hit in _cairo_int32x32_64_mul or _cairo_uint32x32_64_mul. I try to build cairo within pkgsrc and at the moment cannot switch to another compiler. I don't think that bugs in such old versions of GCC get fixed. So if there is any possibility to fix this problem here, that would be great. N...
https://bugs.freedesktop.org/show_bug.cgi?id=31677
CC-MAIN-2018-22
refinedweb
294
67.86
Type: Posts; User: rbmazter I am new programmer. In the first place I really like my job because they gave me project and then when I finished it they give me a new task that was fixing a bugs of others work. The programmer who... I separate my interface. I am using MVC 3 . So far I already solve the problem in sending...
http://www.webdeveloper.com/forum/search.php?s=751780639422b29f83c10d974581c1ba&searchid=2426589
CC-MAIN-2013-48
refinedweb
158
70.39
Odoo Help Odoo is the world's easiest all-in-one management software. It includes hundreds of business apps: CRM | e-Commerce | Accounting | Inventory | PoS | Project management | MRP | etc. dialog box with value from py file Hi friendz, I am trying out buttons in OpenERP 7 in which I need to display the value of the r...
https://www.odoo.com/forum/help-1/question/dialog-box-with-value-from-py-file-22642
CC-MAIN-2018-17
refinedweb
187
54.93
Activity Posted in Multi tenant - will it help? Here is the case , I got users and a few other models , most of them end up doing some action with one main table that contains around 15M rows. I have an indexed foreign key between the main table and the user model , and plently of specific columns indexes to speed up v...
https://gorails.com/users/11157
CC-MAIN-2021-43
refinedweb
615
67.45
/* * Detail.java July.Constructor; import java.util.List; import org.simpleframework.xml.DefaultType; import org.simpleframework.xml.Namespace; import org.simpleframework.xml.NamespaceList; import org.simpleframework.xml.Order; import org.simpleframework.xml.Root; /** * The <code>Detail</code> object is used to provide...
http://simple.sourceforge.net/download/stream/report/cobertura/org.simpleframework.xml.core.Detail.html
CC-MAIN-2018-05
refinedweb
734
55.84
Classes are the irreplaceable ingredient of any .NET assembly. First, all executable code must be contained in a type, usually a class. Global functions and variables are not permitted in C#, preventing problematic dependences caused by disparate references to global entities. Second, classes published in the .NET Fram...
http://etutorials.org/Programming/programming+microsoft+visual+c+sharp+2005/Part+I+Core+Language/Chapter+2+Types/Classes/
crawl-001
refinedweb
6,364
50.53
Hi, I've queried an EventLog using ManagementObjectSearcher (System.Management namespace for WMI access). So far I was able to retrieve log entries by querying the Win32_NTLogEvent instances. But when I tried mapping the ManagementObject instances, the TimeGenerated and TimeWritten properties are in String form and not...
https://social.msdn.microsoft.com/Forums/vstudio/en-US/0d94b9a3-4f94-4ea7-bd03-6994f9384473/wmi-win32ntlogevent-class-time-properties-not-datetime?forum=netfxbcl
CC-MAIN-2015-14
refinedweb
148
59.8
In part 1 of this post, I described the possible approaches/frameworks for unit testing of web applications. In this post, I concentrate on one framework, which is JBoss Arquillian. The contents of this post will be: - What about JBoss Arquillian? - Use Arquillian to Unit Test inside EClipse and JBoss 6 - Secrets behin...
https://developer.jboss.org/blogs/mousavi/2011/09/09/web-application-unit-testintegration-test-which-framework-part-2
CC-MAIN-2017-43
refinedweb
1,629
64.3
Hello, I am asp.net C# developer. I decided to tackle C++, so I started today. This is probably something simple I am sure but I cannot figure out what the problem is. I would appreciate if someone could show me what is wrong and why. The error is happening on the last output operator, just before the jumble variable o...
http://forums.codeguru.com/printthread.php?t=530995&pp=15&page=1
CC-MAIN-2016-18
refinedweb
155
58.58
parser.c File Reference Channel protocol parser and commands. More... #include "parser.h" #include "cfg/cfg_parser.h" #include <io/kfile.h> #include <struct/hashtable.h> #include <stdlib.h> #include <string.h> Go to the source code of this file. Detailed Description Channel protocol parser and commands. This file conta...
http://doc.bertos.org/2.7/parser_8c.html
crawl-003
refinedweb
242
67.86
Answered by: Issue with lambda expression Compile() and [HostType("Pex")]. - Here's an interesting one. The following simplified unit test in MSTest gets an exception if the [HostType("Pex")] attribute is present: [TestMethod] [HostType("Pex")] public void testname3() { int x = 5; Expression<Func<int>> expression = () ...
https://social.msdn.microsoft.com/Forums/en-US/b2e90f00-7a94-4859-bd0f-40ae84ba9ce8/issue-with-lambda-expression-compile-and-hosttypepex?forum=pex
CC-MAIN-2015-22
refinedweb
2,050
50.73
> I. If you are going to use Plone I can't offer advice - I have looked at Plone on three separate occasions, and recently read The Definitive Guide to Plone, and have stil decided not to use it. I only say this to make it clear that many applications are built without CMS and Plone. > 1> the district name and their us...
https://www.mail-archive.com/zope@zope.org/msg15285.html
CC-MAIN-2021-25
refinedweb
1,075
70.02
Constructive and Non-Constructive Proofs in Agda (Part 2): Agda in a Nutshell Last week, we started a new blog series to introduce you to creating constructive and non-constructive proofs in Agda. In our previous post, we took a look on logic in itself, we considered classical and intuitionistic logical calculi. It wil...
https://serokell.io/blog/agda-in-nutshell
CC-MAIN-2021-43
refinedweb
3,017
52.33
Timeline Jul 28, 2008: - 3:25 PM Ticket #1635 (0 Z-Index for Map Div) created by - FF2 and FF3 deal with zindexing differently. FF2: no specified … - 2:16 PM Ticket #1607 (add methods for managing css class names) closed by - fixed: (In [7579]) Adding functions to manage dom element class names. Use … - 2:16 PM Changes...
http://trac.osgeo.org/openlayers/timeline?from=2008-07-28T09%3A52%3A55-0700&precision=second
CC-MAIN-2016-36
refinedweb
3,947
52.94
Hello! I have collected my own dataset and trying to run random forrest on it but fastai complains that there are labels in my validation set that do not appear in the training set. How do I prepare and split my data? The data is collected from a web site selling used cars. My columns is brand, model, type (sedan…), ge...
https://forums.fast.ai/t/split-my-dataset/33691
CC-MAIN-2022-21
refinedweb
225
66.23
MELEZHIK/CPAN-Repo-v0.0.5 - 27 Dec 2011 08:08:34 GMT - 08 Aug 2014 22:52:57 GMT GMT CPAN::Audit is a module and a database at the same time. It is used by cpan-audit command line application to query for vulnerabilities....VTI/CPAN-Audit-0.15 - 09 Mar 2019 09:48:06 GMT GMT C63 - 03 Oct 2017 09:37:08 GMT GMT SZABGAB/CPA...
https://metacpan.org/search?p=2&q=module%3ACPAN%3A%3AModule
CC-MAIN-2019-51
refinedweb
207
68.26
Let's imagine you are playing a game of Twenty Questions. Your opponent has secretly chosen a subject, and you must figure out what he/she chose. At each turn, you may ask a yes-or-no question, and your opponent must answer truthfully. How do you find out the secret in the fewest number of questions? It should be obvio...
https://www.experfy.com/blog/decision-trees-how-to-optimize-my-decision-making-process
CC-MAIN-2019-35
refinedweb
2,444
60.65
Desire S: don't If I had known a week ago about the lengths to which HTC are now going to prevent people from using their phones, I would have bought some other phone (like maybe the the LG Optimus 2X) instead – and if you are the kind of person who prefers to choose your own software than to let device manufacturers a...
http://www.advogato.org/person/dan/diary.html?start=146
CC-MAIN-2015-06
refinedweb
801
55.68
/************************************************ FINANCIAL SIMULATION You have a bank account whose annual interest rate depends on the amount of money you have in your account at the beginning of each year. Your annual rate starts at 3%, and grows by an additional half a percent for each thousand dollars in your acco...
https://www.usna.edu/Users/cs/wcbrown/courses/F15IC210/lec/l13/TE2.html
CC-MAIN-2018-09
refinedweb
256
63.63
1 /*2 * @(#)RuntimeException.java 1.13 03/12/193 *4 * Copyright 2004 Sun Microsystems, Inc. All rights reserved.5 * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.6 */7 8 package java.lang;9 10 /**11 * <code>RuntimeException</code> is the superclass of those 12 * exceptions that can be thrown during the ...
https://kickjava.com/src/java/lang/RuntimeException.java.htm
CC-MAIN-2021-21
refinedweb
443
58.58
Introduction Declaring namespaces at the top of your COBOL.NET code can greatly simplify coding and streamline your syntax by eliminating unnecessary namespaces in your code and the Class Repository. This is identical in concept to the using directive in C#. The using directive in C# permits the use of types in a names...
https://mobile.codeguru.com/csharp/csharp/net30/article.php/c16385/Declaring-Namespaces-with-Micro-Focus-for-COBOLNET.htm
CC-MAIN-2018-34
refinedweb
1,167
57.57
An exercise is to write a program that shows how memory is allocated to stack variables compared to heap variables. I ran the following code. #include "../../std_lib_facilities.h" int main () { char c = ' '; char ch0[10]; char *ch = new char[10]; char *init_ch = ch; cout << "Enter characters separated by a space.\nUse ...
https://www.daniweb.com/programming/software-development/threads/322173/stack-vs-heap-memory
CC-MAIN-2018-13
refinedweb
200
70.94
This reference provides cmdlet descriptions and syntax for all Windows Deployment Services cmdlets. It lists the cmdlets in alphabetical order based on the verb at the beginning of the cmdlet. Adds an existing driver package to a driver group or injects it into a boot image. Approves clients. Copies install images with...
https://docs.microsoft.com/en-us/powershell/module/wds/index?view=win10-ps
CC-MAIN-2017-43
refinedweb
321
62.04
Hi guys, I’m an old time Rhino user since it was a public beta. I noticed that Rhino is using IronPython 2.7. Unfortunately, I recently finished up a Python 3.x instruction so I’m wondering if there is a way to update IronPython separately, if not will I have to start learning Python 2…x vs. 3.x differences. Hi guys, I...
https://discourse.mcneel.com/t/ironpython-is-2-7-will-i-be-able-to-update-for-python-3-4/8372
CC-MAIN-2020-40
refinedweb
262
69.07
Are there differences between Streams, Java Streams and Reactive Streams? Streams and observables are often used interchangeably, but some say there is a difference between them. So what is it all about? >>IMAGE. After a lot of digging through various online sources, I’ll summarize my final understanding of Streams and...
https://s1gr1d.medium.com/are-there-differences-between-streams-java-streams-and-reactive-streams-82fb4565488a?source=post_internal_links---------4----------------------------
CC-MAIN-2021-25
refinedweb
1,244
63.49
#include <stdio.h> char *strstr(char *string2, char string*1); The strstr function locates the first occurrence of the string string1 in the string string2 and returns a pointer to the beginning of the first occurrence. The strstr function returns a pointer within string2 that points to a string identical to string1. I...
http://www.tutorialspoint.com/cgi-bin/printversion.cgi?tutorial=ansi_c&file=c_strstr.htm
CC-MAIN-2014-41
refinedweb
117
68.64
In the training process, I need to read array data from .npy file and get a part of it: import numpy as np data = np.load("sample1.npy") sound1 = data[start1: end1] sound2 = data[start2: end2] Since the .npy files are large, it became slowly to read a large file but only get some small parts of it. Is there a simple wa...
https://donghao.org/2021/03/18/accelerate-reading-of-numpy-array-from-files/
CC-MAIN-2021-39
refinedweb
161
80.31
C | String | Question 14 Assume that a character takes 1 byte. Output of following program? Take a step-up from those "Hello World" programs. Learn to implement data structures like Heap, Stacks, Linked List and many more! Check out our Data Structures in C course to start learning today. (A) 9 (B) 10 (C) 20 (D) Garbag...
https://www.geeksforgeeks.org/c-string-question-14/?ref=lbp
CC-MAIN-2021-43
refinedweb
111
77.64
Hi Gurus I'm working through the Consultants Cookbook for Interaction Center (IC) Webclient CRM 5.0 SP03. I'm having a huge problem with the CRM_IC.xml in my customers namespace. My customers namespace is /XYZ/. Therefore when I try to modify the CRM_IC/xml file I'm hitting errors because the replacement Include file n...
https://answers.sap.com/questions/3225765/crm-50---ic-webclient---bsp-error-due-to-no-escape.html
CC-MAIN-2022-27
refinedweb
102
61.43
First, a version of the code that will compile on a modern g++: #include <iostream> template<int N> struct fib { static const int result = fib<N-1>::result + fib<N-2>::result; }; template<> struct fib<0> { static const int result = 0; }; template<> struct fib<1> { static const int result = 1; }; int main(int ac, char *...
https://everything2.com/user/nyte/writeups/C%252B%252B%253A+computing+Fibonacci+numbers+at+compile+time
CC-MAIN-2018-43
refinedweb
598
60.04
Node.js and Kafka in 2018 Yes, Node.js has support for all of the Kafka features you need. >>IMAGE? node-rdkafkawraps the librdkafkalibrary, which is widely used by the Kafka community, particularly as the basis of clients in other languages. kafka-nodeis a pure JavaScript implementation of the Kafka protocol. Is Kafka...
https://rclayton.silvrback.com/node-js-and-kafka-2018
CC-MAIN-2021-17
refinedweb
593
50.94
Problems with QGraphicsView subclassing Hi everybody, I'm having some problems subclassing QGraphicsView. I'm trying to reimplement the following functions: QGraphicsView::mouseMoveEvent(QMouseEvent *event) QGraphicsView::paintEvent(QPaintEvent *) I have a Dialog and what I have to do is display a chart and some other ...
https://forum.qt.io/topic/83672/problems-with-qgraphicsview-subclassing
CC-MAIN-2018-09
refinedweb
760
53.92
It's often needed to have some sort of login functionality in an app so users can save data or create their own profiles. Or maybe only authenticated users can have access to reserved content. In a modern app, users expect to have standard login-related features like email verification, password reset, multi-factor aut...
https://dev.to/simplelogin/create-a-flask-application-with-sso-login-f9m
CC-MAIN-2021-17
refinedweb
1,480
54.22
Scan formatted input from stdin #include <stdio.h> int scanf( const char* format, ... ); libc Use the -l c option to qcc to link against this library. This library is usually included automatically. The scanf() function scans input from stdin under control of the format argument, assigning values to the remaining argum...
http://www.qnx.com/developers/docs/6.6.0.update/com.qnx.doc.neutrino.lib_ref/topic/s/scanf.html
CC-MAIN-2019-51
refinedweb
941
60.45
How String equals Method Works How String equals Method Works Join the DZone community and get the full member experience.Join For Free Take 60 minutes to understand the Power of the Actor Model with "Designing Reactive Systems: The Role Of Actors In Distributed Architecture". Brought to you in partnership with Lightbe...
https://dzone.com/articles/how-string-equals-method-works
CC-MAIN-2018-13
refinedweb
299
55.13
This. I started of with some of the basics, advantages and disadvantages of user controls. User Control: User Control is the custom, reusable controls. User Controls offers a way to partition and reuse User Interface (UI) functionality across ASP.NET Applications. Advantages of User Control: Disadvantages of User Contr...
http://www.c-sharpcorner.com/UploadFile/Santhi.M/PassingValuesfrmUCtoASPX11212005050040AM/PassingValuesfrmUCtoASPX.aspx
crawl-003
refinedweb
287
58.69
Upgrading a Reverse Proxy from Netty 3 to 4 Tracon is our reverse HTTP proxy powered by Netty. We recently completed an upgrade to Netty 4 and wanted to share our experience. Written by Chris Conroy and Matt Davenport. Tracon: Square’s reverse proxy Tracon is our reverse HTTP proxy powered by Netty. Several years ago, ...
https://developer.squareup.com/blog/upgrading-a-reverse-proxy-from-netty-3-to-4/
CC-MAIN-2022-40
refinedweb
2,195
54.63
In this program, we first input the number (Say num = 12345). Next the control reaches the while loop where it checks the condition (num>0) which is true as (12345>0) so the body of the loop is executed. On First pass, x=5 Sum=0+5=5 num = 1234 On Second pass, x=4 Sum=5+4= 9 num = 123 On Third pass, x=3 Sum=9+3=12 num =...
http://ecomputernotes.com/java/control-structures-in-java/sum-of-digits-of-a-number
CC-MAIN-2019-39
refinedweb
197
70.84
Palindrome checker is a better basic example of test-driven development A commonly given basic example for test-driven development (TDD) is a function that is supposed to add up two integers. The stub always returns a specific number, like 0, instead of actually adding up its two parameters. Of course that fails a test...
https://alonso-delarte.medium.com/palindrome-checker-is-a-better-basic-example-of-test-driven-development-239a01d11fc8
CC-MAIN-2021-21
refinedweb
1,847
63.8
One of the important functions of a database administrator is to manage storage structures to optimize performance in a relational database. Admins use tables, views, index, and cubes to tune the database as well as control the behavior of users (e.g., discourage full table scans and cross joins). There are similar wel...
https://www.qubole.com/blog/quark-control-and-optimize-sql-across-hadoop-and-rdbms/
CC-MAIN-2021-43
refinedweb
985
64.2
On 06 October 2005 18:46, Krasimir Angelov wrote: > 2005/10/6, Simon Marlow <simonmar at microsoft.com>: >> --bindirrel=<dir> >> --libdirrel=<dir> >> --datadirrel=<dir> >> --libexecdirrel=<dir> > > bindirrel, libdirrel, ... looks a little bit verbose. Why not just > bindir/libdir? Because bindir/libdir are already used...
http://www.haskell.org/pipermail/libraries/2005-October/004414.html
CC-MAIN-2014-35
refinedweb
267
57.37
The Python Standard Library: Data Structures - 2. import collections print collections.Counter(['a', 'b', 'c', 'a', 'b', 'b']) print collections.Counter({'a':2, 'b':3, 'c':1}) print collections.Counter(a=2, b=3, c=1) The results of all three forms of initialization are the same. $ python collections_counter_init.py Cou...
https://www.informit.com/articles/article.aspx?p=1719315&amp;seqNum=8
CC-MAIN-2021-10
refinedweb
532
61.97
Not logged in Log in now Recent Features LWN.net Weekly Edition for May 24, 2012 A uTouch architecture introduction LWN.net Weekly Edition for May 17, 2012 Tasting the Ice Cream Sandwich Highlights from the PostgreSQL 9.2 beta ChangeSet@1.664, 2002-09-30 23:56:34-07:00, torvalds@home.transmeta.com Linux v2.5.40 TAG: v2...
http://lwn.net/Articles/11337/
crawl-003
refinedweb
10,794
61.43
Sometimes one may wish to query the database for objects matching any of several criteria specified in several form fields, some of which may be multiple choice. This function makes that easy: def buildOrQuery(request, config): ''' Builds a django.db.models.query.QOr object based on HTTP request and a simple config dic...
https://code.djangoproject.com/wiki/OrQueryBuilder
CC-MAIN-2017-13
refinedweb
138
59.13
AWS News Blog Functions provides the callback pattern for us in this situation. Approval emails are a common use case in this category. In this post, I show you how to create a Step Functions state machine that uses the sfn-callback-urls application for an email approval step. The app is available in the AWS Serverless...
https://aws.amazon.com/blogs/aws/using-callback-urls-for-approval-emails-with-aws-step-functions/
CC-MAIN-2019-35
refinedweb
1,461
55.24
namespace fs = std::experimental::filesystem; std::vector<std::string> list_files_in_dir(string dirPath) { vector<string> r; for (auto & p : fs::directory_iterator(dirPath)) { std::cout << p.path().string() << std::endl; r.push_back(p.path().string()); } return r; } 7/20/2018 get file list in the folder (example code) ...
https://study.marearts.com/2018/07/
CC-MAIN-2021-31
refinedweb
218
54.59
In a rather old project I’m working on again now, there used to be a lot of Latin-1-encoded files. Yuck! I don’t even want to know why anybody ever created or used a character encoding other than UTF-8. So I thought, let’s get these old-school files a decent encoding. iconv -f L1 -t UTF-8 filename >filename.converted T...
http://www.poeschko.com/2012/04/converting-text-files-to-utf-8/
CC-MAIN-2013-48
refinedweb
305
63.49
2016-04-07 10:13:11 8 Comments Lately, I have been working on this Huffman algorithm and it is finally done, though I think it is improvable due to the fact that people say you have got to use two priority queues but I ended up just using one, so maybe it is even not correctly implemented. Code: #include <iostream> #in...
https://tutel.me/c/codereview/questions/125037/huffman+algorithm+implementation+in+c
CC-MAIN-2019-22
refinedweb
1,408
51.07
IBM Cloud Kubernetes Service Introduces the ALB OAuth Proxy Add-On 5 min read Protect your applications running on an IBM Cloud Kubernetes Service cluster with IBM Cloud App ID. When you create an IBM Cloud Kubernetes Service cluster, a default Application Load Balancer (ALB) is created for you in the new cluster. The ...
https://www.ibm.com/cloud/blog/announcements/ibm-cloud-kubernetes-service-alb-oauth-proxy-add-on
CC-MAIN-2021-49
refinedweb
1,176
59.94
hey guys.i have one realy big big problem.. My programming teacher gave my a task to get these functions to work, but i dont know python program so good.. thats why maybe someone of you could help me, and make these 3 functions to work .:).. please!! these lines are not in corect order, and they nedd to be in another p...
https://www.daniweb.com/programming/software-development/threads/310130/please-help-me-with-these-python-algorytms
CC-MAIN-2018-17
refinedweb
183
76.29
CodePlexProject Hosting for Open Source Software I would like to randomly show a content item from a list in the sidebar of my site. For example, I have a list of images and I would like to build off of the container widget to allow for options to only show 1 item and make it random. Can I copy the Container Widget and...
http://orchard.codeplex.com/discussions/282075
CC-MAIN-2017-30
refinedweb
4,895
71.04
How you approach a problem is to some extent your key to accomplishing good solid work. This walkthrough will guide you in the six most commonly used methods for button creation and show you in which situations they are best put to use. The Button Making Dilemma Let me tell you a little story about how all of this butt...
https://code.tutsplus.com/tutorials/buttonology-a-walkthrough-of-button-making-methods--active-2893
CC-MAIN-2020-40
refinedweb
1,713
65.01
I: > {-# LANGUAGE GADTs #-} > import Codec.Compression.GZip > import Control.Applicative > import Control.Concurrent.CHP > import qualified Control.Concurrent.CHP.Common as CHP > import Control.Concurrent.CHP.Enroll > import Control.Concurrent.CHP.Utils > import Control.Monad.State.Strict > import Data.Digest.Pure.MD5 ...
http://www.haskell.org/pipermail/haskell-cafe/2010-January/071584.html
CC-MAIN-2014-15
refinedweb
845
52.76
A constructor is a special type of member function that initialises an object automatically when it is created. Compiler identifies a given member function is a constructor by its name and the return type. Constructor has the same name as that of the class and it does not have any return type. Also, the constructor is ...
https://cdn.programiz.com/cpp-programming/constructors
CC-MAIN-2020-24
refinedweb
882
64.61
Finance Archive: Questions from October 26, 2013 - 1 answer - 1 answer - 3 answers - designate the responsibility centers and the support centers for the organization selected. Prepare a rationale for the structure you have designated. Bob's Practice0 answers - Scottie, Inc. has received an offer from two major manufac...
https://www.chegg.com/homework-help/questions-and-answers/finance-archive-2013-october-26
CC-MAIN-2018-26
refinedweb
2,595
64.3
It seems like mxmlc generates different binary even when the source code is not changed. for, example, // Test.as package { public class Test { } } and when i run mxmlc like this : mxmlc Test.as -output case1.swf mxmlc Test.as -output case2.swf and case1.swf and case2.swf is different! I found that mxmlc sets metadata ...
https://forums.adobe.com/thread/855581
CC-MAIN-2015-40
refinedweb
142
80.48
After a bit of a break, I am ready to continue these exercises as well as put out some other things I have been working on. Chapter 7 exercise 3 wants us to create two functions using a structs given values, then use those functions and the struct in a program. Here is my solution to this problem: 3. Here is a structur...
https://rundata.wordpress.com/2013/03/20/c-primer-plus-chapter-7-exercise-3/
CC-MAIN-2017-26
refinedweb
233
73.17
Import python file. Hello, Is it possible to load a python file in another file in Drawbot? Have been googling for pure python solutions, but I can't get it to work. Basically what I want: I have my main python code which I run to generate a movie. I want to load the 'settings' (just a bunch of variables I set in the b...
https://forum.drawbot.com/topic/222/import-python-file/3?lang=en-US
CC-MAIN-2020-16
refinedweb
298
75.2
Hello John, * John Calcote wrote on Thu, Mar 27, 2008 at 03:03:25PM CET: > > include_HEADERS = file1.h file2.h ... fileN.h > > But very often, these lists will contain shell expansions, like this: > > if ENABLED_ADDED_FUNCTIONALITY_A > added_functionality_a = fileX.h fileY.h > endif > > include_HEADERS = file1.h file2....
http://lists.gnu.org/archive/html/automake/2008-03/msg00098.html
CC-MAIN-2014-35
refinedweb
452
53.41
The method getQueryString in class org.apache.catalina.connector.Request returns null, instead of an empty string for a URL of the form? as required by the specification. A correct implementation of the method is as follows: /** * Return the query string associated with this request. */ public String getQueryString() {...
https://bz.apache.org/bugzilla/show_bug.cgi?id=38113
CC-MAIN-2016-50
refinedweb
473
68.97
. - Date Field - a date object with year/month/day and optional time. - Geopoint Field - a data object with latitude and longitude coordinates. The maximum size of a document is 1 MB. Indexes may be increased to up to 200GB by submitting a request from the Google Cloud Console App Engine Search page.": def simple_searc...
https://cloud.google.com/appengine/docs/standard/python/search?hl=zh-tw
CC-MAIN-2020-45
refinedweb
825
64
On the 17th of April, Oracle Labs presented the community the first release cadence for their new universal virtual machine called GraalVM. Graal is a Polyglot VM that can run multiple languages and can interop between them without any overhead. In this blog post I will go into details what this means for Scala and esp...
https://blog.playframework.com/play-on-graal/
CC-MAIN-2020-45
refinedweb
1,179
55.74