text
stringlengths
20
1.01M
url
stringlengths
14
1.25k
dump
stringlengths
9
15
lang
stringclasses
4 values
source
stringclasses
4 values
This sample shows how to “Remove warning/pop-up when modifying type parameter values within a schedule” using the DialogBoxShowing event. Please remove the warning/pop-up that appears when editing scheduled fields that are tied to type parameters. This is EXTREMELY annoying when entering data for our MEP schedules. I.E...
https://boostyourbim.wordpress.com/2018/08/08/biltna2018-wish-granted-remove-warning-when-modifying-type-parameter-values-in-schedule/
CC-MAIN-2019-47
en
refinedweb
i tried to migrate at largish fileserver (5.5TB) to vsan on friday, but it failed twice doing so. and im wondering if my issue is due to multiple vmdks with the same name? the server has 5 disks. disk one is located on datastore A and is called fileserver.vmdk disk two is located on datastore A and is called fileserver...
https://communities.vmware.com/thread/610817
CC-MAIN-2019-47
en
refinedweb
#include <math.h> int isfinite(real-floating x); The isfinite() macro shall determine whether its argument has a finite value (zero, subnormal, or normal, and not infinite or NaN). First, an argument represented in a format wider than its semantic type is converted to its semantic type. Then determination is based on t...
https://man.linuxreviews.org/man3p/isfinite.3p.html
CC-MAIN-2019-47
en
refinedweb
This visualization makes it seem like selection sorting is fast, but in reality, this algorithm iterates through all elements (gray bars) to select the smallest value. Selection sort is not stable. Having a runtime of always quadratic, selection sort may present itself as not the best sorting algorithm. However, this a...
https://code.snipcademy.com/tutorials/algorithms/sorting/selection
CC-MAIN-2019-47
en
refinedweb
Previously: This is part 3 of a 4-part project to build a generic TCP proxy. This proxy will be capable of handling any TCP-based protocol, not just HTTP. So far, the fake DNS server that we built in part 2 is tricking your smartphone into sending TCP data to your laptop. In this section we’re going to build our actual...
https://robertheaton.com/2018/08/31/how-to-build-a-tcp-proxy-3/
CC-MAIN-2019-47
en
refinedweb
Source code for django.db.models.fields.files import datetime import posixpath.translation import gettext_lazy as _[docs]class FieldFile(File): def __init__(self, instance, field, name): getattr(self, '_file', None): """ The descriptor for the file attribute on the model instance. Return a FieldFile when accessed so yo...
https://docs.djangoproject.com/en/2.2/_modules/django/db/models/fields/files/
CC-MAIN-2019-47
en
refinedweb
import "github.com/cockroachdb/cockroach/pkg/util/uuid" codec.go generator.go sql.go uuid.go uuid_wrapper.go const ( V1 byte // Version 1 (date-time and MAC address) V3 // Version 3 (namespace name-based) V4 // Version 4 (random) V5 // Version 5 (namespace name-based) ) UUID versions. UUID layout variants. Size of a UU...
https://godoc.org/github.com/cockroachdb/cockroach/pkg/util/uuid
CC-MAIN-2019-47
en
refinedweb
Why. In this tutorial, you’ll learn about: - Storing images on disk as .pngfiles - Storing images in lightning memory-mapped databases (LMDB) - Storing images in hierarchical data format (HDF5) You’ll also explore the following: - Why alternate storage methods are worth considering - What the performance differences ar...
https://realpython.com/storing-images-in-python/
CC-MAIN-2019-47
en
refinedweb
Many organizations today are choosing to deploy their applications using a microservice architecture, so what exactly is a microservice architecture? Microservices - also known as the microservice architecture - is an architectural style that structures an application as a collection of loosely coupled services, which ...
https://www.ateam-oracle.com/istio-on-oke
CC-MAIN-2019-47
en
refinedweb
#include <fmtools.hxx> Definition at line 130 of file fmtools.hxx. Definition at line 274 of file fmtools.cxx. References setAdapter(). Implemented in DisposeListenerGridBridge. Referenced by FmXDisposeMultiplexer::disposing(). Definition at line 279 of file fmtools.cxx. References m_aMutex, and m_pAdapter. Referenced ...
https://docs.libreoffice.org/svx/html/classFmXDisposeListener.html
CC-MAIN-2019-47
en
refinedweb
import "github.com/pingcap/tidb/util/memory" action.go meminfo.go tracker.go const ( // PanicMemoryExceed represents the panic message when out of memory quota. PanicMemoryExceed string = "Out Of Memory Quota!" ) MemTotal returns the total amount of RAM on this system MemUsed returns the total used amount of RAM on thi...
https://godoc.org/github.com/pingcap/tidb/util/memory
CC-MAIN-2019-47
en
refinedweb
Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM! Problem 2Another issue is when I open my project on Linux, I am faced with a "Compiler selection" dialog that says "The defined compiler for W32_Debug cannot be located (ID: msvc8). Please choose the compiler y...
http://forums.codeblocks.org/index.php?topic=7428.msg56435
CC-MAIN-2019-47
en
refinedweb
marble #include <GeoSceneMercatorTileProjection.h> Detailed Description Converts the x and y indices of tiles to and from geo coordinates. For tiles of maps in Mercator projection. Tiles do have the same width and the same height per zoomlevel. The number of tiles per dimension is twice that of the previous lower zooml...
https://api.kde.org/4.x-api/kdeedu-apidocs/marble/html/classMarble_1_1GeoSceneMercatorTileProjection.html
CC-MAIN-2019-47
en
refinedweb
Uniform Access Principle is a programming concept which was first introduced by Bertrand Meyer which stated that All services offered by a module should be available through a uniform notation, which does not betray whether they are implemented through storage or through computation. The principle simply means that the...
https://blog.knoldus.com/what-is-uniform-access-principle/
CC-MAIN-2019-47
en
refinedweb
In my previous posts, I introduced you to Node.js and walked through a bit of its codebase. Now I want to get a simple, but non-trivial Node.js application running. My biggest problem with Node.js so far has been the lack of substantial examples: if I see one more Hello World or Echo Server, I’ll flip my lid (side note...
https://blog.carbonfive.com/node-js-part-iii-full-stack-application/
CC-MAIN-2021-25
en
refinedweb
Closed Bug 1413976 Opened 4 years ago Closed 4 years ago Build docker images and toolchains (or optimize them) rather than trying to use indexes . Categories (Thunderbird :: Build Config, enhancement) Tracking (Not tracked) Thunderbird 59.0 People (Reporter: tomprince, Assigned: tomprince) References Details Attachment...
https://bugzilla.mozilla.org/show_bug.cgi?id=1413976
CC-MAIN-2021-25
en
refinedweb
Image classification of Bird species using Keras in Python In this article, Image classification for huge datasets is clearly explained, step by step with the help of a bird species dataset. The major techniques used in this project are Data Augmentation and Transfer Learning methods, for improving the quality of our m...
https://valueml.com/image-classification-of-bird-species-using-keras-in-python/
CC-MAIN-2021-25
en
refinedweb
Heart Attack Detection Using TensorFlow | Python In this, post we will predict heart attack detection using deep neural networks in Python with the help of TensorFlow and Keras deep learning API. To achieve this goal, I am going to use an open-source dataset and I will create a deep neural network model with the help o...
https://valueml.com/heart-attack-detection-using-tensorflow-python/
CC-MAIN-2021-25
en
refinedweb
Class SceneOrbiter - java.lang.Object - com.openinventor.inventor.Inventor - com.openinventor.inventor.misc.SoBase - com.openinventor.inventor.fields.SoFieldContainer - com.openinventor.inventor.nodes.SoNode - com.openinventor.inventor.nodes.SoGroup - com.openinventor.inventor.nodes.SoSeparator - com.openinventor.inven...
https://developer.openinventor.com/refmans/latest/RefManJava/com/openinventor/inventor/viewercomponents/nodes/SceneOrbiter.html
CC-MAIN-2021-25
en
refinedweb
>” def cleanHtml(i): i = str(i) # Convert the Beautiful Soup Tag to a string bS = BeautifulSoup(i) # Pass the string to Beautiful Soup to strip out html # Find all of the text between paragraph tags and strip out the html i = bS.find(‘p’).getText() # Strip ampersand codes and WATCH: i = re.sub(‘&\w+;’,”,i) i = re.sub(‘...
https://www.newthinktank.com/2010/11/python-2-7-tutorial-pt-17/
CC-MAIN-2021-25
en
refinedweb
Performance Effects of Exceptions in Java Last modified: March 29, 2021 1. Overview In Java, exceptions are generally considered expensive and shouldn't be used for flow control. This tutorial will prove that this perception is correct and pinpoint what causes the performance issue. 2. Setting Up Environment Before wri...
https://www.baeldung.com/java-exceptions-performance
CC-MAIN-2021-17
en
refinedweb
In this quick tutorial, we’ll learn how to quickly search a part of a string in an Array. We’ll be demonstrating the examples in Java, Python, and Swift. The straightforward way to check whether a substring exists in any of the array elements is looping through the array elements. But in the next sections, we’ll use di...
https://www.journaldev.com/32677/check-for-substring-in-an-array
CC-MAIN-2021-17
en
refinedweb
umask - Man Page set and get the file mode creation mask Prolog This manual page is part of the POSIX Programmer's Manual. The Linux implementation of this interface may differ (consult the corresponding Linux manual page for details of Linux behavior), or the interface may not be implemented on Linux. Synopsis #includ...
https://www.mankier.com/3p/umask
CC-MAIN-2021-17
en
refinedweb
This article is a brief yet concise introduction to multiprocessing in Python programming language. What is multiprocessing? Multiprocessing refers to the ability of a system to support more than one processor at the same time. Applications in a multiprocessing system are broken to smaller routines that run independent...
https://www.geeksforgeeks.org/multiprocessing-python-set-1/
CC-MAIN-2021-17
en
refinedweb
CCoinsView that brings transactions from a mempool into view. More... #include <txmempool.h> CCoinsView that brings transactions from a mempool into view. It does not check for spendings by memory pool transactions. Instead, it provides access to all Coins which are either unspent in the base CCoinsView, or are outputs...
https://doxygen.bitcoincore.org/class_c_coins_view_mem_pool.html
CC-MAIN-2021-17
en
refinedweb
As of WordPress 5.0, Gutenberg comes built-in. In this post, I'll give you the basics of what Gutenberg is, why it's awesome, and how to set up your environment to start creating your own custom Gutenberg blocks. While at least some knowledge of React will be useful, it is not totally required. Before getting into buil...
https://practicaldev-herokuapp-com.global.ssl.fastly.net/iam_timsmith/creating-custom-gutenberg-blocks-with-react-and-wordpress-part-1-1njb
CC-MAIN-2021-17
en
refinedweb
# Query Operations All of the READ operations above used a simple DB path to query the database but of course Firebase provides many tools to fine tune what we want the server to return. All of these parameters we're used to having off the Firebase Query API are available from a separate SerializedQuery class which is ...
https://abstracted-admin.com/query/
CC-MAIN-2021-17
en
refinedweb
Rails comes with a router in config/routes.rb. This file contains all the the urls your application will respond to. This Rails guide is a good reference to using Rails' router. Let's create some routes that our Angular application will eventually interface with. Rails' router comes with a useful resources function whi...
https://thinkster.io/tutorials/angular-rails/creating-api-routes-and-controllers
CC-MAIN-2019-13
en
refinedweb
How to Analyze Tweet Sentiments with PHP Machine Learning This article was peer reviewed by Wern Ancheta. Thanks to all of SitePoint’s peer reviewers for making SitePoint content the best it can be! As of late, it seems everyone and their proverbial grandma is talking about Machine Learning. Your social media feeds are...
https://www.sitepoint.com/how-to-analyze-tweet-sentiments-with-php-machine-learning/?utm_source=sitepoint&utm_medium=articletile&utm_campaign=comments&utm_term=php/
CC-MAIN-2019-13
en
refinedweb
Python client for parsing SCOTUS cases from the granted/noted and orders dockets. Project description Getting started pip install nyt-docket Using nyt-docket Command-line interface docket grants 2015 docket orders 2015 docket opinions 2015 Demo app Run the demo app. python -m docket.demo Modules Use the docket loader m...
https://pypi.org/project/nyt-docket/0.0.10/
CC-MAIN-2019-13
en
refinedweb
Probably the most obvious I/O capability is to interact with the file system. Before getting into details about creating or modifying a file, we discuss the API surface to list files and directories. This will also include macroscopic file- and directory-level operations, such as making copies or deleting files. The ma...
https://www.oreilly.com/library/view/c-50-unleashed/9780133391480/ch28lev1sec1.html
CC-MAIN-2019-13
en
refinedweb
[OmniFaces utilities] The renderResponse()method signals JSF that, as soon as the current phase of the lifecycle has been completed, control should be passed to the Render Response phase, bypassing any phases that have not been executed yet. Method: Typically, use cases of the Faces#renderResponse() consist in the foll...
http://omnifaces-fans.blogspot.com/2015/04/omnifaces-utilities-20-force-control-to.html
CC-MAIN-2019-13
en
refinedweb
Clarango: A Clojure Driver for ArangoDB Clarango: A Clojure Driver for ArangoDB Join the DZone community and get the full member experience.Join For Free Secure your Java app or API service quickly and easily with Okta's user authentication and authorization libraries. Developer accounts are free forever. Try Okta Inst...
https://dzone.com/articles/clarango-clojure-driver
CC-MAIN-2019-13
en
refinedweb
JavaFX in Spring Day 1 – Application Initialization JavaFX in Spring Day 1 – Application Initialization Join the DZone community and get the full member experience.Join For Free Get the Edge with a Professional Java IDE. 30-day free trial. I spoke recently to the Spring Dallas User Group, which was a great audience, an...
https://dzone.com/articles/javafx-spring-day-1-%E2%80%93
CC-MAIN-2019-13
en
refinedweb
Reading time: 5 – 8 minutes Nowadays last version of browsers support websockets and it’s a good a idea to use them to connect to server a permanent channel and receive push notifications from server. In this case I’m going to use Mosquitto (MQTT) server behind lighttpd with mod_websocket as notifications server. Mosqu...
http://oriolrius.cat/blog/2013/09/25/server-send-push-notifications-to-client-browser-without-polling/
CC-MAIN-2019-13
en
refinedweb
SPI controlling LED Strip UCS1903 - Paul Chabot I am trying to control a strip of lights that I have using a UCS1903. I am not understanding things correctly. I understand that a square wave can be used to indicate a 1 or a 0 and that pauses in sending a signal can indicate other functions. How does this translate to s...
http://community.onion.io/topic/2782/spi-controlling-led-strip-ucs1903
CC-MAIN-2019-13
en
refinedweb
ROS. Table of Contents Introduction There are three different modes of communication in ROS: topics, services & actions. Topics and services are the most popular modes of communication in ROS. This section explains when ROS actions are better over topics & services. ROS topics are used when the flow of data stream is c...
https://roboticsknowledgebase.com/wiki/common-platforms/ros/ros-motion-server-framework/
CC-MAIN-2021-10
en
refinedweb
Usage Typescript Import Format //To import this class, use the format below. import {urlPathAdapter} from "ojs/ojrouter"; For additional information visit: Oracle® JavaScript Extension Toolkit (JET) 10.0.0 F32683-01 Url adapter used by the oj.Router to manage URL in the form of /book/chapter2. The UrlPathAdapter is the...
https://www.oracle.com/webfolder/technetwork/jet/jsdocs/oj.Router.urlPathAdapter.html
CC-MAIN-2021-10
en
refinedweb
Use a TLS/SSL certificate in your code in Azure App Service In your application code, you can access the public or private certificates you add to App Service. Your app code may act as a client and access an external service that requires certificate authentication, or it may need to perform cryptographic tasks. This h...
https://docs.microsoft.com/en-us/azure/app-service/configure-ssl-certificate-in-code?WT.mc_id=AZ-MVP-5002040
CC-MAIN-2021-10
en
refinedweb
The Ultimate Guide of Feature Importance in Python Want to share your content on python-bloggers? click here. Feature Importance is a score assigned to the features of a Machine Learning model that defines how “important” is a feature to the model’s prediction. It can help in feature selection and we can get very usefu...
https://python-bloggers.com/2021/02/the-ultimate-guide-of-feature-importance-in-python/
CC-MAIN-2021-10
en
refinedweb
Love Meter is a silly, but fun, novelty app. If you can’t decide whether to start or continue a relationship with someone, the Love Meter app can tell you how much chemistry you and your potential mate have. All you need to do is to convince the other person to hold their finger on your phone’s screen for about 8 secon...
https://www.blograby.com/love-meter-keyframe-animations/
CC-MAIN-2021-10
en
refinedweb
Hello, I'm currently working with Intel compiler under Windows (Version 13.1.3) and try to use alias templates as template template parameters. Essentially I would like to compile something like this: [cpp] #include <iostream> using namespace std; template<class A, class B> struct Temp { int foo() { return 42; } }; tem...
https://community.intel.com/t5/Intel-C-Compiler/Using-alias-templates-as-template-template-parameters/td-p/945981
CC-MAIN-2021-10
en
refinedweb
An API-specific header for AV_HWDEVICE_TYPE_D3D11VA. More... #include <d3d11.h> #include <stdint.h> Go to the source code of this file. An API-specific header for AV_HWDEVICE_TYPE_D3D11VA. The default pool implementation will be fixed-size if initial_pool_size is set (and allocate elements from an array texture). Other...
https://ffmpeg.org/doxygen/trunk/hwcontext__d3d11va_8h.html
CC-MAIN-2021-10
en
refinedweb
HOW BOSS Key feature? need Global shortcut for hide or show Notepad++ main window,that is boss key. thx. - PeterJones last edited by I’ve never had to hide the fact that I’m editing a text file from my boss. Just what are you editing that’s so secret? ;-) (Just kidding: I don’t want to know.) You cannot assign a shortc...
https://community.notepad-plus-plus.org/topic/19750/how-boss-key-feature/4?lang=en-US
CC-MAIN-2021-10
en
refinedweb
- How GitLab implements GraphQL - Deep Dive - GraphiQL - Authentication - Global IDs - Types - Feature flags - Deprecating fields and enum values - Enums - JSON - Descriptions - Authorization - Resolvers - Mutations - Building Mutations - Naming conventions - Arguments - Object identifier arguments - Fields - The resol...
https://docs.gitlab.com/13.7/ee/development/api_graphql_styleguide.html
CC-MAIN-2021-10
en
refinedweb
single-task training on CodeSearchNet Corpus javascript dataset. Intended uses & limitations The model could be used to generate the description for the javascript function or be fine-tuned on other javascript code tasks. It can be used on unparsed and untokenized javascript code. However, if the javascript code is to...
https://huggingface.co/SEBIS/code_trans_t5_small_code_documentation_generation_javascript
CC-MAIN-2021-10
en
refinedweb
I get this RUNTIME ERROR: Code: Select all #include <iostream> using namespace std; int main() { int a[2][3] = { {1, 2, 3}, {4, 5, 6} }; int *(*b)[3]; for (int i = 0; i < 2; i++) for (int j = 0; j < 3; j++) b[i][j] = &a[i][j]; for (int i = 0; i < 2; i++) for (int j = 0; j < 3; j++) cout << *b[i][j] << " "; cout << endl...
https://onlinejudge.org/board/viewtopic.php?f=14&t=42452
CC-MAIN-2021-10
en
refinedweb
Hide Forgot python-isodate fails to build with Python 3.10.0a1. ====================================================================== ERROR: test_totimedelta (isodate.tests.test_duration.DurationTest) Test conversion form Duration to timedelta. ---------------------------------------------------------------------- Tra...
https://bugzilla.redhat.com/show_bug.cgi?id=1890444
CC-MAIN-2021-10
en
refinedweb
Vector3 The point on the collider that is closest to the specified location. Returns a point on the collider that is closest to a given location. This method computes the point on the collider that is closest to a 3d location in the world. In the example below closestPoint is the point on the collider and location is t...
https://docs.unity3d.com/kr/2020.1/ScriptReference/Collider.ClosestPoint.html
CC-MAIN-2021-10
en
refinedweb
As part of the PyTorch/OpenMined grants we announced last December, the Web & Mobile team has been hard at work on developing 4 new libraries for model-centric federated learning: - syft.js - a library for federated learning in the browser - KotlinSyft - a library for federated learning on Android devices - SwiftSyft -...
https://blog.openmined.org/announcing-new-libraries-for-fl-on-web-and-mobile/
CC-MAIN-2021-10
en
refinedweb
I have two SQL tables: Teams and Members. Each team contains 3 members, in the database the members' ids are stored. How could I map the Member objects into the Teams using the Dapper.NET ORM? public class Team { public int? id { get; set; } public Member MemberA { get; set; } public Member MemberB { get; set; } public...
https://dapper-tutorial.net/knowledge-base/57492070/how-to-map-multiple-objects-from-the-same-table-with-dapper-net-
CC-MAIN-2020-40
en
refinedweb
Add a new API to allocate and free memory that is guaranteed to beaddressable by a device, but which potentially is not cache coherentfor DMA.To transfer ownership to and from the device, the existing streamingDMA API calls dma_sync_single_for_device and dma_sync_single_for_cpumust be used.For now the new calls are imp...
https://lkml.org/lkml/2020/9/15/1148
CC-MAIN-2020-40
en
refinedweb
Theatre Essays – Jerome Robbins and Agnes de Mille Essay Get Full Essay Get access to this section to get all the help you need with your essay and educational goals.Get Access An analysis of the life and plants of the choreographers Jerome Robbins and Agnes de Mille and therole of dance in musical theater Agnesde Mill...
https://studyhippo.com/theatre-essays-jerome-robbins-and-agnes-de-mille-4858/
CC-MAIN-2020-40
en
refinedweb
As we know that a class cannot access the private members of other class. Similarly a class that doesn’t inherit another class cannot access its protected members. Friend Class: A friend class is a class that can access the private and protected members of a class in which it is declared as friend. This is needed when ...
https://beginnersbook.com/2017/09/friend-class-and-friend-functions/
CC-MAIN-2020-40
en
refinedweb
Your API is wide open If you read part 1, you know now what a JWT is and how to issue one. We’ve provided a convenient way for clients to gain access to restricted areas of our API… … but, we haven’t actually restricted anything. If you leave your API open like this, your SPA can make requests to it, but so can anyone ...
https://jonhilton.net/security/apis/secure-your-asp.net-core-2.0-api-part-2-jwt-bearer-authentication/
CC-MAIN-2020-40
en
refinedweb
a remote browser you need to use the ConnectAsync function: var options = new ConnectOptions() { BrowserWSEndpoint = $"wss://chrome.browserless.io?token={apikey}" }; var browser = await Puppeteer.ConnectAsync(options); var page = await browser.NewPageAsync(); The end" The second option was a bit more interesting: A Tel...
https://practicaldev-herokuapp-com.global.ssl.fastly.net/hardkoded/using-chrome-in-azure-with-puppeteer-sharp-and-browserlessio-2odk
CC-MAIN-2020-40
en
refinedweb
This document is complementary to the documentation on the external BuildSystem interface, and describes how the build system internally maps the client facing model to the underlying Core build engine. Internally, the build system models all of its keys using the BuildKey type which is a union over all possible keys, ...
https://fuchsia.googlesource.com/third_party/swift-llbuild/+/refs/heads/upstream/master/docs/buildsystem-internals.md
CC-MAIN-2020-40
en
refinedweb
Get Going with Go and RedisSendGrid Team Go is a promising language. It’s a strong replacement for Java, it’s similarly productive to writing Python, and it is an excellent tool for writing servers. I’m starting to dive into it in my spare time, and in this blog post I will show you the basics of getting started with G...
https://sendgrid.com/blog/get-going-go-redis/
CC-MAIN-2020-40
en
refinedweb
What am I missing? I'm trying to read with NOLOCK using a TransactionScope like this: var scopeOptions = new TransactionOptions { IsolationLevel = IsolationLevel.ReadUncommitted }; using (var scope = new TransactionScope(TransactionScopeOption.Required, scopeOptions)) { using (var db = new MyDbContext(ConnectionStringE...
https://entityframeworkcore.com/knowledge-base/36386801/why-does-entity-framework-ignore-transactionscope--not-adding-with-nolock--
CC-MAIN-2020-40
en
refinedweb
IOPL(2) Linux Programmer's Manual IOPL(2) iopl - change I/O privilege level #include <sys/io.h> int iopl(int level);. On success, zero is returned. On error, -1 is returned, and errno is set appropriately. EINVAL level is greater than 3. ENOSYS This call is unimplemented. EPERM The calling thread 5.08 of the Linux man-...
https://man7.org/linux/man-pages/man2/iopl.2.html
CC-MAIN-2020-40
en
refinedweb
memory¶ This page contains tutorials about the memory package. Calling a virtual function¶ This is a simple example for calling a virtual function in CS:S. import core from memory import DataType from memory import Convention from mathlib import Vector from entities.helpers import pointer_from_index from entities.helpe...
http://wiki.sourcepython.com/developing/module_tutorials/memory.html
CC-MAIN-2022-27
en
refinedweb
#include "global.h" #include <stdlib.h> #include <string.h> #include "living.h" #include "object.h" #include "sounds.h" #include "spells.h" #include "sproto.h" Go to the source code of this file. All this functions handle gods: give presents, punish, and so on. Oct 3, 1995 - Code laid down for initial gods, priest alig...
https://crossfire.real-time.com/code/server/trunk/html/gods_8c.html
CC-MAIN-2022-27
en
refinedweb
How to collect tweets from the Twitter Streaming API using Python Twitter provides a comprehensive streaming API that developers can use to download data about tweets in real-time, if they can figure out how to use it effectively. In this tutorial, we’re going to retrace the steps I took to set up a server to collect t...
https://www.storybench.org/how-to-collect-tweets-from-the-twitter-streaming-api-using-python/
CC-MAIN-2022-27
en
refinedweb
In the process of converting a lot of spaghetti code to organized script modules and multiple functions. One drawback I’ve noticed to this is that sometimes the error messages are truncated and not as helpful or specific as if the script was on the button onAction script. I will just get errors that show a Key I tried ...
https://forum.inductiveautomation.com/t/printing-the-name-of-the-function-and-who-called-it/37910
CC-MAIN-2022-27
en
refinedweb
I am writing a Jest/RTL test for a React component that invokes another component. I want to mock that second component so I can have it do things like invoking callbacks that the first component passes to it. But there is nothing specific to React about this requirement: it comes up for non-React modules, too. I have ...
https://reprog.wordpress.com/2021/10/21/testing-with-jest-how-to-mock-an-import-used-by-the-module-youre-testing/
CC-MAIN-2022-27
en
refinedweb
Biking data from XML to analysis, revised Am I getting slower every day? If you’ve ever been a bike commuter, you’ve probably asked yourself this question. Thanks to these little devices we can now attach to ourselves or our bicycles, we can now use our own actual ride data to investigate these kinds of questions, as w...
https://szeitlin.github.io/posts/biking_data/biking-data-from-xml-to-plots-revised/
CC-MAIN-2022-27
en
refinedweb
Request For Commits – Episode #8 Open Source and Business with David Cramer & Isaac Schlueter, raising venture capital, working with investors and with community, and different company approaches to developing open source projects. Transcript Click here to listen along while you enjoy the transcript. 🎧 On today’s show...
https://changelog.com/rfc/8
CC-MAIN-2022-27
en
refinedweb
Geocoding in Python: A Complete Guide A step-by-step tutorial on geocoding with Python Introduction When dealing with large datasets for machine learning, have you ever come across an address column that looks like this? Location data can be very messy and difficult to process. It is difficult to encode addresses, sinc...
https://www.natasshaselvaraj.com/a-step-by-step-guide-on-geocoding-in-python/
CC-MAIN-2022-27
en
refinedweb
Usual disclaimer - I don’t know Haskell at all. What follows is my rambling experimentation with the Maybe type. Haskell has a useful type called Maybe. F# and probably most other functional languages have something similar. Even C# has Nullable Maybe is a parameterised or polymorphic type that represents that we possi...
https://www.withouttheloop.com/articles/2013-05-19-maybe-haskell/
CC-MAIN-2022-27
en
refinedweb
Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you have been placed in read-only mode. Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript). @ferdinand, YES!!! That solved it. Thank you so much. Forgot about the...
https://plugincafe.maxon.net/user/rui_mac/posts
CC-MAIN-2022-27
en
refinedweb
Functional factorization for matrices and tensors Project description FunFact: Build Your Own Tensor Decomposition Model in a Breeze FunFact is a Python package that aims to simplify the design of matrix and tensor factorization algorithms. It features a powerful programming interface that augments the NumPy API with E...
https://pypi.org/project/funfact/
CC-MAIN-2022-27
en
refinedweb
std::sort, found in the standard library header algorithm, is a standard library algorithm for sorting a range of values, defined by a pair of iterators. std::sort takes as the last parameter a functor used to compare two values; this is how it determines the order. Note that std::sort is not stable. The comparison fun...
https://www.notion.so/ec2e1b745c704e5f81f24b3358b4138f
CC-MAIN-2022-27
en
refinedweb
Whether you have just started using Kendo UI or are already pretty proficient with our widgets and main concepts, you know as well as I do, as does anyone in our industry - things change. Every. Time. You. Blink. So in this blog post, I intend to show you some tips and tricks on how to make your users' experience more ...
https://www.telerik.com/blogs/dynamic-options-in-the-kendo-ui-grid
CC-MAIN-2022-27
en
refinedweb
Awesome Array Driver - arenaudineau/AwesomeArray-PythonDriver Wiki Welcome to the AwesomeArray-PythonDriver wiki! Installation verification By following the quick installation guide from README, you should be able to import the library wherever you want: import aad Several errors can show up: Missing aad ModuleNotFound...
https://github-wiki-see.page/m/arenaudineau/AwesomeArray-PythonDriver/wiki/Awesome-Array-Driver
CC-MAIN-2022-27
en
refinedweb
Minimize the sum of minimum and second minimum elements from all possible triplets Introduction This blog will discuss the problem of finding the minimum possible sum of minimum and second minimum of all possible triplets in an array. Problem Statement We are given an array having n elements. Our task is to minimize th...
https://www.codingninjas.com/codestudio/library/minimize-the-sum-of-minimum-and-second-minimum-elements-from-all-possible-triplets
CC-MAIN-2022-27
en
refinedweb
Building a responsive scheduler in Angular Scheduling is a task that we do for both personal reasons and for work. Let’s see how to quickly set up a weekly and daily schedule view in Angular that looks good on mobile and desktop screens as well. Prerequisites The minimum required version is Angular 4 or newer (includin...
https://blog.mobiscroll.com/building-a-responsive-scheduler-in-angular/
CC-MAIN-2022-27
en
refinedweb
I need to be able to time very short loops accurately (As in "see how long it takes to execute". I DON'T want to have a short-interval timer. There's a big difference). This is important in my code, because I'm writing a DLL that's a plug-in to a real-time multitrack HD audio recorder. The plug-in provides audio proces...
https://groups.google.com/g/microsoft.public.win32.programmer.kernel/c/Qh3k8bxath8
CC-MAIN-2022-27
en
refinedweb
Embedded Models¶ Django MongoDB Engine supports MongoDB’s subobjects which can be used to embed an object into another. Using ListField and DictField it’s already possible to embed objects ( dicts) of arbitrary shape. However, EmbeddedModelField (described beneath) is a much more comfortable tool for many use cases, en...
http://django-mongodb-engine.readthedocs.io/en/latest/topics/embedded-models.html
CC-MAIN-2018-13
en
refinedweb
Core code to create objects XStream sm = new XStream (); Automatic identification comment sm.autodetectAnnotations (true); Written in an object file sm.toXML (model, file); Read from the xml object *** It should be noted, how to read xml is to create pojo, alias, model model, core code, model sm, xml objectMay Quote xm...
http://www.quweiji.com/tag/xml-object/
CC-MAIN-2018-47
en
refinedweb
. using NUnit.Framework; namespace DotNetNuke.Tests.Core.Mail { [TestFixture] public class MailTests { /// <summary> /// This represents the positive path for our tests /// The tests checks for good SMTP server name and port syntax and not /// about the send result; as we will not be sending emails because /// the serv...
https://www.dnnsoftware.com/community-blog/cid/155468
CC-MAIN-2018-47
en
refinedweb
. The known techniques for linking parent-child records are described in the following table. Parent-Child database relationship Not all the techniques described hereafter requires this configuration but I think it is important to define a relationship from the TB1 table to the TB2 records. In Database Configuration de...
http://maximodev.blogspot.com/2013/05/link-parent-child-records-in-maximo.html
CC-MAIN-2018-47
en
refinedweb
Device & model: ARDUINO UNO + Ethernet W5100 What dashboard are you using? Trying to connect my Arduino to the Cayenne Cloud using the Web. I have connection to the internet, I have already run a WebChecker Sketch on the Arduino and a Ping to got success. I am also able to run a webserver in local and light a Led by a ...
https://community.mydevices.com/t/can-t-conect-my-arduino-uno-ethernet-w5100-to-cayenne-waiting-for-response/1415
CC-MAIN-2018-47
en
refinedweb
A couple of weeks ago I wrote about using a combination of tools and features of the Python language to help assess Django apps and write them a bit more defensively. One suggestion was to use a tool like flake8 to report not only on formatting issues but more importantly potential bugs identified through static analys...
https://wellfire.co/this-old-pony/starting-to-prioritize-and-triage-issues-in-cleaning-up-django-apps--this-old-pony-50/
CC-MAIN-2018-47
en
refinedweb
Mantid’s plugin architecture has been engineered so that it is easy for a user to write their own algorithm. This page is a primer for the user about to write their first algorithm and assumes no great knowledge of C++. It covers the basics, with links to more advanced options where appropriate. Note if you are looking...
http://developer.mantidproject.org/WritingAnAlgorithm.html
CC-MAIN-2018-47
en
refinedweb
Stock and bond returns This content was STOLEN from BrainMass.com - View the original, and get the already-completed solution here! Please show all work and complete in excel. Problem Set #1 Calculating Returns: 1. a) Assume you bought 1000 shares of stock at an initial price of $25 per share. The stock paid a dividend...
https://brainmass.com/business/bond-valuation/stock-and-bond-returns-186639
CC-MAIN-2018-47
en
refinedweb
Hi Thorsten, > one question with regards to this topic: > what would be the advantage of namespaces in Picolisp over > namingconventions like in Emacs Lisp? Right. Not much. > 'gnus-function-name' for all functions in gnus library > 'dired-function-name' for all functions in dired library etc Yes. Such conventions make...
https://www.mail-archive.com/picolisp@software-lab.de/msg02741.html
CC-MAIN-2018-47
en
refinedweb
tempfile – Create temporary filesystem resources.¶ Many programs need to create files to write intermediate data. Creating files with unique names securely, so they cannot be guessed by someone wanting to break the application, is challenging. The tempfile module provides several functions for creating filesystem resou...
https://pymotw.com/2/tempfile/index.html
CC-MAIN-2018-47
en
refinedweb
In many cases, indices are captured from the user with the ArrayProperty<int> property type. However, this lacks a few key behaviours which a property collecting workspace index information should have. Firstly, there is no automatic validation of the indices with respect to the workspace itself. Therefore users could ...
http://developer.mantidproject.org/IndexProperty.html
CC-MAIN-2018-47
en
refinedweb
Received exception while creating connection for pool "PIPPODataSourceJP": ORA-04031: unable to allocate 32 bytes of shared memory ("shared pool","DATABASESYS","trigger inform","kglhin: temp") osbpr1do.log00253:ORA-04031: unable to allocate 32 bytes of shared memory ("shared pool","select obj#,type#,ctime,mtim...","sql...
http://www.javamonamour.org/2012/10/print-text-between-2-strings.html
CC-MAIN-2018-47
en
refinedweb
- NAME - DESCRIPTION - SYNOPSIS - DETAILS - API - new - findnodes ($path, $context) - findnodes_as_string ($path, $context) - findnodes_as_strings ($path, $context) - findvalue ($path, $context) - findvalues($path, $context) - exists ($path, $context) - matches($node, $path, $context) - find ($path, $context) - getNode...
https://metacpan.org/pod/XML::XPathEngine
CC-MAIN-2018-47
en
refinedweb
Getting Started This guide is an introduction to Ecto, the database wrapper and query generator for Elixir. Ecto provides a standardised API and a set of abstractions for talking to all the different kinds of databases, so that Elixir developers can query whatever database they’re using by employing similar constructs....
https://hexdocs.pm/ecto/getting-started.html
CC-MAIN-2018-47
en
refinedweb
This is my first time making video games and I decided to use unity because mainly it was free. I am learning about terrain but my main problem is how to make the character your using move and how to make the camera follow him/her. Can someone help me out and explain it very simply because like I said this is my first ...
http://answers.unity3d.com/questions/182391/how-to-make-your-character-move.html
CC-MAIN-2017-09
en
refinedweb
Next Chapter: Example for recursive Programming: Towers of Hanoi Levenshtein Distance Introduction This chapter covers the Levenshtein distance and presents some Python implementations for this measure. There are lots of use cases for the Levenshtein distances. The Levenshtein Distance and the underlying ideas are wide...
http://python-course.eu/levenshtein_distance.php
CC-MAIN-2017-09
en
refinedweb
Did you ever have to send a professional looking HTML email from your ASP.NET MVC APP? Say, to welcome a newly signed up user or to send a password reset link? I am sure at some point you had to! Well, at some point, we all have to send out emails from our app, be it for the sake of a notification or the "tell a friend...
https://www.codeproject.com/articles/145629/announcing-mvcmailer-send-emails-using-asp-net-mvc
CC-MAIN-2017-09
en
refinedweb
I'll start with a quiz. What does this function do? def foo(lst): a = 0 for i in lst: a += i b = 1 for t in lst: b *= i return a, b If you think "computes the sum and product of the items in lst", don't feel too bad about yourself. The bug here is often tricky to spot. If you did see it, well done - but buried in mount...
http://eli.thegreenplace.net/2015/the-scope-of-index-variables-in-pythons-for-loops/
CC-MAIN-2017-09
en
refinedweb
This manual page is part of the POSIX Programmers Manual. The Linux implementation of this interface may differ (consult the corresponding Linux manual page for details of Linux behavior), or the interface may not be implemented on Linux. Name Synopsis Description Return Value Errors Examples Using getpriority() Using ...
http://manpages.sgvulcan.com/setpriority.3p.php
CC-MAIN-2017-09
en
refinedweb
On April 29, 2015, the Securities and Exchange Commission (SEC) proposed long-awaited pay-for-performance rules that would require most U.S. public companies to disclose the relationship between compensation “actually paid” to the company’s named executive officers (NEOs) and the company’s “financial performance.” As d...
http://www.lexology.com/library/detail.aspx?g=a9040799-0d40-4a26-8939-9b0fa9c1ef6b
CC-MAIN-2017-09
en
refinedweb
Rolf Viehmann asks why Explorer doesn't let you create a file whose name begins with a dot.. If it really bugs you that you can't do it from Explorer, you are free to write your own shell extension to do "Rename this file, and if I'm going to shoot myself in the foot, then let me." As someone who sometimes works on fil...
https://blogs.msdn.microsoft.com/oldnewthing/20080414-00/?p=22763
CC-MAIN-2017-09
en
refinedweb
This is a problem I encountered more than once, and today I finally found a "solution". I place "solution" in quotes because it's more of a workaround for something that seems to be a problem of the Python Windows installer. I ran into the problem on a Windows 7 box running ActivePython 2.6, but according to this Pytho...
http://eli.thegreenplace.net/2010/12/14/problem-passing-arguments-to-python-scripts-on-windows/
CC-MAIN-2017-09
en
refinedweb
At the beginning of this month, I started working on a new Perl project, whose goal was to implement the Logo programming language (also known as "turtle graphics"). I had never actually programmed in Logo myself, but thought it would be fun to combine all of the low-level Logo commands for doing drawing (in a Perl/Tk ...
http://www.perlmonks.org/?node_id=597268
CC-MAIN-2017-09
en
refinedweb