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 |
|---|---|---|---|---|---|
from rosetta import *
import sys
init()
pose = Pose()
scorefxn = create_score_function_ws_patch('standard','score12')
pose_from_pdb(pose,'config.pdb')
scorePose = scorefxn(pose)
print scorePose
coord = pose.residue(740).atom('N').xyz()
print coord
coord.x = 100.0
print coord
scorePose = scorefxn(pose)
print scorePose
R... | https://rosettacommons.org/comment/3103 | CC-MAIN-2022-40 | refinedweb | 398 | 68.67 |
07 July 2011 17:32 [Source: ICIS news]
(adds paragraphs 1-9)
HOUSTON (ICIS)--US renewable fuels trade groups on Thursday welcomed a Senate compromise proposal that would, if enacted, end ethanol subsidies and tariffs on 31 July.
“This agreement has enough of the right ingredients to move the conversation forward,” said... | http://www.icis.com/Articles/2011/07/07/9475952/us-renewable-groups-welcome-senate-ethanol-subsidy-deal.html | CC-MAIN-2014-35 | refinedweb | 382 | 54.52 |
QTableWidget Example using Python 2.4, QT 4.1.4, and PyQt
import sys from Qt import * lista = ['aa', 'ab', 'ac'] listb = ['ba', 'bb', 'bc'] listc = ['ca', 'cb', 'cc'] mystruct = {'A':lista, 'B':listb, 'C':listc} class MyTable(QTableWidget): def __init__(self, thestruct, *args): QTableWidget.__init__(self, *args) self.d... | https://www.saltycrane.com/blog/2006/10/qtablewidget-example-using-python-24/ | CC-MAIN-2019-47 | refinedweb | 274 | 71.71 |
Learning Next.js
- Part 1: Reviewing React
- Part 2: Pages
- Part 3: Links and Head
- Part 4: Dynamic Routing
- Part 5: Serverless API
Next.js is a JavaScript framework based on React for rapidly developing web sites and applications.
Reviewing React
Understanding Next.js starts with first reviewing how React works and... | https://videlais.com/2019/12/24/learning-next-js-part-1-reviewing-react/ | CC-MAIN-2021-04 | refinedweb | 689 | 50.94 |
Bell character is the control code used to sound an audible bell or tone in
order to alert the user (ASCII 7, EBCDIC 2F). Bell character is an ASCII control character, code 7 (^G).
When it is sent to a printer or a terminal, nothing is printed, but an audible signal is emitted instead.
You can emit a beep by printing t... | http://www.java-tips.org/java-se-tips/java.lang/how-to-emit-a-beep-by-printing-the-ascii-bell-character-to-the-co-9.html | CC-MAIN-2014-15 | refinedweb | 108 | 73.58 |
Orientation strategy for mobile. Best practice?gtr Apr 26, 2012 1:43 PM
Hi all.
What's the best way to handle orientation changes on a mobile device when you have several child movies loaded in the background?
I'm thinking:
1. Each child movie have it's own listener for an orientation change. (calls function to adjust ... | https://forums.adobe.com/message/4363954 | CC-MAIN-2015-32 | refinedweb | 1,608 | 69.72 |
If, for example, you're receiving a "The file jvm.dll is missing" error when you play a 3D video game, try updating the drivers for your video card.Note: The jvm.dll file may Duncan Murdoch has made the require changes, but the changes are not in the package, so you have to download the development version (r47752 abov... | http://gsbook.org/the-specified/loadlibraryjvm-dll-failed-the-specified-module-could-not-be-found.php | CC-MAIN-2018-09 | refinedweb | 1,471 | 62.78 |
AJAX on Rails 2.1.
How.
AJAX Example the previous chapters, then we would suggest you to complete the previous chapters first and then continue with AJAX on Rails.
Creating Controller
Let’s create a controller for subject. It will be done as follows −
C:\ruby\library> ruby script/generate controller Subject
This comman... | https://www.tutorialspoint.com/ruby-on-rails-2.1/rails-and-ajax.htm | CC-MAIN-2018-39 | refinedweb | 450 | 65.12 |
Back to: C#.NET Tutorials For Beginners and Professionals
Generics in C# with Examples
In this article, I am going to discuss how to implement Generics in C# with Examples. Please read our previous article where we discussed the Generic Collection in C#. As part of this article, we are going to discuss the following po... | https://dotnettutorials.net/lesson/generics-csharp/ | CC-MAIN-2022-21 | refinedweb | 1,742 | 56.96 |
One of the challenges of writing a library like Eventlet is that the built-in networking libraries don’t natively support the sort of cooperative yielding that we need. What we must do instead is patch standard library modules in certain key places so that they do cooperatively yield. We’ve in the past considered doing... | http://eventlet.net/doc/patching.html | CC-MAIN-2014-42 | refinedweb | 767 | 56.66 |
In the time since Barry Vercoe wrote the original Preface to this manual, printed above, many further contributions have been made to Csound. CsoundAC is an extended version of Csound 5.
Csound 5 begins a new major version of Csound that includes the following new features:
The use of widely--accepted open source libra... | http://www.csounds.com/manual/html/RecentDevelopments.html | CC-MAIN-2014-41 | refinedweb | 188 | 56.25 |
Hi all once again, one more question from me. But this one stands between me and my final work. I am doing a REST Webservice, in which I have to send image files from the server and had to calculate processing times at the client. So, I choosen InputStream at the server, and same to catch at the Client. Seems some basi... | http://www.javaprogrammingforums.com/%20web-frameworks/3816-inputstream-problem-client-side-printingthethread.html | CC-MAIN-2017-26 | refinedweb | 418 | 51.95 |
Originally posted by Usha Vydyanathan: Hi, I thought if a statement is unreachable Java always gives error. Following code compiles fine eventhough "System.out.println("After stop method");" is not reachable because thread will stop before that. public class Q1 extends Thread { public void run() { System.out.println("B... | http://www.coderanch.com/t/199008/java-programmer-SCJP/certification/Majji-Paper | CC-MAIN-2014-49 | refinedweb | 171 | 67.55 |
TZSET(3) Linux Programmer's Manual TZSET(3)
NAME
tzset, tzname, timezone, daylight - initialize time conversion informa-
tion
SYNOPSIS
#include <time.h>
void tzset (void);
extern char *tzname[2];
extern long timezone;
extern int daylight;
DESCRIPTION
The tzset() function initializes the tzname variable from the TZ envi... | http://man.yolinux.com/cgi-bin/man2html?cgi_command=tzset | CC-MAIN-2014-10 | refinedweb | 220 | 59.53 |
Unity: How to playback fullscreen videos using the GL class
Posted by Dimitri | Dec 22nd, 2011 | Filed under Programming
This Unity programming tutorial explains how to use the immediate mode rendering available at the GL class for the playback of video files. There is already another post here on 41 Post that shows ho... | http://www.41post.com/4570/programming/unity-how-to-playback-fullscreen-videos-using-the-gl-class | CC-MAIN-2020-16 | refinedweb | 2,144 | 65.42 |
Are you sure?
This action might not be possible to undo. Are you sure you want to continue?
Instructions for Form CT-1
Employer's Annual Railroad Retirement Tax Return
Section references are to the Internal Revenue Code unless otherwise noted.
Department of the Treasury Internal Revenue Service
A Change To Note
New ele... | https://www.scribd.com/document/545173/US-Internal-Revenue-Service-ict1-1999 | CC-MAIN-2018-26 | refinedweb | 4,556 | 63.49 |
What is Norm for .NET
Norm is a data access library for .NET Core 3 (or .NET Standard 2.1).
Previously called
NoORM to give emphases to fact that this is Not Yet Another ORM (although I have added O/R mapping extension recently) - now it's just shortened to
Norm.
I've built it for my needs as I do frequent work on data... | https://dev.to/vbilopav/norm-data-access-for-net-core-3-fal | CC-MAIN-2022-05 | refinedweb | 2,826 | 55.74 |
Developing Simple Smart Tags
This content is no longer actively maintained. It is provided as is, for anyone who may still be using these technologies, with no warranties or claims of accuracy with regard to the most recent product version or service release.
Paul Cornell
Microsoft Corporation
May 2001
Applies to:
Micr... | https://docs.microsoft.com/en-us/previous-versions/office/developer/office-xp/aa163627(v=office.10)?redirectedfrom=MSDN | CC-MAIN-2020-10 | refinedweb | 2,368 | 50.57 |
Aliasing with ‘as’ keyword
In Python, the
as keyword can be used to give an alternative name as an alias for a Python module or function.
# Aliasing matplotlib.pyplot as plt from matplotlib import pyplot as plt plt.plot(x, y) # Aliasing calendar as c import calendar as c print(c.month_name[1]).
# Three different ways ... | https://www.codecademy.com/learn/learn-python-3/modules/learn-python3-modules/cheatsheet | CC-MAIN-2022-05 | refinedweb | 185 | 54.22 |
The graph painter class. Implements all graphs' drawing's options.
Graphs are drawn via the painter
TGraphPainter class. This class implements techniques needed to display the various kind of graphs i.e.:
TGraph,
TGraphErrors,
TGraphBentErrors and
TGraphAsymmErrors.
To draw a graph
graph it's enough to do:
graph->Draw(... | https://root.cern.ch/doc/master/classTGraphPainter.html | CC-MAIN-2020-29 | refinedweb | 1,562 | 59.19 |
Varargs:
Java has included a feature in JDK 5 that simplifies the creation of methods that require a variable number of arguments. This feature is known as varargs, which is an abbreviation for variable-length arguments. A varargs method is one that accepts a variable number of arguments.
Variable-length arguments coul... | https://btechgeeks.com/how-to-pass-an-arraylist-to-varargs-method/ | CC-MAIN-2022-27 | refinedweb | 613 | 61.87 |
Cracks in the Foundation
by Micah Dubinko
|
Pages: 1, 2
Other specific choices made in the development of XML namespaces cause persistent confusion among markup practitioners. For one, namespace prefixes are largely incompatible with DTDs, which, although unfashionable, are still a built-in part of XML and intimately ... | http://www.xml.com/pub/a/2006/11/08/cracks-in-the-foundation.html?page=2 | CC-MAIN-2015-11 | refinedweb | 887 | 62.17 |
The Python Pandas library provides a function to calculate the standard deviation of a data set. Let’s find out how.
The Pandas DataFrame std() function allows to calculate the standard deviation of a data set. The standard deviation is usually calculated for a given column and it’s normalised by N-1 by default. The de... | https://codefather.tech/blog/pandas-standard-deviation/ | CC-MAIN-2021-31 | refinedweb | 1,932 | 66.84 |
This is a linux machine answering. The "answer" is possibly not the solution, but i need space to insert information, a comment is not enough.
In 38750 the procedure was described for a linux machine.
sage -sh sets all needed variables for the operating system. In my case:
(sage-sh) dan@f... :~$ printenv | fgrep SAGE
g... | https://ask.sagemath.org/answers/39750/revisions/ | CC-MAIN-2021-10 | refinedweb | 687 | 60.11 |
File::OldSlurp -- single call read & write file routines; read directories
use File::OldSlur truncate the file whereas the last thing that overwrite_file() is to truncate the file (to it's new length). Overwrite_file() should be used in situations where you have a file that always needs to have contents, even in the mi... | http://search.cpan.org/dist/File-OldSlurp/OldSlurp.pod | CC-MAIN-2016-30 | refinedweb | 181 | 75.2 |
Sync
A
Monad that can suspend the execution of side effects in the
F[_] context.
import cats.{Defer, MonadError} import cats.effect.Bracket trait Sync[F[_]] extends Bracket[F, Throwable] with Defer[F] { def suspend[A](thunk: => F[A]): F[A] def delay[A](thunk: => A): F[A] = suspend(pure(thunk)) }
This is the most basic ... | https://typelevel.org/cats-effect/typeclasses/sync.html | CC-MAIN-2019-09 | refinedweb | 205 | 51.04 |
VULNERABILITY DETAILS
Opening suitable pages sometimes causes Chrome to crash at various places on startup. These kind of crashes have been happening for a while now, but have been difficult to isolate and reproduce. The last browser test run found several files which seem to trigger this fairly often. One such file is... | https://bugs.chromium.org/p/chromium/issues/detail?id=71586 | CC-MAIN-2018-47 | refinedweb | 3,047 | 50.43 |
HTML in E2 writeups is filtered; only a subset of the available HTML tags
are actually allowed. There are approximately two reasons for this:
Tables would be fine if they could be validated to prove that they're well-formed and hence will not break tables outside the writeup. Tables in particular aren't allowed because... | https://everything2.com/title/edev%253A+Tables+and+HTML+Validation | CC-MAIN-2018-47 | refinedweb | 917 | 61.06 |
It’s common to want to create several SwiftUI views inside a loop. For example, we might want to loop over an array of names and have each one be a text view, or loop over an array of menu items and have each one be shown as an image.
SwiftUI gives us a dedicated view type for this purpose, called
ForEach. This can loo... | https://www.hackingwithswift.com/books/ios-swiftui/creating-views-in-a-loop | CC-MAIN-2021-31 | refinedweb | 449 | 59.64 |
I don’t think I need to elaborate on how important it is to get ratings for your app in the Store – and preferably good ratings. By no means this is new and original: Matthijs Hoekstra wrote something to this effect, our Dutch DPE Rajen Kishna even made a NuGet package for similar stuff, Telerik have something in their... | http://dotnetbyexample.blogspot.com/2013/09/zero-lines-of-code-solution-to-entice.html | CC-MAIN-2017-51 | refinedweb | 969 | 62.17 |
Is there a way to load pyc files on the LoPy? We are running into 'out of memory errors' trying to import modules even though there seems to be plenty of free memory. This is making development very difficult and time consuming.
Thanks,
Steve
@robert-hh That worked great. I'm now able to build the FW with our frozen by... | https://forum.pycom.io/topic/1917/loading-pyc-files | CC-MAIN-2018-17 | refinedweb | 948 | 77.13 |
Hi,
Is it possible to do downcast in the bind clause of a rule?
like this:
RULE rule
CLASS Foo
METHOD bar
AT ENTRY
BIND child : HashMap = $input;
IF true
DO traceln("yes, it works!" + child)
ENDRULE
{code}
public class Foo {
public void bar(Map input) {
System.out.println("");
}
}
{code}
Hi Anton,
Anton Ryabtsev wrote:... | https://developer.jboss.org/message/727426 | CC-MAIN-2016-44 | refinedweb | 334 | 68.91 |
pls review my code - Struts
pls review my code Hello friends,
This is the code in struts. when i click on the submit button.
It is showing the blank page. Pls respond soon...("error in connecting database");
}
return null
pls review my code - Struts
pls review my code When i click on the submit page i am getting a blan... | http://www.roseindia.net/tutorialhelp/comment/34922 | CC-MAIN-2013-20 | refinedweb | 1,671 | 67.55 |
The Dark Pi Rises
Did you think that the Raspberry Pi will only be limited to benign uses? Did you think that the Raspberry Pi will always bask in the light of day? Well this Raspberry Pi...has embraced the darkness.
Okay I might have overdone it a bit =) no thanks to iMovie's trailer templates! This will be a series o... | http://www.aonsquared.co.uk/the_dark_pi_rises | CC-MAIN-2014-35 | refinedweb | 2,752 | 68.16 |
A transaction-aware Celery job setup
A transaction-aware Celery job setup. This is integrated with the Zope transaction package, which implements a full two-phase commit protocol. While it is not designed for anything other than Pyramid, it also does not use any component of Pyramid. It’s simply not tested anywhere els... | https://pypi.org/project/pyramid_transactional_celery/ | CC-MAIN-2017-43 | refinedweb | 366 | 57.77 |
I am using matplotlib to draw and show my plot, now I want to know how may I
add manual axes scale to it.
I need to manually show the axes scale (from min to max value that I have)
the below is some part of my code.
.
.
.
from matplotlib.figure import Figure
self.fig = Figure( figsize =5, 4 ))
yLine = self.ax.plot( xDa... | https://discourse.matplotlib.org/t/how-add-axes-scale-to-my-plot/9600 | CC-MAIN-2022-21 | refinedweb | 101 | 67.35 |
A computer program is a sequence of instructions that tell the computer what to do.
Statements often terminated by a semicolon.
There are many different kinds of statements in C++. The following are some of the most common types of simple statements:
int x; is a declaration statement. This particular declaration statem... | http://www.learncpp.com/cpp-tutorial/11-structure-of-a-program/comment-page-1/ | CC-MAIN-2018-05 | refinedweb | 3,220 | 65.52 |
Log pings
This flag causes all subsequent pings that are submitted to also be echoed to the product's log.
Once enabled, the only way to disable this feature is to restart or manually reset the application.
On how to access logs
The Glean SDKs log warnings and errors through platform-specific logging frameworks. See th... | https://mozilla.github.io/glean/book/reference/debug/logPings.html | CC-MAIN-2022-05 | refinedweb | 158 | 61.22 |
Aspose Cells for Java parses XML character reference incorrectly. Please look at following code and attached xlsx files:
package com.xmlintl.tools;
import java.io.InputStream; import java.nio.file.Files; import java.nio.file.Paths; import com.aspose.cells.Workbook; public class AsposeCellsTest { public static void main... | https://forum.aspose.com/t/character-references-parsed-incorrectly-by-aspose-cells-for-java/161711 | CC-MAIN-2022-21 | refinedweb | 193 | 59.09 |
Bhakti-rasmta-sindhu
The complete Science of Bhakti Yoga
A Summary Study of rla Rpa Gosvm's
Bhakti-rasmta-sindhu
Introduction
1. Characteristics of Pure Devotional Service
2. The First Stages of Devotion
3. Eligibility of the Candidate for Acccepting
1
Dedicationops and are
engaged in the transcendental loving service ... | https://www.scribd.com/document/335791196/Nectar-of-Devotion-Bhakti-rasamrtha-sindhu | CC-MAIN-2019-35 | refinedweb | 54,767 | 58.62 |
TIP
📺 Watch the video : Use Azure Dev Spaces to collaborate with a team on Kubernetes (opens new window).
💡 Learn more : Azure Dev Spaces (opens new window).
# Part 3 - Use Azure Dev Spaces to collaborate with a team on Kubernetes
# Working with a team on a container-based solution
This is part 3 of a 3-part series a... | https://microsoft.github.io/AzureTipsAndTricks/blog/tip230.html | CC-MAIN-2021-17 | refinedweb | 1,091 | 63.93 |
We have learnt how to create django user registration form. Now in this article i am going to write about django user login form. Django comes with built in function that automatically generates user authentication form like log in form.
Django login and logout comes under django.contrib.auth.urls. If you are following... | http://www.geekyshadow.com/2020/06/22/django-user-login-form-django-login-form/ | CC-MAIN-2020-40 | refinedweb | 582 | 69.89 |
In order to call EJB components in applications deployed with Appeon, Appeon provides its own EJB solution which includes a customized object (EJBObject object in Appeon Workarounds PBL), a DLL (eonejbclient.dll), and a bridge (Appeon Bridge). With this EJB solution you can call an EJB component in both the PowerBuilde... | https://docs.appeon.com/appeon_online_help/pb2019/workarounds_and_api_guide/ch01s03s06.html | CC-MAIN-2019-47 | refinedweb | 2,537 | 50.53 |
A while back, I wrote about how I disliked the word "Robustness" because it's meaning was so vague..
So what does it mean in the context of your "policy engine" 🙂
Policy – of or having to do with police
Policy in itself is a word that needs context to be useful.
From Dictionary.com: A plan or course of action, as of a... | https://blogs.msdn.microsoft.com/larryosterman/2005/07/27/words-i-dislike-policy/?replytocom=49861 | CC-MAIN-2018-13 | refinedweb | 655 | 66.47 |
Issues
ZF-2899: Zend_Filter / Zend_Validate setDefaultNamespaces
Description
While creating my own filters and validators it's very annoying to have to add the name spaces everytime I use Zend_Filter::get() or Zend_Validate::is().
It would be much nicer to have a setDefaultNamespaces, which would allow namespaces for Z... | http://framework.zend.com/issues/browse/ZF-2899 | CC-MAIN-2015-48 | refinedweb | 128 | 58.18 |
Opened 2 years ago
Last modified 2 years ago
#12397 new Bugs
static_assert in arg.hpp failing when using boost::placeholder with std::bind
Description
In our project we currently use std::bind with boost::placeholers because boost::placeholders are already global namespace and some some of the dependency (header) libra... | https://svn.boost.org/trac10/ticket/12397 | CC-MAIN-2018-34 | refinedweb | 264 | 54.22 |
Important: Please read the Qt Code of Conduct -
Qt emit signal problem
Hi everyone here
i'm new in here and Qt.(having a lot problems)
what im doing is to draw a point (later a line a circle maybe) in a graphicsview mit mouse click
what ive done is like that:
mainwindow.h
namespace Ui { class MainWindow; } class MainWi... | https://forum.qt.io/topic/54664/qt-emit-signal-problem | CC-MAIN-2021-31 | refinedweb | 348 | 53.1 |
LinkedList Sample program in Java
By: Jagan Printer Friendly Format
LinkedList( )
LinkedList(Collection c)
The first constructor builds an empty linked list. The second constructor builds a linked list that is initialized with the elements of the collection c.
In addition to the methods that it inherits, the LinkedList... | https://java-samples.com/showtutorial.php?tutorialid=347 | CC-MAIN-2022-21 | refinedweb | 862 | 65.62 |
How to Create a WhizzML Script (Part 4)
How to Create a WhizzML Script (Part 4)
Dive deeper into the world of machine learning automation via WhizzML and learn the BigML Python bindings way to create WhizzML scripts.
Join the DZone community and get the full member experience.Join For Free
Start coding something amazin... | https://dzone.com/articles/how-to-create-a-whizzml-script-part-4 | CC-MAIN-2018-47 | refinedweb | 1,017 | 64.51 |
Hello again. There is a question. I know that the globalDict keeps data that is accesible from other scenes even from the same scene if it is restarted. For example if I create a variable logic.globalDict[“Player”] = Myself and then I execute startGame() using the same .blend file I can read the “Player” field added to... | https://blenderartists.org/t/solved-how-to-read-data-from-globaldict-between-scenes-standalone/588441 | CC-MAIN-2019-43 | refinedweb | 649 | 69.11 |
Hi, I understand you guys do not give answers on homework or anything, but don't worry I am not wanting the answer I want to solve it on my own :). I have to write a simple lets make a deal program.
[Details
The game will be played where the contestant selects a door out of 3, the host then opens a door that is incorre... | http://forum.codecall.net/topic/59539-point-me-in-the-right-direction/ | crawl-003 | refinedweb | 821 | 79.19 |
#include <deal.II/multigrid/mg_coarse.h>
Coarse grid multigrid operator for an iterative solver.
This class provides a wrapper for a deal.II iterative solver with a given matrix and preconditioner as a coarse grid operator.
Definition at line 170 of file mg_coarse.h.
Default constructor.
Constructor. Only a reference t... | https://www.dealii.org/developer/doxygen/deal.II/classMGCoarseGridIterativeSolver.html | CC-MAIN-2017-43 | refinedweb | 137 | 54.9 |
I am mystified how you can be using the numbers package with mypy. Example:
Advertising
import numbers def f(a: numbers.Integral, b: numbers.Integral) -> numbers.Integral: return a + b f(12, 12) This gives an two errors on the last line when checked by mypy: _.py:10: error: Argument 1 to "f" has incompatible type "int"... | https://www.mail-archive.com/python-ideas@python.org/msg07423.html | CC-MAIN-2018-09 | refinedweb | 841 | 63.39 |
Google Spreadsheets
and the surprising things you can do with them
Google Spreadsheets is the Excel equivalent from Microsoft in the cloud. These spreadsheets can be filled with numbers and facts, column names can be defined and functions can be implemented. So far so standard, but doing all these things in the cloud o... | https://andreas-ditte.medium.com/google-spreadsheets-5643952fe2be | CC-MAIN-2021-21 | refinedweb | 1,004 | 63.8 |
The Futhark Record System
Most programming languages, except perhaps for the most bare-bones, support some mechanism for creating records, although rarely using that term. For the purposes of this post, a record is an object containing labeled fields, each of which contains a value. In C, a struct is a record:
struct p... | https://futhark-lang.org/blog/2017-03-06-futhark-record-system.html | CC-MAIN-2021-31 | refinedweb | 1,853 | 67.89 |
Welcome back!
The main difference between option 2 and option 3 is that in case of option 2, only the cabin air is recirculated over the evaporator causing the temperature of too cold since same air is being recirculated while in option 3, the air of cabin is mixed with fresh air from outside, causing the cabin tempera... | https://www.pakwheels.com/forums/t/daewoo-fan-club/33414?page=242 | CC-MAIN-2017-09 | refinedweb | 708 | 67.08 |
Merges (adds) an array of Slapi_Value data values to a specified attribute in an entry. If the entry does not contain the attribute specified, the attribute is created with the value supplied.
#include "slapi-plugin.h" int slapi_entry_merge_values_sv( Slapi_Entry *e, const char *type, Slapi_Value **vals );
This functio... | http://docs.oracle.com/cd/E19693-01/819-0996/aaigz/index.html | CC-MAIN-2014-42 | refinedweb | 191 | 58.69 |
Hi, I'm trying to call some functions in an external COM library, but for some reason after the functions are called, the stack is screwed up and my program crashes.
The way the SDK library is set up, you first do a LoadLibrary(), then a GetProcAddress() on a particular function. You then pass that function a pointer t... | http://cboard.cprogramming.com/c-programming/116416-stack-issues-when-calling-com-library-printable-thread.html | CC-MAIN-2014-42 | refinedweb | 443 | 63.9 |
Hi, here is a patch for fluxbox-0.9.6.ebuild to enable xft2.
fluxbox-0.1.14-r2.ebuild applies the patch but it was removed
from fluxbox-0.9.6.ebuild (it didn't apply to 0.9.6 cleanly).
It was originally taken from momonga linux, at
(it is inluced to Portage as ${FILESDIR}/fluxbox-0.1.14-ja.patch)
and was modified by na... | https://bugs.gentoo.org/show_bug.cgi?id=36004 | CC-MAIN-2021-43 | refinedweb | 793 | 72.36 |
Dynamic field MVC
Budget $14-30 NZD
This need to be done using model view controller in .net core or mvc5. Avoid using Viewbags to dump data.
Load a datagrid which only shows fields that can be displayed. logic should not be done from the view but from controller as a datasource.
There should be a separate page where w... | https://www.freelancer.com/projects/c-sharp-programming/dynamic-field-mvc | CC-MAIN-2022-40 | refinedweb | 254 | 78.99 |
Hi,
First let me say think you in advance to anybody who is willing to take the time to help me out.
I am a VB6 guy from way back trying to update my programming skills. Rather than tackle vb.net I thought I would try C++. I'm working with Visual C++ 2008.
It's been going pretty well for being only a few days into it b... | http://forums.codeguru.com/printthread.php?t=546051&pp=15&page=1 | CC-MAIN-2016-18 | refinedweb | 370 | 76.11 |
Barcode Software
qr code generator in vb.net
4: Managing Devices and Disks in .NET
Print qr codes in .NET 4: Managing Devices and Disks
The following question is intended to reinforce key information presented in this les son. If you are unable to answer the question, review the lesson materials and try the question ag... | http://www.businessrefinery.com/yc2/298/45/ | CC-MAIN-2022-05 | refinedweb | 2,613 | 50.63 |
strcmp?
and how would you clear the screen like
clrsrn() or somthin like that?
strcmp?
and how would you clear the screen like
clrsrn() or somthin like that?
strcmp() is a function that takes 2 strings and if they are equal it returns zero. For example:
if(strcmp("Equal","Equal")==0) {
//they are equal
}
Yes, you can c... | https://cboard.cprogramming.com/cplusplus-programming/14045-im-new-trying-make-calculator-2.html | CC-MAIN-2017-13 | refinedweb | 470 | 70.02 |
I know calling
fork() sys_call
fork()
#include <stdio.h>
#include <pthread.h>
int main ()
{
thread_t pid;
pthread_create(&(pid), NULL, &(f),NULL);
pthread_join(tid, NULL);
return 0;
}
void* f()
{
int i;
i = fork();
if (i < 0) {
// handle error
} else if (i == 0) // son process
{
// Do something;
} else {
// Do somethin... | https://codedump.io/share/H15CRA5XoloZ/1/what-happens-when-a-thread-forks | CC-MAIN-2017-34 | refinedweb | 263 | 81.53 |
Many people think a fast-slow pointer solution is one-pass. Actually, it is not. It is more than one pass and less than two.
This is the same as if the list is iterated once to count the number of nodes, and then traversed from the beginning again for the count of slow-pointer.
Not really. In two pointer solution, the ... | https://discuss.leetcode.com/topic/44411/there-is-no-such-solution-with-one-pass | CC-MAIN-2017-51 | refinedweb | 381 | 69.58 |
Jerome,
update_po has now been changed to automatically scan the py files, so developers no longer need to add .py files somewhere to be scanned.
What is needed:
1/ files that should not be scanned: add them to POTFILES.skip
2/ files that the scan does not pick up and should be used: add them to POTFILES.in
Please chec... | https://sourceforge.net/p/gramps/mailman/attachment/CAOyNq8rGwi+9e9-r%3D0xnjCvX2V6WQh2KWSmRk0obTpo69Bn-pQ@mail.gmail.com/1/ | CC-MAIN-2017-47 | refinedweb | 1,423 | 78.55 |
santhoshsrg
14-05-2020
Hi everyone,
I wanted to create a POST servlet using Resource Type and pass form data. I will be calling this servlet from Component X which is an embedded component. I created a POST servlet using Page component's resourceType. It works fine when form data is not passed. But when form data is pa... | https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/post-servlet-using-page-resource-type-unable-to-pass-form-data/qaq-p/362234 | CC-MAIN-2020-50 | refinedweb | 396 | 68.36 |
Provided by: alliance_5.1.1-3_amd64
NAME
viewlo - scan all lofig_lists and display their elements
SYNOPSYS
#include "mlo.h" void viewlo();
DESCRIPTION
viewlo scans all the elements of the entire lofig_list loaded in ram, and displays a textual output of the data strcuture contents. All the figures are treated, the firs... | http://manpages.ubuntu.com/manpages/eoan/man3/viewlo.3.html | CC-MAIN-2019-43 | refinedweb | 144 | 59.09 |
How to Do 10 Common Tasks in JSF 2.0
How to Do 10 Common Tasks in JSF 2.0
Here’s a list of 10 features you might need to implement everyday and how they are performed in JSF 2.0.
Join the DZone community and get the full member experience.Join For Free
Here’s a list of 10 features you might need to implement everyday a... | https://dzone.com/articles/how-do-10-common-tasks-jsf-20?fromrel=true | CC-MAIN-2020-05 | refinedweb | 1,981 | 52.9 |
This section discusses XML Namespaces, a method of resolving conflicts between similar tagnames having separate meanings. Also a choice between the use of namespaces and the ebXML context mechanism is discussed.
When designing an XML schema, many designers re-use other schemas. It is quite common to use a subset of HTM... | http://reinout.vanrees.org/afstudeerverslag/x1384.html | CC-MAIN-2017-09 | refinedweb | 515 | 53.92 |
Re: gracefully removing a child domain
- From: "Jorge Silva" <jorgesilva_pt@xxxxxxxxxxx>
- Date: Fri, 16 Jun 2006 14:37:21 +0100
Hi
The best that you can do with 2 different forests in this scenario, is to
create a external trust, 2 way direction , you don't need to create a child
domain in your forest, unless security... | http://www.tech-archive.net/Archive/Windows/microsoft.public.windows.server.active_directory/2006-06/msg01021.html | crawl-002 | refinedweb | 661 | 53.41 |
# Why does my app send network requests when I open an SVG file?

You decided to make an app that works with SVG. Encouraged by the enthusiasm, you collected libraries and successful... | https://habr.com/ru/post/652253/ | null | null | 2,268 | 50.63 |
Post your Comment
JUnit Test 'assertSame' Example Using Ant
JUnit Test 'assertSame' Example Using Ant
... sec
[junit]
[junit] Testcase: test(AssertSameExample): FAILED
[junit...] at AssertSameExample.test(Unknown Source)
[junit]
[junit]
[junit] Test
JUnit Test 'assertTrue' Example Using Ant
JUnit Test 'assertTrue' Exa... | http://www.roseindia.net/discussion/22055-JUnit-Test-assertSame-Example-Using-Ant.html | CC-MAIN-2015-22 | refinedweb | 927 | 58.08 |
Learning Clojure/Calling Java
- (. instance method args*)
- (. class method args*)
The special form
. also known as host, invokes a public Java method or retrieves the value of a public Java field:
(. foo bar 7 4) ; call the method bar of the instance/class foo with arguments 7 and 4 (. alice bob) ; return the value of... | http://en.m.wikibooks.org/wiki/Learning_Clojure/Calling_Java | CC-MAIN-2013-20 | refinedweb | 511 | 64.41 |
Introduction:
Introduction:
Apart from programming, a lot of my spare time sat at the computer is spent reading group, blog postings, etc from other developers. One particular posting that caught my eye recently provoked a lot of response and mixed answers to a question posed by a poster. This question was, 'What is th... | http://www.c-sharpcorner.com/article/difference-between-composition-and-aggregation/ | CC-MAIN-2017-22 | refinedweb | 557 | 63.8 |
Opened 5 years ago
Closed 11 months ago
#13480 closed Cleanup/optimization (wontfix)
(patch) Gracefully handling ImportErrors in user modules.
Description
(This issue is filed against 1.0 because that's the version I have installed (1.0.2, specifically) and can confirm it with. Code inspection suggests that the problem... | https://code.djangoproject.com/ticket/13480 | CC-MAIN-2015-27 | refinedweb | 939 | 52.6 |
Agenda
See also: IRC log
rssagent, make log public
<markbirbeck> running a couple of minutes late....sorry
<markbirbeck> be there shortly
<wing> elias should be along in a few minutes as well; he got stuck in traffic
<scribe> Scribe: Steven
-> Previous minutes
<mhausenblas> an inital step XMLLiteral
<scribe> ACTION: Be... | http://www.w3.org/2007/04/11-rdfa-minutes.html | CC-MAIN-2015-06 | refinedweb | 1,178 | 60.45 |
Bug #1816
rsb-python 0.10 not deployed to pypi
Description
When trying the python basic communication example from the rsb trunk documentation, I get an
AttributeError: __exit__ in the
with statement (
with rsb.createInformer("/example/informer", dataType=str) as informer:):
Traceback (most recent call last): File "bas... | https://code.cor-lab.de/issues/1816 | CC-MAIN-2021-39 | refinedweb | 229 | 71.1 |
FastAPI
Warning
The current page still doesn't have a translation for this language.
But you can help translating it: Contributing.
FastAPI framework, high performance, easy to learn, fast to code, ready for production
Documentation:
Source Code:
FastAPI is a modern, fast (high-performance), web framework for building ... | https://fastapi.tiangolo.com/it/ | CC-MAIN-2020-50 | refinedweb | 235 | 56.35 |
Create a Small Interactive Application with Sencha Animator
Sencha Animator is very flexible, and it can be used for a variety of purposes, from prototyping mobile applications to creating interactive animated features for iBooks. This tutorial shows how an animation can quickly be enhanced to an interactive mini-app b... | http://www.sencha.com/blog/interactive-application-with-sencha-animator/ | CC-MAIN-2014-42 | refinedweb | 1,918 | 56.35 |
The wrapper class for the SDL_Window class. More...
#include <window.hpp>
The wrapper class for the SDL_Window class.
At the moment of writing it is not certain yet how many windows will be created. At least one as main window, but maybe the GUI dialogs will have their own window. Once that is known it might be a good ... | http://devdocs.wesnoth.org/classsdl_1_1window.html | CC-MAIN-2020-24 | refinedweb | 522 | 62.85 |
Memory limitations in the flash playerKrisKohlstedt Aug 18, 2009 3:33 PM
I've been running into some memory limitations in a flex application that I'm working on. As a test I wrote the code below to try and determine what the true memory limitations of a flex application running in the flash player are. What I've found... | https://forums.adobe.com/thread/479297 | CC-MAIN-2017-51 | refinedweb | 1,358 | 63.29 |
69007/how-to-read-mp4-video-file-stored-at-hdfs-using-pyspark
Hi@Amey,
You can enable WebHDFS to do this task. Follow the below given steps.
Enable WebHDFS in HDFS configuration file. (hdfs-site.xml)
Set dfs.webhdfs.enabled as true.
Restart HDFS daemons.
We can now access HDFS with the WebHDFS API.
Now you can browse y... | https://www.edureka.co/community/69007/how-to-read-mp4-video-file-stored-at-hdfs-using-pyspark | CC-MAIN-2022-33 | refinedweb | 234 | 70.8 |
28 October 2013 17:00 [Source: ICIS news]
HOUSTON (ICIS)--Here is Monday’s midday ?xml:namespace>
CRUDE: Dec WTI: $98.41/bbl, up 56 cents; Dec Brent: $109.00/bbl, up $2.07
NYMEX WTI crude futures rose, tracking a strong rally on ICE Brent in response to a drop in Libyan crude exports due to protests. The market also re... | http://www.icis.com/Articles/2013/10/28/9719579/NOON-SNAPSHOT---Americas-Markets-Summary.html | CC-MAIN-2015-14 | refinedweb | 306 | 70.5 |
I would like to hire a Programmer
Budget £10-20 GBP
Need python script to calculate digits from a data file to FFT (fast fourier transformation) values.
I have found this code for FFT which works (see below) but it seems to take values from the array given. I want the code to take values from a file and export FFT valu... | https://www.fr.freelancer.com/projects/php/would-like-hire-programmer-13073252/ | CC-MAIN-2018-13 | refinedweb | 195 | 82.24 |
Mercurial contains the code below for Posix platforms. None of the os.W*
attributes are present in Jython.
def explain_exit(code):
"""return a 2-tuple (desc, code) describing a process's status"""
if os.WIFEXITED(code):
val = os.WEXITSTATUS(code)
return _("exited with status %d") % val, val
elif os.WIFSIGNALED(code):
v... | http://bugs.jython.org/msg5058 | CC-MAIN-2018-13 | refinedweb | 179 | 58.48 |
Contents
Abstract
This PEP proposes an ordered dictionary as a new data structure for the collections module, called "OrderedDict" in this PEP. The proposed API incorporates the experiences gained from working with similar implementations that exist in various real-world applications and other programming languages.
Pa... | http://www.python.org/dev/peps/pep-0372/ | crawl-003 | refinedweb | 1,584 | 57.06 |
I'm in the process of trying to port NSS to run on FreeBSD (3.5), and it's
very quickly becoming obvious that the current build system is going to
be a portability nightmare. I'm having to go through and add #ifdef(FREEBSD)
in far far far too many places.
It's also pretty clear that mozilla/security/coreconf is descend... | https://bugzilla.mozilla.org/show_bug.cgi?id=52990 | CC-MAIN-2016-36 | refinedweb | 4,829 | 62.98 |
The QAssistantClient class provides a means of using Qt Assistant as an application's help tool. More...
#include <qassistantclient.h>
Inherits QObject.
List of all member functions..
The assistant client object is a child of parent and is called name.
This signal is emitted when the connection to Qt Assistant is close... | http://idlebox.net/2007/apidocs/qt-x11-free-3.3.8.zip/qassistantclient.html | CC-MAIN-2014-10 | refinedweb | 180 | 61.63 |
.. docpictures:: some_type
highly readable description
and have the docpicture module parse the "highly readable description" based on the syntax defined in some_type. Note that I chose this notation to be compatible with reStructuredText directives. The "highly readable description" will depend on the context. For exa... | http://aroberge.blogspot.com/2008/10/more-on-docpictures-and-almost-minimal.html | CC-MAIN-2014-42 | refinedweb | 519 | 59.94 |
This article demonstrates how to work with collections in XAML.
Introduction
XAML provides UI element objects that can host child collection items. XAML also provides support to work with .NET collection types as data sources.
XAML Collections
A collection element usually is a parent control with child collection eleme... | https://www.c-sharpcorner.com/uploadfile/mahesh/working-with-collections-in-xaml/ | CC-MAIN-2019-47 | refinedweb | 447 | 67.86 |
By default, all the C# Value types are non-nullable, and Reference types called C# nullable types. The default value for Value types is some form of 0. We already discussed the data types categories, i.e., Value types and Reference types in our previous article.
For example, the default value of any C# integer type var... | https://www.tutorialgateway.org/csharp-nullable-types/ | CC-MAIN-2021-43 | refinedweb | 277 | 74.29 |
I am using Jersey and have exposed a resource
Resource which implements an
Interface. One of the methods from
Interface has a parameter
a of type
A which is an abstract class.
Here is some code for explanation:
//Interface.java public interface Interface { public void setA(A a); } //Resource.java @Path("/hello") public... | http://www.howtobuildsoftware.com/index.php/how-do/gjy/java-jersey-jackson-jax-rs-how-to-specify-concrete-type-for-abstract-method-param-in-jersey-jackson | CC-MAIN-2017-47 | refinedweb | 161 | 54.22 |
The RotatingFileHandler and TimedRotatingFileHandler classes provide basic log file rotation functionality, but there are times when more functionality is required than is provided in these classes. One requirement is to compress log files when they are rotated. Currently, if you want this kind of functionality, you ha... | http://plumberjack.blogspot.my/2011/ | CC-MAIN-2018-13 | refinedweb | 896 | 65.93 |
).
Using the Source property is simpler and more readable. However, if multiple properties bind to the same source, consider using the DataContext property. The DataContext property provides a convenient way to establish a data scope. Say you have many controls and you want all of them to bind to the same source.
I've... | http://blogs.msdn.com/wpfsdk/archive/2006/10/19/wpf-basic-data-binding-faq.aspx | crawl-002 | refinedweb | 120 | 65.62 |
Question:
Here's my code:
34 35 /** 36 ** \file position.hh 37 ** Define the example::position class. 38 */ 39 40 #ifndef BISON_POSITION_HH 41 #define BISON_POSITION_HH 42 43 #include <iostream> 44 #include <string> 45 46 namespace example 47 { 48 /// Abstract a position. 49 class position 50 { 51 public: 52 53 /// Con... | http://www.toontricks.com/2019/02/tutorial-positionhh46-error-expected.html | CC-MAIN-2019-09 | refinedweb | 386 | 66.54 |
The following form allows you to view linux man pages.
#include <aio.h>
int
aio_write(struct aiocb *iocb);
The aio_write() system call allows the calling process to write
iocb->aio_nbytes from the buffer pointed to by iocb->aio_buf to the
descriptor ioc iocb->aio_fildes, aio_write() operations append to
the file in the... | http://www.linuxguruz.com/man-pages/aio_write/ | CC-MAIN-2018-26 | refinedweb | 226 | 59.33 |
I want to fly a bullet straight, but when I hit the bullet in a normal state, it will fly straight, but when jumping, it will fly diagonally.
What amendments will make you fly straight at any time?
** Jump processing ** if (isJump == false&&gameClear == false&&WaitStop == false) { // Jump in space. if (jumpCount<MAX_JU... | https://www.tutorialfor.com/questions-150666.htm | CC-MAIN-2021-10 | refinedweb | 670 | 50.36 |
Generating extra hoops, since most PDF libraries expect they'll be able to use an imaging library, which isn't available on App Engine.
This came up for me recently when I wanted to implement this fantastic 'map envelope' concept using the Google Maps APIs and App Engine. The generated envelopes need to be easily print... | http://blog.notdot.net/2010/04/Generating-PDFs-on-App-Engine-Python-and-introducing-Mapvelopes | CC-MAIN-2017-13 | refinedweb | 1,257 | 64.2 |
Help building custom rules
Hello
I have a sitecore project I'm building in which I need the search to be filtered by the site where the user is at. The site structure is something like this:
Site A /sitecore/content/siteA/SearchPage
Site B /sitecore/content/SiteB/SearchPage … Site Z /sitecore/content/SiteZ/SearchPage
S... | http://answers.coveo.com/questions/3588/help-building-custom-rules.html | CC-MAIN-2019-47 | refinedweb | 594 | 57.61 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.