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 |
|---|---|---|---|---|---|
I have a hash here:
VALID_CHOICES = {
'r' => 'rock',
'p' => 'paper',
'sc' => 'scissors',
'l' => 'lizard',
'sp' => 'spock'
}
def win?(first, second)
(first == 'sc' && second == 'p') ||
(first == 'p' && second == 'r') ||
(first == 'r' && second == 'l') ||
(first == 'l' && second == 'sp') ||
(first == 'sp' && second == 's... | https://codedump.io/share/GZqgXSEjwzwv/1/ruby---how-do-i-shorten-my-method | CC-MAIN-2018-09 | refinedweb | 170 | 61.29 |
How to Make Static Variables in C Programming
In C programming, variables used within a function are local to that function: Their values are used and then discarded when the function is done. Don’t Give Me No Static demonstrates the concept.
DON’T GIVE ME NO STATIC
#include <stdio.h> void proc(void); int main() { puts... | https://www.dummies.com/programming/c/how-to-make-static-variables-in-c-programming/ | CC-MAIN-2019-26 | refinedweb | 374 | 65.76 |
: Objective-C: the More Flexible C++
Some thoughts from a scientist who also dabbles in software creation:
my 2 cents Canadian (not much in othe terms, lately) worth...
Some years ago, I wrote a pretty large (10^4 lines) open-source code
in C. It became apparent that it would help for this code to have
parts that were ... | http://www.linuxjournal.com/article/6009?page=1&quicktabs_1=1 | CC-MAIN-2014-23 | refinedweb | 2,053 | 69.52 |
DF: some major changes are in the renewed WG charter: o concrete model for attachment feature is now explicitly possible o end-of-charter date is now 31 December 2002 o Change in section 5.1 IPR so that it now references the Current Patent Policy DF: members' IPR statements from theirreponses to the new charter are ava... | http://www.w3.org/2000/xp/Group/2/10/16-minutes.html | CC-MAIN-2015-22 | refinedweb | 1,355 | 57.2 |
Download CD Content
The first 12 chapters of this book have focused on acquainting you with the language of C++. You have explored the syntax, structure, and techniques of this programming language. However, you should be aware that this is only part of the process of programming. Simply understanding language syntax i... | https://flylib.com/books/en/2.331.1.106/1/ | CC-MAIN-2021-25 | refinedweb | 1,379 | 72.97 |
plzzz help me!!
plzzz help me!! . Write a program to display a multiplication table, by entering the start number and the end number.
Sample output:
Enter start number: 1
Enter end number: 2 {press enter}
1 2 3 4 5 6 7 8 9 10
1
Help Me plzzz
Solve this problem plzzz
Hibernate code - Hibernate
Hibernate code firstExamp... | http://www.roseindia.net/tutorialhelp/comment/45349 | CC-MAIN-2015-32 | refinedweb | 297 | 66.94 |
django-herokuapp 0.9.18
A set of utilities and a project template for running Django sites on heroku.
django-herokuapp is a set of utilities and a project template for running Django sites on Heroku.
Why not just use Heroku’s Django guide?
Heroku provides a guide that describes a reasonable Django project setup. The dj... | https://pypi.python.org/pypi/django-herokuapp/0.9.18 | CC-MAIN-2015-48 | refinedweb | 1,790 | 55.24 |
GHC.Data.Stream
Description
Monadic streams
Synopsis
- newtype Stream m a b = Stream {
- runStreamInternal :: forall r' r. (a -> m r') -> (b -> StreamS m r' r) -> StreamS m r' r
- data StreamS m a b
- runStream :: Applicative m => Stream m r' r -> StreamS m r' r
- yield :: Monad m => a -> Stream m a ()
- liftIO :: Mona... | https://hackage.haskell.org/package/ghc-9.2.1/docs/GHC-Data-Stream.html | CC-MAIN-2022-05 | refinedweb | 606 | 56.52 |
| Join
Last post 04-24-2008 7:46 AM by nichola_x_rose. 0 replies.
Sort Posts:
Oldest to newest
Newest to oldest
I managed to attach the Custom Events to my website and I have the following errorsNamespace
or type specified in the Imports 'System.Web.Management' doesn't
contain any public member or cannot be found. Make... | http://forums.asp.net/p/1252422/2318604.aspx | crawl-001 | refinedweb | 137 | 60.92 |
:local=“clr-namespace:BindingSample“>
<Window.Resources>
<!– Instantiates the Person class with the Name value “Joe”–>
<!– Giving it an x:Key so it’s available as a resource –>
<local:Person x:Key=“myDataSource“ Name=“Joe“/>
</Window.Resources>
<!– Binding the Text property to the Name property –>
<TextBlock Text=“{Bin... | https://blogs.msdn.microsoft.com/wpfsdk/2006/10/19/wpf-basic-data-binding-faq/ | CC-MAIN-2016-36 | refinedweb | 720 | 50.43 |
Alex.Krumm-Heller@csiro.au wrote:
> Hi,
>
>
>
> I am trying to do some file I/O. The scenario I am aiming for is to
> create a file if it doesn’t exist, append to it if it exists as well as
> allowing for writes to the file from multiple threads.
Since you are coding in C++ have you considered using iostreams for
this ... | http://mail-archives.apache.org/mod_mbox/apr-dev/200601.mbox/%3C43BD5970.4030703@roguewave.com%3E | CC-MAIN-2015-22 | refinedweb | 198 | 65.42 |
deeplearn.js一个用于Web的硬件加速机器智能JavaScript库deeplearn.js是用于机器智能的开源硬件加速JavaScript库。 deeplearn.js将性能机器学习构建块带入Web,让您可以在浏览器中训练神经网络,或者在推理模式下运行预先训练的模型。
This release brings some big changes to deeplearn.js. Largest of which is moving from a graph centric API to an ‘eager mode' imperative one that mirrors Tensorflow Eager.
We belie... | https://www.ctolib.com/article/releases/57227 | CC-MAIN-2019-35 | refinedweb | 1,254 | 59.4 |
UTIMENSAT(2) Linux Programmer's Manual UTIMENSAT(2)
utimensat, futimens - change file timestamps with nanosecond preci‐ sion
#include <fcntl.h> /* Definition of AT_* constants */ #include (): Since glibc 2.10: _XOPEN_SOURCE >= 700 || _POSIX_C_SOURCE >= 200809L Before glibc 2.10: _ATFILE_SOURCE futimens(): Since glibc 2... | http://man7.org/linux/man-pages/man2/utimensat.2.html | CC-MAIN-2014-42 | refinedweb | 920 | 61.56 |
Hello,
I am having a bit of trouble while trying to figure out how to use a switch case in my program. In the end I intend to have 7 inputs that can produce a total of around 10 or 11 outputs, depending on combinations or inputs. Right now I am just trying to get a 3 inputs to produce 4 outputs. I had done some searchi... | https://forum.arduino.cc/t/switch-case-with-multiple-inputs/689451 | CC-MAIN-2021-25 | refinedweb | 446 | 59.74 |
Red Hat Bugzilla – Bug 461390
Review Request: perl-namespace-clean - Keep your namespace tidy
Last modified: 2010-07-26 18:26:01 EDT
SRPM URL:
SPEC URL:
Description:.
=====> perl-namespace-clean-0.08-1.fc9.noarch.rpm <=====
====> rpmlint
1 packages and 0 specfiles checked; 0 errors, 0 warnings.
====> provides for perl-... | https://bugzilla.redhat.com/show_bug.cgi?id=461390 | CC-MAIN-2017-43 | refinedweb | 249 | 54.9 |
beginnersluke wrote:The BeautifulSoup page mentions installing it using PIP, so I downloaded that and ran the install. This seemed to work, the shell told me it restarted, but when I tried to run "pip install BeautifulSoup" it highlighted "install" and gave an invalid syntax error.
C:\>
>>>
beginnersluke wrote.)
os.get... | http://www.python-forum.org/viewtopic.php?p=11562 | CC-MAIN-2014-15 | refinedweb | 190 | 69.89 |
#include <FXTopWindow.h>
Inheritance diagram for FX::FXTopWindow:
TopWindows are usually managed by a Window Manager under X11 and therefore borders and window-menus and other decorations like resize- handles are subject to the Window Manager's interpretation of the decoration hints. When a TopWindow is closed, it send... | http://www.fox-toolkit.org/ref12/classFX_1_1FXTopWindow.html | crawl-003 | refinedweb | 186 | 51.07 |
To follow up my post on webcam streaming, here is an example of HTTP MJPG streaming. This allows you to open the stream in a browser using a URL like. However, Chrome does not let you open this directly – it must be embedded in an HTML document, e.g.:
<html> <body> <img src=""/> </body> </html>
Here is the EV3 code, wh... | https://lejosnews.wordpress.com/2015/02/20/webcam-http-streaming/ | CC-MAIN-2017-43 | refinedweb | 879 | 59.9 |
Hello. I'm currently using an Npgsql.dll which I have placed in my Plugins folder. I'm using it in two different projects. Both my projects work fine when built. The dll does its job and allows me to change my PostgreSQL database . The problem lies when I try to run the same scenes in the Editor.
For the first project,... | https://answers.unity.com/questions/1417227/npgsql-dll-working-in-standalone-build-but-not-in.html | CC-MAIN-2021-04 | refinedweb | 611 | 74.39 |
I have a pandas df like this below with a
Time Block index column and a
Payload column that is an int:
Payload Time Block 2021-08-20 00:00:00 1 2021-08-20 00:15:00 2 2021-08-20 00:30:00 3 2021-08-20 00:45:00 4 2021-08-20 01:00:00 5
Pandas to json, it seems to automatically convert to epoch time:
result = df.to_json(ori... | https://www.tutorialguruji.com/python/convert-pandas-df-to-json-then-parse-dates/ | CC-MAIN-2021-39 | refinedweb | 371 | 65.73 |
In the last couple of weeks I have seen several issues related to memory pressure situations in MOSS or WSS application pools so I think it is a good idea to discuss some aspects of this type of problem in a separate article.
What is a memory pressure situation?
First of all: what do we understand under memory pressure... | https://blogs.technet.microsoft.com/stefan_gossner/2007/11/26/dealing-with-memory-pressure-problems-in-mosswss/ | CC-MAIN-2016-30 | refinedweb | 2,198 | 52.29 |
The dying old media
Here are some excerpts from the Key Findings Summary of the Iraq Survey
Group's latest report, also known as the Duelfer Report:
Saddam Hussein so dominated the Iraqi Regime that its
strategic intent was his alone. He wanted to end sanctions while
preserving the
capability to reconstitute his weapon... | https://www.bloghouston.net/item/137 | CC-MAIN-2020-34 | refinedweb | 526 | 62.17 |
In this tutorial we will check how to send data in binary frames from a Python websocket client.
Introduction
In this tutorial we will check how to send data in binary frames from a Python websocket client.
We will only develop the client and we will send the messages to this echo server, which should return back to th... | https://techtutorialsx.com/2018/11/08/python-websocket-client-sending-binary-content/ | CC-MAIN-2020-16 | refinedweb | 1,089 | 62.27 |
25 January 2008 11:58 [Source: ICIS news]
By John Richardson
SINGAPORE (ICIS news)- ?xml:namespace>
Recent capacity announcements have included 3m tonnes/year by Sinopec in five phases of 600,000 tonnes/year.
This all makes perfect sense to
Before we get on to the predictions of what’s going to happen in 2027, the imme... | http://www.icis.com/Articles/2008/01/25/9095590/insight-methanols-boost-from-the-dme-drive.html | CC-MAIN-2014-41 | refinedweb | 185 | 58.01 |
im trying to create a program that reads a text file and plots the data using matplotlib. however, what i want to do is subdivide the each major y-axis display into 10 smaller segments. ive tried matplotlib.pyplot.yscale but i cant seem to quite get the hang of it. any help is appreciated. below is the code
import matp... | https://www.daniweb.com/programming/software-development/threads/335837/how-to-subdivide-an-axis-using-matplotlib | CC-MAIN-2018-47 | refinedweb | 151 | 71.61 |
Perhaps you've heard of data URIs. It's a really nice way of including a resource that would have otherwise been a separate HTTP request. The format that you use in a data URI can vary. Essentially you just tell it what content type it is (e.g.
image/png), semicolon, then the data of that file.
Like:
<img src='data: ..... | https://css-tricks.com/probably-dont-base64-svg/ | CC-MAIN-2020-10 | refinedweb | 2,072 | 73.88 |
Run unit tests on UML extensions
The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.
The latest version of this topic can be found at Run unit tests on UML extensions.
To help keep your code stable through successive changes, we recommend that you write unit tests and... | https://msdn.microsoft.com/library/gg985355.aspx | CC-MAIN-2018-05 | refinedweb | 941 | 55.13 |
In this installment, I continue my discussion of common XML pitfalls and, perhaps more importantly, show you how to avoid them. My previous column focused on frequent misunderstandings in the use of the XML syntax itself. Here, I look at how to integrate XML support into an application for efficiency and maintainabilit... | http://www.ibm.com/developerworks/xml/library/x-wxxm31/index.html | crawl-002 | refinedweb | 2,237 | 50.97 |
Should I Use the Support Library?
The support library was originally introduced so that the features available in the latest Android SDK could be available in older Android versions. This fact is still perpetuated in the official web page.
The support library was originally introduced so that the features available in ... | https://mobiarch.wordpress.com/ | CC-MAIN-2017-47 | refinedweb | 567 | 58.58 |
Abolade Gbadegesin: Inside Windows Phone "Mango"
.
Actual format may change based on video formats available and browser capability...
def MultiYield: EvensAndOdds xs IE[T] -> { Evens: IE[T] Odds: IE[T] } // The out could be a named Tuple. f(xs){ foreach(x in xs) match (x Mod 2) | 0 : Yield Evens x // Read as Yield ont... | https://channel9.msdn.com/Shows/Going+Deep/Bart-De-Smet-Interactive-Extensions-Ix?format=smooth | CC-MAIN-2017-17 | refinedweb | 523 | 60.11 |
Ads
Hi,
Here is the answer.
You can define your own package to wrap up group of classes/interfaces etc. Using package provide effective management of application as all the related things to a project or application are bundled together under the same package.
Due to new name space created by package, there won't be na... | https://www.roseindia.net/answers/viewqa/Java-Beginners/11240-java-basics.html | CC-MAIN-2017-39 | refinedweb | 143 | 55.64 |
LOTS User Manual Point Of Sale. Last Updated: 3 May 2010 Version: 11.0
- Brendan Boone
- 5 years ago
- Views:
Transcription
1 LOTS User Manual Point Of Sale Last Updated: 3 May 2010 Version: 11.0
2 Contents 1 OPTIONS POS Options Pricing Discounts For Sales Member Options POS Receipts Customer Pole Display Customer Disp... | http://docplayer.net/10322246-Lots-user-manual-point-of-sale-last-updated-3-may-2010-version-11-0.html | CC-MAIN-2021-17 | refinedweb | 11,031 | 61.87 |
pros and cons using reference-counter VS reference-link
Discussion in 'C++' started by Axter, Jan 17, 2006.23
- vhdlcohen
- Oct 2, 2004
Pros and cons for using https on a logon page?Randall Parker, Dec 4, 2005, in forum: ASP .Net
- Replies:
- 2
- Views:
- 925
- nimd4
- May 17, 2014
Pros and cons "using namespace"BigMan... | http://www.thecodingforums.com/threads/pros-and-cons-using-reference-counter-vs-reference-link.451134/ | CC-MAIN-2015-18 | refinedweb | 121 | 69.31 |
I've been recently writing an application that will support many different platforms. Basically, this utility will support different flavors of *nix to win32 platforms.
I was wondering if anybody sees any problem using preprocessor directives within source code (not just header files). For example:
Are there any issues... | http://cboard.cprogramming.com/c-programming/52300-multi-platform-support-issues.html | CC-MAIN-2016-07 | refinedweb | 102 | 67.65 |
Details
Description
Here's a patch that implements simple support of Lucene's MoreLikeThis class.
The MoreLikeThisHelper code is heavily based on (hmm..."lifted from" might be more appropriate
Erik Hatcher's example mentioned in
To use it, add at least the following parameters to a standard or dismax query:
mlt=true
ml... | https://issues.apache.org/jira/browse/SOLR-69?focusedCommentId=12497069&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel | CC-MAIN-2015-35 | refinedweb | 2,581 | 62.98 |
A net device that switches multiple LAN segments via an OpenFlow-compatible flow table. More...
#include "openflow-switch-net-device.h"
A net device that switches multiple LAN segments via an OpenFlow-compatible flow table.
The OpenFlowSwitchNetDevice object aggregates multiple netdevices as ports and acts like a switc... | https://www.nsnam.org/doxygen/classns3_1_1_open_flow_switch_net_device.html | CC-MAIN-2021-39 | refinedweb | 1,482 | 50.63 |
View Complete Post
I get this error when i Debug my web application....
I followed these steps.,
I also rebooted my system but no use....
Plz help ! am using SMO within c#.NET to build a SMO transfer object and then execute it to transfer data between various SQL instances...Think Import/Export wizard with some error h... | http://www.dotnetspark.com/links/11948-error-loading-metadata.aspx | CC-MAIN-2017-43 | refinedweb | 583 | 66.23 |
> And if it detects the speed of a car that is reversing towards the back of the speed radar?No, > And can speed radar detect the speed of the car that is in reverse-mode coming from y-direction going x-direction?yesbut as the answers above will probably trigger more questions, please study the theory how Doppler radar... | http://forum.arduino.cc/index.php?topic=144102.0;prev_next=next | CC-MAIN-2016-26 | refinedweb | 220 | 53.17 |
Designing C#
Creating an object interface
Exposing object attributes as properties
Exposing methods
Instantiating objects from classes
Binding an object reference to a variable
Understanding object lifetime
Releasing object references
NOTE
There is simply no way to become an expert on programming classes in a single ho... | https://www.informit.com/articles/article.aspx?p=29400&seqNum=3 | CC-MAIN-2022-21 | refinedweb | 2,997 | 51.89 |
import "go.chromium.org/luci/common/system/prober"
Package prober exports Probe, which implements logic to identify a wrapper's wrapped target. In addition to basic PATH/filename lookup, Prober contains logic to ensure that the wrapper is not the same software as the current running instance, and enables optional hard-... | https://godoc.org/go.chromium.org/luci/common/system/prober | CC-MAIN-2018-34 | refinedweb | 531 | 57.27 |
Before you can use the NetConnection Debugger, you must add a single line of ActionScript to your application (see Figure 5.12). This single line of code adds the required class files to your Flash application to enable the NetConnection Debugger.
To add the class files, follow these steps in the Flash MX authoring env... | http://etutorials.org/Macromedia/Macromedia+Flash+Communication+Server+MX/Part+I+10+Quick+Steps+for+Getting+Started/Chapter+5.+STEP+5+Monitoring+and+Managing+the+Server/Developer+Component+NetConnection+Debugger/ | crawl-001 | refinedweb | 377 | 55.34 |
Date: March 1998. Last edited: $Date: 1999/04/14 21:45:49 $ starting to enable some machine understanding and automatic processing of document types which have not been pre-programmed by people. Ça commence.
The next level we consider is that when your brower (agent, whatever) dereferences the namespace URI, it finds d... | http://www.w3.org/DesignIssues/Evolution | CC-MAIN-2017-09 | refinedweb | 714 | 57.61 |
User talk:Mvrban
From OpenStreetMap Wiki
Problematic contributions
Some of your edits are a bit problematic. You copied the content of Relation:route to Rute. Since Rute is not an English word it should not be in the base namespace! If you want to translate a page, you should take the English pagename and prefix it by ... | http://wiki.openstreetmap.org/wiki/User_talk:Mvrban | CC-MAIN-2017-09 | refinedweb | 117 | 74.29 |
I am following the steps in getting-started-with-csawidexporter.pdf to generate new csaw libs for IDCS5. I have the released build of Adobe Flash Builder 4.0 with ExtensionBuilder-1.0.0 installed.
When I try step 1 in section "Generating the libraries", the compile fails on the following line
import flash.desktop.Nativ... | https://forums.adobe.com/thread/636639 | CC-MAIN-2017-30 | refinedweb | 278 | 74.59 |
How to write a plugin¶
Warning
Plugins will be phased out in 2.1.0 when we update to Django 1.7.
A plugin is basically just a normal Django application. The only thing making it a pugin is that it integrates itself into the Devilry system in some way.
Setting up your testsite¶
In this howto we assume you have created a... | https://devilry.readthedocs.io/en/master/developer/plugins.html | CC-MAIN-2022-05 | refinedweb | 266 | 52.46 |
PLP::HowTo - Some examples of common web things in PLP.
Additional Perl functionality is often available in modules. All of the modules used in this document are available (for free) at CPAN:
<: BEGIN { use CGI::Cookie; AddCookie( CGI::Cookie->new( -name => 'ID', -value => 123456, -domain => 'foo.com', -path => '/' )->... | http://search.cpan.org/dist/PLP/lib/PLP/HowTo.pod | CC-MAIN-2017-30 | refinedweb | 304 | 56.35 |
Track Window Size Changes
February 11, 1998 | Fredrik Lundh
To dynamically track changes to the window size, bind to the <Configure> event and inspect the width and height members in the event handler.
If you’re using the WCK, you can simply override the ui_handle_resize method instead.
Track changes to the window size... | http://effbot.org/zone/tkinter-window-size.htm | CC-MAIN-2016-22 | refinedweb | 133 | 57.77 |
TL 5.0 to 5.0.1 broke his WCF Data Service. Upon investigation it became clear that there was an easy fix for the short-term, and perhaps something we can do in 5.1.0 to make your life easier in the long-term.
What’s Bin Deploy?
We’ve been blogging about our goals for bin deploying applications for a while now.!)
Repli... | https://blogs.msdn.microsoft.com/astoriateam/2012/08/29/odata-101-bin-deploying-wcf-data-services/ | CC-MAIN-2018-13 | refinedweb | 531 | 67.25 |
{
PREAMBLE
Do you want to:
ROADMAP
the section on Compiling your C program
There's one example in each of the five sections:
This documentation is UNIX specific.
Compiling your C program.)
Your C program will-usually-allocate, ``run'', and deallocate a PerlInterpreter object, which is defined in the perl library.
If yo... | http://www.fiveanddime.net/man-pages/perlembed.1.html | crawl-003 | refinedweb | 1,392 | 56.05 |
To reverse an array, swap the first element with the last element and the second element with second last element and so on if the array is of odd length leave the middle element as it is.
In short swap the 1st element with the 1st element from last, second element with the second element from last i.e. ith element wit... | https://www.tutorialspoint.com/How-I-can-reverse-a-Java-Array | CC-MAIN-2022-05 | refinedweb | 195 | 62.92 |
Installing Pygal
I'm trying to install pygal. To do this, I pasted pipista into an empty script and saved it in site-packages. I created another empty script in site-packages with the following code, but receive an ImportError that there is "no module named pipista":
import pipista pipista.pypi_install('pygal')
Pipista... | https://forum.omz-software.com/topic/3375/installing-pygal/2 | CC-MAIN-2021-17 | refinedweb | 445 | 75.71 |
A micro framework for modern web apps built from the ground up on the shelf framework
Introduction
A micro framework for modern web apps built from the ground up on the Shelf Framework.
Like its namesake, Mojito is mostly sugar and a blend of other ingredients. Mojito is deliberately a very thin layer over several shel... | https://www.dartdocs.org/documentation/mojito/0.3.0-beta.7/index.html | CC-MAIN-2017-13 | refinedweb | 234 | 62.68 |
Pythonscript show console on error
Sometimes I run one of my pythonscripts and nothing happens – meaning the script function doesn’t happen. I’m left wondering why. Usually when this happens the Pythonscript console window isn’t active – or I’d see the Python error in red and know my script bombed out due to programmer... | https://community.notepad-plus-plus.org/topic/13277/pythonscript-show-console-on-error/11 | CC-MAIN-2019-51 | refinedweb | 1,251 | 75.5 |
Write.
Hint: write a method that counts the number of letters (and ignores punctuation) in a string that holds a single word without spaces. In your main program, break the input string up into words and send each one to your method.
public class WordCount { public static void main(String[] args) { System.out.println("... | http://www.dreamincode.net/forums/topic/269520-word-count-that-ignores-punctuation-and-space/ | CC-MAIN-2017-13 | refinedweb | 207 | 76.82 |
VB.NET Uncovered: Big Changes
Coding whatnots. What has really changed that you need to know about?
Well, apart from the namespaces thang, let's review the stuff that will affect you:
Longs, Integers - Our old Long has turned into anInteger and the Integer has turned into something called Short. The new Long inVB.NET h... | http://www.developer.com/net/vb/article.php/10926_1540261_6/VBNET-Uncovered-Big-Changes.htm | CC-MAIN-2017-04 | refinedweb | 980 | 65.73 |
7.3 Primitive Types
The primitive types are identified through keywords, which are aliases for predefined types in the System namespace. A primitive type is completely indistinguishable from the type it aliases: writing the reserved word Byte is exactly the same as writing System.Byte.
Because a primitive type aliases ... | https://msdn.microsoft.com/en-us/library/aa711900(VS.71).aspx | CC-MAIN-2017-26 | refinedweb | 455 | 51.85 |
Asked by:
Nagle under Windows XP
Question
Hi,
I'm having problems getting the Nagle algorithm to work under WinXP (and Win2K), but it seems fine under Win7. I've written a simple program to test this as shown below.
Basically, it opens a TCP connection to a hardware device at IP address 192.168.2.104 - port 1002. Then ... | https://social.technet.microsoft.com/Forums/en-US/1529c696-4562-4098-9fcd-681de82010c7/nagle-under-windows-xp?forum=itproxpsp | CC-MAIN-2020-45 | refinedweb | 661 | 63.9 |
Introduction
About Rational Manual Tester
IBM® Rational® Manual Tester (RMT in file or path names) is an Eclipse-based application that provides test case-related functions for manual testing. It is also well integrated with IBM® Rational® ClearQuest® test management features for test case management. Testers can use i... | http://www.ibm.com/developerworks/rational/library/09/migratefrommanualtestertoqualitymanager/ | CC-MAIN-2014-23 | refinedweb | 2,940 | 53.61 |
Source code for pyro.ops.dual_averaging
from __future__ import absolute_import, division, print_function[docs]class DualAveraging(object): """ :math:``` and ``kappa`` is :param float prox_center: A "prox-center" parameter introduced in :math:`[1]` which pulls the primal sequence towards it. :param float t0: A free para... | http://docs.pyro.ai/en/0.2.1-release/_modules/pyro/ops/dual_averaging.html | CC-MAIN-2018-51 | refinedweb | 263 | 54.69 |
dependency “merb-cache” do
Merb::Cache.setup do register(:memcached, MemcachedStore, :namespace => "my_app", :servers => ["127.0.0.1:11211"]) end
end
# a default FileStore dependency “merb-cache” do
Merb::Cache.setup do register(FileStore) end
end
# another FileStore dependency “merb-cache” do
Merb::Cache.setup do reg... | https://www.rubydoc.info/gems/merb-cache/1.1.3 | CC-MAIN-2021-21 | refinedweb | 808 | 57.06 |
lcd_hd44.c File ReferenceLM044L type LCD hardware module (impl. More...
#include "lcd_hd44.h"
#include "hw/hw_lcd.h"
#include "cfg/cfg_arch.h"
#include <drv/timer.h>
#include <cfg/debug.h>
Go to the source code of this file.
Detailed DescriptionLM044L type LCD hardware module (impl.
)
- Version:
- Id
- lcd_hd44.c 2506 ... | http://doc.bertos.org/2.2/lcd__hd44_8c.html | crawl-003 | refinedweb | 160 | 72.53 |
hg — Mercurial source code management system
Examples (TL;DR)
- Execute Mercurial command:
hg command
- Call general help:
hg help
- Call help on a command:
hg help command
- Check the Mercurial version:
hg --version
tldr.sh )
- -
- --pager <TYPE>
when to paginate (boolean, always, auto, or never) (default: auto)
[+] m... | https://dashdash.io/1/hg | CC-MAIN-2021-21 | refinedweb | 8,463 | 54.32 |
Developing API Plugins
Let's take a closer look at how the Reaction Commerce headless API works, by building one from scratch.
mkdir my-reaction-api cd my-reaction-api echo "12.14.1" >> .nvmrc nvm use # run nvm install if prompted npm init -y touch index.js
(Note: You can choose a higher version of Node.js, but 12.14.1... | https://docs.reactioncommerce.com/docs/next/core-plugins-developing | CC-MAIN-2020-29 | refinedweb | 2,092 | 54.83 |
The zbin task was a simple reverse-engineering/crackme challenge on the Olympic CTF Sochi 2014, which was organized by the MSLC. We've used the word "simple" as the application itself was indeed simple (from our narrow point of view); what made the task worth 500 points was the unusual platform it run on - 64-bit GNU/L... | http://blog.dragonsector.pl/2014/02/olympic-ctf-2014-zbin-re-500.html | CC-MAIN-2018-43 | refinedweb | 856 | 71.28 |
May 2014
Volume 29 Number 5
Data Points : Tips for Updating and Refactoring Your Entity Framework Code
Julie Lerman | May 2014
I have worked with many clients to help refactor existing software that uses Entity Framework (EF). In the case of EF code, refactoring can have a variety of meanings and often involve an updat... | https://docs.microsoft.com/en-us/archive/msdn-magazine/2014/may/data-points-tips-for-updating-and-refactoring-your-entity-framework-code | CC-MAIN-2020-16 | refinedweb | 2,580 | 52.8 |
:
10-07-2014
Record Information
Rights Management:
All applicable rights reserved by the source institution and holding location.
Resource Identifier:
aleph
-
366622
oclc
-
15802799
System ID:
UF00028315:03623
This item is only available as the following downloads:
( PDF )
Full Text
PAGE 1
OCTOBER 7, 2014Floridas Best ... | http://ufdc.ufl.edu/UF00028315/03623 | CC-MAIN-2017-22 | refinedweb | 49,129 | 64.71 |
Chatlog 2011-03-29
From SPARQL Working Group
See original RRSAgent log and preview nicely formatted version.
Please justify/explain all edits to this page, in your "edit summary" text.
13:57:43 <RRSAgent> RRSAgent has joined #sparql 13:57:43 <RRSAgent> logging to 13:57:45 <trackbot> RRSAgent, make logs world 13:57:45 <... | https://www.w3.org/2009/sparql/wiki/Chatlog_2011-03-29 | CC-MAIN-2017-26 | refinedweb | 3,143 | 67.89 |
It is used to extracts characters from the input sequence and discards them, until either n characters have been extracted, or one compares equal to delim.
Following is the declaration for std::basic_istream::ignore.
basic_istream& ignore (streamsize n = 1, int_type delim = traits_type::eof()); stream object.
In below ... | https://www.tutorialspoint.com/cpp_standard_library/cpp_basic_ios_ignore.htm | CC-MAIN-2020-16 | refinedweb | 113 | 65.62 |
Odoo Help
Odoo is the world's easiest all-in-one management software. It includes hundreds of business apps:
CRM | e-Commerce | Accounting | Inventory | PoS | Project management | MRP | etc.
Revert @api.onchange or access original value
How do we revert the value of the parameter changed by @api.onchange. Or get the or... | https://www.odoo.com/forum/help-1/question/revert-api-onchange-or-access-original-value-108052 | CC-MAIN-2018-13 | refinedweb | 229 | 57.57 |
On 6/16/11 8:42 PM, Jambunathan K wrote: > I was hoping that there is an elisp equivalent for C-like > > #if emacs-version > a > do this > #else > do that > #endif > The Common Lisp #+ reader macro provides the facility you want. For example, (progn #+some-feature 42) would read as (progn 42) on systems with some-featu... | https://lists.gnu.org/archive/html/emacs-devel/2011-06/msg00675.html | CC-MAIN-2016-36 | refinedweb | 124 | 71.75 |
I am not sure if I am posting this under the right thread or not but here it goes. I ran into a little problem while using the Calendar class. At work our work weeks are from Monday to Sunday and I developed a report to show data for each day in the work week. So I created the method below to get the Sunday date of the... | http://www.javaprogrammingforums.com/%20algorithms-recursion/17637-calendar-class-question-printingthethread.html | CC-MAIN-2016-22 | refinedweb | 329 | 55.74 |
hwit-examples 0.01-r00018
Examples for use with HWIT:author: D Haynes
:contact: tundish@thuswise.org
.. Titling
##++::==~~--''``
This is a package from the `hwit` namespace. It provides example forms
and templates. You will need this package when you are learning how
forms are made from templates, and then how they can... | https://pypi.python.org/pypi/hwit-examples | CC-MAIN-2015-18 | refinedweb | 180 | 64.81 |
- List basics
- List slicing
- Adding items to a list
- Removing items from a list
- Sorting lists
- Using sorted() and reversed()
- Creating number sequences
Lists are ordered and mutable collections of non-unique items.
In other programming languages, lists are sometimes called arrays.
List basics
Lists are delimited... | https://doc.robofont.com/documentation/tutorials/python/lists/ | CC-MAIN-2021-39 | refinedweb | 1,872 | 66.78 |
A node in the scene graph that can hold a Portal Polygon, which is a rectangle.
More...
#include "portalNode.h"
List of all members.
A node in the scene graph that can hold a Portal Polygon, which is a rectangle.
Other types of polygons are not supported for now. It also holds a PT(PandaNode) Cell that this portal is c... | http://www.panda3d.org/reference/1.7.2/cxx/classPortalNode.php | CC-MAIN-2014-15 | refinedweb | 1,199 | 52.66 |
#include <proton/import_export.h>
#include <sys/types.h>
#include <stdbool.h>
#include <proton/engine.h>
Go to the source code of this file.
API for using SSL with the Transport Layer.
A Transport may be configured to use SSL for encryption and/or authentication. A Transport can be configured as either an "SSL client" ... | http://qpid.apache.org/releases/qpid-proton-0.4/protocol-engine/c/api/ssl_8h.html | CC-MAIN-2014-52 | refinedweb | 922 | 57.37 |
You need to sign in to do that
Don't have an account?
Winter 14: Community users can't contact support / submit NewCase
Hello,! ()
I didn't see your issue listed there.
Does the profile associated with community users have access to the object the selection links to?
Good manual:
Thanks for the response! I had looked t... | https://developer.salesforce.com/forums/?id=906F0000000AnB3IAK | CC-MAIN-2020-34 | refinedweb | 656 | 62.68 |
[groovy-user] Can't override equals method for Lists
2014-11-15 11:11:44 GMT
Hello,
New versions of groovy-eclipse-compiler 2.9.1-01 and groovy-eclipse-batch 2.3.7-01 are about to be released.
Those components can be accessed on Codehaus staging repo:
Looking forward your feedback.
Thank you,
Denis
I have a pretty heft... | http://blog.gmane.org/gmane.comp.lang.groovy.user | CC-MAIN-2014-49 | refinedweb | 1,139 | 58.89 |
Today, let’s turn our attention to a very basic, and highly useful feature of C#: Static Constructors. I don’t make common use of this feature myself. But, when it is needed, it fits the job very well indeed.
So, what is a static constructor?
To quote the documentation, “A static constructor is used to initialize any s... | https://www.codeguru.com/dotnet/c-back-to-basics-static-constructors/ | CC-MAIN-2021-43 | refinedweb | 654 | 63.49 |
asyncio API (PEP 3156) implemented on top of gevent
aiogevent implements the asyncio API (PEP 3156) on top of gevent. It makes possible to write asyncio code in a project currently written for gevent.
aiogevent allows to use greenlets in asyncio coroutines, and to use asyncio coroutines, tasks and futures in greenlets:... | https://pypi.org/project/aiogevent/ | CC-MAIN-2017-34 | refinedweb | 737 | 53.47 |
Integrating Google Maps in React Using refs
The content of this tutorial is extracted from a React Live Class given by Thomas Tuts.
IntroductionIntroduction
React's
ref provides an easy way to access DOM nodes and components, and to integrate third-party
libraries in our React components. Let's take a brief look at how... | https://www.codementor.io/thomastuts/integrate-google-maps-api-react-refs-du10842zd | CC-MAIN-2017-22 | refinedweb | 1,216 | 71.24 |
[
]
Pallavi Rao commented on FALCON-1573:
-------------------------------------
[~ddcprg], totally appreciate your contribution. I agree that your patch keeps it simple.
However, personally, I prefer the second approach you proposed - that of using a namespace
for user properties. A few reasons for my preference:
1. We... | http://mail-archives.apache.org/mod_mbox/falcon-dev/201511.mbox/%3CJIRA.12908857.1446115125000.146586.1446612807918@Atlassian.JIRA%3E | CC-MAIN-2017-51 | refinedweb | 215 | 59.3 |
Firebase Hosting has additional features that let you customize how your content is hosted. This article describes custom error pages, redirects, rewrites, and headers.
Custom 404/Not Found page
Specify a custom
404 Not Found error to serve when a user
tries to access a page that doesn't exist.
Add a
404.html page to y... | https://firebase.google.com/docs/hosting/url-redirects-rewrites | CC-MAIN-2018-26 | refinedweb | 731 | 53.1 |
Modin (Pandas on Ray)¶
Modin, previously Pandas on Ray, is a dataframe manipulation library that allows users to speed up their pandas workloads by acting as a drop-in replacement. Modin also provides support for other APIs (e.g. spreadsheet) and libraries, like xgboost.
import modin.pandas as pd import ray ray.init() ... | https://docs.ray.io/en/master/data/modin/index.html | CC-MAIN-2022-05 | refinedweb | 507 | 54.02 |
As I understand it, we can use sqlite instead which doesn't use the posix io functions that break dbm's build.
Created attachment 347347 [details] [diff] [review]
patch v1
Created attachment 347361 [details] [diff] [review]
patch v2
Comment on attachment 347361 [details] [diff] [review]
patch v2
This patch makes change... | https://bugzilla.mozilla.org/show_bug.cgi?id=464088 | CC-MAIN-2016-50 | refinedweb | 2,253 | 66.64 |
?
In Direct3D 10 you might have used the D3D10_CREATE_DEVICE_DEBUG flag with a D3D10CreateDeviceAndSwapChain or D3D10CreateDevice call. In a D3D 11.1-based Metro style app you get an analogous D3D11_CREATE_DEVICE_DEBUG flag to pass to D3D11CreateDevice and in fact the Direct3D App project template does that for you in ... | https://blog.onedevjob.com/2012/06/05/debug-layer-in-direct3d-11-1-metro-style-applications/?replytocom=605 | CC-MAIN-2019-35 | refinedweb | 320 | 63.7 |
Validating a Username via jQuery with Ajax
It all starts when John hits your website and clicks the big 'Register' link. John types his name, '_John_' into the username box, and hands over his e-mail address and password (unless you're cool and hip, and you let him sign up using his OpenID) and hit 'Submit', just like ... | http://www.rossp.org/blog/2007/aug/20/django-ajax-username-validation/ | crawl-002 | refinedweb | 655 | 64.91 |
When looking for a random floating-point number, we usually want a value between 0 and 1 that is just as likely to be between 0 and 0.1 as it is to be between 0.9 and 1.
Because of the way that floating-point numbers are stored, simply casting bits to a float will make the distribution nonuniform. Instead, get a random... | http://etutorials.org/Programming/secure+programming/Chapter+11.+Random+Numbers/11.12+Getting+a+Random+Floating-Point+Value+with+Uniform+Distribution/ | CC-MAIN-2017-04 | refinedweb | 157 | 63.49 |
> Sorry I should have been clearer. My example meant the
> default package, and
> the question was in relation to what would
> happen if classes/packages were the same.
>
> ie
> WEB-INF/lib/a.jar
> contains;
> org.apache.C
>
> WEB-INF/lib/b.jar
> contains;
> org.apache.C
>
> Which C is loaded?
The first class in the cl... | http://mail-archives.apache.org/mod_mbox/tomcat-users/200101.mbox/%3CA1C69E9A4D29D311AFE000A024CA0B0B0F37BF@snax.thwt.com%3E | CC-MAIN-2016-30 | refinedweb | 219 | 61.83 |
On Thu, Mar 8, 2018 at 5:44 PM, Kees Cook <keescook@chromium.org> wrote:>> My concerns are mostly about crossing namespaces. If a container> triggers an autoload, the result runs in the init_ns.Heh. I saw that as an advantage. It's basically the same semantics asa normal module load does - in that the "kernel namespace... | https://lkml.org/lkml/2018/3/8/1524 | CC-MAIN-2018-13 | refinedweb | 388 | 62.88 |
PTHREAD_CREATE(3) Linux Programmer's Manual PTHREAD_CREATE(3)
pthread_create - create a new thread
#include <pthread.h> int pthread_create(pthread_t *thread, const pthread_attr_t *attr, void *(*start_routine) (void *), void *arg); Compile and link with -pthread.
The pthread_create() function starts a new thread in the ... | http://man7.org/linux/man-pages/man3/pthread_create.3.html | CC-MAIN-2014-35 | refinedweb | 1,313 | 52.8 |
Tee in PythonI needed a way to send the output of a Python program to two places simultaneously: print it on-screen, and save it to a file.
Normally I'd use the Linux command
tee for that:
prog | tee prog.out saves a copy of the output to the
file prog.out as well as printing it. That worked fine until
I added somethin... | https://shallowsky.com/blog/programming/python-tee.html | CC-MAIN-2020-34 | refinedweb | 512 | 74.08 |
I was asking myself if I could import PowerShell modules from a newer Windows version.
The
*-NetAdapter CMDLets in Windows 8 and 8.1 are quite nice, so I wanted to use 'em in Windows 7 too. Unfortunately they need PowerShell 4.0. I managed to upgrade my local PowerShell and found out that it doesn't include the CMDlets... | https://serverfault.com/questions/645170/import-module-from-newer-powershell-version | CC-MAIN-2022-33 | refinedweb | 139 | 55.64 |
can you give a step by step procedure, if its ok, im using eclipse IDE, tnx.
can you give a step by step procedure, if its ok, im using eclipse IDE, tnx.
sorry for late reply, hire is the error.
i don't get this, please help me on this one. tnx
Cannot connect to database server: com.mysql.jdbc.Driver
java.lang.ClassNot... | http://www.javaprogrammingforums.com/search.php?s=565da5c447e64fedb21cc47e7b79836f&searchid=1272246 | CC-MAIN-2014-52 | refinedweb | 211 | 75.91 |
POPUPMENUITEM structure
Contains information about the menu items in a menu resource that open a menu or a submenu. The structure definition provided here is for explanation only; it is not present in any standard header file.
Syntax
- type
Type: DWORD
Describes the menu item. Some of the values this member can have in... | http://msdn.microsoft.com/en-us/library/windows/desktop/ms648025(v=vs.85).aspx | CC-MAIN-2014-52 | refinedweb | 386 | 64.3 |
#include <iostream>
#include <cstdio>
#include <string>
#include <vector>
#include "CoinFinite.hpp"
Include dependency graph for CoinMessageHandler.hpp:
This graph shows which files directly or indirectly include this file:
Go to the source code of this file.
The COIN Project is in favo(u)r of multi-language support. T... | http://www.coin-or.org/Doxygen/Smi/_coin_message_handler_8hpp.html | crawl-003 | refinedweb | 196 | 57.06 |
The to replace a poorly predictable branch by a table lookup. For example:
float a; bool b; a = b ? 1.5f : 2.6f;
The ?: operator here is a branch. If it is poorly predictable then replace it by a table lookup:
float a; bool b = 0; const float lookup[2] = {2.6f, 1.5f}; a = lookup[b];
If a bool is used as an array index ... | https://codingtidbit.com/2020/02/01/real-case-of-premature-micro-optimization/ | CC-MAIN-2021-17 | refinedweb | 802 | 58.28 |
This article explains the new features in Python 2.2.2, released on October 14, 2002. Python 2.2.2 is a bugfix release of Python 2.2, originally released on December 21, 2001.
Python 2.2 can be thought of as the “cleanup release”. There are some features such as generators and iterators that are completely new, but mos... | http://docs.python.org/release/3.2.3/whatsnew/2.2.html | CC-MAIN-2013-20 | refinedweb | 1,937 | 62.88 |
Home >>C++ Tutorial >C++ Date and Time
As a matter of fact we know that C++ is an upgraded version of C hence, there are many functions and structures that are inherited by the C++ from C language. Date and time in C++ is one of structure that has been inherited by the C language in order to manipulate date and time. <... | http://www.phptpoint.com/cpp-date-and-time/ | CC-MAIN-2021-10 | refinedweb | 448 | 54.49 |
Here’s a fun programming puzzle.
In any language, define a function
map that takes another function
f and maps it over a list
l. This means that
map returns a new list where
f has been applied to every element of
l.
An example in Python:
def map(f, l): return [f(x) for x in l]
Here’s the catch: you can’t use any of you... | https://vitez.me/map-puzzle | CC-MAIN-2019-26 | refinedweb | 119 | 73.17 |
The Cortex-M architecture defines Fault Handlers that are entered when the core attempts to execute an invalid operation such as an invalid opcode or accessing non-mapped memory.
On parts with a Cortex-M3 or Cortex-M4 core, the following handlers are defined:
The first three must be specifically activated and will auto... | https://www.silabs.com/community/mcu/32-bit/knowledge-base.entry.html/2014/05/26/debug_a_hardfault-78gc | CC-MAIN-2020-16 | refinedweb | 824 | 50.87 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.