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 |
|---|---|---|---|---|---|
Add Two PyTorch Tensors Together
Add two PyTorch Tensors together by using the PyTorch add operation
< > Code:
Transcript:
This video will show you how to add two PyTorch tensors together by using the PyTorch add operation.
First, we import PyTorch.
import torch
Then we print the PyTorch version we are using.
print(tor... | https://aiworkbox.com/lessons/add-two-pytorch-tensors-together | CC-MAIN-2020-40 | refinedweb | 382 | 68.77 |
The author selected the Mozilla Foundation to receive a donation as part of the Write for DOnations program.
Introduction
Ansible is an agentless configuration management tool that uses YAML templates to define a list of tasks to be performed on hosts. In Ansible, roles are a collection of variables, tasks, files, temp... | https://www.xpresservers.com/tag/ci/ | CC-MAIN-2022-27 | refinedweb | 3,351 | 57.77 |
The Oracle OCCI Fx Kit includes two Fx for the FxEngine framework from kit provides the tools needed to process ORACLE data in a data flow.
+ Added data append + Loop on vector data + Updated IFxPinCallback::FxPin
Added "FEF" namespace.
Updated FxDataViewerRnd: - Fixed column insert
Updated FxDataViewerRnd: - Added Ctr... | http://sourceforge.net/projects/oracleoccifxkit/ | crawl-002 | refinedweb | 106 | 52.97 |
# Boring preliminaries %pylab inline import re import math import string from collections import Counter from __future__ import division
Populating the interactive namespace from numpy and matplotlib
<center>
<h1>Statistical Natural Language Processing in Python.
or
How To Do Things With Words. And Counters.
or
Everyth... | http://nbviewer.ipython.org/url/norvig.com/ipython/How%20to%20Do%20Things%20with%20Words.ipynb | CC-MAIN-2015-35 | refinedweb | 5,438 | 53.31 |
Running Queries
Queries and Results
An overview of common concepts that you will need to understand in order to use the Query service.
Getting System Information
N1QL has a system catalog that stores metadata about a database. The system catalog is a namespace called system.
N1QL Auditing
N1QL-related activities can be... | https://docs.couchbase.com/server/current/n1ql/n1ql-intro/index.html | CC-MAIN-2020-34 | refinedweb | 109 | 64.3 |
0 replies on
1 page.
This blog is about static code in Java and enclosing of constructor so it can never be instantiated and using what I call Static classes. I often wanted to create classes that weren't instantiated and I wasn't sure how to do this until I read Effective Java where one of the points it talks about is... | http://www.artima.com/forums/flat.jsp?forum=121&thread=159657 | CC-MAIN-2017-30 | refinedweb | 948 | 63.22 |
expo-sharingallows you to share files directly with other compatible applications.
🚨Web browser support: expo-sharing for web is built on top of the Web Share API, which still has very limited browser support. Be sure to check that the API can be used before calling it by using
Sharing.isAvailableAsync().
💡HTTPS requ... | https://docs.expo.io/versions/v36.0.0/sdk/sharing/ | CC-MAIN-2020-40 | refinedweb | 168 | 65.32 |
I have an assignment to make a text-based snakes and ladders game using Dev-C++. I have so far made a splash screen and a menu (with colours and sounds, pretty cool) using the winmm.a library and the switch/case construct. I have even been able to get player names with a simple character array. However, I have no idea ... | https://www.daniweb.com/programming/software-development/threads/123662/fun-but-hard-work | CC-MAIN-2018-30 | refinedweb | 334 | 73.71 |
Hi, so the exercise I am supposed to do is :
"If we list all the natural numbers below 10 that are multiples of 3 or 5, we get 3, 5, 6 and 9. The sum of these multiples is 23.
Find the sum of all the multiples of 3 or 5 below 1000."
So, the question is pretty simply, nothing hard to understand. Here is the function I d... | https://www.daniweb.com/programming/software-development/threads/381066/what-is-wrong-with-this-why-isn-t-it-working-algorithm-not-compiler-error | CC-MAIN-2017-09 | refinedweb | 274 | 59 |
Starting Development with SharePoint 2010
- Understanding SharePoint Solutions as Deployment Units
- Introducing SharePoint Features
- Debugging SharePoint Solutions
- Summary
- Q&A
Hour 1, “Introducing SharePoint 2010,” gave you an overview of SharePoint 2010, and Hour 2, “Understanding the SharePoint 2010 Architectur... | http://www.informit.com/articles/article.aspx?p=1848179&seqNum=4 | CC-MAIN-2016-44 | refinedweb | 1,490 | 54.83 |
Autoloading and objects. (autoloading objects into namespaces)
Autoloading and objects. (autoloading objects into namespaces)
Here.
- Join Date
- Mar 2007
- Location
- Gainesville, FL
- 37,948
- Vote Rating
- 951
ComponentLoader has a load event just like a Store that you could put the response onto a namespace. Or you... | http://www.sencha.com/forum/showthread.php?153958-Autoloading-and-objects.-(autoloading-objects-into-namespaces)&p=671764 | CC-MAIN-2015-14 | refinedweb | 193 | 64 |
Introducing Ext JS 4.2
.
Learn the latest about Ext JS and HTML5/JavaScript for three intensive days with 60+ sessions, 3+ parties and more at SenchaCon 2013. Register today!
Neptune
With Ext JS 4.2, we are excited to welcome “Neptune” to the family as an official, fully supported theme. Building applications that have... | https://www.sencha.com/blog/introducing-ext-js-4-2/ | CC-MAIN-2014-15 | refinedweb | 1,896 | 63.7 |
How can I make as "perfect" a subclass of dict as possible? The end goal is
to have a simple dict in which the keys are lowercase.
It would seem that should be some tiny set of primitives I can override to make
this work, but all my research and attempts have made it seem like this isn't
the case:
__getitem__
__setitem... | https://codedump.io/share/evO3jwsz3TUM/1/python-how-to-quotperfectlyquot-override-a-dict | CC-MAIN-2017-26 | refinedweb | 331 | 57.06 |
Similar to variables of built-in types, you can also pass structure variables to a function.
Passing structs to functions
We recommended you to learn these tutorials before you learn how to pass structs to functions.
Here's how you can pass structures to a function
#include <stdio.h> struct student { char name[50]; int... | https://cdn.programiz.com/c-programming/c-structure-function | CC-MAIN-2020-24 | refinedweb | 514 | 58.79 |
Control.Distributed.Process.Management
Description
- Management Extensions API
This module presents an API for creating Management Agents: special processes that are capable of receiving and responding to a node's internal system events. These system events are delivered by the management event bus: An internal subsyst... | https://hackage.haskell.org/package/distributed-process-0.7.4/docs/Control-Distributed-Process-Management.html | CC-MAIN-2020-24 | refinedweb | 2,037 | 51.89 |
iParticleEmitter Struct Reference
[Mesh plugins]
A particle emitter. More...
#include <imesh/particles.h>
Detailed Description
A particle emitter.
The particle emitters are responsible for adding new particles and setting up their initial state.
Definition at line 255 of file particles.h.
Member Function Documentation
... | http://www.crystalspace3d.org/docs/online/api-2.0/structiParticleEmitter.html | CC-MAIN-2014-10 | refinedweb | 297 | 61.53 |
Details
- Type:
Bug
- Status: Closed
- Priority:
Major
- Resolution: Fixed
- Affects Version/s: 2.1.6
-
- Component/s: Core Actions
- Labels:None
- Environment:
Struts 2.1.6
- Flags:Patch
Description
So, here is a bit of a background on the why of that bug.
I' m working for the canadian governement, and there is a stro... | https://issues.apache.org/jira/browse/WW-3090 | CC-MAIN-2018-09 | refinedweb | 366 | 63.59 |
Hi ,
Anyone Please post some tricky questions on C or Links for C quiz..
It will be helpful 4 me..
Thanks in Advance..
Hi ,
Anyone Please post some tricky questions on C or Links for C quiz..
It will be helpful 4 me..
Thanks in Advance..
But the first one is definitely not good:
These definitely do not have the right a... | http://cboard.cprogramming.com/c-programming/111601-quiz-c-printable-thread.html | CC-MAIN-2014-41 | refinedweb | 331 | 75.61 |
How many neurons can I fully connect from one to another using Nengo Loihi?
At least for the v0.4.0 emulator, the answer seems to depend on whether I partition the ensemble into a bunch of sub-ensembles ($d$ ensembles, each containing $n$ neurons), even though the total number of neurons ($nd$) and total number of conn... | https://forum.nengo.ai/t/how-many-neurons-can-be-fully-connected/706 | CC-MAIN-2018-51 | refinedweb | 321 | 55.03 |
Function Templates
Function templates are used to reduce the repeated code. I want to make you clear about function templates by giving a small example here. Functions abs() and fabs() are used to find the absolute value or non-negative value of a integer and floating point variable respectively. To calculate the absol... | http://www.programming-techniques.com/2011/11/c-tutorial-function-templates.html | CC-MAIN-2016-50 | refinedweb | 306 | 50.57 |
.NET and Other Interesting StuffTheFlashFlashFlashYou.ToolsY.
Good article. I know that you were responding to the "Flash is dead" article, but how about you take a 180 and try to put forth Flash's strong points? Is adoption really the only thing in favor or Flash? Is there something you can do in Flash and not in Silv... | http://weblogs.asp.net/jezell/archive/2007/05/03/silverlight-vs-flash-the-developer-story.aspx | crawl-002 | refinedweb | 29,394 | 73.47 |
Here is the program I created!
Don't forget to add -lpthread in the linker options if you are running this!
Code: Select all
#include <stdio.h> #include <pthread.h> typedef struct { int start; int end; int step; }data; int isPrime(long int number) { long int i; for(i=2; i<number; i++) { if(number % i == 0) { //not a pr... | https://lb.raspberrypi.org/forums/viewtopic.php?p=838760 | CC-MAIN-2020-16 | refinedweb | 312 | 70.73 |
- Advertisement
minamurMember
Content count41
Joined
Last visited
Community Reputation140 Neutral
About minamur
- RankMember
3D objects toward a flat 2D tiled scene.
minamur replied to Alpha Brain's topic in For Beginners's Forumi know in maya you can load a picture that will display in the background, then you could l... | https://www.gamedev.net/profile/87725-minamur/ | CC-MAIN-2018-39 | refinedweb | 1,475 | 70.84 |
In this blog, we will be scheduling jobs based on time using Akka scheduler. The jobs will be scheduled based on IST(Indian Standard Time). It is basically an alternative to Quartz Scheduler to some extent which is also used to schedule the time-based job. We can schedule jobs at any point of time i.e schedule jobs bas... | https://blog.knoldus.com/2017/02/10/an-alternative-to-akka-quartz-time-timezoneist-and-others-based-jobs-using-akka-scheduler/ | CC-MAIN-2017-43 | refinedweb | 544 | 50.23 |
Python.
It’s difficult to talk about command line processing without understanding how command line arguments are exposed to your Python program, so let’s write a simple program to see them.
If you have not already done so, you can download this and other examples used in this book.
#argecho.py import sys for arg in sy... | http://www.faqs.org/docs/diveintopython/kgp_commandline.html | crawl-002 | refinedweb | 613 | 78.14 |
+4
Copy the current viewing file's path to clipboard
Arunprasad Rajkumar 9 years ago • updated by Alexis Sa 8 years ago • 5
It would be nice if we were able to get the full path of viewing file. Suppose if user right clicking on the file-tab it should show option to copy the current viewing file's path to clipboard :)
... | https://sublimetext.userecho.com/en/communities/1/topics/4429-copy-the-current-viewing-files-path-to-clipboard | CC-MAIN-2022-05 | refinedweb | 289 | 55.34 |
Content Migration in AEM using SlingPostServlet
A very basic migration flow looks as follows:
In this scenario, you have a CMS(that could be Sitecore, Drupal, WordPress or any other CMS) which has source content that needs to be migrated to AEM. To achieve this, we typically need to do following things:
- Get content f... | https://www.tothenew.com/blog/content-migration-in-aem-using-slingpostservlet/ | CC-MAIN-2021-10 | refinedweb | 793 | 57.57 |
Interesting idea, for sure!
Here’s what seems to me like a major issue: Time/maturity and fund redeeming. This fund naturally invests in early stage companies. It can take a very long time till you see any return (or even partial liquidity). Further, if this is an ETF (which would be the natural instrument to get the b... | https://medium.com/@itamarro/interesting-idea-for-sure-acee67ab8430 | CC-MAIN-2019-30 | refinedweb | 367 | 69.52 |
Pushed to marcuspope/verbotenjs
Atlassian SourceTree is a free Git and Mercurial client for Windows.
Atlassian SourceTree is a free Git and Mercurial client for Mac.
_ __ __ __ _______ | | / /__ _____/ /_ ____ / /____ ____ / / ___/ | | / / _ \/ ___/ __ \/ __ \/ __/ _ \/ __ \__ / /\__ \ | |/ / __/ / / /_/ / /_/ / /_/ __... | https://bitbucket.org/marcuspope/verbotenjs | CC-MAIN-2015-40 | refinedweb | 1,557 | 67.35 |
Koen Claessen <koen@cs.chalmers.se> writes: > | Does anyone have any better suggestions? > I think any solution that leaves it transparent as to if it > is a compiled or an interpreted module is fine. > But I have understood that this is hard to achieve... How about using a different command for importing the exported ... | http://www.haskell.org/pipermail/glasgow-haskell-users/2002-January/001380.html | CC-MAIN-2014-41 | refinedweb | 125 | 65.22 |
Map a device's physical memory into a process's address space
#include <sys/mman.h> void * mmap_device_memory( void * addr, size_t len, int prot, int flags, uint64_t physical );
A memory area being mapped with MAP_FIXED is first unmapped by the system using the same memory area. See munmap() for details.
This function ... | https://www.qnx.com/developers/docs/6.4.1/neutrino/lib_ref/m/mmap_device_memory.html | CC-MAIN-2018-26 | refinedweb | 182 | 64 |
I’ve implemented a minimal external sort of text file using heapq python module.
On the few tests I did it seems to works well, but I would like to have some advice to have a cleaner and faster code. I do not know much of good practices and I want to learn (May wish to go from academics to industry one day). All remark... | https://proxieslive.com/python-3-simple-external-sort-with-heapq/ | CC-MAIN-2021-10 | refinedweb | 392 | 51.85 |
With the release of Windows 95, Microsoft also introduced the DirectX Application Programming Interface (API), which allowed Windows-based applications to integrate closely, in a standard way, with the graphics hardware available on the system. Prior to DirectX, most PC game development targeted MS-DOS, as Windows-base... | https://www.packtpub.com/product/xna-4-0-game-development-by-example-beginner-s-guide/9781849690669 | CC-MAIN-2020-40 | refinedweb | 4,165 | 61.56 |
What are strings?
In computer science, a string is a sequence of characters as either a variable or a literal constant. Read this article about strings to gain some understanding of strings:
Why reverse strings?
Manipulating strings is a basic fundamental knowledge that every software engineer must understand. Most sof... | https://monigarr.com/2014/08/26/manipulate-strings-java/ | CC-MAIN-2021-17 | refinedweb | 570 | 59.74 |
Question: How to get genome coordinate of a refseq ID with biopython?
0
4.7 years ago by
yuehu.mail • 0
United States
yuehu.mail • 0 wrote:
Hi Everyone,
I tried to get genome coordinate of a refseq with Entrez.efetch but couldn't. I can get it with a gene ID but not a refseq ID.
from Bio import Entrez Entrez.email = 'x... | https://www.biostars.org/p/146837/ | CC-MAIN-2020-10 | refinedweb | 117 | 71.82 |
The MFC class library makes handling ActiveX control events so easy that you are misled to believe that handling COM events is no big deal, until you try to do it within a console application. As you may have heard, I wrote the very simple XYDispDriver class, which can be used to create COM objects and call COM methods... | http://www.codeproject.com/KB/COM/xyevent.aspx | crawl-002 | refinedweb | 805 | 63.9 |
Android: module "xy" is not installed
Heya,
Some time ago I started this thread but never got any reply:
I keep having this issue with the declarative camera and now also with Shape {}.
Qt 5.11 in the meantime, build platform is Windows for Android API level 22, x86, but using 25 and ARM for both API levels exposes the... | https://forum.qt.io/topic/91130/android-module-xy-is-not-installed/6 | CC-MAIN-2019-43 | refinedweb | 926 | 60.61 |
This is documentation for the next version of Grafana. For the latest stable release, go to the latest version.
Manage alert rules
The Alerting page lists all existing alert rules. By default, rules are grouped by types of data sources. The Grafana section lists all Grafana managed rules. Alert rules for Prometheus com... | https://grafana.com/docs/grafana/next/alerting/alerting-rules/rule-list/ | CC-MAIN-2022-27 | refinedweb | 481 | 75.1 |
rpdb 0.1.6
pdb wrapper with remote access via tcp socket
rpdb - remote debugger based on pdb
rpdb is a wrapper around pdb that re-routes(port=12345) debugger.set_trace()
It is known to work on Jython 2.5 to 2.7, Python 2.5 to 3.1. It was written originally for Jython since this is pretty much the only way to debug it w... | https://pypi.python.org/pypi/rpdb/ | CC-MAIN-2017-22 | refinedweb | 449 | 67.65 |
, Aug 22, 2005 at 11:34:24PM -0700, Kapil Thangavelu wrote:
> hi folks,
>
> i''m interested in bringing forward my production/development
> environment from mm 2.0 to mm cvs trunk, but I'm not clear if this is a
> wise move, I'm like to do it because this installation is driving new
> feature and contributions for/from... | https://sourceforge.net/p/mailmanager/mailman/mailmanager-users/?viewmonth=200508&viewday=23 | CC-MAIN-2017-04 | refinedweb | 836 | 55.95 |
[meta] Use mozilla::Result<T, E> for fallible return values in the JS engine
RESOLVED FIXED
Status
()
P3
normal
People
(Reporter: jorendorff, Assigned: jandem)
Tracking
(Blocks: 2 bugs, {meta, triage-deferred})
Firefox Tracking Flags
(Not tracked)
Details
Attachments
(2 attachments, 7 obsolete attachments)
Currently we... | https://bugzilla.mozilla.org/show_bug.cgi?id=1277368 | CC-MAIN-2019-04 | refinedweb | 4,179 | 62.58 |
Recursion oddity
I've been having a problem with a recursive factorization algorithm I've been writing in Sage code. The problem is reproduced on my machine using the code below:
def gcd_recur(num): if(num <= 1): return g = gcd(15,num) print "GCD of 15 and {0}: {1}".format(num, g) gcd_recur(num/2) gcd_recur(50)
The res... | https://ask.sagemath.org/question/8468/recursion-oddity/?answer=12894 | CC-MAIN-2020-24 | refinedweb | 164 | 67.22 |
public class GroovyRowResult extends GroovyObjectSupport
Represents an extent of objects.
It's primarily used by methods of Groovy's Sql class to return
ResultSet data in map
form; allowing access to the result of a SQL query by the name of the column, or by the column number.
Checks if the result contains (ignoring ca... | http://docs.groovy-lang.org/docs/next/html/gapi/groovy/sql/GroovyRowResult.html | CC-MAIN-2019-26 | refinedweb | 212 | 60.75 |
View nodes
The Amazon EKS console shows information about all of your cluster's nodes, including
Amazon EKS
managed nodes, self-managed nodes, and Fargate. Nodes represent the compute resources
provisioned for your cluster from the perspective of the Kubernetes API. For more
information, see Nodes
Prerequisites
The IAM... | https://docs.aws.amazon.com/eks/latest/userguide/view-nodes.html | CC-MAIN-2021-17 | refinedweb | 804 | 60.85 |
How will i make a program that will read a line of text and output the number of occurance each letter. Assume that the input characters must consist entirely of letters, whitespaces, commas, and period.
Printable View
How will i make a program that will read a line of text and output the number of occurance each lette... | http://cboard.cprogramming.com/cplusplus-programming/25523-string-array-printable-thread.html | CC-MAIN-2015-32 | refinedweb | 813 | 72.26 |
acl_set_tag_type()
Set the tag type of an ACL entry
Synopsis:
#include <sys/acl.h> int acl_set_tag_type( acl_entry_t entry_d, acl_tag_t tag_type );
Arguments:
- entry_d
- The descriptor of the ACL entry whose type you want to set.
- tag_type
- The type that you want to assign to the entry; one of the following:
- ACL_G... | http://developer.blackberry.com/native/reference/bb10/com.qnx.doc.neutrino.lib_ref/topic/a/acl_set_tag_type.html | CC-MAIN-2013-20 | refinedweb | 115 | 69.58 |
This post borrows from a code example found in Programming Python: Powerful Object-Oriented Programming
that demonstrates collecting command line arguments, opening a file, reading the file, and passing a function as a callback to another function.
Code
Here is the entire script that accepts a file as a command line ar... | https://stonesoupprogramming.com/2017/08/24/python-line-scanner/ | CC-MAIN-2021-31 | refinedweb | 692 | 69.31 |
I am using a sklearn for the multi-classification task. I need to split data into train_set and test_set. I want to take randomly the same sample number from each class. Actually, I am using this function
X_train, X_test, y_train, y_test = cross_validation.train_test_split(Data, Target, test_size=0.3, random_state=0)
b... | https://intellipaat.com/community/9488/how-to-split-data-on-balanced-training-set-and-test-set-on-sklearn | CC-MAIN-2020-05 | refinedweb | 131 | 53.17 |
perlmeditation Jenda <p>This is a continuation to my previous [id://576872] node. The first version of the module, for now without support for namespaces and processing instructions (and comments - you might want to process even those in some cases) may be found at [ site].</p> <p>A few weeks ago someone compared XML t... | http://www.perlmonks.org/?displaytype=xml;node_id=581313 | CC-MAIN-2016-50 | refinedweb | 671 | 62.92 |
Provided by: manpages-dev_4.04-2_all
NAME
DESCRIPTION.
RETURN VALUE
On success, getgroups() returns the number of supplementary group IDs. On error, -1 is returned, and errno is set appropriately. On success, setgroups() returns 0. (it does not have the CAP_SETGID capability). EPERM (since Linux 3.19) The use of setgro... | https://manpages.ubuntu.com/manpages/xenial/man2/getgroups.2.html | CC-MAIN-2021-49 | refinedweb | 168 | 63.05 |
CFD Online Discussion Forums
(
)
-
FLUENT
(
)
- -
Splitting Volumes with Faces in Gambit
(
)
An Modh Coinniolach
March 13, 2002 11:27
Splitting Volumes with Faces in Gambit
I need to split the volume around a blade with faces wrapped around said blade. I create the geometry (the solid and the faces)in Pro/E and import ... | http://www.cfd-online.com/Forums/fluent/29494-splitting-volumes-faces-gambit-print.html | CC-MAIN-2015-35 | refinedweb | 987 | 70.53 |
I have installed pyodbc in my machine. Also, I have viewed the solution for including python libraries in test complete and written below code,
from os import sys
sys.path.insert(0, "C:\\Users\\UserName\\AppData\\Local\\Programs\\Python\\Python37\\Lib\\site-packages")
import pyodbc
But still I am getting ModuleNotFound... | https://community.smartbear.com/t5/TestComplete-Desktop-Testing/Connecting-to-SQL-server-database-using-pyodbc-in-testcomplete/td-p/203630 | CC-MAIN-2021-25 | refinedweb | 172 | 52.46 |
tag:blogger.com,1999:blog-33770488933722951562012-05-20T07:39:17.074-05:00Mayank Srivastava{ Developer; Web / Mobile enthusiast; Open source / Agile proponent; Amateur musician; }Mayank Srivastavanoreply@blogger.comBlogger22125tag:blogger.com,1999:blog-3377048893372295156.post-28807309907980410102012-03-04T03:39:00.001... | http://feeds.feedburner.com/AspnetLive | crawl-003 | refinedweb | 1,668 | 59.3 |
Fetch Data Using HTTP Client From Json-Server API in Angular
In this video you will learn how to fetch data using http client service from Angular. To create a mock API from where we will fetch data we will use json-server. It's a nice npm package which helps us to create a mock API in a matter of all previous videos w... | https://monsterlessons-academy.com/p/fetching-data-in-angular | CC-MAIN-2021-31 | refinedweb | 660 | 75 |
Soft return ?Steve Fairbairn Feb 26, 2009 2:07 AM
1. Re: Soft return ?[Jongware] Feb 26, 2009 3:55 AM (in response to Steve Fairbairn)InDesign calls it a "Soft Line Break" -- Shift+Enter.
Use with extreme discretion. If you need a new paragraph, but without indenting/spacing above/below of the current one, create a new... | https://forums.adobe.com/message/3160703 | CC-MAIN-2015-11 | refinedweb | 3,085 | 81.73 |
Microsoft .NET controls give developers the leverage they need to build modular solutions. A developer can design custom controls from a myriad of existing controls and embed the custom control into a Windows Form or another control. With some additional code, one can also embed those controls in a Web Form. Writing an... | http://www.codeproject.com/script/Articles/View.aspx?aid=2909 | CC-MAIN-2014-10 | refinedweb | 5,087 | 55.13 |
Windows Presentation Foundation has been around for a relative short while. Silverlight brings WPF to the browser, with that the amount of writings on WPF is growing fast. At the moment I'm working on a project which uses Deep Earth, a very cool Silverlight based viewer on Virtual Earth (or any other map provider). Dee... | http://codebetter.com/blogs/peter.van.ooijen/archive/2008/12/11/wpf-code-markup-custom-pushpins-for-deepearth.aspx | crawl-002 | refinedweb | 1,346 | 65.52 |
Hello, zoT1wy1njA0=!
Let’s jump right into Java cryptography with some examples. The first example can be run by anyone who has the Java Development Kit (JDK) 1.1 or later installed. The second example uses classes from the Java Cryptography Extension (JCE). To run it, you will need to download and install the JCE, whi... | https://www.oreilly.com/library/view/java-cryptography/1565924029/ch01s05.html | CC-MAIN-2020-45 | refinedweb | 1,780 | 59.3 |
Subject: [Boost-users] Code stopped compile after migrating 1.42->1.45
From: Pavel Pervov (pavel.pervov_at_[hidden])
Date: 2010-12-07 09:40:03
I'm compiling my codebase with Microsoft Visual C++ 8/9 (Visual Studio
2005/2008)
Here is an example code which I've crafted from what I have in my
codebase:
//------- code star... | http://lists.boost.org/boost-users/2010/12/64763.php | CC-MAIN-2013-20 | refinedweb | 170 | 53.37 |
Files and strings
Please is another task.
Write a program that asks for the user's first and last name and saves these into a file named by the user.
The program must start by asking for the first name. The last name is entered next, followed by the desired file name. The first part of the file name may have a maximum ... | https://www.studypool.com/questions/12532/files-and-strings | CC-MAIN-2017-09 | refinedweb | 369 | 76.52 |
Looking at the data you see that each incident has latitude and longitude coordinates.
{'INCIDENT_KEY': '184659172', 'OCCUR_DATE': '06/30/2018 12:00:00 AM', 'OCCUR_TIME': '23:41:00', 'BORO': 'BROOKLYN', 'PRECINCT': '75', 'JURISDICTION_CODE': '0', 'LOCATION_DESC': 'PVT HOUSE ', 'STATISTICAL_MURDER_FLAG': 'false', 'PERP_... | https://www.learnpythonwithrune.org/3-steps-to-plot-shooting-incident-in-ny-on-a-map-using-python/ | CC-MAIN-2021-25 | refinedweb | 444 | 67.35 |
.NET BlogThe .NET blog discusses new features in the .NET Framework and important issues for .NET developers. Evolution Platform Developer Build (Build: 5.6.50428.7875)2015-03-18T12:53:00ZAnnouncing .NET Core and ASP.NET 5 RC<p>Today, we are announcing .NET Core and ASP.NET 5 Release Candidate, supported on Windows, OS... | http://blogs.msdn.com/b/dotnet/atom.aspx | CC-MAIN-2015-48 | refinedweb | 29,346 | 58.18 |
- Advertisement
CGameProgrammerMember
Content count4264
Joined
Last visited
Community Reputation640 Good
About CGameProgrammer
- RankContributor
Vectorizing a 1-bit raster image of polygon(s)
CGameProgrammer replied to CGameProgrammer's topic in Graphics and GPU ProgrammingI'm too lazy right now to make the code neatly... | https://www.gamedev.net/profile/130-cgameprogrammer/ | CC-MAIN-2018-13 | refinedweb | 3,321 | 65.12 |
In Build 2018, Microsoft introduced the preview of ML.NET (Machine Learning .NET) which is a cross platform, open source machine learning framework. Yes, now it's easy to develop our own Machine Learning application or develop costum module using Machine Learning framework. ML.NET is a machine learning framework which ... | https://www.codeproject.com:443/Articles/1265359/Getting-Started-with-Machine-Learning-DotNet-for-C?msg=5567587&PageFlow=Fluid | CC-MAIN-2021-43 | refinedweb | 1,335 | 58.08 |
This is the scenario : we have a Silverlight application (SL app) which run is running unattended on a big screen in an office. It displays the actual positions of objects on a map. Once every 10 minutes the app queries the hosting web server for position information. The information is not public, it is using asp.net ... | http://codebetter.com/petervanooijen/2009/04/16/keeping-a-long-running-silverlight-application-alive-under-forms-authentication/ | crawl-003 | refinedweb | 1,720 | 59.19 |
I'm using the book "C++ Primer Plus 6e" by Prata and I feel like I'm following the instructions step-by-step.
I am using Microsoft Visual C++ 2010 Express. I start a new project and select "Win32 Console Application" and on the next screen I ensure that "Console application" is selected and I uncheck "Precompiled Heade... | http://cboard.cprogramming.com/cplusplus-programming/149680-help-first-program-hello-world.html | CC-MAIN-2015-18 | refinedweb | 225 | 62.88 |
Mono 0.17
Hello!
Version 0.17 of Mono has been released.
There are plenty of new features, bug fixes, new classes, performance improvements, optimizations and much more available in this release.
Availability
Source code
To install mono from source code you only need the first one (mono), as it contains pre-compiled ve... | http://www.mono-project.com/docs/about-mono/releases/0.17.0/ | CC-MAIN-2018-26 | refinedweb | 920 | 62.07 |
Access LoPy mac address without using atom.
Hi.
I want to create a python scripts that returns the mac address of the connected LoPy.
I am connected to the LoPy via. USB using a USB To TTL Serial Converter Adapter.
With this, is it possible to send the following commands down to the LoPy:
import ubinascii, network
ubin... | https://forum.pycom.io/topic/4402/access-lopy-mac-address-without-using-atom/4 | CC-MAIN-2020-50 | refinedweb | 309 | 72.76 |
On 11/08/2011 03:23 PM, Jonathan Cameron wrote:> On 11/08/2011 01:32 PM, Lars-Peter Clausen wrote:>> On 11/07/2011 03:52 PM, jic23@cam.ac.uk wrote:>>> From: Jonathan Cameron <jic23@kernel.org>>>>>>> [...]>>> Dear All,>>>>>> Firstly note that I have pushed ahead of this alongside the ongoing>>> discussions on how to han... | https://lkml.org/lkml/2011/11/8/203 | CC-MAIN-2016-07 | refinedweb | 413 | 71.55 |
I did as you suggested and it works fine unless the TTree in which the TKey is pointing to contains data. Below is some code illustrating the problem. I ran the following commands
root [0] .L FileTest.C++
Info in <TUnixSystem::ACLiC>: creating shared library /home/kerrylee/./FileTest_C.so root [1] test()
No TestTree ob... | https://root.cern.ch/root/roottalk/roottalk06/0570.html | CC-MAIN-2022-21 | refinedweb | 728 | 78.35 |
Deploy Ubuntu 16.04 Xenial Xerus Discussion
This is not working on Xenial Xerus because there is no packages for Ubuntu 16.04 in Phusion Passenger repositores yet.
You can try using the older trusty repository for now while they work up on updating their apt repository:
sudo sh -c 'echo deb trusty main > /etc/apt/sourc... | https://gorails.com/forum/deploy-ruby-on-rails-on-ubuntu-16-04-xenial-xerus | CC-MAIN-2020-50 | refinedweb | 3,585 | 59.19 |
NAME
libinn - InterNetNews library routines
SYNOPSIS
#include "inn/libinn.h" char * GenerateMessageID(domain) char *domain; void HeaderCleanFrom(from) char *from; char * HeaderFind(Article, Header, size) char *Article; char *Header; int size; FILE * CAopen(FromServer, ToServer) FILE *FromServer; FILE *ToServer; FILE * ... | http://manpages.ubuntu.com/manpages/oneiric/man3/libinn.3.html | CC-MAIN-2014-35 | refinedweb | 926 | 63.29 |
There are two main ways to get the length of a video file in C#:
- Use a Shell object (found in shell32.dll in the system32 directory) to get the video length from the file metadata.
- Instantiate a WindowsMediaPlayer object (found in wmp.dll if WMP is installed on your machine), load the file into it and then get the ... | http://www.levibotelho.com/development/get-the-length-of-a-video-in-c/ | CC-MAIN-2018-34 | refinedweb | 255 | 58.69 |
Hi,
I am new to coding and was trying to implement AddTwo code using the solution that was provided already.
I am getting this error while running the code.
Can someone suggest ta way to correct this
Here is the code::
//Definition for singly-linked list. public class ListNode { int val; ListNode next; ListNode(int x) ... | https://discuss.leetcode.com/topic/60311/compile-error-line-3-error-class-listnode-is-public-should-be-declared-in-a-file-named-listnode-java | CC-MAIN-2017-34 | refinedweb | 300 | 59.23 |
QGeoSatelliteInfo
Since: 1.0
#include <QtLocationSubset/QGeoSatelliteInfo>
The QGeoSatelliteInfo class contains basic information about a satellite.
Overview
Public Types Index
Public Functions Index
Public Types
Defines the attributes for the satellite information.
Elevation The elevation of the satellite, in degrees.... | http://developer.blackberry.com/native/reference/cascades/qtmobilitysubset__qgeosatelliteinfo.html | CC-MAIN-2015-22 | refinedweb | 212 | 60.41 |
apr_general.h defines bzero() if APR doesn't think we have bzero().
This causes a problem on a SVR4 (see thread "re: APACHE20 problem with
string.h and strings.h" on new-httpd for details).
No code in APR uses bzero() and only two places in Apache use
bzero(). I'd prefer to get rid of our macro which defines bzero(),
a... | http://mail-archives.apache.org/mod_mbox/apr-dev/200101.mbox/%3C200101301830.NAA11859@adsl-77-241-65.rdu.bellsouth.net%3E | CC-MAIN-2017-13 | refinedweb | 192 | 78.55 |
*
A friendly place for programming greenhorns!
Big Moose Saloon
Search
|
Java FAQ
|
Recent Topics
|
Flagged Topics
|
Hot Topics
|
Zero Replies
Register / Login
JavaRanch
»
Java Forums
»
Java
»
Beginning Java
Author
Overloaded Constructor Methods
Steve Jensen
Ranch Hand
Joined: Sep 23, 2002
Posts: 126
posted
May 08, 200... | http://www.coderanch.com/t/393739/java/java/Overloaded-Constructor-Methods | CC-MAIN-2014-42 | refinedweb | 1,291 | 66.03 |
26 July 2012 05:13 [Source: ICIS news]
SINGAPORE (ICIS)--?xml:namespace>
The average realised price of methanol for the April-June 2012 period rose to $384/tonne, up by 5.8% compared with the same period a year earlier, the company said in a statement.
Its sales volume for the March-June period, however, fell slightly ... | http://www.icis.com/Articles/2012/07/26/9581091/canadas-methanex-q2-net-profit-up-27-on-higher-methanol-prices.html | CC-MAIN-2014-35 | refinedweb | 210 | 63.29 |
Additional
Titles
Other
Devvy
Articles:
Vote Fraud: What They Aren't
Telling You
Forced Mental Health Screening
for Your Children
More
Devvy
Articles:
By:
Devvy
June 4, 2007
�
2007 - NewsWithViews.com
"I
am concerned for the security of our great nation, not so much because
of any threat from without, but because of th... | https://www.newswithviews.com/Devvy/kidd275.htm | CC-MAIN-2022-21 | refinedweb | 2,240 | 63.8 |
Pymakr 1.0.0.5b does not connect to LoPy via WiFi
I've managed to update the LoPy firmware using the standalone updater. I was able to connect to the LoPy with 192.168.4.1 with PyMakr on Kubuntu Xenial. Then I've altered the boot.py to connect to my local WiFi network.
The LoPy logs in, I can see it and connect to it b... | https://forum.pycom.io/topic/66/pymakr-1-0-0-5b-does-not-connect-to-lopy-via-wifi/1 | CC-MAIN-2019-13 | refinedweb | 624 | 84.78 |
On Tue, Sep 30, 2008 at 7:01 PM, Karl Fogel <kfogel_at_red-bean.com> wrote:
> Michael Haggerty <mhagger_at_alum.mit.edu> writes:
> > [Please forgive me for spamming multiple mailing lists. Followups
> > please to dev_at_cvs2svn.tigris.org.]
>
> Not spammy at all, I think. This is totally on-topic for those lists.
>
> >... | https://svn.haxx.se/dev/archive-2008-10/0223.shtml | CC-MAIN-2021-49 | refinedweb | 739 | 74.29 |
sargrigory: > I: I have tweaked this program a few ways for you. The big mistake (and why it runs out of space) is that you take ByteString.Lazy.length to compute the block size. This forces the entire file into memory -- so no benefits of lazy IO. As a separate matter, calling 'appendFile . encode' incrementally for e... | http://www.haskell.org/pipermail/haskell-cafe/2009-September/066332.html | CC-MAIN-2013-48 | refinedweb | 437 | 70.6 |
Create an ASP.NET Web Forms app with SMS Two-Factor Authentication (C#)
by Erik Reitan
Download ASP.NET Web Forms App with Email and SMS Two-Factor Authentication
This tutorial shows you how to build an ASP.NET Web Forms app with Two-Factor Authentication. This tutorial was designed to complement the tutorial titled Cr... | https://docs.microsoft.com/en-us/aspnet/web-forms/overview/security/create-an-aspnet-web-forms-app-with-sms-two-factor-authentication | CC-MAIN-2021-39 | refinedweb | 501 | 50.43 |
[
]
Sean Busbey edited comment on HBASE-18626 at 10/31/17 7:30 PM:
---------------------------------------------------------------
I think this warrants something in the [Upgrade Paths|]
section of the ref guide, if only to call out the release note to the subset of folks going
to 1.4 that are impacted.
was (Author: bu... | http://mail-archives.apache.org/mod_mbox/hbase-issues/201710.mbox/%3CJIRA.13095553.1503034035000.114593.1509478260812@Atlassian.JIRA%3E | CC-MAIN-2017-47 | refinedweb | 318 | 75.71 |
Open Source Your Knowledge, Become a Contributor
Technology knowledge has to be shared and made accessible for free. Join the movement.
In this tutorial we will have a look at something more basic on the Spring spectrum, but as most things can sometimes be forgotten and is something that personally I which does not req... | https://tech.io/playgrounds/2096/playing-around-with-spring-bean-configuration | CC-MAIN-2022-05 | refinedweb | 139 | 62.78 |
Contents
Yes.
The pdb module is a simple but adequate console-mode debugger for Python. It is part of the standard Python library, and is documented in the Library Reference Manual. You can also write your own debugger by using the code for pdb as an example.
The IDLE interactive development environment, which is part ... | http://docs.python.org/release/3.2.3/faq/programming.html | CC-MAIN-2013-48 | refinedweb | 3,049 | 63.19 |
Type definitions, construct declarations, and imports can occur outside of the interface body. All definitions from the main IDL file will appear in the generated header file, and all the procedures from all the interfaces in the main IDL file will generate stub routines. This enables applications that support multiple... | http://msdn.microsoft.com/en-us/library/aa367289(VS.85).aspx | crawl-002 | refinedweb | 350 | 53.61 |
This page describes how to use supported libraries in the Google App Engine Python 2.7 runtime environment. By default, this runtime environment includes the Python standard library, the App Engine libraries, and a few bundled third- party packages. For a complete list of runtime-provided libraries, see the built-in th... | https://cloud.google.com/appengine/docs/python/tools/using-libraries-python-27?hl=en | CC-MAIN-2016-36 | refinedweb | 488 | 55.95 |
It is possible to use the serial port to receive commands directly in the Arduino code. We can for example control the GPIO from the serial monitor of a code editor such as the Arduino IDE or PlatformIO.
It is also possible to make several development boards or micro-controllers communicate with each other (STM32, ESP3... | https://diyprojects.io/getting-started-arduino-receive-commands-from-the-serial-port-esp32-esp8266-compatible/?amp | CC-MAIN-2022-40 | refinedweb | 1,230 | 54.93 |
There are many times when you may need to set a Pandas column value based on the condition of another column. In this post, you’ll learn all the different ways in which you can create Pandas conditional columns.
Video Tutorial
If you prefer to follow along with a video tutorial, check out my video below:
Let’s begin by... | https://datagy.io/pandas-conditional-column/ | CC-MAIN-2022-27 | refinedweb | 1,293 | 69.31 |
User account creation filtered due to spam.
Created attachment 27629 [details]
test.f90
If "sqrt" is a generic type-bound procedure, not only something like
a%sqrt() or a%sqrt(b) [for pass and nopass, respectively]
should work but also a simple:
sqrt(a) or sqrt(a, b)
That is: The generic enter the normal generic namesp... | https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53694 | CC-MAIN-2016-40 | refinedweb | 777 | 55.54 |
I was trying to create a function that added up the range of a number, including the number.
So when I input 5, I should receive 15.
Why is this function not working?
def sum_nums(number):
start = 0
for index in range(0,len(number)):
start += index
return start
print sum_nums(5)
This could be done with a 1 liner but i'... | https://codedump.io/share/m0IHe7AwTSjP/1/adding-all-the-numbers-in-a-range-including-the-number | CC-MAIN-2017-47 | refinedweb | 166 | 72.76 |
C++ <cwchar> - fwide() Function
The C++ <cwchar> fwide() function is used to determine the orientation of stream. If the orientation of the stream is not yet established, the function attempts to make stream oriented depending on the value of mode.
- If mode > 0, it attempts to make stream wide-oriented.
- If mode < 0,... | https://www.alphacodingskills.com/cpp/notes/cpp-cwchar-fwide.php | CC-MAIN-2021-43 | refinedweb | 253 | 59.7 |
Originally posted by Kathy Hodgson: The reference is to an instance of S2. S2 inherits display(), so why isn't that call printing S2's own String s instead of its parent's? public class Question{ String s = "Outer"; public static void main(String[] args){ S2 s2 = new S2(); s2.display(); } } class S1 { String s = "S1"; ... | http://www.coderanch.com/t/242642/java-programmer-SCJP/certification/doesn-subclass-variable-hide | CC-MAIN-2013-48 | refinedweb | 244 | 66.44 |
68915/how-do-get-the-path-and-name-the-file-that-currently-executing
I have scripts calling other script files but I need to get the filepath of the file that is currently running within the process.
For example, let's say I have three files. Using execfile:
How can I get the file name and path of script_3.py, from cod... | https://www.edureka.co/community/68915/how-do-get-the-path-and-name-the-file-that-currently-executing | CC-MAIN-2022-33 | refinedweb | 270 | 69.38 |
.
- The semantics is simply expansion of the synonym..
Another example showing pattern synonyms used as views, with regular ViewPatterns:
import qualified Data.Sequence as Seq pattern Empty = (Seq.viewl -> Seq.EmptyL) pattern x :< xs = (Seq.viewl -> x Seq.:< xs) pattern xs :> x = (Seq.viewr -> xs Seq.:> x)
Implicitly-b... | https://ghc.haskell.org/trac/ghc/wiki/PatternSynonyms?version=13 | CC-MAIN-2015-48 | refinedweb | 130 | 52.56 |
Contents
In the last days, I’ve played around with Cevelop a bit, mainly interested in the refactoring capabilities it offers.
Of course, one of the main points of a modern IDE is the setup and configuration of a project (which I failed miserably at). Another is analyzing and providing quick help with our code.
Setting... | https://arne-mertz.de/2017/09/cevelop/ | CC-MAIN-2017-47 | refinedweb | 1,271 | 63.7 |
Trying the following windows SDK samples:
BlackJack
Calculator
I keep getting errors on the xaml:
these error were taken from the Calculator build:
MyApp.xaml(1,14): error MC4629: '' is not a recognized namespace. Line 1, position 14.
Window1.xaml(1,9): error MC4629: '' is not a recognized namespace. Line 1, position 9... | http://social.msdn.microsoft.com/forums/en/wpf/thread/9d6a62cc-400d-46e9-a379-a4375ec7fcc1/ | crawl-002 | refinedweb | 162 | 70.6 |
I just had a conversation with one of my colleagues and he mentioned the subject of using Static Events which was new to me and I want to investigate it in this article.
Basically the idea is to have something shared among all the loaded instances of a class and ensure that changing the static property will cause all i... | http://www.codeproject.com/script/Articles/View.aspx?aid=12137 | CC-MAIN-2016-30 | refinedweb | 709 | 62.27 |
: 1.7 ! anton 31: : bset ( bmask c-addr -- ) ! 32: tuck c@ or swap c! ; ! 33: 1.1 anton 34: : set-bit { u addr -- } 35: \ set bit u in bit-vector addr 36: u bits/au /mod 37: >r 1 bits/au 1- rot - lshift 1.7 ! anton 38: r> addr + bset ; 1.1 anton 39: 40: : compare-images { image1 image2 reloc-bits size file-id -- } 41: ... | http://www.complang.tuwien.ac.at/cvsweb/cgi-bin/cvsweb/gforth/comp-i.fs?annotate=1.7;sortby=rev;f=h;only_with_tag=MAIN;ln=1 | CC-MAIN-2021-17 | refinedweb | 480 | 70.73 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.