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
This extends the shell of llvm-rc tool with the ability of tokenization of the input files. Currently, ASCII and ASCII-compatible UTF-8 files are supported. This is an LLVM reimplementation of PoC tool by Nico Weber. What about comment markers and preprocessor directives, pragma directives, and preprocessor operators? ...
https://reviews.llvm.org/D35957
CC-MAIN-2022-33
refinedweb
511
59.4
Breaking up is hard to do (to member functions): - Cannot be virtual (if it goes in the vtable, it goes in the ‘class’ def, - Cannot be abstract (since you’d have to declare it in the class), - Cannot share a name with a well-defined member function or variable, - Not visible to derived classes even if they are in the ...
http://kfsone.wordpress.com/2012/11/19/breaking-up-is-hard-to-do-to-member-functions/
CC-MAIN-2014-10
refinedweb
6,507
54.66
How To Start Learning Programming for beginners – Introduction Programming for beginners is actually a very brainy and useful stuff. Learning how to code not only makes you creative but also expands a range of new choices for your career. Even if you already have a good job, and are not looking for it any further, stil...
https://www.educba.com/programming-for-beginners/
CC-MAIN-2019-22
refinedweb
1,674
69.62
Groovy Label Assignment1.2.0Minimum Jenkins requirement: 1.509ID: groovy-label-assignment Maintainers Dependencies Older versions of this plugin may not be safe to use. Please review the following warnings before using an older version: What's this? This plugin provides "Groovy script to restrict where this project can...
https://plugins.jenkins.io/groovy-label-assignment
CC-MAIN-2019-30
refinedweb
758
57.77
70 school sports T Crystal Riv takes on South Sumter in baseball -- action. - PAGE 11 Dollar children ' C O U N T Y wwvv chronlcleonllne corn HIGH 70 LOW 39 FORECAST: Partly cloudy with moderate westerly winds throughout the day. PAGE 2A describe abuse Transcripts detail torturethey allsuffered DAVE PIEKUK dpieklik@chr...
http://ufdc.ufl.edu/UF00028315/00070
CC-MAIN-2017-34
refinedweb
71,769
79.67
I'm currently implementing a complete redesign of our primary administration interface. This web application is used by our customer service every day to read, write and process heaps of information and complex data structures. When you're designing an interface for such trained users, priorities shift a great deal. Th...
https://practicaldev-herokuapp-com.global.ssl.fastly.net/tillsanders/boy-was-it-hard-to-implement-proper-keyboard-shortcuts-4d72
CC-MAIN-2021-17
refinedweb
1,494
56.15
ok this is what the professor want us to do: Description There are two data files you’ll need to build your league; Teams.txt and Players.txt. Teams.txt contains the names of the teams in your league while Players.txt has one line of data for each player. Here are excerpts from the two files: Teams.txt Diamondbacks Bra...
http://www.javaprogrammingforums.com/collections-generics/14129-i-need-create-program-array-list-3-file-classes-but-hard-help.html
CC-MAIN-2016-30
refinedweb
745
61.97
Every variable in C++ has an address which is a hexadecimal number (a hexadecimal number always starts with “0x”), we can see the address of any variable in C++ if we put an ampersand(&) symbol before it. #include<bits/stdc++.h> // It is basically a header file that includes every standard library using namespace std; ...
https://hackthedeveloper.com/pointers-in-cpp/
CC-MAIN-2021-39
refinedweb
406
58.01
One of the most challenging bits of server-side programming is when you go from the safe, comfortable environs of the single-user development stage to the wild, unpredictable realm of production. With its large volumes of users and odd, arbitrary, and unforeseen data inputs, it can be a scary transition indeed. The key...
http://www.informit.com/articles/article.aspx?p=1994789
CC-MAIN-2014-52
refinedweb
1,726
52.9
- ×Show All Smooth Scrollbar Customizable, Flexible, and High Performance Scrollbars! Installation ⚠️ DO NOT use custom scrollbars unless you know what you are doing. Read more Tell me why you are using this plugin? Via NPM (recommended): npm install smooth-scrollbar --save Via Bower: bower install smooth-scrollbar --s...
https://www.javascripting.com/view/smooth-scrollbar
CC-MAIN-2021-39
refinedweb
225
50.94
. HL7 Hello, For testing purposes, I would like to create an EnsLib.HL7.Message from either a %String or a file on disk and pass it into a function in a unit test (outside of an Ensemble context). EnsLib.HL7.Parser appears to do the necessary parsing, but it also sends the message via Ensemble service rather than retur...
https://community.intersystems.com/tags/hl7?filter=most_viewed
CC-MAIN-2019-43
refinedweb
673
62.78
Sencha Compiler Reference Contents One of the major components in Sencha Cmd is its compiler, which provides a JavaScript-to-JavaScript, framework-aware optimizer. The optimizer "understands" your high-level Ext JS and Sencha Touch code and produces the smallest, most efficient code possible to support these high-level...
http://docs.sencha.com/extjs/4.2.3/?_escaped_fragment_=/guide/command_compiler
CC-MAIN-2014-42
refinedweb
2,138
65.42
AWS Cloud Map pricing is based on resources that you register in the service registry and API calls that you make to discover them. With AWS Lookup requests AWS Cloud Map registry. Look up request charge: The price you pay for your applications to query the location of a resource that is registered with the AWS Cloud M...
https://aws.amazon.com/cloud-map/pricing/
CC-MAIN-2021-43
refinedweb
347
71.75
Syntax::Collector - collect a bundle of modules into one In lib/Example/ProjectX/Syntax.pm package Example::ProjectX::Syntax; use 5.010; our $VERSION = 1; use Syntax::Collector q/ use strict 0; use warnings 0; use feature 0 ':5.10'; use Scalar::Util 1.21 qw(blessed); /; 1; __END__ In projectx.pl: #!/usr/bin/perl use Ex...
http://search.cpan.org/~tobyink/Syntax-Collector-0.006/lib/Syntax/Collector.pm
CC-MAIN-2017-09
refinedweb
608
57.06
Upcoming Changes to System.Xml in .NET Framework 2.0 Beta 2 We are in the process of locking down System.Xml for Beta 2 of the .NET Framework 2.0 and Visual Studio 2005. In the past few months we have received customer feedback about our feature set previewed in the Whidbey Alpha & Whidbey Beta 1 and this has guided ou...
https://docs.microsoft.com/en-us/archive/blogs/dareobasanjo/upcoming-changes-to-system-xml-in-net-framework-2-0-beta-2
CC-MAIN-2020-10
refinedweb
470
54.32
I posted on here a couple days ago about concatenating lists and got the answer I was looking for, but now Ive hit another snag. I get the lists combined and I learned how to write them to a file, but now the file with the combined lists is in tuple form and has the \n after every value like this: (aaa\n , 111\n) Im no...
http://forums.devshed.com/python-programming-11/tuples-dont-tuples-954103.html
CC-MAIN-2015-11
refinedweb
308
80.82
Looking at Rock Band and Guitar Hero, I thought that they were great games but that they could accomplish so much more if they were more educational. So, for my course project at Simon Fraser University, I decided to make a similar game based on MIDI files. MIDI files potentially provide limitless songs to choose from,...
https://www.codeproject.com/Articles/36313/MIDI-Star?fid=1540503&df=90&mpp=25&sort=Position&spc=None&select=3508484&tid=3507853
CC-MAIN-2017-39
refinedweb
4,546
60.45
22 May 2012 08:19 [Source: ICIS news] By Karen Thomas ?xml:namespace> DOHA Diammonium phosphate (DAP) production at the Gabes plant and M’Dhilla’s triple super phosphate (TSP) output stopped at the end of last month due to erratic supply of raw material phosphate rock, the sources said on the sidelines of the Fertilize...
http://www.icis.com/Articles/2012/05/22/9561967/ifa-12-tunisian-phosphate-production-restart-on-the-cards-in-june.html
CC-MAIN-2013-20
refinedweb
297
51.07
I also included the Chinook.cs file generated above in the project.Then I used the code below to test that I could access the database via LINQ to SQL:using System;using System.Data.SqlServerCe;using System.Linq;namespace Showing results for Search instead for Did you mean: Start a Post Options Subscribe to RSS Feed Ma...
http://juicecoms.com/the-specified/the-specified-table-does-not-exist-entity-framework.html
CC-MAIN-2018-05
refinedweb
1,114
67.15
#include <GABC_IItem.h> Objects stored in GABC_IArchives Since IArchives keep references to objects, holding onto a reference will prevent the archive from closing. When we try to close an archive (i.e. so that we can write over it), we can't have any references dangling. The GABC_IArchive maintains a set of all the it...
http://www.sidefx.com/docs/hdk/class_g_a_b_c___n_a_m_e_s_p_a_c_e_1_1_g_a_b_c___i_item.html
CC-MAIN-2018-30
refinedweb
132
69.48
Why am I making tutorials. A small introduction Anyway, If you are new to repl it (I've been here for a few months now), this might me good for you. Here are some simple steps to get started: 1.Select a language There are many languages to choose from, but which one is for you? Python - Super easy and is used a lot. (T...
https://repl.it/talk/learn/Beginners-guide-to-repl-it/44201
CC-MAIN-2020-34
refinedweb
497
75.4
9 Visualizations that Catch More Attention than a Bar Chart | by Boriharn K | Aug, 2022 Creating eye-catching graphs with Python to use instead of bar charts. A bar chart is a 2-dimensional graph with rectangular bars on the X or Y-axis. We use the rectangular bars to compare values among discrete categories by compari...
https://cmtech.live/2022/08/06/9-visualizations-that-catch-more-attention-than-a-bar-chart-by-boriharn-k-aug-2022/
CC-MAIN-2022-40
refinedweb
1,804
63.7
Introduction Many Arduino projects may need more than two voltage supplies. When fed with 4.5-35V, this power shield is able to provide a voltage range from 1.25-12V with 3A peak current. Ideal for servo control and other non-standard components. With this shield, your Arduino can now have one power supply for everythi...
https://wiki.dfrobot.com/Power_Shield__SKU_DFR0105_
CC-MAIN-2022-33
refinedweb
309
51.85
AFAIK the namespace "oracle.adf.view.faces" has been changed to "org.apache.myfaces.adf" I'll create a wiki entry howto build ADF Faces on your own. -Matthias On 5/22/06, Cosma Colanicchia <cosmacol@gmail.com> wrote: > Hello Mathias, > > The example web.xml uses the donated drop classes.. I'd like to use > that version...
http://mail-archives.us.apache.org/mod_mbox/incubator-adffaces-user/200605.mbox/%3C71235db40605220902g674ba7b0uab8c0b825eabedbe@mail.gmail.com%3E
CC-MAIN-2019-43
refinedweb
275
58.18
Hi sorry for another post but i'm an error and I have no clue how to fix it I followed what was written in the book and this is what I put in. " // Listing 2.2 using std::cout #include <iostream.h> int main() { std::cout << "Hello there.\n"; std::cout << "Here is 5: " << 5 << "\n" ; std::cout << "The manipulator std::e...
http://cboard.cprogramming.com/cplusplus-programming/31480-what-error.html
CC-MAIN-2014-10
refinedweb
178
70.84
ttyname, ttyname_r - find pathname of a terminal #include <unistd.h> char *ttyname(int fildes); int ttyname_r(int fildes, char *name, size_t namesize); The ttyname() function returns a pointer to a string containing a null-terminated pathname of the terminal associated with file descriptor fildes. The return value may ...
http://pubs.opengroup.org/onlinepubs/7990989775/xsh/ttyname_r.html
CC-MAIN-2014-52
refinedweb
255
57.57
This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project. This patch has a long story, but it all started back in 2015, with commit df8411da087dc05481926f4c4a82deabc5bc3859 ("Implement support for checking /proc/PID/coredump_filter"). The purpose of that commit was to bring GDB's core...
https://sourceware.org/legacy-ml/gdb-patches/2019-04/msg00479.html
CC-MAIN-2022-40
refinedweb
2,288
55.13
sys/sem.h - semaphore facility #include <sys/sem.h> The <sys/sem.h> header defines the following constants and structures. Semaphore operation flags: - SEM_UNDO - Set up adjust on exit entry. Command definitions for the function semctl(): - GETNCNT - Get semncnt. - GETPID - Get sempid. - GETVAL - Get semval. - GETALL -...
http://www.opengroup.org/onlinepubs/007908799/xsh/syssem.h.html
crawl-001
refinedweb
223
51.14
Refactoring Controller Methods Discussion I'm still downloading this episode right now, but I want to answer your question in your email 'Should we do more refactoring and talking about how to write clean code in the future?'. And my answer is Yes. Thanks. I'll be sure to cover more topics then! Feel free to email me a...
https://gorails.com/forum/refactoring-controller-methods-gorails
CC-MAIN-2021-31
refinedweb
1,161
75.61
Hashtable implements a hash table (as the name suggests) and maps keys to values (like LinkedHashMap). Hashtable class allows non-null objects to be used as a key or as a value. Just like HashMap, Hashtable has two parameters that affect its performance: initial capacity and load factor. The capacity is the number of b...
https://javatutorial.net/java-hashtable-example
CC-MAIN-2019-43
refinedweb
555
65.12
Hi all, The documentation of using Photark face apps has not still changed. So you can follow the explained procedure as before and train your indexes. So friend finding can be done either in Facebook or from your private name space. - There is a drop down to select from which domain you want to search your friends. - ...
http://mail-archives.apache.org/mod_mbox/incubator-photark-dev/201108.mbox/%3CCAJsdxu69Fk-nOKnO=8LP9j6t-MoJuaZDH3hROZDx0dpnhR_3BA@mail.gmail.com%3E
CC-MAIN-2013-48
refinedweb
599
73.07
This article lets you know how to read a specific lines from a file by line number in Python. Table of contents - Steps To Read Specific Lines From A File - linecache Module Read line from a file by line number - Use readlines() to Read the range of line from the File - Generator to Read Lines from a file by line numbe...
https://pynative.com/python-read-specific-lines-from-a-file/
CC-MAIN-2021-39
refinedweb
1,287
70.23
Creating A Text Based Adventure Game Creating A Text Based Adventure Game This is based on a game I created ( Aliens Adventure Game ). Knowledge Required Before starting this tutorial, make sure you have a basic understanding of the following. - Basic classes - Basic inheritance - Input and Printing (Obviously) - Dicti...
https://replit.com/talk/learn/Creating-A-Text-Based-Adventure-Game/12565?order=new
CC-MAIN-2022-21
refinedweb
1,983
78.04
On 10/01/11 19:25, Jim Meyering wrote: > Jim Meyering wrote: > ... >> Thanks. I'll review one more time and apply these post-release. > > Thanks for your patience. > I have applied those two change-sets with some minor changes: > - we prefer to use "ATTRIBUTE_UNUSED" to mark unused variables > - I removed the backslash...
http://lists.gnu.org/archive/html/coreutils/2011-10/msg00004.html
CC-MAIN-2014-42
refinedweb
249
58.69
d above code runs but doesnt insert anythiing into d table.... pleaze help Post your Comment Implementing Bean with script let in JSP Implementing Bean with script let in JSP...; This application illustrates how to create a bean class and how to implement it with script let of jsp for inserting the data in mysql table....
http://www.roseindia.net/discussion/23319-Implementing-Bean-with-script-let-in-JSP.html
CC-MAIN-2015-18
refinedweb
601
74.9
I'm trying to generate JSON objects in the form of {{"s":"v1", "t":"v2"}, {"s":"v3", "t":"v4"}, etc} Problem type Problems []Problem ONE() {{a},{},{c}} {{a},{c}} TWO() probs := Problems{prob0, prob1, prob2, etc} package main import ( "encoding/json" "fmt" ) type Problem struct { S string `json:"s,omitempty"` T string `...
https://codedump.io/share/7vvdaIGeXuct/1/composing-arbitrary-json-objects-in-embedded-structs-in-go
CC-MAIN-2017-09
refinedweb
371
59.84
// count and display the words in a sentence // optionally store the words in a vector // a Dev-C++ tested Console Application by vegaseat 17mar2005 #include <iostream> #include <sstream> #include <string> #include <vector> // for the vector option using namespace std; int main() { string sentence, word; // create a st...
https://www.daniweb.com/programming/software-development/code/216482/words-in-a-sentence
CC-MAIN-2017-51
refinedweb
173
56.89
The most common use cases of generics are collections such as List and Map as well as single-element containers like ThreadLocal and AtomicReference. In both the collection case as well as the single-element objects there is a very finite list of types taken. This serves us well in many cases however sometimes we need ...
https://dev.to/kylec32/effective-java-consider-typesafe-hetergenous-containers-1o36
CC-MAIN-2022-40
refinedweb
711
57.06
The worldwide sensation (and eventual flaming pile of 💩) Game of Thrones premiered in the year of our Lord Stark 2011. If you’re anything like me, you would look forward to Sunday evenings – settling into your sofa with your three cats and/or significant other, waiting for the opening credits to start at 8pm CST (I wa...
https://thoughtbot.com/blog/meowifier-a-hiss-tory-lesson
CC-MAIN-2021-17
refinedweb
1,026
70.63
0 Hi I am writing a function which gets values. These ones will be used in my sqlite query def updateDB(tel, month, price): mytel = (tel,) myprice = (price,) connection = sqlite.connect("mydb.db") cursor = connection.cursor() sql = 'UPDATE mydatabase SET %s = ? WHERE number = ?' cursor.execute( sql % (month), (myprice,...
https://www.daniweb.com/programming/software-development/threads/189610/passing-variables-to-sqlite
CC-MAIN-2018-30
refinedweb
145
69.38
Often when dealing the large files, our loading times can cause delays within our applications. The solution to this is compressing files with the help of a compression library to produce smaller file sizes. In Python, we can make use of the gzip library, used to compress and decompress files. What is Object Serializat...
https://coderslegacy.com/python/gzip-tutorial/
CC-MAIN-2022-40
refinedweb
1,422
57.87
Important changes to forums and questions All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com. 3 years, 5 months ago. How to get led to blink, and print times the LED turned on using the ‘printf’ function. sorry does anyone know how to get this to work...
https://os.mbed.com/questions/82092/How-to-get-led-to-blink-and-print-times-/
CC-MAIN-2022-05
refinedweb
396
80.31
5.10. Interacting with asynchronous parallel tasks show how to interact with asynchronous tasks running in parallel with ipyparallel. Getting ready You need to start the IPython engines (see the previous recipe). The simplest option is to launch them from the IPython Clusters tab in the Notebook dashboard. In this reci...
https://ipython-books.github.io/510-interacting-with-asynchronous-parallel-tasks-in-ipython/
CC-MAIN-2019-09
refinedweb
532
55.34
Introduction to Python Unique List In Python programming language, the list is defined as a set of elements in some order, which also allows duplicate numbers so to get unique numbers or elements from the given list we introduce unique lists. Python’s unique list is a list that contains unique elements irrespective of ...
https://www.educba.com/python-unique-list/
CC-MAIN-2020-24
refinedweb
945
69.11
I use more than one class and I need a... lets say Global storage for all the class and method. Is it the right way to create a static class for storage? public static class Storage { public static string filePath { get; set; } } If you really need to make your example a singleton then here is how you do it. public cla...
https://codedump.io/share/bg09cv9Sqrs9/1/c-separate-class-for-storage
CC-MAIN-2017-26
refinedweb
220
55.84
Hide Forgot Description of problem: If there is no DISPLAY variable set, virt-manager will throw the following stack trace: Traceback (most recent call last): File "/usr/share/virt-manager/virt-manager.py", line 35, in ? import gtk File "/usr/lib/python2.4/site-packages/gtk-2.0/gtk/__init__.py", line 90, in ? _init() F...
https://bugzilla.redhat.com/show_bug.cgi?id=205938
CC-MAIN-2018-51
refinedweb
194
63.7
Icinga 2 v2.9 introduced performance related changes inside the configuration compilation and activation order. This was to ensure a) no unwanted notifications b) use available CPU resources to speed up the overall validation process. These changes had a bad effect on configuration depending on a specific activation or...
https://icinga.com/2018/09/26/icinga-2-9-2-released/
CC-MAIN-2019-04
refinedweb
290
59.6
The MQ2 gas sensor is used for detecting the levels of various gases around the area, so you can utilize this sensor as a gas leak monitoring system, in fire alarms and air quality monitoring for homes, businesses or factories. MQ2 gas sensor description. The MQ2 gas sensor is a chemiresistor. That is, it contains a se...
https://mytectutor.com/how-mq2-gas-sensor-works-with-arduino/
CC-MAIN-2022-27
refinedweb
542
64.71
This is more of a conceptual tutorial than instructions on how to write your C++ programs. The point of this is to help you out when you are fuzzy on topics and so you're having trouble using them because you don't know how they work. Let me say right here at the top that I do not have a lot of experience with Java so ...
http://www.cs.virginia.edu/~ils9d/cs216/
crawl-003
refinedweb
1,607
69.82
For my Open Source project, I want to expose a stateless session bean (SLSB) as web service using JBoss 3.2 and Axis 1.1. Now I’m wondering whether to use JAX-B or Castor for my document-style encoding, since the information I found in “Create Web services using Apache Axis and Castor” on IBM’s developerWorks may be a ...
https://technology.amis.nl/2004/08/20/use-jax-b-or-castor-for/
CC-MAIN-2016-50
refinedweb
376
63.59
The wcsncpy() function is defined in <cwchar> header file. wcsncpy() prototype wchar_t *wcsncpy( wchar_t *dest, const wchar_t *src, size_t count ); The wcsncpy() function takes three arguments: dest, src and count. It copies a maximum of count wide characters from the wide string pointed to by src to the memory locatio...
https://cdn.programiz.com/cpp-programming/library-function/cwchar/wcsncpy
CC-MAIN-2021-04
refinedweb
244
70.63
The guide to unit testing in Swift with Apollo and GraphQL Part One As iOS developers, we typically rely on mocking URLSession in order to write unit tests for our network layer. Given that GraphQL and Apollo abstract our networking layer and act as a sort of black box for networking resources, we cannot rely on the ty...
https://medium.com/@alexandermurphy/the-guide-to-unit-testing-in-swift-with-apollo-and-graphql-part-one-b82f6842e058
CC-MAIN-2019-09
refinedweb
724
53
#include "TimerOne.h"#include <Servo.h> Servo myservo; int potpin = 0; int potpin2 = 1; // analog pin used to connect the potentiometerint val1; // variable to read the value from the analog pin int duty;int freq;int period;void setup(){ freq=1/period; pinMode(13, OUTPUT); Timer1.initialize(freq); // initialize timer1,...
http://forum.arduino.cc/index.php?topic=52608.0;prev_next=next
CC-MAIN-2015-48
refinedweb
262
55.64
Hi! We need to read data from FoxPro 8 with C#. I'm gonna do some operations, and will push some of thoses data to an SQL Server database. We are not sure what's best method to read those data. I saw OLE DB and ODBC; what's best? REQUIRMENTS: The export program will run each night, but my company runs 24h a day.The DBF...
http://forums.codeguru.com/showthread.php?527881-FoxPro-to-C-What-best-method-between-ODBC-OLE-DB-or-another&p=2086435
CC-MAIN-2016-40
refinedweb
508
73.47
Provided by: libowfat-dev_0.30-2ubuntu1_amd64 NAME fmt_xlonglong - write a hexadecimal ASCII representation of an unsigned long long integer SYNTAX #include <fmt.h> size_t fmt_xlonglong(char *dest,unsigned long long source); DESCRIPTION fmt_xlonglong writes an ASCII representation ('0' to '9' and 'a' to 'f', base 16) o...
http://manpages.ubuntu.com/manpages/eoan/man3/fmt_xlonglong.3.html
CC-MAIN-2020-29
refinedweb
106
52.15
All of the workstations are connected via a 1 Mbyte/sec ethernet. 4 of the 40 workstations are used as "compilation" hosts, where solaris software can be compiled and tested. These machines are named after cuts of meat (flank, sirloin, strip, filet). The remaining 36 workstations are in used to do "work". Individual wo...
http://pages.cs.wisc.edu/~bolo/notes/cow/cow.html
CC-MAIN-2016-22
refinedweb
1,029
64.51
A faster replacement of the standard logging module. Project description The fastlogging module is a faster replacement of the standard logging module with a mostly compatible API. The API is described here. Installation Simply run python setup.py install --user or create a wheel and install it. python setup.py bdist_w...
https://pypi.org/project/fastlogging/0.9.3/
CC-MAIN-2020-50
refinedweb
664
61.12
- Code: Select all import math u = [1, 2] v = [3, 4] def length_squared(u): return sum([a ** 2 for a in u]) def length(u): return math.sqrt(length_squared(u)) def sub(u, v): return [a - b for a, b in zip(u, v)] def scale_by_scalar(u, scalar): return [a * scalar for a in u] def dist(u, v): return length(sub(v, u)) def d...
http://www.python-forum.org/viewtopic.php?f=6&t=10710&p=13625
CC-MAIN-2016-26
refinedweb
153
64.58
Neural Transfer Using PyTorch¶ Author: Alexis Jacq Edited by: Winston Herring Introduction¶ This tutorial explains how to implement the Neural-Style algorithm developed by Leon A. Gatys, Alexander S. Ecker and Matthias Bethge. Neural-Style, or Neural-Transfer, allows you to take an image and reproduce it with a new art...
https://pytorch.org/tutorials/advanced/neural_style_tutorial.html
CC-MAIN-2019-43
refinedweb
2,482
50.84
Returns the names of files in the specified directory that match the specified search pattern. Public Shared Function GetFiles ( _ path As String, _ searchPattern As String _ ) As String() Dim path As String Dim searchPattern As String Dim returnValue As String() returnValue = Directory.GetFiles(path, _ searchPattern) ...
http://msdn.microsoft.com/en-us/library/wz42302f.aspx
crawl-002
refinedweb
409
51.55
The Travis Client The travis gem includes both a command line client and a Ruby library to interface with a Travis CI service. Both work with travis-ci.org, travis-ci.com or any custom Travis CI setup you might have. Check out the installation instructions to get it running in no time. Table of Contents - Command Line ...
https://www.rubydoc.info/gems/travis/1.5.5
CC-MAIN-2019-39
refinedweb
6,923
65.62
Two read and follow the instructions, and one to blog it. Suggestion: avoid the coffee in the kitchen today, and bring your own from Starbucks. --Ben Two read and follow the instructions, and one to blog it. Suggestion: avoid the coffee in the kitchen today, and bring your own from Starbucks. --Ben Shadow Happy Anniver...
http://www.blogbyben.com/2007_06_01_archive.html
CC-MAIN-2013-20
refinedweb
7,472
81.12
As explained above, a nested top-level class or interface is just like a regular package-member class or interface, except that, for convenience, it has been nested within another class or interface. Note that nested top-level classes and interfaces must be declared static. They can only be nested within other top-leve...
https://docstore.mik.ua/orelly/java/javanut/ch05_02.htm
CC-MAIN-2021-21
refinedweb
536
59.3
If you’ve been using Salesforce for a while, you know that trust is one of our highest values. We want you to feel safe leveraging the Lightning Platform, even in the midst of scary computer security stories. That is why we developed Lightning Locker, and this blog post is going to help illustrate everything you need t...
https://developer.salesforce.com/blogs/2018/07/whats-new-with-locker-service.html
CC-MAIN-2021-04
refinedweb
805
53
How to fix "Attempted relative import in non-package" even with __init__.py To elaborate on Ignacio Vazquez-Abrams's answer: The Python import mechanism works relative to the __name__ of the current file. When you execute a file directly, it doesn't have its usual name, but has "__main__" as its name instead. So relati...
https://codehunter.cc/a/python/how-to-fix-attempted-relative-import-in-non-package-even-with-init-py
CC-MAIN-2022-21
refinedweb
165
67.76
Longest Common Substring in two strings Reading time: 30 minutes | Coding time: 10 minutes A substring is a contiguous sequence of characters within a string.For example,open is a substring of opengenus. Here,we have presented a dynamic programming approach to find the longest common substring in two strings in an effi...
https://iq.opengenus.org/longest-common-substring/
CC-MAIN-2020-24
refinedweb
1,308
68.3
What is the version number of a DLL? This is the "File Version" you get if you open up a DLL's properties and go to the Version tab. The code here only gets the version shown at the top of that tab (on Win2K, anyway). You can use the slightly more messy language-dependent code in the demos which come with pywin32 to fi...
http://timgolden.me.uk/python/win32_how_do_i/get_dll_version.html
CC-MAIN-2022-05
refinedweb
117
61.16
hi any body please send me struts frame work total examples with coding to my email:crm.iisa@gmail.com this is my mail id please send me Post your Comment Struts Built-In Actions Struts Built-In Actions In this section we will give a quick look to the few of built-in utility actions shipped with Struts APIs. These buil...
http://roseindia.net/discussion/19867-Struts-Built-In-Actions.html
CC-MAIN-2014-15
refinedweb
658
64.51
I tried the package my application which has only two files, one for the GUI (wxPython) and a Library used by the GUI. Below is my setup.py code: from distutils.core import setup import py2exe setup(name="U51 Converter", scripts=['convertapp.pyw']) class Target: def __init__(self, **kw): self.__dict__.update(kw) # for ...
https://www.daniweb.com/programming/software-development/threads/139389/packaging-wxpython-application-with-py2exe-need-help
CC-MAIN-2018-51
refinedweb
108
63.05
See AtomApi, XmlRpcDiscussion Proposal: Recommend we do not base AtomApi on XmlRpc Serious historical confusion about whether string types supported encodings other than just ASCII. This has recently been resolved--it turns out the spec contradicted itself in various parts and it has finally been updated to indicate th...
http://www.intertwingly.net/wiki/pie/XmlRpc
crawl-002
refinedweb
746
56.15
Warning:: - Quick reconstruction: grab the sites listed in the article, in the articles it mentions and any other local news outlets that pointed at “pink slime” or the players listed in the past month. That’s the low-low-hanging fruits. - Twin efforts: do what I would normally do; rebuild from the methods they’ve list...
http://overcognition.com/2020/01/22/data-safari-rough-notes-pink-slime-network/
CC-MAIN-2020-10
refinedweb
5,293
61.97
This blog is essentially an update, or follow-up if you will, to the original blog I wrote for Windows Server 2008 Failover Clustering. With the release of Windows Server 2008 R2 comes the ability to Live Migrate highly available virtual machines between nodes in a Failover Cluster. As if that were not enough to get cu...
https://blogs.technet.microsoft.com/askcore/2009/12/07/using-pass-through-disks-in-conjunction-with-clustered-shared-volumes-csv-in-windows-server-2008-r2-failover-clusters/
CC-MAIN-2019-35
refinedweb
855
58.62
city o f po rt phil l ip m aga zi n e - i s s u e 8 6 D e ce mbe r 2 0 1 6 - F e b rua ry 2 0 1 7 Meet the Councillors acland alive summer events calendar your councillors For general enquiries, please contact ASSIST contact_us.htm Phone 9209 6777 Canal Ward Cr Tim Baxter 0466 495 250 Tim.Baxter@portphillip.vic.gov.au ...
https://issuu.com/edunity/docs/divercity_86_final_d58f674ff66c22
CC-MAIN-2017-30
refinedweb
4,422
53.81
#include <RangePack_Range1D.hpp> List of all members. The class Range1D abstracts a 1-D, 1-based, range of indexes. It is used to index into vectors and matrices and return subregions of them respectively. Constructing using Range1D() yields a range that represents the entire dimension of an object [1, max_ubound] (an ...
http://trilinos.sandia.gov/packages/docs/r7.0/packages/moocho/src/MoochoUtilities/doc/html/classRangePack_1_1Range1D.html
crawl-003
refinedweb
182
65.42
. Please try make symbolic link python with installed python2.7 under /usr/bin directory. # python file linked with python2.6 ip-172-xx-xx-xx:/usr/bin # ls -ltr|grep -i python -rwxr-xr-x 1 root root 6416 Nov 19 2014 python2.6 lrwxrwxrwx 1 root root 9 Dec 14 2015 python2 -> python2.6 lrwxrwxrwx 1 root root 9 Dec 14 2015...
http://community.teradata.com/t5/Teradata-Database-on-AWS/pkg-resources-DistributionNotFound-td-aws-ins-config-1-0-0/td-p/37949
CC-MAIN-2018-30
refinedweb
392
62.44
From Fedora Project Wiki - - [ Bodhi] is almost ready for production, and should be fully deployed and tested by F7. It currentl1 KB (149 words) - 16:26, 24 May 2008 - GNOME 3.3.91 is included in the F17 beta. An update to 3.4.1 is ready to land once the beta freeze is lifted. * Upstream will also look at dropping indi...
https://fedoraproject.org/w/index.php?title=Special:Search&limit=100&offset=100&profile=default&search=Ready
CC-MAIN-2022-40
refinedweb
2,895
78.18
The GDI The GDI (Graphics Device Interface) is an interface for working with graphics. It is used to interact with graphic devices such as monitor, printer or a file. The GDI allows programmers to display data on a screen or printer without having to be concerned about the details of a particular device. The GDI insula...
http://zetcode.com/wxpython/gdi/
CC-MAIN-2018-13
refinedweb
6,748
54.29
C Tutorial Control statement C Loops C Arrays C String C Functions C Structure C Pointer C File C Header Files C Preprocessors C Misc Introduction to variables in C A variables in C as like as other programming language can be compared as a container. It can hold a data inside it. We have to declare a name for the vari...
https://worldtechjournal.com/c-tutorial/5-main-types-of-variables-in-c/
CC-MAIN-2022-40
refinedweb
738
62.38
Join the NASDAQ Community today and get free, instant access to portfolios, stock ratings, real-time alerts, and more! Author and Energy Strategist Editor Elliott Gue looks to larger global energy trends to establish his investment strategies in alternative energy. Two of those trends include nuclear power development ...
http://www.nasdaq.com/article/elliott-gue-selectively-plays-uranium-and-gas-cm39387
CC-MAIN-2013-48
refinedweb
3,254
62.68
Should I just copy paste a SSCCE or do you want a file uploaded? I'm new here... Type: Posts; User: WolfNinja2 Should I just copy paste a SSCCE or do you want a file uploaded? I'm new here... It displays a blank screen. I have a code that isn't working. I have an integer called fade public int fade = 255; and I make fa...
http://www.javaprogrammingforums.com/search.php?s=9dc2592d734a66005ddc01c2d16cf6ca&searchid=2051636
CC-MAIN-2016-07
refinedweb
524
83.76
Code Completion From Nemerle Homepage This page needs to be updated, and it will be when the Code Completion Engine gets a more mature stage. What is all about? The Code Completion project for Nemerle aims to create an easy but powerful platform so development environment and tools could use the same lexer, parser, typ...
http://nemerle.org/Code_Completion
crawl-001
refinedweb
1,712
58.89
In this example, I used React, but making the bundle size smaller is basically the same thing on all frameworks. so I used create-react-app which is a simple tool for starting with react framework without the need to configure webpack yourself. This is the result I’ve got after running npm run build on my project The f...
https://coinerblog.com/lets-make-our-bundle-size-even-smaller-7a5727bb110/
CC-MAIN-2019-43
refinedweb
496
67.38
Using a Map A map is defined as a pair of values: a key, typically a string that serves as an index and a value associated with that key. A dictionary is one example of a map. A program analyzing the occurrence count of words in a text keeps a map with a string key and an integer value representing an occurrence count:...
http://www.informit.com/articles/article.aspx?p=25088&seqNum=8
CC-MAIN-2019-18
refinedweb
439
62.38
pausable_timer A Dart timer that can be paused, resumed and reset. Example using start(), pause() and reset() import 'package:pausable_timer/pausable_timer.dart'; void main() async { print('Create a timer that fires in 1 second, but it is not started yet'); final timer = PausableTimer(Duration(seconds: 1), () => print(...
https://pub.dev/documentation/pausable_timer/latest/
CC-MAIN-2021-25
refinedweb
709
68.36
TimeCafeTimeCafe Timing / performance information for your TestCafe test tasks. TestCafe does a great job but it unfortunately only gives you timing for the entire run and not per task. Task timing is especially important when looking for performance regressions. It might seem if this was as simple as adding a beforeEa...
https://www.npmjs.com/package/timecafe
CC-MAIN-2022-05
refinedweb
780
65.22
jibx date example is a jibx date document that shows the process of designing jibx date format. A well designed jibx date example can help design jibx date example with unified style and layout. jibx date example basics When designing jibx date document, it is important to use style settings and tools. Microsoft Office...
http://www.slipbay.com/jibx-date-format/
CC-MAIN-2017-17
refinedweb
537
52.7
My intentions are to create a game where users can connect to my server. I would like my game to be python2.x/python3.x supported, so i think if that is the case, my only solution is to use sockets. I see a ton of examples using sockets for basic chat back and forth from the client and server. That is all fine and dand...
http://python-forum.org/viewtopic.php?f=17&t=11153&p=15052
CC-MAIN-2017-22
refinedweb
589
62.75
pyIsEmail 1.1.0 Simple, robust email validation [][pypi] [][travis] [][coveralls] [][pypi] [bitdeli]: [coveralls]: [pypi]: [travis]: ## Getting Started pyIsEmail is a no-nonsense approach for checking whether that user-supplied email address could be real. Sick of not being able to use [email address tagging][tagging] ...
https://pypi.python.org/pypi/pyIsEmail/1.1.0
CC-MAIN-2016-26
refinedweb
523
55.74
Staying safe: Keeping your passwords and other secrets secure While developing software fully in public has many benefits, it also means that we need to be extra careful about leaking sensitive information. Because all of our repls are public by default, we shouldn't store passwords, access keys, personal information, ...
https://docs.replit.com/tutorials/storing-secrets-and-history
CC-MAIN-2022-27
refinedweb
1,224
66.37
Using Text Analytics in Cubes This chapter describes how to include text analytics within cubes — analytics that examine text data (called unstructured data in this chapter). Also see the appendix “Generating Secondary Cubes for Use with Text Analytics.” Also see “Accessing the BI Samples.”. Overview of Integration wit...
https://docs.intersystems.com/irisforhealthlatest/csp/docbook/DocBook.UI.Page.cls?KEY=D2MODADV_CH_TXTANLY
CC-MAIN-2021-39
refinedweb
6,031
53.92
#include <string.h> #include <rte_common.h> #include <rte_config 148 of file rte_bitmap.h. Bitmap initialization Definition at line 170 of file rte_bitmap.h. Bitmap clear slab overhead bits. Definition at line 220 of file rte_bitmap.h. Bitmap initialization with all bits set Definition at line 254 of file rte_bitmap.h....
https://doc.dpdk.org/api-20.11/rte__bitmap_8h.html
CC-MAIN-2021-39
refinedweb
143
70.7
C# 8 Null Forgiving Operator Yup, that’s actually a thing! I’ve never personally seen it discussed in any of the talks or presentations that I’ve seen on C# 8, but I ran into a scenario last night where it was useful to have, and managed to track it down on Microsoft’s documentation site, which I’ll link to below. So, ...
https://jamienordmeyer.medium.com/c-8-null-forgiving-operator-a33764f7259?responsesOpen=true&source=---------4----------------------------
CC-MAIN-2021-25
refinedweb
390
51.78
Forgive me if this has been asked and answered. I have searched the forums and could not find an answer. I am a newbie to programming and have been going through the tutorials and am having a issue with my play again loop. Here is my code: The program compiles and runs -- the first time. When it gets to the hilighted p...
https://cboard.cprogramming.com/cplusplus-programming/135854-do-while-loop-not-looping.html?s=bb9c911e83457cdca7d24a5bff2b4230
CC-MAIN-2021-31
refinedweb
379
80.01
. The site module (which is imported automatically during startup, except if the -S command-line option is given) adds several constants to the built-in namespace. They are useful for the interactive interpreter shell and should not be used in programs. Objects that when printed, print a message like “Use quit() or Ctr...
https://docs.python.org/3.2/library/constants.html
CC-MAIN-2018-47
refinedweb
102
60.24
Deleting a palette form a Session TargetengineTrevorׅ Jun 26, 2013 3:09 AM Hi all, Does anyone know how to delete a palette from a sessions memory. I have a palette which after it closes I want that it should remove itself from the session's memory. What would I do to the script below so that it does this. I understand...
https://forums.adobe.com/message/5450852
CC-MAIN-2018-30
refinedweb
1,818
65.83
So, I just sat down and decided to write a memory allocator. I was tired, so I just threw something together. What I ended up with was this: #include <stdio.h> #include <stdlib.h> #define BUFSIZE 1024 char buffer[BUFSIZE]; char *next = buffer; void *alloc(int n){ if(next + n <= buffer + BUFSIZE){ next += n; return (voi...
https://codedump.io/share/0m6dADLpAaKi/1/how-does-this-memory-allocator-work
CC-MAIN-2017-34
refinedweb
293
60.35
CodeGuru Forums > .NET Programming > C-Sharp Programming > Explicitly Deleting PDA Click to See Complete Forum and Search --> : Explicitly Deleting yagiska February 3rd, 2002, 04:21 PM Has anyone found a way within .Net to delete an object from memory explicity? I'm writing an application that needs to delete object A ...
http://forums.codeguru.com/archive/index.php/t-182139.html
crawl-003
refinedweb
768
73.17
If you created a pretty Excel table and now want to publish it online as a web page, the simplest way is to export it to an old good HTML file. However a problem may occur if you just simply transform image in Excel to HTML code with a relative link (URL). This way, your web page may no longer display properly on clien...
https://www.e-iceblue.com/Tutorials/Spire.XLS/Spire.XLS-Program-Guide/Conversion/Embed-image-in-HTML-when-converting-Excel-to-HTML-in-C.html
CC-MAIN-2021-31
refinedweb
265
50.12
Maciej Szefler wrote: > I propose that we do not put too many restrictions on what a new version > of a process looks like. It only needs to enforce the following rules: > 1. A service exposed in version n, must also be exposed in version n+1 > 2. An operation used in version n, must have the same signature in > versio...
http://mail-archives.us.apache.org/mod_mbox/ode-dev/200608.mbox/%3C44DB4119.1050509@intalio.com%3E
CC-MAIN-2020-29
refinedweb
142
62.58
Log message: global: update to 6.6.1. Version 6.6.1 - December 16 2017 [FIXED BUG]: > BUGS > Gozilla can accept not only source files but also text files, > directories, HTML files and even URLs, because it is omnivorous. Version 6.6 - December 12 2017 [CHANGES] New facilities: o gtags: Added support for glob patterns ...
http://pkgsrc.se/devel/global
CC-MAIN-2018-05
refinedweb
970
69.58