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 |
|---|---|---|---|---|---|
harmonizr
bring tomorrow's Harmony to today's JavaScript
Want to see pretty graphs? Log in now!Want to see pretty graphs? Log in now!
npm install harmonizr
Harmonizr
A "transpiler" that brings tomorrow's Harmony to today's JavaScript.
Features:
- Harmony modules to AMD, Node.js, or Revealing Module Pattern
- Maintains ... | https://www.npmjs.org/package/harmonizr | CC-MAIN-2014-15 | refinedweb | 369 | 53.17 |
Can someone please advise what I'm doing wrong with the following method. As an introduction, I've got a class containing currency of various denominations, which need to be added up and a total obtained. The method which I am confused on is supposed to convert each denomination of currency to the lowest value of the c... | http://forums.devshed.com/python-programming/57240-re-method-class-last-post.html | CC-MAIN-2015-27 | refinedweb | 165 | 67.96 |
Microsoft provide an article of the same name (previously published as Q319401) and it shows a nice class 'ListViewColumnSorter ' for sorting a standard ListView when the user clicks the column header.
This is very useful for String values, however for Numeric or DateTime data it gives odd results. E.g. 100 would come ... | http://geekswithblogs.net/bconlon/archive/2011/02/28/how-to-sort-a-listview-control-by-a-column-in.aspx | CC-MAIN-2017-47 | refinedweb | 253 | 50.46 |
.
Urxvt is a clone of rxvt, to which xft fonts and unicode characters support were added. This is an alternative to Xterm, the X default terminal emulator.
Installation
First step to get Urxvt work is to merge it, so let's do it.
# emerge -av rxvt-unicode
Most likely, you will want to enable xft use flag so that you ca... | http://www.funtoo.org/index.php?title=Toolchain_update&oldid=5866 | CC-MAIN-2015-27 | refinedweb | 538 | 65.73 |
Multipage application structure with Sencha CMD
Hello,
Code:.
- Join Date
- Mar 2007
- Location
- Gainesville, FL
- 38,959
- Vote Rating
- 1187
You would need to setup some custom ant tasks. I'd stick with singlepage applications tip, it is not perfect but I have already sticked with one page app. BT
Hey all
I really n... | https://www.sencha.com/forum/showthread.php?283461-Multipage-application-structure-with-Sencha-CMD&p=1036802 | CC-MAIN-2016-18 | refinedweb | 600 | 66.13 |
On Wed, Jun 24, 2009 at 2:22 PM, Reimar D?ffinger <Reimar.Doeffinger at gmx.de>wrote: > On Wed, Jun 24, 2009 at 10:07:47PM +0200, Karl Blomster wrote: > > Frank Barchard wrote: > >> Thank! The types should be possible to deal with. Any suggestions for > a > >> portable 64 bit fseek? > > > > I think > > > > #ifdef _WIN3... | http://ffmpeg.org/pipermail/ffmpeg-devel/2009-June/071741.html | CC-MAIN-2016-36 | refinedweb | 204 | 67.35 |
valgrind false positives on gcc-generated string routines
Bug Description
#include <string.h>
#include <stdio.h>
#include <stdlib.h>
main()
{
char *a = malloc(1);
a[0] = '\0';
printf("%lu\n", (unsigned long)strlen(a));
}
Compile with "gcc -O2" and run valgrind.
==5977== Invalid read of size 4
==5977== at 0x400494: main... | https://bugs.launchpad.net/ubuntu/+source/valgrind/+bug/852760 | CC-MAIN-2015-48 | refinedweb | 2,260 | 62.01 |
min¶
- paddle. min ( x, axis=None, keepdim=False, name=None ) [source]
Computes the minimum of tensor elements over the given axis
- Parameters
x (Tensor) – A tensor, the data type is float32, float64, int32, int64.
axis (int|list|tuple, optional) – The axis along which the minimum is computed. If
None, compute the min... | https://www.paddlepaddle.org.cn/documentation/docs/en/api/paddle/min_en.html | CC-MAIN-2021-25 | refinedweb | 234 | 61.22 |
Introduction: A Talking Color Sensor, Based on the AIY Voice Kit
Having learned a bit about Braille recently, I was wondering if I could build something using the AIY voice kit for the Raspberry Pi, that may have a real-live benefit for the visually impaired. So described in the following you will find an prototype of ... | http://www.instructables.com/id/A-Talking-Color-Sensor-Based-on-the-AIY-Voice-Kit/ | CC-MAIN-2018-17 | refinedweb | 1,881 | 63.19 |
We are given a list of numbers in increasing order, but there is a missing number in the list. We will write a program to find that missing number.
For example, when user enters the 5 numbers in that order: 1, 2, 3, 4, 6 then the missing number is 5.
To understand this program, you should have the basic knowledge of fo... | https://beginnersbook.com/2017/09/cpp-program-to-find-the-missing-number/ | CC-MAIN-2018-05 | refinedweb | 273 | 54.97 |
This document is also available in these non-normative formats: XML, PS, PDF, and TXT.
Copyright © 2002 W3C® (MIT, INRIA, Keio), All Rights Reserved. W3C liability, trademark, document use, and software licensing rules apply.
This document describes the Web Services Description Working Group's requirements for the Web ... | http://www.w3.org/TR/ws-desc-reqs/ | crawl-002 | refinedweb | 5,402 | 52.26 |
Difference or Gap of days between two given dates using C#
In this tutorial, you will be learning how to find the difference or gap between two dates in C#.
The user will enter two dates in the form of DD\MM\YYYY. The total number(gap or difference) of days between two date is an output.
Design:
There are many approach... | https://www.codespeedy.com/difference-or-gap-of-days-between-two-given-dates-using-c-sharp/ | CC-MAIN-2020-40 | refinedweb | 778 | 71.75 |
On Thursday 16 August 2007 8:40 pm, Richard Guenther wrote: <<snip>> > you are still able to access variables that have just run in a program > after the program is done running. For instance, if I run a program that > declares a="assigned in program", I can later print out that variable in > shell mode. Yes, this is t... | https://mail.python.org/pipermail/edu-sig/2007-August/008188.html | CC-MAIN-2014-10 | refinedweb | 699 | 71.44 |
.
#include <iostream.h> void myFunction(); // prototype int x = 5, y = 7; // global variables int main() { cout << "x from main: " << x << "\n"; cout << "y from main: " << y << "\n\n"; myFunction(); cout << "Back from myFunction!\n\n"; cout << "x from main: " << x << "\n"; cout << "y from main: " << y << "\n"; return 0... | http://www.roseindia.net/answers/viewqa/Development-process/22567-C-.html | CC-MAIN-2013-20 | refinedweb | 222 | 56.39 |
I¹ve made a bit of progress here after reading up on Darwin¹s GCC a bit more: ghc --make -no-hs-main -fPIC -optl '-dynamiclib' -optl '-undefined' -optl 'suppress' -optl '-flat_namespace' -o Inv.dylib InverseNormal.hs This dies when it links against haskell¹s own libraries, my guess is because they are position dependan... | http://www.haskell.org/pipermail/haskell-cafe/2009-January/053164.html | CC-MAIN-2014-15 | refinedweb | 230 | 60.14 |
Objectives
- Understand the I2C bus.
- Connect a I2C LCD display.
- Send messages to the display.
Bill of materials
The I2C bus
As the integration capacity to place thousands or millions of transistors on a single chip increased, the number of commercial components available, increased exponentially. Each time it was, ... | http://prometec.org/displays/the-i2c-bus/ | CC-MAIN-2021-49 | refinedweb | 1,335 | 70.23 |
Lock Command
Locks or unlocks a file or folder to deny or restore the right of users to check out an item for edit into a different workspace or to check in pending changes to an item from a different workspace.
Required Permissions
To use the lock command, you must have the Lock permission set to Allow. Having the Unl... | http://msdn.microsoft.com/en-us/library/47b0c7w9(v=vs.100).aspx | CC-MAIN-2013-20 | refinedweb | 642 | 68.1 |
Details
Description
UDF that could be used to check if a String is numeric (or an Integer). Several tools such as Splunk, AbInitio have this UDF built-in and companies making an effort to move to Hadoop/Pig could use this.
Use Case:
In raw logs there are certain filters/conditions applied based on whether a particular ... | https://issues.apache.org/jira/browse/PIG-2443?focusedCommentId=13174343&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel | CC-MAIN-2015-32 | refinedweb | 1,151 | 74.79 |
import "github.com/thinkoner/thinkgo/router"
metch.go middleware.go parameter.go pipeline.go resource_controller.go route.go router.go rule.go static.go utils.go
Method Convert multiple method strings to an slice
NewStaticHandle A Handler responds to a Static HTTP request.
PrepareResponse Create a response instance fro... | https://godoc.org/github.com/thinkoner/thinkgo/router | CC-MAIN-2019-47 | refinedweb | 369 | 60.21 |
If you have recently downloaded the new Async CTP you will notice that WCF uses Async Pattern and Event based Async Pattern in order to expose asynchronous operations.
In order to make your service compatible with the new Async/Await Pattern try using an extension method similar to the following:
The previous code snip... | http://weblogs.asp.net/mjarguello/archive/2011/03/13/async-ctp-c-5-how-to-make-wcf-work-with-async-ctp.aspx | crawl-003 | refinedweb | 135 | 53.14 |
Convert DegMinSec to Decimal Degrees
Hello,
I once again found a little time to toy with C Programming.
I have applied the helpful advice from this message board since my last post.
I used the utility on
to check my output.
I was pleased that my program output matched that of the utility except on
my final test input o... | http://cboard.cprogramming.com/c-programming/96043-convert-degminsec-decimal-degrees-printable-thread.html | CC-MAIN-2016-18 | refinedweb | 209 | 66.84 |
02 March 2012 02:54 [Source: ICIS news]
Correction: In the ICIS news story headlined “Saudi’s APC plans three-week turnaround at PP units in Apr/May” dated 2 March 2012, please read in the first paragraph … Saudi Arabia’s Advanced Petrochemical Company (APC) plans to … instead of … Advanced Polypropylene Company plans ... | http://www.icis.com/Articles/2012/03/02/9537578/corrected-saudis-apc-plans-turnaround-at-pp-units-in-aprmay.html | CC-MAIN-2015-14 | refinedweb | 142 | 57.4 |
23 May 2007
By clicking Submit, you accept the Adobe Terms of Use.
Because ActionScript 3.0 is so new, any experience you have with Flex 2 will be helpful, but a good grounding in ActionScript 2.0 should be sufficient to understand the structures.
Advanced.
One design pattern in particular, the state design pattern (or... | http://www.adobe.com/devnet/adobe-media-server/articles/video_state_machine_as3.html | CC-MAIN-2014-35 | refinedweb | 3,353 | 50.43 |
Description
A motor that enforces the angular speed w(t) between two ChShaft shafts, using a rheonomic constraint. (ex very good and reactive controllers). By default it is initialized with constant angular speed: df/dt= 1 rad/s, use SetSpeedFunction() to change to other speed functions.
#include <ChShaftsMotorSpeed.h>... | http://api.projectchrono.org/classchrono_1_1_ch_shafts_motor_speed.html | CC-MAIN-2019-51 | refinedweb | 344 | 59.3 |
Introduction
Sometimes managing forms in react can be a drag, And if you decide to use libraries like redux-form they carry significant performance overhead which you might not be able to afford in the application you are building. Formik is here to your rescue, it is a small library with bundle size of 12 kB compared ... | https://dev.to/finallynero/react-form-using-formik-material-ui-and-yup-2e8h | CC-MAIN-2022-40 | refinedweb | 3,369 | 65.32 |
Overview
- Title
- describe the lifecycle of an item
- Duration
- 144
- Difficulty
- Medium
- Types
- Documentation
- sphinx,rst
- Mentors
- thomaswaldmann,rb_proj,waldi,esyr,pkumar_7
- Count
- 0
Too early. Rename and delete will likely get changes when namespaces branch is ready to get merged. Screenshots could be inv... | http://www.moinmo.in/EasyToDo/lifecycle%20of%20an%20item | crawl-003 | refinedweb | 159 | 58.69 |
How to Create a MakeCode Package for Micro:Bit
Introduction
Microsoft MakeCode is a block based coding language designed to introduce people to coding. MakeCode is nice because it allows the basic structures and thought processes used in algorithm design to take place without having to worry about syntax or data type. ... | https://learn.sparkfun.com/tutorials/how-to-create-a-makecode-package-for-microbit | CC-MAIN-2021-21 | refinedweb | 1,509 | 71.34 |
Brad, We have our version of snprintf, just in case the installed standard library doesn't support it. This function called opal_snprintf will be aliased to snprintf (./opal/include/opal_config_bottom.h:410). As you are supposed to always include opal_config.h as first header in your files, using snprintf will always b... | https://www.open-mpi.org/community/lists/devel/att-4820/attachment | CC-MAIN-2016-30 | refinedweb | 343 | 59.9 |
Hi all,
New to Android and IOS device apps and Xamarin, but years of experience with C# and Windows Phone/desktop apps, but this has stumped me.
I have an application (Android to start with, then the IOS and Win versions later) that will be used for safety testing equipment in the field.
An XML gets downloaded to the t... | https://forums.xamarin.com/discussion/65356/load-xml-to-sqlite-database-some-ideas-help | CC-MAIN-2019-22 | refinedweb | 2,215 | 69.31 |
If you go back and re-read PEP 359, a lot of the motivating examples -- creating namespaces, setting GUI properties, templating HTML -- are still compelling. If you add in the examples of ORM tables and interactive fiction processors, I think what unites all the examples is that the make statement is a way of creating ... | https://mail.python.org/pipermail/python-ideas/2011-March/009328.html | CC-MAIN-2016-30 | refinedweb | 394 | 61.67 |
The classes which are defined within another classes are known as Nested Classes. These are also known as Inner Class. The Class in which inner class resides are known as Outer Class. Inner Class has access to the private member of the outer class. But the Outer Class doesn't have access to the member of the inner clas... | http://roseindia.net/javatutorials/outer_class.shtml | CC-MAIN-2016-30 | refinedweb | 189 | 56.45 |
Source code for sympy.core.sympify
"""sympify -- convert objects SymPy internal format""" from __future__ import print_function, division from inspect import getmro from .core import all_classes as sympy_classes from .compatibility import iterable, string_types, range from .evaluate import global_evaluate class Sympify... | http://docs.sympy.org/dev/_modules/sympy/core/sympify.html | CC-MAIN-2017-26 | refinedweb | 744 | 50.84 |
Lightning Components framework provides a great way to easily decompose applications into components. But building applications also depend on tons of other OSS libraries like JQuery, Twitter Bootstrap, Moment.js and more to implement various features.
While loading 3rd party libraries is trivial, loading them into a t... | https://developer.salesforce.com/blogs/2015/05/loading-external-js-css-libraries-lightning-components | CC-MAIN-2021-39 | refinedweb | 754 | 54.73 |
Scripting Hyper-V with WMI and PowerShell
Part 1 – Introduction + Querying State
Introduction
When it comes to scripting Hyper-V there are really 2 methods:
1. Using the virtualization WMI provider that ships with Hyper-V.
2. Using the cmdlets provided by System Centre Virtual Machine Manager 2008
So which option shoul... | http://blogs.technet.com/benp/archive/2008/08/11/scripting-hyper-v-with-wmi-and-powershell-part-1-introduction-querying-state.aspx | crawl-002 | refinedweb | 1,091 | 61.56 |
Learn about Java variables, types of variables in Java, example of how to declare variables and best practices for variables naming convention.
The Java programming language uses both “fields” and “variables” as part of its terminology. Fields refer to variables declared outside methods, and variables are referred to d... | https://howtodoinjava.com/java/basics/java-variables/ | CC-MAIN-2020-10 | refinedweb | 917 | 58.58 |
Introduction: Calculator Coded With Python
After learning a bit about the programming language Python, I though that it would be neat to try and replicate some of the math that they Python shell does with a GUI. While I clearly did not match the shell's performance my calculator adds a few helpful shortcuts such as the... | http://www.instructables.com/id/Calculator-Coded-with-Python/ | CC-MAIN-2018-26 | refinedweb | 206 | 79.8 |
Read from dbf's if codepage is unsupported by modules dbf and codecs (895 cz Kamenicky, ..).
Project description
Make possible to read from dbf’s with codepage unsupported by modules dbf and codecs (895 cz Kamenicky, ..)
import dbf from dbf_read_iffy import fix_init, fix_895 fix_init(dbf) t = dbf.Table('autori.dbf') t.... | https://pypi.org/project/dbf_read_iffy/ | CC-MAIN-2018-39 | refinedweb | 137 | 68.77 |
I wanted to find out the overhead of getting the stack trace and finding a specific method in the array of stack frames. The profiled code looked like this:
private static MethodBase GetCallerMethod(string caller)
{
StackTrace st = new StackTrace(2);
return (from f in st.GetFrames() let m = f.GetMethod() where m.Name =... | https://blogs.msdn.microsoft.com/irenak/2014/09/27/sysk-394-cost-of-getting-stacktrace-and-finding-a-stackframe/ | CC-MAIN-2017-30 | refinedweb | 202 | 58.92 |
android
/
platform
/
system
/
core
/
master
/
.
/
init
/
readme.txt
blob: bf440c2b78a090c5d0caf81c867547f28f06e71f [
file
] [
log
] [
blame
]
Android Init Language
---------------------
The Android Init Language consists of five broad classes of statements,
which are.
Actions and Services implicitly declare a new secti... | https://android.googlesource.com/platform/system/core/+/master/init/readme.txt | CC-MAIN-2015-40 | refinedweb | 1,199 | 57.77 |
Misleading branch coverage of empty methods
Branch coverage of an abc.abstractmethod with just a doc string in the method, shows the decorator line as uncovered branch that never reaches "exit".
import abc class AExample(object): @abc.abstractmethod # exit def method(self): """doc """ class Example(AExample): def metho... | https://bitbucket.org/ned/coveragepy/issues/129/misleading-branch-coverage-of-empty | CC-MAIN-2018-26 | refinedweb | 224 | 65.22 |
Opened 2 years ago
Last modified 1 year ago
Newforms-admin apply autoescape to a function output even when this function has the "allow_tags" attribute defined. There must be a way to output escape aware content from functions to the admin interface in order to output html content.
You can probably achieve outputting h... | http://code.djangoproject.com/ticket/6226 | crawl-002 | refinedweb | 274 | 62.04 |
Introduction
Working with variables in data analysis always drives the question: How are the variables dependent, linked, and varying against each other? Covariance and Correlation measures aid in establishing this.
Covariance brings about the variation across variables. We use covariance to measure how much two variab... | https://stackabuse.com/covariance-and-correlation-in-python/ | CC-MAIN-2021-21 | refinedweb | 1,127 | 52.8 |
10 September 2012 04:22 [Source: ICIS news]
?xml:namespace>
Honam bought two cargoes for delivery to Daesan at a premium of $18.50/tonne (€14.43/tonne) to
Honam previously purchased two cargoes totalling 50,000 tonnes for delivery in the second half of October. The naphtha cargoes fetched a premium of around $11/tonne ... | http://www.icis.com/Articles/2012/09/10/9593948/s.koreas-honam-buys-75000-tonnes-naphtha-for-second-half-oct.html | CC-MAIN-2014-49 | refinedweb | 168 | 54.02 |
#include <rte_swx_table.h>
Table entry.
Definition at line 67 of file rte_swx_table.h.
Used to facilitate the membership of this table entry to a linked list.
Key value for the current entry. Array of key_size bytes or NULL if the key_size for the current table is 0.
Definition at line 76 of file rte_swx_table.h.
Key m... | http://doc.dpdk.org/api-21.08/structrte__swx__table__entry.html | CC-MAIN-2021-49 | refinedweb | 298 | 67.76 |
#include <FXGLCanvas.h>
#include <FXGLCanvas.h>
Inheritance diagram for FX::FXGLCanvas:
NULL
0
Construct an OpenGL-capable canvas, with its own private display list.
Construct an OpenGL-capable canvas, sharing display list with another GL canvas.
This canvas becomes a member of a display list share group. All members o... | http://fox-toolkit.org/ref14/classFX_1_1FXGLCanvas.html | CC-MAIN-2021-17 | refinedweb | 150 | 64.07 |
Scout/Concepts/CodeType
A CodeType is a structure to represent a tree key-code association. They are used in SmartField and SmartColumn.
Contents
Description
CodeType are used in SmartField to let the user choose between a finish list of values. The value stored by the field correspond to the key of the selected code.
... | http://wiki.eclipse.org/index.php?title=Scout/Concepts/CodeType&direction=prev&oldid=276089 | CC-MAIN-2017-47 | refinedweb | 495 | 57.67 |
Optimization: Shift dropped list heads by coeffecient to prevent thunk generation
Consider the following snippet(s) equivalent to ([a..b] !! n), the source of (!!) and the source of drop:
normal_list :: Int -> Int normal_list n = head $ drop n [a..b] shifted_list :: Int -> Int shifted_list n = head $ drop (n-n) [(a+n).... | https://gitlab.haskell.org/ghc/ghc/-/issues/7977 | CC-MAIN-2020-29 | refinedweb | 446 | 80.28 |
In this tutorial we are going to learn about Python File Operations such as python read file, python write file, open file, delete file and copy file. Our previous tutorial was on Python Dictionary. You can find that in this link.
Table of Contents
Python File
In the previous tutorial we used console to take input. Now... | https://www.journaldev.com/14408/python-read-file-open-write-delete-copy | CC-MAIN-2019-39 | refinedweb | 1,010 | 75 |
Java code for the Geode project was originally developed using conventions based on The Elements of Java Style, by A. Vermeulen, S. Ambler, et. al.
As an open-source project we are following the Google Java Style guide, emphasizing a few of the more important points in this page.
General Principles
When modifying exist... | https://cwiki.apache.org/confluence/display/GEODE/Code+Style+Guide | CC-MAIN-2018-51 | refinedweb | 365 | 56.35 |
A little while ago a Star Wars-themed Flash game made the blog and email rounds, letting players try to stump Darth Vader. It was even discussed here on CodeProject.
The premise of the game is that Darth asks you to think of something, and attempts to guess what you were thinking of by asking questions to which you ans... | http://www.codeproject.com/Articles/11092/Borg-Knowledge-Assimilator?msg=2875038 | CC-MAIN-2015-11 | refinedweb | 3,133 | 62.27 |
.
public bool CreateDirectory(string remoteDir, string MachineName, string UserName, string Password)
{
string TempName = remoteDir;
int Index = TempName.IndexOf(":");
string DriveLetter = "C";
if (Index != -1)
{
string[] arr = TempName.Split(new char[] { ':' });
DriveLetter = arr[0];
TempName = TempName.Substring(Inde... | https://www.experts-exchange.com/questions/20954541/URG-Creating-a-folder-on-a-remote-machine-WMI-ADSI-FSO-etc.html | CC-MAIN-2018-09 | refinedweb | 1,499 | 50.53 |
Elixir is a fast, dynamic and scalable language which is fast becoming adopted by the startup crowd and established businesses alike for production applications.
Pinterest, Brightcove, Discord, and Canvas, to name a few, all run on Elixir, which in turn leverages the low-latency, fault-tolerant Erlang VM, meaning compl... | https://code.tutsplus.com/tutorials/introduction-to-erlang-and-elixir--cms-27509 | CC-MAIN-2021-17 | refinedweb | 541 | 61.26 |
A.
Deep Learning DevCon 2021 | 23-24th Sep | Register>>.
Implementation of Tkinter Python GUI Toolkit
As Tkinter comes pre-installed with standard python installation so we will not be installing it although if you don’t have it installed you can install it using pip install tkinter.
- Importing required libraries
We w... | https://analyticsindiamag.com/complete-guide-to-develop-an-interface-using-tkinter-python-gui-toolkit/ | CC-MAIN-2021-39 | refinedweb | 572 | 62.24 |
Hi all
I'm currently looking at different structs that can represent an IP header. Now I found the following two things:
As one can see, the first version uses bitfields to access the IP-version and IP header length. It also seems to care about Big/Little Endian.As one can see, the first version uses bitfields to acces... | http://cboard.cprogramming.com/c-programming/95463-bitfields-bit-little-endian.html | CC-MAIN-2015-32 | refinedweb | 217 | 72.05 |
This action might not be possible to undo. Are you sure you want to continue?
Fundamentals of C Programming
CS 102 - Introduction to Programming
Department of Computer Science and Engineering Faculty of Engineering University of Moratuwa Sri Lanka
By: Dilum Bandara, Dr. Sanath Jayasena, Samantha Senaratna
© Department ... | https://www.scribd.com/doc/61204427/Handbook-Fundamentals-of-C-Programming | CC-MAIN-2017-26 | refinedweb | 25,816 | 68.36 |
SWTBot/FAQ
- 14 Can I test a custom swt control with swtbot?
- 15 Can I run SWTBot tests using Hudson/CruiseControl/Whatever?
- 16 Can I get more details on a particular widget?
Can SWTBot be used to test RCP Applications?
Yes SWTBot can be used to test any kind of SWT apps -- SWT, Eclipse plugins and RCP applications.... | http://wiki.eclipse.org/index.php?title=SWTBot/FAQ&oldid=230376 | CC-MAIN-2015-22 | refinedweb | 576 | 52.76 |
- 18 Nov, 2020 1 commit
- 21 Sep, 2020 1 commit
- 16 Sep, 2020 1 commit
- 15 Sep, 2020 1 commit
gcc-9 gcc-10, clang-10 packages with C++20 shared/no shared are now generated and uploaded.
- 06 Aug, 2020 1 commit
Calls to ``::ranges::views::filter(rng, func)`` were ambiguous with the overload ``::ranges::views::filter(P... | https://gitlab.lrde.epita.fr/olena/pylene/-/commits/master | CC-MAIN-2021-04 | refinedweb | 230 | 64.81 |
>> I scroll a web page using selenium webdriver in python?
The Complete Selenium WebDriver with Java Course
192 Lectures 20 hours
Mastering XPath and CSS Selector for Selenium
47 Lectures 3 hours
Sometimes we need to perform action on an element which is not present in the viewable area of the page. We need to scroll d... | https://www.tutorialspoint.com/how-can-i-scroll-a-web-page-using-selenium-webdriver-in-python | CC-MAIN-2022-40 | refinedweb | 443 | 50.73 |
English | Arabic Bengali Brazilian Portuguese German Greek Italian Korean Persian Polish Russian Spanish Thai Turkish Vietnamese | Add Translation
Learn how to design large-scale systems.
Prep for the system design interview. scale.
This is a continually updated, open source project.
Contributions are welcome!
In addit... | https://recordnotfound.com/system-design-primer-donnemartin-148848 | CC-MAIN-2020-40 | refinedweb | 1,981 | 56.86 |
Before we begin writing our tests, we'll need to add Babel to our application. Babel is a tool that is most commonly used for transforming newer versions of JavaScript into older versions of JavaScript that are compatible with browsers such as Chrome, Safari and Internet Explorer. Babel is essential because there are m... | https://www.learnhowtoprogram.com/intermediate-javascript/test-driven-development-and-environments-with-javascript/setting-up-babel | CC-MAIN-2021-17 | refinedweb | 465 | 61.46 |
The.Enterprise metadata management (EMM) is a set of features introduced in Microsoft SharePoint Server 2010 that enable taxonomists, librarians, and administrators to create and manage terms and sets of terms across the enterprise. A new Managed Metadata Service provides consistent metadata and shared taxonomies acros... | http://www.c-sharpcorner.com/UploadFile/Roji.Joy/configure-managed-meta-data-service-application-in-sharepoin/ | CC-MAIN-2017-51 | refinedweb | 910 | 55.95 |
Rewriting a C program using functions and top-down design
Program Functions
Design and code an ANSI Standard C program which enhances the code below only so as to make it a modular program. (each of the program four tasks of ask, get, alter and display are now separate functions).
This will necessitate designing approp... | https://brainmass.com/computer-science/c/rewriting-a-c-program-using-functions-and-top-down-design-202242 | CC-MAIN-2017-39 | refinedweb | 297 | 55.64 |
The
verdi commands¶
For some the most common operations on the AiiDA software, you can work directly
on the command line using the set of
verdi commands.
You already used the
verdi install when installing the software.
There are quite some more functionalities attached to this command, here’s a
list:
- calculation: que... | https://aiida.readthedocs.io/projects/aiida-core/en/v0.4.1/verdi/verdi_user_guide.html | CC-MAIN-2020-50 | refinedweb | 1,170 | 51.28 |
Team Services (VSTS) is a cloud based service which provides features like Work Item Tracking, Source and Version Control (with Team Foundation Version Control as well as Git), Build and Release Management and Test Management. It is a fast and easy way for software and project creation, as a team.
It is a common perce... | https://www.dotnetcurry.com/visualstudio/1403/continuous-testing-java-using-vsts-selenium | CC-MAIN-2022-27 | refinedweb | 1,598 | 66.84 |
... which is why I think I need to write a few lines about it in the context of .NET.
This short article will not talk about the known format for 32-bit floating point numbers stored and used according to the IEEE-754 specification, but about the magic of .NET to let such numbers look as expected (without errors).
Let'... | https://florian-rappl.de/Articles/Page/201 | CC-MAIN-2021-43 | refinedweb | 692 | 76.82 |
Bokeh is a Python package that helps in data visualization. It is an open source project. Bokeh renders its plot using HTML and JavaScript. This indicates that it is useful while working with web-based dashboards. It helps in communicating the quantitative insights to the audience effectively.
The ‘figure’ function con... | https://www.tutorialspoint.com/how-can-bokeh-be-used-to-visualize-different-shapes-of-data-points-in-python | CC-MAIN-2021-49 | refinedweb | 192 | 69.28 |
I suffered to get this to work, you shouldn't have to. There is a patch belowthat you need to apply, I'll ship it to Linus too.[Wed May 1 00:11:41 PDT 1996 - lm@sgi.com - version 0.9]This is a mini HOWTO on setting up your system to have a serial "console".It's mostly aimed at kernel hackers who are used to Silicon Val... | https://lkml.org/lkml/1996/5/2/22 | CC-MAIN-2021-39 | refinedweb | 1,007 | 60.55 |
import java.util.*; public class Payroll { // main method begins execution of Java application public static void main( String args[] ) { // create Scanner to obtain input from command window Scanner input = new Scanner( System.in ); String name = ""; // employee's name int number1; // hourly rate int number2; // numbe... | https://www.experts-exchange.com/questions/23114570/Need-help-modifying-a-code.html | CC-MAIN-2018-34 | refinedweb | 403 | 56.15 |
Excel.
Excel add-ins run across multiple versions of Office, including Office 2016 for Windows, Office for iPad, Office for Mac, and Office Online. The following table lists the Excel requirement sets, the Office host applications that support that requirement set, and the build versions or number for those application... | https://dev.office.com/reference/add-ins/requirement-sets/excel-api-requirement-sets | CC-MAIN-2017-34 | refinedweb | 904 | 50.53 |
Scala - Files I/O
Scala is open to utilize any Java objects and java.io.File is one of the articles which can be utilized in Scala programming to read and write files.
import java.io._ object Demo { def main(args: Array[String]) { val writer = new PrintWriter(new File("test.txt" )) writer.write("Hello Scala") writer.cl... | https://www.welookups.com/scala/scala_file_io.htm | CC-MAIN-2020-29 | refinedweb | 205 | 77.94 |
Override get method of HashMap works in Java for full story, equals method is also used to avoid duplicates on HashSet and other Set implementation and every other place where you need to compare Objects. Default implementation of equals() class provided by java.lang.Object compares memory location and only return true... | http://javarevisited.blogspot.com/2011/02/how-to-write-equals-method-in-java.html?showComment=1343387653384 | CC-MAIN-2015-40 | refinedweb | 4,224 | 61.97 |
What's TOTP and How to generate It to Login into Zerodha Kite API using Python?
6 min read
Zerodha recently announced a significant change in its login flow via APIs where they made it mandatory to login via 2FA to place any orders via the KiteConnect APIs. This change is applicable from 3rd October 2021.
While this wa... | https://tradewithpython.com/totp-login-zerodha-kiteconnect | CC-MAIN-2022-21 | refinedweb | 1,418 | 55.64 |
Backwards compatablility
If you remove those methods you will break backwards compatablility.
Also.. the conversion from the old style speed control and the velocity control is not linear!
So.. I don't like this idea. Please do not do this. It is not correct. Please review the existing mapping function in the Java cod... | http://myrobotlab.org/content/deprecated-speed-settings | CC-MAIN-2021-10 | refinedweb | 1,476 | 62.88 |
Suppose, you are given an encoded string. A string is encoded in some kind of pattern, your task is to decode the string.
Let us say, < no of times string occurs > [string ]
Example
Input
3[b]2[bc]
Output
bbbcaca
Explanation
Here “b” occurs 3times and “ca” occur 2 times.
Input
2[b2[d]]
Output
bddbdd
Explanation
Here it... | https://www.tutorialcup.com/interview/stack/decode-string.htm | CC-MAIN-2021-25 | refinedweb | 1,058 | 65.22 |
ULIMIT(3P) POSIX Programmer's Manual ULIMIT(3P)
This manual page is part of the POSIX Programmer's Manual. The Linux implementation of this interface may differ (consult the corresponding Linux manual page for details of Linux behavior), or the interface may not be implemented on Linux.
ulimit — get and set process lim... | http://man7.org/linux/man-pages/man3/ulimit.3p.html | CC-MAIN-2017-51 | refinedweb | 224 | 58.89 |
When Python runs a script and an uncatched exception is raised, a traceback is printed and the script is terminated. Python2.1 has introduced sys.excepthook, which can be used to override the handling of uncaught exceptions. This allows to automatically start the debugger on an unexpected exception, even if python is n... | http://code.activestate.com/recipes/65287/ | crawl-002 | refinedweb | 363 | 61.12 |
I ran into what I think is a bug in storeAtts. While
looping over appAtts there's a small optimization to
bail out early when nPrefixes is 0. The code then loops
over the remaining attributes and does |((XML_Char
*)(appAtts[i]))[-1] = 0;|. The problem is that because
of the early bail out i didn't get incremented, and
... | http://sourceforge.net/p/expat/bugs/381/ | CC-MAIN-2015-06 | refinedweb | 208 | 71.24 |
[
]
Doug Cutting commented on AVRO-656:
-----------------------------------
> this patch would be a major backwards-incompatible change to the spec. In our code, we
we're using the ["null", "fixed4", "fixed16"] case all the time to represent IPv4 or IPv6
addresses
That would nix the patch, then, since we don't want to ... | http://mail-archives.apache.org/mod_mbox/avro-dev/201101.mbox/%3C25916864.164371294248287010.JavaMail.jira@thor%3E | CC-MAIN-2017-51 | refinedweb | 340 | 57.91 |
August 3, 2007
By Peter W. Schramm
On October 23, 2006--the 50th anniversary of the beginning of the
Hungarian Revolution--an article by the Hungarian
émigré Peter Nadas appeared in The Wall Street
Journal. Mr. Nadas was a young participant in the revolution,
so his article said many interesting and insightful things, ... | http://www.heritage.org/Research/Reports/2007/08/Born-American-Reflections-of-an-Immigrant-Patriot | CC-MAIN-2015-11 | refinedweb | 6,246 | 69.82 |
A gotostatement, you give it a labeled position to jump to. This predefined position must be within the same function. You cannot implement gotos between functions. Here is an example of a goto statement:
void bad_programmers_function(void)
{
int x;
printf(“Excuse me while I count to 5000...\n”);
x = 1;
while (1)
{
pri... | https://ecomputernotes.com/what-is-c/function-a-pointer/what-is-the-difference-between-goto-and-longjmp-and-setjmp | CC-MAIN-2020-29 | refinedweb | 738 | 72.16 |
The QListWidget class provides an item-based list widget. More...
#include <QListWidget>
Inherits QListView.
The QListWidget class provides an item-based list widget.
Q:
QListWidget *listWidget = new QListWidget(this);(tr("Oak"), listWidget); new QListWidgetItem(tr("Fir"), listWidget); new QListWidgetItem(tr("Pine"), l... | http://doc.trolltech.com/4.5-snapshot/qlistwidget.html | crawl-003 | refinedweb | 248 | 53.47 |
Overview
Atlassian SourceTree is a free Git and Mercurial client for Windows.
Atlassian SourceTree is a free Git and Mercurial client for Mac.
Overview
This is a Python package for developing applications that can run code in the cloud using the API of sourceLair.
Reading the Docs
Don't forget to read the docs before u... | https://bitbucket.org/skuda/sourcelair-python-sdk | CC-MAIN-2017-09 | refinedweb | 158 | 76.42 |
Understanding the Business Object Model (or BOM as it is affectionately known) is one of the keys to using JRules effectively. In this entry I hope to lay some groundwork for subsequent more in-depth entries on the Vocabulary, Executable Object Models and B2X mapping.
The BOM defines the "entities", "classes", "types",... | https://www.ibm.com/developerworks/community/blogs/brms/date/200807?sortby=2&maxresults=10&lang=en | CC-MAIN-2019-43 | refinedweb | 2,077 | 63.8 |
Are you sure?
This action might not be possible to undo. Are you sure you want to continue?. It is available to classes that are within the same assembly and derived from the specified base class.
4. Describe the accessibility modifier “protected internal”.. System.Text.StringBuilder classes? System.String is immutable... | https://www.scribd.com/doc/57294029/510555-C-Interview-Questions | CC-MAIN-2018-22 | refinedweb | 4,340 | 62.24 |
Different ways to delete elements from Stack container in C++ STL
Get FREE domain for 1st year and build your brand new site
A Stack is a container in C++ STL that is based on the concept of Last In First Out (LIFO) context,i.e.the element which has been inserted recently will be on the top of stack and will be the fir... | https://iq.opengenus.org/delete-element-from-stack-cpp/ | CC-MAIN-2021-43 | refinedweb | 588 | 61.36 |
See also: IRC log
<PaulVincent> scribenick PaulVincent
<PaulVincent> Christian: will decide today on breakout topics eg implementation...
<PaulVincent> Chris: session on Extensibility
<PaulVincent> scribenick: PaulVincent
Reviewing Sandro's Extensibility_Design_Choices doc (all definitions
quoted in the minutes below a... | https://www.w3.org/2005/rules/wg/wiki/F2F8/RIFMinutes5Nov07.html | CC-MAIN-2017-04 | refinedweb | 7,906 | 55.64 |
Opened 2 years ago
Last modified 1 year ago
Using mysql5.0 and python2.4, the maxlength of a CharField is three times as big as the varchar column's definition says in the table.
Huh. Confirmed on Python 2.4, Mysql 5.0.45, @6851
Models.py says this:
from django.db import models
# Create your models here.
class Fudge(mo... | http://code.djangoproject.com/ticket/5725 | crawl-002 | refinedweb | 141 | 72.12 |
It is possible to have the "optimize usings" feature of code cleanups just remove unused using statements? It seems to also shorten existing using statements, which I don't want.
Thanks!
It is possible to have the "optimize usings" feature of code cleanups just remove unused using statements? It seems to also shorten e... | https://resharper-support.jetbrains.com/hc/en-us/community/posts/206678335-Configuring-optimize-usings- | CC-MAIN-2020-24 | refinedweb | 274 | 54.73 |
Team B - OOP344 201: Benson Wong
- Task: Create prototypes and empty definitions for all classes
- To be completed by:
- Status: Complete
- CButton
- Member: Arlene Lee
- Task: Code cbutton.h and cbutton.cpp
- To be completed by:
- Status: In Progress
- CValEdit
- Member:
- Task: Code cvaledit.h and cvaledit.cpp
- To b... | https://wiki.cdot.senecacollege.ca/w/index.php?title=Team_B_-_OOP344_20133&oldid=102127 | CC-MAIN-2020-34 | refinedweb | 192 | 58.92 |
The Builder Pattern is a creational Gang of Four (GoF) design pattern, defined in their seminal book Design Patterns: Elements of Reusable Object-Oriented Software, in which they presented a catalogue of simple and succinct solutions to commonly occurring design problems.
The pattern is useful for encapsulating and abs... | https://dev.to/gary_woodfine/the-builder-pattern-net-core-49gj | CC-MAIN-2021-10 | refinedweb | 2,180 | 53 |
See also: IRC log
ChrisWilson: The goal this morning is to go through the spec with an eye towards building a test suite
MikeSmith: We talked about when
the TAG was here, having a rational discussion about what parts
of the spec can be split out
... Assess work effort for possible sections
Hixie: I can take a action it... | http://www.w3.org/2008/10/24-html-wg-minutes.html | CC-MAIN-2016-26 | refinedweb | 7,681 | 58.01 |
Databases are an integral part of many C# applications. They are used to store data that can be used in any desktop or web based program. For example the database may contain:
Customer details such as name, email and postal address
Product details such as price, postage and quantity in stock
Order details such as custo... | https://www.techora.net/tips-connect-mysql-database-c.html | CC-MAIN-2018-34 | refinedweb | 605 | 61.87 |
This is your resource to discuss support topics with your peers, and learn from each other.
10-03-2012 12:32 PM
hi, is it possible to use the holo theme in a android app?
if yes how?
or is it even possible to use a navite looking theme in a android app, so that the user think that this is the navite ui?
Solved! Go to S... | https://supportforums.blackberry.com/t5/Android-Development/using-holo-theme-in-android-app/m-p/1932419/highlight/true | CC-MAIN-2017-04 | refinedweb | 286 | 65.73 |
Today days back I provided a list of online tools to reduce image size. But when you have hundreds of images, it’s better to invest some time and write a program that does this work for you. So let’s see how we can resize an image in java.
Table of Contents.
Java Image Resize Program
package com.journaldev.util; import... | https://www.journaldev.com/615/java-resize-image | CC-MAIN-2021-17 | refinedweb | 812 | 50.63 |
Java Task on Algorithms
- 9th Jun, 2022
- 15:41 PM
1.a.
Scope of the variable is the part of the program in which it can be accessed. In Java, variables
can have Class level, Method level and Block level scope. In class level, its variables should be declared
inside class and not inside any function of the class, so th... | https://www.theprogrammingassignmenthelp.com/blog-details/java-task-on-algorithms | CC-MAIN-2022-33 | refinedweb | 250 | 62.58 |
Finite automata or finite state machine can be thought of as a severely restricted model of a computer.
Finite state machine that are acceptable only input alphabet‘0’ and ‘1’.
- Determine the initial state.
- The transition occurs on every input alphabet.
- Determine whether the self-loop should apply or not.
- Mark’s... | https://quizforexam.com/number-of-1s-is-a-multiple-of-3-on-01-using-dfa/ | CC-MAIN-2021-21 | refinedweb | 323 | 52.87 |
It’s on v1
Hmm… I am not sure how a Siamese network would work in @sbrunk’s example of TD+NLP data? I thought Siamese network uses the same layers/models for the two input, but the TD and NLP data should need different layers/models/archi’s to process? Curious to hear more about what you think is possible to do though,... | https://forums.fast.ai/t/lesson-8-official-topic/70494/230 | CC-MAIN-2022-27 | refinedweb | 1,070 | 63.39 |
VARIANT
Truth be told, I think the VARIANT concept is actually pretty cool. Wrap your data up in a nice little package with a type descriptor or two, throw it
across a function call boundary and let the other side figure it out. If done right it can solve a lot of otherwise nasty problems. I just wish they were easier ... | https://www.codeproject.com/articles/6462/a-simple-class-to-encapsulate-variants/?fid=35985&df=90&mpp=10&sort=position&tid=1128257 | CC-MAIN-2017-09 | refinedweb | 2,066 | 62.88 |
Use PowerShell and WMI or CIM to View and to Set Power Plans
Summary: Microsoft Scripting Guy, Ed Wilson, shows how to use Windows PowerShell and WMI or CIM cmdlets to view and to set power plans on his laptop.
Microsoft Scripting Guy, Ed Wilson, is here.
Tomorrow, the Scripting Wife and I are at the Microsoft Technolo... | https://devblogs.microsoft.com/scripting/use-powershell-and-wmi-or-cim-to-view-and-to-set-power-plans/ | CC-MAIN-2022-40 | refinedweb | 1,165 | 60.14 |
In today’s Programming Praxis exercise, our task is to calculate all the narcissistic numbers, also known als the Armstrong numbers or the pluperfect digital invariants, i.e. the sequence of numbers for which the sum of the cubes of the digits is equal to the number itself.
Supposedly, a mathematician by the name of Di... | https://bonsaicode.wordpress.com/2012/12/14/programming-praxis-115132219018763992565095597973971522401/ | CC-MAIN-2016-50 | refinedweb | 479 | 57.61 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.