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 |
|---|---|---|---|---|---|
Exercises 12. The Preprocessor Preprocessor Directives Macro Definition Quote and Concatenation Operators File Inclusion Conditional Compilation Other Directives Predefined Identifiers Exercises Solutions to Exercises 217 218 219 220 222 223 224 226 227 228 230 Contents ix .
It does not attempt to teach object-oriente... | https://www.scribd.com/doc/60830066/c-Essentials | CC-MAIN-2017-26 | refinedweb | 62,370 | 61.93 |
Remove Duplicate words in a sentence using Java
This program is used to remove words which are repeated in a sentence in order to reduce the duplicate words and reduce the sentence length.
Duplicate words add redundancy to the sentence and can alter the meaning of the sentence.
Hence they should be removed.
This progra... | https://www.codespeedy.com/remove-duplicate-words-in-a-sentence-using-java/ | CC-MAIN-2019-43 | refinedweb | 448 | 55.34 |
Building and Consuming Async WCF Services in .NET Framework 4.5
In .NET Framework 4.5 the async and await keywords are pretty good additions. In this article I am going to explain on how simple is to build and consume WCF services using async and await keywords in .NET Framework 4.5. I will also provide the code exampl... | https://www.codeguru.com/columns/experts/building-and-consuming-async-wcf-services-in-.net-framework-4.5.htm | CC-MAIN-2019-13 | refinedweb | 842 | 57.47 |
OneAnd
The
OneAnd[F[_],A] data type represents a single element of type
A
that is guaranteed to be present (
head) and in addition to this a
second part that is wrapped inside an higher kinded type constructor
F[_]. By choosing the
F parameter, you can model for example
non-empty lists by choosing
List for
F, giving:
i... | https://typelevel.org/cats/datatypes/oneand.html | CC-MAIN-2019-13 | refinedweb | 121 | 53.92 |
Introduction:
Here we will learn how to solve the problem of cannot deserialize the current JSON object (e.g. {"name":"value"}) into type 'System.Collections.Generic.List`1[userdetails]' because the type requires a JSON array (e.g. [1,2,3]) to deserialize correctly. Generally we will get this error whenever our deseria... | http://www.aspdotnet-suresh.com/2017/02/cannot-deserialize-current-json-object-name-value.html | CC-MAIN-2017-22 | refinedweb | 423 | 50.73 |
Details
Description
Using the genapp plugin (2.2) of Maven-1.1-beta-1, I created a simple jar project.
Running pom:validate on the POM gave errors due to the fact that project.xml generated by the genapp plugin isn't a model-3.0.0 POM, because e.g. the <package> element generated by the genapp wizard isn't defined in t... | http://jira.codehaus.org/browse/MPPOM-5 | crawl-003 | refinedweb | 457 | 59.19 |
You can extend Zope by creating your own types of objects that are customized to your applications needs. New kinds of objects are installed in Zope by Products. Products are extensions to Zope that Zope Corporation and many other third party developers create. There are hundreds of different Products and many serve ve... | http://www.faqs.org/docs/ZopeBook/CustomZopeObjects.html | CC-MAIN-2017-30 | refinedweb | 6,458 | 62.58 |
Configuring the Production
This chapter describes the process of creating and configuring an X12 Production. It contains the following sections:
Creating a new X12 Production
Adding an X12 Business Service
Adding an X12 Business Process
Adding an X12 Routing Rule
Adding an X12 Business Operation
Be sure to perform all ... | https://docs.intersystems.com/healthconnectlatest/csp/docbook/Doc.View.cls?KEY=EX12_production | CC-MAIN-2020-45 | refinedweb | 909 | 55.44 |
code.)
Why SCO won't show the code
Posted Aug 19, 2003 16:08 UTC (Tue) by rfunk (subscriber, #4054)
[Link]
Posted Aug 19, 2003 16:15 UTC (Tue) by rfunk (subscriber, #4054)
[Link]
Posted Aug 19, 2003 18:36 UTC (Tue) by ken (subscriber, #625)
[Link]
I found it in V5 also.
The comment in that file is not the same and som... | http://lwn.net/Articles/45019/ | crawl-001 | refinedweb | 4,289 | 66.47 |
Create Lightning Web Components
Learning Objectives
After completing this unit, you’ll be able to:
-.
- Click New to start a new project.
- Paste the following fields of the same name in the corresponding JavaScript class.
Here’s a JavaScript file to support this HTML. Paste this into
app.js.
import { LightningElement ... | https://trailhead.salesforce.com/en/content/learn/modules/lightning-web-components-basics/create-lightning-web-components | CC-MAIN-2020-40 | refinedweb | 1,117 | 56.35 |
My name is Leon LaSpina and I teach computer science at Bethpage Senior High School in New York.), and Ken Fogel (Canada). Now let's travel to the US and meet Leon LaSpina. -- NetBeans Team
I moved to NetBeans IDE in my classroom a few years ago and have been very pleased with that decision. Here are some reasons why N... | https://dzone.com/articles/netbeans-great-for-teaching-7 | CC-MAIN-2017-09 | refinedweb | 514 | 67.99 |
I am nearly completely new to Scala, a few months on. I noticed some wild signatures. I have worked through generics with contrapositive/copositive/extensions/invariance, and most of the basics. However, I continue to find some of the method signatures a bit confusing. While I find examples and know what the signatures... | https://codedump.io/share/knXuIq35eBY6/1/on-expanded-scala-method-signatures | CC-MAIN-2017-13 | refinedweb | 449 | 58.18 |
How to add more than one EllipseItem to a Scene..?
I want to add around 11-12 QGraphicsEllipseItems to a scene. How can i achieve this using
ellipseOne = scene->addEllipse(0,0,10,10,blackpen,redBrush); . . . . ellipseTwelve = scene->addEllipse(0,0,10,10,blackpen,redBrush);
Apart from this is there any other way.
Thanks... | https://forum.qt.io/topic/79904/how-to-add-more-than-one-ellipseitem-to-a-scene | CC-MAIN-2017-47 | refinedweb | 577 | 65.22 |
I'm writing a program which organizes my school mark and for every subject I created a file.pck where are saved all the marks of that subject. Since I have to open and pickle.load 10+ files I decided to make 2 functions, files_open():
subj1 = open(subj1_file)
subj1_marks = pickle.load(subj1)
subj2 = open(subj2_file)
su... | https://codedump.io/share/5c0SFVqoK2Sh/1/opening-and-closing-a-large-number-of-files-on-python | CC-MAIN-2017-13 | refinedweb | 230 | 62.38 |
This is a sample application which makes AJAX calls to web service. This article discusses the server side aspect of the application.
The web service performs the task of fetching and storing the data from SQL server database at server. This article explains the server side aspect of the application. For discussion abo... | http://www.codeproject.com/KB/webservices/WebServiceFromHTMLSample.aspx | crawl-002 | refinedweb | 1,308 | 50.33 |
#include <sys/types.h> #include <unistd.h> pid_t tcgetpgrp(int fildes);
The tcgetpgrp() function will return the value of the process() returns the value of the process group ID of the foreground process associated with the terminal. Otherwise, −1 is returned and errno is set to indicate the error.
The tcgetpgrp() func... | http://docs.oracle.com/cd/E36784_01/html/E36874/tcgetpgrp-3c.html | CC-MAIN-2015-18 | refinedweb | 102 | 56.05 |
Apache Spark 2 on CML
Apache Spark is a general purpose framework for distributed computing that offers high performance for both batch and stream processing. It exposes APIs for Java, Python, R, and Scala, as well as an interactive shell for you to run jobs.
In Cloudera Machine Learning (CML), Spark and its dependenci... | https://docs.cloudera.com/machine-learning/1.0/product/topics/ml-apache-spark-overview.html | CC-MAIN-2021-04 | refinedweb | 185 | 55.95 |
D Programming - Literals
Constant values that are typed in the program as a part of the source code are called literals.
Literals can be of any of the basic data types and can be divided into Integer Numerals, Floating-Point Numerals, Characters, Strings, and Boolean Values.
Again, literals are treated just like regula... | https://www.tutorialspoint.com/d_programming/d_programming_literals.htm | CC-MAIN-2018-51 | refinedweb | 686 | 59.19 |
DEBSOURCES
Skip Quicknav
Patches / puredata /0.49.0-3
src/g_editor_extras.c |
4 2 + 2 - 0 !
1 file changed, 2 insertions(+), 2 deletions(-)
fixed memleak in triggerize code by making variables more local
CID:190664
src/g_editor_extras.c |
8 6 + 2 - 0 !
1 file changed, 6 insertions(+), 2 deletions(-)
fixed crasher bug w... | https://sources.debian.org/patches/puredata/0.49.0-3/ | CC-MAIN-2021-21 | refinedweb | 345 | 58.28 |
I am trying to resolve a schedules parameter list with families to identify which families have missing shared parameters. Is there a way to get if a parameter is a type parameter?
let me open dynamo real quick.
I think it´s “parameter.type”
or this:
looked at that but thats global parameter. issue is gathering a list ... | https://forum.dynamobim.com/t/is-there-a-way-to-tell-if-a-parameter-is-a-type-parameter/46335 | CC-MAIN-2020-45 | refinedweb | 194 | 57.06 |
A Beginner's Guide to Kotlin
A Beginner's Guide to Kotlin
Why is Kotlin so popular?
Join the DZone community and get the full member experience.Join For Free
Google.
Hello World
Kotlin is a statically-typed language that runs on the JVM and boasts 100 percent interoperability with existing Java code. The program below ... | https://dzone.com/articles/a-beginners-guide-to-kotlin | CC-MAIN-2020-34 | refinedweb | 1,177 | 55.64 |
Apple keeps breaking AirPrint on older gear for no reason, and I keep fixing it.
Neary two years ago I had a go at making it work with Leopard, and in the meantime a few things changed - I upgraded my home server setup to Snow Leopard, iOS is now in its sixth revision, and I also changed printers.
AirPrint is not somet... | https://taoofmac.com/space/blog/2012/12/15/1830 | CC-MAIN-2018-47 | refinedweb | 578 | 58.72 |
Visual Studio Productivity Tips
In this episode, Robert is joined by Allison Bucholtz-Au, who shows us how IntelliSense cuts down the number of keystrokes required to write code in Visual Studio. Even if you have been using IntelliSense for years, you are sure to see a thing or two you didn't it could do.
She is my fav... | https://channel9.msdn.com/Shows/Visual-Studio-Toolbox/More-Code-Less-Typing?WT.mc_id=DX_MVP4025064 | CC-MAIN-2019-43 | refinedweb | 123 | 62.38 |
In my “NetCF v2 now supports NTLM” post, I mentioned that the 3 ways to gain NTLM support with existing code are:
- Building your application against the v2 beta
- Uninstall v1 from your device (not possible on PPC 2003 devices, as v1 is installed in ROM)
- Construct an application configuration file for your executabl... | https://blogs.msdn.microsoft.com/davidklinems/2004/08/03/how-do-i-force-my-netcf-v1-application-to-run-against-netcf-v2/ | CC-MAIN-2017-47 | refinedweb | 330 | 67.15 |
Back to Chapter 4 -- Index -- Chapter 6takes whatever ip points at, adds 1, and assigns the result to y, while
*ip += 1increments what ip points to, as do
++*ipcopies the contents of ip into iq, thus making iq point to whatever ip pointed to.
swap(a, b);where the swap function is defined as
void swap(int x, int y) /* W... | http://pc-freak.net/Ctut/chapter5.html | CC-MAIN-2017-22 | refinedweb | 1,759 | 60.95 |
From: Bronek Kozicki (brok_at_[hidden])
Date: 2005-11-04 05:06:22
David Abrahams <dave_at_[hidden]> wrote:
> Do you understand what _CRT_NOFORCE_MANIFEST really does?
No :-( I see this has been raised already on boost-testing
As it turned out in discussion with Martyn Lovell, mixing C headers with
_DEBUG and without th... | https://lists.boost.org/Archives/boost/2005/11/96345.php | CC-MAIN-2020-40 | refinedweb | 343 | 67.76 |
lp:~canonical-ci-engineering/uci-engine/doc-msging
Created by Vincent Ladeuil on 2015-01-13 and last modified on 2015-01-15
- Get this branch:
- bzr branch lp:~canonical-ci-engineering/uci-engine/doc-msging
Members of Canonical CI Engineering can upload to this branch. Log in for directions.
Branch merges
- Francis Gin... | https://code.launchpad.net/~canonical-ci-engineering/uci-engine/doc-msging | CC-MAIN-2019-47 | refinedweb | 296 | 60.82 |
import "golang.org/x/build/internal/lru"
Package lru implements an LRU cache.
Cache is an LRU cache, safe for concurrent access.
New returns a new cache with the provided maximum items.
Add adds the provided key and value to the cache, evicting an old item if necessary.
Get fetches the key's value from the cache. The o... | http://godoc.org/golang.org/x/build/internal/lru | CC-MAIN-2017-34 | refinedweb | 125 | 77.64 |
i have
#include <string.h>
but it doesn't recognize strtok()
This is a discussion on why does my compiler (borland 5) not recognize strtok()? within the C++ Programming forums, part of the General Programming Boards category; i have #include <string.h> but it doesn't recognize strtok()...
i have
#include <string.h>
but... | http://cboard.cprogramming.com/cplusplus-programming/10804-why-does-my-compiler-borland-5-not-recognize-strtok.html | CC-MAIN-2014-23 | refinedweb | 382 | 70.8 |
Created on 2003-11-10 11:32 by dcjim, last changed 2010-07-23 09:56 by mark.dickinson. This issue is now closed.
You can't use iterators on wekref dicts because items
might be removed from the dictionaries while iterating
due to GC.
I've attached a script that illustrates the bug with
Python 2.3.2. It doesn't matter wh... | http://bugs.python.org/issue839159 | crawl-003 | refinedweb | 619 | 76.22 |
HTML and Java: Two Sides of the Same Wicket Coin
By Geertjan on Jul 13, 2005
Each web page in Wicket is like a coin. It has two sides -- a Java class and an HTML file.
- Setting Up the Coin: HelloWorldApplication.java. The application object creates the application that contains the web pages. The application object is... | https://blogs.oracle.com/geertjan/entry/p_img_src_http_blogs1 | CC-MAIN-2014-15 | refinedweb | 420 | 66.33 |
After more tracking, I think the bug is on line 180 in
org.apache.cxf.jaxrs.model.URITemplate. The final group should be gotten by
the following statement:
String finalGroup = m.group(m.groupCount());
The original statement fails because it does not assume uri template could
also contains group in it.
Regards,
Rice
On ... | http://mail-archives.apache.org/mod_mbox/cxf-users/201007.mbox/%3CAANLkTinz3FvanEFPQ9WRZmnzNslDhND5MCgWeQLRb4ti@mail.gmail.com%3E | CC-MAIN-2017-51 | refinedweb | 302 | 70.29 |
B
backbone
(1)
A set of nodes and their interconnecting links providing the primary data path across a network.
(2)
A central high-speed computer network that connects smaller, independent networks.
background color
In the GDDM function, the first color of the display medium; for example, black on a display or white on... | http://www.redbooks.ibm.com/pubs/html/as400/v4r5/ic2924/info/RZAATMST05.HTM | crawl-002 | refinedweb | 4,630 | 55.84 |
linking to and from Tracy panel
Notice: This thread is very old.
I don't know if I'm not trying to do something impossible. Anyway, while coding some simple Tracy panel I stumbled upon two problems:
- In my implementation of \Tracy\IBarPanel I need to generate link
- I need Nette to catch that link pointing towards a p... | https://forum.nette.org/en/20567-linking-to-and-from-tracy-panel | CC-MAIN-2022-33 | refinedweb | 117 | 61.87 |
Flask 101: How to Add a Search Form
Flask 101: How to Add a Search Form
In this post, we take a look at how to add a search form to your Flask-based web application. Read on for the awesome tutorial.
Join the DZone community and get the full member experience.Join For Free
In our last article, we added a database to ou... | https://dzone.com/articles/flask-101-how-to-add-a-search-form?utm_medium=feed | CC-MAIN-2019-35 | refinedweb | 1,424 | 65.62 |
#include <gnet.h> enum GIPv6Policy;
voidgnet_ipv6_set_policy (GIPv6Policy policy); GIPv6Policy gnet_ipv6_get_policy (void);
The IPv6 module provides functions for setting and getting the "IPv6
policy". The IPv6 policy affects domain name resolution and server
binding. The possible policies are: IPv4 only, IPv6 only, IP... | http://developer.gnome.org/gnet/stable/gnet-ipv6.html | crawl-003 | refinedweb | 443 | 59.4 |
This class describes contact related information for each body in contact with other bodies in the world. More...
#include <drake/systems/controllers/qp_inverse_dynamics/qp_inverse_dynamics_common.h>
This class describes contact related information for each body in contact with other bodies in the world.
Each contact b... | http://drake.mit.edu/doxygen_cxx/classdrake_1_1systems_1_1controllers_1_1qp__inverse__dynamics_1_1_contact_information.html | CC-MAIN-2018-43 | refinedweb | 287 | 64 |
Follow @jongalloway
ASP.NET and Web Tools for Visual Studio 2013 Release NotesASP.NET and Web Tools for Visual Studio 2013 Release NotesSummary for lazy readers:
Top links:
Okay, for those of you who are still with me, let's dig in a bit.
I found Visual Studio 2013 to be a pretty fast install. According to Brian Harry'... | http://weblogs.asp.net/jgalloway/archive/2013/10/17/top-things-web-developers-should-know-about-the-visual-studio-2013-release.aspx | CC-MAIN-2014-10 | refinedweb | 3,523 | 73.17 |
Hey,
I am trying to link a button in a header to open a lightbox on hover to act as a customised drop down menu. I have created the button and "onMouseIn" function in the properties panel and entered the code:
import window from 'wix-window';
export function whatwedo_onMouseIn() {
window.openLightbox('lightbox1');
}
I ... | https://www.wix.com/corvid/forum/community-discussion/how-to-open-a-lightbox-with-a-button-in-a-header | CC-MAIN-2020-05 | refinedweb | 793 | 79.9 |
The commit candidate structure. More...
#include <svn_client.h>
The commit candidate structure.
In order to avoid backwards compatibility problems clients should use svn_client_commit_item3_create() to allocate and initialize this structure instead of doing so themselves.
Definition at line 464 of file svn_client.h.
An... | https://subversion.apache.org/docs/api/latest/structsvn__client__commit__item3__t.html | CC-MAIN-2017-47 | refinedweb | 365 | 58.38 |
[Previous] [Contents] [Next]
Comparison Operators
The set of relational operators referred to as comparison operators are less than (<), less than or equal to (<=), greater than (>), greater than or equal to (>=), equal to (==), and not equal to (!=). The meaning of each of these operators is obvious when working with ... | http://www.brainbell.com/tutors/C_Sharp/Comparison_Operators.htm | crawl-002 | refinedweb | 688 | 58.69 |
The revolutionary project management tool is here! Plan visually with a single glance and make sure your projects get done.
Enumeration e = t.elements(); while(e.hasMoreElements()){ System.out.println((String)e.nextElement()); }
import java.util.Enumeration; import java.util.Hashtable;
Are you are experiencing a simila... | https://www.experts-exchange.com/questions/26606948/How-to-print-out-all-elements-in-HashTable.html | CC-MAIN-2018-13 | refinedweb | 309 | 63.76 |
Creating minimal ASP.NET Core web application
By its nature ASP.NET Core application is .NET Core command-line application with some web sites stuff that is set up when application starts. Although Visual Studio has ASP.NET Core web site template that comes with simple default web site and start-up class it’s possible ... | https://gunnarpeipman.com/aspnet/minimal-aspnet-core-app/ | CC-MAIN-2019-30 | refinedweb | 374 | 52.66 |
By default, using a class as a static extension brings all of its static methods into the context, allowing them to be used as extensions of the appropriate types. In certain situations, the class can provide other static methods which are not intended for static extension. To make sure they do not interfere with the p... | https://haxe.org/manual/lf-static-extension-metadata.html | CC-MAIN-2019-39 | refinedweb | 233 | 51.38 |
Python’s “batteries included” nature makes it easy to interact with just about anything… except speakers and a microphone! As of this moment, there still are not standard libraries which which allow cross-platform interfacing with audio devices. There are some pretty convenient third-party modules, but I hope in the fu... | https://www.swharden.com/wp/category/electronics/qrss-slow-speed-fsk-cw-and-mept-manned-experimental-propagation-transmitter/ | CC-MAIN-2020-10 | refinedweb | 2,106 | 57.06 |
As noted in the comments here, the main bottleneck in the Python matrix solver functions presented recently was not in the data transfer from Excel, but rather in the creation of the Numpy arrays for very long lists of short lists (see this Stackoverflow thread for more details of the background). It seems there is a s... | https://newtonexcelbach.com/2014/06/08/data-transfer-to-python-update/ | CC-MAIN-2020-40 | refinedweb | 1,167 | 70.73 |
Hey Numpy people!
Do anyone know how to disable underflow exception errors in Numeric?
I have a lot of these in my code. It is now a very important problem in my calculations. The only solution I see is to make a for loop and make the arithmetic in python instead of Numeric.
Thanks for your help,
Jean-Bernard
Python 2.... | https://mail.python.org/archives/list/numpy-discussion@python.org/message/M46XUSOO7TSQIKRQ5W2PLT23JRIXU6ZB/ | CC-MAIN-2022-33 | refinedweb | 122 | 70.39 |
Cameron Laird revisits the practice and concepts of multithreaded programming in Java, this time focusing on more intermediate programming solutions for today's distributed computing problems. Build on what you know about the
java.util.concurrent package while learning techniques to improve inter-thread communication a... | http://www.javaworld.com/article/2078679/java-concurrency/modern-threading-for-not-quite-beginners.html | CC-MAIN-2015-32 | refinedweb | 1,933 | 51.34 |
IRC log of sml on 2008-10-16
Timestamps are in UTC.
18:02:19 [RRSAgent]
RRSAgent has joined #sml
18:02:19 [RRSAgent]
logging to
18:02:23 [johnarwe_]
johnarwe_ has joined #sml
18:02:24 [Zakim]
Zakim has joined #sml
18:03:00 [johnarwe_]
zakim, this is sml
18:03:00 [Zakim]
ok, johnarwe_; that matches XML_SMLWG()2:00PM
18:... | http://www.w3.org/2008/10/16-sml-irc | CC-MAIN-2016-40 | refinedweb | 1,926 | 74.49 |
Anyone know how to K64F Flash programming ?
Topic last updated 26 Mar 2015, by 13 replies.
Thank you everyone. <<quote Sissors>> I haven't checked it on the K64F, but this should work on it too to write to the flash memory: <</quote>> It is very good. I will try immediately. <<quote Kojto>> I believe Erik is right, his... | https://developer.mbed.org/forum/platform-38-FRDM-K64F-community/topic/5176/?page=1 | CC-MAIN-2017-13 | refinedweb | 702 | 57.16 |
Sort and store files with same extension in Python
Suppose, you have a folder with hundreds of files that are not managed properly. Hence, creating a mess and now you want to arrange them in different folders. So, to store files with the same extension you just need this Python program. Then it will do your work in sec... | https://www.codespeedy.com/sort-and-store-files-with-same-extension-in-python/ | CC-MAIN-2020-34 | refinedweb | 624 | 71.44 |
On Jan 17, 3:55 pm, Steven D'Aprano <st... at REMOVE-THIS- cybersource.com.au> wrote: > Both very good points, but consider that you're not comparing apples with > apples. > > >>> __import__("os", fromlist=["system"]) > <module 'os' from '/usr/lib/python2.5/os.pyc' > >>> system > Traceback (most recent call last): > Fi... | https://mail.python.org/pipermail/python-list/2009-January/520625.html | CC-MAIN-2014-10 | refinedweb | 184 | 63.39 |
Can't add my own method to my Analyzer subclass - Metaclass behaviour?
- Richard O'Regan last edited by Richard O'Regan
Hey guys,
So I'm working on another Analyzer to calculate basic statistics. It works great, just when I move some of the code out of notify_trade() to a new method I defined called 'calculate_statisti... | https://community.backtrader.com/topic/631/can-t-add-my-own-method-to-my-analyzer-subclass-metaclass-behaviour/1 | CC-MAIN-2021-25 | refinedweb | 427 | 53.21 |
Terence Parr
Last updated: August 30, 2006
Translations:.
This lecture takes you through the basic commands and then shows you how to combine them in simple patterns or idioms to provide sophisticated functionality like histogramming. This lecture assumes you know what a shell is and that you have some basic familiarit... | https://www.cs.usfca.edu/~parrt/course/601/lectures/unix.util.html | CC-MAIN-2020-16 | refinedweb | 4,925 | 65.62 |
MASTER THESIS - FALL 2016 Tifig Supervisor: Prof. Peter Sommerlad Author: Toni Suter March 20, 2017 Abstract In 2014, Apple introduced a new programming language called Swift which replaced Objective-C as the default programming language to develop applications for Apple’s platforms. Since then, the language has evolve... | https://manualzz.com/doc/48567479/master-thesis---hsr---institutional-repository | CC-MAIN-2018-30 | refinedweb | 42,223 | 55.84 |
Flask-MongoAlchemy adds support for MongoDB on Flask using MongoAlchemy. Source code and issue tracking are available at Github. If you want to get started, check out the example source code.
You can easily install using pip:
$ [sudo] pip install Flask-MongoAlchemy
If you prefer, you may use the latest source version b... | https://pythonhosted.org/Flask-MongoAlchemy/ | CC-MAIN-2022-05 | refinedweb | 927 | 58.79 |
iFontDeleteNotify Struct Reference
[2D]
Called before a font is deleted. More...
#include <ivideo/fontserv.h>
Inheritance diagram for iFontDeleteNotify:
Detailed Description
Called before a font is deleted.
You can insert any number of callback routines into the font so that when the font will be destroyed all of them ... | http://www.crystalspace3d.org/docs/online/new0/structiFontDeleteNotify.html | CC-MAIN-2014-10 | refinedweb | 148 | 58.79 |
To get a job as a front end developer, we need to nail the coding interview.
In this article, we’ll look at some quick warmup questions that everyone should know.
Write a function the reverses a string
We can use JavaScript’s string and array methods to reverse a string easily.
To do this, we can write the following fu... | https://practicaldev-herokuapp-com.global.ssl.fastly.net/aumayeung/basic-javascript-interview-exercises-3306 | CC-MAIN-2021-10 | refinedweb | 729 | 74.59 |
In the first part of this three-part tutorial series, we saw how to lay out the template structure in a Flask-based application using Jinja2. We also saw how blocks can be used to leverage the inheritance in templates. In this part, we will cover how to write a custom filter, a custom context processor, and a macro.
Ge... | https://code.tutsplus.com/tutorials/templating-with-jinja2-in-flask-advanced--cms-25794 | CC-MAIN-2018-22 | refinedweb | 940 | 53.51 |
Page i
Using MPI-2
Page ii
Scientific and Engineering Computation
Janusz Kowalik, editor
Data-Parallel Programming on MIMD Computers,
Philip J. Hatcher and Michael J. Quinn, 1991
Unstructured Scientific Computation on Scalable Multiprocessors,
edited by Piyush Mehrotra, Joel Saltz, and Robert Voigt, 1992
Parallel Compu... | https://www.techylib.com/en/view/footballsyrup/using_mpi_portable_parallel_programming_with_the_..._biblioteca_c | CC-MAIN-2018-30 | refinedweb | 14,221 | 54.12 |
6.5 Proxies
In the final section of this chapter, we discuss proxies. You can use a proxy to create, at runtime, new classes that implement a given set of interfaces. Proxies are only necessary when you don’t yet know at compile time which interfaces you need to implement. This is not a common situation for application... | http://www.informit.com/articles/article.aspx?p=2470127&seqNum=5 | CC-MAIN-2019-13 | refinedweb | 1,245 | 56.35 |
Given or right or diagonally down towards the right. Find out maximum amount of gold he can collect.
Examples:
Input : mat[][] = {{1, 3, 3}, {2, 1, 4}, {0, 6, 4}}; Output : 12 {(1,0)->(2,1)->(2,2)} Input: mat[][] = { {1, 3, 1, 5}, {2, 2, 4, 1}, {5, 0, 2, 3}, {0, 6, 1, 2}}; Output : 16 (2,0) -> (1,1) -> (1,2) -> (0,3) O... | https://www.geeksforgeeks.org/gold-mine-problem/ | CC-MAIN-2018-09 | refinedweb | 552 | 68.64 |
Another coding horror story was reported in the microsoft.public.dotnet.xml newsgroup:.
Cool. This is just a remainder for those who use XSLT scripting (msxsl:script) in .NET: watch out, this feature can be pure evil if used unwisely - it leaks memory and there is nothing you can do about it.
The problem is that when X... | http://www.tkachenko.com/blog/archives/000620.html | crawl-002 | refinedweb | 1,347 | 56.96 |
People watching this port, also watch: gstreamer1-plugins-pango, xerces-c3, py37-pycparser, libkvkontakte, font-misc-meltho
make generate-plist
cd /usr/ports/lang/gcc9/ && make install clean
pkg install gcc9
Deleted ports which required this port:
Number of commits found: 16
Improve upon revision 532950 by passing GCC ... | https://www.freshports.org/lang/gcc9 | CC-MAIN-2020-45 | refinedweb | 905 | 55.13 |
This blog series discusses C4C tenants from the aspect of how many you need and examples of recommended tenant landscapes. The blog series includes the following topics:
- Determine how many tenants you need
- Tenant landscape use case examples
- Considerations for tenant copies
- Tenant landscape recommendation with S... | https://blogs.sap.com/2015/07/07/sap-cloud-for-customer-tenant-landscapes-sdk-deployment-recommendations/ | CC-MAIN-2018-39 | refinedweb | 1,836 | 61.87 |
C++ class wouldn't build in bare bone QML application
I have a simple bare bone QML application and I just want to add a c++ class and use it from QML but I get error and it wouldn't even build. Here is the code.
@#include <QGuiApplication>
#include <QQmlApplicationEngine>
#include "mymodel.h"
int main(int argc, char *... | https://forum.qt.io/topic/49718/c-class-wouldn-t-build-in-bare-bone-qml-application | CC-MAIN-2017-43 | refinedweb | 347 | 58.89 |
NAME
VOP_REVOKE — revoke access to a device and its aliases
SYNOPSIS
#include <sys/param.h> #include <sys/vnode.h> int VOP_REVOKE(struct vnode *vp, int flags);
DESCRIPTION
VOP_REVOKE() will administratively revoke access to the device specified by vp, as well as any aliases created via make_dev_alias(9). Further file o... | http://manpages.ubuntu.com/manpages/precise/man9/VOP_REVOKE.9freebsd.html | CC-MAIN-2016-44 | refinedweb | 114 | 56.15 |
I want to fetch the stock price from web site:
For example stock price appears as "S&P BSE :25,489.57".I want to fetch the numeric part of it as "25489.57"
This is the code i have written as of now.It is fetching the entire div in which this amount appears but not the amount.
Below is the code:
from bs4 import Beautifu... | https://codedump.io/share/IweWLP1zrjA2/1/extract-using-beautiful-soup | CC-MAIN-2017-04 | refinedweb | 577 | 74.49 |
A python logrotater
Project description
This library is a simple logrotater (or file rotater). Simply pass in the path to the main logfile and this library will rotate all the logs by an increment of 1.
Example:
import logrotater
rotater = logrotater.LogRotate(prefix=’/home/kyle/p4.log’, verbose=True)
rotater.rotate()
... | https://pypi.org/project/logrotater/ | CC-MAIN-2020-24 | refinedweb | 126 | 71.61 |
This site uses strictly necessary cookies. More Information
Since updating Unity from 2019.2 to 2019.3, I am unable to compile the project code in Visual Studio. It still compiles and runs in the Unity Editor but Visual Studio gives hundreds of missing reference errors ("The type or namespace name 'XXX' could not be fo... | https://answers.unity.com/questions/1728809/namespace-references-keep-breaking-in-visual-studi.html?sort=oldest | CC-MAIN-2021-21 | refinedweb | 562 | 74.39 |
Matt Powell
Microsoft Corporation
May 2004
Applies to:
Microsoft® .NET Framework
Microsoft® SOAP Toolkit
Microsoft® Visual Basic®
Web Services Enhancements for Microsoft .NET
Summary: Take the next step in developing Web services by using managed code in the .NET Framework, and see how to incrementally transition your ... | http://msdn.microsoft.com/en-us/library/ms995793.aspx | crawl-002 | refinedweb | 4,658 | 56.15 |
This Comprehensive Java Graph Tutorial Explains Graph Data Structure in detail. It includes how to Create, Implement, Represent & Traverse Graphs in Java:
A graph data structure mainly represents a network connecting various points. These points are termed as vertices and the links connecting these vertices are called ... | https://www.softwaretestinghelp.com/java-graph-tutorial/ | CC-MAIN-2021-17 | refinedweb | 3,786 | 65.62 |
Hello everyone.
I'm trying to make a planet out of a normalized cube. I've successfully normalized the cube into a sphere by having 6 different meshes, one for each side of the cube, by normalizing the vertices.
From my point of view, using this method, and considering the (approx) 64000 vertices limit for each mesh, t... | https://answers.unity.com/questions/1077976/normalizing-several-meshes-towards-a-sphere.html?childToView=1078038 | CC-MAIN-2020-05 | refinedweb | 1,092 | 57.98 |
- Advertisement
mdiasMember
Content count882
Joined
Last visited
Community Reputation823 Good
About mdias
- RankAdvanced Member
Game engine or programming luanguage?
mdias replied to FatDoggy's topic in For Beginners's ForumI think this is something that people either don't know about or just plain ignore when trying t... | https://www.gamedev.net/profile/38008-mdias/ | CC-MAIN-2018-26 | refinedweb | 3,448 | 50.36 |
In this tutorial, I will show you how an accelerometer/gyroscope works with an Arduino UNO. In particular, I will use the MPU-6050 sensor.
The MPU-6050 sensor contains, in a single integrated, a 3-axis MEMS accelerometer and a 3-axis MEMS gyroscope. With the gyroscope, we can measure the angular acceleration of a body ... | https://technicalustad.com/control-mpu-6050-gy-521-with-arduino-and-servo-motors/ | CC-MAIN-2021-31 | refinedweb | 699 | 50.57 |
I: def __iter__(self): return (self.__getitem__(x) for x in itertools.count()) Now your class will be Iterable in the abc sense, and no longer relies on the sequence protocol Best, Neil On Fri, Sep 20, 2013 at 10:41 PM, Stephen J. Turnbull <stephen at xemacs.org>wrote: > Tim Delaney writes: > > > Also, pathological is ... | https://mail.python.org/pipermail/python-ideas/2013-September/023312.html | CC-MAIN-2014-15 | refinedweb | 224 | 57.98 |
Web applications (or "Web apps") let you bundle a set of servlets, JSP pages, tag libraries, HTML documents, images, style sheets, and other Web content into a single collection that can be used on any server compatible with servlet version 2.2 or later (JSP 1.1 or later). When designed carefully, Web apps can be moved... | http://www.informit.com/articles/article.aspx?p=26138&seqNum=2 | CC-MAIN-2017-22 | refinedweb | 2,660 | 50.23 |
Flatten Schema: Resolved some problems that resulted in invalid schema imports and invalid namespace prefixes in flattened schemas.
XProc Transformation: Fixed some UI issues and made small UI improvements in the XProc transformation scenario configuration.
XSLT editing: Searching for function declarations/references a... | http://www.oxygenxml.com/build_history_15_1.html | CC-MAIN-2018-09 | refinedweb | 144 | 54.22 |
I'm in the process of making a Python-based personal assistant/question answerer, which, in my wildest dreams, will rival the inevitable "Siri For Mac". However, as of now, it requires you type text into an infinite loop of raw_inputs, and processes the text each time. But if this is ever to be useful to, well, people,... | https://codedump.io/share/Nvl6Mf77Alv6/1/using-voice-instead-of-39rawinput39-in-python-for-mac-os-x | CC-MAIN-2016-44 | refinedweb | 258 | 75.91 |
Hello,
This is my first post anywhere on CSS-Tricks.com. (1) I searched this CSS forum using a few different search phrases but did not find anything matching my question. (2) I read the instructions on how to ask a good question. One recommendation is to provide a link. I’ll refrain from that just yet as the site owne... | http://css-tricks.com/forums/topic/css-copied-from-a-site-is-formatted-horribly-how-can-i-snap-it-into-something-legible/ | CC-MAIN-2015-32 | refinedweb | 286 | 66.03 |
Cerebral 2.
The status quo
In the JavaScript community today there are many frameworks to choose from, some more ambitious than others. Angular has now become an application platform, Ember has become a whole organization around developing applications with their framework. Vue also has a huge userbase. Even old grandp... | https://christianalfoni.herokuapp.com/articles/2017_03_19_Cerebral-2 | CC-MAIN-2019-35 | refinedweb | 3,276 | 63.39 |
Hadoop – accessible despite hardware failure due to multiple copies of data. If a machine or any hardware crashes, then data will be accessed from another path.
Hadoop is highly scalable, as the new hardware can be easily added to the node. Hadoop also provides horizontal scalability which means nodes can be added on t... | https://www.datasciencecentral.com/profiles/blogs/limitations-of-hadoop-how-to-overcome-hadoop-drawbacks | CC-MAIN-2019-09 | refinedweb | 1,547 | 60.55 |
I've seen this problem dozens of times, so it must be a common problem - just not with a problem solution. I have a basic HTML page with a swf that works fine locally, but not after uploading the files to the server. I've moved over the HTML, swf, flv and AC_RunActiveContent.js files to the appropriate locations. Is th... | https://forums.adobe.com/thread/422542 | CC-MAIN-2018-30 | refinedweb | 475 | 72.87 |
Device and Network Interfaces
- Generic SCSI device driver
#include <sys/scsi/targets/sgendef.h>
sgen@target,lun:<devtype>
The sgen driver exports the uscsi(7I) interfaces to user processes. The sgen driver can be configured to bind to SCSI devices for which no system driver is available. Examples of such devices inclu... | http://docs.oracle.com/cd/E23824_01/html/821-1475/sgen-7d.html | CC-MAIN-2014-23 | refinedweb | 1,673 | 55.24 |
In deep learning, the goal is to find the optimum weights of the model to get the desired output. In transfer learning, the network is initialized using the best pre-trained weights. The question is how do you initialize the weights for a non-pretrained model?
Training algorithms for deep learning models are usually it... | https://kharshit.github.io/blog/2019/02/08/weight-initialization-in-neural-nets | CC-MAIN-2020-16 | refinedweb | 377 | 58.18 |
Technical Articles
Handling text files in Groovy script of CPI (SAP Cloud Platform Integration).
Introduction:
Handling huge text files (which are either csv or fixed length)is a challenge in CPI (SAP Cloud Platform Integration) .
Mostly before converting them to xml required for mapping, we do read them via groovy scr... | https://blogs.sap.com/2019/07/15/handling-text-files-in-groovy-script-of-cpi-sap-cloud-platform-integration./ | CC-MAIN-2022-21 | refinedweb | 1,350 | 66.84 |
XML - Managing Data Exchange/XHTML
From Wikibooks, the open-content textbooks collection
[edit] Introduction.
[edit] The Evolution of XHTML.
[edit] So What is XHTML?.
[edit] XHTML Document Structure
At a minimum, an XHTML document must contain a DOCTYPE declaration and four elements: html, head, title, and body:
The op... | http://en.wikibooks.org/wiki/XHTML_%28XML%29 | crawl-002 | refinedweb | 988 | 58.38 |
tag:blogger.com,1999:blog-83600056549057584962018-03-06T00:38:56.196-08:00ProgrammerchoiceSathishnoreply@blogger.comBlogger2125tag:blogger.com,1999:blog-8360005654905758496.post-77147041504261099422010-07-04T12:29:00.000-07:002010-07-04T13:19:32.677-07:00Code ReusabilityHi Guys,<br /><br />I went to bed but I couldn't ... | http://programmerchoice.blogspot.com/feeds/posts/default | CC-MAIN-2018-22 | refinedweb | 1,082 | 55.64 |
-
arghfl.
Not to mention, StringUtils.isBlank() would work fine....
Admin
The first version of the method had a real bug. The method did not do what its name implied, but that's no WTF.
The second version of the method is still no good class design, but it ain't no WTF either, because there are some scenarios where yo... | https://thedailywtf.com/articles/comments/Validating_Nothing | CC-MAIN-2018-22 | refinedweb | 1,907 | 75.1 |
Crypto¶
Vapor includes SwiftCrypto which is a Linux-compatible port of Apple's CryptoKit library. Some additional crypto APIs are exposed for things SwiftCrypto does not have yet, like Bcrypt and TOTP.
SwiftCrypto¶
Swift's
Crypto library implements Apple's CryptoKit API. As such, the CryptoKit documentation and the WWD... | https://docs.vapor.codes/4.0/crypto/ | CC-MAIN-2021-10 | refinedweb | 589 | 58.79 |
Hi all,
I’m looking to rename a directory as i copy it from one location to another. Have searched its easy for files but not directories i guess?
any help is with out a doubt very appreciated.
thanks
Hi all,
Directory.Copy+ from BattleBIM copies the contents of a directory to a new location, so you would just specify ... | https://forum.dynamobim.com/t/rename-directory/29687 | CC-MAIN-2020-50 | refinedweb | 107 | 69.48 |
Sun, 08/21/2011 - 05:55
Forums:
I need a method to get the minimum distance between all the vertices in a geometry and write a one with two "for" loops. It works well when the geometry is simple, whereas it takes too much time if there are thousands of vertices.
Thus I want some help in this: if there is a simpler way ... | https://dev.opencascade.org/content/there-fast-way-get-minimum-distance-between-two-vertices-geometry | CC-MAIN-2021-17 | refinedweb | 950 | 68.87 |
Hi,
is it somehow possible to define different code for the host and the device in a host device function?
Here’s an example:
__host__ __device__ int test() { #ifdef HOST return 0; #else return 1; #endif }
I know, this function is somewhat stupid. It is only used to explain, what I would like to do.
As far as I know, t... | https://forums.developer.nvidia.com/t/different-code-for-host-and-device/18166 | CC-MAIN-2022-27 | refinedweb | 103 | 67.69 |
contrib/contrib.mac - the file responsible for loading other macro files
This file is included by default in tred.mac and serves as a wrapper for other contributed macro package inclusions.
Besides it provides file_opened_hook and file_resumed_hook in the package TredMacros. These hooks should not be overriden by other... | http://ufal.mff.cuni.cz/~pajas/tred/contrib.html | crawl-003 | refinedweb | 822 | 56.05 |
String – as I understand in this context, this is a class that inherits from the Object.
But if I need to add parameters there, or I don’t know how to correctly say variables chtoli, then how can I do it?
Found several solutions:
ArrayList & lt; String & gt; list = new ArrayList & lt; String & gt; (); list.add (textvie... | https://computicket.co.za/java-add-values-%E2%80%8B%E2%80%8Bto-list-string/ | CC-MAIN-2022-27 | refinedweb | 570 | 74.08 |
Em 04-11-2010 00:15, Arnaud Lacombe escreveu:> Hi,> > On Wed, Nov 3, 2010 at 11:19 PM, Mauro Carvalho Chehab> <mchehab@redhat.com> wrote:>> Em 03-11-2010 22:31, Arnaud Lacombe escreveu:>>> Hi,>>>>>> On Wed, Nov 3, 2010 at 6:29 PM, Mauro Carvalho Chehab>>> <mchehab@redhat.com> wrote:>>>> Em 09-10-2010 18:40, Michal Mare... | https://lkml.org/lkml/2010/11/4/108 | CC-MAIN-2015-27 | refinedweb | 759 | 55.74 |
Notifications
You’re not receiving notifications from this thread.
Best way to grant a user specific permissions
Trying to determine which way I should handle this.
Normal User adds a post to our system, he then has the ability to update and delete this post. In the future he may assign other users the ability to edit,... | https://gorails.com/forum/best-way-to-grant-a-user-specific-permissions | CC-MAIN-2022-21 | refinedweb | 399 | 68.81 |
#include "avfilter.h"
Go to the source code of this file.
Definition in file buffersink.h.
Tell av_buffersink_get_buffer_ref() to read video/samples buffer reference, but not remove it from the buffer.
This is useful if you need only to read a video/samples buffer, without to fetch it.
Definition at line 64 of file buf... | http://ffmpeg.org/doxygen/0.10/buffersink_8h.html | CC-MAIN-2013-48 | refinedweb | 165 | 72.83 |
fpathconf, pathconf - get configuration values for files
Synopsis
Description
Notes
Colophon
#include <unistd.h>
long fpathconf(int fd, int name);
long pathconf:
The limit is returned, if one exists. If the system does not have a limit for the requested resource, -1 is returned, and errno is unchanged. If there is an e... | http://manpages.sgvulcan.com/pathconf.3.php | CC-MAIN-2017-09 | refinedweb | 139 | 65.42 |
How do I print asterisks?
Printing asterisk
Page 1 of 1
How do i print asterisk ?
2 Replies - 9898 Views - Last Post: 06 May 2010 - 04:29 PM
#1
Printing asterisk
Posted 06 May 2010 - 03:42 PM
Replies To: Printing asterisk
#2
Re: Printing asterisk
Posted 06 May 2010 - 03:45 PM
If you are using c++ try using std::cout
#3... | http://www.dreamincode.net/forums/topic/172362-printing-asterisk/ | CC-MAIN-2017-09 | refinedweb | 131 | 64.04 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.