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 curves vary with respect the parameter t and their appearance is determined by the ratio a/b and the value of δ.
As usual, I made a snippet to visualize them:
from numpy import sin,pi,linspace from pylab import plot,show,subplot a = [1,3,5,3] # plotting the curves for b = [1,5,7,4] # different values of a/b delta =... | http://glowingpython.blogspot.it/2011/12/lissajous-curves.html | CC-MAIN-2017-30 | refinedweb | 224 | 66.98 |
I'm trying to analyse a method and when debuggintg it has a return type as ??? even though the type is declared in the .Net framework (4.0), the return type should be IObservable<T>.
Why is the return type uinknown for this method declaration (IMethodDeclaration)?
Cheers
Ollie Riches
I'm trying to analyse a method and ... | https://resharper-support.jetbrains.com/hc/en-us/community/posts/205991569-DeclaredElement-return-type-is- | CC-MAIN-2020-16 | refinedweb | 737 | 66.74 |
Hi there,
I made a project, where I want to pull a thread with two Lego-Wheels. The hardware all works as it should, but I got a problem using the stepper, which I could not solve by myself and google didn’t help either:
If the speed of the stepper is set too low, it decreases the speed even more.
In this program I cal... | https://forum.arduino.cc/t/stepper-too-slow-on-low-speed/673208 | CC-MAIN-2022-05 | refinedweb | 297 | 65.62 |
In my first article using the Arduino 2009 board, I described a simple temperature sensor interfaced using Visual Basic.
I have developed the board and Visual Basic code to give a fairly usable indoor weather station.
The Arduino 2009 acts as a standalone weather station. It does not display the data. It can operate in... | https://www.codeproject.com/Articles/55943/Indoor-Weather-Station-using-Arduino | CC-MAIN-2017-51 | refinedweb | 1,939 | 57.47 |
linecache module in Python: cache a text file
Get FREE domain for 1st year and build your brand new site
linecache is one of the most useful modules of Python standard library which can be used to have random access to any text file. This is used by the traceback module (which extracts, formats and prints the stack tra... | https://iq.opengenus.org/linecache-module-python/ | CC-MAIN-2021-43 | refinedweb | 1,724 | 65.01 |
As mentioned in the post VSTS Rangers Projects – TFS Migration: A state of the nation status update, we are busy reviewing some of the new and also existing re-factored artefacts. The following questions and answers are some of the questions that we have received and the associated answers. The references for the quest... | https://blogs.msdn.microsoft.com/willy-peter_schaub/2009/06/17/vsts-rangers-projects-tfs-migration-questions-and-answers/ | CC-MAIN-2017-39 | refinedweb | 882 | 60.95 |
Is it possible to blink 3 leds at the same time but all 3 leds blinks at different rates?
Yes.
Do a site search on things like "blink without delay" or "using millis".
millis() timing tutorials:
Several things at a time.
Beginner's guide to millis().
Blink without delay().
The initial examples delivered with the arduin... | https://forum.arduino.cc/t/blinking-3-leds-concurrently-and-independently/919646 | CC-MAIN-2021-49 | refinedweb | 1,030 | 56.66 |
Update: It turns out this feature has been implemented to test n3386. You can read the discussion and even see the patch on the mailing list:
Are your two favourite C++11 features decltype and declval? I have mixed feelings. On one hand, it lets me write code like this
template< class X, class Y > constexpr auto add( X... | http://yapb-soc.blogspot.com/2012/12/gcc-48-has-automatic-return-type.html | CC-MAIN-2015-48 | refinedweb | 1,098 | 61.36 |
Robotics - Writing and Testing VPL Services for Serial Communication
By Trevor Taylor | February 2010
Microsoft Robotics Developer Studio (RDS) is, as you’d expect, a platform for programming robots. RDS first shipped in 2006 and the latest version, RDS 2008 R2, was released in June 2009.
RDS consists of four major com... | https://msdn.microsoft.com/en-us/magazine/ee309885.aspx | CC-MAIN-2016-44 | refinedweb | 4,398 | 53.71 |
There were feature requests and bug reports. Much to do. Sadly, I'm really slow at doing it.
Thursday, December 30, 2010
pyWeb Literate Programming Tool | Download pyWeb Literate Programming Tool software for free at SourceForge.net
I've (finally) updated the pyWeb Literate Programming Tool.
Top Language Skills
Check o... | http://slott-softwarearchitect.blogspot.com/2010_12_01_archive.html | CC-MAIN-2018-26 | refinedweb | 2,169 | 58.79 |
The <%python> tag is also capable of specifying Python code that occurs within a specific scope of a template's execution, using the scope attribute. Scopes are provided that specify Python code as always the first thing executed within a component, always the last thing executed, or executes once per request, once per... | http://packages.python.org/Myghty/scopedpython.html | crawl-003 | refinedweb | 1,804 | 50.87 |
Bummer! This is just a preview. You need to be signed in with a Basic account to view the entire video.
Generating a Service6:20 with James Churchill
Now let's use the CLI to generate a service that we'll use within our new component.
Available Schematics
The following schematics are available for use with the
ng gener... | https://teamtreehouse.com/library/generating-a-service | CC-MAIN-2018-22 | refinedweb | 985 | 62.98 |
I have this program but a liitle confused about getting the loop to work. i have to write a program that inputs a text and a search string from the keyboard. using a function strstr locate the first occurrence of the search string of the line of text, and assign the location to a variable searchptr of type char* if the... | https://www.daniweb.com/programming/software-development/threads/14236/need-help-with-string-loop | CC-MAIN-2017-17 | refinedweb | 194 | 72.05 |
What (1926-1997)
Allen Ginsberg
At one web site a person wonders:
Another misunderstanding souls relates:
Written in the American poetic tradition, with Walt Whitman and William Carlos Williams as major influences. His poetry possess an improvised quality in its informality, discursive and repetitiveness. It conveys im... | https://m.everything2.com/title/A+Supermarket+in+California | CC-MAIN-2022-05 | refinedweb | 726 | 61.36 |
Table of Contents
Tool Chain Requirements
OpenMP support for RTEMS is available via the GCC provided libgomp. To enable
the OpenMP support for GCC add the
--enable-libgomp option to the GCC
configure command line.. Make sure that RTEMS is configured with the
--enable-smp
option.
Configuration.
Open Issues
- Atomic oper... | https://devel.rtems.org/wiki/OpenMP?version=10 | CC-MAIN-2020-40 | refinedweb | 196 | 68.67 |
Opened 8 years ago
Closed 8 years ago
#3920 enhancement closed duplicate (duplicate)
Socks4a now with Asynchronous hostname resolution
Description
A short while ago I implemented the socks4a feature. It used a blocking gethostbyname to resolve hostnames which was a fast and easy update.
With this new slightly longer fi... | http://twistedmatrix.com/trac/ticket/3920 | CC-MAIN-2017-51 | refinedweb | 213 | 59.19 |
New to Typophile? Accounts are free, and easy to set up.
Dear Bezier and Math Masers,
for a piece of software I'm writing for some time now I need to calculate points on a Bezier curve. These points need to be of exactly identical absolute distance from each other.
At the moment I'm using the common SplitCubicAtT funct... | http://www.typophile.com/node/86965 | CC-MAIN-2014-10 | refinedweb | 2,175 | 62.48 |
22 June 2012 08:25 [Source: ICIS news]
SINGAPORE (ICIS)--India’s Reliance Industries Ltd (RIL) has adjusted its list prices by Indian rupees (Rs) 1.00-1.50/kg (1,000-1,500/tonne) ($17.76-26.64/tonne) lower for high density polyethylene (HDPE) monofilament yarn and low density PE (LDPE) grades, industry players said on ... | http://www.icis.com/Articles/2012/06/22/9571828/indias-reliance-cuts-again-pe-list-prices-on-lower-import.html | CC-MAIN-2015-11 | refinedweb | 243 | 72.56 |
Hi,
I have an input file which contains 3 sentences:
Jane likes chicken.
Alex likes chicken too.
both like chicken.
At the beginning of the 3rd sentence I want to add a word "They" while the reference line is the 1st line i.e "Jane likes chicken".
The code I have tried to develop can do so if reference is made to the e... | https://cboard.cprogramming.com/cplusplus-programming/142344-how-insert-word-different-line-than-one-being-referenced.html | CC-MAIN-2017-43 | refinedweb | 243 | 72.46 |
dru-webware@... wrote:
>BTW, also, what is the best way to get some code to run
>when a context is started up?
Stuff your code in the __init__.py file of the context in question. Also,
...Edmund.
BTW, also, what is the best way to get some code to run
when a context is started up?
I need to reload the TaskKit schedule... | https://sourceforge.net/p/webware/mailman/webware-devel/?viewmonth=200206&viewday=9 | CC-MAIN-2017-17 | refinedweb | 399 | 75.91 |
Cells
View Components for Ruby and Rails.
Overview
Cells allow you to encapsulate parts of your UI into components into view models. View models, or cells,, caching, and integrate with Trailblazer.
This is not Cells 3.x!
Temporary note: This is the README and API for Cells 4. Many things have improved. If you want to u... | http://www.rubydoc.info/github/apotonick/cells/ | CC-MAIN-2015-35 | refinedweb | 1,551 | 59.7 |
NAMEsetns - reassociate thread with a namespace
SYNOPSIS
#define _GNU_SOURCE /* See feature_test_macros(7) */ #include <sched.h>
int setns(int fd, int nstype);
DESCRIPTIONThe setns() system call allows the calling thread to move into different namespaces. The fd argument is one of the following:
- a file descriptor ref... | https://man.archlinux.org/man/setns.2.en | CC-MAIN-2022-21 | refinedweb | 771 | 60.55 |
Tail recursion
Let's start this one with a formal definition which we'll borrow from Wikipedia:.
Putting it in simpler terms: when you call a procedure as the final action of your own procedure (function, method, etc) you have a tail call. If that call happens to be called again down the call chain, it is tail-recursiv... | https://mccricardo.com/tail-recursion/ | CC-MAIN-2021-25 | refinedweb | 747 | 69.21 |
import ssh_host_key_file
Function
The import ssh_host_key_file command is used to replace the public key file and private key file on the SSH server.
Format
import ssh_host_key_file key_type=? ip=? user=? password=? public_key_file=? private_key_file=? [ protocol=? ] [ port=? ]
Parameters
Level
Super administrator
Usag... | https://support.huawei.com/enterprise/en/doc/EDOC1100049140/b4d9f8d0 | CC-MAIN-2019-39 | refinedweb | 158 | 53.85 |
i'm working on my proyect with codewarrior 10.2 and when i want to make the proyect, there are 3 errors that say:
and when i click on any of those errors, the focus goes on ccstddef.h section:
#ifdef __GNUG__
#pragma interface "stddef.h"
#endif
#include <Gconfig.h>
#include <cstddef.h>
extern "C++"
{
#ifndef _LIBRARY_W... | https://community.nxp.com/thread/308912 | CC-MAIN-2018-22 | refinedweb | 151 | 76.42 |
This pile of codes here has no errors in it when being compiled. However, when I tried to build it, it says:
Here are my codes:Here are my codes:Code:-------------- Build: Debug in Funtion2 --------------- Linking console executable: bin\Debug\Funtion2.exe collect2: cannot find `ld' Process terminated with status 1 (0 ... | http://cboard.cprogramming.com/cplusplus-programming/107166-unknown-error-%60ld%27.html | CC-MAIN-2015-35 | refinedweb | 170 | 58.21 |
Making adept use of threads on Android can help you boost your app’s performance. This page discusses several aspects of working with threads: working with the UI, or main, thread; the relationship between app lifecycle and thread priority; and, methods that the platform provides to help manage thread complexity. In ea... | https://developer.android.com/topic/performance/threads?hl=nl | CC-MAIN-2021-04 | refinedweb | 2,392 | 52.6 |
Member Since 5 Months Ago)
Sinnbeck, Had to go back and edit my question since all of the codes were hidden. Thanks in advance.
Started a new Conversation Display Oracle Blob (Image)
I'm new to Laravel, but I have the following code on my controller below.
namespace App\Http\Controllers; use Validator;
use Illuminate\H... | https://laracasts.com/@johnw65 | CC-MAIN-2020-40 | refinedweb | 1,334 | 64 |
Opened 9 years ago
Closed 9 years ago
Last modified 9 years ago
#1652 closed defect (fixed)
sqlite backend executemany -> typo bug
Description
There is a typo in
backends/sqlite/base.py
note how the last line uses a non existing parameter param instead of param_list
def executemany(self, query, param_list): query = sel... | https://code.djangoproject.com/ticket/1652 | CC-MAIN-2015-18 | refinedweb | 105 | 52.8 |
This control, we can eliminate the necessity of controlling logon through IIS, and enable it through our code. This opens up a considerable area of control through code. We can hence have a control on which user login is requested, and on which domain and all that.
We will discuss the creation of the project and the lo... | http://www.codeproject.com/KB/web-security/ASPdotnet_LoginControl.aspx | crawl-002 | refinedweb | 1,033 | 56.76 |
View Source MyXQL
MySQL driver for Elixir.
Documentation:
Features
- Automatic decoding and encoding of Elixir values to and from MySQL text and binary protocols
- Supports transactions, prepared queries, streaming, pooling and more via DBConnection
- Supports MySQL 5.5+, 8.0, and MariaDB 10.3
- Supports
mysql_native_p... | https://hexdocs.pm/myxql/readme.html | CC-MAIN-2022-33 | refinedweb | 567 | 58.89 |
The Qt namespace contains miscellaneous identifiers used throughout the Qt library. More...
#include <Qt>
The Qt namespace contains miscellaneous identifiers used throughout the Qt library..
An anchor has one or more of the following attributes:
This enum describes attributes that change the behavior of application-wid... | http://doc.qt.nokia.com/4.5-snapshot/qt.html#ConnectionType-enum | crawl-003 | refinedweb | 178 | 59.19 |
/* prot.c Protocol support routines to move commands and data around. Copyright (C) 1991, 1992, 1994_rcsid[] = "$Id: prot.c,v 1.33 2002/03/05 19:10:41 ian Rel $"; #endif #include <errno.h> #include "uudefs.h" #include "uuconf.h" #include "system.h" #include "conn.h" #include "prot.h" /* Variables visible to the protoco... | http://opensource.apple.com/source/uucp/uucp-11/uucp/prot.c | CC-MAIN-2014-52 | refinedweb | 781 | 73.27 |
Printing barcodes in Windows Service projects using C# or VB.NET
November 10, 2010 Leave a comment
Some weeks ago, a customer contacted us about some intermittent issues he had when printing barcodes in a Windows Service using our Barcode Professional SDK for .NET
Barcode Pro SDK for .NET is written using 100% managed ... | https://neodynamic.wordpress.com/2010/11/10/printing-barcodes-in-windows-service-projects-using-c-or-vb-net/ | CC-MAIN-2017-34 | refinedweb | 368 | 54.32 |
Since I published A quest for pattern-matching in Ruby 3 years ago, I’ve been called “pattern matching guy" more than once. So obviously, when I learned that PM is inevitably coming to the Ruby core, I was curious to check it out. First Impressions have already been published, so this is "Second Impressions", from my p... | https://jsobject.info/2019/04/19/ruby-pattern-matching-second-impressions/ | CC-MAIN-2019-35 | refinedweb | 615 | 70.13 |
Using.
Feeds displayed in Outlook look just like mail folders, and show the unread count next to the feed name. Michael describes how to setup this type of Search Folder in this OfficeHours article.
Another handy feature is that RSS in Outlook is that the Outlook feed list can be synchronized with the Windows Common Fe... | http://blogs.msdn.com/outlook/archive/2008/02/08/using-rss-feeds-in-outlook-2007.aspx | crawl-002 | refinedweb | 3,382 | 71.55 |
Windows Azure Accelerator for Web Roles (Year of Azure Week 2)
Tired of it taking 10-30 minutes to deploy updates to your website? Want a faster solution that doesn’t introduce issues like losing changes if the role instance recycles? Then, you need to look into the newly released Windows Azure Accelerator for Web Role... | https://brentdacodemonkey.wordpress.com/2011/07/13/windows-azure-accelerator-for-web-roles-year-of-azure-week-1/ | CC-MAIN-2018-26 | refinedweb | 1,181 | 72.76 |
10.2. Applying a linear filter to a digital signal
Linear filters play a fundamental role in signal processing. With a linear filter, one can extract meaningful information from a digital signal.
In this recipe, we will show two examples using stock market data (the NASDAQ stock exchange). First, we will smooth out a v... | https://ipython-books.github.io/102-applying-a-linear-filter-to-a-digital-signal/ | CC-MAIN-2019-09 | refinedweb | 1,439 | 55.34 |
Timeline
11/13/13:
- 19:22 Ticket #21435 (Improved error message for reverse v. reverse_lazy) created by
- […] Uninformative foremost as %s is top-level urls (problem …
- 19:04 BetterErrorMessages edited by
- (diff)
- 16:38 Ticket #21434 (IN clause not supporting the to_field) created by
- I think this is similar to bu... | https://code.djangoproject.com/timeline?from=2013-11-13T14%3A44%3A59-08%3A00&precision=second | CC-MAIN-2014-15 | refinedweb | 983 | 58.08 |
Merge sort is another comparison based sorting algorithm. Also, it is a divide and conquer algorithm, which means the problem is split into multiple simplest problems and the final solution is represented by putting together all the solutions.
How it works:
The algorithm divides the unsorted list into two sub-lists of ... | http://www.exforsys.com/tutorials/c-algorithms/merge-sort.html | CC-MAIN-2014-42 | refinedweb | 819 | 63.32 |
DC 2004-03-22 - I've submitted a TIP to include a megawidget package in the core. This package will not consist of an actual framework for defining widgets but will instead include several helper functions that a megawidget package can use to control the basic functions of megawidgets. The commands provided by the TIP ... | http://wiki.tcl.tk/10986 | CC-MAIN-2017-04 | refinedweb | 1,477 | 68.5 |
Mono Contribution HOWTO
From Mono
A little help for mono newbie coders
For those who are new to Mono and are impatient to contribute with code (uhh... you are brave!!) here is the document you should read.
You will see all Mono hackers say the same (great minds have similar way of thinking): First, DO WRITE TESTS!!!. I... | http://www.mono-project.com/Mono_Contribution_HOWTO | crawl-001 | refinedweb | 851 | 73.68 |
I was looking for a StringBuilder type of thing to use in Python (I've been working in PHP, at work, recently, and cStringIO had momentarily slipped my mind), and found StringIO and cStringIO, but in doing so, I found a post that claimed that they both performed very poorly in comparison with plain old, naive string co... | https://www.daniweb.com/programming/software-development/threads/287700/profile-results-misleading | CC-MAIN-2017-26 | refinedweb | 568 | 74.19 |
Probing a Hidden .NET Runtime Performance Enhancement
Jomo Fisher--Matt Warren once told me that the runtime had a performance optimization involving calling methods through an interface. If you only had a small number of implementations of a particular interface method the runtime could optimize the overhead of those ... | https://docs.microsoft.com/en-us/archive/blogs/jomo_fisher/probing-a-hidden-net-runtime-performance-enhancement | CC-MAIN-2021-31 | refinedweb | 274 | 57.16 |
Anatomy of a SQL Injection Attack 267.
Use a persistence library (Score:3, Informative)
One should definitely use a persistence library instead of concatenating strings to help mitigate the possibilities of being victim of SQL injections. They are pretty good at it. Hibernate is a widely used one.
Re:Use a persistence ... | http://developers.slashdot.org/story/10/02/26/0542206/anatomy-of-a-sql-injection-attack?sdsrc=next | CC-MAIN-2014-10 | refinedweb | 4,840 | 61.36 |
Introduction
C++ or ‘the New C,’ as it is based on C’s framework and additional features. C++ is also credited to influence several languages such as C# and other newer editions of C. It is also recognized with the introduction of Object-Oriented Programming. This establishes the fact about how essential C++ has been f... | https://www.upgrad.com/blog/file-handling-in-c-plus-plus/ | CC-MAIN-2021-31 | refinedweb | 1,010 | 70.94 |
Say you have the following Java class:
public class MyClass
{
private String name = "";
public String getName()
{
return name;
}
}
Then you can do the following in Kotlin:
println(MyClass().getName())
However, IntelliJ recognizes the prefix get and will suggest you use property notation:
get
println(MyClass().name)
Fur... | https://discuss.kotlinlang.org/t/java-interop-intellij-property-syntax-for-method-invocations/4611 | CC-MAIN-2017-43 | refinedweb | 481 | 58.58 |
#include <aflibEnvFile.h>
List of all members.
This class will create a .<name> directory in the users home directory or a directory for the users choice. It will then manage a set of key values that the programmer can search for. This allows programmers to save a users settings and then retrieve then at a latter time.... | http://osalp.sourceforge.net/doc/html/class_aflibEnvFile.html | crawl-001 | refinedweb | 148 | 69.28 |
Google Cardboard continues to be one of the primary ways that many creators and the general public are getting their first taste of virtual reality. In this three part series for Make:, I have been exploring how people used to building things in the physical world can get involved with the exciting virtual one that is ... | http://makezine.com/projects/getting-started-virtual-reality-add-interactivity-google-cardboard/ | CC-MAIN-2017-04 | refinedweb | 2,194 | 66.27 |
SWF Tag DefineEditText (37). More...
#include <DefineEditTextTag.h>
SWF Tag DefineEditText (37).
Virtual control tag for syncing streaming sound to playhead
Gnash will register instances of this ControlTag in the frame containing blocks of a streaming sound, which is occurrences of SWF Tag StreamSoundBlock (19).
The ta... | http://gnashdev.org/doc/html/classgnash_1_1SWF_1_1DefineEditTextTag.html | CC-MAIN-2015-32 | refinedweb | 268 | 54.49 |
Typed table block¶
The
typed_table_block module provides a StreamField block type for building tables consisting of mixed data types. Developers can specify a set of block types (such as
RichTextBlock or
FloatBlock) to be available as column types; page authors can then build up tables of any size by choosing column ty... | https://docs.wagtail.org/en/v2.15.1/reference/contrib/typed_table_block.html | CC-MAIN-2022-21 | refinedweb | 319 | 51.75 |
PROBLEM LINK:
Setter- Erfan Alimohammadi
Tester- Roman Bilyi
Editorialist- Abhishek Pandey
DIFFICULTY:
EASY
PRE-REQUISITES:
Binary Search, Two Pointers
PROBLEM:
Given an array A of size N, find number of ways to delete a non-empty subarray from it so that the remaining part of A is strictly increasing.
QUICK-EXPLANATIO... | https://discuss.codechef.com/t/delarray-editorial/32453 | CC-MAIN-2021-10 | refinedweb | 2,034 | 59.94 |
On Fri, May 07, 1999 at 01:58:28PM -0700, Chris Waters wrote: > > 3. On the issue of QT. please note that I don't believe that Debian > > should use this. I would rather see your UI based around something > > like GTK. When I mention QT it is only to do with Corel's version of > > the setup UI , which to point out agai... | https://lists.debian.org/debian-devel/1999/05/msg00367.html | CC-MAIN-2017-22 | refinedweb | 305 | 71.24 |
02, 2021
Release 1.7.2
Anthos clusters on bare metal release 1.7.2 is now available. To upgrade, see Upgrading Anthos on bare metal. Anthos clusters on bare metal 1.7.2 runs on Kubernetes 1.19.
Fixes:
- Fixed CVE-2021-25735 that could allow node updates to bypass a Validating Admission Webhook. For more details, open ... | https://cloud.google.com/anthos/clusters/docs/bare-metal/1.7/release-notes-1.7?hl=es-ES&skip_cache=true | CC-MAIN-2021-25 | refinedweb | 1,382 | 50.94 |
Hi all,
I have the following situation any help will be appreciated.
the user supplys two values a1 and a2, based on the value of a1 I show him a different form where one of the fields is populated. the user then edits it along with the rest of the form and hits submit.
i have successufully achieved to display the seco... | http://www.theserverside.com/discussions/thread.tss?thread_id=18083 | CC-MAIN-2015-32 | refinedweb | 550 | 67.86 |
What
>>52622464
Thanks, I thought it'd be nice if we started posting programming-related news pieces in the OP
Is it worth implementing a 2d vector library using SIMD?
>>52622511
maybe if it will operate on many vectors at once
git rebase master
>>52622511
no
i fell for the linux meme
what do i do now?
>>52622461.
>>52... | http://4archive.org/board/g/thread/52622420 | CC-MAIN-2017-04 | refinedweb | 9,042 | 71.44 |
uswitch - Get or set compatibility environment specific
behavior for a calling process through the uswitch value.
#include <sys/uswitch.h>
long uswitch(
long cmd,
long mask );
Specifies the requested actions. The valid cmd values are:
Returns the current uswitch value for the calling process.
If mask is non-zero, it re... | https://nixdoc.net/man-pages/Tru64/man2/uswitch.2.html | CC-MAIN-2020-45 | refinedweb | 380 | 64.61 |
In the previous example, we have used only public members for the base class.
However, there are 3 types of data members for a class, public, private and protected.
If a data member is declared as private, this data member could only be accessible by its member functions.
Consider the following example.
#include <cstdl... | http://codecrawl.com/2015/02/07/cplusplus-private-members-of-the-base-class/ | CC-MAIN-2016-44 | refinedweb | 144 | 62.17 |
I have a Python 2.7 code which is running two piped suprocess
Popens with multiprocessing
Pool as follows
import sys, shlex import subprocess as sp import multiprocessing as mp try: def run(i): p0 = sp.Popen(shlex.split('myapp'), stdout=sp.PIPE, stderr=sp.PIPE, shell=False) p1 = sp.Popen(shlex.split('cat'), stdin=p0.st... | https://cmsdk.com/python/python-uncatchable-ioerror-errno-32-broken-pipe-from-popen-within-pool.html | CC-MAIN-2021-04 | refinedweb | 270 | 58.79 |
How to Develop a RESTful Web Service in ASP .NET Web API
How to Develop a RESTful Web Service in ASP .NET Web API
Let's take a look at a tutorial that explains how to develop a RESTful web service in ASP .NET with a web API.
One of the most popular distributed architectures in the digital world nowadays is RESTful web ... | https://dzone.com/articles/step-by-step-how-to-develop-a-restful-web-service | CC-MAIN-2018-47 | refinedweb | 1,641 | 51.14 |
Docx is an opensource library which provide creation and manipulation of Microsoft Word Document. It is one of of the easiest way to create documents in your C# application. Above all no need to install Office word on your system and it is fast.
DocX is best alterate for Office.Interop.Word which require Office Install... | https://developerm.dev/2020/05/31/create-word-document-programatically-with-docx-in-c/ | CC-MAIN-2021-17 | refinedweb | 196 | 52.66 |
GLOB(3) BSD Programmer's Manual GLOB(3)
NAME
glob, globfree - generate pathnames matching a pattern
SYNOPSIS
#include <<glob.h>>
int
glob(const char *pattern, int flags,
const int (*errfunc)(const char *, int), glob_t *pglob);
void
globfree(glob_t *pglob);
DESCRIPTION
The glob() function is a pathname generator that im... | http://modman.unixdev.net/?sektion=3&page=globfree&manpath=4.4BSD-Lite2 | CC-MAIN-2017-39 | refinedweb | 271 | 61.56 |
Remarks
scanf("%d", &n)
scanf("%d", n)
field = %x
field = 5218
field=5218
field= 5218
field =5218
fiel d=5218
The format specification string for the output of information can
contain:
A conversion specification consists of the following, in the order
listed:
For examples of conversion specifications, see the sample pr... | http://h71000.www7.hp.com/commercial/c/docs/5763p008.html | CC-MAIN-2014-35 | refinedweb | 1,704 | 56.15 |
Operators
Operators are a basic feature of the C++ language, which, similar to operators in mathematics, allow the production of a result of computation from one, or a combination of two variables. There are roughly 60 operators in C++; fortunately, you only need to know a few of them to get started writing programs.
[... | https://en.cppreference.com/book/intro/operators | CC-MAIN-2018-39 | refinedweb | 547 | 54.32 |
New in spot 1.1.4a (not relased)
* Changes to command-line tools:
- ltlcross has a new option --color to color its output. It is
enabled by default when the output is a terminal.
- ltlcross will give an example of infinite word accepted by the
two automata when the product between a positive automaton and a
negative au... | https://gitlab.lrde.epita.fr/spot/spot/-/blame/b09ef5bea9324e08e63e5dc0fd910a3e619ace0e/NEWS | CC-MAIN-2022-21 | refinedweb | 8,003 | 50.02 |
Subject: [boost] Boost Modularization
From: Robert Ramey (ramey_at_[hidden])
Date: 2011-01-31 12:28:46
I believe that eventually we will want have feel the need to
address some issues in directory structure, namespaces etc.
However, I'm thinking that it's premature to do anything but
set a few policies for new librarie... | https://lists.boost.org/Archives/boost/2011/01/176353.php | CC-MAIN-2019-22 | refinedweb | 152 | 64.3 |
ASP.NET Tip: Sending Mail with ASP.NET 2.0
In ASP.NET 2.0, Microsoft deprecated the System.Web.Mail namespace and replaced it with System.Net.Mail. The new library introduces some new features, but it also includes some bugs in how mail is sent. Before discussing some of these in detail, let's go through some code samp... | https://www.codeguru.com/csharp/.net/net_asp/email/article.php/c12755/ASPNET-Tip-Sending-Mail-with-ASPNET-20.htm | CC-MAIN-2019-35 | refinedweb | 410 | 60.41 |
Github :
Playlist :
SvelteKit is a framework for building extremely high-performance web apps..
The easiest way to start building a SvelteKit app is to run npm init:
To get started, open up a new terminal window and initiate your svelte application using the command below. Note if you don't have npm installed, you'll n... | https://tkssharma.com/lets-learn-sveltekit-server-side-rendering/ | CC-MAIN-2022-40 | refinedweb | 1,260 | 66.33 |
Trying to set a cron job on my Skygear python cloud code, but not sure what I should enter in the decorator. I only know that it will work for units in second, but how to schedule a job to run every 12 hours? It is hard to calculate the seconds every time.
My code is like this, the function is to call a POST request:
@... | https://codedump.io/share/aFMB84v5PEPE/1/how-to-set-a-cron-job-on-skygear-to-run-every-12-hours | CC-MAIN-2018-26 | refinedweb | 124 | 73.68 |
I'm trying to evaluate javascript in Java by using the ScriptEngine class. Here is a short example of what I am trying to do:
import javax.script.ScriptEngineManager;
import javax.script.ScriptEngine;
public class Test {
public static void main(String[] args)
{
ScriptEngine engine = new ScriptEngineManager().getEngineB... | https://codedump.io/share/gaFBOW2GfJFi/1/java-returning-an-object-from-scriptengine-javascript | CC-MAIN-2017-51 | refinedweb | 301 | 60.11 |
Created on 2014-06-29 18:27 by Saimadhav.Heblikar, last changed 2018-12-11 22:29 by terry.reedy.
(This issue is continuation of)
This issue is about a feature to execute any 3rd party code checker from within IDLE.
I am attaching an initial patch(so as to get reviews, is functional logic wise, but missing a lot UI/UX w... | https://bugs.python.org/issue21880 | CC-MAIN-2019-09 | refinedweb | 1,285 | 68.67 |
WSE 3.0 Kerberos Security problem
Discussion in 'ASP .Net Web Services' started by iidelchik@yahoo:
- 616
- Shikari Shambu
- Dec 29, 2004
WSE 2.0 - role based security for Web ServicesHari Menon, Nov 28, 2003, in forum: ASP .Net Security
- Replies:
- 0
- Views:
- 174
- Hari Menon
- Nov 28, 2003
Getting error Security A... | http://www.thecodingforums.com/threads/wse-3-0-kerberos-security-problem.786765/ | CC-MAIN-2015-11 | refinedweb | 131 | 65.62 |
Ferris uses the concept of authorization chains to control access to controllers and their actions. The concept is simple: A authorization chain consists of a series of functions (or callables). When trying to determine to allow or deny a request each function in the chain is called. If any of the functions return Fals... | http://ferris-framework.appspot.com/docs21/users_guide/authorization_chains.html | CC-MAIN-2017-13 | refinedweb | 346 | 50.94 |
Php windows application työt
Markitng sales
Windows Muuta tai ei tiedä Osaan myydä tavaroita
htgfhjgf gfhdddddddn ngfhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhn
I want r programming and windows expert
We are looking for C# Windows App preferrably with DevExpress experience. Philippine based. We will be paying month... | https://www.fi.freelancer.com/job-search/php-windows-application/ | CC-MAIN-2019-39 | refinedweb | 968 | 55.95 |
std::remainder std:.
std::fmod, but not
std::remainder is useful for doing silent wrapping of floating-point types to unsigned integer types: (0.0 <= (y = std::fmod( std::rint(x), 65536.0 )) ? y : 65536.0 + y) is in the range
[-0.0 .. 65535.0], which corresponds to unsigned short, but std::remainder(std::rint(x), 65536... | http://en.cppreference.com/w/cpp/numeric/math/remainder | CC-MAIN-2016-36 | refinedweb | 234 | 55.61 |
Configuring failover clusters in Windows Server can help ensure near-consistent availability. Here are several potential troubleshooting scenarios.
Last month, I looked at some of the more common issues with Windows Server 2008 R2 Failover Clustering, and examined how to accurately troubleshoot those problems.
Remember... | http://technet.microsoft.com/en-us/magazine/hh289314.aspx | CC-MAIN-2014-10 | refinedweb | 2,475 | 62.48 |
class FooController < ApplicationController
before_filter :foo_filter
def action
respond_to :html
end
private
def foo_filter
head :gone unless some_conditions
end
end
How about this (from the Docs):
var casper = require("casper").create({
}),
utils = require('utils'),
http = require('http'),
fs = require('fs');
casper.... | http://www.w3hello.com/questions/-ASP-page-and-302-HTTP-Status-Code-in-IIS-Log- | CC-MAIN-2018-17 | refinedweb | 3,039 | 64.71 |
Bug #3320closed
Feature #5142: Remove ruby-mode.el from ruby's repo
emacs ruby-mode.el font-lock fails on symboled string ending with ?
Description
=begin
Fontification breaks when emacs sees a symbol like
:'this is a symbol?'
example code:¶
class EmacsExample
:symbol
'this is a test'
'is this a test?'
"Can this be a t... | https://bugs.ruby-lang.org/issues/3320 | CC-MAIN-2022-27 | refinedweb | 481 | 73.88 |
import serial
import threading
import Queue
import Tkinter as tk
class SerialThread(threading.Thread):
def __init__(self, queue):
threading.Thread.__init__(self)
self.queue = queue
def run(self):
s = serial.Serial('COM10',9600, timeout=10)
s.bytesize = serial.EIGHTBITS #number of bits per bytes
s.parity = serial.PARITY... | http://www.dreamincode.net/forums/topic/324311-dynamically-update-tkinter-window-based-on-serial-data/ | CC-MAIN-2017-04 | refinedweb | 357 | 66.74 |
> If remove-if is renamed cl-remove-if and then 'remove-if defaliased to > 'cl-remove-if, is it now ok to (require 'cl) at runtime? Won't the > alias now conflict with whatever definition of remove-if the user had? > And if you don't (require 'cl) at runtime, then you can't call > cl-remove-if at runtime, since it migh... | http://lists.gnu.org/archive/html/emacs-devel/2012-04/msg00241.html | CC-MAIN-2016-07 | refinedweb | 211 | 75.3 |
Re: [Fink-devel] xml-simple-pm
here is what I get after installing storable-pm/1_XMLin...ok
[Fink-devel] GNU getopt
I ported GNU getopt or gengetopt and I used the getopt.c, getopt.h and getopt1.c to port lftp and fix a few other ports that use GNU getopt, GNU getopt provide getopt_long which libSystem.dylib doesn't ha... | https://www.mail-archive.com/search?l=fink-devel@lists.sourceforge.net&q=from:%22Justin+Hallett%22 | CC-MAIN-2019-43 | refinedweb | 5,958 | 73.27 |
libevent for Lisp: A Signal Example
- CMUCL/SBCL's SERVE-EVENT
- IOlib
- cl-event (libevent for Lisp, using cffi; three years old)
- cl-async (also using cffi libevent wrapper, actively developed)
I was ready to dive in and get things current, when one last Google search turned up cl-async. This little bugger was hard ... | http://www.advogato.org/person/oubiwann/diary/284.html | CC-MAIN-2015-48 | refinedweb | 467 | 77.06 |
#include <wx/strconv.h>
This class converts between the UTF-7 encoding and Unicode.
It has one predefined instance, wxConvUTF7.
Notice that, unlike all the other conversion objects, this converter is stateful, i.e. it remembers its state from the last call to its ToWChar() or FromWChar() and assumes it is called on the... | https://docs.wxwidgets.org/3.0/classwx_m_b_conv_u_t_f7.html | CC-MAIN-2018-51 | refinedweb | 114 | 53.21 |
Adding Ordinal Indicators with .NET
Introduction
If you know me or have read some of my articles, you would know that I am very inquisitive. I also love languages. I have always wanted to study further, something like drama or writing; sadly, I never had the chance. The ultimate dream would be to have a book or two pub... | https://www.codeguru.com/csharp/.net/net_general/adding-ordinal-indicators-with-.net.html | CC-MAIN-2019-47 | refinedweb | 664 | 56.86 |
'Timer' has no attribute 'PERIODIC'
Hi everyone,
I'm just getting started with timers and irq and I was trying the example code.
However I have an issue with the initialisation of the timer.
Here is my code:
tim1 = Timer(1, mode=Timer.PERIODIC) tim1_ch = tim1.channel(Timer.A, freq=100) tim1_ch.irq(priority=7, trigger=T... | https://forum.pycom.io/topic/1193/timer-has-no-attribute-periodic/1?lang=en-US | CC-MAIN-2020-24 | refinedweb | 391 | 60.01 |
- Kevin Ndung'u Gathuku
- Jan 25, 2017
- Updated on Jul 20, 2017
- Tagged as Python Testing
Testing Python Applications with Pytest
Pytest stands out among Python testing tools due to its ease of use. This tutorial will get you started with using pytest to test your next Python project.
SemaphoreLearn More
Introduction... | http://semaphoreci.com/community/tutorials/testing-python-applications-with-pytest | CC-MAIN-2018-13 | refinedweb | 2,284 | 64.2 |
Importing Keras Models into TensorFlow.js
Hello Readers! In this blog, we will see how to import the Keras models into TensorFlow.js.
You all must have heard the name of TensorFlow.js. TensorFlow.js is a Javascript library, and it is used to integrate two great technology stacks which are – Machine Learning and Web dev... | https://valueml.com/importing-keras-models-into-tensorflow-js/ | CC-MAIN-2021-25 | refinedweb | 622 | 59.3 |
A method, also known as a function, is a module of code that a programmer can create and then call on later on in the program. Many methods already exist in programming languages such as C# but the programmer also has the ability to make their own. A method will usually perform a single task. Many methods can work toge... | https://www.codemahal.com/video/methods-in-c-sharp/ | CC-MAIN-2018-47 | refinedweb | 957 | 70.84 |
In a previous post, I introduced the MauiKit project, the idea with this post is to follow up the previous one and demonstrate some of the controls from the MauiKit and show you how to get started. The MauiKit project is a helpful set of templated controls and custom widgets based on QCC2 and Kirigami that follows the ... | https://nxos.org/articles/mauikit-controls/ | CC-MAIN-2020-50 | refinedweb | 1,555 | 59.74 |
cc[ flag... ] file... -lldap[ library... ]
#include <lber.h>
#include <ldap.h>
#define LDAP_DISP_OPT_AUTOLABELWIDTH 0x00000001
#define LDAP_DISP_OPT_HTMLBODYONLY 0x00000002
#define LDAP_DTMPL_BUFSIZ 2048
These functions use the LDAP display template functions (see ldap_disptmpl(3LDAP) and ldap_templates.conf(4)) to pro... | http://www.shrubbery.net/solaris9ab/SUNWaman/hman3ldap/ldap_entry2text.3ldap.html | CC-MAIN-2014-52 | refinedweb | 857 | 55.64 |
The
Why a lambda and not a block?
June 25, 2009 at 4:14 am
Just because I think passing multiple variables and a block looks weird:
test_named_scope(Tag.all, Tag.whitelisted){|tag| tag.status == Tag::WHITELISTED }
It’d be pretty easy to rewrite it to take a block if you prefer that syntax.
June 25, 2009 at 6:13 am
I’ve... | http://pivotallabs.com/an-easy-way-to-write-named-scope-tests/?tag=cloud | CC-MAIN-2014-42 | refinedweb | 659 | 58.69 |
Subject: Re: [boost] [review][Fit] Review of Fit starts today : September 8 - September 17
From: paul (pfultz2_at_[hidden])
Date: 2017-09-08 15:40:19
On Fri, 2017-09-08 at 15:14 +0000, Fletcher, John P wrote:
> ________________________________________
> From: P F [pfultz2_at_[hidden]]
> Sent: 08 September 2017 14:06
> ... | https://lists.boost.org/Archives/boost/2017/09/238534.php | CC-MAIN-2021-39 | refinedweb | 255 | 67.76 |
�export�.
Note the use of a delegate in the code as shown below:
public delegate bool IECallBack(int hwnd, int lParam);
Let us now study how the callback is
actually implemented. When you click on the button
GetIE, it
calls the event handler
GetIE_Click.
The code is shown below:
private void GetIE_Click(object sender,... | http://www.codeproject.com/KB/cs/runninginstanceie.aspx | crawl-002 | refinedweb | 826 | 58.69 |
Anyone who uses LINQ (or lambdas in general) and the debugger will quickly discover the dreaded message “Expression cannot contain lambda expressions”. Lack of lambda support has been a limitation of the Visual Studio Debugger ever since Lambdas were added to C# and Visual Basic. We’ve heard your feedback and we are pl... | https://blogs.msdn.microsoft.com/visualstudioalm/2014/11/12/support-for-debugging-lambda-expressions-with-visual-studio-2015/ | CC-MAIN-2017-09 | refinedweb | 1,300 | 56.15 |
cube
Cubic DSL for 3D printing
This package is not currently in any snapshots. If you're interested in using it, we recommend adding it to Stackage Nightly. Doing so will make builds more reliable, and allow stackage.org to host generated Haddocks.
Cube: Cubic DSL for 3D printing
Cube is DSL for 3D printing.
This inden... | https://www.stackage.org/package/cube | CC-MAIN-2017-17 | refinedweb | 229 | 79.26 |
.
Extraction rules are similar to validation rules, but instead of verifying data, they will extract the data and store it in the Web test context. For more information, see About Extraction Rules.
Microsoft Visual Studio 2005 Team Edition for Software Testers includes the following predefined validation rules:
Form Fi... | http://msdn.microsoft.com/en-us/library/ms404670(VS.80).aspx | crawl-002 | refinedweb | 373 | 51.78 |
06 April 2012 04:56 [Source: ICIS news]
SINGAPORE (ICIS)--China’ BASF-YPC plans to shut its 300,000 tonne/year monoethylene glycol (MEG) plant at Nanjing in Jiangsu province on 16 April for routine maintenance, a company source said on Friday.
The plant also produces 30,000 tonnes of diethylene glycol (DEG) annually, t... | http://www.icis.com/Articles/2012/04/06/9548356/chinas-basf-ypc-to-shut-meg-plant-on-16-april.html | CC-MAIN-2014-41 | refinedweb | 141 | 61.06 |
AIR can render PDFs using the HTMLControl as long as the host computer has Acrobat 8 or later installed.
I have seen many examples of doing this, just without the ability to scale the PDF larger and smaller when a resize of the AIR application occurs. So I worked that issue out and wanted to share it with the Flex comm... | https://dzone.com/articles/render-pdf-adobe-air-pdf | CC-MAIN-2019-04 | refinedweb | 510 | 55.34 |
Reverse Mode Differentiation is Kind of Like a Lens II
Reverse mode automatic differentiation is kind of like a lens. Here is the type for a non-fancy lens
type Lens s t a b = s -> (a, b -> t)
When you compose two lenses, you compose the getters (s -> a) and you compose the partially applied setter (b -> t) in the reve... | https://www.philipzucker.com/reverse-mode-differentiation-is-kind-of-like-a-lens-ii/ | CC-MAIN-2021-39 | refinedweb | 2,660 | 65.35 |
Parent Directory
|
Revision Log
Added a help facility to "StandardSetup".
# # ScriptSetup ScriptFinish); @EXPORT_OK = qw(GetFile GetOptions Merge MergeOptions ParseCommand ParseRecord UnEscape Escape); use strict; use Carp qw(longmess croak); use CGI; use FIG_Config; use PageBuilder; use Digest::MD5; use File::Basename... | http://biocvs.mcs.anl.gov/viewcvs.cgi/FigKernelPackages/Tracer.pm?revision=1.36&view=markup&pathrev=mgrast_rel_2008_1110_v2 | CC-MAIN-2020-05 | refinedweb | 612 | 59.09 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.