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 |
|---|---|---|---|---|---|
The nisrm command is similar to the standard rm system command. It removes any NIS+ object from the namespace, except directories and nonempty tables. To use the nisrm command, you must have destroy rights to the object. However, if you don't, you can use the -f option, which tries to force the operation in spite of pe... | http://docs.oracle.com/cd/E19455-01/806-1387/6jam692a4/index.html | CC-MAIN-2013-48 | refinedweb | 124 | 59.43 |
Memory Management
A simple, smart pointer class.
#include <memory>
template <class X> class auto_ptr;
The template class auto_ptr holds onto a pointer obtained via new and deletes that object when the auto_ptr object itself is destroyed (such as when leaving block scope). auto_ptr can be used to make calls to operator ... | http://docs.roguewave.com/legacy-hpp/stdref/auto-ptr.html | CC-MAIN-2017-30 | refinedweb | 412 | 57.16 |
Scala: work with files & directories
.
Here is a list of operations which I want to cover:
- file creation / removing
- file writing / reading
- file comparison
- zipping / unzipping
Of course this list doesn’t limit number of useful functions which you can perform with files and directories.
The most suitable format f... | http://fruzenshtein.com/scala-work-with-files-folders/ | CC-MAIN-2018-51 | refinedweb | 387 | 57.27 |
Notes for the distribution of lsof version 4 ******************************************************************** | The latest release of lsof is always available via anonymous ftp | | from lsof.itap.purdue.edu. Look in pub/tools/unix/lsof. | ******************************************************************** Contents... | http://opensource.apple.com/source/lsof/lsof-42/lsof/00DIST | CC-MAIN-2016-22 | refinedweb | 25,230 | 61.93 |
Hey! I'm kinda swamped atm but might be able to help out a little bit.
my discord is @SuperSpasm#8098 (I'd pm you my email but apparently itch has no messaging system)
hit me up, maybe we can work something out
Hey! I'm kinda swamped atm but might be able to help out a little bit.
my discord is @SuperSpasm#8098 (I'd pm... | https://itch.io/profile/superspasm | CC-MAIN-2019-18 | refinedweb | 2,722 | 67.18 |
On Mon, 2017-06-19 at 09:24 -0400, Benjamin Coddington wrote:
@@ -2041,16 +2034,46 @@ SYSCALL_DEFINE2(flock, unsigned int, fd, unsigned int, cmd)
*/
int vfs_test_lock(struct file *filp, struct file_lock *fl)
{
- if (filp->f_op->lock && is_remote_lock(filp))
+ if (filp->f_op->lock && is_remote_lock(filp)) {
+ fl->fl_fla... | https://lkml.iu.edu/hypermail/linux/kernel/1706.2/03602.html | CC-MAIN-2022-33 | refinedweb | 253 | 71.07 |
Back to: Design Patterns in C# With Real-Time Examples
Proxy Design Pattern in C# with Examples
In this article, I am going to discuss the Proxy Design Pattern in C# with Examples. Please read our previous article where we discussed the Composite Design Pattern in C# with examples. The Proxy Design Pattern falls under ... | https://dotnettutorials.net/lesson/proxy-design-pattern/ | CC-MAIN-2022-27 | refinedweb | 1,869 | 54.52 |
Neural Nets for JAX
Project description
JAXnet
JAXnet is a deep learning library based on JAX. JAXnet's functional API provides unique benefits over TensorFlow2, Keras and PyTorch, while maintaining user-friendliness, modularity and scalability:
- More robustness through immutable weights, no global compute graph.
- GP... | https://pypi.org/project/jaxnet/ | CC-MAIN-2022-27 | refinedweb | 773 | 51.85 |
This is a continuation from the previous post I did explaining the new memory based batching feature for Database providers in MSF V2. Please refer to that post at MSF V2 CTP2 Deep Dive – Memory Based Batching. This is probably a good time to mention that the final version of MSF V2 has been released to web and can be ... | https://blogs.msdn.microsoft.com/mahjayar/2009/11/16/msf-v2-deepdive-batching-directory-and-batch-files/ | CC-MAIN-2016-40 | refinedweb | 1,087 | 53.92 |
These are my notes from the Design Summit and Conference kicking off the Folsom release of OpenStack, held April 16-20, 2012 in San Francisco, CA. Much more happened than I could hope to capture in a single post, but I can publish most of my notes from the design sessions.
tl;dr
This was a good week for the DreamHost d... | http://doughellmann.com/2012/04/notes-from-openstack-folsom-design-summit-spring-2012-2.html | CC-MAIN-2013-48 | refinedweb | 2,865 | 58.72 |
Subject: [ggl] Re: problems with Boost Geometry Xcode compile?
From: Mateusz Loskot (mateusz)
Date: 2010-03-10 13:02:34
Mark McCann wrote:
>
> macro is included *indirectly* by XCode public headers including
internal headers, and so on.
AFAIK, the AssertMacros.h comes from XNU sources [1], which is...Mac OS X
kernel, a... | https://lists.boost.org/geometry/2010/03/0670.php | CC-MAIN-2020-34 | refinedweb | 428 | 71.34 |
Structuring and naming modules
I'm starting a new research project, and I'm confused about the best way to organize everything.
I'll need to write a few functions that compute invariants on Graphs, but the trick is that each function needs to call lots of smaller functions that compute bounds for the invariant, and the... | https://ask.sagemath.org/question/9219/structuring-and-naming-modules/ | CC-MAIN-2020-24 | refinedweb | 203 | 73.78 |
There are times in a deployment process that you may want to create a property dynamically and use it in a later process step. Fortunately, Urbancode Deploy provides a mechanism to do this.
Let’s use the following scenario. As part of your process, you want to create a tar file backup of a directory structure. You wish... | https://drschrag.wordpress.com/2013/10/ | CC-MAIN-2018-30 | refinedweb | 250 | 66.13 |
A Google revelation
Quite a while ago I was intrigued with the ability of to provide text suggestions for search strings AS I WAS TYPING the string …
When I traced this interaction, I noticed that on each keystroke the site was in the background firing an event which eventuated in a RESTful call to a server using AJAX.... | https://blogs.sap.com/2011/04/07/deliver-dynamic-search-of-sap-data-into-a-website-using-restful-services/ | CC-MAIN-2017-47 | refinedweb | 3,119 | 53.1 |
Sometimes I just want to quickly try out a technical idea and hate having to go through the process of building entire solutions (I’m looking at you, BizTalk). Up until now, StreamInsight has also fallen into that category. For a new product, that’s a dicey place to be. Ideally, we should be able to try out a product, ... | https://seroter.wordpress.com/2010/12/23/5-quick-steps-for-trying-out-streaminsight-with-linqpad/ | CC-MAIN-2016-18 | refinedweb | 1,392 | 67.04 |
During yesterday’s MSDN Mid-Atlantic Roadshow stop in Baltimore, MD, a question came up about how one moves from a prototype built in SketchFlow to the final application.
My answer, that you could repurpose some of the parts of a SketchFlow prototype, was not as complete as I’d have liked. So I did a little experimenti... | http://blogs.msdn.com/b/gduthie/archive/2009/08/20/from-sketchflow-to-production.aspx | CC-MAIN-2014-52 | refinedweb | 732 | 57.5 |
CSP Session Management
HTTP is a stateless protocol; every request has no knowledge of previous requests. While this works well for web sites that provide users with simple static content, it makes it difficult to develop interactive, dynamic web applications. To help with this, CSP provides what is called session mana... | https://docs.intersystems.com/latest/csp/docbook/DocBook.UI.Page.cls?KEY=GCSP_SESSIONS | CC-MAIN-2021-04 | refinedweb | 5,767 | 56.35 |
Today I vowed to learn the Spark View Engine. While I don’t hate ASP.NET’s MVC WebForm View Engine, its clearly outclassed by the other MVC stacks. So, given my views (hahaha) on the matter and with a wonderful greenfield project in front of me, I figured I’d do the switch.
(I think some developers still don’t get the ... | http://codebetter.com/karlseguin/2009/08/20/adding-syntactic-sugar-to-the-spark-view-engine/?utm_source=feedburner&utm_medium=feed&utm_campaign=Feed%3A+CodeBetter+%28CodeBetter.Com%29 | crawl-003 | refinedweb | 1,369 | 65.01 |
On 12/7/05, Tom Redfern <[EMAIL PROTECTED]> wrote: > > > Ok, I'm new and I know this should be easy. I don't find it > documented anywhere, and I've been digging through the list archives > without success. > > I have and external python script in the Extensions directory. > > I call it, it works. > > How do a call a m... | https://www.mail-archive.com/zope@zope.org/msg20697.html | CC-MAIN-2019-04 | refinedweb | 283 | 67.76 |
CodePlexProject Hosting for Open Source Software
I have a large number of inter-related python files in seperate folders.
I would like to use Visual Studio as my debugger these after running it in the interactive window, i.e. stop at break points etc. in Visual Studio.
However I do not get (there is no such menu option... | http://pytools.codeplex.com/discussions/394558 | CC-MAIN-2016-50 | refinedweb | 285 | 73.78 |
My last article showed you how to find an optimal tour of all 48 continental US state capitols using operations research. I used the Python API of the popular Gurobi solver to create and solve a traveling salesman problem (TSP) model in a few seconds.
In this post I want to show you how to use Concorde, the world’s bes... | https://nathanbrixius.wordpress.com/tag/operations-research/ | CC-MAIN-2017-26 | refinedweb | 374 | 72.26 |
.
Note
The e-mail configuration settings are consumed by the classes in the System.Net.Mail namespace. ASP.NET applications must use this namespace in for the configuration settings to have any effect.
Note
The SMTP server is not installed by default. SMTP can be added through the Features Summary area of the Server Ma... | https://docs.microsoft.com/en-us/previous-versions/windows/it-pro/windows-server-2008-R2-and-2008/cc772058(v=ws.10) | CC-MAIN-2018-13 | refinedweb | 155 | 59.4 |
08 January 2009 10:06 [Source: ICIS news]
SINGAPORE (ICIS news)--Here is Thursday’s end-of-day ?xml:namespace>
CRUDE: February WTI $43.30/bbl up 67 cents February BRENT $46.77/bbl up 91 cents
Crude futures strengthened on Thursday with February ICE Brent futures gaining more than $1/bbl. Thursday’s rise followed a mass... | http://www.icis.com/Articles/2009/01/08/9182554/evening-snapshot-asia-markets-summary.html | CC-MAIN-2015-22 | refinedweb | 181 | 76.42 |
How to: Write Services Programmatically
If you choose not to use the Windows Service project template, you can write your own services by setting up the inheritance and other infrastructure elements yourself. When you create a service programmatically, you must perform several steps that the template would otherwise ha... | https://msdn.microsoft.com/en-US/library/76477d2t(v=vs.80).aspx | CC-MAIN-2017-39 | refinedweb | 359 | 52.49 |
Draft:
-
-
-
Changes since the November 2006 Publication:
- The XML namespace name was changed to.
- Resolved issue 13. The status attribute was moved from the representation element to the response element. The cardinality of the response element was changed from 0–1 to 0–many. The fault element was removed.
- Resolve... | https://weblogs.java.net/blog/mhadley/archive/2009/02/draft_wadl_upda.html | CC-MAIN-2015-27 | refinedweb | 161 | 53.68 |
private field
————–
private field is invisible and inacessable to other classes.
Reasons:
1. To prevent data to be corrupted by other classes.
2. You can improve the implementation without causing the other classes to fail.
public class Date{ private int day; private int month; public void setMonth(int m){ month = m; }... | https://linuxjunkies.wordpress.com/tag/adt/ | CC-MAIN-2017-51 | refinedweb | 546 | 76.82 |
jqnpm – jq package manager
A package manager built for the command-line JSON processor
jq as an example implementation. This is experimental software. Want to contribute?
- Uses only namespaced packages, for example
jqnpm install joelpurra/jq-stress, on github.com by default; the example package would automatically be ... | https://joelpurra.com/projects/jqnpm/ | CC-MAIN-2017-13 | refinedweb | 690 | 69.07 |
Run a Python script from another Python script, passing in arguments [duplicate]
This is inherently the wrong thing to do. If you are running a Python script from another Python script, you should communicate through Python instead of through the OS:
import script1
In an ideal world, you will be able to call a function... | https://codehunter.cc/a/python/run-a-python-script-from-another-python-script-passing-in-arguments-duplicate | CC-MAIN-2022-21 | refinedweb | 278 | 70.23 |
" ALA -Alabama AMW -ALARA Management Worksheet AEH -Alarm Event Han.
then it ironsocket review also effects in Google chrome. Internet explorer and Google chrome both shares same proxy settings. So if we change setting in internet explorer,
Ironsocket review
there are many uses for ironsocket review this new technology... | http://cornish-surnames.org.uk/programs/ironsocket-review.html | CC-MAIN-2019-39 | refinedweb | 1,007 | 63.19 |
I am using an ASP.NET BuildProvider to auto-generate some code. Unfortunately,
the current version of Resharper 2.0 does not support BuildProviders and
highlights all usages of the classes that are auto-generated in red. I would
like to create a Resharper plugin that can recognize the auto-generated code.
I was wonderi... | https://resharper-support.jetbrains.com/hc/en-us/community/posts/206630865-custom-plugin-to-help-Resharper-recognize-auto-generated-code | CC-MAIN-2020-16 | refinedweb | 162 | 67.15 |
-- | High score table operations. module Game.LambdaHack.HighScore ( Status(..), ScoreRecord(..), register ) where import System.Directory import Control.Monad import Text.Printf import System.Time import Data.Binary import qualified Data.List as L import Game.LambdaHack.Utils.File import qualified Game.LambdaHack.Conf... | http://hackage.haskell.org/package/LambdaHack-0.2.1/docs/src/Game-LambdaHack-HighScore.html | CC-MAIN-2014-41 | refinedweb | 719 | 65.83 |
Is there away to dynamically resize an applet?
I wrote some code to illustrate what I mean:
Code Java:
import java.applet.*; import java.awt.*; import java.awt.event.*; /* <applet code = SizeApplet.java width = 100 height = 100> </applet> */ public class SizeApplet extends Applet { int curWidth = 0; int curHeight = 0; ... | http://www.javaprogrammingforums.com/%20awt-java-swing/5298-dynamically-resizing-applet-printingthethread.html | CC-MAIN-2016-22 | refinedweb | 200 | 51.38 |
How to iterate through two lists in parallel?
Python 3
for f, b in zip(foo, bar): print(f, b)
zip stops when the shorter of
foo or
bar stops.
In Python 3,
zipreturns an iterator of tuples, like
itertools.izip in Python2. To get a listof tuples, use
list(zip(foo, bar)). And to zip until both iterators areexhausted, you ... | https://codehunter.cc/a/python/how-to-iterate-through-two-lists-in-parallel | CC-MAIN-2022-21 | refinedweb | 123 | 70.39 |
Hello hive mind,
I have been trying to automate a process that I do for flu sequencing. I currently use SPAdes to do a de novo build and then blast the contigs using the ncbi command line, remotely. I get back a tab delimited csv file that has the contig, the sequence id, the ncbi acc # and the raw score.
I have workin... | https://www.biostars.org/p/292071/ | CC-MAIN-2018-13 | refinedweb | 316 | 76.52 |
AWS Security Blog the method call into a signed request to AWS.
The AWS SDK team has recently made some changes that make it more convenient, more consistent, and easier to specify credentials for the SDKs in a more secure way. In this post, we’ll review the changes.
Overview
In outline, all of the AWS SDKs now use a s... | https://aws.amazon.com/blogs/security/a-new-and-standardized-way-to-manage-credentials-in-the-aws-sdks/ | CC-MAIN-2018-13 | refinedweb | 1,517 | 55.74 |
In this tutorial, we will design a digital temperature sensor using LM35 sensor and PIC16F877A microcontroller. Unlike the previous posts, we will use 7-segment displays to print measured temperature values in the Celsius scale. You can use other types of temperature sensors also. This is also known as a digital thermo... | https://microcontrollerslab.com/lm35-temperature-sensor-with-7-segment-display-pic-microcontroller/ | CC-MAIN-2021-39 | refinedweb | 1,575 | 50.87 |
Write a program to replace spaces in a string with %20
Approach to replace spaces in a string with %20Typically in this problem we are expected to use optimal memory. This requires that we extend the memory where we hold the input string. We start by counting the number of spaces in the input string. Then we compute th... | http://www.sourcetricks.com/2012/07/replace-spaces-in-string-with.html | CC-MAIN-2017-04 | refinedweb | 239 | 63.63 |
import "go.chromium.org/luci/common/trace"
Package trace provides support for collecting tracing spans.
It decouples spans collection from the system that actually uploads spans. So it tracing is not needed in a binary, there's almost 0 overhead on it..
SetBackend installs the process-global implementation of the span ... | https://godoc.org/go.chromium.org/luci/common/trace | CC-MAIN-2020-29 | refinedweb | 142 | 60.21 |
- 0shares
- Facebook0
- Twitter0
- Google+0
- Pinterest0
- LinkedIn0
C++ Standard Library:
There are many functions in C++ programming language that are built in and are defined by C++ standard library. Some of these functions are; getche (), cout, cin, getch (), etc.
These functions are used by including their header ... | http://www.tutorialology.com/cplusplus/cplusplus-standard-library/ | CC-MAIN-2017-22 | refinedweb | 116 | 65.73 |
Terry Hancock wrote: >>calad.sigilon at gmail.com wrote: >>>One of these two ways you're not supposed to use for >>>security reasons, but I'm spacing on which one. > > It's not a question of "security" in the usual sense, but > the first syntax imports a lot of stuff into the current > namespace, increasing the risk of... | https://mail.python.org/pipermail/python-list/2005-November/333079.html | CC-MAIN-2017-04 | refinedweb | 174 | 63.19 |
SizeFS 0.2.7
SizeFS is a mock filesystem for creating files of particular sizes with specified contents.
A mock Filesystem that exists in memory only and allows for the creation of files of a size specified by the filename.
For example, reading a file named 128M+1B will return a file of 128 Megabytes plus 1 byte, readi... | https://pypi.python.org/pypi/SizeFS/0.2.7 | CC-MAIN-2015-27 | refinedweb | 1,023 | 53.31 |
Introducing RTI Labs and Connector for Connext DDS with Python
Written by Gianpiero Napoli
October 20, 2017
This week we are thrilled to announce RTI Labs, a free program that provides our customers with early access to new technology we are developing for the Industrial IoT. We are calling them experimental projects. ... | https://www.rti.com/blog/introducing-rti-labs-and-connector-for-connext-dds-with-python | CC-MAIN-2019-18 | refinedweb | 1,269 | 62.98 |
Another component common to C programs is the header file. This supplies information about the standard library functions. These files all end with the .h extension and are added to the program using the #include pre-processor directive. All C compilers use a pre-processor as their first phase of compilation to manipul... | http://ecomputernotes.com/what-is-c/basic-of-c-programming/what-is-libraries-file | CC-MAIN-2013-20 | refinedweb | 416 | 64.91 |
How to Create or Modify Equivalent Objects in the VMM Library
Updated: May 13, 2016
Applies To: System Center 2012 SP1 - Virtual Machine Manager, System Center 2012 R2 Virtual Machine Manager, System Center 2012 - Virtual Machine Manager
You can use the following procedures to mark file-based library resources (also kn... | https://technet.microsoft.com/en-us/library/gg610650 | CC-MAIN-2017-39 | refinedweb | 724 | 61.87 |
Docs |
Forums |
Lists |
Bugs |
Planet |
Store |
GMN |
Get Gentoo!
Not eligible to see or edit group visibility for this bug.
View Bug Activity
|
Format For Printing
|
XML
|
Clone This Bug
Hi!
The line
CONFIG_CHECK="LEDS_CLASS"
in the ebuild has to be replaced with
CONFIG_CHECK="LEDS_CLASS BACKLIGHT_LCD_SUPPORT"
in orde... | http://bugs.gentoo.org/195803 | crawl-002 | refinedweb | 317 | 67.45 |
02-20-2018 08:53 AM
Hi everyone,
We are implementing a Geospatial Portal 2016 EP04 solution that is using a custom ASP.NET membership provider for authentication. Once the user is logged in we would like to add a function to the Geospatial Portal template that a user can use to log out.
We can't use the Log Out option ... | https://community.hexagongeospatial.com/t5/Developer-Discussions/Geospatial-Portal-Log-Out-Function/m-p/21482 | CC-MAIN-2019-09 | refinedweb | 340 | 59.7 |
9. Klasy¶
Klasy dostarczają sposoby powiązania informacji i funkcjonalności. Stworzenie nowej klasy, tworzy nowy typ obiektu, pozwalający na tworzenie nowych instancji tego typu. Każda instancja klasy może mieć atrybuty przypisane w celu utrzymania jej stanu. Instancje klas mogą również posiadać metody (zdefiniowane pr... | https://docs.python.org/pl/3.9/tutorial/classes.html | CC-MAIN-2022-05 | refinedweb | 1,605 | 52.8 |
Building Flappy Bird #9 – Visuals and Beautification
In this section, we’ll do a little cleanup, and finally cover the steps to build to different devices.
The first thing we need to do is randomize our bubble heights. While we can pop them easily, we really want some variation to make it feel more polished.
To accompl... | https://unity3d.college/2016/01/25/intro-to-unity3d-building-flappy-bird-part-9/ | CC-MAIN-2020-34 | refinedweb | 790 | 74.59 |
I was looking (a am still looking) for a good way to present the result of my ramblings on applicative functors without hurting the feelings of people who would like to start a Scala journey.
As a "young" Scala explorer I would like to tell them, that I really started understanding the full potential of Scala while sta... | http://patterngazer.blogspot.com/2012/02/hello-again.html | CC-MAIN-2018-13 | refinedweb | 2,319 | 50.67 |
unix basics commands like ls is not working on my windows based system
I have installed python software kit and trying to run it in the windows command line. but the basic unix commands like listing a file (ls) does not seem to work. what do I do here!
- Is there anyway to configure Powershell to use AMSI for malware d... | https://quabr.com/67373610/unix-basics-commands-like-ls-is-not-working-on-my-windows-based-system | CC-MAIN-2021-21 | refinedweb | 1,077 | 67.25 |
Every Android project contains a "res" (resources) folder, which contains a number of subfolders, including one called "layout." This is the folder where we store web layout XML files. We can only use lowercase letters, numbers, periods, and underscores in web layout XML file name.
Being able to modify behaviour of a ... | http://mrbool.com/how-to-create-objects-in-android/27048 | CC-MAIN-2015-48 | refinedweb | 1,319 | 53.1 |
rand() function declared in the stdlib.h header file returns random numbers.
int chosen = 0; chosen = rand(); // Set to a random integer
Each time you call the rand() function, it will return a random integer.
The value will be from zero to a maximum of RAND_MAX, the value of which is defined in stdlib.h.
The integers ... | http://www.java2s.com/example/c-book/generating-pseudo-random-integers.html | CC-MAIN-2018-39 | refinedweb | 434 | 72.76 |
VMBuilder doesn't work with grub2
Bug Description
If you run vmbuilder on a fresh karmic installation you get the following error message at the end of the vmbuilder run:
2009-08-09 01:06:56,792 INFO : Cleaning up
Traceback (most recent call last):
File "/home/
VMBuilder.run()
File "/home/
frontend.run()
File "/home/
v... | https://bugs.launchpad.net/vmbuilder/+bug/410886 | CC-MAIN-2018-13 | refinedweb | 1,406 | 73.17 |
I just need some clarification on what my homework assignment is telling me to do.
Ok, this is the homework question:
Write a program that reads a key pressed on the keyboard and displays its code on the screen. Use the program to determine the code for the Enter Key. Then write a function named ReadOneChar() that read... | https://www.daniweb.com/programming/software-development/threads/267408/c-data-processing-help | CC-MAIN-2018-30 | refinedweb | 169 | 69.41 |
Vivek Goyal <vgoyal@in.ibm.com> writes:> On Thu, Dec 21, 2006 at 03:32:33AM -0700, Eric W. Biederman wrote:>> J.>> >> am using grub 0.97. So any dependency on lilo can be ruled out in this> case.>> Following is my software environment.>> gcc version 4.1.1 20061130 (Red Hat 4.1.1-43)> GNU ld version 2.17.50.0.6-2.el5 20... | http://lkml.org/lkml/2006/12/21/117 | CC-MAIN-2016-07 | refinedweb | 457 | 75.2 |
12 min read
These days, web developers rule the world. JavaScript is used everywhere one can program. Among these areas, mobile app development was one of the first ways to branch out: About ten years ago, PhoneGap allowed HTML and JavaScript app installation for iOS and Android.
Since then, the technology has had its ... | https://www.toptal.com/apache-cordova/frameworks-ionic-framework7 | CC-MAIN-2019-04 | refinedweb | 3,521 | 53.61 |
The stk::io namespace use_cases/io_example.cpp file.
Output a help message showing the valid options for the mesh read and options for generated mesh.
Definition at line 392 of file MeshReadWriteUtils.cpp.
Read/Generate the metadata for mesh of the specified type. By default, all entities in the mesh (nodeblocks, eleme... | http://trilinos.sandia.gov/packages/docs/r10.8/packages/stk/doc/html/namespacestk_1_1io.html | CC-MAIN-2014-35 | refinedweb | 659 | 55.95 |
Cells: A Deeper Look into Dependency Injection and Testing
In my previous post, you and Scott learned the basic of Cells, a view model layer for Ruby and the Rails framework.
Where there used to be stacks of partials that access controller instances variables, locals, and global helper functions, there’s now stacks of ... | https://www.sitepoint.com/cells-a-deeper-look-into-dependency-injection-and-testing/ | CC-MAIN-2018-39 | refinedweb | 2,308 | 65.83 |
Python provides different ways to read a text file and put the text file content into a string variable. In this tutorial, we will learn how to read a text file into the string variable in Python.
Read Text File Into String Variable
The file read() method can be used to read the whole text file and return as a single s... | https://pythontect.com/how-to-read-text-file-into-string-variable-in-python/ | CC-MAIN-2022-21 | refinedweb | 257 | 71.24 |
On Tue, 14 Sep 2004 21:27:20 +0200, Martin P. Hellwig wrote:
Thank you for your reply/time, I wonder if there would be a other more elegant way to notify a program when a certain (text)file is changed. Doing it the way that it happens immediately but without burden on the system, or is this a technical paradox?
You can... | http://leaf.dragonflybsd.org/mailarchive/users/2004-09/msg00024.html | CC-MAIN-2014-42 | refinedweb | 116 | 69.82 |
In this article, I present you with an extended version Windows Form. It has a few more features than regular Forms provided by the .NET Framework.
Originally, I implemented these features separately to help MSDN users on their requests. So I've decided to put it all together and build a Form to present in this article... | http://www.codeproject.com/Articles/93959/WinForm-Extended?fid=1579240&df=90&mpp=10&sort=Position&spc=None&tid=3721482 | CC-MAIN-2015-32 | refinedweb | 2,447 | 55.54 |
[Antoon Pardon] > Just because I think that > > for ... > if ... > for > loop > code > endfor > endif > endfor > remainder > > is in general more readable than > > for ... > if ... > for ... > loop > code > remainder > > I'm writing spaghetti code. I would not go that far as to say that you are writing spaghetti code. ... | https://mail.python.org/pipermail/python-list/2004-September/250584.html | CC-MAIN-2014-10 | refinedweb | 143 | 76.82 |
Tcl8.6.7/Tk8.6.7 Documentation > [incr Tcl] Package Commands, version 4.1.0 > ensembleitcl::ensemble — create or modify a composite command
SYNOPSISitcl::ensemble ensName ?command arg arg...?
or
ensemble ensName {
part partName args body
...
ensemble partName {
part subPartName args body
part subPartName args body
...
... | http://docs.activestate.com/activetcl/8.6/tcl/ItclCmd/ensemble.html | CC-MAIN-2018-09 | refinedweb | 819 | 57.16 |
plotly 0.7.3
plotly.dart #
A Dart interface to plotly.js, plotly.dart is a high-level, declarative charting library.
Usage #
var trace = { 'x': [1, 2, 3, 4], 'y': [10, 15, 13, 17], 'mode': 'markers' }; var layout = { 'title': 'Scatter Plot', 'height': 800, 'width': 960 }; new plotly.Plot.id('myDiv', [trace], layout);
C... | https://pub.dev/packages/plotly | CC-MAIN-2019-39 | refinedweb | 190 | 71.51 |
}}
The first step is to create a MoDisco project.
The second step is to create a query set. This query set will store boolean queries indicating if an object conforms to a facet.
Right-click on the MoDisco project and select New > Other....
Select Facet Model and press the Next button
Choose a name for your model facet... | http://help.eclipse.org/indigo/topic/org.eclipse.gmt.modisco.infra.doc/doc/MoDisco/Components/FacetManager/Documentation/0.9/0.9.html | crawl-003 | refinedweb | 853 | 60.01 |
Created 6 November 2011def.
As an example of programmatic use, here's one way to use Caveman in a Django
test suite:
from caveman import ManifestCheckerclass)
Caveman only pulls the HTML page you specify. Although it validates links to
other HTML pages against the manifest, it does not pull those linked-to pages
and ve... | http://nedbatchelder.com/code/caveman/ | crawl-003 | refinedweb | 118 | 68.26 |
Maybe the Zope-Dev guys have comments on this.... > >From: Jim Fulton <[EMAIL PROTECTED]> > > > >Michel, > > > >You have advocated that methods should always be bound to the objects they > >are accessed in. You argue that there should be no choice in the matter. > > > >I have to disagree strongly. I'll try to explain w... | https://www.mail-archive.com/zope-dev@zope.org/msg02693.html | CC-MAIN-2018-09 | refinedweb | 479 | 73.68 |
Let’s learn how to count how many zeros you have in array. There are two different Python methods you can use.
Using a count_nonzero method
We will use really unexpected Numpy method. For sure you will be surprised. To count a zeros frequency in your matrix you need to use count_nonzero function. Then as a parameter yo... | https://pythoneo.com/count-how-many-zeros-you-have-in-array/ | CC-MAIN-2022-40 | refinedweb | 194 | 69.89 |
Hi,
I need to write a simple function which will work only when a specific definition is defined, but i can't use ifdef in C file according to linux coding guidelines
so i wrote this example but i keep getting this error:
file.c: error: redefinition of 'function1'
file.h: error: previous definition of 'function1' was h... | https://cboard.cprogramming.com/c-programming/109964-ifdef-harmful-but-simple-workaround-not-working.html?s=61cd4ffb6b77c536eb99ced65adf2984 | CC-MAIN-2021-31 | refinedweb | 118 | 59.03 |
tensorflow::
ops:: QueueDequeueUpTo
#include <data_flow_ops.h>
Dequeues
n tuples of one or more tensors from the given queue.
Summary
This operation is not supported by all queues. If a queue does not support DequeueUpTo, then an Unimplemented error is returned.
If the queue is closed and there are more than 0 but less... | https://www.tensorflow.org/versions/r2.0/api_docs/cc/class/tensorflow/ops/queue-dequeue-up-to?hl=hr | CC-MAIN-2021-39 | refinedweb | 105 | 56.55 |
OpenGL Programming/Intermediate/Textures
Contents
Types[edit]
There are several different types of textures that can be used with opengl:
- GL_TEXTURE_1D: This is a one dimensional texture. (requires opengl 1.0)
- GL_TEXTURE_2D: This is a two dimensional texture (it has both a width and a height). (requires opengl 1.0)... | http://en.wikibooks.org/wiki/OpenGL_Programming/Intermediate/Textures | CC-MAIN-2014-35 | refinedweb | 1,963 | 53.51 |
On Thu, Apr 14, 2011 at 8:33 AM, Greg Ewing <greg.ewing at canterbury.ac.nz> wrote: > Nick Coghlan wrote: > >> I have the glimmerings of a rewrite of PEP 3150 kicking around in my >> skull, that may include restricting it to assignment statements > > Please don't, as that would eliminate a potentially useful > set of u... | https://mail.python.org/pipermail/python-ideas/2011-April/009905.html | CC-MAIN-2016-30 | refinedweb | 243 | 60.55 |
Construct a list of fonts
#include <photon/Pf.h> int PfQueryFonts( long symbol, unsigned flags, FontDetails list[], int n );
This function constructs a list of all fonts that may be used to render the character specified by the symbol parameter. For example, use 'A' to get a list of normal/Latin fonts, or 0x3A9 (omega)... | https://www.qnx.com/developers/docs/qnx_4.25_docs/photon114/lib_ref/pf/pfqueryfonts.html | CC-MAIN-2021-25 | refinedweb | 139 | 60.75 |
David Ornstein's WebLogI'm a Lead Program Manager in the Digital Documents group at Microsoft; we're part of the Windows team. Evolution Platform Developer Build (Build: 5.6.50428.7875)2004-01-20T08:57><div style="clear:both;"></div>><div style="clear:both;"><><div style="clear:both;"></div><img src="" width="1" height... | http://blogs.msdn.com/b/dornstein/atom.aspx?Redirected=true | CC-MAIN-2016-30 | refinedweb | 3,356 | 55.95 |
Are you sure?
This action might not be possible to undo. Are you sure you want to continue?
Cat. No. 15006I Department of the Treasury Internal Revenue Service
Contents
Introduction .............................................. Filing Status .............................................. Joint Return .................... | https://www.scribd.com/document/545405/US-Internal-Revenue-Service-p504-1995 | CC-MAIN-2018-30 | refinedweb | 14,193 | 61.06 |
JScript Web Resources are probably the most important type of web resources that you will be using with Microsoft Dynamics CRM.
Form Event Programming is used to handle client-side behaviors such as what happens when a user opens a form, changes some data, moves through tabs, etc. To achieve such client-side interactio... | https://www.tutorialspoint.com/microsoft_crm/microsoft_crm_jscript_web_resources.htm | CC-MAIN-2020-29 | refinedweb | 859 | 56.76 |
Handles low level communication with "the other side". More...
#include <transceiver.hpp>
Handles low level communication with "the other side".
This class handles the sending/receiving/buffering of data through the OS level sockets and also the creation/destruction of the sockets themselves.
Definition at line 79 of f... | http://www.nongnu.org/fastcgipp/doc/2.1/a00083.html | CC-MAIN-2021-10 | refinedweb | 450 | 54.08 |
Having used MongoDb almost exclusively with the NoRM C# driver for several months
now, this is something that I have always wanted to do, just to satisfy my own
curiosity.
Michael Kennedy did a speed test like this but he used LINQ to SQL for the SQL Server
side, which to me is not quite as accurate as comparing "raw" ... | http://www.nullskull.com/a/1498/mongodb-vs-sql-server-basic-speed-tests.aspx | CC-MAIN-2013-20 | refinedweb | 1,435 | 64.51 |
Unit Tests
There are many schools of thought on how, what, and when to test. This is a very sensitive subject for many people. As such, I will simply give an overview of the basic tools available for testing and leave it up to you to decide how and when to use them.
The Test API
Clojure provides built-in support for te... | https://www.oreilly.com/library/view/web-development-with/9781680502152/f_0059.xhtml | CC-MAIN-2020-10 | refinedweb | 155 | 73.27 |
What’s the difference between
addEventListener and
onclick?
var h = document.getElementById("a"); h.onclick = dothing1; h.addEventListener("click", dothing2);
The code above resides together in a separate
.js file, and they both work perfectly.
0
Both are correct, but none of them are “best” per se, and there may be a ... | https://coded3.com/addeventlistener-vs-onclick/ | CC-MAIN-2022-40 | refinedweb | 2,108 | 57.16 |
cpio.08.97-08-03.dos_identd
a8a6a0f0da8c7d6f70b115f1e05a4fb0
From releases@CORINNE.MAC.EDU Sun Aug 10 01:41:55 1997
Date: Mon, 4 Aug 1997 09:19:54 -0500
From: Corinne Posse Releases <releases@CORINNE.MAC.EDU>
To: BUGTRAQ@NETSPACE.ORG
Subject: CPSR #8: identd Denial of Service
************** Corinne Posse Security Notic... | http://packetstormsecurity.org/files/19340/cpio.08.97-08-03.dos_identd.html | crawl-003 | refinedweb | 549 | 57.47 |
Changes in ElementTree 1.3 (preliminary)
Welcome to effbot.org!
This page describes the changes that will take place in the next ElementTree release.
You can get ElementTree development releases from the public subversion repository.
Changes from release 1.2 to 1.3 #
The library requires Python 2.2 or newer (this may c... | http://www.effbot.org/zone/elementtree-changes-13.htm | CC-MAIN-2018-17 | refinedweb | 380 | 52.46 |
7 Things You Need To Know About Web Workers
Introduction
Web Workers allow you to run JavaScript code in the background without blocking the web page user interface. Web workers can improve the overall performance of a web page and also enhance the user experience. Web workers come in two flavors - dedicated web worker... | http://www.developer.com/lang/jscript/7-things-you-need-to-know-about-web-workers.html | CC-MAIN-2014-35 | refinedweb | 2,143 | 65.93 |
I have to write a program that repeats a sentence over a hundred times which also contains 8 random typos and have to have each sentence numbered.
the sentence is: I will never spam my friends again
the program's output should be
- I will never spam my friends again.
I will never spam my friends again.
etc.
import java... | https://www.daniweb.com/programming/software-development/threads/462816/looped-sentence-program | CC-MAIN-2017-09 | refinedweb | 212 | 74.93 |
[flexcoders] Accessing an object within an array
I've got an mxml component that I've created. Below is a simple code sample of what I'm experiencing... Basically I've got a component creating an array of another component. All code hinting was working great for a while. Then, for no apparent reason it stopped working.... | https://www.mail-archive.com/search?l=flexcoders%40yahoogroups.com&q=date:20100626&o=newest | CC-MAIN-2021-21 | refinedweb | 881 | 56.25 |
A while ago, I stumbled over a component called DFPlayer. It's a tiny component that allows to play mp3 from an micro SD card (for less that 10€!)....
Since I was sick of using my smartphone as an alarm clock just to have music to wake me, I decided to build an alarm clock with it.
Step 1: Required Components
- 1x DFPl... | https://www.instructables.com/id/Arduino-MP3-Alarm-Clock/ | CC-MAIN-2018-51 | refinedweb | 1,166 | 73.07 |
Investors in Spotify Technology SA (Symbol: SPOT) saw new options begin trading this week, for the April 2021 SPOT options chain for the new April 2021 contracts and identified one put and one call contract of particular interest.
The put contract at the $270.00 strike price has a current bid of $39.60. If an investor ... | https://www.nasdaq.com/articles/first-week-of-april-2021-options-trading-for-spotify-technology-2020-08-24 | CC-MAIN-2022-27 | refinedweb | 436 | 63.9 |
Are you sure?
This action might not be possible to undo. Are you sure you want to continue?
HYPOTHESES ON ULYSSES
A new look at Homer’s Odyssey
1
Published by The SOLARIS INSTITUTE of The SOPHIA UNIVERSITY OF ROME. (S.U.R.)
Original title: Ipotesi su Ulisse
Translated from Italian by Martha S. Bache-Wiig 2009, authoriz... | https://www.scribd.com/document/34601696/Hypotheses-on-Ulysses | CC-MAIN-2018-22 | refinedweb | 96,013 | 64.14 |
Table of Contents
Intro
This is going to be quite a lengthy blogpost so I’ll try to explain its structure first. I’ll start with a high level overview of components used to build virtual networks by examining 3 types of traffic:
- Unicast traffic between VM1 and VM2
- Unicast traffic between VM1 and the outside world (... | https://networkop.co.uk/blog/2016/04/22/neutron-native/ | CC-MAIN-2020-05 | refinedweb | 3,034 | 56.08 |
Is there a way to consume a paged API via an AutoQuery ServiceSource? i.e. is there are a way to create a custom AutoQuery Data implementation that handles skip/take and passes it to the underlying API?
The ServiceClients GetLazy() API can consume an AutoQuery Services over an IEnumerable which will send multiple paged... | https://forums.servicestack.net/t/autoquery-data-servicesource-paging/5164 | CC-MAIN-2018-43 | refinedweb | 462 | 50.77 |
I am beginning to learn Python and started experimenting with an example code block. I edited it a few times, and on the last edit that I did, I added an optional random password generator. Then I decided that it would make more sense to put the password generator into a separate document, so I copied the necessary cod... | https://codedump.io/share/F4allcZOpHSA/1/faulty-random-password-generator-python-3 | CC-MAIN-2017-09 | refinedweb | 1,408 | 63.39 |
Upcoming changes to Django development version
For a long time, we've recommended that people use the Django development version instead of the latest Django release, as we try hard to keep the development version stable. We're loosening that policy, temporarily, for the immediate future, in order to make a number of b... | http://www.djangoproject.com/weblog/2007/apr/06/changes/ | crawl-002 | refinedweb | 515 | 58.18 |
FeedBurner won't accept my feed, or it did at first but has stopped updating. What's wrong?
If your feed has these XML tags in it:
Code:
<o:p>(some text)</o:p>
It is very likely that your feed will be considered invalid by FeedBurner, Feed Validator, and possibly many other places to which you want your feed properly d... | https://support.google.com/feedburner/answer/79005?hl=en&ctx=cb&src=cb&cbid=-1je3mxpcxjbj9&cbrank=3 | CC-MAIN-2014-10 | refinedweb | 233 | 51.41 |
In matplotlib, errors bars can have "limits". Applying limits to the
error bars essentially makes the error unidirectional. Because of that,
upper and lower limits can be applied in both the y- and x-directions
via the
uplims,
lolims,
xuplims, and
xlolims parameters,
respectively. These parameters can be scalar or bool... | https://matplotlib.org/3.1.1/gallery/statistics/errorbar_limits.html | CC-MAIN-2020-10 | refinedweb | 401 | 52.97 |
ison Seim1,625 Points
how to lookup a character of a tuple string in a dictionary
def morse_code(word): morse_dict = { ', 'y': 'dash-dot-dash-dash', 'z': 'dash-dash-dot-dot' } a = list(word): # enter your code below morse_code("govern")
1 Answer
Chris FreemanTreehouse Moderator 67,622 Points
Hey Allison Seim, looking c... | https://teamtreehouse.com/community/how-to-lookup-a-character-of-a-tuple-string-in-a-dictionary | CC-MAIN-2021-43 | refinedweb | 117 | 62.01 |
The Hough transform is a useful tool in image analysis and in particular feature extraction. The technique uses a voting procedure to detect patterns such as lines, circles or other well-defined geometrical structures. First, the image is transformed into parameter space. In constrast to e.g. the Fourier transform, the... | https://grocid.net/2015/05/06/playing-around-with-line-detection/ | CC-MAIN-2017-17 | refinedweb | 385 | 62.24 |
May 2013
Volume 28 Number 05
Windows with C++ - Introducing Direct2D 1.1
By Kenny Kerr | May 2013
Windows 8 launched with a major new version of Direct2D. Since then, Direct2D has made it into Windows RT (for ARM devices) and Windows Phone 8, both of which are based on this latest version of Windows. Support for Direct... | https://docs.microsoft.com/en-us/archive/msdn-magazine/2013/may/windows-with-c-introducing-direct2d-1-1 | CC-MAIN-2020-24 | refinedweb | 3,822 | 53.71 |
Code Sample: ASP.NET Simple Forms
Published: April 7, 2011
Updated: March 4, 2015
Applies To: Azure
This sample illustrates how to integrate ACS with an ASP.NET Web Forms application. The code for this sample is located in the ASPNETSimpleForms (C#\Websites/ASPNETSimpleForms) subdirectory of the Microsoft Azure Active ... | https://msdn.microsoft.com/en-us/library/gg185938.aspx | CC-MAIN-2015-18 | refinedweb | 564 | 58.89 |
XML file
This article describes how to read and write an XML file as an Apache Spark data source.
Requirements
Create the
spark-xmllibrary as a Maven library. For the Maven coordinate, specify:
- Databricks Runtime 7.x and above:
com.databricks:spark-xml_2.12:<release>
- Databricks Runtime 5.5 LTS and 6.x:
com.databric... | https://docs.databricks.com/data/data-sources/xml.html | CC-MAIN-2021-39 | refinedweb | 1,407 | 52.05 |
User Tag List
Results 1 to 5 of 5
Threaded View
- Join Date
- Jun 2002
- Location
- Riding the electron wave
- 372
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Simple search using MySQL's Fulltext Search?
I am trying to research how to impliment MySQL 4.X's FTS (Fulltext Search) into my LAN-based invoicing system.
GO... | http://www.sitepoint.com/forums/showthread.php?225572-Simple-search-using-MySQL-s-Fulltext-Search&p=1619798&mode=threaded | CC-MAIN-2013-48 | refinedweb | 379 | 63.83 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.