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 |
|---|---|---|---|---|---|
In this post we're going to take a break from showing off features of Python, and we're instead going to focus on how to write Python well. The Python language was created with readability in mind, so we really should do everything in our power to exploit that potential. The result is really beautiful code in our appli... | https://blog.tecladocode.com/writing-clean-python/ | CC-MAIN-2019-47 | refinedweb | 3,162 | 67.59 |
Installing schemas - starting to give up
Hey,
I'm trying to install schemas with Oracle XE or Enterprise.
I managed to unlock HR user as it's installed with XE but no luck with other schemas. They're not in demo folder, I also tried to download them but when i start oe_main.sql it crashes on creating tables like custo... | https://community.oracle.com/tech/developers/discussion/comment/14549059/ | CC-MAIN-2022-40 | refinedweb | 754 | 56.25 |
Excuse me for double post. I thought it failed after submitting.
Type: Posts; User: JorgeChemE
Excuse me for double post. I thought it failed after submitting.
This is maybe the last exercise I will do of my course (yet finished). We have 6 exercises that our instructor left in the last class, 6 exercises about memory ... | https://cboard.cprogramming.com/search.php?s=6e13793a39a89897ce865a81b7affe53&searchid=6042679 | CC-MAIN-2020-45 | refinedweb | 767 | 82.95 |
In my last post, I showed how to retrieve a file system ACL (well, technically a security descriptor) via PowerShell. Today I'll show you how to tweak that ACL using System.Security.AccessControl.
$newRule = New-Object Security.AccessControl.FileSystemAccessRule "keith", Modify, Allow
This next line of code in my examp... | http://www.pluralsight.com/community/blogs/keith/archive/2007/10/31/48903.aspx | crawl-002 | refinedweb | 372 | 56.76 |
Setup Error Reporting in React
Let’s start by setting up error reporting in React. To do so, we’ll be using Sentry. Sentry is a great service for reporting and debugging errors. And it comes with a very generous free tier.
In this chapter we’ll sign up for a free Sentry account and configure it in our React app. And in... | https://serverless-stack.com/chapters/setup-error-reporting-in-react.html | CC-MAIN-2021-04 | refinedweb | 370 | 61.33 |
Net::ACL - Class representing a generic access-list/route-map
use Net::ACL; use Net::ACL::Rule qw( :action :rc ); # Constructor $list = new Net::ACL( Name => 'MyACL', Type => 'prefix-list', Rule => new Net::ACL::Rule( .. ) ); # Fetch existing object by name $list = renew Net::ACL( Name => 'MyACL' Type => 'prefix-list' ... | http://search.cpan.org/~lorensen/Net-ACL-0.07/lib/Net/ACL.pm | CC-MAIN-2014-35 | refinedweb | 524 | 57.37 |
Exporter::Tidy - Another way of exporting symbols
package MyModule::HTTP; use Exporter::Tidy default => [ qw(get) ], other => [ qw(post head) ]; use MyModule::HTTP qw(:all); use MyModule::HTTP qw(:default post); use MyModule::HTTP qw(post); use MyModule::HTTP _prefix => 'http_', qw(get post); use MyModule::HTTP qw(get ... | http://search.cpan.org/~juerd/Exporter-Tidy-0.07/Tidy.pm | CC-MAIN-2015-48 | refinedweb | 624 | 64.91 |
This is a very simple class that will search a given AD group and all groups beneath it and return all user accounts that are members of these groups.
This sounds really simple, and it is, but when I searched the Internet for a solution, I could not find one, so I thought I'd share it here.
There are basically three me... | http://www.codeproject.com/KB/cs/nestedADgroups.aspx | crawl-002 | refinedweb | 730 | 52.19 |
CodePlexProject Hosting for Open Source Software
I'm trying to get a registered service in an HtmlHelper extension. How can I get to the autofac container that has all registered services?
I've tried
var ctx = DependencyResolver.Current.GetService<IUserContext>();
and even
var container = new ContainerBuilder().Build()... | https://orchard.codeplex.com/discussions/269671 | CC-MAIN-2017-09 | refinedweb | 144 | 62.95 |
As a part of the It’s Okay to Be New series, I’ve been doing a lot of research about containers this week. My goal is to lay the foundation for anyone, regardless of technical background, to be able to start playing with and learning about containers — be it LXC, Docker, or the next big container technology.
Personally... | https://acloudguru.com/blog/engineering/history-of-container-technology | CC-MAIN-2021-04 | refinedweb | 1,139 | 50.06 |
Are you sure?
This action might not be possible to undo. Are you sure you want to continue?
R3 Transaction Codes SAP R3 Tables mySAP Certification Criteria SAP Logistics Modules Material Management Logistics Execution Warehouse Management Sales and Distribution Production Planning and Control Quality Management Plant M... | https://www.scribd.com/doc/47259273/SAP-Certification-Exam-Full-Material | CC-MAIN-2017-39 | refinedweb | 37,260 | 52.8 |
.
Run Lambda functions on the AWS IoT Greengrass core
AWS IoT Greengrass provides a containerized Lambda runtime environment for user-defined code that you author in AWS Lambda. Lambda functions that are deployed to an AWS IoT Greengrass core run in the core's local Lambda runtime. Local Lambda functions can be trigger... | https://docs.aws.amazon.com/greengrass/v1/developerguide/lambda-functions.html | CC-MAIN-2021-31 | refinedweb | 3,036 | 55.13 |
Hey guys, I've run into a small problem on this program I was creating. It's supposed to be a simple database using arrays to store names in strings and ages in a separate array. Unfortunately, when I try to have the program echo back all the inputted data, it fails and just inputs the first name and age entered. Take ... | http://cboard.cprogramming.com/cplusplus-programming/144688-cplusplus-novice-needs-help-printable-thread.html | CC-MAIN-2015-22 | refinedweb | 244 | 57.57 |
Are you sure?
This action might not be possible to undo. Are you sure you want to continue?
A REFRESHING STUDY
ON THE RESURRECTION
by
E. W. Bullinger
Scripture shuts us up to the blessed hope of being reunited
in resurrection. That is why the death of believers is so often
called "sleep"; and dying is called "falling a... | https://www.scribd.com/document/177714889/Bullinger-a-Refreshing-Study-on-the-Resurrection | CC-MAIN-2018-05 | refinedweb | 657 | 81.12 |
Flex 3 > FB4 Migration TipJason Villmer Jul 7, 2009 10:41 PM
Thanks to the help of several Adobe members I was able to successfully import a styled (.css) Flex 3 project into Flash Builder 4 and have it retain its aesthetic and functional attributes. I wanted to take a moment and share what I found with everyone, in ca... | https://forums.adobe.com/thread/459008 | CC-MAIN-2017-39 | refinedweb | 804 | 68.1 |
The POSIX liasion report to the LWG at the Bellevue meeting requested the reservation of possible namespaces for future standardization work. Two namespaces were mentioned as candidates: std::posix and ::posix.
The LWG wasn't planning on using either of these namepaces. However, during the Sophia Antipolis meeting, it ... | http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2008/n2667.htm | CC-MAIN-2019-39 | refinedweb | 293 | 60.01 |
PEP 677 -- Callable Type Syntax
Contents
- Abstract
- Motivation
- Rationale
- Specification
- Typing Behavior
- Grammar and AST
- Implications of the Grammar
- Runtime Behavior
- Rejected Alternatives
- Extended Syntax Supporting Named and Optional Arguments
- Syntax Closer to Function Signatures
- Other Proposals Con... | https://www.python.org/dev/peps/pep-0677/ | CC-MAIN-2022-05 | refinedweb | 5,804 | 50.77 |
Cached Queries
The system automatically maintains a cache of prepared SQL statements (“queries”). This permits the re-execution of an SQL query without repeating the overhead of optimizing the query and developing a Query Plan. A cached query is created when certain SQL statements are prepared. Preparing a query occurs... | https://docs.intersystems.com/irislatest/csp/docbook/Doc.View.cls?KEY=GSQLOPT_cachedqueries | CC-MAIN-2020-45 | refinedweb | 6,088 | 56.35 |
strncat() prototype
char* strncat( char* dest, const char* src, size_t count );
The
strncat() function takes three arguments: dest, src and count. This function appends a maximum of count characters of the string pointed to by srcncat() Parameters
dest: Pointer to a null terminating string to append to.
src: Pointer to... | https://www.programiz.com/cpp-programming/library-function/cstring/strncat | CC-MAIN-2020-16 | refinedweb | 135 | 57.61 |
The Pure attribute was added to .NET in version 4 as part of the Code Contracts initiative. Use of the PureAttribute Class indicates that a type or method is functionally "pure", i.e. it does not make any visible state changes. The idea was that Pure and other attributes/functions in the System.Diagnostics.Contracts na... | https://www.infoq.com/news/2019/01/pure-attribute-net-core/ | CC-MAIN-2022-05 | refinedweb | 496 | 57.06 |
Pre-trip orientation weekend
Monday, 25. August 2008, 12:58:47
One of the big part of this formation was about the Guatemala reality. Their history, the Spanish conquest of the Mayas, the 1960-1996 civil war, etc. We also learned about the 21st century Mayas who still today form the majority of the population with the ... | http://my.opera.com/volkuro/blog/2008/08/25/pre-trip-weekend | crawl-002 | refinedweb | 780 | 72.66 |
Brian has blogged about some of the smaller features in the latest release of F# which weren't explicitly called out in the detailed release notes.
I'll add a few here as well:
A note on version numbers
A note on .fsproj file portability
PowerPack: Adding "module" declarations to FsLex and FsYacc
Power Pack: Unicode Le... | http://blogs.msdn.com/b/dsyme/archive/2009/10/21/some-smaller-features-in-the-latest-release-of-f.aspx?Redirected=true | CC-MAIN-2014-23 | refinedweb | 772 | 57.87 |
i know there is atoi and atof for string to int, and double...but wat bout for bool?
Printable View
i know there is atoi and atof for string to int, and double...but wat bout for bool?
i found it i think....i'll post it here, incase anyone want's it too....
atob()
Not standard.
Use a stringstream. It will parse "1" and... | http://cboard.cprogramming.com/cplusplus-programming/65776-string-bool-printable-thread.html | CC-MAIN-2015-27 | refinedweb | 284 | 83.36 |
Here is the code:
from pyspark.sql import SQLContext from pyspark.context import SparkContext from pyspark.sql.types import * from typing import List sc = SparkContext() sqlContext = SQLContext.getOrCreate(sc) schema = StructType([StructField('id', LongType(), True), StructField('gid', LongType(), True), StructField('p... | http://donghao.org/tag/pyspark/ | CC-MAIN-2020-50 | refinedweb | 169 | 67.25 |
Basic Ethereum Smart Contract Syntax
If you plan to do any Ethereum development, you’ll likely be using Solidity, one of the most popular programming languages for smart contracts. Let’s take a look at some basic Solidity syntax. When you write Solidity source code, you save that code in a file with the extension .sol.... | https://www.dummies.com/personal-finance/basic-ethereum-smart-contract-syntax/ | CC-MAIN-2019-47 | refinedweb | 843 | 54.12 |
Bummer! This is just a preview. You need to be signed in with a Pro account to view the entire video.
Vagrant, Puppet & Chef #FTW: Managing Development Environments, Made Easy40:38 with Thijs Feryn
Everyone has used the term and is suitable for both individual developers and development teams. This talk will cover the... | https://teamtreehouse.com/library/vagrant-puppet-chef-ftw-managing-development-environments-made-easy | CC-MAIN-2019-18 | refinedweb | 10,349 | 81.63 |
setting up a new sub project for an implementation of JSR-301 is
definitely a good idea. I think we should start a discussion at
dev@myfaces.apache.org.
On 6/7/07, Scott O'Bryan <darkarena@gmail.com> wrote:
> So... What are the next steps for this? Much debate and voting?
>
> :)
>
> Scott
> Scott O'Bryan wrote:
> > I'm... | http://mail-archives.apache.org/mod_mbox/myfaces-users/200706.mbox/%3C18ff88f90706080404u24eeb676s6fabae67a1a70ec0@mail.gmail.com%3E | CC-MAIN-2018-51 | refinedweb | 786 | 72.76 |
In this talk, I will show how to simplify an app’s architecture by letting the database drive the UI. We’ll explore powerful features of Realm such as change notifications and automatic updates to ensure we never have to manually update the UI again.
Introduction
My name is Nik, and I lead the .NET team at Realm. I wan... | https://academy.realm.io/posts/mobilization-2017-nikola-irinchev-mvvm-realm/ | CC-MAIN-2018-43 | refinedweb | 1,562 | 61.26 |
!
Hi Raymond,
If you need to select data from a set of data tables and insert them into another you can take a look at LINQ to DataSet to greate a join between the three tables:
You can also use the dataset functions themselves to select data out, take a look at the ADO.NET documentation in the MSDN library for that.
H... | http://blogs.msdn.com/b/bethmassi/archive/2007/10/30/quickly-import-and-export-excel-data-with-linq-to-xml.aspx?PageIndex=6 | CC-MAIN-2013-48 | refinedweb | 1,039 | 51.55 |
D (The Programming Language)/d2/Slicing
Lesson 9: Slicing and a Deeper Look into Dynamic Arrays[edit]
Slicing in D is one of the language's most powerful and useful aspects. This lesson is really more of a continuation of the last lesson - you will also get a deeper look into how D's arrays work.
Introductory Code[edit... | http://en.wikibooks.org/wiki/D_(The_Programming_Language)/d2/Lesson_9 | CC-MAIN-2014-42 | refinedweb | 1,595 | 63.39 |
Email has been around for a pretty long time, 45 years to be exact. But even as old as it is, email is still a critical part of our lives. So it’s inevitable that whether you are writing a server script or a website, you need to be able to send out an email. Most modern programming frameworks have the ability to send e... | https://wireandfrost.com/sparkpost-coding/ | CC-MAIN-2019-39 | refinedweb | 1,062 | 66.54 |
I looked at the calendar today, and it turns out that I've been back from New Zealand for four weeks now. That's hard to believe: I haven't achieved a great deal in all that time, and it sucks to be back.
There's an interesting post on the binutils list about printf as a macro:
printf ("%*s", #ifdef BFD64 16, #else 8, ... | http://www.advogato.org/person/johnm/diary.html?start=12 | CC-MAIN-2014-42 | refinedweb | 307 | 69.01 |
FIN 515 Week 8 Final Exam (Version 2)
Purchase here
Product Description
1. (TCO A) Which of the following statements is NOT correct? (Points : 5)
2. (TCO F) Which of the following statements is correct? (Points : 5) (a) (TCO F) Which of the following statements is correct? (Points : 5)
3. 3 (TCO D) The Ackert Company's... | http://www.brainia.com/essays/Fin-515-Week-8-Final-Exam/368099.html | CC-MAIN-2017-13 | refinedweb | 249 | 77.53 |
OpenGL windows and contexts
There are many ways you can perform OpenGL rendering in Qt. The most straightforward way that we will mainly use is to subclass QOpenGLWindow. It allows OpenGL to render your content directly to a whole window and is suitable if you draw everything in your application with OpenGL. You can ma... | https://pl.b-ok.org/book/3629213/cf4a8f | CC-MAIN-2019-26 | refinedweb | 14,189 | 60.65 |
hi, everyone
I am a Java newbie. I have followed a bunch of tutorials and examples from the web but they all failed miserably at teaching me how to properly apply this library: com.google.gson.
First how do I receive properly in the java servlet a json request that has been encoded with JSON.stringify(myRequest) in jav... | https://www.daniweb.com/programming/software-development/threads/468888/how-to-receive-and-send-json-with-the-com-google-gson-library | CC-MAIN-2017-17 | refinedweb | 216 | 60.82 |
Quantum Generative Adversarial Networks with Cirq + TensorFlow¶
This demo constructs a Quantum Generative Adversarial Network (QGAN) (Lloyd and Weedbrook (2018), Dallaire-Demers and Killoran (2018)) using two subcircuits, a generator and a discriminator. The generator attempts to generate synthetic quantum data to matc... | https://pennylane.ai/qml/demos/tutorial_QGAN.html | CC-MAIN-2020-16 | refinedweb | 1,317 | 54.69 |
Java class named JOptionPane that produce dialog boxes. A dialog box is a GUI object in which you can place messages that you want to display on the screen. The showMessageDialog() method that is part of the JOptionPane class. The showMessageDialog() method is followed by a set of parentheses. The showMessageDialog() a... | http://ecomputernotes.com/java/swing/dialogboxinjavaexample | CC-MAIN-2019-39 | refinedweb | 118 | 61.02 |
. r~
typedef unsigned long word; #define ldq(X) (*(const word *)(X)) #define ldq_u(X) (*(const word *)((X) & -8)) #define cmpbge __builtin_alpha_cmpbge #define extql __builtin_alpha_extql #define extqh __builtin_alpha_extqh #define insbl __builtin_alpha_insbl #define insqh __builtin_alpha_insqh #define zap __builtin_al... | https://lists.debian.org/debian-alpha/2009/07/msg00014.html | CC-MAIN-2017-39 | refinedweb | 489 | 59.91 |
Sqlite3 Browser
Hi All,
I thought I would share something that I have been working on and off for a week or so now, it is a sqlite3 browser. I have been trying to teach my self python and this is currently a very much work in progress so please ignore the quality of the code etc.
The file browser is currently only set ... | https://forum.omz-software.com/topic/2326/sqlite3-browser/3 | CC-MAIN-2019-35 | refinedweb | 517 | 81.22 |
{-# LANGUAGE Trustworthy #-} {-# LANGUAGE CPP, NoImplicitPrelude, MagicHash, BangPatterns #-} ----------------------------------------------------------------------------- -- | -- Module : Data.List -- Copyright : (c) The University of Glasgow 2001 -- License : BSD-style (see the file libraries/base/LICENSE) -- -- Main... | https://hackage.haskell.org/package/base-4.7.0.2/docs/src/Data-List.html | CC-MAIN-2018-26 | refinedweb | 193 | 54.46 |
Feedback
Getting Started
Discussions
Site operation discussions
Recent Posts
(new topic)
Departments
Courses
Research Papers
Design Docs
Quotations
Genealogical Diagrams
Archives
In the Spirit of C, by Greg Colvin.
A somewhat biased and over enthusiastic overview of the evolution of C and ilk.
I am sure LtU readers wil... | http://lambda-the-ultimate.org/node/26 | CC-MAIN-2019-13 | refinedweb | 299 | 61.46 |
I created this method for testing/experimenting with a kernel on a 32 bit Intel/AMD system. The programs can easily be port to a 64 bit Intel/AMD processor with some reference to the Intel/AMD manuals..I actually have it here somewhere if you really need it.
Please Note - This is a hack that will only work on a 32 bit ... | http://www.linuxforums.org/forum/kernel/creating-test-interrupt-intel-amd-32-bit-processor-print-158869.html | CC-MAIN-2017-51 | refinedweb | 499 | 57.98 |
Hello,
I am currently trying to build an app with a new feature for mobile platforms (iOS and Android). The added feature consists of downloading a list of movies (up to 60). At first glance, using the www class to download movies seemed to work fine on all platforms but unfortunately, an OutOfMemoryException occurs af... | https://answers.unity.com/questions/899637/www-download-outofmemoryexception-ios-and-android.html | CC-MAIN-2021-17 | refinedweb | 559 | 65.01 |
Created on 2007-04-16 10:05 by iceberg4ever, last changed 2007-05-03 17:12 by doerwalter.
This bug is similar but not exactly the same as bug215974. ()
In my test, even multiple write() within an open()~close() lifespan will not cause the multi BOM phenomena mentioned in bug215974. Maybe it is because bug 215974 was so... | http://bugs.python.org/issue1701389 | crawl-002 | refinedweb | 740 | 74.08 |
Hi Per-Olof,
thanks for your patch! It's applied to the HEAD of the cvs.
Your question "What is a complete fix?" is actually very
interesting.
I think there are two answers you can choose from:
1. A fix is never complete.
2. The source is enough.
Ok, just a joke. Let's get more seriously again.
The usual (but not optim... | http://mail-archives.apache.org/mod_mbox/cocoon-dev/200110.mbox/%3CGMEBIBHGAOFGJCDPJANDOEKDCOAA.cziegeler@sundn.de%3E | CC-MAIN-2017-09 | refinedweb | 334 | 66.74 |
#include <db.h> int db_env_set_func_pread(ssize_t (*func_pread)(int fd, void *buf, size_t nbytes, off_t offset));
Replace Berkeley DB calls to the IEEE/ANSI Std 1003.1 (POSIX) pread function with func_pread, which must conform to the standard interface specification.
The
db_env_set_func_pread() configures all operation... | http://docs.oracle.com/cd/E17276_01/html/api_reference/C/db_env_set_func_pread.html | CC-MAIN-2015-14 | refinedweb | 107 | 50.97 |
> matlab7.x.rar > wgfcnkey.cpp
/*================================================================= * wgfcnkey ---- traps pressing of function keys (F1, F2, ..., F12) * and Shift, Ctrl, Alt keys in an MATLAB figure window * * Use this command-line to compile in MATLAB: * mex wgfcnkey.cpp user32.lib * * Input ---- None ... | http://read.pudn.com/downloads50/sourcecode/math/174049/ch03/wgfcnkey.cpp__.htm | crawl-002 | refinedweb | 222 | 63.59 |
desired language:
desired language:
Game Jam survival guide
The Decentraland September Game Jam (previously ‘Hackathon’) will take place from September 16th to September 30th. This Survival Guide is all you need to get started and get creative in the Metaverse.
Install the CLI and get started
See the Docs Home for firs... | https://docs.decentraland.org/getting-started/game-jam/ | CC-MAIN-2019-35 | refinedweb | 242 | 64.3 |
In this tutorial, you will learn how to perform Laravel localization and present your application in multiple languages. You will learn how to work with translation files, perform pluralization, create a language switcher, and more.
Localization is the second phase of the Laravel internationalization (i18n) process. In... | https://lokalise.com/blog/laravel-localization-step-by-step/ | CC-MAIN-2022-05 | refinedweb | 2,629 | 51.99 |
Provided by: manpages-dev_5.02-1_all
NAME
link, linkat - make a new name for a file
SYNOPSIS
#include <unistd.h> int link(const char *oldpath, const char *newpath); : _POSIX_C_SOURCE >= 200809L Before glibc 2.10: _ATFILE_SOURCE". required. POSIX.1-2001 says that link() should dereference oldpath if it is a symbolic lin... | https://manpages.ubuntu.com/manpages/eoan/man2/linkat.2.html | CC-MAIN-2021-43 | refinedweb | 122 | 59.3 |
50. Permanent Income II: LQ Techniques¶
Contents
In addition to what’s in Anaconda, this lecture will need the following libraries:
!conda install -y quantecon
Collecting package metadata (current_repodata.json): -
\
|
/
-
\
|
/
-
\
|
/
-
\
done Solving environment: /
-
\
|
/
-
\
|
/
-
\
|
/
-
\
|
/
-
\
|
/
-
\
done
# ... | https://python.quantecon.org/perm_income_cons.html | CC-MAIN-2021-49 | refinedweb | 3,203 | 55.03 |
See just the courses with free lessons.
You may also like to see the reverse-chronological list.
Learn these three tools -- map, filter, and reduce-- and you'll be well on your way to developing a functional mindset.
I get a lot of questions from people trying to learn Clojure. Sometimes, the best way to answer them is... | https://purelyfunctional.tv/courses/ | CC-MAIN-2017-39 | refinedweb | 931 | 68.77 |
Red Hat Bugzilla – Bug 509932
cost excludes are much slower in yum 3.2.23 than 3.2.21
Last modified: 2014-01-21 18:10:16 EST
+++ This bug was initially created as a clone of Bug #508445 +++
yum 3.2.23 on F10 is a lot slower than 3.2.21.
A simple "yum -C list updates" takes 90 seconds instead of 3 seconds,
if two reposi... | https://bugzilla.redhat.com/show_bug.cgi?id=509932 | CC-MAIN-2016-30 | refinedweb | 862 | 62.04 |
Localizing a Silverlight application is a pretty trivial task if you use resources. Once you create a resource file you are working with, you can use the code-behind class in XAML and bind to properties from that class that contain localized strings. First, import the namespace that is used for resx file, typically App... | http://www.dotnetspeak.com/silverlight/working-with-resources-in-silverlight/ | CC-MAIN-2022-40 | refinedweb | 188 | 51.58 |
This site uses strictly necessary cookies. More Information
I am trying to send a video file from the server to the client in unity with the help of message (1440 bytes at max I can send). Depending on the message from the unity client I am rendering the texture and after encoding I am sending video bytes to the unity ... | https://answers.unity.com/questions/1463536/reconstructing-video-bytes-from-the-unity-client-s.html | CC-MAIN-2021-39 | refinedweb | 181 | 65.01 |
TSHttpConnectWithPluginId¶
Allows the plugin to initiate an http connection. This will tag the HTTP state machine with extra data that can be accessed by the logging interface. The connection is treated as an HTTP transaction as if it came from a client.
Synopsis¶
#include <ts/ts.h>
Description¶
This call attempts to c... | https://docs.trafficserver.apache.org/en/latest/developer-guide/api/functions/TSHttpConnectWithPluginId.en.html | CC-MAIN-2020-40 | refinedweb | 461 | 56.45 |
STP/EID Component/ExtensionPoints
Contents
Extension points
These are the extension points defined by the org.eclipse.stp.eid plugin.
Runtime Extension Point
For each runtime that supports EIPs, there is an extension:
<eipRuntime name="nnnn" version="x.y.z" id="reference"> <ns prefix="xxxx" uri="uri:asdf" /> * multiple... | http://wiki.eclipse.org/STP/EID_Component/ExtensionPoints | CC-MAIN-2014-52 | refinedweb | 621 | 51.48 |
in reply to Re: Our documentation sucksin thread Our documentation sucks
No amount or quality of documentation will fix the line of thinking that, for example, "It's a good idea to print HTTP or CGI headers directly, even if they're likely malformed and incorrect, because CGI.pm must be big and bloated and slow."
I dis... | http://www.perlmonks.org/?node_id=609786 | CC-MAIN-2017-47 | refinedweb | 693 | 71.14 |
Created on 2020-02-16 13:41 by blueyed, last changed 2020-02-24 04:53 by gvanrossum. This issue is now closed.
It does:
```
if '__args__' in frame.f_locals:
args = frame.f_locals['__args__']
else:
args = None
if args:
s += reprlib.repr(args)
else:
s += '()'
```
However that appears to be wrong/unnecessary since the fol... | https://bugs.python.org/issue39649 | CC-MAIN-2021-04 | refinedweb | 323 | 69.18 |
_thread vs uasyncio
Hello there,
My project needs multithreading, and some kind of locks.
As far as I know _thread is not support any kind of locks.
So do you know a workaround of that?
uasyncio could be one, but it is not supported on pycom boards. Is there a way to use it?
Which path should I choose?
- Brian Wyld las... | https://forum.pycom.io/topic/6922/_thread-vs-uasyncio | CC-MAIN-2022-33 | refinedweb | 499 | 76.11 |
Fibonacci Hash
June 19, 2018
Hash tables are ubiquitous in computing, and we’ve both used and implemented hash tables on several occasions; there is even a hash table implementation in the Standard Prelude. Most hash tables nowadays use the elements of an array as the heads of linked lists that store key/value pairs, s... | https://programmingpraxis.com/2018/06/19/fibonacci-hash/ | CC-MAIN-2018-39 | refinedweb | 418 | 55.47 |
Drawing lines with Lines3D
Before VectorVision was integrated, Papervision3D already had a Lines3D class for drawing 3D lines. Two differences between drawing lines with VectorShape3D and Lines3D are:
- Whereas VectorShape3D enables you to easily draw rectangles, circles, and ellipses, Lines3D does not have built-in me... | https://www.packtpub.com/books/content/3d-vector-drawing-and-text-papervision3d-part-2 | CC-MAIN-2016-44 | refinedweb | 2,349 | 63.59 |
Turn URL variables into models.
Project description
Dart turns URL variables into database models with a decorator.
That means you can do something like this:
@app.route('/user/<user_id>/tracks', methods=['GET']) @dart.inject(User, 'user', from_var='user_id') def user_tracks(user=None): return jsonify(user.tracks)
If y... | https://pypi.org/project/dart/ | CC-MAIN-2019-35 | refinedweb | 216 | 51.75 |
I built a new VM from zero. Ubuntu 20.04apt install build-essentialapt install gitapt install cmakeapt install python3-pippip3 install pygccxmlbuild, install pybind11 from 2.4.3 tarballsetup gnuradio repository to releasesapt install gnuradioThis gives gnuradio 3.9.1.0git-cloning both Ron's gr-iqlevels and my gr-hpsdr,... | https://lists.gnu.org/archive/html/discuss-gnuradio/2021-05/msg00056.html | CC-MAIN-2021-49 | refinedweb | 362 | 58.99 |
I have a list of complex numbers for which I want to find the closest value in another list of complex numbers.
My current approach with numpy:
import numpy as np
refArray = np.random.random(16);
myArray = np.random.random(1000);
def find_nearest(array, value):
idx = (np.abs(array-value)).argmin()
return idx;
for value... | https://codedump.io/share/733sPpwaK8g0/1/find-nearest-indices-for-one-array-against-all-values-in-another-array---python--numpy | CC-MAIN-2019-26 | refinedweb | 334 | 52.05 |
This post is to discuss few important points about parse() method. If you are looking for String to Date and Date to String conversion then refer the following posts:
Converting strings to desired date format is a time consuming and tedious process in many languages including Java. However Java provides several APIs to... | https://beginnersbook.com/2013/05/java-parse-date/ | CC-MAIN-2017-51 | refinedweb | 385 | 50.53 |
One of the most common questions that comes up in #django is about static files.
Why are my images not loading? How do I make Django serve my CSS files? The
answer depends on the environment. You might want to hook up
django.views.static.serve
in development and
Alias in production. I want to help clarify all static
fi... | http://oebfare.com/blog/2007/dec/31/django-and-static-files/ | crawl-001 | refinedweb | 1,000 | 66.54 |
CGI::FormBuilder - Easily generate and process stateful forms
use CGI::FormBuilder; # Let's assume we did a DBI query to get existing values my $dbval = $sth->fetchrow_hashref; my $form = CGI::FormBuilder->new( method => 'POST', fields => [qw/name email phone gender/], values => $dbval, validate => { email => 'EMAIL', ... | http://search.cpan.org/~nwiger/CGI-FormBuilder-2.11/FormBuilder.pod | crawl-002 | refinedweb | 7,002 | 61.77 |
Current Map implementation moves map to Rome by default (albeit Rome, Italy is a cool city), but many times you want to move it to a different and specific position.
Which means the control will be updated twice instead of just once, wasting draw cycles.
Making the control not go to the default location requires some w... | https://forums.xamarin.com/discussion/comment/303610/ | CC-MAIN-2020-10 | refinedweb | 1,711 | 64 |
>>.
Microsoft vs. Sun (Score:5, Informative)
Uh... what? (Score:3, Informative)
Re:Microsoft vs. Sun (Score:2)
Oh, Microsoft IS shipping with HD-DVD... (Score:3, Informative)
Don't believe Microsoft would be so stupid? Read this [cooltechzone.com]!
As the saying goes - Game Over, Man! And not for Sony.
And for cross-re... | https://developers.slashdot.org/story/05/06/28/2319213/java-to-appear-in-next-gen-dvd-players | CC-MAIN-2017-09 | refinedweb | 3,218 | 72.56 |
AutoIt is a scripting language that came about from the requirement to automate Windows GUI actions. It is commonly used to solve installation issues but that is not of much interest to us. What is a little more interesting is some of the functionality of AutoIt is available to external programs through AutoItX.
This c... | https://quackajack.wordpress.com/2013/04/ | CC-MAIN-2018-47 | refinedweb | 274 | 59.09 |
Introduction
The menu is an essential component for most CMS, with Wagtail, we can build powerful menu component as we like. But right now there is no good tutorial talking about this feature with Wagtail, so I decided to write this article to help people.
In this Wagtail tutorial, we would learn how menu in Wagtail wo... | https://www.accordbox.com/blog/wagtail-tutorial-12-how-create-and-manage-menus-wagtail-application/ | CC-MAIN-2019-43 | refinedweb | 1,142 | 61.97 |
Basic class to show how to implement own algorithms. More...
#include <pitchraise.h>
Basic class to show how to implement own algorithms.
This class will calculate an equidistant tuning curve.
Definition at line 39 of file pitchraise.h.
Constructor of the pitch-raise algorithm.
Definition at line 53 of file pitchraise.... | http://doxygen.piano-tuner.org/classpitchraise_1_1_pitch_raise.html | CC-MAIN-2022-05 | refinedweb | 297 | 59.9 |
I am often confronted with unwanted dialogues popping up when I am trying to drive some application programmatically. In Revit, many dialogues raise an event when they are displayed and allow us to implement an add-in application to handle them automatically. Unfortunately, as noted in the discussion on using the Dialo... | http://thebuildingcoder.typepad.com/blog/2009/10/dismiss-dialogue-using-windows-api.html | CC-MAIN-2014-52 | refinedweb | 2,140 | 55.34 |
Multithreading in java
Multithreading is a Java feature that allows concurrent execution of two or more parts of a program for maximum utilization of CPU. Each part of such program is called a thread. So, threads are light-weight processes within a process.
}
}
Life Cycle of a Thread
A thread goes through various stage... | https://tekslate.com/java-multithreading-in-java | CC-MAIN-2021-43 | refinedweb | 864 | 56.76 |
.
Then I decided to find a workaround to the problem, firstly I installed Guake.
Everything works fine, but I find it a bit too wide for my liking. I certainly do not need it to be that wide. It would be nice if I can somehow dock it to the right screen-edge (as left edge is being used by unity’s launcher). However, af... | https://cslai.coolsilon.com/2013/11/15/quick-hack-terminal-appearing-from-right/?color_scheme=default | CC-MAIN-2022-21 | refinedweb | 480 | 73.98 |
How will the future operating systems look like? How the user interface, the inner workings, the security policies and the networking will interact? In any case, innovation is the key. 🙂.
2.2 Dialog windows
Of course, configuration and property windows don’t need the entire screen. Therefore, they can appear in smalle... | https://www.osnews.com/story/6633/designing-the-operating-system-of-tomorrow/ | CC-MAIN-2019-51 | refinedweb | 17,473 | 70.43 |
access TX/RX on fipy + pytrack :
Hello,
Could you please explain me how to access the TX/RX of the fipy/pytrack. I would like to retrieve the data from the GPS and the Accelerometer data using UART but I'm not quite sure to understand how to proceed on the board.
I just use Sigfox and the GPS/Accelerometer , and by def... | https://forum.pycom.io/topic/4180/access-tx-rx-on-fipy-pytrack/4 | CC-MAIN-2019-30 | refinedweb | 308 | 79.6 |
These any main stream Linux machine but with open source efforts of Microsoft, it is also available for windows.
So I decided to install, configure and run Redis server on Ubuntu Server 13.10 and fiddle with it using C# redis client libraries available.
I am using Microsoft Azure Cloud Service (recommended for your clo... | https://blog.jsinh.in/install-configure-and-consume-redis-data-store-running-on-ubuntu-with-csharp/ | CC-MAIN-2018-13 | refinedweb | 848 | 56.76 |
MooseX::APIRole - automatically create API roles for your classes and roles
version 0.01
If you write a Moose class like this:
package Class; use Moose; use MooseX::APIRole; use true; use namespace::autoclean; sub foo {} make_api_role 'Class::API'; __PACKAGE__->meta->make_immutable;
MooseX::APIRole will automatically c... | http://search.cpan.org/~jrockway/MooseX-APIRole-0.01/lib/MooseX/APIRole.pm | CC-MAIN-2016-07 | refinedweb | 384 | 68.5 |
Important: Please read the Qt Code of Conduct -
[SOLVED] Cropping an image using QLabel and QPixmap
- qurban_ali36 last edited by
Hi,
I want to take a screenshot of my desktop screen and then crop that image by drawing a rectangle on it. So for I am able to capture the screenshot as QPixmap, set it on QLabel and displa... | https://forum.qt.io/topic/31388/solved-cropping-an-image-using-qlabel-and-qpixmap | CC-MAIN-2021-39 | refinedweb | 277 | 51.55 |
Today, we’ll be talking about something controversial: static methods. I have yet to read anything that says static methods are good and useful, other than Effective Java recommending them in the use of static factory methods. There are some really interesting (and somewhat defective) arguments out there against them t... | https://dzone.com/articles/static-methods-are-fine-1 | CC-MAIN-2017-22 | refinedweb | 1,597 | 58.11 |
cobra alternatives and similar packages
Based on the "Standard CLI" category
urfave/cli9.8 9.3 cobra VS urfave/cliA small package for building command line apps in Go.
kingpin8.9 5.4 cobra VS kingpinA command line and flag parser supporting sub commands.
The Platinum Searcher8.8 0.0 cobra VS The Platinum SearcherA code... | https://go.libhunt.com/cobra-alternatives | CC-MAIN-2020-24 | refinedweb | 3,530 | 51.14 |
The question is answered, right answer was accepted
So i created this test scene to show you my problem
i wanted to detect how far my cube( for this example ) can move in a certain direction. I use Physics.Boxcast instead of raycast because raycast is way to thin.
I used Physics.Spherecast in past and it worked perfect... | https://answers.unity.com/questions/1485566/problems-with-physicsboxcast-reward-for-fixing-10.html | CC-MAIN-2019-51 | refinedweb | 519 | 64 |
Details
- Type:
Bug
- Status: Closed
- Priority:
Major
- Resolution: Fixed
- Affects Version/s: 0.6, 0.7
- Fix Version/s: None
- Component/s: C++ - Compiler
-
- Patch Info:Patch Available
Description
steps:
./bootstrap.sh
./configure
make
sudo make install
cd contrib/fb303
./bootstrap.sh
./configure
make
Fails with err... | https://issues.apache.org/jira/browse/THRIFT-1060?attachmentSortBy=fileName | CC-MAIN-2015-11 | refinedweb | 379 | 53.78 |
How to: Use a Report Model as a Data Source
You can create reports in Report Designer that use a published report model as the data source type. This capability allows you to create predefined custom reports for clickthrough data exploration. For more information about how predefined reports are used in clickthrough da... | https://msdn.microsoft.com/en-us/library/ms345238.aspx | CC-MAIN-2015-32 | refinedweb | 533 | 54.73 |
On Mon, Aug 5, 2013 at 2:14 PM, Steven D'Aprano <report@bugs.python.org>wrote:
> > As you say, there's no state to be stored. So why not simply have
> separate functions `median`, `median_low`, `median_high`, `median_grouped`,
> etc.?
>
> Why have a pseudo-namespace median_* when we could have a real namespace
> median... | https://bugs.python.org/msg194502 | CC-MAIN-2021-43 | refinedweb | 110 | 69.68 |
A ASGI Server based on Hyper libraries and inspired by Gunicorn.
Project description
Hypercorn is an ASGI web server based on the sans-io hyper, h11, h2, and wsproto libraries and inspired by Gunicorn. Hypercorn supports HTTP/1, HTTP/2, WebSockets (over HTTP/1 and HTTP/2), ASGI/2, and ASGI/3 specifications. Hypercorn c... | https://pypi.org/project/Hypercorn/ | CC-MAIN-2020-40 | refinedweb | 303 | 58.69 |
I got this code from MSDN for a FAQ for Visual C++ 4.2
I saw this code, ran my eyes over it and I am wondering if the code is legal, according to the standard.
you know, even in the recent VC++ tutorial, they still used void main()...you know, even in the recent VC++ tutorial, they still used void main()...Code://pigla... | https://cboard.cprogramming.com/cplusplus-programming/42950-should-work.html | CC-MAIN-2017-09 | refinedweb | 261 | 85.99 |
Today with the Visual Studio 2015 Preview, one of the big things we’ve done is improved the C++ experience, adding support for targeting Android, boosting runtime and build-time performance, improving standards compliance, and improving the editor experience. The Preview is available here for download and as a VM that ... | https://blogs.msdn.microsoft.com/vcblog/2014/11/12/visual-studio-2015-preview-is-now-available/ | CC-MAIN-2016-40 | refinedweb | 3,225 | 65.83 |
I am using Selenium 2 and Robot Framework to automate our application. I have used the below JavaScript code to scroll down the page but am not able to scroll.
I want to enter text inside the text box after scrolling down, but I am receiving the exception:
Element not visible
The text box is partially visible on the sc... | https://javascriptinfo.com/view/157526/unable-to-scroll-down-the-web-page-using-the-robot-framework | CC-MAIN-2021-17 | refinedweb | 420 | 58.38 |
A custom operation to use in a reduce command. More...
#include <vtkCommunicator.h>
A custom operation to use in a reduce command.
Subclass this object to provide your own operations.
Definition at line 107 of file vtkCommunicator.h.
Definition at line 129 of file vtkCommunicator.h.
Subclasses must overload this method... | https://vtk.org/doc/nightly/html/classvtkCommunicator_1_1Operation.html | CC-MAIN-2019-30 | refinedweb | 152 | 51.44 |
Learning Curves for Machine Learning
But how do we diagnose bias and variance in the first place? And what actions should we take once we've detected something? In this post, we'll learn how to answer both these questions using learning curves.
The learning_curve() function from scikit-learn
We'll use the
learning_curv... | https://www.kdnuggets.com/2018/01/learning-curves-machine-learning.html/2 | CC-MAIN-2019-18 | refinedweb | 3,519 | 65.42 |
ReportingService2010.CreateLinkedItem Method
Adds a new linked item to the report server database.
Assembly: ReportService2010 (in ReportService2010.dll)
Parameters
- ItemPath
- Type: System.String
The file name of the new linked item including the file name.
- Parent
- Type: System.String
The fully qualified URL of th... | https://technet.microsoft.com/en-us/library/reportservice2010.reportingservice2010.createlinkeditem(v=sql.105).aspx?cs-save-lang=1&cs-lang=jscript | CC-MAIN-2018-13 | refinedweb | 285 | 57.27 |
This is the base class from which all block classes are derived. More...
#include <nxsblock.h>
This is the base class from which all block classes are derived.
A NxsBlock-derived class encapsulates a Nexus block (e.g. DATA block, TREES block, etc.). The abstract virtual function Read must be overridden for each derived... | http://phylo.bio.ku.edu/ncldocs/v2.1/funcdocs/classNxsBlock.html | CC-MAIN-2018-05 | refinedweb | 139 | 64.81 |
[DISCLAIMER:Please Note: Any Image/data in this presentation/video is from SAP internal systems, sample data, or demo systems. Any resemblance to real data is purely coincidental]
Dear All,
In this blog, I would like to explain the steps to create extension field in supplier invoice excel template in SAP Business ByDes... | https://blogs.sap.com/2020/03/05/how-to-add-extension-field-in-supplier-invoice-upload-excel-template/ | CC-MAIN-2020-50 | refinedweb | 334 | 55.74 |
This package helps you reduce boilerplate when composing TEA-based (The Elm Architecture) applications using
Cmd.map,
Sub.map and
Html.map.
Glue is just a thin abstraction over these functions so it's easy to plug it in and out.
This package is highly experimental and might change a lot over time.
Feedback and contribu... | https://package.frelm.org/repo/926/6.0.0 | CC-MAIN-2019-30 | refinedweb | 1,580 | 67.04 |
After you create a service retry rule for a multi-language application, if the application is temporarily inaccessible or encounters an occasional error, a request is retired to ensure that the expected results can be returned. This improves the robustness of the system. This topic describes how to create a service ret... | https://www.alibabacloud.com/help/en/enterprise-distributed-application-service/latest/create-a-service-retry-rule-for-a-multi-language-application | CC-MAIN-2022-27 | refinedweb | 292 | 53.41 |
Technical Support
On-Line Manuals
Cx51 User's Guide
#include <80c517.h>
int printf517 (
const char *fmtstr /* format string */
<[>, arguments ...<]>); /* additional arguments */
The printf517 ('%') and require that additional
arguments are included in the printf517, the extra argumentsare ignored. Results are unpredict... | https://www.keil.com/support/man/docs/c51/c51_printf517.htm | CC-MAIN-2020-40 | refinedweb | 243 | 56.55 |
pylapyla
pyla is a redis based storage system which can filter entries based on item's attributes.
In it's current version it stores the information of the entry in a sorted set with all information present in the key.
Why pyla?Why pyla?
Say you have certain jobs that you want to schedule and every job has certain attr... | https://libraries.io/pypi/pyla | CC-MAIN-2018-26 | refinedweb | 288 | 50.94 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.