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
Hi everyone, I've detected a strange issue recently. Let's consider the following code inside a managed bean: @ManagedBean @ViewScoped public class RecordUI implements Serializable{ ... @PostConstruct public void initializeView(){ if(FacesContext.getCurrentInstance().getExternalContext().getFlash().get("someRecordIdPar...
https://developer.jboss.org/message/871920?tstart=0
CC-MAIN-2019-04
refinedweb
280
50.23
This is my little program, it basic but is something . #include <stdio.h>#include <allegro5/allegro.h>#include <stdlib.h> main(){ al_init(); extern char allegro_id[]; printf("%c",allegro_id); exit(0);} And here is my problem that i can't solve: [Linker error] undefined reference to `allegro_id' ld returned 1 exit statu...
https://www.allegro.cc/forums/thread/615994/1019092
CC-MAIN-2018-30
refinedweb
265
59.8
A Stream in Java 8 can be defined as a sequence of elements from a source. Streams supports aggregate operations on the elements. The source of elements here refers to a Collection or Array that provides data to the Stream. Stream keeps the ordering of the elements the same as the ordering in the source. The aggregate ...
https://howtodoinjava.com/java8/java-streams-by-examples/
CC-MAIN-2020-45
refinedweb
1,868
56.76
This is my code: import datetime today = datetime.date.today() print today import datetime mylist = [] today = datetime.date.today() mylist.append(today) print mylist [datetime.date(2008, 11, 22)] In Python, dates are objects. Therefore, when you manipulate them, you manipulate objects, not strings, not timestamps nor ...
https://codedump.io/share/s28zQMuvGpbm/1/how-to-print-date-in-a-regular-format-in-python
CC-MAIN-2017-51
refinedweb
648
71.55
Below I have got a class with two int variables from which I have created a number of objects which I have stored in the linked list. Now I want to loop through each object and compare THEIR FIELDS from the class with other int values. In other words I want to loop through the fields of the objects and not the objects ...
http://www.javaprogrammingforums.com/whats-wrong-my-code/34372-loop-through-linked-list-objects-their-fields.html
CC-MAIN-2016-26
refinedweb
176
68.64
I am trying to write a simple program that picks a number between 1 and 100, and then lets the user guess what the number is. The program should tell the user if their guess is to high, to low, or correct. The problem I am having a problem with the program I wrote. Every time I input a number it tells me I am correct e...
http://cboard.cprogramming.com/cplusplus-programming/161199-i-need-help-random-number-generator-program.html
CC-MAIN-2014-41
refinedweb
147
73.78
This action might not be possible to undo. Are you sure you want to continue? Set 8 Questions The function addition is called by passing the values The function addition is called by passing reference Question 5: . a. z.y) a. b. b. y=3. b. a. True False Question 3: Type specifier is optional when declaring a function a...
https://www.scribd.com/document/62508947/c
CC-MAIN-2017-26
refinedweb
3,586
75.1
import all of the how-to articles from the pkgsrc.se wiki **Contents** [[!toc levels=2]] # Introduction The purpose of this document is to guide you to create a [RAM disk]() image and a custom kernel in order to boot your mini NetBSD off a [Compact Flash]() or use it to debug it in an emulated environment, such as [qem...
https://wiki.netbsd.org/cgi-bin/cvsweb/wikisrc/tutorials/how_to_create_bootable_netbsd_image.mdwn?rev=1.1;content-type=text%2Fx-cvsweb-markup
CC-MAIN-2017-04
refinedweb
904
56.25
Conflicts Mode The Conflicts mode displays files in your workspace whose changes conflict with another version of that file elsewhere in the stream hierarchy — often, but not always, the version in the parent stream. Overlaps, deep overlaps, and twins are all examples of the types of conflicts displayed in this mode. N...
https://admhelp.microfocus.com/accurev/en/latest/online/Content/AccuRev-OnLine-Help/fb_conflicts_mode.html
CC-MAIN-2022-05
refinedweb
1,197
58.42
CHAPTER 4: FINANCIAL ANALYSIS OVERVIEW - Aleesha Gordon - 3 years ago - Views: Transcription 1 In the financial analysis examples in this book, you are generally given the all of the data you need to analyze the problem. In a real-life situation, you would need to frame the question, determine the type of analysis to d...
http://docplayer.net/15318382-Chapter-4-financial-analysis-overview.html
CC-MAIN-2019-04
refinedweb
7,495
52.7
Details Description I've been working on this off-and-on for awhile, but it's currently in a state where I feel like it's worth sharing: I came up with an implementation of the Crunch APIs that runs on top of Apache Spark instead of MapReduce. My goal for this is pretty simple; I want to be able to change any instances...
https://issues.apache.org/jira/browse/CRUNCH-296
CC-MAIN-2016-22
refinedweb
1,182
66.78
Managed Metadata fields have always been slightly painful for SharePoint developers, but if you did any kind of site templating or Feature development in SharePoint 2010, chances are that you did some research, read some blog articles and came to understand the solution. Here I’d like to talk about it for Office 365, a...
https://www.sharepointnutsandbolts.com/2013/09/provisioning-managed-metadata-fields-in-Office-365.html
CC-MAIN-2018-47
refinedweb
1,317
57.81
an approximately area of the graph (1) work out the desired probability distribution function such that the area under a portion of the curve is equal to the probability of a value being randomly generated in that range, then (2) integrate the probability distribution to determine the cumulative distribution, then (3)...
https://blogs.msdn.microsoft.com/ericlippert/2012/02/21/generating-random-non-uniform-data-in-c/
CC-MAIN-2016-40
refinedweb
1,520
55.03
Add A New Dimension To The End Of A Tensor In PyTorch Add a new dimension to the end of a PyTorch tensor by using None-style indexing < > Code: Transcript: This video will show you how to add a new dimension to the end of a PyTorch tensor by using None-style indexing. First, we import PyTorch. import torch Then we prin...
https://aiworkbox.com/lessons/add-a-new-dimension-to-the-end-of-a-tensor-in-pytorch
CC-MAIN-2019-51
refinedweb
434
71.14
I'm not sure it is absolutely intended but it is at least an expected behavior: When you write f(x) = <expr>, SageMath actually creates a "callable symbolic expression" from <expr> (in which x is considered as a symbolic variable). This means that <expr> itself must initially be a symbolic expression (or anything that ...
https://ask.sagemath.org/answers/47675/revisions/
CC-MAIN-2021-49
refinedweb
166
51.18
Liberty Series Release Notes¶ 12.2.5¶ 12.2 The upgrade playbook nova-flavor-migration.yml will perform a migration of nova flavor data. This will need to be completed prior to upgrading to Liberty. It is recommended that Kilo be deployed from the eol-kilo tag prior to upgrading to Liberty to ensure that this task is co...
http://docs.openstack.org/releasenotes/openstack-ansible/liberty.html
CC-MAIN-2017-04
refinedweb
2,111
50.23
Most exam boards offering Computer Science GCSE and A Level courses allow students a choice of which programming language to use. This usually includes Python along with other options like Java, C# or Visual Basic. In some ways Python is less strict than the others, and this can cause problems for students. For example...
https://compucademy.net/python-type-annotations-for-gcse-and-a-level-computer-science/
CC-MAIN-2022-27
refinedweb
268
72.8
Just What Do You Think You Are Doing, Dave? In my adventures as an ASP.NET web-slinger, I have grown very fond of the GridView control. Right out of the box, it will sort, page, and edit your data. I am reasonably sure that it also implements the IJulienneFries interface. However, it does not come prepared to mitigate ...
https://code.jon.fazzaro.com/2008/09/11/adding-delete-confirmation-to-the-asp-net-gridview/
CC-MAIN-2018-26
refinedweb
1,150
56.05
[following up on some compile options] hi there all... :) > A great idea. Are you familiar with the automake / autoconf tools? > If yes, why don't you go ahead and create the necessary files? > This upgrade would greatly increase the usability of sword. hmmm, just had a quick look (I'm not familiar with autoconf, etc),...
http://www.crosswire.org/pipermail/sword-devel/2001-June/012130.html
CC-MAIN-2014-49
refinedweb
288
73.78
Number of times characters of a string is present in another string Sign up for FREE 1 month of Kindle and read all our books for free. Get FREE domain for 1st year and build your brand new site This problem is one of the classic competitive questions dealing with strings, I guess we can understand the logic by the que...
https://iq.opengenus.org/number-of-common-characters/
CC-MAIN-2021-17
refinedweb
760
57.95
Well, everyone, here I am again. (I'm becoming a familiar face, am I???):confused: I am working on an program in Borland C++ Builder 6 in which I have to create a program that asks the user for their name, what package they choose, and how many hours did they use. (Keep in mind that this program is not completed.) Well...
https://www.daniweb.com/programming/software-development/threads/74747/need-help-with-calculations
CC-MAIN-2016-50
refinedweb
407
86.4
0. I believe that the `dict` behavior needs to be frozen. The change will break a lot of existing code, it's too much damage. 0.1. Yes, `keys` is not a good name for internal use, but that's okay. 0.2. If I want to make a class look like a `dict`, I understand that I will get `keys`, `items`... This is what I expect. 0...
https://mail.python.org/archives/list/python-ideas@python.org/message/XTNNF2ZW52KCT4MJW5POJWZLIXXZZJ4G/
CC-MAIN-2021-43
refinedweb
430
71.31
GN ‘ date‘ ‘ unspecified‘. My advice: use tabs and let each developer configure his IDE to have as big or as small indentations as desired.) And we are suppose to fit whole line in 80 characters? 5.1.2 Single-Line Comments: if (condition) { /* Handle the condition. */ ... } Just in case the code is not self-descriptive...
http://www.javacodegeeks.com/2012/10/java-coding-conventions-considered-harmful.html
CC-MAIN-2013-20
refinedweb
743
57.27
Conatiners). Greetings, This is very good, but even after six years of playing around with object orientated programming, and my recent flurry of reading every internet article I can find on the subject e.g. by Robert C.Martin, Martin Fowler etc, I am still struggling. So I have a question or two, about the best way t...
https://blogs.sap.com/2013/01/28/getting-the-brownfield-clean-but-not-green-part-ii/
CC-MAIN-2017-39
refinedweb
869
61.46
[open] Pictures to pool edited December 2015 in OpenSesame Greetings ! I'm conducting an experiment which includes about 400 pictures divided into two groups. The pictures on the first group suppose to appear throughout the experiment randomly and without repetition (i.e. a pic that has been presented from this group w...
https://forum.cogsci.nl/discussion/comment/6395/
CC-MAIN-2019-26
refinedweb
1,047
57.81
Getting a view/subviews frame before calling .present() Is there a form of a preflight to get the frame of a view before presenting it? Maybe it obvious, however I can't see how to do it. If I could say something like get_frame( popover) or get_frame( panel) etc.. Before I did a call to view.present( whatever mode) wou...
https://forum.omz-software.com/topic/1800/getting-a-view-subviews-frame-before-calling-present/2
CC-MAIN-2022-21
refinedweb
699
84.88
There's nothing like a batch of programming links to help push down that third sausage gravy biscuit. - Mike Zintel's blog has some really awesome screenshots of .NET code running on the Xbox 360. I hope that this whole .NET/Xbox attempt comes to fruition. - In case you didn't hear, Microsoft is bringing C# programming...
https://arstechnica.com/information-technology/2006/03/3333/
CC-MAIN-2017-43
refinedweb
333
56.86
chromium / chromium / src / 8ba448850b2c89830296ae096bd29d0d77b930a6 / . / tools / media_engagement_preload / make_dafsa.py blob: fd73c68e8e633339fdb4976d91dec4187dfd3774 [ file ] [ log ] [ blame ] #!/usr/bin/env python # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file...
https://chromium.googlesource.com/chromium/src/+/8ba448850b2c89830296ae096bd29d0d77b930a6/tools/media_engagement_preload/make_dafsa.py
CC-MAIN-2020-40
refinedweb
2,107
59.03
Lopy and Matchx usage - misterlisty last edited by misterlisty I have setup a Matchx Gateway and activated it. Now i want to use the example at but where do i get the app_eui and app_key from? Do i have to use TTN? from network import LoRa import socket import time import binascii # Initialize LoRa in LORAWAN mode. lor...
https://forum.pycom.io/topic/2348/lopy-and-matchx-usage/23
CC-MAIN-2019-35
refinedweb
1,250
66.54
Does WPF Work with C++? My understanding is that Microsoft Visual Studio was rewritten to use WPF. I'm still not clear on why, but acknowledge my knowledge about WPF is very limited. My question is if anyone knows how much support WPF has for C++, and if Visual Studio is still written in C++. Personally, WPF primarily ...
https://thetopsites.net/article/55066383.shtml
CC-MAIN-2021-25
refinedweb
1,636
66.44
3.2 CGI and Response Headers By now, you should be reasonably comfortable designing CGI programs that create simple virtual documents, like this one: #!/usr/local/bin/perl print "Content-type: text/html", "\n\n"; print "<HTML>", "\n"; print "<HEAD><TITLE>Simple Virtual HTML Document</TITLE></HEAD>", "\n"; print "<BODY>...
http://www.oreilly.com/openbook/cgi/ch03_02.html
CC-MAIN-2016-22
refinedweb
334
61.26
GPU Dask Arrays, first steps throwing Dask and CuPy together The following code creates and manipulates 2 TB of randomly generated data. import dask.array as da rs = da.random.RandomState() x = rs.normal(10, 1, size=(500000, 500000), chunks=(10000, 10000)) (x + 1)[::2, ::2].sum().compute(scheduler='threads') On a singl...
http://matthewrocklin.com/blog/work/2019/01/03/dask-array-gpus-first-steps
CC-MAIN-2020-29
refinedweb
1,387
54.52
hi sandro, On 4/18/05, Sandro Böhme <s.boehme@inovex.de> wrote: > Hello, > > sorry, but the "poor-man's object-repository-mapping" is already done by > me ;-) with help of Oliver Kiessler and Christophe Lombart of the > Graffito community (both not responsible for the poor part ;-) ). > I submitted a proof of concept c...
http://mail-archives.apache.org/mod_mbox/jackrabbit-dev/200504.mbox/%3C90a8d1c0050418064241677ff3@mail.gmail.com%3E
CC-MAIN-2014-42
refinedweb
812
64.3
Geo-disaster recovery for Azure Event Hubs is now generally available! The following article gives an overview of how to enable regional disaster recovery capability for Azure Event Hubs. Previously, the only way to protect from events which would qualify as disaster or Geo-disaster was by manually managing high availa...
https://blogs.msdn.microsoft.com/eventhubs/2017/12/18/azure-event-hubs-geo-disaster-recovery-is-now-generally-available/
CC-MAIN-2018-39
refinedweb
220
51.38
Computer Science Archive: Questions from April 11, 2010 - Anonymous askedThere is a book stall where 5 different books present in 5different bookshelf .1st book in A,2nd boo... Show moreThere is a book stall where 5 different books present in 5different bookshelf .1st book in A,2nd book in B,3rd book in C, 4thbook in D...
http://www.chegg.com/homework-help/questions-and-answers/computer-science-archive-2010-april-11
CC-MAIN-2014-23
refinedweb
4,916
54.02
Office Communicator Sign-in and Discovery Topic Last Modified: 2009-04-02 Office Communicator must determine which server it should log on to by using the user’s URI (for example, jeremy@contoso.com) and any manual settings configured on the client. If manual settings were provided, the server to use is clear. However,...
http://technet.microsoft.com/en-us/library/dd637152(office.13).aspx
CC-MAIN-2013-20
refinedweb
1,593
53.41
2012-05-21 23:25:19 8 Comments I'm updating a struct of mine and I was wanting to add a std::string member to it. The original struct looks like this: struct Value { uint64_t lastUpdated; union { uint64_t ui; int64_t i; float f; bool b; }; }; Just adding a std::string member to the union, of course, causes a compile er...
https://tutel.me/c/programming/questions/10693913/c11+anonymous+union+with+nontrivial+members
CC-MAIN-2019-51
refinedweb
1,107
54.05
import random import math num_rand_vals = 100 min_value = 1 max_value = 6 rand_vals = [] print "Roll: number" for i in xrange(num_rand_vals): val = random.randint(min_value, max_value) rand_vals.append(val) if (i < 10): print "%d: %d" % (i, val) Roll: number 0: 4 1: 3 2: 2 3: 3 4: 3 5: 6 6: 4 7: 2 8: 1 9: 4 min_seen = ...
http://nbviewer.jupyter.org/url/schatzlab.cshl.edu/teaching/exercises/stats/1.Rolling%20a%20die.ipynb
CC-MAIN-2018-13
refinedweb
437
57.57
. In the late 1980's more than 10 different character sets were developed to represent the alphabets of languages like Russian, Arabic, Hebrew, and Turkish. It became cumbersome to keep track of and manage the different character sets. That’s why the Unicode standard was developed. It integrated all these character set...
https://www.twilio.com/blog/text-emojis-non-latin-characters-c-sharp-dot-net-sms
CC-MAIN-2018-51
refinedweb
1,487
66.13
How to display full Basler USB camera view within customized window size Hi, all, I am new to VS and OpenCV. But I think I have tried a lot to find answer to my question and ended up nothing. So I am trying to connect a Basler USB camera to computer and use visual studio and OpenCV to display the camera view. My ultima...
http://answers.opencv.org/question/202852/how-to-display-full-basler-usb-camera-view-within-customized-window-size/
CC-MAIN-2019-04
refinedweb
215
83.15
Hi there I am writing a program that needs to use a function to iterate through an array and pick out the index number that has a capital M then return that index number, and only for the first occurrence of a capital M. if no capital M is found, then return a value of -1. here is what I have at the moment (I could be ...
https://codedump.io/share/VwMq6e4lX76L/1/basic-functions-in-c
CC-MAIN-2017-04
refinedweb
184
61.13
by Tomislav Smrečki Android Instant Apps are a cool new way to consume native apps without prior installation. Only parts of the app are downloaded and launched, giving the users a native look and feel in a couple of seconds. How do they work? First of all, don’t confuse them with Progressive Web Apps where a launcher ...
https://www.freecodecamp.org/news/android-instant-apps-101-what-they-are-and-how-they-work-8b039165ed24/
CC-MAIN-2021-31
refinedweb
1,503
57.27
@wownetortNikita Starichenko 6+ years full-stack developer Hi everyone! There is a lot of information about different JS best practices. About various life hacks and features in this language. I want to tell you about equally useful, but less popular tips for working with this JavaScript. 1. Variables declared with “va...
https://coinerblog.com/top-12-lesser-known-tips-for-javascript-best-practices-8t26335n/
CC-MAIN-2021-10
refinedweb
1,293
57.27
/Hi guys ^^ can you help me ?? i keep getting these "error C2447: missing function header (old-style formal list?)" i just want to do 2 converters and somehow i end up in doingthis, pls guys help me ^^/ # include <iostream> # include <cstdlib> using namespace std; int choice; void menu(); int main() { double micrograms...
https://www.daniweb.com/programming/software-development/threads/503191/hi-first-year-student-here-cramming-for-finals
CC-MAIN-2022-27
refinedweb
475
63.7
Justin Carlson12,755 Points Method not allowed when trying to add builder route? I have been trying to figure out what I'm doing wrong here... I even deleted my workspace and started fresh with a new template for the course and still get this error after naming the bear. "Method Not Allowed The method is not allowed fo...
https://teamtreehouse.com/community/method-not-allowed-when-trying-to-add-builder-route
CC-MAIN-2021-25
refinedweb
205
50.02
Search the Community Showing results for tags 'gsap'.!. Animate a line going from point A to B Abarth posted a topic in GSAPI've recently got lucky with an answer from PointC in another thread, and now having spent a few hours researching without luck on another matter, I guess I'll try my luck again. The problem: I ha...
https://staging.greensock.com/search/?tags=gsap&updated_after=any&sortby=relevancy&page=5&_nodeSelectName=cms_records19_node&_noJs=1
CC-MAIN-2022-27
refinedweb
649
63.59
union of proxy groups More... #include <vtkSMProxyGroupDomain.h> union of proxy groups The proxy group domain consists of all proxies in a list of groups. This domain is commonly used together with vtkSMProxyPropery Valid XML elements are: * <Group name=""> where name is the groupname used by the proxy manager to refer...
http://www.paraview.org/ParaView3/Doc/Nightly/html/classvtkSMProxyGroupDomain.html
crawl-003
refinedweb
207
70.6
i am very very new to Java and i would like to know how can i compare 2 integers? I know == gets the job done.. but what about equals? Can this compare 2 integers? (when i say integers i mean "int" not "Integer"). My code is: import java.lang.*; import java.util.Scanner; //i read 2 integers the first_int and second_int...
https://codedump.io/share/FGrKlL0R3JJW/1/java-compare-2-integers-with-equals-or-
CC-MAIN-2016-44
refinedweb
133
78.14
I am having great trouble trying to make this program run by a double click from windows when I do double click on it nothing happens but when i go to the processes for windows I can see that javaw is running and is like 8000K big but nothing pops up on the screen I have tried a test program just a simple hello world c...
http://forums.devshed.com/programming-42/java-jar-35212.html
CC-MAIN-2017-13
refinedweb
206
53.98
From: Martin Weiser (weiser_at_[hidden]) Date: 2002-07-01 04:43:22 Thanks for the clarification. I'll give the xgemm-specialization a second try as soon as I find the time. Yours, Martin On Samstag, 29. Juni 2002 15:04, Joerg Walter wrote: > Yep. But I shouldn't only state it, but also show. So I wrote a little > sampl...
https://lists.boost.org/Archives/boost/2002/07/31214.php
CC-MAIN-2019-35
refinedweb
234
57.98
This is an article for everyone who does not want to spend hours messing around with the AVIFile functions, if he only wants to read or change a simple AVI video. I have wrapped the most important AVIFile functions into three easy to use C# classes that can handle the following tasks: These features cover the common us...
http://www.codeproject.com/KB/audio-video/avifilewrapper.aspx
crawl-002
refinedweb
3,230
50.94
More C++ Idioms/nullptr From Wikibooks, the open-content textbooks collection [edit] nullptr [edit] Intent To distinguish between an integer 0 and a null pointer. [edit] Also Known As [edit] Motivation For many years C++ had an embarrassment of not having a keyword to designate a null pointer. The upcoming C++ standard...
http://en.wikibooks.org/wiki/More_C%2B%2B_Idioms/nullptr
crawl-002
refinedweb
443
51.99
therefore be available in a starter application, and be deployable without any fuzz or configuration overhead. This blog-article demonstrates how to rapidly create the HRService – an ADF BC driven WebService on top of the EmployeesView ViewObject that exposes the EMPLOYEES table in the HR schema through the Employee E...
https://technology.amis.nl/2010/12/29/quickly-creating-reploying-and-testing-a-webservice-interface-for-adf-business-components/
CC-MAIN-2018-05
refinedweb
1,776
54.42
Conversational Exchange (in 10 days!) - Alexandrina Gallagher - 2 years ago - Views: Transcription 1 2 Conversational Exchange (in 10 days!) By J. Peter Bruzzese Copyright 2014 First Edition 2 3 Conversational Exchange (in 10 days!) Copyright 2014. Printed in the United States of America First Printing: February 2014 T...
http://docplayer.net/1036558-Conversational-exchange-in-10-days.html
CC-MAIN-2018-26
refinedweb
38,600
59.94
the wait. Getting started with the new Angular 2 components is entirely different than it was with Kendo UI For jQuery. Just like all of you, I have to learn these strange new concepts and how to use Kendo UI in a brave new world of modules, directives and the like. I recently sat down for an afternoon with the beta c...
https://dzone.com/articles/using-kendo-ui-with-angular-2-1
CC-MAIN-2017-26
refinedweb
2,187
62.88
[ ] Jason Smith commented on COUCHDB-431: ------------------------------------- Alex, thanks for your thoughts. Some feedback: I disagree that CORS is not hard security. It is hard security because same-origin is the primary protector of all data on the web. Without same-origin restrictions, any site you visit could re...
http://mail-archives.apache.org/mod_mbox/couchdb-dev/201105.mbox/%3C1683324868.55057.1306816787460.JavaMail.tomcat@hel.zones.apache.org%3E
CC-MAIN-2015-27
refinedweb
351
65.73
Selection sorts are a very common method of sorting. Here is a selection sort that is implemented in Python. def selection_sort(items): for i in range(len(items) - 1): # Assume that the smallest item is located at index i smallest = i # Now loop through the rest of the list for j in range(i + 1, len(items)): # Is our i...
https://stonesoupprogramming.com/2017/05/08/selection-sort-python/
CC-MAIN-2018-05
refinedweb
213
61.77
Release 2.3 Mon May 6 16:18:02 EST 2002 This is a another release of the pydns code, as originally written by Guido van Rossum, and with a hopefully nicer API bolted over the top of it by Anthony Baxter <anthony@interlink.com.au>. This code is released under a Python-style license. I'm making this release because there...
https://bitbucket.org/jaraco/pydns/src/a9e63f944ed4?at=r230
CC-MAIN-2015-48
refinedweb
616
66.33
query is an isomorphic interface for working with Qe - Query envelopes. There are two distinct parts of query: An example query: // Resource to query// Match conditions// also supports `.or()`// Number of results// Result to skip; // `callback(err, results)` npm install mekanika-query Build Qe - Query envelopes: var my...
https://www.npmjs.com/package/mekanika-query
CC-MAIN-2017-43
refinedweb
1,089
64.3
Hi, While running a simple thread wake-up benchmark on a 4-way ia64 system I noticed an interesting behaviour. The program was stolen from Ian Wienand's pthreadbench suite. It is a simple producer/consumer program with 1 producer and N consumers. The thing is, with some values of N, the program runs almost 10 times slo...
https://listman.redhat.com/archives/phil-list/2003-April/msg00074.html
CC-MAIN-2017-30
refinedweb
514
61.02
The QScriptEngine class provides an environment for evaluating Qt Script code. More... #include <QScriptEngine> Inherits QObject. This class was introduced in Qt 4.3. The QScriptEngine class provides an environment for evaluating Qt Script code. See the QtScript documentation for information about the Qt Script languag...
https://doc.qt.io/archives/qtopia4.3/qscriptengine.html
CC-MAIN-2021-49
refinedweb
664
51.04
Welcome to the Parallax Discussion Forums, sign-up to participate. void loop() { //Read analog inputs on IO1 pots[0] = map(muxShield.analogReadMS(1,0), 0, 1023, 0, 300); //IO1, pin 0 pots[1] = map(muxShield.analogReadMS(1,1), 0, 1023, 0, 300); //IO1, pin 1 pots[2] = map(muxShield.analogReadMS(1,2), 0, 1023, 0, 300); //...
http://forums.parallax.com/discussion/167761/read-in-string-from-serial-and-parse-in-c
CC-MAIN-2018-30
refinedweb
1,132
62.88
Not too long ago I read a question from someone who wanted to know how to make the Accordion control display more than one child at time. The response said to use a VBox. This question and the response intrigued me, so I set out to create a control which would allow any number of its children to be open simultaneously....
http://blogs.adobe.com/peterent/2007/04/03/the_stack_compo/
CC-MAIN-2015-35
refinedweb
1,223
62.58
On 24.08.2021 12:50, Anthony PERARD wrote: > Currently, the xen/Makefile is re-parsed several times: once to start > the build process, and several more time with Rules.mk including it. > This makes it difficult to reason with a Makefile used for several > purpose, and it actually slow down the build process. I'm strug...
https://lists.xenproject.org/archives/html/xen-devel/2021-10/msg00458.html
CC-MAIN-2021-49
refinedweb
567
69.99
can please give this code !i am going to do a factorial function using recursion definition and then . my professor told me that we are going to create a three screen. the first screen should be input an MAIN MENU then above that RECURSION below that again the EXIT BUTTON.. then second screen SHOULD BE INPUT an meaning...
http://www.roseindia.net/answers/viewqa/Java-Beginners/26895-factorial-using-recursive.html
CC-MAIN-2015-40
refinedweb
219
50.57
Oct 26th, 2015 With our User Retention Reports you can dive into your user loyalty. Depending on the type of application you monitor, you can select day, week or monthly granularity. You can also go back in history and verify to which extent you have managed to increase the user loyalty. You can easily compare cohorts ...
http://www.telerik.com/support/whats-new/analytics
CC-MAIN-2017-04
refinedweb
359
68.06
I have a specific problem that I'm working out that involves a lot of XML processing. My set of requirements is perhaps a bit more involved than we should try to tackle for a first go at this. But I throw them out to start the discussion... In my project, I use XML-encoded data in two distinct contexts: internal to the...
http://www.crystalclearsoftware.com/cgi-bin/boost_wiki/wiki.pl?BoostXMLDiscussion
CC-MAIN-2017-13
refinedweb
1,518
60.24
One how to obtain a list of sensor and how we can use one of them (i.e Barometer sensor). We want to create an app that show the current pressure: Using sensor in android When we develop an android app and we need a specific sensor so that our app can run we have two different choices: - Specify it the sensor in the An...
http://www.javacodegeeks.com/2013/09/android-sensor-tutorial-barometer-sensor.html/comment-page-1/
CC-MAIN-2015-06
refinedweb
670
54.52
Bummer! This is just a preview. You need to be signed in with a Basic account to view the entire video. Editing Todo Items8:57 with Jason Seifer It's time to add the functionality to edit todo items! We can create them but we may want to change the content at some point. In this video we'll write the tests and code for...
https://teamtreehouse.com/library/build-a-todo-list-application-with-rails-4/build-a-todo-list-application-with-rails-4/editing-todo-items
CC-MAIN-2016-50
refinedweb
1,494
91.92
capnp-rpc-unix See LICENSE.md for details. Contents Why does my connection stop working after 10 minutes? How can I return multiple results? Can I create multiple instances of an interface dynamically? How can I debug reference counting problems? How can I import a sturdy ref that I need to start my vat? How can I rele...
https://ocaml.org/p/capnp-rpc-unix/1.2.2
CC-MAIN-2022-33
refinedweb
7,537
60.11
- MusicForMellons last edited by MusicForMellons How can I set AppFullscreen at pageload? I tried: import { AppFullscreen } from 'quasar' export default { mounted () { this.toggleFullscreen() }, methods: { toggleFullscreen () { AppFullscreen.toggle() } } But does not work… AppFullscreen is just a wrapper over the Fulls...
https://forum.quasar-framework.org/topic/243/how-to-set-appfullscreen-at-pageload
CC-MAIN-2022-21
refinedweb
233
67.96
ITDefense 2008 Next Week Sunday, 20. January 2008, 20:42:27 linux, programming and security Sunday, 20. January 2008, 20:42:27 Sunday, 20. January 2008, 20:37:53 $ host localhost.opera.com localhost.opera.com has address 127.0.0.1 Sunday, 26. August 2007, 20:04:04 $ gcc avtag.c open.c vxfuzz.c -o vxfuzz -Wl,-rpath,$PWD...
http://my.opera.com/taviso/blog/
crawl-001
refinedweb
1,553
63.59
The Smoker Beggar As they say,beggars can’t be choosers,in fact beggar take what they can get. A beggar on the street can make one cigarette out of every 6 cigarette butts he finds. After one whole day of searching and checking public ashtrays the beggar finds a total of n cigarette butts. You have to find the number o...
https://coderinme.com/the-smoker-beggar-hackerearth-coderinme/
CC-MAIN-2019-09
refinedweb
166
72.46
# ][cg] is now a plugin for [Gradle][], which adds [Clojure][clj]` form is the first in the file. Comments may precede the form. The symbol is allowed to be fully qualified: `clojure.core/ns`. * [Clojars][cr].2.0' } } group = 'example.group' version = '1.0.0'' } configureClojarsDeploy(uploadArchives) A small walkthroug...
https://bitbucket.org/myfreeweb/clojuresque/src/5cb061a790e9/?at=stable
CC-MAIN-2015-14
refinedweb
229
60.92
In this article, I will show how to set a simple multipage website with esbuild. The code used here is similar to the one I used in this webpack 5 example, so you can use those two articles to compare both bundlers - in both speed & ease of use. Use cases There are multiple reasons you would like to do it. You can have...
https://dev.to/marcinwosinek/how-to-build-a-multipage-website-with-esbuild-5bja
CC-MAIN-2021-39
refinedweb
700
65.52
Generic submatrix view adapter used internally in the OpenCLMatrixDomain. More... #include <opencl-domain.h> Generic submatrix view adapter used internally in the OpenCLMatrixDomain. NULL constructor. Constructor from an existing . Constructor from an existing Matrix and dimensions. Constructor from an existing Submatr...
https://linalg.org/linbox-html/class_lin_box_1_1_submatrix_adapter.html
CC-MAIN-2022-40
refinedweb
129
53.88
C program to create a file called emp.txt and store information about a person, in terms of his name, age and salary. /*********************************************************** * You can use all the programs on * for personal and learning purposes. For permissions to use the * programs for commercial purposes, * cont...
http://c-program-example.com/2011/10/c-program-for-file-operations.html
CC-MAIN-2018-30
refinedweb
145
67.25
discuss library How to Read this Lecture¶ We use dynamic programming many applied lectures, such as The objective of this lecture is to provide a more systematic and theoretical treatment, including algorithms and implementation while focusing on the discrete case. Code¶ The code discussed below was authored primarily...
https://lectures.quantecon.org/py/discrete_dp.html
CC-MAIN-2019-35
refinedweb
707
55.34
Some time ago I did some work on a web application built on Sitecore which used the new application cache introduced in HTML5. Application cache essentially makes your web site/application or parts of it available offline and thus can also speed up your application in certain scenarios as content is cached locally. Usi...
https://blog.krusen.dk/hooking-sitecores-save-pipeline/
CC-MAIN-2019-22
refinedweb
1,149
62.68
SAN FRANCISCO--(BUSINESS WIRE)- 2017, the year's top .FM sites and brands. dotFM’s year-end top 100 ranking, “.FM Top 100 Hits of 2017” lists the top sites and brands from the past year under dotFM. The top 100 hits represent some of the most recognizable and innovative brands in streaming media and social entertainmen...
https://www.businesswire.com/news/home/20180129005222/en/BRS-Media%E2%80%99s-dotFM-Releases-Ranking-Top-.FM
CC-MAIN-2018-34
refinedweb
279
68.77
When we have two classes where one extends another and if, these two classes have the same method including parameters and return type (say, sample) the method in the subclass overrides the method in the superclass. i.e. Since it is an inheritance. If we instantiate the subclass a copy of superclass’s members is create...
https://www.tutorialspoint.com/is-it-possible-to-override-a-java-method-of-one-class-in-same
CC-MAIN-2021-31
refinedweb
266
51.89
Counting Sort succeeds by constructing a much smaller set of k values in which to count the n elements in the set. Given a set of n elements, Bucket Sort constructs a set of n buckets into which the elements of the input set are partitioned; Bucket Sort thus reduces its processing costs at the expense of this extra spa...
https://www.safaribooksonline.com/library/view/algorithms-in-a/9780596516246/ch04s08.html
CC-MAIN-2018-17
refinedweb
1,438
50.16
Harnessing the BackPack API - Part IV If you're like me, you're always keeping an eye on what's happening on eBay. Whenever I find something that I'm interested in tracking, I use eBay's Watch List feature to remember it for me. However, I find when I'm watching lots of items it's not so easy to sort, filter, and displ...
https://channel9.msdn.com/coding4fun/articles/Building-a-Custom-eBay-Watch-List-Using-the-SOAP-API
CC-MAIN-2017-09
refinedweb
2,898
58.08
Objective Write a small JavaScript script that blinks a LED on a STM32F board by interacting with a couple of ARM mbed C HAL functions. It should work on other targets supported by ARM mbed. Background There are many reasons why you might want to add a scripting functionality to your embedded MCU. This project here foc...
https://www.hackster.io/mkm/run-javascript-on-stm32-with-mbed-0590e3
CC-MAIN-2020-10
refinedweb
756
72.87
So I don't want the algorithm to run through all the stocks out there, but I want it to use a handful of different stocks I give it each day to trade on. How would I go about doing this? Thanks So I don't want the algorithm to run through all the stocks out there, but I want it to use a handful of different stocks I gi...
https://www.quantopian.com/posts/how-to-use-your-own-stocks-with-quantopian
CC-MAIN-2018-39
refinedweb
643
72.56
On 2012-05-31 09:38, Paolo Bonzini wrote: > Il 31/05/2012 00:53, Luigi Rizzo ha scritto: >> The image contains my fast packet generator "pkt-gen" (a stock >> traffic generator such as netperf etc. is too slow to show the >> problem). pkt-gen can send about 1Mpps in this configuration using >> -net netmap in the backend...
https://lists.gnu.org/archive/html/qemu-devel/2012-05/msg04417.html
CC-MAIN-2019-51
refinedweb
502
55.03
06-26-2009 09:42 AM Hi, one of my big problems when developing for the ml403 is that I never managed to make the USB to work. In particular, I never managed to make the c67x00 driver to work in Linux, although I managed to made the usb keyboard example code(from EDK) to run together with the SystemACE ( they share some...
https://forums.xilinx.com/t5/Embedded-Linux/Device-Tree-for-c67x00/m-p/42751
CC-MAIN-2020-29
refinedweb
1,772
63.7
Bot::BasicBot::Pluggable - extended simple IRC bot for pluggable modules version 0.98 # with all defaults. my $bot = Bot::BasicBot->new(); # with useful options. pass any option # that's valid for Bot::BasicBot. my $bot = Bot::BasicBot::Pluggable->new( channels => ["#bottest"], server => "irc.example.com", port => "666...
http://search.cpan.org/~diz/Bot-BasicBot-Pluggable-0.98/lib/Bot/BasicBot/Pluggable.pm
CC-MAIN-2014-23
refinedweb
1,211
68.97
Use Intel C/C++ compilers V12.0.1.107 or higher version to resolve error when preprocessing and then compiling C++ language code which included math.h or mathimf.h header Por Eugeny Gladkov (Intel), publicado el 20 de diciembre de 2011 Version: Intel® C/C++ compilers V11.0 and earlier, and Intel® C/C++ compilers V12.0 ...
https://software.intel.com/es-es/articles/use-intel-cc-compilers-v1201107-or-higher-version-to-resolve-error-when-preprocessing-and
CC-MAIN-2018-17
refinedweb
251
53.37
#include <unistd.h>, −1 is returned, and errno is set appropriately. Depending on the filesystem, other errors can be returned. The more general errors are listed below: Search permission is denied on a component of the path prefix. (See also path_resolution(7).) path points outside your accessible address space. An I/...
http://manpages.courier-mta.org/htmlman2/chroot.2.html
CC-MAIN-2017-17
refinedweb
125
55.61
Building Windows 8 blog Windows Store for developers blog Visual Studio blog The Windows blog Inside SkyDrive blog Download Windows 8 Release Preview Windows Dev Center The //build/ conference Developer forums Hi, I’m John Sheehan, Partner Architect on the Windows Development team. We really appreciate you building app...
http://blogs.msdn.com/b/windowsappdev/archive/2012/03/08/migrating-your-apps-from-developer-preview-to-consumer-preview.aspx
CC-MAIN-2015-27
refinedweb
2,308
61.67
PMDAPROMETHEUS(1) General Commands Manual PMDAPROMETHEUS(1) pmdaprometheus - Prometheus PMDA $PCP_PMDAS_DIR/prometheus/pmdaprometheus [-D] [-n] [-c config] [-d domain] [-l logfile] [-r root] [-t timeout] [-u user] pmdaprometheus is a Performance Metrics Domain Agent (PMDA) which creates PCP metrics from Prometheus endp...
http://man7.org/linux/man-pages/man1/pmdaprometheus.1.html
CC-MAIN-2019-35
refinedweb
2,299
55.64
Python. ? one question, would it be possible to add some of the introspection features from such as class_copyMethodList, etc, so that the list of available selectors is visible, perhaps when doing a dir(object)? as far as i can tell, ctypes wont let us call runtime methods directly, will it?). I see the option to not ...
https://forum.omz-software.com/topic/1971/pythonista-1-6-beta-160020/15
CC-MAIN-2019-09
refinedweb
466
72.76
If you're a Web developer, you know you should target your Web applications to be “mobile first.” This means that your Web applications should look great on a mobile device, and good, if not great, on a desktop browser. There are many techniques you can use to help you develop for mobile. One technique is to use Bootst...
https://www.codemag.com/Article/1803021/Eliminate-HTML-Tables-for-Better-Mobile-Web-Apps
CC-MAIN-2020-40
refinedweb
957
71.55
Assembly.GetType Method (String, Boolean) Updated: July 2010 Assembly: mscorlib (in mscorlib.dll) Parameters - name - Type: System.String The full name of the type. - throwOnError - Type: System.Boolean true to throw an exception if the type is not found; false to return null. Return ValueType: System.Type An object th...
http://msdn.microsoft.com/en-us/library/19y21115.aspx
crawl-003
refinedweb
147
61.43
Components and supplies Necessary tools and machines Apps and online services About this project Background A breeder, friend of mine, asked me for help to find a technique to warn her in case one of her mare is giving birth. We could not find on the market any suitable device that would allow her continuing her other ...
https://create.arduino.cc/projecthub/pittex/foaling-monitor-139532
CC-MAIN-2018-26
refinedweb
839
61.77
The QMouseDriverPlugin class is an abstract base class for mouse driver plugins in Qtopia Core. More... #include <QMouseDriverPlugin> Inherits QObject. The QMouseDriverPlugin class is an abstract base class for mouse driver plugins in Qtopia Core. Note that this class is only available in Qtopia Core. Qtopia Core, Qtop...
https://doc.qt.io/archives/qtopia4.3/qmousedriverplugin.html
CC-MAIN-2019-26
refinedweb
206
60.11
Changes to the System.Uri namespace in Version 2.0 Several changes were made to the System.Uri class. These changes fixed incorrect behavior, enhanced usability, and enhanced security. Constructors: All constructors that have a dontEscape parameter. Methods: For URI schemes that are known to not have a query part (file...
http://msdn.microsoft.com/en-us/library/ms229708(v=vs.100).aspx
CC-MAIN-2014-23
refinedweb
236
62.24
I am trying to get into OOP and I have written this little example program I am running in shell. I have to type accountNumber = bankAccount("user name") to create an object. I want the user to input there name, which is an attribute of my bankAccount object and the want the object variable accountNumber to be a number...
http://www.python-forum.org/viewtopic.php?f=6&t=10678&p=13530
CC-MAIN-2014-42
refinedweb
162
69.48
Green Thread - Java Beginners Green Thread Hello, Can any one say the definition and use of Green Thread in java. Thanks in advance... Hi friend Green threads... threading model in 1.2 and beyond. Green threads may have had an advantage automatically break line when ever I put enter. automatically break line when ever ...
http://www.roseindia.net/tutorialhelp/comment/85540
CC-MAIN-2014-10
refinedweb
2,875
57.06