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 |
|---|---|---|---|---|---|
Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo
You can subscribe to this list here.
Showing
2
results of 2
Hello all,
I am a newbe with Jython for Win98. Why is the doskey functionality lost in
the Jython console? I have installed doskey, but it doesn't work in th... | http://sourceforge.net/p/jython/mailman/jython-users/?viewmonth=200302&viewday=22&style=flat | CC-MAIN-2015-18 | refinedweb | 155 | 77.84 |
Asked by:
Handlers for Image
Question
- User-534649585 posted
I have a web form with a table that i populate with images.
Following is the code for retrieving the images from the database.
I have this problem
The page loads for example with 6 items and then each items fires
a handler for the image but everytimes i have... | https://social.msdn.microsoft.com/Forums/en-US/c6e92276-f49b-4b54-9566-417b109e3343/handlers-for-image?forum=asphttp | CC-MAIN-2022-33 | refinedweb | 878 | 57.98 |
Python alternatives for PHP functions
import os
os.setgid(gid)
(PHP 4, PHP 5)
posix_setgid — Set the GID of the current process
Set the real group ID of the current process. This is a
privileged function and needs appropriate privileges (usually
root) on the system to be able to perform this function. The
appropriate o... | http://www.php2python.com/wiki/function.posix-setgid/ | CC-MAIN-2017-51 | refinedweb | 131 | 68.26 |
Hello,
I'm just starting with C++, and I'm making a couple really simple programs. I have two questions about the one I'm on right now. They are:
1. Is there a function that will stop the script from running like exit(); or something? For example, if I only wanted the script to run if a user entered a number between 0 ... | http://cboard.cprogramming.com/cplusplus-programming/63311-two-easy-questions-printable-thread.html | CC-MAIN-2015-27 | refinedweb | 238 | 82.24 |
This might be a really beginer's question but I've been reading about this and I'm finding it hard to understand.
This is a sample from the msdn page about this subject (just a little smaller).
using System; class SetByteDemo { // Display the array contents in hexadecimal. public static void DisplayArray(Array arr, str... | http://www.devsplanet.com/question/35266737 | CC-MAIN-2017-09 | refinedweb | 605 | 71.85 |
for example i have a public class Title with publicfunction destroy(); in it
than in my main class i create 1 sprite and some Titles than i sprite.addChild(title) for every title i have created which works ok.
i have tried invoking destroy method manually and it also works fine but when i try the following code flash b... | http://www.kirupa.com/forum/showthread.php?356450-getChildAt-(strict-normal)-problem | CC-MAIN-2014-15 | refinedweb | 155 | 59.64 |
Question
The cube, (), can be permuted to produce two other cubes: () and (). In fact, is the smallest cube which has exactly three permutations of its digits which are also cube.
Find the smallest cube for which exactly five permutations of its digits are cube.
Haskell
import Data.List (sort) import qualified Data.Map... | https://zach.se/project-euler-solutions/62/ | CC-MAIN-2018-51 | refinedweb | 183 | 72.53 |
mkfifo - make a FIFO special file (a named pipe)
Synopsis
Description
Errors
Colophon
#include <sys/types.h> #include <sys/stat.h>
int mkfifo(const char *pathname, mode_t mode);
mkfifo() makes a FIFO special file with name pathname. mode specifies the FIFOs permissions. It is modified by the processs.
On success mkfifo... | http://manpages.sgvulcan.com/mkfifo.3.php | CC-MAIN-2018-26 | refinedweb | 118 | 61.33 |
Setup Error Logging in Serverless
Now that we have our React app configured to report errors, let’s move on to our Serverless backend. Our React app is reporting API errors (and other unexpected errors) with the API endpoint that caused the error. We want to use that info to be able to debug on the backend and figure o... | https://serverless-stack.com/chapters/setup-error-logging-in-serverless.html | CC-MAIN-2020-24 | refinedweb | 1,298 | 67.76 |
How old are you? Simple question, yes? Perhaps. But the answer could change depending on the granularity of the question, and on your perspective.
To answer "how many minutes old are you?", we need a lot more information than might be readily available:
- Your date and exact time of birth
- The time zone (or location) ... | https://codeofmatt.com/2014/04/09/handling-birthdays-and-other-anniversaries/ | CC-MAIN-2018-39 | refinedweb | 774 | 64.41 |
In this article, we are going to create our first Windows Phone 7 application running the new "Mango" update. We will start by creating the application in Visual Studio, and then we will analyze the code that makes it up to start to gain some familiarisation with Silverlight and XAML. Once we have grasped the code, we ... | http://www.codeproject.com/Articles/225897/Peeling-the-Mango-Win-Phone-7-Programming-from-the?fid=1639402&df=90&mpp=10&sort=Position&spc=None&tid=4294278&PageFlow=FixedWidth | CC-MAIN-2015-14 | refinedweb | 4,893 | 60.95 |
informative code central example that shows you how to calculate the Australian Golf Handicap using eXpress Persistent Objects (XPO):
Example Details: How to calculate Australian Golf Handicap using XPO
The example demonstrates how to use the ASPxGridView with XPO to calculate the handicap used in Australian golf. The... | https://community.devexpress.com/blogs/aspnet/archive/2010/07/16/how-to-calculate-australian-golf-handicap-using-xpo.aspx | CC-MAIN-2020-05 | refinedweb | 677 | 52.15 |
I have been working on a scenario where a WCF service hosted on IIS 7, communicates to the SharePoint 2010 server object model for performing List operations. Although SharePoint 2010 has provided in-built WCF services for working with List etc, but one my students who is working as a SharePoint 2010 developer, was hav... | http://www.dotnetcurry.com/showarticle.aspx?ID=760 | CC-MAIN-2015-18 | refinedweb | 756 | 63.8 |
I am trying to solve a problem with many variables using scipy and linear programming. I have a set of variables X which are real numbers between 0.5 and 3 and I have to solve the following equations :
346 <= x0*C0 + x1*C1 + x2*C2 +......xN*CN <= 468
25 <= x0*p0 + x1*p1 + x2*p2 +......xN*pN <= 33
12 <= x0*c0 + x1*c1 + ... | https://codedump.io/share/ird9QnMMppNd/1/solving-multiple-equations-with-many-variables-and-inequality-constraints | CC-MAIN-2017-43 | refinedweb | 251 | 87.01 |
I'm only trying to print out the elements of this array out into a table. I'm going to do more formatting on it in a moment, but I can't seem to get a temporary variable to work in the printf.
for (int count1 = 0; count1 < 4; count1++)
{
for (int count2 = 0; count2 < 4; count2++);
{}
System.out.printf( "%10.2f ",
sales... | http://forums.devshed.com/java-help-9/simple-error-printf-ignoring-variable-941324.html | CC-MAIN-2016-22 | refinedweb | 346 | 85.59 |
odbx_lo_read man page
odbx_lo_read — Reads content from a large object
Synopsis
#include <opendbx/api.h>
ssize_t odbx_lo_read
(odbx_lo_t* lo, void* buffer, size_t buflen);
Description
To get the content of a large object, odbx_lo_read() fetches the data in one or more pieces from the server and stores it into the user ... | https://www.mankier.com/3/odbx_lo_read | CC-MAIN-2017-26 | refinedweb | 247 | 65.76 |
LoPy - Library for DHT22
Dear All,
Does anybody know if there is a working library for the DHT22 temperature and humidity sensor?
Thanks and regards.
@Jurassic-Pork thanks! Will give it a try.
Best regards.
- Jurassic Pork
hello,
there is my Pure Python library for reading DHT sensor on Pycom boards.
Since the firmware... | https://forum.pycom.io/topic/1809/lopy-library-for-dht22 | CC-MAIN-2018-17 | refinedweb | 672 | 72.66 |
full. To completely erase and reformat the NVS memory used by Preferences, create a sketch that contains:
#include <nvs_flash.h> void setup() { nvs_flash_erase(); // erase the NVS partition and... nvs_flash_init(); // initialize the NVS partition. while(true); } void loop() { }
You should download a new sketch to your... | https://randomnerdtutorials.com/esp32-save-data-permanently-preferences/?replytocom=733681 | CC-MAIN-2022-27 | refinedweb | 2,803 | 66.54 |
shutdown - shut down part of a full-duplex connection
Synopsis
Description
Errors
Notes
Bugs
Colophon
#include <sys/socket.h>
int shutdown(int sockfd, int how);.
On success, zero is returned. On error, -1 is returned, and errno is set appropriately.
POSIX.1-2001, 4.4BSD (the shutdown() function call first appeared in 4... | http://manpages.sgvulcan.com/shutdown.2.php | CC-MAIN-2018-17 | refinedweb | 149 | 60.51 |
/* * .h 8.1 (Berkeley) 6/2/93 */ #ifndef _KVM_H_ #define _KVM_H_ /* Default version symbol. */ #define VRS_SYM "_version" #define VRS_KEY "VERSION" #include <nlist.h> #include <sys/cdefs.h> __BEGIN_DECLS typedef struct __kvm kvm_t; struct kinfo_proc; int kvm_close(kvm_t *); char **kvm_getargv(kvm_t *, const struct kinf... | http://opensource.apple.com/source/Libc/Libc-763.12/include/kvm.h | CC-MAIN-2016-18 | refinedweb | 118 | 54.05 |
#include <hallo.h> Josip Rodin wrote on Fri Nov 03, 2000 um 06:27:56PM: > > IMHO it's not too long, just one letter longer then "Programming". > > Programming is too long, too. :) > > > What alternatives do we have? "Filebrowser"? Of simply "Filesystem"? > > "Fileadmin"? > > Filesystem, or Disk, or Browser... Ok, lets ... | https://lists.debian.org/debian-devel/2000/11/msg00235.html | CC-MAIN-2017-13 | refinedweb | 110 | 78.75 |
5.1.2. GPIO Control¶
Your OpenMV Cam has between 9 (OpenMV Cam M4) to 10 (OpenMV Cam M7) general purpose I/O pins onboard for talking to the real-world. We’re probably going to keep the pin count this low moving into the future to keep the OpenMV Cam tiny.
Anyway, there are a few ways to use GPIO pins.
5.1.2.1. As an I... | http://docs.openmv.io/openmvcam/tutorial/gpio_control.html | CC-MAIN-2018-22 | refinedweb | 323 | 86.3 |
Capital Budgeting. Chapter 8. The Capital Budgeting Decision Process. The capital budgeting process involves three basic steps:. Generating long-term investment proposals; Reviewing, analyzing, and selecting from the proposals that have been capital budgeting process involves three basic steps:
Accounting rate of retur... | http://www.slideserve.com/varen/capital-budgeting | CC-MAIN-2017-30 | refinedweb | 527 | 58.69 |
SoCamera.3iv man page
SoCamera — abstract base class for camera nodes
Inherits from
SoBase > SoFieldContainer > SoNode > SoCamera
Synopsis
#include <Inventor/nodes/SoCamera.h>
#define SO_ASPECT_SQUARE 1.00
#define SO_ASPECT_VIDEO 1.333333333
#define SO_ASPECT_35mm_ACADEMY 1.371
#define SO_ASPECT_16mm 1.369
#define SO_A... | https://www.mankier.com/3/SoCamera.3iv | CC-MAIN-2017-39 | refinedweb | 621 | 51.44 |
On 12.10.16 09:31, Nathaniel Smith wrote:
But amortized O(1) deletes from the front of bytearray are totally different, and more like amortized O(1) appends to list: there are important use cases[1] that simply cannot be implemented without some feature like this, and putting the implementation inside bytearray is stra... | https://www.mail-archive.com/python-dev@python.org/msg94364.html | CC-MAIN-2018-05 | refinedweb | 205 | 57.2 |
I have a scenario where I am transferring a file from desktop to removable media (with or without FRP encrypted/decrypted/installed) and am expecting DLP to block the transfer. DLP does throw up the block notification but it does not actually block the transfer.
The DLP event on the server shows that it did not block.
... | https://community.mcafee.com/t5/Data-Loss-Prevention-DLP/DLP-Actual-action-vs-Expected-Action/m-p/634799 | CC-MAIN-2022-21 | refinedweb | 998 | 57.98 |
View Poll Results: If you read it, did you find DirectJNgine User's Guide adequate?
- Voters
- 54. You may not vote on this poll
Yes
No
The paramsAsHash: true option is not supported, because I felt it will force us to receive values of unknown types, and I was concerned we might end up writing Java code that receives ... | http://www.sencha.com/forum/showthread.php?73027-Ext-Direct-Java-based-implementation/page6 | CC-MAIN-2015-06 | refinedweb | 952 | 64.91 |
LINQ to SQL
LINQ to SQL is a powerful tool which allows developers to access databases as objects in C#. With LINQ to SQL, you are able to use LINQ query operators and methods instead of learning SQL. LINQ to SQL has an API for connecting and manipulating a database. LINQ queries and calls to the API methods are then t... | https://compitionpoint.com/linq-to-sql/ | CC-MAIN-2021-31 | refinedweb | 871 | 54.22 |
This library can be installed using the unity package manager system (Unity >= 2018.4) with git
- In your unity project root open ./Packages/manifest.json
- Add the following line to the dependencies section "com.mixpanel.unity": "",
- Open Unity and the package should download automatically
Alternatively you can go to... | https://developer.mixpanel.com/docs/unity | CC-MAIN-2019-51 | refinedweb | 1,156 | 50.63 |
We!
Get it here
What’s new.
Documentation of the key DACFx API namespaces involved in extensibility scenarios can be found on MSDN here. Additionally, walkthrough samples for the creation of build and deployment contributors can be found in the SSDT documentation here.
Updated Data-Tier Application Framework
This relea... | https://blogs.msdn.microsoft.com/ssdt/2013/06/24/announcing-sql-server-data-tools-june-2013/ | CC-MAIN-2019-04 | refinedweb | 2,337 | 66.44 |
Choose the most appropriate alternative from the options given below to complete the following
sentence:
Despite several ––––––––– the mission succeeded in its attempt to resolve the conflict.
Choose the most appropriate alternative from the options given below to complete the following
sentence:
Suresh’s dog is the on... | https://edurev.in/course/quiz/attempt/-1_Computer-Science-And-Information-Technology-CS-201/e562ce8e-be07-42b3-91e8-8b80c5225247 | CC-MAIN-2021-31 | refinedweb | 3,400 | 59.26 |
Notice that launch is a non-blocking call that creates and adds a coroutine to the queue. If you want to create a blocking call to create and add a coroutine then use the coroutineScope function. This creates a new scope that only unblocks when all of the coroutines that have been created within it have finished.
For e... | https://i-programmer.info/programming/other-languages/14626-the-programmers-guide-to-kotlin-coroutines.html?start=2 | CC-MAIN-2021-25 | refinedweb | 867 | 62.27 |
Java Profiling with WSAD 5.0
After profiling your modified code, you can observe that the number of "Live Instances" of the DummyClass is 0 and the number of "Collected" instances equals to the number "Total" instances of the DummyClass. (See Figure 8.)
Figure 8
In this example, you have observed that the use of this p... | http://www.developer.com/java/ent/article.php/10933_3598166_2/Java-Profiling-with-WSAD-50.htm | CC-MAIN-2015-35 | refinedweb | 372 | 57.06 |
Sometime back I was looking for a way to search Google using Java Program. I was surprised to see that Google had a web search API but it has been deprecated long back and now there is no standard way to achieve this.
Basically google search is an HTTP GET request where query parameter is part of the URL, and earlier w... | https://www.journaldev.com/7207/google-search-from-java-program-example | CC-MAIN-2019-13 | refinedweb | 1,178 | 57.67 |
ISC Releases the First Look At BIND 10 172.)"
DJB might agree (Score:5, Insightful)
Re: (Score:3, Informative)
Right, much better to write code under some bizarre license, ignore it for years forcing people to distribute patches unto patches, then 6 years later finally realize you're not maintaining the code and never ... | http://tech.slashdot.org/story/10/03/20/0123240/isc-releases-the-first-look-at-bind-10 | CC-MAIN-2014-15 | refinedweb | 5,561 | 72.26 |
Can I using Qt.createComponent() in WorkerScript function?
- Pong_Cpr.E.
I'm new in Qt quick app. (QML)
I wanna create dynamic image table(like in Samegame example) but it using thread to make real-time create by using workerScript.
How to using WorkerScript by Qt function can be passed between the new thread and the p... | https://forum.qt.io/topic/11037/can-i-using-qt-createcomponent-in-workerscript-function-63 | CC-MAIN-2017-34 | refinedweb | 314 | 62.24 |
Okay, what I'm trying to do here is set up a some-what simple battle system for a text based game... I'm having some trouble getting it to work correctly though. I want the Player's attack and the Monster's defense to be random each time the program loops (which is also not working), but it keeps giving the same number... | https://www.daniweb.com/programming/software-development/threads/235472/problems-with-simple-c-battle-system-need-help | CC-MAIN-2017-09 | refinedweb | 282 | 67.28 |
Usually imports subroutines and variables from module into the current package. import is not a built-in, but an ordinary class method that may be inherited from
UNIVERSAL.
At compile time, requires the module and calls its unimport method on list. See use on the next page.
Designates the block as a package with a name... | https://www.oreilly.com/library/view/perl-pocket-reference/9781449311186/ch01s13.html | CC-MAIN-2019-30 | refinedweb | 237 | 70.29 |
pthread_create - thread creation
[THR]
#include <pthread.h>.
[XSI]
The alternate stack shall not be inherited.The alternate stack shall not be inherited.
The floating-point environment shall be inherited from the creating thread.
If pthread_create() fails, no new thread is created and the contents of the location refer... | http://pubs.opengroup.org/onlinepubs/009695399/functions/pthread_create.html | CC-MAIN-2015-35 | refinedweb | 344 | 58.48 |
The latest code on Github includes a new feature - Runtime Source Dependencies - along with a bugfix for Linux builds which resolves an issue with Runtime Includes.
A runtime source dependency is a source file which you need to have compiled when a given header is included by a runtime modifiable source file. Whilst ha... | http://runtimecompiledcplusplus.blogspot.ca/2013/04/ | CC-MAIN-2018-05 | refinedweb | 308 | 52.53 |
I have two absolute filesystem paths (A and B), and I want to generate a third filesystem path that represents "A relative from B".
Use case:
boost::filesystem
complete
relative ~ relative => absolute
absolute ~ absolute => relative
Boost doesn't support this; it's an open issue — #1976 (Inverse function for complete) ... | https://codedump.io/share/VfYefQ79P5Qv/1/get-relative-path-from-two-absolute-paths | CC-MAIN-2018-09 | refinedweb | 472 | 52.8 |
It's back! After a two month-ish extended holiday hiatus, I'm back with a new Wednesday wrap-up of all the Tarot Tuesday happenings!
I'd been thinking recently about starting these up again, then yesterday a new member of our Discord channel (waves hello to @viking-ventures) brought up the subject, so I figured the tim... | https://steemit.com/steemittarot/@steemittarot/january-30th-2019-steemit-tarot-weekly-wednesday-wrap-up | CC-MAIN-2019-22 | refinedweb | 931 | 71.55 |
Let's see a simple example where a smoothing parameter for a Bayesian classifier is select using the capabilities of the Sklearn library.
To begin we load one of the test datasets provided by sklearn (the same used here) and we hold 33% of the samples for the final evaluation:
from sklearn.datasets import load_digits d... | http://glowingpython.blogspot.it/2014/04/parameters-selection-with-cross.html | CC-MAIN-2017-30 | refinedweb | 370 | 57.37 |
GCJ: The GNU Compiler for Java
By Weiqi Gao, OCI Principal Software Engineer
January 2003
Introduction..
Getting GCJ
GNU/Linux
GCC is bundled with most Linux distributions. To install GCJ on a Red Hat Linux 8.0 system, simply run
rpm -i gcc-java-3.2-7.i386.rpm
rpm -i libgcj-3.2-7.i386.rpm
rpm -i libgcj-devel-3.2-7.i386... | https://objectcomputing.com/resources/publications/sett/january-2003-gcj-the-gnu-compiler-for-java | CC-MAIN-2020-10 | refinedweb | 454 | 53.81 |
An application can insert various modules into a stream to process and manipulate data that pass between a user process and the driver. In the example, the character conversion module receives a command and a corresponding string of characters from the user. All data passing through the module is inspected for instance... | http://docs.oracle.com/cd/E19253-01/816-4855/appcomp2-7/index.html | CC-MAIN-2014-15 | refinedweb | 327 | 51.99 |
Keywords: TIPS, embedded option, inflation, deflation, term structure
Abstract:
The market for U. S. Treasury Inflation Protected Securities (TIPS) has experienced significant growth since its inception in 1997. As of May 2010, the face amount of outstanding TIPS was about $563 billion, which was roughly 8% of the size... | http://www.federalreserve.gov/pubs/feds/2013/201324/index.html | CC-MAIN-2014-41 | refinedweb | 13,172 | 59.64 |
Opened 7 years ago
Last modified 9 months ago
#18392 new New feature
Make MySQL backend default to utf8mb4 encoding (46)
comment:1 Changed 7 years ago by
comment:2 Changed 7 years ago by
I don't know enough about MySQL and the ORM to answer your questions, I hope someone else does.
comment:3 Changed:
"InnoDB has a maxi... | https://code.djangoproject.com/ticket/18392?cversion=1&cnum_hist=26 | CC-MAIN-2019-26 | refinedweb | 862 | 61.77 |
The conditional operator, written
?:.
The general form looks like this:
expression1 ? expression2 : expression3
If expression1 is true, then the value of the whole conditional expression is the value of expression2.
Otherwise, the value of the whole expression is the value of expression3.
The following code uses the co... | http://www.java2s.com/Tutorials/C/Cpp_Tutorial/0180__Cpp_Conditional_Operator.htm | CC-MAIN-2017-09 | refinedweb | 117 | 66.74 |
In this tutorial, we'll make a shooter movieclip (the red snorkel thing above) that can be dragged horizontally, a dart movieclip that is 'shot' when the mouse is released on the shooter, and several instances of a bubble movieclip that float by and pop when hit by the dart. Because the x and y positions of the shooter... | http://www.flash-creations.com/notes/actionscript_dartshooter.php | crawl-001 | refinedweb | 1,656 | 69.92 |
Today, we’ll talk about Unity Coding Standards. We’ll cover things to do, things to avoid, and general tips to keep your projects clean, maintainable, and standardized.
Things to avoid
I want to prefix this by saying that the thoughts in this post are guidelines and not meant to be a criticism of anyone. These are pers... | https://unity3d.college/2016/05/16/unity-coding-standards/ | CC-MAIN-2020-34 | refinedweb | 1,251 | 65.83 |
Notes on Managed Debugging, ICorDebug, and random .NET stuff
We need some customer feedback to determine if we fix a regression that was added in VS2008.
Any language can target the CLR by compiling the language to IL, and then you immediately leverage the .NET platform, including access to the libraries and debugging ... | http://blogs.msdn.com/jmstall/archive/2008/02/27/do-you-compile-xml-to-il.aspx | crawl-002 | refinedweb | 1,472 | 74.08 |
also more responsive, since nose begins running tests as soon as the first test module is loaded. See Finding and running tests for more.
Setting up your test environment is easier
nose supports fixtures at the package, module,.), add the attributes by calling the decorator function like so:
def test(): # ... test = w... | https://bitbucket.org/jpellerin/nose/src/bc94a8326d74/?at=0.9.2-stable | CC-MAIN-2014-23 | refinedweb | 105 | 60.31 |
/*Write a program that asks the user how many values will be entered and then reads all of them. Have the program sort the elements using sort() and then
reverse the sorted elements using reverse(). */
import std.stdio; import std.algorithm; void main() { int noValues, i; int[] myArray; write("how many values would you... | https://www.mail-archive.com/digitalmars-d-learn@puremagic.com/msg91316.html | CC-MAIN-2022-33 | refinedweb | 150 | 58.58 |
A for loop is a repetition control structure that allows you to efficiently write a loop that needs to be executed a specific number of times.
A for loop is useful when you know how many times a task is to be repeated.
The syntax of a for loop is −
for(initialization; Boolean_expression; update) { // Statements }
Here ... | https://www.tutorialspoint.com/Java-for-loop | CC-MAIN-2021-39 | refinedweb | 299 | 71.04 |
Rose::HTML::Form::Field - HTML form field base class.
package MyField; use base 'Rose::HTML::Form::Field'; ... my $f = MyField->new(name => 'test', label => 'Test'); print $f->html_field; print $f->xhtml_field; $f->input_value('hello world'); $i = $f->internal_value; print $f->output_value; ...
Rose::HTML::Form::Field ... | http://search.cpan.org/~jsiracusa/Rose-HTML-Objects-0.618/lib/Rose/HTML/Form/Field.pm | CC-MAIN-2014-23 | refinedweb | 3,362 | 64 |
This is the 2nd article in my series about building and using binary Python modules in Kodi on Android. In the previous article I described prerequisites for building such modules. In this article I will cover building a simple Python/C extension module for Python in Kodi for Android.
A Simple Python/C Module
This is a... | https://romanvm.pythonanywhere.com/post/kodi-android-building-and-using-binary-python-extensions-part-2-18/ | CC-MAIN-2021-21 | refinedweb | 663 | 58.69 |
Page Title
In an earlier article I showed you how to override the page title using a NotificationSubscriber. This is convenient if you have the need to change the title for all or many pages in your site. However, when building custom modules, you may have the need to change the title for a specific page only. Fortuna... | https://devierkoeden.com/articles/quick-tips-custom-modules-changing-the-page-title | CC-MAIN-2019-39 | refinedweb | 188 | 56.49 |
NAME
roar_vs_read, roar_vs_write - Read or write data from or to sound server
SYNOPSIS
#include <roaraudio.h> ssize_t roar_vs_read (roar_vs_t * vss, void * buf, size_t len, int * error); ssize_t roar_vs_write(roar_vs_t * vss, const void * buf, size_t len, int * error);
DESCRIPTION
roar_vs_read() reads data from the sou... | http://manpages.ubuntu.com/manpages/precise/man3/roar_vs_write.3.html | CC-MAIN-2016-36 | refinedweb | 122 | 76.52 |
The Data Science Lab
The goal of a time series regression problem is best explained by a concrete example. Suppose you own an airline company and you want to predict the number of passengers you'll have next month based on your historical data. Or maybe you want to forecast your sales amount for the next calendar quart... | https://visualstudiomagazine.com/articles/2018/02/02/neural-network-time-series.aspx | CC-MAIN-2022-21 | refinedweb | 2,158 | 57.37 |
Task Parallelism (Concurrency Runtime)
This document describes the role of tasks and task groups in the Concurrency Runtime. A task is a unit of work that performs a specific job. A task typically runs in parallel with other tasks and can be decomposed into additional, more fine-grained, tasks. A task group organizes a... | https://docs.microsoft.com/en-us/previous-versions/visualstudio/visual-studio-2012/dd492427(v%3Dvs.110) | CC-MAIN-2019-35 | refinedweb | 3,802 | 55.54 |
Follow-up: Razor with F# and Other Languages
- |
-
-
-
-
-
-
-
Read later
My Reading List.
The first challenge is the syntax. Unlike the older ASP-style view engine, the boundaries between view and inline code are quite subtle and it is quite possible that many languages are syntactically incompatible. According to Sco... | https://www.infoq.com/news/2011/01/Razor-Extensions | CC-MAIN-2016-30 | refinedweb | 326 | 54.02 |
Hi
If i start Rhino and press a custom Button which executes a custom Python script I get an error message:
“Message: expected an indent Block …” which is totaly misleading as the error does not have anything to do with indentation. Instead I have to open the Python Editor and click on the left side, first on then on" ... | https://discourse.mcneel.com/t/rhino-does-not-load-native-python-modules-at-start/67358 | CC-MAIN-2022-33 | refinedweb | 474 | 53.51 |
simply baby oil
£13.00 – £26.00
our gentle, original baby oil, calming and soothing for sensitive skin
Our calming baby oil which works to protect and moisturise the skin, by combining nourishing argan oil with soothing chamomile, this oil is perfect for sensitive. Fantastic for massaging babies, a lovely way to bond w... | https://simplyargan.co.uk/product/simply-baby-oil | CC-MAIN-2021-31 | refinedweb | 169 | 63.09 |
Hi All,
I have tried Extended plugin...download Extended plug-ins for 5th edition ...download from forum Nokia tools
...
Type: Posts; User: parag_purkar; Keyword(s):
Hi All,
I have tried Extended plugin...download Extended plug-ins for 5th edition ...download from forum Nokia tools
...
Then use devices command to set y... | http://developer.nokia.com/community/discussion/search.php?s=0f104fe42f2f25b309a1a50b17296bb1&searchid=1953141 | CC-MAIN-2014-10 | refinedweb | 455 | 79.36 |
's the source for fmt_vuln.c
-----------------------------------------
#include <stdlib.h>
int main(int argc, char *argv[])
{
char text[1024];
static int test_val = -72;
if(argc < 2)
{
printf("Usage: %s <text to print>\n", argv[0]);
exit(0);
}
strcpy(text, argv[1]);
printf("The right way:\n");
// The right wat to print... | http://www.antionline.com/showthread.php?266207-format-string-Question/page2 | CC-MAIN-2015-22 | refinedweb | 966 | 79.3 |
Hi,
This is my first post and I have to admit FMOD is a wonderfull piece of software… love it 😀
I’m close to finishing my app but I’m stuck near the end.
I have made an OCX in VB6 with fmodex.dll 0.4.6.12, everthing runs great but when closing the ocx (quiting ie explorer where it runs) VB crashes.
Of course I read ma... | https://www.fmod.org/questions/question/forum-21814/ | CC-MAIN-2018-39 | refinedweb | 307 | 70.02 |
I'm making a system where the server asks questions to the client and the client responds. Then the marks out of 3 that the client had got is to be displayed. Everythign in my code works to the way i want it to, except the display of the marks. I have made arrays in which the final mark should relate to. But they alway... | http://www.javaprogrammingforums.com/%20whats-wrong-my-code/24802-client-protocol-server-printingthethread.html | CC-MAIN-2014-10 | refinedweb | 446 | 66.23 |
Ok, so I redirected User docs to a new share on a DFS namespace. From my client I can ping both Servers in the namespace. On server one I can use the UNC path:
\\server1\users
and hit the share
on server 2 I can only hit it by using
\\IPAddress\users
I verified DNS is fine, but when I try
\\server2\users
it shows this ... | https://community.spiceworks.com/topic/97505-cannot-hit-share-on-dfs-on-pdc-but-i-can-ping-the-dc-and-the-folder-is-shared | CC-MAIN-2016-50 | refinedweb | 681 | 88.67 |
Recent:
Archives:
As an application developer, how and where you put the preferences vary depending on your application, the platform it runs on, and the programming language. If your application will run only on Windows, then Registry is the place to put the preferences. Developers writing applications written in port... | http://www.javaworld.com/javaworld/jw-08-2001/jw-0831-preferences.html | crawl-002 | refinedweb | 422 | 56.05 |
Implementing Threaded Comments in LifeFlowdjango (72), lifeflow (20)
Recently I decided that I wanted to add threaded comments to LifeFlow. This is mostly because the commenting system thus far has caused (readers) relatively more suffering than my conscience can cope with. And I hoped that adding threaded comments wou... | https://lethain.com/implementing-threaded-comments-lifeflow/ | CC-MAIN-2021-39 | refinedweb | 875 | 55.64 |
operators, comparison operators, ternary operator, switch, for, while, break, continue, do while, polymorphism, arrays, for each, multidimensional arrays and more.
If you like videos like this it helps my Google search rank when you share on Google Plus with a click here [googleplusone]
If you prefer a slower Java tut... | https://www.newthinktank.com/2014/06/java-programming/ | CC-MAIN-2021-10 | refinedweb | 2,944 | 56.25 |
GtkSharp: Widget Colours
Colouring Widgets and Windows
Colouring widgets and windows (which is itself a widget) alluded me for ages due to my basic knowledge of gtk.
Thanks to a tiny example I found by John Bailo it turns out to not be such a tricky thing after all. I’ve recreated it here.
The following code sets up a ... | http://www.mono-project.com/docs/gui/gtksharp/widgets/widget-colours/ | CC-MAIN-2018-26 | refinedweb | 441 | 69.68 |
The .NET Stacks #51: 👷♂️ The excitement is Build-ing
This week, we get ready for Microsoft Build, talk more about .NET 6 Preview 4, and more.
NOTE: This is the web version of my weekly newsletter, released on May 24, 2021. To get the issues right away, subscribe at dotnetstacks.com or the bottom of this post.
Happy Mo... | https://www.daveabrock.com/2021/05/29/dotnet-stacks-51/ | CC-MAIN-2021-39 | refinedweb | 1,581 | 68.57 |
Join devRant
Search - "exams"
-
-
- I FUCKING MADE IT GUYS! I JUST PASSED THE HARDEST COURSE AT UNIVERSITY WHICH IS ABOUT DATA STRUCTURES AND ALGORITHMS! I DRAGGED THIS WITH ME A WHOLE YEAR AND I JUST GOT THE NOTIFICATION THAT I MADE IT. I'M SO FUCKING HAPPY GUYS I CANT BELIEVE IT!!!!!!25
-
- Professor at Uni: "Missing... | https://devrant.com/search?term=exams | CC-MAIN-2020-16 | refinedweb | 5,859 | 73.58 |
Introducing netsim-tools Plugins
Remember the BGP anycast lab I described in December 2021? In that blog post I briefly mentioned a problem of extraneous IBGP sessions and promised to address it at a later date. Let’s see how we can fix that with netsim-tools plugin.
We always knew that it’s impossible to implement eve... | https://blog.ipspace.net/2022/01/netsim-plugins.html?utm_source=atom_feed | CC-MAIN-2022-21 | refinedweb | 880 | 64.2 |
When Worlds Collide: The New Dot-Biz And The Old 130
angkor writes: "It seems the new dot biz domain conflicts with domains registered in an alternative root system." This is where all the alternative root servers conflict with the (ahem) interesting name choices made by the ICANN board.
I vote for ORSC instead of ICAN... | https://slashdot.org/story/00/11/28/030209/when-worlds-collide-the-new-dot-biz-and-the-old | CC-MAIN-2018-26 | refinedweb | 6,767 | 73.68 |
perl -e "use Some::Module";
[download]
My thought is to put something in a do or eval. What would be the best way to handle this task?
use Module::Locate 'locate';
print "Couldn't find Some::Module"
unless locate 'Some::Module';
[download]
_________broquaint
use Class::Inspector;
if ( Class::Inspector->installed($modul... | http://www.perlmonks.org/?node_id=428412 | CC-MAIN-2015-48 | refinedweb | 1,153 | 64.3 |
With the large volume of games now being released on the App Store and Google Play, cool names for games are going to get harder and harder to come by. And it’s easy to see why you need a cool name for your game.
The name you choose will have a massive impact on how you market your game. It’s one of the most important ... | https://blog.felgo.com/mobile-development-tips/cool-names-for-games-how-to-pick-the-best-title | CC-MAIN-2021-04 | refinedweb | 2,409 | 72.26 |
A simple python CLI that can relieve stress while running long scripts.
Project description
Simple python tic that can ease your mind
We've all been there...staring at the empty terminal while your fans go crazy.
I hope this relieves the intensity while you are waiting for that return statement.
How To
- Install
tictro... | https://pypi.org/project/tictronome/ | CC-MAIN-2022-33 | refinedweb | 182 | 70.7 |
How TO Produce animal voices.. In c++ code Try mixing the infinite frequencyes and lasts of beeps ;)
reverse a wordyou must write after the code, just before the last breace
"system ("pause");
return 0;"
or, even ...
comparing characters of string c programmingthis compares nothing ;) try this
[code]
#include <iostream... | http://www.cplusplus.com/user/luigibana96/ | CC-MAIN-2014-10 | refinedweb | 103 | 62.98 |
Style in jQuery Plugins and Why it Matters
"Cowboy" Ben Alman | May 14, 2010
Most plugin authors are web designers or developers who have created some cool functionality that they want to share with others. Unfortunately, many plugin authors haven't spent enough time examining other people's code to see what really wor... | https://msdn.microsoft.com/en-us/magazine/ff696759 | CC-MAIN-2018-26 | refinedweb | 3,075 | 64 |
Overview
Atlassian SourceTree is a free Git and Mercurial client for Windows.
Atlassian SourceTree is a free Git and Mercurial client for Mac.
yamlite is simple limited YAML parser, designed for
minimalistic human friendly YAML subsets. It is a single
file that you can copy into your own project without any
packaging c... | https://bitbucket.org/techtonik/yamlite | CC-MAIN-2017-04 | refinedweb | 512 | 58.89 |
Java Object-oriented programming
last modified July 6, 2020
This part of the Java tutorial is an introduction to object-oriented programming in Java. We mention Java objects, object attributes and methods, object constructors, and access modifiers. Furthermore, we talk about the super keyword, constructor chaining, cla... | https://zetcode.com/lang/java/oop/ | CC-MAIN-2021-21 | refinedweb | 3,815 | 51.85 |
The code for this tutorial can be downloaded here: threadworms.py or from GitHub. This code works with Python 3 or Python 2, and you need Pygame installed as well in order to run it.
Click the animated gif to view a larger version.
This is a tutorial on threads and multithreaded programs in Python, aimed at beginning p... | http://inventwithpython.com/blog/2013/04/22/multithreaded-python-tutorial-with-threadworms/?wpmp_switcher=mobile&wpmp_tp=2 | CC-MAIN-2015-32 | refinedweb | 7,393 | 73.47 |
7. The PopLibs libraries
The PopLibs libraries provide application-level functions that can be used in programs for the IPU. The available libraries are listed in the table below.
Examples using the library functions can be found in the Graphcore GitHub tutorials repository, including a tutorial on PopLibs operations.
... | https://docs.graphcore.ai/projects/poplar-user-guide/en/latest/poplibs.html | CC-MAIN-2022-33 | refinedweb | 168 | 56.86 |
In our ongoing training series, a number of questions come up each time, I list them out with their respective answers below!
Couchbase 101 - Architecture, Installation and Configuration
My Ruby based load generator can be downloaded here:
Q: We're using 2.0 in production, what's the best practice to upgrade to 2.2?
A:... | http://blog.couchbase.com/couchbase-101-q-and-a | CC-MAIN-2015-35 | refinedweb | 2,672 | 60.95 |
I:
FRDM-KL27Z Board
Compared to the KL25Z, the KL27Z board has only half of the flash size (64 KByte instead of 128 KByte), but runs at same frequency (48 MHz ARM Cortex M0+) and has same amount of SRAM (16 KByte). But it does have two push buttons which I miss on the FRDM-KL25Z.
The FRDM-KL25Z is sold for CHF 14.82 by... | https://mcuoneclipse.com/2016/03/13/tutorial-blinky-with-the-frdm-kl27z-and-kinetis-sdk-v2/ | CC-MAIN-2020-50 | refinedweb | 3,279 | 69.92 |
[meta] Ensure Geo replication can handle GitLab.com-scale update load
So far, our testing of Geo at GitLab.com scale has focused on backfill and basic correctness - can we successfully replicate all instance state on a static primary to a static secondary? When we create/update/delete a single repository/file/record, d... | https://gitlab.com/gitlab-org/gitlab-ee/issues/4030 | CC-MAIN-2018-34 | refinedweb | 781 | 52.39 |
return the current read/write position of a file
#include <stdio.h> long int ftell( FILE *fp );
The ftell() function returns the current read/write position of the file specified by fp. This position defines the character that will be read or written by the next I/O operation on the file. The value returned by ftell() ... | https://users.pja.edu.pl/~jms/qnx/help/watcom/clibref/src/ftell.html | CC-MAIN-2022-33 | refinedweb | 166 | 70.53 |
Writing Extensions in IntelliJ
IntelliJ includes out of the box Maven support therefore it doesn’t require for you to download any extra plugins.
Importing the project
After you have generated your project with our Maven archetype, choose File → New Project and select Import project from an external resource
Click Next... | https://docs.mulesoft.com/anypoint-connector-devkit/v/3.2/writing-extensions-in-intellij | CC-MAIN-2017-30 | refinedweb | 164 | 63.8 |
This is related to.
I've tried searching via the SDK and also direct to REST endpoints, but my results only return the default indexed fields. For instance:
curl -sku admin:changeme -d search="search index=_internal | head"
returns these fields:
_bkt
_cd
_indextime
_raw
_serial
_si
_sourcetype
_subsecond
_time
host
ind... | https://community.splunk.com/t5/Splunk-Search/Why-do-I-only-get-default-indexed-fields-via-REST-or-SDK-call/m-p/148098 | CC-MAIN-2021-31 | refinedweb | 345 | 73.68 |
Reserving disk space to keep Windows 10 up to date
Windows Insiders: To enable this new feature now, please see the last section “Testing out Storage Reserve” and complete the quest.
How does it work?
When apps and system processes create temporary files, these files will automatically be placed into reserved storage. ... | https://blogs.technet.microsoft.com/filecab/2019/01/07/windows-10-and-reserved-storage/?ranMID=24542&ranEAID=je6NUbpObpQ&ranSiteID=je6NUbpObpQ-Bm0R4hDqE.77O37wmaQ1Vg&epi=je6NUbpObpQ-Bm0R4hDqE.77O37wmaQ1Vg&irgwc=1&OCID=AID681541_aff_7593_1243925&tduid=(ir__jtkw3requwcydmhwe9odmoh1e32xhnqp0tiprdsb00)(7593)(1243925)(je6NU... | CC-MAIN-2019-30 | refinedweb | 6,705 | 58.11 |
There are following types of JavaScript Properties in Lightning Web Components:
- Private and Reactive Properties
- Public Properties
- Getter
1. Private and Reactive Properties
Private properties are only accessible in the component it is declared. It is declared using only an identifier name. We don’t have to provide... | https://niksdeveloper.com/salesforce/javascript-properties-in-lightning-web-components/ | CC-MAIN-2022-27 | refinedweb | 880 | 54.63 |
Chapter 18. Drawing with Shapes
What You’ll Learn in This Hour:
Using Shapes
Drawing with the Path element
Understanding stroke and fill
Working with complex shapes
Just like the rest of WPF, the API for 2D drawing is both extensive and powerful. Our goal in this hour is to equip you with the basics you need to start w... | https://www.oreilly.com/library/view/sams-teach-yourself/9780768678796/ch19.html | CC-MAIN-2020-29 | refinedweb | 171 | 67.49 |
ENIGMA compiler
From ENIGMA
ENIGMA's compiler takes EDL and compiles it to C++.
Process
Before the process begins, the compiler is already aware of the target platform, the necessary make calls, and the variables, functions, and other important definitions from the C++ engine. The process begins with this information t... | https://enigma-dev.org/docs/wiki/index.php?title=ENIGMA_compiler&redirect=no | CC-MAIN-2019-51 | refinedweb | 1,460 | 58.01 |
Issues
ZF-8669: Zend_File_Transfer: Replace constructor with factory method
Description
Instead of the proposed patch in ZF-8668, I figured that ZFT would be better suited to have a factory() method for instantiating and returning a ZFT adapter (similar to Zend_Db::factory()). This proposed patch replaces the current c... | http://framework.zend.com/issues/browse/ZF-8669 | CC-MAIN-2016-22 | refinedweb | 891 | 57.87 |
Java provide support for GUI in its core packages. AWT is one of the basic packages. It gives all you need to create a graphical software using frame windows. It provide buttons, scrollbars, text areas, text fields and many more components
Introduction to AWT
AWT stands for Abstract Window Toolkit. This relates to the ... | http://www.examsmyantra.com/article/68/java/basics-of-awt-and-frame-based-applications-in-java | CC-MAIN-2018-51 | refinedweb | 915 | 63.9 |
Ticket #17316 (closed defect: fixed)
Wrong instruction after single-step exception with 'rdtsc' -> fixed in 6.0
Description (last modified by janitor) (diff)
There was bug 5 years ago (#10947) and was fixed, but in current release still appears. Here slightly modified code with looping 1000000 times around RDTSC call w... | https://www.virtualbox.org/ticket/17316 | CC-MAIN-2020-34 | refinedweb | 851 | 66.44 |
Sentiment analysis using Keras in Python
Hey folks! In this blog let us learn about “Sentiment analysis using Keras” along with little of NLP. We will learn how to build a sentiment analysis model that can classify a given review into positive or negative or neutral.
To start with, let us import the necessary Python li... | https://valueml.com/sentiment-analysis-using-keras/ | CC-MAIN-2021-25 | refinedweb | 1,232 | 52.15 |
Implements parts of:
Depends on D92214
Fixes a GCC shadow warning.
You should mark tests that use format_error with // XFAIL: with_system_cxx_lib=macosx10.9|...|15.
Couldn't we add at least a debug check to verify "Preconditions: end() is reachable from it."?
Why is_constant_evaluated? Does it correspond to the phrase ... | https://reviews.llvm.org/D93166?id=323041 | CC-MAIN-2021-17 | refinedweb | 1,199 | 57.98 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.