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 |
|---|---|---|---|---|---|
OpenBSD Will Not Fix PRNG Weakness 196
snake-oil-security writes "Last fall Amit Klein found a serious weakness in the OpenBSD PRNG (pseudo-random number generator), which allows an attacker to predict the next DNS transaction ID. The same flavor of this PRNG is used in other places like the OpenBSD kernel network stac... | http://it.slashdot.org/story/08/02/10/0136236/openbsd-will-not-fix-prng-weakness?sdsrc=prev | CC-MAIN-2014-15 | refinedweb | 4,341 | 60.65 |
Test concepts of TDD.
The whole process is very simple to get to grips with, and it shouldn't take too long before you wonder how you were able to get anything done before! There are huge gains to be made from TDD—namely, the quality of your code improving, but also clarity and focus on what it is that you are trying t... | https://code.tutsplus.com/tutorials/beginning-test-driven-development-in-python--net-30137 | CC-MAIN-2018-22 | refinedweb | 3,685 | 62.27 |
Opened 7 years ago
Last modified 8 weeks ago
#9061 assigned New feature
formsets with can_delete=True shouldn't add delete field to extra forms
Description
Current behavior of formsets with can_delete=True is to add a delete field to every form. This behavior differs from that expected, however (why would one want a de... | https://code.djangoproject.com/ticket/9061 | CC-MAIN-2015-35 | refinedweb | 559 | 67.18 |
Building a portfolio site with Contentful, Next.js and Netlify
- Fast ⚡️
- Secure 🔒
- Maintainable 🏗
- Easy to deploy 🚀
- Service Worker ⚙️
- Colour
-:
I’m going to run that script to install the dependencies; that will also automatically save those dependencies to my
package.json file.
I’ve gone ahead here, put in ... | http://brianyang.com/building-a-portfolio-site-with-contentful-next-js-and-netlify/ | CC-MAIN-2020-50 | refinedweb | 259 | 59.33 |
July 11, 2022 Single Round Match 833 Editorials
CellPhoneService
We just need to do the calculations described in the statement. One part of the calculations that may be tricky for beginners is the fee per each started minute of a call. If we have a call that takes S seconds, the number of minutes we’ll paying for can ... | https://www.topcoder.com/blog/single-round-match-833-editorials/ | CC-MAIN-2022-33 | refinedweb | 2,149 | 67.08 |
Unique features of Azure page blobs
Azure Storage offers three types of blob storage: Block Blobs, Append Blobs and page blobs. Block blobs are composed of blocks and are ideal for storing text or binary files, and for uploading large files efficiently.. This article focuses on explaining the features and benefits of p... | https://docs.microsoft.com/en-us/azure/storage/blobs/storage-blob-pageblob-overview | CC-MAIN-2018-51 | refinedweb | 1,800 | 51.89 |
- 28 Aug, 2015 7 commits
- 27 Aug, 2015 2 commits
- 26 Aug, 2015 4 commits
- Rodrigo Souto authored
Links and images are saved with relative path but it wasn't considering the profile domain. Because of this, the links were broken on article visualization. This commit also fix the url on edition of tinymce articles..
-... | https://gitlab.com/softwarepublico/noosfero/-/commits/15eb68fef856a9b593e2e670f24b71b2d6b7ac62 | CC-MAIN-2021-21 | refinedweb | 282 | 66.23 |
Issue Type: Bug Created: 2008-03-16T16:05:40.000+0000 Last Updated: 2011-05-08T06:59:09.000+0000 Status: Resolved Fix version(s): Reporter: Justin Plock (jplock) Assignee: Adam Lundrigan (adamlundrigan) Tags: - Zend_Gdata
Related issues: - ZF-11101
Attachments:
When trying to set the hidden property of a calendar event... | https://framework.zend.com/issues/browse/ZF-2894?page=com.atlassian.streams.streams-jira-plugin:activity-stream-issue-tab | CC-MAIN-2016-36 | refinedweb | 453 | 58.18 |
See my new blog at .jeffreypalermo.com
I go back to work full time next Tuesday. My terminal leave is almost up, I'm a civilian, and my new office furniture will be arriving today. :)
Yesterday I was visiting with two colleagues of mine, and I was struck with a surprising reality: They were programming with ASP.NET but... | http://codebetter.com/blogs/jeffrey.palermo/archive/2004/05/13/13531.aspx | crawl-002 | refinedweb | 543 | 67.65 |
I'm new to C programming, but not to programming. Can anyone see why this code isn't working? It seems to be the simplest program in the world, but it always returns a product of 0.00000. If anyone can spot what I'm doing wrong, please reply.
Thank you.
tzuch
Code:#include <stdio.h> float x,y, prod; float fmu(float a, ... | http://cboard.cprogramming.com/c-programming/100943-anyone-see-why-doesn%27t-work.html | CC-MAIN-2015-27 | refinedweb | 113 | 75.2 |
07 August 2012 10:54 [Source: ICIS news]
SINGAPORE (ICIS)--?xml:namespace>
The maintenance period for the unit, which is operating at 100% at the moment, will last until 11 September, the source said.
The producer also operates a 310,000 tonne/year PVC facility at Yokkaichi and a 150,000 tonne/year PVC plant at Osaka t... | http://www.icis.com/Articles/2012/08/07/9584536/japans-taiyo-vinyl-to-shut-chiba-pvc-plant-on-18-august.html | CC-MAIN-2014-35 | refinedweb | 123 | 57.81 |
Introducing Tamiat: Vue.js and Firebase based CMS
tamiat
Introducing the Tamiat headless CMS, created with Vue.js and Firebase. It is a front-end focused CMS which can be used as a starting point or be integrated into an existing project. The instructions on starting from scratch with Tamiat are pretty simple but just ... | https://vuejsfeed.com/blog/introducing-tamiat-vue-js-and-firebase-based-cms | CC-MAIN-2019-35 | refinedweb | 493 | 64.91 |
KVM_NLIST(3) NetBSD Library Functions Manual KVM_NLIST(3)Powered by man-cgi (2021-06-01). Maintained for NetBSD by Kimmo Suominen. Based on man-cgi by Panagiotis Christias.
NAME
kvm_nlist -- retrieve symbol table names from a kernel image
LIBRARY
Kernel Data Access Library (libkvm, -lkvm)
SYNOPSIS
#include <kvm.h> #inc... | https://man.netbsd.org/NetBSD-8.1/kvm_nlist.3 | CC-MAIN-2022-05 | refinedweb | 145 | 60.41 |
Custom Partitioner in Kafka Using Scala: Take Quick Tour!
Custom Partitioner in Kafka Using Scala: Take Quick Tour!
In this article, we discuss when Kafka's default partitioner is not enough and how to build a custom partitioner in Kafka using Scala.
Join the DZone community and get the full member experience.Join For ... | https://dzone.com/articles/custom-partitioner-in-kafka-using-scala-lets-take | CC-MAIN-2020-16 | refinedweb | 1,537 | 51.75 |
This FAQ is coordinated by the JED Team here: ... t-Joomla-4. Feel free to send us more questions or answers.
A huge Thank You to our volunteers! This is the current Joomla 4 Beta: ... 4.0.0-beta
MAIN QUESTIONS
When Joomla 4 is going be available? When do I have to migrate?
Joomla 4 stable is probably going to be relea... | https://forum.joomla.org/viewtopic.php?f=262&p=3633215&sid=0601f5f1e449963f42394116ffd6c024 | CC-MAIN-2021-31 | refinedweb | 1,372 | 67.15 |
Diff for PoolResolution
PoolResolution
A new GST variable compilation order and extension interface
Traditionally, in GST, variables are resolved by a formula built by extension over years, for backward compatibility and maintenance of autobiographical separation. TwistedPools is a new, intermixed variable search order... | http://smalltalk.gnu.org/node/204/revisions/view/346/348 | crawl-001 | refinedweb | 1,107 | 53.92 |
On Nov 3, 2003, at 3:05 AM, Ralf W. Grosse-Kunstleve wrote: > --- Harri Hakula <Harri.Hakula at arabianranta.com> wrote: >> With the latest compiler from Apple everything builds even on Jaguar. >> I got most of the tests I tried running, but had to compile everything >> manually. > > After seeing Harri Hakula's posting... | https://mail.python.org/pipermail/cplusplus-sig/2003-November/005831.html | CC-MAIN-2018-26 | refinedweb | 586 | 53.07 |
convert a string to a long integer
#include <stdlib.h> long int strtol( const char *ptr, char **endptr, int base );
The strtol() function converts the string pointed to by ptr to an object of type long int. It recognizes a string containing:
The conversion ends at the first unrecognized character. A pointer to that cha... | http://users.pja.edu.pl/~jms/qnx/help/watcom/clibref/src/strtol.html | CC-MAIN-2022-33 | refinedweb | 133 | 71.75 |
Implements a specialised surface that represents the screen.
More...
#include <screen.h>
List of all members.
Implements a specialised surface that represents the screen.
It keeps track of any areas of itself that are updated by drawing calls, and provides an update that method that blits the affected areas to the phys... | https://doxygen.residualvm.org/d4/d6c/classGraphics_1_1Screen.html | CC-MAIN-2019-13 | refinedweb | 321 | 71 |
06 June 2012 07:38 [Source: ICIS news]
BRISBANE (ICIS)--Asia’s June caprolactam (capro) contract offers at $2,530-2,580/tonne (€2,024-2,064/tonne), down by $50-90/tonne from May settlements, have failed to move negotiations forward because of a wide buy-sell gap, market sources said on Wednesday.
May settlements were a... | http://www.icis.com/Articles/2012/06/06/9566642/lower-june-capro-contract-offers-fails-to-attract-asian.html | CC-MAIN-2014-52 | refinedweb | 252 | 54.86 |
Subject: [ggl] 'area' and 'within' implementations for spherical earth?
From: Barend Gehrels (barend)
Date: 2011-07-13 01:20:39
Hi Thomas,
> Ahh, I missed that. Yes within appears to work fine.
Good to hear.
>?
Hmm, I'm afraid you find a bug indeed. If you take serious data, it will
probably not occur.
The central idea... | https://lists.boost.org/geometry/2011/07/1371.php | CC-MAIN-2020-34 | refinedweb | 286 | 68.36 |
#define trigPin 5#define echoPin 3void);}
#include <NewPing.h>#define SONAR_NUM(5, 3, MAX_DISTANCE), // Each sensor's trigger pin, echo pin, and max distance to ping. }(i); Serial.print("="); Serial.print(cm[i]); Serial.print("cm "); } Serial.println();}
I can hear it clicking but I'm beginning to think it may be defec... | http://forum.arduino.cc/index.php?topic=122334.msg920680 | CC-MAIN-2016-18 | refinedweb | 308 | 66.64 |
RTL-SDR Tutorial: Listening to TETRA Radio Channels
NOTE: There is now a plugin available for SDR# that will decode TETRA fairly easily. It is still in beta and misses a few features found in telive. Check it out in this post.
TETRA is a trunked radio communications system that stands for "Terrestrial Trunked Radio". I... | https://www.rtl-sdr.com/rtl-sdr-tutorial-listening-tetra-radio-channels/?replytocom=141248 | CC-MAIN-2020-05 | refinedweb | 5,217 | 65.93 |
30 April 2009 12:00 [Source: ICIS news]
LONDON (ICIS news)--Here is Thursday’s midday European oil and chemical market summary from ICIS pricing.
CRUDE: June WTI: $51.80/bbl, up $0.83/bbl. June BRENT: $51.38/bbl, up $0.60/bbl
Prices continued to rise in tandem with buoyant global stock markets, with a weaker US dollar ... | http://www.icis.com/Articles/2009/04/30/9212327/noon+snapshot+-+europe+markets+summary.html | CC-MAIN-2013-20 | refinedweb | 193 | 74.49 |
Caring For The Environment - Making getenv() Scale
By pgdh on Jun 14, 2005
Although a relatively minor contributor to OpenSolaris I still have the satisfaction of knowing that every Solaris 10 process is using my code. But who in their right mind needs getenv(3C) to scale? Of course if you don't care about thread safet... | https://blogs.oracle.com/pgdh/entry/caring_for_the_environment_making | CC-MAIN-2016-26 | refinedweb | 2,550 | 61.97 |
<<
hello,
is it possible to change Module Bluetooth adress with AT Commands or is there another way to change it?
Hi, very usefull ible.
I have one question. Is it possible to configure the HC-05 through AT commands to be seen as a keyboard/gamepad/mouse? According to the command ref pdf (appendix 2) you posted, there ... | http://www.instructables.com/id/Modify-The-HC-05-Bluetooth-Module-Defaults-Using-A/ | CC-MAIN-2015-11 | refinedweb | 1,588 | 74.69 |
Content-type: text/html
ffs - Finds first set bit
Standard C Library (libc.so, libc.a)
#include <strings.h>
int ffs(
int pattern);
Interfaces documented on this reference page conform to industry standards as follows:
ffs(): XPG4-UNIX
Refer to the standards(5) reference page for more information about industry standard... | http://backdrift.org/man/tru64/man3/ffs.3.html | CC-MAIN-2016-50 | refinedweb | 103 | 59.4 |
NAMEtime - overview of time and timers
DESCRIPTION
Real time and process timeRealMost computers have a (battery-powered) hardware clock which the kernel reads at boot time in order to initialize the software clock. For further details, see rtc(4) and hwclock(8).
The software clock, HZ, and jiffiesT).
System and process... | https://man.archlinux.org/man/time.7.en | CC-MAIN-2021-10 | refinedweb | 132 | 59.5 |
Hello fellow dog lovers! Does your dog have destructive behaviors like digging, or tearing up your house? Or even psychological issues like biting, endless pacing, or other seemingly absurd behavioral issues? No? Then prevent these problems and let your canine friend get out more and enjoy life. The best answer and pre... | https://www.instructables.com/id/How-to-exercise-your-dog/ | CC-MAIN-2019-04 | refinedweb | 3,378 | 77.77 |
Question:
Given a FILE*, is it possible to determine the underlying type? That is, is there a function that will tell me if the FILE* is a pipe or a socket or a regular on-disk file?
Solution:1
There's a
fstat(2) function.
NAME stat, fstat, lstat - get file status
SYNOPSIS
#include <sys/types.h> #include <sys/stat.h> #... | http://www.toontricks.com/2018/05/tutorial-distinguishing-pipe-from-file.html | CC-MAIN-2018-43 | refinedweb | 182 | 69.58 |
.
Scala code resides in the Java platform's global hierarchy of packages. The example code you've seen so far in this book has been in the unnamed package. You can place code into named packages in Scala in two ways. First, you can place the contents of an entire file into a package by putting a package clause at the t... | https://www.artima.com/pins1ed/packages-and-imports.html | CC-MAIN-2018-17 | refinedweb | 3,116 | 58.28 |
Sometimes. So i put in a TAR on metalink with the request if there was a way to trace, eq. an event setting, when a datafile extended. This way i could cross-reference this timestamp to the timestamps i was registering my latch problems. The reponse took a long time. I was in need for an answer, so i created a workarou... | https://technology.amis.nl/2005/08/23/oerr-in-search-of-error-messages/ | CC-MAIN-2017-09 | refinedweb | 582 | 61.87 |
Odoo Help
Odoo is the world's easiest all-in-one management software. It includes hundreds of business apps:
CRM | e-Commerce | Accounting | Inventory | PoS | Project management | MRP | etc.
How to inherit computed field from old Api to New Api ?
Any body please explain me about inheriting the computed field form old a... | https://www.odoo.com/forum/help-1/question/how-to-inherit-computed-field-from-old-api-to-new-api-91985 | CC-MAIN-2017-13 | refinedweb | 416 | 52.76 |
kb(7m) [centos man page]
kb(7M) kb(7M) NAME
kb - keyboard STREAMS module SYNOPSIS
#include <sys/types.h> #include <sys/stream.h> #include <sys/stropts.h> #include <sys/vuid_event.h> #include <sys/kbio.h> #include <sys/kbd.h> ioctl(fd, I_PUSH, "kb"); DESCRIPTION indi- cate special characters system. characters function ... | https://www.unix.com/man-page/centos/7M/kb/ | CC-MAIN-2021-43 | refinedweb | 426 | 57.87 |
CherryPy PyLucene integration
Problem
There are some problems in calling some PyLucene API from CherryPy code. I got following Java exception when I tried calling PyLucene.IndexWriter from CherryPy.
writer = PyLucene.IndexWriter( "c:/index", PyLucene.StandardAnalyzer(), True) JavaError: java.lang.NullPointerException
T... | http://tools.cherrypy.org/wiki/PyLucene | CC-MAIN-2014-10 | refinedweb | 674 | 53.78 |
A Smooth Transition to ECMAScript 6: Using New Features
In part one of this miniseries, we talked about the timeline for ES6 rollout, feature compatibility in existing environments and transpilers, and how to get ES6 set up in your build process.
Today, we’ll continue the conversation, looking at some of the easiest pl... | http://blog.engineyard.com/2015/smooth-transition-ecmascript-6-new-features | CC-MAIN-2017-30 | refinedweb | 1,700 | 59.19 |
I have this very simple beginner program for my java class. I cannot seem to grasp why my if statement is not being executed when the correct input is entered. I know I could probably get the user to enter a number which I could convert and run through a switch but I really have to know why this doesn't work, I've been... | http://forums.devshed.com/java-help/939187-joption-input-validation-last-post.html | CC-MAIN-2016-44 | refinedweb | 196 | 51.95 |
Introduction
With its massive .NET framework, Microsoft® introduced a new data access technology called ADO.NET. In this article, we will examine how to use the ADO.NET driver for Informix that is included with the IBM Client SDK version 2.90. The sample code included is written in C#.
Laying the groundwork
Before usin... | http://www.ibm.com/developerworks/data/library/techarticle/dm-0510durity/ | CC-MAIN-2015-22 | refinedweb | 2,979 | 52.15 |
an Open Source Utility that Automatically Create Data Transfer Objects based on LINQ to SQL Data Classes
Few weeks ago I posted in my Hebrew blog a post about using Data Transfer Objects to work with LINQ to SQL and ADO.NET Entity Framework (that currently both of them doesn’t support working with POCO).
One of the com... | http://weblogs.asp.net/shahar/an-open-source-utility-that-automatically-create-data-transfer-objects-based-on-linq-to-sql-data-classes | CC-MAIN-2014-42 | refinedweb | 965 | 56.05 |
: | | > | +#ifdef mblen | > | + inline int (mblen)(const char *p, size_t l) { return mblen(p, l); } | > | +#undef mblen | > | +#else | > | extern "C" int mblen(const char*, size_t); | > | +#endif | | > "mblen" needs to have C linkage in all cases. | | Is it std::mblen that must have C linkage? I ask because ::mblen | i... | http://gcc.gnu.org/ml/libstdc++/2000-12/msg00293.html | crawl-001 | refinedweb | 115 | 74.79 |
Practice React/TypeScript By Building A Chrome Extension
Milecia McG
・4 min read
Chrome is hands down one of the best browsers to work with. The debugging tools are great and you can add a lot of other functionality through extensions. These little programs other developers write and maintain can really make a differen... | https://dev.to/flippedcoding/practice-react-typescript-by-building-a-chrome-extension-1482 | CC-MAIN-2019-39 | refinedweb | 1,084 | 73.37 |
Opened 7 years ago
Closed 6 years ago
#8742 closed (invalid)
Windows support of FastCGI feature
Description
Django FastCGI cannot be used on Windows, and possibly other non-Unix environments.
Currently the FastCGI feature of Django (manage.py runfcgi) relies on the Python library 'flup', which relies on Unix-only socke... | https://code.djangoproject.com/ticket/8742 | CC-MAIN-2015-22 | refinedweb | 576 | 60.95 |
NAME
alq, alq_open, alq_write, alq_flush, alq_close, alq_get, alq_post - Asynchronous Logging Queues
SYNOPSIS
#include <sys/alq.h> int alq_open(struct alq **app, const char *file, struct ucred *cred, int cmode, int size, int count); int alq_write(struct alq *alq, void *data, int waitok); void alq_flush(struct alq *alq)... | http://manpages.ubuntu.com/manpages/jaunty/man9/alq.9freebsd.html | CC-MAIN-2014-41 | refinedweb | 389 | 65.86 |
A final class cannot have any subclasses. An abstract class cannot be instantiated unless it is extended by a subclass.
Some differences are:An abstract class can have code for one or more methods but an interface cannotAll variables in an interface are public static and final but in an abstract class it is notAbstract... | https://www.answers.com/Q/Difference_between_abstract_and_final_class | CC-MAIN-2021-10 | refinedweb | 1,036 | 53.71 |
Autotune.NET
- Posted: Jan 05, 2011 at 2:19 PM
- 65,537 Views
- 20 Comments
Something went wrong getting user information from Channel 9
Something went wrong getting user information from MSDN
Something went wrong getting the Visual Studio Achievements
We slightly flat note and you're out.
So what takes care of a bad-p... | http://channel9.msdn.com/coding4fun/articles/AutotuneNET | CC-MAIN-2014-10 | refinedweb | 6,215 | 55.44 |
User:Ashley Y
From HaskellWiki
(Difference between revisions)
Revision as of 02:16, 20 September 2006
Ashley Yakeley
I hereby license all my contributions to this wiki under the simple permissive license on HaskellWiki:Copyrights. —Ashley Y 05:25, 14 January 2006 (UTC)
1 GeSHi Tests
1.1 C
for (int a=0;a<3;a++) printf (... | https://wiki.haskell.org/index.php?title=User:Ashley_Y&diff=6156&oldid=6154 | CC-MAIN-2016-44 | refinedweb | 104 | 62.07 |
Jeff Epler wrote: > When using pthread_atfork, os.system never triggers my code. However, > reimplementing os.system in terms of os.fork+os.execv, it does. I don't > know if this is right or wrong according to pthread, but since it doesn't > work on my platform the question is academic for me. Interesting. I'd be curio... | https://mail.python.org/pipermail/python-dev/2003-December/041309.html | CC-MAIN-2016-40 | refinedweb | 304 | 65.32 |
Although, in the real world application you are much more likely to implement Runnable interface than extends Thread. Extending the Thread class is easiest but not a good Object Oriented practice.
In this post we will see the difference between "implements Runnable" and "extends Thread". This is one of the basic interv... | http://javahungry.blogspot.com/2015/05/implements-runnable-vs-extends-thread-in-java-example.html | CC-MAIN-2017-22 | refinedweb | 409 | 63.59 |
On Sun, Jul 29, 2001 at 06:22:17PM +0200, beevis libero it wrote: > Unwisely I deleted the .journal file, since I never mounted / as ext3. I assume the ext3 filesystem was created using old e2fsprogs tools; the new versions will create it as a hidden file that doesn't appear in the namespace, as long as the filesystem ... | http://www.redhat.com/archives/ext3-users/2001-July/msg00223.html | CC-MAIN-2014-10 | refinedweb | 270 | 73.78 |
Asked by:
Question
First,
1) I know this forum could not be the best choose but I didn't find any better on msdn
2) I know this is not a way to build proper windows store apps
now question:
In most cases, adding new library is simple. Programmer just choose proper winmd file or create new solution which could be added ... | https://social.msdn.microsoft.com/Forums/en-US/8025579d-7724-4e97-9011-1f45087d4865/loading-wrt-class-inside-c-also-wrt?forum=winappswithcsharp | CC-MAIN-2022-27 | refinedweb | 863 | 61.36 |
My View of C# 4.0
I've known a bit about C# 4.0 for a while now and have had time to think about it. I've just re-read the New features in C# 4.0 paper published by Microsoft and would like to offer the following critique of the language's new features:
Dynamic Lookup
This feature just makes me cringe, just like anonym... | http://weblogs.asp.net/okloeten/6708812 | CC-MAIN-2015-27 | refinedweb | 983 | 68.1 |
Download presentation
Presentation is loading. Please wait.
Published byGannon Loomer Modified over 2 years ago
1
CO1301: Games Concepts Dr Nick Mitchell (Room CM 226) email: npmitchell@uclan.ac.uknpmitchell@uclan.ac.uk Material originally prepared by Gareth Bellaby Lecture 8 Basic Trigonometry Hipparchos the “father” ... | http://slideplayer.com/slide/4213159/ | CC-MAIN-2017-22 | refinedweb | 1,145 | 57.37 |
*
A friendly place for programming greenhorns!
Big Moose Saloon
Search
|
Java FAQ
|
Recent Topics
|
Flagged Topics
|
Hot Topics
|
Zero Replies
Register / Login
JavaRanch
»
Java Forums
»
Certification
»
Programmer Certification (SCJP/OCPJP)
Author
Mock exam questions section 3
Tom Tolman
Ranch Hand
Joined: Sep 02, 2004
... | http://www.coderanch.com/t/246381/java-programmer-SCJP/certification/Mock-exam-questions-section | CC-MAIN-2014-35 | refinedweb | 1,395 | 72.76 |
Hi,
With lots of help I have a script that search my folder and gdb for featureclasses and rename them. That script works great.
The next step in my workflow will by clipping. I want the clip feature to clip all my featuresclasses in all folders and gdb’s. I am using the rename script as kind of a template.
The problem... | https://community.esri.com/thread/120268-clip-from-multiple-folders-and-gdb | CC-MAIN-2020-40 | refinedweb | 292 | 67.45 |
Opened 4 years ago
Closed 4 years ago
Last modified 4 years ago
#28265 closed Bug (fixed)
Template widget rendering: "Add the renderer argument ..." false positive when using **kwargs
Description
I have a custom widget with the following method:
def render(self, *args, **kwargs): self.pre_render_setup(*args, **kwargs) ... | https://code.djangoproject.com/ticket/28265 | CC-MAIN-2021-21 | refinedweb | 163 | 58.69 |
#include "ace/ACE_export.h"
#include "ace/Malloc_Allocator.h"
#include "ace/OS_NS_time.h"
#include "ace/OS_NS_Thread.h"
#include "ace/Timeprobe.inl"
#include "ace/Synch_Traits.h"
#include "ace/Singleton.h"
#include "ace/Timeprobe_T.h"
. Use make probe = 1, if you are using the make utility.
. Define ACE_COMPILE_TIMEPRO... | http://www.theaceorb.com/1.4a/doxygen/ace/Timeprobe_8h.html | CC-MAIN-2017-51 | refinedweb | 148 | 63.66 |
@ -0,0 +1,148 @@
* Python deployment is a solved problem
Time I wrote about using Python deployment in [[][scenarios]] of
development, testing, staging and production, something we do on a
grand scale. In 2018 Python is the [[][4th]] largest programming language in
the world and may soon reach the top 3. Dealing with P... | https://git.genenetwork.org/pjotrp/guix-notes/commit/c57baaa178f8b46bd983efcb77b18dca4f22fbed | CC-MAIN-2022-05 | refinedweb | 952 | 54.73 |
Answered by:
Typedef-equivalent in C#?
- I pass integer IDs to a variety of functions. I want to create a type for each ID so the compiler can check I am passing the right type. In C I would do this with typedefs. E.g.:
typedef int personID;
typedef int addressID;
void DoSomething(personID p, addressID a)
{ ... }
How c... | https://social.msdn.microsoft.com/Forums/en-US/019a258e-8d50-4a9f-b0ef-8311208ebb6a/typedefequivalent-in-c?forum=csharplanguage | CC-MAIN-2016-44 | refinedweb | 3,446 | 61.77 |
perlquestion liz A client of mine has a database with a great number of (MySQL) tables which may contain invalid UTF-8 data. Since this database is filled from very many different sources, it is not (yet) feasible to reliably stop invalidly coded data to enter the database. <P> Since some XML feeds are generated from t... | http://www.perlmonks.org/index.pl?displaytype=xml;node_id=333210 | CC-MAIN-2016-18 | refinedweb | 147 | 70.02 |
Created on 2008-09-21 18:30 by DenNukem, last changed 2010-05-22 11:33 by georg.brandl. This issue is now closed.
PROBLEM:
Some sites (e.g.) sends cookies where
version is "1" instead of 1. Cookielib chokes on it so none of the
cookies work after that.
PROBLEM CODE:
def _cookie_from_cookie_tuple(self, tup, request):
..... | http://bugs.python.org/issue3924 | CC-MAIN-2014-41 | refinedweb | 587 | 52.15 |
Red Hat Bugzilla – Bug 141000
strtold uses uninitialized array element
Last modified: 2007-11-30 17:10:55 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.5)
Gecko/20041111 Firefox/1.0
Description of problem:
strtold("42.00000000000000000001", NULL)
uses an unintialized array element... | https://bugzilla.redhat.com/show_bug.cgi?id=141000 | CC-MAIN-2016-40 | refinedweb | 515 | 69.79 |
Ticket #783 (defect)
Opened 3 months ago
Last modified 2 months ago
File uploads corrupt when using built in SSL
Status: closed (fixed)
Here is POC code:
import shutil import os localDir = os.path.dirname(__file__) absDir = os.path.join(os.getcwd(), localDir) import cherrypy from cherrypy.lib import cptools cherrypy.co... | http://cherrypy.org/ticket/783 | crawl-001 | refinedweb | 478 | 53.17 |
#include <HeadPointerMC.h>
List of all members.
Definition at line 12 of file HeadPointerMC.h.
Constructor, defaults to all joints to current value in state (i.e. calls takeSnapshot() automatically).
Definition at line 12 of file HeadPointerMC.cc.
[inline, virtual]
Destructor.
Definition at line 18 of file HeadPointerM... | http://www.tekkotsu.org/dox/classHeadPointerMC.html | crawl-001 | refinedweb | 1,228 | 50.94 |
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 10/29/14, 9:58 PM, Marshall Giguere wrote: > Bash Version: 4.2 > Patch Level: 25 > Release Status: release > > Description: > Submitting a shell script job to "at" either via pipe, or > command line fails. It fails if you have exported functions in your environment. This... | https://lists.gnu.org/archive/html/bug-bash/2014-10/msg00232.html | CC-MAIN-2018-43 | refinedweb | 143 | 54.12 |
A bytearray work-alike using a gap buffer for storage
Project Description
A Python bytearray work alike which uses a gap buffer as underlying storage. It is a data structure optimised for locally coherent insertions and deletions. It is the usual data structure in text editors.
A utility class, codedstring, is provided... | https://pypi.org/project/bytegapbuffer/ | CC-MAIN-2018-09 | refinedweb | 333 | 60.21 |
Given a binary tree, print nodes of extreme corners of each level but in alternate order.
Example:
For above tree, the output can be
1 2 7 8 31
– print rightmost node of 1st level
– print leftmost node of 2nd level
– print rightmost node of 3rd level
– print leftmost node of 4th level
– print rightmost node of 5th leve... | http://126kr.com/article/49daj2zu2y1 | CC-MAIN-2017-09 | refinedweb | 526 | 63.22 |
RT73 Wireless
Kernel 2.6.18
Kernel 2.6.19
The latest arch kernel (2.6.19) broke the Ralink (and the rt2x00) drivers. The drivers won't compile without modifying the source (already done in rt2x00, but we must do it to the Ralink source ourselves). In addition, iwpriv must be used when manually setting up the connection... | https://wiki.archlinux.org/index.php?title=RT73_Wireless&oldid=20730 | CC-MAIN-2018-26 | refinedweb | 274 | 61.02 |
February 12, 2019 · 2 min read
In a previous post, we looked at creating a Resolver. The resolver will route the user if the data “resolves” but not if an error occurs and the data is not available. This is perfectly fine for some use cases but what if you want the error to be handled by the component that’s associated... | https://www.joshuacolvin.net/angular-resolver-error-handling/ | CC-MAIN-2020-05 | refinedweb | 335 | 55.64 |
[Today's Post has been contributed by Brian Huneycutt].
I've spent many years investigating / troubleshooting WMI related issues – especially as they relate to SMS / Configuration Manager. Based on that experience I've compiled a few tips and general observations for the community. This list is by no means comprehensiv... | https://blogs.technet.microsoft.com/enterprisemobility/2009/05/08/wmi-troubleshooting-tips/ | CC-MAIN-2017-34 | refinedweb | 1,406 | 54.93 |
sub Win_OS_Type {
return unless $^O =~ /win32|dos/i; # is it a MS box?
# It _should_ have Win32 unless something is really weird
return unless eval('require Win32');
# Use the standard API call to determine the version
my ( undef, $major, $minor, $build, $id ) = Win32::GetOSVersion;
return "win32s" unless $id; # If id=... | http://www.perlmonks.org/?node_id=144660 | CC-MAIN-2017-09 | refinedweb | 148 | 74.49 |
Introduction :
We can find the factorial of a number using a loop. The factorial of a number is the product of all numbers from 1 to that number. Finding out the factorial using a loop like for or while loop is easy. In this post, I will show you how to find the factorial of a user given number in C++ using a loop.
Exa... | https://www.codevscolor.com/c-plus-plus-factorial-for-loop | CC-MAIN-2020-40 | refinedweb | 573 | 63.49 |
Question:
In a C++ program I write:
#include<iostream> #include<vector> using namespace std; int main() { vector<int> a; a.resize(1); for( int i = 0 ; i < 10 ; i++ ) { cout << a[i] << " "; } return 0; }
this program prints the correct value of a[0] (because it is allocated) but also prints values at the rest of the 10 ... | http://www.toontricks.com/2018/06/tutorial-overcoming-wrong-memory.html | CC-MAIN-2018-43 | refinedweb | 703 | 62.68 |
Our next iteration on the contacts control (nee gadget) is now live and ready for you to experiment with!
The snapshot of the contacts control in the online documentation is a static image. The one below is not! This a live (as in real) contacts control sitting in an iframe on this blog page. Go head, click on it. Logi... | https://blogs.msdn.microsoft.com/dthorpe/2006/10/05/windows-live-contacts-control-beta-0-2-released/ | CC-MAIN-2017-22 | refinedweb | 1,212 | 65.32 |
I was trying to compare a pair of histograms by drawing on the same canvas, but I needed to resize. When resizing, I found that none of the TH1 methods were giving me accurate values. For instance, all of the following methods returned 0:
hist->GetXaxis()->GetXmin(); hist->GetXaxis()->GetXmax(); hist->GetMinimum(); his... | https://root-forum.cern.ch/t/th1-methods-cant-find-correct-minimum-and-maximum-values-for-a-filled-histogram/42894 | CC-MAIN-2022-33 | refinedweb | 252 | 53.92 |
Name
cyg_mdns_getservicelabel — Get current service label value
Synopsis
#include <mdns.h>
cyg_bool cyg_mdns_getservicelabel(const cyg_mdns_service_identity *id, cyg_uint8 *dstbuf, cyg_uint8 *len
);
Description
This function provides access to the currently configured mDNS UTF-8
label for the specified
id service
descr... | https://doc.ecoscentric.com/ref/mdns-api-cyg-mdns-getservicelabel.html | CC-MAIN-2022-21 | refinedweb | 206 | 53 |
#ifndef DWARF2READ_H #define DWARF2READ_H 1 #include "bfd.h" extern asection *dwarf_frame_section; extern asection *dwarf_eh_frame_section; /* APPLE LOCAL debug map take a bfd parameter */ char *dwarf2_read_section (struct objfile *, bfd *, asection *); /* When expanding a psymtab to a symtab we get the addresses of al... | http://opensource.apple.com/source/gdb/gdb-1344/src/gdb/dwarf2read.h | CC-MAIN-2015-14 | refinedweb | 586 | 54.83 |
Other AliasSbFifo
SYNOPSIS
#include <Inventor/threads/SbFifo.h>
Public Member Functions
void assign (void *ptr, uint32_t type)
void retrieve (void *&ptr, uint32_t &type)
SbBool tryRetrieve (void *&ptr, uint32_t &type)
unsigned int size (void) const
void lock (void) const
void unlock (void) const
SbBool peek (void *&ite... | http://manpages.org/a-class-for-managing-a-pointer-first-in/3 | CC-MAIN-2017-09 | refinedweb | 345 | 56.05 |
08 October 2008 19:53 [Source: ICIS news]
TORONTO (ICIS news)--German photovoltaics firm Schott Solar has cancelled plans for an initial public offer (IPO) due to the drastic deterioration and turmoil on capital markets, it said on Wednesday.
?xml:namespace>
“The renewed drastic deterioration of conditions on internati... | http://www.icis.com/Articles/2008/10/08/9162423/german-photovoltaics-firm-schott-cancels-ipo.html | CC-MAIN-2014-10 | refinedweb | 197 | 54.63 |
Hide Forgot
klogd uses lseek on /dev/kmem. In case of an error this
would return (off_t)-1 but the return value is considered an
error if <0 which is inaccurate when large numbers are
treated as a signed int.
try upgrading to a later syslogd (such as 1.3.31-*, from
the errata). Does this solve the problem?
Upgrading to... | https://partner-bugzilla.redhat.com/show_bug.cgi?id=2113 | CC-MAIN-2020-24 | refinedweb | 107 | 61.33 |
If you’re just getting started with testing (and general test-first or test-driven development) in your Ruby and Ruby on Rails applications, you have a couple of choices.
You can go with Ruby’s Unit::Test, built right in to Ruby, and built-in to Rails with unit, functional, and integration test suites setup for you.
Or... | https://www.bignerdranch.com/blog/getting-started-with-testing-unit-testing-or-bdd-with-rspec/ | CC-MAIN-2017-43 | refinedweb | 538 | 65.05 |
MS Dynamics CRM 3.0
I can't figure out how to follow these links - anyone have any ideas?
> I can't figure out how to follow these links - anyone have any ideas?
-- Philip Whole-site HTML validation, link checking and more
>
import nntplib username = my username password = my password nntp_server = 'newsclip.ap.org' n ... | http://www.megasolutions.net/python/How-to-parse-usenet-urls_-78659.aspx | CC-MAIN-2015-35 | refinedweb | 179 | 69.38 |
In case you're interested in writing portable Perl and Python scripts that can be deployed anywhere and use Growl with minimal hassle (i.e., without installing all the extra bridging crud), this bit of Python code works fine for me:
import os APPLESCRIPT = "/usr/bin/osascript" def notify(title, description, icon = "Fin... | http://taoofmac.com/space/blog/2004/09/19 | CC-MAIN-2017-13 | refinedweb | 245 | 57.81 |
Created attachment 167772 [details]
py-numpy build log
Attempting to run something like osmocom_fft results in the issue below...
[kitsune@vixen42]/home/kitsune% osmocom_fft
Traceback (most recent call last):
File "/usr/local/bin/osmocom_fft", line 34, in <module>
from gnuradio import blocks
File "/usr/local/lib/python... | https://bugs.freebsd.org/bugzilla/show_bug.cgi?format=multiple&id=207750 | CC-MAIN-2020-50 | refinedweb | 3,269 | 56.11 |
I learned about a module called shlex. It's stated to be a simple lexical analyzer, and I don't really know what this means, but I found at least one of its uses. It provides a convenience method that lets me split a command line string, to feed into subprocess module.
Let's say I want to run the command /bin/cat 'file... | http://demo-reveal.tshepang.net/shlex-and-subprocess | CC-MAIN-2018-09 | refinedweb | 193 | 62.27 |
Forum:Tolololpedia.wikia.com : Official Uncyclopedia Branch / Not?
From Uncyclopedia, the content-free encyclopedia.
Forums: Index > Village Dump > Tolololpedia.wikia.com : Official Uncyclopedia Branch / Not?
Note: This topic has been unedited for 469 days. It is considered archived - the discussion is over. Do not add... | http://uncyclopedia.wikia.com/wiki/Forum:Tolololpedia.wikia.com_:_Official_Uncyclopedia_Branch_/_Not%3F | crawl-002 | refinedweb | 356 | 59.3 |
Introduction to Python Map Function
A lot of code is spent analyzing, filtering, and combining the items in a list. Python gives you functions to streamline these tasks. One such functions are the map(). Map, Filter and Reduce functions are built-in high order functions in Python. Often, using a generator expression ov... | https://www.educba.com/python-map-function/ | CC-MAIN-2020-24 | refinedweb | 743 | 56.86 |
Starling has several classes that use variables marked as internal. Is this necessary? It makes me have to put my subclasses in the same folders as the Starling classes, which I'd rather not do.
As it says in starling_internal.as
/**
* This namespace is used for undocumented APIs -- usually implementation
* details -- ... | https://forum.starling-framework.org/d/20913-are-starling-internal-variables-necessary | CC-MAIN-2019-26 | refinedweb | 219 | 65.93 |
Hi,I just started using Team System this week, and I've been able to muddle along fairly well, but I've just discovered something that to me is a real show stopper. And based on the searches that I have done in Google and in these forums, I'm beginning to think there is something fundamental I missing based on the smal... | https://databaseforum.info/30/500101.aspx | CC-MAIN-2022-05 | refinedweb | 487 | 58.82 |
What should I do next for a (newbie) program?
This is a discussion on Can't think of any new programs. within the C++ Programming forums, part of the General Programming Boards category; What should I do next for a (newbie) program?...
What should I do next for a (newbie) program?
I started working on a program ( just ... | http://cboard.cprogramming.com/cplusplus-programming/30768-can%27t-think-any-new-programs.html | CC-MAIN-2015-32 | refinedweb | 703 | 66.03 |
Other packages may define their own REPL modes in addition to the default modes. For instance, the
Cxx package defines the
cxx> shell mode for a C++ REPL. These modes are usually accessible with their own special keys; see package documentation for more details.
After installing Julia, to launch the read-eval-print-loo... | https://sodocumentation.net/julia-lang/topic/5739/repl | CC-MAIN-2022-33 | refinedweb | 885 | 62.78 |
> at91rm9200bsp.rar > sysALib.s
/* sysALib.s - ARM Integrator system-dependent routines */ /* Copyright 1999-2001 ARM Limited */ /* Copyright 1999-2001 Wind River Systems, Inc. */ /* modification history -------------------- 2004/10/23 this file is modified form VxWorks demo bsp integrator920t */ /* DESCRIPTION This m... | http://read.pudn.com/downloads56/sourcecode/embed/198274/at91rm9200bsp/at91rm9200/sysALib.s__.htm | crawl-002 | refinedweb | 831 | 59.8 |
On Sat, Aug 8, 2015 at 2:49 PM, wm4 <nfxjfg at googlemail.com> wrote: > On Sat, 8 Aug 2015 14:31:21 +0200 > Hendrik Leppkes <h.leppkes at gmail.com> wrote: > >> On Sat, Aug 8, 2015 at 1:36 PM, Andreas Cadhalpun >> <andreas.cadhalpun at googlemail.com> wrote: >> > They are used by the not deprecated av_frame_{g,s}et_qp_... | http://ffmpeg.org/pipermail/ffmpeg-devel/2015-August/176948.html | CC-MAIN-2019-26 | refinedweb | 260 | 68.26 |
#include <sys/pccard.h> int32_t csx_DupHandle(acc_handle_t handle1, acc_handle_t *handle2, uint32_t flags);
Solaris DDI Specific (Solaris DDI)
The access handle returned from csx_RequestIO(9F) or csx_RequestWindow(9F) that is to be duplicated.
A pointer to the newly-created duplicated data access handle.
The access att... | https://docs.oracle.com/cd/E36784_01/html/E36886/csx-duphandle-9f.html | CC-MAIN-2019-09 | refinedweb | 279 | 58.89 |
Detection of rust with OpenCV (Python) Part 2
This is a follow up to the previous post: Detection of rust with OpenCV (Python)
Original Image: Rust Image
After reading through the comments on the previous post, we tried working in HSV instead of BGR. However, there wasn't too much of a difference.
This is our current c... | https://answers.opencv.org/question/178883/detection-of-rust-with-opencv-python-part-2/ | CC-MAIN-2019-43 | refinedweb | 350 | 69.89 |
Document: WG14 N1464
Submitter: Fred J. Tydeman (USA)
Submission Date: 2010-05-10
Related documents: N818, SC22WG14.8195, N1399, N1419, N1431
Subject: Creation of complex value
Problem: (x + y*I) will NOT do the right thing if "I" is complex and "y" is NaN or infinity. It does work fine if "I" is imaginary. Users and l... | http://www.open-std.org/jtc1/sc22/wg14/www/docs/n1464.htm | CC-MAIN-2017-30 | refinedweb | 390 | 50.67 |
I'm looking way for my algorithm to only trade during regular stock market hours. Is there any helper method for this?
I'm looking way for my algorithm to only trade during regular stock market hours. Is there any helper method for this?
Hi Andrew,
You probably want to use
schedule_function and specify the calendar of ... | https://www.quantopian.com/posts/es-futures-only-trade-during-spy-hours | CC-MAIN-2018-17 | refinedweb | 141 | 50.12 |
Locky: JavaScript Deobfuscation
Last Updated: 2016-02-20 18:35:06 UTC
by Didier Stevens (Version: 1)
Yesterday, Wayne Smith submitted a sample (MD5 F1F31B18259DC9768D8B6132E543E3EE) to the ISC. Xavier, handler on duty, analyzed the (malicious) JavaScript in his sandbox, but it failed with an error. As I wrote in a prev... | https://isc.sans.edu//diary/Locky:+JavaScript+Deobfuscation/20749 | CC-MAIN-2016-40 | refinedweb | 538 | 64.3 |
Steven Van de Craen's Blog feed for the Posts list.en-US2018-07-15T18:23:40-07:00Subscribe with BloglinesSubscribe with GoogleSubscribe with Live.com Van de Craen's Blog sync client and green locks (read-only sync) 365SharePointOneDriveContent TypesPnPTroubleshootingSteven Van de Craen2017-12-07T07:31:07-08:00The issue... | http://feeds.feedburner.com/vandest | CC-MAIN-2018-30 | refinedweb | 13,671 | 60.55 |
>
I would like to make an interactive world map that consists of clickable regions, just like in this map.
I have create two textures, one for the display of the world map and the other is a painted texture where each province is colored in a different way.
When I click on the map I send a Raycast and get the texture c... | https://answers.unity.com/questions/1554865/interactive-world-map-with-selectable-regions-1.html | CC-MAIN-2019-22 | refinedweb | 470 | 70.84 |
Context bounds were introduced in Scala 2.8.0, and are typically used with the so-called type class pattern, a pattern of code that emulates the functionality provided by Haskell type classes, though in a more verbose manner.
A context bound requires a parameterized type, such as
Ordered[A],
but unlike
String.
A contex... | http://docs.scala-lang.org/tutorials/FAQ/context-bounds | CC-MAIN-2017-04 | refinedweb | 195 | 53.21 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.