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 |
|---|---|---|---|---|---|
Splinter¶
Splinter is an open source tool for testing web applications using Python. It lets you automate browser actions such as visiting URLs and interacting with their elements.
Sample code¶
from splinter import Browser with Browser() as browser: # Visit URL. browser.visit("") # Find and fill out the search form. br... | https://splinter.readthedocs.io/en/latest/ | CC-MAIN-2022-33 | refinedweb | 120 | 59.7 |
Outlook 12 Server2005-11-15T19:17:00ZOutlook Performance Update<P class=MsoNormal<B style="mso-bidi-font-weight: normal"><FONT size=3><FONT face=Calibri>The Short Story<?xml:namespace prefix = o<o:p></o:p></FONT></FONT></B></P> <P class=MsoNormal<FONT face=Calibri size=3>Last Friday, we released an update to Microsoft ... | http://blogs.msdn.com/willkennedy/atom.xml | crawl-002 | refinedweb | 3,686 | 54.63 |
How to diagnose when a URDF problem stops the gazebo_ros_control from receiving
I have a URDF ackermann vehicle that works just fine, until I put the LiDAR on top of it. The LiDAR works. I can visualize the point cloud in RVIZ, but Gazebo stops responding to the messages I publish to the joint controllers. I echo the j... | https://answers.ros.org/question/335329/how-to-diagnose-when-a-urdf-problem-stops-the-gazebo_ros_control-from-receiving/ | CC-MAIN-2019-51 | refinedweb | 955 | 59.3 |
Send mail the .NET way
Adding e-mail functionality to apps doesn't get much simpler than this.
Please every Web application needs to send e-mail sooner or later. Whether your site is sending a confirmation e-mail or the dreaded spam (not that you would do that, of course), sending e-mail is a vital function of most Web... | http://searchwindevelopment.techtarget.com/tip/Send-mail-the-NET-way | CC-MAIN-2015-18 | refinedweb | 1,373 | 57.16 |
I've been working on a project involving Facebook authentication and
embedding "likes" and "posts", as well as mapping locations of crowdfunding
projects onto Google Maps..
Since we're mostly Windows developers on Code Project, let's stay in the
Windows platform environment. To do this, you'll need to:
You'll need to c... | http://www.codeproject.com/Articles/664754/Where-In-The-World-Are-My-Facebook-Friends?msg=4716052 | CC-MAIN-2016-07 | refinedweb | 3,693 | 54.02 |
In this project, you’ll be introduced to using the GPIO pins of your Raspberry Pi and how to integrate them with electronic components using Python.
The switch pins should easily fit into the patch points of the breadboard, if they don’t, the switch is not being positioned correctly.
from gpiozero import LED from time ... | https://www.okdo.com/project/control-an-led-with-a-switch/ | CC-MAIN-2020-40 | refinedweb | 108 | 62.72 |
How to... move from AjaxPro to ASP.NET AJAX PageMethods
In one of my last posts I blogged about the future of Ajax.NET Professional (AjaxPro) and that I'm not able to do further development on that project. A lot of my readers feeling sad about this but I had to concentrate more on new technologies that will revolution... | http://weblogs.asp.net/mschwarz/how-to-move-from-ajaxpro-to-asp-net-ajax-pagemethods | CC-MAIN-2015-11 | refinedweb | 896 | 67.76 |
Hi, In my master thesis I use GRIN and C-- to writing a backend to ehc (essential haskell compiler -) It is nice to see GRIN is used by other people as well. My work has been to extend the GRIN model to be usefull for exceptions and implement a grin compiler. I am currently in the process of writing the results down. F... | http://www.haskell.org/pipermail/glasgow-haskell-users/2005-November/009232.html | CC-MAIN-2014-35 | refinedweb | 350 | 53.04 |
Python Numpy Array Tutorial
NumPy is, just like SciPy, Scikit-Learn, Pandas, etc..
Today’s post will exactly focus on this last. This NumPy tutorial will not only show you what NumPy arrays actually are and how you can install Python, but you’ll also learn how to make arrays (even when your data comes from files!), how... | https://www.datacamp.com/community/tutorials/python-numpy-tutorial | CC-MAIN-2018-09 | refinedweb | 7,049 | 68.6 |
horus93871 Points
Curious about why using len to count keys vs values in a dict requires a different approach.
So I'm working on the last 5 part challenge for this section, and the first thing it asks was to create a function named num_teachers that would take a single argument, a dictionary of teachers the background ... | https://teamtreehouse.com/community/curious-about-why-using-len-to-count-keys-vs-values-in-a-dict-requires-a-different-approach | CC-MAIN-2018-51 | refinedweb | 617 | 63.63 |
#include <OP_PostIt.h>
Definition at line 47 of file OP_PostIt.h.
Create a network box with the specified name. If a duplicate name is passed in, it will be altered to make it unique in the network.
Reimplemented from OP_NetworkBoxItem.
Definition at line 69 of file OP_PostIt.h.
Reimplemented from OP_NetworkBoxItem.
De... | http://www.sidefx.com/docs/hdk11.1/class_o_p___post_it.html | CC-MAIN-2013-48 | refinedweb | 262 | 61.63 |
Ben Franksen wrote: > If I want to import a module I have to decide on /one/ module name. Since I > cannot know at which point in the hierarchy users might have exposed > modules from other packages, I must chose the default 'root' point. So, > this will not help library authors who want to e.g. import the 'same' > mod... | http://www.haskell.org/pipermail/libraries/2009-June/011975.html | CC-MAIN-2014-15 | refinedweb | 1,136 | 66.84 |
...for spaces!
This is another thing where I beat the code into submission.
I just want someone to tell me if this is "good programming practice"-
or have i gone off on a tangent.
Is the use of the member access operator OK?
All this program does is take a text file and strip the spaces out
// this will open a file , r... | https://www.daniweb.com/programming/software-development/threads/64358/stripper-program | CC-MAIN-2018-13 | refinedweb | 125 | 75.5 |
#include <ColorOcTree.h>
Static member object which ensures that this OcTree's prototype ends up in the classIDMapping only once. You need this as a static member in any derived octree class in order to read .ot files through the AbstractOcTree factory. You should also call ensureLinking() once from the constructor.
De... | https://docs.ros.org/en/lunar/api/octomap/html/classoctomap_1_1ColorOcTree_1_1StaticMemberInitializer.html | CC-MAIN-2022-27 | refinedweb | 102 | 60.51 |
In this tutorial we will learn how to use c# lazy class, or how to perform lazy loading in c# application development, c# lazy class allow us to load any data on demand instead of loading at the time of initialization.
Lazy<List<int>> list3Lazy = data.GetList3(); List<int> list3 = list3Lazy.Value;
Lazy loading is basic... | https://www.webtrainingroom.com/csharp/lazy-loading | CC-MAIN-2021-49 | refinedweb | 484 | 63.59 |
By Alex Mungai Muchiri, Alibaba Cloud Tech Share Author. Tech Share is Alibaba Cloud's incentive program to encourage the sharing of technical knowledge and best practices within the cloud community..
You will need to get yourself acquainted with the concepts and deployment of Kubernetes for you to follow through with ... | https://www.alibabacloud.com/blog/understanding-kubernetes-configurations_594162 | CC-MAIN-2020-40 | refinedweb | 1,513 | 52.39 |
Interview with Mark Safronov, author of “Web App Development with Yii 2”
I’ve made it no mystery that I work with Yii and enjoy using it. I’m somewhat of an old school guy and don’t mind reading a book to get started. I like the way they normally give you a gradual introduction to something you want to gain knowledge a... | https://www.sitepoint.com/interview-mark-safronov-author-web-app-development-yii-2/ | CC-MAIN-2020-10 | refinedweb | 2,549 | 61.56 |
MooseX::MarkAsMethods - Mark overload code symbols as methods
This document describes version 0.15 of MooseX::MarkAsMethods - released May 30, 2012 as part of MooseX-MarkAsMethods.; # ...
MooseX::MarkAsMethods allows one to easily mark certain functions as Moose methods. This will allow other packages such as namespace... | http://search.cpan.org/dist/MooseX-MarkAsMethods/lib/MooseX/MarkAsMethods.pm | CC-MAIN-2016-22 | refinedweb | 196 | 57.67 |
* Explanation of Use and Rationale For Procedures 20 * 21 * This class is intended to serve as a "test stand" for loading 22 * images using the Apache Imaging (nee "Sanselan") package. 23 * It performs a loop that loads a specified image multiple times 24 * recording both memory and time required for the loading proce... | http://commons.apache.org/proper/commons-imaging/xref-test/org/apache/commons/imaging/examples/ApacheImagingSpeedAndMemoryTest.html | CC-MAIN-2018-09 | refinedweb | 1,855 | 54.32 |
Björn Fahller recently wrote a blog post showing how to implement a compile-time quicksort in C++17. It’s a skillful demonstration that employs the evolving C++ feature set to write code that, while not quite concise, is more streamlined than previous iterations. He concludes with, “…the usefulness of this is very limi... | https://dlang.org/blog/2017/06/05/compile-time-sort-in-d/ | CC-MAIN-2018-47 | refinedweb | 1,853 | 60.85 |
Search: Search took 0.02 seconds.
- 8 Jun 2008 9:19 PM
Yes, i know but i can't get it ! Can you help me ?
var bd = Ext.getBody();
var dialog = new Ext.ux.UploadDialog.Dialog({
// ******
height: 200,
width:...
- 28 May 2008 3:57 PM
Is there a way to config the extension to see the UploadDialog as a panel and not as a wi... | https://www.sencha.com/forum/search.php?s=f74c2319f4440038c83f9213b736babb&searchid=12174059 | CC-MAIN-2015-32 | refinedweb | 910 | 83.86 |
WebReference.com - Excerpt from Inside XSLT, Chapter 2, Part 3 (5/5)
Inside XSLT
Now I can add another template for the next level down, which includes the
<PLANET> elements. In this case, I'll just replace each
<PLANET>
element with the literal result element
<P>Planet</P>:
Listing 2.3: Using
<xsl:apply-templates/>
<?... | http://www.webreference.com/authoring/languages/xml/insidexslt/chap2/3/5.html | CC-MAIN-2016-22 | refinedweb | 255 | 60.75 |
It seems reasonable to focus on ALPN support, and generally dropping NPN from trunk. NPN is already on a decline, and won't be used going forward.
On Thu, Apr 2, 2015 at 12:44 AM, Stefan Eissing <stefan.eiss...@greenbytes.de> wrote: > Any reason to differ from trunk in 2.4? > > The people using spdy already in a 2.4 wi... | https://www.mail-archive.com/dev@httpd.apache.org/msg61618.html | CC-MAIN-2019-26 | refinedweb | 770 | 67.15 |
attr_praxis · fit_praxis · pval_praxis · stop_praxis
Optimization¶ ↑
fit_praxis()¶ ↑
- Syntax:
min = h.fit_praxis(n, "funname", x._ref_x[0])
min = h.fit_praxis(n, "funname", Vector)
min = h.fit_praxis(..., ..., ..., "after quad statement")
min = h.fit_praxis(efun_as_python_callable, neuron_vector)
- Description:
This i... | https://www.neuron.yale.edu/neuron/static/py_doc/analysis/programmatic/optimization.html | CC-MAIN-2020-16 | refinedweb | 584 | 57.98 |
I know i am in the wrong place... but i have tried several places on teh web and some body recommended me to try out this website ...
my problem is to launch an exe file, say notepad ... so work flow is something like this
1. you open up this webpage
2. You click on a link/button .. essentially you trigger an event
3. ... | http://www.theserverside.com/discussions/thread.tss?thread_id=3283 | CC-MAIN-2015-18 | refinedweb | 508 | 65.32 |
- Steps
- Upgrade the bundled PostgreSQL chart
- Upgrade steps for 3.0 release
Upgrade Guide
Before upgrading your GitLab installation, you need to check the changelog corresponding to the specific release you want to upgrade to and look for any release notes that might pertain to the new GitLab chart version.
Warning:... | https://docs.gitlab.com/12.10/charts/installation/upgrade.html | CC-MAIN-2020-50 | refinedweb | 1,262 | 55.64 |
# # Copyright (C) 1998, 1999 Ken MacLeod # XML::Grove::Path is free software; you can redistribute it # and/or modify it under the same terms as Perl itself. # # $Id: Path.pm,v 1.2 1999/08/17 15:01:28 kmacleod Exp $ # package XML::Grove::Path; use XML::Grove; use XML::Grove::XPointer; use UNIVERSAL; sub at_path { my $e... | https://metacpan.org/release/KMACLEOD/XML-Grove-0.46alpha/source/lib/XML/Grove/Path.pm | CC-MAIN-2022-21 | refinedweb | 345 | 51.68 |
AWS errors and events within a Lambda on AWS.
1. Create a Lambda
First, you’ll need a Lambda. If you have an existing Lambda or you are creating a new Lambda, make sure it has permissions to log to CloudWatch. For the examples in this post, we are going to be using the following Node.js code:
exports.handler = async (e... | https://spin.atomicobject.com/2018/11/16/aws-lambda-custom-alarm/ | CC-MAIN-2019-30 | refinedweb | 346 | 73.17 |
Have you ever written tests so big, so comprehensive, that every time you change
something in your code, you have to change your tests accordingly? Have you
ever spent more than 30 minutes writing functional tests for a controller,
including individually submitting nils and invalid data to each action in turn?
How abou... | https://robots.thoughtbot.com/unpopular-developer-2-down-with-big-testing | CC-MAIN-2015-22 | refinedweb | 874 | 65.35 |
Results 1 to 3 of 3
- Join Date
- Nov 2010
- 5
- Thanks
- 0
- Thanked 0 Times in 0 Posts
Help with writing program for class.
Sorry..:
Code:
//
Last edited by dubsjw; 11-10-2010 at 08:10 AM. Reason: adding code
- Join Date
- Sep 2002
- Location
- Saskatoon, Saskatchewan
- 16,994
- Thanks
- 4
- Thanked 2,662 Times in 2,... | http://www.codingforums.com/java-and-jsp/208955-help-writing-program-class.html?s=62c424bc42bea1486aa66dfd726646cc | CC-MAIN-2015-40 | refinedweb | 343 | 81.87 |
Harden services with systemd
A Hard Nut to Crack
One of the most important goals in the development of systemd is securing Linux. Of course, you can only improve what can be measured, which is why Galileo Galilei advised: "Measure what is measurable, and make measurable what is not." Following this maxim, systemd now m... | https://www.admin-magazine.com/index.php/Archive/2022/67/Harden-services-with-systemd | CC-MAIN-2022-33 | refinedweb | 955 | 54.63 |
Svelte is a new method of building Web applications. It has been tepid since its launch. It has not become the fourth largest framework after Angular, React and VUE, but it has not lost its popularity and nobody cares. An important reason for this is that svelte's core idea is to reduce the amount of code in the framew... | https://programmer.help/blogs/619e68bf49d9e.html | CC-MAIN-2021-49 | refinedweb | 640 | 51.14 |
import "cuelang.org/go/cue/literal"
Package literal implements conversions to and from string representations of basic data types.
const ( K = mulDec | mul1 M = mulDec | mul2 G = mulDec | mul3 T = mulDec | mul4 P = mulDec | mul5 E = mulDec | mul6 Z = mulDec | mul7 Y = mulDec | mul8 Ki = mulBin | mul1 Mi = mulBin | mul2... | https://godoc.org/cuelang.org/go/cue/literal | CC-MAIN-2020-40 | refinedweb | 290 | 56.55 |
I've been doing two things, recently:
Update: Looking at this again, I'd like to stress that this is not a tutorial or a howto on packaging. It's a number issues that I consider either important or beneficial when incorperated into your packaging workflow.
Update: Both Zaxo and Corion expressed concern about my advocat... | http://www.perlmonks.org/index.pl?node_id=409857 | CC-MAIN-2016-36 | refinedweb | 1,848 | 67.76 |
Add Managed Associations with Core Data Services
04/30/2019
You will learn
- How foreign keys are handled in managed associations
- What the CDS builder generates
In this tutorial you will enhance the product catalog of the SAP Cloud Platform business application project
ITelO with a category for the products. To reali... | https://developers.sap.com/tutorials/cp-apm-foundation-01.html | CC-MAIN-2019-30 | refinedweb | 1,129 | 56.45 |
Tutorial
How To Set Up Zero Downtime Rails Deploys Using Puma and Foreman
Introduction
Puma is an efficient Ruby web server that handles Rack apps (such as Rails) very well. Puma offers concurrency using threads and/or workers. You can use Puma’s clustered mode (using workers) to deploy apps without downtime. Puma will... | https://www.digitalocean.com/community/tutorials/how-to-set-up-zero-downtime-rails-deploys-using-puma-and-foreman | CC-MAIN-2020-40 | refinedweb | 1,372 | 59.84 |
:
- Create a directory under
workers/of your SpatialOS project (for example,
workers/csharp).
Create a worker configuration file file (for example,jin the same directory. This file is controlled by you, and should provide you with enough flexibility without the need to turn off automatically generated build scripts.
We... | https://docs.improbable.io/reference/13.1/csharpsdk/setting-up | CC-MAIN-2019-18 | refinedweb | 228 | 50.23 |
It’s no secret that Enzyme has become the de facto standard for React components testing, but there are other good options around.
For example: React Test Renderer.
I personally like Test Renderer because of the way it works: it renders React components into pure JavaScript objects that are easy to use and understand.
... | https://blog.logrocket.com/tdd-with-react-test-renderer/ | CC-MAIN-2022-40 | refinedweb | 2,295 | 58.82 |
Tracking SDK for App Advertisers
When you advertise your mobile app with CPAlead, you have the option to bid on a Cost Per Install basis (CPI). In order to track your installs, you will be required to install our Tracking SDK into your application. This process is made very easy with our integration SDK.
Step 1: Add th... | https://www.cpalead.com/documentation/tracking-sdk/ | CC-MAIN-2019-18 | refinedweb | 197 | 63.8 |
Chat room for all things SwayDB.
@.
Bagimplementation into your code. Proper release will happen when I win the battle against JVM's garbage collector.
import cats.effect.IO import cats.effect.unsafe.IORuntime import swaydb.Bag.Async import swaydb.serializers.Default._ import swaydb.{IO => SwayIO, _} import scala.concu... | https://gitter.im/SwayDB-chat/Lobby?at=5f9fd75ec6fe0131d4cdc198 | CC-MAIN-2022-27 | refinedweb | 1,033 | 64.2 |
Introduction
Long time no write, kids. Sometimes life throws you a curve, you get whacked, and you take a base. Standing on first a little dazed and confused, it’s good to be writing about something simple and fun: the My feature.
Microsoft Visual Basic developers did something that most of you have been doing for year... | http://www.informit.com/articles/article.aspx?p=606221&seqNum=9 | CC-MAIN-2019-26 | refinedweb | 233 | 67.89 |
When I first started working with Amazon Web Services (AWS), it didn’t take long before I started to look for a way to automate the creation of cloud resources. This was years ago, when DevOps was only just starting to become a popular concept. Back then, the newly releases Boto3 Python library gave me the result I nee... | http://blog.dendory.ca/2020/07/coming-full-circle-with-aws-cdk.html | CC-MAIN-2021-10 | refinedweb | 410 | 72.66 |
Data::Hive::Store - a backend storage driver for Data::Hive
version 1.013
Data::Hive::Store is a generic interface to a backend store for Data::Hive.
All methods are passed at least a 'path' (arrayref of namespace pieces). Store classes exist to operate on the entities found at named paths.
print $store->get(\@path, \%... | http://search.cpan.org/~rjbs/Data-Hive/lib/Data/Hive/Store.pm | CC-MAIN-2017-47 | refinedweb | 231 | 68.36 |
Cannot place any QGraphicsItems on QGraphicsScene anywhere but at 0,0
Hello guys, Let me start by thanking you for your help. I am trying to create a pong game. I have a QGraphicsView on the QGraphicsScene. I m trying to add a QGraphicsEllipseItem to make a ball but no what I use for coordiates it WILL NOT move or be c... | https://forum.qt.io/topic/74543/cannot-place-any-qgraphicsitems-on-qgraphicsscene-anywhere-but-at-0-0 | CC-MAIN-2019-43 | refinedweb | 702 | 51.38 |
Date: Wed, 13 Dec 2000 20:56:08 -0700 From: "Justin T. Gibbs" <gibbs@scsiguy.com> None-the-less, it seems to me that spamming the kernel namespace with "current" in at least the way that the 2.2 kernels do (does this occur in later kernels?) should be corrected.Justin, "current" is a pointer to the current thread execu... | https://lkml.org/lkml/2000/12/14/60 | CC-MAIN-2021-31 | refinedweb | 126 | 59.4 |
Imperative Programming. Imperative Programming. Heart of program is assignment statements Aware that memory contains instructions and data values Commands: variable declarations, loops, conditionals, procedural abstraction Commands make a flowchart. Imperative Languages. FORTRAN COB.
Imperative Programming
program Loop... | http://www.slideserve.com/skule/imperative-programming | CC-MAIN-2017-13 | refinedweb | 408 | 73.98 |
Kubernetes API.
Index
Properties
- Cluster
- CurrentField
- DecreaseCooldown
- IncreaseCooldown
- Kind
- KindTag
- Max
- Min
- Namespace
- NamespaceTag
- Replicas
- ResourceName
- ResourceNameTag
- ResourceTag
- Mean
- Median
-.
Cluster
Cluster is the name of the Kubernetes cluster to use.
node.cluster(value string)
C... | http://docs.influxdata.com/kapacitor/v1.3/nodes/k8s_autoscale_node/ | CC-MAIN-2017-47 | refinedweb | 350 | 52.05 |
I am sitting right now in the “Opening Party” for the 97 Things Programmer Should Know. Someone had mentioned this to me when I was touring in South Africa and I had never gotten a chance to put together an entry so here it is. Thanks to Thomas Huberz for letting me quote from his book while people are talking in Norwe... | http://codebetter.com/gregyoung/2010/03/24/the-98th-thing-every-programmer-should-know/ | CC-MAIN-2021-43 | refinedweb | 1,522 | 53.92 |
Search:
Forum
Lounge
Teaching programming
Teaching programming
Jul 4, 2012 at 3:28am UTC
ne555
(4991)
In about a month I'm going to apply to a TA job for an introductory course and for OOP.
The test is to give a public class, the subject will be decided a few days before.
Just wanted to know if you've got any suggestio... | http://www.cplusplus.com/forum/lounge/74561/ | CC-MAIN-2013-20 | refinedweb | 1,982 | 74.08 |
The layout page shares the common design across all pages. There are many methods which are listed below to change the layout page dynamically in ASP.NET Core MVC.
I hope you have understood about the layout page from the preceding brief summary. Now let's implement it practically.
- While Adding View Page, Assign Layo... | https://www.compilemode.com/2021/07/multiple-layout-pages-in-asp-net-core-mvc.html | CC-MAIN-2022-40 | refinedweb | 600 | 63.19 |
SwiftRPlot
A Swift(‘er) framework for Real-time time series data visualization
Plotting time series data such as analog signals in real-time can be difficult.
Charting solutions currently available are not fine-tuned for real-time plots and can be CPU/RAM intensive so I’ve decided to address this.
The project will be a... | https://tryexcept.com/articles/cocoapod/swiftrplot | CC-MAIN-2019-09 | refinedweb | 443 | 54.42 |
CInclude serves the same basic function as XInclude however it is a bit more versatile and is most likely higher performance.
Steps
You must:
- Add CInclude Namespace to your Page Element definition.
- Use the cinclude:include element in your page
- Add the CInclude transformer to your sitemap component definitions
- A... | http://wiki.apache.org/cocoon/CInclude | CC-MAIN-2013-48 | refinedweb | 347 | 56.86 |
Doctor Fortran in "The Future of Fortran"
By Steve Lionel (Intel), published on March 27, 2015…
I had prepared a short, vendor-neutral presentation on the current state of the Fortran standard and what was coming in the next standard, currently called Fortran 2015. (I expect this name to stick.) After that I opened it ... | https://software.intel.com/en-us/blogs/2015/03/27/doctor-fortran-in-the-future-of-fortran | CC-MAIN-2019-04 | refinedweb | 2,443 | 58.01 |
NetBeans Platform Plugin Quick Start
Last reviewed on 2020-12-01
Welcome to Apache NetBeans plugin development!
This tutorial provides a simple and quick introduction to the Apache NetBeans plugin development workflow by walking you through the creation of a new toolbar for any Apache NetBeans Platform application. Onc... | https://netbeans.apache.org/tutorials/nbm-google.html | CC-MAIN-2021-17 | refinedweb | 1,385 | 55.74 |
Hi
I have Fedora Core 5 2.6.17-1.2174_FC5 with gcc version: gcc (GCC) 4.1.1 200
60525 (Red Hat 4.1.1-1)
everything compiles well, and run smoothly on my machine. But the actual pro
duction machine is Linux 2.4.20-46.9.legacysmp
with gcc version gcc (GCC) 3.2.2 20030222 (Red Hat Linux 3.2.2-5)
on the production machine,... | http://cboard.cprogramming.com/c-programming/83878-problems-c-program-different-machines-using-different-compilers.html | CC-MAIN-2014-23 | refinedweb | 182 | 65.12 |
.
Trees and Containers
I'm missing a key concept related to trees and data sources.
I need a tree that displays complex objects rather than just strings.
As an example let's say I have a class Person:
public class Person { private String name; private String id; // getters and setters }
I've extended HierarchicalContai... | https://vaadin.com/forum/thread/135807/trees-and-containers | CC-MAIN-2021-43 | refinedweb | 383 | 62.88 |
1
Workbook 2
Introduction.
Important.
Serialisation
1
The use of "-ise" verses "-ize" is much debated and is some times erroneously attributed to a difference between American
and British English. Oxford University Press is said to favour "-ize" whilst Cambridge University Press prefers "-ise" (http://
en.wikipedia.org... | https://www.techylib.com/el/view/farflungconvyancer/workbook_2_the_computer_laboratory | CC-MAIN-2017-34 | refinedweb | 1,287 | 55.64 |
QML mouse pressed and onEntered
How can I pressed mouse and move into a mouse area, and this mouse area could run onEntered?
With current code, once I press and hold on buttonMouseArea 1, and move mouse to another buttonMouseArea 2, Area 2 will not response onEntered.
Thanks
MouseArea { id: buttonMouseArea anchors.fill... | https://forum.qt.io/topic/55217/qml-mouse-pressed-and-onentered | CC-MAIN-2017-47 | refinedweb | 445 | 61.73 |
Almost all uses of the bucket-based hash table have been removed save 3. We could numHashTableImplementations-- if these last 3 were finished off.
Whoa, JSAtomList and JSHashTable are rather intertwined. That one is non-trivial.
(In reply to comment #1) > Whoa, JSAtomList and JSHashTable are rather intertwined. That on... | https://bugzilla.mozilla.org/show_bug.cgi?id=647367 | CC-MAIN-2017-13 | refinedweb | 850 | 60.21 |
Node that provides hints about shapes. More...
#include <Inventor/nodes/SoShapeHints.h>
Node that provides hints about shapes.
By default, Open Inventor assumes very little about the shapes it renders. You can use the SoShapeHints node to indicate that vertex-based shapes (those derived from SoVertexShape) are solid, c... | https://developer.openinventor.com/refmans/latest/RefManCpp/class_so_shape_hints.html | CC-MAIN-2022-05 | refinedweb | 981 | 57.57 |
Deploying More than Text Content using Your DigitalOcean Droplet
The following article got me to the point where I could display text content, but that's where it stopped.
How To Set Up a Node.js Application for Production on Ubuntu 16.04
I will continue from that point.
note: I could not format this post. It contains ... | https://www.digitalocean.com/community/questions/deploying-more-than-text-content-using-your-digitalocean-droplet | CC-MAIN-2019-09 | refinedweb | 554 | 53.37 |
Testing a Large Application with Multiple UI Maps
This topic discusses how to use coded UI tests when you are testing a large application by using multiple UI maps.
When you create a new coded UI test, the Visual Studio testing framework generates code for the test by default in a UIMap class. For more information abou... | http://msdn.microsoft.com/en-us/library/vstudio/ff398056(v=vs.100).aspx | CC-MAIN-2014-35 | refinedweb | 869 | 51.28 |
table of contents
NAME¶
strtod, strtof, strtold - convert ASCII string to floating-point number
SYNOPSIS¶
#include <stdlib.h>
double strtod(const char *nptr, char
**endptr);
float strtof(const char *nptr, char **endptr);
long double strtold(const char *nptr, char **endptr);
strtof(), strtold():
DESCRIPTION¶¶
These¶
ATT... | https://manpages.debian.org/bullseye/manpages-dev/strtof.3.en.html | CC-MAIN-2021-49 | refinedweb | 151 | 63.59 |
Compare browser type systems with the new API Catalog tool
Interoperability has long been a driving priority for the Microsoft Edge team. To make informed, data-driven decisions, we need the ability to find the similarities and differences between the type systems of all browsers, to compare how core global functions, ... | https://blogs.windows.com/msedgedev/2016/04/28/introducing-api-catalog/ | CC-MAIN-2021-10 | refinedweb | 1,127 | 51.07 |
Although CGI may not be the most popular platform to host WSGI applications, with the intent of trying to promote the cause of writing portable WSGI application code, in mod_wsgi the decision was made to restrict access to sys.stdin and sys.stdout to highlight when non portable WSGI code was being written.
The result o... | http://blog.dscpl.com.au/2009/04/wsgi-and-printing-to-standard-output.html | CC-MAIN-2014-15 | refinedweb | 1,238 | 60.75 |
Data::Pareto - Computing Pareto sets in Perl
Version 0.05
use Data::Pareto; # only first and third columns are used in comparison # the others are simply descriptive my $set = new Data::Pareto( { columns => [0, 2] } ); $set->add( [ 5, "pareto", 10, 11 ], [ 5, "dominated", 11, 9 ], [ 4, "pareto2", 12, 12 ] ); # this ret... | http://search.cpan.org/~pwes/Data-Pareto-0.05/lib/Data/Pareto.pm | CC-MAIN-2015-22 | refinedweb | 1,081 | 54.22 |
The list function & practical uses of array destructuring in PHP
| 5 min read.
list() 101
The
list() construct (it’s actually not a function but a language construct like
array()) has been around since PHP 4.
list() allows you to pull variables from an array based on their index. Let’s start with a quick primer!
Here’s... | https://sebastiandedeyne.com/the-list-function-and-practical-uses-of-array-destructuring-in-php/ | CC-MAIN-2019-47 | refinedweb | 1,066 | 58.82 |
signal()
Set handling for exceptional conditions
Synopsis:
#include <signal.h> void ( * signal( int sig, void ( * func)(int) ) )( int );
Since:
BlackBerry 10.0.0:
The signal() function is used to specify an action to take place when certain conditions are detected while a program executes. See the <signal.h> header fil... | https://developer.blackberry.com/native/reference/core/com.qnx.doc.neutrino.lib_ref/topic/s/signal.html | CC-MAIN-2021-39 | refinedweb | 515 | 53.51 |
In the previous entry I discussed changes to Amara's mutation API. In the original discussion one of the things that came up was the old element/attribute conundrum. Take the following document:
Users like to be able to access both elements and attributes using friendly Python idiom, but here we have a name clash on th... | http://copia.posthaven.com/elements-versus-attributes-in-amara-0 | CC-MAIN-2017-51 | refinedweb | 372 | 66.54 |
Helper functions for storing text in Keychain for iOS, macOS, tvOS and WatchOS
This is a collection of helper functions for saving text and data in the Keychain.
As you probably noticed Apple’s keychain API is a bit verbose. This library was designed to provide shorter syntax for accomplishing a simple task: reading/wr... | https://tryexcept.com/articles/cocoapod/keychainswift | CC-MAIN-2019-47 | refinedweb | 1,114 | 59.4 |
.
Introduction
In this tutorial we will check how to obtain temperature measurements from a DHT22 sensor using the ESP32, the Arduino core and timer interrupts.
In order to interact with the DHT22 from the ESP32, we will need an auxiliary library. Please check this tutorial which explains how to install it and also how... | https://techtutorialsx.com/2018/09/15/esp32-arduino-getting-dht22-sensor-measurements-with-interrupts/ | CC-MAIN-2019-43 | refinedweb | 2,150 | 51.58 |
User account creation filtered due to spam.
When compiled with -Wall,
int foo (void) { if (9007199254740991.4999999999999999999999999999999995 ==
9007199254740991.5) return 1;}
does not complain about a missing return statement, showing that GCC is folding
the comparison to true. However, the LHS should round down.
Wit... | https://gcc.gnu.org/bugzilla/show_bug.cgi?id=21718 | CC-MAIN-2017-34 | refinedweb | 2,608 | 66.23 |
Delete?
Table of Contents
Concurnas provides a mechanism where by a local variable can be removed from scope via the
del keyword. This has the additional side effect for non array Object types of invoking the delete method on them if one is defined. This is incredibly useful for performing resource management and is us... | https://concurnas.com/docs/delete.html | CC-MAIN-2022-21 | refinedweb | 588 | 50.16 |
A tiny library for sending OTP and SMS via MSG91
Project description
sms91-sms-otp
This a tiny library for sending sms and otp using sms91.
Basic usage
You could simply send a message, OTP and verify otp.
from sms91.sendsms import SMSClient cli = SMSClient() #initializing app # get this key from key = "31**************... | https://pypi.org/project/msg91-sms-otp/ | CC-MAIN-2021-49 | refinedweb | 157 | 69.89 |
etc. are halted by the webserver with a message 'The type of page is not served', anybody with console access to the system can still open and read the database connection strings, which might contain the password to the database in an unencrypted manner.
After a great deal of search in MSDN and other sites, I found a... | http://www.codeproject.com/Articles/3559/Enhanced-and-Secure-Connection-Strings-in-Web-Conf?fid=14143&df=90&mpp=10&sort=Position&spc=None&tid=3611261 | CC-MAIN-2015-48 | refinedweb | 337 | 53.31 |
With monday.com’s project management tool, you can see what everyone on your team is working in a single glance. Its intuitive dashboards are customizable, so you can create systems that work for you.
public class test extends JFrame{ int [] people ; public test(){ Person [] people = new Person[4]; float grades[] = {90... | https://www.experts-exchange.com/questions/28301471/Java-arrayList.html | CC-MAIN-2018-13 | refinedweb | 232 | 53.98 |
zap-automation
This is a library utilising the ZAP API, with pre configured steps to run a spider attack and then an active scan.
Run the unit tests for the libraryRun the unit tests for the library
sbt test
Adding to your buildAdding to your build
In your SBT build add:
resolvers += Resolver.bintrayRepo("hmrc", "relea... | https://index.scala-lang.org/hmrc/zap-automation/zap-automation/0.19.0-2-g5ee7be8?target=_2.11 | CC-MAIN-2020-40 | refinedweb | 1,167 | 55.95 |
."
Not news (Score:5, Interesting)
~~~~
Re:Not news (Score:5, Insightful)
Some presumably do deface the pages, but I don't find it terribly surprising that somebody that primarily uses wikipedia would be more reliable than somebody that spends most of their time building a reputation. There's just so much more incentiv... | https://slashdot.org/story/07/10/17/2249246/infrequent-anonymous-cowards-reliable-on-wikipedia | CC-MAIN-2017-30 | refinedweb | 4,231 | 60.95 |
Defines a FirstClass node which will keep track of changes in the SASA and hpatch score. FirstClassNode is defined and implemented in AdditionalBackgroundNodesInteractionGraph. More...
#include <HPatchInteractionGraph.hh>
Defines a FirstClass node which will keep track of changes in the SASA and hpatch score. FirstClas... | https://www.rosettacommons.org/manuals/latest/core+protocols/d8/d4d/classcore_1_1pack_1_1interaction__graph_1_1_h_patch_node.html | CC-MAIN-2020-45 | refinedweb | 1,776 | 55.74 |
Opened 3 years ago
Closed 3 years 3 years ago by
comment:2 Changed 3 years ago by
comment:3 Changed 3 years ago by 3 years ago 3 years ago by 3 years ago by
StreamingHttpResponse could still do with some example code in the docs, even if it doesn't replace the existing example.
comment:7 Changed 3 years ago by
Any idea... | https://code.djangoproject.com/ticket/21179 | CC-MAIN-2017-04 | refinedweb | 261 | 52.16 |
10 March 2011 19:07 [Source: ICIS news]
TORONTO (ICIS)--?xml:namespace>
“As we move into 2012, we believe our portfolio of new feedstock projects will begin to dramatically improve our supply position,” Woelfel told analysts during the company’s 2010 fourth-quarter results conference call.
In
NOVA Chemicals’ production... | http://www.icis.com/Articles/2011/03/10/9442805/canadas-nova-chemicals-sees-optimism-on-feedstock-outlook-ceo.html | CC-MAIN-2015-06 | refinedweb | 267 | 58.42 |
IT is the king of capital expenditure in the Hotel Group of Cendant Corp., according to the company’s CFO, so a good working relationship between the CIO and CFO is important to the success of the entire division. The group is the world’s leading franchiser of hotels, counting Travelodge, Ramada, and Days Inn among its... | https://www.techrepublic.com/article/learning-to-speak-the-cfos-language-can-help-ensure-it-dollars-are-spent-wisely/ | CC-MAIN-2017-47 | refinedweb | 1,329 | 53.75 |
Capitalization is counter intuitive in a URL. Since it's forced by the naming of this project, I recommend changing this project name to "fedora-council" to make it easier to discover. I'm also asking pagure search to be made case-insensitive if possible, but both fixes make sense IMHO. :smiley:
+1 I guess, though I'm ... | https://pagure.io/Fedora-Council/tickets/issue/92 | CC-MAIN-2019-39 | refinedweb | 423 | 70.13 |
An SVG document is contained within an <svg> element, which is required to be the outermost element in an SVG document.
An SVG "document" can range from a single SVG graphics element such as a <rect> to a complex, deeply nested collection of container elements and graphics elements. Also, an SVG document can be embedde... | https://www.w3.org/1999/07/30/WD-SVG-19990730/struct.html | CC-MAIN-2022-40 | refinedweb | 1,320 | 51.58 |
QT5.2.1 :-1: error: Unknown module(s) in QT: serialport
Hi,
I am trying to work with serial port communication in a little console application on linux and after some research i saw that the module for serialport is in the basic installation qt5.1 or superior.
I added :
'''QT += serialport'''
to my .pro file and :
'''#... | https://forum.qt.io/topic/53597/qt5-2-1-1-error-unknown-module-s-in-qt-serialport/1 | CC-MAIN-2019-47 | refinedweb | 576 | 63.59 |
Gecko 2 introduces a new parser, based on HTML5. The HTML parser is one of the most complicated and sensitive pieces of a browser. It controls how your HTML source code is turned into web pages and, as such, changes to it are rare. The new parser is faster, complies with the HTML5 standard, and enables a lot of new fun... | https://developer.mozilla.org/en-US/docs/HTML/HTML5/HTML5_Parser?redirect=no | CC-MAIN-2017-13 | refinedweb | 1,220 | 62.38 |
So far, we've learned how to display messages in labels, and we've met Tkinter core concepts along the way. Labels are nice for teaching the basics, but user interfaces usually need to do a bit more; like actually responding to users. The program in Example 8-10 creates the window in Figure 8-7.
Figure 8-7. A button on... | https://www.safaribooksonline.com/library/view/programming-python-3rd/0596009259/ch08s07.html | CC-MAIN-2018-17 | refinedweb | 256 | 65.22 |
Continuing on the historical vein, once upon a time there was a package included in Red Hat Linux called
pythonlib. One of the things I helped do was to finish killing it off. We went along and then a few releases later, wanted to share some python code again. Thus was born
rhpl – the Red Hat Python Library. It started... | http://velohacker.com/2009/06/30/repeating-the-cycle-time-to-kill-rhpl/ | CC-MAIN-2014-35 | refinedweb | 265 | 73.98 |
> Maybe we can begin to talk about all
>the other compatibility issues other then True = -1, Short Circuiting, etc,
>*and* how to address them.
Right.
I have been thinking about the control arrays problem. Control arrays are
heavily used, and while delegation gives us what seems to be a far more powerful
mechanism for ... | http://forums.devx.com/showthread.php?53180-Re-A-moderate-view-Adressing-Control-Arrays.....&p=180250&mode=threaded | CC-MAIN-2017-47 | refinedweb | 696 | 55.34 |
OK, I guess I misunderstood you. I don't know how SafeHaskell works, so I don't know whether there might be some interaction. I know that profiling is a static flag which must be set when you initialise the session and cannot be changed afterwards. I assume you are doing that. I checked the source code for getHValue (i... | http://www.haskell.org/pipermail/haskell-cafe/2011-August/095034.html | CC-MAIN-2014-35 | refinedweb | 404 | 69.38 |
Brian Goetz, Tim Peierls
Mentioned 201
Provides information on building concurrent applications using Java.:
I want to run a thread for some fixed amount of time. If it is not completed within that time, I want to either kill it, throw some exception, or handle it in some way. How can it be done?
One way of doing it as... | http://www.dev-books.com/book/book?isbn=0321349601&name=Java-concurrency-in-practice | CC-MAIN-2019-09 | refinedweb | 61,560 | 55.95 |
There..
The only way to learn is to mess around with the code. If you do, KEEP IN MIND, it is a very good idea to always get past the
document.Close(); before you terminate a Debug session.
The Help menu contains links to two important sources of information:
Try them. You will see why they are very important, especial... | http://www.codeproject.com/KB/graphics/iTextSharpTutorial.aspx | crawl-002 | refinedweb | 319 | 63.7 |
Visual GraphQL Programming
Tomek Poniatowicz
・1 min read
As GraphQL seems to enjoy interest of DEV.to community I want to share with you a video showing how easy is creating a GraphQL Schema with GraphQL Editor.
You can play with the editor here or check out Github repo:
graphql-editor
/
graphql-editor
GraphQL Visual N... | https://dev.to/tomekponiat/visual-graphql-programming-38jn | CC-MAIN-2019-35 | refinedweb | 224 | 66.13 |
C | Operators | Question 2
#include <stdio.h> int main() { int i = 1, 2, 3; printf("%d", i); return 0; }
(A) 1
(B) 3
(C) Garbage value
(D) Compile time error
Answer: (D)
Explanation: Comma acts as a separator here. The compiler creates an integer variable and initializes it with 1. The compiler fails to create integer ... | https://www.geeksforgeeks.org/c-operators-question-2/?ref=rp | CC-MAIN-2021-10 | refinedweb | 107 | 58.38 |
Avoid common certification failures
Review this list to help avoid issues that frequently prevent apps from getting certified, or that might be identified during a spot check after the app is published..
- Make sure that your app doesn't crash without network connectivity. Even if a connection is required to actually u... | https://msdn.microsoft.com/en-us/library/windows/apps/jj657968.aspx | CC-MAIN-2015-32 | refinedweb | 260 | 53.1 |
At 09:24 PM 11/24/2002, rbb@apache.org wrote:
>>.
Of course, there are none that inline functions in libraries. inline functions
need to exist in headers. We might end up with a scenario such as...
apr_mmap.h [public header]
#include "apr.h"
/* Incomplete type */
typedef struct apr_mmap_t apr_mmap_t;
/* Prototype */
AP... | http://mail-archives.apache.org/mod_mbox/apr-dev/200211.mbox/%3C5.1.0.14.2.20021124215316.038c37e8@pop3.rowe-clan.net%3E | CC-MAIN-2017-09 | refinedweb | 441 | 66.84 |
How to use a map (like google maps) with Qt Quick?
I want to display a map with my Qt Quick 2.1 application, but I cant find a good example on how to do that. I dont develop for a nokia device, but for android.
So can somebody post a working example of using a map? It could be google maps, open streetmap or whatever :)... | https://forum.qt.io/topic/31535/how-to-use-a-map-like-google-maps-with-qt-quick | CC-MAIN-2019-04 | refinedweb | 505 | 72.87 |
Play JSON Schema ValidatorPlay JSON Schema Validator
This is a JSON schema (draft v4) validation library for Scala based on Play's JSON library.
If you experience any issues or have feature requests etc., please don't hesitate to file an issue. Thanks!
Installation
Add an additional resolver to your
build.sbt file:
res... | https://index.scala-lang.org/eclipsesource/play-json-schema-validator/play-json-schema-validator/0.9.4?target=_2.12 | CC-MAIN-2020-40 | refinedweb | 668 | 50.33 |
Notes on GridFS and MongoDB
Today we made several tests with MongoDB’s GridFS. And, as simple as it is, we had a hard time trying to find detailed documentation and samples on C++ of this monster (on a good way
).
After brushing some bits, groking headers and a very thorough analysis of the C++ driver source code, we g... | http://www.advogato.org/person/ebf/diary.html?start=36 | CC-MAIN-2015-35 | refinedweb | 233 | 52.66 |
>> index of the first unique character in a given string using C++
Given a string ‘s’, the task is to find the first unique character which is not repeating in the given string of characters and return its index as output. If there are no such characters present in the given string, we will return ‘-1’ as output. For e... | https://www.tutorialspoint.com/find-the-index-of-the-first-unique-character-in-a-given-string-using-cplusplus | CC-MAIN-2022-33 | refinedweb | 629 | 66.98 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.