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 |
|---|---|---|---|---|---|
Bryan Thompson
2005-07-14
Hello,
It seems to me that the cache eviction policy is too eager. As it stands in the default configuration the CacheRecordManager coordinates with the MRU CachePolicy to evict the least recently used object from the cache once the cache is full. However, if there is a hard reference to this ... | http://sourceforge.net/p/jdbm/discussion/12569/thread/a91476cc | CC-MAIN-2014-52 | refinedweb | 3,512 | 60.45 |
You must have seen a lot of very fancy Status Bars in different samples and commercial
applications with progress bars, animation, images etc etc. Here, I present a technique
for making a Text Only Status bar with many text-only panes and with it's own tool tips
extracted from the Status Bar panes themselves.
You can e... | http://www.codeproject.com/Articles/497/Text-Only-Status-Bar?fid=625&df=90&mpp=10&sort=Position&spc=None&tid=77680 | CC-MAIN-2015-27 | refinedweb | 220 | 63.19 |
✨✨Big Python Tutorial✨✨
✨✨Hello✨There✨✨
Welcome to My
Boring Fun 🐍🐍Python🐍🐍 Tutorial where I will be teaching YOU python. This tutorial will cover the basics of python an I promise you that you will learn a Lot. Without a Further a due go and learn Python! Credits to @RhinoRunner for helping with the tutorial. Me a... | https://replit.com/talk/learn/sparklessparklesBig-Python-Tutorialsparklessparkles/120516 | CC-MAIN-2021-21 | refinedweb | 5,085 | 64.95 |
How to File Tax on Rental Property in a Different State Than You Live In
If.
Instructions
- 1
Complete your federal tax return (form 1040, 1040A or 1040EZ), listing all income from your rental property. You should also list any deductions associated with the property, as the income is considered business income and sta... | http://www.ehow.com/how_6031249_file-property-different-state-live.html | crawl-003 | refinedweb | 467 | 53.51 |
I haven't developed an AppEngine application yet, I'm just taking a look around their documentation and seeing what stands out for me. It's not the much speculated super cluster VM. AppEngine is solidly grounded in code and structure. It reminds me a little of the guy who ran a website out of S3 with a splash of Heroku... | http://highscalability.com/google-appengine-first-look | crawl-002 | refinedweb | 1,563 | 65.52 |
To navigate from one page to another, you can take advantage of the static
Navigate method on the page’s read-only NavigationService property. This passes your request to the NavigationService Singleton for your application, and greatly simplifies the navigation syntax.
A Quick Demo
Demos should, in my opinion, be abso... | http://jesseliberty.com/2010/12/29/windows-phone-from-scratch-navigation/ | CC-MAIN-2014-49 | refinedweb | 418 | 55.64 |
!ATTLIST div activerev CDATA #IMPLIED>
<!ATTLIST div nodeid CDATA #IMPLIED>
<!ATTLIST a command CDATA #IMPLIED>
It may be that I am tired but I cannot seem to figure out how to place a script that doesnt inherit from monobehaviour into an array of that type in the editor/inspector
Example:
[System.Serializable] public ... | http://answers.unity3d.com/questions/49795/how-to-place-a-non-monobehaviour-script-into-an-ar.html | CC-MAIN-2014-42 | refinedweb | 860 | 55.07 |
preface
This article is included in the album:, click to unlock more knowledge of data structure and algorithm.
Hello, I’m brother Tong, a hard core man who climbs 26 floors every day and doesn’t forget to read the source code.
Array, linked list, queue and stack are the most basic four structures in data structure. Ar... | https://developpaper.com/review-four-basic-data-structures-array-linked-list-queue-and-stack/ | CC-MAIN-2021-25 | refinedweb | 1,527 | 71.34 |
VERSIONversion 0.05
SYNOPSIS
my $result = $.cache->get('key');
if (!defined($result)) {
... compute $result ...
$.cache->set('key', $result, '5 minutes');
}
...
% $.Cache('key2', '1 hour') {{
<!-- this will be cached for an hour -->
% }}
DESCRIPTIONAdds a "cache" method and "Cache" filter to access a cache (CHI) object... | http://manpages.org/masonplugincache/3 | CC-MAIN-2018-30 | refinedweb | 277 | 66.64 |
> The relocation support might be worse implementing it or not, we should > discuss this. Does anyone use it? I do not use rpms relocation feature, just because my only linux box is a debian. but read further. My Desktop Environment is GNUstep (a Cocoa/OpenSTEP clone). This environment supports application in a users s... | http://leaf.dragonflybsd.org/mailarchive/kernel/2003-09/msg00066.html | CC-MAIN-2014-42 | refinedweb | 142 | 70.09 |
Hello, welcome to therichpost.com. In this post, I will tell you, What is RequestOptions in Angular? I am familiar with Angular 1 very well but Angular 2 is totally different with Angular 1. Angular2 is totally command based.
RequestOptions is used in when we post or send data like if we want to send json data then we ... | https://therichpost.com/what-is-requestoptions-in-angular/ | CC-MAIN-2021-43 | refinedweb | 138 | 54.73 |
C UConverter functions to aid the writers of callbacks. More...
#include "unicode/utypes.h"
#include "unicode/ucnv.h"
#include "unicode/ucnv_err.h"
Go to the source code of this file.
C UConverter functions to aid the writers of callbacks.
These functions are provided here for the convenience of the callback writer. If... | https://unicode-org.github.io/icu-docs/apidoc/dev/icu4c/ucnv__cb_8h.html | CC-MAIN-2021-39 | refinedweb | 468 | 66.33 |
On Wed, May 28, 2008 at 12:46 AM, Olivier Boudry <olivier.boudry at gmail.com> wrote: > If the calling convention is stdcall on Windows and ccall on other OS then > it should be defined based on the OS. This can be done by updating the .hsc > files to define the calling convention as a "macro" depending on the OS > typ... | http://www.haskell.org/pipermail/haskell-cafe/2008-May/043667.html | CC-MAIN-2014-35 | refinedweb | 105 | 85.59 |
S-expression
S-expression is an actively used meta language created in 1960. In computing, s-expressions,. Read more on Wikipedia...
- S-expression ranks in the top 25% of languages
- the S-expression wikipedia page
- S-expression first appeared in 1960
- See also: lisp, scheme, c, common-lisp, xml, python, islisp, rfc... | https://codelani.com/languages/s-expressions.html | CC-MAIN-2020-45 | refinedweb | 162 | 65.93 |
Initializing a static variable inside a namespace
Discussion in 'C++' started by ik, Sep 22, 2004.:
- 501
- Adam Smith
- Apr 15, 2004
Initializing static class memberAvi Uziel, Sep 24, 2003, in forum: C++
- Replies:
- 14
- Views:
- 821
- WW
- Sep 26, 2003
Initializing a static const member array of a class typeSteven T... | http://www.thecodingforums.com/threads/initializing-a-static-variable-inside-a-namespace.285786/ | CC-MAIN-2015-06 | refinedweb | 116 | 59.47 |
32011/how-to-delete-an-ec2-instance-using-python-boto3
You just need to have the list of instances that you want to delete and then pass it as an argument and you are done.
you can use the following code for the same:
import boto3
ids = ['i-1','i-2','i-3','i-4','i-5']
ec2 = boto3.resource('ec2')
ec2.instances.filter(In... | https://www.edureka.co/community/32011/how-to-delete-an-ec2-instance-using-python-boto3 | CC-MAIN-2019-30 | refinedweb | 132 | 78.75 |
Principles, Patterns, and Practices: The Strategy, Template Method, and Bridge Patterns
The Strategy, Template Method, and Bridge Patterns
One of the great benefits of object-oriented programming is polymorphism; i.e., the ability to send a message to an object without knowing the true type of the object. Perhaps no pa... | http://today.java.net/pub/a/today/2004/10/29/patterns.html | crawl-003 | refinedweb | 1,677 | 56.66 |
Im new to python, coming from PHP so i hardly understand it.
I have a very basic "launch switch" attached to GPIO 23 & GPIO GND and am running this python.
But it works in reverse, when the switch is off or disconnected the "switch + number" clocks, but when I activate the switch it stops, is this a problem in my pytho... | https://lb.raspberrypi.org/forums/viewtopic.php?f=31&t=35502 | CC-MAIN-2020-10 | refinedweb | 142 | 83.66 |
Linux is a very dynamic system with constantly changing computing needs. The representation of the computational needs of Linux centers around the common abstraction of the process. Processes can be short-lived (a command executed from the command line) or long-lived (a network service). For this reason, the general ma... | http://www.ibm.com/developerworks/library/l-linux-process-management/ | CC-MAIN-2014-35 | refinedweb | 2,539 | 54.32 |
Servlets
Servlets Java Servlet technology You have set....
Anyways, please visit the following links:
servlets
what are filters in java servlets what are filters in java
Filters are powerful tools in servlet environment. Filters add certain functionality to the servlets apart from processing request and response paradi... | http://www.roseindia.net/tutorialhelp/comment/92155 | CC-MAIN-2014-23 | refinedweb | 570 | 64.61 |
Developing extensions to the headless framework (Buckminster)
From Eclipsepedia
Adding a Headless Command
Not surprisingly, the framework deals with making it possible to add a new command, for example 'helloworld', so you can write
buckminster helloworld
The name, an optional namespace (in addition to the plugin names... | http://wiki.eclipse.org/Developing_extensions_to_the_headless_framework_%28Buckminster%29 | crawl-003 | refinedweb | 380 | 55.03 |
I am looking at ways to implement infinite scrolling with React. I have come across react-infinite-scroll and found it inefficient as it just adds nodes to the DOM and doesn’t remove them. Is there any proven solution with React which will add, remove and maintains constant number of nodes in the DOM.
Here is the jsfid... | https://exceptionshub.com/infinite-scrolling-with-react-js-2.html | CC-MAIN-2021-21 | refinedweb | 428 | 51.24 |
In this tutorial we'll dive back into the Vuforia Augmented Reality (AR) library, exploring one of its most interesting resources—the Image Target. We'll expand on the Shoot the Cubes game that we created in earlier lessons, adding a new level where the player needs to defend their base from attacking cubes.
This tutor... | https://code.tutsplus.com/tutorials/create-a-pokemon-go-style-augmented-reality-game-with-vuforia-part-3--cms-28246 | CC-MAIN-2018-34 | refinedweb | 2,269 | 65.93 |
Python Programming, news on the Voidspace Python Projects and all things techie.
PyCon UK and Mix UK Photos
Unfortunately I forgot my camera at both the PyCon UK Mix UK conferences I attended recently. Luckily other people weren't so dopey.
A picture of me giving my presentation at PyCon UK, from Chris Miles:
The next ... | http://www.voidspace.org.uk/python/weblog/arch_d7_2007_09_15.shtml | CC-MAIN-2013-48 | refinedweb | 683 | 72.46 |
Java stacks certainly are tall. You have your web server, your application server, servlet container, an IoC container, JPA, JAAS, JAX-RS, and that’s before you actually write any code.
The Play! framework seems set to change all that. It throws nearly all of the enterprise out of Java and instead provides you with a v... | https://lostechies.com/jamesgregory/2011/09/18/observations-on-the-play-framework/ | CC-MAIN-2016-36 | refinedweb | 1,406 | 65.73 |
Here is the problem:
Given a list of integers, A0, A2, ... , An-1, each of which may be
positive or negative, find the sublist of integers Ai, ..., Aj which has
the maximum sum of any sublist. If all the integers are negative,
return 0.
A sublist has to start at some position in the original list, finish at some later ... | http://www.javaprogrammingforums.com/%20whats-wrong-my-code/1384-i-have-algorithm-problem-printingthethread.html | CC-MAIN-2015-48 | refinedweb | 321 | 67.45 |
Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
4 years, 5 months ago.
Saving string from (RX,TX) to an array
Hello! I need help in saving a string data type coming from RS232 (RX,TX) to an array. I have t... | https://os.mbed.com/questions/68964/Saving-string-from-RXTX-to-an-array/ | CC-MAIN-2020-45 | refinedweb | 741 | 73.78 |
However, unlike the other components, Webel runs entirely off web services. All cheminformatics analysis is carried out using Rajarshi's REST services (which use the CDK and are hosted at Uppsala) and the NIH's Chemical Identifier Resolver (by Markus Sitzmann, and which uses Cactvs for much of its backend).
To use Webe... | http://baoilleach.blogspot.com/2009/11/introducing-webel-cheminformatics.html | CC-MAIN-2015-27 | refinedweb | 820 | 67.15 |
Then I guess you need to fix up the debugger code, take a fork and mend it.
Use a logic analyzer, Oscilloscope or console out to find out why it is not working.
Then I guess you need to fix up the debugger code, take a fork and mend it.
Use a logic analyzer, Oscilloscope or console out to find out why it is not working... | https://forum.pjrc.com/search.php?s=4449edf77d9c35d433c01cb725c39e56&searchid=6876741 | CC-MAIN-2021-43 | refinedweb | 1,521 | 81.43 |
Created on 2020-01-19 20:23 by wchargin, last changed 2020-03-04 07:06 by ned.deily. This issue is now closed.
The `gzip` module properly uses the user-specified compression level to
control the underlying zlib stream compression level, but always writes
metadata that indicates that the maximum compression level was us... | https://bugs.python.org/issue39389 | CC-MAIN-2021-04 | refinedweb | 412 | 68.57 |
How YOU can Learn Mock testing in .NET Core and C# with Moq
Chris Noring
Updated on
・11 min read
Follow me on Twitter, happy to take your suggestions on topics or improvements /Chris
When we test we just want to test one thing - the business logic of the method. Often our method needs the help of dependencies to be abl... | https://practicaldev-herokuapp-com.global.ssl.fastly.net/dotnet/how-you-can-learn-mock-testing-in-net-core-and-c-with-moq-4ikd | CC-MAIN-2020-05 | refinedweb | 2,828 | 54.93 |
Robert Klarer, Oct 26 2014
Disclosure: I intend to vote for Morgan Baskin tomorrow.
Imagine that there's going to be a municipal election in your town on Monday, in which the town's mayor will be selected. Furthermore, let's assume that there are three major candidates in the race. Sound familiar? Okay, let's make the ... | http://klarer.ca/ | CC-MAIN-2019-04 | refinedweb | 1,059 | 54.36 |
I was actually asked a question around this topic in an interview a few years ago. It is quite an interesting area and delves into some deep parts of C++.
A common scenario in C++ is to create a container of user defined objects. In quantitative finance, this might be a vector of derivative contracts, for instance. One... | https://quantstart.com/articles/STL-Containers-and-Auto_ptrs-Why-They-Dont-Mix/ | CC-MAIN-2022-27 | refinedweb | 858 | 53.92 |
With by programmatically connecting to wifi networks.
In this post, I’ll go over how to add this feature to your Xamarin.Forms app. This creates a smoother pairing process for users and their new IoT devices.
Shared Code
To begin, we’ll need to add an interface for the wifi connector. This interface will be implemented... | https://spin.atomicobject.com/2018/02/15/connecting-wifi-xamarin-forms/ | CC-MAIN-2019-09 | refinedweb | 1,705 | 50.33 |
Ajay <abra9823 at mail.usyd.edu.au> wrote: > the statement attribs.getNamedItem("appel:connective") however returns > None. Oh dear me. This is issue 20 from: Which I believed had been fixed in PyXML 0.7, but apparently not; certainly I can see the problem again in 0.8.3. Using namespace-unaware methods to access attri... | https://mail.python.org/pipermail/xml-sig/2004-August/010487.html | CC-MAIN-2014-10 | refinedweb | 124 | 53.37 |
Red Hat Bugzilla – Bug 13030
Patch to compile rpm-3.0.5 under Tru64 Unix
Last modified: 2008-05-01 11:37:56 EDT
rpm-3.0.5 as released doesn't build under Compaq's
Tru64 Unix 4.0F with gcc. Here's the patch:
diff -rc rpm-3.0.5.orig/lib/md5.h rpm-3.0.5/lib/md5.h
*** rpm-3.0.5.orig/lib/md5.h Wed Jun 21 00:14:00 2000
--- r... | https://bugzilla.redhat.com/show_bug.cgi?id=13030 | CC-MAIN-2018-09 | refinedweb | 130 | 72.02 |
This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.
Feel free to ignore this; it's mostly a brain dump. Or feel free to read down as far as the start of README.AVAIL and stop there. I've created a new branch: gdb-csl-available-20060303-branch This is for the "available registers as a ta... | http://sourceware.org/ml/gdb/2006-03/msg00031.html | crawl-002 | refinedweb | 1,924 | 64.51 |
Originally posted on my website on June 14th 2020
Using.
// MDN Docs: const trekkies = [ { id: 0, name: "Piccard", planet: "Earth" }, { id: 1, name: "Spock", planet: "Vulcan" }, { id: 2, name: "Kirk", planet: "Earth" }, { id: 3, name: "Worf", planet: "Gault" } ]; const findTrekkiesByPlanet = planet => { return trekkies... | https://practicaldev-herokuapp-com.global.ssl.fastly.net/vanaf1979/my-favourite-javascript-array-methods-for-dealing-with-api-data-4i5i | CC-MAIN-2022-05 | refinedweb | 313 | 59.3 |
It all started with a task to do:
Print all members of the group within Active Directory, including members of the nested groups.
And a deadline: 15 minutes.
Given the deadline, I had no chance to get it done in time. Having 15 minutes means you need to get it right from the first run. Googling for groovy ldap brought ... | http://groovy.dzone.com/articles/programming-ldap-groovy | CC-MAIN-2014-49 | refinedweb | 2,259 | 55.84 |
//////////////////// // my .CRX file // // here is my password definition: // CXRP = "SexyBeast" // // here are some strings: // my first string const char* pString1 = _CXR("AbcdEfg1234 blah\tblah"); // string #2 const char* pString2 = _CXR("This is a long one, not that it should matter...");
As you can see, the only d... | http://www.codeproject.com/KB/string/cxr.aspx | crawl-002 | refinedweb | 563 | 73.88 |
A Color Picker for Windows 32/64 that has no external dependencies.
Tested on Windows XP 32-bit and Windows 7 64-bit using Sublime 2 build 2165.
Screenshot:
Instructions and source code available at github.com/animehunter/SublimeC ... indowsOnly
If you spot any bugs, please post here.
Good job! It worked great here.
I ... | https://forum.sublimetext.com/t/color-picker-for-windows/4061/4 | CC-MAIN-2016-18 | refinedweb | 714 | 52.66 |
#include "koolplot.h" int main() { Plotdata x(-3.0, 3.0), y = sin(x) - 0.5*x; plot(x, y); return 0; }
Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.
Have a better answer? Share it in a comment.
From novice to tech pro — start learning today.
#pragma comment(lib,"use... | https://www.experts-exchange.com/questions/26846520/how-to-include-a-library-into-a-MS-VS-2008.html | CC-MAIN-2018-26 | refinedweb | 156 | 57.57 |
Main class of the Angle Measure plug-in. More...
#include <AngleMeasure.hpp>
Main class of the Angle Measure plug-in.
Definition at line 70 of file AngleMeasure.hpp.
Detect or show the configuration GUI elements for the module.
This is to be used with plugins to display a configuration dialog from the plugin list windo... | http://stellarium.org/doc/0.15/classAngleMeasure.html | CC-MAIN-2017-51 | refinedweb | 163 | 63.05 |
I'm trying to disable a component in C# that isn't attached to the current object the script is running on. I was using the below code to disable components attached to the current object, but how can I 'reach out' and disable others?
GetComponent<Camera>().enabled = false;
I know there is also GetComponentChildren but... | https://answers.unity.com/questions/505010/disabling-components-c.html | CC-MAIN-2019-04 | refinedweb | 940 | 64.3 |
This is an article that briefly explains the use of a group of classes I created that represent a typical set of playing cards. I wanted to create a game of cribbage, and began by looking for Open Source code that would have the basic playing card classes built for me. Surprisingly, I didn't find any that suited my nee... | https://www.codeproject.com/Articles/28958/Playing-Cards?msg=4605880 | CC-MAIN-2017-30 | refinedweb | 531 | 60.75 |
12 April 2013 18:00 [Source: ICIS news]
HOUSTON (ICIS)--Here is Friday’s midday ?xml:namespace>
CRUDE: May WTI: $91.10/bbl, down $2.41; May Brent: $101.98/bbl, down $2.29 NYMEX WTI crude futures sold down sharply in response to released data showing weak retail sales and downbeat consumer sentiment, validating recent f... | http://www.icis.com/Articles/2013/04/12/9658775/noon-snapshot-americas-markets-summary.html | CC-MAIN-2015-06 | refinedweb | 244 | 71 |
New Pages
Listed below are the most recently created pages on wikiHow. Select the drop-down menu below to view new pages from a specific namespace, or enter a user name (not real name) to view pages recently created by that individual.
Showing below up to 50 results starting with #1.
View (previous 50) (next 50) (20 | ... | http://www.wikihow.com/Special:Newpages | crawl-002 | refinedweb | 2,505 | 78.59 |
the current waveform and in the case of capacitive loading it will force to lead the current waveform than voltage waveform.
You can see the waveforms of inductive load. The phase shift of 30 degree is present in the current waveform.
The power factor is basically the “angle cosine of that lagging current". In simple ... | http://engineerexperiences.com/power-factor-measurement.html | CC-MAIN-2018-51 | refinedweb | 2,883 | 75.81 |
David works for a company that writes applications that care about when things happen. Needing a bit more time to work on other things in-house, they outsourced some module development to China.
In his own words,
They helped us to develop some modules, and my boss asked me to review one of them. It seemed to be working... | http://thedailywtf.com/Articles/Making_Time_for_UNIX.aspx | crawl-002 | refinedweb | 239 | 50.16 |
30 November 2010 09:40 [Source: ICIS news]
HO CHI MINH (ICIS)--Demand for polymers in ?xml:namespace>
"Consumption of polyethylene (PE), polypropylene (PP), polyvinyl chloride (PVC) and polystyrene (PS) is expected to record robust growth on the back of strong packaging and construction growth," said Dao Duy Kha, deput... | http://www.icis.com/Articles/2010/11/30/9414964/vietnam-polymer-demand-to-grow-16-annually-in-next-five-years.html | CC-MAIN-2014-15 | refinedweb | 152 | 66.44 |
Enable Sphinx to generate HTML5 valid files
Note
Japanese version of this document is also available, on the site or the doc folder of this package.
Introduction
Currently, June 1, 2015, Sphinx 1.3.1 cannot generate localized heading in index pages and glossary directives. This package make the gate to make the Sphinx ... | https://pypi.org/project/sortorder/ | CC-MAIN-2017-34 | refinedweb | 614 | 71.82 |
<eparsons> Looks like webex will not start until 08:00 GMT so I will set up a hangout in the meantime...
<eparsons> Use
<eparsons>
… Looks like webex will not start until 08:00 GMT so I will set up a hangout in the meantime... Use
<eparsons> Might get webex sooner if phila can change it...
<mlefranc> hello, no webex un... | https://www.w3.org/2017/03/21-sdw-minutes | CC-MAIN-2019-35 | refinedweb | 9,988 | 57.3 |
Compares two specified string objects, ignoring or honoring their case,, string,#12
Compare the path name to "file" using an ordinal comparison. The correct code to do this is as follows:
code reference: System.String.Compare#13
The following example demonstrates comparing strings with and without case sensitivity.
C# ... | http://docs.go-mono.com/monodoc.ashx?link=M%3ASystem.String.Compare(System.String%2CSystem.String%2CSystem.Boolean) | CC-MAIN-2020-05 | refinedweb | 143 | 56.55 |
I'm been working with this program trying to come up with this output:
I can't get the box or zeros to appear right. I got first and last row of the box seems to get messed up and when I set the counter equal to the rows (not displayed in code) it won't seem to work. Any one got a solution. Thanks!
Drawing program
Do y... | http://cboard.cprogramming.com/cplusplus-programming/94697-quick-question-nested-loops.html | CC-MAIN-2015-06 | refinedweb | 242 | 90.39 |
Indeed, there is a GAC in the .NET Compact Framework where you can deploy you own assemblies for shared reuse. It comes preloaded with a subset of the .NET base class libraries, which are CPU- and operating system-independent managed DLLs you can call from your applications through references to reduce the overall amo... | http://www.devx.com/codemag/Article/17441/0/page/5 | CC-MAIN-2018-39 | refinedweb | 602 | 60.72 |
25 May 2010 17:21 [Source: ICIS news]
MUMBAI (ICIS news)--India’s Deepak Fertilisers has posted an 11.4% year on year increase in its fourth quarter net profit to Indian rupees (Rs) 441.6m ($9.4m, €7.6m), on better capacity utilization and improved availability of feedstock, the company said on Tuesday.
Net profit for ... | http://www.icis.com/Articles/2010/05/25/9362492/deepak-fertilisers-posts-11.43-rise-in-net-profit-to.html | CC-MAIN-2014-35 | refinedweb | 229 | 67.04 |
tutorial assumes you're already familiar with how to configure a new Django project. If you need help, please refer to Django for Beginners which covers the topic in more detail.
Complete source code can be found on Github.
Setup
Start by creating a new Django project. This code can live anywhere on your computer. On ... | https://dev.to/learndjango/django-login-and-logout-tutorial-2nid | CC-MAIN-2021-04 | refinedweb | 1,525 | 59.5 |
Originally posted by Iain Emsley: I don't have the book but wouldn't you need something like public class party rather than just class party at the beginning?
Originally posted by Campbell Ritchie: I don't have that book, but I believe some of the earlier examples are incomplete and will compile but not run...
Original... | http://www.coderanch.com/t/411597/java/java/Java | CC-MAIN-2014-41 | refinedweb | 113 | 64.1 |
Using ASSERT(), VERIFY(), and TRACE() in non-MFC Applications
by Gabriel Fleseriu
When it comes to game development under C++, few people choose to use MFC. Still, I find
the ASSERT(), VERIFY() and TRACE() macros useful. So I thought to write my own versions
that work for any kind of project for Windows platforms.
A fe... | http://www.gamedev.net/reference/articles/article1846.asp | crawl-002 | refinedweb | 403 | 69.48 |
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
Meteor in Action
this week in the
JavaScript
forum!
JavaRanch
»
Java Forums
»
Java
»
Swing / AWT / SWT
Author
Swing thread - polling
Tom McAmmond
Ra... | http://www.coderanch.com/t/338829/GUI/java/Swing-thread-polling | CC-MAIN-2015-18 | refinedweb | 3,480 | 69.62 |
Hi everyone,
I'm having problems getting a flipped binary number (one where all the 1's of a number become 0's and vice versa) to display correctly. My program converts a value from decimal to binary and then should flip the converted binary number so that all 1's become 0's and 0's become 1's. It is not displaying the... | http://cboard.cprogramming.com/cplusplus-programming/67991-working-binary-numbers-cplusplus.html | CC-MAIN-2015-32 | refinedweb | 282 | 58.82 |
Back in the SharePoint 2007 timeframe, I wrote my checklist for optimizing SharePoint sites – this was an aggregation of knowledge from various sources (referenced in the article) and from diagnosing performance issues for my clients, and it’s still one of my more popular posts. Nearly all of the recommendations there ... | http://www.sharepointnutsandbolts.com/2011_01_01_archive.html | CC-MAIN-2016-18 | refinedweb | 1,851 | 53 |
Well,.
public class TestClass { public TestClass() { //here you can write File.Open Console.WriteLine("Constructor"); } ~TestClass() { //here you can write File.Close Console.WriteLine(.
Related Read : Using or Using ?:
public class TestClass : IDisposable { public TestClass() { //here you can write File.Open Console.W... | https://dailydotnettips.com/benefit-of-using-in-dispose-for-net-objects-why-and-when/ | CC-MAIN-2021-17 | refinedweb | 280 | 67.15 |
bt_gatt_srv_init()
Initialize resources required for the Generic Attribute (GATT) server.
Synopsis:
#include <btapi/btgattsrv.h>
int bt_gatt_srv_init(void)
Arguments:
Library:libbtapi (For the qcc command, use the -l btapi option to link against this library)
Description:
The function also starts a new thread. Most cal... | https://developer.blackberry.com/native/reference/core/com.qnx.doc.bluetooth.lib_ref/topic/bt_gatt_srv_init.html | CC-MAIN-2017-09 | refinedweb | 120 | 53.47 |
Hi,
I'm working on a turn-based tactics game in which the action takes place on a 2D grid. (I should probably mention that this is my first major Unity project.) I'd like to use Dijkstra's algorithm for finding the movement and attack ranges of units in Manhattan distance. However, Unity doesn't appear to support some ... | https://answers.unity.com/questions/214235/implementing-dijkstras-algorithm-in-unityscript.html?sort=oldest | CC-MAIN-2020-40 | refinedweb | 352 | 64.61 |
Differences Between Static Generated Sites And Server-Side Rendered Apps
JavaScript currently has three types of applications that you can build with: Single Page Applications (SPAs), pre-rendering/static generated sites and server-side rendered applications. SPAs come with many challenges, one of which is Search Engin... | https://www.smashingmagazine.com/2020/07/differences-static-generated-sites-server-side-rendered-apps/ | CC-MAIN-2020-34 | refinedweb | 3,024 | 61.56 |
PIPE(2) NetBSD System Calls Manual PIPE(2)Powered by man-cgi (2020-09-24). Maintained for NetBSD by Kimmo Suominen. Based on man-cgi by Panagiotis Christias.
NAME
pipe, pipe2 -- create descriptor pair for interprocess communication
LIBRARY
Standard C Library (libc, -lc)
SYNOPSIS
#include <unistd.h> int pipe(int fildes[... | http://man.netbsd.org/pipe.2 | CC-MAIN-2021-10 | refinedweb | 289 | 60.21 |
On Sun, Oct 16, 2011 at 4:39 PM, Eduardo Ochs <eduardoochs@gmail.com> wrote: > In my opinion the two worst functions in Lua 5.1 are "require" and > "module". They contain too much magic, and - in my opinion again - > their implementation details are somewhat arbitrary. require() is quite good, it does a few things more... | http://lua-users.org/lists/lua-l/2011-10/msg00518.html | CC-MAIN-2013-20 | refinedweb | 192 | 64.41 |
ASP.NET Overview.
This topic describes the following features of ASP.NET and of Visual Web Developer, the development environment for creating ASP.NET applications..
Using Visual Studio 2010,.
Some of the most important namespaces in the .NET Framework class library that pertain to ASP.NET are the following:
For a comp... | http://msdn.microsoft.com/en-US/library/4w3ex9c2(v=vs.100).aspx | CC-MAIN-2014-41 | refinedweb | 125 | 52.97 |
Compiler Error CS0246
The type or namespace name 'type/namespace' could not be found (are you missing a using directive or an assembly reference?)
A type or namespace that is used in the program was not found. You might have forgotten to reference (/reference) the assembly that contains the type, or you might not have ... | https://msdn.microsoft.com/en-us/library/w7xf6dxs.aspx | CC-MAIN-2016-07 | refinedweb | 225 | 62.68 |
Django Admin - Dynamically pick list_display fields (user defined)
Some of my models have a lot of fields and the user may not need to see all of them at any given point in time. I am trying to add functionality to allow the user to select which fields are displayed from the front end without having to change the list_... | http://quabr.com/51277214/django-admin-dynamically-pick-list-display-fields-user-defined | CC-MAIN-2018-34 | refinedweb | 787 | 58.08 |
Advertising
Dan Garry <dga...@wikimedia.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED CC| |dga...@wikimedia.org Resolution|FIXED |--- --- Comment #4 from Dan Garry <dga...@wikimedia.org> --- This issue is still occurring for me... | https://www.mail-archive.com/wikibugs-l@lists.wikimedia.org/msg351719.html | CC-MAIN-2018-30 | refinedweb | 104 | 70.8 |
Opened 12 years ago
Closed 12 years ago
#4312 closed (wontfix)
addition of defaults argument to newforms save()
Description
I'd like the ability to call save() on a form and insert some values for fields (e.g., non-editable or to the instance before it is saved. This way, calling save(False) to return an object which i... | https://code.djangoproject.com/ticket/4312 | CC-MAIN-2019-35 | refinedweb | 586 | 60.31 |
.
from PIL import Image import glob, os size = 128, 128 for infile in glob.glob("*.jpg"): file, ext = os.path.splitext(infile) im = Image.open(infile) im.thumbnail(size) im.save(file + ".thumbnail", "JPEG")
or do you typeor do you type
script.py
??
python script.py
where python where pip assoc .py
ftype Python.File
imp... | https://www.experts-exchange.com/questions/28957556/How-to-generate-square-thumbnail-using-perl.html | CC-MAIN-2017-13 | refinedweb | 246 | 57.87 |
Another post about Phobos usability. Again the relative code is a rosettacode Task:
>Assume we have a collection of numbers, and want to find the one with the largest minimal prime factor (that is, the one that contains relatively large factors). To speed up the search, the factorization should be done in parallel usin... | http://forum.dlang.org/thread/if1lv8$1lcp$1@digitalmars.com | CC-MAIN-2015-18 | refinedweb | 571 | 59.03 |
Exploring Dynamic Scoping in Python
Experimenting with Code Objects & Bytecode
Introduction
Ruby has anonymous code blocks, Python doesn't.
Anonymous code blocks are (apparently) an important feature in implementing DSLs, much touted by Ruby protaganists.
As far as I can tell, the major difference between code block in... | http://www.voidspace.org.uk/python/articles/code_blocks.shtml | crawl-002 | refinedweb | 1,558 | 62.88 |
User:SPIKE/2014-3 user Kamek98.
- Other conversations in '12.
- Conversations in '13 before Oppage. After oppage: 2 3 4
- RFCs received in 2013 of no enduring interest except to those studying the requestors. too. --
RomArtus*Imperator ITRA (Orate) ® 13
You promised me you would edit my Welcome message to change the pe... | http://uncyclopedia.wikia.com/wiki/User_talk:SPIKE?oldid=5725701 | CC-MAIN-2015-35 | refinedweb | 6,677 | 68.81 |
Details
- Type:
Improvement
- Status: Closed
- Priority:
Major
- Resolution: Fixed
- Affects Version/s: None
-
- Component/s: XML Configuration
- Labels:None
Description
To better support ReST-style wildcard schemes ("/article/123/view"), the default action mapper should support action names that contain slashes. To do... | https://issues.apache.org/jira/browse/WW-1383 | CC-MAIN-2017-34 | refinedweb | 484 | 61.16 |
The Android platform offers a wide range of storage options for use within your apps. In this tutorial series, we are going to explore some of the data storage facilities provided by the Android SDK by building a simple project: an ASCII art editor.
This is the final part in a tutorial series on creating an ASCII art e... | http://code.tutsplus.com/tutorials/build-an-ascii-art-editor-save-and-delete-ascii-pictures--mobile-13226 | CC-MAIN-2014-42 | refinedweb | 1,742 | 54.83 |
Scroll down to the script below, click on any sentence (including terminal blocks!) to jump to that spot in the video!
If you liked what you've learned so far, dive in!
video, code and script downloads.
Stripe's API is really organized. Our code that talks to it is getting a little crazy, unless you like long, procedur... | https://symfonycasts.com/screencast/stripe/centralize-stripe-code | CC-MAIN-2020-40 | refinedweb | 999 | 73.47 |
What is Amazon S3?
Amazon Simple Storage Service (Amazon S3) is an object storage service that offers industry-leading scalability, data availability, security, and performance. Customers of all sizes and industries can use Amazon S3 to store and protect any amount of data for a range of use cases, such as data lakes, ... | https://docs.aws.amazon.com/en_us/AmazonS3/latest/userguide/Welcome.html | CC-MAIN-2021-49 | refinedweb | 3,547 | 52.8 |
I am facing the same problem with npm running 0.17.x app with quasar v1.0.0-rc.4 on linux. Is there a solution with npm? I would not like to switch to yarn
I am facing the same problem with npm running 0.17.x app with quasar v1.0.0-rc.4 on linux. Is there a solution with npm? I would not like to switch to yarn
Hi @Hawk... | https://forum.quasar-framework.org/user/oggo | CC-MAIN-2019-26 | refinedweb | 572 | 72.97 |
can we assign a set to each index of vector. if it is possible how can we do implement this? i did like this : vector<set<pair> > vsp; for i=1 to n take set as local variable set s; insert some values in s; and assign this set to vector vsp[i]=s; but it is giving error.what should i do any help?thanks in advance.
What ... | https://discusstest.codechef.com/t/query-related-to-stl-vector-and-set/15071 | CC-MAIN-2021-31 | refinedweb | 574 | 74.29 |
This is a Java Program to Print the kth Element in the Array.
Enter size of array and then enter all the elements of that array. Now enter the position k at which you want to find element. Now we print the element at k-1 position in given array.
Here is the source code of the Java Program to Print the kth Element in th... | https://www.sanfoundry.com/java-program-print-kth-element-array/ | CC-MAIN-2018-34 | refinedweb | 232 | 58.69 |
calling two procedures from one ksh ???
shell scripts
Login to Discuss or Reply to this Discussion in Our Community
Thread Tools
Search this Thread
Top Forums
Shell Programming and Scripting
calling two procedures from one ksh ???
#
1
10-29-2009
shashi369
Registered User
2,
0
Join Date: Oct 2009
Last Activity: 5 Novem... | https://www.unix.com/shell-programming-and-scripting/122473-calling-two-procedures-one-ksh.html | CC-MAIN-2021-49 | refinedweb | 1,962 | 72.87 |
The IDE, shown in Figure 1.19, has become more complex than in previous versions of Visual Basic, and being able to use it, or at least knowing what the various parts are called, is a skill we'll need in the coming chapters. Part of the reasons it's become more complex is that the same IDE is now shared by all Visual S... | http://www.yaldex.com/vb-net-tutorial-2/library.books24x7.com/book/id_5526/viewer.asp@bookid=5526&chunkid=0408758138.htm | CC-MAIN-2015-32 | refinedweb | 4,986 | 67.38 |
The Q3ValueStack class is a value-based template class that provides a stack. More...
#include <Q3ValueStack>
This class is part of the Qt 3 support library. It is provided to keep old source code working. We strongly advise against using it in new code. See Porting to Qt 4 for more information.
Inherits: Q3ValueList<T... | http://doc.trolltech.com/main-snapshot/q3valuestack.html | crawl-003 | refinedweb | 160 | 71.21 |
A class is a type. Its name becomes a class-name ([class.name]) within its scope.
class-name: identifier simple-template-id
Class-specifiers and elaborated-type-specifiers are used to make class-names. An object of a class consists of a (possibly empty) sequence of members and base class objects.
class-specifier: class... | https://timsong-cpp.github.io/cppwp/n4659/class | CC-MAIN-2021-17 | refinedweb | 4,625 | 52.6 |
This article was written by the winner of 2021 Q.3
- Beneish's M-Score and Altman's Z-Score for analyzing stock returns of the companies listed in the S&P500
- Information Demand and Stock Return Predictability (Coded in R)
- A Probabilistic Relative Valuation for the Financial Sector Using Deep Learning@lseg.com .
Abs... | https://developers.uat.refinitiv.com/en/article-catalog/article/monte-carlo-dropout-for-predicting-prices-with-deep-learning-and-tensorflow | CC-MAIN-2022-27 | refinedweb | 4,347 | 50.84 |
1 /*******************************************************************************2 * Copyright (c).preferences * Note: This class is copied from org.eclipse.core.resources25 * 26 * @since 3.127 */28 public final class StringPool {29 private int savings;30 private final HashMap map = new HashMap ();31 32 /**33 * Adds a... | http://kickjava.com/src/org/eclipse/core/internal/preferences/StringPool.java.htm | CC-MAIN-2017-26 | refinedweb | 312 | 82.54 |
no arrays.
hi guys. this is my code. I've been changing it back and forth trying various things but for the most part, this is the general skeleton. really frustrating, have spent about 30 hours on this and still can't get it so it is extremely discouraging. all help will be greatly appreciated.
my question isn't neces... | http://www.javaprogrammingforums.com/whats-wrong-my-code/7390-making-text-editor-using-string-class.html | CC-MAIN-2018-26 | refinedweb | 491 | 74.19 |
This is an excerpt from the Scala Cookbook (partially modified for the internet). This is Recipe 1.12, “How to Add Your Own Methods to the String Class.”
Scala FAQ: Can you share an example of how to create an implicit class in Scala 2.10 (and newer)?. This will let you write code like this:
"HAL".increment
instead of ... | https://alvinalexander.com/scala/scala-2.10-implicit-class-example/ | CC-MAIN-2020-34 | refinedweb | 1,173 | 66.23 |
Related ‘traditional. I see XForms in particular as crucial to keeping the Web from being eaten by the Web Services and "Rich Internet Applications" that have been eating around
its edges for a while. The Web has to move forward if it hopes to survive, as its promise of cheap interoperability (which it did remarkably w... | http://www.oreillynet.com/xml/blog/2002/11/xhtml_20_and_the_health_of_the.html | crawl-002 | refinedweb | 416 | 64.44 |
public class Test{
static String symbol;
public static void main (String[] args){
String symbol = args[0];
letter();
}
static void letter(){
System.out.println(symbol);
}
}
When you write
String symbol = args[0]; in the main method you are declaring a new local variable, which shadows (hides) the static field called
sy... | https://codedump.io/share/hizkUoz1J5FC/1/why-i-cant-use-the-value-of-a-static-variable | CC-MAIN-2017-17 | refinedweb | 110 | 62.21 |
Modules API reference¶
Supported languages¶
Currently modules written in C and Lua(JIT) are supported.
The anatomy of an extension¶
A module is a shared object or script defining specific functions/fields; here’s an overview.
The
X corresponds to the module name; if the module name is
hints, the prefix for constructor ... | https://knot-resolver.readthedocs.io/en/latest/modules_api.html | CC-MAIN-2019-39 | refinedweb | 237 | 66.23 |
BootFile.default is not a function
I have a small JS library that was written for Node.JS that I need to import into my Quasar project. The library works fine when bundled into the
bundle.jsfile of a standard Webpack project, but in Chrome I get
Lib1-boot.default is not a function(my Quasar boot file) when I try to use... | https://forum.quasar-framework.org/topic/3832/bootfile-default-is-not-a-function | CC-MAIN-2020-40 | refinedweb | 1,104 | 66.84 |
In one of previous ASP.NET MVC Tutorial, we discussed about Html Helpers in ASP.NET MVC and get answers to following questions:
Standard Html Helpers are very useful but limited to common scenarios like rendering links and Html form elements etc. But for a specific scenario, we might need to create a Custom Html Helper... | http://www.codeproject.com/Articles/800862/simple-ways-to-create-Custom-Html-Helper-in-ASP-NE | CC-MAIN-2015-27 | refinedweb | 415 | 56.25 |
Name
Tcl_HandleAlloc, Tcl_HandleFree, Tcl_HandleTblInit, Tcl_HandleTblRe-lease, Tcl_HandleTblUseCount, Tcl_HandleWalk, Tcl_HandleXlate -Dynamic, handle addressable tables.
Synopsis
#include <tclExtend.h>
void_pt
Tcl_HandleTblInit (const char *handleBase,
- int
- entrySize,
- int
- initEntries);
int
Tcl_HandleTblUseCoun... | http://docs.activestate.com/activetcl/8.6/tcl/tclx/Handles.3.html | CC-MAIN-2019-04 | refinedweb | 654 | 58.58 |
putbq(9f) [bsd man page]
putbq(9F) Kernel Functions for Drivers putbq(9F) NAME
putbq - place a message at the head of a queue SYNOPSIS
#include <sys/stream.h> int putbq(queue_t *q, mblk_t *bp); INTERFACE LEVEL
Architecture independent level 1 (DDI/DKI). PARAMETERS
q Pointer to the queue. bp Pointer to the message block... | https://www.unix.com/man-page/bsd/9f/putbq | CC-MAIN-2021-31 | refinedweb | 382 | 57.98 |
Get user data using django-social-auth
August 2018: Please note that this post was written for an old version of Django. It is left here for historical purposes only.
Recently we had to add support for social networks login to an application we are developing and we chose django-social-auth to work with. It is a well d... | https://tryolabs.com/blog/2012/02/13/get-user-data-using-django-social-auth/ | CC-MAIN-2020-34 | refinedweb | 332 | 58.69 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.