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 |
|---|---|---|---|---|---|
Opened 4 years ago
Closed 4 years ago
Last modified 4 years ago
#27001 closed Bug (fixed)
Regression in query counts using RadioSelect with ModelChoiceField
Description
Before 1.9, I had on my list of things to look at the fact that a standard ModelChoiceField with a RadioSelect takes two queries. Now looking at this i... | https://code.djangoproject.com/ticket/27001 | CC-MAIN-2020-34 | refinedweb | 284 | 57.87 |
Got the following error message from an application:
Exception occurred during event dispatching:
javax.swing.text.StateInvariantError: infinite loop in formatting
at javax.swing.text.FlowView$FlowStrategy.layout(FlowView.java:429)
at javax.swing.text.FlowView.layout(FlowView.java:182)
at javax.swing.text.BoxView.setSi... | http://bugs.sun.com/bugdatabase/view_bug.do%3Fbug_id=4425177 | crawl-002 | refinedweb | 1,247 | 52.46 |
Plot MultiAxes tutorial/ru
Please complete the basic tutorial before starting with this tutorial. In this tutorial we will learn how to create and edit a multiaxes plot. You can learn more about the Plot Workbench here.
Multiaxes plot example
In the image you can see the result that we will approximately obtain. Follow... | https://wiki.freecadweb.org/Plot_MultiAxes_tutorial/ru | CC-MAIN-2022-05 | refinedweb | 1,021 | 62.98 |
When an array is created, each element of the array is set to default initial value according to its type. However, it is also possible to provide value other than the default values to each element of the array.
This is made possible using array initialization. Arrays can be initialized by providing values using a com... | http://ecomputernotes.com/java/array/initializing-array-in-java | CC-MAIN-2019-39 | refinedweb | 394 | 50.97 |
!- Search Loader --> <!- /Search Loader -->
Hi there,
I am having an issue with FORTRAN/C interop using Intel FORTRAN that I'm hoping someone can help me with.
It is illustrated by the contrived example below:
library.f90:
module m implicit none abstract interface subroutine callback(data_ptr) bind (c) use iso_c_bindin... | https://community.intel.com/t5/Intel-Fortran-Compiler/Problem-passing-pointer-from-C-to-Intel-FORTRAN-and-back-to-C/td-p/1080614 | CC-MAIN-2020-50 | refinedweb | 664 | 55.03 |
papa 0.9.3
Simple socket and process kernel
Summary
papa is a process kernel. It contains both a client library and a server component for creating sockets and launching processes from a stable parent process.
Dependencies
Papa has no external dependencies, and it never will! It has been tested under the following Pyth... | https://pypi.python.org/pypi/papa/0.9.3 | CC-MAIN-2017-22 | refinedweb | 3,119 | 57.06 |
Last week was all about documentation and creating a skeleton of our report website as well as improving the UI. This included getting ready the JSDoc style in-code documentation and docs specifying the limits of our system.
<aside> 🎯 **What are we looking to achieve?
2. Publishing NPM Packages Now that we have this U... | https://www.notion.so/dc7243880f4b4807865923462268281e | CC-MAIN-2022-27 | refinedweb | 321 | 60.35 |
[Solved] dll import problem
Hi.
I'm trying to add a library to my project.
In .pro I ve already add the library:
@LIBS += -L$$PWD\libs\Vicon\ -lViconDataStreamSDK_CPP
INCLUDEPATH += $$PWD\libs\Vicon\include@
In .cpp already add the header file:
@#include "Client.h"@
This header has a lot of classes inside of a namespac... | https://forum.qt.io/topic/20632/solved-dll-import-problem | CC-MAIN-2018-39 | refinedweb | 447 | 50.02 |
#include <wx/txtstrm.h>
This class provides functions that reads text data using an input stream, allowing you to read text, floats, and integers.
The wxTextInputStream correctly reads text files (or streams) in DOS, Macintosh and Unix formats and reports a single newline char as a line ending.
wxTextInputStream: int o... | http://docs.wxwidgets.org/3.0/classwx_text_input_stream.html | CC-MAIN-2018-34 | refinedweb | 346 | 71.04 |
I am familiar with how to check if a string contains a substring, and also familiar with how to check if a single letter is a number or a letter, but how would I go about checking a string for any letters?
def letters?(string)
# what do i do here?
end
# string could be anything from '111' to '1A2' to 'AB2589A5' etc...
... | https://codedump.io/share/7u6u8Bh8FTBh/1/how-to-return-true-or-false-when-a-string-contains-any-letters-a-z-or-a-z | CC-MAIN-2017-09 | refinedweb | 131 | 83.05 |
The usage of adding f before Python string
import time
t0 = time.time ()
time.sleep (1)
name = ‘processing’
#Starting with {f} indicates that Python expressions in braces are supported in strings
Print (f ‘{name} done in{ time.time () – t0:.2f} s’)
Output:
processing done in 1.00 s
Why report a mistake
This usage is on... | https://programmerah.com/syntax-error-invalid-syntax-before-python-string-24854/ | CC-MAIN-2021-17 | refinedweb | 271 | 60.75 |
Red Hat Bugzilla – Bug 106252
RFE: EXT3_ACL_MAX_ENTRIES too low
Last modified: 2007-11-30 17:06:58 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030709
Description of problem:
Our deployment requires drop boxes for every department, with many users needing
access to most ... | https://bugzilla.redhat.com/show_bug.cgi?id=106252 | CC-MAIN-2017-30 | refinedweb | 584 | 65.32 |
#include "avcodec.h"
#include "internal.h"
#include "get_bits.h"
#include "put_bits.h"
#include "wmaprodata.h"
#include "dsputil.h"
#include "wma 100 of file wmaprodec.c.
Referenced by decode_init().
maximum compressed frame size
Definition at line 101 99 of file wmaprodec.c.
Referenced by decode_init(), and decode_til... | http://www.ffmpeg.org/doxygen/0.6/wmaprodec_8c.html | CC-MAIN-2016-40 | refinedweb | 567 | 54.08 |
1. Getting started with Java development and the Eclipse IDE
In this tutorial you learn how to get started with the Eclipse IDE to start programming in Java.
You learn how to create a Java project and your first Java class and how to start your program.
It assumes that you already installed and started the Eclipse IDE.... | https://www.vogella.com/tutorials/EclipseJavaIDEGettingStarted/article.html | CC-MAIN-2021-17 | refinedweb | 315 | 68.26 |
PHAT File System
PHAT is then name of the FAT12, FAT16 and FAT32 compatible file system provided by Nut/OS. Currently this is still alpha code and may not work as expected. Beside the fact, that it will probably contain a lot of bugs, the following known problems and limitations exist:
- Tested on Ethernut 3 (ARM7) onl... | http://www.ethernut.de/en/documents/phat.html | CC-MAIN-2022-21 | refinedweb | 1,703 | 57.37 |
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 | refinedweb | 179 | 65.83 |
So after a while I finally figured out the syntax to make a pretty simple password program. While I was at it, I thought I might try to run another method from a different class in the password program. Thing is, there were no errors, but the other methods would simply just not work. What is the proper syntax for getti... | http://www.javaprogrammingforums.com/whats-wrong-my-code/3166-re-using-methods.html | CC-MAIN-2016-36 | refinedweb | 232 | 64.1 |
Analyzing Data
)"
Each line has the following components:
IP address from which the request was made.
Two fields (represented with - characters) having to do with authentication.
The timestamp.
The HTTP request, starting with the HTTP request method (usually
GETor
The result code, in which 200 represents "OK".
The numb... | https://www.linuxjournal.com/content/analyzing-data?page=0,2&quicktabs_1=2 | CC-MAIN-2018-17 | refinedweb | 1,055 | 67.08 |
Play Scala's Anorm, Heroku and PostgreSQL Issues
Play Scala's Anorm, Heroku and PostgreSQL Issues
Join the DZone community and get the full member experience.Join For Free
“I love writing authentication and authorization code.” ~ No Developer Ever. Try Okta instead
This article is the 5th in a series on about my advent... | https://dzone.com/articles/play-scalas-anorm-heroku-and | CC-MAIN-2018-22 | refinedweb | 1,502 | 59.8 |
IMPORTANT UPDATE: Chris has shown a much easier way to do this than I originally outlined, so I have replaced my original notes with notes from his sample repo. There's a build speed tradeoff, I discuss alternatives at bottom.
On the latest Toolsday, Chris Dhanaraj said he had trouble finding documentation for adding T... | https://dev.to/swyx/how-to-set-up-svelte-with-tailwind-css-4fg5/ | CC-MAIN-2020-50 | refinedweb | 876 | 55.03 |
slacker alternatives and similar packages
Based on the "Networking" category
ejabberd10.0 9.4 slacker VS ejabberdRobust, ubiquitous and massively scalable Jabber/XMPP Instant Messaging platform.
socket9.5 0.0 slacker VS socketSocket wrapping for Elixir.
ExIrc7.8 2.4 slacker VS ExIrcIRC client adapter for Elixir project... | https://elixir.libhunt.com/slacker-alternatives | CC-MAIN-2020-10 | refinedweb | 678 | 67.25 |
table of contents
NAME¶qio - Quick I/O routines for reading files
SYNOPSIS¶
#include <inn/qio.h> QIOSTATE *QIOopen(const char *name); QIOSTATE *QIOfdopen(int> I<fd); void QIOclose(QIOSTATE *qp); char *QIOread(QIOSTATE *qp); int QIOfileno(QIOSTATE *qp); size_t QIOlength(QIOSTATE *qp); int QIOrewind(QIOSTATE *qp); off_t ... | https://manpages.debian.org/testing/inn2-dev/qio.3.en.html | CC-MAIN-2020-10 | refinedweb | 641 | 70.23 |
I want to start my own tile server, I used this manual to set up my machine. And everything is working with a small country. Then I ordered powerful machine and started rendering full planet. db_settings My import command was: command. My import output is: output My database log is: log.
As the result, my renderd doesn... | https://help.openstreetmap.org/questions/58887/unable-to-render-tiles-after-full-planet-import?sort=active | CC-MAIN-2021-10 | refinedweb | 498 | 83.96 |
Next: The unwind_protect Statement, Previous: The break Statement, Up: Statements [Contents][Index]
The
continue statement, like
break, is used only inside
while,
do-until, or
for loops. It skips over the
rest of the loop body, causing the next cycle around the loop to begin
immediately. Contrast this with
break, which... | http://www.gnu.org/software/octave/doc/interpreter/The-continue-Statement.html | CC-MAIN-2014-49 | refinedweb | 189 | 65.05 |
GNOME To Lose Minimize, Maximize Buttons.
Please save your sarcasm (Score:4, Informative)
Re:executive summary of approaches (Score:3, Informative)
Re:Even more reason.... (Score:2, Informative)
Well, let's be clear here, Ubuntu is only replacing Gnome-shell for Unity, not any gnome based applications ( except maybe th... | http://tech.slashdot.org/story/11/03/05/1619223/GNOME-To-Lose-Minimize-Maximize-Buttons?from=rss | CC-MAIN-2014-15 | refinedweb | 1,190 | 67.49 |
Help finding the value of an objc string constant...
Hey all...trying desperately to get this topic through the aggressive spam filter...crazily it seems like the name of the uikit constant I'm asking about is itself being flagged as spam.
Anyway...I'm putting spaces in between each word of the name just to fool the fi... | https://forum.omz-software.com/topic/6077/help-finding-the-value-of-an-objc-string-constant/? | CC-MAIN-2022-33 | refinedweb | 739 | 58.08 |
Introduction
C was the first programming language that I learned in systematic ways, thanks to my college. At that time I used to think about where I am going to use this language but in books, it wasn't clean like water, just a paragraph about it.
I see C is not a very popular language among beginners and even profess... | https://practicaldev-herokuapp-com.global.ssl.fastly.net/surajondev/is-c-most-underrated-programming-language-1bhn | CC-MAIN-2021-21 | refinedweb | 1,222 | 62.58 |
Only public functions defined in public classes will be indexed.Starting with this release, the SDK will only look for public functions defined in public classes. If you have non-public functions or they are defined in a non-public class, the functions will not be indexed and the SDK will not be able to call those fun... | https://azure.microsoft.com/pt-pt/blog/announcing-the-0-5-0-beta-preview-of-microsoft-azure-webjobs-sdk/ | CC-MAIN-2017-04 | refinedweb | 709 | 50.97 |
anyattribute ##other?
Discussion in 'XML' started by thomas smith, Aug 12, 2004.
Want to reply to this thread or ask your own question?It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
- Similar Threads
Which sho... | http://www.thecodingforums.com/threads/anyattribute-other.167653/ | CC-MAIN-2015-22 | refinedweb | 165 | 80.51 |
What a long strange trip it's been over the late spring and early summer in 2011. Thankfully, everything is up and going in the world of MonoTouch. This is the latest article in what is a series of articles on iPhone development for .NET/C# developers using MonoTouch. To get up to speed on MonoTouch, check out my first... | https://www.itprotoday.com/microsoft-visual-studio/monotouch-tutorial-display-tabular-data-iphone-and-ipad-apps | CC-MAIN-2018-39 | refinedweb | 5,378 | 58.99 |
18 July 2012 11:09 [Source: ICIS news]
Correction: In the ICIS news story headlined " ?xml:namespace>
“The reformer was shut today,” the source said.
JX Nippon Oil is shutting the Mizushima B refinery in Okayama prefecture for safety checks, the Japanese producer said last week.
“PX production in [the] Chita plant will... | http://www.icis.com/Articles/2012/07/18/9579058/corrected-japans-jx-nippon-px-supply-hit-by-mizushima-refinery-shutdown.html | CC-MAIN-2014-35 | refinedweb | 133 | 59.64 |
Whether they’re called “closures” or “lambdas” or “Procs”
or “anonymous functions”, many popular programming languages
have a hidden gotcha when it comes to combining them with loops,
and nearly everyone will fall victim to it at one time or another.
The pitfall is this: because most languages reuse the same variable s... | https://web.archive.org/web/20161105080832/http:/moonbase.rydia.net/mental/blog/programming/the-biggest-mistake-everyone-makes-with-closures.html | CC-MAIN-2017-34 | refinedweb | 630 | 67.35 |
- 05 Oct, 2017 1 commit
- blackst0ne authored
- 16 Aug, 2017 1 commit
- Zeger-Jan van de Weg authored
Main feature was the deprication of the Hashie stuff, so the access by calling keys as method is gone now.
- 17 Feb, 2017 1 commit
- 16 Feb, 2017 1 commit
- 13 Feb, 2017 1 commit
- Oswaldo Ferreira authored
- 16 Dec, 2... | https://gitlab.com/gitlab-org/gitlab-foss/-/commits/f72598b659871a3d4e8ef1905918067522ba2a29/lib/api/templates.rb | CC-MAIN-2020-16 | refinedweb | 156 | 66.47 |
Improve this doc
PayPal plugin for Cordova/Ionic Applications
Repo:
$ ionic cordova plugin add com.paypal.cordova.mobilesdk
$ npm install --save @ionic-native/paypal
import { PayPal, PayPalPayment, PayPalConfiguration } from '@ionic-native/paypal';
constructor(private payPal: PayPal) { }
..."
// }
// }
}, () => {
// Er... | https://ionicframework.com/docs/native/paypal/ | CC-MAIN-2018-26 | refinedweb | 1,125 | 50.73 |
Code snippets are available in pretty much all code editors these days. They can be a great times saver allowing you to insert commonly used blocks of code for any programming language quickly and easily.
VS Code is no exception and we’ll see exactly how you can create your own custom code snippets to greatly improve y... | https://blog.logrocket.com/custom-polymorphic-code-snippets-in-vs-code-e76d8cad656b/ | CC-MAIN-2022-40 | refinedweb | 2,013 | 61.67 |
Red Hat Bugzilla – Bug 207470
Need ability to handle duplicate VG names for Xen or kvm
Last modified: 2015-02-18 06:56:26 EST
Duplicate VG names strike again. Except with Xen, it's worse.
The trouble is that we can have nested PVs inside a LV. In fact, if you install
a Xen guest (or indeed _any_ virtualised image, be i... | https://bugzilla.redhat.com/show_bug.cgi?id=207470 | CC-MAIN-2017-34 | refinedweb | 2,906 | 70.33 |
Visual C++ comes within Microsoft Visual Studio 2008. Visual Studio 2008 also contains Visual Basic, Visual C#, and Visual J#. Using Visual Studio.NET, you can mix and match languages within one "solution". We will, however, focus on developing C++ code throughout these labs.
For your first C++ program, you will build ... | http://www.cs.uregina.ca/Links/class-info/110/unix/vc.html | CC-MAIN-2018-22 | refinedweb | 735 | 73.88 |
The first release of the dccil compiler included new features required by the CLR, and more have been added in subsequent updates.
Namespaces play an important role in the .NET Framework. They allow the class hierarchy to be extended by multiple third parties without fear of conflicting symbol names. Windows and COM us... | http://etutorials.org/Programming/mastering+delphi+7/Part+IV+Delphi+the+Internet+and+a+.NET+Preview/Chapter+25+Delphi+for+.NET+Preview+The+Language+and+the+RTL/New+Delphi+Language+Features/ | CC-MAIN-2017-30 | refinedweb | 3,017 | 52.8 |
I am a beginner to dapper . I was going through the code and building samples . But I am having problems in retrieving data . My code is as follows
Console.WriteLine("Reading Values"); string readSatement = "select * from employee where Id=@Id "; IEnumerable<Employee> objEmp1 = con.Query<Employee>(readSatement, new { I... | https://dapper-tutorial.net/knowledge-base/13080523/dapper---mapper-query-not-getting-values-where-as-dynamic-object-mapper-query-does | CC-MAIN-2021-04 | refinedweb | 167 | 66.54 |
Explore object oriented programming with classes and objects
In this tutorial, you'll build a console application and see the basic object-oriented features that are part of the C# language.
Prerequisites
- We recommend Visual Studio for Windows or Mac. You can download a free version from the Visual Studio downloads p... | https://learn.microsoft.com/en-us/dotnet/csharp/fundamentals/tutorials/classes | CC-MAIN-2022-40 | refinedweb | 1,999 | 50.33 |
Hide Forgot
Looks like the libgdbm allocates dynamic memory, then writes
it out to the GDBM file without fully initializing the
entire memory buffer. Observe:
#include <gdbm.h>
#include <stdlib.h>
int main()
{
GDBM_FILE g;
char *foo;
int i;
foo=malloc(8192);
for (i=0; i<8192; i++)
foo[i]= "secret"[i % 6];
free(foo);
g=... | https://bugzilla.redhat.com/show_bug.cgi?id=4457 | CC-MAIN-2020-10 | refinedweb | 202 | 60.31 |
$95.20.
Premium members get this course for $168.80.
Premium members get this course for $349.00.
Premium members get this course for $79.20.
If you can totally avoid using an MFC calls, or any MFC support at all, then you can use RE 2.0 Otherwise forget it.
Since you are not able to do what you want (set background c... | https://www.experts-exchange.com/questions/20307134/Reading-data-from-a-big-file-to-CRichEditCtrl-is-very-slow.html | CC-MAIN-2018-13 | refinedweb | 3,210 | 75.71 |
punk thread. favorite punk albums?
mine is pic related. dean's dream is masterpiece 2bh
>>61767279
That's a great album OP, but if it's you're favorite punk album you're not really much of a punk
>pic kinda related, one of my many favorites
recently became one of my faves
>>61767363
yeah i know the dead milkmen is not ... | http://4archive.org/board/mu/thread/61767279 | CC-MAIN-2016-44 | refinedweb | 942 | 71.68 |
Hi I have a small python gui interface with two buttons, start(That starts a counter) and stop (that is suppose to stop the counter), the counter is an infinite loop since I do not want it to end unless the second button is clicked. The problem is the second button cannot be clicked while the function from the first on... | https://codedump.io/share/MU8Ile4kVoez/1/python-tkinter-how-can-i-prevent-tkinter-gui-mainloop-crash-using-threading | CC-MAIN-2016-44 | refinedweb | 546 | 65.93 |
08 December 2010 02:50 [Source: ICIS news]
DUBAI (ICIS)--Kuwait Aromatics (KARO) is planning to restart its Shuaiba-based plant producing benzene and paraxylene (PX) on 12 December following an unexpected shutdown last Friday, said a company source late on Tuesday.
Power supply issues shut the unit producing 820,000 to... | http://www.icis.com/Articles/2010/12/08/9417513/gpca-10-kuwait-aromatics-to-restart-shuaiba-plant-on-12-dec.html | CC-MAIN-2015-11 | refinedweb | 199 | 69.52 |
Chart Data
Chart data is stored in a data series model that contains information about the
visual representation of the data points in addition to their values. There are
a number of different types of series -
DataSeries,
ListSeries,
HeatSeries, and
RangeSeries.
List Series
The
ListSeries is essentially a helper type ... | https://vaadin.com/docs/latest/components/charts/data | CC-MAIN-2022-27 | refinedweb | 1,483 | 55.74 |
The Target API defines how you interact with targets in your plugin. For example, you would use the Target API to read the
sources field of a target to know which files to run on.
The Target API can also be used to add new target types—such as adding support for a new language. Additionally, the Target API can be used ... | https://www.pantsbuild.org/docs/target-api-concepts | CC-MAIN-2020-50 | refinedweb | 823 | 57.67 |
Bart De Smet's on-line blog (0x2B | ~0x2B, that's the question)
Spyware protection for free. For use on Windows XP SP2 and Windows Server 2003 SP1. Requires genuine Windows.
Download it here
The picture tells it all...
Introduction
A couple of days ago I received the following mail:
Hi Bart,I’m trying to add an install... | http://community.bartdesmet.net/blogs/bart/archive/2006/10.aspx?PageIndex=2 | CC-MAIN-2015-35 | refinedweb | 2,402 | 52.15 |
No, I should say forms particularly.
I have lots of things to blog about, but nothing makes me want to blog like code. Ideas are hard, code is easy. So when I saw Jacob’s writeup about dynamic Django form generation I felt a desire to respond. I didn’t see the form panel at PyCon (I intended to but I hardly saw any tal... | http://www.ianbicking.org/blog/2010/03/throw-out-your-frameworks-forms-included.html | CC-MAIN-2019-43 | refinedweb | 739 | 54.73 |
> blob-2.0.5-pre2.rar > README
(emacs users can use -*- outline -*- mode for this file) $Id: README,v 1.7 2002/01/07 20:16:49 erikm Exp $ * Info ====== ** What is blob? ---------------- Blob is the Boot Loader OBject, the boot loader for the LART. Blob is able to boot a Linux kernel stored in flash or RAM and provide ... | http://read.pudn.com/downloads101/sourcecode/unix_linux/415580/blob-2.0.5-pre2/README__.htm | crawl-002 | refinedweb | 2,765 | 63.09 |
This project aims to provide easy access to CD-ROM properties and functions. This is a class library for .NET and is written in C# language. It has only one DLL and you can access the CD-ROM with only one line code.
This is very easy. Go to your destination project and add DLL as a reference, in this way -> project men... | http://www.codeproject.com/Articles/34604/CD-Rom-DLL-for-easy-access-to-CD-Rom | crawl-003 | refinedweb | 182 | 64.91 |
log1p, log1pf, log1pl − logarithm of 1 plus argument
#include <math.h>
double
log1p(double x);
float log1pf(float x);
long double log1pl(long double x);
Link with −lm.
log (1 + x)
It is computed in a way that is accurate even if the value of x is near zero.
On success, these functions return the natural logarithm of (1... | http://man.linuxtool.net/centos7/u3/man/3_log1p.html | CC-MAIN-2019-30 | refinedweb | 116 | 69.18 |
On Tue, 15 Mar 2005, Nicola Whitehead wrote: (snip) > term :: Parser Int > term = do f <- factor > do symbol "*" > e <- expr > return (f * t) > +++ return f (snip) > symbol and natural are defined elsewhere and work fine, but when I compile it I get the error > > ERROR "C:/HUGS/Calculator.hs":66 - Undefined variable "t... | http://www.haskell.org/pipermail/haskell-cafe/2005-March/009370.html | CC-MAIN-2014-42 | refinedweb | 129 | 70.84 |
Paging Alex Tereshenkov! I'm trying to run your script located here:
Get data sources that are used by ArcGIS Server map services with Python | Tereshenkov's Blog
but I'm getting an error when I get to here:
def get_connection(data):
'''return database connection string for the service'''
return data['SVCManifest']['Da... | https://community.esri.com/thread/186823-get-data-sources-that-are-used-by-arcgis-server-map-services-with-python-alex-tereshenkov | CC-MAIN-2018-43 | refinedweb | 118 | 61.97 |
I have been searching for a while now on how to import data in a SharePoint list into Excel 2007 that was similar to XML data import in Excel 2003. I can bring in the data by Exporting to Spreadsheet from SharePoint and writing the VBA to connect to
the list but I am finding a major problem that I know there must be a ... | https://social.technet.microsoft.com/Forums/office/en-US/f8c01e86-82e4-4e2e-9329-1df385b42af4/importing-sharepoint-data-into-excel-2007?forum=sharepointgenerallegacy | CC-MAIN-2020-34 | refinedweb | 363 | 75.44 |
X509_new.3ossl - Man Page
X509 certificate ASN1 allocation functions
Synopsis
#include <openssl/x509.h> X509 *X509_new(void); X509 *X509_new_ex(OSSL_LIB_CTX *libctx, const char *propq);_ex() allocates and initializes a X509 structure with a library context of libctx, property query of propq and a reference count of 1. ... | https://www.mankier.com/3/X509_new.3ossl | CC-MAIN-2022-21 | refinedweb | 163 | 58.38 |
Because you have to pass filename as option, and not data on stdin.
Use xargs for that:
locate file.ext | xargs xdg-open
or just subshell:
xdg-open "$( locate file.ext )"
Use this instead of wordwrap:
echo nl2br($output);
transforms line ending characters (
) to <br />s
or combine:
echo wordwrap(nl2br($output), 180, "<... | http://www.w3hello.com/questions/workingSet-command-doesn-39-t-show-output | CC-MAIN-2018-17 | refinedweb | 2,403 | 64.61 |
Due.
This section consists of five rules.
Rule T.81 is too loosely related to templates and hierarchies, and rule T.82 is empty; therefore, my post boils down to the three remaining rules.
I will write about the rules T.80 and T.84 together because T.84 continues the story of T as an example a naively templatized class... | https://www.modernescpp.com/index.php/c-core-guidelines-rules-for-templates-and-hierarchies | CC-MAIN-2022-40 | refinedweb | 769 | 57.37 |
tag:blogger.com,1999:blog-41494669822299374902017-02-08T20:53:10.599-08:00The WeTab.barsoum (Etheros) the x86 Android distribution onto the WetabHi folks, Long time no see. So I've put away the WeTab almost for good but then a couple of days ago I got to thinking it could be a nice central system to just spend a few mi... | http://feeds.feedburner.com/blogspot/OdLGi | CC-MAIN-2017-47 | refinedweb | 11,056 | 61.97 |
Last Updated on September 3, 2020
Word.
Kick-start your project with my new book Deep Learning for Natural Language Processing, including step-by-step tutorials and the Python source code files for all examples.
Let’s get started.
- Update Feb/2018: Fixed a bug due to a change in the underlying APIs.
- Updated Oct/2019... | https://machinelearningmastery.com/use-word-embedding-layers-deep-learning-keras/ | CC-MAIN-2021-04 | refinedweb | 16,939 | 66.33 |
PDF to Image Conversion in Java
By Geertjan-Oracle on Sep 01, 2012
In the past, I created a NetBeans plugin for loading images as slides into NetBeans IDE. That means you had to manually create an image from each slide first. So, this time, I took it a step further. You can choose a PDF file, which is then automaticall... | https://blogs.oracle.com/geertjan/entry/pdf_to_image_conversion_in | CC-MAIN-2015-18 | refinedweb | 800 | 57.87 |
Frequently asked questions
deFAQ - FAQ in German - work in progress
Contents
- 1 General
- 1.1 What is Inkscape?
- 1.2 What is vector graphics?
- 1.3 What is 'Scalable Vector Graphics'?
- 1.4 Is Inkscape ready for regular users to use?
- 1.5 What platforms does Inkscape run on?
- ....) For more information, see #SVG to... | https://wiki.inkscape.org/wiki/index.php?title=Frequently_asked_questions&direction=next&oldid=6697 | CC-MAIN-2019-47 | refinedweb | 4,310 | 64.61 |
Changes to class members break some explicit imports
With the latest changes to the way the compiler handles macro members, there are issues with explicit imports of classes containing macro members.
On today's itask compiler with today's clean-platform, it seems that any program importing Data.Foldable fails to build ... | https://gitlab.science.ru.nl/clean-compiler-and-rts/compiler/-/issues/30 | CC-MAIN-2020-45 | refinedweb | 202 | 59.6 |
In order to learn about RxSwift, I wanted to come up with a completely contrived demo application that is written entirely in vanilla UIKit. We can then, step by step, convert that application to use RxSwift. The first couple of steps will be a bit hamfisted, but this will allow new concepts to be introduced slowly.
In... | https://www.caseyliss.com/2016/12/16/rxswift-primer-part-2?utm_source=Swift_Developments&utm_medium=email&utm_campaign=Swift_Developments_Issue_69 | CC-MAIN-2020-45 | refinedweb | 1,758 | 73.27 |
Have you ever used an iterator adapter in Rust?
Called a method on
Option? Spawned a thread?
You’ve almost certainly used a closure. The design in Rust may seem
a little complicated, but it slides right into Rust’s normal ownership
model so let’s reinvent it from scratch.
The new design was introduced in RFC 114, movin... | https://huonw.github.io/blog/2015/05/finding-closure-in-rust/ | CC-MAIN-2018-09 | refinedweb | 3,682 | 57.4 |
public class ReservedNodeOffering
The currency code for the compute nodes offering.
The duration, in seconds, for which the offering will reserve the node.
The upfront fixed charge you will pay to purchase the specific reserved node offering.
The node type offered by the reserved node offering.
The anticipated utilizat... | https://docs.aws.amazon.com/sdkfornet1/latest/apidocs/html/T_Amazon_Redshift_Model_ReservedNodeOffering.htm | CC-MAIN-2018-30 | refinedweb | 108 | 59.4 |
Corrupted heap space using QtXmld4.dll (VS 2010)
hello all,
to make a long story short, here is the code:
@
#include <QtXml\qdom.h>
#include <qdebug.h>
#include <crw.h>
int main(int argc, char *argv[])
{
QFile f(".\app.xml");
QString errorMsg;
int a, b;
QDomDocument doc( "appsettings" );
if( !f.open( QIODevice::ReadOnl... | https://forum.qt.io/topic/4126/corrupted-heap-space-using-qtxmld4-dll-vs-2010 | CC-MAIN-2017-43 | refinedweb | 828 | 74.9 |
You can subscribe to this list here.
Showing
5
results of 5
Hello Tom,
heavily guessing (I did not try your code)...
Guess #1:
Maybe you use another CPython version (different from 2.1)
Guess #2:
Try renaming the parameters like this (since globals/locals are
functions you might get a sort of name clash):
def import_ho... | http://sourceforge.net/p/jython/mailman/jython-users/?viewmonth=200202&viewday=14&style=flat | CC-MAIN-2015-32 | refinedweb | 612 | 56.96 |
.
Internationalization, or i18n ('i', followed by 18 letters, then an 'n'), is the process of writing your application so that it can be run in any locale. This means taking into account such things as:
Localization, or l10n ('l', followed by 10 characters, then an 'n'), is the process of taking an internationalized ap... | https://techbase.kde.org/index.php?title=Development/Tutorials/Localization/i18n&diff=82316&oldid=6132 | CC-MAIN-2018-30 | refinedweb | 977 | 51.18 |
On 12/10/2010 20:14, See. > The code does require Python 2 and the use of except ... as ... requires at least version 2.6. Line 51 The __init__ method should always return None. There's no need to be explicit about it, just use a plain "return". Line 68 Instead of: if not section in self.sections: use: if section not i... | https://mail.python.org/pipermail/python-list/2010-October/589503.html | CC-MAIN-2017-30 | refinedweb | 232 | 86.71 |
IN DEPTH
THIRD EDITION
Jon Skeet
FOREWORD BY ERIC LIPPERT
MANNING
Praise for the Second Edition
A masterpiece about C#.
—Kirill Osenkov, Microsoft C# Team
If you are looking to master C# then this book is a must-read.
—Tyson S. Maxwell
Sr. Software Engineer, Raytheon
We're betting that this will be the best C# 4.0 book... | https://pl.b-ok.org/book/2193394/a183f0 | CC-MAIN-2019-47 | refinedweb | 15,687 | 53.1 |
GLib provides a standard method for error propagation called
GError. In this appendix, you will find a complete list of the
GError domains, as of GTK+ 2.10, along with the error types that correspond to each domain.
The
GError structure provides three elements: the error domain, a message string, and an error code.
str... | https://www.oreilly.com/library/view/foundations-of-gtk/9781590597934/Appendix_E.html | CC-MAIN-2018-51 | refinedweb | 118 | 58.69 |
On Mon 11 Nov 2002 (13:52 +0100), ?ystein O Johansen wrote: > > Those I didn't actually try to use it as patch input, but I'm not surprised if it fails. I hit the same problem when I did the rollout patches - patch simply couldn't deal with a lot of interleaved changes. In that case I actually used #if 0 #endif around ... | https://lists.gnu.org/archive/html/bug-gnubg/2002-11/msg00077.html | CC-MAIN-2021-04 | refinedweb | 204 | 82.04 |
I have two VIEW_3D area types open. Is there a way to differentiate between the two in Python, or possibly tag them for that purpose? I want to make a button for the render menu of the properties panel which will change one of the VIEW_3D area types to “Rendered” viewport shading mode.
How can I tell the difference bet... | https://blenderartists.org/t/how-can-i-tell-the-difference-between-two-of-the-same-area-types/616073 | CC-MAIN-2019-30 | refinedweb | 1,002 | 75.91 |
On Mon, May 23, 2011 at 16:16, Warren Togami Jr. <wtogami gmail com> wrote: > Hi folks, > > > I'm currently working on putting LTSP into EPEL6 as it would be a compelling > long-term supported platform. Currently it seems that I will be able to put > all of the LTSP stack into EPEL6 with the exception of one package. O... | https://listman.redhat.com/archives/epel-devel-list/2011-May/msg00059.html | CC-MAIN-2021-21 | refinedweb | 294 | 68.1 |
Contstuff
From HaskellWiki
1 Introduction.
2 Basics
2.1 ContT
The ContT monad transformer is the simplest of all CPS-based monads.
2.2 Abortion
Let's have a look at a small example:
testComp1 :: ContT () IO () testComp1 = forever $ do txt <- io getLine case txt of "info" -> io $ putStrLn "This is a test computation." "... | http://www.haskell.org/haskellwiki/index.php?title=Contstuff&oldid=36894 | CC-MAIN-2014-35 | refinedweb | 150 | 59.03 |
Some people, when confronted with a problem, think "I know, I'll use regular expressions." Now they have two problems.
?Jamie Zawinski, <alt.religion.emacs> (08/12/1997)
Many readers will have some background with regular expressions, but some will not have any. Those with experience using regular expressions in other ... | http://etutorials.org/Programming/Python.+Text+processing/Chapter+3.+Regular+Expressions/3.1+A+Regular+Expression+Tutorial/ | CC-MAIN-2018-09 | refinedweb | 5,445 | 62.98 |
>
Other
Could anyone help change my script?
I have an object "Ball".
My object is a ball and it bounces up.
Every time when I press the left mouse button, "Ball" jumps up.
Each up move adds points.
Now my question.
When the object falls, the points decrease, but the speed of free fall continues to grow.
This causes poi... | https://answers.unity.com/questions/1504055/how-to-add-and-subtract-points.html | CC-MAIN-2019-26 | refinedweb | 750 | 82.44 |
Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.
You can subscribe to this list here.
Showing
3
results of 3
Hi.
>
> How do I run a piece of frozen python script within an embedded jython
> interpreter?
First jythonc and th... | http://sourceforge.net/p/jython/mailman/jython-users/?viewmonth=200110&viewday=1 | CC-MAIN-2014-35 | refinedweb | 781 | 68.36 |
Seismo-Live:
This notebook is a very quick introduction to Python and in particular its scientific ecosystem in case you have never seen it before. It furthermore grants a possibility to get to know the IPython/Jupyter notebook. See here for the official documentation of the Jupyter notebook - a ton more information ca... | https://nbviewer.jupyter.org/github/obspy/docs/blob/master/workshops/2017-10-25_iris_stcu/Python%20Introduction/Python_Crash_Course.ipynb | CC-MAIN-2018-39 | refinedweb | 1,498 | 66.74 |
RelativeNodePath QML Type
Specifies a relative node path element. More...
Properties
- browseName : NodeId
- includeSubtypes : bool
- isInverse : bool
- ns : NodeId
- referenceType : QOpcUa::ReferenceTypeId
Detailed Description
import QtOpcUa 5.13 as QtOpcUa QtOpcUa.RelativeNodePath { ns: "Test Namespace" browseName: "... | https://doc-snapshots.qt.io/qt5-5.15/qml-qtopcua-relativenodepath.html | CC-MAIN-2022-27 | refinedweb | 143 | 53.68 |
Sugar Pie
Question: in the code snippet bleow, what does the result stream,
rs, approximate?
from itertools import count, ifilter, izip from random import random as xy from math import hypot pt = lambda: (xy(), xy()) on = ifilter(lambda n: hypot(*pt()) < 1., count(1)) rs = (4. * j / i for i, j in izip(on, count(1)))
Th... | http://wordaligned.org/articles/sugar-pie | CC-MAIN-2015-06 | refinedweb | 177 | 74.59 |
Add ability to read bytes from objc.varlist
Use case: CGBitmapContextGetData returns a pointer to raw data, several MBs in size. I would like to pass it to NumPy for further processing. Currently, it gets converted into a tuple of millions of single-byte objects.
A simple solution would be adding a method
def as_bytes(... | https://bitbucket.org/ronaldoussoren/pyobjc/issues/205/add-ability-to-read-bytes-from-objcvarlist | CC-MAIN-2018-43 | refinedweb | 256 | 64.71 |
#include <wx/textctrl.h>
This class can be used to (temporarily) redirect all output sent to a C++ ostream object to a wxTextCtrl instead.
std::streambufin which case this class is not compiled in. You also must have
wxUSE_STD_IOSTREAMoption on (i.e. set to 1) in your
setup.hto be able to use it. Under Unix, specify
–e... | https://docs.wxwidgets.org/3.0/classwx_stream_to_text_redirector.html | CC-MAIN-2021-17 | refinedweb | 122 | 56.76 |
Writing Java Programs That Use the Wolfram Language
Introduction
The first part of this User Guide describes using J/Link to allow you to call from the Wolfram Language into Java, thereby extending the Wolfram Language environment to include the functionality in all existing and future Java classes. This part shows you... | https://reference.wolfram.com/language/JLink/tutorial/WritingJavaProgramsThatUseTheWolframLanguage.html | CC-MAIN-2021-49 | refinedweb | 21,962 | 53.31 |
Eclipse is one of the most popular IDEs for Java & Spring application development. Spring has developed the Spring IDE plugin providing developers with Spring aware tooling for our projects.
SpringSource Tool Suite = {
Eclipse + SpringIDE + M2Eclipse +
GroovyEclipse + AJDT + EMF + WTP + DTP,
more...
}
Why use STS/Sprin... | https://dzone.com/articles/springsource-tool-suite-faq | CC-MAIN-2016-30 | refinedweb | 667 | 62.78 |
Intel AES-NI Optimization on Solaris
By Danx-Oracle on Nov 17, 2010
Intel AES-NI Optimization on Solaris
Introduction.
Since 2001, AES has been widely-adopted and is now a part of several data communication standards, such as WPA2 for wi-fi, IPsec for secure Internet transmission, SSH 2 for file and terminal access, an... | https://blogs.oracle.com/DanX/entry/intel_aes_ni_optimization_on | CC-MAIN-2015-18 | refinedweb | 1,530 | 56.55 |
redirect with tiles - Struts
frameset.
define all the three pages inside it. Hi friend,
Please specify in detail and send me code.
Thanks. I using tiles... in page left when i click it is page Body change. Help me!
Thanks very much
Hi.. - Struts
/struts/
Thanks. struts-tiles.tld: This tag library provides tiles...Hi.. ... | http://roseindia.net/tutorialhelp/comment/176 | CC-MAIN-2014-15 | refinedweb | 1,853 | 77.33 |
import "path/filepath"(path string) string
Ext returns the file name extension used by path. The extension is the suffix beginning at the final dot in the final element of path; it is empty if there is no dot.
Code:
fmt.Printf("No dots: %q\n", filepath.Ext("index")) fmt.Printf("One dot: %q\n", filepath.Ext("index.js"))... | https://static-hotlinks.digitalstatic.net/path/filepath/ | CC-MAIN-2018-51 | refinedweb | 132 | 72.63 |
Hello,
I have an issue with my need to upload an image to my web server.
I'm using Plugin.Media from James Montemagno. I use this code to let the user select an image.
var media = CrossMedia.Current;
var file = await media.PickPhotoAsync();
Then, I have to convert that "file" to base64 to upload it to my web server, bu... | https://forums.xamarin.com/discussion/comment/247192 | CC-MAIN-2019-43 | refinedweb | 195 | 85.39 |
#include <DnsLayer.h>
Represents the DNS over TCP layer. DNS over TCP is described here: . It is very similar to DNS over UDP, except for one field: TCP message length which is added in the beginning of the message before the other DNS data properties. The rest of the data is similar.
Note: DNS over TCP can spread over... | https://pcapplusplus.github.io/api-docs/classpcpp_1_1_dns_over_tcp_layer.html | CC-MAIN-2021-25 | refinedweb | 141 | 60.04 |
Okay, creative differences are getting sorted out. More fun on the way.
Okay, creative differences are getting sorted out. More fun on the way.
Well, Castor and I are having creative differences about what kind of documentation they need. Still, they're adding new docs, which is good. Any new information on their site ... | http://www.advogato.org/person/jeffalo/diary.html?start=4 | CC-MAIN-2015-06 | refinedweb | 475 | 73.37 |
The QRegExp class provides pattern matching using regular expressions or wildcards. More...
#include <qregexp.h>
List of all member functions.
QRegExp knows these regexp primitives:
In wildcard mode, it only knows four primitives:
QRegExp supports Unicode both in the pattern strings and in the strings to be matched.
Wh... | http://doc.trolltech.com/2.3/qregexp.html | crawl-002 | refinedweb | 656 | 70.8 |
The software world is always atwitter with predictions on the next big piece of technology. And a lot of chatter focuses on what venture capitalists express interest in. As an investor, how do you pick a good company to invest in? Do you notice quirky names like “Kaggle” and “Meebo,” require deep technical abilities, o... | https://jeremykun.com/2013/10/28/optimism-in-the-face-of-uncertainty-the-ucb1-algorithm/?shared=email&msg=fail | CC-MAIN-2021-49 | refinedweb | 5,777 | 60.14 |
Grokking Merkle Tree
Grokking Merkle Trees in Scala
There are quite a few literatures that talk about this data structure by people who, the same as I, came from their early introduction to the blockchain technology and bitcoin.
This article is not trying to replicate the effort as some posts were in-depth in their wal... | https://www.works-hub.com/learn/grokking-merkle-tree-bccc4 | CC-MAIN-2021-21 | refinedweb | 1,086 | 69.92 |
An In-Depth Look At C++ Including Standard Libraries, Uses, And Other Features.
C++ is an object-oriented programming language. But the truth is that C++ also supports procedural and generic programming.
It can be considered as a middle-level language as it has the features of a high-level language as well as lower-lev... | https://www.softwaretestinghelp.com/overview-cpp/ | CC-MAIN-2021-17 | refinedweb | 1,217 | 64.2 |
Announcing Persistent 2
August 29, 2014
Greg Weber
We are happy to announce the release of persistent 2.0
persistent 2.0 adds a flexible key type and makes some breaking changes. 2.0 is an unstable release that we want your feedback on for the soon to follow stable 2.1 release.
New Features
- type-safe composite primar... | http://www.yesodweb.com/blog/2014/08/announcing-persistent-2 | CC-MAIN-2015-06 | refinedweb | 700 | 52.9 |
Hey, Scripting Guy! I’m trying to write a script that does something with all the email messages in my Outlook Inbox. However, I need to sort those messages by the date they were received, and I can’t figure out how to do that. Can you help?
-- SL
Hey, SL. You know, no doubt a lot of you who read this column have thoug... | https://blogs.technet.microsoft.com/heyscriptingguy/2008/04/03/hey-scripting-guy-how-can-i-sort-items-retrieved-from-a-microsoft-outlook-folder/ | CC-MAIN-2018-05 | refinedweb | 1,345 | 69.62 |
Subject: Re: [boost] Is there interest in an "iofiber" library?
From: Oliver Kowalke (oliver.kowalke_at_[hidden])
Date: 2019-01-06 07:46:58
Am Sa., 5. Jan. 2019 um 23:54 Uhr schrieb David Sankel via Boost <
boost_at_[hidden]>:
> > - The dependency on C++11 (e.g. fiber objects are move-only handles
> > just like thread ... | https://lists.boost.org/Archives/boost/2019/01/244826.php | CC-MAIN-2022-27 | refinedweb | 167 | 88.63 |
you must be :
"addAttr -ln "noNormals" -at long -dv 0 |group1|pTorus1|pTorusShape1;"
mentalray need the attributes "noNormals"=0.
like a bug in maya .but it run.
you must be :
"addAttr -ln "noNormals" -at long -dv 0 |group1|pTorus1|pTorusShape1;"
mentalray need the attributes "noNormals"=0.
like a bug in maya .but it r... | https://forum.nvidia-arc.com/search.php?s=d7ce6f7df4a30c5110b825a87cf9478e&searchid=1270806 | CC-MAIN-2019-26 | refinedweb | 447 | 71.82 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.