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 |
|---|---|---|---|---|---|
Date: Mon, 16 Aug 1999 23:29:48 -0700 (PDT) From: Linus Torvalds <torvalds@transmeta.com> To: Andrea Arcangeli <andrea@suse.de> Subject: Re: [bigmem-patch] 4GB with Linux on IA32 On Tue, 17 Aug 1999, Andrea Arcangeli wrote: > > This incremental (against bigmem-2.3.13-L) patch will fix the ptrace and > /proc/*/mem read/... | http://lwn.net/1999/0819/a/lt-bigmem.html | crawl-002 | refinedweb | 260 | 65.62 |
multi_key_dict 1.1.0
Multi key dictionary implementation
Implementation of a multi-key dictionary, i.e.:
(key1[,key2, ..]) => value
This dictionary has a similar interface to the standard dictionary => but is extended to support multiple keys referring to the same element.
If element is created using multiple keys, e.g... | https://pypi.python.org/pypi/multi_key_dict/1.1.0 | CC-MAIN-2015-32 | refinedweb | 288 | 53.92 |
tcsetsid()
Make a terminal device a controlling device
Synopsis:
#include <termios.h> int tcsetsid( const int fd, const pid_t pid );
Since:
BlackBerry 10.0.0
Arguments:
- fd
- A file descriptor that's associated with the device that you want to make a controlling device.
- pid
- The ID of the process that you want to a... | http://developer.blackberry.com/native/reference/core/com.qnx.doc.neutrino.lib_ref/topic/t/tcsetsid.html | CC-MAIN-2015-48 | refinedweb | 201 | 50.84 |
The problem: Python’s slow overall performance, and its limited threading and multiprocessing capabilities, remain major roadblocks to its future development.
Python has long valued ease of programming over runtime speed. This tradeoff is not the worst thing in the world when so many performance-intensive tasks can be... | https://www.infoworld.com/article/3429565/3-major-python-shortcomings-and-their-solutions.html | CC-MAIN-2021-43 | refinedweb | 1,534 | 52.29 |
Recently one of the other XML MVPs and I were discussing some of the new XML parsing ideas that have been making the circuit lately, and we were lamenting the fact that we were having a hard time communicating some of our ideas to others, and we aren't even trying to bridge a language barrier. The XML MVPs have been th... | http://weblogs.asp.net/donxml/archive/2004/03/13/89159.aspx | crawl-003 | refinedweb | 382 | 77.37 |
Data Partitioning with Chunks¶
On this page
MongoDB uses the shard key associated to the collection to partition the data into chunks. A chunk consists of a subset of sharded data. Each chunk has a inclusive lower and exclusive upper range based on the shard key.
MongoDB splits chunks when they grow beyond the configur... | https://docs.mongodb.com/v5.0/core/sharding-data-partitioning/ | CC-MAIN-2021-39 | refinedweb | 1,099 | 56.86 |
Read/initialize full python libraries stored in the cloud (eg Dropbox)
Sorry for the strange question but it makes me curious. It is not related to Pythonista app, but maybe to any Python distribution.
The question: with only Python programming language and an online device can I (does a script exist to):
- read the fu... | https://forum.omz-software.com/topic/4543/read-initialize-full-python-libraries-stored-in-the-cloud-eg-dropbox | CC-MAIN-2018-13 | refinedweb | 542 | 60.45 |
Last time I looked at setting up my development environment to allow me to develop for the Microsoft HoloLens Emulator. This time, I’m going to create a project in Unity, add in a simple primitive object, and use some C# to do something interesting with this object.
Creating a new Unity 5 project
If you’ve installed Un... | https://jeremylindsayni.wordpress.com/2016/07/15/coding-for-the-hololens-with-unity-5-part-2-creating-a-simple-hello-world-project/ | CC-MAIN-2017-26 | refinedweb | 1,965 | 68.1 |
Collections Section Index | Page 2
What is the purpose of the CopyOnWriteArrayList and CopyOnWriteArraySet collections?
Synchronized operations are costly and if you aren't modifying a collection much, it is best not to synchronize all collection accesses. The CopyOnWriteXXX collections avoid concurrent modificatio...m... | https://www.jguru.com/faq/core-java-technology/collections?page=2 | CC-MAIN-2020-50 | refinedweb | 642 | 59.7 |
Three Names to Include in Your User Model
(None of them is the username)
The term “username” is ambiguous. When designing a user model there are several kinds of names that are useful to include.
It’s time to start a new project. You want users, so the first thing you do is add a user model with username and password f... | https://www.oddbird.net/2017/04/11/usernames/ | CC-MAIN-2022-40 | refinedweb | 750 | 64.2 |
Not logged in
Log in now
Recent Features
LWN.net Weekly Edition for December 5, 2013
Deadline scheduling: coming soon?
LWN.net Weekly Edition for November 27, 2013
ACPI for ARM?
LWN.net Weekly Edition for November 21, 2013
On Sun, Dec 5, 2010 at 2:38 AM, Casey Schaufler <casey@schaufler-ca.com> wrote:
> The end to whic... | http://lwn.net/Articles/419219/ | CC-MAIN-2013-48 | refinedweb | 875 | 57.3 |
When using WPF for 3D graphics, many people have concerns over the performance. Following the guidelines from Microsoft online help, I built a 3D surface chart, as shown in the picture above. The surface chart has more than 40,000 vertices and more than 80,000 triangles. The performance is still fine. The project also ... | http://www.codeproject.com/Articles/42174/High-performance-WPF-3D-Chart?fid=1548990&df=90&mpp=25&sort=Position&spc=Relaxed&tid=4088892 | CC-MAIN-2016-36 | refinedweb | 3,221 | 51.14 |
SnapKit is a DSL to make Auto Layout easy on both iOS and OS X.', '~> 5.6.0' end
Then, run the following command:
$ pod install
Carthage is a decentralized dependency manager that builds your dependencies and provides you with binary frameworks.
You can install Carthage with Homebrew using the following command:
$ brew... | https://swiftpack.co/package/SnapKit/SnapKit | CC-MAIN-2022-27 | refinedweb | 266 | 50.33 |
Idea of Threaded Binary Tree is to make inorder traversal faster and do it without stack and without recursion. In a simple threaded binary tree, the NULL right pointers are used to store inorder successor. Where-ever a right pointer is NULL, it is used to store inorder successor.
Following diagram shows an example Sin... | http://www.geeksforgeeks.org/convert-binary-tree-threaded-binary-tree-set-2-efficient/ | CC-MAIN-2017-13 | refinedweb | 488 | 56.39 |
I've been poring over the scheme48-0.36 stuff for the last week or so, and I finally got to the point where I can read some of the code, and I've got a bunch of ideas and questions.
I'm coming at this from the comp.lang.* background, with an eye toward selecting technology for collaborative development of WWW applicati... | http://www.w3.org/People/Connolly/technologies/scheme48-review.html | crawl-002 | refinedweb | 1,069 | 64.61 |
Control fit-statUSB devices
Project description
pystatusb
Control a fit-statUSB from python
The statUSB is a tiny, USB LED that can be set display various colors and sequences. This library allows easy control of it from python.
Use one of the simple helpers to set a color or sequence. After sending the configuration, ... | https://pypi.org/project/pystatusb/ | CC-MAIN-2021-21 | refinedweb | 167 | 60.11 |
Notes:
public interface PlanetMBean {
public int getMercury();
public String getVenus();
public void setVenus(String x);
public BigInteger getEarth();
public void setEarth(BigInteger x);
public boolean isMars();
public double getJupiter();
public byte getSaturn();
public short getUranus();
public void setUranus(short x... | https://weblogs.java.net/node/236578/atom/feed | CC-MAIN-2015-35 | refinedweb | 1,472 | 57.37 |
I recently started off learning Ruby using the version 1.8.4 of the Ruby
interpreter.
After some time spent on trying out different Ruby’s specific features I
now may say that it has really impressed me. It’s fun and less coding
than other programming languages which is what I’m looking for.
However, there is something... | https://www.ruby-forum.com/t/reflection-brakes-encapsulation/96537 | CC-MAIN-2022-05 | refinedweb | 255 | 73.07 |
I have been killing myself trying to get Meteor to do what I can do on Nodejs. all I want to do is upload files to my public folder. I can do it if I run Nodejs alone. but can’t get the same functionality from meteor. Meteor is making my work harder. I don't want to use a collection like CollectionsFS (dead or will be ... | https://forums.meteor.com/t/meteor-express-should-work-the-way-nodejs-works-with-express/27578 | CC-MAIN-2017-26 | refinedweb | 417 | 61.22 |
Type Design Guidelines in .NET
From the CLR perspective, there are only two categories of types—reference types and value types—but for the purpose of framework design discussion we divide types into more logical groups, each with its own specific design rules. Figure 4. Extensibility and base classes are covered in Ch... | http://www.informit.com/articles/article.aspx?p=423349&seqNum=7 | CC-MAIN-2018-43 | refinedweb | 107 | 54.93 |
Talk:Code Completion Design
Contents
- 1 Should be added to the article page soon
- 2 Parseth meet as follow:
clear m_Str
just clear the m_strbecause the parser believe the token has been recognized correctly . e.g. int a;
delete . ->
skip the tokens until it meet ; or } e.g. delete p; e.g. MyClass .fun(); e.g. MyClass... | http://wiki.codeblocks.org/index.php?title=Talk:Code_Completion_Design&oldid=5978 | CC-MAIN-2020-16 | refinedweb | 323 | 68.81 |
Hi,
im writing a little app that will run a stroed procedure on my sql database and whip the results (a list of email addresses) in to a new mail items "to" box.
I have my connection strings working and can extract the data fine.
I can create the new mail item fine.
What i cant do is the bit in the middle!! i need to t... | https://www.daniweb.com/programming/software-development/threads/260514/taking-stored-procedure-results-as-string-in-to-interop-object | CC-MAIN-2017-43 | refinedweb | 219 | 50.43 |
Normal Distribution in C++
In this tutorial, we will learn about normal distribution and its implementation in C++. Before proceeding further let’s first understand what is a normal distribution.
Normal Distribution:
- It is a continuous probability distribution.
- A continuous random variable X is said to follow the n... | https://www.codespeedy.com/normal-distribution-in-cpp/ | CC-MAIN-2020-40 | refinedweb | 400 | 54.22 |
QMargins
The QMargins class defines the four margins of a rectangle. More...
#include <QMargins>
This class was introduced in Qt 4.6.
Public Functions
Related Non-Members
Detailed Description
The QMargins class defines the four margins of a rectangle.
QMargin defines a set of four margins; left, top, right and bottom, ... | https://developer.blackberry.com/native/reference/cascades/qmargins.html | CC-MAIN-2015-18 | refinedweb | 253 | 59.3 |
for connected embedded systems
MsgSendvnc(), MsgSendvnc_r()
Send a message to a channel (non-cancellation point)
Synopsis:
#include <sys/neutrino.h> int MsgSendvnc( int coid, const iov_t* siov, int sparts, const iov_t* riov, int rparts ); int MsgSendvnc_r( int coid, const iov_t* siov, int sparts, const iov_t* riov, int... | http://www.qnx.com/developers/docs/6.3.2/neutrino/lib_ref/m/msgsendvnc.html | crawl-003 | refinedweb | 401 | 55.84 |
Hi,
Okay, I really need help with this program please...
I have to create a program which;
Contains a function called sumN() which takes an int n as an argument and returns an int which is the sum of all integers between 1 and n.
In the main() it asks the user;
How many values (s)he wants to enter (maximum 50);
Asks fo... | https://www.daniweb.com/programming/software-development/threads/325255/arrays-with-sums | CC-MAIN-2018-30 | refinedweb | 167 | 70.67 |
13 April 2012 03:52 [Source: ICIS news]
SINGAPORE (ICIS)--?xml:namespace>
The exact restart date has yet to be finalised, he added.
The state-owned refining firm was earlier forced to shut the cracker following a pipeline leak that led to an explosion at the site.
Following the outage, CPC had raised the operating rate... | http://www.icis.com/Articles/2012/04/13/9549941/taiwans-cpc-eyes-kaohsiung-cracker-restart-next-week.html | CC-MAIN-2013-48 | refinedweb | 140 | 60.75 |
Tutorials > C++ > References
A reference is basically an alias for a
variable. It allows more than one variable to reference the same piece
of data in memory or on the stack.
Pointers point to a part of memory. A pointer is a memory address. A reference is
an actual variable and can be used without dereferencing the va... | http://www.zeuscmd.com/tutorials/cplusplus/22-References.php | CC-MAIN-2015-18 | refinedweb | 363 | 74.39 |
> module Control.Hmk.Concurrent where > > import {-# SOURCE #-} Control.Hmk > import Control.Concurrent > import Control.Monad.State > import Control.Applicative > import qualified Data.Map as MapMap the dependency graph to a tree of concurrent threads, where each thread encapsulates a recipe to execute after having wa... | http://hackage.haskell.org/package/hmk-0.9.7.1/docs/src/Control-Hmk-Concurrent.html | CC-MAIN-2015-35 | refinedweb | 371 | 64.81 |
could you check my code to see if I have everything set up correctly
Why do you have two routers?
good question.
i thought links and routers needed to both be wrapped by routers. i guess ill put the router higher up in the components
app.js
nav bar
yup still nothing i added it to app.js and removed from main and nav
ye... | https://forum.freecodecamp.org/t/why-is-my-react-router-not-working/257114 | CC-MAIN-2021-10 | refinedweb | 425 | 77.27 |
I am trying to link FMOD to my project, which I did very easily in the past in Visual Studio 2008…. I am re using the same files that I had in said project, I’m wondering if that’s maybe the problem (incompatible with VS2010?)…
So I have placed the fmodex_vc.lib and the fmodex.dll file in my project directory, added th... | http://www.fmod.org/questions/question/forum-36864/ | CC-MAIN-2017-13 | refinedweb | 304 | 68.91 |
I once did an experiment to see how easy I could wrap HTMLUnit with Selenium for automated software testing.
In my experiment I created a wrapper by extending the DefaultSelenium class and then using eclipse to create wrapper functions for all the methods. Then inject that HTMLUnitSelenium class into my abstraction lay... | http://blog.eviltester.com/2008/12/selenium-and-htmlunit-the-abstraction-layer.html | CC-MAIN-2017-26 | refinedweb | 1,516 | 51.68 |
Creating a Hovering Control
Posted by Gilad Novik on November 5th, 2002
Environment: VC6 SP5, WIN2K SP2
This is a template class for creating hovering controls. It uses the _TrackMouseEvent method to recieve notifications regarding mouse events.
In the demo project, I've created two simple classes; one is derived from ... | http://www.codeguru.com/cpp/controls/controls/article.php/c5321/Creating-a-Hovering-Control.htm | CC-MAIN-2017-09 | refinedweb | 177 | 53 |
JavaScript Stacked bar charts are charts with Y values stacked over one another in the series order. Shows the relation between individual values to total sum of the points..
Allows grouping a series with another series separately using a different group name.
The stacked bar chart provides an option to customize spaci... | https://www.syncfusion.com/javascript-ui-controls/js-charts/chart-types/stacked-bar-chart | CC-MAIN-2020-45 | refinedweb | 255 | 77.64 |
Provided by: manpages-dev_4.16-1_all
NAME
iconv - perform character set conversion
SYNOPSIS
#include <iconv.h> size_t iconv(iconv_t cd, char **inbuf, size_t *inbytesleft, char **outbuf, size_t *outbytesleft);
DESCRIPTION
The VALUE
The iconv() function returns the number of characters converted in a nonreversible way du... | http://manpages.ubuntu.com/manpages/cosmic/man3/iconv.3.html | CC-MAIN-2019-30 | refinedweb | 206 | 57.87 |
Formatting comments in the XML editor now adheres to two new preferences. The Format comments preference allows users to disable comment formatting entirely. The Join lines preference allows for comments to have their lines joined when a particular line's text does not exceed the maximum line width.
These preferences c... | http://www.eclipse.org/webtools/development/news/3.2M5/sourceediting.php | CC-MAIN-2016-50 | refinedweb | 186 | 60.92 |
Hi,
When I copy paste a text in the command prompt for one of the "cin" the text will gets in the other too and loops 3 or 4 times.
Its a text without space so it shouldn't get fragmented.
I tried to use cin.ignore(); and fflush(stdin); but it won't change a thing.
What's happening here?
Edit: apparently its the new li... | http://cboard.cprogramming.com/cplusplus-programming/153241-cin-plus-copy-paste.html | CC-MAIN-2013-20 | refinedweb | 115 | 83.76 |
The program below is supposed to calculate and show the time it takes for light to travel from the sun to the earth. It contains some logical errors. Fix the program so that it will compile and show the intended value when run.
// Filename: Sunlight.java
public class Sunlight {
public static void main(String[] args) {
... | https://etutorials.org/cert/java+certification/Chapter+3.+Operators+and+Assignments/Programming+Exercises/ | CC-MAIN-2022-05 | refinedweb | 232 | 54.52 |
There's no one right way to style your React components. It all depends on how complex your front-end application is, and which approach you're the most comfortable with.
There are four different ways to style React application, and in this post you will learn about them all. Let’s start with inline styling.
Inline Sty... | https://www.freecodecamp.org/news/react-styled-components-inline-styles-3-other-css-styling-approaches-with-examples/ | CC-MAIN-2020-29 | refinedweb | 1,491 | 62.98 |
Type on Your iPhone or iPad Using Your Mac Keyboard
Your iPhone’s tiny screen doesn’t make for a great keyboard. Fortunately, you can use your MacBook or Apple keyboard to type on your iPhone or iPad, without wrestling with the touchscreen.
With iOS 8, Apple finally introduced third-party keyboards for iPhones and iPad... | https://www.makeuseof.com/tag/type-iphone-ipad-using-mac-keyboard/ | CC-MAIN-2020-16 | refinedweb | 991 | 71.14 |
Testing is a very important process in the development cycle of an application. It is necessary to find out bugs which may be present in any program. Testing is largely the main process which ensures that a software developer or company is actually delivering a quality product to their client. Now, there are many frame... | https://blog.eduonix.com/java-programming-2/learn-write-tests-using-junit/ | CC-MAIN-2021-21 | refinedweb | 1,310 | 56.66 |
Is anyone available to help me?
Type: Posts; User: Rain_Maker
Is anyone available to help me?
I just found out creating a giant array is not going to work per my professor???? :confused:
I'm finding common elements in a collection of arrays. This is my code so far.
import java.util.ArrayList;
import java.util.List;
pub... | http://www.javaprogrammingforums.com/search.php?s=23dd6102fc3fdca83799411cca4f7937&searchid=1583614 | CC-MAIN-2015-22 | refinedweb | 627 | 78.04 |
Install the J2SE JDK. See Java Development Kit (JDK).
public class InitialTest { . . . }
It must be saved in a file called InitialTest.java . Put it in the directory you created previously.
There no critical preferences that need changing, but they can be set by selecting the
Configure > Preferences menu item.
Some thi... | http://www.roseindia.net/java/java-tips/background/30java_tools/50textpad.shtml | CC-MAIN-2013-20 | refinedweb | 349 | 69.99 |
So I'm programming another calculator, and this time I'm trying to do exponents (ex. 3^4=81).
This program runs fine, but when I try to do the exponent, I get the wrong number. Usually it happens like this:This program runs fine, but when I try to do the exponent, I get the wrong number. Usually it happens like this:Co... | https://cboard.cprogramming.com/cplusplus-programming/155286-quick-question.html | CC-MAIN-2017-47 | refinedweb | 233 | 84.78 |
Introduction: MultiSlot Clipboard
The Visual Studio IDE is one of the most advanced development environments that allow the development any type of software. However, even this complex and multipurpose tools still can receive some improvements.
This Instructable focus on a specific feature that Visual Studio (and many ... | https://www.instructables.com/id/MultiSlot-Clipboard/ | CC-MAIN-2018-34 | refinedweb | 4,696 | 55.34 |
Gantry::Plugins::SOAP::Doc - document style SOAP support
In a controller:
use Your::App::BaseModule qw( -PluginNamespace=YourApp SOAP::Doc ); # This exports these into the site object: # soap_out # do_wsdl # return_error do_a_soap_action { my $self = shift; my $data = $self->get_post_body(); my $parsed_data = XMLin( $d... | http://search.cpan.org/~tkeefer/Gantry/lib/Gantry/Plugins/SOAP/Doc.pm | CC-MAIN-2017-04 | refinedweb | 1,046 | 74.19 |
The colours of the sky are caused by a complex interplay between our sun and our planet’s atmosphere. Artists have long painted the sky in all its guises, and storytellers have often taken inspiration from it. Ancient Greeks like Plato and Aristotle were the first to write their theories about colour and its relation t... | https://catherinebreslin.medium.com/?source=post_internal_links---------4---------------------------- | CC-MAIN-2021-04 | refinedweb | 1,144 | 62.88 |
0
I'm trying to learn using pointers, and in the code below I can send variables to a function.
But the return is obviously wrong and I can't seem to figure it out.
What I want the function to return is the number of even number occurrences.
Any suggestions to where I go wrong would be much appreciated.
I've tried to c... | https://www.daniweb.com/programming/software-development/threads/320164/need-some-pointers-here | CC-MAIN-2017-26 | refinedweb | 153 | 66.88 |
I gave this problem to return the change back from an input. However, this code a few students wrote produces in correct results. It seems to have an "off by one error". This is for a C exam I gave. I cannot see the error- it has been a long day. Comments would help
Code:
#include <stdio.h>
void change (float total, in... | http://cboard.cprogramming.com/c-programming/29264-check-code-out-tired-today-printable-thread.html | CC-MAIN-2014-15 | refinedweb | 204 | 76.15 |
A Python module of Meta-Analysis, usually applied in systemtic reviews of Evidence-based Medicine.
Project description
PythonMeta
Info
Name = PythonMeta
Version = 1.11
Author = Deng Hongyong (dhy)
URL =
Date = 2019.7.23
Import
Import the PythonMeta module in your code:
import PythonMeta
Functions and Classes
There are... | https://pypi.org/project/PythonMeta/1.11/ | CC-MAIN-2021-43 | refinedweb | 978 | 51.34 |
For code/output blocks: Use ``` (aka backtick or grave accent) in a single line before and after the block. See:
Buy and Hold example - monthly cash being added twice?
From the buy and hold blog post:
Buy and Hold
Why is the self.p.monthly_cash added first to self.broker.add, and then again to calculate the target_valu... | https://community.backtrader.com/topic/3388/buy-and-hold-example-monthly-cash-being-added-twice | CC-MAIN-2021-10 | refinedweb | 172 | 53.37 |
Hello
I am trying to improve the method I post below in order to stop the track previously selected before the next starts, so that they dont play simultaneously... I cannot find a way to do so... (because this is part of an exercise of a book I am studying, I can only use a while-loop)
* A class to hold details of aud... | http://www.javaprogrammingforums.com/whats-wrong-my-code/38243-how-improve-method.html | CC-MAIN-2016-18 | refinedweb | 193 | 58.79 |
[Advanced Search]
Despite programmers' best efforts, software releases usually
contain some bugs. Regretfully, fv is no exception. Here are
the bugs we are aware of, along with how to avoid or fix them.
NOTE: When referring to a file, we will use
<fv> to mean the path to the top of your fv
source tree, which contains s... | http://heasarc.gsfc.nasa.gov/ftools/fv/fv_bugs.html | CC-MAIN-2015-48 | refinedweb | 1,575 | 62.68 |
's the problem with Python 3.x? It was first released in 2008, but web hosting companies still seem to offer Python 2.x rather.
For example, Google App Engine only offers Python 2.7. What's wrong?...
There's nothing wrong with Python 3, but as Kiran says, it takes time for people to migrate.
Most cheap web hosts don't ... | https://www.queryhome.com/tech/28315/whats-the-problem-with-python-3-x | CC-MAIN-2020-24 | refinedweb | 408 | 76.93 |
#include "orconfig.h"
#include <stddef.h>
Go to the source code of this file.
Length of a buffer to allocate to hold the results of tor_inet_ntoa.
Definition at line 21 of file inaddr.h.
Referenced by fmt_addr32(), and tor_addr_parse_PTR_name().
Set *addr to the IP address (in dotted-quad notation) stored in *str. Retu... | https://people.torproject.org/~nickm/tor-auto/doxygen/inaddr_8h.html | CC-MAIN-2019-04 | refinedweb | 322 | 60.31 |
Disclaimer
Before starting, it is very important to remember that at the time of writing, Deno is still under development. Therefore, any produced code must be considered unstable due to potential unanticipated changes in the API.
We will therefore use version
0.21.0 as a basis for the next step.
Finally, it should als... | https://dev.to/lsagetlethias/deno-first-approach-4d0 | CC-MAIN-2020-50 | refinedweb | 3,133 | 53.41 |
#include it.
#include <stdio.h> #include <search.h> #include <string.h> #include <stdlib.h> struct info { /* this is the info stored in table */ int age, room; /* other than the key */ }; #define NUM_EMPL 5000 /* # of elements in search table */ main( ) { /* space to store strings */ char string_space[NUM_EMPL*20]; /*... | http://docs.oracle.com/cd/E36784_01/html/E36874/hsearch-3c.html | CC-MAIN-2015-48 | refinedweb | 142 | 54.22 |
Relay is an irc micro-framework that smells too much like a web framework
Project Description
Release History Download Files
An irc micro-framework that smells too much like a web framework.
Relay is a toy project, its goals were for me to try out framework design, learn more about the IRC protocol, and to be a replace... | https://pypi.org/project/relay-framework/ | CC-MAIN-2017-51 | refinedweb | 245 | 57.37 |
Introduction: bags of an unknown amount and weight of uncrushed cans, I decided to make a machine that would crush the cans, count the cans, and tell the weight of the number of cans that it has crushed. I searched the internet and have found no machines that count the cans that have been crushed or tells the weight of... | https://www.instructables.com/id/Arduino-Controlled-Can-Crusher-With-LCD-readout/ | CC-MAIN-2018-34 | refinedweb | 2,052 | 77.06 |
In Oriley's C++ in a Nutshell, a namespace is defined as:
A namespace is a named scope.
This means that if you enclose something (like a class) inside a namespace, you can use multiple classes or packages of the same name by using a differnet scope for each package. For example you can write code like this:
namespace1:... | http://forum.codecall.net/topic/44717-namespaces-an-introduction/ | CC-MAIN-2018-13 | refinedweb | 744 | 73.17 |
Opened 4 years ago
Closed 4 years ago
#18720 closed Uncategorized (needsinfo)
Code sample for views.html template causes NoReverseMatch error
Description
The page in question is
The code sample for views.html will cause a NoReverseMatchError due to the single quotes in the argument to the bolded url tag below:
{% exten... | https://code.djangoproject.com/ticket/18720 | CC-MAIN-2016-22 | refinedweb | 191 | 58.48 |
This post by David King on inline Graphviz graphs inspired me to write my first Rack middleware in a long time. David's code uses PHP on the server-end coupled with javascript to parse out Graphviz data from script tags, and then render the graphs with the appropriate Graphviz tool and serve up the image. It's a great ... | https://hokstad.com/inline-graphviz | CC-MAIN-2021-21 | refinedweb | 1,211 | 63.9 |
im trying to make my program draw lines from the top right corner of the JFrame which is 400 x 400, to the bottom of it making what looks like a curve but really is just lines. i think i know the basic idea of how to do this which would be to subtract 1 from x and add 1 to y and loop that in a for loop. i just cant get... | https://www.daniweb.com/programming/software-development/threads/237339/looping-the-drawline-method | CC-MAIN-2018-39 | refinedweb | 165 | 63.02 |
Downloaded and tested FERN today.
Excellent work!
Welcome to the forum.
We will all expect great future activity from you on the forum!
A
Printable View
Downloaded and tested FERN today.
Excellent work!
Welcome to the forum.
We will all expect great future activity from you on the forum!
A
Looks absolutely great.
I'd a... | http://www.backtrack-linux.org/forums/printthread.php?t=34517&pp=10&page=4 | CC-MAIN-2014-41 | refinedweb | 692 | 60.51 |
tool man page
tool — Dictionary Tools
Synopsis
package require Tcl 8.6
package require sha1
package require dicttool
package require oo::meta
package require oo::dialect
tool::define class_method arglist body
tool::define array name contents
tool::define array_ensemble methodname varname ?cases?
tool::define dict_ensem... | https://www.mankier.com/n/tool | CC-MAIN-2017-34 | refinedweb | 1,196 | 52.39 |
This is one of the 100 recipes of the IPython Cookbook, the definitive guide to high-performance scientific computing and data science in Python.
integratepackage), and matplotlib.
import numpy as np import scipy.integrate as spi import matplotlib.pyplot as plt %matplotlib inline
m = 1. # particle's mass k = 1. # drag ... | http://nbviewer.jupyter.org/github/ipython-books/cookbook-code/blob/master/notebooks/chapter12_deterministic/03_ode.ipynb | CC-MAIN-2017-47 | refinedweb | 307 | 53.07 |
RequestFactory Grid with FilterPagingLoadConfig.
There is one example of how to use a grid with RF and FilterPagingLoadConfig?.
Thank you.
Yes. Look at the source code for the Paging Grid demo:
Specifically, look for RpcProxy. You construct your paging loader with an instance of this class.
Wow, totally missed this. Yo... | https://www.sencha.com/forum/showthread.php?186912-RequestFactory-Grid-with-FilterPagingLoadConfig | CC-MAIN-2015-40 | refinedweb | 700 | 61.87 |
Web Development Apps in Go Programming – Welcome to my next blog, fellow go programmers. In this blog, we will be talking about the Google’s awesome Golang language. In my previous blog, you might have seen how Golang has evolved over years, and has given a tough competition to Java and C++. But in this blog, we would ... | https://www.educba.com/web-development-with-go-programming/ | CC-MAIN-2019-22 | refinedweb | 1,805 | 70.02 |
Project Motivation
Scheduling is a critical part of an OS since it directly affects performance of a multitasking Operating System.
In particular, Linux and Android were chosen since they are open source and are widely used In embedded applications.
LINUX AND ANDROID SCHEDULING
CPU vs IO Bound Process
I/O bound process... | https://prezi.com/ebrz6qfjnjua/linux-android-scheduling/ | CC-MAIN-2017-22 | refinedweb | 1,079 | 52.7 |
When preamble contains #undef, indexing code finds the matching #define
and uses that during indexing. However, it would only look for local
definitions. If the macro was defined in a module, MacroInfo
would be nullptr and clangd would crash.
This change fixes the crash by looking for definition in module when
that hap... | https://reviews.llvm.org/D80525 | CC-MAIN-2020-34 | refinedweb | 730 | 62.38 |
I must be really stupid but after two hours I have not managed to fix the problem that I have
I'm currently learning abour romhacking following the "ultimate-tutorial-2", but I'm stuck in the section insert text. I understand a bit how the thing works and I have been trying to change some names:
I wrote the .txt file w... | http://feuniverse.us/t/problem-with-text-processor-using-buildfile-method/3943 | CC-MAIN-2018-47 | refinedweb | 1,104 | 85.89 |
By using simple network applications, we can send files or messages over the internet. A socket is an object that symbolize a low-level connection point to the IP stack. This socket can be opened or closed or one of a set amount of intermediate states. A socket can deliver and receive data down this connection. Files i... | http://technotif.com/creating-simple-udp-server-client-transfer-data-using-c-vb-net/ | CC-MAIN-2019-04 | refinedweb | 2,088 | 67.45 |
This is a very brief article about one great feature of the Ruby language - dynamically adding methods to classes at runtime.
Basically I have been learning the Ruby language and thought I would share few snippets with people in small articles, so if you are not familiar with Ruby take a quick look and see what you thi... | http://www.codeproject.com/Articles/15429/Ruby-Add-class-methods-at-runtime | CC-MAIN-2014-41 | refinedweb | 653 | 61.73 |
Topic 3 Annuities....
Annuities 7. Please type all answers directly in this Assignment below the question it applies to.
All Assignments are due by Tuesday at 11:59 PM ET of the assigned Unit.
Note: All interest rates are to be assumed to be yearly interest rates.
Question 1
(10 points)
1. You wish to deposit $500 per ... | https://www.studypool.com/questions/180678/topic-3-annuities | CC-MAIN-2018-30 | refinedweb | 600 | 74.08 |
Ruben Rodriguez Santiago's article presents a use case that demonstrates how you can use Oracle Process Cloud Service, Mobile Cloud Service, and Mobile Application Framework can be used together to expose an Oracle PCS process instance as a web service and call it from an external system, web application, or mobile app... | https://community.oracle.com/docs/DOC-996644 | CC-MAIN-2020-05 | refinedweb | 3,990 | 61.97 |
Abstract
Perl has a lot of tools for parser generation using Perl. Perl has flexible data structures which makes
it easy to generate generic trees. While it is easy to write a grammar and a lexical analyzer using modules
like Parse::Yapp and Parse::Lex, these tools are not as fast as I would like. I use the Parse::Yapp... | https://id.scribd.com/document/39917945/perl-flex | CC-MAIN-2019-43 | refinedweb | 1,612 | 73.98 |
DSL (Domain Specific Language) is a programming language or specification language dedicated to a particular problem domain, problem representation or a particular solution technique. So with a few Scala Nuggets on our way we are ready to write a DSL? Not quite but in this post we would touch upon a critical feature in... | https://blog.knoldus.com/scala-nuggets-look-ma-my-first-dsl/ | CC-MAIN-2021-04 | refinedweb | 615 | 72.05 |
Json mysql...
...Should be preferred if someone has worked on Google Speech
looking for lodash js developer immediatly to fix one issue to access keys in json. my budget is 600 and
Need to clean up some data from phpMyAdmin and SQL expert who understands how data is effected. Please see attached for typical SQL Queries... | https://www.freelancer.com/work/json-mysql/ | CC-MAIN-2018-43 | refinedweb | 308 | 74.19 |
BACK
This Hash table Program is used for entry set of the values using entry set() method
Example Program
import java.util.Hashtable; import java.util.Set; public class HashTableSet { public static void main(String[] args) { // create has table Hashtable htable = new Hashtable(); // put value into table htable.put(1, "... | http://candidjava.com/hash-table-example-program-using-entry-set-of-the-values/ | CC-MAIN-2017-04 | refinedweb | 102 | 62.75 |
Technical Blog Post
Abstract
Namespaces for fun and profit - why you need one
Body
Background (optional reading)
I've had variations on this conversation several times over the past few months. I guess I should create a proper rant and number it. OTOH making it a blog post means I have a URI, which is way better than a... | https://www.ibm.com/support/pages/node/1275868?lang=en | CC-MAIN-2020-16 | refinedweb | 1,380 | 60.45 |
Customizing Element Creation and Movement
You can allow an element to be dragged onto another, either from the toolbox or in a paste or move operation. You can have the moved elements linked to the target elements, using the relationships that you specify.
An element merge directive (EMD) specifies what happens when on... | http://msdn.microsoft.com/library/bb126573.aspx | CC-MAIN-2014-52 | refinedweb | 2,669 | 57.16 |
sbt-soundsbt-sound
An sbt (Simple Build Tool) plugin for adding sounds to sbt's task completions.
This plugin allows you to associate sounds with successful and/or failed task completions, giving you audio feedback. Any
TaskKey can have a sound association. This is especially useful for:
- Long build times
- A failing
... | https://index.scala-lang.org/orrsella/sbt-sound | CC-MAIN-2022-27 | refinedweb | 603 | 57.37 |
A Comprehensive Introduction to Less: Mixins
Mix… what?
With Less, we can define so-called "mixins", which have some similarities to functions in programming languages. In Less, they’re used to group CSS instructions in handy, reusable classes. Mixins allow you to embed all the properties of a class into another class ... | https://www.sitepoint.com/a-comprehensive-introduction-to-less-mixins/ | CC-MAIN-2018-39 | refinedweb | 2,679 | 64.91 |
/******************************************************************************/
/* */
/* nhrp-dos - Copyright by Martin Kluge, <mk@elxsi.de> */
/* */
/* Feel free to modify this code as you like, as long as you include the */
/* above copyright statement. */
/* */
/* Please use this code only to check your OWN cisco r... | http://www.linuxrocket.net/term/long.htm | crawl-003 | refinedweb | 855 | 56.25 |
Re: [soaplite] Timeouts when using service descriptions
Here was my solution -both the wsdl fetch, and the method needed timeouts.patmy $soap = SOAP::Lite
->proxy('http://', timeout => 1)
->service('')
;return (1, $errors{3} . "can not fetch wsdl", '') unless ($soap);...........$result = $soap ->proxy('http://', timeou... | https://groups.yahoo.com/neo/groups/soaplite/conversations/topics/6190?o=1&source=1&var=1 | CC-MAIN-2015-18 | refinedweb | 325 | 63.9 |
I wanted to take a look at the libusb library. But I cant even compile a single file including some functions of this library.
This is what I did to install libusb:
Code: Select all
sudo apt-get install libusb-1.0-0
I even downloaded the latest version from and made the make installation.
Code: Select all
sudo apt-get ... | https://www.raspberrypi.org/forums/viewtopic.php?p=365115 | CC-MAIN-2020-16 | refinedweb | 154 | 62.34 |
Welcome to the first part of our Hello World tutorial!
We will start by creating a Starcounter application in Visual Studio by going to
New Project -> Templates -> Visual C# -> Starcounter -> Starcounter 2.3 Application. We will name the application
HelloWorld.
Create a new class called
Person with the attribute
[Datab... | https://docs.starcounter.io/hello-world-tutorial/create-a-database-class | CC-MAIN-2019-30 | refinedweb | 338 | 66.13 |
This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.
> Since the aio implementation relies on pthreads, a build without > linuxthreads needs to skip the aio tests. It was wrong to put this change in, and I've taken it out now. Not all aio implementations will necessarily dep... | http://sourceware.org/ml/libc-alpha/2002-08/msg00279.html | CC-MAIN-2014-41 | refinedweb | 212 | 75.81 |
Def Leppard Theme 1.0
Sponsored Links
Def Leppard Theme 1.0 Ranking & Summary
RankingClick at the star to rank
Ranking Level
User Review: 0 (0 times)
File size: 1.39MB
Platform: Win98,NT
License: Freeware
Price: Free
Downloads: 1095
Date added: 2006-10-24
Publisher:
Def Leppard Theme 1.0 description
Sounds and pointers... | http://wareseeker.com/Home-Shell-Desktop/def-leppard-theme-1.0.zip/396655 | crawl-002 | refinedweb | 455 | 58.08 |
Subject: Re: [boost] [container] static_vector: fixed capacity vector update
From: Adam Wulkiewicz (adam.wulkiewicz_at_[hidden])
Date: 2013-02-01 09:35:56
Krzysztof Czainski wrote:
> 2013/2/1 Adam Wulkiewicz <adam.wulkiewicz_at_[hidden]>
> Furthermore I'd like to share some news.
>>
>> We've decided to slightly change ... | https://lists.boost.org/Archives/boost/2013/02/200656.php | CC-MAIN-2022-21 | refinedweb | 356 | 65.32 |
In order to create a read only application to be run from CD-ROM (or similar) in managed code, there are some issues that must be considered in order to support all current Microsoft Windows platforms (XP (if you can call that “current”) and Vista/Win7), and both x86 and AMD64 (x64) processor architectures.
The user wi... | http://erikej.blogspot.ch/2009_08_01_archive.html | CC-MAIN-2018-22 | refinedweb | 414 | 61.67 |
I stumbled upon a behaviour in python that I have a hard time understanding. This is the proof-of-concept code:
from functools import partial
if __name__ == '__main__':
sequence = ['foo', 'bar', 'spam']
loop_one = lambda seq: [lambda: el for el in seq]
no_op = lambda x: x
loop_two = lambda seq: [partial(no_op, el) for ... | https://codedump.io/share/6DYowzXKcq0x/1/weird-lambda-behaviour-in-loops | CC-MAIN-2017-17 | refinedweb | 309 | 71.68 |
If I have a gallery in a dynamic item page, does each column in the database link to one photo (so really it's not a gallery at all - just 4 images next to each others) or is there a more streamlined way to go about this?
Hi hello,
It depends on what you wanna do. If you know you are going to have exactly 4 photos for ... | https://www.wix.com/corvid/forum/community-discussion/adding-a-photo-gallery-in-a-dynamic-page | CC-MAIN-2019-51 | refinedweb | 1,495 | 69.82 |
Form Panel is nothing more than a basic Panel with form handling abilities added. Form Panels can be used throughout an Ext application wherever there is a need to collect data from the user.
In addition, Form Panels can use any Container Layout, providing a convenient and flexible way to handle the positioning of the... | https://docs.sencha.com/extjs/5.0.0/guides/components/forms.html | CC-MAIN-2018-30 | refinedweb | 1,332 | 55.24 |
Adding external libs and build directories
Dear,
I'm trying to add an external lib and the readme of that project sais the following:
@To use jrtplib and jthread in another project, you must then do the
following:
- in the project settings, add the include directory
c:\local\include to the list of include directories (... | https://forum.qt.io/topic/22339/adding-external-libs-and-build-directories | CC-MAIN-2017-34 | refinedweb | 240 | 74.79 |
Mic wrote: >>I chose to ignore the "using classes" part. If you like you can turn the >>button_clicked() function into a method of a subclass of Button. You can >>also move the Button configuration done in create_widgets() into the >>__init__() method of that subclass. > > import tkinter as tk > from functools import p... | https://mail.python.org/pipermail/tutor/2011-November/086966.html | CC-MAIN-2016-40 | refinedweb | 580 | 57.06 |
.topNCopy
Copies the top
n elements of the
input range
source into the
random-access range
target, where
n = target.
TRange topNCopy(alias less, SRange, TRange) (
SRange source,
TRange target,
SortOutput sorted = No
.sortOutput.sortOutput
)
if (isInputRange!SRange && isRandomAccessRange!TRange && hasLength!TRange && ha... | https://dlang.org/library/std/algorithm/sorting/top_n_copy.html | CC-MAIN-2022-27 | refinedweb | 144 | 60.61 |
Today’s post is dedicated to a library based on reactive functional programming: ScalaRx.
The main objective of this library is that, with the use of values (val), we are going to define an operations flow, which will change dynamically when any of the values changes. We call those values reactive variables.
To use the... | https://scalerablog.wordpress.com/2016/02/22/a-small-tour-through-scalarx-part-i/ | CC-MAIN-2018-05 | refinedweb | 526 | 73.17 |
Create div php işler.
...</track> <track kind="subtitles" label="Türkçe" src="[login to view URL]" srclang="tr"></track> </video> Sayfamda da şu şekilde 2 tane kutucuk var; Kod: <div id="en"></div> <div id="tr"></div> Şimdi istediğim şey vide...
Bir aspx sayfasının div, table ve panellerle tasarımın iyileştirilmesi
...... | https://www.tr.freelancer.com/job-search/create-div-php/ | CC-MAIN-2019-26 | refinedweb | 931 | 72.46 |
19 January 2012 06:20 [Source: ICIS news]
By Helen Yan
SINGAPORE (ICIS)--Major tyre makers in Asia, stricken with weak exports sales, are putting up a strong resistance to a $300-500/tonne (€234-390/tonne) hike in butadiene rubber prices this week for February and March shipments, industry sources said on Thursday.
BR ... | http://www.icis.com/Articles/2012/01/19/9525145/asia-tyre-makers-resist-br-price-hikes-for-february-march.html | CC-MAIN-2014-42 | refinedweb | 427 | 54.46 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.