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 artcle i will try to explain the basic concepts to a novice MS CRM developer who wants to customize Microsoft CRM 3.0. This article consists of external referances and code samples those are provided with the permission of the copyright holders' permission. If you will get quotations from this article please pr... | http://www.codeproject.com/Articles/18949/Writing-Microsoft-CRM-3-0-Callouts-Sample-Code-Tur | CC-MAIN-2016-26 | refinedweb | 1,786 | 58.18 |
Tiny Tkinter Calculator (Python)
Please support our Python advertiser: Programming Forums
Just.
The program also has a guard against the bad guys that like to abuse the underlying eval() function to wipe out files.
I wrote the code in detail, so you can hopefully figure it out. You can fancy up the calculator quite a b... | http://www.daniweb.com/code/snippet610.html | crawl-002 | refinedweb | 402 | 61.02 |
This series has since been revised and combined. [size="5"]Regular expressions (regexes) Think of an identifier in C++ (such as this, temp_var2, assert etc.). How would you describe what qualifies for an identifier? Lets see if we remember... an identifier consists of letters, digits and the underscore character (_), a... | https://www.gamedev.net/articles/programming/general-and-gameplay-programming/algorithmic-forays-part-2-r2076?forceDownload=1&_k=880ea6a14ea49e853634fbdc5015a024 | CC-MAIN-2017-30 | refinedweb | 1,659 | 73.07 |
Also see Moose::Manual::Delta for more details of, and workarounds for, noteworthy changes. 2.0205 Tue, Sep 06, 2011 [NEW FEATURES] * The Array and Hash native traits now provide a "shallow_clone" method, which will return a reference to a new container with the same contents as the attribute's reference. [ENHANCEMENTS... | https://metacpan.org/changes/release/DOY/Moose-2.0205 | CC-MAIN-2016-50 | refinedweb | 14,685 | 52.7 |
.
I think you should put them back into the System.Collections namespace and suffix each type with ‘base’. e.g. CollectionBase<T>
Seems to me that you are guaranteeing that Collection<T> et al will end up in a backwater.
Im not sure that the needs of intellisense should drive any decisions about how to structure namesp... | https://blogs.msdn.microsoft.com/kcwalina/2005/03/15/the-reason-why-collection-readonlycollection-and-keyedcollection-were-moved-to-system-collections-objectmodel-namespace/ | CC-MAIN-2016-50 | refinedweb | 3,821 | 64.41 |
I'm trying to understand the expected behaviour of the assignment of
columns from an EOD SQL @Select to a data class using JavaBeans style
property accessors. I'm looking at section "19.1.5 User Class" of JDBC 4.0.
I have a class similar to the example but a little different. The
difference is the private field name do... | http://mail-archives.apache.org/mod_mbox/db-derby-dev/200609.mbox/%3C4509FCBC.2020800@apache.org%3E | CC-MAIN-2014-41 | refinedweb | 149 | 73.98 |
socket.connect() hangs in SYN_SENT state.
- From: bukzor <workitharder@xxxxxxxxx>
- Date: Sat, 12 Jul 2008 20:23:16 -0700 (PDT)
I'm having an issue where my program hangs while doing
socket.connect() for a couple minutes, then times out the connection
and crashes.?
Doing a minimal amount of research, I found this in th... | http://coding.derkeiler.com/Archive/Python/comp.lang.python/2008-07/msg01251.html | CC-MAIN-2015-35 | refinedweb | 223 | 77.94 |
Suppose we have a series called f. Each term of f, follows this rule f[i] = f[i – 1] – f[i – 2], we have to find the Nth term of this sequence. f[0] = X and f[1] = Y. If X = 2 and Y = 3, and N = 3. The result will be -2.
If we see this closely, there will be almost six terms before the sequence starts repeating itself.... | https://www.tutorialspoint.com/find-the-nth-term-of-the-series-where-each-term-f-f-f-in-cplusplus | CC-MAIN-2021-39 | refinedweb | 162 | 86.64 |
SVG allows inclusion of elements from foreign namespaces anywhere with the SVG content. In general, the SVG user agent will include the unknown elements in the DOM but will otherwise ignore unknown elements. (The notable exception is described under the Embedding foreign object types section, below.) 'foreignObject' e... | http://www.w3.org/TR/SVGMobile12/extend.html | CC-MAIN-2015-22 | refinedweb | 1,041 | 50.36 |
I have a class, and that class contains an struct. but i am having problems returning the struct to main and read out the values the right way!.
Code:void member::setgroup (Group thegroup) { TypeAcc = thegroup; std::cout << TypeAcc.Type << std::endl; std::cout << TypeAcc.CheckNum << std::endl; } //setgroup function, ev... | http://cboard.cprogramming.com/cplusplus-programming/88019-struct-class-problem.html | CC-MAIN-2015-48 | refinedweb | 156 | 56.01 |
Lots of people have asked me to create a short version of the Design Guidelines. Here it is. You can also email me directly at kcwalina@microsoft.com if you would like to get an MS Word copy of the digest, hich has a bit better formatting.
[UPDATE: I recently updated this document and placed it online. The details are ... | http://blogs.msdn.com/b/kcwalina/archive/2004/09/28/235232.aspx | CC-MAIN-2014-41 | refinedweb | 1,819 | 50.73 |
Dialog windows are not turning modal anyway
Bug Description
When I create any GtkDialog in my application, i set these two methods: set_transient_
#!/usr/bin/python
from gi.repository import Gtk
def button_
fch = Gtk.FileChooser
fch.
fch.
fch.show_all()
fch.run()
win = Gtk.Window()
btn = Gtk.Button("Click me!")
win.add... | https://bugs.launchpad.net/ubuntu/+source/overlay-scrollbar/+bug/903302 | CC-MAIN-2015-40 | refinedweb | 772 | 59.8 |
I’ve got a 16 bit DAC here, which is called DAC8550 (by TI)… I’ve managed to link it with SPI connection with arduino UNO, But I’m having problem with getting predictable results form it.
This chip expects data to be sent to it in two’s complement format from –32768 to +32767, most significant bit first.
This particula... | https://forum.arduino.cc/t/solved-problem-with-sending-two-s-complement-values-to-dac/379532 | CC-MAIN-2021-43 | refinedweb | 373 | 75.81 |
in Python
A Workbook
John D. Hunter
Fernando Pérez
Andrew Straw
Contents
Chapter 1. Introduction 5
Chapter 2. Simple non-numerical problems 7
1. Sorting quickly with QuickSort 7
2. Dictionaries for counting words 8
Chapter 7. Statistics 37
1. Descriptive statistics 37
2. Statistical distributions 40
3
CHAPTER 1
Introdu... | https://www.scribd.com/document/56265218/py4science | CC-MAIN-2019-35 | refinedweb | 5,722 | 53.51 |
First impressions matter, and as a developer you know that the first impression you get of a development framework is how easy it is to write "Hello, World!" Well, in Android, it's pretty easy. Here's how it looks:
The sections below spell it all out in detail.
Let's jump in!
Creating the project is as simple as can be... | http://code.google.com/android/intro/hello-android.html | crawl-001 | refinedweb | 1,775 | 66.03 |
I'm having some trouble with my program for the final project.
My assignment is to take a user input of how many digits of the fibonacci sequence they wish to display, and then....display them.
However when I first ran the code, it would throw an ArrayOutofBounds exception.
So say the user input 5, the system would pri... | http://www.javaprogrammingforums.com/whats-wrong-my-code/19747-fibonacci-sequence-final-project.html | CC-MAIN-2015-22 | refinedweb | 266 | 58.01 |
Creating unit test method stubs with “Create Unit Tests”
March 6, 2015
In Visual Studio 2015 CTP 6 we are introducing the “Create Unit Tests” feature that provides the ability to create unit test method stubs. The feature allows easy configuration of a test project, and the test class and the test method stub therein. ... | https://blogs.msdn.microsoft.com/devops/2015/03/06/creating-unit-test-method-stubs-with-create-unit-tests/ | CC-MAIN-2017-26 | refinedweb | 939 | 70.33 |
ip = a list of ips
ipf = list(filter(lambda x: x if not x.startswith(str(range(257,311))) else None, ip))
No,
str.startswith() doesn't take a range.
You'd have to parse out the first part and test it as an integer; filtering is also easier done with a list comprehension:
[ip for ip in ip_addresses if 257 <= int(ip.part... | https://codedump.io/share/pZNl6uQ8WGRm/1/startswith-with-a-range-of-number-instead-an-unit | CC-MAIN-2017-04 | refinedweb | 134 | 57.16 |
A SAN is a complex animal
From the first minute you try to understand it, you might be overwhelmed by the cascade of new things: fibre switches, multi-path software, redundant controllers, disk enclosures etc. But the idea is pretty simple. In a few words, the primary role of a SAN is to expose virtual disk units (call... | https://blogs.msdn.microsoft.com/adioltean/2004/12/30/how-you-can-uniquely-identify-a-lun-in-a-storage-area-network/ | CC-MAIN-2016-44 | refinedweb | 2,695 | 56.15 |
A friend asked me about creating a small web interface that accepts some inputs, sends them to MATLAB for number crunching and outputs the results. I'm a Python/Django developer by trade, so I can handle the web interface, but I am clueless when it comes to MATLAB. Specifically:
ctypesto interact with it?
Any suggestio... | https://pythonpedia.com/en/knowledge-base/2255942/how-do-i-interact-with-matlab-from-python- | CC-MAIN-2020-16 | refinedweb | 165 | 66.74 |
Using commands.wrap to parse your command’s arguments¶
Contents
Introduction¶
To plugin developers for older (pre-0.80) versions of Supybot, one of the more annoying aspects of writing commands was handling the arguments that were passed in. In fact, many commands often had to duplicate parsing and verification code, r... | http://doc.supybot.aperio.fr/en/latest/develop/using_wrap.html | CC-MAIN-2020-10 | refinedweb | 2,755 | 63.7 |
Haskell Quiz/Fuzzy Time/Solution Dolio
From HaskellWiki
< Haskell Quiz | Fuzzy Time
This doesn't do, strictly, what the ruby quiz specification demands (yet, at least). It makes time and fuzzy time datatypes, and a fuzzy clock monad in which you can tick off minutes, and it will report a fuzzy time at each tick. I didn... | http://www.haskell.org/haskellwiki/index.php?title=Haskell_Quiz/Fuzzy_Time/Solution_Dolio&oldid=7536 | CC-MAIN-2014-23 | refinedweb | 431 | 68.54 |
A babel plugin adding the ability to rewire modul dependency. This enables to mock modules for testing purposes.') }
e.g.
MyComponent.jsx has
import someCoolFunctionThatShouldBeMocked
PhantomJS 2.1.1 (Mac OS X 0.0.0) ERROR LOG: 'named exports are not supported in *.vue files.'however, I do not see any
__RewireAPI__bein... | https://gitter.im/speedskater/babel-plugin-rewire?at=583ef683c5bc35217da4272b | CC-MAIN-2022-40 | refinedweb | 161 | 53.47 |
Unofficial guide to AstroArt’s script commands Prologue Since using the CCD camera for my astronomical observation my reference software for the recovery and processing of images has always been AstroArt. Naturally over the years I have found to handle other software of this type, certainly some very good, and although... | https://manualzz.com/doc/6553563/unofficial-guide-to-astroart-s-script-commands | CC-MAIN-2020-40 | refinedweb | 5,022 | 55.64 |
Ask the PRO
LANGUAGES: C#
ASP.NET VERSIONS: 1.0 | 1.1
Get a Rich UI With WinForms
Use a DataReader to enumerate multiple sets of query results.
By Jeff Prosise
Q: I'm interested in using Windows Forms controls to build rich user interfaces in ASP.NET Web pages. I know how to deploy the controls and access their propert... | https://www.itprotoday.com/web-development/get-rich-ui-winforms | CC-MAIN-2019-04 | refinedweb | 1,009 | 59.19 |
- Training Library
- Amazon Web Services
- Courses
- .Net Microservices - Refactor and Design - Course One
Refactoring - Restful API Microservices
- [Instructor] Welcome back. In this lecture, we're gonna begin to build out each of the service components. Recalling that in the previous lecture, each of these projects w... | https://cloudacademy.com/course/net-microservices-refactor-design-course-1/c2l7-rearch2/ | CC-MAIN-2021-17 | refinedweb | 1,171 | 86.71 |
Quickstart: Creating HTTP endpoints
Put an HTTP API on your app
Anvil lets you set up HTTP endpoints with very little code.
Follow this quickstart to create an HTTP endpoint that extracts two variables from the path and creates a response dynamically based on their values.
Create an app
Log in to Anvil and click ‘New B... | https://anvil.works/docs/http-apis/creating-http-endpoints/quickstart.html | CC-MAIN-2020-29 | refinedweb | 296 | 71.24 |
CodeSynthesis XSD 4.0.0 Released
CodeSynthesis XSD 4.0.0 was released today.
In case you are not familiar with XSD, it is an open-source, cross-platform raw XML.
For an exhaustive list of new features see the official announcement. Below I am going to cover the notable new features in more detail and include some insig... | https://codesynthesis.com/~boris/blog/2014/07/22/codesynthesis-xsd-4-0-0-released/ | CC-MAIN-2019-18 | refinedweb | 775 | 65.01 |
Too much stuff happening in a single plot? No problem—use multiple subplots!
This in-depth tutorial shows you everything you need to know to get started with Matplotlib’s
subplot() function.
If you want, just hit “play” and watch the explainer video. I’ll then guide you through the tutorial:
To create a matplotlib subp... | https://blog.finxter.com/matplotlib-subplot/ | CC-MAIN-2020-50 | refinedweb | 2,742 | 69.38 |
Shared Memory in EJB Containertreespace Mar 31, 2006 12:41 AM
I have a service interface created with EJBs. I have a web application that uses those services but it's optional. What is the business tier equivalent of the servlet session context? JNDI?
I am building up a data structure from the database so it has no dir... | https://developer.jboss.org/thread/107432 | CC-MAIN-2018-17 | refinedweb | 670 | 67.99 |
07 February 2012 07:50 [Source: ICIS news]
SINGAPORE (ICIS)--BP reported on Tuesday a 41.5% year-on-year fall in its replacement cost profit before interest and tax at its refining and marketing division to $564m (€429m) in the fourth quarter of last year, partly because of lower margins.
The segment’s profit before in... | http://www.icis.com/Articles/2012/02/07/9529885/bp-refining-and-marketing-q4-replacement-cost-profit-falls-41.5.html | CC-MAIN-2015-14 | refinedweb | 274 | 55.64 |
Thorsten Rühl wrote in message ... >Hi there, > >at first i have to say i am very new in python so i have a few problems to >get along with some things. > >My first problem i can´t handle is to write a recursive lambda function: >the formal definition is > >letrec map(f) = lambda l. if != NIL then NIL > else cons(f(car... | https://mail.python.org/pipermail/python-list/2003-December/198097.html | CC-MAIN-2016-40 | refinedweb | 385 | 80.31 |
) answer.
Ok Scott, I’ll send you back your decoder ring… but not before I make a copy and send you the original one back! Or did I send you the copy?
Darrell,
I used to think you were my friend. We hung out on line. We drank at Tech-Ed. We made plans to visit each other. Now I read that you’re dabbling in the mantic a... | http://codebetter.com/darrellnorton/2005/06/23/dynamic-languages-work-closer-to-how-you-design-software/ | CC-MAIN-2015-48 | refinedweb | 3,094 | 69.01 |
03 December 2007 08:00 [Source: ICIS news]
?xml:namespace>
?xml:namespace>
Under Hambrecht’s leadership, BASF has continued its position as one of the leading chemical companies benefiting from canny investments and strong regional growth.
Last year he bought US catalyst maker Engelhard for $5.6bn (€3.8bn) and Degussa’... | http://www.icis.com/Articles/2007/12/03/9082777/basfs-hambrecht-is-top-chemicals-exec-in-europe.html | CC-MAIN-2014-35 | refinedweb | 139 | 53.1 |
Details
- AboutI like fixing segfaults
- Skillsvim, c, python
- LocationSacramento
- Website
- Github
Joined devRant on 11/6/2016
Join devRant
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple APILearn
- uBlock Origin hides the ++... | https://devrant.com/users/tbodt | CC-MAIN-2021-31 | refinedweb | 331 | 68.7 |
Question
The U.S. stock market hit an all-time high in October 1929 before crashing dramatically. Following the market crash, the U.S. entered a prolonged economic downturn dubbed The Great Depression. Using Figure, estimate how long it took for the stock market to fully rebound from its fall which began in October 192... | http://www.solutioninn.com/the-us-stock-market-hit-an-alltime-high-in-october-1929 | CC-MAIN-2017-09 | refinedweb | 180 | 58.69 |
Use Visual Studio Code to develop and debug modules for Azure IoT Edge
You can turn your business logic into modules for Azure IoT Edge. This article shows you how to use Visual Studio Code as the main tool to develop and debug modules.
There are two ways to debug modules written in C#, Node.js, or Java in Visual Studi... | https://docs.microsoft.com/en-us/azure/iot-edge/how-to-vs-code-develop-module?WT.mc_id=aaronpowell-blog-aapowell | CC-MAIN-2019-39 | refinedweb | 3,376 | 56.76 |
On Tue, Jun 23, 2009 at 8:29 PM, Mike Christie<micha...@cs.wisc.edu> wrote: > > Erez Zilber wrote: >> Mike, >> >> I'm trying to debug a problem that we have with iscsiadm: I'm running >> open-iscsi against multiple targets. At some point, I'm closing the >> connection from one of the targets (i.e. on the target side). ... | https://www.mail-archive.com/open-iscsi@googlegroups.com/msg03056.html | CC-MAIN-2019-51 | refinedweb | 644 | 79.6 |
Hi,
I am using CouchDB 1.2.0. and couchdb-python 0.9dev.
I will shortly describe my scenario:
1. I am putting one attachment to a new document (no _rev)
2. If there is a resource conflict, it means the document was already in
the database, so I get it, to get the _rev.
3. I put then the attachment
4. At some point, you... | http://mail-archives.apache.org/mod_mbox/couchdb-user/201303.mbox/%3CCAAOi-OGmAs2RKydQwMPDb9T_ybw=gxCXL5BK2wB2Wpio43iByw@mail.gmail.com%3E | CC-MAIN-2018-26 | refinedweb | 620 | 58.79 |
PDF Library for C# and VB.NET applications
The fastest way to get started with the GemBox.Pdf library is by exploring our collection of C# and VB.NET examples. These are live examples that show supported features and APIs for achieving various PDF-related tasks with the GemBox.Pdf component.
System Requirements
GemBox.... | https://www.gemboxsoftware.com/pdf/examples/c-sharp-vb-net-pdf-library/101 | CC-MAIN-2020-40 | refinedweb | 541 | 54.49 |
Scope Rules in C:
Scope rules in C or scope of a variable means that from where the variable may directly be accessible after its declaration.
The scope of a variable in C programming language can be declared in three places :
Local variable: Local variables are the variables that are declared inside a block or a funct... | https://www.studymite.com/c-programming-language/scope-rules-in-c/?utm_source=related_posts&utm_medium=related_posts | CC-MAIN-2021-39 | refinedweb | 203 | 63.19 |
gtkmm: Gtk::RecentFilter Class Reference
RecentFilter can be used to restrict the files being shown in a RecentChooser. More...
#include <gtkmm/recentfilter.h>
Detailed Description
RecentFilter can be used to restrict the files being shown in a RecentChooser.
Files can be filtered based on their name (with add_pattern(... | https://developer.gnome.org/gtkmm/stable/classGtk_1_1RecentFilter.html | CC-MAIN-2017-30 | refinedweb | 455 | 56.15 |
Date Parsing¶
Different feed types and versions use wildly different date formats. Universal Feed Parser will attempt to auto-detect the date format used in any date element, and parse it into a standard Python 9-tuple, as documented in the Python time module.
The following elements are parsed as dates:
- feed.updated ... | http://pythonhosted.org/feedparser/date-parsing.html | CC-MAIN-2017-13 | refinedweb | 702 | 54.32 |
react-click-away-listener
~700B React Click Away Listener.
Installation
yarn add react-click-away-listener
- It's quite small in size.
- It's built with TypeScript.
- It supports both Mouse and Touch Events.
- It works with Portals.
Usage
import ClickAwayListener from 'react-click-away-listener'; const App = () => { co... | https://reactjsexample.com/tiny-react-click-away-listener-built-with-react-hooks/ | CC-MAIN-2022-27 | refinedweb | 105 | 53.58 |
Opened 6 years ago
Closed 2 years ago
#3925 closed defect (fixed)
Cannot use '<' and '>' characters in comment.
Description
When I add comment include '<' or '>' character, Comment doesn't appear correctly.
Maybe this plugin doesn't escape HTML tags.
If I change '<' to '<' and change '>' to '>', Comment appear correctl... | http://trac-hacks.org/ticket/3925 | CC-MAIN-2014-35 | refinedweb | 215 | 62.48 |
These sample source codes on this page below are demonstrating how to create simple QR code in C#. ByteScout QR Code can create simple QR code. It can be used from C#..
This code snippet below for ByteScout QR Code works best when you need to quickly create simple QR code in your C# application. Follow the instructions... | https://bytescout.com/articles/qr-code-sdk-c-create-simple-qr-code | CC-MAIN-2019-35 | refinedweb | 153 | 68.36 |
We're REALLY excited about this announcement and think many of you will be too 😉
On May 11th 2017, during Microsoft's Build conference keynote, Terry Myerson (EVP for Windows & Devices Group) made several announcements about the Windows Subsystem for Linux:
- We continue our partnership with our friends at Canonical t... | https://blogs.msdn.microsoft.com/commandline/2017/05/11/new-distros-coming-to-bashwsl-via-windows-store/?replytocom=15525 | CC-MAIN-2018-09 | refinedweb | 3,052 | 64.3 |
Is there any way of running and compiling with known errors in the code.
Her is my reason. I am using a reference to word 2008 and word 2010, so as the program will work with both versions. Trouble is that if the computer I am using to test the code, only has one installed (naturally) so the program wont compile or run... | http://www.daniweb.com/software-development/vbnet/threads/440593/force-compile-with-errors | CC-MAIN-2013-20 | refinedweb | 693 | 69.41 |
I have a list called deck, which has 104 elements. I want to create a for loop, that displays images on a canvas in a simple GUI (that can only be run on CodeSkulptor, the link to my program's here: )
The loop only prints the first row, I think the way I update coordinates of the centre of the image is what's wrong wit... | https://codedump.io/share/6jnmA82dFS6L/1/for-loop-supposed-to-print-4-rows-it-only-prints-one | CC-MAIN-2017-13 | refinedweb | 166 | 67.38 |
✅ fair launch, what will zcn price change?.
im gonna wait for you all on the wound..
Exodus vs trust wallet ?, he put together gaming teams!, do only good everyday message and be patient..
Referral anyone?.
**tl;dr** binance likely does not reflect market movement!, see you in telegram!.
– wide adoption on their growth... | https://0chain.trybik.eu/whats-the-difference-between-0chain-and-how-does-the-dogecoin-halving-2020 | CC-MAIN-2021-31 | refinedweb | 5,774 | 76.52 |
05 November 2012 09:20 [Source: ICIS news]
SINGAPORE (ICIS)--?xml:namespace>
The shutdown is expected to last 20 days, and the company will continue to supply stocks during the period, the source said.
However, the company is not concerned about restarting the unit “as the margins are negative in base oils production,”... | http://www.icis.com/Articles/2012/11/05/9610668/petrochina-to-shut-nanchong-base-oil-plant-on-feedstock.html | CC-MAIN-2015-14 | refinedweb | 102 | 54.76 |
Scalaz used to have a
scalaz.Functor for
scala.collection.Set but
it was eventually removed
because it relied on
Any’s == method. You
can read more about why
Functor[Set] is a bad idea at
Fake Theorems for Free.
If
Set had been truly parametric, we wouldn’t have been able to
define a
Functor in the first place. Luckily... | https://typelevel.org/blog/2014/06/22/mapping-sets.html | CC-MAIN-2019-13 | refinedweb | 712 | 65.01 |
test provides a standard way of writing and running tests in Dart.
- Writing Tests
- Running Tests
- Asynchronous Tests
- Running Tests With Custom HTML
- Configuring Tests
- Tagging Tests
- Debugging
- Browser/VM Hybrid Tests
- Support for Other Packages
- Further Reading
Writing Tests
Tests are specified using the to... | https://pub.dartlang.org/documentation/test/latest/ | CC-MAIN-2018-30 | refinedweb | 1,890 | 59.5 |
Building a Weather Application Using IPC and Parallelism
Building a weather application using interprocess communication (IPC) like named pipes and shared memory. In addition to parallelism through posix threads to get weather data from a web API.
Interprocess Communication is when two processes or more communicate wit... | https://minimatech.org/interprocess-communication-and-parallelism-in-c/ | CC-MAIN-2021-31 | refinedweb | 1,884 | 65.42 |
Virtual Function Performance
One?
For some background on virtual functions, see this article in the From AS3 to C# series that covers how they work. For some behind the scenes information on how virtual functions are implemented, check out the Wikipedia article on dynamic dispatch.
In short, here’s what we’re testing t... | https://jacksondunstan.com/articles/3048?replytocom=587331 | CC-MAIN-2019-51 | refinedweb | 1,056 | 52.9 |
Practical Recursion Schemes
Recursion schemes are elegant and useful patterns for expressing general computation. In particular, they allow you to ‘factor recursion out’ of whatever semantics you may be trying to express when interpreting programs, keeping your interpreters concise, your concerns separated, and your co... | https://medium.com/@jaredtobin/practical-recursion-schemes-c10648ec1c29 | CC-MAIN-2017-34 | refinedweb | 3,027 | 57.3 |
Hello
I've attached an example, and the ContentTemplateSelector will cause a designer exception.
Build and debug works fine.
First. In using navigation I want to control everything by binding in MainWindowViewModel.
Each UserControl is a different screen.
However, the combo box and button are the same.
So, when you mov... | https://www.telerik.com/forums/navigation-content-template-selector-and-hierarchy-binding-question | CC-MAIN-2021-43 | refinedweb | 1,017 | 50.53 |
This is your resource to discuss support topics with your peers, and learn from each other.
12-06-2012 05:55 AM
hi every one,
when i run my application then i get a message on console
free malloc object that is not allocated:../../dlist.c:1078
and my application is forced close i dont know what is it please help me.
02... | https://supportforums.blackberry.com/t5/Native-Development/error-free-malloc-object-that-is-not-allocated-dlist-c-1078/m-p/2190895/highlight/true | CC-MAIN-2016-30 | refinedweb | 635 | 62.61 |
Roland McGrath wrote:>>If you don't like this idea at all, please let me know if there any other >>way of solving the invisible threads problem, short of taking out >>->permission() altogether from proc_task_inode_operations.> > > Have you investigated my suggestion to move __exit_fs from do_exit to> release_task?Rolan... | http://lkml.org/lkml/2005/9/14/432 | CC-MAIN-2014-15 | refinedweb | 133 | 67.65 |
Java puts classes in packages. Packages are logical groupings for classes. Java classes are grouped into packages.
We need to tell which packages to search a class when using them in the code with import statement.
Import statements tell Java which packages to search sfor classes.
import java.util.Random; // import tel... | http://www.java2s.com/Tutorials/Java/OCA_Java_SE_8_Building_Blocks/0030__Package_Import.htm | CC-MAIN-2017-04 | refinedweb | 962 | 61.22 |
an atom-atom neighborlist object More...
#include <NeighborList.hh>
an atom-atom neighborlist object
The neighborlist is used during minimization to speed atom-atom energy calculations. It stores a list of potentially interacting neighbor atoms for each atom in the system.
The logic for using the nblist is tricky.
Tent... | https://www.rosettacommons.org/manuals/archive/rosetta3.4_user_guide/dc/d91/classcore_1_1scoring_1_1_atom_neighbor.html | CC-MAIN-2016-07 | refinedweb | 275 | 53.81 |
dns_cache_lookup
Name
dns_cache_lookup — Check to see if the results for a given query are in the DNS cache
Synopsis
#include "dns-cache.h"
dns_cache_cachenode * **dns_cache_lookup** ( | query
); | |
Description
Check to see if the results for a given query are in the DNS cache.
- query
The dns cache query. A pointer t... | https://support.sparkpost.com/momentum/3/3-api/apis-dns-cache-lookup | CC-MAIN-2022-21 | refinedweb | 135 | 65.01 |
Devoxx, and all similar conferences, is a place where you make new discoveries, continually. One of these, in my case, at last week's Devoxx, started from a discussion with Jaroslav Bachorik from the VisualVM team. He had presented VisualVM's extensibility in a session at Devoxx. I had heard that, when creating extensi... | https://dzone.com/articles/real-time-charts-java-desktop | CC-MAIN-2017-39 | refinedweb | 647 | 53.1 |
A Cursor instance has the following attributes and methods:
Executes a SQL statement. The SQL statement may be parametrized (i. e. placeholders instead of SQL literals). The sqlite3 module supports two kinds of placeholders: question marks (qmark style) and named placeholders (named style).
This example shows how to us... | http://docs.python.org/release/2.5.2/lib/sqlite3-Cursor-Objects.html | CC-MAIN-2013-20 | refinedweb | 151 | 70.19 |
Ignore imported style files when running in Node
A
babel/registerstyle hook to ignore style imports when running in Node. This is for projects that use something like Webpack to enable CSS imports in JavaScript. When you try to run the project in Node (to test in Mocha, for example) you'll see errors like this:
SyntaxE... | https://xscode.com/bkonkle/ignore-styles | CC-MAIN-2020-50 | refinedweb | 413 | 56.15 |
For a while now I’ve been wondering about what might be the minimal set of technologies that allows me to tackle the widest range of projects. The answer I’ve arrived at, for backend development at least, is GraphQL and ArangoDB.
Both of these tools expand my reach as a developer. Projects involving integrations, multi... | https://mikewilliamson.wordpress.com/2017/03/24/arangodb-and-graphql/ | CC-MAIN-2018-34 | refinedweb | 2,634 | 59.74 |
![if !(IE 9)]> <![endif]>
Hello there! In this article, we'll look at the free version (available to the developers of free and open-source software) of the PVS-Studio static analyzer in action. What we are going to check today is the source code of the Reiser4 file system and its utilities.
This article was originally... | https://www.viva64.com/en/b/0551/ | CC-MAIN-2020-40 | refinedweb | 3,197 | 65.93 |
In Part 2 I continue my discussion on the use of the JTable. (Part 1, "Mastering the JTable," can be found in the January issue of JDJ, [Vol. 6, issue 1].) I'll briefly review the three major classes you'll need while working with data within the JTable.
1. JTable: Controls the visual presentation of the data, however,... | http://www2.sys-con.com/itsg/virtualcd/java/archives/0607/hendry/index.html | CC-MAIN-2018-51 | refinedweb | 2,411 | 64.2 |
Applies to: Windows SharePoint Services 3.0, Microsoft Office SharePoint Server 2007, Microsoft Visual Studio 2005.
Ted Pattison, Ted Pattison Group
May 2007
When developing for Windows SharePoint Services 3.0, you are often required to create and modify XML files that contain Collaborative Application Markup Language ... | http://msdn.microsoft.com/en-us/library/bb507730.aspx | crawl-002 | refinedweb | 344 | 52.05 |
Edit.
A while back I worked on a project which required edit controls with very strict behavior. One was a date control which needed to accept dates in mm/dd/yyyy format only. The user would be allowed to enter just the numbers and the slashes would be filled in automatically (unlike Microsoft’s Date control). The cont... | https://www.codeproject.com/Articles/1425/Validating-Edit-Controls?fid=2682&df=10000&mpp=50&sort=Position&spc=Relaxed&select=1950447&tid=1187500 | CC-MAIN-2017-39 | refinedweb | 3,207 | 56.05 |
#include <pstensor.h>
Full C matrix (must provide orthonormal MO basis)
Dealias basis set.
Debug level.
Pseudospectral grid.
Minimum eigenvalue to keep in the dealias basis.
Minimum eigenvalue to keep in the primary basis.
Number of active occupieds.
nmo_ + ndealias_
Number of grid points.
Number of active virtuals.
Nu... | http://psicode.org/psi4manual/doxymaster/classpsi_1_1PSTensor.html | CC-MAIN-2017-22 | refinedweb | 176 | 53.78 |
This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.
On Tue, Feb 14, 2012 at 04:20:17PM -0600, Ryan S. Arnold wrote: > On Fri, Feb 10, 2012 at 1:24 PM, Kees Cook <kees@outflux.net> wrote: > > Just checking in on this. Is anyone willing to ACK this patch? > > The patch passed mak... | http://cygwin.com/ml/libc-alpha/2012-02/msg00250.html | CC-MAIN-2016-50 | refinedweb | 241 | 65.52 |
Abstract: Java 5 adds a new way of casting that does not show compiler warnings or errors. Yet another way to shoot yourself in the foot?
Welcome to the 127th edition of The Java(tm) Specialists' Newsletter. I have just returned from a visit to Crete with some friends. It was simply incredible. For example, sitting in ... | https://www.javaspecialists.eu/archive/Issue127-Casting-like-a-Tiger.html | CC-MAIN-2020-45 | refinedweb | 882 | 67.45 |
*
A
double or float?
Graham Robinson
Greenhorn
Joined: Nov 23, 2005
Posts: 16
posted
Dec 11, 2005 06:38:00
0
Hi, this code is basically meant to work out an olympic dive score, Then print out a bar chart, using rectangles. But, the difficulty can be between 1.2 and 3.5. So an Int wont work, but when i change it, there ... | http://www.coderanch.com/t/401769/java/java/double-float | CC-MAIN-2014-10 | refinedweb | 1,633 | 68.36 |
Microsoft Longhorn Delayed 736
skreuzer writes "Microsoft has once again shifted the schedule for the release of "Longhorn," the company's next major version of Windows. The product was originally expected to ship next year. Then in May of this year, officials pushed back the release date to 2005. But now executives ar... | https://slashdot.org/story/03/09/01/2245222/microsoft-longhorn-delayed | CC-MAIN-2017-17 | refinedweb | 6,861 | 72.76 |
- Control icon creation
- Colorizing options
- Preset and custom attribut creation
- Control clean up options
A tutorial video of the revised script will be posted soon.
How to run:
import rr_main_curves
rr_main_curves.window_creation()
If you have any feedback or suggestions for the tool, please feel free to contact m... | https://jobs.highend3d.com/maya/script/rigbox_reborn-curves-tool-for-maya | CC-MAIN-2021-39 | refinedweb | 104 | 67.45 |
LockSupport.parkNanos() Under the Hood and the Curious Case of Parking, Part II: Windows
Learn more about parkNanos() behavior on Windows.
Join the DZone community and get the full member experience.Join For Free
In the previous post, we have seen how
LockSupport.parkNanos() is implemented on Linux, what behavior to ex... | https://dzone.com/articles/locksupportparknanos-under-the-hood-and-the-curiou | CC-MAIN-2022-21 | refinedweb | 3,044 | 59.3 |
This is the third installment of my Automate the Vim workplace article series. As always, feel free to grab the ideas in this article or, better yet, take inspiration and inspect your workflow to identify such opportunities.
Please note that all that I share below is what I'm using with Vim (more specifically, GVim on ... | https://sharats.me/posts/automating-the-vim-workplace-3/ | CC-MAIN-2021-17 | refinedweb | 1,922 | 73.58 |
Hi
I am learning object oriented programming with C++ and I am having trouble understanding virtual functions and polymorphism.
I have this simple program:
I'm building with MinGW on windows 7.I'm building with MinGW on windows 7.Code:test.htest.cpptest.cppPHP Code:
#ifndef TEST_H_#define TEST_H_typedef struct data { i... | http://cboard.cprogramming.com/cplusplus-programming/145943-virtual-functions-not-working.html | CC-MAIN-2013-48 | refinedweb | 250 | 58.28 |
Getting Started with RESTCountries.NET
In this article, Let me show you my open source Nuget package RESTCountries.NET developed in .NET Standard.
RESTCountries.NET is a .NET Standard wrapper library around the API provided by REST Countries().
htpps://restcountries.eu is a RESTful API which provides information about ... | https://medium.com/@lioncoding/getting-started-with-restcountries-net-9e5326b9b86b?utm_campaign=Weekly%2BXamarin&utm_medium=web&utm_source=Weekly_Xamarin_220 | CC-MAIN-2019-47 | refinedweb | 316 | 59.9 |
Libarchivejs
Overview
Libarchivejs is a archive tool for browser which can extract various types of compression, it's a port of libarchive to WebAssembly and javascript wrapper to make it easier to use. Since it runs on WebAssembly performance should be near native. Supported formats: ZIP, 7-Zip, RAR v4, RAR v5, TAR. S... | https://opensourcelibs.com/lib/libarchivejs | CC-MAIN-2021-31 | refinedweb | 473 | 61.63 |
/* Expands front end tree to back end RTL for GNU C-Compiler Copyright (C) 1987, 1988, 1989, handles the generation of rtl code from tree structure above the level of expressions, using subroutines in exp*.c and emit-rtl.c. It also creates the rtl expressions for parameters and auto variables and has full responsibilit... | http://opensource.apple.com//source/gcc_os/gcc_os-1666/gcc/stmt.c | CC-MAIN-2016-44 | refinedweb | 13,390 | 55.13 |
Ravenbrook / Projects / Perforce Defect Tracking Integration / Version 2.2 Product Sources / Design
Perforce Defect Tracking Integration Project
This document describes a Python extension that provides an interface to the TeamTrack API. It follows the design document procedure [RB 2000-10-05] and the design document st... | http://www.ravenbrook.com/project/p4dti/version/2.2/design/python-teamtrack-interface/ | crawl-003 | refinedweb | 3,173 | 57.67 |
Post your Comment
Mysql date API
Mysql date API
API stand for Application Programming Interface. API in SQL are used... on common API used in Mysql date. In this example, we
elaborate you
Hibernate Criteria API
("date", date));
The Criteria API also provides some additional Comparison...Hibernate Criteria API
The API (... | http://www.roseindia.net/discussion/25961-Mysql-date-API.html | CC-MAIN-2014-10 | refinedweb | 438 | 54.22 |
How to catch a signal emitted from cpp class in Qml ?
Hi all,
I am using s signal slot communication for cpp and qml interaction. but when i emit a signal from cpp class i am not able to catch that in Qml...can anyone guide me in this matter... the code is as follows...
thanks.
my .h code
#ifndef HANDLETEXTFIELD_H #def... | https://forum.qt.io/topic/74076/how-to-catch-a-signal-emitted-from-cpp-class-in-qml | CC-MAIN-2017-43 | refinedweb | 1,149 | 52.56 |
TAKING DIRECT ACTION TO SAVE PARADISE
TAKING DIRECT ACTION TO SAVE PARADISE
Taking Direct Action to Save Paradise
Our ships, the Esperanza and the Arctic Sunrise,
were making waves this winter in the Southern Ocean confronting
Japanese whalers. Now, all eyes are on the third member of our fleet,
the Rainbow Warrior, as... | http://tonernews.com/forums/topic/webcontent-archived-13826/ | CC-MAIN-2016-44 | refinedweb | 350 | 56.89 |
The future is here. It's just not widely distributed yet. - William Gibson
To start, I'll lay out some groundwork so you can understand how the article projects will be set up, and why. First, I do all my ASP.NET web projects as "Web Application Projects" running under IIS (not the built-in web dev server). I do this b... | http://www.nullskull.com/a/904/silverlight-2-beta-2--doing-data-part-i.aspx | CC-MAIN-2017-30 | refinedweb | 815 | 56.96 |
Using JSFUnit to test 2 communicating webappsWim Vandenhaute Mar 21, 2008 9:35 AM
I am trying to use JSFUnit on 2 webapps simultaneouly.
The scenario is like this :
The first webapp submits a log in action, which redirects to a second webapp, the authentication webapp.
This one handles all authn and then redirects back... | https://developer.jboss.org/thread/18494 | CC-MAIN-2018-05 | refinedweb | 737 | 58.62 |
Virtual Scrolling with Angular
Yaser Adel Mehraban
・4 min read
If you have followed my series on web performance, you would've stumbled upon my image optimisation post where I went through a series of steps to lazy load images on your page.
Problem
When you have many items in your page, regardless of their nature (text... | https://practicaldev-herokuapp-com.global.ssl.fastly.net/yashints/virtual-scrolling-with-angular-45bm | CC-MAIN-2019-35 | refinedweb | 899 | 52.19 |
For reasons I still don’t understand, T-Mobile effectively prevented me from preordering the iPhone X. This had something to do with Apples payment plans and T-Mobile’s stipulations. It ultimately meant that if I wanted an iPhone X I’d have to go in store, on November 3rd and purchase everything there. In person. No th... | https://anthonyfox.io/posts/iphonex-search/ | CC-MAIN-2019-09 | refinedweb | 696 | 65.42 |
Inner Classes Change Access Rights Of Parent Members?!? access inner classes variables & methods from outer classeslonelyplanet999, Nov 13, 2003, in forum: Java
- Replies:
- 1
- Views:
- 2,319
- VisionSet
- Nov 13, 2003
Debate: Inner classes or public classes with package access?Christian Bongiorno, Aug 27, 2004, in fo... | http://www.thecodingforums.com/threads/inner-classes-change-access-rights-of-parent-members.136305/ | CC-MAIN-2015-11 | refinedweb | 133 | 55.41 |
> Could.) Most likely this can't be seen on an elisp profile. To get a C profile, add "-pg -DPROFILING=1" to your CFLAGS. I use the patch below (under GNU/Linux) to provide a `moncontrol' elisp file that allows me to start/stop C profiling so I can start it once I get into a "strangely slow" state. Stefan --- orig/src/... | https://lists.gnu.org/archive/html/emacs-devel/2006-05/msg01412.html | CC-MAIN-2016-44 | refinedweb | 154 | 62.68 |
On Fri, Dec 17, 2010 at 1:17 PM, Antoine Pitrou <report@bugs.python.org> wrote:
..
>> A better question is why datetime.utcfromtimestamp(s) exists given
>> that it is actually longer than equivalent EPOCH + timedelta(0, s)?
>
> ??? EPOCH is not even a constant in the datetime module.
>
No, and it does not belong there.... | https://bugs.python.org/msg124248 | CC-MAIN-2022-05 | refinedweb | 361 | 66.13 |
n Pile up , Take at least one at a time , The rest can be divided into two piles . The last one to win loses
Watch and see Nim The game is the same ... bare Anti-SG ah
#include <iostream>
#include <cstdio>
#include <cstring>
#include <algorithm>
#include <cmath>
using namespace std;
typedef long long ll;
const int N=1e... | https://chenhaoxiang.cn/2021/06/20210604131125538c.html | CC-MAIN-2022-05 | refinedweb | 1,033 | 70.43 |
PTHREAD_CREATE(3) BSD Programmer's Manual PTHREAD_CREATE(3)
pthread_create - create a new thread
#include <pthread.h> int pthread_create(pthread_t *thread, const pthread_attr_t *attr, void *(*start_routine)(void *), void *arg);
The pthread_create() function is used to create a new thread, with attri- butes specified by... | http://www.mirbsd.org/htman/i386/man3/pthread_create.htm | CC-MAIN-2016-50 | refinedweb | 297 | 55.03 |
C++ Program to Display Factors of a Number
Grammarly
In this post you will learn how to Display Factors of a Number
This lesson will teach you how to Display Factors of a Number, with a for loop, mathematical operations and decision making statement using the C++ Language. Let’s look at the below source code.
How to Di... | https://developerpublish.com/academy/courses/c-programming-examples-2/lessons/c-program-to-display-factors-of-a-number/ | CC-MAIN-2021-49 | refinedweb | 339 | 62.72 |
DIP50
Contents
- 1 Abstract
- 2 Example
- 3 Rationale
- 4 Formal Definition
- 5 Bonus
- 6 Use cases
Abstract
The basic concept of AST (Abstract Syntax Tree) macros, or just syntax macros, is fairly simple. A macro is just like any other function or method except that it will only run at compile time. When a macro is ca... | https://wiki.dlang.org/DIP50 | CC-MAIN-2019-43 | refinedweb | 1,961 | 54.73 |
Get the highlights in your inbox every week.
How to port an awk script to Python | Opensource.com
How to port an awk script to Python
Porting an awk script to Python is more about code style than transliteration.
Subscribe now
Scripts are potent ways to solve a problem repeatedly, and awk is an excellent language for w... | https://opensource.com/article/19/11/awk-to-python | CC-MAIN-2020-10 | refinedweb | 1,246 | 60.85 |
.
Hanumantha Rao Jun 04, 2007
In oops world the polymorphisam is to ability inherits methods and properties of baseclass into derived class.
Example of polymorphisam is
public class Addres_Details
{
//here comes default construtor
//Now I am defines one method
public virtual void add_nam
1. function overloading,2. Runt... | http://www.c-sharpcorner.com/Interviews/answer/587/what-is-polymorphism-how-does-VB-NetC-Sharp-achieve-polymorphis | CC-MAIN-2014-52 | refinedweb | 683 | 63.9 |
Scala: An attempt to eradicate the if
In a previous post I included a code sample where we were formatting a page range differently depending on whether the start page and end pages were the same.
The code looked like this:
trait PageAware { def startPage:String def endPage:String def pageRange = if(firstPage == lastPa... | https://markhneedham.com/blog/2011/07/12/scala-an-attempt-to-eradicate-the-if/ | CC-MAIN-2020-24 | refinedweb | 255 | 58.62 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.